diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets.html b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets.html new file mode 100644 index 0000000..dd2c139 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets.html @@ -0,0 +1,310 @@ +European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets
+ + + + + + + + + + + +
+ + +
+
+ +
+
+

European, Middle Eastern & African Stocks


Europe

2,581.91
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
635.61
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
6,293.13
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
2,845.63
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

United Kingdom

795.83
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026
10,363.27
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026
5,576.38
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026

Denmark

1,259.22
Arrow Up
Arrow Up
Arrow Down
Arrow Down
06/19/2026
1,539.57
Arrow Up
Arrow Up
Arrow Down
Arrow Down
06/19/2026
1,774.92
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026

Poland

3,678.84
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026
138,854.40
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026
4,685.95
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

France

6,237.65
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
8,421.14
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Turkey

14,734.50
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
17,019.86
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Bahrain

2,028.09
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/18/2026

Germany

13,290.48
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
24,985.82
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

United Arab Emirates

6,163.50
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
10,016.82
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Greece

2,475.98
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026
6,290.18
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

South Africa

104,258.70
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026
112,610.80
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026

Finland

13,639.90
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/18/2026
6,238.41
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/18/2026

Ukraine

425.95
Arrow Up
Arrow Up
Arrow Up
Arrow Down
06/19/2026

Switzerland

19,475.48
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026
13,774.02
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Kenya

217.57
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026
3,646.93
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Kuwait

9,220.73
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/18/2026
8,732.18
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/18/2026

Serbia

1,221.60
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026
2,711.58
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026

Norway

1,950.43
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026
2,273.72
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026

Hungary

137,625.50
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
12,784.16
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Spain

19,347.40
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
1,905.30
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Netherlands

1,078.16
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
1,100.00
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Italy

55,609.01
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026
52,848.93
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Bosnia and Herzegovina

1,549.59
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026
861.57
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Belgium

5,647.65
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026
18,369.06
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026

Luxembourg

2,059.61
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026
4,336.71
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026

Portugal

9,102.60
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026
6,091.13
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026

Israel

4,144.01
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026
4,081.52
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026

Macedonia

9,730.34
Arrow Down
Arrow Down
Arrow Down
Arrow Down
06/19/2026

Austria

6,527.59
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026
3,212.66
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Sweden

3,178.64
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/18/2026
2,391.54
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/18/2026

Tunisia

18,625.86
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Montenegro

17,939.60
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026

Saudi Arabia

11,121.13
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/18/2026

Botswana

11,160.93
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Qatar

10,510.92
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/18/2026

Jordan

3,963.06
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/18/2026

Slovenia

3,058.71
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Palestine

659.28
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/18/2026

Nigeria

235,941.30
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026

Iceland

2,028.36
Arrow Up
Arrow Up
Arrow Down
Arrow Down
06/19/2026

Namibia

2,386.93
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Cyprus

307.73
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Lebanon

1,812.93
Arrow Up
Arrow Up
Arrow Up
Arrow Down
06/19/2026

Oman

7,582.24
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/17/2026

Mauritius

2,172.53
Arrow Up
Arrow Up
Arrow Down
Arrow Down
06/19/2026

Ireland

13,785.73
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Slovakia

296.98
Arrow Up
Arrow Up
Arrow Down
Arrow Down
06/19/2026

Croatia

4,448.36
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Morocco

18,353.29
Arrow Down
Arrow Down
Arrow Down
Arrow Up
06/19/2026

Tanzania

3,940.49
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Bulgaria

1,261.49
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Malta

4,132.83
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Latvia

900.07
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Estonia

2,098.52
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026

Kazakhstan

7,724.05
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Romania

30,693.83
Arrow Down
Arrow Down
Arrow Up
Arrow Up
06/19/2026

Lithuania

1,447.56
Arrow Up
Arrow Up
Arrow Down
Arrow Up
06/19/2026

Ghana

14,773.54
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Czech Republic

2,563.92
Arrow Up
Arrow Up
Arrow Up
Arrow Up
06/19/2026

Market News

Compare to Benchmarks
    Market Summaries

    We’re testing something new.

    Share your thoughts with us.

    \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/141x141_05Q6.jpg b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/141x141_05Q6.jpg new file mode 100644 index 0000000..7595fe3 Binary files /dev/null and b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/141x141_05Q6.jpg differ diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1626-cc487492cbd86add_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1626-cc487492cbd86add_05Q6.js new file mode 100644 index 0000000..04eeb17 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1626-cc487492cbd86add_05Q6.js @@ -0,0 +1,10 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1626],{3556:function(e,t,r){"use strict";r.r(t),r.d(t,{UserBrowserSession:function(){return d}});let n=(e,t,r)=>{let n=r?`[${r}] - ${e}: ${t}`:`[@bloomberg/media.browser-storage] - ${e}: ${t}`;window?.newrelic?.noticeError(n)};var i=r(31955);class o{cookies=i.Z;get length(){return Object.keys(this.cookies.get()).length}clear(){Object.keys(this.cookies.get()).forEach(e=>{this.cookies.remove(e)})}getItem(e){let t=this.cookies.get(e);return void 0===t?null:t}key(e){return Object.keys(this.cookies.get())[e]||null}removeItem(e){this.cookies.remove(e)}setItem(e,t){this.cookies.set(e,t,{expires:7})}}let s="__bb-media",a=()=>{if("undefined"!=typeof window)return window[s]||(window[s]={}),window[s];throw Error(`${s} store on Window object is undefined!`)};class u{get length(){return Object.keys(a()).length}clear(){let e=a();Object.keys(e).forEach(t=>{delete e[t]})}getItem(e){let t=a()[e];return void 0===t?null:t}key(e){return Object.keys(a())[e]||null}removeItem(e){delete a()[e]}setItem(e,t){a()[e]=t}}let c=e=>{switch(e){case"window":return new u;case"local":return localStorage;case"session":return sessionStorage;default:return new o}};class l{type;storage;reportErrorsToNewRelic=!1;storageContext;constructor(e,t){this.type=e,this.storage=c(e),this.reportErrorsToNewRelic=t?.reportErrorsToNewRelic??!1,this.storageContext=t?.storageContext}handleErrorReporting(e,t,r){this.reportErrorsToNewRelic&&n(`Failed to ${e} ${t} in ${this.type}Storage.`,r,this.storageContext)}setItem(e,t){try{return this.storage.setItem(e,JSON.stringify(t)),!0}catch(t){return this.handleErrorReporting("set",e,t),!1}}getItem(e){try{let t=this.storage.getItem(e);if(!t)return null;try{return JSON.parse(t)}catch(e){return t}}catch(t){return this.handleErrorReporting("get",e,t),null}}removeItem(e){try{return this.storage.removeItem(e),!0}catch(t){return this.handleErrorReporting("remove",e,t),!1}}}let f=e=>{switch(e){case"agentId":return"agent_id";case"gatehouseId":return"gatehouse_id";case"sessionId":return"session_id";case"sessionKey":return"session_key";case"userData":return"_user-data";case"bregUid":return"_breg-uid";case"bregUser":return"_breg-user";default:return e}};class d{windowBrowserStorage;sessionBrowserStorage;localBrowserStorage;cookiesBrowserStorage;constructor(){this.windowBrowserStorage=new l("window",{reportErrorsToNewRelic:!0,storageContext:"UserBrowserSession-Window"}),this.sessionBrowserStorage=new l("session",{reportErrorsToNewRelic:!0,storageContext:"UserBrowserSession-Session"}),this.localBrowserStorage=new l("local",{reportErrorsToNewRelic:!0,storageContext:"UserBrowserSession-Local"}),this.cookiesBrowserStorage=new l("cookies",{reportErrorsToNewRelic:!0,storageContext:"UserBrowserSession-Cookies"})}setAttribute(e,t){this.windowBrowserStorage.setItem(e,t),this.sessionBrowserStorage.setItem(e,t),this.localBrowserStorage.setItem(e,t)}getAttribute(e){return this.windowBrowserStorage.getItem(e)||this.sessionBrowserStorage.getItem(e)||this.localBrowserStorage.getItem(e)||this.cookiesBrowserStorage.getItem(f(e))}clearAttribute(e){this.windowBrowserStorage.removeItem(e),this.sessionBrowserStorage.removeItem(e),this.localBrowserStorage.removeItem(e),this.cookiesBrowserStorage.removeItem(f(e))}setAgentId(e){this.setAttribute("agentId",e)}setSessionId(e){this.setAttribute("sessionId",e)}setSessionKey(e){this.setAttribute("sessionKey",e)}setGatehouseId(e){this.setAttribute("gatehouseId",e)}setBregUid(e){this.setAttribute("bregUid",e)}getBregUid(){return this.getAttribute("bregUid")}getIdentity(){return{agentId:this.getAttribute("agentId")??void 0,sessionId:this.getAttribute("sessionId")??void 0,sessionKey:this.getAttribute("sessionKey")??void 0,gatehouseId:this.getAttribute("gatehouseId")??void 0}}removeAgentId(){this.clearAttribute("agentId")}removeSessionId(){this.clearAttribute("sessionId")}removeSessionKey(){this.clearAttribute("sessionKey")}removeGatehouseId(){this.clearAttribute("gatehouseId")}removeBregUid(){this.clearAttribute("bregUid")}clearIdentity(){this.removeAgentId(),this.removeSessionId(),this.removeSessionKey(),this.removeGatehouseId()}setUserData(e){try{let t=JSON.stringify(e);this.setAttribute("userData",t)}catch(e){console.error("Failed to serialize SubsData for storage in UserBrowserSession",e)}}getUserData(){let e=this.getAttribute("userData");if(!e)return null;try{let t=JSON.parse(e);if(t&&"object"==typeof t)return t}catch{}return null}removeUserData(){this.clearAttribute("userData")}setBregUser(e){try{let t=JSON.stringify(e);this.setAttribute("bregUser",t)}catch(e){console.error("Failed to serialize RegProfile for storage in UserBrowserSession",e)}}getBregUser(){let e=this.getAttribute("bregUser");if(!e)return null;try{let t=JSON.parse(e);if(t&&"object"==typeof t)return t}catch{}return null}removeBregUser(){this.clearAttribute("bregUser")}}},53867:function(e,t,r){"use strict";r.d(t,{C2:function(){return s},uH:function(){return a}});var n=r(85893);r(67294);var i=r(4298),o=r.n(i);function s({analytics:e=null,analyticsStrategy:t="beforeInteractive",type:r="text/javascript"}){return(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(o(),{id:"gtm_analytics",dangerouslySetInnerHTML:{__html:` + window.dataLayer = window.dataLayer || []; + window.dataLayer.push(${JSON.stringify(e)}); + `},type:r,strategy:t}),(0,n.jsx)(o(),{id:"gtm",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': + new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= + 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); + })(window,document,'script','dataLayer','GTM-MNTH5N'); + `},type:r})]})}function a(e,t="",r="",n=""){if(!window.dataLayer){console.warn("You must include on your page to use #trackClickEvent");return}window.dataLayer.push({event:e,eventCategory:n||"engagement",eventAction:r||"click",eventLabel:t||e})}r(11163)},59628:function(e,t,r){"use strict";r.r(t),r.d(t,{RegUIClient:function(){return c()},RegUIClientContext:function(){return s},RegUIClientProvider:function(){return l},RegUIEvent:function(){return i},useRegUIClient:function(){return f}});var n,i,o=r(67294);let s=(0,o.createContext)({session:{isRegUIClientLoaded:!1,isLoggedIn:!1,isBBGSubscriber:!1,isBWSubscriber:!1,isNewsletterSubscriber:!1,subscriberType:void 0,user:null,userId:null,userInfo:null},client:null});var a=r(85893),u=r(22358),c=r.n(u);(n=i||(i={})).InfoReady="reg-user-info-ready",n.NotSignedIn="reg-user-not-signed-in",n.SignedIn="reg-user-signed-in";let l=({children:e,onUserInfoReady:t,regUIClientOptions:r})=>{let[n,u]=(0,o.useState)(null),[l,f]=(0,o.useState)({isRegUIClientLoaded:!1,isLoggedIn:!1,isBBGSubscriber:!1,isBWSubscriber:!1,isNewsletterSubscriber:!1,subscriberType:void 0,user:null,userId:null,userInfo:null});return(0,o.useEffect)(()=>{function e(e){let r;if(!window.__bloomberg__?.regUIClient)return;let n=e?.detail,i=window.__bloomberg__.regUIClient.isLoggedIn()??!1,o=window.__bloomberg__.regUIClient.getUserInfo()??null;n?.isBBGSubscriber||n?.isTerminalSubscriber?r="BBG":n?.isBWSubscriber?r="BW":n?.isNewsletterSubscriber&&(r="Newsletter"),o&&!o.subscription&&r&&(o={...o,subscription:{type:r,number:void 0}});let s=(window.__bloomberg__.regUIClient.isBBGSubscriber()??!1)||"BBG"===r,a=(window.__bloomberg__.regUIClient.isBWSubscriber()??!1)||"BW"===r,u=(window.__bloomberg__.regUIClient.isNewsletterSubscriber()??!1)||"Newsletter"===r,c=window.__bloomberg__.regUIClient.getUserData(),l=window.__bloomberg__.regUIClient.getSubscriberData(),d=window.__bloomberg__.regUIClient.getEntitlementFeatures(),p=window.__bloomberg__.regUIClient.getSubscriberType(),h={isRegUIClientLoaded:!0,isLoggedIn:i,user:c,userId:o?.userId||null,isBBGSubscriber:s,isBWSubscriber:a,isNewsletterSubscriber:u,subscriberType:p,subscriberData:l?l.subscriberData:void 0,subscriptionsData:l?l.subscriptionsData:void 0,entitlementFeatures:d,userInfo:o};f(h),t?.(window.__bloomberg__.regUIClient,h)}window.addEventListener(i.SignedIn,e),window.addEventListener(i.NotSignedIn,e),window.__bloomberg__=window.__bloomberg__||{},window.__bloomberg__.regUIClient&&r&&console.warn("Constructor options were passed to reg-ui-client, but had already been instantiated."),window.__bloomberg__.regUIClient=window.__bloomberg__.regUIClient||new(c())([],r),window.__bloomberg__.regUIClient.initialize();let n=!1,o=setTimeout(()=>{n||window.newrelic?.addPageAction("regUIClientUserInfoReadyProviderTimeout",{timeoutMs:5e3})},5e3);return window.__bloomberg__.regUIClient.onUserInfoReady(t=>{n=!0,clearTimeout(o),e({detail:t})}),u(window.__bloomberg__.regUIClient),()=>{clearTimeout(o),window.removeEventListener(i.SignedIn,e),window.removeEventListener(i.NotSignedIn,e),window.__bloomberg__?.regUIClient?.cleanup()}},[]),(0,a.jsx)(s.Provider,{value:{client:n,session:l},children:e})};function f(){return(0,o.useContext)(s)}},38098:function(e,t,r){"use strict";"undefined"!=typeof window&&r(66477)},53555:function(e,t,r){"use strict";if("undefined"!=typeof window){var n=r(8042);window.Promise=window.Promise?window.Promise:n}},10646:function(e){var t;t=function(){"use strict";function e(e){for(var t=1;t-1&&e%1==0&&e-1&&t%1==0&&t<=9007199254740991&&!("[object Function]"==(r=S(e)?c.call(e):"")||"[object GeneratorFunction]"==r)}function S(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var w=(n=function(e,t){if(p||v(t)||m(t)){!function(e,t,r,n){r||(r={});for(var i=-1,o=t.length;++i1?t[i-1]:void 0,s=i>2?t[2]:void 0;for(o=n.length>3&&"function"==typeof o?(i--,o):void 0,s&&function(e,t,r){if(!S(r))return!1;var n=typeof t;return("number"==n?!!(m(r)&&g(t,r.length)):"string"==n&&(t in r))&&b(r[t],e)}(t[0],t[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);++r{},[]),h=e.version&&"phoenix"===e.version?a["button-phoenix"]:a.button,g=(0,s.Sh)([h,a[f]],{...e,name:o});if(i){let o;return c?o="_blank":l&&(o=l),n.createElement("a",{title:d||"",href:i,className:a.link,rel:"noopener noreferrer",target:o},n.createElement(u,{...e,className:g,onClick:p,ref:t},r))}return n.createElement(u,{...e,className:g,ref:t})})},35436:function(e,t,r){"use strict";r.d(t,{X:function(){return l}});var n=r(67294),i=r(83682),o=r(25434),s=r(50020),a=r(9290),u=r(77536);r(12757);var c={disabled:"media-ui-Checkbox_disabled-D-rGwWtEJC4-",label:"media-ui-Checkbox_label-2qQCR3fseFY-",input:"media-ui-Checkbox_input--ZsIer8RegY-",error:"media-ui-Checkbox_error-VRXSp1Ovhs8-",small:"media-ui-Checkbox_small-XkaKPsTQyeI-"};let l=(0,n.forwardRef)(function(e,t){let{checked:r,defaultChecked:l,id:f,label:d,onChange:p,required:h,disabled:g,error:v,indeterminate:b=!1,inputProps:_,name:m,size:S="default",unstyled:w}=e,y=m||"checkbox-input",[E,I]=(0,o.f)("".concat(y,"-label"),"checkbox"),O=(0,n.useRef)(null),U=(0,n.useRef)((0,u.Mc)()),C=f||(null==_?void 0:_.id)||m||d||U.current,P=(0,i.H)(O,t),T=(0,u.Sh)([{[c.disabled]:g}],e),A=(0,u.Sh)([c.label],{...e,name:"".concat(y,"-label")}),L=(0,u.Sh)([c.input,c[S],{[c.error]:v}],{...e,name:"".concat(y,"-input")}),R=(0,n.useCallback)(e=>{e.persist(),(null==_?void 0:_.onChange)&&_.onChange(e),p&&p(e)},[null==_?void 0:_.onChange,p]);return(0,n.useEffect)(()=>{O.current&&(b&&!r?O.current.indeterminate=!0:O.current.indeterminate=!1)},[b]),n.createElement("div",{"data-component":I,className:T},n.createElement(a.A,{label:d,"data-component":E,size:S,error:!!v,className:A,unstyled:w},n.createElement(s.I,{inputProps:{..._},checked:r,defaultChecked:l,id:C,type:"checkbox",onChange:R,name:y,required:(null==_?void 0:_.required)||h,disabled:(null==_?void 0:_.disabled)||g,className:L,error:v,ref:P,unstyled:w})))})},50020:function(e,t,r){"use strict";r.d(t,{I:function(){return s}});var n=r(67294),i=r(25434),o=r(77536);let s=n.forwardRef(function(e,t){let{autoComplete:r,autoCorrect:s,checked:a,defaultChecked:u,className:c,defaultValue:l,disabled:f,error:d,id:p,inputProps:h={},label:g,name:v="input",onChange:b,onActiveStatusChange:_,onKeyDown:m,placeholder:S,required:w=!1,spellCheck:y,type:E,value:I}=e,[O]=(0,i.f)(v),U=n.useRef(!1),[C,P]=n.useState(!1),T=C||!!I,A=n.useCallback(e=>{h.autoFocus&&e.target.select(),P(!0),h.onFocus&&h.onFocus(e)},[h,C]),L=(0,o.Sh)([c,{active:T,error:d}],e),R={..."undefined"!==I&&{value:I},..."undefined"!==l&&{defaultValue:l}},B=n.useCallback(e=>{P(!1),h.onBlur&&h.onBlur(e)},[h.onBlur,C]);return n.useEffect(()=>{_&&U.current&&_(T),U.current=!0},[T]),n.createElement("input",{...h,...R,...void 0!==a&&{checked:a},...void 0!==u&&{defaultChecked:u},...void 0!==r&&{autoComplete:r},...void 0!==s&&{autoCorrect:s},"data-component":O,className:L,disabled:h.disabled||f,id:p,name:h.name||v,onBlur:B,onChange:h.onChange||b,onKeyDown:h.onKeyDown||m,onFocus:A,placeholder:h.placeholder||S,ref:t,required:w,spellCheck:y,type:h.type||E,"aria-invalid":!!d,"aria-label":g||v})})},9290:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});var n=r(67294),i=r(25434),o=r(77536);r(93262);var s={label:"media-ui-InputLabel_label-IjKQPLH-Rxg-",small:"media-ui-InputLabel_small-W1-gfavZOFk-",alert:"media-ui-InputLabel_alert-c4JRs9OkAaM-",nopoint:"media-ui-InputLabel_nopoint-hgATVJe5xb8-"};let a=n.forwardRef(function(e,t){let{bottom:r=!0,children:a,className:u,error:c=!1,labelProps:l={},htmlFor:f,label:d,name:p="label",size:h="default",spanClassName:g}=e,v=(0,i.f)(p),b=(0,o.Sh)([u,s.label,s[h],{[s.alert]:c}],e),_=(0,o.Sh)([g],{...e,name:"".concat(p,"-inner")});return n.createElement("label",{className:b,htmlFor:f,"data-component":v,ref:t,style:{"--accent-color":"currentColor"},...l},!r&&n.createElement("span",{className:_},d),a,r&&n.createElement("span",{className:_},d))})},7009:function(e,t,r){"use strict";r.d(t,{x:function(){return a}});var n=r(67294),i=r(25434),o=r(77536);r(27236);var s="media-ui-Dots_dot-MXASFua0ims-";let a=n.forwardRef(function(e,t){let{name:r="loading-dots"}=e,a=(0,i.f)(r),u=(0,o.Sh)(["media-ui-Dots_wrapper-dHOKkwbPb6k-"],e);return n.createElement("div",{className:u,role:"alert","aria-busy":"true",ref:t,"data-component":a},n.createElement("span",{className:s}),n.createElement("span",{className:s}),n.createElement("span",{className:s}))})},99104:function(e,t,r){"use strict";r.d(t,{K:function(){return a}});var n=r(67294),i=r(8599),o=r(77536);r(32610);var s={primaryButton:"media-ui-PrimaryButton_primaryButton-xhS0-zgLxLY-",default:"media-ui-PrimaryButton_default-mlL0Sig0sb8-",accent:"media-ui-PrimaryButton_accent-HXkUAf3WoxE-",error:"media-ui-PrimaryButton_error-E3szGrLdEyk-",dark:"media-ui-PrimaryButton_dark-3eze4un3f80-",bold:"media-ui-PrimaryButton_bold-SHB43Ga9VJM-","rounded-btn":"media-ui-PrimaryButton_rounded-btn-sXsOgbDYRaw-","primaryButton-phoenix":"media-ui-PrimaryButton_primaryButton-phoenix-xxe2DTZR19c-",small:"media-ui-PrimaryButton_small-g2C-9-rH4VU-",light:"media-ui-PrimaryButton_light-gfjRtr2oq08-",disabled:"media-ui-PrimaryButton_disabled-FIJcoEsF1yY-",neutral:"media-ui-PrimaryButton_neutral-W65WlZ6jbRc-",blue:"media-ui-PrimaryButton_blue-i2e872OjbnQ-",red:"media-ui-PrimaryButton_red-ENXTK9aqfZo-",_default:"media-ui-PrimaryButton_default-mlL0Sig0sb8-",rounded___btn:"media-ui-PrimaryButton_rounded-btn-sXsOgbDYRaw-",primaryButton___phoenix:"media-ui-PrimaryButton_primaryButton-phoenix-xxe2DTZR19c-"};let a=n.forwardRef(function(e,t){let{bold:r=!0,variant:a="default",size:u="default",name:c="primary-button",rounded:l,version:f,color:d="neutral",colorMode:p="light",disabled:h,unstyled:g,className:v}=e,b="phoenix"===f?(0,o.Sh)([v,s["primaryButton-".concat(f)],s[d],s[p],s[h?"disabled":""],s[u]],{...e,unstyled:g,name:c}):(0,o.Sh)([v,s.primaryButton,s[a],s[u],{[s.bold]:r,[s["rounded-btn"]]:l}],{...e,unstyled:g,name:c}),{ActionIcon:_,...m}=e;return n.createElement(i.zx,{..."phoenix"===f?m:e,name:c,className:b,ref:t})})},83682:function(e,t,r){"use strict";r.d(t,{H:function(){return i}});var n=r(67294);function i(e,t){return n.useEffect(()=>{[e,t].forEach(t=>{t&&("function"==typeof t?t((null==e?void 0:e.current)||null):t.current=(null==e?void 0:e.current)||null)})},[e,t]),e||t}},81292:function(){},12757:function(){},93262:function(){},27236:function(){},32610:function(){},4298:function(e,t,r){e.exports=r(23381)},22358:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(96587));t.default=i.default},10518:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0&&i[i.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=0?Array.prototype.slice.call(e):[];return e instanceof Element&&(r=[e]),this._textElements=this._textElements.concat(r),this._textElements.forEach(function(e){e.removeEventListener("click",t._userClickEventHandler),e.addEventListener("click",t._userClickEventHandler)}),window._regUserId&&this._updateLinks(),this},e.prototype.removeTextElements=function(){var e=this;this._textElements.forEach(function(t){t.removeEventListener("click",e._userClickEventHandler)}),this._textElements=[]},e.prototype.refreshUserInfo=function(){var e=this;return this._userInfo.fetchUserInfo(function(t,r){var n,i;if(t){null===(n=window.newrelic)||void 0===n||n.addPageAction("regUIClientRefreshUserInfoCallback",{applicationCaller:e._applicationCaller||"UNKNOWN",error:!0,errorMessage:t.message,signedIn:!1});return}null===(i=window.newrelic)||void 0===i||i.addPageAction("regUIClientRefreshUserInfoCallback",{applicationCaller:e._applicationCaller||"UNKNOWN",error:!1,signedIn:!!r.userId}),G(r)},!0).catch(function(t){var r;null===(r=window.newrelic)||void 0===r||r.noticeError(t,{applicationCaller:e._applicationCaller||"UNKNOWN",errorMessage:t.message,function:"verifySignInStatus"})}),this},e.prototype.refreshUserInfoPromise=function(){var e=this;return this._userInfo.fetchUserInfo(function(t,r){var n,i;if(t){null===(n=window.newrelic)||void 0===n||n.addPageAction("regUIClientrefreshUserInfoPromiseCallback",{applicationCaller:e._applicationCaller||"UNKNOWN",error:!0,errorMessage:t.message,signedIn:!1});return}null===(i=window.newrelic)||void 0===i||i.addPageAction("regUIClientrefreshUserInfoPromiseCallback",{applicationCaller:e._applicationCaller||"UNKNOWN",error:!1,signedIn:!!(null==r?void 0:r.userId)})},!0).then(function(e){return G(e),e})},e.prototype.fetchAbbaUserInfo=function(){return this._userInfo.fetchAbbaUserInfo()},e.prototype.optInToReferralSharing=function(e){var t=this;return this._userInfo.optInToReferralSharing(e,this._applicationCaller).then(function(){return t.refreshUserInfo()})},e.prototype.optOutOfReferralSharing=function(e){var t=this;return void 0===e&&(e=!1),this._userInfo.optOutOfReferralSharing(e,this._applicationCaller).then(function(){return t.refreshUserInfo()})},e.prototype.setPreferredEmail=function(e){var t=this;return this._userInfo.setPreferredEmail(e,this._applicationCaller).then(function(){return t.refreshUserInfo()})},e.prototype.isLoggedIn=function(){var e;return!!(null===(e=window._regUserInfo)||void 0===e?void 0:e.userId)||this._isLoggedIn},e.prototype.isTerminalSubscriber=function(){return this._isTerminalSubscriber},e.prototype.isBBGSubscriber=function(){var e,t;return(null===(t=null===(e=window._regUserInfo)||void 0===e?void 0:e.subscription)||void 0===t?void 0:t.type)==="BBG"||this._isBBGSubscriber},e.prototype.isBWSubscriber=function(){var e,t;return(null===(t=null===(e=window._regUserInfo)||void 0===e?void 0:e.subscription)||void 0===t?void 0:t.type)==="BW"||this._isBWSubscriber},e.prototype.isNewsletterSubscriber=function(){return(0,g.getEntitlementFeatures)().length>0||this._isNewsletterSubscriber},e.prototype.getSubscriberType=function(){return this._subscriberType||(this.isBBGSubscriber()?this._subscriberType="BBG":this.isNewsletterSubscriber()?this._subscriberType="Newsletter":this.isBWSubscriber()?this._subscriberType="BW":this._subscriberType=void 0),this._subscriberType},e.prototype.getEntitlementFeatures=function(){var e=(0,w.getSubscriberDataFromCookie)();return(0,g.getFeaturesFromSubsHelper)(null==e?void 0:e.subscriptionsData)},e.prototype.getUserData=function(){var e=(0,S.getUserDataFromCookie)();return e&&"email"in e?e:null},e.prototype.getSubscriberData=function(){var e=(0,w.getSubscriberDataFromCookie)();return e&&"subscriberData"in e?e:null},e.prototype._setStateToLoggedIn=function(e){var t=e.userId,r=e.user;t&&(this._updateLinks(),this.refreshUserInfo(),G({userId:t,user:r}),this._isLoggedIn=!0,this._subscriberType=this.getSubscriberType(),this._isTerminalSubscriber=(0,g.isTerminalSubscriber)(),this._isBBGSubscriber=(0,g.isBBGSubscriber)(),this._isBWSubscriber=(0,g.isBWSubscriber)(),this._isNewsletterSubscriber=(0,g.isNewsletterSubscriber)(),this._features=(0,g.getEntitlementFeatures)())},e.prototype._bindUserInfoEvent=function(e){return function(t){e(t.detail)}},e.prototype._setupMessageListener=function(){window.addEventListener("message",this._windowMessageListener)},e.prototype._setupSignedInEventListener=function(){window.addEventListener(x,this._windowSignedInEventListener)},e.prototype._createPopup=function(e,t){void 0===t&&(t={});var r=!(!1===t.dismissible||"false"===t.dismissible||!this._dismissible);if(r||(e=l.default.appendQueryParams(e,{hideCloseButton:!0})),"production"!==this._environment&&(e=l.default.appendQueryParams(e,{skipGrecaptcha:!0})),t.newWindow){if(document.body.removeAttribute(I),null==this._openedWindowReference||this._openedWindowReference.closed){var n="width=".concat(t.width,",height=").concat(t.height,",location=").concat(t.location);this._openedWindowReference=window.open(e,t.windowName||"sign_in",n);return}this._openedWindowReference.focus();return}var i=t.v4,o=t.zIndex,s=t.uverifyWide,a=void 0!==s&&s,u=document.getElementById(O),f=document.getElementById(T);if(u){if((null==f?void 0:f.getAttribute("src"))===e){document.body.setAttribute(I,"show"),u.setAttribute(E,"show"),(0,c.default)(window,B);return}document.body.removeChild(u)}var d=void 0!==i&&i&&!a?C:a?P:U,p=this._generatePopupContent(e,d,void 0===o?null:o);document.body.appendChild(p),this._showPopupAfterIframeHeightRefresh(),r?p.addEventListener("click",this._hidePopup):document.addEventListener("keyup",this._disableEscapeHandler)},e.prototype._generatePopupContent=function(e,t,r){void 0===t&&(t=U),void 0===r&&(r=null);var n=r?"z-index: ".concat(r):null,i='
    \n
    '),o=document.createElement("div");return o.setAttribute("class",O),o.setAttribute("id",O),n&&o.setAttribute("style",n),o.innerHTML=i,o},e.prototype._hidePopup=function(e){e&&e.stopPropagation(),document.body.removeAttribute(I);var t,r=document.getElementById(O);(0,c.default)(window,"reg-ui-close-pop-up"),r&&r.removeAttribute(E),(null===(t=document.activeElement)||void 0===t?void 0:t.blur)&&document.activeElement.blur()},e.prototype._updateLinks=function(){this._textElements.forEach(function(e){e.setAttribute(y,"true")})},e.prototype.__userClickEventHandler=function(t){t.preventDefault();var r=t.target;if((null==r?void 0:r.getAttribute(y))!=="true")return this.linkToSignIn();e.goToUrl(this._urls.getSettingsUrl())},e.prototype.__disableEscapeHandler=function(e){("Escape"===e.key||27===(e.keyCode||e.which))&&e.preventDefault()},e.prototype._showPopupAfterIframeHeightRefresh=function(){var e=document.getElementById(O),t=document.getElementById(T);if(!e||!t){document.body.removeAttribute(I);return}t.addEventListener("load",function(){t.style.height=t.scrollHeight.toString(),document.body.setAttribute(I,"show"),e.setAttribute(E,"show"),(0,c.default)(window,B)})},e.prototype.__windowMessageListener=function(t){var r,n=t.origin||(null===(r=t.originalEvent)||void 0===r?void 0:r.origin);if(e.isWhiteListedDomain(n||"")){var i=t.data;switch(i.type){case"REG-HIDE-POPUP":case"REG-USER-HIDE-POPUP":this._hidePopup();break;case"REG-USER-SIGNED-IN":this._setStateToLoggedIn(i),this.dispatchSignedInEvent(i,"sign-in-event");break;case"REG-USER-REGISTERED":(0,c.default)(window,"reg-user-registered",i);break;case"REG-USER-VERIFIED":(0,c.default)(window,N,i)}}},e.prototype.__windowSignedInEventListener=function(e){var t=e.detail;this._setStateToLoggedIn(t)},e.prototype.__triggerPersonalizationMerge=function(){var e,t=this._userInfo.eventDetailsFromExistingCookies(),r=t.agentId,n=t.sessionId,i=t.sessionKey,o=t.userId,s=this._urls.getPersonalizationTrackingPixelSrc(((e={interactionType:"merge"}).agent_id=r||"",e.session_id=n||"",e.session_key=i||"",e.breg=o||"",e.referrer=document.referrer.replace("&","---"),e));document.createElement("img").setAttribute("src",s)},e.prototype.dispatchSignedInEvent=function(e,t){var r=e.userId,n=e.user;if(r){if(this._setStateToLoggedIn({userId:r,user:n}),this.__triggerPersonalizationMerge(),window._regUserId===r){(0,c.default)(window,"reg-user-repeated-sign-in",{source:t,userId:r,user:n,isTerminalSubscriber:this._isTerminalSubscriber,isBBGSubscriber:this._isBBGSubscriber,isBWSubscriber:this._isBWSubscriber,features:this._features});return}(0,c.default)(window,x,{source:t,userId:r,user:n,isTerminalSubscriber:this._isTerminalSubscriber,isBBGSubscriber:this._isBBGSubscriber,isBWSubscriber:this._isBWSubscriber,features:this._features}),window._regUserId=r}},e.prototype.getUserInfo=function(){return i(i({},window._regUserInfo||{}),{isDelinquent:"true"===(0,m.getStorageItem)(m.STORAGE_ITEM_KEYS.IS_DELINQUENT),daysDelinquent:(0,g.getDaysDelinquent)()})},e.isWhiteListedDomain=function(e){return A.test(e)},e.goToUrl=function(e){window.location.href=e},e}();function D(e,t){void 0===e&&(e=document.location.href),void 0===t&&(t={});var r=(0,u.default)({},(0,p.default)(e),t),n=Object.keys(r).reduce(function(e,t){return e+(""===e?"?":"&")+"".concat(t,"=").concat(r[t])},""),i=e.indexOf("#"),o=e.indexOf("?")>0?e.split("?")[0]:e.split("#")[0],s="".concat(o).concat(n).concat(i>0?e.substring(i):"");window.history.replaceState({},"",s)}function G(e){void 0===e&&(e={});var t,r=window._regUserInfo||{},n=e.subscriptionType?{type:e.subscriptionType,number:e.subscriptionNumber,endDate:e.subscriptionEndDate,startDate:e.subscriptionStartDate}:null;window._regUserInfo={agentId:e.agentId||r.agentId,sessionId:e.sessionId||r.sessionId,sessionKey:e.sessionKey||r.sessionKey,userId:e.userId||r.userId,user:e.user||r.user,subscription:n||r.subscription},null===(t=window.dataLayer)||void 0===t||t.push({subStatus:(0,g.getSubStatus)()}),window._regUserInfo.user&&window._regUserInfo.user.referralToken&&D(document.location.href,{sref:window._regUserInfo.user.referralToken})}t.addParamsToUrl=D,t.default=k},15538:function(e,t,r){"use strict";var n,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(15018),s=i(r(10646)),a=r(84262),u=((n={})[o.SocialSite.FACEBOOK]=a.FACEBOOK_ACCESS_TOKEN_FLAG_COOKIE_NAME,n[o.SocialSite.TWITTER]=a.TWITTER_TOKEN_FLAG_COOKIE_NAME,n[o.SocialSite.APPLE]=a.APPLE_AUTH_INFO_FLAG_COOKIE_NAME,n[o.SocialSite.TERMINAL]=a.BSSO_ACCESS_TOKEN_FLAG_COOKIE_NAME,n),c=function(){function e(e){this.urlBuilder=e,this._timers={},this.urlBuilder=e}return e.prototype.login=function(e,t){var r=this;return new Promise(function(n,i){var o=r._timers[e];window.clearInterval(o);var s=f(e,r.urlBuilder,t),a=window.setInterval(function(){if(l(e)){try{s&&s.close()}catch(e){console.log("Failed to clear login window with error: ",e),i(e)}window.clearInterval(a),n()}},500);r._timers[e]=a})},e}(),l=function(e){return!!s.default.get(u[e])},f=function(e,t,r){switch(e){case o.SocialSite.FACEBOOK:case o.SocialSite.APPLE:return d(t.getSocialSignInPath(e,{applicationCaller:r}),e,"width=1000,height=680");case o.SocialSite.TWITTER:return d(t.getSocialSignInPath(e,{applicationCaller:r}),e,"width=500,height=500");case o.SocialSite.TERMINAL:return d(t.getBssoUrl({applicationCaller:r}),e,"width=400,height=525,location=no");default:throw Error("Unknown social site: ".concat(e))}},d=function(e,t,r){return window.open(e,t,r)};t.default=c},10470:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0,newsletters:(0,d.getNewsletters)(),socialAccount:(0,d.isSocialUser)(),isDelinquent:(0,d.isDelinquentStatus)(),experienceRegion:(0,d.getExperiencePreference)(),daysDelinquent:(0,d.getDaysDelinquent)()})},e.prototype.optInToReferralSharing=function(e,t){return this._fetchFromRegAPI(this._optInUrl,{method:"PUT",body:{productRatePlanId:e},applicationCaller:t})},e.prototype.optOutOfReferralSharing=function(e,t){return this._fetchFromRegAPI(this._optOutUrl,{method:"PUT",body:{defaulted:e},applicationCaller:t})},e.prototype.setPreferredEmail=function(e,t){return this._fetchFromRegAPI(this._preferredEmailUrl,{method:"PUT",body:{preferredEmail:e},applicationCaller:t})},e.prototype._fetchUserInfo=function(t,r){var n,i,o,s=this,a=!r&&!!u.default.get(f.SUBSCRIPTION_REFRESH_COOKIE_NAME),c=!!u.default.get(f.COLLECTIVE_USER_DATA_COOKIE)&&!!u.default.get(f.BREG_USER_COOKIE_NAME),d=null===(n=(0,g.getSubscriberDataFromCookie)())||void 0===n?void 0:n.subscriberData,v=null==d?void 0:d.introPeriodStatus,b=(0,l.default)(),_=this._fetchSubMetadata&&!v;return e.isFetchInProgress()&&!this._fetchSubMetadata?(null===(i=window.newrelic)||void 0===i||i.addPageAction("regUIClient_fetchUserInfo",{action:"fetchInProgress"}),Promise.resolve({})):a&&c&&b&&!_?(null===(o=window.newrelic)||void 0===o||o.addPageAction("regUIClient_fetchUserInfo",{action:"usingCookies"}),Promise.resolve().then(function(){var e=s.eventDetailsFromExistingCookies();return t(null,e),e})):(e.lock(),this._fetchFromRegAPI(this._userInfoUrl,{method:"GET"},!0,1500).then(function(r){var n,i=r[0],o=r[1];e.unlock(),null===(n=window.newrelic)||void 0===n||n.addPageAction("regUIClient_fetchUserInfo",{action:"callingRegApiSuccess"}),401===o&&p.default.trackInvoluntaryLogout();try{(0,h.setStorageItem)(h.STORAGE_ITEM_KEYS.IS_DELINQUENT,i.isDelinquent),(0,h.setStorageItem)(h.STORAGE_ITEM_KEYS.DAYS_DELINQUENT,i.daysDelinquent)}catch(e){}return(0,l.writeLastKnownInformation)(i),t(void 0,i),i}).catch(function(r){var n;throw null===(n=window.newrelic)||void 0===n||n.addPageAction("regUIClient_fetchUserInfo",{action:"callingRegApiFailure",message:(null==r?void 0:r.message)||"Failed to call /user-info"}),e.unlock(),t(r||Error("Failed to call /user-info"),s.eventDetailsFromExistingCookies()),r}))},e.prototype.eventDetailsFromExistingCookies=function(){var e,t,r,i=this._userBrowserSession.getIdentity(),o=i.agentId,s=i.sessionId,a=i.sessionKey,c=u.default.get(f.BREG_USER_ID_COOKIE_NAME)||"",l=u.default.get(f.BREG_USER_COOKIE_NAME);try{var d=(0,b.getLocalCollectiveUserData)();(null===(e=null==d?void 0:d.subscriptionsData)||void 0===e?void 0:e.some(function(e){return"BBG"===e.product}))?r="BBG":(null===(t=null==d?void 0:d.subscriptionsData)||void 0===t?void 0:t.some(function(e){return"BW"===e.product}))&&(r="BW")}catch(e){}return{agentId:o,sessionId:s,sessionKey:a,userId:c,user:l?function(e,t){try{return n({id:e,firstTimeUser:!1},JSON.parse(decodeURIComponent(t)))}catch(e){return null}}(c,l):null,subscriptionType:r}},e.prototype._fetchFromRegAPI=function(t,r,i,o){void 0===i&&(i=!1);var s=u.default.get(f.CSRF_TOKEN_COOKIE_NAME),a={method:r.method,headers:n({Accept:"application/json","Content-Type":"application/json"},r.applicationCaller?{"x-application-caller":r.applicationCaller}:{}),credentials:"include",signal:o?AbortSignal.timeout(o):void 0};return(s&&(a.headers=n(n({},a.headers),{"x-csrf-token":s})),r.body&&(a.body=JSON.stringify(r.body)),i)?e.fetch(t,a).then(function(e){return Promise.all([e.json(),e.status])}):e.fetch(t,a).then(function(e){return e.json()})},e.lock=function(){window.__regUIFetchInProgress=!0},e.unlock=function(){window.__regUIFetchInProgress=!1},e.isFetchInProgress=function(){return window.__regUIFetchInProgress||!1},e.isOnBbgComSite=function(){return f.BBGCOM_SITE_REGEX.test(window.location.hostname)},e.fetch=function(e,t){return fetch(e,t)},e}();t.default=m},84262:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.URLS_MAP=t.SOCIAL_SITE_PLACEHOLDER=t.APPLE_AUTH_INFO_FLAG_COOKIE_NAME=t.TWITTER_TOKEN_FLAG_COOKIE_NAME=t.FACEBOOK_ACCESS_TOKEN_FLAG_COOKIE_NAME=t.BSSO_ACCESS_TOKEN_FLAG_COOKIE_NAME=t.COLLECTIVE_USER_DATA_LOCAL_STORAGE_EXPIRY=t.COLLECTIVE_USER_DATA_LOCAL_STORAGE_KEY=t.EXPERIENCE_PREFERENCE_COOKIE_NAME=t.COLLECTIVE_USER_DATA_COOKIE=t.CSRF_TOKEN_COOKIE_NAME=t.SESSION_ID=t.SUBSCRIPTION_REFRESH_COOKIE_NAME=t.BREG_USER_COOKIE_NAME=t.BREG_USER_ID_COOKIE_NAME=t.BBGCOM_SITE_REGEX=void 0;var i=n(r(31730));t.BBGCOM_SITE_REGEX=/bloomberg\.com$/i,t.BREG_USER_ID_COOKIE_NAME="_breg-uid",t.BREG_USER_COOKIE_NAME="_breg-user",t.SUBSCRIPTION_REFRESH_COOKIE_NAME="_last-refresh",t.SESSION_ID="session_id",t.CSRF_TOKEN_COOKIE_NAME="_reg-csrf-token",t.COLLECTIVE_USER_DATA_COOKIE="_user-data",t.EXPERIENCE_PREFERENCE_COOKIE_NAME="exp_pref",t.COLLECTIVE_USER_DATA_LOCAL_STORAGE_KEY="__$$user-data",t.COLLECTIVE_USER_DATA_LOCAL_STORAGE_EXPIRY="__$$user-data-expiry",t.BSSO_ACCESS_TOKEN_FLAG_COOKIE_NAME="_bsso-user-token-flag",t.FACEBOOK_ACCESS_TOKEN_FLAG_COOKIE_NAME="_fb-user-token-flag",t.TWITTER_TOKEN_FLAG_COOKIE_NAME="_twtr-user-token-flag",t.APPLE_AUTH_INFO_FLAG_COOKIE_NAME="_apple-auth-info-flag",t.SOCIAL_SITE_PLACEHOLDER="";var o={loginUrl:"iframe/login",registerUrl:"iframe/register",uverifyUrl:"iframe/uverify",terminalRegisterUrl:"iframe/terminal-register",bwRegisterUrl:"iframe/magazine",settingsUrl:"account",userInfoUrl:"user-info",bssoUrl:"api/login/bloomberg-auth-redirect",optInToReferralsUrl:"api/referrals/opt-in",optOutFromReferralsUrl:"api/referrals/opt-out",preferredEmailPath:"api/account/update-preferred-email",preferredEmailUIPath:"iframe/terminal-preferred-email",verifyVerificationCodePath:"api/user-verify/verify-verification-code",registerPath:"api/v3/register/bconnect",sendVerificationEmailPath:"api/user-verify/send-verification-email",sendEmailToEloquaAndCprefPath:"api/marketing",userSignInPath:"api/login",groupSubsSSOLoginPath:"api/login/sso-login-url",generateGroupSubsSSOLoginPath:"api/login/generate-sso-login-url",trackingPixelSrc:"/psz/pixel.gif",googleAuthPath:"api/login/google-auth",bconnectAuthPath:"api/login/bconnect",logoutUrl:"api/logout",socialSignInPath:"api/login/".concat(t.SOCIAL_SITE_PLACEHOLDER,"-auth-redirect"),getNewsletterSubscriptionsPath:"api/newsletters/subscription",updateNewsletterSubscriptionsPath:"api/newsletters/update"};t.URLS_MAP={development:(0,i.default)({baseUrl:"http://local.bloomberg.com:4004/account/",apiBaseUrl:"http://local-login.bloomberg.com:4004/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),developmentTLS:(0,i.default)({baseUrl:"https://local.bloomberg.com:8008/account/",apiBaseUrl:"https://local.bloomberg.com:8008/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),red:(0,i.default)({baseUrl:"https://origin.red.bloomberg.com/account/",apiBaseUrl:"https://red-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),orange:(0,i.default)({baseUrl:"https://origin.orange.bloomberg.com/account/",apiBaseUrl:"https://orange-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),yellow:(0,i.default)({baseUrl:"https://origin.yellow.bloomberg.com/account/",apiBaseUrl:"https://yellow-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),green:(0,i.default)({baseUrl:"https://origin.green.bloomberg.com/account/",apiBaseUrl:"https://green-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),blue:(0,i.default)({baseUrl:"https://origin.blue.bloomberg.com/account/",apiBaseUrl:"https://blue-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),purple:(0,i.default)({baseUrl:"https://origin.purple.bloomberg.com/account/",apiBaseUrl:"https://purple-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),sandcastle:(0,i.default)({baseUrl:"https://origin.sandcastle.bloomberg.com/account/",apiBaseUrl:"https://sandcastle-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),staging:(0,i.default)({baseUrl:"https://origin.staging.bloomberg.com/account/",apiBaseUrl:"https://staging-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},o),production:(0,i.default)({baseUrl:"https://www.bloomberg.com/account/",apiBaseUrl:"https://login.bloomberg.com/",personalizationBaseUrl:"https://tracking.bloomberg.com/"},o)}},15018:function(e,t){"use strict";var r,n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.ApplicationCaller=t.UserStatus=t.BloombergSubscription=t.SocialSite=void 0,(r=t.SocialSite||(t.SocialSite={})).TERMINAL="terminal",r.APPLE="apple",r.TWITTER="twitter",r.FACEBOOK="facebook",(n=t.BloombergSubscription||(t.BloombergSubscription={})).BLOOMBERG_ALL="bbg-all",n.BLOOMBERG_DIGITAL="bbg-digital",n.BUSINESSWEEK_PRINT="bw-print",n.BUSINESSWEEK_DIGITAL="bw-digital",n.BUSINESSWEEK_ZINIO="bw-zinio",n.NEWSLETTER_DIGITAL="newsletter-digital",(i=t.UserStatus||(t.UserStatus={})).LOGGED_IN="logged_in",i.LOGGED_OUT="logged_out",i.LOGGED_OUT_SUB="logged_out_sub",i.ANONYMOUS="anonymous",(o=t.ApplicationCaller||(t.ApplicationCaller={})).APP="APP",o.BREG="BREG",o.FORTRESS="FORTRESS",o.LINEUP="LINEUP",o.OTHER="OTHER"},65121:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(84262),o=n(r(37276)),s=/([^:]\/)\/+/g,a=function(){function e(e){var t=e.baseUrl,r=e.apiBaseUrl,n=e.personalizationBaseUrl;this._baseUrl=t,this._apiBaseUrl=r,this._personalizationBaseUrl=n,this._config=e}return e.prototype._constructPath=function(t,r,n){void 0===n&&(n=this._baseUrl);var i="".concat(n).concat(t).replace(s,"$1");return e.appendQueryParams(i,r)},e.prototype.getNewsletterSubscriptionsPath=function(e){var t=this._config.getNewsletterSubscriptionsPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getUpdateNewsletterSubscriptionsPath=function(e){var t=this._config.updateNewsletterSubscriptionsPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getLoginUrl=function(e){var t=this._config.loginUrl;return this._constructPath(t,e)},e.prototype.getLogoutUrl=function(e){var t=this._config.logoutUrl;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getRegisterUrl=function(e){var t=this._config.registerUrl;return this._constructPath(t,e)},e.prototype.getUVerifyUrl=function(e){var t=this._config.uverifyUrl;return this._constructPath(t,e)},e.prototype.getTerminalRegisterUrl=function(e){var t=this._config.terminalRegisterUrl;return this._constructPath(t,e)},e.prototype.getBwRegisterUrl=function(e){var t=this._config.bwRegisterUrl;return this._constructPath(t,e)},e.prototype.getSettingsUrl=function(e){var t=this._config.settingsUrl;return this._constructPath(t,e)},e.prototype.getUserInfoUrl=function(e){var t=this._config.userInfoUrl;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getBssoUrl=function(e){var t=this._config.bssoUrl;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getPreferredEmailUIUrl=function(e){var t=this._config.preferredEmailUIPath;return this._constructPath(t,e)},e.prototype.getOptInToReferralsUrl=function(e){var t=this._config.optInToReferralsUrl;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getOptOutFromReferralsUrl=function(e){var t=this._config.optOutFromReferralsUrl;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.setPreferredEmailUrl=function(e){var t=this._config.preferredEmailPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getVerifyVerificationCodePath=function(e){var t=this._config.verifyVerificationCodePath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getRegisterPath=function(e){var t=this._config.registerPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getSendVerificationEmailPath=function(e){var t=this._config.sendVerificationEmailPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getSendEmailToEloquaAndCprefPath=function(e){var t=this._config.sendEmailToEloquaAndCprefPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getUserSignInPath=function(e){var t=this._config.userSignInPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getGroupSubsSSOLoginPath=function(e){var t=this._config.groupSubsSSOLoginPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getGenerateGroupSubsSSOLoginPath=function(e){var t=this._config.generateGroupSubsSSOLoginPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getPersonalizationTrackingPixelSrc=function(e){var t=this._config.trackingPixelSrc;return this._constructPath(t,e,this._personalizationBaseUrl)},e.prototype.getGoogleAuthPath=function(e){var t=this._config.googleAuthPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getBconnectAuthPath=function(e){var t=this._config.bconnectAuthPath;return this._constructPath(t,e,this._apiBaseUrl)},e.prototype.getSocialSignInPath=function(e,t){var r=this._config.socialSignInPath;return this._constructPath(r.replace(i.SOCIAL_SITE_PLACEHOLDER,e),t,this._apiBaseUrl)},e.appendQueryParams=function(t,r){if(!r||"object"!=typeof r)return t;var n=Object.keys(r).filter(function(e){return void 0!==r[e]&&null!==r[e]});if(0===n.length)return t;for(var i=-1,s=(0,o.default)(t),a=0;a0},t.isLoggedIn=function(){var e;try{e=JSON.parse(i.default.get(o.COLLECTIVE_USER_DATA_COOKIE))}catch(e){}return!!(!(0,a.isProduction)()&&new URL(window.location.href).searchParams.get("mockSub"))||!!e&&e.status===s.UserStatus.LOGGED_IN},t.getNewsletters=function(){try{e=JSON.parse(i.default.get(o.COLLECTIVE_USER_DATA_COOKIE))}catch(e){}if(!e)return"";var e,t=e.newsletterIds;return Array.isArray(t)&&0!==t.length?t.join("|"):""},t.isSocialUser=function(){var e;try{e=JSON.parse(i.default.get(o.COLLECTIVE_USER_DATA_COOKIE))}catch(e){}return!!e&&!!e.linkedAccounts},t.isDelinquentStatus=function(){return"true"===(0,u.getStorageItem)(u.STORAGE_ITEM_KEYS.IS_DELINQUENT)},t.getDaysDelinquent=function(){var e=(0,u.getStorageItem)(u.STORAGE_ITEM_KEYS.DAYS_DELINQUENT);return e&&parseInt(e)||0},t.getExperiencePreference=function(){return i.default.get(o.EXPERIENCE_PREFERENCE_COOKIE_NAME)||"AMER"},t.getSubStatus=function(){var e="non_sub",t=JSON.parse(i.default.get(o.COLLECTIVE_USER_DATA_COOKIE)||"{}");if(!t||!t.subscriptionsData)return e;try{for(var r=0;r0?r:void 0).split("&").reduce(function(e,t){var r=t.split("="),n=r[0],i=r[1];return void 0===i?e[n]=!0:e[n]=i,e},{})}},44971:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getSubscriberDataFromCookie=void 0;var i=n(r(10646)),o=r(84262);t.getSubscriberDataFromCookie=function(){try{var e=JSON.parse(i.default.get(o.COLLECTIVE_USER_DATA_COOKIE)||"{}");return{subscriberData:e.subscriberData,subscriptionsData:e.subscriptionsData}}catch(e){return null}}},5984:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},96004:function(e,t,r){"use strict";var n=r(68844);e.exports=n([].slice)},86431:function(e,t,r){"use strict";var n=r(44201)("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},6648:function(e,t,r){"use strict";var n=r(68844),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},50926:function(e,t,r){"use strict";var n=r(23043),i=r(69985),o=r(6648),s=r(44201)("toStringTag"),a=Object,u="Arguments"===o(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(e){}};e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=c(t=a(e),s))?r:u?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},8758:function(e,t,r){"use strict";var n=r(36812),i=r(19152),o=r(82474),s=r(72560);e.exports=function(e,t,r){for(var a=i(t),u=s.f,c=o.f,l=0;l0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},39791:function(e,t,r){"use strict";var n=r(51087),i=r(68017),o=r(6648),s=function(e){return i.slice(0,e.length)===e};e.exports=s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},56610:function(e,t,r){"use strict";var n=r(68844),i=Error,o=n("".replace),s=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,u=a.test(s);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,a,"");return e}},65411:function(e,t,r){"use strict";var n=r(75773),i=r(56610),o=r(49599),s=Error.captureStackTrace;e.exports=function(e,t,r,a){o&&(s?s(e,t):n(e,"stack",i(r,a)))}},49599:function(e,t,r){"use strict";var n=r(3689),i=r(75684);e.exports=!n(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},79989:function(e,t,r){"use strict";var n=r(51087),i=r(82474).f,o=r(75773),s=r(11880),a=r(95014),u=r(8758),c=r(35266);e.exports=function(e,t){var r,l,f,d,p,h=e.target,g=e.global,v=e.stat;if(r=g?n:v?n[h]||a(h,{}):n[h]&&n[h].prototype)for(l in t){if(d=t[l],f=e.dontCallGetSet?(p=i(r,l))&&p.value:r[l],!c(g?l:h+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),s(r,l,d,e)}}},3689:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},61735:function(e,t,r){"use strict";var n=r(97215),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},54071:function(e,t,r){"use strict";var n=r(46576),i=r(10509),o=r(97215),s=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},97215:function(e,t,r){"use strict";var n=r(3689);e.exports=!n(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},22615:function(e,t,r){"use strict";var n=r(97215),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},41236:function(e,t,r){"use strict";var n=r(67697),i=r(36812),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),u=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:a&&"something"===(function(){}).name,CONFIGURABLE:u}},52743:function(e,t,r){"use strict";var n=r(68844),i=r(10509);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},46576:function(e,t,r){"use strict";var n=r(6648),i=r(68844);e.exports=function(e){if("Function"===n(e))return i(e)}},68844:function(e,t,r){"use strict";var n=r(97215),i=Function.prototype,o=i.call,s=n&&i.bind.bind(o,o);e.exports=n?s:function(e){return function(){return o.apply(e,arguments)}}},76058:function(e,t,r){"use strict";var n=r(51087),i=r(69985);e.exports=function(e,t){var r;return arguments.length<2?i(r=n[e])?r:void 0:n[e]&&n[e][t]}},91664:function(e,t,r){"use strict";var n=r(50926),i=r(54849),o=r(981),s=r(9478),a=r(44201)("iterator");e.exports=function(e){if(!o(e))return i(e,a)||i(e,"@@iterator")||s[n(e)]}},5185:function(e,t,r){"use strict";var n=r(22615),i=r(10509),o=r(85027),s=r(23691),a=r(91664),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return o(n(r,e));throw new u(s(e)+" is not iterable")}},54849:function(e,t,r){"use strict";var n=r(10509),i=r(981);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},51087:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},36812:function(e,t,r){"use strict";var n=r(68844),i=r(90690),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},57248:function(e){"use strict";e.exports={}},20920:function(e){"use strict";e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},2688:function(e,t,r){"use strict";var n=r(76058);e.exports=n("document","documentElement")},68506:function(e,t,r){"use strict";var n=r(67697),i=r(3689),o=r(36420);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},94413:function(e,t,r){"use strict";var n=r(68844),i=r(3689),o=r(6648),s=Object,a=n("".split);e.exports=i(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?a(e,""):s(e)}:s},6738:function(e,t,r){"use strict";var n=r(68844),i=r(69985),o=r(84091),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},62570:function(e,t,r){"use strict";var n=r(48999),i=r(75773);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},618:function(e,t,r){"use strict";var n,i,o,s=r(59834),a=r(51087),u=r(48999),c=r(75773),l=r(36812),f=r(84091),d=r(2713),p=r(57248),h="Object already initialized",g=a.TypeError,v=a.WeakMap;if(s||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw new g(h);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var _=d("state");p[_]=!0,n=function(e,t){if(l(e,_))throw new g(h);return t.facade=e,c(e,_,t),t},i=function(e){return l(e,_)?e[_]:{}},o=function(e){return l(e,_)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},93292:function(e,t,r){"use strict";var n=r(44201),i=r(9478),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},69985:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},19429:function(e,t,r){"use strict";var n=r(68844),i=r(3689),o=r(69985),s=r(50926),a=r(76058),u=r(6738),c=function(){},l=a("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),p=!f.test(c),h=function(e){if(!o(e))return!1;try{return l(c,[],e),!0}catch(e){return!1}},g=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(f,u(e))}catch(e){return!0}};g.sham=!0,e.exports=!l||i(function(){var e;return h(h.call)||!h(Object)||!h(function(){e=!0})||e})?g:h},35266:function(e,t,r){"use strict";var n=r(3689),i=r(69985),o=/#|\.prototype\./,s=function(e,t){var r=u[a(e)];return r===l||r!==c&&(i(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=s.data={},c=s.NATIVE="N",l=s.POLYFILL="P";e.exports=s},981:function(e){"use strict";e.exports=function(e){return null==e}},48999:function(e,t,r){"use strict";var n=r(69985);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},60598:function(e,t,r){"use strict";var n=r(48999);e.exports=function(e){return n(e)||null===e}},53931:function(e){"use strict";e.exports=!1},30734:function(e,t,r){"use strict";var n=r(76058),i=r(69985),o=r(23622),s=r(39525),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,a(e))}},18734:function(e,t,r){"use strict";var n=r(54071),i=r(22615),o=r(85027),s=r(23691),a=r(93292),u=r(6310),c=r(23622),l=r(5185),f=r(91664),d=r(72125),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},g=h.prototype;e.exports=function(e,t,r){var v,b,_,m,S,w,y,E=r&&r.that,I=!!(r&&r.AS_ENTRIES),O=!!(r&&r.IS_RECORD),U=!!(r&&r.IS_ITERATOR),C=!!(r&&r.INTERRUPTED),P=n(t,E),T=function(e){return v&&d(v,"normal"),new h(!0,e)},A=function(e){return I?(o(e),C?P(e[0],e[1],T):P(e[0],e[1])):C?P(e,T):P(e)};if(O)v=e.iterator;else if(U)v=e;else{if(!(b=f(e)))throw new p(s(e)+" is not iterable");if(a(b)){for(_=0,m=u(e);m>_;_++)if((S=A(e[_]))&&c(g,S))return S;return new h(!1)}v=l(e,b)}for(w=O?e.next:v.next;!(y=i(w,v)).done;){try{S=A(y.value)}catch(e){d(v,"throw",e)}if("object"==typeof S&&S&&c(g,S))return S}return new h(!1)}},72125:function(e,t,r){"use strict";var n=r(22615),i=r(85027),o=r(54849);e.exports=function(e,t,r){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return i(s),r}},30974:function(e,t,r){"use strict";var n=r(12013).IteratorPrototype,i=r(25391),o=r(75684),s=r(55997),a=r(9478),u=function(){return this};e.exports=function(e,t,r,c){var l=t+" Iterator";return e.prototype=i(n,{next:o(+!c,r)}),s(e,l,!1,!0),a[l]=u,e}},91934:function(e,t,r){"use strict";var n=r(79989),i=r(22615),o=r(53931),s=r(41236),a=r(69985),u=r(30974),c=r(61868),l=r(49385),f=r(55997),d=r(75773),p=r(11880),h=r(44201),g=r(9478),v=r(12013),b=s.PROPER,_=s.CONFIGURABLE,m=v.IteratorPrototype,S=v.BUGGY_SAFARI_ITERATORS,w=h("iterator"),y="keys",E="values",I="entries",O=function(){return this};e.exports=function(e,t,r,s,h,v,U){u(r,t,s);var C,P,T,A=function(e){if(e===h&&x)return x;if(!S&&e&&e in B)return B[e];switch(e){case y:case E:case I:return function(){return new r(this,e)}}return function(){return new r(this)}},L=t+" Iterator",R=!1,B=e.prototype,N=B[w]||B["@@iterator"]||h&&B[h],x=!S&&N||A(h),k="Array"===t&&B.entries||N;if(k&&(C=c(k.call(new e)))!==Object.prototype&&C.next&&(o||c(C)===m||(l?l(C,m):a(C[w])||p(C,w,O)),f(C,L,!0,!0),o&&(g[L]=O)),b&&h===E&&N&&N.name!==E&&(!o&&_?d(B,"name",E):(R=!0,x=function(){return i(N,this)})),h){if(P={values:A(E),keys:v?x:A(y),entries:A(I)},U)for(T in P)!S&&!R&&T in B||p(B,T,P[T]);else n({target:t,proto:!0,forced:S||R},P)}return(!o||U)&&B[w]!==x&&p(B,w,x,{name:h}),g[t]=x,P}},12013:function(e,t,r){"use strict";var n,i,o,s=r(3689),a=r(69985),u=r(48999),c=r(25391),l=r(61868),f=r(11880),d=r(44201),p=r(53931),h=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||s(function(){var e={};return n[h].call(e)!==e})?n={}:p&&(n=c(n)),a(n[h])||f(n,h,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},9478:function(e){"use strict";e.exports={}},6310:function(e,t,r){"use strict";var n=r(43126);e.exports=function(e){return n(e.length)}},98702:function(e,t,r){"use strict";var n=r(68844),i=r(3689),o=r(69985),s=r(36812),a=r(67697),u=r(41236).CONFIGURABLE,c=r(6738),l=r(618),f=l.enforce,d=l.get,p=String,h=Object.defineProperty,g=n("".slice),v=n("".replace),b=n([].join),_=a&&!i(function(){return 8!==h(function(){},"length",{value:8}).length}),m=String(String).split("String"),S=e.exports=function(e,t,r){"Symbol("===g(p(t),0,7)&&(t="["+v(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||u&&e.name!==t)&&(a?h(e,"name",{value:t,configurable:!0}):e.name=t),_&&r&&s(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return s(n,"source")||(n.source=b(m,"string"==typeof t?t:"")),e};Function.prototype.toString=S(function(){return o(this)&&d(this).source||c(this)},"toString")},58828:function(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},80231:function(e,t,r){"use strict";var n,i,o,s,a,u=r(51087),c=r(70517),l=r(54071),f=r(99886).set,d=r(34410),p=r(41631),h=r(17636),g=r(9976),v=r(30240),b=u.MutationObserver||u.WebKitMutationObserver,_=u.document,m=u.process,S=u.Promise,w=c("queueMicrotask");if(!w){var y=new d,E=function(){var e,t;for(v&&(e=m.domain)&&e.exit();t=y.get();)try{t()}catch(e){throw y.head&&n(),e}e&&e.enter()};p||v||g||!b||!_?!h&&S&&S.resolve?((s=S.resolve(void 0)).constructor=S,a=l(s.then,s),n=function(){a(E)}):v?n=function(){m.nextTick(E)}:(f=l(f,u),n=function(){f(E)}):(i=!0,o=_.createTextNode(""),new b(E).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),w=function(e){y.head||n(),y.add(e)}}e.exports=w},48742:function(e,t,r){"use strict";var n=r(10509),i=TypeError,o=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},13841:function(e,t,r){"use strict";var n=r(34327);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},25391:function(e,t,r){"use strict";var n,i=r(85027),o=r(98920),s=r(72739),a=r(57248),u=r(2688),c=r(36420),l=r(2713),f="prototype",d="script",p=l("IE_PROTO"),h=function(){},g=function(e){return"<"+d+">"+e+""},v=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=c("iframe");return t.style.display="none",u.appendChild(t),t.src=String("java"+d+":"),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F},_=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}_="undefined"!=typeof document?document.domain&&n?v(n):b():v(n);for(var e=s.length;e--;)delete _[f][s[e]];return _()};a[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[f]=i(e),r=new h,h[f]=null,r[p]=e):r=_(),void 0===t?r:o.f(r,t)}},98920:function(e,t,r){"use strict";var n=r(67697),i=r(15648),o=r(72560),s=r(85027),a=r(65290),u=r(20300);t.f=n&&!i?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),i=u(t),c=i.length,l=0;c>l;)o.f(e,r=i[l++],n[r]);return e}},72560:function(e,t,r){"use strict";var n=r(67697),i=r(68506),o=r(15648),s=r(85027),a=r(18360),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=n?o?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=l(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(s(e),t=a(t),s(r),i)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},82474:function(e,t,r){"use strict";var n=r(67697),i=r(22615),o=r(49556),s=r(75684),a=r(65290),u=r(18360),c=r(36812),l=r(68506),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=a(e),t=u(t),l)try{return f(e,t)}catch(e){}if(c(e,t))return s(!i(o.f,e,t),e[t])}},72741:function(e,t,r){"use strict";var n=r(54948),i=r(72739).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},7518:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},61868:function(e,t,r){"use strict";var n=r(36812),i=r(69985),o=r(90690),s=r(2713),a=r(81748),u=s("IE_PROTO"),c=Object,l=c.prototype;e.exports=a?c.getPrototypeOf:function(e){var t=o(e);if(n(t,u))return t[u];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof c?l:null}},23622:function(e,t,r){"use strict";var n=r(68844);e.exports=n({}.isPrototypeOf)},54948:function(e,t,r){"use strict";var n=r(68844),i=r(36812),o=r(65290),s=r(84328).indexOf,a=r(57248),u=n([].push);e.exports=function(e,t){var r,n=o(e),c=0,l=[];for(r in n)!i(a,r)&&i(n,r)&&u(l,r);for(;t.length>c;)i(n,r=t[c++])&&(~s(l,r)||u(l,r));return l}},20300:function(e,t,r){"use strict";var n=r(54948),i=r(72739);e.exports=Object.keys||function(e){return n(e,i)}},49556:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},49385:function(e,t,r){"use strict";var n=r(52743),i=r(48999),o=r(74684),s=r(23550);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),s(n),i(r)&&(t?e(r,n):r.__proto__=n),r}}():void 0)},65073:function(e,t,r){"use strict";var n=r(23043),i=r(50926);e.exports=n?({}).toString:function(){return"[object "+i(this)+"]"}},35899:function(e,t,r){"use strict";var n=r(22615),i=r(69985),o=r(48999),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!o(a=n(r,e))||i(r=e.valueOf)&&!o(a=n(r,e))||"string"!==t&&i(r=e.toString)&&!o(a=n(r,e)))return a;throw new s("Can't convert object to primitive value")}},19152:function(e,t,r){"use strict";var n=r(76058),i=r(68844),o=r(72741),s=r(7518),a=r(85027),u=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=s.f;return r?u(t,r(e)):t}},50496:function(e,t,r){"use strict";var n=r(51087);e.exports=n},9302:function(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},87073:function(e,t,r){"use strict";var n=r(51087),i=r(17919),o=r(69985),s=r(35266),a=r(6738),u=r(44201),c=r(39791),l=r(53931),f=r(21352),d=i&&i.prototype,p=u("species"),h=!1,g=o(n.PromiseRejectionEvent),v=s("Promise",function(){var e=a(i),t=e!==String(i);if(!t&&66===f||l&&!(d.catch&&d.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[p]=n,!(h=r.then(function(){}) instanceof n))return!0}return!t&&("BROWSER"===c||"DENO"===c)&&!g});e.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:h}},17919:function(e,t,r){"use strict";var n=r(51087);e.exports=n.Promise},72945:function(e,t,r){"use strict";var n=r(85027),i=r(48999),o=r(48742);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},562:function(e,t,r){"use strict";var n=r(17919),i=r(86431),o=r(87073).CONSTRUCTOR;e.exports=o||!i(function(e){n.all(e).then(void 0,function(){})})},34410:function(e){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},74684:function(e,t,r){"use strict";var n=r(981),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},70517:function(e,t,r){"use strict";var n=r(51087),i=r(67697),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=o(n,e);return t&&t.value}},14241:function(e,t,r){"use strict";var n=r(76058),i=r(62148),o=r(44201),s=r(67697),a=o("species");e.exports=function(e){var t=n(e);s&&t&&!t[a]&&i(t,a,{configurable:!0,get:function(){return this}})}},55997:function(e,t,r){"use strict";var n=r(72560).f,i=r(36812),o=r(44201)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},2713:function(e,t,r){"use strict";var n=r(83430),i=r(14630),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},84091:function(e,t,r){"use strict";var n=r(53931),i=r(51087),o=r(95014),s="__core-js_shared__",a=e.exports=i[s]||o(s,{});(a.versions||(a.versions=[])).push({version:"3.45.1",mode:n?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"})},83430:function(e,t,r){"use strict";var n=r(84091);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},76373:function(e,t,r){"use strict";var n=r(85027),i=r(52655),o=r(981),s=r(44201)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||o(r=n(a)[s])?t:i(r)}},10730:function(e,t,r){"use strict";var n=r(68844),i=r(68700),o=r(34327),s=r(74684),a=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(e){return function(t,r){var n,l,f=o(s(t)),d=i(r),p=f.length;return d<0||d>=p?e?"":void 0:(n=u(f,d))<55296||n>56319||d+1===p||(l=u(f,d+1))<56320||l>57343?e?a(f,d):n:e?c(f,d,d+2):(n-55296<<10)+(l-56320)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},50146:function(e,t,r){"use strict";var n=r(21352),i=r(3689),o=r(51087).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&n&&n<41})},99886:function(e,t,r){"use strict";var n,i,o,s,a=r(51087),u=r(61735),c=r(54071),l=r(69985),f=r(36812),d=r(3689),p=r(2688),h=r(96004),g=r(36420),v=r(21500),b=r(41631),_=r(30240),m=a.setImmediate,S=a.clearImmediate,w=a.process,y=a.Dispatch,E=a.Function,I=a.MessageChannel,O=a.String,U=0,C={},P="onreadystatechange";d(function(){n=a.location});var T=function(e){if(f(C,e)){var t=C[e];delete C[e],t()}},A=function(e){return function(){T(e)}},L=function(e){T(e.data)},R=function(e){a.postMessage(O(e),n.protocol+"//"+n.host)};m&&S||(m=function(e){v(arguments.length,1);var t=l(e)?e:E(e),r=h(arguments,1);return C[++U]=function(){u(t,void 0,r)},i(U),U},S=function(e){delete C[e]},_?i=function(e){w.nextTick(A(e))}:y&&y.now?i=function(e){y.now(A(e))}:I&&!b?(s=(o=new I).port2,o.port1.onmessage=L,i=c(s.postMessage,s)):a.addEventListener&&l(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!d(R)?(i=R,a.addEventListener("message",L,!1)):i=P in g("script")?function(e){p.appendChild(g("script"))[P]=function(){p.removeChild(this),T(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:m,clear:S}},27578:function(e,t,r){"use strict";var n=r(68700),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},65290:function(e,t,r){"use strict";var n=r(94413),i=r(74684);e.exports=function(e){return n(i(e))}},68700:function(e,t,r){"use strict";var n=r(58828);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},43126:function(e,t,r){"use strict";var n=r(68700),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},90690:function(e,t,r){"use strict";var n=r(74684),i=Object;e.exports=function(e){return i(n(e))}},88732:function(e,t,r){"use strict";var n=r(22615),i=r(48999),o=r(30734),s=r(54849),a=r(35899),u=r(44201),c=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,u=s(e,l);if(u){if(void 0===t&&(t="default"),!i(r=n(u,e,t))||o(r))return r;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},18360:function(e,t,r){"use strict";var n=r(88732),i=r(30734);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},23043:function(e,t,r){"use strict";var n=r(44201)("toStringTag"),i={};i[n]="z",e.exports="[object z]"===String(i)},34327:function(e,t,r){"use strict";var n=r(50926),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},23691:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},14630:function(e,t,r){"use strict";var n=r(68844),i=0,o=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},39525:function(e,t,r){"use strict";var n=r(50146);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},15648:function(e,t,r){"use strict";var n=r(67697),i=r(3689);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},21500:function(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e2&&f(r,arguments[2]);var a=[];return p(e,b,{that:a}),c(r,"errors",a),r};s?s(_,v):a(_,v,{name:!0});var m=_.prototype=u(v.prototype,{constructor:l(1,_),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:_})},95879:function(e,t,r){"use strict";r(39382)},752:function(e,t,r){"use strict";var n=r(65290),i=r(87370),o=r(9478),s=r(618),a=r(72560).f,u=r(91934),c=r(27807),l=r(53931),f=r(67697),d="Array Iterator",p=s.set,h=s.getterFor(d);e.exports=u(Array,"Array",function(e,t){p(this,{type:d,target:n(e),index:0,kind:t})},function(){var e=h(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(r,!1);case"values":return c(t[r],!1)}return c([r,t[r]],!1)},"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&f&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},60228:function(e,t,r){"use strict";var n=r(23043),i=r(11880),o=r(65073);n||i(Object.prototype,"toString",o,{unsafe:!0})},41195:function(e,t,r){"use strict";var n=r(79989),i=r(22615),o=r(10509),s=r(48742),a=r(9302),u=r(18734);n({target:"Promise",stat:!0,forced:r(562)},{allSettled:function(e){var t=this,r=s.f(t),n=r.resolve,c=r.reject,l=a(function(){var r=o(t.resolve),s=[],a=0,c=1;u(e,function(e){var o=a++,u=!1;c++,i(r,t,e).then(function(e){!u&&(u=!0,s[o]={status:"fulfilled",value:e},--c||n(s))},function(e){!u&&(u=!0,s[o]={status:"rejected",reason:e},--c||n(s))})}),--c||n(s)});return l.error&&c(l.value),r.promise}})},81692:function(e,t,r){"use strict";var n=r(79989),i=r(22615),o=r(10509),s=r(48742),a=r(9302),u=r(18734);n({target:"Promise",stat:!0,forced:r(562)},{all:function(e){var t=this,r=s.f(t),n=r.resolve,c=r.reject,l=a(function(){var r=o(t.resolve),s=[],a=0,l=1;u(e,function(e){var o=a++,u=!1;l++,i(r,t,e).then(function(e){!u&&(u=!0,s[o]=e,--l||n(s))},c)}),--l||n(s)});return l.error&&c(l.value),r.promise}})},87609:function(e,t,r){"use strict";var n=r(79989),i=r(22615),o=r(10509),s=r(76058),a=r(48742),u=r(9302),c=r(18734),l=r(562),f="No one promise resolved";n({target:"Promise",stat:!0,forced:l},{any:function(e){var t=this,r=s("AggregateError"),n=a.f(t),l=n.resolve,d=n.reject,p=u(function(){var n=o(t.resolve),s=[],a=0,u=1,p=!1;c(e,function(e){var o=a++,c=!1;u++,i(n,t,e).then(function(e){c||p||(p=!0,l(e))},function(e){!c&&!p&&(c=!0,s[o]=e,--u||d(new r(s,f)))})}),--u||d(new r(s,f))});return p.error&&d(p.value),n.promise}})},75089:function(e,t,r){"use strict";var n=r(79989),i=r(53931),o=r(87073).CONSTRUCTOR,s=r(17919),a=r(76058),u=r(69985),c=r(11880),l=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(s)){var f=a("Promise").prototype.catch;l.catch!==f&&c(l,"catch",f,{unsafe:!0})}},56697:function(e,t,r){"use strict";var n,i,o,s,a=r(79989),u=r(53931),c=r(30240),l=r(51087),f=r(50496),d=r(22615),p=r(11880),h=r(49385),g=r(55997),v=r(14241),b=r(10509),_=r(69985),m=r(48999),S=r(767),w=r(76373),y=r(99886).set,E=r(80231),I=r(20920),O=r(9302),U=r(34410),C=r(618),P=r(17919),T=r(87073),A=r(48742),L="Promise",R=T.CONSTRUCTOR,B=T.REJECTION_EVENT,N=T.SUBCLASSING,x=C.getterFor(L),k=C.set,D=P&&P.prototype,G=P,M=D,j=l.TypeError,F=l.document,K=l.process,W=A.f,V=W,H=!!(F&&F.createEvent&&l.dispatchEvent),q="unhandledrejection",z=function(e){var t;return!!(m(e)&&_(t=e.then))&&t},J=function(e,t){var r,n,i,o=t.value,s=1===t.state,a=s?e.ok:e.fail,u=e.resolve,c=e.reject,l=e.domain;try{a?(s||(2===t.rejection&&Z(t),t.rejection=1),!0===a?r=o:(l&&l.enter(),r=a(o),l&&(l.exit(),i=!0)),r===e.promise?c(new j("Promise-chain cycle")):(n=z(r))?d(n,r,u,c):u(r)):c(o)}catch(e){l&&!i&&l.exit(),c(e)}},Y=function(e,t){e.notified||(e.notified=!0,E(function(){for(var r,n=e.reactions;r=n.get();)J(r,e);e.notified=!1,t&&!e.rejection&&X(e)}))},Q=function(e,t,r){var n,i;H?((n=F.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!B&&(i=l["on"+e])?i(n):e===q&&I("Unhandled promise rejection",r)},X=function(e){d(y,l,function(){var t,r=e.facade,n=e.value;if($(e)&&(t=O(function(){c?K.emit("unhandledRejection",n,r):Q(q,r,n)}),e.rejection=c||$(e)?2:1,t.error))throw t.value})},$=function(e){return 1!==e.rejection&&!e.parent},Z=function(e){d(y,l,function(){var t=e.facade;c?K.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)})},ee=function(e,t,r){return function(n){e(t,n,r)}},et=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,Y(e,!0))},er=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new j("Promise can't be resolved itself");var n=z(t);n?E(function(){var r={done:!1};try{d(n,t,ee(er,r,e),ee(et,r,e))}catch(t){et(r,t,e)}}):(e.value=t,e.state=1,Y(e,!1))}catch(t){et({done:!1},t,e)}}};if(R&&(M=(G=function(e){S(this,M),b(e),d(n,this);var t=x(this);try{e(ee(er,t),ee(et,t))}catch(e){et(t,e)}}).prototype,(n=function(e){k(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new U,rejection:!1,state:0,value:null})}).prototype=p(M,"then",function(e,t){var r=x(this),n=W(w(this,G));return r.parent=!0,n.ok=!_(e)||e,n.fail=_(t)&&t,n.domain=c?K.domain:void 0,0===r.state?r.reactions.add(n):E(function(){J(n,r)}),n.promise}),i=function(){var e=new n,t=x(e);this.promise=e,this.resolve=ee(er,t),this.reject=ee(et,t)},A.f=W=function(e){return e===G||e===o?new i(e):V(e)},!u&&_(P)&&D!==Object.prototype)){s=D.then,N||p(D,"then",function(e,t){var r=this;return new G(function(e,t){d(s,r,e,t)}).then(e,t)},{unsafe:!0});try{delete D.constructor}catch(e){}h&&h(D,M)}a({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:G}),o=f.Promise,g(G,L,!1,!0),v(L)},36409:function(e,t,r){"use strict";var n=r(79989),i=r(53931),o=r(17919),s=r(3689),a=r(76058),u=r(69985),c=r(76373),l=r(72945),f=r(11880),d=o&&o.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&s(function(){d.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=c(this,a("Promise")),r=u(e);return this.then(r?function(r){return l(t,e()).then(function(){return r})}:e,r?function(r){return l(t,e()).then(function(){throw r})}:e)}}),!i&&u(o)){var p=a("Promise").prototype.finally;d.finally!==p&&f(d,"finally",p,{unsafe:!0})}},73964:function(e,t,r){"use strict";r(56697),r(81692),r(75089),r(58829),r(42092),r(57905)},58829:function(e,t,r){"use strict";var n=r(79989),i=r(22615),o=r(10509),s=r(48742),a=r(9302),u=r(18734);n({target:"Promise",stat:!0,forced:r(562)},{race:function(e){var t=this,r=s.f(t),n=r.reject,c=a(function(){var s=o(t.resolve);u(e,function(e){i(s,t,e).then(r.resolve,n)})});return c.error&&n(c.value),r.promise}})},42092:function(e,t,r){"use strict";var n=r(79989),i=r(48742);n({target:"Promise",stat:!0,forced:r(87073).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},57905:function(e,t,r){"use strict";var n=r(79989),i=r(76058),o=r(53931),s=r(17919),a=r(87073).CONSTRUCTOR,u=r(72945),c=i("Promise"),l=o&&!a;n({target:"Promise",stat:!0,forced:o||a},{resolve:function(e){return u(l&&this===c?s:this,e)}})},80183:function(e,t,r){"use strict";var n=r(79989),i=r(51087),o=r(61735),s=r(96004),a=r(48742),u=r(10509),c=r(9302),l=i.Promise,f=!1;n({target:"Promise",stat:!0,forced:!l||!l.try||c(function(){l.try(function(e){f=8===e},8)}).error||!f},{try:function(e){var t=arguments.length>1?s(arguments,1):[],r=a.f(this),n=c(function(){return o(u(e),void 0,t)});return(n.error?r.reject:r.resolve)(n.value),r.promise}})},13505:function(e,t,r){"use strict";var n=r(79989),i=r(48742);n({target:"Promise",stat:!0},{withResolvers:function(){var e=i.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},21694:function(e,t,r){"use strict";var n=r(10730).charAt,i=r(34327),o=r(618),s=r(91934),a=r(27807),u="String Iterator",c=o.set,l=o.getterFor(u);s(String,"String",function(e){c(this,{type:u,string:i(e),index:0})},function(){var e,t=l(this),r=t.string,i=t.index;return i>=r.length?a(void 0,!0):(e=n(r,i),t.index+=e.length,a(e,!1))})},89503:function(e,t,r){"use strict";r(95879)},218:function(e,t,r){"use strict";r(41195)},40393:function(e,t,r){"use strict";r(87609)},6616:function(e,t,r){"use strict";r(80183)},90810:function(e,t,r){"use strict";r(13505)},76265:function(e,t,r){"use strict";var n=r(51087),i=r(66338),o=r(33265),s=r(752),a=r(75773),u=r(55997),c=r(44201)("iterator"),l=s.values,f=function(e,t){if(e){if(e[c]!==l)try{a(e,c,l)}catch(t){e[c]=l}if(u(e,t,!0),i[t]){for(var r in s)if(e[r]!==s[r])try{a(e,r,s[r])}catch(t){e[r]=s[r]}}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")},63825:function(e,t,r){"use strict";var n=r(14279);r(76265),e.exports=n}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1664-9b8ca4ecc35d08d1_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1664-9b8ca4ecc35d08d1_05Q6.js new file mode 100644 index 0000000..48da9c0 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1664-9b8ca4ecc35d08d1_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1664],{38199:function(e,t){"use strict";var n,r,o,u;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return s},ACTION_NAVIGATE:function(){return f},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return l},ACTION_RESTORE:function(){return a},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return i},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let l="refresh",f="navigate",a="restore",i="server-patch",c="prefetch",s="fast-refresh",d="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(u=r||(r={})).fresh="fresh",u.reusable="reusable",u.expired="expired",u.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});let r=n(98337);function o(e,t,o,u){{let l=n(15183).normalizeLocalePath,f=n(4166).detectDomainLocale,a=t||l(e,o).detectedLocale,i=f(u,void 0,a);if(i){let t="http"+(i.http?"":"s")+"://",n=a===i.defaultLocale?"":"/"+a;return""+t+i.domain+(0,r.normalizePathTrailingSlash)(""+n+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});let r=n(38754),o=n(85893),u=r._(n(67294)),l=n(36075),f=n(53955),a=n(48041),i=n(99903),c=n(65490),s=n(81928),d=n(60257),p=n(84229),h=n(87195),b=n(89470),y=n(38199),_=new Set;function v(e,t,n,r,o,u){if(u||(0,f.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(_.has(o))return;_.add(o)}(async()=>u?e.prefetch(t,o):e.prefetch(t,n,r))().catch(e=>{})}}function O(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}let g=u.default.forwardRef(function(e,t){let n,r;let{href:a,as:_,children:g,prefetch:P=null,passHref:j,replace:C,shallow:m,scroll:E,locale:M,onClick:T,onMouseEnter:R,onTouchStart:L,legacyBehavior:A=!1,...k}=e;n=g,A&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let I=u.default.useContext(s.RouterContext),x=u.default.useContext(d.AppRouterContext),S=null!=I?I:x,N=!I,U=!1!==P,w=null===P?y.PrefetchKind.AUTO:y.PrefetchKind.FULL,{href:K,as:F}=u.default.useMemo(()=>{if(!I){let e=O(a);return{href:e,as:_?O(_):e}}let[e,t]=(0,l.resolveHref)(I,a,!0);return{href:e,as:_?(0,l.resolveHref)(I,_):t||e}},[I,a,_]),H=u.default.useRef(K),z=u.default.useRef(F);A&&(r=u.default.Children.only(n));let D=A?r&&"object"==typeof r&&r.ref:t,[V,q,B]=(0,p.useIntersection)({rootMargin:"200px"}),G=u.default.useCallback(e=>{(z.current!==F||H.current!==K)&&(B(),z.current=F,H.current=K),V(e),D&&("function"==typeof D?D(e):"object"==typeof D&&(D.current=e))},[F,D,K,B,V]);u.default.useEffect(()=>{S&&q&&U&&v(S,K,F,{locale:M},{kind:w},N)},[F,K,q,M,U,null==I?void 0:I.locale,S,N,w]);let Y={ref:G,onClick(e){A||"function"!=typeof T||T(e),A&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),S&&!e.defaultPrevented&&function(e,t,n,r,o,l,a,i,c){let{nodeName:s}=e.currentTarget;if("A"===s.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,f.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==a||a;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:l,locale:i,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?u.default.startTransition(d):d()}(e,S,K,F,C,m,E,M,N)},onMouseEnter(e){A||"function"!=typeof R||R(e),A&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),S&&(U||!N)&&v(S,K,F,{locale:M,priority:!0,bypassPrefetchedCheck:!0},{kind:w},N)},onTouchStart:function(e){A||"function"!=typeof L||L(e),A&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),S&&(U||!N)&&v(S,K,F,{locale:M,priority:!0,bypassPrefetchedCheck:!0},{kind:w},N)}};if((0,i.isAbsoluteUrl)(F))Y.href=F;else if(!A||j||"a"===r.type&&!("href"in r.props)){let e=void 0!==M?M:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,h.getDomainLocale)(F,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);Y.href=t||(0,b.addBasePath)((0,c.addLocale)(F,e,null==I?void 0:I.defaultLocale))}return A?u.default.cloneElement(r,Y):(0,o.jsx)("a",{...k,...Y,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15183:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(54165).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return a}});let r=n(67294),o=n(84474),u="function"==typeof IntersectionObserver,l=new Map,f=[];function a(e){let{rootRef:t,rootMargin:n,disabled:a}=e,i=a||!u,[c,s]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(u){if(i||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:u}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=f.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=l.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},f.push(n),l.set(n,t),t}(n);return u.set(e,t),o.observe(e),function(){if(u.delete(e),o.unobserve(e),0===u.size){o.disconnect(),l.delete(r);let e=f.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&f.splice(e,1)}}}(e,e=>e&&s(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>s(!0));return()=>(0,o.cancelIdleCallback)(e)}},[i,n,t,c,d.current]),[p,c,(0,r.useCallback)(()=>{s(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41664:function(e,t,n){e.exports=n(98342)}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1709-6ef136967372cf72_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1709-6ef136967372cf72_05Q6.js new file mode 100644 index 0000000..2bb76ae --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1709-6ef136967372cf72_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1709],{23324:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});class r{watchlistServiceUrl;constructor({watchlistServiceUrl:e}){this.watchlistServiceUrl=e}getUserWatchlists({bconnectId:e,userToken:t,watchlistId:i}){let r=new URL(`${this.watchlistServiceUrl}/get/${e}`),s=new URLSearchParams;return void 0!==i&&s.append("portId",`${i}`),r.search=s.toString(),this.#e(r,{method:"GET",credentials:"include",headers:void 0!==t?{userKey:t}:void 0})}getUserHoldingsSummary({bconnectId:e,userToken:t,tickers:i=[]}){let r={...void 0!==t?{userKey:t}:void 0,"Content-Type":"application/json"};return this.#e(`${this.watchlistServiceUrl}/user-holdings-summary/${e}`,{method:"POST",credentials:"include",headers:r,body:JSON.stringify({tickers:i})})}getWatchlist({bconnectId:e,userToken:t,watchlistId:i}){return this.#e(`${this.watchlistServiceUrl}/get/${e}/${i}`,{method:"GET",credentials:"include",headers:void 0!==t?{userKey:t}:void 0})}createWatchlist({bconnectId:e,userToken:t,watchlistData:i}){let r={...void 0!==t?{userKey:t}:void 0,"Content-Type":"application/json"};return this.#e(`${this.watchlistServiceUrl}/create/${e}`,{method:"POST",credentials:"include",headers:r,body:JSON.stringify(i)})}addTickerToWatchlists({bconnectId:e,userToken:t,ticker:i,watchlistIds:r}){return this.#e(`${this.watchlistServiceUrl}/create/${e}/${r.join(",")}/${i}`,{method:"POST",credentials:"include",headers:void 0!==t?{userKey:t}:void 0})}removeTickerFromWatchlists({bconnectId:e,userToken:t,ticker:i,watchlistIds:r}){return this.#e(`${this.watchlistServiceUrl}/delete/${e}/${r.join(",")}/${i}`,{method:"DELETE",credentials:"include",headers:void 0!==t?{userKey:t}:void 0})}updateWatchlist({bconnectId:e,userToken:t,watchlistId:i,watchlistData:r}){let s={...void 0!==t?{userKey:t}:void 0,"Content-Type":"application/json"};return this.#e(`${this.watchlistServiceUrl}/update/${e}/${i}`,{method:"POST",credentials:"include",headers:s,body:JSON.stringify(r)})}deleteWatchlist({bconnectId:e,userToken:t,watchlistId:i}){return this.#e(`${this.watchlistServiceUrl}/delete/${e}/${i}`,{method:"DELETE",credentials:"include",headers:void 0!==t?{userKey:t}:void 0})}getUserPreferences({bconnectId:e,userToken:t}){return this.#e(`${this.watchlistServiceUrl}/user-preference/${e}/`,{method:"GET",credentials:"include",headers:void 0!==t?{userKey:t}:void 0})}updateUserPreferences({bconnectId:e,userToken:t,alertsNotificationsEnabled:i,alertsEmailsEnabled:r,dashboardView:s}){let n={...void 0!==t?{userKey:t}:void 0,"Content-Type":"application/json"},c=Object.entries({alertsNotificationsEnabled:i,alertsEmailsEnabled:r,dashboardView:s}).reduce((e,[t,i])=>void 0!==i?{...e,[t]:i}:e,{});return this.#e(`${this.watchlistServiceUrl}/user-preference/${e}/`,{method:"POST",credentials:"include",headers:n,body:JSON.stringify(c)})}getWatchlistCompare({bconnectId:e,userToken:t,watchlistId:i}){return this.#e(`${this.watchlistServiceUrl}/watchlist-compare/${e}/${i}`,{method:"GET",credentials:"include",headers:void 0!==t?{userKey:t}:void 0})}updateWatchlistCompare({bconnectId:e,userToken:t,watchlistId:i,watchlistCompareData:r}){let s={...void 0!==t?{userKey:t}:void 0,"Content-Type":"application/json"};return this.#e(`${this.watchlistServiceUrl}/watchlist-compare/${e}/${i}`,{method:"POST",credentials:"include",headers:s,body:JSON.stringify(r)})}getWatchlistLots({bconnectId:e,userToken:t,watchlistId:i}){return this.#e(`${this.watchlistServiceUrl}/get-lots/${e}/${i}`,{method:"GET",credentials:"include",headers:void 0!==t?{userKey:t}:void 0})}#e(...e){let[t,i]=e;return fetch(t,i).then(async e=>{let{status:t,ok:i,statusText:r}=e,s=e.clone(),n=await e.json().catch(()=>s.text());return i?Promise.resolve({status:t,data:n,message:r}):Promise.reject({status:t,data:n,message:r})})}}var s=r},36136:function(e,t,i){"use strict";i.d(t,{r:function(){return d}});var r=i(67294),s=i(25434),n=i(37018),c=i(77536);i(58848);var a={default:"media-ui-Link_default-KrHSq06NXRI-",_default:"media-ui-Link_default-KrHSq06NXRI-"};let o=["a","button"],d=r.forwardRef(function(e,t){let{as:i="a",variant:d="default",children:l,name:h="link",unstyled:u,...v}=e,f=(0,s.f)(h),S=(0,c.Sh)([a[d]],{...e,unstyled:u,name:h});return r.createElement(n.o,{...v,className:S,ref:t,"data-component":f,allowedTags:o,as:i},l)})},37018:function(e,t,i){"use strict";i.d(t,{o:function(){return c}});var r=i(67294),s=i(25434),n=i(77536);let c=r.forwardRef(function(e,t){let{allowedTags:i=["div"],as:c,children:a,...o}=e,{name:d}=o,l=c||"div";if(!i.includes(l))throw Error("Tag <".concat(c,"> is not allowed for this instance: allowed tags are ").concat(i));let h=c||"div",u=(0,s.f)(d||"");return r.createElement(h,{className:(0,n.Sh)([],o),"data-component":u,...o,ref:t},a)})},58848:function(){}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1860-fe5273b881ea5da9_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1860-fe5273b881ea5da9_05Q6.js new file mode 100644 index 0000000..c0346de --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1860-fe5273b881ea5da9_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1860],{67917:function(e,t,r){"use strict";r.d(t,{ik:function(){return o},sk:function(){return n}});let n=!1,i=/\s+/gm;function o(e){return e.replace(i," ")}},7438:function(e,t,r){"use strict";r.d(t,{z:function(){return u}});var n=r(67294),i=r(8599),o=r(77536);r(74766);var s={"roundedButton-phoenix":"media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-",small:"media-ui-RoundedButton_small-4uGdyeL41YA-",default:"media-ui-RoundedButton_default-KSbLMQQUxEk-",hasIcon:"media-ui-RoundedButton_hasIcon-pA-fzIwcl9s-",large:"media-ui-RoundedButton_large-Ylf54m9mmF8-",light:"media-ui-RoundedButton_light-ecL1xA3tWQ0-",outline:"media-ui-RoundedButton_outline-L-sLv9ivvaE-",fill:"media-ui-RoundedButton_fill-a2vFCr4YQIA-",dark:"media-ui-RoundedButton_dark-4tzyzSMv4yQ-",smallIcon:"media-ui-RoundedButton_smallIcon-x1cG8-ig6mI-",roundedButton___phoenix:"media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-",_default:"media-ui-RoundedButton_default-KSbLMQQUxEk-"};let u=n.forwardRef(function(e,t){let{children:r,name:u="roundedButton",version:c="phoenix",colorMode:l="light",appearance:h="outline",size:f="default",...m}=e,d=!!(e.Icon&&"none"!==e.iconPosition),p=(0,o.Sh)([s["roundedButton-".concat(c)],s[l],s[h],s[f],s.smallIcon,{[s.hasIcon]:d}],{unstyled:e.unstyled,className:e.className,name:e.name});return n.createElement(i.zx,{...m,version:c,className:p,ref:t,name:u},r)})},83524:function(e,t,r){"use strict";r.d(t,{x:function(){return u}});var n=r(67294),i=r(67673),o=r(41780),s=r(77536);r(82793);let u=n.forwardRef(function(e,t){let{className:r,name:u="toast-success",open:c,text:l,autoHideDuration:h,unstyled:f,inline:m=!1,onClose:d}=e,p=(0,s.Sh)([r,"media-ui-ToastSuccess_toastSuccess-nvHCoX8SI28-"],{...e,unstyled:f,name:u});return n.createElement(o.F,{autoHideDuration:h,Icon:n.createElement(i.yv,{className:"media-ui-ToastSuccess_toastSuccessIcon-fhF5NBkNQpE-"}),className:p,maxSize:"full",name:u,open:c,onClose:d,position:{horizontal:"center",vertical:"bottom"},ref:t,variant:"message",inline:m},l)})},90354:function(e,t,r){"use strict";r.d(t,{Y:function(){return t6}});var n,i,o,s,u,c=r(67294),l=r(99104),h=r(24229),f=r(70390),m=r(77536),d=r(12065),p=r(60006),g=r(93075),v=r(1371),E=r(29545);r(38688);var b={wrapper:"media-ui-Overlay_wrapper-IzUR8y5HyZw-",hiddenWrapper:"media-ui-Overlay_hiddenWrapper-UuMYm-kTyTc-",header:"media-ui-Overlay_header--SJNqPwUJfI-",headerWrapper:"media-ui-Overlay_headerWrapper-9ZxEK6l7q3g-",headerIcon:"media-ui-Overlay_headerIcon-6QQ8n-t6BV8-",withIcon:"media-ui-Overlay_withIcon-amCI8aiikyw-",mobileAnchor:"media-ui-Overlay_mobileAnchor-4PJw-CbaDDU-",dismissOverlay:"media-ui-Overlay_dismissOverlay-0Pc7hsD-ETc-",mobileOverlayWrapper:"media-ui-Overlay_mobileOverlayWrapper-fKy8NlpcYaU-",body:"media-ui-Overlay_body-cqXHjm-p6N4-"},y=function(){return(y=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}"function"==typeof SuppressedError&&SuppressedError;var _="right-scroll-bar-position",S="width-before-scroll-bar",H=(void 0===eV&&(eV={}),(void 0===eX&&(eX=function(e){return e}),eW=[],eY=!1,eK={read:function(){if(eY)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return eW.length?eW[eW.length-1]:null},useMedium:function(e){var t=eX(e,eY);return eW.push(t),function(){eW=eW.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(eY=!0;eW.length;){var t=eW;eW=[],t.forEach(e)}eW={push:function(t){return e(t)},filter:function(){return eW}}},assignMedium:function(e){eY=!0;var t=[];if(eW.length){var r=eW;eW=[],r.forEach(e),t=eW}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),eW={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),eW}}}}).options=y({async:!0,ssr:!1},eV),eK),B=function(){},I=c.forwardRef(function(e,t){var r,n,i,o=c.useRef(null),s=c.useState({onScrollCapture:B,onWheelCapture:B,onTouchMoveCapture:B}),u=s[0],l=s[1],h=e.forwardProps,f=e.children,m=e.className,d=e.removeScrollBar,p=e.enabled,g=e.shards,v=e.sideCar,E=e.noIsolation,b=e.inert,_=e.allowPinchZoom,S=e.as,I=e.gapMode,N=T(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(r=[o,t],n=function(e){return r.forEach(function(t){return"function"==typeof t?t(e):t&&(t.current=e),t})},(i=(0,c.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(a){var e=i.value;e!==a&&(i.value=a,i.callback(a,e))}}}})[0]).callback=n,i.facade),L=y(y({},N),u);return c.createElement(c.Fragment,null,p&&c.createElement(v,{sideCar:H,removeScrollBar:d,shards:g,noIsolation:E,inert:b,setCallbacks:l,allowPinchZoom:!!_,lockRef:o,gapMode:I}),h?c.cloneElement(c.Children.only(f),y(y({},L),{ref:A})):c.createElement(void 0===S?"div":S,y({},L,{className:m,ref:A}),f))});I.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},I.classNames={fullWidth:S,zeroRight:_};var N=!1;try{var A=Object.defineProperty({},"passive",{get:function(){return N=!0,!0}});window.addEventListener("test",A,A),window.removeEventListener("test",A,A)}catch(e){N=!1}var L=!!N&&{passive:!1},P=function(e,t){var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},R=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),M(e,n)){var i=w(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},M=function(e,t){return"v"===e?P(t,"overflowY"):P(t,"overflowX")},w=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},C=function(e,t,r,n,i){var o,s=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),u=s*n,c=r.target,l=t.contains(c),h=!1,f=u>0,m=0,d=0;do{var p=w(e,c),g=p[0],v=p[1]-p[2]-s*g;(g||v)&&M(e,c)&&(m+=v,d+=g),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return(f&&(i&&1>Math.abs(m)||!i&&u>m)||!f&&(i&&1>Math.abs(d)||!i&&-u>d))&&(h=!0),h},O=function(){var e=0,t=null;return{add:function(n){var i,o;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=eZ||r.nc;return t&&e.setAttribute("nonce",t),e}())&&((i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)),e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},D=function(){var e=O();return function(t,r){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},U=function(){var e=D();return function(t){return e(t.styles,t.dynamic),null}},F=function(e){return parseInt(e||"",10)||0},G=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[F(r),F(n),F(i)]},k=function(e){void 0===e&&(e="margin");var t=G(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},x=U(),j=function(e,t,r,n){var i=e.left,o=e.top,s=e.right,u=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(u,"px ").concat(n,";\n }\n body {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(u,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(_," {\n right: ").concat(u,"px ").concat(n,";\n }\n \n .").concat(S," {\n margin-right: ").concat(u,"px ").concat(n,";\n }\n \n .").concat(_," .").concat(_," {\n right: 0 ").concat(n,";\n }\n \n .").concat(S," .").concat(S," {\n margin-right: 0 ").concat(n,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},V=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n,o=c.useMemo(function(){return k(i)},[i]);return c.createElement(x,{styles:j(o,!t,i,r?"":"!important")})},X=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},W=function(e){return[e.deltaX,e.deltaY]},Y=function(e){return e&&"current"in e?e.current:e},K=0,Z=[],z=function(e){var t=e.sideCar,r=T(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return c.createElement(n,y({},r))};z.isSideCarExport=!0;var Q=(ez=function(e){var t=c.useRef([]),r=c.useRef([0,0]),n=c.useRef(),i=c.useState(K++)[0],o=c.useState(U)[0],s=c.useRef(e);c.useEffect(function(){s.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;iMath.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===h.type)return!1;var m=R(f,h);if(!m)return!0;if(m?i=f:(i="v"===f?"h":"v",m=R(f,h)),!m)return!1;if(!n.current&&"changedTouches"in e&&(c||l)&&(n.current=i),!i)return!0;var d=n.current||i;return C(d,t,e,"h"===d?c:l,!0)},[]),l=c.useCallback(function(e){if(!(!Z.length||Z[Z.length-1]!==o)){var r="deltaY"in e?W(e):X(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(s.current.shards||[]).map(Y).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?u(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),h=c.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),f=c.useCallback(function(e){r.current=X(e),n.current=void 0},[]),m=c.useCallback(function(t){h(t.type,W(t),t.target,u(t,e.lockRef.current))},[]),d=c.useCallback(function(t){h(t.type,X(t),t.target,u(t,e.lockRef.current))},[]);c.useEffect(function(){return Z.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:d}),document.addEventListener("wheel",l,L),document.addEventListener("touchmove",l,L),document.addEventListener("touchstart",f,L),function(){Z=Z.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,L),document.removeEventListener("touchmove",l,L),document.removeEventListener("touchstart",f,L)}},[]);var p=e.removeScrollBar,g=e.inert;return c.createElement(c.Fragment,null,g?c.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?c.createElement(V,{gapMode:e.gapMode}):null)},H.useMedium(ez),z),J=c.forwardRef(function(e,t){return c.createElement(I,y({},e,{ref:t,sideCar:Q}))});J.classNames=I.classNames;let q=c.forwardRef(function(e,t){var r;let{headerText:n,onExit:i,children:o,className:s,Icon:u,anchorElementRef:l,placement:h,usePortal:y}=e,T=[b.headerWrapper,u&&b.withIcon],_=(0,c.useRef)(null),[S]=(0,c.useState)("overlay-".concat((0,m.Mc)())),[H,B]=(0,c.useState)(),[I,N]=(0,c.useState)(),[A,L]=(0,c.useState)(!1),[P,R]=(0,c.useState)((null===(r=window)||void 0===r?void 0:r.innerWidth)||0),M=(0,c.useCallback)(()=>{window.innerWidth<768?(N("bottom-start"),setTimeout(()=>{i()},150)):i()},[N,i]),w=(0,c.useCallback)(e=>{var t,r;let n=!(null===(t=document.getElementById(S))||void 0===t?void 0:t.contains(e.target));(null==l?void 0:null===(r=l.current)||void 0===r?void 0:r.contains(e.target))||!n||M()},[M,S,l]),C=(0,c.useCallback)(()=>{window.innerWidth<620?(B(null==_?void 0:_.current),N("bottom-start"),L(!0),setTimeout(()=>{N("top-start"),L(!1)},50)):(B(null==l?void 0:l.current),N(h))},[_,l,B,N]);(0,c.useEffect)(()=>(window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)),[_,l]),(0,c.useEffect)(C,[]),(0,c.useEffect)(()=>(window.addEventListener("click",w),()=>window.removeEventListener("click",w)),[w]),(0,c.useLayoutEffect)(()=>{R(window.innerWidth)},[window.innerWidth]);let{refs:O,floatingStyles:D,isPositioned:U}=(0,g.YF)({elements:{reference:H},open:!0,placement:I,middleware:[P>=620&&(0,v.cv)(2),(0,v.Cp)({strategy:"referenceHidden",padding:10}),(0,v.Cp)({strategy:"escaped",padding:10})],whileElementsMounted:E.Me}),F=c.createElement(c.Fragment,null,c.createElement("div",{className:b.mobileOverlayWrapper,onClick:M}),c.createElement("div",{id:S,ref:O.setFloating,className:(0,m.Sh)([s,b.wrapper,(A||!U)&&b.hiddenWrapper]),style:D},c.createElement("div",{ref:t,className:(0,m.Sh)(T)},u&&c.createElement("div",{className:b.headerIcon},u),c.createElement(d.x,{className:b.header,as:"h6"},n),c.createElement(p.h,{className:b.dismissOverlay,onClick:M},c.createElement(f.h6,null))),c.createElement("div",{className:b.body},o)));return c.createElement(J,{enabled:P<620},c.createElement("div",{ref:_,className:b.mobileAnchor}),y?c.createElement(g.ll,null,F):F)});r(39168);var $={buttonContainer:"media-ui-SubscriberOnlyBenefitOverlay_buttonContainer-DDC1QDjKl7I-",signInButton:"media-ui-SubscriberOnlyBenefitOverlay_signInButton-nVQb7fZGgJo-",defaultText:"media-ui-SubscriberOnlyBenefitOverlay_defaultText-VWW2YBn6NsM-"},ee={context:4775,"media-ui-subscriptions_subscribe":8246492,"media-ui-subscriptions_signIn":8239192,"media-ui-subscriptions_upgrade":8246489,"media-ui-subscriptions_subscriberBenefit":8246486,"media-ui-subscriptions_subscriberOnlyFeature":8246487},et=r(86896),er=r(64618),en=r(70700),ei=r(85893),eo=r(44012),ea=function(e,t){return(ea=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function es(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ea(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var eu=function(){return(eu=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"&&(o=e.call(this,n),t.set(i,o)),o}function ef(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,n),t.set(i,o)),o}"function"==typeof SuppressedError&&SuppressedError;var em=function(){return JSON.stringify(arguments)},ed=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),ep={create:function(){return new ed}},eg={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,ef.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,eh.bind(this,e,r,n)}};(eQ=e1||(e1={})).FORMAT_ERROR="FORMAT_ERROR",eQ.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",eQ.INVALID_CONFIG="INVALID_CONFIG",eQ.MISSING_DATA="MISSING_DATA",eQ.MISSING_TRANSLATION="MISSING_TRANSLATION";var ev=function(e){function t(r,n,i){var o=this,s=i?i instanceof Error?i:Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(s?"\n".concat(s.message,"\n").concat(s.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return es(t,e),t}(Error),eE=function(e){function t(t,r){return e.call(this,e1.UNSUPPORTED_FORMATTER,t,r)||this}return es(t,e),t}(ev),eb=function(e){function t(t,r){return e.call(this,e1.INVALID_CONFIG,t,r)||this}return es(t,e),t}(ev),ey=function(e){function t(t,r){return e.call(this,e1.MISSING_DATA,t,r)||this}return es(t,e),t}(ev),eT=function(e){function t(t,r,n){var i=e.call(this,e1.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),n)||this;return i.locale=r,i}return es(t,e),t}(ev),e_=function(e){function t(t,r,n,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,i)||this;return o.descriptor=n,o.locale=r,o}return es(t,e),t}(eT),eS=function(e){function t(t,r){var n=e.call(this,e1.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return n.descriptor=t,n}return es(t,e),t}(ev);function eH(e){return e.type===e2.literal}function eB(e){return e.type===e2.number}function eI(e){return e.type===e2.date}function eN(e){return e.type===e2.time}function eA(e){return e.type===e2.select}function eL(e){return e.type===e2.plural}function eP(e){return e.type===e2.tag}function eR(e){return!!(e&&"object"==typeof e&&e.type===e8.number)}function eM(e){return!!(e&&"object"==typeof e&&e.type===e8.dateTime)}(eJ=e0||(e0={}))[eJ.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",eJ[eJ.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",eJ[eJ.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",eJ[eJ.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",eJ[eJ.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",eJ[eJ.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",eJ[eJ.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",eJ[eJ.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",eJ[eJ.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",eJ[eJ.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",eJ[eJ.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",eJ[eJ.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",eJ[eJ.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",eJ[eJ.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",eJ[eJ.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",eJ[eJ.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",eJ[eJ.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",eJ[eJ.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",eJ[eJ.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",eJ[eJ.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",eJ[eJ.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",eJ[eJ.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",eJ[eJ.INVALID_TAG=23]="INVALID_TAG",eJ[eJ.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",eJ[eJ.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",eJ[eJ.UNCLOSED_TAG=27]="UNCLOSED_TAG",(eq=e2||(e2={}))[eq.literal=0]="literal",eq[eq.argument=1]="argument",eq[eq.number=2]="number",eq[eq.date=3]="date",eq[eq.time=4]="time",eq[eq.select=5]="select",eq[eq.plural=6]="plural",eq[eq.pound=7]="pound",eq[eq.tag=8]="tag",(e$=e8||(e8={}))[e$.number=0]="number",e$[e$.dateTime=1]="dateTime";var ew=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,eC={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},eO=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,eD=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,eU=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,eF=/^(@+)?(\+|#+)?[rs]?$/g,eG=/(\*)(0+)|(#+)(0+)|(0+)/g,ek=/^(0+)$/;function ex(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(eF,function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),t}function ej(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}var eV,eX,eW,eY,eK,eZ,ez,eQ,eJ,eq,e$,e1,e0,e2,e8,e6,e9=new RegExp("^".concat(ew.source,"*")),e3=new RegExp("".concat(ew.source,"*$"));function e5(e,t){return{start:e,end:t}}var e4=!!String.prototype.startsWith&&"_a".startsWith("a",1),e7=!!String.fromCodePoint,te=!!Object.fromEntries,tt=!!String.prototype.codePointAt,tr=!!String.prototype.trimStart,tn=!!String.prototype.trimEnd,ti=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},to=!0;try{var ta=tm("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");to=(null===(e6=ta.exec("a"))||void 0===e6?void 0:e6[0])==="a"}catch(e){to=!1}var ts=e4?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},tu=e7?String.fromCodePoint:function(){for(var e=[],t=0;to;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(((r-=65536)>>10)+55296,r%1024+56320)}return n},tc=te?Object.fromEntries:function(e){for(var t={},r=0;r=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:(i-55296<<10)+(n-56320)+65536}},th=tr?function(e){return e.trimStart()}:function(e){return e.replace(e9,"")},tf=tn?function(e){return e.trimEnd()}:function(e){return e.replace(e3,"")};function tm(e,t){return new RegExp(e,t)}if(to){var td=tm("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");o=function(e,t){var r;return td.lastIndex=t,null!==(r=td.exec(e)[1])&&void 0!==r?r:""}}else o=function(e,t){for(var r=[];;){var n,i=tl(e,t);if(void 0===i||tv(i)||(n=i)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;r.push(i),t+=i>=65536?2:1}return tu.apply(void 0,r)};var tp=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){var o=this.parseArgument(e,r);if(o.err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35===i&&("plural"===t||"selectordinal"===t)){var s=this.clonePosition();this.bump(),n.push({type:e2.pound,location:e5(s,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&tg(this.peek()||0)){var o=this.parseTag(e,t);if(o.err)return o;n.push(o.val)}else{var o=this.parseLiteral(e,t);if(o.err)return o;n.push(o.val)}}else{if(r)break;return this.error(e0.UNMATCHED_CLOSING_TAG,e5(this.clonePosition(),this.clonePosition()))}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:e2.literal,value:"<".concat(n,"/>"),location:e5(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(e0.INVALID_TAG,e5(r,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(!this.bumpIf("")?{val:{type:e2.tag,value:n,children:o,location:e5(r,this.clonePosition())},err:null}:this.error(e0.INVALID_TAG,e5(s,this.clonePosition())))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i){n+=i;continue}var o=this.tryParseUnquoted(e,t);if(o){n+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){n+=s;continue}break}var u=e5(r,this.clonePosition());return{val:{type:e2.literal,value:n,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(tg(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(r);this.bump()}return tu.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),tu(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(e0.EXPECT_ARGUMENT_CLOSING_BRACE,e5(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(e0.EMPTY_ARGUMENT,e5(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(e0.MALFORMED_ARGUMENT,e5(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(e0.EXPECT_ARGUMENT_CLOSING_BRACE,e5(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:e2.argument,value:n,location:e5(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(e0.EXPECT_ARGUMENT_CLOSING_BRACE,e5(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(e0.MALFORMED_ARGUMENT,e5(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=o(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:e5(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(e0.EXPECT_ARGUMENT_TYPE,e5(o,u));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var f=tf(h.val);if(0===f.length)return this.error(e0.EXPECT_ARGUMENT_STYLE,e5(this.clonePosition(),this.clonePosition()));c={style:f,styleLocation:e5(l,this.clonePosition())}}var m=this.tryParseArgumentClose(n);if(m.err)return m;var d=e5(n,this.clonePosition());if(c&&ts(null==c?void 0:c.style,"::",0)){var p,g=th(c.style.slice(2));if("number"===s){var h=this.parseNumberSkeletonFromString(g,c.styleLocation);return h.err?h:{val:{type:e2.number,value:r,location:d,style:h.val},err:null}}if(0===g.length)return this.error(e0.EXPECT_DATE_TIME_SKELETON,d);var v=g;this.locale&&(v=function(e,t){for(var r="",n=0;n>1),c=function(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(eC[r||""]||eC[n||""]||eC["".concat(n,"-001")]||eC["001"])[0]}(t);for(("H"==c||"k"==c)&&(u=0);u-- >0;)r+="a";for(;s-- >0;)r=c+r}else"J"===i?r+="H":r+=i}return r}(g,this.locale));var f={type:e8.dateTime,pattern:v,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?(p={},v.replace(eO,function(e){var t=e.length;switch(e[0]){case"G":p.era=4===t?"long":5===t?"narrow":"short";break;case"y":p.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":p.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":p.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":p.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");p.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");p.weekday=["short","long","narrow","short"][t-4];break;case"a":p.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":p.hourCycle="h12",p.hour=["numeric","2-digit"][t-1];break;case"H":p.hourCycle="h23",p.hour=["numeric","2-digit"][t-1];break;case"K":p.hourCycle="h11",p.hour=["numeric","2-digit"][t-1];break;case"k":p.hourCycle="h24",p.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":p.minute=["numeric","2-digit"][t-1];break;case"s":p.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":p.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),p):{}};return{val:{type:"date"===s?e2.date:e2.time,value:r,location:d,style:f},err:null}}return{val:{type:"number"===s?e2.number:"date"===s?e2.date:e2.time,value:r,location:d,style:null!==(i=null==c?void 0:c.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(e0.EXPECT_SELECT_ARGUMENT_OPTIONS,e5(E,eu({},E)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(e0.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,e5(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(e0.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,e0.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),b=this.parseIdentifierIfPossible(),y=h.val}var T=this.tryParsePluralOrSelectOptions(e,s,t,b);if(T.err)return T;var m=this.tryParseArgumentClose(n);if(m.err)return m;var _=e5(n,this.clonePosition());return"select"===s?{val:{type:e2.select,value:r,options:tc(T.val),location:_},err:null}:{val:{type:e2.plural,value:r,options:tc(T.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:_},err:null};default:return this.error(e0.INVALID_ARGUMENT_TYPE,e5(o,u))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(e0.EXPECT_ARGUMENT_CLOSING_BRACE,e5(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(e0.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,e5(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(eD).filter(function(e){return e.length>0}),r=[],n=0;n1)throw RangeError("integer-width stems only accept a single optional option");n.options[0].replace(eG,function(e,r,n,i,o,s){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw Error("We currently do not support maximum integer digits");if(s)throw Error("We currently do not support exact integer digits")}return""});continue}if(ek.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(eU.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(eU,function(e,r,n,i,o,s){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});var i=n.options[0];"w"===i?t=eu(eu({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=eu(eu({},t),ex(i)));continue}if(eF.test(n.stem)){t=eu(eu({},t),ex(n.stem));continue}var o=ej(n.stem);o&&(t=eu(eu({},t),o));var s=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!ek.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);s&&(t=eu(eu({},t),s))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,s=[],u=new Set,c=n.value,l=n.location;;){if(0===c.length){var h=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(e0.EXPECT_PLURAL_ARGUMENT_SELECTOR,e0.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;l=e5(h,this.clonePosition()),c=this.message.slice(h.offset,this.offset())}else break}if(u.has(c))return this.error("select"===t?e0.DUPLICATE_SELECT_ARGUMENT_SELECTOR:e0.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===c&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?e0.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:e0.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,e5(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,r);if(d.err)return d;var p=this.tryParseArgumentClose(m);if(p.err)return p;s.push([c,{value:d.val,location:e5(m,this.clonePosition())}]),u.add(c),this.bumpSpace(),c=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===s.length?this.error("select"===t?e0.EXPECT_SELECT_ARGUMENT_SELECTOR:e0.EXPECT_PLURAL_ARGUMENT_SELECTOR,e5(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(e0.MISSING_OTHER_CLAUSE,e5(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,o=10*o+(s-48),this.bump();else break}var u=e5(n,this.clonePosition());return i?ti(o*=r)?{val:o,err:null}:this.error(t,u):this.error(e,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=tl(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(ts(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&tv(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function tg(e){return e>=97&&e<=122||e>=65&&e<=90}function tv(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function tE(e,t){void 0===t&&(t={});var r=new tp(e,t=eu({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var n=SyntaxError(e0[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,eA(t)||eL(t))for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else eB(t)&&eR(t.style)||(eI(t)||eN(t))&&eM(t.style)?delete t.style.location:eP(t)&&e(t.children)})}(r.val),r.val}(n=s||(s={})).MISSING_VALUE="MISSING_VALUE",n.INVALID_VALUE="INVALID_VALUE",n.MISSING_INTL_API="MISSING_INTL_API";var tb=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return es(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ty=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),s.INVALID_VALUE,i)||this}return es(t,e),t}(tb),tT=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),s.INVALID_VALUE,n)||this}return es(t,e),t}(tb),t_=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),s.MISSING_VALUE,r)||this}return es(t,e),t}(tb);function tS(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}(i=u||(u={}))[i.literal=0]="literal",i[i.object=1]="object";var tH=function(){function e(t,r,n,i){void 0===r&&(r=e.defaultLocale);var o,c,l=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=l.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&t.type===u.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return function e(t,r,n,i,o,c,l){if(1===t.length&&eH(t[0]))return[{type:u.literal,value:t[0].value}];for(var h=[],f=0;ft.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}(h,["formatters"]));this.ast=e.__parse(t,eu(eu({},f),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(o=e.formats,n?Object.keys(o).reduce(function(e,t){var r,i;return e[t]=(r=o[t],(i=n[t])?eu(eu(eu({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=eu(eu({},r[t]),i[t]||{}),e},{})):r),e},eu({},o)):o),this.formatters=i&&i.formatters||(void 0===(c=this.formatterCache)&&(c={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:el(function(){for(var e,t=[],r=0;r"u")){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=tE,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function tB(e,t,r){return void 0===r&&(r={}),t.reduce(function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t},{})}var tI={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function tN(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function tA(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function tL(e,t,r,n){var i,o=e&&e[t];if(o&&(i=o[r]),i)return i;n(new eE("No ".concat(t," format named: ").concat(r)))}var tP=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function tR(e,t,r,n){var i=e.locale,o=e.formats,s=e.onError,u=e.timeZone;void 0===n&&(n={});var c=n.format,l=tB(n,tP,eu(eu({},u&&{timeZone:u}),c&&tL(o,t,c,s)));return"time"!==t||l.hour||l.minute||l.second||l.timeStyle||l.dateStyle||(l=eu(eu({},l),{hour:"numeric",minute:"numeric"})),r(i,l)}function tM(e,t){for(var r=[],n=2;n{let e;try{let t=(0,et.Z)();e=(0,c.useCallback)((e,r)=>{let{id:n,defaultMessage:i}=e;return t.formatMessage({id:n,defaultMessage:i},r)},[t,ee])}catch(n){let t=(0,er.Sn)(),r=(0,en.d)({locale:"en",messages:{}},t);e=(e,t)=>{let{defaultMessage:n,id:i}=e;return r.formatMessage({defaultMessage:n,id:i},t)}}return e},t2=(e=>{let{id:t,values:r,defaultMessage:n,children:i,...o}=e;try{return(0,et.Z)(),(0,ei.jsx)(eo.Z,{id:t,values:r,children:i,defaultMessage:n,...o})}catch(o){var s,u,c,l,h,f,m,d,p,g,v,E,b,y;let e=(s={locale:"en",messages:{}},void 0===(u=tN())&&(u=tN()),c=Intl.RelativeTimeFormat,l=Intl.ListFormat,h=Intl.DisplayNames,f=el(function(){for(var e,t=[],r=0;r{try{return(0,et.Z)()}catch(t){let e=(0,er.Sn)();return(0,en.d)({locale:"en",messages:{}},e)}}),t8=Object.fromEntries(Object.keys(ee).map(e=>[e,e])),t6=e=>{var t,r;let{client:n,inSource:i="subscriber-only-benefit",children:o,placement:s}=e,u=t0(),{locale:m}=t2(),d=!!m&&"string"==typeof m&&(null===(r=m.split("-")[0])||void 0===r?void 0:r.toLowerCase())==="ja",p=null!==(t=e.headerText)&&void 0!==t?t:u({id:t8["media-ui-subscriptions_subscriberBenefit"],defaultMessage:"Subscriber Benefit"}),g=null!=o?o:c.createElement("p",{className:$.defaultText},u({id:t8["media-ui-subscriptions_subscriberOnlyFeature"],defaultMessage:"This feature is only available to bloomberg.com subscribers."})),v=((null==n?void 0:n.getEntitlementFeatures())||[]).length>0,E=d?"/jp":"",b=v?"".concat(E,"/portal/subscription?triggerSubscriptionUpgradeModal=true&in_source=").concat(i):"".concat(E,"/subscriptions?in_source=").concat(i),y=u(v?{id:t8["media-ui-subscriptions_upgrade"],defaultMessage:"Upgrade"}:{id:t8["media-ui-subscriptions_subscribe"],defaultMessage:"Subscribe"});return c.createElement(q,{...e,headerText:p,Icon:c.createElement(f.HE,null),placement:s},c.createElement(c.Fragment,null,g,c.createElement("div",{className:$.buttonContainer},c.createElement(l.K,{version:"phoenix",linkUrl:b,fullWidth:!0},y),!(null==n?void 0:n.isLoggedIn())&&c.createElement(h.F,{version:"phoenix",fullWidth:!0,className:$.signInButton,onClick:()=>null==n?void 0:n.linkToSignIn({in_source:i,leadSource:i})},u({id:t8["media-ui-subscriptions_signIn"],defaultMessage:"Sign In"})))))}},74766:function(){},82793:function(){},38688:function(){},39168:function(){}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/192x192_05Q6.jpg b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/192x192_05Q6.jpg new file mode 100644 index 0000000..835f4c0 Binary files /dev/null and b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/192x192_05Q6.jpg differ diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1b94bbeabe1e643e_05Q6.css b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1b94bbeabe1e643e_05Q6.css new file mode 100644 index 0000000..fbb998a --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/1b94bbeabe1e643e_05Q6.css @@ -0,0 +1 @@ +@charset "UTF-8";.media-ui-Container_base-QBDs9PHHQpE-{box-sizing:border-box;padding:1rem;position:relative}@media (min-width:768px){.media-ui-Container_base-QBDs9PHHQpE-{padding:1.5rem}}.media-ui-Container_base-QBDs9PHHQpE-:before{border-color:transparent;border-width:1px;bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:0}.media-ui-Container_base-QBDs9PHHQpE-.media-ui-Container_outline-DkanPVBk-1w-:before{background:transparent;background:var(--background-color,transparent);border-color:var(--border-color);border-width:1px}.media-ui-Container_base-QBDs9PHHQpE-.media-ui-Container_rounded-PrsdJeyyb1o-:before,.media-ui-Container_base-QBDs9PHHQpE-.media-ui-Container_roundedCorners-QOic8qlaBuU-:before{border-color:transparent;border-color:var(--border-color,transparent);border-radius:.25rem}.media-ui-Container_base-QBDs9PHHQpE-.media-ui-Container_rounded-PrsdJeyyb1o-:before{border-width:1px}.media-ui-Container_base-QBDs9PHHQpE-.media-ui-Container_lined-r8qUhWeWQnw-{padding:1rem 0}@media (min-width:768px){.media-ui-Container_base-QBDs9PHHQpE-.media-ui-Container_lined-r8qUhWeWQnw-{padding:2rem 0}}.media-ui-Container_base-QBDs9PHHQpE-.media-ui-Container_lined-r8qUhWeWQnw-:before{border-color:var(--border-color);border-width:1px 0}.media-ui-Container_base-QBDs9PHHQpE-.media-ui-Container_shadow-U1-ool-gwWA-:before{box-shadow:.25rem .25rem .3125rem currentColor;box-shadow:.25rem .25rem .3125rem var(--border-color,currentColor);opacity:.15}.media-ui-Container_base-QBDs9PHHQpE-.media-ui-Container_solid-BFsuIx-Fv3E-:before{background:transparent;background:var(--background-color,transparent)}.media-ui-Container_inner-kVUiM3TMp20-{position:relative}.media-ui-ToastError_toastError-tjceNDlJmWM-{z-index:20}.media-ui-ToastError_toastErrorIcon-tVx6TjVxGLA-{color:var(--color-red-500)}@keyframes media-ui-Toast_change-in-C2JF-XMqB-k-{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.media-ui-Toast_outer-z1kHvyFyOXY-{align-items:center;display:flex;left:1rem;pointer-events:none;position:fixed;right:1rem;z-index:999}.media-ui-Toast_outer-z1kHvyFyOXY-.media-ui-Toast_top-TA-p3NWAb-4-{bottom:auto;top:1.25rem}.media-ui-Toast_outer-z1kHvyFyOXY-.media-ui-Toast_bottom-H5hdnoRl6Oo-{bottom:1.25rem;top:auto}.media-ui-Toast_outer-z1kHvyFyOXY-.media-ui-Toast_left-V1dC80PDBPM-{justify-content:flex-start}.media-ui-Toast_outer-z1kHvyFyOXY-.media-ui-Toast_right-JHUcGhTxwbM-{justify-content:flex-end}.media-ui-Toast_outer-z1kHvyFyOXY-.media-ui-Toast_center-JKSh-cI4ois-{justify-content:center}.media-ui-Toast_wrapper-w0swnDGj04A-{--tw-drop-shadow:drop-shadow(0 0.25rem 0.1875rem rgba(0,0,0,.07)) drop-shadow(0 0.125rem 0.125rem rgba(0,0,0,.06));align-items:center;animation:media-ui-Toast_change-in-C2JF-XMqB-k- .15s linear;animation-fill-mode:forwards;background-color:var(--color-gray-1000);border-radius:.5rem;color:var(--color-white);display:flex;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;justify-content:space-between;line-height:1.3125rem;line-height:1rem;max-width:21.5rem;padding:1rem;pointer-events:auto;transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.media-ui-Toast_wrapper-w0swnDGj04A-.media-ui-Toast_medium--ctWsbtrGcw-{max-width:28rem}.media-ui-Toast_wrapper-w0swnDGj04A-.media-ui-Toast_large-bqeBcxZ1Tuk-{max-width:32rem}.media-ui-Toast_wrapper-w0swnDGj04A-.media-ui-Toast_full-WJ7FVA-mueM-{max-width:100%}.media-ui-Toast_wrapper-w0swnDGj04A-.media-ui-Toast_error-iACl81EexTk-{background-color:var(--color-red-100);color:var(--color-red-900)}.media-ui-Toast_wrapper-w0swnDGj04A-.media-ui-Toast_success-VOhqOrp84Fc-{background-color:var(--color-green-100);color:var(--color-green-800)}.media-ui-Toast_wrapper-w0swnDGj04A-.media-ui-Toast_warning-A969ln6aYJA-{background-color:var(--color-yellow-100);color:var(--color-yellow-800)}.media-ui-Toast_contentWrapper-BpRHiktIiIw-,.media-ui-Toast_icon-XLKMjxlXbqA-{display:flex;flex-direction:column}.media-ui-Toast_icon-XLKMjxlXbqA-{justify-content:center;padding-right:.5rem}.media-ui-Toast_iconButtonWrapper-iSCTmJn5its-{align-items:center;border-radius:624.9375rem;display:flex;height:1.25rem;justify-content:center;margin-left:1rem;width:1.25rem}.media-ui-Toast_iconButton-CWEVxxzwGoY-{flex-grow:0;flex-shrink:0;transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.media-ui-Toast_iconButton-CWEVxxzwGoY- svg{height:1.25rem!important;width:1.25rem!important}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__navigation-icon:before,.react-datepicker__year-read-view--down-arrow{border-color:#ccc;border-style:solid;border-width:.1875rem .1875rem 0 0;content:"";display:block;height:.5625rem;position:absolute;top:.375rem;width:.5625rem}.react-datepicker-wrapper{border:0;display:inline-block;padding:0}.react-datepicker{background-color:#fff;border:1px solid #aeaeae;border-radius:.3rem;color:#000;display:inline-block;font-family:Helvetica Neue,helvetica,arial,sans-serif;font-size:.8rem;line-height:normal;position:relative}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker-popper{line-height:0;z-index:1}.react-datepicker-popper .react-datepicker__triangle{stroke:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{fill:#f0f0f0;color:#f0f0f0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{fill:#fff;color:#fff}.react-datepicker__header{background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:.5rem 0;position:relative;text-align:center}.react-datepicker__header--time{padding-bottom:.5rem;padding-left:.3125rem;padding-right:.3125rem}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__year-dropdown-container--select{display:inline-block;margin:0 .9375rem}.react-datepicker-time__header,.react-datepicker-year-header,.react-datepicker__current-month{color:#000;font-size:.944rem;font-weight:700;margin-top:0}.react-datepicker-time__header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.react-datepicker__navigation{align-items:center;background:none;border:none;cursor:pointer;display:flex;height:2rem;justify-content:center;overflow:hidden;padding:0;position:absolute;text-align:center;text-indent:-999em;top:.125rem;width:2rem;z-index:1}.react-datepicker__navigation--previous{left:.125rem}.react-datepicker__navigation--next{right:.125rem}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:5.3125rem}.react-datepicker__navigation--years{display:block;margin-left:auto;margin-right:auto;position:relative;top:0}.react-datepicker__navigation--years-previous{top:.25rem}.react-datepicker__navigation--years-upcoming{top:-.25rem}.react-datepicker__navigation:hover :before{border-color:#a6a6a6}.react-datepicker__navigation-icon{font-size:1.25rem;position:relative;top:-1px;width:0}.react-datepicker__navigation-icon--next{left:-.125rem}.react-datepicker__navigation-icon--next:before{left:-.4375rem;transform:rotate(45deg)}.react-datepicker__navigation-icon--previous{right:-.125rem}.react-datepicker__navigation-icon--previous:before{right:-.4375rem;transform:rotate(225deg)}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:11.25rem}.react-datepicker__year .react-datepicker__year-text{display:inline-block;margin:.125rem;width:4rem}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;margin:.125rem;width:4rem}.react-datepicker__input-time-container{clear:both;float:left;margin:.3125rem 0 .625rem .9375rem;text-align:left;width:100%}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:.625rem}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{display:inline-block;margin-left:.3125rem}.react-datepicker__time-container{border-left:1px solid #aeaeae;float:right;width:5.3125rem}.react-datepicker__time-container--with-today-button{border:1px solid #aeaeae;border-radius:.3rem;display:inline;position:absolute;right:-5.4375rem;top:0}.react-datepicker__time-container .react-datepicker__time{background:#fff;border-bottom-right-radius:.3rem;position:relative}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{border-bottom-right-radius:.3rem;margin:0 auto;overflow-x:hidden;text-align:center;width:5.3125rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{box-sizing:content-box;height:13.0375rem;list-style:none;margin:0;overflow-y:scroll;padding-left:0;padding-right:0;width:100%}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:1.875rem;padding:.3125rem .625rem;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{background-color:#f0f0f0;cursor:pointer}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{background-color:transparent;cursor:default}.react-datepicker__week-number{color:#ccc;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected,.react-datepicker__week-number--keyboard-selected):hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__week-number--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__week-number--selected:hover{background-color:#1d5d90}.react-datepicker__week-number--keyboard-selected{background-color:#2a87d0;border-radius:.3rem;color:#fff}.react-datepicker__week-number--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day-names{margin-bottom:-.5rem;white-space:nowrap}.react-datepicker__week{white-space:nowrap}.react-datepicker__day,.react-datepicker__day-name,.react-datepicker__time-name{color:#000;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{background-color:#3dcc4a;border-radius:.3rem;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--holidays,.react-datepicker__month-text--holidays,.react-datepicker__quarter-text--holidays,.react-datepicker__year-text--holidays{background-color:#ff6803;border-radius:.3rem;color:#fff;position:relative}.react-datepicker__day--holidays .overlay,.react-datepicker__month-text--holidays .overlay,.react-datepicker__quarter-text--holidays .overlay,.react-datepicker__year-text--holidays .overlay{background-color:#333;border-radius:.25rem;bottom:100%;color:#fff;left:50%;opacity:0;padding:.25rem;position:absolute;transform:translateX(-50%);transition:visibility 0s,opacity .3s ease-in-out;visibility:hidden;white-space:nowrap}.react-datepicker__day--holidays:hover,.react-datepicker__month-text--holidays:hover,.react-datepicker__quarter-text--holidays:hover,.react-datepicker__year-text--holidays:hover{background-color:#cf5300}.react-datepicker__day--holidays:hover .overlay,.react-datepicker__month-text--holidays:hover .overlay,.react-datepicker__quarter-text--holidays:hover .overlay,.react-datepicker__year-text--holidays:hover .overlay{opacity:1;visibility:visible}.react-datepicker__day--in-range,.react-datepicker__day--in-selecting-range,.react-datepicker__day--selected,.react-datepicker__month-text--in-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--selected,.react-datepicker__quarter-text--in-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--selected,.react-datepicker__year-text--in-range,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__day--in-range:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--selected:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__year-text--in-range:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--selected:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{background-color:#bad9f1;border-radius:.3rem;color:#000}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:rgba(33,107,165,.5)}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{color:#ccc;cursor:default}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:transparent}.react-datepicker__day--disabled .overlay,.react-datepicker__month-text--disabled .overlay,.react-datepicker__quarter-text--disabled .overlay,.react-datepicker__year-text--disabled .overlay{background-color:#333;border-radius:.25rem;bottom:70%;color:#fff;left:50%;opacity:0;padding:.25rem;position:absolute;transform:translateX(-50%);transition:visibility 0s,opacity .3s ease-in-out;visibility:hidden;white-space:nowrap}.react-datepicker__input-container{display:inline-block;position:relative;width:100%}.react-datepicker__input-container .react-datepicker__calendar-icon{box-sizing:content-box;padding:.5rem;position:absolute}.react-datepicker__view-calendar-icon input{padding:.375rem .625rem .3125rem 1.5625rem}.react-datepicker__month-read-view,.react-datepicker__month-year-read-view,.react-datepicker__year-read-view{border:1px solid transparent;border-radius:.3rem;position:relative}.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover,.react-datepicker__year-read-view:hover{cursor:pointer}.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{right:-1rem;top:0;transform:rotate(135deg)}.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown,.react-datepicker__year-dropdown{background-color:#f0f0f0;border:1px solid #aeaeae;border-radius:.3rem;left:25%;position:absolute;text-align:center;top:1.875rem;width:50%;z-index:1}.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover,.react-datepicker__year-dropdown:hover{cursor:pointer}.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable,.react-datepicker__year-dropdown--scrollable{height:9.375rem;overflow-y:scroll}.react-datepicker__month-option,.react-datepicker__month-year-option,.react-datepicker__year-option{display:block;line-height:1.25rem;margin-left:auto;margin-right:auto;width:100%}.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type,.react-datepicker__year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type,.react-datepicker__year-option:last-of-type{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover,.react-datepicker__year-option:hover{background-color:#ccc}.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected,.react-datepicker__year-option--selected{left:.9375rem;position:absolute}.react-datepicker__close-icon{background-color:transparent;border:0;cursor:pointer;display:table-cell;height:100%;outline:0;padding:0 .375rem 0 0;position:absolute;right:0;top:0;vertical-align:middle}.react-datepicker__close-icon:after{background-color:#216ba5;border-radius:50%;color:#fff;content:"×";cursor:pointer;display:table-cell;font-size:.75rem;height:1rem;line-height:1;padding:.125rem;text-align:center;vertical-align:middle;width:1rem}.react-datepicker__close-icon--disabled{cursor:default}.react-datepicker__close-icon--disabled:after{background-color:#ccc;cursor:default}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;clear:left;cursor:pointer;font-weight:700;padding:.3125rem 0;text-align:center}.react-datepicker__portal{align-items:center;background-color:rgba(0,0,0,.8);display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:2147483647}.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:3rem;width:3rem}@media (max-height:550px),(max-width:400px){.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:2rem;width:2rem}}.react-datepicker__portal .react-datepicker-time__header,.react-datepicker__portal .react-datepicker__current-month{font-size:1.44rem}.react-datepicker__children-container{height:auto;margin:.4rem;padding-left:.2rem;padding-right:.2rem;width:13.8rem}.react-datepicker__aria-live{border:0;clip-path:circle(0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.react-datepicker__calendar-icon{height:1em;vertical-align:-.125em;width:1em}.media-ui-Carousel_carousel--hyi-7gceWo-{margin:.125rem}.media-ui-Carousel_carouselNav-AgZezahKMDo-{display:flex;flex-direction:row;justify-content:space-between;margin-top:.5rem}@media (max-width:767px){.media-ui-Carousel_carouselNav-AgZezahKMDo-{height:1.625rem}}.media-ui-Carousel_navSection-meXNYhIadqo-{align-items:center;display:flex;flex-basis:0px;flex-grow:1;flex-shrink:1;justify-content:center}.media-ui-Carousel_navSectionButtons-uL1EmVsYQZM-{justify-content:flex-end}.media-ui-Carousel_dot-A0qq-PY5FQQ-{background-color:var(--color-gray-300);border-radius:50%;cursor:pointer;display:inline-block;height:.5rem;margin-left:.3125rem;margin-right:.3125rem;width:.5rem}.media-ui-Carousel_activeDot-oyvwM1McNgc-{background-color:var(--color-black)}.media-ui-Carousel_navButtonContainer-cmDqWTnEssM-{display:none}@media (min-width:768px){.media-ui-Carousel_navButtonContainer-cmDqWTnEssM-{display:flex}}.media-ui-Carousel_activeButton-gjmZGBDKErk-{border-color:var(--color-black);border-style:solid;border-width:1px}.media-ui-Carousel_activeButton-gjmZGBDKErk-:hover{background-color:var(--color-gray-200)}.media-ui-Carousel_inactiveButton-SDvbYyvpREg-{border-color:var(--color-gray-400);border-style:solid;border-width:1px}.media-ui-Carousel_animatedBox-nfNh2K7TJ30-{display:flex;overflow:hidden;position:relative}.media-ui-Carousel_animatedCard-FvA8txttpAs-{display:block;min-width:100%;transition:transform .3s ease-in-out}.media-ui-Carousel_prevCard-dbrd4t-TN-8-{--tw-translate-x:-105%}.media-ui-Carousel_nextCard--tp1KkxlnwI-,.media-ui-Carousel_prevCard-dbrd4t-TN-8-{position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.media-ui-Carousel_nextCard--tp1KkxlnwI-{--tw-translate-x:105%} \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/2095-5f983cc1d5be46e8_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/2095-5f983cc1d5be46e8_05Q6.js new file mode 100644 index 0000000..9c06a46 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/2095-5f983cc1d5be46e8_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2095],{15782:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var o=n(85893),a=n(67294),r=n(33090),i=n(53867),l=n(1437),s=n.n(l),c=n(89584),u=n(92175);let d=e=>{window.cmpClient.cmd.push(()=>{window.getCmpClient().addPrivacyManager(e)})};function p(e){var t;let{footerMenuItems:n,locale:l=c.go.En}=e,p=(0,a.useCallback)((e,t)=>{(0,i.uH)("footerClick",t,e)},[]),m=(null===(t=u.h$[l])||void 0===t?void 0:t.routeLocale)||l;return(0,o.jsx)(r.$,{addPrivacyManager:d,name:"footer",footerMenuItems:n,trackingFunction:p,desktopBreakpointClassName:s().gridFooter,locale:m})}},50722:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var o=n(85893),a=n(67294),r=n(47631),i=n(25173),l=n(50448),s=n(93859),c=n(31361),u=n(90573),d=n.n(u),p=n(89584),m=n(92175);function g(e){var t,n;let{menuItems:u,countryCode:g,locale:h=p.go.En}=e,b=(0,a.useRef)(null),[v,f]=(0,a.useState)({top:"0px"}),w=(0,a.useCallback)(()=>{f({top:"0px"})},[]),x=(0,a.useCallback)(()=>{if(b.current){let e=b.current.clientHeight;f({top:"-".concat(e,"px")})}},[b.current]),y=(0,a.useCallback)((e,t)=>{var n;null===(n=window.dataLayer)||void 0===n||n.push({eventCategory:"nav",event:"navClick",eventAction:e,eventLabel:t})},[]);(0,s.B)({scrollingElementRef:b,scrollDirectionThreshold:30,onScrollUpCallback:w,onScrollDownCallback:x});let j=!!(null===(t=(0,c.useFeatureGate)("japan_login_nav"))||void 0===t?void 0:t.value),C=(null===(n=m.h$[h])||void 0===n?void 0:n.routeLocale)||h;return(0,o.jsx)("div",{className:d().nav,style:v,ref:b,children:(0,o.jsx)(r.J,{initializeSignInWithRegUI:(0,l.YM)().initializeSignInWithRegUI,theme:i.yU.DARK,user:(0,l.YM)().user,searchClient:(0,l.YM)().searchClient,onSignOut:(0,l.YM)().onSignOut,desktopBreakpointClassName:d().gridNavDesktop,countryCode:g,...u?{menuItems:u}:{hideMenu:!0},trackingFunction:y,subscriptionUrl:(0,l.YM)().subscriptionUrl,upgradeUrl:(0,l.YM)().upgradeUrl,locale:C,isJapanLoginEnabled:j})})}},52095:function(e,t,n){"use strict";n.d(t,{F:function(){return ee}});var o=n(85893),a=n(12918),r=n.n(a),i=n(67294),l=n(65804),s=n(59628),c=n(35426),u=n.n(c),d=n(31361),p=n(84533),m=n(55441),g=n(22539),h=n(50448),b=n(42977),v=n(51956),f=n(53867),w=n(8590),x=n(30202),y=n(34576),j=n(11465),C=n(86896),k=n(50722),_=n(15782),T=n(9008),I=n.n(T),S=n(83116),M=n(38742),O=n(53537);let F=(e,t,n,o)=>({"@context":"https://schema.org","@type":"Person",name:e,jobTitle:t||null,worksFor:n||null,image:o?{"@type":"ImageObject",url:o}:void 0}),N=(e,t)=>[...e.slice(0,3).map(e=>{var t;return F(e.name,e.currentPosition,e.companyName,null===(t=e.thumbnail)||void 0===t?void 0:t.src)}),...t.slice(0,3).map(e=>{var t;return F(e.name,void 0,e.companyName,null===(t=e.thumbnail)||void 0===t?void 0:t.src)})],P=e=>{let{company:t,displayName:n,shortTickerId:o,shortExchange:a}=e,{boardMembers:r=[],companyDescription:i,companyIsPrivate:l,companyPhone:s,companyWebsite:c,companyAddress:u,executives:d=[],foundedYear:p,numberOfEmployees:m}=t||{};return{"@context":"https://schema.org","@type":l?"Organization":"Corporation",name:n,description:i,address:u,telephone:s,foundingDate:p,url:c,numberOfEmployees:m,employee:N(d,r),tickerSymbol:l?void 0:"".concat(a," ").concat(o)}};var D=n(1864);let z=n.n(D)().join("https://assets.bwbx.io/s3/bazaar//_next/static/media/bloomberg-logo-amp.bae0aa0a.png"),E={communications:"/communication-services","consumer discretionary":"/consumer-discretionary","consumer staples":"/consumer-staples",energy:"/energy",financials:"/financials","health care":"/health-care",industrials:"/industrials",materials:"/materials",technology:"/information-technology",utilities:"/utilities",default:""},R={"quote-bazaar":"https://www.bloomberg.com/profile/company","quote-companyProfile":"https://www.bloomberg.com/quote",default:""},U=()=>({"@type":"Organization",name:"Bloomberg",url:"https://www.bloomberg.com",logo:{"@type":"ImageObject",url:z,width:262,height:60}}),L=(e,t)=>({"@context":"http://schema.org","@type":"Thing",name:e,url:t}),q=(e,t,n,o)=>{let a=[];if(!e)return a;if(o){let e=o.toLowerCase(),t=E[e]||E.default,n=L(e,"".concat("https://www.bloomberg.com/markets/sectors").concat(t));a.push(n)}let r=R[t]||R.default,i=L(n,"".concat(r,"/").concat(e));return a.push(i),a},A=e=>{let{bicsSector:t,description:n,displayName:o,keywords:a,pageType:r,tickerId:i,title:l,url:s}=e;return{"@context":"https://schema.org","@type":"WebPage",name:l,description:n,keywords:a,mainEntityOfPage:s,mentions:q(i,r,o,t),publisher:U(),isAccessibleForFree:"False",hasPart:{"@type":"WebPageElement",isAccessibleForFree:"False",cssSelector:".paywall"}}};function B(e){let{constructedTitle:t,description:n,keywords:a,title:r,url:l}=e.metadata,s=(0,M.gq)({canonical:l,description:n,keywords:a}),c=(0,M.W4)({twitterHandle:"@markets",creator:"@markets",description:n,title:r,image:"https://www.bloomberg.com/favicon-black.png"}),u=(0,M.wU)({type:"company",title:r,url:l,image:"https://www.bloomberg.com/favicon-black.png",description:n,keywords:a}),{mediaSecurityType:d,tickerId:p}=e.metadata,m=JSON.stringify(A(e.metadata)),g=p&&JSON.stringify(P(e.metadata)),h=p&&(0,O.T$)(p,d);return(0,i.useEffect)(()=>{var e,t,n,o;(null===(t=window)||void 0===t?void 0:null===(e=t.__bloomberg__)||void 0===e?void 0:e.setContentMetadata)&&(null===(o=window)||void 0===o||null===(n=o.__bloomberg__)||void 0===n||n.setContentMetadata(h))},[]),(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(I(),{children:[(0,o.jsx)("title",{children:t||r}),(0,o.jsx)(M.sC,{env:"production"}),(0,o.jsx)("meta",{httpEquiv:"refresh",content:"3600"}),s,c,u,(0,o.jsx)("meta",{name:"will-have-content-metadata",content:"true"}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,S.Z)())}}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:m}}),g&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:g}})]})})}var W=n(40281),H=n(19042);function J(e){let{id:t,contentType:n}=e;return(0,i.useEffect)(()=>{t&&n&&H.e5.setContentMetadata("production",{id:t,contentType:n})},[t,n]),null}var Y=n(4298),Z=n.n(Y);let $="//".concat("assets.bwbx.io","/s3/fence/plug-client/v0/app.bundle.js");function G(){return(0,o.jsx)(Z(),{src:$,id:"plug-client-snippet",onReady:()=>{window.plugClient&&window.plugClient.init({"top-of-content":".plug-top-of-content",banner:".plug-banner"})},strategy:"lazyOnload"})}let K="production",V=["production","blue","orange"].includes("production")?v.I.PRODUCTION:v.I.STAGING,Q=()=>{var e,t;return(null===(e=window)||void 0===e?void 0:e.location.hostname.includes("localhost"))||(null===(t=window)||void 0===t?void 0:t.location.hostname.includes("local.bloomberg"))?"development":"production"},X=new w.S;function ee(e){let{analytics:t,children:n,contentType:a,countryCode:c,disablePaywall:v=!1,footerMenuItems:w,fortressOptions:T,menuItems:I,metadata:S,partial:M,pageId:F,pageData:N={},pageType:P,tickerbar:D,removeTickerBar:z=!1,tophat:E,adConfig:R}=e,U="page-preference-".concat(F),[L,q]=(0,j._)(U,{}),A=(0,i.useCallback)((e,t)=>{q(n=>{let o=n||{};return o[e]=t,{...o}})},[q]),H=(0,d.useStatsigClientWebSetup)({environmentTier:Q(),statsigClientKey:"client-1p8DG5KLb7bMbqNY9JDTj19BblTiBaafd3BOWdruTrz"}),{locale:Y}=(0,C.Z)(),Z=(0,i.useMemo)(()=>({...T,...T.articleInfo?{articleInfo:{...T.articleInfo,locale:Y}}:void 0}),[T,Y]);if(M)return null;if(D||"watchlist"!==P||(0,f.uH)("watchlistError","Get Watchlist Tickerbar Failure","error","watchlist"),!E||!I||!w||!z&&!D)return(0,o.jsx)(r(),{statusCode:500});let $={adOptions:R.globalAdOptions,articleMetadata:(0,O.T$)(F,a)},ee={options:Z,...v&&{inView:!1}},{isDecoupled:et,adContextData:en}=(0,O.u2)(F);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(G,{}),(0,o.jsx)(f.C2,{analytics:t}),(0,o.jsx)(b.iJ,{...ee,children:(0,o.jsx)(s.RegUIClientProvider,{children:(0,o.jsx)(d.StatsigProvider,{client:H,children:(0,o.jsxs)(u(),{...(0,O.Rw)(P,null==t?void 0:t.adcode,et,en,e.adTargeting,Y),children:[(0,o.jsx)(B,{metadata:S}),(0,o.jsx)(J,{id:F,contentType:a}),(0,o.jsx)(l.Z,{...$,children:(0,o.jsxs)(p.zd,{isDecoupled:et,children:[(0,o.jsx)(g.Q,{snippet:E}),(0,o.jsx)(h.N7,{children:(0,o.jsx)(k.Z,{menuItems:I,countryCode:c,locale:Y})}),!z&&(0,o.jsx)(m.C,{tickerBar:D||[]}),(0,o.jsxs)(x.aH,{client:X,children:[(0,o.jsx)(W.z.Provider,{value:{countryCode:c,pageId:F,pageData:N,pageType:P,partial:M,pagePreference:L,updatePagePreference:A,searchClientURL:"https://search.bloomberg.com/"},children:n}),(0,o.jsx)(y.t,{initialIsOpen:!1})]}),(0,o.jsx)(b.r5,{fortressClientDomain:V,color:K}),(0,o.jsx)(b.CO,{fortressClientDomain:V,color:K,esm:!0}),(0,o.jsx)(_.Z,{footerMenuItems:w,locale:Y})]})})]})})})})]})}},40281:function(e,t,n){"use strict";n.d(t,{V:function(){return r},z:function(){return a}});var o=n(67294);let a=(0,o.createContext)(null),r=()=>{let e=(0,o.useContext)(a);if(!e)throw Error("usePageData must be used within a PageContext.Provider");return e}},53537:function(e,t,n){"use strict";n.d(t,{Rw:function(){return l},T$:function(){return s},u2:function(){return a}});let o={"stocks-bazaar":"markets/stocks/index","quote-bazaar":"markets/quote","watchlist-bazaar":"markets/watchlist"},a=e=>({isDecoupled:!0,adContextData:{adPageType:"quote",tickerId:e}}),r=(e,t,n)=>{let a="ja"===n?"japan":"bloomberg";return t?"".concat(a,"/").concat(t):"".concat(a,"/").concat(o[e]||"markets/custom")},i={mobile:0,tablet:768,small_desktop:1123,large_desktop:1335},l=(e,t,n,o,a,l)=>({defaultAdCode:r(e,t,l),sparkleInitOptions:{pageTargeting:{page:e,...a},breakpoints:i,useCachedConsent:!0,disableIAS:!0,enableBombora:!0,isDecoupled:n,adContextData:o,excludeTargetingTypes:["content"],dvScriptUrl:"https://pub.doubleverify.com/dvtag/24434720/DV1462763/pub.js"}}),s=(e,t)=>({contentType:t,id:e,contentTags:[{id:e,type:t}]})},1437:function(e){e.exports={gridFooter:"footer_gridFooter__ftk5A"}},90573:function(e){e.exports={gridNavDesktop:"nav_gridNavDesktop__4OxRl",nav:"nav_nav__7WSAd"}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/2537495a0ba73db8_05Q6.css b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/2537495a0ba73db8_05Q6.css new file mode 100644 index 0000000..2b27f1f --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/2537495a0ba73db8_05Q6.css @@ -0,0 +1 @@ +:root{--bw-roman:"BWHaasGroteskWeb";--font-weight-medium:500;--font-weight-bold:700;--color-opinion-blue:#0068ff;--color-white:#fff;--color-gray-100:#f8f8f8;--color-gray-200:#efefef;--color-gray-300:#ccc;--color-gray-400:#b3b3b3;--color-gray-500:#999;--color-gray-600:#767676;--color-gray-700:#545454;--color-gray-800:#3c3c3c;--color-gray-900:#262626;--color-gray-1000:#1c1c1c;--color-blue-200:#f2f7ff;--color-blue-300:#d4e5ff;--color-blue-400:#7eb2ff;--color-blue-500:#3d89fb;--color-blue-600:#0064fa;--color-blue-700:#004ec4;--color-blue-800:#00378e;--color-blue-900:#002157;--color-blue-1000:#000a21;--color-red-100:#fff0f0;--color-red-200:#ffe1df;--color-red-300:#ffcdca;--color-red-400:#f68d85;--color-red-500:#f05143;--color-red-600:#e51503;--color-red-700:#b20e01;--color-red-800:#800800;--color-red-900:#4e0300;--color-red-1000:#1f0000;--color-green-100:#eff9e9;--color-green-200:#e4f4d9;--color-green-300:#d1edc0;--color-green-400:#96d18c;--color-green-500:#4db250;--color-green-600:#338736;--color-green-700:#146917;--color-green-800:#0e4e10;--color-green-900:#073208;--color-green-1000:#001500;--accent-1:var(--color-gray-100);--accent-2:var(--color-gray-200);--accent-3:var(--color-gray-300);--accent-4:var(--color-gray-400);--accent-5:var(--color-gray-500);--accent-6:var(--color-gray-600);--accent-7:var(--color-gray-700);--accent-8:var(--color-gray-800);--accent-9:var(--color-gray-900)}[class^=intercom-] *,[class^=intercom-] :after,[class^=intercom-] :before,[id^=storybook-] *,[id^=storybook-] :after,[id^=storybook-] :before{background-color:transparent;border:none;box-sizing:border-box}[class^=intercom-] :is(ul),[id^=storybook-] :is(ul){list-style:none;margin:0;padding:0}[class^=intercom-] :is(h1,h2,h3,h4,h5,h6,p),[id^=storybook-] :is(h1,h2,h3,h4,h5,h6,p){margin:0}[class^=intercom-] :is(a),[id^=storybook-] :is(a){color:inherit;text-decoration:none}[data-accent-color=gray]{--accent-1:var(--color-gray-100);--accent-2:var(--color-gray-200);--accent-3:var(--color-gray-300);--accent-4:var(--color-gray-400);--accent-5:var(--color-gray-500);--accent-6:var(--color-gray-600);--accent-7:var(--color-gray-700);--accent-8:var(--color-gray-800);--accent-9:var(--color-gray-900)}[data-accent-color=blue]{--accent-1:var(--color-blue-100);--accent-2:var(--color-blue-200);--accent-3:var(--color-blue-300);--accent-4:var(--color-blue-400);--accent-5:var(--color-blue-500);--accent-6:var(--color-blue-600);--accent-7:var(--color-blue-700);--accent-8:var(--color-blue-800);--accent-9:var(--color-blue-900)}[data-accent-color=red]{--accent-1:var(--color-red-100);--accent-2:var(--color-red-200);--accent-3:var(--color-red-300);--accent-4:var(--color-red-400);--accent-5:var(--color-red-500);--accent-6:var(--color-red-600);--accent-7:var(--color-red-700);--accent-8:var(--color-red-800);--accent-9:var(--color-red-900);--accent-10:var(--color-red-1000)}[data-accent-color=green]{--accent-1:var(--color-green-100);--accent-2:var(--color-green-200);--accent-3:var(--color-green-300);--accent-4:var(--color-green-400);--accent-5:var(--color-green-500);--accent-6:var(--color-green-600);--accent-7:var(--color-green-700);--accent-8:var(--color-green-800);--accent-9:var(--color-green-900);--accent-10:var(--color-green-1000)}[data-border-style=full]{border:1px solid var(--color-gray-300)}[data-border-style=top]{border-top:1px solid var(--color-gray-200)}[data-border-style=bottom]{border-bottom:1px solid var(--color-gray-200)}[data-radius=small]{border-radius:.5rem}[data-radius=medium]{border-radius:.75rem}@layer tailwind-base, phx, app-overrides, video-js;@layer phx.base, phx.components, phx.utilities, phx.overrides;@layer phx.themes{:host,:root,[data-phx-theme=dark]{--phx-font-core-weight-regular:400;--phx-font-core-weight-medium:500;--phx-font-core-weight-semibold:600;--phx-font-core-weight-bold:700;--phx-font-core-weight-black:900;--phx-font-core-size-52:3.25rem;--phx-font-core-size-48:3rem;--phx-font-core-size-40:2.5rem;--phx-font-core-size-36:2.25rem;--phx-font-core-size-32:2rem;--phx-font-core-size-28:1.75rem;--phx-font-core-size-24:1.5rem;--phx-font-core-size-20:1.25rem;--phx-font-core-size-18:1.125rem;--phx-font-core-size-16:1rem;--phx-font-core-size-14:0.875rem;--phx-font-core-size-12:0.75rem;--phx-font-core-size-10:0.625rem;--phx-font-core-size-9:0.5625rem;--phx-font-core-line-height-170:1.7;--phx-font-core-line-height-150:1.5;--phx-font-core-line-height-130:1.3;--phx-font-core-line-height-120:1.2;--phx-font-core-line-height-105:1.05;--phx-font-core-line-height-100:1;--phx-font-core-family-sans-jp:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,"Noto Sans JP",Helvetica,Arial,sans-serif;--phx-font-core-family-serif:PublicoText,Georgia,Cambria,"Times New Roman",Times,serif;--phx-font-core-family-teritary-sans:AvenirNext,Avenir,Helvetica,sans-serif;--phx-font-core-family-secondary-sans:BWHaasHead,"Helvetica Neue",Helvetica,sans-serif;--phx-font-core-family-sans:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;--phx-space-core-48:3rem;--phx-space-core-44:2.75rem;--phx-space-core-40:2.5rem;--phx-space-core-36:2.25rem;--phx-space-core-32:2rem;--phx-space-core-28:1.75rem;--phx-space-core-24:1.5rem;--phx-space-core-20:1.25rem;--phx-space-core-16:1rem;--phx-space-core-12:0.75rem;--phx-space-core-8:0.5rem;--phx-space-core-6:0.375rem;--phx-space-core-4:0.25rem;--phx-space-core-2:0.125rem;--phx-breakpoint-core-extra-large:83em;--phx-breakpoint-core-large:70em;--phx-breakpoint-core-medium:57em;--phx-breakpoint-core-small:48em;--phx-color-secondary-subscription-900:#100250;--phx-color-secondary-subscription-800:#1c0099;--phx-color-secondary-subscription-700:#2800d7;--phx-color-secondary-subscription-600:#3523ff;--phx-color-secondary-subscription-500:#4f4fff;--phx-color-secondary-subscription-400:#7573ff;--phx-color-secondary-subscription-300:#9ba2ff;--phx-color-secondary-subscription-200:#c3cbff;--phx-color-secondary-subscription-100:#e6ebff;--phx-color-secondary-opinion-900:#000a21;--phx-color-secondary-opinion-800:#002157;--phx-color-secondary-opinion-700:#00378e;--phx-color-secondary-opinion-600:#004ec4;--phx-color-secondary-opinion-500:#0064fa;--phx-color-secondary-opinion-400:#3d89fb;--phx-color-secondary-opinion-300:#7eb2ff;--phx-color-secondary-opinion-200:#d4e5ff;--phx-color-secondary-opinion-100:#f2f7ff;--phx-color-core-white:#fff;--phx-color-core-black:#000;--phx-color-core-none:transparent;--phx-color-core-yellow-900:#1c1000;--phx-color-core-yellow-800:#573b06;--phx-color-core-yellow-700:#8c6000;--phx-color-core-yellow-600:#c48600;--phx-color-core-yellow-500:#e6b120;--phx-color-core-yellow-400:#ffcd1e;--phx-color-core-yellow-300:#ffda5d;--phx-color-core-yellow-200:#ffe79b;--phx-color-core-yellow-100:#fff4da;--phx-color-core-green-900:#001500;--phx-color-core-green-800:#073208;--phx-color-core-green-700:#0e4e10;--phx-color-core-green-600:#146917;--phx-color-core-green-500:#338736;--phx-color-core-green-400:#4db250;--phx-color-core-green-300:#96d18c;--phx-color-core-green-200:#d1edc0;--phx-color-core-green-100:#eff9e9;--phx-color-core-red-900:#1f0000;--phx-color-core-red-800:#4e0300;--phx-color-core-red-700:#800800;--phx-color-core-red-600:#b20e01;--phx-color-core-red-500:#e51503;--phx-color-core-red-400:#f05143;--phx-color-core-red-300:#f68d85;--phx-color-core-red-200:#ffcdca;--phx-color-core-red-100:#fff0f0;--phx-color-core-gray-1000:#1c1c1c;--phx-color-core-gray-900:#262626;--phx-color-core-gray-800:#3c3c3c;--phx-color-core-gray-700:#545454;--phx-color-core-gray-600:#767676;--phx-color-core-gray-500:#999;--phx-color-core-gray-400:#b3b3b3;--phx-color-core-gray-300:#ccc;--phx-color-core-gray-200:#efefef;--phx-color-core-gray-100:#f8f8f8;--phx-radius-core-12:var(--phx-space-core-12);--phx-radius-core-8:var(--phx-space-core-8);--phx-radius-core-4:var(--phx-space-core-4);--phx-icon-core-size-24:var(--phx-space-core-24);--phx-icon-core-size-20:var(--phx-space-core-20);--phx-icon-core-size-16:var(--phx-space-core-16);--phx-icon-core-size-12:var(--phx-space-core-12);--phx-color-warning-background:var(--phx-color-core-yellow-800);--phx-color-warning-primary-text:var(--phx-color-core-yellow-400);--phx-color-warning-primary-hover:var(--phx-color-core-yellow-500);--phx-color-warning-primary:var(--phx-color-core-yellow-400);--phx-color-success-background:var(--phx-color-core-green-800);--phx-color-success-primary-text:var(--phx-color-core-green-400);--phx-color-success-primary-hover:var(--phx-color-core-green-500);--phx-color-success-primary:var(--phx-color-core-green-400);--phx-color-error-background:var(--phx-color-core-red-800);--phx-color-error-primary-text:var(--phx-color-core-red-400);--phx-color-error-primary-hover:var(--phx-color-core-red-500);--phx-color-error-primary:var(--phx-color-core-red-400);--phx-color-markets-neutral-background:var(--phx-color-core-gray-800);--phx-color-markets-neutral:var(--phx-color-core-gray-400);--phx-color-markets-down-background:var(--phx-color-core-red-800);--phx-color-markets-down:var(--phx-color-core-red-400);--phx-color-markets-up-background:var(--phx-color-core-green-800);--phx-color-markets-up:var(--phx-color-core-green-400);--phx-color-text-disabled:var(--phx-color-core-gray-600);--phx-color-text-invert:var(--phx-color-core-black);--phx-color-text-tertiary:var(--phx-color-core-gray-300);--phx-color-text-secondary:var(--phx-color-core-gray-200);--phx-color-text-primary-hover:var(--phx-color-core-gray-300);--phx-color-text-primary:var(--phx-color-core-white);--phx-color-icon-subtle:var(--phx-color-core-gray-500);--phx-color-icon-moderate:var(--phx-color-core-gray-200);--phx-color-icon-strong:var(--phx-color-core-white);--phx-color-fill-disabled:var(--phx-color-core-gray-800);--phx-color-fill-secondary-hover:var(--phx-color-core-gray-800);--phx-color-fill-secondary:var(--phx-color-core-gray-1000);--phx-color-fill-primary-hover:var(--phx-color-core-gray-200);--phx-color-fill-primary:var(--phx-color-core-white);--phx-color-border-extra-subtle:var(--phx-color-core-gray-800);--phx-color-border-subtle:var(--phx-color-core-gray-700);--phx-color-border-moderate:var(--phx-color-core-gray-600);--phx-color-border-extra-strong:var(--phx-color-core-white);--phx-color-border-strong:var(--phx-color-core-gray-400);--phx-color-background-secondary:var(--phx-color-core-black);--phx-color-background-primary:var(--phx-color-core-gray-1000);--phx-color-subscription-primary-text:var(--phx-color-secondary-subscription-300);--phx-color-subscription-primary-hover:var(--phx-color-secondary-subscription-700);--phx-color-subscription-primary:var(--phx-color-secondary-subscription-600);--phx-color-opinion-background:var(--phx-color-secondary-opinion-900);--phx-color-opinion-primary:var(--phx-color-secondary-opinion-400);--phx-color-live-primary:var(--phx-color-core-red-400);--phx-color-latest-primary:var(--phx-color-core-red-400)}:host,:root,[data-phx-theme=light]{--phx-font-core-weight-regular:400;--phx-font-core-weight-medium:500;--phx-font-core-weight-semibold:600;--phx-font-core-weight-bold:700;--phx-font-core-weight-black:900;--phx-font-core-size-52:3.25rem;--phx-font-core-size-48:3rem;--phx-font-core-size-40:2.5rem;--phx-font-core-size-36:2.25rem;--phx-font-core-size-32:2rem;--phx-font-core-size-28:1.75rem;--phx-font-core-size-24:1.5rem;--phx-font-core-size-20:1.25rem;--phx-font-core-size-18:1.125rem;--phx-font-core-size-16:1rem;--phx-font-core-size-14:0.875rem;--phx-font-core-size-12:0.75rem;--phx-font-core-size-10:0.625rem;--phx-font-core-size-9:0.5625rem;--phx-font-core-line-height-170:1.7;--phx-font-core-line-height-150:1.5;--phx-font-core-line-height-130:1.3;--phx-font-core-line-height-120:1.2;--phx-font-core-line-height-105:1.05;--phx-font-core-line-height-100:1;--phx-font-core-family-sans-jp:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,"Noto Sans JP",Helvetica,Arial,sans-serif;--phx-font-core-family-serif:PublicoText,Georgia,Cambria,"Times New Roman",Times,serif;--phx-font-core-family-teritary-sans:AvenirNext,Avenir,Helvetica,sans-serif;--phx-font-core-family-secondary-sans:BWHaasHead,"Helvetica Neue",Helvetica,sans-serif;--phx-font-core-family-sans:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;--phx-space-core-48:3rem;--phx-space-core-44:2.75rem;--phx-space-core-40:2.5rem;--phx-space-core-36:2.25rem;--phx-space-core-32:2rem;--phx-space-core-28:1.75rem;--phx-space-core-24:1.5rem;--phx-space-core-20:1.25rem;--phx-space-core-16:1rem;--phx-space-core-12:0.75rem;--phx-space-core-8:0.5rem;--phx-space-core-6:0.375rem;--phx-space-core-4:0.25rem;--phx-space-core-2:0.125rem;--phx-breakpoint-core-extra-large:83em;--phx-breakpoint-core-large:70em;--phx-breakpoint-core-medium:57em;--phx-breakpoint-core-small:48em;--phx-color-secondary-subscription-900:#100250;--phx-color-secondary-subscription-800:#1c0099;--phx-color-secondary-subscription-700:#2800d7;--phx-color-secondary-subscription-600:#3523ff;--phx-color-secondary-subscription-500:#4f4fff;--phx-color-secondary-subscription-400:#7573ff;--phx-color-secondary-subscription-300:#9ba2ff;--phx-color-secondary-subscription-200:#c3cbff;--phx-color-secondary-subscription-100:#e6ebff;--phx-color-secondary-opinion-900:#000a21;--phx-color-secondary-opinion-800:#002157;--phx-color-secondary-opinion-700:#00378e;--phx-color-secondary-opinion-600:#004ec4;--phx-color-secondary-opinion-500:#0064fa;--phx-color-secondary-opinion-400:#3d89fb;--phx-color-secondary-opinion-300:#7eb2ff;--phx-color-secondary-opinion-200:#d4e5ff;--phx-color-secondary-opinion-100:#f2f7ff;--phx-color-core-white:#fff;--phx-color-core-black:#000;--phx-color-core-none:transparent;--phx-color-core-yellow-900:#1c1000;--phx-color-core-yellow-800:#573b06;--phx-color-core-yellow-700:#8c6000;--phx-color-core-yellow-600:#c48600;--phx-color-core-yellow-500:#e6b120;--phx-color-core-yellow-400:#ffcd1e;--phx-color-core-yellow-300:#ffda5d;--phx-color-core-yellow-200:#ffe79b;--phx-color-core-yellow-100:#fff4da;--phx-color-core-green-900:#001500;--phx-color-core-green-800:#073208;--phx-color-core-green-700:#0e4e10;--phx-color-core-green-600:#146917;--phx-color-core-green-500:#338736;--phx-color-core-green-400:#4db250;--phx-color-core-green-300:#96d18c;--phx-color-core-green-200:#d1edc0;--phx-color-core-green-100:#eff9e9;--phx-color-core-red-900:#1f0000;--phx-color-core-red-800:#4e0300;--phx-color-core-red-700:#800800;--phx-color-core-red-600:#b20e01;--phx-color-core-red-500:#e51503;--phx-color-core-red-400:#f05143;--phx-color-core-red-300:#f68d85;--phx-color-core-red-200:#ffcdca;--phx-color-core-red-100:#fff0f0;--phx-color-core-gray-1000:#1c1c1c;--phx-color-core-gray-900:#262626;--phx-color-core-gray-800:#3c3c3c;--phx-color-core-gray-700:#545454;--phx-color-core-gray-600:#767676;--phx-color-core-gray-500:#999;--phx-color-core-gray-400:#b3b3b3;--phx-color-core-gray-300:#ccc;--phx-color-core-gray-200:#efefef;--phx-color-core-gray-100:#f8f8f8;--phx-radius-core-12:var(--phx-space-core-12);--phx-radius-core-8:var(--phx-space-core-8);--phx-radius-core-4:var(--phx-space-core-4);--phx-icon-core-size-24:var(--phx-space-core-24);--phx-icon-core-size-20:var(--phx-space-core-20);--phx-icon-core-size-16:var(--phx-space-core-16);--phx-icon-core-size-12:var(--phx-space-core-12);--phx-color-warning-background:var(--phx-color-core-yellow-100);--phx-color-warning-primary-text:var(--phx-color-core-yellow-700);--phx-color-warning-primary-hover:var(--phx-color-core-yellow-300);--phx-color-warning-primary:var(--phx-color-core-yellow-400);--phx-color-success-background:var(--phx-color-core-green-100);--phx-color-success-primary-text:var(--phx-color-core-green-600);--phx-color-success-primary-hover:var(--phx-color-core-green-400);--phx-color-success-primary:var(--phx-color-core-green-500);--phx-color-error-background:var(--phx-color-core-red-100);--phx-color-error-primary-text:var(--phx-color-core-red-600);--phx-color-error-primary-hover:var(--phx-color-core-red-400);--phx-color-error-primary:var(--phx-color-core-red-500);--phx-color-markets-neutral-background:var(--phx-color-core-gray-200);--phx-color-markets-neutral:var(--phx-color-core-gray-600);--phx-color-markets-down-background:var(--phx-color-core-red-200);--phx-color-markets-down:var(--phx-color-core-red-500);--phx-color-markets-up-background:var(--phx-color-core-green-200);--phx-color-markets-up:var(--phx-color-core-green-500);--phx-color-text-disabled:var(--phx-color-core-gray-500);--phx-color-text-invert:var(--phx-color-core-white);--phx-color-text-tertiary:var(--phx-color-core-gray-700);--phx-color-text-secondary:var(--phx-color-core-gray-800);--phx-color-text-primary-hover:var(--phx-color-core-gray-700);--phx-color-text-primary:var(--phx-color-core-black);--phx-color-icon-subtle:var(--phx-color-core-gray-600);--phx-color-icon-moderate:var(--phx-color-core-gray-900);--phx-color-icon-strong:var(--phx-color-core-black);--phx-color-fill-disabled:var(--phx-color-core-gray-200);--phx-color-fill-secondary-hover:var(--phx-color-core-gray-200);--phx-color-fill-secondary:var(--phx-color-core-white);--phx-color-fill-primary-hover:var(--phx-color-core-gray-800);--phx-color-fill-primary:var(--phx-color-core-black);--phx-color-border-extra-subtle:var(--phx-color-core-gray-200);--phx-color-border-subtle:var(--phx-color-core-gray-300);--phx-color-border-moderate:var(--phx-color-core-gray-400);--phx-color-border-extra-strong:var(--phx-color-core-black);--phx-color-border-strong:var(--phx-color-core-gray-600);--phx-color-background-secondary:var(--phx-color-core-gray-200);--phx-color-background-primary:var(--phx-color-core-white);--phx-color-subscription-primary-text:var(--phx-color-secondary-subscription-700);--phx-color-subscription-primary-hover:var(--phx-color-secondary-subscription-600);--phx-color-subscription-primary:var(--phx-color-secondary-subscription-700);--phx-color-opinion-background:var(--phx-color-secondary-opinion-100);--phx-color-opinion-primary:var(--phx-color-secondary-opinion-500);--phx-color-live-primary:var(--phx-color-core-red-500);--phx-color-latest-primary:var(--phx-color-core-red-500)}}:root{--article-headline-xxl:var(--phx-font-core-size-36);--article-headline-xxl-xsdu:var(--phx-font-core-size-48);--article-headline-xl:var(--phx-font-core-size-32);--article-headline-xl-xsdu:var(--phx-font-core-size-36);--article-headline-xl-ldt:var(--phx-font-core-size-40);--article-headline-lg:var(--phx-font-core-size-24);--article-headline-lg-xsdu:var(--phx-font-core-size-28);--article-headline-lg-ldt:var(--phx-font-core-size-32);--article-headline-md:var(--phx-font-core-size-24);--article-headline-md-ldt:var(--phx-font-core-size-28);--article-headline-sm:var(--phx-font-core-size-18);--article-headline-sm-ldt:var(--phx-font-core-size-20);--article-headline-xs:var(--phx-font-core-size-16);--article-headline-font-family:var(--phx-font-core-family-secondary-sans);--article-headline-font-family-sm:var(--phx-font-core-family-sans);--article-headline-font-family-serif:var(--phx-font-core-family-serif);--article-headline-leading-lg:var(--phx-font-core-line-height-105);--article-headline-leading-sm:var(--phx-font-core-line-height-120);--article-headline-kerning-xxl:0.045rem;--article-headline-kerning-xl:0.0375rem;--article-headline-kerning-lg:0.03rem;--article-headline-kerning-md:0.0262rem;--article-headline-weight:var(--phx-font-core-weight-medium);--article-dek-size:var(--phx-font-core-size-14);--article-dek-color:var(--phx-color-core-gray-800);--article-dek-line-height:var(--phx-font-core-line-height-130);--article-body-size:var(--phx-font-core-size-18);--article-body-size-lg:var(--phx-font-core-size-20);--article-body-line-height:var(--phx-font-core-line-height-150);--article-label-font-family:var(--phx-font-core-family-sans);--article-label-size:var(--phx-font-core-size-14);--article-label-kerning-caps:0.0088rem;--article-label-leading:var(--phx-font-core-line-height-120);--article-label-md-weight:var(--phx-font-core-weight-medium);--core-font-family:var(--phx-font-core-family-sans);--core-headline-xl:var(--phx-font-core-size-52);--core-headline-lg:var(--phx-font-core-size-40);--core-headline-md:var(--phx-font-core-size-32);--core-headline-sm:var(--phx-font-core-size-24);--core-headline-xs:var(--phx-font-core-size-20);--core-headline-xxs:var(--phx-font-core-size-16);--core-headline-leading-lg:var(--phx-font-core-line-height-105);--core-headline-leading-sm:var(--phx-font-core-line-height-120);--core-headline-weight:var(--phx-font-core-weight-bold);--core-short-text-md:var(--phx-font-core-size-16);--core-short-text-sm:var(--phx-font-core-size-14);--core-short-text-xs:var(--phx-font-core-size-12);--core-short-text-xxs:var(--phx-font-core-size-10);--core-short-text-leading:var(--phx-font-core-line-height-120);--core-paragraph-md:var(--phx-font-core-size-16);--core-paragraph-sm:var(--phx-font-core-size-14);--core-paragraph-xs:var(--phx-font-core-size-12);--core-paragraph-xxs:var(--phx-font-core-size-10);--core-paragraph-leading:var(--phx-font-core-line-height-130)}:is(html[lang=ja]){--article-headline-xxl:var(--phx-font-core-size-32);--article-headline-xxl-xsdu:var(--phx-font-core-size-48);--article-headline-xl:var(--phx-font-core-size-28);--article-headline-xl-xsdu:var(--phx-font-core-size-32);--article-headline-xl-ldt:var(--phx-font-core-size-32);--article-headline-lg:var(--phx-font-core-size-24);--article-headline-lg-xsdu:var(--phx-font-core-size-28);--article-headline-lg-ldt:var(--phx-font-core-size-28);--article-headline-md:var(--phx-font-core-size-24);--article-headline-md-ldt:var(--phx-font-core-size-28);--article-headline-sm:var(--phx-font-core-size-16);--article-headline-sm-ldt:var(--phx-font-core-size-20);--article-headline-font-family:var(--phx-font-core-family-sans-jp);--article-headline-font-family-sm:var(--phx-font-core-family-sans-jp);--article-headline-font-family-serif:var(--phx-font-core-family-sans-jp);--article-headline-leading-lg:var(--phx-font-core-line-height-130);--article-headline-leading-sm:var(--phx-font-core-line-height-150);--article-headline-kerning-xxl:0;--article-headline-kerning-xl:0;--article-headline-kerning-lg:0;--article-headline-kerning-md:0;--article-headline-weight:var(--phx-font-core-weight-bold);--article-dek-line-height:var(--phx-font-core-line-height-150);--article-body-size:var(--phx-font-core-size-16);--article-body-size-lg:var(--phx-font-core-size-18);--article-body-line-height:var(--phx-font-core-line-height-170);--article-label-font-family:var(--phx-font-core-family-sans-jp);--article-label-kerning-caps:0;--article-label-leading:var(--phx-font-core-line-height-150);--article-label-md-weight:var(--phx-font-core-weight-bold);--core-font-family:var(--phx-font-core-family-sans-jp);--core-headline-xl:var(--phx-font-core-size-40);--core-headline-lg:var(--phx-font-core-size-36);--core-headline-leading-lg:var(--phx-font-core-line-height-130);--core-headline-leading-sm:var(--phx-font-core-line-height-150);--core-short-text-leading:var(--phx-font-core-line-height-150);--core-paragraph-leading:var(--phx-font-core-line-height-170)}@layer tailwind-base{*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:PublicoTextMono,Courier,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-.125rem}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}:root{--color-black:#000;--color-white:#fff;--color-transparent-white:hsla(0,0%,100%,0);--color-blue-100:#e6ebff;--color-blue-200:#c3cbff;--color-blue-300:#9ba2ff;--color-blue-400:#7573ff;--color-blue-500:#4f4fff;--color-blue-600:#3523ff;--color-blue-700:#2800d7;--color-blue-800:#0d1e7a;--color-blue-900:#02124b;--color-blue-refresh2024-100:#f2f7ff;--color-blue-refresh2024-200:#d4e5ff;--color-blue-refresh2024-300:#7eb2ff;--color-blue-refresh2024-400:#3d89fb;--color-blue-refresh2024-500:#0064fa;--color-blue-refresh2024-600:#004ec4;--color-blue-refresh2024-700:#00378e;--color-blue-refresh2024-800:#002157;--color-blue-refresh2024-900:#000a21;--color-gray-100:#f8f8f8;--color-gray-200:#efefef;--color-gray-300:#ccc;--color-gray-400:#b3b3b3;--color-gray-500:#999;--color-gray-600:#767676;--color-gray-700:#545454;--color-gray-800:#3c3c3c;--color-gray-900:#262626;--color-gray-1000:#1c1c1c;--color-red-100:#fff0f0;--color-red-200:#ffd8d6;--color-red-300:#ffa6a6;--color-red-400:#ff7570;--color-red-500:#f34f4e;--color-red-600:#e42918;--color-red-700:#ba121d;--color-red-800:#8e1010;--color-red-900:#690303;--color-red-refresh2024-100:#fff0f0;--color-red-refresh2024-150:#ffe1df;--color-red-refresh2024-200:#ffcdca;--color-red-refresh2024-300:#f68d85;--color-red-refresh2024-400:#f05143;--color-red-refresh2024-500:#e51503;--color-red-refresh2024-600:#b20e01;--color-red-refresh2024-700:#800800;--color-red-refresh2024-800:#4e0300;--color-red-refresh2024-900:#1f0000;--color-green-100:#f0f7f5;--color-green-200:#c1f6e4;--color-green-300:#7eedc8;--color-green-400:#30d8a0;--color-green-500:#2abd8c;--color-green-600:#25a278;--color-green-700:#0a8059;--color-green-800:#07593b;--color-green-900:#08452f;--color-green-refresh2024-100:#eff9e9;--color-green-refresh2024-150:#e4f4d9;--color-green-refresh2024-200:#d1edc0;--color-green-refresh2024-300:#96d18c;--color-green-refresh2024-400:#4db250;--color-green-refresh2024-500:#338736;--color-green-refresh2024-600:#146917;--color-green-refresh2024-700:#0e4e10;--color-green-refresh2024-800:#073208;--color-green-refresh2024-900:#001500;--color-yellow-100:#fdf6d2;--color-yellow-200:#feee9e;--color-yellow-300:#fee76d;--color-yellow-400:#ffdf3d;--color-yellow-500:#ffd600;--color-yellow-600:#cbaa04;--color-yellow-700:#977d09;--color-yellow-800:#63510d;--color-yellow-900:#493b05;--color-yellow-refresh2024-100:#fff4da;--color-yellow-refresh2024-200:#ffe79b;--color-yellow-refresh2024-300:#ffda5d;--color-yellow-refresh2024-400:#ffcd1e;--color-yellow-refresh2024-500:#e6b120;--color-yellow-refresh2024-600:#c48600;--color-yellow-refresh2024-700:#86c000;--color-yellow-refresh2024-800:#573b06;--color-yellow-refresh2024-900:#1c1000;--color-qt-navy:#131638;--color-qt-green:#4af6c3;--color-opinion-blue:#0068ff;--color-bbgreen-green:#14eb1e;--color-citylab-orange:#ff6200;--color-amber:#ffc400;--color-gray-bg:#fafafa;--color-chambray:#3b5998;--color-malibu:#48c5fb;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:none;text-rendering:optimizeLegibility}}.\!container{width:100%!important}.container{width:100%}@media (min-width:767px){.\!container{max-width:47.9375rem!important}.container{max-width:47.9375rem}}@media (min-width:768px){.\!container{max-width:48rem!important}.container{max-width:48rem}}@media (min-width:912px){.\!container{max-width:57rem!important}.container{max-width:57rem}}@media (min-width:1088px){.\!container{max-width:68rem!important}.container{max-width:68rem}}@media (min-width:1123px){.\!container{max-width:70.1875rem!important}.container{max-width:70.1875rem}}@media (min-width:1300px){.\!container{max-width:81.25rem!important}.container{max-width:81.25rem}}@media (min-width:1335px){.\!container{max-width:83.4375rem!important}.container{max-width:83.4375rem}}@media (min-width:1440px){.\!container{max-width:90rem!important}.container{max-width:90rem}}@media (min-width:1536px){.\!container{max-width:96rem!important}.container{max-width:96rem}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.\!invisible{visibility:hidden!important}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-\[1px\]{bottom:1px}.bottom-\[3px\]{bottom:.1875rem}.bottom-\[5px\]{bottom:.3125rem}.left-0{left:0}.left-\[-14px\]{left:-.875rem}.left-\[3px\]{left:.1875rem}.left-\[43\%\]{left:43%}.left-\[4px\]{left:.25rem}.left-\[83\%\]{left:83%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-\[100px\]{top:6.25rem}.top-\[137px\]{top:8.5625rem}.top-\[15px\]{top:.9375rem}.top-\[19px\]{top:1.1875rem}.top-\[1px\]{top:1px}.top-\[200px\]{top:12.5rem}.top-\[2px\]{top:.125rem}.top-\[34px\]{top:2.125rem}.top-\[calc\(100\%\+4px\)\]{top:calc(100% + .25rem)}.top-auto{top:auto}.isolate{isolation:isolate}.\!z-\[1000\]{z-index:1000!important}.z-1{z-index:1}.z-20{z-index:20}.z-50{z-index:50}.z-\[-1\]{z-index:-1}.z-\[10000\]{z-index:10000}.z-\[1000\]{z-index:1000}.z-\[1001\]{z-index:1001}.z-\[2\]{z-index:2}.z-\[99\]{z-index:99}.z-max{z-index:14678}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.m-0{margin:0}.m-\[25px\]{margin:1.5625rem}.m-auto{margin:auto}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-mx-\[10px\]{margin-left:-.625rem;margin-right:-.625rem}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-\[18px\]{margin-left:1.125rem;margin-right:1.125rem}.mx-\[35px\]{margin-left:2.1875rem;margin-right:2.1875rem}.mx-\[4px\]{margin-left:.25rem;margin-right:.25rem}.mx-\[5px\]{margin-left:.3125rem;margin-right:.3125rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-bottom:0;margin-top:0}.my-1{margin-bottom:.25rem;margin-top:.25rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.my-5{margin-bottom:1.25rem;margin-top:1.25rem}.my-\[11px\]{margin-bottom:.6875rem;margin-top:.6875rem}.my-\[24px\]{margin-bottom:1.5rem;margin-top:1.5rem}.\!mb-0{margin-bottom:0!important}.\!mr-\[12px\]{margin-right:.75rem!important}.mb-0{margin-bottom:0}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[1px\]{margin-bottom:1px}.mb-\[20px\]{margin-bottom:1.25rem}.mb-\[22px\]{margin-bottom:1.375rem}.mb-\[2px\]{margin-bottom:.125rem}.mb-\[32px\]{margin-bottom:2rem}.mb-\[3px\]{margin-bottom:.1875rem}.mb-\[6px\]{margin-bottom:.375rem}.ml-0{margin-left:0}.ml-2{margin-left:.5rem}.ml-\[10px\]{margin-left:.625rem}.ml-\[110px\]{margin-left:6.875rem}.ml-\[12px\]{margin-left:.75rem}.ml-\[5px\]{margin-left:.3125rem}.ml-\[7px\]{margin-left:.4375rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1\.5{margin-right:.375rem}.mr-3{margin-right:.75rem}.mr-\[20px\]{margin-right:1.25rem}.mr-\[24px\]{margin-right:1.5rem}.mr-\[36px\]{margin-right:2.25rem}.mr-\[39px\]{margin-right:2.4375rem}.mr-\[3px\]{margin-right:.1875rem}.mr-\[5px\]{margin-right:.3125rem}.mr-\[88px\]{margin-right:5.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[-10px\]{margin-top:-.625rem}.mt-\[-2px\]{margin-top:-.125rem}.mt-\[-94px\]{margin-top:-5.875rem}.mt-\[11px\]{margin-top:.6875rem}.mt-\[15px\]{margin-top:.9375rem}.mt-\[17px\]{margin-top:1.0625rem}.mt-\[18px\]{margin-top:1.125rem}.mt-\[3px\]{margin-top:.1875rem}.mt-\[42px\]{margin-top:2.625rem}.mt-\[5px\]{margin-top:.3125rem}.mt-\[9px\]{margin-top:.5625rem}.box-border{box-sizing:border-box}.\!block{display:block!important}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.\!hidden{display:none!important}.hidden{display:none}.aspect-\[100000\/44755\]{aspect-ratio:100000/44755}.aspect-\[103\/52\]{aspect-ratio:103/52}.aspect-\[618\/220\]{aspect-ratio:618/220}.aspect-\[827\/579\]{aspect-ratio:827/579}.aspect-\[830\/420\]{aspect-ratio:830/420}.\!h-2{height:.5rem!important}.\!h-3{height:.75rem!important}.\!h-\[133px\]{height:8.3125rem!important}.\!h-\[31px\]{height:1.9375rem!important}.\!h-\[40px\]{height:2.5rem!important}.\!h-auto{height:auto!important}.h-0{height:0}.h-0\.5{height:.125rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[12px\]{height:.75rem}.h-\[14px\]{height:.875rem}.h-\[175px\]{height:10.9375rem}.h-\[18px\]{height:1.125rem}.h-\[19px\]{height:1.1875rem}.h-\[1px\]{height:1px}.h-\[200px\]{height:12.5rem}.h-\[20px\]{height:1.25rem}.h-\[22px\]{height:1.375rem}.h-\[23px\]{height:1.4375rem}.h-\[260px\]{height:16.25rem}.h-\[28px\]{height:1.75rem}.h-\[2px\]{height:.125rem}.h-\[300px\]{height:18.75rem}.h-\[30px\]{height:1.875rem}.h-\[31px\]{height:1.9375rem}.h-\[32px\]{height:2rem}.h-\[34px\]{height:2.125rem}.h-\[36px\]{height:2.25rem}.h-\[3px\]{height:.1875rem}.h-\[400px\]{height:25rem}.h-\[40px\]{height:2.5rem}.h-\[45px\]{height:2.8125rem}.h-\[46px\]{height:2.875rem}.h-\[49\.5px\]{height:3.09375rem}.h-\[540px\]{height:33.75rem}.h-\[55px\]{height:3.4375rem}.h-\[586px\]{height:36.625rem}.h-\[60\%\]{height:60%}.h-\[600px\]{height:37.5rem}.h-\[60px\]{height:3.75rem}.h-\[64px\]{height:4rem}.h-\[69px\]{height:4.3125rem}.h-\[71px\]{height:4.4375rem}.h-\[76px\]{height:4.75rem}.h-\[78px\]{height:4.875rem}.h-\[83px\]{height:5.1875rem}.h-\[88px\]{height:5.5rem}.h-\[96px\]{height:6rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-px{height:1px}.max-h-0{max-height:0}.max-h-\[155px\]{max-height:9.6875rem}.max-h-\[540px\]{max-height:33.75rem}.max-h-\[600px\]{max-height:37.5rem}.max-h-\[60px\]{max-height:3.75rem}.max-h-\[720px\]{max-height:45rem}.max-h-\[unset\]{max-height:none}.\!min-h-\[20px\]{min-height:1.25rem!important}.\!min-h-\[unset\]{min-height:0!important;min-height:auto!important}.min-h-0{min-height:0}.min-h-9{min-height:2.25rem}.min-h-\[200px\]{min-height:12.5rem}.min-h-\[29px\]{min-height:1.8125rem}.min-h-\[314px\]{min-height:19.625rem}.min-h-\[440px\]{min-height:27.5rem}.min-h-\[444px\]{min-height:27.75rem}.min-h-\[75vh\]{min-height:75vh}.min-h-screen{min-height:100vh}.\!w-3{width:.75rem!important}.\!w-4{width:1rem!important}.\!w-\[140px\]{width:8.75rem!important}.\!w-\[162px\]{width:10.125rem!important}.\!w-\[180px\]{width:11.25rem!important}.w-1\/2{width:50%}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-11\/12{width:91.666667%}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/3{width:66.666667%}.w-24{width:6rem}.w-3{width:.75rem}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[100px\]{width:6.25rem}.w-\[103px\]{width:6.4375rem}.w-\[10px\]{width:.625rem}.w-\[110px\]{width:6.875rem}.w-\[12px\]{width:.75rem}.w-\[130px\]{width:8.125rem}.w-\[134px\]{width:8.375rem}.w-\[13px\]{width:.8125rem}.w-\[140px\]{width:8.75rem}.w-\[148\.5px\]{width:9.28125rem}.w-\[14px\]{width:.875rem}.w-\[160px\]{width:10rem}.w-\[168px\]{width:10.5rem}.w-\[196px\]{width:12.25rem}.w-\[1px\]{width:1px}.w-\[20px\]{width:1.25rem}.w-\[220px\]{width:13.75rem}.w-\[22px\]{width:1.375rem}.w-\[23px\]{width:1.4375rem}.w-\[248px\]{width:15.5rem}.w-\[280px\]{width:17.5rem}.w-\[2px\]{width:.125rem}.w-\[300px\]{width:18.75rem}.w-\[31px\]{width:1.9375rem}.w-\[322px\]{width:20.125rem}.w-\[344px\]{width:21.5rem}.w-\[360px\]{width:22.5rem}.w-\[40px\]{width:2.5rem}.w-\[44px\]{width:2.75rem}.w-\[50px\]{width:3.125rem}.w-\[52px\]{width:3.25rem}.w-\[60px\]{width:3.75rem}.w-\[70px\]{width:4.375rem}.w-\[745px\]{width:46.5625rem}.w-\[77px\]{width:4.8125rem}.w-\[94px\]{width:5.875rem}.w-\[96px\]{width:6rem}.w-\[calc\(100\%-110px\)\]{width:calc(100% - 6.875rem)}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0}.min-w-\[124px\]{min-width:7.75rem}.min-w-\[160px\]{min-width:10rem}.min-w-\[248px\]{min-width:15.5rem}.min-w-\[300px\]{min-width:18.75rem}.min-w-\[353px\]{min-width:22.0625rem}.min-w-\[60px\]{min-width:3.75rem}.max-w-4xl{max-width:56rem}.max-w-\[100px\]{max-width:6.25rem}.max-w-\[140px\]{max-width:8.75rem}.max-w-\[156px\]{max-width:9.75rem}.max-w-\[193px\]{max-width:12.0625rem}.max-w-\[235px\]{max-width:14.6875rem}.max-w-\[25\%\]{max-width:25%}.max-w-\[300px\]{max-width:18.75rem}.max-w-\[375px\]{max-width:23.4375rem}.max-w-\[404px\]{max-width:25.25rem}.max-w-\[50\%\]{max-width:50%}.max-w-\[72px\]{max-width:4.5rem}.max-w-\[calc\(100\%-75px\)\]{max-width:calc(100% - 4.6875rem)}.max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-\[1_0_0\]{flex:1 0 0}.flex-\[3\]{flex:3}.flex-\[6\]{flex:6}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.basis-0{flex-basis:0px}.basis-\[25\%\]{flex-basis:25%}.basis-\[35px\]{flex-basis:2.1875rem}.basis-\[40\%\]{flex-basis:40%}.basis-\[50\%\]{flex-basis:50%}.basis-\[60\%\]{flex-basis:60%}.table-auto{table-layout:auto}.-translate-y-1\/2{--tw-translate-y:-50%}.-translate-y-1\/2,.translate-x-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.translate-x-\[-110\%\]{--tw-translate-x:-110%}.translate-x-\[-110\%\],.translate-x-\[105\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[105\%\]{--tw-translate-x:105%}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.grid-flow-col{grid-auto-flow:column}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-wrap-reverse{flex-wrap:wrap-reverse}.content-center{align-content:center}.content-start{align-content:flex-start}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-stretch{justify-content:stretch}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-\[18px\]{gap:1.125rem}.gap-\[7px\]{gap:.4375rem}.gap-\[9px\]{gap:.5625rem}.gap-x-18{-moz-column-gap:1.125rem;column-gap:1.125rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-x-\[18px\]{-moz-column-gap:1.125rem;column-gap:1.125rem}.gap-y-2{row-gap:.5rem}.space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.125rem*var(--tw-space-x-reverse))}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-hidden{overflow-y:hidden}.overflow-x-scroll{overflow-x:scroll}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;white-space:nowrap}.overflow-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.break-words{overflow-wrap:break-word}.\!rounded{border-radius:.25rem!important}.\!rounded-\[50\%\]{border-radius:50%!important}.rounded{border-radius:.25rem}.rounded-\[0px\]{border-radius:0}.rounded-\[28px\]{border-radius:1.75rem}.rounded-\[31px\]{border-radius:1.9375rem}.rounded-\[50\%\]{border-radius:50%}.rounded-\[6px\]{border-radius:.375rem}.rounded-full{border-radius:624.9375rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.25rem}.rounded-none{border-radius:0}.rounded-xl{border-radius:.75rem}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.rounded-bl-\[0px\]{border-bottom-left-radius:0}.rounded-br-\[0px\]{border-bottom-right-radius:0}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:.125rem}.border-y{border-bottom-width:1px;border-top-width:1px}.\!border-t-0{border-top-width:0!important}.border-b{border-bottom-width:1px}.border-l,.border-l-\[1px\]{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-dotted{border-style:dotted}.border-none{border-style:none}.border-black{border-color:var(--color-black)}.border-boulder{--tw-border-opacity:1;border-color:rgb(118 118 118/var(--tw-border-opacity,1))}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-gray-600{border-color:var(--color-gray-600)}.border-green-600{border-color:var(--color-green-600)}.border-markets-orange{--tw-border-opacity:1;border-color:rgb(251 139 30/var(--tw-border-opacity,1))}.border-red-700{border-color:var(--color-red-700)}.border-white{border-color:var(--color-white)}.border-yellow-200{border-color:var(--color-yellow-200)}.\!bg-black{background-color:var(--color-black)!important}.\!bg-yellow-400{background-color:var(--color-yellow-400)!important}.bg-background{background-color:var(--next-bg-color)}.bg-background-lighter{background-color:var(--next-bg-lighter)}.bg-black{background-color:var(--color-black)}.bg-blue-200{background-color:var(--color-blue-200)}.bg-concrete{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))}.bg-coral-red{--tw-bg-opacity:1;background-color:rgb(255 67 61/var(--tw-bg-opacity,1))}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-1000{background-color:var(--color-gray-1000)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-green-200{background-color:var(--color-green-200)}.bg-green-700{background-color:var(--color-green-700)}.bg-green-refresh2024-300{background-color:var(--color-green-refresh2024-300)}.bg-green-refresh2024-500{background-color:var(--color-green-refresh2024-500)}.bg-green-refresh2024-700{background-color:var(--color-green-refresh2024-700)}.bg-ice-cold{--tw-bg-opacity:1;background-color:rgb(156 244 220/var(--tw-bg-opacity,1))}.bg-orange-200{--tw-bg-opacity:1;background-color:rgb(254 215 170/var(--tw-bg-opacity,1))}.bg-pippin{--tw-bg-opacity:1;background-color:rgb(255 225 225/var(--tw-bg-opacity,1))}.bg-red-600{background-color:var(--color-red-600)}.bg-red-refresh2024-300{background-color:var(--color-red-refresh2024-300)}.bg-red-refresh2024-500{background-color:var(--color-red-refresh2024-500)}.bg-red-refresh2024-700{background-color:var(--color-red-refresh2024-700)}.bg-transparent{background-color:transparent}.bg-transparent-concrete{background-color:rgba(0,0,0,.05)}.bg-transparent-white{background-color:var(--color-transparent-white)}.bg-white{background-color:var(--color-white)}.bg-yellow-200{background-color:var(--color-yellow-200)}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity,1))}.fill-black{fill:var(--color-black)}.fill-white{fill:var(--color-white)}.stroke-black{stroke:var(--color-black)}.stroke-chart-orange{stroke:#ff6200}.stroke-2{stroke-width:2}.object-cover{-o-object-fit:cover;object-fit:cover}.\!p-0{padding:0!important}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[10px\]{padding:.625rem}.p-\[3px\]{padding:.1875rem}.p-\[60px\]{padding:3.75rem}.p-\[7\.5px\]{padding:.46875rem}.p-\[9px\]{padding:.5625rem}.\!px-0{padding-left:0!important;padding-right:0!important}.\!py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\[10px\]{padding-left:.625rem;padding-right:.625rem}.px-\[12px\]{padding-left:.75rem;padding-right:.75rem}.px-\[16px\]{padding-left:1rem;padding-right:1rem}.px-\[18px\]{padding-left:1.125rem;padding-right:1.125rem}.px-\[30px\]{padding-left:1.875rem;padding-right:1.875rem}.px-\[35px\]{padding-left:2.1875rem;padding-right:2.1875rem}.px-\[5px\]{padding-left:.3125rem;padding-right:.3125rem}.px-\[60px\]{padding-left:3.75rem;padding-right:3.75rem}.py-0{padding-bottom:0;padding-top:0}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-16{padding-bottom:4rem;padding-top:4rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-3\.5{padding-bottom:.875rem;padding-top:.875rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.py-\[10px\]{padding-bottom:.625rem;padding-top:.625rem}.py-\[20px\]{padding-bottom:1.25rem;padding-top:1.25rem}.py-\[5px\]{padding-bottom:.3125rem;padding-top:.3125rem}.py-\[7px\]{padding-bottom:.4375rem;padding-top:.4375rem}.py-\[8px\]{padding-bottom:.5rem;padding-top:.5rem}.py-px{padding-bottom:1px;padding-top:1px}.\!pl-0{padding-left:0!important}.\!pr-\[10px\]{padding-right:.625rem!important}.\!pr-\[20px\]{padding-right:1.25rem!important}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-\[17px\]{padding-bottom:1.0625rem}.pb-\[199px\]{padding-bottom:12.4375rem}.pb-\[50\.4\%\]{padding-bottom:50.4%}.pb-\[526px\]{padding-bottom:32.875rem}.pb-\[7px\]{padding-bottom:.4375rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-\[10px\]{padding-left:.625rem}.pl-\[35px\]{padding-left:2.1875rem}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-6{padding-right:1.5rem}.pr-\[20px\]{padding-right:1.25rem}.pr-\[30px\]{padding-right:1.875rem}.pr-\[5px\]{padding-right:.3125rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-\[17px\]{padding-top:1.0625rem}.pt-\[18px\]{padding-top:1.125rem}.pt-\[28px\]{padding-top:1.75rem}.pt-\[3\.8px\]{padding-top:.2375rem}.pt-\[6\.8px\]{padding-top:.425rem}.pt-\[60px\]{padding-top:3.75rem}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-BWHaasGroteskTF{font-family:BWHaasGroteskTF,BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif}.font-\[\"BWHaasGroteskWeb\"\]{font-family:BWHaasGroteskWeb}.font-\[\"sans-serif\"\]{font-family:"sans-serif"}.font-sans{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif}.\!text-\[10px\]{font-size:.625rem!important}.\!text-scale-6{font-size:1.5rem!important;line-height:1.2!important}.\!text-sm{font-size:.875rem!important;line-height:1.3125rem!important}.\!text-xs{font-size:.75rem!important;line-height:1.125rem!important}.text-2xl{font-size:1.875rem;line-height:2rem}.text-3xl{font-size:2.25rem;line-height:2.375rem}.text-\[10px\]{font-size:.625rem}.text-\[11px\]{font-size:.6875rem}.text-\[13px\]{font-size:.8125rem}.text-\[14px\]{font-size:.875rem}.text-\[15px\]{font-size:.9375rem}.text-\[16px\]{font-size:1rem}.text-\[24px\]{font-size:1.5rem}.text-\[32px\]{font-size:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-caption{font-size:1rem;line-height:1.2}.text-caption-sm{font-size:.875rem;line-height:1.2}.text-caption-xs{font-size:.75rem;line-height:1.2}.text-caption-xxs{font-size:.625rem;line-height:1.2}.text-heading-sm{font-size:1.5rem;line-height:1.2}.text-heading-xs{font-size:1.25rem;line-height:1.2}.text-lg{font-size:1.25rem;line-height:1.5rem}.text-scale-0{font-size:.625rem;line-height:1.5}.text-scale-1{font-size:.75rem;line-height:1.5}.text-scale-11{font-size:3.75rem;line-height:1.05}.text-scale-2{font-size:.875rem;line-height:1.5}.text-scale-4{font-size:1.125rem;line-height:1.2}.text-scale-5{font-size:1.25rem;line-height:1.2}.text-scale-6{font-size:1.5rem;line-height:1.2}.text-sm{font-size:.875rem;line-height:1.3125rem}.text-xl{font-size:1.5rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1.125rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal}.ordinal,.tabular-nums{font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.tabular-nums{--tw-numeric-spacing:tabular-nums}.\!leading-\[10px\]{line-height:.625rem!important}.leading-3{line-height:.75rem}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-\[1\.05\]{line-height:1.05}.leading-\[1\.15\]{line-height:1.15}.leading-\[1\.17\]{line-height:1.17}.leading-\[1\.2\]{line-height:1.2}.leading-\[1\.33\]{line-height:1.33}.leading-\[1\.3\]{line-height:1.3}.leading-\[1\.5\]{line-height:1.5}.leading-\[100\%\]{line-height:100%}.leading-\[120\%\]{line-height:120%}.leading-\[130\%\]{line-height:130%}.leading-\[14px\]{line-height:.875rem}.leading-\[150\%\]{line-height:150%}.leading-\[16px\]{line-height:1rem}.leading-\[18px\]{line-height:1.125rem}.leading-\[19\.2px\]{line-height:1.2rem}.leading-\[20px\]{line-height:1.25rem}.leading-\[2rem\]{line-height:2rem}.leading-\[60px\]{line-height:3.75rem}.leading-\[normal\]{line-height:normal}.leading-caption{line-height:1.2}.leading-headline{line-height:1.05}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-\[-0\.26px\]{letter-spacing:-.26px}.tracking-\[-0\.3px\]{letter-spacing:-.3px}.tracking-\[0\.24px\]{letter-spacing:.24px}.tracking-\[0\.2px\]{letter-spacing:.2px}.tracking-\[0\.36px\]{letter-spacing:.36px}.tracking-\[0\.48px\]{letter-spacing:.48px}.tracking-\[0\.5px\]{letter-spacing:.5px}.tracking-wide{letter-spacing:.025em}.\!text-black{color:var(--color-black)!important}.\!text-white{color:var(--color-white)!important}.text-\[\#3C3C3C\]{--tw-text-opacity:1;color:rgb(60 60 60/var(--tw-text-opacity,1))}.text-\[inherit\]{color:inherit}.text-black{color:var(--color-black)}.text-blue-600{color:var(--color-blue-600)}.text-boulder{--tw-text-opacity:1;color:rgb(118 118 118/var(--tw-text-opacity,1))}.text-gray-200{color:var(--color-gray-200)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-700{color:var(--color-green-700)}.text-new-red-500{--tw-text-opacity:1;color:rgb(229 21 3/var(--tw-text-opacity,1))}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.text-yellow-800{color:var(--color-yellow-800)}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-\[38\%\]{opacity:38%}.shadow{--tw-shadow:0 1px 0.1875rem 0 rgba(0,0,0,.1),0 1px 0.125rem -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 0.1875rem 0 var(--tw-shadow-color),0 1px 0.125rem -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 1.5625rem 3.125rem -0.75rem rgba(0,0,0,.25);--tw-shadow-colored:0 1.5625rem 3.125rem -0.75rem var(--tw-shadow-color)}.shadow-\[2px_2px_14px_0_rgba\(0\2c 0\2c 0\2c 0\.15\)\]{--tw-shadow:0.125rem 0.125rem 0.875rem 0 rgba(0,0,0,.15);--tw-shadow-colored:0.125rem 0.125rem 0.875rem 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[4px_4px_8px_0px_rgba\(0\2c 0\2c 0\2c 0\.12\)\]{--tw-shadow:0.25rem 0.25rem 0.5rem 0px rgba(0,0,0,.12);--tw-shadow-colored:0.25rem 0.25rem 0.5rem 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-2{outline-width:.125rem}.outline-white{outline-color:var(--color-white)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0.1875rem + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(0.5rem)}.blur,.drop-shadow{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 0.125rem rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06))}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-\[max-height\]{transition-duration:.15s;transition-property:max-height;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-position{transition-duration:.15s;transition-property:opacity,left,top;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-shadow{transition-duration:.15s;transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform-width{transition-duration:.15s;transition-property:transform,width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-\[330ms\]{transition-duration:.33s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.content-empty{--tw-content:"";content:var(--tw-content)}:root{--next-link-color:#3578e5;--next-bg-color:#f8d69b;--next-bg-lighter:#f2d8ac;--next-accent-color:green}.react-datepicker__day--keyboard-selected,.react-datepicker__day--selected,.react-datepicker__day--selected:hover,.react-datepicker__day:hover{background-color:var(--color-black)!important;border-radius:50%!important;color:var(--color-white)!important}.react-datepicker__day--selected,.react-datepicker__day--selected:hover{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-weight:700}.react-datepicker__day--outside-month{opacity:38%}.plug-banner{animation:slideIn .3s ease-in;bottom:0;left:0;position:fixed;right:0;width:100%;z-index:10000}.atomics-Modal-backdrop{z-index:200}.atomics-Modal-popup{overflow:hidden;z-index:201}.atomics-Combobox-portal>*{z-index:202}html{font-family:var(--phx-font-core-family-sans);font-size:100%}html:lang(ja){font-family:var(--phx-font-core-family-sans-jp)}body{font-size:var(--phx-font-core-size-16);font-weight:var(--phx-font-core-weight-regular)}.before\:\!left-\[var\(--glider-left\)\]:before{content:var(--tw-content);left:var(--glider-left)!important}.after\:table:after{content:var(--tw-content);display:table}.after\:content-empty:after{--tw-content:"";content:var(--tw-content)}.first\:flex-shrink-0:first-child{flex-shrink:0}.first\:flex-grow-0:first-child{flex-grow:0}.first\:basis-\[25px\]:first-child{flex-basis:1.5625rem}.first\:border-t:first-child{border-top-width:1px}.first\:pl-0:first-child{padding-left:0}.last\:pr-0:last-child{padding-right:0}.odd\:right-\[15px\]:nth-child(odd){right:.9375rem}.odd\:border-r:nth-child(odd){border-right-width:1px}.odd\:border-t:nth-child(odd){border-top-width:1px}.even\:left-\[15px\]:nth-child(2n){left:.9375rem}.even\:border-b:nth-child(2n){border-bottom-width:1px}.even\:border-l:nth-child(2n){border-left-width:1px}.first-of-type\:absolute:first-of-type{position:absolute}.first-of-type\:left-0:first-of-type{left:0}.first-of-type\:ml-0:first-of-type{margin-left:0}.first-of-type\:border-t:first-of-type{border-top-width:1px}.first-of-type\:border-dotted:first-of-type{border-style:dotted}.empty\:hidden:empty{display:none}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-gray-900:hover{color:var(--color-gray-900)}.hover\:underline:hover{text-decoration-line:underline}.focus\:border-2:focus{border-width:.125rem}.focus\:border-black:focus{border-color:var(--color-black)}.focus-visible\:outline-none:focus-visible{outline:.125rem solid transparent;outline-offset:.125rem}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0.125rem + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.active\:underline:active{text-decoration-line:underline}@media (min-width:768px){.md\:text-4xl{font-size:2.625rem;line-height:2.75rem}}@media (min-width:1088px){.lg\:text-5xl{font-size:3rem;line-height:3.125rem}}@media (max-width:767px){.mobile\:absolute{position:absolute}.mobile\:mx-\[18px\]{margin-left:1.125rem;margin-right:1.125rem}.mobile\:ml-\[18px\]{margin-left:1.125rem}.mobile\:mt-0{margin-top:0}.mobile\:block{display:block}.mobile\:\!flex{display:flex!important}.mobile\:flex{display:flex}.mobile\:hidden{display:none}.mobile\:h-\[100vw\]{height:100vw}.mobile\:h-\[442px\]{height:27.625rem}.mobile\:min-h-\[216px\]{min-height:13.5rem}.mobile\:min-h-\[345px\]{min-height:21.5625rem}.mobile\:min-h-\[466px\]{min-height:29.125rem}.mobile\:\!w-full{width:100%!important}.mobile\:w-\[140px\]{width:8.75rem}.mobile\:w-\[175px\]{width:10.9375rem}.mobile\:w-full{width:100%}.mobile\:max-w-\[100px\]{max-width:6.25rem}.mobile\:flex-grow{flex-grow:1}.mobile\:translate-x-0{--tw-translate-x:0px}.mobile\:translate-x-0,.mobile\:translate-x-\[-105\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.mobile\:translate-x-\[-105\%\]{--tw-translate-x:-105%}.mobile\:translate-x-\[-110\%\]{--tw-translate-x:-110%}.mobile\:translate-x-\[-110\%\],.mobile\:translate-x-\[-145\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.mobile\:translate-x-\[-145\%\]{--tw-translate-x:-145%}.mobile\:translate-x-\[105\%\]{--tw-translate-x:105%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.mobile\:flex-wrap{flex-wrap:wrap}.mobile\:justify-between{justify-content:space-between}.mobile\:justify-evenly{justify-content:space-evenly}.mobile\:gap-6{gap:1.5rem}.mobile\:gap-\[54px\]{gap:3.375rem}.mobile\:overflow-visible{overflow:visible}.mobile\:p-6{padding:1.5rem}.mobile\:px-\[18px\]{padding-left:1.125rem;padding-right:1.125rem}.mobile\:pb-0{padding-bottom:0}.mobile\:pb-\[157px\]{padding-bottom:9.8125rem}.mobile\:pb-\[15px\]{padding-bottom:.9375rem}.mobile\:pb-\[454px\]{padding-bottom:28.375rem}.mobile\:pl-\[18px\]{padding-left:1.125rem}.mobile\:pt-\[52px\]{padding-top:3.25rem}.mobile\:text-\[18px\]{font-size:1.125rem}.mobile\:leading-\[120\%\]{line-height:120%}.mob\:\!hidden{display:none!important}.mob\:max-w-\[33\.3333\%\]{max-width:33.3333%}.mob\:max-w-\[66\.6666\%\]{max-width:66.6666%}.mob\:flex-shrink-0{flex-shrink:0}.mob\:flex-grow-0{flex-grow:0}.mob\:basis-\[100\%\]{flex-basis:100%}.mob\:basis-\[33\.3333\%\]{flex-basis:33.3333%}.mob\:basis-\[66\.6666\%\]{flex-basis:66.6666%}.mob\:px-1{padding-left:.25rem;padding-right:.25rem}.mob\:pt-0{padding-top:0}}@media (min-width:768px) and (max-width:1087px){.tab\:w-\[688px\]{width:43rem}}@media (min-width:1088px) and (max-width:1299px){.sdt\:max-w-\[1111px\]{max-width:69.4375rem}}@media (min-width:1300px){.ldt\:max-w-\[1324px\]{max-width:82.75rem}}@media (min-width:768px){.tup\:\!hidden{display:none!important}}@media (min-width:768px) and (max-width:1122px){.tablet\:absolute{position:absolute}.tablet\:left-0{left:0}.tablet\:left-\[76\%\]{left:76%}.tablet\:top-\[465px\]{top:29.0625rem}.tablet\:mr-\[228px\]{margin-right:14.25rem}.tablet\:block{display:block}.tablet\:flex{display:flex}.tablet\:hidden{display:none}.tablet\:h-\[293px\]{height:18.3125rem}.tablet\:h-\[2px\]{height:.125rem}.tablet\:min-h-\[350px\]{min-height:21.875rem}.tablet\:min-h-\[462px\]{min-height:28.875rem}.tablet\:\!w-full{width:100%!important}.tablet\:w-1\/2{width:50%}.tablet\:w-\[172px\]{width:10.75rem}.tablet\:w-\[300px\]{width:18.75rem}.tablet\:w-\[325px\]{width:20.3125rem}.tablet\:w-\[410px\]{width:25.625rem}.tablet\:w-\[618px\]{width:38.625rem}.tablet\:w-\[688px\]{width:43rem}.tablet\:w-\[689px\]{width:43.0625rem}.tablet\:w-full{width:100%}.tablet\:max-w-\[295px\]{max-width:18.4375rem}.tablet\:max-w-\[614px\]{max-width:38.375rem}.tablet\:flex-\[12\]{flex:12}.tablet\:translate-x-\[700px\]{--tw-translate-x:43.75rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.tablet\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.tablet\:flex-row-reverse{flex-direction:row-reverse}.tablet\:flex-col{flex-direction:column}.tablet\:items-center{align-items:center}.tablet\:justify-end{justify-content:flex-end}.tablet\:justify-center{justify-content:center}.tablet\:border-x{border-left-width:1px;border-right-width:1px}.tablet\:\!border-t{border-top-width:1px!important}.tablet\:border-t{border-top-width:1px}.tablet\:p-\[35px\]{padding:2.1875rem}.tablet\:text-scale-4{font-size:1.125rem;line-height:1.2}}@media (min-width:768px){.tablet-up\:visible{visibility:visible}.tablet-up\:mx-\[35px\]{margin-left:2.1875rem;margin-right:2.1875rem}.tablet-up\:mb-0{margin-bottom:0}.tablet-up\:mr-2{margin-right:.5rem}.tablet-up\:mr-\[19px\]{margin-right:1.1875rem}.tablet-up\:mt-0{margin-top:0}.tablet-up\:mt-3{margin-top:.75rem}.tablet-up\:mt-6{margin-top:1.5rem}.tablet-up\:mt-\[1px\]{margin-top:1px}.tablet-up\:block{display:block}.tablet-up\:inline{display:inline}.tablet-up\:flex{display:flex}.tablet-up\:inline-flex{display:inline-flex}.tablet-up\:grid{display:grid}.tablet-up\:hidden{display:none}.tablet-up\:h-\[133px\]{height:8.3125rem}.tablet-up\:max-h-\[565px\]{max-height:35.3125rem}.tablet-up\:max-h-\[900px\]{max-height:56.25rem}.tablet-up\:min-h-\[345px\]{min-height:21.5625rem}.tablet-up\:w-\[140px\]{width:8.75rem}.tablet-up\:w-\[215px\]{width:13.4375rem}.tablet-up\:w-\[248px\]{width:15.5rem}.tablet-up\:w-\[2px\]{width:.125rem}.tablet-up\:w-\[344px\]{width:21.5rem}.tablet-up\:w-\[39\%\]{width:39%}.tablet-up\:w-\[57\%\]{width:57%}.tablet-up\:min-w-\[170px\]{min-width:10.625rem}.tablet-up\:max-w-\[160px\]{max-width:10rem}.tablet-up\:max-w-\[760px\]{max-width:47.5rem}.tablet-up\:flex-1{flex:1 1 0%}.tablet-up\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.tablet-up\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tablet-up\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tablet-up\:flex-row{flex-direction:row}.tablet-up\:flex-nowrap{flex-wrap:nowrap}.tablet-up\:items-center{align-items:center}.tablet-up\:justify-between{justify-content:space-between}.tablet-up\:gap-4{gap:1rem}.tablet-up\:gap-8{gap:2rem}.tablet-up\:gap-9{gap:2.25rem}.tablet-up\:self-end{align-self:flex-end}.tablet-up\:justify-self-end{justify-self:end}.tablet-up\:overflow-hidden{overflow:hidden}.tablet-up\:px-\[35px\]{padding-left:2.1875rem;padding-right:2.1875rem}.tablet-up\:pt-8{padding-top:2rem}.tablet-up\:pt-\[16px\]{padding-top:1rem}.tablet-up\:pt-\[3\.8px\]{padding-top:.2375rem}}@media (min-width:912px) and (max-width:1122px){.extra-small-desktop\:left-0{left:0}.extra-small-desktop\:left-\[76\%\]{left:76%}.extra-small-desktop\:top-\[515px\]{top:32.1875rem}.extra-small-desktop\:w-\[183px\]{width:11.4375rem}.extra-small-desktop\:w-\[610px\]{width:38.125rem}.extra-small-desktop\:flex-\[16\]{flex:16}.extra-small-desktop\:translate-x-\[1000px\]{--tw-translate-x:62.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}@media (min-width:912px){.extra-small-desktop-up\:hidden{display:none}.extra-small-desktop-up\:py-\[32px\]{padding-bottom:2rem;padding-top:2rem}}@media (min-width:1123px) and (max-width:1334px){.small-desktop\:visible{visibility:visible}.small-desktop\:block{display:block}.small-desktop\:inline-block{display:inline-block}.small-desktop\:hidden{display:none}.small-desktop\:w-\[163px\]{width:10.1875rem}.small-desktop\:w-\[410px\]{width:25.625rem}.small-desktop\:w-\[56px\]{width:3.5rem}.small-desktop\:max-w-\[1111px\]{max-width:69.4375rem}.small-desktop\:flex-\[12\]{flex:12}.small-desktop\:flex-\[20\]{flex:20}.small-desktop\:flex-\[7\.5\]{flex:7.5}.small-desktop\:grid-cols-24{grid-template-columns:repeat(24,minmax(0,1fr))}.small-desktop\:pl-\[18px\]{padding-left:1.125rem}.small-desktop\:text-scale-4{font-size:1.125rem;line-height:1.2}}@media (min-width:1123px){.small-desktop-up\:absolute{position:absolute}.small-desktop-up\:right-\[35px\]{right:2.1875rem}.small-desktop-up\:top-6{top:1.5rem}.small-desktop-up\:mb-\[18px\]{margin-bottom:1.125rem}.small-desktop-up\:mr-\[130px\]{margin-right:8.125rem}.small-desktop-up\:mr-\[18px\]{margin-right:1.125rem}.small-desktop-up\:mt-5{margin-top:1.25rem}.small-desktop-up\:mt-8{margin-top:2rem}.small-desktop-up\:block{display:block}.small-desktop-up\:flex{display:flex}.small-desktop-up\:inline-flex{display:inline-flex}.small-desktop-up\:hidden{display:none}.small-desktop-up\:aspect-\[353\/220\]{aspect-ratio:353/220}.small-desktop-up\:min-h-\[667px\]{min-height:41.6875rem}.small-desktop-up\:w-\[132px\]{width:8.25rem}.small-desktop-up\:w-\[198px\]{width:12.375rem}.small-desktop-up\:w-\[247px\]{width:15.4375rem}.small-desktop-up\:w-\[350px\]{width:21.875rem}.small-desktop-up\:min-w-\[141px\]{min-width:8.8125rem}.small-desktop-up\:min-w-\[194px\]{min-width:12.125rem}.small-desktop-up\:min-w-\[220px\]{min-width:13.75rem}.small-desktop-up\:max-w-\[141px\]{max-width:8.8125rem}.small-desktop-up\:max-w-\[300px\]{max-width:18.75rem}.small-desktop-up\:translate-x-\[1300px\]{--tw-translate-x:81.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.small-desktop-up\:flex-row{flex-direction:row}.small-desktop-up\:gap-8{gap:2rem}.small-desktop-up\:gap-\[54px\]{gap:3.375rem}.small-desktop-up\:border-t{border-top-width:1px}.small-desktop-up\:border-gray-200{border-color:var(--color-gray-200)}.small-desktop-up\:py-2{padding-bottom:.5rem;padding-top:.5rem}.small-desktop-up\:pt-2{padding-top:.5rem}.small-desktop-up\:pt-8{padding-top:2rem}.small-desktop-up\:text-\[28px\]{font-size:1.75rem}.small-desktop-up\:text-\[36px\]{font-size:2.25rem}.small-desktop-up\:leading-\[14\.4px\]{line-height:.9rem}.small-desktop-up\:leading-headline{line-height:1.05}.small-desktop-up\:tracking-\[0\.54px\]{letter-spacing:.54px}}@media (max-width:1122px){.small-desktop-down\:hidden{display:none}}@media (min-width:1335px){.large-desktop\:mr-\[126px\]{margin-right:7.875rem}.large-desktop\:mt-\[215px\]{margin-top:13.4375rem}.large-desktop\:block{display:block}.large-desktop\:flex{display:flex}.large-desktop\:\!hidden{display:none!important}.large-desktop\:hidden{display:none}.large-desktop\:w-\[186px\]{width:11.625rem}.large-desktop\:w-\[211px\]{width:13.1875rem}.large-desktop\:w-\[246px\]{width:15.375rem}.large-desktop\:w-\[500px\]{width:31.25rem}.large-desktop\:w-auto{width:auto}.large-desktop\:max-w-\[1324px\]{max-width:82.75rem}.large-desktop\:max-w-\[170px\]{max-width:10.625rem}.large-desktop\:flex-\[16\]{flex:16}.large-desktop\:flex-\[24\]{flex:24}.large-desktop\:flex-\[7\.5\]{flex:7.5}.large-desktop\:grid-cols-24{grid-template-columns:repeat(24,minmax(0,1fr))}.large-desktop\:text-\[28px\]{font-size:1.75rem}.large-desktop\:text-\[32px\]{font-size:2rem}.large-desktop\:text-\[40px\]{font-size:2.5rem}.large-desktop\:font-medium{font-weight:500}.large-desktop\:leading-\[29px\]{line-height:1.8125rem}.large-desktop\:tracking-\[0\.42px\]{letter-spacing:.42px}.large-desktop\:tracking-\[0\.6px\]{letter-spacing:.6px}} \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/26770aaf-434672d6e837ff7e_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/26770aaf-434672d6e837ff7e_05Q6.js new file mode 100644 index 0000000..4b4c3dc --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/26770aaf-434672d6e837ff7e_05Q6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2982],{94993:function(e,t,n){let r;n.r(t),n.d(t,{Composite:function(){return j},CompositeItem:function(){return H},FloatingArrow:function(){return G},FloatingDelayGroup:function(){return ef},FloatingFocusManager:function(){return eB},FloatingList:function(){return D},FloatingNode:function(){return et},FloatingOverlay:function(){return ez},FloatingPortal:function(){return eK},FloatingTree:function(){return en},arrow:function(){return f.x7},autoPlacement:function(){return f.X5},autoUpdate:function(){return d.Me},computePosition:function(){return d.oo},detectOverflow:function(){return d.US},flip:function(){return f.RR},getOverflowAncestors:function(){return c.Kx},hide:function(){return f.Cp},inline:function(){return f.Qo},inner:function(){return tv},limitShift:function(){return f.dr},offset:function(){return f.cv},platform:function(){return d.Jv},safePolygon:function(){return tg},shift:function(){return f.uY},size:function(){return f.dp},useClick:function(){return eV},useClientPoint:function(){return eJ},useDelayGroup:function(){return ed},useDelayGroupContext:function(){return es},useDismiss:function(){return e1},useFloating:function(){return e7},useFloatingNodeId:function(){return ee},useFloatingParentNodeId:function(){return Q},useFloatingPortalNode:function(){return eF},useFloatingRootContext:function(){return e2},useFloatingTree:function(){return $},useFocus:function(){return e3},useHover:function(){return ei},useId:function(){return z},useInnerOffset:function(){return tm},useInteractions:function(){return e8},useListItem:function(){return F},useListNavigation:function(){return tu},useMergeRefs:function(){return v},useRole:function(){return tl},useTransitionStatus:function(){return ta},useTransitionStyles:function(){return ts},useTypeahead:function(){return tf}});var u,o=n(67294),l=n(97145),i=n(71347),c=n(37317),a=n(88388),s=n(73935),f=n(1371),d=n(29545);function v(e){return o.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})},e)}let m={...u||(u=n.t(o,2))},p=m.useInsertionEffect||(e=>e());function g(e){let t=o.useRef(()=>{});return p(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r=e.current.length}function R(e,t){return M(e,{disabledIndices:t})}function k(e,t){return M(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function M(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:u,amount:o=1}=void 0===t?{}:t,l=e.current,i=n;do i+=r?-o:o;while(i>=0&&i<=l.length-1&&A(l,i,u));return i}function C(e,t){let{event:n,orientation:r,loop:u,rtl:o,cols:c,disabledIndices:a,minIndex:s,maxIndex:f,prevIndex:d,stopEvent:v=!1}=t,m=d;if(n.key===h){if(v&&(0,l.p7)(n),-1===d)m=f;else if(m=M(e,{startingIndex:m,amount:c,decrement:!0,disabledIndices:a}),u&&(d-ce?n:n-c}x(e,m)&&(m=d)}if(n.key===y&&(v&&(0,l.p7)(n),-1===d?m=s:(m=M(e,{startingIndex:d,amount:c,disabledIndices:a}),u&&d+c>f&&(m=M(e,{startingIndex:d%c-c,amount:c,disabledIndices:a}))),x(e,m)&&(m=d)),"both"===r){let t=(0,i.GW)(d/c);n.key===(o?b:E)&&(v&&(0,l.p7)(n),d%c!=c-1?(m=M(e,{startingIndex:d,disabledIndices:a}),u&&w(m,c,t)&&(m=M(e,{startingIndex:d-d%c-1,disabledIndices:a}))):u&&(m=M(e,{startingIndex:d-d%c-1,disabledIndices:a})),w(m,c,t)&&(m=d)),n.key===(o?E:b)&&(v&&(0,l.p7)(n),d%c!=0?(m=M(e,{startingIndex:d,decrement:!0,disabledIndices:a}),u&&w(m,c,t)&&(m=M(e,{startingIndex:d+(c-d%c),decrement:!0,disabledIndices:a}))):u&&(m=M(e,{startingIndex:d+(c-d%c),decrement:!0,disabledIndices:a})),w(m,c,t)&&(m=d));let r=(0,i.GW)(f/c)===t;x(e,m)&&(m=u&&r?n.key===(o?E:b)?f:M(e,{startingIndex:d-d%c-1,disabledIndices:a}):d)}return m}function T(e,t,n){let r=[],u=0;return e.forEach((e,o)=>{let{width:l,height:i}=e,c=!1;for(n&&(u=0);!c;){let e=[];for(let n=0;nnull==r[e])?(e.forEach(e=>{r[e]=o}),c=!0):u++}}),[...r]}function I(e,t,n,r,u){if(-1===e)return -1;let o=n.indexOf(e),l=t[e];switch(u){case"tl":return o;case"tr":if(!l)return o;return o+l.width-1;case"bl":if(!l)return o;return o+(l.height-1)*r;case"br":return n.lastIndexOf(e)}}function L(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}function A(e,t,n){if(n)return n.includes(t);let r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}var P="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function S(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}let O=o.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function D(e){let{children:t,elementsRef:n,labelsRef:r}=e,[u,l]=o.useState(()=>new Map),i=o.useCallback(e=>{l(t=>new Map(t).set(e,null))},[]),c=o.useCallback(e=>{l(t=>{let n=new Map(t);return n.delete(e),n})},[]);return P(()=>{let e=new Map(u);Array.from(e.keys()).sort(S).forEach((t,n)=>{e.set(t,n)}),!function(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(u,e)&&l(e)},[u]),o.createElement(O.Provider,{value:o.useMemo(()=>({register:i,unregister:c,map:u,elementsRef:n,labelsRef:r}),[i,c,u,n,r])},t)}function F(e){void 0===e&&(e={});let{label:t}=e,{register:n,unregister:r,map:u,elementsRef:l,labelsRef:i}=o.useContext(O),[c,a]=o.useState(null),s=o.useRef(null),f=o.useCallback(e=>{if(s.current=e,null!==c&&(l.current[c]=e,i)){var n;let r=void 0!==t;i.current[c]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}},[c,l,i,t]);return P(()=>{let e=s.current;if(e)return n(e),()=>{r(e)}},[n,r]),P(()=>{let e=s.current?u.get(s.current):null;null!=e&&a(e)},[u]),o.useMemo(()=>({ref:f,index:null==c?-1:c}),[c,f])}function K(e,t){return"function"==typeof e?e(t):e?o.cloneElement(e,t):o.createElement("div",t)}let N=o.createContext({activeIndex:0,onNavigate:()=>{}}),W=[b,E],_=[h,y],U=[...W,..._],j=o.forwardRef(function(e,t){let{render:n,orientation:r="both",loop:u=!0,rtl:l=!1,cols:i=1,disabledIndices:c,activeIndex:a,onNavigate:s,itemSizes:f,dense:d=!1,...v}=e,[m,p]=o.useState(0),w=null!=a?a:m,P=g(null!=s?s:p),S=o.useRef([]),O=n&&"function"!=typeof n?n.props:{},F=o.useMemo(()=>({activeIndex:w,onNavigate:P}),[w,P]),j=i>1,H={...v,...O,ref:t,"aria-orientation":"both"===r?void 0:r,onKeyDown(e){null==v.onKeyDown||v.onKeyDown(e),null==O.onKeyDown||O.onKeyDown(e),function(e){if(!U.includes(e.key))return;let t=w,n=R(S,c),o=k(S,c),a=l?b:E,s=l?E:b;if(j){let s=f||Array.from({length:S.current.length},()=>({width:1,height:1})),v=T(s,i,d),m=v.findIndex(e=>null!=e&&!A(S.current,e,c)),p=v.reduce((e,t,n)=>null==t||A(S.current,t,c)?e:n,-1),g=v[C({current:v.map(e=>e?S.current[e]:null)},{event:e,orientation:r,loop:u,rtl:l,cols:i,disabledIndices:L([...c||S.current.map((e,t)=>A(S.current,t)?t:void 0),void 0],v),minIndex:m,maxIndex:p,prevIndex:I(w>o?n:w,s,v,i,e.key===y?"bl":e.key===a?"tr":"tl")})];null!=g&&(t=g)}let v={horizontal:[a],vertical:[y],both:[a,y]}[r],m={horizontal:[s],vertical:[h],both:[s,h]}[r],p=j?U:({horizontal:W,vertical:_,both:U})[r];if(t===w&&[...v,...m].includes(e.key)&&(t=u&&t===o&&v.includes(e.key)?n:u&&t===n&&m.includes(e.key)?o:M(S,{startingIndex:t,decrement:m.includes(e.key),disabledIndices:c})),t!==w&&!x(S,t)){var g;e.stopPropagation(),p.includes(e.key)&&e.preventDefault(),P(t),null==(g=S.current[t])||g.focus()}}(e)}};return o.createElement(N.Provider,{value:F},o.createElement(D,{elementsRef:S},K(n,H)))}),H=o.forwardRef(function(e,t){let{render:n,...r}=e,u=n&&"function"!=typeof n?n.props:{},{activeIndex:l,onNavigate:i}=o.useContext(N),{ref:c,index:a}=F(),s=v([c,t,u.ref]),f=l===a;return K(n,{...r,...u,ref:s,tabIndex:f?0:-1,"data-active":f?"":void 0,onFocus(e){null==r.onFocus||r.onFocus(e),null==u.onFocus||u.onFocus(e),i(a)}})});function q(){return(q=Object.assign?Object.assign.bind():function(e){for(var t=1;t"floating-ui-"+Math.random().toString(36).slice(2,6)+X++,z=m.useId||function(){let[e,t]=o.useState(()=>B?Y():void 0);return P(()=>{null==e&&t(Y())},[]),o.useEffect(()=>{B=!0},[]),e},G=o.forwardRef(function(e,t){let{context:{placement:n,elements:{floating:r},middlewareData:{arrow:u,shift:l}},width:i=14,height:a=7,tipRadius:s=0,strokeWidth:f=0,staticOffset:d,stroke:v,d:m,style:{transform:p,...g}={},...h}=e,y=z(),[b,E]=o.useState(!1);if(P(()=>{r&&"rtl"===(0,c.Dx)(r).direction&&E(!0)},[r]),!r)return null;let[w,x]=n.split("-"),R="top"===w||"bottom"===w,k=d;(R&&null!=l&&l.x||!R&&null!=l&&l.y)&&(k=null);let M=2*f,C=M/2,T=i/2*(-(s/8)+1),I=a/2*s/4,L=!!m,A=k&&"end"===x?"bottom":"top",S=k&&"end"===x?"right":"left";k&&b&&(S="end"===x?"left":"right");let O=(null==u?void 0:u.x)!=null?k||u.x:"",D=(null==u?void 0:u.y)!=null?k||u.y:"",F=m||"M0,0 H"+i+" L"+(i-T)+","+(a-I)+(" Q"+i/2+","+a+" ")+T+","+(a-I)+" Z",K={top:L?"rotate(180deg)":"",left:L?"rotate(90deg)":"rotate(-90deg)",bottom:L?"":"rotate(180deg)",right:L?"rotate(-90deg)":"rotate(90deg)"}[w];return o.createElement("svg",q({},h,{"aria-hidden":!0,ref:t,width:L?i:i+M,height:i,viewBox:"0 0 "+i+" "+(a>i?a:i),style:{position:"absolute",pointerEvents:"none",[S]:O,[A]:D,[w]:R||L?"100%":"calc(100% - "+M/2+"px)",transform:[K,p].filter(e=>!!e).join(" "),...g}}),M>0&&o.createElement("path",{clipPath:"url(#"+y+")",fill:"none",stroke:v,strokeWidth:M+(m?0:1),d:F}),o.createElement("path",{stroke:M&&!m?h.fill:"none",d:F}),o.createElement("clipPath",{id:y},o.createElement("rect",{x:-C,y:C*(L?-1:1),width:i+M,height:i})))});function V(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}let Z=o.createContext(null),J=o.createContext(null),Q=()=>{var e;return(null==(e=o.useContext(Z))?void 0:e.id)||null},$=()=>o.useContext(J);function ee(e){let t=z(),n=$(),r=Q(),u=e||r;return P(()=>{let e={id:t,parentId:u};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}},[n,t,u]),t}function et(e){let{children:t,id:n}=e,r=Q();return o.createElement(Z.Provider,{value:o.useMemo(()=>({id:n,parentId:r}),[n,r])},t)}function en(e){let{children:t}=e,n=o.useRef([]),r=o.useCallback(e=>{n.current=[...n.current,e]},[]),u=o.useCallback(e=>{n.current=n.current.filter(t=>t!==e)},[]),l=o.useState(()=>V())[0];return o.createElement(J.Provider,{value:o.useMemo(()=>({nodesRef:n,addNode:r,removeNode:u,events:l}),[r,u,l])},t)}function er(e){return"data-floating-ui-"+e}function eu(e){let t=(0,o.useRef)(e);return P(()=>{t.current=e}),t}let eo=er("safe-polygon");function el(e,t,n){return n&&!(0,l.r)(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function ei(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:u,events:i,elements:a}=e,{enabled:s=!0,delay:f=0,handleClose:d=null,mouseOnly:v=!1,restMs:m=0,move:p=!0}=t,h=$(),y=Q(),b=eu(d),E=eu(f),w=eu(n),x=o.useRef(),R=o.useRef(-1),k=o.useRef(),M=o.useRef(-1),C=o.useRef(!0),T=o.useRef(!1),I=o.useRef(()=>{}),L=o.useRef(!1),A=o.useCallback(()=>{var e;let t=null==(e=u.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[u]);o.useEffect(()=>{if(s)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(R.current),clearTimeout(M.current),C.current=!0,L.current=!1)}},[s,i]),o.useEffect(()=>{if(!s||!b.current||!n)return;function e(e){A()&&r(!1,e,"hover")}let t=(0,l.Me)(a.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[a.floating,n,r,s,b,A]);let S=o.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");let u=el(E.current,"close",x.current);u&&!k.current?(clearTimeout(R.current),R.current=window.setTimeout(()=>r(!1,e,n),u)):t&&(clearTimeout(R.current),r(!1,e,n))},[E,r]),O=g(()=>{I.current(),k.current=void 0}),D=g(()=>{if(T.current){let e=(0,l.Me)(a.floating).body;e.style.pointerEvents="",e.removeAttribute(eo),T.current=!1}}),F=g(()=>!!u.current.openEvent&&["click","mousedown"].includes(u.current.openEvent.type));o.useEffect(()=>{if(s&&(0,c.kK)(a.domReference)){var e;let r=a.domReference;return n&&r.addEventListener("mouseleave",i),null==(e=a.floating)||e.addEventListener("mouseleave",i),p&&r.addEventListener("mousemove",t,{once:!0}),r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",o),()=>{var e;n&&r.removeEventListener("mouseleave",i),null==(e=a.floating)||e.removeEventListener("mouseleave",i),p&&r.removeEventListener("mousemove",t),r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",o)}}function t(e){if(clearTimeout(R.current),C.current=!1,v&&!(0,l.r)(x.current)||m>0&&!el(E.current,"open"))return;let t=el(E.current,"open",x.current);t?R.current=window.setTimeout(()=>{w.current||r(!0,e,"hover")},t):n||r(!0,e,"hover")}function o(e){if(F())return;I.current();let t=(0,l.Me)(a.floating);if(clearTimeout(M.current),L.current=!1,b.current&&u.current.floatingContext){n||clearTimeout(R.current),k.current=b.current({...u.current.floatingContext,tree:h,x:e.clientX,y:e.clientY,onClose(){D(),O(),F()||S(e,!0,"safe-polygon")}});let r=k.current;t.addEventListener("mousemove",r),I.current=()=>{t.removeEventListener("mousemove",r)};return}"touch"===x.current&&(0,l.r3)(a.floating,e.relatedTarget)||S(e)}function i(e){!F()&&u.current.floatingContext&&(null==b.current||b.current({...u.current.floatingContext,tree:h,x:e.clientX,y:e.clientY,onClose(){D(),O(),F()||S(e)}})(e))}},[a,s,e,v,m,p,S,O,D,r,n,w,h,E,b,u,F]),P(()=>{var e,t;if(s&&n&&null!=(e=b.current)&&e.__options.blockPointerEvents&&A()){T.current=!0;let e=a.floating;if((0,c.kK)(a.domReference)&&e){let n=(0,l.Me)(a.floating).body;n.setAttribute(eo,"");let r=a.domReference,u=null==h||null==(t=h.nodesRef.current.find(e=>e.id===y))||null==(t=t.context)?void 0:t.elements.floating;return u&&(u.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[s,n,y,a,h,b,A]),P(()=>{n||(x.current=void 0,L.current=!1,O(),D())},[n,O,D]),o.useEffect(()=>()=>{O(),clearTimeout(R.current),clearTimeout(M.current),D()},[s,a.domReference,O,D]);let K=o.useMemo(()=>{function e(e){x.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e;function u(){C.current||w.current||r(!0,t,"hover")}!(!v||(0,l.r)(x.current))||n||0===m||L.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(M.current),"touch"===x.current?u():(L.current=!0,M.current=window.setTimeout(u,m)))}}},[v,r,n,w,m]),N=o.useMemo(()=>({onMouseEnter(){clearTimeout(R.current)},onMouseLeave(e){F()||S(e.nativeEvent,!1)}}),[S,F]);return o.useMemo(()=>s?{reference:K,floating:N}:{},[s,K,N])}let ec=()=>{},ea=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:ec,setState:ec,isInstantPhase:!1}),es=()=>o.useContext(ea);function ef(e){let{children:t,delay:n,timeoutMs:r=0}=e,[u,l]=o.useReducer((e,t)=>({...e,...t}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),i=o.useRef(null),c=o.useCallback(e=>{l({currentId:e})},[]);return P(()=>{u.currentId?null===i.current?i.current=u.currentId:u.isInstantPhase||l({isInstantPhase:!0}):(u.isInstantPhase&&l({isInstantPhase:!1}),i.current=null)},[u.currentId,u.isInstantPhase]),o.createElement(ea.Provider,{value:o.useMemo(()=>({...u,setState:l,setCurrentId:c}),[u,c])},t)}function ed(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,floatingId:u}=e,{id:o,enabled:l=!0}=t,i=null!=o?o:u,c=es(),{currentId:a,setCurrentId:s,initialDelay:f,setState:d,timeoutMs:v}=c;return P(()=>{l&&a&&(d({delay:{open:1,close:el(f,"close")}}),a!==i&&r(!1))},[l,i,r,d,a,f]),P(()=>{function e(){r(!1),d({delay:f,currentId:null})}if(l&&a&&!n&&a===i){if(v){let t=window.setTimeout(e,v);return()=>{clearTimeout(t)}}e()}},[l,n,d,a,i,r,f,v]),P(()=>{l&&s!==ec&&n&&s(i)},[l,n,s,i]),c}let ev=0;function em(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:u=!1}=t;r&&cancelAnimationFrame(ev);let o=()=>null==e?void 0:e.focus({preventScroll:n});u?o():ev=requestAnimationFrame(o)}function ep(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let eg=new WeakMap,eh=new WeakSet,ey={},eb=0,eE=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,ew=e=>e&&(e.host||ew(e.parentNode)),ex=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=ew(t);return e.contains(n)?n:null}).filter(e=>null!=e);function eR(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);let r=(0,l.Me)(e[0]).body;return function(e,t,n,r){let u="data-floating-ui-inert",o=r?"inert":n?"aria-hidden":null,l=ex(t,e),i=new Set,a=new Set(l),s=[];ey[u]||(ey[u]=new WeakMap);let f=ey[u];return l.forEach(function e(t){!(!t||i.has(t))&&(i.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||a.has(t)||[].forEach.call(t.children,t=>{if("script"!==(0,c.wk)(t)){if(i.has(t))e(t);else{let e=o?t.getAttribute(o):null,n=null!==e&&"false"!==e,r=(eg.get(t)||0)+1,l=(f.get(t)||0)+1;eg.set(t,r),f.set(t,l),s.push(t),1===r&&n&&eh.add(t),1===l&&t.setAttribute(u,""),!n&&o&&t.setAttribute(o,"true")}}})}(t),i.clear(),eb++,()=>{s.forEach(e=>{let t=(eg.get(e)||0)-1,n=(f.get(e)||0)-1;eg.set(e,t),f.set(e,n),t||(!eh.has(e)&&o&&e.removeAttribute(o),eh.delete(e)),n||e.removeAttribute(u)}),--eb||(eg=new WeakMap,eg=new WeakMap,eh=new WeakSet,ey={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}let ek=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function eM(e,t){let n=(0,a.tabbable)(e,ek());"prev"===t&&n.reverse();let r=n.indexOf((0,l.AW)((0,l.Me)(e)));return n.slice(r+1)[0]}function eC(){return eM(document.body,"next")}function eT(){return eM(document.body,"prev")}function eI(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,l.r3)(n,r)}function eL(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}let eA={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function eP(e){"Tab"===e.key&&(e.target,clearTimeout(r))}let eS=o.forwardRef(function(e,t){let[n,r]=o.useState();P(()=>((0,l.G6)()&&r("button"),document.addEventListener("keydown",eP),()=>{document.removeEventListener("keydown",eP)}),[]);let u={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[er("focus-guard")]:"",style:eA};return o.createElement("span",q({},e,u))}),eO=o.createContext(null),eD=er("portal");function eF(e){void 0===e&&(e={});let{id:t,root:n}=e,r=z(),u=eN(),[l,i]=o.useState(null),a=o.useRef(null);return P(()=>()=>{null==l||l.remove(),queueMicrotask(()=>{a.current=null})},[l]),P(()=>{if(!r||a.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(eD,""),e.appendChild(n),a.current=n,i(n)},[t,r]),P(()=>{if(null===n||!r||a.current)return;let e=n||(null==u?void 0:u.portalNode);e&&!(0,c.kK)(e)&&(e=e.current),e=e||document.body;let o=null;t&&((o=document.createElement("div")).id=t,e.appendChild(o));let l=document.createElement("div");l.id=r,l.setAttribute(eD,""),(e=o||e).appendChild(l),a.current=l,i(l)},[t,n,r,u]),l}function eK(e){let{children:t,id:n,root:r,preserveTabOrder:u=!0}=e,l=eF({id:n,root:r}),[i,c]=o.useState(null),f=o.useRef(null),d=o.useRef(null),v=o.useRef(null),m=o.useRef(null),p=null==i?void 0:i.modal,g=null==i?void 0:i.open,h=!!i&&!i.modal&&i.open&&u&&!!(r||l);return o.useEffect(()=>{if(l&&u&&!p)return l.addEventListener("focusin",e,!0),l.addEventListener("focusout",e,!0),()=>{l.removeEventListener("focusin",e,!0),l.removeEventListener("focusout",e,!0)};function e(e){l&&eI(e)&&("focusin"===e.type?eL:function(e){(0,a.tabbable)(e,ek()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(l)}},[l,u,p]),o.useEffect(()=>{l&&(g||eL(l))},[g,l]),o.createElement(eO.Provider,{value:o.useMemo(()=>({preserveTabOrder:u,beforeOutsideRef:f,afterOutsideRef:d,beforeInsideRef:v,afterInsideRef:m,portalNode:l,setFocusManagerState:c}),[u,l])},h&&l&&o.createElement(eS,{"data-type":"outside",ref:f,onFocus:e=>{if(eI(e,l)){var t;null==(t=v.current)||t.focus()}else{let e=eT()||(null==i?void 0:i.refs.domReference.current);null==e||e.focus()}}}),h&&l&&o.createElement("span",{"aria-owns":l.id,style:eA}),l&&s.createPortal(t,l),h&&l&&o.createElement(eS,{"data-type":"outside",ref:d,onFocus:e=>{if(eI(e,l)){var t;null==(t=m.current)||t.focus()}else{let t=eC()||(null==i?void 0:i.refs.domReference.current);null==t||t.focus(),(null==i?void 0:i.closeOnFocusOut)&&(null==i||i.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}let eN=()=>o.useContext(eO),eW="data-floating-ui-focusable";function e_(e){return e?e.hasAttribute(eW)?e:e.querySelector("["+eW+"]")||e:null}let eU=[];function ej(e){eU=eU.filter(e=>e.isConnected);let t=e;if(t&&"body"!==(0,c.wk)(t)){if(!(0,a.isTabbable)(t,ek())){let e=(0,a.tabbable)(t,ek())[0];e&&(t=e)}eU.push(t),eU.length>20&&(eU=eU.slice(-20))}}function eH(){return eU.slice().reverse().find(e=>e.isConnected)}let eq=o.forwardRef(function(e,t){return o.createElement("button",q({},e,{type:"button",ref:t,tabIndex:-1,style:eA}))});function eB(e){let{context:t,children:n,disabled:r=!1,order:u=["content"],guards:i=!0,initialFocus:s=0,returnFocus:f=!0,restoreFocus:d=!1,modal:v=!0,visuallyHiddenDismiss:m=!1,closeOnFocusOut:p=!0}=e,{open:h,refs:y,nodeId:b,onOpenChange:E,events:w,dataRef:x,floatingId:R,elements:{domReference:k,floating:M}}=t,C="number"==typeof s&&s<0,T=(0,l.Ie)(k)&&C,I=!eE()||i,L=eu(u),A=eu(s),S=eu(f),O=$(),D=eN(),F=o.useRef(null),K=o.useRef(null),N=o.useRef(!1),W=o.useRef(!1),_=o.useRef(-1),U=null!=D,j=e_(M),H=g(function(e){return void 0===e&&(e=j),e?(0,a.tabbable)(e,ek()):[]}),q=g(e=>{let t=H(e);return L.current.map(e=>k&&"reference"===e?k:j&&"floating"===e?j:t).filter(Boolean).flat()});function B(e){return!r&&m&&v?o.createElement(eq,{ref:"start"===e?F:K,onClick:e=>E(!1,e.nativeEvent)},"string"==typeof m?m:"Dismiss"):null}o.useEffect(()=>{if(r||!v)return;function e(e){if("Tab"===e.key){(0,l.r3)(j,(0,l.AW)((0,l.Me)(j)))&&0===H().length&&!T&&(0,l.p7)(e);let t=q(),n=(0,l.U9)(e);"reference"===L.current[0]&&n===k&&((0,l.p7)(e),e.shiftKey?em(t[t.length-1]):em(t[1])),"floating"===L.current[1]&&n===j&&e.shiftKey&&((0,l.p7)(e),em(t[0]))}}let t=(0,l.Me)(j);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,k,j,v,L,T,H,q]),o.useEffect(()=>{if(!r&&M)return M.addEventListener("focusin",e),()=>{M.removeEventListener("focusin",e)};function e(e){let t=(0,l.U9)(e),n=H().indexOf(t);-1!==n&&(_.current=n)}},[r,M,H]),o.useEffect(()=>{if(!r&&p&&M&&(0,c.Re)(k))return k.addEventListener("focusout",t),k.addEventListener("pointerdown",e),M.addEventListener("focusout",t),()=>{k.removeEventListener("focusout",t),k.removeEventListener("pointerdown",e),M.removeEventListener("focusout",t)};function e(){W.current=!0,setTimeout(()=>{W.current=!1})}function t(e){let t=e.relatedTarget;queueMicrotask(()=>{let n=!((0,l.r3)(k,t)||(0,l.r3)(M,t)||(0,l.r3)(t,M)||(0,l.r3)(null==D?void 0:D.portalNode,t)||null!=t&&t.hasAttribute(er("focus-guard"))||O&&(ep(O.nodesRef.current,b).find(e=>{var n,r;return(0,l.r3)(null==(n=e.context)?void 0:n.elements.floating,t)||(0,l.r3)(null==(r=e.context)?void 0:r.elements.domReference,t)})||(function(e,t){var n;let r=[],u=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;u;){let t=e.find(e=>e.id===u);u=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r})(O.nodesRef.current,b).find(e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t})));if(d&&n&&(0,l.AW)((0,l.Me)(j))===(0,l.Me)(j).body){(0,c.Re)(j)&&j.focus();let e=_.current,t=H(),n=t[e]||t[t.length-1]||j;(0,c.Re)(n)&&n.focus()}(T||!v)&&t&&n&&!W.current&&t!==eH()&&(N.current=!0,E(!1,e,"focus-out"))})}},[r,k,M,j,v,b,O,D,E,p,d,H,T]),o.useEffect(()=>{var e;if(r)return;let t=Array.from((null==D||null==(e=D.portalNode)?void 0:e.querySelectorAll("["+er("portal")+"]"))||[]);if(M){let e=[M,...t,F.current,K.current,L.current.includes("reference")||T?k:null].filter(e=>null!=e),n=v||T?eR(e,I,!I):eR(e);return()=>{n()}}},[r,k,M,v,L,D,T,I]),P(()=>{if(r||!(0,c.Re)(j))return;let e=(0,l.Me)(j),t=(0,l.AW)(e);queueMicrotask(()=>{let e=q(j),n=A.current,r=("number"==typeof n?e[n]:n.current)||j,u=(0,l.r3)(j,t);C||u||!h||em(r,{preventScroll:r===j})})},[r,h,j,C,q,A]),P(()=>{if(r||!j)return;let e=!1,t=(0,l.Me)(j),n=(0,l.AW)(t),u=x.current.openEvent;function o(t){let{open:n,reason:r,event:o,nested:i}=t;n&&(u=o),"escape-key"===r&&y.domReference.current&&ej(y.domReference.current),"hover"===r&&"mouseleave"===o.type&&(N.current=!0),"outside-press"===r&&(i?(N.current=!1,e=!0):N.current=!((0,l.Zj)(o)||(0,l.cr)(o)))}ej(n),w.on("openchange",o);let i=t.createElement("span");return i.setAttribute("tabindex","-1"),i.setAttribute("aria-hidden","true"),Object.assign(i.style,eA),U&&k&&k.insertAdjacentElement("afterend",i),()=>{w.off("openchange",o);let n=(0,l.AW)(t),r=(0,l.r3)(M,n)||O&&ep(O.nodesRef.current,b).some(e=>{var t;return(0,l.r3)(null==(t=e.context)?void 0:t.elements.floating,n)});(r||u&&["click","mousedown"].includes(u.type))&&y.domReference.current&&ej(y.domReference.current);let a="boolean"==typeof S.current?eH()||i:S.current.current||i;queueMicrotask(()=>{S.current&&!N.current&&(0,c.Re)(a)&&(a===n||n===t.body||r)&&a.focus({preventScroll:e}),i.remove()})}},[r,M,j,S,x,y,w,O,b,U,k]),o.useEffect(()=>{queueMicrotask(()=>{N.current=!1})},[r]),P(()=>{if(!r&&D)return D.setFocusManagerState({modal:v,closeOnFocusOut:p,open:h,onOpenChange:E,refs:y}),()=>{D.setFocusManagerState(null)}},[r,D,v,h,E,y,p]),P(()=>{if(r||!j||"function"!=typeof MutationObserver||C)return;let e=()=>{let e=j.getAttribute("tabindex"),t=H(),n=(0,l.AW)((0,l.Me)(M)),r=t.indexOf(n);-1!==r&&(_.current=r),L.current.includes("floating")||n!==y.domReference.current&&0===t.length?"0"!==e&&j.setAttribute("tabindex","0"):"-1"!==e&&j.setAttribute("tabindex","-1")};e();let t=new MutationObserver(e);return t.observe(j,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[r,M,j,y,L,H,C]);let X=!r&&I&&(!v||!T)&&(U||v);return o.createElement(o.Fragment,null,X&&o.createElement(eS,{"data-type":"inside",ref:null==D?void 0:D.beforeInsideRef,onFocus:e=>{if(v){let e=q();em("reference"===u[0]?e[0]:e[e.length-1])}else if(null!=D&&D.preserveTabOrder&&D.portalNode){if(N.current=!1,eI(e,D.portalNode)){let e=eC()||k;null==e||e.focus()}else{var t;null==(t=D.beforeOutsideRef.current)||t.focus()}}}}),!T&&B("start"),n,B("end"),X&&o.createElement(eS,{"data-type":"inside",ref:null==D?void 0:D.afterInsideRef,onFocus:e=>{if(v)em(q()[0]);else if(null!=D&&D.preserveTabOrder&&D.portalNode){if(p&&(N.current=!0),eI(e,D.portalNode)){let e=eT()||k;null==e||e.focus()}else{var t;null==(t=D.afterOutsideRef.current)||t.focus()}}}}))}let eX=0,eY=()=>{},ez=o.forwardRef(function(e,t){let{lockScroll:n=!1,...r}=e;return P(()=>{if(n)return 1==++eX&&(eY=function(){let e=/iP(hone|ad|od)|iOS/.test((0,l.Xf)()),t=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",r=window.innerWidth-document.documentElement.clientWidth,u=t.left?parseFloat(t.left):window.scrollX,o=t.top?parseFloat(t.top):window.scrollY;if(t.overflow="hidden",r&&(t[n]=r+"px"),e){var i,c;let e=(null==(i=window.visualViewport)?void 0:i.offsetLeft)||0;Object.assign(t,{position:"fixed",top:-(o-Math.floor((null==(c=window.visualViewport)?void 0:c.offsetTop)||0))+"px",left:-(u-Math.floor(e))+"px",right:"0"})}return()=>{Object.assign(t,{overflow:"",[n]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(u,o))}}()),()=>{0==--eX&&eY()}},[n]),o.createElement("div",q({ref:t},r,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...r.style}}))});function eG(e){return(0,c.Re)(e.target)&&"BUTTON"===e.target.tagName}function eV(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:u,elements:{domReference:i}}=e,{enabled:c=!0,event:a="click",toggle:s=!0,ignoreMouse:f=!1,keyboardHandlers:d=!0,stickIfOpen:v=!0}=t,m=o.useRef(),p=o.useRef(!1),g=o.useMemo(()=>({onPointerDown(e){m.current=e.pointerType},onMouseDown(e){let t=m.current;0===e.button&&"click"!==a&&((0,l.r)(t,!0)&&f||(n&&s&&(!u.current.openEvent||!v||"mousedown"===u.current.openEvent.type)?r(!1,e.nativeEvent,"click"):(e.preventDefault(),r(!0,e.nativeEvent,"click"))))},onClick(e){let t=m.current;if("mousedown"===a&&m.current){m.current=void 0;return}(0,l.r)(t,!0)&&f||(n&&s&&(!u.current.openEvent||!v||"click"===u.current.openEvent.type)?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))},onKeyDown(e){m.current=void 0,e.defaultPrevented||!d||eG(e)||(" "!==e.key||(0,l.j7)(i)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&(n&&s?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click")))},onKeyUp(e){!(e.defaultPrevented||!d||eG(e)||(0,l.j7)(i))&&" "===e.key&&p.current&&(p.current=!1,n&&s?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))}}),[u,i,a,f,d,r,n,v,s]);return o.useMemo(()=>c?{reference:g}:{},[c,g])}function eZ(e){return null!=e&&null!=e.clientX}function eJ(e,t){void 0===t&&(t={});let{open:n,dataRef:r,elements:{floating:u,domReference:i},refs:a}=e,{enabled:s=!0,axis:f="both",x:d=null,y:v=null}=t,m=o.useRef(!1),p=o.useRef(null),[h,y]=o.useState(),[b,E]=o.useState([]),w=g((e,t)=>{if(!m.current){var n;let u,o,l;(!r.current.openEvent||eZ(r.current.openEvent))&&a.setPositionReference((n={x:e,y:t,axis:f,dataRef:r,pointerType:h},u=null,o=null,l=!1,{contextElement:i||void 0,getBoundingClientRect(){var e;let t=(null==i?void 0:i.getBoundingClientRect())||{width:0,height:0,x:0,y:0},r="x"===n.axis||"both"===n.axis,c="y"===n.axis||"both"===n.axis,a=["mouseenter","mousemove"].includes((null==(e=n.dataRef.current.openEvent)?void 0:e.type)||"")&&"touch"!==n.pointerType,s=t.width,f=t.height,d=t.x,v=t.y;return null==u&&n.x&&r&&(u=t.x-n.x),null==o&&n.y&&c&&(o=t.y-n.y),d-=u||0,v-=o||0,s=0,f=0,!l||a?(s="y"===n.axis?t.width:0,f="x"===n.axis?t.height:0,d=r&&null!=n.x?n.x:d,v=c&&null!=n.y?n.y:v):l&&!a&&(f="x"===n.axis?t.height:f,s="y"===n.axis?t.width:s),l=!0,{width:s,height:f,x:d,y:v,top:v,right:d+s,bottom:v+f,left:d}}}))}}),x=g(e=>{null!=d||null!=v||(n?p.current||E([]):w(e.clientX,e.clientY))}),R=(0,l.r)(h)?u:n,k=o.useCallback(()=>{if(!R||!s||null!=d||null!=v)return;let e=(0,c.Jj)(u);function t(n){let r=(0,l.U9)(n);(0,l.r3)(u,r)?(e.removeEventListener("mousemove",t),p.current=null):w(n.clientX,n.clientY)}if(!r.current.openEvent||eZ(r.current.openEvent)){e.addEventListener("mousemove",t);let n=()=>{e.removeEventListener("mousemove",t),p.current=null};return p.current=n,n}a.setPositionReference(i)},[R,s,d,v,u,r,a,i,w]);o.useEffect(()=>k(),[k,b]),o.useEffect(()=>{s&&!u&&(m.current=!1)},[s,u]),o.useEffect(()=>{!s&&n&&(m.current=!0)},[s,n]),P(()=>{s&&(null!=d||null!=v)&&(m.current=!1,w(d,v))},[s,d,v,w]);let M=o.useMemo(()=>{function e(e){let{pointerType:t}=e;y(t)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:x,onMouseEnter:x}},[x]);return o.useMemo(()=>s?{reference:M}:{},[s,M])}let eQ={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},e$={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},e0=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function e1(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,elements:u,dataRef:i}=e,{enabled:a=!0,escapeKey:s=!0,outsidePress:f=!0,outsidePressEvent:d="pointerdown",referencePress:v=!1,referencePressEvent:m="pointerdown",ancestorScroll:p=!1,bubbles:h,capture:y}=t,b=$(),E=g("function"==typeof f?f:()=>!1),w="function"==typeof f?E:f,x=o.useRef(!1),R=o.useRef(!1),{escapeKey:k,outsidePress:M}=e0(h),{escapeKey:C,outsidePress:T}=e0(y),I=o.useRef(!1),L=g(e=>{var t;if(!n||!a||!s||"Escape"!==e.key||I.current)return;let u=null==(t=i.current.floatingContext)?void 0:t.nodeId,o=b?ep(b.nodesRef.current,u):[];if(!k&&(e.stopPropagation(),o.length>0)){let e=!0;if(o.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,(0,l.MM)(e)?e.nativeEvent:e,"escape-key")}),A=g(e=>{var t;let n=()=>{var t;L(e),null==(t=(0,l.U9)(e))||t.removeEventListener("keydown",n)};null==(t=(0,l.U9)(e))||t.addEventListener("keydown",n)}),P=g(e=>{var t;let n=x.current;x.current=!1;let o=R.current;if(R.current=!1,"click"===d&&o||n||"function"==typeof w&&!w(e))return;let a=(0,l.U9)(e),s="["+er("inert")+"]",f=(0,l.Me)(u.floating).querySelectorAll(s),v=(0,c.kK)(a)?a:null;for(;v&&!(0,c.Py)(v);){let e=(0,c.Ow)(v);if((0,c.Py)(e)||!(0,c.kK)(e))break;v=e}if(f.length&&(0,c.kK)(a)&&!(0,l.ex)(a)&&!(0,l.r3)(a,u.floating)&&Array.from(f).every(e=>!(0,l.r3)(v,e)))return;if((0,c.Re)(a)&&D){let t=a.clientWidth>0&&a.scrollWidth>a.clientWidth,n=a.clientHeight>0&&a.scrollHeight>a.clientHeight,r=n&&e.offsetX>a.clientWidth;if(n&&"rtl"===(0,c.Dx)(a).direction&&(r=e.offsetX<=a.offsetWidth-a.clientWidth),r||t&&e.offsetY>a.clientHeight)return}let m=null==(t=i.current.floatingContext)?void 0:t.nodeId,p=b&&ep(b.nodesRef.current,m).some(t=>{var n;return(0,l.Pe)(e,null==(n=t.context)?void 0:n.elements.floating)});if((0,l.Pe)(e,u.floating)||(0,l.Pe)(e,u.domReference)||p)return;let g=b?ep(b.nodesRef.current,m):[];if(g.length>0){let e=!0;if(g.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),S=g(e=>{var t;let n=()=>{var t;P(e),null==(t=(0,l.U9)(e))||t.removeEventListener(d,n)};null==(t=(0,l.U9)(e))||t.addEventListener(d,n)});o.useEffect(()=>{if(!n||!a)return;i.current.__escapeKeyBubbles=k,i.current.__outsidePressBubbles=M;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),I.current=!0}function f(){e=window.setTimeout(()=>{I.current=!1},(0,c.Pf)()?5:0)}let v=(0,l.Me)(u.floating);s&&(v.addEventListener("keydown",C?A:L,C),v.addEventListener("compositionstart",o),v.addEventListener("compositionend",f)),w&&v.addEventListener(d,T?S:P,T);let m=[];return p&&((0,c.kK)(u.domReference)&&(m=(0,c.Kx)(u.domReference)),(0,c.kK)(u.floating)&&(m=m.concat((0,c.Kx)(u.floating))),!(0,c.kK)(u.reference)&&u.reference&&u.reference.contextElement&&(m=m.concat((0,c.Kx)(u.reference.contextElement)))),(m=m.filter(e=>{var t;return e!==(null==(t=v.defaultView)?void 0:t.visualViewport)})).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{s&&(v.removeEventListener("keydown",C?A:L,C),v.removeEventListener("compositionstart",o),v.removeEventListener("compositionend",f)),w&&v.removeEventListener(d,T?S:P,T),m.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[i,u,s,w,d,n,r,p,a,k,M,L,C,A,P,T,S]),o.useEffect(()=>{x.current=!1},[w,d]);let O=o.useMemo(()=>({onKeyDown:L,[eQ[m]]:e=>{v&&r(!1,e.nativeEvent,"reference-press")}}),[L,r,v,m]),D=o.useMemo(()=>({onKeyDown:L,onMouseDown(){R.current=!0},onMouseUp(){R.current=!0},[e$[d]]:()=>{x.current=!0}}),[L,d]);return o.useMemo(()=>a?{reference:O,floating:D}:{},[a,O,D])}function e2(e){let{open:t=!1,onOpenChange:n,elements:r}=e,u=z(),l=o.useRef({}),[i]=o.useState(()=>V()),c=null!=Q(),[a,s]=o.useState(r.reference),f=g((e,t,r)=>{l.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==n||n(e,t,r)}),d=o.useMemo(()=>({setPositionReference:s}),[]),v=o.useMemo(()=>({reference:a||r.reference||null,floating:r.floating||null,domReference:r.reference}),[a,r.reference,r.floating]);return o.useMemo(()=>({dataRef:l,open:t,onOpenChange:f,elements:v,events:i,floatingId:u,refs:d}),[t,f,v,i,u,d])}function e7(e){void 0===e&&(e={});let{nodeId:t}=e,n=e2({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,u=r.elements,[l,i]=o.useState(null),[a,s]=o.useState(null),d=(null==u?void 0:u.domReference)||l,v=o.useRef(null),m=$();P(()=>{d&&(v.current=d)},[d]);let p=(0,f.YF)({...e,elements:{...u,...a&&{reference:a}}}),g=o.useCallback(e=>{let t=(0,c.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;s(t),p.refs.setReference(t)},[p.refs]),h=o.useCallback(e=>{((0,c.kK)(e)||null===e)&&(v.current=e,i(e)),((0,c.kK)(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!(0,c.kK)(e))&&p.refs.setReference(e)},[p.refs]),y=o.useMemo(()=>({...p.refs,setReference:h,setPositionReference:g,domReference:v}),[p.refs,h,g]),b=o.useMemo(()=>({...p.elements,domReference:d}),[p.elements,d]),E=o.useMemo(()=>({...p,...r,refs:y,elements:b,nodeId:t}),[p,y,b,t,r]);return P(()=>{r.dataRef.current.floatingContext=E;let e=null==m?void 0:m.nodesRef.current.find(e=>e.id===t);e&&(e.context=E)}),o.useMemo(()=>({...p,context:E,refs:y,elements:b}),[p,y,b,E])}function e3(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:u,dataRef:i,elements:a}=e,{enabled:s=!0,visibleOnly:f=!0}=t,d=o.useRef(!1),v=o.useRef(),m=o.useRef(!0);o.useEffect(()=>{if(!s)return;let e=(0,c.Jj)(a.domReference);function t(){!n&&(0,c.Re)(a.domReference)&&a.domReference===(0,l.AW)((0,l.Me)(a.domReference))&&(d.current=!0)}function r(){m.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}},[a.domReference,n,s]),o.useEffect(()=>{if(s)return u.on("openchange",e),()=>{u.off("openchange",e)};function e(e){let{reason:t}=e;("reference-press"===t||"escape-key"===t)&&(d.current=!0)}},[u,s]),o.useEffect(()=>()=>{clearTimeout(v.current)},[]);let p=o.useMemo(()=>({onPointerDown(e){(0,l.cr)(e.nativeEvent)||(m.current=!1)},onMouseLeave(){d.current=!1},onFocus(e){if(d.current)return;let t=(0,l.U9)(e.nativeEvent);if(f&&(0,c.kK)(t))try{if((0,l.G6)()&&(0,l.V5)())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!m.current&&!(0,l.j7)(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){d.current=!1;let t=e.relatedTarget,n=e.nativeEvent,u=(0,c.kK)(t)&&t.hasAttribute(er("focus-guard"))&&"outside"===t.getAttribute("data-type");v.current=window.setTimeout(()=>{var e;let o=(0,l.AW)(a.domReference?a.domReference.ownerDocument:document);if(t||o!==a.domReference){if((0,l.r3)(null==(e=i.current.floatingContext)?void 0:e.refs.floating.current,o)||(0,l.r3)(a.domReference,o)||u)return;r(!1,n,"focus")}})}}),[i,a.domReference,r,f]);return o.useMemo(()=>s?{reference:p}:{},[s,p])}let e4="active",e9="selected";function e5(e,t,n){let r=new Map,u="item"===n,o=e;if(u&&e){let{[e4]:t,[e9]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,[eW]:""},...o,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,o]=t;if(!(u&&[e4,e9].includes(n))){if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof o){var l;null==(l=r.get(n))||l.push(o),e[n]=function(){for(var e,t=arguments.length,u=Array(t),o=0;oe(...u)).find(e=>void 0!==e)}}}else e[n]=o}}),e),{})}}function e8(e){void 0===e&&(e=[]);let t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),u=o.useCallback(t=>e5(t,e,"reference"),t),l=o.useCallback(t=>e5(t,e,"floating"),n),i=o.useCallback(t=>e5(t,e,"item"),r);return o.useMemo(()=>({getReferenceProps:u,getFloatingProps:l,getItemProps:i}),[u,l,i])}let e6=!1;function te(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function tt(e,t){return te(t,e===h||e===y,e===b||e===E)}function tn(e,t,n){return te(t,e===y,n?e===b:e===E)||"Enter"===e||" "===e||""===e}function tr(e,t,n){return te(t,n?e===E:e===b,e===h)}function tu(e,t){let{open:n,onOpenChange:r,elements:u}=e,{listRef:i,activeIndex:a,onNavigate:s=()=>{},enabled:f=!0,selectedIndex:d=null,allowEscape:v=!1,loop:m=!1,nested:p=!1,rtl:h=!1,virtual:w=!1,focusItemOnOpen:S="auto",focusItemOnHover:O=!0,openOnArrowKeyDown:D=!0,disabledIndices:F,orientation:K="vertical",cols:N=1,scrollItemIntoView:W=!0,virtualItemRef:_,itemSizes:U,dense:j=!1}=t,H=eu(e_(u.floating)),q=Q(),B=$(),X=g(s),Y=(0,l.Ie)(u.domReference),z=o.useRef(S),G=o.useRef(null!=d?d:-1),V=o.useRef(null),Z=o.useRef(!0),J=o.useRef(X),ee=o.useRef(!!u.floating),et=o.useRef(n),en=o.useRef(!1),er=o.useRef(!1),eo=eu(F),el=eu(n),ei=eu(W),ec=eu(d),[ea,es]=o.useState(),[ef,ed]=o.useState(),ev=g(function(e,t,n){function r(e){w?(es(e.id),null==B||B.events.emit("virtualfocus",e),_&&(_.current=e)):em(e,{preventScroll:!0,sync:!!((0,l.V5)()&&(0,l.G6)())&&(e6||en.current)})}void 0===n&&(n=!1);let u=e.current[t.current];u&&r(u),requestAnimationFrame(()=>{let o=e.current[t.current]||u;if(!o)return;u||r(o);let l=ei.current;l&&eh&&(n||!Z.current)&&(null==o.scrollIntoView||o.scrollIntoView("boolean"==typeof l?{block:"nearest",inline:"nearest"}:l))})});P(()=>{document.createElement("div").focus({get preventScroll(){return e6=!0,!1}})},[]),P(()=>{f&&(n&&u.floating?z.current&&null!=d&&(er.current=!0,G.current=d,X(d)):ee.current&&(G.current=-1,J.current(null)))},[f,n,u.floating,d,X]),P(()=>{if(f&&n&&u.floating){if(null==a){if(en.current=!1,null==ec.current&&(ee.current&&(G.current=-1,ev(i,G)),(!et.current||!ee.current)&&z.current&&(null!=V.current||!0===z.current&&null==V.current))){let e=0,t=()=>{null==i.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(G.current=null==V.current||tn(V.current,K,h)||p?R(i,eo.current):k(i,eo.current),V.current=null,X(G.current))};t()}}else x(i,a)||(G.current=a,ev(i,G,er.current),er.current=!1)}},[f,n,u.floating,a,ec,p,i,K,h,X,ev,eo]),P(()=>{var e;if(!f||u.floating||!B||w||!ee.current)return;let t=B.nodesRef.current,n=null==(e=t.find(e=>e.id===q))||null==(e=e.context)?void 0:e.elements.floating,r=(0,l.AW)((0,l.Me)(u.floating)),o=t.some(e=>e.context&&(0,l.r3)(e.context.elements.floating,r));n&&!o&&Z.current&&n.focus({preventScroll:!0})},[f,u.floating,B,q,w]),P(()=>{if(f&&B&&w&&!q)return B.events.on("virtualfocus",e),()=>{B.events.off("virtualfocus",e)};function e(e){ed(e.id),_&&(_.current=e)}},[f,B,w,q,_]),P(()=>{J.current=X,ee.current=!!u.floating}),P(()=>{n||(V.current=null)},[n]),P(()=>{et.current=n},[n]);let eg=null!=a,eh=o.useMemo(()=>{function e(e){if(!n)return;let t=i.current.indexOf(e);-1!==t&&X(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...O&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;Z.current&&"touch"!==t&&(G.current=-1,ev(i,G),X(null),w||em(H.current,{preventScroll:!0}))}}}},[n,H,ev,O,i,X,w]),ey=g(e=>{if(Z.current=!1,en.current=!0,229===e.which||!el.current&&e.currentTarget===H.current)return;if(p&&tr(e.key,K,h)){(0,l.p7)(e),r(!1,e.nativeEvent,"list-navigation"),(0,c.Re)(u.domReference)&&(w?null==B||B.events.emit("virtualfocus",u.domReference):u.domReference.focus());return}let t=G.current,o=R(i,F),a=k(i,F);if(Y||("Home"===e.key&&((0,l.p7)(e),G.current=o,X(G.current)),"End"===e.key&&((0,l.p7)(e),G.current=a,X(G.current))),N>1){let t=U||Array.from({length:i.current.length},()=>({width:1,height:1})),n=T(t,N,j),r=n.findIndex(e=>null!=e&&!A(i.current,e,F)),u=n.reduce((e,t,n)=>null==t||A(i.current,t,F)?e:n,-1),l=n[C({current:n.map(e=>null!=e?i.current[e]:null)},{event:e,orientation:K,loop:m,rtl:h,cols:N,disabledIndices:L([...F||i.current.map((e,t)=>A(i.current,t)?t:void 0),void 0],n),minIndex:r,maxIndex:u,prevIndex:I(G.current>a?o:G.current,t,n,N,e.key===y?"bl":e.key===(h?b:E)?"tr":"tl"),stopEvent:!0})];if(null!=l&&(G.current=l,X(G.current)),"both"===K)return}if(tt(e.key,K)){if((0,l.p7)(e),n&&!w&&(0,l.AW)(e.currentTarget.ownerDocument)===e.currentTarget){G.current=tn(e.key,K,h)?o:a,X(G.current);return}tn(e.key,K,h)?m?G.current=t>=a?v&&t!==i.current.length?-1:o:M(i,{startingIndex:t,disabledIndices:F}):G.current=Math.min(a,M(i,{startingIndex:t,disabledIndices:F})):m?G.current=t<=o?v&&-1!==t?i.current.length:a:M(i,{startingIndex:t,decrement:!0,disabledIndices:F}):G.current=Math.max(o,M(i,{startingIndex:t,decrement:!0,disabledIndices:F})),x(i,G.current)?X(null):X(G.current)}}),eb=o.useMemo(()=>w&&n&&eg&&{"aria-activedescendant":ef||ea},[w,n,eg,ef,ea]),eE=o.useMemo(()=>({"aria-orientation":"both"===K?void 0:K,...!(0,l.Ie)(u.domReference)&&eb,onKeyDown:ey,onPointerMove(){Z.current=!0}}),[eb,ey,u.domReference,K]),ew=o.useMemo(()=>{function e(e){"auto"===S&&(0,l.Zj)(e.nativeEvent)&&(z.current=!0)}return{...eb,onKeyDown(e){var t,u,o,c,a,s;Z.current=!1;let f=e.key.startsWith("Arrow"),v=["Home","End"].includes(e.key),m=(t=e.key,te(K,h?t===b:t===E,t===y)),g=tr(e.key,K,h),x=tt(e.key,K),k=(p?m:x)||"Enter"===e.key||""===e.key.trim();if(w&&n){let t,n;let r=null==B?void 0:B.nodesRef.current.find(e=>null==e.parentId),d=B&&r?(u=B.nodesRef.current,o=r.id,n=-1,!function e(r,o){o>n&&(t=r,n=o),ep(u,r).forEach(t=>{e(t.id,o+1)})}(o,0),u.find(e=>e.id===t)):null;if((f||v)&&d&&_){let t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(m||g){let n=(null==(c=d.context)?void 0:c.elements.domReference)===e.currentTarget,r=g&&!n?null==(a=d.context)?void 0:a.elements.domReference:m?i.current.find(e=>(null==e?void 0:e.id)===ea):null;r&&((0,l.p7)(e),r.dispatchEvent(t),ed(void 0))}if((x||v)&&d.context&&d.context.open&&d.parentId&&e.currentTarget!==d.context.elements.domReference){(0,l.p7)(e),null==(s=d.context.elements.domReference)||s.dispatchEvent(t);return}}return ey(e)}if(n||D||!f){if(k&&(V.current=p&&x?null:e.key),p){m&&((0,l.p7)(e),n?(G.current=R(i,eo.current),X(G.current)):r(!0,e.nativeEvent,"list-navigation"));return}x&&(null!=d&&(G.current=d),(0,l.p7)(e),!n&&D?r(!0,e.nativeEvent,"list-navigation"):ey(e),n&&X(G.current))}},onFocus(){n&&!w&&X(null)},onPointerDown:function(e){z.current=S,"auto"===S&&(0,l.cr)(e.nativeEvent)&&(z.current=!0)},onMouseDown:e,onClick:e}},[ea,eb,ey,eo,S,i,p,X,r,n,D,K,h,d,B,w,_]);return o.useMemo(()=>f?{reference:ew,floating:eE,item:eh}:{},[f,ew,eE,eh])}let to=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function tl(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:u}=e,{enabled:l=!0,role:i="dialog"}=t,c=null!=(n=to.get(i))?n:i,a=z(),s=null!=Q(),f=o.useMemo(()=>"tooltip"===c||"label"===i?{["aria-"+("label"===i?"labelledby":"describedby")]:r?u:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===c?"dialog":c,"aria-controls":r?u:void 0,..."listbox"===c&&{role:"combobox"},..."menu"===c&&{id:a},..."menu"===c&&s&&{role:"menuitem"},..."select"===i&&{"aria-autocomplete":"none"},..."combobox"===i&&{"aria-autocomplete":"list"}},[c,u,s,r,a,i]),d=o.useMemo(()=>{let e={id:u,...c&&{role:c}};return"tooltip"===c||"label"===i?e:{...e,..."menu"===c&&{"aria-labelledby":a}}},[c,u,a,i]),v=o.useCallback(e=>{let{active:t,selected:n}=e,r={role:"option",...t&&{id:u+"-option"}};switch(i){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}},[u,i]);return o.useMemo(()=>l?{reference:f,floating:d,item:v}:{},[l,f,d,v])}let ti=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(e,t)=>(t?"-":"")+e.toLowerCase());function tc(e,t){return"function"==typeof e?e(t):e}function ta(e,t){void 0===t&&(t={});let{open:n,elements:{floating:r}}=e,{duration:u=250}=t,l=("number"==typeof u?u:u.close)||0,[i,c]=o.useState("unmounted"),a=function(e,t){let[n,r]=o.useState(e);return e&&!n&&r(!0),o.useEffect(()=>{if(!e&&n){let e=setTimeout(()=>r(!1),t);return()=>clearTimeout(e)}},[e,n,t]),n}(n,l);return a||"close"!==i||c("unmounted"),P(()=>{if(r){if(n){c("initial");let e=requestAnimationFrame(()=>{c("open")});return()=>{cancelAnimationFrame(e)}}c("close")}},[n,r]),{isMounted:a,status:i}}function ts(e,t){void 0===t&&(t={});let{initial:n={opacity:0},open:r,close:u,common:l,duration:i=250}=t,c=e.placement,a=c.split("-")[0],s=o.useMemo(()=>({side:a,placement:c}),[a,c]),f="number"==typeof i,d=(f?i:i.open)||0,v=(f?i:i.close)||0,[m,p]=o.useState(()=>({...tc(l,s),...tc(n,s)})),{isMounted:g,status:h}=ta(e,{duration:i}),y=eu(n),b=eu(r),E=eu(u),w=eu(l);return P(()=>{let e=tc(y.current,s),t=tc(E.current,s),n=tc(w.current,s),r=tc(b.current,s)||Object.keys(e).reduce((e,t)=>(e[t]="",e),{});if("initial"===h&&p(t=>({transitionProperty:t.transitionProperty,...n,...e})),"open"===h&&p({transitionProperty:Object.keys(r).map(ti).join(","),transitionDuration:d+"ms",...n,...r}),"close"===h){let r=t||e;p({transitionProperty:Object.keys(r).map(ti).join(","),transitionDuration:v+"ms",...n,...r})}},[v,E,y,b,w,d,h,s]),{isMounted:g,styles:m}}function tf(e,t){var n;let{open:r,dataRef:u}=e,{listRef:i,activeIndex:c,onMatch:a,onTypingChange:s,enabled:f=!0,findMatch:d=null,resetMs:v=750,ignoreKeys:m=[],selectedIndex:p=null}=t,h=o.useRef(),y=o.useRef(""),b=o.useRef(null!=(n=null!=p?p:c)?n:-1),E=o.useRef(null),w=g(a),x=g(s),R=eu(d),k=eu(m);P(()=>{r&&(clearTimeout(h.current),E.current=null,y.current="")},[r]),P(()=>{if(r&&""===y.current){var e;b.current=null!=(e=null!=p?p:c)?e:-1}},[r,p,c]);let M=g(e=>{e?u.current.typing||(u.current.typing=e,x(e)):u.current.typing&&(u.current.typing=e,x(e))}),C=g(e=>{function t(e,t,n){let r=R.current?R.current(t,n):t.find(e=>(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))===0);return r?e.indexOf(r):-1}let n=i.current;if(y.current.length>0&&" "!==y.current[0]&&(-1===t(n,n,y.current)?M(!1):" "===e.key&&(0,l.p7)(e)),null==n||k.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;r&&" "!==e.key&&((0,l.p7)(e),M(!0)),n.every(e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())})&&y.current===e.key&&(y.current="",b.current=E.current),y.current+=e.key,clearTimeout(h.current),h.current=setTimeout(()=>{y.current="",b.current=E.current,M(!1)},v);let u=b.current,o=t(n,[...n.slice((u||0)+1),...n.slice(0,(u||0)+1)],y.current);-1!==o?(w(o),E.current=o):" "!==e.key&&(y.current="",M(!1))}),T=o.useMemo(()=>({onKeyDown:C}),[C]),I=o.useMemo(()=>({onKeyDown:C,onKeyUp(e){" "===e.key&&M(!1)}}),[C,M]);return o.useMemo(()=>f?{reference:T,floating:I}:{},[f,T,I])}function td(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let tv=e=>({name:"inner",options:e,async fn(t){let{listRef:n,overflowRef:r,onFallbackChange:u,offset:o=0,index:l=0,minItemsVisible:c=4,referenceOverflowThreshold:a=0,scrollRef:v,...m}=(0,i.ku)(e,t),{rects:p,elements:{floating:g}}=t,h=n.current[l],y=(null==v?void 0:v.current)||g,b=g.clientTop||y.clientTop,E=0!==g.clientTop,w=0!==y.clientTop,x=g===y;if(!h)return{};let R={...t,...await (0,f.cv)(-h.offsetTop-g.clientTop-p.reference.height/2-h.offsetHeight/2-o).fn(t)},k=await (0,d.US)(td(R,y.scrollHeight+b+g.clientTop),m),M=await (0,d.US)(R,{...m,elementContext:"reference"}),C=(0,i.Fp)(0,k.top),T=R.y+C,I=(y.scrollHeight>y.clientHeight?e=>e:i.NM)((0,i.Fp)(0,y.scrollHeight+(E&&x||w?2*b:0)-C-(0,i.Fp)(0,k.bottom)));if(y.style.maxHeight=I+"px",y.scrollTop=C,u){let e=y.offsetHeight=-a||M.bottom>=-a;s.flushSync(()=>u(e))}return r&&(r.current=await (0,d.US)(td({...R,y:T},y.offsetHeight+b+g.clientTop),m)),{y:T}}});function tm(e,t){let{open:n,elements:r}=e,{enabled:u=!0,overflowRef:i,scrollRef:c,onChange:a}=t,f=g(a),d=o.useRef(!1),v=o.useRef(null),m=o.useRef(null);o.useEffect(()=>{if(!u)return;function e(e){if(e.ctrlKey||!t||null==i.current)return;let n=e.deltaY,r=i.current.top>=-.5,u=i.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,c=n<0?-1:1,a=n<0?"max":"min";!(t.scrollHeight<=t.clientHeight)&&(!r&&n>0||!u&&n<0?(e.preventDefault(),s.flushSync(()=>{f(e=>e+Math[a](n,o*c))})):/firefox/i.test((0,l.ij)())&&(t.scrollTop+=n))}let t=(null==c?void 0:c.current)||r.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{v.current=t.scrollTop,null!=i.current&&(m.current={...i.current})}),()=>{v.current=null,m.current=null,t.removeEventListener("wheel",e)}},[u,n,r.floating,i,c,f]);let p=o.useMemo(()=>({onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){let e=(null==c?void 0:c.current)||r.floating;if(i.current&&e&&d.current){if(null!==v.current){let t=e.scrollTop-v.current;(i.current.bottom<-.5&&t<-1||i.current.top<-.5&&t>1)&&s.flushSync(()=>f(e=>e+t))}requestAnimationFrame(()=>{v.current=e.scrollTop})}}}),[r.floating,f,i,c]);return o.useMemo(()=>u?{floating:p}:{},[u,p])}function tp(e,t){let[n,r]=e,u=!1,o=t.length;for(let e=0,l=o-1;e=r!=a>=r&&n<=(c-o)*(r-i)/(a-i)+o&&(u=!u)}return u}function tg(e){let t;void 0===e&&(e={});let{buffer:n=.5,blockPointerEvents:r=!1,requireIntent:u=!0}=e,o=!1,i=null,a=null,s=performance.now(),f=e=>{let{x:r,y:f,placement:d,elements:v,onClose:m,nodeId:p,tree:g}=e;return function(e){function h(){clearTimeout(t),m()}if(clearTimeout(t),!v.domReference||!v.floating||null==d||null==r||null==f)return;let{clientX:y,clientY:b}=e,E=[y,b],w=(0,l.U9)(e),x="mouseleave"===e.type,R=(0,l.r3)(v.floating,w),k=(0,l.r3)(v.domReference,w),M=v.domReference.getBoundingClientRect(),C=v.floating.getBoundingClientRect(),T=d.split("-")[0],I=r>C.right-C.width/2,L=f>C.bottom-C.height/2,A=E[0]>=M.x&&E[0]<=M.x+M.width&&E[1]>=M.y&&E[1]<=M.y+M.height,P=C.width>M.width,S=C.height>M.height,O=(P?M:C).left,D=(P?M:C).right,F=(S?M:C).top,K=(S?M:C).bottom;if(R&&(o=!0,!x))return;if(k&&(o=!1),k&&!x){o=!0;return}if(x&&(0,c.kK)(e.relatedTarget)&&(0,l.r3)(v.floating,e.relatedTarget)||g&&ep(g.nodesRef.current,p).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===T&&f>=M.bottom-1||"bottom"===T&&f<=M.top+1||"left"===T&&r>=M.right-1||"right"===T&&r<=M.left+1)return h();let N=[];switch(T){case"top":N=[[O,M.top+1],[O,C.bottom-1],[D,C.bottom-1],[D,M.top+1]];break;case"bottom":N=[[O,C.top+1],[O,M.bottom-1],[D,M.bottom-1],[D,C.top+1]];break;case"left":N=[[C.right-1,K],[C.right-1,F],[M.left+1,F],[M.left+1,K]];break;case"right":N=[[M.right-1,K],[M.right-1,F],[C.left+1,F],[C.left+1,K]]}if(!tp([y,b],N)){if(o&&!A)return h();if(!x&&u){let t=function(e,t){let n=performance.now(),r=n-s;if(null===i||null===a||0===r)return i=e,a=t,s=n,null;let u=e-i,o=t-a;return i=e,a=t,s=n,Math.sqrt(u*u+o*o)/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return h()}tp([y,b],function(e){let[t,r]=e;switch(T){case"top":{let e=[[C.left,I?C.bottom-n:P?C.bottom-n:C.top],[C.right,I?P?C.bottom-n:C.top:C.bottom-n]];return[[P?t+n/2:I?t+4*n:t-4*n,r+n+1],[P?t-n/2:I?t+4*n:t-4*n,r+n+1],...e]}case"bottom":{let e=[[C.left,I?C.top+n:P?C.top+n:C.bottom],[C.right,I?P?C.top+n:C.bottom:C.top+n]];return[[P?t+n/2:I?t+4*n:t-4*n,r-n],[P?t-n/2:I?t+4*n:t-4*n,r-n],...e]}case"left":return[[L?C.right-n:S?C.right-n:C.left,C.top],[L?S?C.right-n:C.left:C.right-n,C.bottom],[t+n+1,S?r+n/2:L?r+4*n:r-4*n],[t+n+1,S?r-n/2:L?r+4*n:r-4*n]];case"right":{let e=[[L?C.left+n:S?C.left+n:C.right,C.top],[L?S?C.left+n:C.right:C.left+n,C.bottom]];return[[t-n,S?r+n/2:L?r+4*n:r-4*n],[t-n,S?r-n/2:L?r+4*n:r-4*n],...e]}}}([r,f]))?!o&&u&&(t=window.setTimeout(h,40)):h()}}};return f.__options={blockPointerEvents:r},f}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/2806-73840ca6c0cfbafc_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/2806-73840ca6c0cfbafc_05Q6.js new file mode 100644 index 0000000..5b4d8ad --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/2806-73840ca6c0cfbafc_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2806],{44014:function(e,t,a){"use strict";a.d(t,{$I:function(){return h},If:function(){return k},JH:function(){return f},Jf:function(){return y},Np:function(){return _},Pe:function(){return u},TH:function(){return d},il:function(){return m},ue:function(){return p}});var r=a(53867),i=a(23324),n=a(48189),l=a(99464),o=a(48764).Buffer;let c=new i.Z({watchlistServiceUrl:"".concat("https://login.bloomberg.com","/watchlist-service")}),s=n.ff.getInstance();function u(e){let{bconnectId:t,watchlistId:a}=e;return c.getWatchlistCompare({bconnectId:t,watchlistId:a}).then(e=>e).catch(e=>{let t="Failed to fetch watchlist compare: ".concat(JSON.stringify(e));throw(0,l.H)(Error(t)),e})}function d(e){let{bconnectId:t,watchlistId:a,watchlistCompareData:r}=e;return c.updateWatchlistCompare({bconnectId:t,watchlistId:a,watchlistCompareData:r}).then(e=>e).catch(e=>{let t="Failed to update watchlist compare: ".concat(JSON.stringify(e));throw(0,l.H)(Error(t)),e})}async function h(e){let{bconnectId:t,subscription:a}=e;try{let e={};if(void 0!==a){let t=o.from(JSON.stringify({isSubscriber:"BBG"===a}),"utf-8").toString("base64");e["X-Request-Metadata"]=t}return{data:await s.getUserPreference(t,{headers:e}),status:200,message:"Success"}}catch(t){var i,n;(0,r.uH)("watchlistError","Get User Preferences Failure","error","watchlist");let e="Failed to fetch user preferences: ".concat(JSON.stringify(t));throw null===(n=window)||void 0===n||null===(i=n.newrelic)||void 0===i||i.noticeError(Error(e)),t}}function m(e){let{bconnectId:t,alertsNotificationsEnabled:a,alertsEmailsEnabled:i,dashboardView:n}=e;return c.updateUserPreferences({bconnectId:t,alertsNotificationsEnabled:a,alertsEmailsEnabled:i,dashboardView:n}).then(e=>e).catch(e=>{var t,a;(0,r.uH)("watchlistError","Update User Preferences Failure","error","watchlist");let i="Failed to update user preferences: ".concat(JSON.stringify(e));throw null===(a=window)||void 0===a||null===(t=a.newrelic)||void 0===t||t.noticeError(Error(i)),e})}function p(e){let{bconnectId:t,watchlistId:a}=e;return c.getUserWatchlists({bconnectId:t,watchlistId:a}).then(e=>e).catch(e=>{var t,a;(0,r.uH)("watchlistError","Get Default Watchlist Failure","error","watchlist");let i="Failed to fetch Default Watchlist data: ".concat(JSON.stringify(e));throw null===(a=window)||void 0===a||null===(t=a.newrelic)||void 0===t||t.noticeError(Error(i)),e})}function k(e,t){return c.getWatchlist({bconnectId:e,watchlistId:t}).then(e=>e).catch(e=>{var t,a;(0,r.uH)("watchlistError","Get Watchlist Failure","error","watchlist");let i="Failed to fetch Watchlist data: ".concat(JSON.stringify(e));throw null===(a=window)||void 0===a||null===(t=a.newrelic)||void 0===t||t.noticeError(Error(i)),e})}function f(e,t){return c.createWatchlist({bconnectId:e,watchlistData:t}).then(e=>((0,r.uH)("watchlistSubmitChanges","submit_changes","click","engagement"),e)).catch(e=>{var t,a;(0,r.uH)("watchlistError","Create Watchlist Failure","error","watchlist");let i="Failed to Create Watchlist: ".concat(JSON.stringify(e));throw null===(a=window)||void 0===a||null===(t=a.newrelic)||void 0===t||t.noticeError(Error(i)),e})}function y(e,t,a){return c.updateWatchlist({bconnectId:e,watchlistId:t,watchlistData:a}).then(e=>((0,r.uH)("watchlistSubmitChanges","submit_changes","success","watchlist"),e)).catch(e=>{var t,a;(0,r.uH)("watchlistError","Update Watchlist Failure","error","watchlist");let i="Failed to Update Watchlist: ".concat(JSON.stringify(e));throw null===(a=window)||void 0===a||null===(t=a.newrelic)||void 0===t||t.noticeError(Error(i)),e})}function _(e,t){return c.deleteWatchlist({bconnectId:e,watchlistId:t}).then(e=>((0,r.uH)("watchlistDelete","delete","success","watchlist"),e)).catch(e=>{var t,a;(0,r.uH)("watchlistError","Delete Watchlist Failure","error","watchlist");let i="Failed to Delete Watchlist: ".concat(JSON.stringify(e));throw null===(a=window)||void 0===a||null===(t=a.newrelic)||void 0===t||t.noticeError(Error(i)),e})}},48523:function(e,t,a){"use strict";a.d(t,{Z:function(){return h}});var r=a(85893),i=a(67294),n=a(9198),l=a.n(n),o=a(77536),c=a(71717);a(5843);var s=a(73319),u=a(3364),d=a.n(u);function h(e){let{className:t,dateFormat:a="MM/dd/yyyy",error:n,label:u,isJapanese:h,maxDate:m,native:p=!1,placeholder:k,popperPlacement:f,portalId:y,required:_=!1,value:b,onChange:S,variant:w="default"}=e,C=b?new Date(b):new Date,[L,A]=(0,i.useState)(C),P=(0,i.useMemo)(()=>{if(h)return s.Z},[h]),D=(0,o.RD)([t,d().datepickerInput,{[d().error]:!!n}]),g=(0,o.RD)([d().datepicker,{[d().refresh2025]:"refresh-2025"===w}]),N=(0,o.RD)([d().popper,{[d().refresh2025]:"refresh-2025"===w}]),E=(0,o.RD)([d().calendar,{[d().refresh2025]:"refresh-2025"===w}]),I=(0,o.RD)([d().day,{[d().refresh2025]:"refresh-2025"===w}]),v=(0,o.RD)([d().weekday,{[d().refresh2025]:"refresh-2025"===w}]),T=(0,i.useCallback)(e=>{e&&(A(e),S&&S(e))},[S]),M=(0,i.useCallback)(e=>I,[I]),B=(0,i.useCallback)(e=>v,[v]);return p?(0,r.jsx)(c.U,{className:D,type:"date",error:!!n,helperText:n,value:L.toISOString().split("T")[0],label:u,placeholder:k,onChange:e=>{if(!e.target.value)return;let t=new Date(e.target.value);t&&T(t)}}):(0,r.jsx)(l(),{className:D,calendarClassName:E,popperClassName:N,wrapperClassName:g,dayClassName:M,weekDayClassName:B,autoComplete:"off",locale:P,selected:L,placeholderText:k,required:_,dateFormat:a,onChange:T,maxDate:m,portalId:y,popperPlacement:f,closeOnScroll:()=>!0})}},32689:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});var r=a(85893);a(67294);var i=a(77536),n=a(99104),l=a(60006),o=a(35762),c=a.n(o);function s(e){let{text:t,actionIcon:a,actionText:o,variant:s,className:u,onActionClick:d}=e;return(0,r.jsxs)("div",{className:(0,i.RD)(c().notification,c()[s],u),children:[(0,r.jsx)("div",{className:(0,i.RD)(c().textWrapper,c()[s]),children:Array.isArray(t)?t.map((e,t)=>(0,r.jsx)("div",{children:e},t)):(0,r.jsx)("div",{children:t})}),(a||o)&&(0,r.jsxs)("div",{className:c().buttonWrapper,children:[(0,r.jsx)(n.K,{className:(0,i.RD)(c().button,c()[s]),Icon:a,color:"neutral",colorMode:"light",iconPosition:"left",size:"small",version:"phoenix",onClick:d,title:o,children:o}),(0,r.jsx)(l.h,{className:(0,i.RD)(c().buttonIcon,c()[s]),Icon:a,version:"phoenix",onClick:d})]})]})}},84034:function(e,t,a){"use strict";a.d(t,{Z:function(){return f}});var r=a(85893),i=a(67294),n=a(48388),l=a(93223),o=a(82112),c=a(77536),s=a(53867),u=a(64798),d=a(40589),h=a.n(d),m=a(42844),p=a(50797);let k=(0,i.memo)(o.l);function f(e){var t,a;let{searchURL:o,className:d,countryCode:f,disabled:y=!1,placeholder:_,onChange:b}=e,{abbaConfig:S}=(0,n._U)(),w=null!==(a=null==S?void 0:null===(t=S["watchlist-search"])||void 0===t?void 0:t.enableFuzziness)&&void 0!==a&&a,[C,L]=(0,i.useState)([]),A=(0,i.useCallback)(()=>{L([])},[]),P=(0,i.useMemo)(()=>new l.Z({baseUrl:o}),[o]),D=(0,i.useCallback)(e=>{if(e)return P.lookup({query:e,sites:["bbiz"],includeBlocklisted:!1,source:(0,m.Y)(),size:100,country:f,types:["company_public","Index","Fund","Currency","Commodity","Bond"],boostParents:!0,...w&&{fuzziness:"auto",popularity:"watchlist"}})},[P,w,f]),g=(0,u.Z)(e=>{var t;e||A(),(0,s.uH)("ticker search",e,"user entry","ticker search"),null==D||null===(t=D(e))||void 0===t||t.then(e=>{let{results:t}=e;if(!t){A();return}L(t.map(e=>{let{name:t,resource_id:a}=e;return{value:a,subText:t}}))})},300),N=(0,p.Q)(),E={noResults:N({id:"noResults",defaultMessage:"No Results"}),addSymbol:N({id:"addSymbol",defaultMessage:"Add Symbol..."})};return(0,r.jsx)(k,{className:(0,c.Sh)([h().tickerSearch,h().autocomplete,d]),onTextChange:g,onChange:b,id:"autocomplete",inputProps:{autocomplete:"off"},variant:"default",dropdownVariant:"markets",showDropdownPlusBtn:!0,disabled:y,placeholder:null!=_?_:E.addSymbol,noOptionsText:E.noResults,options:C})}},92950:function(e,t,a){"use strict";a.d(t,{s_:function(){return X},ZP:function(){return Y}});var r=a(85893),i=a(67294),n=a(77536),l=a(51434),o=a(68868),c=a(31361),s=a(96524),u=a.n(s),d=a(40281),h=a(62139),m=a(20567),p=a(70390),k=a(59628),f=a(53867),y=a(84514),_=a.n(y),b=a(51656),S=a(25022),w=a(41762),C=a(93075),L=a(1371),A=a(29545),P=a(47552),D=a(89089),g=a.n(D);function N(e){var t,a;let{disabled:n=!0,handleLoginRedirect:l,children:o,trackClick:s,allowedPlacements:u=["bottom-start","bottom-end"],overlayOffset:d=5}=e,{openSignUp:h,openOverlay:m,subscriberType:p,isLoggedIn:k,setOpenOverlay:f}=(0,w._P)(),y=!!(null!==(a=null===(t=(0,c.useFeatureGate)("watchlist_paywall"))||void 0===t?void 0:t.value)&&void 0!==a&&a),_=(0,i.useMemo)(()=>!n&&"BBG"!==p&&y,[n,p,y]),{refs:b,context:S,floatingStyles:D}=(0,C.YF)({middleware:[(0,L.cv)(d),(0,L.X5)({allowedPlacements:u,padding:5}),(0,L.uY)({})],whileElementsMounted:A.Me,strategy:"absolute"}),N=(0,C.qs)(S),{getFloatingProps:E}=(0,C.NI)([N]),I=(0,i.useMemo)(()=>Math.random().toString(20).slice(2),[]),v=m===I,T=(0,i.useCallback)(()=>{null==f||f(I)},[f,I]),M=(0,i.useCallback)(()=>{null==f||f(null)},[f]),B=(0,i.useCallback)(()=>{null==s||s("click","create-account-watchlist-bundle"),h&&(h(),M())},[h,M,s]),U=(0,i.useCallback)(()=>{null==s||s("click","sign-in-watchlist-bundle"),l&&(l(),M())},[M,s,l]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:g().paywallButtonContainer,onClickCapture:e=>{_&&(e.preventDefault(),e.stopPropagation(),T())},onKeyDownCapture:e=>{_&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),e.stopPropagation(),T())},tabIndex:n?-1:0,"aria-disabled":n,ref:b.setReference,children:o}),v&&(0,r.jsx)(C.ll,{id:"watchlist-bundle",children:(0,r.jsx)(C.wD,{initialFocus:-1,returnFocus:!1,closeOnFocusOut:!1,modal:!1,context:S,children:(0,r.jsx)("div",{className:g().floatingUI,ref:b.setFloating,style:{...D},...E(),children:(0,r.jsx)(P.c,{className:g().quickAddOverlay,disabled:!1,isSubscribed:"BBG"===p,isLoggedIn:!!k,canAddWatchlist:!1,onCreateAccountClick:B,onSignInClick:U,onClose:M,onSave:()=>null,onCreateNewWatchlist:()=>Promise.resolve(null),watchlists:[]})})})})]})}var E=a(49681),I=a(62881),v=a(99464);let T=()=>[{lotId:-1,shares:"0",buyPrice:"0",buyDate:new Date().getTime()}];function M(e){var t,a;let{headline:l,banner:o,securities:c,maxWatchlistCountReached:s,tariffBundlesFeatureEnabled:u,variant:d="default"}=e,{client:y,session:w}=(0,k.useRegUIClient)(),{upsertPortfolio:C}=(0,S.eP)(),[L,A]=(0,i.useState)(!1),P=(0,i.useCallback)(()=>A(!0),[]),D=(0,i.useCallback)(()=>A(!1),[]),g=(0,i.useMemo)(()=>X[l],[l]),M=(0,i.useMemo)(()=>({...E.kf,name:l,holdings:function(e){let t=T();return e.map(e=>({ticker:e.ticker,companyName:e.name,totalShares:0,costBasis:0,lots:t}))}(c)}),[l,c]),[B,U]=(0,i.useState)(!1),R=null!==(a=null==w?void 0:null===(t=w.userInfo)||void 0===t?void 0:t.userId)&&void 0!==a?a:"",{shouldWallAction:x,blockUserIfWalledActionIsAttempted:F}=(0,I.n)(),H=(0,i.useCallback)(()=>(null==w||!w.isLoggedIn)&&!!y&&(sessionStorage.setItem("createBundleAfterLogin",JSON.stringify({shouldCreate:!0,bundlePortfolio:M})),y.linkToSignIn(),(0,f.uH)("watchlistLogIn","login","click","watchlist"),!0),[null==w?void 0:w.isLoggedIn,y,M]),O=(0,i.useCallback)(()=>{if(D(),x){F();return}H()||(U(!0),(0,f.uH)(...g),(0,f.uH)("watchlistEdit","create_watchlist","click","watchlist"),(0,v.f)("watchlistBundleCreate",{bundleName:l}),(0,b.$)(M,R).then(C).catch(()=>{P(),setTimeout(()=>D(),E.jv)}).finally(()=>{U(!1)}))},[y,w,M,g,C,P,D,x,F]),G=(0,n.RD)(u?_().tariffBundle:_().watchlistBundle,{[_().wrappedBundleModifier]:"wrapped"===d}),j=(0,n.RD)(u?_().tariffButton:_().startListButton,{[_().wrappedButtonModifier]:"wrapped"===d}),W=(0,n.RD)(u?_().tariffButtonMobile:_().startListButtonMobile,{[_().wrappedButtonModifier]:"wrapped"===d});return(0,r.jsxs)("div",{className:G,children:[(0,r.jsx)("div",{className:_().bundleHeadline,children:l}),(0,r.jsx)("div",{className:_().bundleBanner,children:(0,r.jsx)("img",{alt:"",src:o})}),(0,r.jsx)("div",{className:_().bundleSecurities,children:null==c?void 0:c.map(e=>{let{ticker:t,name:a}=e;return(0,r.jsxs)("div",{className:_().securityRow,children:[(0,r.jsx)("span",{className:_().securityTicker,children:t}),(0,r.jsxs)("span",{className:_().securityName,title:a,children:[" ",a]})]},t)})}),(0,r.jsxs)(N,{disabled:"wrapped"!==d,handleLoginRedirect:H,children:[(0,r.jsx)(h.U,{title:"Start this list",ActionIcon:(0,r.jsx)(p.ol,{}),disabled:s,onClick:O,className:j,loading:B,children:(0,r.jsx)("span",{children:"Start this list"})}),(0,r.jsx)(h.U,{title:"Start this list",size:"small",ActionIcon:(0,r.jsx)(p.ol,{}),onClick:O,className:W,loading:B,children:(0,r.jsx)("span",{children:"Start this list"})})]}),L&&(0,r.jsx)(m.b,{open:!0,autoHideDuration:E.aP})]})}var B=a(61362);let U="https://".concat("assets.bwbx.io","/s3/bazaar/images"),R=10*E.Oe,x="Trending",F="Global Markets",H="Crypto",O="Automotive",G="Retail",j="Semiconductors",W="Critical Minerals",X={[x]:["watchlistCreate","create_watchlist_trending_bundle","click","watchlist"],[F]:["watchlistCreate","create_watchlist_global_markets_bundle","click","watchlist"],[H]:["watchlistCreate","create_watchlist_crypto_bundle","click","watchlist"],[O]:["watchlistCreate","create_watchlist_automotive_bundle","click","watchlist"],[G]:["watchlistCreate","create_watchlist_retail_bundle","click","watchlist"],[j]:["watchlistCreate","create_watchlist_semiconductors_bundle","click","watchlist"],[W]:["watchlistCreate","create_watchlist_critical_minerals_bundle","click","watchlist"]},V=[{headline:x,banner:"".concat(U,"/trending.jpg"),securities:B.l1},{headline:F,banner:"".concat(U,"/global_markets.jpg"),securities:B.SH},{headline:H,banner:"".concat(U,"/crypto.jpg"),securities:B.c6}],J=[{headline:O,banner:"".concat(U,"/automotive_bundle.jpg"),securities:B.mH},{headline:G,banner:"".concat(U,"/retail_bundle.jpg"),securities:B.Vx},{headline:j,banner:"".concat(U,"/semiconductors_bundle.jpg"),securities:B.BJ},{headline:W,banner:"".concat(U,"/minerals_bundle.jpg"),securities:B.bx}];function Y(e){var t;let{maxWatchlistCountReached:a,variant:s="default"}=e,h=(0,i.useContext)(d.z),m=(0,c.useLayer)("watchlist-dashboard-v2").get("enabled",!1)||!!(null==h?void 0:null===(t=h.pageData)||void 0===t?void 0:t.enableTariffBundles),p=V.map(e=>({...e,maxWatchlistCountReached:a})),k=(0,n.RD)(u().watchlistBundleContainer,{[u().wrappedContainerModifier]:"wrapped"===s}),f=(0,n.RD)({[u().bundleModule]:"default"===s,[u().wrappedBundleModule]:"wrapped"===s}),y=(0,n.RD)({[u().bundleMobileAndTablet]:"default"===s,[u().wrappedBundleMobileAndTablet]:"wrapped"===s}),_=(0,i.useMemo)(()=>"wrapped"===s?"Start a watchlist to view the daily trends of assets you care about.":m?"Track the impact of tariffs.":"Kickstart watchlists based on themes.",[s,m]),b=(0,i.useMemo)(()=>"wrapped"===s,[s]);return(0,r.jsx)(l.W,{rounded:!0,className:k,children:(0,r.jsxs)("div",{className:u().watchlistBundleContent,children:[b&&(0,r.jsx)("p",{className:u().subscriberOnlyLabel,children:"Subscriber Only"}),(0,r.jsx)("div",{className:u().themeText,children:_}),(0,r.jsx)("div",{className:u().easyAddText,children:"You can easily add or remove symbols later."}),(0,r.jsx)("div",{className:f,children:m?J.map(e=>(0,i.createElement)(M,{...e,key:e.headline,tariffBundlesFeatureEnabled:!0,variant:s})):p.map(e=>(0,i.createElement)(M,{...e,key:e.headline,variant:s}))}),(0,r.jsx)("div",{className:y,children:(0,r.jsx)(o.l,{limit:7,animatedTransition:!0,autoadvanceIntervalInMs:R,children:m?J.map(e=>(0,i.createElement)(M,{...e,key:e.headline,tariffBundlesFeatureEnabled:!0,variant:s})):V.map((e,t)=>(0,i.createElement)(M,{...e,key:t,variant:s}))})})]})})}},61362:function(e,t,a){"use strict";a.d(t,{BJ:function(){return P},C5:function(){return d},ENTRY_DATA_FORMAT:function(){return k},H$:function(){return o},KG:function(){return g},KJ:function(){return c},P7:function(){return h},ROW_TYPES:function(){return m},SH:function(){return C},Sw:function(){return u},V_:function(){return _},Vu:function(){return p},Vx:function(){return A},XS:function(){return i},Xy:function(){return s},a$:function(){return b},ao:function(){return n},bx:function(){return D},c6:function(){return S},l1:function(){return w},mH:function(){return L},oQ:function(){return f},qD:function(){return y},rX:function(){return r},tj:function(){return l}});let r="New List",i="WDSCIS",n="NO_COMPARISON",l=["There was a network error.","Please try again."],o={registered:10,subscribed:100},c="Unable to delete your watchlist due to a network error. Please try again.",s="Unable to save your watchlist due to a network error. Please try again.",u="We’re sorry, there’s been an issue loading your news.",d={lotId:-1,shares:"0",buyPrice:"0",buyDate:-1},h={currency:"USD",holdings:[],isDefault:!1,name:""},m={TICKER:"ticker",LOT:"lot"},p={INITIAL:"initial",LOADING:"loading",COMPLETE:"complete",FAILED:"failed",EMPTY:"empty"},k={PRICE_CHANGE:"formatPriceChange",PERCENT_CHANGE:"formatPercentChange",COMMAS_AND_DECIMALS:"formatWithCommasAndDecimals",BIG_NUMBER:"formatBigNumber"},f={REGISTERED:25,SUBSCRIBED:100},y={NEUTRAL:"neutral",INCREASING:"increasing",DECREASING:"decreasing"},_={CANCEL:"cancel",DELETE:"delete",SAVE:"save",DELETE_PERMANENTLY:"delete_permanently"},b=[{columnName:"SYMBOL",columnAriaLabel:"",alignment:"left",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"Lot last updated",tickerPrimaryLodashPath:"security.ticker",tickerPrimaryURL:e=>"/quote/".concat(e),tickerSecondaryLodashPath:"security.LONG_COMP_NAME",tickerTertiaryLodashPath:"",lotLodashPath:"shares.buydate",primaryDataFormat:"",secondaryDataFormat:"",lotDataFormat:"",enableSort:!0},{columnName:"LOTS",columnAriaLabel:"",alignment:"left",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"lots",tickerPrimaryURL:null,tickerSecondaryLodashPath:"shares.number",tickerTertiaryLodashPath:"",lotLodashPath:"shares.number",primaryDataFormat:"",secondaryDataFormat:"",lotDataFormat:"",enableSort:!0},{columnName:"PRICE",columnAriaLabel:"",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"Security last updated",lotAriaLabel:"",tickerPrimaryLodashPath:"marketData.PX_LAST",tickerPrimaryURL:null,tickerSecondaryLodashPath:"marketData.LAST_UPDATE",tickerTertiaryLodashPath:"",lotLodashPath:"shares.buyprice",primaryDataFormat:k.COMMAS_AND_DECIMALS,secondaryDataFormat:"",lotDataFormat:k.COMMAS_AND_DECIMALS,enableSort:!0},{columnName:"CHANGE",columnAriaLabel:"one day change",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"marketData.CHG_PCT_1D",tickerPrimaryURL:null,tickerSecondaryLodashPath:"marketData.CHG_NET_1D",tickerTertiaryLodashPath:"",lotLodashPath:"",primaryDataFormat:k.PERCENT_CHANGE,secondaryDataFormat:k.PRICE_CHANGE,lotDataFormat:k.PRICE_CHANGE,enableSort:!0},{columnName:"TOTAL GAIN",columnAriaLabel:"",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"marketValue.totalGainLoss.value",tickerPrimaryURL:null,tickerSecondaryLodashPath:"marketValue.totalGainLoss.pctChange",tickerTertiaryLodashPath:"",lotLodashPath:"marketValue.totalGainLoss.value",primaryDataFormat:k.PRICE_CHANGE,secondaryDataFormat:k.PERCENT_CHANGE,lotDataFormat:k.PRICE_CHANGE,enableSort:!0},{columnName:"1D GAIN",columnAriaLabel:"one day gain",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"marketValue.todayGainLoss.value",tickerPrimaryURL:null,tickerSecondaryLodashPath:"marketValue.todayGainLoss.pctChange",tickerTertiaryLodashPath:"",lotLodashPath:"marketValue.todayGainLoss.value",primaryDataFormat:k.PRICE_CHANGE,secondaryDataFormat:k.PERCENT_CHANGE,lotDataFormat:k.PRICE_CHANGE,enableSort:!0},{columnName:"OPEN",columnAriaLabel:"open price",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"marketData.PX_OPEN",tickerPrimaryURL:null,tickerSecondaryLodashPath:"",tickerTertiaryLodashPath:"",lotLodashPath:"",primaryDataFormat:k.BIG_NUMBER,secondaryDataFormat:"",lotDataFormat:"",enableSort:!0},{columnName:"PREV CLOSE",columnAriaLabel:"previous close",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"marketData.PX_CLOSE_1D",tickerPrimaryURL:null,tickerSecondaryLodashPath:"",tickerTertiaryLodashPath:"",lotLodashPath:"",primaryDataFormat:k.BIG_NUMBER,secondaryDataFormat:"",lotDataFormat:"",enableSort:!0},{columnName:"VOLUME",columnAriaLabel:"volume count",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"marketData.PX_VOLUME",tickerPrimaryURL:null,tickerSecondaryLodashPath:"",tickerTertiaryLodashPath:"",lotLodashPath:"",primaryDataFormat:k.COMMAS_AND_DECIMALS,secondaryDataFormat:"",lotDataFormat:"",enableSort:!0},{columnName:"MARKET CAP",columnAriaLabel:"",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"marketData.CUR_MKT_CAP",tickerPrimaryURL:null,tickerSecondaryLodashPath:"",tickerTertiaryLodashPath:"",lotLodashPath:"",primaryDataFormat:k.BIG_NUMBER,secondaryDataFormat:"",lotDataFormat:"",enableSort:!0},{columnName:"DAY RANGE",columnAriaLabel:"",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"marketData.PX_HIGH",tickerPrimaryURL:null,tickerSecondaryLodashPath:"marketData.PX_LOW",tickerTertiaryLodashPath:"marketData.PX_LAST",lotLodashPath:"",primaryDataFormat:"",secondaryDataFormat:"",lotDataFormat:"",enableSort:!1},{columnName:"52WK RANGE",columnAriaLabel:"52 week range",alignment:"right",tickerPrimaryAriaLabel:"",tickerSecondaryAriaLabel:"",lotAriaLabel:"",tickerPrimaryLodashPath:"marketData.HIGH_52WEEK",tickerPrimaryURL:null,tickerSecondaryLodashPath:"marketData.LOW_52WEEK",tickerTertiaryLodashPath:"marketData.PX_LAST",lotLodashPath:"",primaryDataFormat:"",secondaryDataFormat:"",lotDataFormat:"",enableSort:!1}],S=[{ticker:"XBT:CUR",name:"Bitcoin"},{ticker:"XET:CUR",name:"Ethereum"},{ticker:"XLC:CUR",name:"Litecoin"},{ticker:"XTH:CUR",name:"Ethereum Classic"},{ticker:"XEO:CUR",name:"EOS"},{ticker:"XDH:CUR",name:"Dash"},{ticker:"XBN:CUR",name:"Bitcoin Cash"},{ticker:"CRON:US",name:"Cronos Group"},{ticker:"LINK:SW",name:"Chainlink"},{ticker:"AXRP:SW",name:"21Shares XRP ETP"}],w=[{ticker:"AMZN:US",name:"Amazon"},{ticker:"TSLA:US",name:"Tesla"},{ticker:"AAPL:US",name:"Apple"},{ticker:"NVDA:US",name:"Nvidia"},{ticker:"SOFI:US",name:"SoFi Technologies"},{ticker:"AMD:US",name:"Advanced Micro Devices"},{ticker:"PYPL:US",name:"PayPal"},{ticker:"MSFT:US",name:"Microsoft"},{ticker:"META:US",name:"Meta Platforms"},{ticker:"GOOGL:US",name:"Alphabet Inc."}],C=[{ticker:"SPX:IND",name:"S&P 500"},{ticker:"INDU:IND",name:"Dow Jones"},{ticker:"CCMP:IND",name:"Nasdaq Composite"},{ticker:"NYA:IND",name:"NYSE Composite"},{ticker:"UKX:IND",name:"FTSE 100"},{ticker:"DAX:IND",name:"Dax Performance Index"},{ticker:"NKY:IND",name:"Nikkei 225"},{ticker:"HSI:IND",name:"Hang Seng Index"},{ticker:"TPX:IND",name:"Tokyo Stock Exchange"},{ticker:"BDIY:IND",name:"Baltic Exchange"}],L=[{ticker:"F:US",name:"Ford Motor"},{ticker:"RACE:US",name:"Ferrari NV"},{ticker:"GM:US",name:"General Motors"},{ticker:"TSLA:US",name:"Tesla"},{ticker:"STLA:US",name:"Stellantis NV"},{ticker:"PCAR:US",name:"PACCAR"},{ticker:"CMI:US",name:"Cummins"},{ticker:"LCID:US",name:"Lucid Group"},{ticker:"LI:US",name:"Li Auto"},{ticker:"RIVN:US",name:"Rivian Automotive"}],A=[{ticker:"WMT:US",name:"Walmart"},{ticker:"COST:US",name:"Costco Wholesale"},{ticker:"HD:US",name:"Home Depot"},{ticker:"TJX:US",name:"TJX Cos"},{ticker:"LOW:US",name:"Lowe's Cos"},{ticker:"TGT:US",name:"Target"},{ticker:"DG:US",name:"Dollar General"},{ticker:"DLTR:US",name:"Dollar Tree"},{ticker:"ROST:US",name:"Ross Stores"},{ticker:"TPR:US",name:"Tapestry"}],P=[{ticker:"NVDA:US",name:"NVIDIA"},{ticker:"AVGO:US",name:"Broadcom"},{ticker:"TSM:US",name:"Taiwan Semiconductor Manufacturing"},{ticker:"ASML:US",name:"ASML Holding NV"},{ticker:"AMD:US",name:"Advanced Micro Devices"},{ticker:"QCOM:US",name:"QUALCOMM"},{ticker:"TXN:US",name:"Texas Instruments"},{ticker:"ARM:US",name:"ARM Holdings PLC"},{ticker:"INTC:US",name:"Intel"},{ticker:"AMAT:US",name:"Applied Materials"}],D=[{ticker:"600111:CH",name:"China Northern Rare Earth Group High-Tech"},{ticker:"LYC:AU",name:"Lynas Rare Earths"},{ticker:"ALB:US",name:"Albemarle"},{ticker:"SQM:US",name:"Sociedad Quimica y Minera de Chile SA"},{ticker:"MP:US",name:"MP Materials"},{ticker:"PLS:AU",name:"Pilbara Minerals"},{ticker:"601958:CH",name:"Jinduicheng Molybdenum"},{ticker:"AMG:NA",name:"AMG Critical Materials NV"},{ticker:"LAC:CN",name:"Lithium Americas"},{ticker:"600456:CH",name:"Baoji Titanium Industry"}],g="https://bmedia.iad1.qualtrics.com/jfe/form/SV_6xOBCxI5WTQX3bU"},25022:function(e,t,a){"use strict";a.d(t,{Qt:function(){return h},eP:function(){return d}});var r=a(85893),i=a(67294),n=a(53867);let l=new(a(2595)).Z({userApiUrl:"".concat("https://login.bloomberg.com","/user-api/graphql")}),o={ADD_WATCHLIST_USER_UDST:"mutation updateUserInfo($user: UserIdentityInput) {\n upsertProfile (userIdentity: $user, profileInput: {\n dataOrigin: BCONNECT,\n relationships: [WatchlistUser]\n }) {\n id\n }\n}",DELETE_WATCHLIST_USER_UDST:"mutation updateUserInfo($user: UserIdentityInput) {\nupsertProfile (userIdentity: $user, profileInput: {\n dataOrigin: BCONNECT,\n relationshipDeletions: [WatchlistUser]\n}) {\n id\n}\n}"};function c(e){return l.request({includeCredentials:!0,document:o[e]}).then(e=>e).catch(e=>{console.log("failed to update Watchlist UDST"),(0,n.uH)("watchlistError","Update Watchlist User Relationship Failure","error","watchlist")})}var s=a(61362);let u=(0,i.createContext)(void 0),d=()=>{let e=(0,i.useContext)(u);if(!e)throw Error("usePortfolioPageData must be used within a PortfolioPageProvider");return e},h=e=>{let{children:t}=e,[a,l]=(0,i.useState)(!0),[o,d]=(0,i.useState)(a),[h,m]=(0,i.useState)(void 0),p=(0,i.useRef)(null),k=(0,i.useCallback)(()=>{p.current&&clearTimeout(p.current);let e=!a;if((0,n.uH)(e?"watchlistShow":"watchlistHide",e?"show_charts":"hide_charts","click","watchlist"),l(e),e){d(e);return}p.current=setTimeout(()=>{d(e),p.current=null},400)},[a]);(0,i.useEffect)(()=>{localStorage.setItem(s.XS,"".concat(a))},[a]),(0,i.useEffect)(()=>{l("false"!==localStorage.getItem(s.XS))},[]);let[f,y]=(0,i.useState)(void 0),[_,b]=(0,i.useState)([]),[S,w]=(0,i.useState)("DASH"),[C,L]=(0,i.useState)([]),[A,P]=(0,i.useState)(!1),[D,g]=(0,i.useState)(),[N,E]=(0,i.useState)(),I=(0,i.useCallback)((e,t)=>{if(m(t),!e){y(void 0);return}y({...e})},[]),v=(0,i.useCallback)(e=>{if(!e){g(void 0);return}g({...e})},[]),T=(0,i.useCallback)(e=>{I(e.portInfo),L(t=>t.length?-1===t.findIndex(t=>t.id===e.portInfo.id)?[...t,e.portInfo]:t.map(t=>t.id===e.portInfo.id?{...e.portInfo}:t):[e.portInfo]),g(e),b(t=>t.length?-1===t.findIndex(t=>t.portInfo.id===e.portInfo.id)?[...t,e]:t.map(t=>t.portInfo.id===e.portInfo.id?{...t,...e}:t):[e]),A||c("ADD_WATCHLIST_USER_UDST").then(()=>{P(!0)})},[A,I]),M=(0,i.useCallback)(e=>{L([...e])},[]),B=(0,i.useCallback)(e=>{if(!e){E(void 0);return}E({...e})},[]),U=(0,i.useCallback)(e=>{L(t=>{let a=t.filter(t=>t.id!==e),[r]=a;return a.length?I(r):I(r,"NEW"),[...a]}),b(t=>{let a=t.filter(t=>t.portInfo.id!==e),[r]=a;return v(r),0===a.length&&A&&c("DELETE_WATCHLIST_USER_UDST").then(()=>{P(!1)}),[...a]})},[A]);return(0,r.jsx)(u.Provider,{value:{portfolios:_,selectedPortInfo:f,selectedPortfolio:D,portfolioForm:N,portfolioInfos:C,removePortfolio:U,upsertPortfolio:T,updateSelectedPortInfo:I,updateSelectedPortfolio:v,updatePortfolioForm:B,updatePortfolioInfos:M,showCharts:a,renderingCharts:o,portfolioType:h,toggleCharts:k,dashboardView:S,updateDashboardView:w},children:t})}},62881:function(e,t,a){"use strict";a.d(t,{n:function(){return c}});var r=a(42977),i=a(59628),n=a(86896),l=a(67294);let o={articleInfo:{contentId:"watchlist",metadata:{isMetered:!0},resourceType:"watchlist",resourceSubType:"watchlist_hard_wall",type:"WATCHLIST"},paywallData:{type:"additive"}};function c(){let{session:e}=(0,i.useRegUIClient)(),{locale:t}=(0,n.Z)(),a=!!(null==e?void 0:e.isBBGSubscriber),{paywallStatus:c,checkPaywallState:s,fortressInViewState:u}=(0,r.Bx)(),[d,h]=(0,l.useState)(!1),m=(0,l.useMemo)(()=>!a,[a]),p=(0,l.useMemo)(()=>({...o,...o.articleInfo?{articleInfo:{...o.articleInfo,locale:t}}:void 0}),[t]);return{shouldWallAction:m,blockUserIfWalledActionIsAttempted:(0,l.useCallback)(()=>{if(!d&&!1===u&&"pending"===c){h(!0),s(p,!0);return}},[d,u,c,s,p])}}},51656:function(e,t,a){"use strict";a.d(t,{$:function(){return n}});var r=a(44014),i=a(51463);let n=async(e,t)=>{try{let a=(0,i.g4)(e);return await (0,r.JH)(t,a).then(e=>e.data.port)}catch(e){throw e}}},51463:function(e,t,a){"use strict";function r(e){let{currency:t,id:a=-1,isDefault:r,name:i}=e.portInfo;return{id:a,currency:t,holdings:e.positions.map(e=>{let t=0,a=0,r=e.lots.map(e=>(t+=e.shares.number,a+=e.shares.number*e.shares.buyprice,{lotId:e.lotId,buyDate:e.shares.buydate,shares:e.shares.number.toString(),buyPrice:e.shares.buyprice.toString()}));return t=Number.isInteger(t)?t:parseFloat(t.toFixed(4)),a=parseFloat(a.toFixed(4)),{ticker:e.security.ticker,companyName:e.security.LONG_COMP_NAME,totalShares:t,costBasis:a,lots:r}}),isDefault:r,name:i}}function i(e){return e.reduce((e,t,a)=>{let{ticker:r,lots:i}=t,n=i.map(e=>{let{buyDate:t,buyPrice:i,shares:n}=e;return{security:r,buydate:t,shares:Number(n)||0,buyprice:Number(i)||0,torder:a}});return e.concat(n)},[])}function n(e){let{name:t,currency:a,isDefault:r,holdings:n}=e;return{updatedAt:Date.now(),isChangedPortOverride:!0,portChanges:{name:t,currency:a,isDefault:r},holdingChanges:{isDeleteAllHoldingsPriorToUpdate:!0,adds:i(n)}}}function l(e){let{name:t,currency:a,isDefault:r,holdings:n}=e;return{portMeta:{name:t,currency:a,isDefault:r},holdings:i(n)}}a.d(t,{XA:function(){return r},g4:function(){return l},p5:function(){return n}})},3364:function(e){e.exports={datepicker:"styles_datepicker__J7FxC",datepickerInput:"styles_datepickerInput__xd4Ne",error:"styles_error__z0ddu",refresh2025:"styles_refresh2025__9He_H",calendar:"styles_calendar__fDsYY",day:"styles_day__Co7yF",weekday:"styles_weekday__opf7_",popper:"styles_popper__blMu7","react-datepicker__day--keyboard-selected":"styles_react-datepicker__day--keyboard-selected__qgVyi","react-datepicker__day":"styles_react-datepicker__day__L1VZG","react-datepicker__day--selected":"styles_react-datepicker__day--selected__7dbdW"}},35762:function(e){e.exports={notification:"styles_notification__cF2wr",lineBreak:"styles_lineBreak__uhNk2",textWrapper:"styles_textWrapper__iNFtG",button:"styles_button___5EpS",buttonIcon:"styles_buttonIcon__P7jK9"}},89089:function(e){e.exports={paywallButtonContainer:"paywallButtonContainer_paywallButtonContainer____eiY",quickAddOverlay:"paywallButtonContainer_quickAddOverlay__AFFBg",floatingUI:"paywallButtonContainer_floatingUI__f1jMY"}},40589:function(e){e.exports={tickerSearch:"styles_tickerSearch__feuxh"}},84514:function(e){e.exports={watchlistBundle:"watchlistBundle_watchlistBundle__s6ok_",bundleHeadline:"watchlistBundle_bundleHeadline__qWZHA",bundleBanner:"watchlistBundle_bundleBanner__P_mxI",startListButton:"watchlistBundle_startListButton__Re_BQ",startListButtonMobile:"watchlistBundle_startListButtonMobile__nPM4x",bundleSecurities:"watchlistBundle_bundleSecurities__3M1Fz",securityRow:"watchlistBundle_securityRow__oCd6B",securityName:"watchlistBundle_securityName__OWGF4",securityTicker:"watchlistBundle_securityTicker__o4fhT",tariffBundle:"watchlistBundle_tariffBundle__GkXbJ",tariffButton:"watchlistBundle_tariffButton__y4_Y1",tariffButtonMobile:"watchlistBundle_tariffButtonMobile__sBnSH",wrappedBundleModifier:"watchlistBundle_wrappedBundleModifier__I3mVH",wrappedButtonModifier:"watchlistBundle_wrappedButtonModifier__tKfz2"}},96524:function(e){e.exports={watchlistBundleContainer:"watchlistBundleContainer_watchlistBundleContainer__zUXot",watchlistBundleContent:"watchlistBundleContainer_watchlistBundleContent__tBfrE",themeText:"watchlistBundleContainer_themeText__zuQ9N",easyAddText:"watchlistBundleContainer_easyAddText__dZIDd",bundleModule:"watchlistBundleContainer_bundleModule__2jAwo",bundleMobileAndTablet:"watchlistBundleContainer_bundleMobileAndTablet__4DXhJ",subscriberOnlyLabel:"watchlistBundleContainer_subscriberOnlyLabel__65CYI",wrappedContainerModifier:"watchlistBundleContainer_wrappedContainerModifier__hMJti",wrappedBundleModule:"watchlistBundleContainer_wrappedBundleModule__4yWhZ",wrappedBundleMobileAndTablet:"watchlistBundleContainer_wrappedBundleMobileAndTablet__nV5Oz"}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/282x282_05Q6.jpg b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/282x282_05Q6.jpg new file mode 100644 index 0000000..081cb24 Binary files /dev/null and b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/282x282_05Q6.jpg differ diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/3711-33c4ab59eacdfddd_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/3711-33c4ab59eacdfddd_05Q6.js new file mode 100644 index 0000000..6d1c28a --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/3711-33c4ab59eacdfddd_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3711],{75197:function(e,t,n){"use strict";n.d(t,{I:function(){return c}});var o=n(67294),r=n(67673),l=n(8599),i=n(25434),a=n(77536);n(81789);var u={RoundedToggleButton:"media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-",baseBackground:"media-ui-RoundedToggleButton_baseBackground-xtN1SsCKNUk-",onlyIcon:"media-ui-RoundedToggleButton_onlyIcon-5gacIog6Wyw-",small:"media-ui-RoundedToggleButton_small-lT037nV582M-",active:"media-ui-RoundedToggleButton_active-tGJxCkcd4qs-",withActiveHoverText:"media-ui-RoundedToggleButton_withActiveHoverText-sezBn0KkvYg-",activeHoverText:"media-ui-RoundedToggleButton_activeHoverText-aBcpR7Rz2-A-",buttonText:"media-ui-RoundedToggleButton_buttonText-iZD8r7vw2dA-",disabled:"media-ui-RoundedToggleButton_disabled-ZF3e7iYyTfg-",dark:"media-ui-RoundedToggleButton_dark-BkYbon7-MNs-",icon:"media-ui-RoundedToggleButton_icon-aBoTvm8dx9c-",activeText:"media-ui-RoundedToggleButton_activeText-BN8uCaLdf58-",inactiveText:"media-ui-RoundedToggleButton_inactiveText-oxH0UlyuECc-","roundedToggleButton-phoenix":"media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-",hasIcon:"media-ui-RoundedToggleButton_hasIcon-1KESsmUA3tU-",default:"media-ui-RoundedToggleButton_default-LkHoW8vAiNc-",large:"media-ui-RoundedToggleButton_large-rSzfjgURqI8-",displayText:"media-ui-RoundedToggleButton_displayText--kigTOfr-QA-","onlyIcon-default":"media-ui-RoundedToggleButton_onlyIcon-default-2tb91NOahjA-","onlyIcon-small":"media-ui-RoundedToggleButton_onlyIcon-small-Jlt6LsnJIxE-","onlyIcon-large":"media-ui-RoundedToggleButton_onlyIcon-large-hGo3q1we174-",disabledActiveState:"media-ui-RoundedToggleButton_disabledActiveState-k5P5cvZeNsE-",light:"media-ui-RoundedToggleButton_light-YA1b8kWhA40-",unselectedState:"media-ui-RoundedToggleButton_unselectedState-KpIaF7jlw48-",activeState:"media-ui-RoundedToggleButton_activeState-LfnJ0G-6rcg-",lockedState:"media-ui-RoundedToggleButton_lockedState-jox5VwDvreI-",roundedToggleButton___phoenix:"media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-",_default:"media-ui-RoundedToggleButton_default-LkHoW8vAiNc-",onlyIcon___default:"media-ui-RoundedToggleButton_onlyIcon-default-2tb91NOahjA-",onlyIcon___small:"media-ui-RoundedToggleButton_onlyIcon-small-Jlt6LsnJIxE-",onlyIcon___large:"media-ui-RoundedToggleButton_onlyIcon-large-hGo3q1we174-"};let c=o.forwardRef(function(e,t){let{name:n="RoundedToggleButton",colorMode:c="light",size:s="default",inactiveIcon:d="plus",activeHoverText:f="",withIcon:m=!1,onlyIcon:p=!1,dark:g=!1,disableWhenActive:v=!1,title:h="",version:y,activeText:b,inactiveText:w,active:x,onToggle:E,disabled:R,buttonProps:k}=e,[T]=(0,i.f)(n),S=o.useMemo(()=>{if(x&&!R)return v?{icon:o.createElement(r.MC,{className:u.icon,title:h}),value:"disabledActiveState"}:{icon:o.createElement(r.MC,{className:u.icon,title:h}),value:"activeState"};let e="lock"===d?o.createElement(r.HE,{className:u.icon,title:h}):o.createElement(r.v3,{className:u.icon,title:h});return R?"phoenix"===y?{icon:o.createElement(r.HE,{className:u.icon,title:h}),value:"lockedState"}:{icon:e,value:"lockedState"}:{icon:e,value:"unselectedState"}},[x,R,d,y]);return"phoenix"===y?o.createElement(l.zx,{version:y,disabled:R||"disabledActiveState"===S.value,onClick:E,title:h,ref:t,"data-component":T,className:(0,a.Sh)([e.className,u["roundedToggleButton-".concat(y)],u[s],u[S.value],u[c],{[u.onlyIcon]:p,[u.hasIcon]:m&&!p,[u["onlyIcon-".concat(s)]]:p,[u.withActiveHoverText]:x&&f,[n]:e.name}])},p?S.icon:o.createElement(o.Fragment,null,o.createElement("div",{className:u.buttonText},o.createElement("span",{className:u.activeText},m&&S.icon," ",b),o.createElement("span",{className:u.inactiveText},m&&S.icon," ",w),m&&S.icon,o.createElement("span",{className:u.displayText},x?b:w)),o.createElement("span",{className:u.activeHoverText},f))):o.createElement(l.zx,{...e,onClick:E,className:(0,a.Sh)([u.RoundedToggleButton,u.baseBackground,{[u.active]:x,[u.disabled]:R,[u.small]:"small"===s,[u.dark]:g,[u.onlyIcon]:p,[u.withActiveHoverText]:x&&f}],e),ref:t,"data-component":T,unstyled:!0,...k,title:h},p?S.icon:o.createElement(o.Fragment,null,o.createElement("div",{className:u.buttonText},o.createElement("span",{className:u.activeText},m&&S.icon," ",b),o.createElement("span",{className:u.inactiveText},m&&S.icon," ",w),m&&S.icon," ",x?b:w),o.createElement("span",{className:u.activeHoverText},f)))})},12860:function(e,t,n){"use strict";n.d(t,{Z:function(){return tQ}});var o=n(67294),r=n.t(o,2),l=n(25434),i=n(77536);function a(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function u(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function c(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return e instanceof Node||e instanceof u(e).Node}function d(e){return e instanceof Element||e instanceof u(e).Element}function f(e){return e instanceof HTMLElement||e instanceof u(e).HTMLElement}function m(e){return!(typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof u(e).ShadowRoot)}function p(e){let{overflow:t,overflowX:n,overflowY:o,display:r}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function g(e){let t=v(),n=d(e)?y(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function v(){return!(typeof CSS>"u")&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function h(e){return["html","body","#document"].includes(a(e))}function y(e){return u(e).getComputedStyle(e)}function b(e){return d(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function w(e){if("html"===a(e))return e;let t=e.assignedSlot||e.parentNode||m(e)&&e.host||c(e);return m(t)?t.host:t}function x(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);let r=function e(t){let n=w(t);return h(n)?t.ownerDocument?t.ownerDocument.body:t.body:f(n)&&p(n)?n:e(n)}(e),l=r===(null==(o=e.ownerDocument)?void 0:o.body),i=u(r);if(l){let e=i.parent&&Object.getPrototypeOf(i.parent)?i.frameElement:null;return t.concat(i,i.visualViewport||[],p(r)?r:[],e&&n?x(e):[])}return t.concat(r,x(r,[],n))}function E(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function R(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&m(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function k(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function T(){let e=/android/i;return e.test(function(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}())||e.test(k())}function S(e){return(null==e?void 0:e.ownerDocument)||document}function A(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function C(e){return"composedPath"in e?e.composedPath()[0]:e.target}function I(e){e.preventDefault(),e.stopPropagation()}function N(e){var t;return!!e&&"combobox"===e.getAttribute("role")&&f(t=e)&&t.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}var L=n(85893),_=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],M=_.join(","),P=typeof Element>"u",O=P?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,B=!P&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},F=function e(t,n){void 0===n&&(n=!0);var o,r=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},D=function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},q=function(e,t,n){if(F(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(M));return t&&O.call(e,M)&&o.unshift(e),o=o.filter(n)},W=function e(t,n,o){for(var r=[],l=Array.from(t);l.length;){var i=l.shift();if(!F(i,!1)){if("SLOT"===i.tagName){var a=i.assignedElements(),u=e(a.length?a:i.children,!0,o);o.flatten?r.push.apply(r,u):r.push({scopeParent:i,candidates:u})}else{O.call(i,M)&&o.filter(i)&&(n||!t.includes(i))&&r.push(i);var c=i.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(i),s=!F(c,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(i));if(c&&s){var d=e(!0===c?i.children:c.children,!0,o);o.flatten?r.push.apply(r,d):r.push({scopeParent:i,candidates:d})}else l.unshift.apply(l,i.children)}}}return r},H=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},j=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||D(e))&&!H(e)?0:e.tabIndex},z=function(e,t){var n=j(e);return n<0&&t&&!H(e)?0:n},V=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Q=function(e){return"INPUT"===e.tagName},U=function(e,t){for(var n=0;ntypeof window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=U(t,e.form);return!r||r===e},Y=function(e){var t,n,o,r,l,i,a,u=e&&B(e),c=null===(a=u)||void 0===a?void 0:a.host,s=!1;if(u&&u!==e)for(s=!!(null!==(t=c)&&void 0!==t&&null!==(n=t.ownerDocument)&&void 0!==n&&n.contains(c)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!s&&c;)s=!!(null!==(l=c=null===(r=u=B(c))||void 0===r?void 0:r.host)&&void 0!==l&&null!==(i=l.ownerDocument)&&void 0!==i&&i.contains(c));return s},X=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},J=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=O.call(e,"details>summary:first-of-type")?e.parentElement:e;if(O.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return X(e)}else{if("function"==typeof o){for(var l=e;e;){var i=e.parentElement,a=B(e);if(i&&!i.shadowRoot&&!0===o(i))return X(e);e=e.assignedSlot?e.assignedSlot:i||a===e.ownerDocument?i:a.host}e=l}if(Y(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Z=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;nj(t)||(o=e,(r=t).disabled||F(r)||Q(r)&&"hidden"===r.type||J(r,o)||"DETAILS"===r.tagName&&Array.prototype.slice.apply(r.children).some(function(e){return"SUMMARY"===e.tagName})||Z(r)))},$=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},ee=function e(t){var n=[],o=[];return t.forEach(function(t,r){var l=!!t.scopeParent,i=l?t.scopeParent:t,a=z(i,l),u=l?e(t.candidates):i;0===a?l?n.push.apply(n,u):n.push(i):o.push({documentOrder:r,tabIndex:a,item:t,isScope:l,content:u})}),o.sort(V).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},et=function(e,t){return ee((t=t||{}).getShadowRoot?W([e],t.includeContainer,{filter:G.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:$}):q(e,t.includeContainer,G.bind(null,t)))},en=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==O.call(e,M)&&G(t,e)};_.concat("iframe").join(",");var eo=n(73935);let er=["top","right","bottom","left"].reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),el=Math.min,ei=Math.max,ea=Math.round,eu=Math.floor,ec=e=>({x:e,y:e}),es={left:"right",right:"left",bottom:"top",top:"bottom"},ed={start:"end",end:"start"};function ef(e,t){return"function"==typeof e?e(t):e}function em(e){return e.split("-")[0]}function ep(e){return e.split("-")[1]}function eg(e){return"x"===e?"y":"x"}function ev(e){return"y"===e?"height":"width"}function eh(e){return["top","bottom"].includes(em(e))?"y":"x"}function ey(e,t,n){void 0===n&&(n=!1);let o=ep(e),r=eg(eh(e)),l=ev(r),i="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[l]>t.floating[l]&&(i=ew(i)),[i,ew(i)]}function eb(e){return e.replace(/start|end/g,e=>ed[e])}function ew(e){return e.replace(/left|right|bottom|top/g,e=>es[e])}function ex(e){let{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function eE(e,t,n){let o,{reference:r,floating:l}=e,i=eh(t),a=eg(eh(t)),u=ev(a),c=em(t),s="y"===i,d=r.x+r.width/2-l.width/2,f=r.y+r.height/2-l.height/2,m=r[u]/2-l[u]/2;switch(c){case"top":o={x:d,y:r.y-l.height};break;case"bottom":o={x:d,y:r.y+r.height};break;case"right":o={x:r.x+r.width,y:f};break;case"left":o={x:r.x-l.width,y:f};break;default:o={x:r.x,y:r.y}}switch(ep(t)){case"start":o[a]-=m*(n&&s?-1:1);break;case"end":o[a]+=m*(n&&s?-1:1)}return o}let eR=async(e,t,n)=>{let{placement:o="bottom",strategy:r="absolute",middleware:l=[],platform:i}=n,a=l.filter(Boolean),u=await (null==i.isRTL?void 0:i.isRTL(t)),c=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:s,y:d}=eE(c,o,u),f=o,m={},p=0;for(let n=0;n{try{return e.matches(t)}catch(e){return!1}})}(t))break;t=w(t)}return null}(e)||n}let eB=async function(e){let{reference:t,floating:n,strategy:o}=e,r=this.getOffsetParent||eO,l=this.getDimensions;return{reference:function(e,t,n){let o=f(t),r=c(t),l="fixed"===n,i=eL(e,!0,l,t),u={scrollLeft:0,scrollTop:0},s=ec(0);if(o||!o&&!l){if(("body"!==a(t)||p(r))&&(u=b(t)),o){let e=eL(t,!0,l,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else r&&(s.x=e_(r))}return{x:i.left+u.scrollLeft-s.x,y:i.top+u.scrollTop-s.y,width:i.width,height:i.height}}(t,await r(n),o),floating:{x:0,y:0,...await l(n)}}},eF={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e,r=f(n),l=c(n);if(n===l)return t;let i={scrollLeft:0,scrollTop:0},u=ec(1),s=ec(0);if((r||!r&&"fixed"!==o)&&(("body"!==a(n)||p(l))&&(i=b(n)),f(n))){let e=eL(n);u=eC(n),s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{width:t.width*u.x,height:t.height*u.y,x:t.x*u.x-i.scrollLeft*u.x+s.x,y:t.y*u.y-i.scrollTop*u.y+s.y}},getDocumentElement:c,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e,l=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let o=x(e,[],!1).filter(e=>d(e)&&"body"!==a(e)),r=null,l="fixed"===y(e).position,i=l?w(e):e;for(;d(i)&&!h(i);){let t=y(i),n=g(i);n||"fixed"!==t.position||(r=null),(l?!n&&!r:!n&&"static"===t.position&&!!r&&["absolute","fixed"].includes(r.position)||p(i)&&!n&&function e(t,n){let o=w(t);return!(o===n||!d(o)||h(o))&&("fixed"===y(o).position||e(o,n))}(e,i))?o=o.filter(e=>e!==i):r=t,i=w(i)}return t.set(e,o),o}(t,this._c):[].concat(n),o],i=l[0],u=l.reduce((e,n)=>{let o=eM(t,n,r);return e.top=ei(o.top,e.top),e.right=el(o.right,e.right),e.bottom=el(o.bottom,e.bottom),e.left=ei(o.left,e.left),e},eM(t,i,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:eO,getElementRects:eB,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eS(e);return{width:t,height:n}},getScale:eC,isElement:d,isRTL:function(e){return"rtl"===y(e).direction}};function eD(e,t,n,o){void 0===o&&(o={});let{ancestorScroll:r=!0,ancestorResize:l=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,s=eA(e),d=r||l?[...s?x(s):[],...x(t)]:[];d.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let f=s&&a?function(e,t){let n=null,o,r=c(e);function l(){clearTimeout(o),n&&n.disconnect(),n=null}return function i(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),l();let{left:c,top:s,width:d,height:f}=e.getBoundingClientRect();if(a||t(),!d||!f)return;let m=eu(s),p={rootMargin:-m+"px "+-eu(r.clientWidth-(c+d))+"px "+-eu(r.clientHeight-(s+f))+"px "+-eu(c)+"px",threshold:ei(0,el(1,u))||1},g=!0;function v(e){let t=e[0].intersectionRatio;if(t!==u){if(!g)return i();t?i(!1,t):o=setTimeout(()=>{i(!1,1e-7)},100)}g=!1}try{n=new IntersectionObserver(v,{...p,root:r.ownerDocument})}catch(e){n=new IntersectionObserver(v,p)}n.observe(e)}(!0),l}(s,n):null,m=-1,p=null;i&&(p=new ResizeObserver(e=>{let[o]=e;o&&o.target===s&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{p&&p.observe(t)})),n()}),s&&!u&&p.observe(s),p.observe(t));let g,v=u?eL(e):null;return u&&function t(){let o=eL(e);v&&(o.x!==v.x||o.y!==v.y||o.width!==v.width||o.height!==v.height)&&n(),v=o,g=requestAnimationFrame(t)}(),n(),()=>{d.forEach(e=>{r&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),f&&f(),p&&p.disconnect(),p=null,u&&cancelAnimationFrame(g)}}let eq=(e,t,n)=>{let o=new Map,r={platform:eF,...n},l={...r.platform,_c:o};return eR(e,t,{...r,platform:l})};var eW="u">typeof document?o.useLayoutEffect:o.useEffect;function eH(e,t){let n,o,r;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(o=n;0!=o--;)if(!eH(e[o],t[o]))return!1;return!0}if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!({}).hasOwnProperty.call(t,r[o]))return!1;for(o=n;0!=o--;){let n=r[o];if(!("_owner"===n&&e.$$typeof)&&!eH(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ej(e){return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ez(e,t){let n=ej(e);return Math.round(t*n)/n}function eV(e){let t=o.useRef(e);return eW(()=>{t.current=e}),t}let eQ=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,o;let{x:r,y:l,placement:i,middlewareData:a}=e,u=await eT(e,n);return i===(null==(t=a.offset)?void 0:t.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+u.x,y:l+u.y,data:{...u,placement:i}}}}),options:[e,t]}},eU=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:o,placement:r}=e,{mainAxis:l=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=ef(n,e),c={x:t,y:o},s=await ek(e,u),d=eh(em(r)),f=eg(d),m=c[f],p=c[d];if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=m+s[e],o=m-s[t];m=ei(n,el(m,o))}if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+s[e],o=p-s[t];p=ei(n,el(p,o))}let g=a.fn({...e,[f]:m,[d]:p});return{...g,data:{x:g.x-t,y:g.y-o}}}}),options:[e,t]}},eK=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,o,r,l,i;let{placement:a,middlewareData:u,rects:c,initialPlacement:s,platform:d,elements:f}=e,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:y=!0,...b}=ef(n,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let w=em(a),x=em(s)===s,E=await (null==d.isRTL?void 0:d.isRTL(f.floating)),R=g||(x||!y?[ew(s)]:function(e){let t=ew(e);return[eb(e),t,eb(t)]}(s));g||"none"===h||R.push(...function(e,t,n,o){let r=ep(e),l=function(e,t,n){let o=["left","right"],r=["right","left"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(em(e),"start"===n,o);return r&&(l=l.map(e=>e+"-"+r),t&&(l=l.concat(l.map(eb)))),l}(s,y,h,E));let k=[s,...R],T=await ek(e,b),S=[],A=(null==(o=u.flip)?void 0:o.overflows)||[];if(m&&S.push(T[w]),p){let e=ey(a,c,E);S.push(T[e[0]],T[e[1]])}if(A=[...A,{placement:a,overflows:S}],!S.every(e=>e<=0)){let e=((null==(r=u.flip)?void 0:r.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:A},reset:{placement:t}};let n=null==(l=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(v){case"bestFit":{let e=null==(i=A.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},eY=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"autoPlacement",options:n,async fn(e){var t,o,r,l;let{rects:i,middlewareData:a,placement:u,platform:c,elements:s}=e,{crossAxis:d=!1,alignment:f,allowedPlacements:m=er,autoAlignment:p=!0,...g}=ef(n,e),v=void 0!==f||m===er?((l=f||null)?[...m.filter(e=>ep(e)===l),...m.filter(e=>ep(e)!==l)]:m.filter(e=>em(e)===e)).filter(e=>!l||ep(e)===l||!!p&&eb(e)!==e):m,h=await ek(e,g),y=(null==(t=a.autoPlacement)?void 0:t.index)||0,b=v[y];if(null==b)return{};let w=ey(b,i,await (null==c.isRTL?void 0:c.isRTL(s.floating)));if(u!==b)return{reset:{placement:v[0]}};let x=[h[em(b)],h[w[0]],h[w[1]]],E=[...(null==(o=a.autoPlacement)?void 0:o.overflows)||[],{placement:b,overflows:x}],R=v[y+1];if(R)return{data:{index:y+1,overflows:E},reset:{placement:R}};let k=E.map(e=>{let t=ep(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),T=(null==(r=k.filter(e=>e[2].slice(0,ep(e[0])?2:3).every(e=>e<=0))[0])?void 0:r[0])||k[0][0];return T!==u?{data:{index:y+1,overflows:E},reset:{placement:T}}:{}}}),options:[e,t]}},eX={...r},eJ=eX.useInsertionEffect||(e=>e());function eZ(e){let t=o.useRef(()=>{});return eJ(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,n=Array(e),o=0;otypeof document?o.useLayoutEffect:o.useEffect;let e$=!1,e0=0,e1=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+e0++,e7=eX.useId||function(){let[e,t]=o.useState(()=>e$?e1():void 0);return eG(()=>{null==e&&t(e1())},[]),o.useEffect(()=>{e$=!0},[]),e},e2=o.createContext(null),e5=o.createContext(null),e4=()=>{var e;return(null==(e=o.useContext(e2))?void 0:e.id)||null},e8=()=>o.useContext(e5);function e3(e){return"data-floating-ui-"+e}function e6(e){let t=(0,o.useRef)(e);return eG(()=>{t.current=e}),t}e3("safe-polygon");let e9=0;function te(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:o=!0,sync:r=!1}=t;o&&cancelAnimationFrame(e9);let l=()=>null==e?void 0:e.focus({preventScroll:n});r?l():e9=requestAnimationFrame(l)}function tt(e,t){var n;let o=[],r=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;r;){let t=e.find(e=>e.id===r);r=null==t?void 0:t.parentId,t&&(o=o.concat(t))}return o}function tn(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),o=n;for(;o.length;)o=e.filter(e=>{var t;return null==(t=o)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(o);return n}let to=new WeakMap,tr=new WeakSet,tl={},ti=0,ta=()=>"u">typeof HTMLElement&&"inert"in HTMLElement.prototype,tu=e=>e&&(e.host||tu(e.parentNode)),tc=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=tu(t);return e.contains(n)?n:null}).filter(e=>null!=e);function ts(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);let o=S(e[0]).body;return function(e,t,n,o){let r="data-floating-ui-inert",l=o?"inert":n?"aria-hidden":null,i=tc(t,e),u=new Set,c=new Set(i),s=[];tl[r]||(tl[r]=new WeakMap);let d=tl[r];return i.forEach(function e(t){!t||u.has(t)||(u.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||c.has(t)||[].forEach.call(t.children,t=>{if("script"!==a(t)){if(u.has(t))e(t);else{let e=l?t.getAttribute(l):null,n=null!==e&&"false"!==e,o=to.get(t)||0,i=l?o+1:o,a=(d.get(t)||0)+1;to.set(t,i),d.set(t,a),s.push(t),1===i&&n&&tr.add(t),1===a&&t.setAttribute(r,""),!n&&l&&t.setAttribute(l,"inert"===l?"":"true")}}})}(t),u.clear(),ti++,()=>{s.forEach(e=>{let t=to.get(e)||0,n=l?t-1:t,o=(d.get(e)||0)-1;to.set(e,n),d.set(e,o),n||(!tr.has(e)&&l&&e.removeAttribute(l),tr.delete(e)),o||e.removeAttribute(r)}),--ti||(to=new WeakMap,to=new WeakMap,tr=new WeakSet,tl={})}}(e.concat(Array.from(o.querySelectorAll("[aria-live]"))),o,t,n)}let td=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function tf(e,t){let n=et(e,td());"prev"===t&&n.reverse();let o=n.indexOf(E(S(e)));return n.slice(o+1)[0]}function tm(e){return tf(S(e).body,"next")||e}function tp(e){return tf(S(e).body,"prev")||e}function tg(e,t){let n=t||e.currentTarget,o=e.relatedTarget;return!o||!R(n,o)}function tv(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}let th={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},ty=o.forwardRef(function(e,t){let[n,r]=o.useState();eG(()=>{/apple/i.test(navigator.vendor)&&r("button")},[]);let l={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[e3("focus-guard")]:"",style:th};return(0,L.jsx)("span",{...e,...l})}),tb=o.createContext(null),tw=e3("portal");function tx(e){let{children:t,id:n,root:r,preserveTabOrder:l=!0}=e,i=function(e){void 0===e&&(e={});let{id:t,root:n}=e,r=e7(),l=tE(),[i,a]=o.useState(null),u=o.useRef(null);return eG(()=>()=>{null==i||i.remove(),queueMicrotask(()=>{u.current=null})},[i]),eG(()=>{if(!r||u.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(tw,""),e.appendChild(n),u.current=n,a(n)},[t,r]),eG(()=>{if(null===n||!r||u.current)return;let e=n||(null==l?void 0:l.portalNode);e&&!d(e)&&(e=e.current),e=e||document.body;let o=null;t&&((o=document.createElement("div")).id=t,e.appendChild(o));let i=document.createElement("div");i.id=r,i.setAttribute(tw,""),(e=o||e).appendChild(i),u.current=i,a(i)},[t,n,r,l]),i}({id:n,root:r}),[a,u]=o.useState(null),c=o.useRef(null),s=o.useRef(null),f=o.useRef(null),m=o.useRef(null),p=null==a?void 0:a.modal,g=null==a?void 0:a.open,v=!!a&&!a.modal&&a.open&&l&&!!(r||i);return o.useEffect(()=>{if(i&&l&&!p)return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){i&&tg(e)&&("focusin"===e.type?tv:function(e){et(e,td()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(i)}},[i,l,p]),o.useEffect(()=>{!i||g||tv(i)},[g,i]),(0,L.jsxs)(tb.Provider,{value:o.useMemo(()=>({preserveTabOrder:l,beforeOutsideRef:c,afterOutsideRef:s,beforeInsideRef:f,afterInsideRef:m,portalNode:i,setFocusManagerState:u}),[l,i]),children:[v&&i&&(0,L.jsx)(ty,{"data-type":"outside",ref:c,onFocus:e=>{if(tg(e,i)){var t;null==(t=f.current)||t.focus()}else{let e=tp(a?a.domReference:null);null==e||e.focus()}}}),v&&i&&(0,L.jsx)("span",{"aria-owns":i.id,style:th}),i&&eo.createPortal(t,i),v&&i&&(0,L.jsx)(ty,{"data-type":"outside",ref:s,onFocus:e=>{if(tg(e,i)){var t;null==(t=m.current)||t.focus()}else{let t=tm(a?a.domReference:null);null==t||t.focus(),(null==a?void 0:a.closeOnFocusOut)&&(null==a||a.onOpenChange(!1,e.nativeEvent,"focus-out"))}}})]})}let tE=()=>o.useContext(tb),tR="data-floating-ui-focusable";function tk(e){return e?e.hasAttribute(tR)?e:e.querySelector("["+tR+"]")||e:null}function tT(e){return o.useMemo(()=>t=>{e.forEach(e=>{e&&(e.current=t)})},e)}let tS=[];function tA(){return tS.slice().reverse().find(e=>e.isConnected)}let tC=o.forwardRef(function(e,t){return(0,L.jsx)("button",{...e,type:"button",ref:t,tabIndex:-1,style:th})});function tI(e){let{context:t,children:n,disabled:r=!1,order:l=["content"],guards:i=!0,initialFocus:u=0,returnFocus:c=!0,restoreFocus:s=!1,modal:d=!0,visuallyHiddenDismiss:m=!1,closeOnFocusOut:p=!0,outsideElementsInert:g=!1,getInsideElements:v=()=>[]}=e,{open:h,onOpenChange:y,events:b,dataRef:w,elements:{domReference:x,floating:A}}=t,_=eZ(()=>{var e;return null==(e=w.current.floatingContext)?void 0:e.nodeId}),M=eZ(v),P="number"==typeof u&&u<0,O=N(x)&&P,B=ta(),F=!B||i,D=!F||B&&g,q=e6(l),W=e6(u),H=e6(c),j=e8(),z=tE(),V=o.useRef(null),Q=o.useRef(null),U=o.useRef(!1),K=o.useRef(!1),Y=o.useRef(-1),X=null!=z,J=tk(A),Z=eZ(function(e){return void 0===e&&(e=J),e?et(e,td()):[]}),G=eZ(e=>{let t=Z(e);return q.current.map(e=>x&&"reference"===e?x:J&&"floating"===e?J:t).filter(Boolean).flat()});o.useEffect(()=>{if(r||!d)return;function e(e){if("Tab"===e.key){R(J,E(S(J)))&&0===Z().length&&!O&&I(e);let t=G(),n=C(e);"reference"===q.current[0]&&n===x&&(I(e),e.shiftKey?te(t[t.length-1]):te(t[1])),"floating"===q.current[1]&&n===J&&e.shiftKey&&(I(e),te(t[0]))}}let t=S(J);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,x,J,d,q,O,Z,G]),o.useEffect(()=>{if(!r&&A)return A.addEventListener("focusin",e),()=>{A.removeEventListener("focusin",e)};function e(e){let t=C(e),n=Z().indexOf(t);-1!==n&&(Y.current=n)}},[r,A,Z]),o.useEffect(()=>{if(!r&&p&&A&&f(x))return x.addEventListener("focusout",t),x.addEventListener("pointerdown",e),A.addEventListener("focusout",t),()=>{x.removeEventListener("focusout",t),x.removeEventListener("pointerdown",e),A.removeEventListener("focusout",t)};function e(){K.current=!0,setTimeout(()=>{K.current=!1})}function t(e){let t=e.relatedTarget;queueMicrotask(()=>{let n=_(),o=!(R(x,t)||R(A,t)||R(t,A)||R(null==z?void 0:z.portalNode,t)||null!=t&&t.hasAttribute(e3("focus-guard"))||j&&(tn(j.nodesRef.current,n).find(e=>{var n,o;return R(null==(n=e.context)?void 0:n.elements.floating,t)||R(null==(o=e.context)?void 0:o.elements.domReference,t)})||tt(j.nodesRef.current,n).find(e=>{var n,o,r;return[null==(n=e.context)?void 0:n.elements.floating,tk(null==(o=e.context)?void 0:o.elements.floating)].includes(t)||(null==(r=e.context)?void 0:r.elements.domReference)===t})));if(s&&o&&E(S(J))===S(J).body){f(J)&&J.focus();let e=Y.current,t=Z(),n=t[e]||t[t.length-1]||J;f(n)&&n.focus()}(O||!d)&&t&&o&&!K.current&&t!==tA()&&(U.current=!0,y(!1,e,"focus-out"))})}},[r,x,A,J,d,j,z,y,p,s,Z,O,_]);let $=o.useRef(null),ee=o.useRef(null),eo=tT([$,null==z?void 0:z.beforeInsideRef]),er=tT([ee,null==z?void 0:z.afterInsideRef]);function el(e){return!r&&m&&d?(0,L.jsx)(tC,{ref:"start"===e?V:Q,onClick:e=>y(!1,e.nativeEvent),children:"string"==typeof m?m:"Dismiss"}):null}o.useEffect(()=>{var e,t;if(r||!A)return;let n=Array.from((null==z||null==(e=z.portalNode)?void 0:e.querySelectorAll("["+e3("portal")+"]"))||[]),o=j?tt(j.nodesRef.current,_()):[],l=j&&!d?o.map(e=>{var t;return null==(t=e.context)?void 0:t.elements.floating}):[],i=[A,null==(t=o.find(e=>{var t;return N((null==(t=e.context)?void 0:t.elements.domReference)||null)}))||null==(t=t.context)?void 0:t.elements.domReference,...n,...l,...M(),V.current,Q.current,$.current,ee.current,null==z?void 0:z.beforeOutsideRef.current,null==z?void 0:z.afterOutsideRef.current,q.current.includes("reference")||O?x:null].filter(e=>null!=e),a=d||O?ts(i,!D,D):ts(i);return()=>{a()}},[r,x,A,d,q,z,O,F,D,j,_,M]),eG(()=>{if(r||!f(J))return;let e=E(S(J));queueMicrotask(()=>{let t=G(J),n=W.current,o=("number"==typeof n?t[n]:n.current)||J,r=R(J,e);P||r||!h||te(o,{preventScroll:o===J})})},[r,h,J,P,G,W]),eG(()=>{if(r||!J)return;let e=!1,t=!1,n=S(J),o=E(n),l=w.current.openEvent;function i(n){let{open:o,reason:r,event:i,nested:a}=n;if(o&&(l=i),"escape-key"===r&&(t=!0),["hover","safe-polygon"].includes(r)&&"mouseleave"===i.type&&(U.current=!0),"outside-press"===r){if(a)U.current=!1,e=!0;else if(0===i.mozInputSource&&i.isTrusted||(T()&&i.pointerType?"click"===i.type&&1===i.buttons:0===i.detail&&!i.pointerType)||!k().includes("jsdom/")&&(!T()&&0===i.width&&0===i.height||T()&&1===i.width&&1===i.height&&0===i.pressure&&0===i.detail&&"mouse"===i.pointerType||i.width<1&&i.height<1&&0===i.pressure&&0===i.detail&&"touch"===i.pointerType))U.current=!1;else{let t=!1;document.createElement("div").focus({get preventScroll(){return t=!0,!1}}),t?(U.current=!1,e=!0):U.current=!0}}}tS=tS.filter(e=>e.isConnected),o&&"body"!==a(o)&&(tS.push(o),tS.length>20&&(tS=tS.slice(-20))),b.on("openchange",i);let u=n.createElement("span");return u.setAttribute("tabindex","-1"),u.setAttribute("aria-hidden","true"),Object.assign(u.style,th),X&&x&&x.insertAdjacentElement("afterend",u),()=>{b.off("openchange",i);let o=E(n),r=R(A,o)||j&&tn(j.nodesRef.current,_()).some(e=>{var t;return R(null==(t=e.context)?void 0:t.elements.floating,o)});(r||l&&["click","mousedown"].includes(l.type))&&(t=!0);let a="boolean"==typeof H.current?t&&x?x:tA()||u:H.current.current||u;queueMicrotask(()=>{let t=function(e){let t=td();return en(e,t)?e:et(e,t)[0]||e}(a);H.current&&!U.current&&f(t)&&(t===o||o===n.body||r)&&t.focus({preventScroll:e}),u.remove()})}},[r,A,J,H,w,b,j,X,x,_]),o.useEffect(()=>{queueMicrotask(()=>{U.current=!1})},[r]),eG(()=>{if(!r&&z)return z.setFocusManagerState({modal:d,closeOnFocusOut:p,open:h,onOpenChange:y,domReference:x}),()=>{z.setFocusManagerState(null)}},[r,z,d,h,y,p,x]),eG(()=>{var e;if(r||!J||"function"!=typeof MutationObserver||!q.current.includes("floating")&&!(null!=(e=J.getAttribute("role"))&&e.includes("dialog")))return;let t=()=>{let e=J.getAttribute("tabindex"),t=Z(),n=E(S(A)),o=t.indexOf(n);-1!==o&&(Y.current=o),q.current.includes("floating")||0===t.length?"0"!==e&&J.setAttribute("tabindex","0"):"-1"!==e&&J.setAttribute("tabindex","-1")};t();let n=new MutationObserver(t);return n.observe(J,{childList:!0,subtree:!0,attributes:!0}),()=>{n.disconnect()}},[r,A,J,x,q,Z,P]);let ei=!r&&F&&(!d||!O)&&(X||d);return(0,L.jsxs)(L.Fragment,{children:[ei&&(0,L.jsx)(ty,{"data-type":"inside",ref:eo,onFocus:e=>{if(d){let e=G();te("reference"===l[0]?e[0]:e[e.length-1])}else if(null!=z&&z.preserveTabOrder&&z.portalNode){if(U.current=!1,tg(e,z.portalNode)){let e=tm(x);null==e||e.focus()}else{var t;null==(t=z.beforeOutsideRef.current)||t.focus()}}}}),!O&&el("start"),n,el("end"),ei&&(0,L.jsx)(ty,{"data-type":"inside",ref:er,onFocus:e=>{if(d)te(G()[0]);else if(null!=z&&z.preserveTabOrder&&z.portalNode){if(p&&(U.current=!0),tg(e,z.portalNode)){let e=tp(x);null==e||e.focus()}else{var t;null==(t=z.afterOutsideRef.current)||t.focus()}}}})]})}let tN={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},tL={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},t_=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}},tM="active",tP="selected";function tO(e,t,n){let o=new Map,r="item"===n,l=e;if(r&&e){let{[tM]:t,[tP]:n,...o}=e;l=o}return{..."floating"===n&&{tabIndex:-1,[tR]:""},...l,...t.map(t=>{let o=t?t[n]:null;return"function"==typeof o?e?o(e):null:o}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,l]=t;if(!(r&&[tM,tP].includes(n))){if(0===n.indexOf("on")){if(o.has(n)||o.set(n,[]),"function"==typeof l){var i;null==(i=o.get(n))||i.push(l),e[n]=function(){for(var e,t=arguments.length,r=Array(t),l=0;le(...r)).find(e=>void 0!==e)}}}else e[n]=l}}),e),{})}}let tB=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);var tF=n(41762),tD=n(34264);n(8640);var tq={quickAddContainer:"media-ui-QuickAddContainer_quickAddContainer-dFVyVLLoFNM-",quickAddOverlay:"media-ui-QuickAddContainer_quickAddOverlay-XfWlg8PPCwA-",withButton:"media-ui-QuickAddContainer_withButton-ZLDAe5wJo3w-",withIcon:"media-ui-QuickAddContainer_withIcon-UT6RAIbAwuE-",floatingUI:"media-ui-QuickAddContainer_floatingUI-SD1oZT--9Q4-"},tW=n(24770),tH=n(81077),tj=n(47552);let tz=new Set(["icon","icon-with-text","icon-with-small-text"]),tV=new Set(["icon-with-text","icon-with-small-text"]);function tQ(e){let{ticker:t,className:n,trackClick:r,variant:a="button",name:u="quick-add-container",disabled:c=!0,allowedPlacements:s=["bottom-start","bottom-end"],overlayOffset:m=5,dismissOnOutsideClick:p=!0}=e,[g]=(0,l.f)(u),{controller:b,watchlistSummarysForTickers:E,isLoggedIn:k,openSignIn:T,openSignUp:I,isAtMaximumWatchlist:N,openOverlay:L,isUpdating:_,setOpenOverlay:M,subscriberType:P}=(0,tF._P)(),[O,B]=(0,o.useState)(null),[F,D]=(0,o.useState)(null),q=(0,o.useMemo)(()=>!!(null==E?void 0:E[t])&&!_,[_,E,t]),W=(0,o.useMemo)(()=>(null==E?void 0:E[t])||[],[E,t]),H=(0,o.useMemo)(()=>!!(null==W?void 0:W.some(e=>{let{isFollowing:t}=e;return t})),[W]),[j,z]=(0,o.useState)(!1),V=(0,o.useCallback)(()=>{z(!0)},[]),Q=(0,o.useCallback)(()=>{z(!1)},[]),U=(0,o.useMemo)(()=>Math.random().toString(20).slice(2),[]),K=(0,o.useMemo)(()=>U===L,[U,L]),Y=(0,o.useCallback)(()=>{null==M||M(U)},[U,M]),X=(0,o.useCallback)(()=>{null==M||M(null)},[M]),J=(0,o.useCallback)(()=>{V(),Y(),setTimeout(()=>{X()},3e3)},[Y,X,V]),Z=(0,o.useCallback)(()=>{c?null==r||r("click","sign-in-add-remove"):null==r||r("click","sign-in-quick-add"),T&&(T(),X())},[T,X,r]),G=(0,o.useCallback)(()=>{null==r||r("click","create-account-quick-add"),I&&(I(),X())},[I,X]),$=(0,o.useCallback)(e=>{if(Q(),null==r||r("click","save-changes-quick-add"),!b){J();return}let n=[];e.createDefaultWatchlist&&n.push(b.createWatchlist({ticker:t,name:tD.W,isDefault:!0})),e.adds.length&&(e.adds.forEach(()=>null==r?void 0:r("click","quick-add-add-".concat(t))),n.push(b.addTickerToWatchlists({ticker:t,watchlistIds:e.adds}))),e.deletes.length&&(e.deletes.forEach(()=>null==r?void 0:r("click","quick-add-remove-".concat(t))),n.push(b.removeTickerFromWatchlists({ticker:t,watchlistIds:e.deletes}))),Promise.all(n).catch(()=>J()).then(()=>b.updateTickerWatchlists().catch(()=>J()).then(()=>X()))},[b,t,X,Q,J,r]),ee=(0,o.useCallback)(()=>{null==r||r("click","close-overlay-quick-add"),X()},[r,X]),et=(0,o.useCallback)(e=>(Q(),null==r||r("click","create-account-quick-add"),b?b.createWatchlist({name:e,isDefault:!1}).then(e=>{var t,n;let{data:o}=e;return"string"!=typeof o&&(null==o?void 0:null===(n=o.port)||void 0===n?void 0:null===(t=n.portInfo)||void 0===t?void 0:t.id)?o.port.portInfo.id:(J(),null)}).catch(()=>(J(),null)):(J(),Promise.reject(null))),[b,Q,J,r]),en=(0,o.useMemo)(()=>!!k,[k]);(0,o.useEffect)(()=>{b&&(b.registerTicker(t),b.updateTickerWatchlists())},[b,t]);let er=(0,o.useMemo)(()=>K&&(!en||q||j),[K,en,q]),{update:el,refs:ei,context:ea,floatingStyles:eu}=function(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:r}=e,l=e7(),i=o.useRef({}),[a]=o.useState(()=>(function(){let e=new Map;return{emit(t,n){var o;null==(o=e.get(t))||o.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var o;null==(o=e.get(t))||o.delete(n)}}})()),u=null!=e4(),[c,s]=o.useState(r.reference),d=eZ((e,t,o)=>{i.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:o,nested:u}),null==n||n(e,t,o)}),f=o.useMemo(()=>({setPositionReference:s}),[]),m=o.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return o.useMemo(()=>({dataRef:i,open:t,onOpenChange:d,elements:m,events:a,floatingId:l,refs:f}),[t,d,m,a,l,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,l=r.elements,[i,a]=o.useState(null),[u,c]=o.useState(null),s=(null==l?void 0:l.domReference)||i,f=o.useRef(null),m=e8();eG(()=>{s&&(f.current=s)},[s]);let p=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:l,elements:{reference:i,floating:a}={},transform:u=!0,whileElementsMounted:c,open:s}=e,[d,f]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=o.useState(r);eH(m,r)||p(r);let[g,v]=o.useState(null),[h,y]=o.useState(null),b=o.useCallback(e=>{e!==R.current&&(R.current=e,v(e))},[]),w=o.useCallback(e=>{e!==k.current&&(k.current=e,y(e))},[]),x=i||g,E=a||h,R=o.useRef(null),k=o.useRef(null),T=o.useRef(d),S=null!=c,A=eV(c),C=eV(l),I=eV(s),N=o.useCallback(()=>{if(!R.current||!k.current)return;let e={placement:t,strategy:n,middleware:m};C.current&&(e.platform=C.current),eq(R.current,k.current,e).then(e=>{let t={...e,isPositioned:!1!==I.current};L.current&&!eH(T.current,t)&&(T.current=t,eo.flushSync(()=>{f(t)}))})},[m,t,n,C,I]);eW(()=>{!1===s&&T.current.isPositioned&&(T.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[s]);let L=o.useRef(!1);eW(()=>(L.current=!0,()=>{L.current=!1}),[]),eW(()=>{if(x&&(R.current=x),E&&(k.current=E),x&&E){if(A.current)return A.current(x,E,N);N()}},[x,E,N,A,S]);let _=o.useMemo(()=>({reference:R,floating:k,setReference:b,setFloating:w}),[b,w]),M=o.useMemo(()=>({reference:x,floating:E}),[x,E]),P=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=ez(M.floating,d.x),o=ez(M.floating,d.y);return u?{...e,transform:"translate("+t+"px, "+o+"px)",...ej(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:o}},[n,u,M.floating,d.x,d.y]);return o.useMemo(()=>({...d,update:N,refs:_,elements:M,floatingStyles:P}),[d,N,_,M,P])}({...e,elements:{...l,...u&&{reference:u}}}),g=o.useCallback(e=>{let t=d(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;c(t),p.refs.setReference(t)},[p.refs]),v=o.useCallback(e=>{(d(e)||null===e)&&(f.current=e,a(e)),(d(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!d(e))&&p.refs.setReference(e)},[p.refs]),h=o.useMemo(()=>({...p.refs,setReference:v,setPositionReference:g,domReference:f}),[p.refs,v,g]),y=o.useMemo(()=>({...p.elements,domReference:s}),[p.elements,s]),b=o.useMemo(()=>({...p,...r,refs:h,elements:y,nodeId:t}),[p,h,y,t,r]);return eG(()=>{r.dataRef.current.floatingContext=b;let e=null==m?void 0:m.nodesRef.current.find(e=>e.id===t);e&&(e.context=b)}),o.useMemo(()=>({...p,context:b,refs:h,elements:y}),[p,h,y,b])}({placement:"bottom-start",transform:!1,middleware:[eQ(m),eY({allowedPlacements:s,padding:5}),eK({rootBoundary:"viewport",fallbackPlacements:["bottom-end"],fallbackStrategy:"bestFit"}),eU({})],whileElementsMounted:eD,strategy:"absolute",open:er,onOpenChange:e=>e?Y():X()}),ec=(0,o.useCallback)(()=>{if(!K){if(null==r||r("click","quick-add-follow"),!k){Y();return}if(!b){J();return}q||b.registerTicker(t),b.updateTickerWatchlists().catch(()=>J()).then(()=>{Y()}),requestAnimationFrame(()=>el())}},[Y,K,b,t,q,k,J]),es=function(e,t){var n,r;void 0===t&&(t={});let{open:l,elements:i,floatingId:a}=e,{enabled:u=!0,role:c="dialog"}=t,s=e7(),d=(null==(n=i.domReference)?void 0:n.id)||s,f=o.useMemo(()=>{var e;return(null==(e=tk(i.floating))?void 0:e.id)||a},[i.floating,a]),m=null!=(r=tB.get(c))?r:c,p=null!=e4(),g=o.useMemo(()=>"tooltip"===m||"label"===c?{["aria-"+("label"===c?"labelledby":"describedby")]:l?f:void 0}:{"aria-expanded":l?"true":"false","aria-haspopup":"alertdialog"===m?"dialog":m,"aria-controls":l?f:void 0,..."listbox"===m&&{role:"combobox"},..."menu"===m&&{id:d},..."menu"===m&&p&&{role:"menuitem"},..."select"===c&&{"aria-autocomplete":"none"},..."combobox"===c&&{"aria-autocomplete":"list"}},[m,f,p,l,d,c]),v=o.useMemo(()=>{let e={id:f,...m&&{role:m}};return"tooltip"===m||"label"===c?e:{...e,..."menu"===m&&{"aria-labelledby":d}}},[m,f,d,c]),h=o.useCallback(e=>{let{active:t,selected:n}=e,o={role:"option",...t&&{id:f+"-fui-option"}};switch(c){case"select":return{...o,"aria-selected":t&&n};case"combobox":return{...o,"aria-selected":n}}return{}},[f,c]);return o.useMemo(()=>u?{reference:g,floating:v,item:h}:{},[u,g,v,h])}(ea),{getReferenceProps:ed,getFloatingProps:ef}=function(e){void 0===e&&(e=[]);let t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),l=o.useCallback(t=>tO(t,e,"reference"),t),i=o.useCallback(t=>tO(t,e,"floating"),n),a=o.useCallback(t=>tO(t,e,"item"),r);return o.useMemo(()=>({getReferenceProps:l,getFloatingProps:i,getItemProps:a}),[l,i,a])}([function(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,elements:l,dataRef:i}=e,{enabled:a=!0,escapeKey:u=!0,outsidePress:c=!0,outsidePressEvent:s="pointerdown",referencePress:m=!1,referencePressEvent:p="pointerdown",ancestorScroll:g=!1,bubbles:b,capture:E}=t,k=e8(),T=eZ("function"==typeof c?c:()=>!1),I="function"==typeof c?T:c,N=o.useRef(!1),L=o.useRef(!1),{escapeKey:_,outsidePress:M}=t_(b),{escapeKey:P,outsidePress:O}=t_(E),B=o.useRef(!1),F=eZ(e=>{var t;if(!n||!a||!u||"Escape"!==e.key||B.current)return;let o=null==(t=i.current.floatingContext)?void 0:t.nodeId,l=k?tn(k.nodesRef.current,o):[];if(!_&&(e.stopPropagation(),l.length>0)){let e=!0;if(l.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),D=eZ(e=>{var t;let n=()=>{var t;F(e),null==(t=C(e))||t.removeEventListener("keydown",n)};null==(t=C(e))||t.addEventListener("keydown",n)}),q=eZ(e=>{var t;let n=N.current;N.current=!1;let o=L.current;if(L.current=!1,"click"===s&&o||n||"function"==typeof I&&!I(e))return;let a=C(e),u="["+e3("inert")+"]",c=S(l.floating).querySelectorAll(u),m=d(a)?a:null;for(;m&&!h(m);){let e=w(m);if(h(e)||!d(e))break;m=e}if(c.length&&d(a)&&!a.matches("html,body")&&!R(a,l.floating)&&Array.from(c).every(e=>!R(m,e)))return;if(f(a)&&j){let t=h(a),n=y(a),o=/auto|scroll/,r=t||o.test(n.overflowX),l=t||o.test(n.overflowY),i=r&&a.clientWidth>0&&a.scrollWidth>a.clientWidth,u=l&&a.clientHeight>0&&a.scrollHeight>a.clientHeight,c="rtl"===n.direction,s=u&&(c?e.offsetX<=a.offsetWidth-a.clientWidth:e.offsetX>a.clientWidth),d=i&&e.offsetY>a.clientHeight;if(s||d)return}let p=null==(t=i.current.floatingContext)?void 0:t.nodeId,g=k&&tn(k.nodesRef.current,p).some(t=>{var n;return A(e,null==(n=t.context)?void 0:n.elements.floating)});if(A(e,l.floating)||A(e,l.domReference)||g)return;let v=k?tn(k.nodesRef.current,p):[];if(v.length>0){let e=!0;if(v.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),W=eZ(e=>{var t;let n=()=>{var t;q(e),null==(t=C(e))||t.removeEventListener(s,n)};null==(t=C(e))||t.addEventListener(s,n)});o.useEffect(()=>{if(!n||!a)return;i.current.__escapeKeyBubbles=_,i.current.__outsidePressBubbles=M;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),B.current=!0}function c(){e=window.setTimeout(()=>{B.current=!1},v()?5:0)}let f=S(l.floating);u&&(f.addEventListener("keydown",P?D:F,P),f.addEventListener("compositionstart",o),f.addEventListener("compositionend",c)),I&&f.addEventListener(s,O?W:q,O);let m=[];return g&&(d(l.domReference)&&(m=x(l.domReference)),d(l.floating)&&(m=m.concat(x(l.floating))),!d(l.reference)&&l.reference&&l.reference.contextElement&&(m=m.concat(x(l.reference.contextElement)))),(m=m.filter(e=>{var t;return e!==(null==(t=f.defaultView)?void 0:t.visualViewport)})).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{u&&(f.removeEventListener("keydown",P?D:F,P),f.removeEventListener("compositionstart",o),f.removeEventListener("compositionend",c)),I&&f.removeEventListener(s,O?W:q,O),m.forEach(e=>{e.removeEventListener("scroll",t)}),window.clearTimeout(e)}},[i,l,u,I,s,n,r,g,a,_,M,F,P,D,q,O,W]),o.useEffect(()=>{N.current=!1},[I,s]);let H=o.useMemo(()=>({onKeyDown:F,...m&&{[tN[p]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."click"!==p&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}}),[F,r,m,p]),j=o.useMemo(()=>({onKeyDown:F,onMouseDown(){L.current=!0},onMouseUp(){L.current=!0},[tL[s]]:()=>{N.current=!0}}),[F,s]);return o.useMemo(()=>a?{reference:H,floating:j}:{},[a,H,j])}(ea,{outsidePress:p,escapeKey:p,outsidePressEvent:"pointerdown"}),es]);(0,o.useEffect)(()=>{ei.reference.current!==F&&(ei.setReference(F),el())},[F]),(0,o.useEffect)(()=>{O&&ei.floating.current!==O&&(ei.setFloating(O),el())},[O]);let em=(0,o.useMemo)(()=>tz.has(a),[a]);return o.createElement("div",{className:(0,i.Sh)([tq.quickAddContainer,"button"===a&&tq.withButton,em&&tq.withIcon,n]),"data-component":g},"button"===a&&o.createElement(tW.q,{isFollowing:H,onClick:ec,ref:D}),em&&o.createElement(tH.P,{size:"icon-with-small-text"===a?"small":"default",showText:tV.has(a),isFollowing:H,onClick:ec,ref:D,...ed()}),er&&o.createElement(tx,{id:"quick-add"},o.createElement(tI,{initialFocus:-1,returnFocus:!0,modal:!1,context:ea},o.createElement("div",{className:tq.floatingUI,ref:B,style:{...eu},...ef()},o.createElement(tj.c,{trackClick:r,className:tq.quickAddOverlay,watchlists:W,onCreateAccountClick:G,onSignInClick:Z,canAddWatchlist:!N,onClose:ee,showError:j,onSave:$,onCreateNewWatchlist:et,isLoggedIn:en,isFollowing:H,isSubscribed:"BBG"===P,disabled:c})))))}tQ.ignoreCommittee=!0},81077:function(e,t,n){"use strict";n.d(t,{P:function(){return c}});var o=n(67294),r=n(25434),l=n(77536),i=n(60006),a=n(70390);n(77975);var u={quickAddIcon:"media-ui-QuickAddIcon_quickAddIcon-wfQef1xSlVM-",button:"media-ui-QuickAddIcon_button-Y9zSvXSYXz8-",followText:"media-ui-QuickAddIcon_followText-9kAiCTBOXOE-",small:"media-ui-QuickAddIcon_small-oOgr2T24kFI-"};let c=o.forwardRef(function(e,t){let{isFollowing:n=!1,name:c="quick-add-icon",onClick:s=null,showText:d=!1,size:f="default",trackingFunction:m=null}=e,[p]=(0,r.f)(c),g=(0,o.useCallback)(()=>{null==m||m(),null==s||s()},[s,m]);return o.createElement("div",{className:(0,l.Sh)([u.quickAddIcon,"small"===f&&u.small],{...e,name:c}),ref:t,"data-component":p,onClick:g},o.createElement(i.h,{className:u.button,size:f},n?o.createElement(a.yv,{title:"Following"}):o.createElement(a.am,{title:"Follow"})),d&&o.createElement("span",{className:u.followText},n?"Following":"Follow"))})},24770:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var o=n(67294),r=n(25434),l=n(77536),i=n(75197);n(59717);let a=o.forwardRef(function(e,t){let{name:n="quick-add-rounded-toggle",isFollowing:a=!1,onClick:u=null,trackingFunction:c=()=>{}}=e,s=(0,r.f)(n),d=(0,l.Sh)(["media-ui-QuickAddRoundedToggle_quickAddRoundedToggle-ptkxSdQlGfU-"],{...e,name:n}),f=(0,o.useCallback)(()=>{null==c||c(),null==u||u()},[u,c]);return o.createElement("div",{className:d,ref:t,"data-component":s,onClick:f},o.createElement(i.I,{active:a,activeText:"Following",inactiveText:"Follow",title:a?"Following":"Follow",withIcon:!0}))})},64057:function(e,t,n){"use strict";n.d(t,{R:function(){return a}});var o=n(67294),r=n(25434),l=n(77536);n(87864);var i={securityName:"media-ui-SecurityName_securityName-WpFW87DcVnk-",small:"media-ui-SecurityName_small-G7IYLPaXvF8-",default:"media-ui-SecurityName_default-rQcqATandWE-",large:"media-ui-SecurityName_large-ZrYZDDP-gFc-",extraLarge:"media-ui-SecurityName_extraLarge-CPbNyHrfjZI-",link:"media-ui-SecurityName_link-EKXk-l7aiCM-",isDark:"media-ui-SecurityName_isDark-uoCIz2EsjQI-",_default:"media-ui-SecurityName_default-rQcqATandWE-"};let a=o.forwardRef(function(e,t){let{anchorOnClick:n,anchorTarget:a="_parent",name:u="SecurityName",securityName:c,size:s="default",url:d,isDark:f=!1}=e,m=(0,r.f)(u),p=(0,l.Sh)([i.securityName,i[s],f&&i.isDark],e);return o.createElement("div",{className:p,ref:t,"data-component":m},d?o.createElement("a",{href:d,target:a,rel:"noopener",className:i.link,onClick:n},c):c)})},81789:function(){},8640:function(){},77975:function(){},59717:function(){},87864:function(){}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/38bb7933384c1bf4_05Q6.css b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/38bb7933384c1bf4_05Q6.css new file mode 100644 index 0000000..9e86cf5 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/38bb7933384c1bf4_05Q6.css @@ -0,0 +1 @@ +.media-ui-InputField_inputContainer-dY89aFZcbqU-{box-sizing:border-box;color:currentColor;margin-bottom:.5rem;margin-top:.5rem;position:relative;width:100%}.media-ui-InputField_inputContainer-dY89aFZcbqU- .media-ui-InputField_input-trz7AzJlxTU-::-moz-placeholder{font-size:1rem;line-height:1.5rem}.media-ui-InputField_inputContainer-dY89aFZcbqU- .media-ui-InputField_input-trz7AzJlxTU-,.media-ui-InputField_inputContainer-dY89aFZcbqU- .media-ui-InputField_input-trz7AzJlxTU-::placeholder{font-size:1rem;line-height:1.5rem}.media-ui-InputField_inputContainer-dY89aFZcbqU-.media-ui-InputField_small-Yy7x-quB9xk- .media-ui-InputField_input-trz7AzJlxTU-::-moz-placeholder{font-size:.875rem;line-height:1.3125rem}.media-ui-InputField_inputContainer-dY89aFZcbqU-.media-ui-InputField_small-Yy7x-quB9xk- .media-ui-InputField_input-trz7AzJlxTU-,.media-ui-InputField_inputContainer-dY89aFZcbqU-.media-ui-InputField_small-Yy7x-quB9xk- .media-ui-InputField_input-trz7AzJlxTU-::placeholder{font-size:.875rem;line-height:1.3125rem}.media-ui-InputField_inputContainer-dY89aFZcbqU-.media-ui-InputField_password-TVOfm7A-XRE- ::-ms-reveal{display:none}.media-ui-InputField_input-trz7AzJlxTU-{background-color:transparent;border-color:currentColor;border-radius:0;border-width:0 0 1px;display:block;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:inherit;height:auto;line-height:1rem;outline:.125rem solid transparent;outline-offset:.125rem;padding:.5rem 2.5rem .25rem 0;position:relative;transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}.media-ui-InputField_input-trz7AzJlxTU-.media-ui-InputField_error-4w5CNe-96N0-,.media-ui-InputField_input-trz7AzJlxTU-:invalid{border-color:var(--color-red-700)}.media-ui-InputField_input-trz7AzJlxTU-::-moz-placeholder{color:currentColor;font-size:inherit;line-height:1rem;opacity:.4;transition-duration:.15s;-moz-transition-property:opacity;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.media-ui-InputField_input-trz7AzJlxTU-::placeholder{color:currentColor;font-size:inherit;line-height:1rem;opacity:.4;transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.media-ui-InputField_input-trz7AzJlxTU-:disabled{border-color:var(--color-gray-400);color:var(--color-gray-400);cursor:default}.media-ui-InputField_input-trz7AzJlxTU-:active:not(:disabled),.media-ui-InputField_input-trz7AzJlxTU-:focus:not(:disabled){box-shadow:0 1px 1px -1px currentcolor;outline:.125rem solid transparent;outline-offset:.125rem}.media-ui-InputField_label-gyVRp41Ei7Y-{display:flex;position:relative}.media-ui-InputField_label-gyVRp41Ei7Y- span.media-ui-InputField_label-gyVRp41Ei7Y-{background-color:transparent;bottom:.4375rem;left:0;opacity:.4;pointer-events:none;position:absolute;transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.media-ui-InputField_label-gyVRp41Ei7Y-.media-ui-InputField_labelShrink-hS2SeloAhMI- span.media-ui-InputField_label-gyVRp41Ei7Y-{--tw-scale-x:.75;--tw-scale-y:.75;--tw-translate-y:-0.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform-origin:top left}.media-ui-InputField_label-gyVRp41Ei7Y-.media-ui-InputField_labelShrink-hS2SeloAhMI-.media-ui-InputField_error-4w5CNe-96N0- span.media-ui-InputField_label-gyVRp41Ei7Y-{color:var(--color-red-700);opacity:1}.media-ui-InputField_label-gyVRp41Ei7Y-.media-ui-InputField_small-Yy7x-quB9xk-.media-ui-InputField_labelShrink-hS2SeloAhMI- span.media-ui-InputField_label-gyVRp41Ei7Y-{--tw-translate-y:-0.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.media-ui-InputField_label-gyVRp41Ei7Y-.media-ui-InputField_hideLabel-aVi4M3hS59I- span.media-ui-InputField_label-gyVRp41Ei7Y-{display:none}.media-ui-InputField_icon-RwX4HdyDbHY-{align-items:center;bottom:0;display:flex;justify-content:center;position:absolute;right:.25rem;top:0}.media-ui-InputField_icon-RwX4HdyDbHY-.media-ui-InputField_fullWidth-39tmB-JmVKU-{right:.5rem}.media-ui-InputField_helperText-oSSjAy9750k-{color:var(--color-gray-600);font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.75rem;line-height:1.125rem;padding-top:.25rem}.media-ui-InputField_success-Z-W51gkBIhE-{color:var(--color-green-700);height:1rem;width:1rem}.media-ui-InputField_success-Z-W51gkBIhE- svg{height:100%;width:100%}.media-ui-InputField_errorWrapper-HN0zh0R8BV4-{font-size:.75rem;line-height:1.125rem;margin-top:.25rem}.media-ui-InputField_clearInput-R7QZeFFgJM8-{--tw-translate-y:-45%;background-color:transparent;border-style:none;color:var(--color-black);cursor:pointer;margin:0;padding:0;position:absolute;right:.5rem;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.media-ui-InputField_clearInput-R7QZeFFgJM8- svg{height:1rem;width:1rem}.media-ui-InputField_searchIcon-0VB7DYVoZrA-{--tw-translate-y:-45%;height:1.25rem;left:.5rem;pointer-events:none;position:absolute;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));width:1.25rem;z-index:1}.media-ui-InputField_searchIcon-0VB7DYVoZrA-.media-ui-InputField_disabled-SM4pBi3Nv5M-{color:var(--color-gray-800)}.media-ui-InputField_grayfill-HWtJCBFE2G4-{background-color:var(--color-gray-100);color:var(--color-gray-800)}.media-ui-InputField_grayfill-HWtJCBFE2G4- .media-ui-InputField_input-trz7AzJlxTU-{border-color:var(--color-gray-300)}.media-ui-InputField_grayfill-HWtJCBFE2G4- .media-ui-InputField_input-trz7AzJlxTU-::-moz-placeholder{color:var(--color-gray-700);opacity:1}.media-ui-InputField_grayfill-HWtJCBFE2G4- .media-ui-InputField_input-trz7AzJlxTU-::placeholder{color:var(--color-gray-700);opacity:1}.media-ui-InputField_grayfill-HWtJCBFE2G4- .media-ui-InputField_input-trz7AzJlxTU-:active:not(:disabled),.media-ui-InputField_grayfill-HWtJCBFE2G4- .media-ui-InputField_input-trz7AzJlxTU-:focus:not(:disabled){border-color:var(--color-black);box-shadow:none}.media-ui-InputField_grayfill-HWtJCBFE2G4- .media-ui-InputField_input-trz7AzJlxTU-:disabled::-moz-placeholder{color:var(--color-gray-800);opacity:1}.media-ui-InputField_grayfill-HWtJCBFE2G4- .media-ui-InputField_input-trz7AzJlxTU-:disabled::placeholder{color:var(--color-gray-800);opacity:1}.media-ui-InputField_grayfill-HWtJCBFE2G4- .media-ui-InputField_input-trz7AzJlxTU-:disabled{background-color:var(--color-gray-200);color:var(--color-gray-800)}.media-ui-InputField_searchBar-oCLXu944RGg- .media-ui-InputField_input-trz7AzJlxTU-,.media-ui-InputField_searchBar-oCLXu944RGg- span.media-ui-InputField_label-gyVRp41Ei7Y-{padding-left:2rem}.media-ui-InputField_searchBar-oCLXu944RGg- span.media-ui-InputField_label-gyVRp41Ei7Y-.media-ui-InputField_labelShrink-hS2SeloAhMI-{padding-left:0}.media-ui-InputField_input-trz7AzJlxTU-[type=search]::-webkit-search-cancel-button,.media-ui-InputField_input-trz7AzJlxTU-[type=search]::-webkit-search-decoration,.media-ui-InputField_input-trz7AzJlxTU-[type=search]::-webkit-search-results-button,.media-ui-InputField_input-trz7AzJlxTU-[type=search]::-webkit-search-results-decoration{display:none}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs-{font-size:.75em}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_hoverContainer-xSmWCbkmZIg-{--tw-translate-x:-50%;align-items:center;background-color:var(--color-gray-200);border-radius:.25rem;display:flex;flex-direction:column;padding:.25rem;pointer-events:none;position:absolute;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));white-space:nowrap}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_hoverContainer-xSmWCbkmZIg- .media-ui-TickerChartTooltips_hoverTimestamp-Rf2hjDDBu0I-{font-weight:400}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_hoverContainer-xSmWCbkmZIg- .media-ui-TickerChartTooltips_hoverValue-tQXjwwUYU5s-{font-weight:700}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_prevCloseContainer-ISAYEXa-gXY-{align-items:center;background-color:hsla(0,0%,100%,.7);border-radius:.25rem;color:var(--color-gray-800);display:flex;flex-direction:column;padding:.25rem;pointer-events:none;position:absolute;text-transform:uppercase;white-space:nowrap}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_prevCloseContainer-ISAYEXa-gXY- .media-ui-TickerChartTooltips_previousCloseLabel-Xz3XPZSmmlE-{font-weight:400}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_prevCloseContainer-ISAYEXa-gXY- .media-ui-TickerChartTooltips_previousCloseValue--g6qB73BU6Y-{font-weight:700}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_dragContainer-1aTITVFAGCY-{--tw-shadow:0 1px 0.1875rem 0 rgba(0,0,0,.1),0 1px 0.125rem -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 0.1875rem 0 var(--tw-shadow-color),0 1px 0.125rem -1px var(--tw-shadow-color);background-color:var(--color-gray-100);border-radius:.25rem;box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);display:flex;flex-direction:column;gap:.125rem;margin-left:.125rem;opacity:.9;padding:.5rem;pointer-events:none;position:absolute;top:0}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_dragContainer-1aTITVFAGCY- .media-ui-TickerChartTooltips_dataLabel-JRXyQqiseuI-{font-weight:700}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_dragContainer-1aTITVFAGCY- .media-ui-TickerChartTooltips_tickerLegendRow-4JLS3zLR7mo-{align-items:center;display:flex;gap:.125rem}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_dragContainer-1aTITVFAGCY- .media-ui-TickerChartTooltips_tickerLegendRow-4JLS3zLR7mo- .media-ui-TickerChartTooltips_tickerLegend-FDTMBXY4vBw-{height:1rem;width:.25rem}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_dragContainer-1aTITVFAGCY- .media-ui-TickerChartTooltips_tickerLegendRow-4JLS3zLR7mo- .media-ui-TickerChartTooltips_tickerLabel-DUBQnPIJOoo-{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:4rem}.media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs- .media-ui-TickerChartTooltips_dragContainer-1aTITVFAGCY- .media-ui-TickerChartTooltips_dataRow-pYc1tXji2oA-{align-items:center;display:flex;gap:.25rem;justify-content:flex-start}.media-ui-TickerChartContainer_chartContainer-GzowhsDnfuk-{max-width:100%;position:relative;width:100%}.media-ui-TickerChartContainer_chartContainer-GzowhsDnfuk-.media-ui-TickerChartContainer_noData-dbG9VRflEF0-{background-color:var(--color-gray-100);height:0;min-width:22.0625rem;padding-bottom:50.4%;width:100%}.media-ui-TickerChartContainer_chartContainer-GzowhsDnfuk-.media-ui-TickerChartContainer_noData-dbG9VRflEF0- .media-ui-TickerChartContainer_message-hZc417ub2Xo-{--tw-translate-y:-50%;--tw-translate-x:-50%;color:var(--color-gray-600);font-size:.75rem;font-weight:400;left:50%;line-height:1.5;position:absolute;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.media-ui-TickerChartPricePath_gradient-2WAzz91c70Y-.media-ui-TickerChartPricePath_neutral-1AGcYC24nv0-,.media-ui-TickerChartPricePath_line-8APo5XUFt8M-.media-ui-TickerChartPricePath_neutral-1AGcYC24nv0-{color:var(--color-gray-600)}.media-ui-TickerChartPricePath_gradient-2WAzz91c70Y-.media-ui-TickerChartPricePath_positive-O2XAKFvb1mY-,.media-ui-TickerChartPricePath_line-8APo5XUFt8M-.media-ui-TickerChartPricePath_positive-O2XAKFvb1mY-{color:var(--color-green-refresh2024-500)}.media-ui-TickerChartPricePath_gradient-2WAzz91c70Y-.media-ui-TickerChartPricePath_negative-tIVLGXCVyuQ-,.media-ui-TickerChartPricePath_line-8APo5XUFt8M-.media-ui-TickerChartPricePath_negative-tIVLGXCVyuQ-{color:var(--color-red-refresh2024-500)}.media-ui-TickerChartPricePath_gradient-2WAzz91c70Y-.media-ui-TickerChartPricePath_positive-O2XAKFvb1mY-{color:var(--color-green-refresh2024-200)}.media-ui-TickerChartPricePath_dragInteractionActive-kMwf5IMC7IM-{color:var(--color-gray-500)!important}.media-ui-ToastSuccess_toastSuccess-nvHCoX8SI28-{z-index:20}.media-ui-ToastSuccess_toastSuccessIcon-fhF5NBkNQpE-{color:var(--color-green-600)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-{background-color:transparent;border-radius:624.9375rem;border-width:1px;font-weight:500;text-align:center}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_small-4uGdyeL41YA-{font-size:.875rem;line-height:100%;min-height:1.75rem;padding-left:1rem;padding-right:1rem}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_default-KSbLMQQUxEk-{font-size:.875rem;line-height:100%;min-height:2.25rem;padding-left:1.25rem;padding-right:1.25rem}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_default-KSbLMQQUxEk-.media-ui-RoundedButton_hasIcon-pA-fzIwcl9s-{padding-left:1rem;padding-right:1rem}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_large-Ylf54m9mmF8-{font-size:.875rem;line-height:100%;min-height:2.75rem;padding-left:1.75rem;padding-right:1.75rem}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_large-Ylf54m9mmF8-.media-ui-RoundedButton_hasIcon-pA-fzIwcl9s-{padding-left:1.5rem;padding-right:1.5rem}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_light-ecL1xA3tWQ0-.media-ui-RoundedButton_outline-L-sLv9ivvaE-{border-color:var(--color-black);color:var(--color-black)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_light-ecL1xA3tWQ0-.media-ui-RoundedButton_outline-L-sLv9ivvaE-:disabled{border-color:var(--color-gray-400);color:var(--color-gray-400)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_light-ecL1xA3tWQ0-.media-ui-RoundedButton_outline-L-sLv9ivvaE-:not([disabled]):hover{background-color:var(--color-gray-200)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_light-ecL1xA3tWQ0-.media-ui-RoundedButton_fill-a2vFCr4YQIA-{background-color:var(--color-black);border-color:var(--color-black);color:var(--color-white)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_light-ecL1xA3tWQ0-.media-ui-RoundedButton_fill-a2vFCr4YQIA-:disabled{background-color:var(--color-gray-200);border-color:var(--color-gray-200);color:var(--color-gray-500)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_light-ecL1xA3tWQ0-.media-ui-RoundedButton_fill-a2vFCr4YQIA-:not([disabled]):hover{background-color:var(--color-gray-800);border-color:var(--color-gray-800);color:var(--color-white)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_dark-4tzyzSMv4yQ-.media-ui-RoundedButton_outline-L-sLv9ivvaE-{background-color:var(--color-black);border-color:var(--color-white);color:var(--color-white)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_dark-4tzyzSMv4yQ-.media-ui-RoundedButton_outline-L-sLv9ivvaE-:disabled{border-color:var(--color-gray-600);color:var(--color-gray-700)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_dark-4tzyzSMv4yQ-.media-ui-RoundedButton_outline-L-sLv9ivvaE-:not([disabled]):hover{background-color:var(--color-gray-800)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_dark-4tzyzSMv4yQ-.media-ui-RoundedButton_fill-a2vFCr4YQIA-{background-color:var(--color-white);border-color:var(--color-white);color:var(--color-black)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_dark-4tzyzSMv4yQ-.media-ui-RoundedButton_fill-a2vFCr4YQIA-:disabled{background-color:var(--color-gray-800);border-color:var(--color-gray-800);color:var(--color-gray-600)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_dark-4tzyzSMv4yQ-.media-ui-RoundedButton_fill-a2vFCr4YQIA-:not([disabled]):hover{background-color:var(--color-gray-200);border-color:var(--color-gray-200);color:var(--color-black)}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE-.media-ui-RoundedButton_smallIcon-x1cG8-ig6mI- svg{font-size:1rem;height:1rem;line-height:100%;width:1rem}.media-ui-RoundedButton_roundedButton-phoenix-fI40QjV8msE- .bb--button-text-inner{margin-top:1px}.media-ui-SubscriberOnlyBenefitOverlay_buttonContainer-DDC1QDjKl7I-{display:flex;margin-top:.75rem}.media-ui-SubscriberOnlyBenefitOverlay_buttonContainer-DDC1QDjKl7I->*{flex-basis:0px;flex-grow:1}.media-ui-SubscriberOnlyBenefitOverlay_signInButton-nVQb7fZGgJo-{padding-left:0!important;padding-right:0!important}.media-ui-SubscriberOnlyBenefitOverlay_defaultText-VWW2YBn6NsM-{font-size:1rem}.media-ui-Overlay_wrapper-IzUR8y5HyZw-{border-top-left-radius:.5rem;border-top-right-radius:.5rem;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.3125rem;line-height:1rem;padding:1rem}@media (min-width:620px){.media-ui-Overlay_wrapper-IzUR8y5HyZw-{border-radius:.5rem}}.media-ui-Overlay_wrapper-IzUR8y5HyZw-{--tw-border-opacity:1;background-color:var(--color-white);border-color:rgba(226,232,240,var(--tw-border-opacity));border-style:solid;border-width:1px;pointer-events:auto;transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100vw;z-index:100002}@media (min-width:620px){.media-ui-Overlay_wrapper-IzUR8y5HyZw-{max-width:21.5rem;transition-property:none}}.media-ui-Overlay_wrapper-IzUR8y5HyZw-{--tw-drop-shadow:drop-shadow(0 0.25rem 0.1875rem rgba(0,0,0,.07)) drop-shadow(0 0.125rem 0.125rem rgba(0,0,0,.06));animation:media-ui-Overlay_change-in-lh2cGQpzO6o- .15s linear;animation-fill-mode:forwards;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.media-ui-Overlay_wrapper-IzUR8y5HyZw-.media-ui-Overlay_hiddenWrapper-UuMYm-kTyTc-{display:none}.media-ui-Overlay_header--SJNqPwUJfI-{font-size:1rem;font-weight:500;line-height:1.2;padding-top:.1875rem}.media-ui-Overlay_headerWrapper-9ZxEK6l7q3g-{display:grid;grid-template-columns:1fr auto;margin-bottom:.5rem;width:100%}.media-ui-Overlay_headerWrapper-9ZxEK6l7q3g- .media-ui-Overlay_headerIcon-6QQ8n-t6BV8- svg{height:1.25rem;margin-right:.25rem;margin-top:.125rem;width:1.25rem}.media-ui-Overlay_headerWrapper-9ZxEK6l7q3g-.media-ui-Overlay_withIcon-amCI8aiikyw-{grid-template-columns:auto 1fr auto}.media-ui-Overlay_mobileAnchor-4PJw-CbaDDU-{bottom:0;left:0;position:fixed;width:100vw}.media-ui-Overlay_dismissOverlay-0Pc7hsD-ETc-{margin:0}.media-ui-Overlay_dismissOverlay-0Pc7hsD-ETc- svg{padding:.125rem}.media-ui-Overlay_mobileOverlayWrapper-fKy8NlpcYaU-{background-color:var(--color-black);height:100%;left:0;opacity:.3;position:fixed;top:0;visibility:visible;width:100vw;z-index:100001}@media (min-width:620px){.media-ui-Overlay_mobileOverlayWrapper-fKy8NlpcYaU-{display:none}}.media-ui-Overlay_body-cqXHjm-p6N4-{line-height:1.25}.media-ui-ErrorText_wrapper-DVnz67swMvg-{color:var(--color-red-700);font-size:.6875rem;line-height:.9375rem}.media-ui-ErrorText_wrapperDark-NA2TQ6581-w-{color:var(--color-red-500);font-size:.6875rem;line-height:.9375rem}.media-ui-LineSearchDropdown_loading-e3Fm-wXWhDk-{margin-right:.25rem}@keyframes media-ui-Spinner_spin-8MornXeNoys-{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.media-ui-Spinner_spin-8MornXeNoys-{animation:media-ui-Spinner_spin-8MornXeNoys- 1.5s linear infinite} \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/3934-ff427ed9511030ea_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/3934-ff427ed9511030ea_05Q6.js new file mode 100644 index 0000000..4e0cbfc --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/3934-ff427ed9511030ea_05Q6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3934],{33934:function(e,t,r){let s;r.d(t,{a:function(){return x}});var i=r(66474),n=r(27037),u=r(56888),a=r(7506),h=r(13820),c=r(24139),o=class extends a.l{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#r=(0,h.O)(),this.bindMethods(),this.setOptions(t)}#e;#s=void 0;#i=void 0;#n=void 0;#u;#a;#r;#t;#h;#c;#o;#l;#d;#p;#f=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#s.addObserver(this),l(this.#s,this.options)?this.#y():this.updateResult(),this.#R())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return d(this.#s,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return d(this.#s,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#Q(),this.#s.removeObserver(this)}setOptions(e){let t=this.options,r=this.#s;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,c.Nc)(this.options.enabled,this.#s))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#v(),this.#s.setOptions(this.options),t._defaulted&&!(0,c.VS)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#s,observer:this});let s=this.hasListeners();s&&p(this.#s,r,this.options,t)&&this.#y(),this.updateResult(),s&&(this.#s!==r||(0,c.Nc)(this.options.enabled,this.#s)!==(0,c.Nc)(t.enabled,this.#s)||(0,c.KC)(this.options.staleTime,this.#s)!==(0,c.KC)(t.staleTime,this.#s))&&this.#m();let i=this.#g();s&&(this.#s!==r||(0,c.Nc)(this.options.enabled,this.#s)!==(0,c.Nc)(t.enabled,this.#s)||i!==this.#p)&&this.#I(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(t,e);return(0,c.VS)(this.getCurrentResult(),r)||(this.#n=r,this.#a=this.options,this.#u=this.#s.state),r}getCurrentResult(){return this.#n}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"!==r||this.options.experimental_prefetchInRender||"pending"!==this.#r.status||this.#r.reject(Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(e,r))})}trackProp(e){this.#f.add(e)}getCurrentQuery(){return this.#s}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),r=this.#e.getQueryCache().build(this.#e,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#y({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#y(e){this.#v();let t=this.#s.fetch(this.options,e);return e?.throwOnError||(t=t.catch(c.ZT)),t}#m(){this.#b();let e=(0,c.KC)(this.options.staleTime,this.#s);if(c.sk||this.#n.isStale||!(0,c.PN)(e))return;let t=(0,c.Kp)(this.#n.dataUpdatedAt,e);this.#l=setTimeout(()=>{this.#n.isStale||this.updateResult()},t+1)}#g(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#s):this.options.refetchInterval)??!1}#I(e){this.#Q(),this.#p=e,!c.sk&&!1!==(0,c.Nc)(this.options.enabled,this.#s)&&(0,c.PN)(this.#p)&&0!==this.#p&&(this.#d=setInterval(()=>{(this.options.refetchIntervalInBackground||i.j.isFocused())&&this.#y()},this.#p))}#R(){this.#m(),this.#I(this.#g())}#b(){this.#l&&(clearTimeout(this.#l),this.#l=void 0)}#Q(){this.#d&&(clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let r;let s=this.#s,i=this.options,n=this.#n,a=this.#u,o=this.#a,d=e!==s?e.state:this.#i,{state:y}=e,R={...y},b=!1;if(t._optimisticResults){let r=this.hasListeners(),n=!r&&l(e,t),a=r&&p(e,s,t,i);(n||a)&&(R={...R,...(0,u.z)(y.data,e.options)}),"isRestoring"===t._optimisticResults&&(R.fetchStatus="idle")}let{error:Q,errorUpdatedAt:v,status:m}=R;r=R.data;let g=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===m){let e;n?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=n.data,g=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#o?.state.data,this.#o):t.placeholderData,void 0!==e&&(m="success",r=(0,c.oE)(n?.data,e,t),b=!0)}if(t.select&&void 0!==r&&!g){if(n&&r===a?.data&&t.select===this.#h)r=this.#c;else try{this.#h=t.select,r=t.select(r),r=(0,c.oE)(n?.data,r,t),this.#c=r,this.#t=null}catch(e){this.#t=e}}this.#t&&(Q=this.#t,r=this.#c,v=Date.now(),m="error");let I="fetching"===R.fetchStatus,C="pending"===m,O="error"===m,T=C&&I,S=void 0!==r,E={status:m,fetchStatus:R.fetchStatus,isPending:C,isSuccess:"success"===m,isError:O,isInitialLoading:T,isLoading:T,data:r,dataUpdatedAt:R.dataUpdatedAt,error:Q,errorUpdatedAt:v,failureCount:R.fetchFailureCount,failureReason:R.fetchFailureReason,errorUpdateCount:R.errorUpdateCount,isFetched:R.dataUpdateCount>0||R.errorUpdateCount>0,isFetchedAfterMount:R.dataUpdateCount>d.dataUpdateCount||R.errorUpdateCount>d.errorUpdateCount,isFetching:I,isRefetching:I&&!C,isLoadingError:O&&!S,isPaused:"paused"===R.fetchStatus,isPlaceholderData:b,isRefetchError:O&&S,isStale:f(e,t),refetch:this.refetch,promise:this.#r,isEnabled:!1!==(0,c.Nc)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===E.status?e.reject(E.error):void 0!==E.data&&e.resolve(E.data)},r=()=>{t(this.#r=E.promise=(0,h.O)())},i=this.#r;switch(i.status){case"pending":e.queryHash===s.queryHash&&t(i);break;case"fulfilled":("error"===E.status||E.data!==i.value)&&r();break;case"rejected":("error"!==E.status||E.error!==i.reason)&&r()}}return E}updateResult(){let e=this.#n,t=this.createResult(this.#s,this.options);this.#u=this.#s.state,this.#a=this.options,void 0!==this.#u.data&&(this.#o=this.#s),(0,c.VS)(t,e)||(this.#n=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#f.size)return!0;let s=new Set(r??this.#f);return this.options.throwOnError&&s.add("error"),Object.keys(this.#n).some(t=>this.#n[t]!==e[t]&&s.has(t))})()}))}#v(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#s)return;let t=this.#s;this.#s=e,this.#i=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#R()}#C(e){n.Vr.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#n)}),this.#e.getQueryCache().notify({query:this.#s,type:"observerResultsUpdated"})})}};function l(e,t){return!1!==(0,c.Nc)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)||void 0!==e.state.data&&d(e,t,t.refetchOnMount)}function d(e,t,r){if(!1!==(0,c.Nc)(t.enabled,e)&&"static"!==(0,c.KC)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&f(e,t)}return!1}function p(e,t,r,s){return(e!==t||!1===(0,c.Nc)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&f(e,r)}function f(e,t){return!1!==(0,c.Nc)(t.enabled,e)&&e.isStaleByTime((0,c.KC)(t.staleTime,e))}var y=r(67294),R=r(30202);r(85893);var b=y.createContext((s=!1,{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s})),Q=()=>y.useContext(b),v=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&!t.isReset()&&(e.retryOnMount=!1)},m=e=>{y.useEffect(()=>{e.clearReset()},[e])},g=({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(i&&void 0===e.data||(0,c.L3)(r,[e.error,s])),I=y.createContext(!1),C=()=>y.useContext(I);I.Provider;var O=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},T=(e,t)=>e.isLoading&&e.isFetching&&!t,S=(e,t)=>e?.suspense&&t.isPending,E=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function x(e,t){return function(e,t,r){let s=C(),i=Q(),u=(0,R.NL)(r),a=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(a),a._optimisticResults=s?"isRestoring":"optimistic",O(a),v(a,i),m(i);let h=!u.getQueryCache().get(a.queryHash),[o]=y.useState(()=>new t(u,a)),l=o.getOptimisticResult(a),d=!s&&!1!==e.subscribed;if(y.useSyncExternalStore(y.useCallback(e=>{let t=d?o.subscribe(n.Vr.batchCalls(e)):c.ZT;return o.updateResult(),t},[o,d]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),y.useEffect(()=>{o.setOptions(a)},[a,o]),S(a,l))throw E(a,o,i);if(g({result:l,errorResetBoundary:i,throwOnError:a.throwOnError,query:u.getQueryCache().get(a.queryHash),suspense:a.suspense}))throw l.error;if(u.getDefaultOptions().queries?._experimental_afterQuery?.(a,l),a.experimental_prefetchInRender&&!c.sk&&T(l,s)){let e=h?E(a,o,i):u.getQueryCache().get(a.queryHash)?.promise;e?.catch(c.ZT).finally(()=>{o.updateResult()})}return a.notifyOnChangeProps?l:o.trackResult(l)}(e,o,t)}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/4092-31cd7e68b12a9722_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/4092-31cd7e68b12a9722_05Q6.js new file mode 100644 index 0000000..cc8ccde --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/4092-31cd7e68b12a9722_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4092],{2595:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(26727),a=n.n(r);class o{userApiUrl;constructor({userApiUrl:e}){this.userApiUrl=e}request({document:e,variables:t,includeCredentials:n=!1}){let r=a()(e);return fetch(this.userApiUrl,{body:r(t),method:"POST",credentials:n?"include":"same-origin",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>e.json()).then(e=>e.data)}}},57966:function(e){function t(){for(var e,t,n=0,r="",a=arguments.length;n{t(n)},[t,n]);return r.createElement("span",{className:(0,u.RD)([l.dot,a&&l.activeDot]),"aria-label":o,role:"button",onKeyDown:e=>{"Enter"===e.key&&i(e)},tabIndex:0,onClick:i})}function p(e){let{direction:t,isActive:n}=e,o=(0,u.RD)([l.navButtonContainer]);return r.createElement("div",null,r.createElement(s.h,{variant:"outlined",size:"default",className:o,disabled:!n},"left"===t?r.createElement(a.s$,null):r.createElement(a._Q,null)))}let f=(0,r.forwardRef)(function(e,t){let{children:n,limit:a=6,autoadvanceIntervalInMs:s=null,animatedTransition:f=!1,trackingName:h="carousel",trackClick:m,name:v="carousel"}=e,g=(0,o.f)(v),y=(0,c.Q)(),b=y({id:"media-ui-core_navigationDot",defaultMessage:i.j["media-ui-core_navigationDot"]}),D=y({id:"media-ui-core_navigateLeft",defaultMessage:i.j["media-ui-core_navigateLeft"]}),k=y({id:"media-ui-core_navigateRight",defaultMessage:i.j["media-ui-core_navigateRight"]}),w=(0,r.useRef)(null),[M,O]=(0,r.useState)(0),_=(0,r.useRef)(null),P=(0,r.useRef)(null),S=(0,u.RD)([l.navSection,l.navSectionButtons]),E=(0,r.useMemo)(()=>null==n?void 0:n.slice(0,a+1),[n,a]),C=(0,r.useCallback)((e,t)=>{w.current=setInterval(()=>{O(e=>(e+1)%t)},e)},[]),I=(0,r.useCallback)(()=>{w.current&&(clearInterval(w.current),w.current=null)},[]),T=(0,r.useCallback)(()=>{I(),s&&C(s,null==E?void 0:E.length)},[s,null==E?void 0:E.length,C,I]);(0,r.useEffect)(()=>(s&&C(s,null==E?void 0:E.length),I),[s,null==E?void 0:E.length,C,I]);let j=(0,r.useCallback)(()=>{O(e=>Math.max(e-1,0)),T(),m&&m("arrow-click","".concat(h,".arrow-back"))},[T]),Y=(0,r.useCallback)(()=>{O(e=>Math.min(e+1,((null==E?void 0:E.length)||0)-1)),T(),m&&m("arrow-click","".concat(h,".arrow-forward"))},[T,null==E?void 0:E.length]),N=(0,r.useCallback)(e=>{O(e),T(),m&&m("arrow-click","".concat(h,".card.").concat(e+1))},[T]),x=0===M,F=M===((null==E?void 0:E.length)||0)-1;return(null==E?void 0:E.length)?f?r.createElement("div",{"data-component":g,ref:t},r.createElement("div",{className:l.animatedBox,onTouchStart:e=>{var t;P.current=null,_.current=(null===(t=e.targetTouches[0])||void 0===t?void 0:t.clientX)||null},onTouchMove:e=>{var t;P.current=(null===(t=e.targetTouches[0])||void 0===t?void 0:t.clientX)||null},onTouchEnd:()=>{if(null===_.current||null===P.current)return;let e=P.current-_.current;e>50&&j(),e<-50&&Y()}},E.map((e,t)=>{let n=(0,u.RD)([l.animatedCard,tM&&l.nextCard]);return r.createElement("span",{className:n,key:t},e)})),r.createElement("div",{className:l.carouselNav,"data-component":"carousel-nav"},r.createElement("div",{className:l.navSection}),r.createElement("div",{className:l.navSection},E.map((e,t)=>r.createElement(d,{key:t,index:t,isActive:t===M,onClick:N,ariaLabel:b}))),r.createElement("div",{className:S},r.createElement("button",{onClick:j,disabled:x,"aria-label":D},r.createElement(p,{direction:"left",isActive:!x})),r.createElement("button",{onClick:Y,disabled:F,"aria-label":k},r.createElement(p,{direction:"right",isActive:!F}))))):r.createElement("div",{"data-component":g,ref:t},E[M],r.createElement("div",{className:l.carouselNav,"data-component":"carousel-nav"},r.createElement("div",{className:l.navSection}),r.createElement("div",{className:l.navSection},E.map((e,t)=>r.createElement(d,{key:t,isActive:t===M,onClick:O,index:t,ariaLabel:b}))),r.createElement("div",{className:S},r.createElement("button",{onClick:j,disabled:x,"aria-label":D},r.createElement(p,{direction:"left",isActive:!x})),r.createElement("button",{onClick:Y,disabled:F,"aria-label":k},r.createElement(p,{direction:"right",isActive:!F}))))):r.createElement(r.Fragment,null)})},51434:function(e,t,n){"use strict";n.d(t,{W:function(){return s}});var r=n(67294),a=n(25434),o=n(77536);n(60285);var i={base:"media-ui-Container_base-QBDs9PHHQpE-",outline:"media-ui-Container_outline-DkanPVBk-1w-",roundedCorners:"media-ui-Container_roundedCorners-QOic8qlaBuU-",rounded:"media-ui-Container_rounded-PrsdJeyyb1o-",lined:"media-ui-Container_lined-r8qUhWeWQnw-",shadow:"media-ui-Container_shadow-U1-ool-gwWA-",solid:"media-ui-Container_solid-BFsuIx-Fv3E-",inner:"media-ui-Container_inner-kVUiM3TMp20-"};let s=r.forwardRef(function(e,t){let{children:n,variant:s="default",rounded:u=!1,name:c="container",borderColor:l,backgroundColor:d}=e,p=d;p||(p="outline"===s?"transparent":"var(--color-gray-200)");let f=(0,a.f)(c),h=u&&"lined"!==s,m=(0,o.Sh)([i.base,i[s],{[i.roundedCorners]:h}],e);return r.createElement("section",{className:m,ref:t,"data-component":f,style:{"--border-color":l,"--background-color":p},"data-rounded":h},r.createElement("span",{className:i.inner},n))})},71717:function(e,t,n){"use strict";n.d(t,{U:function(){return p}});var r=n(67294),a=n(67673),o=n(9339),i=n(25434),s=n(60006),u=n(50020),c=n(9290),l=n(77536);n(11959);var d={inputContainer:"media-ui-InputField_inputContainer-dY89aFZcbqU-",input:"media-ui-InputField_input-trz7AzJlxTU-",small:"media-ui-InputField_small-Yy7x-quB9xk-",password:"media-ui-InputField_password-TVOfm7A-XRE-",error:"media-ui-InputField_error-4w5CNe-96N0-",label:"media-ui-InputField_label-gyVRp41Ei7Y-",labelShrink:"media-ui-InputField_labelShrink-hS2SeloAhMI-",hideLabel:"media-ui-InputField_hideLabel-aVi4M3hS59I-",icon:"media-ui-InputField_icon-RwX4HdyDbHY-",fullWidth:"media-ui-InputField_fullWidth-39tmB-JmVKU-",helperText:"media-ui-InputField_helperText-oSSjAy9750k-",success:"media-ui-InputField_success-Z-W51gkBIhE-",errorWrapper:"media-ui-InputField_errorWrapper-HN0zh0R8BV4-",clearInput:"media-ui-InputField_clearInput-R7QZeFFgJM8-",searchIcon:"media-ui-InputField_searchIcon-0VB7DYVoZrA-",disabled:"media-ui-InputField_disabled-SM4pBi3Nv5M-",grayfill:"media-ui-InputField_grayfill-HWtJCBFE2G4-",searchBar:"media-ui-InputField_searchBar-oCLXu944RGg-"};let p=(0,r.forwardRef)(function(e,t){var n,p;let{success:f=!1,disabled:h,disableHelperText:m=!1,id:v,error:g=!1,helperText:y,hideLabel:b=!1,inputProps:D={},label:k="",name:w,onChange:M,placeholder:O="",required:_,size:P="default",type:S,defaultValue:E,value:C,unstyled:I,onClear:T,variant:j="default",customRightIcon:Y}=e,N=_?"".concat(k,"*"):k,x=(0,r.useRef)((0,l.Mc)()),F=w||"text-input",[W]=(0,i.f)(F),L=(null==D?void 0:D.type)||S,R=v||(null==D?void 0:D.id)||w||k||x.current,[H,A]=(0,r.useState)(!1),[Q,B]=(0,r.useState)(!1),[q,z]=(0,r.useState)(!!((null==C?void 0:C.length)||(null==E?void 0:E.length)));(0,r.useEffect)(()=>{z(!!(null==C?void 0:C.length))},[C]);let K={..."undefined"!==C&&{value:C},..."undefined"!==E&&{defaultValue:E}},V=H||q||!!(null===(n=K.value)||void 0===n?void 0:n.toString().length)||!!(null===(p=K.defaultValue)||void 0===p?void 0:p.toString().length)||!!O.length,Z=(0,r.useCallback)(e=>{A(e)},[H]),U=(0,l.Sh)([d.inputContainer,d[P],"css--input-base",d[j],"search"===S&&d.searchBar],e),X=(0,l.Sh)(["label",{active:H,[d.error]:g,[d.labelActive]:H}],{unstyled:e.unstyled,name:"".concat(F,"-label")}),G=(0,l.Sh)([d.input,{[d.error]:g,[d.active]:H||!!(null==K?void 0:K.toString.length)},"password"===L?d.password:""],{unstyled:e.unstyled,name:"".concat(F,"-input")}),J=(0,l.Sh)([d.icon],{unstyled:e.unstyled,name:"".concat(F,"-icon")}),$=(0,r.useCallback)(e=>{e.persist(),z(e.target.value.length>0),D.onChange?D.onChange(e):M&&M(e)},[D,M]),ee=(0,r.useCallback)(e=>{e.persist(),D.onFocus&&D.onFocus(e)},[D]),et=(0,r.useMemo)(()=>O||"",[O,S]),en=(0,r.useCallback)(()=>{B(e=>!e)},[Q]),er="password"===L&&Q?"text":L;return r.createElement("div",{className:U,ref:t,"data-component":W},r.createElement(c.A,{className:(0,l.Sh)([d.label,d[P],{[d.labelShrink]:V,[d.hideLabel]:b,[d.error]:g}],{unstyled:e.unstyled,name:"".concat(F,"-label-outer")}),spanClassName:X,label:N,unstyled:I,size:P},"search"===S&&r.createElement(a.HN,{className:(0,l.Sh)([d.searchIcon,h&&d.disabled,d[P]])}),r.createElement(u.I,{inputProps:{...D,onFocus:ee,type:er,"aria-required":_},...K,id:R,type:er,className:G,disabled:h,required:_,name:F,placeholder:et,onActiveStatusChange:Z,onChange:$,unstyled:I}),!Y&&("password"===S||(null==D?void 0:D.type)==="password")&&!f&&r.createElement("span",{className:J},r.createElement(s.h,{type:"button",size:"small",onClick:en,title:Q?"Hide Password":"Show Password"},Q?r.createElement(a.Yz,null):r.createElement(a.uC,null))),!Y&&"password"!==S&&T&&q&&r.createElement("span",{className:J},r.createElement(s.h,{type:"button",size:"small",onClick:T,title:"Clear Input"},r.createElement(a.n$,null))),Y&&r.createElement("span",{className:J},Y),f&&!g&&r.createElement("span",{className:J},r.createElement("span",{className:d.success},r.createElement(a.MC,null)))),!m&&r.createElement(o.p,{error:g,text:y}))})},92116:function(e,t,n){"use strict";n.d(t,{$:function(){return a}});var r=n(67294);function a(){return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Spinner",className:"media-ui-Spinner_spin-8MornXeNoys-"},r.createElement("path",{d:"M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM3.01847 12C3.01847 16.9604 7.03964 20.9815 12 20.9815C16.9604 20.9815 20.9815 16.9604 20.9815 12C20.9815 7.03964 16.9604 3.01847 12 3.01847C7.03964 3.01847 3.01847 7.03964 3.01847 12Z",fill:"#CCCCCC"}),r.createElement("path",{d:"M12 0C9.77024 -2.65896e-08 7.58459 0.621251 5.68819 1.79407C3.7918 2.96688 2.25968 4.64487 1.26368 6.63982C0.267693 8.63477 -0.152771 10.8678 0.0494542 13.0883C0.25168 15.3089 1.0686 17.4292 2.40857 19.2114C3.74854 20.9936 5.55857 22.3672 7.63563 23.1782C9.71269 23.9892 11.9746 24.2054 14.1677 23.8026C16.3608 23.3998 18.3982 22.394 20.0516 20.8979C21.7049 19.4018 22.9087 17.4746 23.528 15.3326L20.6282 14.4943C20.1647 16.0975 19.2637 17.5399 18.0263 18.6597C16.7888 19.7795 15.2639 20.5323 13.6224 20.8338C11.981 21.1352 10.288 20.9734 8.73344 20.3664C7.17885 19.7595 5.82411 18.7314 4.82119 17.3975C3.81828 16.0635 3.20685 14.4766 3.05549 12.8146C2.90413 11.1526 3.21883 9.48126 3.96429 7.98812C4.70975 6.49498 5.85648 5.23907 7.27586 4.36126C8.69524 3.48346 10.3311 3.01847 12 3.01847L12 0Z",fill:"#767676"}))}n(7105)},41780:function(e,t,n){"use strict";n.d(t,{F:function(){return p}});var r=n(67294),a=n(67673),o=n(25434),i=n(60006),s=n(24847),u=n(92971),c=n(77536);n(25715);var l={outer:"media-ui-Toast_outer-z1kHvyFyOXY-",top:"media-ui-Toast_top-TA-p3NWAb-4-",bottom:"media-ui-Toast_bottom-H5hdnoRl6Oo-",left:"media-ui-Toast_left-V1dC80PDBPM-",right:"media-ui-Toast_right-JHUcGhTxwbM-",center:"media-ui-Toast_center-JKSh-cI4ois-",wrapper:"media-ui-Toast_wrapper-w0swnDGj04A-","change-in":"media-ui-Toast_change-in-C2JF-XMqB-k-",medium:"media-ui-Toast_medium--ctWsbtrGcw-",large:"media-ui-Toast_large-bqeBcxZ1Tuk-",full:"media-ui-Toast_full-WJ7FVA-mueM-",error:"media-ui-Toast_error-iACl81EexTk-",success:"media-ui-Toast_success-VOhqOrp84Fc-",warning:"media-ui-Toast_warning-A969ln6aYJA-",contentWrapper:"media-ui-Toast_contentWrapper-BpRHiktIiIw-",icon:"media-ui-Toast_icon-XLKMjxlXbqA-",iconButtonWrapper:"media-ui-Toast_iconButtonWrapper-iSCTmJn5its-",iconButton:"media-ui-Toast_iconButton-CWEVxxzwGoY-",change___in:"media-ui-Toast_change-in-C2JF-XMqB-k-"};function d(e){let{name:t="Toast-Inner",position:n={vertical:"bottom",horizontal:"left"},autoHideDuration:u=0,disableExit:d=!1,maxSize:p="default",hideInnerContent:f,Icon:h,children:m,handleExit:v,variant:g="message"}=e,y=(0,o.f)(t),b=h||("message"===g?void 0:s.e[g]),D=(0,r.useRef)(),k=(0,c.Sh)([l.wrapper,l[n.horizontal],l[n.vertical],l[p],l[g],{[l.disableExit]:d}],{...e,name:t}),w=(0,r.useCallback)(e=>function(t){return v(e)},[]);return(0,r.useEffect)(()=>(u>0&&(D.current=window.setTimeout(()=>{v("AutoHideTimer")},u)),()=>{D.current&&window.clearTimeout(D.current)}),[u]),f?null:r.createElement("div",{className:k,"aria-live":"polite","data-toast":"true","data-component":y},b&&r.createElement("div",{className:l.icon,"data-icon":"true"},b),r.createElement("div",{className:l.contentWrapper},m),!d&&r.createElement("span",{className:l.iconButtonWrapper},r.createElement(i.h,{onClick:w("ExitClick"),className:l.iconButton},r.createElement(a.h6,null))))}let p=(0,r.forwardRef)(function(e,t){let{name:n="Toast",position:a={vertical:"bottom",horizontal:"left"},open:i=!1,onClose:s,inline:p=!1}=e,f=(0,o.f)(n),[h,m]=(0,r.useState)(!1),v=(0,r.useCallback)(e=>{s&&s(e),m(!0)},[]),g=!i||h,y=(0,c.Sh)([l.outer,l[a.horizontal],l[a.vertical]],e);return(0,r.useEffect)(()=>{!i&&h&&m(!1)},[i,h]),(0,r.useEffect)(()=>{function e(e){"Escape"===e.key&&v("EscapeKey")}return window.addEventListener("keydown",e,{passive:!0}),()=>window.removeEventListener("keydown",e)},[]),p?r.createElement(d,{...e,handleExit:v,hideInnerContent:g}):r.createElement(u.Z,null,r.createElement("div",{className:y,"data-component":f,ref:t},r.createElement(d,{...e,handleExit:v,hideInnerContent:g})))})},20567:function(e,t,n){"use strict";n.d(t,{b:function(){return u}});var r=n(67294),a=n(67673),o=n(41780),i=n(77536);n(92108);let s={horizontal:"center",vertical:"bottom"},u=r.forwardRef(function(e,t){let{className:n,name:u="toast-error",open:c,text:l="We apologize but something went wrong. Please try again.",autoHideDuration:d,unstyled:p,inline:f=!1,onClose:h}=e,m=(0,i.Sh)([n,"media-ui-ToastError_toastError-tjceNDlJmWM-"],{...e,unstyled:p,name:u});return r.createElement(o.F,{autoHideDuration:d,Icon:r.createElement(a._Z,{className:"media-ui-ToastError_toastErrorIcon-tVx6TjVxGLA-"}),className:m,onClose:h,maxSize:"full",name:u,open:c,position:s,ref:t,variant:"message",inline:f},l)})},82112:function(e,t,n){"use strict";n.d(t,{l:function(){return l}});var r=n(67294),a=n(77536),o=n(25434),i=n(71717),s=n(92116),u=n(21193);n(69343);var c={loading:"media-ui-LineSearchDropdown_loading-e3Fm-wXWhDk-"};let l=r.forwardRef(function(e,t){let{disabled:n=!1,name:l,id:d,placeholder:p="",label:f="",size:h="default",variant:m,onClear:v,unstyled:g,isLoading:y}=e,b=r.useRef((0,a.Mc)()),D=d||b.current,k=l||"LineSearchDropdown",[w]=(0,o.f)(k);return r.createElement(u.E,{...e,name:w,ref:t},e=>{let{query:t,inputProps:a,getRootProps:o}=e;return r.createElement(i.U,{disableHelperText:!0,type:"search",unstyled:g,disabled:n||y,label:f,id:D,size:h,name:"".concat(k,"-input"),placeholder:p,value:t,onClear:v,variant:m,inputProps:a,...o(),customRightIcon:y&&r.createElement("span",{className:c.loading},r.createElement(s.$,null))})})})},27669:function(e,t){"use strict";t.addLeadingZeros=function(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}},96881:function(e,t,n){"use strict";Object.defineProperty(t,"defaultLocale",{enumerable:!0,get:function(){return r.enUS}});var r=n(31413)},64643:function(e,t){"use strict";t.getDefaultOptions=function(){return n},t.setDefaultOptions=function(e){n=e};let n={}},31113:function(e,t,n){"use strict";t.formatters=void 0;var r=n(3391),a=n(56291),o=n(74509),i=n(75390),s=n(31908),u=n(27669),c=n(18637);let l={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return 0===o?n+String(a):n+String(a)+t+(0,u.addLeadingZeros)(o,2)}function p(e,t){return e%60==0?(e>0?"-":"+")+(0,u.addLeadingZeros)(Math.abs(e)/60,2):f(e,t)}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+(0,u.addLeadingZeros)(Math.trunc(n/60),2)+t+(0,u.addLeadingZeros)(n%60,2)}t.formatters={G:function(e,t,n){let r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return c.lightFormatters.y(e,t)},Y:function(e,t,n,r){let a=(0,s.getWeekYear)(e,r),o=a>0?a:1-a;if("YY"===t){let e=o%100;return(0,u.addLeadingZeros)(e,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):(0,u.addLeadingZeros)(o,t.length)},R:function(e,t){let n=(0,o.getISOWeekYear)(e);return(0,u.addLeadingZeros)(n,t.length)},u:function(e,t){let n=e.getFullYear();return(0,u.addLeadingZeros)(n,t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,u.addLeadingZeros)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,u.addLeadingZeros)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return c.lightFormatters.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,u.addLeadingZeros)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a=(0,i.getWeek)(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):(0,u.addLeadingZeros)(a,t.length)},I:function(e,t,n){let r=(0,a.getISOWeek)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,u.addLeadingZeros)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):c.lightFormatters.d(e,t)},D:function(e,t,n){let a=(0,r.getDayOfYear)(e);return"Do"===t?n.ordinalNumber(a,{unit:"dayOfYear"}):(0,u.addLeadingZeros)(a,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return(0,u.addLeadingZeros)(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return(0,u.addLeadingZeros)(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return(0,u.addLeadingZeros)(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r;let a=e.getHours();switch(r=12===a?l.noon:0===a?l.midnight:a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r;let a=e.getHours();switch(r=a>=17?l.evening:a>=12?l.afternoon:a>=4?l.morning:l.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return c.lightFormatters.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):c.lightFormatters.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,u.addLeadingZeros)(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):(0,u.addLeadingZeros)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):c.lightFormatters.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):c.lightFormatters.s(e,t)},S:function(e,t){return c.lightFormatters.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return p(r);case"XXXX":case"XX":return f(r);default:return f(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return p(r);case"xxxx":case"xx":return f(r);default:return f(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+d(r,":");default:return"GMT"+f(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+d(r,":");default:return"GMT"+f(r,":")}},t:function(e,t,n){let r=Math.trunc(e.getTime()/1e3);return(0,u.addLeadingZeros)(r,t.length)},T:function(e,t,n){let r=e.getTime();return(0,u.addLeadingZeros)(r,t.length)}}},18637:function(e,t,n){"use strict";t.lightFormatters=void 0;var r=n(27669);t.lightFormatters={y(e,t){let n=e.getFullYear(),a=n>0?n:1-n;return(0,r.addLeadingZeros)("yy"===t?a%100:a,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):(0,r.addLeadingZeros)(n+1,2)},d:(e,t)=>(0,r.addLeadingZeros)(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.addLeadingZeros)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.addLeadingZeros)(e.getHours(),t.length),m:(e,t)=>(0,r.addLeadingZeros)(e.getMinutes(),t.length),s:(e,t)=>(0,r.addLeadingZeros)(e.getSeconds(),t.length),S(e,t){let n=t.length,a=e.getMilliseconds();return(0,r.addLeadingZeros)(Math.trunc(a*Math.pow(10,n-3)),t.length)}}},80609:function(e,t){"use strict";t.longFormatters=void 0;let n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.longFormatters={p:r,P:(e,t)=>{let a;let o=e.match(/(P+)(p+)?/)||[],i=o[1],s=o[2];if(!s)return n(e,t);switch(i){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",n(i,t)).replace("{{time}}",r(s,t))}}},38620:function(e,t){"use strict";t.getRoundingMethod=function(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}},63499:function(e,t,n){"use strict";t.getTimezoneOffsetInMilliseconds=function(e){let t=(0,r.toDate)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n};var r=n(68388)},20133:function(e,t){"use strict";t.isProtectedDayOfYearToken=function(e){return n.test(e)},t.isProtectedWeekYearToken=function(e){return r.test(e)},t.warnOrThrowProtectedError=function(e,t,n){let r=function(e,t,n){let r="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(r," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(r),a.includes(e))throw RangeError(r)};let n=/^D+$/,r=/^Y+$/,a=["D","DD","YY","YYYY"]},47089:function(e,t,n){"use strict";t.add=function(e,t){let{years:n=0,months:s=0,weeks:u=0,days:c=0,hours:l=0,minutes:d=0,seconds:p=0}=t,f=(0,i.toDate)(e),h=s||n?(0,a.addMonths)(f,s+12*n):f,m=c||u?(0,r.addDays)(h,c+7*u):h;return(0,o.constructFrom)(e,m.getTime()+1e3*(p+60*(d+60*l)))};var r=n(51866),a=n(65918),o=n(62947),i=n(68388)},55565:function(e,t,n){"use strict";t.addBusinessDays=function(e,t){let n=(0,s.toDate)(e),u=(0,i.isWeekend)(n);if(isNaN(t))return(0,r.constructFrom)(e,NaN);let c=n.getHours(),l=t<0?-1:1;n.setDate(n.getDate()+7*Math.trunc(t/5));let d=Math.abs(t%5);for(;d>0;)n.setDate(n.getDate()+l),(0,i.isWeekend)(n)||(d-=1);return u&&(0,i.isWeekend)(n)&&0!==t&&((0,a.isSaturday)(n)&&n.setDate(n.getDate()+(l<0?2:-1)),(0,o.isSunday)(n)&&n.setDate(n.getDate()+(l<0?1:-2))),n.setHours(c),n};var r=n(62947),a=n(37312),o=n(39648),i=n(89194),s=n(68388)},51866:function(e,t,n){"use strict";t.addDays=function(e,t){let n=(0,r.toDate)(e);return isNaN(t)?(0,a.constructFrom)(e,NaN):(t&&n.setDate(n.getDate()+t),n)};var r=n(68388),a=n(62947)},732:function(e,t,n){"use strict";t.addHours=function(e,t){return(0,r.addMilliseconds)(e,t*a.millisecondsInHour)};var r=n(1631),a=n(12825)},57218:function(e,t,n){"use strict";t.addISOWeekYears=function(e,t){return(0,a.setISOWeekYear)(e,(0,r.getISOWeekYear)(e)+t)};var r=n(74509),a=n(82)},1631:function(e,t,n){"use strict";t.addMilliseconds=function(e,t){let n=+(0,r.toDate)(e);return(0,a.constructFrom)(e,n+t)};var r=n(68388),a=n(62947)},53877:function(e,t,n){"use strict";t.addMinutes=function(e,t){return(0,r.addMilliseconds)(e,t*a.millisecondsInMinute)};var r=n(1631),a=n(12825)},65918:function(e,t,n){"use strict";t.addMonths=function(e,t){let n=(0,r.toDate)(e);if(isNaN(t))return(0,a.constructFrom)(e,NaN);if(!t)return n;let o=n.getDate(),i=(0,a.constructFrom)(e,n.getTime());return(i.setMonth(n.getMonth()+t+1,0),o>=i.getDate())?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)};var r=n(68388),a=n(62947)},50121:function(e,t,n){"use strict";t.addQuarters=function(e,t){return(0,r.addMonths)(e,3*t)};var r=n(65918)},66948:function(e,t,n){"use strict";t.addSeconds=function(e,t){return(0,r.addMilliseconds)(e,1e3*t)};var r=n(1631)},37090:function(e,t,n){"use strict";t.addWeeks=function(e,t){return(0,r.addDays)(e,7*t)};var r=n(51866)},31321:function(e,t,n){"use strict";t.addYears=function(e,t){return(0,r.addMonths)(e,12*t)};var r=n(65918)},22690:function(e,t,n){"use strict";t.areIntervalsOverlapping=function(e,t,n){let[a,o]=[+(0,r.toDate)(e.start),+(0,r.toDate)(e.end)].sort((e,t)=>e-t),[i,s]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort((e,t)=>e-t);return(null==n?void 0:n.inclusive)?a<=s&&i<=o:a{let i=(0,a.toDate)(t);if(isNaN(Number(i))){n=(0,r.constructFrom)(e,NaN),o=NaN;return}let u=Math.abs(s-i.getTime());(null==n||u0?1:o};var r=n(68388)},39512:function(e,t,n){"use strict";t.compareDesc=function(e,t){let n=(0,r.toDate)(e),a=(0,r.toDate)(t),o=n.getTime()-a.getTime();return o>0?-1:o<0?1:o};var r=n(68388)},12825:function(e,t){"use strict";t.secondsInYear=t.secondsInWeek=t.secondsInQuarter=t.secondsInMonth=t.secondsInMinute=t.secondsInHour=t.secondsInDay=t.quartersInYear=t.monthsInYear=t.monthsInQuarter=t.minutesInYear=t.minutesInMonth=t.minutesInHour=t.minutesInDay=t.minTime=t.millisecondsInWeek=t.millisecondsInSecond=t.millisecondsInMinute=t.millisecondsInHour=t.millisecondsInDay=t.maxTime=t.daysInYear=t.daysInWeek=void 0,t.daysInWeek=7;let n=t.daysInYear=365.2425,r=t.maxTime=864e13;t.minTime=-r,t.millisecondsInWeek=6048e5,t.millisecondsInDay=864e5,t.millisecondsInMinute=6e4,t.millisecondsInHour=36e5,t.millisecondsInSecond=1e3,t.minutesInYear=525600,t.minutesInMonth=43200,t.minutesInDay=1440,t.minutesInHour=60,t.monthsInQuarter=3,t.monthsInYear=12,t.quartersInYear=4;let a=t.secondsInHour=3600;t.secondsInMinute=60;let o=t.secondsInDay=24*a;t.secondsInWeek=7*o;let i=t.secondsInYear=o*n,s=t.secondsInMonth=i/12;t.secondsInQuarter=3*s},62947:function(e,t){"use strict";t.constructFrom=function(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}},83084:function(e,t,n){"use strict";t.constructNow=function(e){return(0,r.constructFrom)(e,Date.now())};var r=n(62947)},23979:function(e,t,n){"use strict";t.daysToWeeks=function(e){let t=Math.trunc(e/r.daysInWeek);return 0===t?0:t};var r=n(12825)},58674:function(e,t,n){"use strict";t.differenceInBusinessDays=function(e,t){let n=(0,u.toDate)(e),c=(0,u.toDate)(t);if(!(0,i.isValid)(n)||!(0,i.isValid)(c))return NaN;let l=(0,a.differenceInCalendarDays)(n,c),d=l<0?-1:1,p=Math.trunc(l/7),f=5*p;for(c=(0,r.addDays)(c,7*p);!(0,o.isSameDay)(n,c);)f+=(0,s.isWeekend)(c)?0:d,c=(0,r.addDays)(c,d);return 0===f?0:f};var r=n(51866),a=n(96724),o=n(26017),i=n(41708),s=n(89194),u=n(68388)},96724:function(e,t,n){"use strict";t.differenceInCalendarDays=function(e,t){let n=(0,a.startOfDay)(e),i=(0,a.startOfDay)(t);return Math.round((+n-(0,o.getTimezoneOffsetInMilliseconds)(n)-(+i-(0,o.getTimezoneOffsetInMilliseconds)(i)))/r.millisecondsInDay)};var r=n(12825),a=n(17526),o=n(63499)},34960:function(e,t,n){"use strict";t.differenceInCalendarISOWeekYears=function(e,t){return(0,r.getISOWeekYear)(e)-(0,r.getISOWeekYear)(t)};var r=n(74509)},37448:function(e,t,n){"use strict";t.differenceInCalendarISOWeeks=function(e,t){let n=(0,a.startOfISOWeek)(e),i=(0,a.startOfISOWeek)(t);return Math.round((+n-(0,o.getTimezoneOffsetInMilliseconds)(n)-(+i-(0,o.getTimezoneOffsetInMilliseconds)(i)))/r.millisecondsInWeek)};var r=n(12825),a=n(36744),o=n(63499)},11516:function(e,t,n){"use strict";t.differenceInCalendarMonths=function(e,t){let n=(0,r.toDate)(e),a=(0,r.toDate)(t);return 12*(n.getFullYear()-a.getFullYear())+(n.getMonth()-a.getMonth())};var r=n(68388)},56362:function(e,t,n){"use strict";t.differenceInCalendarQuarters=function(e,t){let n=(0,a.toDate)(e),o=(0,a.toDate)(t);return 4*(n.getFullYear()-o.getFullYear())+((0,r.getQuarter)(n)-(0,r.getQuarter)(o))};var r=n(78101),a=n(68388)},61679:function(e,t,n){"use strict";t.differenceInCalendarWeeks=function(e,t,n){let i=(0,a.startOfWeek)(e,n),s=(0,a.startOfWeek)(t,n);return Math.round((+i-(0,o.getTimezoneOffsetInMilliseconds)(i)-(+s-(0,o.getTimezoneOffsetInMilliseconds)(s)))/r.millisecondsInWeek)};var r=n(12825),a=n(55968),o=n(63499)},22382:function(e,t,n){"use strict";t.differenceInCalendarYears=function(e,t){let n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getFullYear()-a.getFullYear()};var r=n(68388)},74668:function(e,t,n){"use strict";t.differenceInDays=function(e,t){let n=(0,a.toDate)(e),i=(0,a.toDate)(t),s=o(n,i),u=Math.abs((0,r.differenceInCalendarDays)(n,i));n.setDate(n.getDate()-s*u);let c=Number(o(n,i)===-s),l=s*(u-c);return 0===l?0:l};var r=n(96724),a=n(68388);function o(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},28824:function(e,t,n){"use strict";t.differenceInHours=function(e,t,n){let i=(0,o.differenceInMilliseconds)(e,t)/a.millisecondsInHour;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(i)};var r=n(38620),a=n(12825),o=n(54305)},32460:function(e,t,n){"use strict";t.differenceInISOWeekYears=function(e,t){let n=(0,i.toDate)(e),s=(0,i.toDate)(t),u=(0,r.compareAsc)(n,s),c=Math.abs((0,a.differenceInCalendarISOWeekYears)(n,s));n=(0,o.subISOWeekYears)(n,u*c);let l=Number((0,r.compareAsc)(n,s)===-u),d=u*(c-l);return 0===d?0:d};var r=n(53549),a=n(34960),o=n(89505),i=n(68388)},54305:function(e,t,n){"use strict";t.differenceInMilliseconds=function(e,t){return+(0,r.toDate)(e)-+(0,r.toDate)(t)};var r=n(68388)},61585:function(e,t,n){"use strict";t.differenceInMinutes=function(e,t,n){let i=(0,o.differenceInMilliseconds)(e,t)/a.millisecondsInMinute;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(i)};var r=n(38620),a=n(12825),o=n(54305)},3382:function(e,t,n){"use strict";t.differenceInMonths=function(e,t){let n;let s=(0,i.toDate)(e),u=(0,i.toDate)(t),c=(0,r.compareAsc)(s,u),l=Math.abs((0,a.differenceInCalendarMonths)(s,u));if(l<1)n=0;else{1===s.getMonth()&&s.getDate()>27&&s.setDate(30),s.setMonth(s.getMonth()-c*l);let t=(0,r.compareAsc)(s,u)===-c;(0,o.isLastDayOfMonth)((0,i.toDate)(e))&&1===l&&1===(0,r.compareAsc)(e,u)&&(t=!1),n=c*(l-Number(t))}return 0===n?0:n};var r=n(53549),a=n(11516),o=n(42007),i=n(68388)},21351:function(e,t,n){"use strict";t.differenceInQuarters=function(e,t,n){let o=(0,a.differenceInMonths)(e,t)/3;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(o)};var r=n(38620),a=n(3382)},26343:function(e,t,n){"use strict";t.differenceInSeconds=function(e,t,n){let o=(0,a.differenceInMilliseconds)(e,t)/1e3;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(o)};var r=n(38620),a=n(54305)},92049:function(e,t,n){"use strict";t.differenceInWeeks=function(e,t,n){let o=(0,a.differenceInDays)(e,t)/7;return(0,r.getRoundingMethod)(null==n?void 0:n.roundingMethod)(o)};var r=n(38620),a=n(74668)},44363:function(e,t,n){"use strict";t.differenceInYears=function(e,t){let n=(0,o.toDate)(e),i=(0,o.toDate)(t),s=(0,r.compareAsc)(n,i),u=Math.abs((0,a.differenceInCalendarYears)(n,i));n.setFullYear(1584),i.setFullYear(1584);let c=(0,r.compareAsc)(n,i)===-s,l=s*(u-+c);return 0===l?0:l};var r=n(53549),a=n(22382),o=n(68388)},85195:function(e,t,n){"use strict";t.eachDayOfInterval=function(e,t){var n;let a=(0,r.toDate)(e.start),o=(0,r.toDate)(e.end),i=+a>+o,s=i?+a:+o,u=i?o:a;u.setHours(0,0,0,0);let c=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!c)return[];c<0&&(c=-c,i=!i);let l=[];for(;+u<=s;)l.push((0,r.toDate)(u)),u.setDate(u.getDate()+c),u.setHours(0,0,0,0);return i?l.reverse():l};var r=n(68388)},9140:function(e,t,n){"use strict";t.eachHourOfInterval=function(e,t){var n;let o=(0,a.toDate)(e.start),i=(0,a.toDate)(e.end),s=+o>+i,u=s?+o:+i,c=s?i:o;c.setMinutes(0,0,0);let l=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!l)return[];l<0&&(l=-l,s=!s);let d=[];for(;+c<=u;)d.push((0,a.toDate)(c)),c=(0,r.addHours)(c,l);return s?d.reverse():d};var r=n(732),a=n(68388)},77035:function(e,t,n){"use strict";t.eachMinuteOfInterval=function(e,t){var n;let i=(0,a.startOfMinute)((0,o.toDate)(e.start)),s=(0,o.toDate)(e.end),u=+i>+s,c=u?+i:+s,l=u?s:i,d=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!d)return[];d<0&&(d=-d,u=!u);let p=[];for(;+l<=c;)p.push((0,o.toDate)(l)),l=(0,r.addMinutes)(l,d);return u?p.reverse():p};var r=n(53877),a=n(81123),o=n(68388)},77877:function(e,t,n){"use strict";t.eachMonthOfInterval=function(e,t){var n;let a=(0,r.toDate)(e.start),o=(0,r.toDate)(e.end),i=+a>+o,s=i?+a:+o,u=i?o:a;u.setHours(0,0,0,0),u.setDate(1);let c=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!c)return[];c<0&&(c=-c,i=!i);let l=[];for(;+u<=s;)l.push((0,r.toDate)(u)),u.setMonth(u.getMonth()+c);return i?l.reverse():l};var r=n(68388)},2997:function(e,t,n){"use strict";t.eachQuarterOfInterval=function(e,t){var n;let i=(0,o.toDate)(e.start),s=(0,o.toDate)(e.end),u=+i>+s,c=u?+(0,a.startOfQuarter)(i):+(0,a.startOfQuarter)(s),l=u?(0,a.startOfQuarter)(s):(0,a.startOfQuarter)(i),d=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!d)return[];d<0&&(d=-d,u=!u);let p=[];for(;+l<=c;)p.push((0,o.toDate)(l)),l=(0,r.addQuarters)(l,d);return u?p.reverse():p};var r=n(50121),a=n(81040),o=n(68388)},32097:function(e,t,n){"use strict";t.eachWeekOfInterval=function(e,t){var n;let i=(0,o.toDate)(e.start),s=(0,o.toDate)(e.end),u=+i>+s,c=u?(0,a.startOfWeek)(s,t):(0,a.startOfWeek)(i,t),l=u?(0,a.startOfWeek)(i,t):(0,a.startOfWeek)(s,t);c.setHours(15),l.setHours(15);let d=+l.getTime(),p=c,f=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!f)return[];f<0&&(f=-f,u=!u);let h=[];for(;+p<=d;)p.setHours(0),h.push((0,o.toDate)(p)),(p=(0,r.addWeeks)(p,f)).setHours(15);return u?h.reverse():h};var r=n(37090),a=n(55968),o=n(68388)},18358:function(e,t,n){"use strict";t.eachWeekendOfInterval=function(e){let t=(0,r.eachDayOfInterval)(e),n=[],o=0;for(;o+o,s=i?+a:+o,u=i?o:a;u.setHours(0,0,0,0),u.setMonth(0,1);let c=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!c)return[];c<0&&(c=-c,i=!i);let l=[];for(;+u<=s;)l.push((0,r.toDate)(u)),u.setFullYear(u.getFullYear()+c);return i?l.reverse():l};var r=n(68388)},13965:function(e,t,n){"use strict";t.endOfDay=function(e){let t=(0,r.toDate)(e);return t.setHours(23,59,59,999),t};var r=n(68388)},14793:function(e,t,n){"use strict";t.endOfDecade=function(e){let t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(9+10*Math.floor(n/10),11,31),t.setHours(23,59,59,999),t};var r=n(68388)},5517:function(e,t,n){"use strict";t.endOfHour=function(e){let t=(0,r.toDate)(e);return t.setMinutes(59,59,999),t};var r=n(68388)},2253:function(e,t,n){"use strict";t.endOfISOWeek=function(e){return(0,r.endOfWeek)(e,{weekStartsOn:1})};var r=n(92087)},7121:function(e,t,n){"use strict";t.endOfISOWeekYear=function(e){let t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);let i=(0,a.startOfISOWeek)(n);return i.setMilliseconds(i.getMilliseconds()-1),i};var r=n(74509),a=n(36744),o=n(62947)},60698:function(e,t,n){"use strict";t.endOfMinute=function(e){let t=(0,r.toDate)(e);return t.setSeconds(59,999),t};var r=n(68388)},11991:function(e,t,n){"use strict";t.endOfMonth=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t};var r=n(68388)},31658:function(e,t,n){"use strict";t.endOfQuarter=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setMonth(n-n%3+3,0),t.setHours(23,59,59,999),t};var r=n(68388)},20470:function(e,t,n){"use strict";t.endOfSecond=function(e){let t=(0,r.toDate)(e);return t.setMilliseconds(999),t};var r=n(68388)},90774:function(e,t,n){"use strict";t.endOfToday=function(){return(0,r.endOfDay)(Date.now())};var r=n(13965)},87663:function(e,t){"use strict";t.endOfTomorrow=function(){let e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r+1),a.setHours(23,59,59,999),a}},92087:function(e,t,n){"use strict";t.endOfWeek=function(e,t){var n,o,i,s,u,c,l,d;let p=(0,a.getDefaultOptions)(),f=null!==(d=null!==(l=null!==(c=null!==(u=null==t?void 0:t.weekStartsOn)&&void 0!==u?u:null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(n=o.options)||void 0===n?void 0:n.weekStartsOn)&&void 0!==c?c:p.weekStartsOn)&&void 0!==l?l:null===(s=p.locale)||void 0===s?void 0:null===(i=s.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==d?d:0,h=(0,r.toDate)(e),m=h.getDay();return h.setDate(h.getDate()+((m{let t=e[0];return"p"===t||"P"===t?(0,i.longFormatters[t])(e,N.formatLong):e}).join("").match(l).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(p);return t?t[1].replace(f,"'"):e}(e)};if(o.formatters[t])return{isToken:!0,value:e};if(t.match(h))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});N.localize.preprocessor&&(L=N.localize.preprocessor(W,L));let R={firstWeekContainsDate:x,weekStartsOn:F,locale:N};return L.map(r=>{if(!r.isToken)return r.value;let a=r.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&(0,s.isProtectedWeekYearToken)(a)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&(0,s.isProtectedDayOfYearToken)(a))&&(0,s.warnOrThrowProtectedError)(a,t,String(e)),(0,o.formatters[a[0]])(W,a,N.localize,R)}).join("")},Object.defineProperty(t,"formatters",{enumerable:!0,get:function(){return o.formatters}}),Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return i.longFormatters}});var r=n(96881),a=n(64643),o=n(31113),i=n(80609),s=n(20133),u=n(41708),c=n(68388);let l=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,p=/^'([^]*?)'?$/,f=/''/g,h=/[a-zA-Z]/},83137:function(e,t,n){"use strict";t.formatDistance=function(e,t,n){var d,p;let f,h,m;let v=(0,c.getDefaultOptions)(),g=null!==(p=null!==(d=null==n?void 0:n.locale)&&void 0!==d?d:v.locale)&&void 0!==p?p:u.defaultLocale,y=(0,r.compareAsc)(e,t);if(isNaN(y))throw RangeError("Invalid time value");let b=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:y});y>0?(f=(0,s.toDate)(t),h=(0,s.toDate)(e)):(f=(0,s.toDate)(e),h=(0,s.toDate)(t));let D=(0,i.differenceInSeconds)(h,f),k=Math.round((D-((0,l.getTimezoneOffsetInMilliseconds)(h)-(0,l.getTimezoneOffsetInMilliseconds)(f))/1e3)/60);if(k<2){if(null==n?void 0:n.includeSeconds){if(D<5)return g.formatDistance("lessThanXSeconds",5,b);if(D<10)return g.formatDistance("lessThanXSeconds",10,b);if(D<20)return g.formatDistance("lessThanXSeconds",20,b);if(D<40)return g.formatDistance("halfAMinute",0,b);else if(D<60)return g.formatDistance("lessThanXMinutes",1,b);else return g.formatDistance("xMinutes",1,b)}return 0===k?g.formatDistance("lessThanXMinutes",1,b):g.formatDistance("xMinutes",k,b)}if(k<45)return g.formatDistance("xMinutes",k,b);if(k<90)return g.formatDistance("aboutXHours",1,b);if(k0?(f=(0,c.toDate)(t),h=(0,c.toDate)(e)):(f=(0,c.toDate)(e),h=(0,c.toDate)(t));let D=(0,o.getRoundingMethod)(null!==(p=null==n?void 0:n.roundingMethod)&&void 0!==p?p:"round"),k=h.getTime()-f.getTime(),w=k/u.millisecondsInMinute,M=(k-((0,i.getTimezoneOffsetInMilliseconds)(h)-(0,i.getTimezoneOffsetInMilliseconds)(f)))/u.millisecondsInMinute,O=null==n?void 0:n.unit;if("second"===(m=O||(w<1?"second":w<60?"minute":w{let r="x".concat(n.replace(/(^.)/,e=>e.toUpperCase())),a=e[n];return void 0!==a&&(f||e[n])?t.concat(d.formatDistance(r,a)):t},[]).join(h):""};var r=n(96881),a=n(64643);let o=["years","months","weeks","days","hours","minutes","seconds"]},84419:function(e,t,n){"use strict";t.formatISO=function(e,t){var n,o;let i=(0,r.toDate)(e);if(isNaN(i.getTime()))throw RangeError("Invalid time value");let s=null!==(n=null==t?void 0:t.format)&&void 0!==n?n:"extended",u=null!==(o=null==t?void 0:t.representation)&&void 0!==o?o:"complete",c="",l="",d="extended"===s?"-":"";if("time"!==u){let e=(0,a.addLeadingZeros)(i.getDate(),2),t=(0,a.addLeadingZeros)(i.getMonth()+1,2),n=(0,a.addLeadingZeros)(i.getFullYear(),4);c="".concat(n).concat(d).concat(t).concat(d).concat(e)}if("date"!==u){let e=i.getTimezoneOffset();if(0!==e){let t=Math.abs(e),n=(0,a.addLeadingZeros)(Math.trunc(t/60),2),r=(0,a.addLeadingZeros)(t%60,2);l="".concat(e<0?"+":"-").concat(n,":").concat(r)}else l="Z";let t=(0,a.addLeadingZeros)(i.getHours(),2),n=(0,a.addLeadingZeros)(i.getMinutes(),2),r=(0,a.addLeadingZeros)(i.getSeconds(),2),o=""===c?"":"T",u=[t,n,r].join("extended"===s?":":"");c="".concat(c).concat(o).concat(u).concat(l)}return c};var r=n(68388),a=n(27669)},73509:function(e,t,n){"use strict";t.formatISO9075=function(e,t){var n,i;let s=(0,a.toDate)(e);if(!(0,r.isValid)(s))throw RangeError("Invalid time value");let u=null!==(n=null==t?void 0:t.format)&&void 0!==n?n:"extended",c=null!==(i=null==t?void 0:t.representation)&&void 0!==i?i:"complete",l="",d="extended"===u?"-":"",p="extended"===u?":":"";if("time"!==c){let e=(0,o.addLeadingZeros)(s.getDate(),2),t=(0,o.addLeadingZeros)(s.getMonth()+1,2),n=(0,o.addLeadingZeros)(s.getFullYear(),4);l="".concat(n).concat(d).concat(t).concat(d).concat(e)}if("date"!==c){let e=(0,o.addLeadingZeros)(s.getHours(),2),t=(0,o.addLeadingZeros)(s.getMinutes(),2),n=(0,o.addLeadingZeros)(s.getSeconds(),2),r=""===l?"":" ";l="".concat(l).concat(r).concat(e).concat(p).concat(t).concat(p).concat(n)}return l};var r=n(41708),a=n(68388),o=n(27669)},45769:function(e,t){"use strict";t.formatISODuration=function(e){let{years:t=0,months:n=0,days:r=0,hours:a=0,minutes:o=0,seconds:i=0}=e;return"P".concat(t,"Y").concat(n,"M").concat(r,"DT").concat(a,"H").concat(o,"M").concat(i,"S")}},64562:function(e,t,n){"use strict";t.formatRFC3339=function(e,t){var n;let i=(0,a.toDate)(e);if(!(0,r.isValid)(i))throw RangeError("Invalid time value");let s=null!==(n=null==t?void 0:t.fractionDigits)&&void 0!==n?n:0,u=(0,o.addLeadingZeros)(i.getDate(),2),c=(0,o.addLeadingZeros)(i.getMonth()+1,2),l=i.getFullYear(),d=(0,o.addLeadingZeros)(i.getHours(),2),p=(0,o.addLeadingZeros)(i.getMinutes(),2),f=(0,o.addLeadingZeros)(i.getSeconds(),2),h="";if(s>0){let e=i.getMilliseconds();h="."+(0,o.addLeadingZeros)(Math.trunc(e*Math.pow(10,s-3)),s)}let m="",v=i.getTimezoneOffset();if(0!==v){let e=Math.abs(v),t=(0,o.addLeadingZeros)(Math.trunc(e/60),2),n=(0,o.addLeadingZeros)(e%60,2);m="".concat(v<0?"+":"-").concat(t,":").concat(n)}else m="Z";return"".concat(l,"-").concat(c,"-").concat(u,"T").concat(d,":").concat(p,":").concat(f).concat(h).concat(m)};var r=n(41708),a=n(68388),o=n(27669)},17499:function(e,t,n){"use strict";t.formatRFC7231=function(e){let t=(0,a.toDate)(e);if(!(0,r.isValid)(t))throw RangeError("Invalid time value");let n=i[t.getUTCDay()],u=(0,o.addLeadingZeros)(t.getUTCDate(),2),c=s[t.getUTCMonth()],l=t.getUTCFullYear(),d=(0,o.addLeadingZeros)(t.getUTCHours(),2),p=(0,o.addLeadingZeros)(t.getUTCMinutes(),2),f=(0,o.addLeadingZeros)(t.getUTCSeconds(),2);return"".concat(n,", ").concat(u," ").concat(c," ").concat(l," ").concat(d,":").concat(p,":").concat(f," GMT")};var r=n(41708),a=n(68388),o=n(27669);let i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},9447:function(e,t,n){"use strict";t.formatRelative=function(e,t,n){var u,c,l,d,p,f,h,m,v,g;let y;let b=(0,o.toDate)(e),D=(0,o.toDate)(t),k=(0,s.getDefaultOptions)(),w=null!==(f=null!==(p=null==n?void 0:n.locale)&&void 0!==p?p:k.locale)&&void 0!==f?f:i.defaultLocale,M=null!==(g=null!==(v=null!==(m=null!==(h=null==n?void 0:n.weekStartsOn)&&void 0!==h?h:null==n?void 0:null===(c=n.locale)||void 0===c?void 0:null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==m?m:k.weekStartsOn)&&void 0!==v?v:null===(d=k.locale)||void 0===d?void 0:null===(l=d.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==g?g:0,O=(0,r.differenceInCalendarDays)(b,D);if(isNaN(O))throw RangeError("Invalid time value");y=O<-6?"other":O<-1?"lastWeek":O<0?"yesterday":O<1?"today":O<2?"tomorrow":O<7?"nextWeek":"other";let _=w.formatRelative(y,b,D,{locale:w,weekStartsOn:M});return(0,a.format)(b,_,{locale:w,weekStartsOn:M})};var r=n(96724),a=n(8957),o=n(68388),i=n(96881),s=n(64643)},29821:function(e,t,n){"use strict";t.fromUnixTime=function(e){return(0,r.toDate)(1e3*e)};var r=n(68388)},88275:function(e,t,n){"use strict";t.getDate=function(e){return(0,r.toDate)(e).getDate()};var r=n(68388)},17132:function(e,t,n){"use strict";t.getDay=function(e){return(0,r.toDate)(e).getDay()};var r=n(68388)},3391:function(e,t,n){"use strict";t.getDayOfYear=function(e){let t=(0,o.toDate)(e);return(0,r.differenceInCalendarDays)(t,(0,a.startOfYear)(t))+1};var r=n(96724),a=n(22048),o=n(68388)},11580:function(e,t,n){"use strict";t.getDaysInMonth=function(e){let t=(0,r.toDate)(e),n=t.getFullYear(),o=t.getMonth(),i=(0,a.constructFrom)(e,0);return i.setFullYear(n,o+1,0),i.setHours(0,0,0,0),i.getDate()};var r=n(68388),a=n(62947)},32012:function(e,t,n){"use strict";t.getDaysInYear=function(e){let t=(0,a.toDate)(e);return"Invalid Date"===String(new Date(t))?NaN:(0,r.isLeapYear)(t)?366:365};var r=n(83462),a=n(68388)},49032:function(e,t,n){"use strict";t.getDecade=function(e){return 10*Math.floor((0,r.toDate)(e).getFullYear()/10)};var r=n(68388)},84491:function(e,t,n){"use strict";t.getDefaultOptions=function(){return Object.assign({},(0,r.getDefaultOptions)())};var r=n(64643)},93090:function(e,t,n){"use strict";t.getHours=function(e){return(0,r.toDate)(e).getHours()};var r=n(68388)},65206:function(e,t,n){"use strict";t.getISODay=function(e){let t=(0,r.toDate)(e).getDay();return 0===t&&(t=7),t};var r=n(68388)},56291:function(e,t,n){"use strict";t.getISOWeek=function(e){let t=(0,i.toDate)(e);return Math.round((+(0,a.startOfISOWeek)(t)-+(0,o.startOfISOWeekYear)(t))/r.millisecondsInWeek)+1};var r=n(12825),a=n(36744),o=n(23966),i=n(68388)},74509:function(e,t,n){"use strict";t.getISOWeekYear=function(e){let t=(0,o.toDate)(e),n=t.getFullYear(),i=(0,r.constructFrom)(e,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let s=(0,a.startOfISOWeek)(i),u=(0,r.constructFrom)(e,0);u.setFullYear(n,0,4),u.setHours(0,0,0,0);let c=(0,a.startOfISOWeek)(u);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1};var r=n(62947),a=n(36744),o=n(68388)},16679:function(e,t,n){"use strict";t.getISOWeeksInYear=function(e){let t=(0,o.startOfISOWeekYear)(e);return Math.round((+(0,o.startOfISOWeekYear)((0,r.addWeeks)(t,60))-+t)/a.millisecondsInWeek)};var r=n(37090),a=n(12825),o=n(23966)},86371:function(e,t,n){"use strict";t.getMilliseconds=function(e){return(0,r.toDate)(e).getMilliseconds()};var r=n(68388)},44350:function(e,t,n){"use strict";t.getMinutes=function(e){return(0,r.toDate)(e).getMinutes()};var r=n(68388)},42560:function(e,t,n){"use strict";t.getMonth=function(e){return(0,r.toDate)(e).getMonth()};var r=n(68388)},10773:function(e,t,n){"use strict";t.getOverlappingDaysInIntervals=function(e,t){let[n,i]=[+(0,o.toDate)(e.start),+(0,o.toDate)(e.end)].sort((e,t)=>e-t),[s,u]=[+(0,o.toDate)(t.start),+(0,o.toDate)(t.end)].sort((e,t)=>e-t);if(!(ni?i:u;return Math.ceil((d-(0,r.getTimezoneOffsetInMilliseconds)(d)-l)/a.millisecondsInDay)};var r=n(63499),a=n(12825),o=n(68388)},78101:function(e,t,n){"use strict";t.getQuarter=function(e){return Math.trunc((0,r.toDate)(e).getMonth()/3)+1};var r=n(68388)},78187:function(e,t,n){"use strict";t.getSeconds=function(e){return(0,r.toDate)(e).getSeconds()};var r=n(68388)},58567:function(e,t,n){"use strict";t.getTime=function(e){return(0,r.toDate)(e).getTime()};var r=n(68388)},40723:function(e,t,n){"use strict";t.getUnixTime=function(e){return Math.trunc(+(0,r.toDate)(e)/1e3)};var r=n(68388)},75390:function(e,t,n){"use strict";t.getWeek=function(e,t){let n=(0,i.toDate)(e);return Math.round((+(0,a.startOfWeek)(n,t)-+(0,o.startOfWeekYear)(n,t))/r.millisecondsInWeek)+1};var r=n(12825),a=n(55968),o=n(80800),i=n(68388)},64948:function(e,t,n){"use strict";t.getWeekOfMonth=function(e,t){var n,s,u,c,l,d,p,f;let h=(0,i.getDefaultOptions)(),m=null!==(f=null!==(p=null!==(d=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(n=s.options)||void 0===n?void 0:n.weekStartsOn)&&void 0!==d?d:h.weekStartsOn)&&void 0!==p?p:null===(c=h.locale)||void 0===c?void 0:null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==f?f:0,v=(0,r.getDate)(e);if(isNaN(v))return NaN;let g=m-(0,a.getDay)((0,o.startOfMonth)(e));return g<=0&&(g+=7),Math.ceil((v-g)/7)+1};var r=n(88275),a=n(17132),o=n(77866),i=n(64643)},31908:function(e,t,n){"use strict";t.getWeekYear=function(e,t){var n,s,u,c,l,d,p,f;let h=(0,o.toDate)(e),m=h.getFullYear(),v=(0,i.getDefaultOptions)(),g=null!==(f=null!==(p=null!==(d=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(n=s.options)||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==d?d:v.firstWeekContainsDate)&&void 0!==p?p:null===(c=v.locale)||void 0===c?void 0:null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==f?f:1,y=(0,r.constructFrom)(e,0);y.setFullYear(m+1,0,g),y.setHours(0,0,0,0);let b=(0,a.startOfWeek)(y,t),D=(0,r.constructFrom)(e,0);D.setFullYear(m,0,g),D.setHours(0,0,0,0);let k=(0,a.startOfWeek)(D,t);return h.getTime()>=b.getTime()?m+1:h.getTime()>=k.getTime()?m:m-1};var r=n(62947),a=n(55968),o=n(68388),i=n(64643)},5190:function(e,t,n){"use strict";t.getWeeksInMonth=function(e,t){return(0,r.differenceInCalendarWeeks)((0,a.lastDayOfMonth)(e),(0,o.startOfMonth)(e),t)+1};var r=n(61679),a=n(94285),o=n(77866)},71659:function(e,t,n){"use strict";t.getYear=function(e){return(0,r.toDate)(e).getFullYear()};var r=n(68388)},62043:function(e,t,n){"use strict";t.hoursToMilliseconds=function(e){return Math.trunc(e*r.millisecondsInHour)};var r=n(12825)},34631:function(e,t,n){"use strict";t.hoursToMinutes=function(e){return Math.trunc(e*r.minutesInHour)};var r=n(12825)},85206:function(e,t,n){"use strict";t.hoursToSeconds=function(e){return Math.trunc(e*r.secondsInHour)};var r=n(12825)},28482:function(e,t,n){"use strict";var r=n(47089);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))});var a=n(55565);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))});var o=n(51866);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var i=n(732);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))});var s=n(57218);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))});var u=n(1631);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))});var c=n(53877);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))});var l=n(65918);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))});var d=n(50121);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))});var p=n(66948);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))});var f=n(37090);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))});var h=n(31321);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))});var m=n(22690);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}}))});var v=n(66306);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===v[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}}))});var g=n(8269);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===g[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))});var y=n(75796);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}}))});var b=n(53549);Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===b[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}}))});var D=n(39512);Object.keys(D).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===D[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}}))});var k=n(62947);Object.keys(k).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===k[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return k[e]}}))});var w=n(83084);Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===w[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}}))});var M=n(23979);Object.keys(M).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===M[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return M[e]}}))});var O=n(58674);Object.keys(O).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===O[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}}))});var _=n(96724);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}}))});var P=n(34960);Object.keys(P).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===P[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return P[e]}}))});var S=n(37448);Object.keys(S).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===S[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return S[e]}}))});var E=n(11516);Object.keys(E).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===E[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}}))});var C=n(56362);Object.keys(C).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===C[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}}))});var I=n(61679);Object.keys(I).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===I[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return I[e]}}))});var T=n(22382);Object.keys(T).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===T[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}}))});var j=n(74668);Object.keys(j).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===j[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return j[e]}}))});var Y=n(28824);Object.keys(Y).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Y[e]}}))});var N=n(32460);Object.keys(N).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===N[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return N[e]}}))});var x=n(54305);Object.keys(x).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===x[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))});var F=n(61585);Object.keys(F).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===F[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return F[e]}}))});var W=n(3382);Object.keys(W).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===W[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return W[e]}}))});var L=n(21351);Object.keys(L).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===L[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}}))});var R=n(26343);Object.keys(R).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===R[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return R[e]}}))});var H=n(92049);Object.keys(H).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===H[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return H[e]}}))});var A=n(44363);Object.keys(A).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===A[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}}))});var Q=n(85195);Object.keys(Q).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Q[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Q[e]}}))});var B=n(9140);Object.keys(B).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===B[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}}))});var q=n(77035);Object.keys(q).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===q[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return q[e]}}))});var z=n(77877);Object.keys(z).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===z[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return z[e]}}))});var K=n(2997);Object.keys(K).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===K[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return K[e]}}))});var V=n(32097);Object.keys(V).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===V[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return V[e]}}))});var Z=n(18358);Object.keys(Z).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Z[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Z[e]}}))});var U=n(44957);Object.keys(U).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===U[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return U[e]}}))});var X=n(11196);Object.keys(X).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===X[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return X[e]}}))});var G=n(44043);Object.keys(G).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===G[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return G[e]}}))});var J=n(13965);Object.keys(J).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===J[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return J[e]}}))});var $=n(14793);Object.keys($).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $[e]}}))});var ee=n(5517);Object.keys(ee).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ee[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ee[e]}}))});var et=n(2253);Object.keys(et).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===et[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return et[e]}}))});var en=n(7121);Object.keys(en).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===en[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return en[e]}}))});var er=n(60698);Object.keys(er).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===er[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return er[e]}}))});var ea=n(11991);Object.keys(ea).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ea[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ea[e]}}))});var eo=n(31658);Object.keys(eo).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eo[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eo[e]}}))});var ei=n(20470);Object.keys(ei).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ei[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ei[e]}}))});var es=n(90774);Object.keys(es).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===es[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return es[e]}}))});var eu=n(87663);Object.keys(eu).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eu[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eu[e]}}))});var ec=n(92087);Object.keys(ec).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ec[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ec[e]}}))});var el=n(43020);Object.keys(el).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===el[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return el[e]}}))});var ed=n(71123);Object.keys(ed).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ed[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ed[e]}}))});var ep=n(8957);Object.keys(ep).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ep[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ep[e]}}))});var ef=n(83137);Object.keys(ef).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ef[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ef[e]}}))});var eh=n(86840);Object.keys(eh).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eh[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eh[e]}}))});var em=n(45271);Object.keys(em).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===em[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return em[e]}}))});var ev=n(36249);Object.keys(ev).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ev[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ev[e]}}))});var eg=n(88202);Object.keys(eg).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eg[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eg[e]}}))});var ey=n(84419);Object.keys(ey).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ey[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ey[e]}}))});var eb=n(73509);Object.keys(eb).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eb[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eb[e]}}))});var eD=n(45769);Object.keys(eD).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eD[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eD[e]}}))});var ek=n(64562);Object.keys(ek).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ek[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ek[e]}}))});var ew=n(17499);Object.keys(ew).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ew[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ew[e]}}))});var eM=n(9447);Object.keys(eM).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eM[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eM[e]}}))});var eO=n(29821);Object.keys(eO).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eO[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eO[e]}}))});var e_=n(88275);Object.keys(e_).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e_[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e_[e]}}))});var eP=n(17132);Object.keys(eP).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eP[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eP[e]}}))});var eS=n(3391);Object.keys(eS).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eS[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eS[e]}}))});var eE=n(11580);Object.keys(eE).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eE[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eE[e]}}))});var eC=n(32012);Object.keys(eC).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eC[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eC[e]}}))});var eI=n(49032);Object.keys(eI).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eI[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eI[e]}}))});var eT=n(84491);Object.keys(eT).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eT[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eT[e]}}))});var ej=n(93090);Object.keys(ej).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ej[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ej[e]}}))});var eY=n(65206);Object.keys(eY).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eY[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eY[e]}}))});var eN=n(56291);Object.keys(eN).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eN[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eN[e]}}))});var ex=n(74509);Object.keys(ex).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ex[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ex[e]}}))});var eF=n(16679);Object.keys(eF).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eF[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eF[e]}}))});var eW=n(86371);Object.keys(eW).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eW[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eW[e]}}))});var eL=n(44350);Object.keys(eL).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eL[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eL[e]}}))});var eR=n(42560);Object.keys(eR).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eR[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eR[e]}}))});var eH=n(10773);Object.keys(eH).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eH[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eH[e]}}))});var eA=n(78101);Object.keys(eA).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eA[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eA[e]}}))});var eQ=n(78187);Object.keys(eQ).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eQ[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eQ[e]}}))});var eB=n(58567);Object.keys(eB).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eB[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eB[e]}}))});var eq=n(40723);Object.keys(eq).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eq[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eq[e]}}))});var ez=n(75390);Object.keys(ez).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ez[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ez[e]}}))});var eK=n(64948);Object.keys(eK).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eK[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eK[e]}}))});var eV=n(31908);Object.keys(eV).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eV[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eV[e]}}))});var eZ=n(5190);Object.keys(eZ).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eZ[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eZ[e]}}))});var eU=n(71659);Object.keys(eU).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eU[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eU[e]}}))});var eX=n(62043);Object.keys(eX).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eX[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eX[e]}}))});var eG=n(34631);Object.keys(eG).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eG[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eG[e]}}))});var eJ=n(85206);Object.keys(eJ).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===eJ[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return eJ[e]}}))});var e$=n(79678);Object.keys(e$).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e$[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e$[e]}}))});var e0=n(36626);Object.keys(e0).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e0[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e0[e]}}))});var e1=n(58542);Object.keys(e1).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e1[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e1[e]}}))});var e8=n(43906);Object.keys(e8).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e8[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e8[e]}}))});var e6=n(88537);Object.keys(e6).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e6[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e6[e]}}))});var e3=n(74728);Object.keys(e3).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e3[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e3[e]}}))});var e2=n(81334);Object.keys(e2).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e2[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e2[e]}}))});var e4=n(52653);Object.keys(e4).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e4[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e4[e]}}))});var e9=n(55640);Object.keys(e9).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e9[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e9[e]}}))});var e5=n(96080);Object.keys(e5).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e5[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e5[e]}}))});var e7=n(17099);Object.keys(e7).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===e7[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return e7[e]}}))});var te=n(85703);Object.keys(te).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===te[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return te[e]}}))});var tt=n(42007);Object.keys(tt).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tt[e]}}))});var tn=n(83462);Object.keys(tn).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tn[e]}}))});var tr=n(21517);Object.keys(tr).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tr[e]}}))});var ta=n(35664);Object.keys(ta).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ta[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ta[e]}}))});var to=n(69773);Object.keys(to).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===to[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return to[e]}}))});var ti=n(26017);Object.keys(ti).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ti[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ti[e]}}))});var ts=n(62779);Object.keys(ts).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ts[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ts[e]}}))});var tu=n(48130);Object.keys(tu).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tu[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tu[e]}}))});var tc=n(63894);Object.keys(tc).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tc[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tc[e]}}))});var tl=n(61954);Object.keys(tl).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tl[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tl[e]}}))});var td=n(64702);Object.keys(td).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===td[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return td[e]}}))});var tp=n(81588);Object.keys(tp).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tp[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tp[e]}}))});var tf=n(64037);Object.keys(tf).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tf[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tf[e]}}))});var th=n(66443);Object.keys(th).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===th[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return th[e]}}))});var tm=n(92590);Object.keys(tm).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tm[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tm[e]}}))});var tv=n(37312);Object.keys(tv).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tv[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tv[e]}}))});var tg=n(39648);Object.keys(tg).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tg[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tg[e]}}))});var ty=n(49018);Object.keys(ty).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ty[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ty[e]}}))});var tb=n(50701);Object.keys(tb).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tb[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tb[e]}}))});var tD=n(75176);Object.keys(tD).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tD[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tD[e]}}))});var tk=n(18157);Object.keys(tk).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tk[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tk[e]}}))});var tw=n(93811);Object.keys(tw).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tw[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tw[e]}}))});var tM=n(43245);Object.keys(tM).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tM[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tM[e]}}))});var tO=n(98141);Object.keys(tO).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tO[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tO[e]}}))});var t_=n(10264);Object.keys(t_).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t_[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t_[e]}}))});var tP=n(45592);Object.keys(tP).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tP[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tP[e]}}))});var tS=n(92844);Object.keys(tS).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tS[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tS[e]}}))});var tE=n(28003);Object.keys(tE).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tE[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tE[e]}}))});var tC=n(83431);Object.keys(tC).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tC[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tC[e]}}))});var tI=n(41708);Object.keys(tI).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tI[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tI[e]}}))});var tT=n(99047);Object.keys(tT).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tT[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tT[e]}}))});var tj=n(89194);Object.keys(tj).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tj[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tj[e]}}))});var tY=n(93438);Object.keys(tY).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tY[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tY[e]}}))});var tN=n(80327);Object.keys(tN).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tN[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tN[e]}}))});var tx=n(12282);Object.keys(tx).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tx[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tx[e]}}))});var tF=n(42310);Object.keys(tF).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tF[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tF[e]}}))});var tW=n(95746);Object.keys(tW).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tW[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tW[e]}}))});var tL=n(94285);Object.keys(tL).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tL[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tL[e]}}))});var tR=n(34599);Object.keys(tR).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tR[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tR[e]}}))});var tH=n(63161);Object.keys(tH).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tH[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tH[e]}}))});var tA=n(6479);Object.keys(tA).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tA[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tA[e]}}))});var tQ=n(75362);Object.keys(tQ).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tQ[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tQ[e]}}))});var tB=n(24063);Object.keys(tB).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tB[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tB[e]}}))});var tq=n(22323);Object.keys(tq).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tq[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tq[e]}}))});var tz=n(30712);Object.keys(tz).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tz[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tz[e]}}))});var tK=n(68635);Object.keys(tK).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tK[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tK[e]}}))});var tV=n(81448);Object.keys(tV).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tV[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tV[e]}}))});var tZ=n(40164);Object.keys(tZ).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tZ[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tZ[e]}}))});var tU=n(50204);Object.keys(tU).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tU[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tU[e]}}))});var tX=n(83097);Object.keys(tX).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tX[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tX[e]}}))});var tG=n(89236);Object.keys(tG).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tG[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tG[e]}}))});var tJ=n(63487);Object.keys(tJ).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tJ[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tJ[e]}}))});var t$=n(78471);Object.keys(t$).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t$[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t$[e]}}))});var t0=n(92824);Object.keys(t0).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t0[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t0[e]}}))});var t1=n(40559);Object.keys(t1).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t1[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t1[e]}}))});var t8=n(84833);Object.keys(t8).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t8[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t8[e]}}))});var t6=n(26958);Object.keys(t6).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t6[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t6[e]}}))});var t3=n(60028);Object.keys(t3).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t3[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t3[e]}}))});var t2=n(13053);Object.keys(t2).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t2[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t2[e]}}))});var t4=n(87106);Object.keys(t4).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t4[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t4[e]}}))});var t9=n(57437);Object.keys(t9).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t9[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t9[e]}}))});var t5=n(24380);Object.keys(t5).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t5[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t5[e]}}))});var t7=n(35189);Object.keys(t7).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===t7[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return t7[e]}}))});var ne=n(82841);Object.keys(ne).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ne[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ne[e]}}))});var nt=n(44385);Object.keys(nt).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nt[e]}}))});var nn=n(94184);Object.keys(nn).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nn[e]}}))});var nr=n(86551);Object.keys(nr).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nr[e]}}))});var na=n(40563);Object.keys(na).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===na[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return na[e]}}))});var no=n(95263);Object.keys(no).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===no[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return no[e]}}))});var ni=n(68163);Object.keys(ni).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ni[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ni[e]}}))});var ns=n(75708);Object.keys(ns).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ns[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ns[e]}}))});var nu=n(37864);Object.keys(nu).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nu[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nu[e]}}))});var nc=n(55330);Object.keys(nc).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nc[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nc[e]}}))});var nl=n(73530);Object.keys(nl).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nl[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nl[e]}}))});var nd=n(5792);Object.keys(nd).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nd[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nd[e]}}))});var np=n(12809);Object.keys(np).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===np[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return np[e]}}))});var nf=n(81492);Object.keys(nf).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nf[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nf[e]}}))});var nh=n(61081);Object.keys(nh).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nh[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nh[e]}}))});var nm=n(16173);Object.keys(nm).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nm[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nm[e]}}))});var nv=n(53307);Object.keys(nv).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nv[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nv[e]}}))});var ng=n(11729);Object.keys(ng).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ng[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ng[e]}}))});var ny=n(88524);Object.keys(ny).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ny[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ny[e]}}))});var nb=n(72656);Object.keys(nb).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nb[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nb[e]}}))});var nD=n(14963);Object.keys(nD).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nD[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nD[e]}}))});var nk=n(88223);Object.keys(nk).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nk[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nk[e]}}))});var nw=n(79636);Object.keys(nw).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nw[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nw[e]}}))});var nM=n(70023);Object.keys(nM).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nM[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nM[e]}}))});var nO=n(82);Object.keys(nO).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nO[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nO[e]}}))});var n_=n(58072);Object.keys(n_).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n_[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n_[e]}}))});var nP=n(75052);Object.keys(nP).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nP[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nP[e]}}))});var nS=n(83992);Object.keys(nS).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nS[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nS[e]}}))});var nE=n(68686);Object.keys(nE).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nE[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nE[e]}}))});var nC=n(71307);Object.keys(nC).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nC[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nC[e]}}))});var nI=n(24545);Object.keys(nI).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nI[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nI[e]}}))});var nT=n(33362);Object.keys(nT).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nT[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nT[e]}}))});var nj=n(70654);Object.keys(nj).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nj[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nj[e]}}))});var nY=n(17526);Object.keys(nY).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nY[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nY[e]}}))});var nN=n(49089);Object.keys(nN).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nN[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nN[e]}}))});var nx=n(66786);Object.keys(nx).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nx[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nx[e]}}))});var nF=n(36744);Object.keys(nF).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nF[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nF[e]}}))});var nW=n(23966);Object.keys(nW).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nW[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nW[e]}}))});var nL=n(81123);Object.keys(nL).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nL[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nL[e]}}))});var nR=n(77866);Object.keys(nR).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nR[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nR[e]}}))});var nH=n(81040);Object.keys(nH).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nH[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nH[e]}}))});var nA=n(92393);Object.keys(nA).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nA[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nA[e]}}))});var nQ=n(79945);Object.keys(nQ).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nQ[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nQ[e]}}))});var nB=n(60653);Object.keys(nB).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nB[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nB[e]}}))});var nq=n(55968);Object.keys(nq).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nq[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nq[e]}}))});var nz=n(80800);Object.keys(nz).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nz[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nz[e]}}))});var nK=n(22048);Object.keys(nK).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nK[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nK[e]}}))});var nV=n(63135);Object.keys(nV).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nV[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nV[e]}}))});var nZ=n(36015);Object.keys(nZ).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nZ[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nZ[e]}}))});var nU=n(24965);Object.keys(nU).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nU[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nU[e]}}))});var nX=n(16686);Object.keys(nX).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nX[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nX[e]}}))});var nG=n(68808);Object.keys(nG).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nG[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nG[e]}}))});var nJ=n(89505);Object.keys(nJ).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nJ[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nJ[e]}}))});var n$=n(93913);Object.keys(n$).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n$[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n$[e]}}))});var n0=n(88067);Object.keys(n0).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n0[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n0[e]}}))});var n1=n(97643);Object.keys(n1).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n1[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n1[e]}}))});var n8=n(51352);Object.keys(n8).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n8[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n8[e]}}))});var n6=n(21013);Object.keys(n6).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n6[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n6[e]}}))});var n3=n(70336);Object.keys(n3).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n3[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n3[e]}}))});var n2=n(53986);Object.keys(n2).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n2[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n2[e]}}))});var n4=n(68388);Object.keys(n4).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n4[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n4[e]}}))});var n9=n(83983);Object.keys(n9).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n9[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n9[e]}}))});var n5=n(70109);Object.keys(n5).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n5[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n5[e]}}))});var n7=n(51152);Object.keys(n7).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n7[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n7[e]}}))});var re=n(45864);Object.keys(re).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===re[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return re[e]}}))});var rt=n(1592);Object.keys(rt).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===rt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return rt[e]}}))})},79678:function(e,t,n){"use strict";t.interval=function(e,t,n){let a=(0,r.toDate)(e);if(isNaN(+a))throw TypeError("Start date is invalid");let o=(0,r.toDate)(t);if(isNaN(+o))throw TypeError("End date is invalid");if((null==n?void 0:n.assertPositive)&&+a>+o)throw TypeError("End date must be after start date");return{start:a,end:o}};var r=n(68388)},36626:function(e,t,n){"use strict";t.intervalToDuration=function(e){let t=(0,l.toDate)(e.start),n=(0,l.toDate)(e.end),d={},p=(0,c.differenceInYears)(n,t);p&&(d.years=p);let f=(0,r.add)(t,{years:d.years}),h=(0,s.differenceInMonths)(n,f);h&&(d.months=h);let m=(0,r.add)(f,{months:d.months}),v=(0,a.differenceInDays)(n,m);v&&(d.days=v);let g=(0,r.add)(m,{days:d.days}),y=(0,o.differenceInHours)(n,g);y&&(d.hours=y);let b=(0,r.add)(g,{hours:d.hours}),D=(0,i.differenceInMinutes)(n,b);D&&(d.minutes=D);let k=(0,r.add)(b,{minutes:d.minutes}),w=(0,u.differenceInSeconds)(n,k);return w&&(d.seconds=w),d};var r=n(47089),a=n(74668),o=n(28824),i=n(61585),s=n(3382),u=n(26343),c=n(44363),l=n(68388)},58542:function(e,t,n){"use strict";t.intlFormat=function(e,t,n){let a;return void 0===t||"locale"in t?n=t:a=t,new Intl.DateTimeFormat(null==n?void 0:n.locale,a).format((0,r.toDate)(e))};var r=n(68388)},43906:function(e,t,n){"use strict";t.intlFormatDistance=function(e,t,n){let f,h=0,m=(0,p.toDate)(e),v=(0,p.toDate)(t);if(null==n?void 0:n.unit)"second"===(f=null==n?void 0:n.unit)?h=(0,d.differenceInSeconds)(m,v):"minute"===f?h=(0,l.differenceInMinutes)(m,v):"hour"===f?h=(0,c.differenceInHours)(m,v):"day"===f?h=(0,a.differenceInCalendarDays)(m,v):"week"===f?h=(0,s.differenceInCalendarWeeks)(m,v):"month"===f?h=(0,o.differenceInCalendarMonths)(m,v):"quarter"===f?h=(0,i.differenceInCalendarQuarters)(m,v):"year"===f&&(h=(0,u.differenceInCalendarYears)(m,v));else{let e=(0,d.differenceInSeconds)(m,v);Math.abs(e)Math.abs((0,a.differenceInCalendarDays)(m,v))?(h=(0,c.differenceInHours)(m,v),f="hour"):Math.abs(e)Math.abs(h)?f="day":Math.abs(e)(0,i.differenceInCalendarQuarters)(m,v)?(h=(0,i.differenceInCalendarQuarters)(m,v),f="quarter"):(h=(0,u.differenceInCalendarYears)(m,v),f="year")}return new Intl.RelativeTimeFormat(null==n?void 0:n.locale,{localeMatcher:null==n?void 0:n.localeMatcher,numeric:(null==n?void 0:n.numeric)||"auto",style:null==n?void 0:n.style}).format(h,f)};var r=n(12825),a=n(96724),o=n(11516),i=n(56362),s=n(61679),u=n(22382),c=n(28824),l=n(61585),d=n(26343),p=n(68388)},88537:function(e,t,n){"use strict";t.isAfter=function(e,t){let n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getTime()>a.getTime()};var r=n(68388)},74728:function(e,t,n){"use strict";t.isBefore=function(e,t){return+(0,r.toDate)(e)<+(0,r.toDate)(t)};var r=n(68388)},81334:function(e,t){"use strict";t.isDate=function(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}},52653:function(e,t,n){"use strict";t.isEqual=function(e,t){return+(0,r.toDate)(e)==+(0,r.toDate)(t)};var r=n(68388)},55640:function(e,t){"use strict";t.isExists=function(e,t,n){let r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}},96080:function(e,t,n){"use strict";t.isFirstDayOfMonth=function(e){return 1===(0,r.toDate)(e).getDate()};var r=n(68388)},17099:function(e,t,n){"use strict";t.isFriday=function(e){return 5===(0,r.toDate)(e).getDay()};var r=n(68388)},85703:function(e,t,n){"use strict";t.isFuture=function(e){return+(0,r.toDate)(e)>Date.now()};var r=n(68388)},42007:function(e,t,n){"use strict";t.isLastDayOfMonth=function(e){let t=(0,o.toDate)(e);return+(0,r.endOfDay)(t)==+(0,a.endOfMonth)(t)};var r=n(13965),a=n(11991),o=n(68388)},83462:function(e,t,n){"use strict";t.isLeapYear=function(e){let t=(0,r.toDate)(e).getFullYear();return t%400==0||t%4==0&&t%100!=0};var r=n(68388)},21517:function(e,t,n){"use strict";t.isMatch=function(e,t,n){return(0,r.isValid)((0,a.parse)(e,t,new Date,n))};var r=n(41708),a=n(24380)},35664:function(e,t,n){"use strict";t.isMonday=function(e){return 1===(0,r.toDate)(e).getDay()};var r=n(68388)},69773:function(e,t,n){"use strict";t.isPast=function(e){return+(0,r.toDate)(e)e-t);return n>=a&&n<=o};var r=n(68388)},80327:function(e,t,n){"use strict";t.isYesterday=function(e){return(0,a.isSameDay)(e,(0,o.subDays)((0,r.constructNow)(e),1))};var r=n(83084),a=n(26017),o=n(16686)},12282:function(e,t,n){"use strict";t.lastDayOfDecade=function(e){let t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(9+10*Math.floor(n/10)+1,0,0),t.setHours(0,0,0,0),t};var r=n(68388)},42310:function(e,t,n){"use strict";t.lastDayOfISOWeek=function(e){return(0,r.lastDayOfWeek)(e,{weekStartsOn:1})};var r=n(63161)},95746:function(e,t,n){"use strict";t.lastDayOfISOWeekYear=function(e){let t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);let i=(0,a.startOfISOWeek)(n);return i.setDate(i.getDate()-1),i};var r=n(74509),a=n(36744),o=n(62947)},94285:function(e,t,n){"use strict";t.lastDayOfMonth=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t};var r=n(68388)},34599:function(e,t,n){"use strict";t.lastDayOfQuarter=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setMonth(n-n%3+3,0),t.setHours(0,0,0,0),t};var r=n(68388)},63161:function(e,t,n){"use strict";t.lastDayOfWeek=function(e,t){var n,o,i,s,u,c,l,d;let p=(0,a.getDefaultOptions)(),f=null!==(d=null!==(l=null!==(c=null!==(u=null==t?void 0:t.weekStartsOn)&&void 0!==u?u:null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(n=o.options)||void 0===n?void 0:n.weekStartsOn)&&void 0!==c?c:p.weekStartsOn)&&void 0!==l?l:null===(s=p.locale)||void 0===s?void 0:null===(i=s.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==d?d:0,h=(0,r.toDate)(e),m=h.getDay();return h.setHours(0,0,0,0),h.setDate(h.getDate()+((m{if("''"===e)return"'";let t=e[0];if("'"===t)return function(e){let t=e.match(s);return t?t[1].replace(u,"'"):e}(e);let r=o.lightFormatters[t];if(r)return r(n,e);if(t.match(c))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e}).join(""):""},Object.defineProperty(t,"lightFormatters",{enumerable:!0,get:function(){return o.lightFormatters}});var r=n(41708),a=n(68388),o=n(18637);let i=/(\w)\1*|''|'(''|[^'])+('|$)|./g,s=/^'([^]*?)'?$/,u=/''/g,c=/[a-zA-Z]/},94376:function(e,t){"use strict";t.buildFormatLongFn=function(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}},50419:function(e,t){"use strict";t.buildLocalizeFn=function(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},24768:function(e,t){"use strict";t.buildMatchFn=function(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.width,o=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;let s=i[0],u=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(u)?function(e,t){for(let n=0;ne.test(s)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(u,e=>e.test(s));return n=e.valueCallback?e.valueCallback(c):c,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}},23361:function(e,t){"use strict";t.buildMatchPatternFn=function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;let a=r[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:i=n.valueCallback?n.valueCallback(i):i,rest:t.slice(a.length)}}}},31413:function(e,t,n){"use strict";t.enUS=void 0;var r=n(78574),a=n(43701),o=n(130),i=n(75747),s=n(45773);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:a.formatLong,formatRelative:o.formatRelative,localize:i.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},78574:function(e,t){"use strict";t.formatDistance=void 0;let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.formatDistance=(e,t,r)=>{let a;let o=n[e];return(a="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null==r?void 0:r.addSuffix)?r.comparison&&r.comparison>0?"in "+a:a+" ago":a}},43701:function(e,t,n){"use strict";t.formatLong=void 0;var r=n(94376);t.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},130:function(e,t){"use strict";t.formatRelative=void 0;let n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.formatRelative=(e,t,r,a)=>n[e]},75747:function(e,t,n){"use strict";t.localize=void 0;var r=n(50419);t.localize={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.buildLocalizeFn)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.buildLocalizeFn)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},45773:function(e,t,n){"use strict";t.match=void 0;var r=n(24768),a=n(23361);t.match={ordinalNumber:(0,a.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},24063:function(e,t,n){"use strict";t.max=function(e){let t;return e.forEach(function(e){let n=(0,r.toDate)(e);(void 0===t||t{let n=(0,r.toDate)(e);(!t||t>n||isNaN(+n))&&(t=n)}),t||new Date(NaN)};var r=n(68388)},50204:function(e,t,n){"use strict";t.minutesToHours=function(e){return Math.trunc(e/r.minutesInHour)};var r=n(12825)},83097:function(e,t,n){"use strict";t.minutesToMilliseconds=function(e){return Math.trunc(e*r.millisecondsInMinute)};var r=n(12825)},89236:function(e,t,n){"use strict";t.minutesToSeconds=function(e){return Math.trunc(e*r.secondsInMinute)};var r=n(12825)},63487:function(e,t,n){"use strict";t.monthsToQuarters=function(e){return Math.trunc(e/r.monthsInQuarter)};var r=n(12825)},78471:function(e,t,n){"use strict";t.monthsToYears=function(e){return Math.trunc(e/r.monthsInYear)};var r=n(12825)},92824:function(e,t,n){"use strict";t.nextDay=function(e,t){let n=t-(0,a.getDay)(e);return n<=0&&(n+=7),(0,r.addDays)(e,n)};var r=n(51866),a=n(17132)},40559:function(e,t,n){"use strict";t.nextFriday=function(e){return(0,r.nextDay)(e,5)};var r=n(92824)},84833:function(e,t,n){"use strict";t.nextMonday=function(e){return(0,r.nextDay)(e,1)};var r=n(92824)},26958:function(e,t,n){"use strict";t.nextSaturday=function(e){return(0,r.nextDay)(e,6)};var r=n(92824)},60028:function(e,t,n){"use strict";t.nextSunday=function(e){return(0,r.nextDay)(e,0)};var r=n(92824)},13053:function(e,t,n){"use strict";t.nextThursday=function(e){return(0,r.nextDay)(e,4)};var r=n(92824)},87106:function(e,t,n){"use strict";t.nextTuesday=function(e){return(0,r.nextDay)(e,2)};var r=n(92824)},57437:function(e,t,n){"use strict";t.nextWednesday=function(e){return(0,r.nextDay)(e,3)};var r=n(92824)},24380:function(e,t,n){"use strict";Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return s.longFormatters}}),t.parse=function(e,t,n,g){var y,b,D,k,w,M,O,_,P,S,E,C,I,T,j,Y,N,x;let F=(0,a.getDefaultOptions)(),W=null!==(S=null!==(P=null==g?void 0:g.locale)&&void 0!==P?P:F.locale)&&void 0!==S?S:o.defaultLocale,L=null!==(T=null!==(I=null!==(C=null!==(E=null==g?void 0:g.firstWeekContainsDate)&&void 0!==E?E:null==g?void 0:null===(b=g.locale)||void 0===b?void 0:null===(y=b.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==C?C:F.firstWeekContainsDate)&&void 0!==I?I:null===(k=F.locale)||void 0===k?void 0:null===(D=k.options)||void 0===D?void 0:D.firstWeekContainsDate)&&void 0!==T?T:1,R=null!==(x=null!==(N=null!==(Y=null!==(j=null==g?void 0:g.weekStartsOn)&&void 0!==j?j:null==g?void 0:null===(M=g.locale)||void 0===M?void 0:null===(w=M.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==Y?Y:F.weekStartsOn)&&void 0!==N?N:null===(_=F.locale)||void 0===_?void 0:null===(O=_.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==x?x:0;if(""===t)return""===e?(0,i.toDate)(n):(0,r.constructFrom)(n,NaN);let H={firstWeekContainsDate:L,weekStartsOn:R,locale:W},A=[new l.DateToSystemTimezoneSetter],Q=t.match(p).map(e=>{let t=e[0];return t in s.longFormatters?(0,s.longFormatters[t])(e,W.formatLong):e}).join("").match(d),B=[];for(let a of Q){!(null==g?void 0:g.useAdditionalWeekYearTokens)&&(0,u.isProtectedWeekYearToken)(a)&&(0,u.warnOrThrowProtectedError)(a,t,e),!(null==g?void 0:g.useAdditionalDayOfYearTokens)&&(0,u.isProtectedDayOfYearToken)(a)&&(0,u.warnOrThrowProtectedError)(a,t,e);let o=a[0],i=c.parsers[o];if(i){let{incompatibleTokens:t}=i;if(Array.isArray(t)){let e=B.find(e=>t.includes(e.token)||e.token===o);if(e)throw RangeError("The format string mustn't contain `".concat(e.fullToken,"` and `").concat(a,"` at the same time"))}else if("*"===i.incompatibleTokens&&B.length>0)throw RangeError("The format string mustn't contain `".concat(a,"` and any other token at the same time"));B.push({token:o,fullToken:a});let s=i.run(e,a,W.match,H);if(!s)return(0,r.constructFrom)(n,NaN);A.push(s.setter),e=s.rest}else{if(o.match(v))throw RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");if("''"===a?a="'":"'"===o&&(a=a.match(f)[1].replace(h,"'")),0!==e.indexOf(a))return(0,r.constructFrom)(n,NaN);e=e.slice(a.length)}}if(e.length>0&&m.test(e))return(0,r.constructFrom)(n,NaN);let q=A.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>A.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),z=(0,i.toDate)(n);if(isNaN(z.getTime()))return(0,r.constructFrom)(n,NaN);let K={};for(let e of q){if(!e.validate(z,H))return(0,r.constructFrom)(n,NaN);let t=e.set(z,K,H);Array.isArray(t)?(z=t[0],Object.assign(K,t[1])):z=t}return(0,r.constructFrom)(n,z)},Object.defineProperty(t,"parsers",{enumerable:!0,get:function(){return c.parsers}});var r=n(62947),a=n(84491),o=n(96881),i=n(68388),s=n(80609),u=n(20133),c=n(41986),l=n(85833);let d=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,p=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,f=/^'([^]*?)'?$/,h=/''/g,m=/\S/,v=/[a-zA-Z]/},3885:function(e,t,n){"use strict";t.Parser=void 0;var r=n(85833);class a{run(e,t,n,a){let o=this.parse(e,t,n,a);return o?{setter:new r.ValueSetter(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,t,n){return!0}}t.Parser=a},85833:function(e,t,n){"use strict";t.ValueSetter=t.Setter=t.DateToSystemTimezoneSetter=void 0;var r=n(83983),a=n(62947);class o{validate(e,t){return!0}constructor(){this.subPriority=0}}t.Setter=o;class i extends o{validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}constructor(e,t,n,r,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,a&&(this.subPriority=a)}}t.ValueSetter=i;class s extends o{set(e,t){return t.timestampIsSet?e:(0,a.constructFrom)(e,(0,r.transpose)(e,Date))}constructor(...e){super(...e),this.priority=10,this.subPriority=-1}}t.DateToSystemTimezoneSetter=s},54619:function(e,t){"use strict";t.timezonePatterns=t.numericPatterns=void 0,t.numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},t.timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/}},41986:function(e,t,n){"use strict";t.parsers=void 0;var r=n(87659),a=n(44998),o=n(81039),i=n(95615),s=n(94205),u=n(77616),c=n(69870),l=n(26961),d=n(99867),p=n(23741),f=n(61623),h=n(86843),m=n(94935),v=n(24186),g=n(44328),y=n(76331),b=n(64132),D=n(42598),k=n(76719),w=n(86420),M=n(72789),O=n(57394),_=n(93402),P=n(67586),S=n(29702),E=n(41175),C=n(18191),I=n(91772),T=n(6693),j=n(40773),Y=n(59030);t.parsers={G:new r.EraParser,y:new a.YearParser,Y:new o.LocalWeekYearParser,R:new i.ISOWeekYearParser,u:new s.ExtendedYearParser,Q:new u.QuarterParser,q:new c.StandAloneQuarterParser,M:new l.MonthParser,L:new d.StandAloneMonthParser,w:new p.LocalWeekParser,I:new f.ISOWeekParser,d:new h.DateParser,D:new m.DayOfYearParser,E:new v.DayParser,e:new g.LocalDayParser,c:new y.StandAloneLocalDayParser,i:new b.ISODayParser,a:new D.AMPMParser,b:new k.AMPMMidnightParser,B:new w.DayPeriodParser,h:new M.Hour1to12Parser,H:new O.Hour0to23Parser,K:new _.Hour0To11Parser,k:new P.Hour1To24Parser,m:new S.MinuteParser,s:new E.SecondParser,S:new C.FractionOfSecondParser,X:new I.ISOTimezoneWithZParser,x:new T.ISOTimezoneParser,t:new j.TimestampSecondsParser,T:new Y.TimestampMillisecondsParser}},76719:function(e,t,n){"use strict";t.AMPMMidnightParser=void 0;var r=n(3885),a=n(38646);class o extends r.Parser{parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,a.dayPeriodEnumToHours)(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}t.AMPMMidnightParser=o},42598:function(e,t,n){"use strict";t.AMPMParser=void 0;var r=n(3885),a=n(38646);class o extends r.Parser{parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,a.dayPeriodEnumToHours)(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}t.AMPMParser=o},86843:function(e,t,n){"use strict";t.DateParser=void 0;var r=n(54619),a=n(3885),o=n(38646);let i=[31,28,31,30,31,30,31,31,30,31,30,31],s=[31,29,31,30,31,30,31,31,30,31,30,31];class u extends a.Parser{parse(e,t,n){switch(t){case"d":return(0,o.parseNumericPattern)(r.numericPatterns.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){let n=e.getFullYear(),r=(0,o.isLeapYearIndex)(n),a=e.getMonth();return r?t>=1&&t<=s[a]:t>=1&&t<=i[a]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}t.DateParser=u},94935:function(e,t,n){"use strict";t.DayOfYearParser=void 0;var r=n(54619),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){switch(t){case"D":case"DD":return(0,o.parseNumericPattern)(r.numericPatterns.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){let n=e.getFullYear();return(0,o.isLeapYearIndex)(n)?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}t.DayOfYearParser=i},24186:function(e,t,n){"use strict";t.DayParser=void 0;var r=n(88524),a=n(3885);class o extends a.Parser{parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=(0,r.setDay)(e,n,a)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}t.DayParser=o},86420:function(e,t,n){"use strict";t.DayPeriodParser=void 0;var r=n(3885),a=n(38646);class o extends r.Parser{parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,a.dayPeriodEnumToHours)(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}t.DayPeriodParser=o},87659:function(e,t,n){"use strict";t.EraParser=void 0;var r=n(3885);class a extends r.Parser{parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}t.EraParser=a},94205:function(e,t,n){"use strict";t.ExtendedYearParser=void 0;var r=n(3885),a=n(38646);class o extends r.Parser{parse(e,t){return"u"===t?(0,a.parseNDigitsSigned)(4,e):(0,a.parseNDigitsSigned)(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}t.ExtendedYearParser=o},18191:function(e,t,n){"use strict";t.FractionOfSecondParser=void 0;var r=n(3885),a=n(38646);class o extends r.Parser{parse(e,t){return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}constructor(...e){super(...e),this.priority=30,this.incompatibleTokens=["t","T"]}}t.FractionOfSecondParser=o},93402:function(e,t,n){"use strict";t.Hour0To11Parser=void 0;var r=n(54619),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){switch(t){case"K":return(0,o.parseNumericPattern)(r.numericPatterns.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}t.Hour0To11Parser=i},57394:function(e,t,n){"use strict";t.Hour0to23Parser=void 0;var r=n(54619),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){switch(t){case"H":return(0,o.parseNumericPattern)(r.numericPatterns.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}t.Hour0to23Parser=i},67586:function(e,t,n){"use strict";t.Hour1To24Parser=void 0;var r=n(54619),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){switch(t){case"k":return(0,o.parseNumericPattern)(r.numericPatterns.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){return e.setHours(n<=24?n%24:n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}t.Hour1To24Parser=i},72789:function(e,t,n){"use strict";t.Hour1to12Parser=void 0;var r=n(54619),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){switch(t){case"h":return(0,o.parseNumericPattern)(r.numericPatterns.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}t.Hour1to12Parser=i},64132:function(e,t,n){"use strict";t.ISODayParser=void 0;var r=n(79636),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){let r=e=>0===e?7:e;switch(t){case"i":case"ii":return(0,o.parseNDigits)(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return(0,o.mapValue)(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return(0,o.mapValue)(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return(0,o.mapValue)(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return(0,o.mapValue)(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=(0,r.setISODay)(e,n)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}t.ISODayParser=i},6693:function(e,t,n){"use strict";t.ISOTimezoneParser=void 0;var r=n(62947),a=n(63499),o=n(54619),i=n(3885),s=n(38646);class u extends i.Parser{parse(e,t){switch(t){case"x":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,e);case"xx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,e);case"xxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,a.getTimezoneOffsetInMilliseconds)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","X"]}}t.ISOTimezoneParser=u},91772:function(e,t,n){"use strict";t.ISOTimezoneWithZParser=void 0;var r=n(62947),a=n(63499),o=n(54619),i=n(3885),s=n(38646);class u extends i.Parser{parse(e,t){switch(t){case"X":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,e);case"XX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,e);case"XXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,a.getTimezoneOffsetInMilliseconds)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","x"]}}t.ISOTimezoneWithZParser=u},61623:function(e,t,n){"use strict";t.ISOWeekParser=void 0;var r=n(70023),a=n(36744),o=n(54619),i=n(3885),s=n(38646);class u extends i.Parser{parse(e,t,n){switch(t){case"I":return(0,s.parseNumericPattern)(o.numericPatterns.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,a.startOfISOWeek)((0,r.setISOWeek)(e,n))}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}t.ISOWeekParser=u},95615:function(e,t,n){"use strict";t.ISOWeekYearParser=void 0;var r=n(36744),a=n(62947),o=n(3885),i=n(38646);class s extends o.Parser{parse(e,t){return"R"===t?(0,i.parseNDigitsSigned)(4,e):(0,i.parseNDigitsSigned)(t.length,e)}set(e,t,n){let o=(0,a.constructFrom)(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),(0,r.startOfISOWeek)(o)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}t.ISOWeekYearParser=s},44328:function(e,t,n){"use strict";t.LocalDayParser=void 0;var r=n(88524),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n,r){let a=e=>(e+r.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"e":case"ee":return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),a);case"eo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"day"}),a);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=(0,r.setDay)(e,n,a)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}t.LocalDayParser=i},23741:function(e,t,n){"use strict";t.LocalWeekParser=void 0;var r=n(24545),a=n(55968),o=n(54619),i=n(3885),s=n(38646);class u extends i.Parser{parse(e,t,n){switch(t){case"w":return(0,s.parseNumericPattern)(o.numericPatterns.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,o){return(0,a.startOfWeek)((0,r.setWeek)(e,n,o),o)}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}t.LocalWeekParser=u},81039:function(e,t,n){"use strict";t.LocalWeekYearParser=void 0;var r=n(31908),a=n(55968),o=n(3885),i=n(38646);class s extends o.Parser{parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return(0,i.mapValue)((0,i.parseNDigits)(4,e),r);case"Yo":return(0,i.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,i.mapValue)((0,i.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,o){let s=(0,r.getWeekYear)(e,o);if(n.isTwoDigitYear){let t=(0,i.normalizeTwoDigitYear)(n.year,s);return e.setFullYear(t,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),(0,a.startOfWeek)(e,o)}let u="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(u,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),(0,a.startOfWeek)(e,o)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}t.LocalWeekYearParser=s},29702:function(e,t,n){"use strict";t.MinuteParser=void 0;var r=n(54619),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){switch(t){case"m":return(0,o.parseNumericPattern)(r.numericPatterns.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}constructor(...e){super(...e),this.priority=60,this.incompatibleTokens=["t","T"]}}t.MinuteParser=i},26961:function(e,t,n){"use strict";t.MonthParser=void 0;var r=n(54619),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){let a=e=>e-1;switch(t){case"M":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,e),a);case"MM":return(0,o.mapValue)((0,o.parseNDigits)(2,e),a);case"Mo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"month"}),a);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}t.MonthParser=i},77616:function(e,t,n){"use strict";t.QuarterParser=void 0;var r=n(3885),a=n(38646);class o extends r.Parser{parse(e,t,n){switch(t){case"Q":case"QQ":return(0,a.parseNDigits)(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}t.QuarterParser=o},41175:function(e,t,n){"use strict";t.SecondParser=void 0;var r=n(54619),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){switch(t){case"s":return(0,o.parseNumericPattern)(r.numericPatterns.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}constructor(...e){super(...e),this.priority=50,this.incompatibleTokens=["t","T"]}}t.SecondParser=i},76331:function(e,t,n){"use strict";t.StandAloneLocalDayParser=void 0;var r=n(88524),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n,r){let a=e=>(e+r.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"c":case"cc":return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),a);case"co":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"day"}),a);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=(0,r.setDay)(e,n,a)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}t.StandAloneLocalDayParser=i},99867:function(e,t,n){"use strict";t.StandAloneMonthParser=void 0;var r=n(54619),a=n(3885),o=n(38646);class i extends a.Parser{parse(e,t,n){let a=e=>e-1;switch(t){case"L":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,e),a);case"LL":return(0,o.mapValue)((0,o.parseNDigits)(2,e),a);case"Lo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"month"}),a);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}t.StandAloneMonthParser=i},69870:function(e,t,n){"use strict";t.StandAloneQuarterParser=void 0;var r=n(3885),a=n(38646);class o extends r.Parser{parse(e,t,n){switch(t){case"q":case"qq":return(0,a.parseNDigits)(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}t.StandAloneQuarterParser=o},59030:function(e,t,n){"use strict";t.TimestampMillisecondsParser=void 0;var r=n(62947),a=n(3885),o=n(38646);class i extends a.Parser{parse(e){return(0,o.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=20,this.incompatibleTokens="*"}}t.TimestampMillisecondsParser=i},40773:function(e,t,n){"use strict";t.TimestampSecondsParser=void 0;var r=n(62947),a=n(3885),o=n(38646);class i extends a.Parser{parse(e){return(0,o.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,1e3*n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=40,this.incompatibleTokens="*"}}t.TimestampSecondsParser=i},44998:function(e,t,n){"use strict";t.YearParser=void 0;var r=n(3885),a=n(38646);class o extends r.Parser{parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return(0,a.mapValue)((0,a.parseNDigits)(4,e),r);case"yo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let r=e.getFullYear();if(n.isTwoDigitYear){let t=(0,a.normalizeTwoDigitYear)(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}t.YearParser=o},38646:function(e,t,n){"use strict";t.dayPeriodEnumToHours=function(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}},t.isLeapYearIndex=function(e){return e%400==0||e%4==0&&e%100!=0},t.mapValue=function(e,t){return e?{value:t(e.value),rest:e.rest}:e},t.normalizeTwoDigitYear=function(e,t){let n;let r=t>0,a=r?t:1-t;if(a<=50)n=e||100;else{let t=a+50;n=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return r?n:1-n},t.parseAnyDigitsSigned=function(e){return o(a.numericPatterns.anyDigitsSigned,e)},t.parseNDigits=function(e,t){switch(e){case 1:return o(a.numericPatterns.singleDigit,t);case 2:return o(a.numericPatterns.twoDigits,t);case 3:return o(a.numericPatterns.threeDigits,t);case 4:return o(a.numericPatterns.fourDigits,t);default:return o(RegExp("^\\d{1,"+e+"}"),t)}},t.parseNDigitsSigned=function(e,t){switch(e){case 1:return o(a.numericPatterns.singleDigitSigned,t);case 2:return o(a.numericPatterns.twoDigitsSigned,t);case 3:return o(a.numericPatterns.threeDigitsSigned,t);case 4:return o(a.numericPatterns.fourDigitsSigned,t);default:return o(RegExp("^-?\\d{1,"+e+"}"),t)}},t.parseNumericPattern=o,t.parseTimezonePattern=function(e,t){let n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};let a="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:a*(o*r.millisecondsInHour+i*r.millisecondsInMinute+s*r.millisecondsInSecond),rest:t.slice(n[0].length)}};var r=n(12825),a=n(54619);function o(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}},35189:function(e,t,n){"use strict";t.parseISO=function(e,t){var n;let p,f;let h=null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2,m=function(e){let t;let n={},r=e.split(a.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],a.timeZoneDelimiter.test(n.date)&&(n.date=e.split(a.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=a.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(m.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let a=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?a:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(m.date,h);p=function(e,t){if(null===t)return new Date(NaN);let n=e.match(o);if(!n)return new Date(NaN);let r=!!n[4],a=u(n[1]),i=u(n[2])-1,s=u(n[3]),c=u(n[4]),p=u(n[5])-1;if(r)return c>=1&&c<=53&&p>=0&&p<=6?function(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let a=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+((t-1)*7+n+1-a)),r}(t,c,p):new Date(NaN);{let e=new Date(0);return i>=0&&i<=11&&s>=1&&s<=(l[i]||(d(t)?29:28))&&a>=1&&a<=(d(t)?366:365)?(e.setUTCFullYear(t,i,Math.max(a,s)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!p||isNaN(p.getTime()))return new Date(NaN);let v=p.getTime(),g=0;if(m.time&&isNaN(g=function(e){let t=e.match(i);if(!t)return NaN;let n=c(t[1]),a=c(t[2]),o=c(t[3]);return(24===n?0===a&&0===o:o>=0&&o<60&&a>=0&&a<60&&n>=0&&n<25)?n*r.millisecondsInHour+a*r.millisecondsInMinute+1e3*o:NaN}(m.time)))return new Date(NaN);if(m.timezone){if(isNaN(f=function(e){if("Z"===e)return 0;let t=e.match(s);if(!t)return 0;let n="+"===t[1]?-1:1,a=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return o>=0&&o<=59?n*(a*r.millisecondsInHour+o*r.millisecondsInMinute):NaN}(m.timezone)))return new Date(NaN)}else{let e=new Date(v+g),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return new Date(v+g+f)};var r=n(12825);let a={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},o=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,i=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,s=/^([+-])(\d{2})(?::?(\d{2}))?$/;function u(e){return e?parseInt(e):1}function c(e){return e&&parseFloat(e.replace(",","."))||0}let l=[31,null,31,30,31,30,31,31,30,31,30,31];function d(e){return e%400==0||e%4==0&&e%100!=0}},82841:function(e,t){"use strict";t.parseJSON=function(e){let t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return new Date(t?Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*("-"==t[8]?-1:1),+t[5]-(+t[10]||0)*("-"==t[8]?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3)):NaN)}},44385:function(e,t,n){"use strict";t.previousDay=function(e,t){let n=(0,r.getDay)(e)-t;return n<=0&&(n+=7),(0,a.subDays)(e,n)};var r=n(17132),a=n(16686)},94184:function(e,t,n){"use strict";t.previousFriday=function(e){return(0,r.previousDay)(e,5)};var r=n(44385)},86551:function(e,t,n){"use strict";t.previousMonday=function(e){return(0,r.previousDay)(e,1)};var r=n(44385)},40563:function(e,t,n){"use strict";t.previousSaturday=function(e){return(0,r.previousDay)(e,6)};var r=n(44385)},95263:function(e,t,n){"use strict";t.previousSunday=function(e){return(0,r.previousDay)(e,0)};var r=n(44385)},68163:function(e,t,n){"use strict";t.previousThursday=function(e){return(0,r.previousDay)(e,4)};var r=n(44385)},75708:function(e,t,n){"use strict";t.previousTuesday=function(e){return(0,r.previousDay)(e,2)};var r=n(44385)},37864:function(e,t,n){"use strict";t.previousWednesday=function(e){return(0,r.previousDay)(e,3)};var r=n(44385)},55330:function(e,t,n){"use strict";t.quartersToMonths=function(e){return Math.trunc(e*r.monthsInQuarter)};var r=n(12825)},73530:function(e,t,n){"use strict";t.quartersToYears=function(e){return Math.trunc(e/r.quartersInYear)};var r=n(12825)},5792:function(e,t,n){"use strict";t.roundToNearestHours=function(e,t){var n,i;let s=null!==(n=null==t?void 0:t.nearestTo)&&void 0!==n?n:1;if(s<1||s>12)return(0,a.constructFrom)(e,NaN);let u=(0,o.toDate)(e),c=u.getMinutes()/60,l=u.getSeconds()/60/60,d=u.getMilliseconds()/1e3/60/60,p=u.getHours()+c+l+d,f=null!==(i=null==t?void 0:t.roundingMethod)&&void 0!==i?i:"round",h=(0,r.getRoundingMethod)(f)(p/s)*s,m=(0,a.constructFrom)(e,u);return m.setHours(h,0,0,0),m};var r=n(38620),a=n(62947),o=n(68388)},12809:function(e,t,n){"use strict";t.roundToNearestMinutes=function(e,t){var n,i;let s=null!==(n=null==t?void 0:t.nearestTo)&&void 0!==n?n:1;if(s<1||s>30)return(0,a.constructFrom)(e,NaN);let u=(0,o.toDate)(e),c=u.getSeconds()/60,l=u.getMilliseconds()/1e3/60,d=u.getMinutes()+c+l,p=null!==(i=null==t?void 0:t.roundingMethod)&&void 0!==i?i:"round",f=(0,r.getRoundingMethod)(p)(d/s)*s,h=(0,a.constructFrom)(e,u);return h.setMinutes(f,0,0),h};var r=n(38620),a=n(62947),o=n(68388)},81492:function(e,t,n){"use strict";t.secondsToHours=function(e){return Math.trunc(e/r.secondsInHour)};var r=n(12825)},61081:function(e,t,n){"use strict";t.secondsToMilliseconds=function(e){return e*r.millisecondsInSecond};var r=n(12825)},16173:function(e,t,n){"use strict";t.secondsToMinutes=function(e){return Math.trunc(e/r.secondsInMinute)};var r=n(12825)},53307:function(e,t,n){"use strict";t.set=function(e,t){let n=(0,o.toDate)(e);return isNaN(+n)?(0,r.constructFrom)(e,NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=(0,a.setMonth)(n,t.month)),null!=t.date&&n.setDate(t.date),null!=t.hours&&n.setHours(t.hours),null!=t.minutes&&n.setMinutes(t.minutes),null!=t.seconds&&n.setSeconds(t.seconds),null!=t.milliseconds&&n.setMilliseconds(t.milliseconds),n)};var r=n(62947),a=n(83992),o=n(68388)},11729:function(e,t,n){"use strict";t.setDate=function(e,t){let n=(0,r.toDate)(e);return n.setDate(t),n};var r=n(68388)},88524:function(e,t,n){"use strict";t.setDay=function(e,t,n){var i,s,u,c,l,d,p,f;let h=(0,o.getDefaultOptions)(),m=null!==(f=null!==(p=null!==(d=null!==(l=null==n?void 0:n.weekStartsOn)&&void 0!==l?l:null==n?void 0:null===(s=n.locale)||void 0===s?void 0:null===(i=s.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==d?d:h.weekStartsOn)&&void 0!==p?p:null===(c=h.locale)||void 0===c?void 0:null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==f?f:0,v=(0,a.toDate)(e),g=v.getDay(),y=7-m;return(0,r.addDays)(v,t<0||t>6?t-(g+y)%7:((t%7+7)%7+y)%7-(g+y)%7)};var r=n(51866),a=n(68388),o=n(64643)},72656:function(e,t,n){"use strict";t.setDayOfYear=function(e,t){let n=(0,r.toDate)(e);return n.setMonth(0),n.setDate(t),n};var r=n(68388)},14963:function(e,t,n){"use strict";t.setDefaultOptions=function(e){let t={},n=(0,r.getDefaultOptions)();for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(void 0===e[n]?delete t[n]:t[n]=e[n]);(0,r.setDefaultOptions)(t)};var r=n(64643)},88223:function(e,t,n){"use strict";t.setHours=function(e,t){let n=(0,r.toDate)(e);return n.setHours(t),n};var r=n(68388)},79636:function(e,t,n){"use strict";t.setISODay=function(e,t){let n=(0,o.toDate)(e),i=(0,a.getISODay)(n);return(0,r.addDays)(n,t-i)};var r=n(51866),a=n(65206),o=n(68388)},70023:function(e,t,n){"use strict";t.setISOWeek=function(e,t){let n=(0,a.toDate)(e),o=(0,r.getISOWeek)(n)-t;return n.setDate(n.getDate()-7*o),n};var r=n(56291),a=n(68388)},82:function(e,t,n){"use strict";t.setISOWeekYear=function(e,t){let n=(0,i.toDate)(e),s=(0,a.differenceInCalendarDays)(n,(0,o.startOfISOWeekYear)(n)),u=(0,r.constructFrom)(e,0);return u.setFullYear(t,0,4),u.setHours(0,0,0,0),(n=(0,o.startOfISOWeekYear)(u)).setDate(n.getDate()+s),n};var r=n(62947),a=n(96724),o=n(23966),i=n(68388)},58072:function(e,t,n){"use strict";t.setMilliseconds=function(e,t){let n=(0,r.toDate)(e);return n.setMilliseconds(t),n};var r=n(68388)},75052:function(e,t,n){"use strict";t.setMinutes=function(e,t){let n=(0,r.toDate)(e);return n.setMinutes(t),n};var r=n(68388)},83992:function(e,t,n){"use strict";t.setMonth=function(e,t){let n=(0,o.toDate)(e),i=n.getFullYear(),s=n.getDate(),u=(0,r.constructFrom)(e,0);u.setFullYear(i,t,15),u.setHours(0,0,0,0);let c=(0,a.getDaysInMonth)(u);return n.setMonth(t,Math.min(s,c)),n};var r=n(62947),a=n(11580),o=n(68388)},68686:function(e,t,n){"use strict";t.setQuarter=function(e,t){let n=(0,a.toDate)(e),o=Math.trunc(n.getMonth()/3)+1;return(0,r.setMonth)(n,n.getMonth()+3*(t-o))};var r=n(83992),a=n(68388)},71307:function(e,t,n){"use strict";t.setSeconds=function(e,t){let n=(0,r.toDate)(e);return n.setSeconds(t),n};var r=n(68388)},24545:function(e,t,n){"use strict";t.setWeek=function(e,t,n){let o=(0,a.toDate)(e),i=(0,r.getWeek)(o,n)-t;return o.setDate(o.getDate()-7*i),o};var r=n(75390),a=n(68388)},33362:function(e,t,n){"use strict";t.setWeekYear=function(e,t,n){var u,c,l,d,p,f,h,m;let v=(0,s.getDefaultOptions)(),g=null!==(m=null!==(h=null!==(f=null!==(p=null==n?void 0:n.firstWeekContainsDate)&&void 0!==p?p:null==n?void 0:null===(c=n.locale)||void 0===c?void 0:null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==f?f:v.firstWeekContainsDate)&&void 0!==h?h:null===(d=v.locale)||void 0===d?void 0:null===(l=d.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==m?m:1,y=(0,i.toDate)(e),b=(0,a.differenceInCalendarDays)(y,(0,o.startOfWeekYear)(y,n)),D=(0,r.constructFrom)(e,0);return D.setFullYear(t,0,g),D.setHours(0,0,0,0),(y=(0,o.startOfWeekYear)(D,n)).setDate(y.getDate()+b),y};var r=n(62947),a=n(96724),o=n(80800),i=n(68388),s=n(64643)},70654:function(e,t,n){"use strict";t.setYear=function(e,t){let n=(0,a.toDate)(e);return isNaN(+n)?(0,r.constructFrom)(e,NaN):(n.setFullYear(t),n)};var r=n(62947),a=n(68388)},17526:function(e,t,n){"use strict";t.startOfDay=function(e){let t=(0,r.toDate)(e);return t.setHours(0,0,0,0),t};var r=n(68388)},49089:function(e,t,n){"use strict";t.startOfDecade=function(e){let t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(10*Math.floor(n/10),0,1),t.setHours(0,0,0,0),t};var r=n(68388)},66786:function(e,t,n){"use strict";t.startOfHour=function(e){let t=(0,r.toDate)(e);return t.setMinutes(0,0,0),t};var r=n(68388)},36744:function(e,t,n){"use strict";t.startOfISOWeek=function(e){return(0,r.startOfWeek)(e,{weekStartsOn:1})};var r=n(55968)},23966:function(e,t,n){"use strict";t.startOfISOWeekYear=function(e){let t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,a.startOfISOWeek)(n)};var r=n(74509),a=n(36744),o=n(62947)},81123:function(e,t,n){"use strict";t.startOfMinute=function(e){let t=(0,r.toDate)(e);return t.setSeconds(0,0),t};var r=n(68388)},77866:function(e,t,n){"use strict";t.startOfMonth=function(e){let t=(0,r.toDate)(e);return t.setDate(1),t.setHours(0,0,0,0),t};var r=n(68388)},81040:function(e,t,n){"use strict";t.startOfQuarter=function(e){let t=(0,r.toDate)(e),n=t.getMonth();return t.setMonth(n-n%3,1),t.setHours(0,0,0,0),t};var r=n(68388)},92393:function(e,t,n){"use strict";t.startOfSecond=function(e){let t=(0,r.toDate)(e);return t.setMilliseconds(0),t};var r=n(68388)},79945:function(e,t,n){"use strict";t.startOfToday=function(){return(0,r.startOfDay)(Date.now())};var r=n(17526)},60653:function(e,t){"use strict";t.startOfTomorrow=function(){let e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r+1),a.setHours(0,0,0,0),a}},55968:function(e,t,n){"use strict";t.startOfWeek=function(e,t){var n,o,i,s,u,c,l,d;let p=(0,a.getDefaultOptions)(),f=null!==(d=null!==(l=null!==(c=null!==(u=null==t?void 0:t.weekStartsOn)&&void 0!==u?u:null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(n=o.options)||void 0===n?void 0:n.weekStartsOn)&&void 0!==c?c:p.weekStartsOn)&&void 0!==l?l:null===(s=p.locale)||void 0===s?void 0:null===(i=s.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==d?d:0,h=(0,r.toDate)(e),m=h.getDay();return h.setDate(h.getDate()-((me.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,a=t.excludeDates,o=t.excludeDateIntervals,i=t.includeDates,s=t.includeDateIntervals,u=t.filterDate;return e9(e,{minDate:n,maxDate:r})||a&&a.some(function(t){return eK(e,t.date?t.date:t)})||o&&o.some(function(t){var n=t.start,r=t.end;return er.isWithinInterval(e,{start:n,end:r})})||i&&!i.some(function(t){return eK(e,t)})||s&&!s.some(function(t){var n=t.start,r=t.end;return er.isWithinInterval(e,{start:n,end:r})})||u&&!u(eY(e))||!1}function e0(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some(function(t){var n=t.start,r=t.end;return er.isWithinInterval(e,{start:n,end:r})}):n&&n.some(function(t){return eK(e,t.date?t.date:t)})||!1}function e1(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate;return e9(e,{minDate:B.startOfMonth(n),maxDate:Z.endOfMonth(r)})||a&&a.some(function(t){return eq(e,t)})||o&&!o.some(function(t){return eq(e,t)})||i&&!i(eY(e))||!1}function e8(e,t,n,r){var a=S.getYear(e),o=_.getMonth(e),i=S.getYear(t),s=_.getMonth(t),u=S.getYear(r);return a===i&&a===u?o<=n&&n<=s:a=n||ua:void 0}function e6(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate;return e9(e,{minDate:n,maxDate:r})||a&&a.some(function(t){return ez(e,t)})||o&&!o.some(function(t){return ez(e,t)})||i&&!i(eY(e))||!1}function e3(e,t,n){if(!o.isValid(t)||!o.isValid(n))return!1;var r=S.getYear(t),a=S.getYear(n);return r<=e&&a>=e}function e2(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate,s=new Date(e,0,1);return e9(s,{minDate:z.startOfYear(n),maxDate:U.endOfYear(r)})||a&&a.some(function(e){return eB(s,e)})||o&&!o.some(function(e){return eB(s,e)})||i&&!i(eY(s))||!1}function e4(e,t,n,r){var a=S.getYear(e),o=P.getQuarter(e),i=S.getYear(t),s=P.getQuarter(t),u=S.getYear(r);return a===i&&a===u?o<=n&&n<=s:a=n||ua:void 0}function e9(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&0>W.differenceInCalendarDays(e,n)||r&&W.differenceInCalendarDays(e,r)>0}function e5(e,t){return t.some(function(t){return k.getHours(t)===k.getHours(e)&&D.getMinutes(t)===D.getMinutes(e)&&b.getSeconds(t)===b.getSeconds(e)})}function e7(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,a=t.filterTime;return n&&e5(e,n)||r&&!e5(e,r)||a&&!a(e)||!1}function te(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw Error("Both minTime and maxTime props required");var a=eY();a=T.setHours(a,k.getHours(e)),a=I.setMinutes(a,D.getMinutes(e)),a=C.setSeconds(a,b.getSeconds(e));var o=eY();o=T.setHours(o,k.getHours(n)),o=I.setMinutes(o,D.getMinutes(n)),o=C.setSeconds(o,b.getSeconds(n));var i,s=eY();s=T.setHours(s,k.getHours(r)),s=I.setMinutes(s,D.getMinutes(r)),s=C.setSeconds(s,b.getSeconds(r));try{i=!er.isWithinInterval(a,{start:o,end:s})}catch(e){i=!1}return i}function tt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,a=v.subMonths(e,1);return n&&L.differenceInCalendarMonths(n,a)>0||r&&r.every(function(e){return L.differenceInCalendarMonths(e,a)>0})||!1}function tn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,a=d.addMonths(e,1);return n&&L.differenceInCalendarMonths(a,n)>0||r&&r.every(function(e){return L.differenceInCalendarMonths(a,e)>0})||!1}function tr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,a=y.subYears(e,1);return n&&R.differenceInCalendarYears(n,a)>0||r&&r.every(function(e){return R.differenceInCalendarYears(e,a)>0})||!1}function ta(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,a=f.addYears(e,1);return n&&R.differenceInCalendarYears(a,n)>0||r&&r.every(function(e){return R.differenceInCalendarYears(a,e)>0})||!1}function to(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter(function(e){return W.differenceInCalendarDays(e,t)>=0});return x.min(r)}return n?x.min(n):t}function ti(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter(function(e){return 0>=W.differenceInCalendarDays(e,t)});return F.max(r)}return n?F.max(n):t}function ts(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,o=e.length;r1&&void 0!==arguments[1]?arguments[1]:12,n=Math.ceil(S.getYear(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function tl(e){var t=e.getSeconds(),n=e.getMilliseconds();return ea.toDate(e.getTime()-1e3*t-n)}function td(e){if(!a.isDate(e))throw Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function tp(e,t){if(!a.isDate(e)||!a.isDate(t))throw Error("Invalid date received");var n=td(e),r=td(t);return en.isBefore(n,r)}var tf=function(e){function n(e){ew(this,n),e_(r=ev(this,n,[e]),"renderOptions",function(){var e=r.props.year,t=r.state.yearsList.map(function(t){return ef.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":e===t?"true":void 0},e===t?ef.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)}),n=r.props.minDate?S.getYear(r.props.minDate):null,a=r.props.maxDate?S.getYear(r.props.maxDate):null;return a&&r.state.yearsList.find(function(e){return e===a})||t.unshift(ef.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},ef.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find(function(e){return e===n})||t.push(ef.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},ef.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t}),e_(r,"onChange",function(e){r.props.onChange(e)}),e_(r,"handleClickOutside",function(){r.props.onCancel()}),e_(r,"shiftYears",function(e){var t=r.state.yearsList.map(function(t){return t+e});r.setState({yearsList:t})}),e_(r,"incrementYears",function(){return r.shiftYears(1)}),e_(r,"decrementYears",function(){return r.shiftYears(-1)});var r,a=e.yearDropdownItemNumber,o=e.scrollableYearDropdown;return r.state={yearsList:function(e,t,n,r){for(var a=[],o=0;o<2*t+1;o++){var i=e+t-o,s=!0;n&&(s=S.getYear(n)<=i),r&&s&&(s=S.getYear(r)>=i),s&&a.push(i)}return a}(r.props.year,a||(o?10:5),r.props.minDate,r.props.maxDate)},r.dropdownRef=t.createRef(),r}return eS(n,e),eO(n,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find(function(e){return e.ariaSelected}):null;e.scrollTop=n?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}}},{key:"render",value:function(){var e=r.clsx({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return ef.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}])}(ef.default.Component),th=eh.default(tf),tm=function(e){function t(){var e;ew(this,t);for(var n=arguments.length,r=Array(n),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},r=!1;0===e.getTabIndex()&&!n.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(r=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(r=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(r=!0),e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()&&(r=!1),e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()&&(r=!1)),r&&(null===(t=e.dayEl.current)||void 0===t||t.focus({preventScroll:!0}))}),e_(e,"renderDayContents",function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(M.getDate(e.props.day),e.props.day):M.getDate(e.props.day)}),e_(e,"render",function(){return ef.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.props.usePointerEvent?void 0:e.handleMouseEnter,onPointerEnter:e.props.usePointerEvent?e.handleMouseEnter:void 0,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option",title:e.getTitle(),"aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()||e.isInRange()},e.renderDayContents(),""!==e.getTitle()&&ef.default.createElement("span",{className:"overlay"},e.getTitle()))}),e}return eS(t,e),eO(t,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}])}(ef.default.Component),tM=function(e){function t(){var e;ew(this,t);for(var n=arguments.length,r=Array(n),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&eK(e.props.date,e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(n=!0)),n&&e.weekNumberEl.current&&e.weekNumberEl.current.focus({preventScroll:!0})}),e}return eS(t,e),eO(t,[{key:"componentDidMount",value:function(){this.handleFocusWeekNumber()}},{key:"componentDidUpdate",value:function(e){this.handleFocusWeekNumber(e)}},{key:"render",value:function(){var e=this.props,t=e.weekNumber,n=e.ariaLabelPrefix,a=e.onClick,o={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!a,"react-datepicker__week-number--selected":!!a&&eK(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return ef.default.createElement("div",{ref:this.weekNumberEl,className:r.clsx(o),"aria-label":"".concat(void 0===n?"week ":n," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)}}],[{key:"defaultProps",get:function(){return{ariaLabelPrefix:"week "}}}])}(ef.default.Component),tO=function(e){function t(){var e;ew(this,t);for(var n=arguments.length,r=Array(n),a=0;a=6,c=!n&&!e.isWeekInMonth(o);if(u||c){if(!e.props.peekNextMonth)break;a=!0}}return t}),e_(e,"onMonthClick",function(t,n){var r=j.setMonth(e.props.day,n);e1(r,e.props)||e.handleDayClick(eR(r),t)}),e_(e,"onMonthMouseEnter",function(t){var n=j.setMonth(e.props.day,t);e1(n,e.props)||e.handleDayMouseEnter(eR(n))}),e_(e,"handleMonthNavigation",function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())}),e_(e,"onMonthKeyDown",function(t,n){var r=e.props,a=r.selected,o=r.preSelection,i=r.disabledKeyboardNavigation,s=r.showTwoColumnMonthYearPicker,u=r.showFourColumnMonthYearPicker,c=r.setPreSelection,l=r.handleOnMonthKeyDown,p=t.key;if("Tab"!==p&&t.preventDefault(),!i){var f=u?tS:s?t_:tP,h=tE[f].verticalNavigationOffset,m=tE[f].grid;switch(p){case"Enter":e.onMonthClick(t,n),c(a);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,d.addMonths(o,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,v.subMonths(o,1));break;case"ArrowUp":e.handleMonthNavigation(m[0].includes(n)?n+12-h:n-h,v.subMonths(o,h));break;case"ArrowDown":e.handleMonthNavigation(m[m.length-1].includes(n)?n-12+h:n+h,d.addMonths(o,h))}}l&&l(t)}),e_(e,"onQuarterClick",function(t,n){var r=Y.setQuarter(e.props.day,n);e6(r,e.props)||e.handleDayClick(eA(r),t)}),e_(e,"onQuarterMouseEnter",function(t){var n=Y.setQuarter(e.props.day,t);e6(n,e.props)||e.handleDayMouseEnter(eA(n))}),e_(e,"handleQuarterNavigation",function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.QUARTER_REFS[t-1].current&&e.QUARTER_REFS[t-1].current.focus())}),e_(e,"onQuarterKeyDown",function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onQuarterClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleQuarterNavigation(4===n?1:n+1,p.addQuarters(e.props.preSelection,1));break;case"ArrowLeft":e.handleQuarterNavigation(1===n?4:n-1,g.subQuarters(e.props.preSelection,1))}}),e_(e,"isMonthDisabled",function(t){var n=e.props,r=n.day,a=n.minDate,o=n.maxDate,i=n.excludeDates,s=n.includeDates,u=j.setMonth(r,t);return(a||o||i||s)&&e1(u,e.props)}),e_(e,"getMonthClassNames",function(t){var n=e.props,a=n.day,o=n.startDate,i=n.endDate,s=n.selected,u=n.preSelection,c=n.monthClassName,l=c?c(j.setMonth(a,t)):void 0;return r.clsx("react-datepicker__month-text","react-datepicker__month-".concat(t),l,{"react-datepicker__month-text--disabled":e.isMonthDisabled(t),"react-datepicker__month-text--selected":e.isSelectedMonth(a,t,s),"react-datepicker__month-text--keyboard-selected":!e.props.disabledKeyboardNavigation&&e.isSelectedMonth(a,t,u),"react-datepicker__month-text--in-selecting-range":e.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":e8(o,i,t,a),"react-datepicker__month-text--range-start":e.isRangeStartMonth(t),"react-datepicker__month-text--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--selecting-range-start":e.isSelectingMonthRangeStart(t),"react-datepicker__month-text--selecting-range-end":e.isSelectingMonthRangeEnd(t),"react-datepicker__month-text--today":e.isCurrentMonth(a,t)})}),e_(e,"getTabIndex",function(t){var n=_.getMonth(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"}),e_(e,"getQuarterTabIndex",function(t){var n=P.getQuarter(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"}),e_(e,"getAriaLabel",function(t){var n=e.props,r=n.chooseDayAriaLabelPrefix,a=n.disabledDayAriaLabelPrefix,o=n.day,i=n.locale,s=j.setMonth(o,t),u=e.isDisabled(s)||e.isExcluded(s)?void 0===a?"Not available":a:void 0===r?"Choose":r;return"".concat(u," ").concat(ex(s,"MMMM yyyy",i))}),e_(e,"getQuarterClassNames",function(t){var n=e.props,a=n.day,o=n.startDate,i=n.endDate,s=n.selected,u=n.minDate,c=n.maxDate,l=n.preSelection,d=n.disabledKeyboardNavigation;return r.clsx("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":(u||c)&&e6(Y.setQuarter(a,t),e.props),"react-datepicker__quarter-text--selected":e.isSelectedQuarter(a,t,s),"react-datepicker__quarter-text--keyboard-selected":!d&&e.isSelectedQuarter(a,t,l),"react-datepicker__quarter-text--in-selecting-range":e.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":e4(o,i,t,a),"react-datepicker__quarter-text--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter-text--range-end":e.isRangeEndQuarter(t)})}),e_(e,"getMonthContent",function(t){var n=e.props,r=n.showFullMonthYearPicker,a=n.renderMonthContent,o=n.locale,i=n.day,s=eJ(t,o),u=eG(t,o);return a?a(t,s,u,i):r?u:s}),e_(e,"getQuarterContent",function(t){var n,r=e.props,a=r.renderQuarterContent,o=(n=r.locale,ex(Y.setQuarter(eY(),t),"QQQ",n));return a?a(t,o):o}),e_(e,"renderMonths",function(){var t=e.props,n=t.showTwoColumnMonthYearPicker,r=t.showFourColumnMonthYearPicker,a=t.day,o=t.selected;return tE[r?tS:n?t_:tP].grid.map(function(t,n){return ef.default.createElement("div",{className:"react-datepicker__month-wrapper",key:n},t.map(function(t,n){return ef.default.createElement("div",{ref:e.MONTH_REFS[t],key:n,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){" "===n.key&&(n.preventDefault(),n.key="Enter"),e.onMonthKeyDown(n,t)},onMouseEnter:e.props.usePointerEvent?void 0:function(){return e.onMonthMouseEnter(t)},onPointerEnter:e.props.usePointerEvent?function(){return e.onMonthMouseEnter(t)}:void 0,tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),"aria-disabled":e.isMonthDisabled(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(a,t)?"date":void 0,"aria-selected":e.isSelectedMonth(a,t,o)},e.getMonthContent(t))}))})}),e_(e,"renderQuarters",function(){var t=e.props,n=t.day,r=t.selected;return ef.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map(function(t,a){return ef.default.createElement("div",{key:a,ref:e.QUARTER_REFS[a],role:"option",onClick:function(n){e.onQuarterClick(n,t)},onKeyDown:function(n){e.onQuarterKeyDown(n,t)},onMouseEnter:e.props.usePointerEvent?void 0:function(){return e.onQuarterMouseEnter(t)},onPointerEnter:e.props.usePointerEvent?function(){return e.onQuarterMouseEnter(t)}:void 0,className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(n,t,r),tabIndex:e.getQuarterTabIndex(t),"aria-current":e.isCurrentQuarter(n,t)?"date":void 0},e.getQuarterContent(t))}))}),e_(e,"getClassNames",function(){var t=e.props,n=t.selectingDate,a=t.selectsStart,o=t.selectsEnd,i=t.showMonthYearPicker,s=t.showQuarterYearPicker,u=t.showWeekPicker;return r.clsx("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(a||o)},{"react-datepicker__monthPicker":i},{"react-datepicker__quarterPicker":s},{"react-datepicker__weekPicker":u})}),e}return eS(t,e),eO(t,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,a=e.ariaLabelPrefix,o=void 0===a?"Month ":a,i=o?o.trim()+" ":"";return ef.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(i).concat(ex(r,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}])}(ef.default.Component),tI=function(e){function t(){var e;ew(this,t);for(var n=arguments.length,r=Array(n),a=0;a=o?n.updateFocusOnPaginate(Math.abs(o-(e-i))):n.YEAR_REFS[e-i].current.focus())}),e_(n,"isSameDay",function(e,t){return eK(e,t)}),e_(n,"isCurrentYear",function(e){return e===S.getYear(eY())}),e_(n,"isRangeStart",function(e){return n.props.startDate&&n.props.endDate&&eB(N.setYear(eY(),e),n.props.startDate)}),e_(n,"isRangeEnd",function(e){return n.props.startDate&&n.props.endDate&&eB(N.setYear(eY(),e),n.props.endDate)}),e_(n,"isInRange",function(e){return e3(e,n.props.startDate,n.props.endDate)}),e_(n,"isInSelectingRange",function(e){var t=n.props,r=t.selectsStart,a=t.selectsEnd,o=t.selectsRange,i=t.startDate,s=t.endDate;return!(!(r||a||o)||!n.selectingDate())&&(r&&s?e3(e,n.selectingDate(),s):(a&&i||!(!o||!i||s))&&e3(e,i,n.selectingDate()))}),e_(n,"isSelectingRangeStart",function(e){if(!n.isInSelectingRange(e))return!1;var t=n.props,r=t.startDate,a=t.selectsStart;return eB(N.setYear(eY(),e),a?n.selectingDate():r)}),e_(n,"isSelectingRangeEnd",function(e){if(!n.isInSelectingRange(e))return!1;var t=n.props,r=t.endDate,a=t.selectsEnd,o=t.selectsRange;return eB(N.setYear(eY(),e),a||o?n.selectingDate():r)}),e_(n,"isKeyboardSelected",function(e){var t=eH(N.setYear(n.props.date,e));return!n.props.disabledKeyboardNavigation&&!n.props.inline&&!eK(t,eH(n.props.selected))&&eK(t,eH(n.props.preSelection))}),e_(n,"onYearClick",function(e,t){var r=n.props.date;n.handleYearClick(eH(N.setYear(r,t)),e)}),e_(n,"onYearKeyDown",function(e,t){var r=e.key,a=n.props,o=a.date,i=a.yearItemNumber,s=a.handleOnKeyDown;if("Tab"!==r&&e.preventDefault(),!n.props.disabledKeyboardNavigation)switch(r){case"Enter":n.onYearClick(e,t),n.props.setPreSelection(n.props.selected);break;case"ArrowRight":n.handleYearNavigation(t+1,f.addYears(n.props.preSelection,1));break;case"ArrowLeft":n.handleYearNavigation(t-1,y.subYears(n.props.preSelection,1));break;case"ArrowUp":var u=tc(o,i).startPeriod,c=3,l=t-3;if(l=u&&tp){var v=i%h;t<=p&&t>p-v?h=v:h+=v,m=t+h}n.handleYearNavigation(m,f.addYears(n.props.preSelection,h))}s&&s(e)}),e_(n,"getYearClassNames",function(e){var t=n.props,a=t.date,o=t.minDate,i=t.maxDate,s=t.selected,u=t.excludeDates,c=t.includeDates,l=t.filterDate,d=t.yearClassName;return r.clsx("react-datepicker__year-text","react-datepicker__year-".concat(e),d?d(N.setYear(a,e)):void 0,{"react-datepicker__year-text--selected":e===S.getYear(s),"react-datepicker__year-text--disabled":(o||i||u||c||l)&&e2(e,n.props),"react-datepicker__year-text--keyboard-selected":n.isKeyboardSelected(e),"react-datepicker__year-text--range-start":n.isRangeStart(e),"react-datepicker__year-text--range-end":n.isRangeEnd(e),"react-datepicker__year-text--in-range":n.isInRange(e),"react-datepicker__year-text--in-selecting-range":n.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":n.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":n.isSelectingRangeEnd(e),"react-datepicker__year-text--today":n.isCurrentYear(e)})}),e_(n,"getYearTabIndex",function(e){return n.props.disabledKeyboardNavigation?"-1":e===S.getYear(n.props.preSelection)?"0":"-1"}),e_(n,"getYearContainerClassNames",function(){var e=n.props,t=e.selectingDate,a=e.selectsStart,o=e.selectsEnd,i=e.selectsRange;return r.clsx("react-datepicker__year",{"react-datepicker__year--selecting-range":t&&(a||o||i)})}),e_(n,"getYearContent",function(e){return n.props.renderYearContent?n.props.renderYearContent(e):e}),n}return eS(t,e),eO(t,[{key:"render",value:function(){for(var e=this,t=[],n=this.props,r=n.date,a=n.yearItemNumber,o=n.onYearMouseEnter,i=n.onYearMouseLeave,s=tc(r,a),u=s.startPeriod,c=s.endPeriod,l=function(n){t.push(ef.default.createElement("div",{ref:e.YEAR_REFS[n-u],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.onYearKeyDown(t,n)},tabIndex:e.getYearTabIndex(n),className:e.getYearClassNames(n),onMouseEnter:e.props.usePointerEvent?void 0:function(e){return o(e,n)},onPointerEnter:e.props.usePointerEvent?function(e){return o(e,n)}:void 0,onMouseLeave:e.props.usePointerEvent?void 0:function(e){return i(e,n)},onPointerLeave:e.props.usePointerEvent?function(e){return i(e,n)}:void 0,key:n,"aria-current":e.isCurrentYear(n)?"date":void 0},e.getYearContent(n)))},d=u;d<=c;d++)l(d);return ef.default.createElement("div",{className:this.getYearContainerClassNames()},ef.default.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))}}])}(ef.default.Component),tj=function(e){function t(e){var n;return ew(this,t),e_(n=ev(this,t,[e]),"onTimeChange",function(e){n.setState({time:e});var t=n.props.date,r=t instanceof Date&&!isNaN(t)?t:new Date;r.setHours(e.split(":")[0]),r.setMinutes(e.split(":")[1]),n.props.onChange(r)}),e_(n,"renderTimeInput",function(){var e=n.state.time,t=n.props,r=t.date,a=t.timeString,o=t.customTimeInput;return o?ef.default.cloneElement(o,{date:r,value:e,onChange:n.onTimeChange}):ef.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:e,onChange:function(e){n.onTimeChange(e.target.value||a)}})}),n.state={time:n.props.timeString},n}return eS(t,e),eO(t,[{key:"render",value:function(){return ef.default.createElement("div",{className:"react-datepicker__input-time-container"},ef.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),ef.default.createElement("div",{className:"react-datepicker-time__input-container"},ef.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.timeString!==t.time?{time:e.timeString}:null}}])}(ef.default.Component);function tY(e){var t=e.showTimeSelectOnly,n=e.showTime,r=e.className,a=e.children;return ef.default.createElement("div",{className:r,role:"dialog","aria-label":void 0!==t&&t?"Choose Time":"Choose Date".concat(void 0!==n&&n?" and Time":""),"aria-modal":"true"},a)}var tN=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],tx=function(e){function t(e){var n;return ew(this,t),e_(n=ev(this,t,[e]),"handleClickOutside",function(e){n.props.onClickOutside(e)}),e_(n,"setClickOutsideRef",function(){return n.containerRef.current}),e_(n,"handleDropdownFocus",function(e){(function(){var e=((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return tN.some(function(t){return e.indexOf(t)>=0})})(e.target)&&n.props.onDropdownFocus()}),e_(n,"getDateInView",function(){var e=n.props,t=e.preSelection,r=e.selected,a=e.openToDate,o=to(n.props),i=ti(n.props),s=eY();return a||r||t||(o&&en.isBefore(s,o)?o:i&&et.isAfter(s,i)?i:s)}),e_(n,"increaseMonth",function(){n.setState(function(e){var t=e.date;return{date:d.addMonths(t,1)}},function(){return n.handleMonthChange(n.state.date)})}),e_(n,"decreaseMonth",function(){n.setState(function(e){var t=e.date;return{date:v.subMonths(t,1)}},function(){return n.handleMonthChange(n.state.date)})}),e_(n,"handleDayClick",function(e,t,r){n.props.onSelect(e,t,r),n.props.setPreSelection&&n.props.setPreSelection(e)}),e_(n,"handleDayMouseEnter",function(e){n.setState({selectingDate:e}),n.props.onDayMouseEnter&&n.props.onDayMouseEnter(e)}),e_(n,"handleMonthMouseLeave",function(){n.setState({selectingDate:null}),n.props.onMonthMouseLeave&&n.props.onMonthMouseLeave()}),e_(n,"handleYearMouseEnter",function(e,t){n.setState({selectingDate:N.setYear(eY(),t)}),n.props.onYearMouseEnter&&n.props.onYearMouseEnter(e,t)}),e_(n,"handleYearMouseLeave",function(e,t){n.props.onYearMouseLeave&&n.props.onYearMouseLeave(e,t)}),e_(n,"handleYearChange",function(e){n.props.onYearChange&&(n.props.onYearChange(e),n.setState({isRenderAriaLiveMessage:!0})),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)}),e_(n,"handleMonthChange",function(e){n.handleCustomMonthChange(e),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)}),e_(n,"handleCustomMonthChange",function(e){n.props.onMonthChange&&(n.props.onMonthChange(e),n.setState({isRenderAriaLiveMessage:!0}))}),e_(n,"handleMonthYearChange",function(e){n.handleYearChange(e),n.handleMonthChange(e)}),e_(n,"changeYear",function(e){n.setState(function(t){var n=t.date;return{date:N.setYear(n,e)}},function(){return n.handleYearChange(n.state.date)})}),e_(n,"changeMonth",function(e){n.setState(function(t){var n=t.date;return{date:j.setMonth(n,e)}},function(){return n.handleMonthChange(n.state.date)})}),e_(n,"changeMonthYear",function(e){n.setState(function(t){var n=t.date;return{date:N.setYear(j.setMonth(n,_.getMonth(e)),S.getYear(e))}},function(){return n.handleMonthYearChange(n.state.date)})}),e_(n,"header",function(){var e=eL(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,n.props.locale,n.props.calendarStartDay),t=[];return n.props.showWeekNumbers&&t.push(ef.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},n.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map(function(t){var a=c.addDays(e,t),o=n.formatWeekday(a,n.props.locale),i=n.props.weekDayClassName?n.props.weekDayClassName(a):void 0;return ef.default.createElement("div",{key:t,"aria-label":ex(a,"EEEE",n.props.locale),className:r.clsx("react-datepicker__day-name",i)},o)}))}),e_(n,"formatWeekday",function(e,t){return n.props.formatWeekDay?(0,n.props.formatWeekDay)(ex(e,"EEEE",t)):n.props.useWeekdaysShort?ex(e,"EEE",t):ex(e,"EEEEEE",t)}),e_(n,"decreaseYear",function(){n.setState(function(e){var t=e.date;return{date:y.subYears(t,n.props.showYearPicker?n.props.yearItemNumber:1)}},function(){return n.handleYearChange(n.state.date)})}),e_(n,"clearSelectingDate",function(){n.setState({selectingDate:null})}),e_(n,"renderPreviousButton",function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=tr(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,a=void 0===r?12:r,o=tc(eH(y.subYears(e,a)),a).endPeriod,i=n&&S.getYear(n);return i&&i>o||!1}(n.state.date,n.props);break;case n.props.showQuarterYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,a=z.startOfYear(e),o=g.subQuarters(a,1);return n&&H.differenceInCalendarQuarters(n,o)>0||r&&r.every(function(e){return H.differenceInCalendarQuarters(e,o)>0})||!1}(n.state.date,n.props);break;default:e=tt(n.state.date,n.props)}if((n.props.forceShowMonthNavigation||n.props.showDisabledMonthNavigation||!e)&&!n.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],r=n.decreaseMonth;(n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker)&&(r=n.decreaseYear),e&&n.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),r=null);var a=n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker,o=n.props,i=o.previousMonthButtonLabel,s=o.previousYearButtonLabel,u=n.props,c=u.previousMonthAriaLabel,l=u.previousYearAriaLabel;return ef.default.createElement("button",{type:"button",className:t.join(" "),onClick:r,onKeyDown:n.props.handleOnKeyDown,"aria-label":a?void 0===l?"string"==typeof s?s:"Previous Year":l:void 0===c?"string"==typeof i?i:"Previous Month":c},ef.default.createElement("span",{className:"react-datepicker__navigation-icon react-datepicker__navigation-icon--previous"},a?n.props.previousYearButtonLabel:n.props.previousMonthButtonLabel))}}}),e_(n,"increaseYear",function(){n.setState(function(e){var t=e.date;return{date:f.addYears(t,n.props.showYearPicker?n.props.yearItemNumber:1)}},function(){return n.handleYearChange(n.state.date)})}),e_(n,"renderNextButton",function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=ta(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,a=void 0===r?12:r,o=tc(f.addYears(e,a),a).startPeriod,i=n&&S.getYear(n);return i&&i1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,a=U.endOfYear(e),o=p.addQuarters(a,1);return n&&H.differenceInCalendarQuarters(o,n)>0||r&&r.every(function(e){return H.differenceInCalendarQuarters(o,e)>0})||!1}(n.state.date,n.props);break;default:e=tn(n.state.date,n.props)}if((n.props.forceShowMonthNavigation||n.props.showDisabledMonthNavigation||!e)&&!n.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--next"];n.props.showTimeSelect&&t.push("react-datepicker__navigation--next--with-time"),n.props.todayButton&&t.push("react-datepicker__navigation--next--with-today-button");var r=n.increaseMonth;(n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker)&&(r=n.increaseYear),e&&n.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--next--disabled"),r=null);var a=n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker,o=n.props,i=o.nextMonthButtonLabel,s=o.nextYearButtonLabel,u=n.props,c=u.nextMonthAriaLabel,l=u.nextYearAriaLabel;return ef.default.createElement("button",{type:"button",className:t.join(" "),onClick:r,onKeyDown:n.props.handleOnKeyDown,"aria-label":a?void 0===l?"string"==typeof s?s:"Next Year":l:void 0===c?"string"==typeof i?i:"Next Month":c},ef.default.createElement("span",{className:"react-datepicker__navigation-icon react-datepicker__navigation-icon--next"},a?n.props.nextYearButtonLabel:n.props.nextMonthButtonLabel))}}}),e_(n,"renderCurrentMonth",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=["react-datepicker__current-month"];return n.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),n.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),n.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),ef.default.createElement("div",{className:t.join(" ")},ex(e,n.props.dateFormat,n.props.locale))}),e_(n,"renderYearDropdown",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showYearDropdown&&!e)return ef.default.createElement(tm,{adjustDateOnChange:n.props.adjustDateOnChange,date:n.state.date,onSelect:n.props.onSelect,setOpen:n.props.setOpen,dropdownMode:n.props.dropdownMode,onChange:n.changeYear,minDate:n.props.minDate,maxDate:n.props.maxDate,year:S.getYear(n.state.date),scrollableYearDropdown:n.props.scrollableYearDropdown,yearDropdownItemNumber:n.props.yearDropdownItemNumber})}),e_(n,"renderMonthDropdown",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthDropdown&&!e)return ef.default.createElement(ty,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,onChange:n.changeMonth,month:_.getMonth(n.state.date),useShortMonthInDropdown:n.props.useShortMonthInDropdown})}),e_(n,"renderMonthYearDropdown",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthYearDropdown&&!e)return ef.default.createElement(tk,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,dateFormat:n.props.dateFormat,onChange:n.changeMonthYear,minDate:n.props.minDate,maxDate:n.props.maxDate,date:n.state.date,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown})}),e_(n,"handleTodayButtonClick",function(e){n.props.onSelect(eQ(),e),n.props.setPreSelection&&n.props.setPreSelection(eQ())}),e_(n,"renderTodayButton",function(){if(n.props.todayButton&&!n.props.showTimeSelectOnly)return ef.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return n.handleTodayButtonClick(e)}},n.props.todayButton)}),e_(n,"renderDefaultHeader",function(e){var t=e.monthDate,r=e.i;return ef.default.createElement("div",{className:"react-datepicker__header ".concat(n.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},n.renderCurrentMonth(t),ef.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(n.props.dropdownMode),onFocus:n.handleDropdownFocus},n.renderMonthDropdown(0!==r),n.renderMonthYearDropdown(0!==r),n.renderYearDropdown(0!==r)),ef.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))}),e_(n,"renderCustomHeader",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,r=e.i;if(n.props.showTimeSelect&&!n.state.monthContainer||n.props.showTimeSelectOnly)return null;var a=tt(n.state.date,n.props),o=tn(n.state.date,n.props),i=tr(n.state.date,n.props),s=ta(n.state.date,n.props),u=!n.props.showMonthYearPicker&&!n.props.showQuarterYearPicker&&!n.props.showYearPicker;return ef.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:n.props.onDropdownFocus},n.props.renderCustomHeader(eb(eb({},n.state),{},{customHeaderCount:r,monthDate:t,changeMonth:n.changeMonth,changeYear:n.changeYear,decreaseMonth:n.decreaseMonth,increaseMonth:n.increaseMonth,decreaseYear:n.decreaseYear,increaseYear:n.increaseYear,prevMonthButtonDisabled:a,nextMonthButtonDisabled:o,prevYearButtonDisabled:i,nextYearButtonDisabled:s})),u&&ef.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))}),e_(n,"renderYearHeader",function(e){var t=e.monthDate,r=n.props,a=r.showYearPicker,o=tc(t,r.yearItemNumber),i=o.startPeriod,s=o.endPeriod;return ef.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},a?"".concat(i," - ").concat(s):S.getYear(t))}),e_(n,"renderHeader",function(e){switch(!0){case void 0!==n.props.renderCustomHeader:return n.renderCustomHeader(e);case n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker:return n.renderYearHeader(e);default:return n.renderDefaultHeader(e)}}),e_(n,"renderMonths",function(){var e;if(!n.props.showTimeSelectOnly&&!n.props.showYearPicker){for(var t=[],r=n.props.showPreviousMonths?n.props.monthsShown-1:0,a=n.props.showMonthYearPicker||n.props.showQuarterYearPicker?f.addYears(n.state.date,r):v.subMonths(n.state.date,r),o=null!==(e=n.props.monthSelectedIn)&&void 0!==e?e:r,i=0;i0;t.push(ef.default.createElement("div",{key:c,ref:function(e){n.monthContainer=e},className:"react-datepicker__month-container"},n.renderHeader({monthDate:u,i:i}),ef.default.createElement(tC,{chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,ariaLabelPrefix:n.props.monthAriaLabelPrefix,onChange:n.changeMonthYear,day:u,dayClassName:n.props.dayClassName,calendarStartDay:n.props.calendarStartDay,monthClassName:n.props.monthClassName,onDayClick:n.handleDayClick,handleOnKeyDown:n.props.handleOnDayKeyDown,handleOnMonthKeyDown:n.props.handleOnKeyDown,usePointerEvent:n.props.usePointerEvent,onDayMouseEnter:n.handleDayMouseEnter,onMouseLeave:n.handleMonthMouseLeave,onWeekSelect:n.props.onWeekSelect,orderInDisplay:i,formatWeekNumber:n.props.formatWeekNumber,locale:n.props.locale,minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,highlightDates:n.props.highlightDates,holidays:n.props.holidays,selectingDate:n.state.selectingDate,includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,inline:n.props.inline,shouldFocusDayInline:n.props.shouldFocusDayInline,fixedHeight:n.props.fixedHeight,filterDate:n.props.filterDate,preSelection:n.props.preSelection,setPreSelection:n.props.setPreSelection,selected:n.props.selected,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,selectsMultiple:n.props.selectsMultiple,selectedDates:n.props.selectedDates,showWeekNumbers:n.props.showWeekNumbers,startDate:n.props.startDate,endDate:n.props.endDate,peekNextMonth:n.props.peekNextMonth,setOpen:n.props.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,isInputFocused:n.props.isInputFocused,containerRef:n.containerRef,monthShowsDuplicateDaysEnd:l,monthShowsDuplicateDaysStart:p})))}return t}}),e_(n,"renderYears",function(){if(!n.props.showTimeSelectOnly)return n.props.showYearPicker?ef.default.createElement("div",{className:"react-datepicker__year--container"},n.renderHeader({monthDate:n.state.date}),ef.default.createElement(tT,eP({onDayClick:n.handleDayClick,selectingDate:n.state.selectingDate,clearSelectingDate:n.clearSelectingDate,date:n.state.date},n.props,{onYearMouseEnter:n.handleYearMouseEnter,onYearMouseLeave:n.handleYearMouseLeave}))):void 0}),e_(n,"renderTimeSection",function(){if(n.props.showTimeSelect&&(n.state.monthContainer||n.props.showTimeSelectOnly))return ef.default.createElement(tI,{selected:n.props.selected,openToDate:n.props.openToDate,onChange:n.props.onTimeChange,timeClassName:n.props.timeClassName,format:n.props.timeFormat,includeTimes:n.props.includeTimes,intervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,todayButton:n.props.todayButton,showMonthDropdown:n.props.showMonthDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,monthRef:n.state.monthContainer,injectTimes:n.props.injectTimes,locale:n.props.locale,handleOnKeyDown:n.props.handleOnKeyDown,showTimeSelectOnly:n.props.showTimeSelectOnly})}),e_(n,"renderInputTimeSection",function(){var e=new Date(n.props.selected),t=eN(e)&&n.props.selected?"".concat(tu(e.getHours()),":").concat(tu(e.getMinutes())):"";if(n.props.showTimeInput)return ef.default.createElement(tj,{date:e,timeString:t,timeInputLabel:n.props.timeInputLabel,onChange:n.props.onTimeChange,customTimeInput:n.props.customTimeInput})}),e_(n,"renderAriaLiveRegion",function(){var e,t=tc(n.state.date,n.props.yearItemNumber),r=t.startPeriod,a=t.endPeriod;return e=n.props.showYearPicker?"".concat(r," - ").concat(a):n.props.showMonthYearPicker||n.props.showQuarterYearPicker?S.getYear(n.state.date):"".concat(eG(_.getMonth(n.state.date),n.props.locale)," ").concat(S.getYear(n.state.date)),ef.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},n.state.isRenderAriaLiveMessage&&e)}),e_(n,"renderChildren",function(){if(n.props.children)return ef.default.createElement("div",{className:"react-datepicker__children-container"},n.props.children)}),n.containerRef=ef.default.createRef(),n.state={date:n.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},n}return eS(t,e),eO(t,[{key:"componentDidMount",value:function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))}},{key:"componentDidUpdate",value:function(e){var t=this;if(!this.props.preSelection||eK(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!eK(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var n=!eq(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return n&&t.handleCustomMonthChange(t.state.date)})}}},{key:"render",value:function(){var e=this.props.container||tY;return ef.default.createElement("div",{style:{display:"contents"},ref:this.containerRef},ef.default.createElement(e,{className:r.clsx("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:12}}}])}(ef.default.Component),tF=function(e){var t=e.icon,n=e.className,r=void 0===n?"":n,a=e.onClick,o="react-datepicker__calendar-icon";return ef.default.isValidElement(t)?ef.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(r),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof a&&a(e)}}):"string"==typeof t?ef.default.createElement("i",{className:"".concat(o," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:a}):ef.default.createElement("svg",{className:"".concat(o," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:a},ef.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},tW=function(e){function t(e){var n;return ew(this,t),(n=ev(this,t,[e])).el=document.createElement("div"),n}return eS(t,e),eO(t,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return em.default.createPortal(this.props.children,this.el)}}])}(ef.default.Component),tL=function(e){return!e.disabled&&-1!==e.tabIndex},tR=function(e){function t(e){var n;return ew(this,t),e_(n=ev(this,t,[e]),"getTabChildren",function(){return Array.prototype.slice.call(n.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(tL)}),e_(n,"handleFocusStart",function(){var e=n.getTabChildren();e&&e.length>1&&e[e.length-1].focus()}),e_(n,"handleFocusEnd",function(){var e=n.getTabChildren();e&&e.length>1&&e[0].focus()}),n.tabLoopRef=ef.default.createRef(),n}return eS(t,e),eO(t,[{key:"render",value:function(){return this.props.enableTabLoop?ef.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},ef.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,ef.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}])}(ef.default.Component),tH=function(e){function t(){return ew(this,t),ev(this,t,arguments)}return eS(t,e),eO(t,[{key:"render",value:function(){var e,t=this.props,n=t.className,a=t.wrapperClassName,o=t.hidePopper,i=t.popperComponent,s=t.targetComponent,u=t.enableTabLoop,c=t.popperOnKeyDown,l=t.portalId,d=t.portalHost,p=t.popperProps,f=t.showArrow;if(!o){var h=r.clsx("react-datepicker-popper",n);e=ef.default.createElement(tR,{enableTabLoop:u},ef.default.createElement("div",{ref:p.refs.setFloating,style:p.floatingStyles,className:h,"data-placement":p.placement,onKeyDown:c},i,f&&ef.default.createElement(el.FloatingArrow,{ref:p.arrowRef,context:p.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(e=ef.default.createElement(this.props.popperContainer,{},e)),l&&!o&&(e=ef.default.createElement(tW,{portalId:l,portalHost:d},e));var m=r.clsx("react-datepicker-wrapper",a);return ef.default.createElement(ef.default.Fragment,null,ef.default.createElement("div",{ref:p.refs.setReference,className:m},s),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0}}}])}(ef.default.Component),tA=function(e){var t=eb(eb({},e),{},{popperModifiers:e.popperModifiers||[],popperProps:e.popperProps||{},hidePopper:"boolean"!=typeof e.hidePopper||e.hidePopper}),n=ef.default.useRef(),r=el.useFloating(eb({open:!t.hidePopper,whileElementsMounted:el.autoUpdate,placement:t.popperPlacement,middleware:[el.flip({padding:15}),el.offset(10),el.arrow({element:n})].concat(eI(t.popperModifiers))},t.popperProps));return ef.default.createElement(tH,eP({},t,{popperProps:eb(eb({},r),{},{arrowRef:n})}))},tQ="react-datepicker-ignore-onclickoutside",tB=eh.default(tx),tq="Date input not valid.",tz=function(e){function t(e){var n;return ew(this,t),e_(n=ev(this,t,[e]),"getPreSelection",function(){return n.props.openToDate?n.props.openToDate:n.props.selectsEnd&&n.props.startDate?n.props.startDate:n.props.selectsStart&&n.props.endDate?n.props.endDate:eY()}),e_(n,"modifyHolidays",function(){var e;return null===(e=n.props.holidays)||void 0===e?void 0:e.reduce(function(e,t){var n=new Date(t.date);return o.isValid(n)?[].concat(eI(e),[eb(eb({},t),{},{date:n})]):e},[])}),e_(n,"calcInitialState",function(){var e,t=n.getPreSelection(),r=to(n.props),a=ti(n.props),o=r&&en.isBefore(t,A.startOfDay(r))?r:a&&et.isAfter(t,K.endOfDay(a))?a:t;return{open:n.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=n.props.selectsRange?n.props.startDate:n.props.selected)&&void 0!==e?e:o,highlightDates:ts(n.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}}),e_(n,"clearPreventFocusTimeout",function(){n.preventFocusTimeout&&clearTimeout(n.preventFocusTimeout)}),e_(n,"setFocus",function(){n.input&&n.input.focus&&n.input.focus({preventScroll:!0})}),e_(n,"setBlur",function(){n.input&&n.input.blur&&n.input.blur(),n.cancelFocusInput()}),e_(n,"setOpen",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.setState({open:e,preSelection:e&&n.state.open?n.state.preSelection:n.calcInitialState().preSelection,lastPreSelectChange:tV},function(){e||n.setState(function(e){return{focused:!!t&&e.focused}},function(){t||n.setBlur(),n.setState({inputValue:null})})})}),e_(n,"inputOk",function(){return a.isDate(n.state.preSelection)}),e_(n,"isCalendarOpen",function(){return void 0===n.props.open?n.state.open&&!n.props.disabled&&!n.props.readOnly:n.props.open}),e_(n,"handleFocus",function(e){n.state.preventFocus||(n.props.onFocus(e),n.props.preventOpenOnFocus||n.props.readOnly||n.setOpen(!0)),n.setState({focused:!0})}),e_(n,"sendFocusBackToInput",function(){n.preventFocusTimeout&&n.clearPreventFocusTimeout(),n.setState({preventFocus:!0},function(){n.preventFocusTimeout=setTimeout(function(){n.setFocus(),n.setState({preventFocus:!1})})})}),e_(n,"cancelFocusInput",function(){clearTimeout(n.inputFocusTimeout),n.inputFocusTimeout=null}),e_(n,"deferFocusInput",function(){n.cancelFocusInput(),n.inputFocusTimeout=setTimeout(function(){return n.setFocus()},1)}),e_(n,"handleDropdownFocus",function(){n.cancelFocusInput()}),e_(n,"handleBlur",function(e){(!n.state.open||n.props.withPortal||n.props.showTimeInput)&&n.props.onBlur(e),n.setState({focused:!1})}),e_(n,"handleCalendarClickOutside",function(e){n.props.inline||n.setOpen(!1),n.props.onClickOutside(e),n.props.withPortal&&e.preventDefault()}),e_(n,"handleChange",function(){for(var e=arguments.length,t=Array(e),r=0;r0&&(d=eo.parse(o,s.slice(0,o.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),eN(d)||(d=new Date(o))),eN(d)&&f?d:null));n.props.showTimeSelectOnly&&n.props.selected&&h&&!eK(h,n.props.selected)&&(h=ed.set(n.props.selected,{hours:k.getHours(h),minutes:D.getMinutes(h),seconds:b.getSeconds(h)})),!h&&a.target.value||n.setSelected(h,a,!0)}}),e_(n,"handleSelect",function(e,t,r){if(n.props.shouldCloseOnSelect&&!n.props.showTimeSelect&&n.sendFocusBackToInput(),n.props.onChangeRaw&&n.props.onChangeRaw(t),n.setSelected(e,t,!1,r),n.props.showDateSelect&&n.setState({isRenderAriaLiveMessage:!0}),!n.props.shouldCloseOnSelect||n.props.showTimeSelect)n.setPreSelection(e);else if(!n.props.inline){n.props.selectsRange||n.setOpen(!1);var a=n.props,o=a.startDate,i=a.endDate;!o||i||!n.props.swapRange&&tp(e,o)||n.setOpen(!1)}}),e_(n,"setSelected",function(e,t,r,a){var o=e;if(n.props.showYearPicker){if(null!==o&&e2(S.getYear(o),n.props))return}else if(n.props.showMonthYearPicker){if(null!==o&&e1(o,n.props))return}else if(null!==o&&e$(o,n.props))return;var i=n.props,s=i.onChange,u=i.selectsRange,c=i.startDate,l=i.endDate,d=i.selectsMultiple,p=i.selectedDates,f=i.minTime,h=i.swapRange;if(!eV(n.props.selected,o)||n.props.allowSameDay||u||d){if(null!==o&&(!n.props.selected||r&&(n.props.showTimeSelect||n.props.showTimeSelectOnly||n.props.showTimeInput)||(o=eW(o,{hour:k.getHours(n.props.selected),minute:D.getMinutes(n.props.selected),second:b.getSeconds(n.props.selected)})),r||!n.props.showTimeSelect&&!n.props.showTimeSelectOnly||f&&(o=eW(o,{hour:f.getHours(),minute:f.getMinutes(),second:f.getSeconds()})),n.props.inline||n.setState({preSelection:o}),n.props.focusSelectedMonth||n.setState({monthSelectedIn:a})),u){var m=c&&!l,v=c&&l;c||l?m&&s(null===o?[null,null]:tp(o,c)?h?[o,c]:[o,null]:[c,o],t):s([o,null],t),v&&s([o,null],t)}else s(d?null!=p&&p.length?p.some(function(e){return eK(e,o)})?p.filter(function(e){return!eK(e,o)}):[].concat(eI(p),[o]):[o]:o,t)}r||(n.props.onSelect(o,t),n.setState({inputValue:null}))}),e_(n,"setPreSelection",function(e){var t=void 0!==n.props.minDate,r=void 0!==n.props.maxDate,a=!0;if(e){var o=A.startOfDay(e);if(t&&r)a=eZ(e,n.props.minDate,n.props.maxDate);else if(t){var i=A.startOfDay(n.props.minDate);a=et.isAfter(e,i)||eV(o,i)}else if(r){var s=K.endOfDay(n.props.maxDate);a=en.isBefore(e,s)||eV(o,s)}}a&&n.setState({preSelection:e})}),e_(n,"toggleCalendar",function(){n.setOpen(!n.state.open)}),e_(n,"handleTimeChange",function(e){var t=n.props.selected?n.props.selected:n.getPreSelection(),r=n.props.selected?e:eW(t,{hour:k.getHours(e),minute:D.getMinutes(e)});n.setState({preSelection:r}),n.props.onChange(r),n.props.shouldCloseOnSelect&&(n.sendFocusBackToInput(),n.setOpen(!1)),n.props.showTimeInput&&n.setOpen(!0),(n.props.showTimeSelectOnly||n.props.showTimeSelect)&&n.setState({isRenderAriaLiveMessage:!0}),n.setState({inputValue:null})}),e_(n,"onInputClick",function(){n.props.disabled||n.props.readOnly||n.setOpen(!0),n.props.onInputClick()}),e_(n,"onInputKeyDown",function(e){n.props.onKeyDown(e);var t=e.key;if(n.state.open||n.props.inline||n.props.preventOpenOnFocus){if(n.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var r=n.props.showWeekPicker&&n.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':n.props.showFullMonthYearPicker||n.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',a=n.calendar.componentNode&&n.calendar.componentNode.querySelector(r);return void(a&&a.focus({preventScroll:!0}))}var o=eY(n.state.preSelection);"Enter"===t?(e.preventDefault(),n.inputOk()&&n.state.lastPreSelectChange===tV?(n.handleSelect(o,e),n.props.shouldCloseOnSelect||n.setPreSelection(o)):n.setOpen(!1)):"Escape"===t?(e.preventDefault(),n.sendFocusBackToInput(),n.setOpen(!1)):"Tab"===t&&n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:tq})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||n.onInputClick()}),e_(n,"onPortalKeyDown",function(e){"Escape"===e.key&&(e.preventDefault(),n.setState({preventFocus:!0},function(){n.setOpen(!1),setTimeout(function(){n.setFocus(),n.setState({preventFocus:!1})})}))}),e_(n,"onDayKeyDown",function(e){n.props.onKeyDown(e);var t,r=e.key,a=e.shiftKey,o=eY(n.state.preSelection);if("Enter"===r)e.preventDefault(),n.handleSelect(o,e),n.props.shouldCloseOnSelect||n.setPreSelection(o);else if("Escape"===r)e.preventDefault(),n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:tq});else if(!n.props.disabledKeyboardNavigation){switch(r){case"ArrowLeft":t=n.props.showWeekPicker?m.subWeeks(o,1):h.subDays(o,1);break;case"ArrowRight":t=n.props.showWeekPicker?l.addWeeks(o,1):c.addDays(o,1);break;case"ArrowUp":t=m.subWeeks(o,1);break;case"ArrowDown":t=l.addWeeks(o,1);break;case"PageUp":t=a?y.subYears(o,1):v.subMonths(o,1);break;case"PageDown":t=a?f.addYears(o,1):d.addMonths(o,1);break;case"Home":t=eL(o,n.props.locale,n.props.calendarStartDay);break;case"End":t=V.endOfWeek(o);break;default:t=null}if(!t)return void(n.props.onInputError&&n.props.onInputError({code:1,msg:tq}));if(e.preventDefault(),n.setState({lastPreSelectChange:tV}),n.props.adjustDateOnChange&&n.setSelected(t),n.setPreSelection(t),n.props.inline){var i=_.getMonth(o),s=_.getMonth(t),u=S.getYear(o),p=S.getYear(t);i!==s||u!==p?n.setState({shouldFocusDayInline:!0}):n.setState({shouldFocusDayInline:!1})}}}),e_(n,"onPopperKeyDown",function(e){"Escape"===e.key&&(e.preventDefault(),n.sendFocusBackToInput())}),e_(n,"onClearClick",function(e){e&&e.preventDefault&&e.preventDefault(),n.sendFocusBackToInput(),n.props.selectsRange?n.props.onChange([null,null],e):n.props.onChange(null,e),n.setState({inputValue:null})}),e_(n,"clear",function(){n.onClearClick()}),e_(n,"onScroll",function(e){"boolean"==typeof n.props.closeOnScroll&&n.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||n.setOpen(!1):"function"==typeof n.props.closeOnScroll&&n.props.closeOnScroll(e)&&n.setOpen(!1)}),e_(n,"renderCalendar",function(){return n.props.inline||n.isCalendarOpen()?ef.default.createElement(tB,{ref:function(e){n.calendar=e},locale:n.props.locale,calendarStartDay:n.props.calendarStartDay,chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,monthAriaLabelPrefix:n.props.monthAriaLabelPrefix,adjustDateOnChange:n.props.adjustDateOnChange,setOpen:n.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,dateFormat:n.props.dateFormatCalendar,useWeekdaysShort:n.props.useWeekdaysShort,formatWeekDay:n.props.formatWeekDay,dropdownMode:n.props.dropdownMode,selected:n.props.selected,preSelection:n.state.preSelection,onSelect:n.handleSelect,onWeekSelect:n.props.onWeekSelect,openToDate:n.props.openToDate,minDate:n.props.minDate,maxDate:n.props.maxDate,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,selectsMultiple:n.props.selectsMultiple,selectedDates:n.props.selectedDates,startDate:n.props.startDate,endDate:n.props.endDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,filterDate:n.props.filterDate,onClickOutside:n.handleCalendarClickOutside,formatWeekNumber:n.props.formatWeekNumber,highlightDates:n.state.highlightDates,holidays:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--holidays",n=new Map;return e.forEach(function(e){var r=e.date,o=e.holidayName;if(a.isDate(r)){var i=ex(r,"MM.dd.yyyy"),s=n.get(i)||{};if(!("className"in s)||s.className!==t||(u=s.holidayNames,c=[o],u.length!==c.length||!u.every(function(e,t){return e===c[t]}))){s.className=t;var u,c,l=s.holidayNames;s.holidayNames=l?[].concat(eI(l),[o]):[o],n.set(i,s)}}}),n}(n.modifyHolidays()),includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,includeTimes:n.props.includeTimes,injectTimes:n.props.injectTimes,inline:n.props.inline,shouldFocusDayInline:n.state.shouldFocusDayInline,peekNextMonth:n.props.peekNextMonth,showMonthDropdown:n.props.showMonthDropdown,showPreviousMonths:n.props.showPreviousMonths,useShortMonthInDropdown:n.props.useShortMonthInDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showWeekNumbers:n.props.showWeekNumbers,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,forceShowMonthNavigation:n.props.forceShowMonthNavigation,showDisabledMonthNavigation:n.props.showDisabledMonthNavigation,scrollableYearDropdown:n.props.scrollableYearDropdown,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown,todayButton:n.props.todayButton,weekLabel:n.props.weekLabel,outsideClickIgnoreClass:tQ,fixedHeight:n.props.fixedHeight,monthsShown:n.props.monthsShown,monthSelectedIn:n.state.monthSelectedIn,onDropdownFocus:n.handleDropdownFocus,onMonthChange:n.props.onMonthChange,onYearChange:n.props.onYearChange,dayClassName:n.props.dayClassName,weekDayClassName:n.props.weekDayClassName,monthClassName:n.props.monthClassName,timeClassName:n.props.timeClassName,showDateSelect:n.props.showDateSelect,showTimeSelect:n.props.showTimeSelect,showTimeSelectOnly:n.props.showTimeSelectOnly,onTimeChange:n.handleTimeChange,timeFormat:n.props.timeFormat,timeIntervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,className:n.props.calendarClassName,container:n.props.calendarContainer,yearItemNumber:n.props.yearItemNumber,yearDropdownItemNumber:n.props.yearDropdownItemNumber,previousMonthAriaLabel:n.props.previousMonthAriaLabel,previousMonthButtonLabel:n.props.previousMonthButtonLabel,nextMonthAriaLabel:n.props.nextMonthAriaLabel,nextMonthButtonLabel:n.props.nextMonthButtonLabel,previousYearAriaLabel:n.props.previousYearAriaLabel,previousYearButtonLabel:n.props.previousYearButtonLabel,nextYearAriaLabel:n.props.nextYearAriaLabel,nextYearButtonLabel:n.props.nextYearButtonLabel,timeInputLabel:n.props.timeInputLabel,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,renderCustomHeader:n.props.renderCustomHeader,popperProps:n.props.popperProps,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,onDayMouseEnter:n.props.onDayMouseEnter,onMonthMouseLeave:n.props.onMonthMouseLeave,onYearMouseEnter:n.props.onYearMouseEnter,onYearMouseLeave:n.props.onYearMouseLeave,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,showTimeInput:n.props.showTimeInput,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,excludeScrollbar:n.props.excludeScrollbar,handleOnKeyDown:n.props.onKeyDown,handleOnDayKeyDown:n.onDayKeyDown,isInputFocused:n.state.focused,customTimeInput:n.props.customTimeInput,setPreSelection:n.setPreSelection,usePointerEvent:n.props.usePointerEvent,yearClassName:n.props.yearClassName},n.props.children):null}),e_(n,"renderAriaLiveRegion",function(){var e,t=n.props,r=t.dateFormat,a=t.locale,o=n.props.showTimeInput||n.props.showTimeSelect?"PPPPp":"PPPP";return e=n.props.selectsRange?"Selected start date: ".concat(eF(n.props.startDate,{dateFormat:o,locale:a}),". ").concat(n.props.endDate?"End date: "+eF(n.props.endDate,{dateFormat:o,locale:a}):""):n.props.showTimeSelectOnly?"Selected time: ".concat(eF(n.props.selected,{dateFormat:r,locale:a})):n.props.showYearPicker?"Selected year: ".concat(eF(n.props.selected,{dateFormat:"yyyy",locale:a})):n.props.showMonthYearPicker?"Selected month: ".concat(eF(n.props.selected,{dateFormat:"MMMM yyyy",locale:a})):n.props.showQuarterYearPicker?"Selected quarter: ".concat(eF(n.props.selected,{dateFormat:"yyyy, QQQ",locale:a})):"Selected date: ".concat(eF(n.props.selected,{dateFormat:o,locale:a})),ef.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)}),e_(n,"renderDateInput",function(){var e,t=r.clsx(n.props.className,e_({},tQ,n.state.open)),a=n.props.customInput||ef.default.createElement("input",{type:"text"}),o=n.props.customInputRef||"ref",i="string"==typeof n.props.value?n.props.value:"string"==typeof n.state.inputValue?n.state.inputValue:n.props.selectsRange?function(e,t,n){if(!e)return"";var r=eF(e,n),a=t?eF(t,n):"";return"".concat(r," - ").concat(a)}(n.props.startDate,n.props.endDate,n.props):n.props.selectsMultiple?function(e,t){if(null==e||!e.length)return"";var n=eF(e[0],t);if(1===e.length)return n;if(2===e.length){var r=eF(e[1],t);return"".concat(n,", ").concat(r)}var a=e.length-1;return"".concat(n," (+").concat(a,")")}(n.props.selectedDates,n.props):eF(n.props.selected,n.props);return ef.default.cloneElement(a,(e_(e_(e_(e_(e_(e_(e_(e_(e_(e_(e={},o,function(e){n.input=e}),"value",i),"onBlur",n.handleBlur),"onChange",n.handleChange),"onClick",n.onInputClick),"onFocus",n.handleFocus),"onKeyDown",n.onInputKeyDown),"id",n.props.id),"name",n.props.name),"form",n.props.form),e_(e_(e_(e_(e_(e_(e_(e_(e_(e_(e,"autoFocus",n.props.autoFocus),"placeholder",n.props.placeholderText),"disabled",n.props.disabled),"autoComplete",n.props.autoComplete),"className",r.clsx(a.props.className,t)),"title",n.props.title),"readOnly",n.props.readOnly),"required",n.props.required),"tabIndex",n.props.tabIndex),"aria-describedby",n.props.ariaDescribedBy),e_(e_(e_(e,"aria-invalid",n.props.ariaInvalid),"aria-labelledby",n.props.ariaLabelledBy),"aria-required",n.props.ariaRequired)))}),e_(n,"renderClearButton",function(){var e=n.props,t=e.isClearable,a=e.disabled,o=e.selected,i=e.startDate,s=e.endDate,u=e.clearButtonTitle,c=e.clearButtonClassName,l=e.ariaLabelClose,d=e.selectedDates;return t&&(null!=o||null!=i||null!=s||null!=d&&d.length)?ef.default.createElement("button",{type:"button",className:r.clsx("react-datepicker__close-icon",void 0===c?"":c,{"react-datepicker__close-icon--disabled":a}),disabled:a,"aria-label":void 0===l?"Close":l,onClick:n.onClearClick,title:u,tabIndex:-1}):null}),n.state=n.calcInitialState(),n.preventFocusTimeout=null,n}return eS(t,e),eO(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?_.getMonth(n)!==_.getMonth(r)||S.getYear(n)!==S.getYear(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:ts(this.props.highlightDates)}),t.focused||eV(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var e=this.props,t=e.showIcon,n=e.icon,r=e.calendarIconClassname,a=e.toggleCalendarOnIconClick,o=this.state.open;return ef.default.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&ef.default.createElement(tF,eP({icon:n,className:"".concat(r," ").concat(o&&"react-datepicker-ignore-onclickoutside")},a?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?ef.default.createElement(tR,{enableTabLoop:this.props.enableTabLoop},ef.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=ef.default.createElement(tW,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),ef.default.createElement("div",null,this.renderInputContainer(),t)}return ef.default.createElement(tA,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop,showArrow:this.props.showPopperArrow})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}}}])}(ef.default.Component),tK="input",tV="navigate";e.CalendarContainer=tY,e.default=tz,e.getDefaultLocale=eU,e.registerLocale=function(e,t){var n="undefined"!=typeof window?window:globalThis;n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(67294),n(45697),n(57966),n(81334),n(41708),n(8957),n(53877),n(732),n(51866),n(37090),n(65918),n(50121),n(31321),n(16686),n(70336),n(97643),n(51352),n(53986),n(78187),n(44350),n(93090),n(17132),n(88275),n(56291),n(42560),n(78101),n(71659),n(58567),n(71307),n(75052),n(88223),n(83992),n(68686),n(70654),n(40164),n(24063),n(96724),n(11516),n(22382),n(56362),n(17526),n(55968),n(77866),n(81040),n(22048),n(13965),n(92087),n(11991),n(43020),n(52653),n(26017),n(64702),n(92590),n(81588),n(88537),n(74728),n(93438),n(68388),n(24380),n(35189),n(28482),n(58949),n(73935),n(94993),n(53307))},58949:function(e,t,n){"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:function(){return h}});var r,a,o=n(67294),i=n(73935);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}},l=(void 0===r&&(r=0),function(){return++r}),d={},p={},f=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var n={};return -1!==f.indexOf(t)&&a&&(n.passive=!e.props.preventDefault),n}t.default=function(e,t){var n,r,f=e.displayName||e.name||"Component";return r=n=function(n){function r(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"==typeof r.__clickOutsideHandlerProp){r.__clickOutsideHandlerProp(e);return}var t=r.getInstance();if("function"==typeof t.props.handleClickOutside){t.props.handleClickOutside(e);return}if("function"==typeof t.handleClickOutside){t.handleClickOutside(e);return}throw Error("WrappedComponent: "+f+" lacks a handleClickOutside(event) function for processing outside click events.")},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,i.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!p[r._uid]){void 0===a&&(a=c()),p[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),d[r._uid]=function(e){null!==r.componentNode&&!(r.initTimeStamp>e.timeStamp)&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),!(r.props.excludeScrollbar&&(document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY)))&&function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){var r;if(e.parentNode&&((r=e)===t||(r.correspondingElement?r.correspondingElement.classList.contains(n):r.classList.contains(n))))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e)},e.forEach(function(e){document.addEventListener(e,d[r._uid],m(u(r),e))})}},r.disableOnClickOutside=function(){delete p[r._uid];var e=d[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach(function(t){return document.removeEventListener(t,e,m(u(r),t))}),delete d[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=l(),r.initTimeStamp=performance.now(),r}r.prototype=Object.create(n.prototype),r.prototype.constructor=r,s(r,n);var h=r.prototype;return h.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},h.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw Error("WrappedComponent: "+f+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},h.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},h.componentWillUnmount=function(){this.disableOnClickOutside()},h.render=function(){var t=this.props;t.excludeScrollbar;var n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,o.createElement)(e,n)},r}(o.Component),n.displayName="OnClickOutside("+f+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},r}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/42223d36bd9d009d_05Q6.css b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/42223d36bd9d009d_05Q6.css new file mode 100644 index 0000000..3ce8b2e --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/42223d36bd9d009d_05Q6.css @@ -0,0 +1 @@ +.media-ui-OutlinedDropdown_wrapper-jDVzlgd6BVg-{margin-bottom:.5rem;position:relative;width:100%}.media-ui-OutlinedDropdown_wrapper-jDVzlgd6BVg- .css--input-base{margin:0}.media-ui-OutlinedDropdown_wrapper-jDVzlgd6BVg- .css--input-base [data-component=helper-text]{display:none}.media-ui-OutlinedDropdown_input-container--d6o57YImSo-{position:relative}.media-ui-OutlinedDropdown_input-MqEpmCTR85g-{padding-right:1.25rem;width:100%}.media-ui-OutlinedDropdown_icon-button-KLjKLzHAMZs-{align-items:center;bottom:0;display:flex;justify-content:center;padding-right:.625rem;position:absolute;right:0;top:0}.media-ui-OutlinedDropdown_icon-button-KLjKLzHAMZs-.media-ui-OutlinedDropdown_error-ddrIvhkkooE-{color:var(--color-red-700)}.media-ui-OutlinedDropdown_icon-button-KLjKLzHAMZs-:focus{border:none;outline:none}.media-ui-OutlinedDropdown_icon-button-KLjKLzHAMZs-:disabled .media-ui-OutlinedDropdown_chevron-1pMsIxL3WwY-:hover{background-color:transparent}.media-ui-OutlinedDropdown_chevron-1pMsIxL3WwY-{--tw-scale-x:1;--tw-scale-y:1;padding:.25rem;position:relative;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.media-ui-OutlinedDropdown_chevron-1pMsIxL3WwY-:hover{background-color:var(--color-gray-100);border-radius:624.9375rem}.media-ui-OutlinedDropdown_chevron-1pMsIxL3WwY- svg{height:100%;height:1rem;width:100%;width:1rem}.media-ui-OutlinedDropdown_chevron-1pMsIxL3WwY-.media-ui-OutlinedDropdown_open-chpaPyMcCZw-{--tw-scale-x:-1;--tw-scale-y:-1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.media-ui-OutlinedDropdown_menu-S8x6K0Uz8jw-{border-color:transparent;border-radius:.25rem;border-width:1px;display:none;margin-top:.25rem;max-height:18rem;overflow-y:auto;position:absolute;width:100%}.media-ui-OutlinedDropdown_menu-S8x6K0Uz8jw-.media-ui-OutlinedDropdown_menu-open-8HIWJAg-PKg-{--tw-shadow:0 1px 0.1875rem 0 rgba(0,0,0,.1),0 1px 0.125rem -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 0.1875rem 0 var(--tw-shadow-color),0 1px 0.125rem -1px var(--tw-shadow-color);background-color:var(--color-white);border-color:var(--color-gray-100);box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);display:block;z-index:10}.media-ui-OutlinedDropdown_item-0N0q4FaBwJA-{cursor:pointer;display:flex;flex-direction:column;font-size:1rem;line-height:1.125rem;padding:.625rem}.media-ui-OutlinedDropdown_item-0N0q4FaBwJA-.media-ui-OutlinedDropdown_small-D1-NcdsQHrs-{font-size:.875rem;line-height:1.3125rem;line-height:1rem}.media-ui-OutlinedDropdown_item-0N0q4FaBwJA-:hover{background-color:var(--color-gray-200)}.media-ui-OutlinedDropdown_item-0N0q4FaBwJA-.media-ui-OutlinedDropdown_item-selected-qgmseURsKSA-{background-color:var(--color-blue-100)}.media-ui-OutlinedDropdown_item-0N0q4FaBwJA-.media-ui-OutlinedDropdown_item-highlighted-lZX4gvpeiHQ-{background-color:var(--color-gray-200)}.media-ui-OutlinedDropdown_item-0N0q4FaBwJA-.media-ui-OutlinedDropdown_empty-TsBom1hnVW8-{color:var(--color-gray-500);font-style:italic}.media-ui-SparklineCard_wrapper-NjUSqP0P-ms-{border-color:var(--color-gray-200);border-radius:.5rem;border-width:1px;display:flex;flex-direction:column;gap:.375rem;padding:.625rem;width:-moz-min-content;width:min-content}.media-ui-SparklineCard_wrapper-NjUSqP0P-ms- .media-ui-SparklineCard_priceChange-azquEDGqV9w-{display:flex;flex-direction:column;gap:.625rem}.media-ui-SparklineCard_wrapper-NjUSqP0P-ms- [data-component=SecurityName]{font-weight:700}.media-ui-Sparkline_sparklineContainer-nhtZf2tc8Ao-{width:-moz-fit-content;width:fit-content}.media-ui-Sparkline_emptySparklineContainer-fOe7BTjNcFA-{height:2.8125rem;width:8.75rem}.media-ui-Sparkline_sparklineMarker-4guyQDKYF-M-{height:.375rem;width:.4375rem}.media-ui-Sparkline_sparklineLine-kKdRKzmzeZ4-{stroke-width:3;stroke-linejoin:round;stroke-linecap:round;fill:none}.media-ui-Sparkline_sparklineLine-kKdRKzmzeZ4-.media-ui-Sparkline_useThickerLine-hdgpo5LX3jQ-{stroke-width:5}.media-ui-Sparkline_sparklineLine-kKdRKzmzeZ4-.media-ui-Sparkline_useThinnerLine-xqtpFPaQVXU-{stroke-width:1}.media-ui-Sparkline_sparklineFill-VcOJeKIaxzA-{stroke:none;fill-opacity:.8;pointer-events:auto}.media-ui-Sparkline_sparklineReference-6DowYUMyQW0-{stroke:var(--color-gray-500);stroke-opacity:1;stroke-dasharray:2,2}.media-ui-Sparkline_sparklineReference-6DowYUMyQW0-.media-ui-Sparkline_useLongerDashes-iBS8FPfAW3E-{stroke-dasharray:7,4;stroke-width:2}.media-ui-Sparkline_sparklineReference-6DowYUMyQW0-.media-ui-Sparkline_useLighterReference-yF4IdiarKn4-{stroke:var(--color-gray-300)}.media-ui-Sparkline_positive-hiNE6HIsu6Q- .media-ui-Sparkline_sparklineLine-kKdRKzmzeZ4-{stroke:var(--color-green-refresh2024-500)}.media-ui-Sparkline_positive-hiNE6HIsu6Q- .media-ui-Sparkline_sparklineMarker-4guyQDKYF-M-{fill:var(--color-green-refresh2024-500)}.media-ui-Sparkline_negative-LAkAaDKssE0- .media-ui-Sparkline_sparklineLine-kKdRKzmzeZ4-{stroke:var(--color-red-refresh2024-500)}.media-ui-Sparkline_negative-LAkAaDKssE0- .media-ui-Sparkline_sparklineMarker-4guyQDKYF-M-{fill:var(--color-red-refresh2024-500)}.media-ui-Sparkline_neutral-p0RWiImweP8- .media-ui-Sparkline_sparklineLine-kKdRKzmzeZ4-{stroke:var(--color-gray-600)}.media-ui-Sparkline_neutral-p0RWiImweP8- .media-ui-Sparkline_sparklineMarker-4guyQDKYF-M-{fill:var(--color-gray-600)}.media-ui-Sparkline_gradient-SWn9-FBx67g-.media-ui-Sparkline_neutral-p0RWiImweP8-{color:var(--color-gray-600)}.media-ui-Sparkline_gradient-SWn9-FBx67g-.media-ui-Sparkline_positive-hiNE6HIsu6Q-{color:var(--color-green-refresh2024-500)}.media-ui-Sparkline_gradient-SWn9-FBx67g-.media-ui-Sparkline_negative-LAkAaDKssE0-{color:var(--color-red-refresh2024-500)}.intercom-eyebrow_eyebrowContainer-uDuWZCR3a8Y-{color:var(--accent-6);font-family:var(--bw-roman)}.intercom-image_linkedImage-OoAeD5Xjcf0-{display:inline-block}.intercom-big-card_bigCardContainer-dRRKOG9DagY-,img.intercom-image_image--zFBE4i3jFM-{height:100%;width:100%}.intercom-big-card_image-K8UH-humtjo-{display:block;position:relative}.intercom-big-card_playIcon-TUQ5B3Z-3Gk-{align-items:center;border:.125rem solid #fff;border-radius:50%;bottom:.375rem;color:#fff;display:flex;height:1.375rem;justify-content:center;left:.1875rem;position:absolute;width:1.375rem}.intercom-big-card_text-8VKBcfSCjRY-:focus,.intercom-big-card_text-8VKBcfSCjRY-:hover{color:gray}.intercom-big-card_bottom-KpJI1nwyaIY-{line-height:1.2;margin-top:.75rem}.intercom-big-card_text-8VKBcfSCjRY-{font-size:1rem;font-weight:var(--font-weight-medium)}.intercom-big-card_eyebrow-1dirPqTCpng-{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;font-size:.875rem;line-height:1.2;overflow:hidden;padding-bottom:.125rem;text-overflow:ellipsis}.intercom-big-pill_bigPillContainer-Mh9k88eDoCI-{background-color:var(--color-gray-1000);border-radius:.5rem;box-shadow:0 0 0 1px #000;color:#fff;display:inline-block;font-family:var(--bw-roman);font-size:.875rem;line-height:1.25;max-width:18.75rem;padding:.5rem;width:100%}.intercom-big-pill_label-8IDhXJg9Ssw-{display:block;font-weight:var(--font-weight-medium);overflow:hidden;white-space:nowrap}.intercom-big-pill_value-pZWyexbrmeU-{display:inline-block;margin-right:.375rem}.intercom-big-pill_bottomRow-QlkhESIb-a8-{display:flex}.intercom-big-pill_percentChangeContainer-IkCefAWtGKE-{display:flex;font-weight:var(--font-weight-medium)}.intercom-big-pill_percentChange-ABUH6V3uPNg-{display:flex}.intercom-big-pill_triangle-ALAHLKaQixk-{margin-right:.125rem}.intercom-big-pill_triangle-ALAHLKaQixk- svg{display:inline-block;height:.75rem;width:.75rem}.intercom-big-pill_up-j6TQkR1gCs0- .intercom-big-pill_percentChangeContainer-IkCefAWtGKE-{color:var(--color-green-500)}.intercom-big-pill_up-j6TQkR1gCs0- .intercom-big-pill_triangle-ALAHLKaQixk-{transform:rotate(0)}.intercom-big-pill_up-j6TQkR1gCs0- .intercom-big-pill_triangle-ALAHLKaQixk- svg{vertical-align:middle}.intercom-big-pill_down-xWkjll6gbgs- .intercom-big-pill_percentChangeContainer-IkCefAWtGKE-{color:var(--color-red-500)}.intercom-big-pill_down-xWkjll6gbgs- .intercom-big-pill_triangle-ALAHLKaQixk-{transform:rotate(-180deg)}.intercom-big-pill_neutral-9qC43GO6PbY- .intercom-big-pill_percentChangeContainer-IkCefAWtGKE-{color:var(--color-gray-400)}.intercom-big-pill_neutral-9qC43GO6PbY- .intercom-big-pill_triangle-ALAHLKaQixk-{transform:rotate(0)}.intercom-big-pill_neutral-9qC43GO6PbY- .intercom-big-pill_triangle-ALAHLKaQixk- svg{vertical-align:middle}.intercom-cloud_cloudContainer-rbuBpNb0a1I-{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}.intercom-little-pill_littlePillContainer-gRz-R3DKgAQ-{background-color:var(--color-gray-1000);border-radius:.5rem;color:#fff;display:inline-block;font-family:var(--bw-roman);font-size:.875rem;line-height:1.1;padding:.5rem}.intercom-little-pill_contents-YyiA9-OK8YE-{display:flex}.intercom-little-pill_labelAndValue-YZmVp8NxO8I-{display:flex;gap:.25rem}.intercom-little-pill_label-8d5EFWXZdHo-{font-weight:var(--font-weight-medium)}.intercom-little-pill_value-AGrpPUGxKQQ-{display:inline-block;margin-right:.375rem}.intercom-little-pill_bottomRow-SDfd5woPihk-{display:flex;margin-top:.25rem}.intercom-little-pill_percentChangeContainer-FXfDzKANXCk-{display:flex;font-weight:var(--font-weight-medium)}.intercom-little-pill_percentChange-ngICfMjaU-8-{display:flex}.intercom-little-pill_triangle-NHipTC54cwE-{margin-right:.125rem}.intercom-little-pill_triangle-NHipTC54cwE- svg{display:inline-block;height:.75rem;width:.75rem}.intercom-little-pill_up-t6kL6E-WHeM- .intercom-little-pill_percentChangeContainer-FXfDzKANXCk-{color:var(--color-green-500)}.intercom-little-pill_up-t6kL6E-WHeM- .intercom-little-pill_triangle-NHipTC54cwE-{transform:rotate(0)}.intercom-little-pill_up-t6kL6E-WHeM- .intercom-little-pill_triangle-NHipTC54cwE- svg{vertical-align:middle}.intercom-little-pill_down-B25utOOG2Lw- .intercom-little-pill_percentChangeContainer-FXfDzKANXCk-{color:var(--color-red-500)}.intercom-little-pill_down-B25utOOG2Lw- .intercom-little-pill_triangle-NHipTC54cwE-{transform:rotate(-180deg)}.intercom-little-pill_neutral-EjrJmrtEiGw- .intercom-little-pill_percentChangeContainer-FXfDzKANXCk-{color:var(--color-gray-400)}.intercom-little-pill_neutral-EjrJmrtEiGw- .intercom-little-pill_triangle-NHipTC54cwE-{transform:rotate(0)}.intercom-little-pill_neutral-EjrJmrtEiGw- .intercom-little-pill_triangle-NHipTC54cwE- svg{vertical-align:middle}.intercom-card_cardContainer-M-SbfYukTug-{--max-width:22.0625rem;align-items:flex-start;display:flex;font-family:var(--bw-roman);gap:.75rem;justify-content:stretch;margin:0 .75rem;max-width:var(--max-width);padding:.75rem 0}.intercom-card_leftColumn-VYYJBTIkXEw-{flex-shrink:0;max-width:4.5rem;position:relative}.intercom-card_rightColumn-bA2TRLbig8c-{display:flex;flex-direction:column;font-size:.875rem}.intercom-card_eyebrow-7Zai9YBzNFU-{line-height:1.1;padding-bottom:.125rem}.intercom-card_text-aDw1ZERnndo-{font-size:1rem;font-weight:var(--font-weight-bold)}.intercom-card_playIcon-eJLi0eiyLxs-{align-items:center;border:2 solid #fff;border-radius:50%;bottom:.375rem;color:#fff;display:flex;height:1.375rem;justify-content:center;left:.1875rem;position:absolute;width:1.375rem}.intercom-card_timestamp-uakW89Wtpus-{color:var(--color-gray-600);font-family:var(--bw-roman)}.intercom-carousel_carouselContainer-Dr5zyNcxSmM-{font-family:var(--bw-roman);overflow:hidden}.intercom-carousel_header-J7MIvKDcZao-{display:flex;gap:1.25rem;justify-content:space-between;margin-bottom:1.25rem}.intercom-carousel_iterableComponentsContainer-DQkh-K22P0c-{display:flex;flex-direction:row;transition:transform .3s ease-in-out}.intercom-carousel_iterableComponent-fGdW6sySG8w-{box-sizing:border-box;flex-shrink:0}.intercom-carousel_navigation-Rv00WsZ5-hw-{align-items:center;display:flex;justify-content:center;margin-top:1.875rem;padding-bottom:.625rem;position:relative}.intercom-carousel_circleButtons-vEbGOl6-GwI-{display:flex;gap:.625rem}.intercom-carousel_circleButton-wbda16bCeIY-{background-color:var(--color-gray-300);border-radius:50%;cursor:pointer;height:.5rem;width:.5rem}.intercom-carousel_circleButton-wbda16bCeIY-.intercom-carousel_current-9sYpaRhLm8Q-{background-color:#000}.intercom-carousel_forwardBackwardButtons-D7QPPx4GO1w-{display:flex;gap:.25rem;position:absolute;right:0}.intercom-carousel_backward-ut4q7dsqtCY-:disabled,.intercom-carousel_forward-QNzK1zGM2Lo-:disabled{cursor:default;opacity:40%}.intercom-carousel_backward-ut4q7dsqtCY-,.intercom-carousel_forward-QNzK1zGM2Lo-{align-items:center;border:1px solid #000;border-radius:50%;cursor:pointer;display:flex;padding:.25rem}.intercom-carousel_forward-QNzK1zGM2Lo- svg{height:1rem;transform:rotate(270deg);width:1rem}.intercom-carousel_backward-ut4q7dsqtCY- svg{height:1rem;transform:rotate(90deg);width:1rem}@media (prefers-reduced-motion:reduce){.intercom-carousel_iterableComponentsContainer-DQkh-K22P0c-{transition:none}}.intercom-carousel_navButton-zyir6hzxvE0-{align-items:center;block-size:1.625rem;border:1px solid #000;border-radius:50%;cursor:pointer;display:flex;inline-size:1.625rem;justify-content:center;min-inline-size:1.625rem}.intercom-carousel_navButton-zyir6hzxvE0-:is(:disabled){cursor:default;opacity:40%}.intercom-carousel_navButtonIcon-1aMnWGXR5ys-{flex-shrink:0}.intercom-list_listContainer-vZuQ2lrDtMY-{display:flex;flex-direction:column;font-size:.875rem;gap:.75rem}.intercom-filterable-list_filterableListContainer-g2TLhZWayoA-{font-family:var(--bw-roman)}.intercom-filterable-list_header-ke4-wRlVjWI-{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.intercom-filterable-list_dropdown-m96C24i3PoU-{font-size:.875rem;height:1.75rem;position:relative;width:10rem}.intercom-filterable-list_dropdownButton-OptXDTHaqSA-{align-items:center;background-color:var(--color-white);border:1px solid var(--color-gray-500);border-radius:.875rem;display:flex;height:100%;padding:.5rem .75rem;width:100%}.intercom-filterable-list_dropdownButton-OptXDTHaqSA-:hover{background-color:var(--color-gray-200)}.intercom-filterable-list_dropdownButton-OptXDTHaqSA- .intercom-filterable-list_text-5gWHyDvQ6oA-{flex-grow:1}.intercom-filterable-list_dropdownButton-OptXDTHaqSA- :is(svg){height:.75rem;width:.75rem}.intercom-filterable-list_dropdownMenu-i6w71dRASxE-{background-color:var(--color-white);border:1px solid var(--color-gray-100);box-shadow:0 1px .1875rem 0 rgba(0,0,0,.1),0 1px .125rem -1px rgba(0,0,0,.1);cursor:pointer;position:absolute;text-align:left;width:100%}.intercom-filterable-list_dropdownOption-TalSBu943gM-{padding:.625rem}.intercom-filterable-list_dropdownOption-TalSBu943gM-:hover{background-color:var(--color-gray-200)}.intercom-filterable-list_title-YrproJ-epZs-,.intercom-filterable-list_titleLink-HVpRf4iyGOE-{color:var(--accent-6);font-size:1rem;font-weight:var(--font-weight-bold);position:relative}.intercom-filterable-list_titleLink-HVpRf4iyGOE-:focus,.intercom-filterable-list_titleLink-HVpRf4iyGOE-:hover{color:var(--accent-5)}.intercom-filterable-list_bottomLink-9F5-AiSh-sc-{align-items:center;color:var(--color-gray-800);display:flex;font-size:.875rem;gap:.125rem;justify-content:flex-end;line-height:1;margin-top:.75rem}.intercom-filterable-list_bottomLink-9F5-AiSh-sc- .intercom-filterable-list_bottomIcon-Pg87CgTE6mU- svg{color:var(--color-gray-800);height:.875rem;width:.875rem}.intercom-filterable-list_bottomLink-9F5-AiSh-sc-:focus .intercom-filterable-list_bottomIcon-Pg87CgTE6mU- svg,.intercom-filterable-list_bottomLink-9F5-AiSh-sc-:focus :is(a),.intercom-filterable-list_bottomLink-9F5-AiSh-sc-:hover .intercom-filterable-list_bottomIcon-Pg87CgTE6mU- svg,.intercom-filterable-list_bottomLink-9F5-AiSh-sc-:hover :is(a){color:var(--color-gray-600)}.intercom-filterable-list_bottomIcon-Pg87CgTE6mU-{height:var(--phx-icon-size-16);width:var(--phx-icon-size-16)}.intercom-grid_gridContainer-eYtLQR5He0k-{display:flex;flex-direction:column;gap:1rem;overflow-x:scroll}.intercom-grid_gridContainer-eYtLQR5He0k-.intercom-grid_hideScrollbar-Rklo4RJAOpg-{-ms-overflow-style:none;scrollbar-width:none}.intercom-grid_gridContainer-eYtLQR5He0k-.intercom-grid_hideScrollbar-Rklo4RJAOpg-::-webkit-scrollbar{display:none}.intercom-grid_row-Wk72-Jl5COM-{display:flex;flex-direction:row;gap:1.125rem}.intercom-grid_iterableComponent-WUHSvZkZvzo-{height:100%}.intercom-timestamp_timestampContainer-iSR0CD177xc-{color:var(--color-gray-600)}.intercom-timestamp_isLessThan30Minutes-jDswJ-gnF4k-{color:var(--accent-6)}.intercom-list-item_listItemContainer-XcNaJiy5SZ4-{align-items:flex-start;display:flex;font-family:var(--bw-roman);gap:1.125rem;justify-content:stretch}.intercom-list-item_listItemContainer-XcNaJiy5SZ4- a:focus,.intercom-list-item_listItemContainer-XcNaJiy5SZ4- a:hover{color:var(--color-gray-700)}.intercom-list-item_listItemContainer-XcNaJiy5SZ4-.intercom-list-item_right-bDRFslBe8iY-{justify-content:space-between}.intercom-list-item_leftColumn-R0vSf-X8egI-,.intercom-list-item_rightColumn-upRV6IrCy9M-{flex-shrink:0;position:relative}.intercom-list-item_leftColumn-R0vSf-X8egI-:has(.intercom-list-item_timestamp-Z-zD43TDFwU-),.intercom-list-item_rightColumn-upRV6IrCy9M-:has(.intercom-list-item_timestamp-Z-zD43TDFwU-){flex-basis:16%;max-width:4.5rem}.intercom-list-item_mainColumn-KpVABFJEVew-{display:flex;flex-direction:column;gap:.125rem}.intercom-list-item_text-LMP-pbCFe-w-{color:var(--color-gray-1000);font-size:1rem;font-weight:var(--font-weight-medium);letter-spacing:normal;line-height:1.2}.intercom-list-item_description-hUCoYWXrfIg-{color:var(--color-gray-800);font-size:.875rem;line-height:1.3}.intercom-list-item_timestamp-Z-zD43TDFwU-{font-size:.75rem;font-weight:var(--font-weight-medium)}.intercom-select-tag_selectTagContainer-ySEIRso9NPE-{align-items:center;background-color:var(--color-gray-1000);border:1px solid var(--color-gray-800);border-radius:.25rem;color:var(--color-white);cursor:pointer;display:flex;font-family:var(--bw-roman);padding:.375rem .5rem;width:-moz-fit-content;width:fit-content}.intercom-select-tag_selectTagContainer-ySEIRso9NPE- .intercom-select-tag_text-BY6zYvwm6Cg-{font-size:.875rem;font-weight:500;margin-left:.3125rem}.intercom-select-tag_selectTagContainer-ySEIRso9NPE- :is(svg){height:1rem;width:1rem}.intercom-select-tag_selectTagContainer-ySEIRso9NPE-:hover{background-color:var(--color-gray-900);border-color:var(--color-gray-400)}.intercom-select-tag_selectTagContainer-ySEIRso9NPE-:hover.intercom-select-tag_selected-WH9zArs3xv4-{background-color:var(--color-gray-200)}.intercom-select-tag_selectTagContainer-ySEIRso9NPE-.intercom-select-tag_selected-WH9zArs3xv4-{background-color:var(--color-white);border-color:var(--color-gray-400);color:var(--color-gray-1000)}.intercom-select-tag_selectTagContainer-ySEIRso9NPE-:disabled{background-color:var(--color-gray-900);border-color:var(--color-gray-600);color:var(--color-gray-500);opacity:.7;pointer-events:none}.intercom-skeleton_loading-6qGEnnGCVTc- [data-skeleton-selector] *{visibility:hidden}.intercom-skeleton_loading-6qGEnnGCVTc- [data-skeleton-selector]{animation-duration:2.2s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:intercom-skeleton_shimmer-bDpgKfgE7jw-;animation-timing-function:linear;background:linear-gradient(90deg,#efefef 8%,#fafafa 18%,#efefef 33%);background-size:75rem 100%}@keyframes intercom-skeleton_shimmer-bDpgKfgE7jw-{0%{background-position:-75rem 0}to{background-position:75rem 0}}.intercom-related-stories-big-card-grid_title-2eIuLjfkP2Y-{font-family:var(--bw-roman);font-size:1rem;font-weight:var(--font-weight-bold);line-height:1rem;padding-bottom:1.25rem}.intercom-related-stories-big-card-grid_relatedStoriesBigCardContainer-qKS8qdeETsk-{max-width:18.75rem}.intercom-popular-stories-big-card-grid_title-fPQzYwlDsIA-{font-family:var(--bw-roman);font-size:1rem;font-weight:var(--font-weight-bold);line-height:1rem;padding-bottom:1.25rem}.intercom-popular-stories-big-card-grid_popularStoriesBigCardContainer-1ESD1eoHhEU-{max-width:18.75rem}.intercom-popular-stories-list-item-list_title-FdxVIJ4AH9Q-,.intercom-related-stories-list-item-list_title-yz-qyqPV6zk-{font-family:var(--bw-roman);font-size:1rem;font-weight:var(--font-weight-bold);line-height:1rem;padding-bottom:1.25rem}.media-ui-Drawer_base-OMyCh7D-kpY-{box-sizing:border-box;left:0;min-height:100vh;min-height:-webkit-fill-available;min-height:-moz-available;min-height:stretch;position:fixed;top:0;z-index:1000}.media-ui-Drawer_base-OMyCh7D-kpY- .overlay{background:rgba(0,0,0,.25);display:flex;height:100dvh;width:100dvw}.media-ui-Drawer_base-OMyCh7D-kpY- .main{background:#fff;border-radius:.5rem .5rem 0 0;bottom:0;left:0;min-height:17.375rem;position:absolute;width:100%}.media-ui-Drawer_base-OMyCh7D-kpY- .close-button{position:absolute;right:.5rem;top:.5rem}.media-ui-Drawer_content-jZzp04L7Gao-{display:flex;flex-direction:column;padding-bottom:.9375rem;padding-left:.9375rem;padding-right:.9375rem}.media-ui-Drawer_header-s830oNhRdZE-{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:1rem;font-weight:700;padding:.9375rem .9375rem 0;text-transform:capitalize}.media-ui-Drawer_button-Yf1U53WnCsA-{display:flex;flex-direction:row;padding-bottom:.75rem;padding-top:.75rem}.media-ui-Drawer_button-Yf1U53WnCsA-:not(:last-of-type){border-bottom:1px solid #b3b3b3}.media-ui-Drawer_button-Yf1U53WnCsA- i,.media-ui-Drawer_button-Yf1U53WnCsA- svg{margin-right:.5rem}.media-ui-Drawer_enter-sYbklEO8tyk- .overlay{opacity:0}.media-ui-Drawer_enter-sYbklEO8tyk- .main{transform:translateY(100%)}.media-ui-Drawer_enter-active-gk4621elygM- .overlay{opacity:1}.media-ui-Drawer_enter-active-gk4621elygM- .main,.media-ui-Drawer_enter-active-gk4621elygM- .overlay{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.media-ui-Drawer_enter-active-gk4621elygM- .main{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.media-ui-Drawer_exit-oPeMhsEbL5Y- .overlay{opacity:1}.media-ui-Drawer_exit-oPeMhsEbL5Y- .main{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.media-ui-Drawer_exit-active-QrTiMyZzx1A- .overlay{opacity:0}.media-ui-Drawer_exit-active-QrTiMyZzx1A- .main,.media-ui-Drawer_exit-active-QrTiMyZzx1A- .overlay{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.media-ui-Drawer_exit-active-QrTiMyZzx1A- .main{transform:translateY(100%)} \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/5830ff9c0cb152d3_05Q6.css b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/5830ff9c0cb152d3_05Q6.css new file mode 100644 index 0000000..b924994 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/5830ff9c0cb152d3_05Q6.css @@ -0,0 +1 @@ +.media-ui-Link_default-KrHSq06NXRI-{text-decoration-line:underline}.media-ui-Link_default-KrHSq06NXRI-:hover{opacity:.7}.media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8-{align-items:center;display:flex;justify-content:center;position:relative;width:100%}.media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8-,.media-ui-FullWidthAd_fullWidthAdWrapper-fClHZteIk3k-{height:50vw;position:relative}@media screen and (min-width:650px){.media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8-,.media-ui-FullWidthAd_fullWidthAdWrapper-fClHZteIk3k-{height:33.3vw}}@media screen and (min-width:950px){.media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8-,.media-ui-FullWidthAd_fullWidthAdWrapper-fClHZteIk3k-{height:25vw}}@media screen and (min-width:1400px){.media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8-,.media-ui-FullWidthAd_fullWidthAdWrapper-fClHZteIk3k-{height:20vw;max-height:25rem}}.media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8->div{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:center;overflow:hidden;width:100%}@media screen and (min-width:2000px){.media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8->div{max-width:125rem}}.media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8->div>div{text-align:center;width:100%}.media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8- iframe{display:inline-block}.media-ui-LeaderboardAd_leaderboard-FZL8q-6lUUI-.media-ui-LeaderboardAd_parallax-9Z18W54a-Ss-{position:fixed}.media-ui-LeaderboardAd_leaderboard-FZL8q-6lUUI-.media-ui-LeaderboardAd_stickyParallax-CCvR3mPULtk-{position:sticky;top:0}.media-ui-LeaderboardAd_parallaxWrapper-JMVgdxR--aU-{background-color:var(--color-white);position:relative;z-index:10}.media-ui-LeaderboardAd_stickyParallaxWrapper-LEpvVekzJzE-{height:100vw}.media-ui-LeaderboardAd_leaderboard-FZL8q-6lUUI-[data-ad-size="5x16"] iframe{width:100vw!important}.media-ui-LeaderboardAd_hideEmptyAd-Xl5D-vwsjjM-[\:has\(\[data-ad-status\%3D\%22empty\%22\]\)]{display:none}.media-ui-LeaderboardAd_hideEmptyAd-Xl5D-vwsjjM-:has([data-ad-status=empty]){display:none}.media-ui-BaseAd_adPlaceholder-W4Hid5G045M-{background-color:var(--color-gray-200);font-size:.75rem;line-height:1.125rem}.media-ui-BaseAd_adPlaceholder-W4Hid5G045M-:before{--tw-content:"Advertisement";color:var(--color-gray-500);content:var(--tw-content);position:absolute}.media-ui-BaseAd_baseAd-dXBqvbLRJy0-{overflow:hidden}.media-ui-BaseAd_rendered-l1NeSo8x42M-:before{--tw-content:"";content:var(--tw-content)}.media-ui-BaseAd_hideEmptyAd-fxG2spO3FQY-[data-ad-status=empty]{display:none}.media-ui-BaseAd_adHeader-wkkvEuosJuI-{--tw-text-opacity:1;color:rgba(118,118,118,var(--tw-text-opacity));font-size:.75rem;line-height:1.125rem;margin-bottom:.375rem;text-align:center}.media-ui-Placeholder_placeholderParagraphWrapper-yqk1PvmrNoc-{margin-bottom:2rem}.media-ui-Placeholder_placeholderParagraphWrapper-yqk1PvmrNoc- .media-ui-Placeholder_shimmeringParagraph-CAmHW46Yvo4-{display:flex;flex-direction:column;margin-bottom:2rem}.media-ui-Placeholder_placeholderParagraphWrapper-yqk1PvmrNoc- .media-ui-Placeholder_shimmeringLine-eiuBL5rgMWw-{display:flex}.media-ui-Placeholder_placeholderParagraphWrapper-yqk1PvmrNoc- .media-ui-Placeholder_shimmeringLine-eiuBL5rgMWw-:last-child{margin-bottom:0}.media-ui-Placeholder_placeholderParagraphWrapper-yqk1PvmrNoc- .media-ui-Placeholder_shimmeringLine-eiuBL5rgMWw-:nth-child(2n){width:85%}.media-ui-Placeholder_shimmeringLine-eiuBL5rgMWw-{--tw-bg-opacity:1;background-color:rgba(239,239,239,var(--tw-bg-opacity));height:1.25rem;margin-bottom:.625rem}.media-ui-Placeholder_short-JSHimwvHcHU-{width:85%}.media-ui-Placeholder_shimmeringImage-3e9ZALBhsYQ-,.media-ui-Placeholder_shimmeringLine-eiuBL5rgMWw-{animation-duration:2.2s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:media-ui-Placeholder_shimmer-I1-O91t9Qwo-;animation-timing-function:linear;background:linear-gradient(90deg,#efefef 8%,#fafafa 18%,#efefef 33%);background-size:75rem 100%}.media-ui-Placeholder_shimmeringImage-3e9ZALBhsYQ-{height:100%;width:100%}@keyframes media-ui-Placeholder_shimmer-I1-O91t9Qwo-{0%{background-position:-75rem 0}to{background-position:75rem 0}}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_header-mdkAol4MK2Y-{display:flex;justify-content:space-between}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_confirmationText-ScKLt-g2BZg-{color:var(--color-black);font-size:1rem;font-weight:500;line-height:1.2}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_showContainer-mdWFncAY8zo-{align-items:center;cursor:pointer;display:flex;margin:-.5rem;padding:.5rem}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_showContainer-mdWFncAY8zo-:hover{opacity:.7}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_showContainer-mdWFncAY8zo- svg{height:1rem;width:1rem}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_showText--tq-pjkUBxQ-{font-size:.875rem;line-height:1.3125rem;margin-right:.125rem}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc-{display:block;margin-top:1.25rem;max-height:11.25rem;padding-right:.75rem}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc-.media-ui-AddToWatchlist_overflow-i0neGO3wXwQ-{overflow-y:auto}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlist-rUSWcDsdRHQ-{display:flex;justify-content:space-between;margin-bottom:1rem}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlist-rUSWcDsdRHQ-:last-of-type{margin-bottom:0}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlist-rUSWcDsdRHQ- .media-ui-AddToWatchlist_watchlistOpenLink-74df5wBkBVU-{font-size:.875rem;line-height:1.3125rem}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlistHeader-ocqYpHBO8Oc-{align-items:center;display:flex;overflow:hidden;position:relative}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlistHeader-ocqYpHBO8Oc- .media-ui-AddToWatchlist_watchlistToggle-HeWFBSAP-8U-{margin:0}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlistHeader-ocqYpHBO8Oc- .media-ui-AddToWatchlist_watchlistToggle-HeWFBSAP-8U-:checked:after{border-bottom-width:.125rem;border-right-width:.125rem;content:var(--tw-content)}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlistDisabled-BvdXK8sH3O4-{color:var(--color-gray-400);position:relative}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlistDisabled-BvdXK8sH3O4- .media-ui-AddToWatchlist_watchlistName-g-VYlYtQH5Y-,.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlistDisabled-BvdXK8sH3O4- .media-ui-AddToWatchlist_watchlistToggle-HeWFBSAP-8U-{cursor:not-allowed}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlistDisabled-BvdXK8sH3O4-:after{margin-left:.125rem}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_watchlists-bc-AC--IqNc- .media-ui-AddToWatchlist_watchlistName-g-VYlYtQH5Y-{cursor:pointer;margin-left:.375rem;margin-right:.375rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- .media-ui-AddToWatchlist_saveButton-TWAZWnE7XE8-{margin-top:1rem}.media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8- [data-component=primary-button]{font-weight:500;padding-left:1rem;padding-right:1rem;width:100%}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s-{margin-top:1rem}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_header-7EnHvC-p8S0-{display:flex;justify-content:space-between}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_header-7EnHvC-p8S0- svg{cursor:pointer}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_headerText-zao4llqhD2I-{color:var(--color-black);font-size:1rem;font-weight:500;line-height:1.5rem}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_inputContainer-AHxtj-q0ucw-{margin-bottom:1rem;position:relative}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_inputContainer-AHxtj-q0ucw- input{outline:none}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_inputContainer-AHxtj-q0ucw- .media-ui-CreateWatchlist_errorMessage-5y8wkrrlUtM-{color:var(--color-red-refresh2024-600);font-size:.75rem;line-height:1.2;margin-top:.125rem}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_inputTitle-eiNlyjF-LKI-{background-color:var(--color-white);color:var(--color-black);font-size:.75rem;left:.75rem;padding-left:.25rem;padding-right:.25rem;position:absolute;top:-.5rem}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_nameInput-FHOJshFN-eA-{background-color:var(--color-white);border-color:var(--color-black);border-radius:.5rem;border-width:.125rem;color:var(--color-black);font-size:.875rem;padding:.75rem;width:100%}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_inputTitleError-d-UOnnRphS4-,.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_nameInputError-Y6Tnvc0sMqg-{border-color:var(--color-red-refresh2024-600);color:var(--color-red-refresh2024-600)}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_createNewListContainer-cdARePi1tHI-{align-items:center;cursor:pointer;display:flex;margin-top:1rem;width:-moz-fit-content;width:fit-content}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_createNewListContainer-cdARePi1tHI-:hover{opacity:.7}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_createNewListContainer-cdARePi1tHI- .media-ui-CreateWatchlist_createNewListText-zp54fqXDMeI-{font-size:1rem;font-weight:500;line-height:1.5rem;margin-left:.25rem}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_buttonsContainer-0ZfRY-5muPc-{display:flex;gap:1rem;height:2.5rem}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_buttonsContainer-0ZfRY-5muPc- .media-ui-CreateWatchlist_cancelButton-91GFj7CPOhc-{min-height:-moz-fit-content;min-height:fit-content;padding:0;width:50%}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_buttonsContainer-0ZfRY-5muPc- .media-ui-CreateWatchlist_cancelButton-91GFj7CPOhc- span{font-size:.875rem;line-height:1.3125rem}.media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s- .media-ui-CreateWatchlist_buttonsContainer-0ZfRY-5muPc- .media-ui-CreateWatchlist_createButton-A0SaKW5Vevo-{width:100%}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M-{background-color:var(--color-white);border-color:var(--color-gray-200);border-radius:.75rem;border-width:1px;margin-left:1.25rem;margin-right:1.25rem;padding:1rem;width:calc(100% - 2.5rem);z-index:20}@media (min-width:768px){.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M-{margin-left:0;margin-right:0;width:18.75rem}}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M-{box-shadow:0 .3125rem .9375rem 0 rgba(0,0,0,.12)}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_header-YKv-4uiihUQ-{display:flex;justify-content:space-between}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_confirmationText-qfGsVVCh8pE-{color:var(--color-black);font-size:1rem;font-weight:500;line-height:1.2}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_showContainer-RrgJIKt6z6s-{align-items:center;cursor:pointer;display:flex;margin:-.5rem;padding:.5rem}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_showContainer-RrgJIKt6z6s- svg{height:1.25rem;width:1.25rem}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_showText-nNluHzDHbyQ-{font-size:.875rem;line-height:1.3125rem;margin-right:.125rem}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo-{display:block;margin-top:1.25rem;max-height:11.25rem;padding-right:.75rem}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo-.media-ui-QuickAddOverlay_overflow-xEkqAkWxt1g-{overflow-y:auto}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo- .media-ui-QuickAddOverlay_watchlist-XY7luGFoGeE-{display:flex;justify-content:space-between;margin-bottom:1rem}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo- .media-ui-QuickAddOverlay_watchlist-XY7luGFoGeE-:last-of-type{margin-bottom:0}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo- .media-ui-QuickAddOverlay_watchlist-XY7luGFoGeE- .media-ui-QuickAddOverlay_watchlistOpenLink-WxlGsG50I-4-{font-size:.875rem;line-height:1.3125rem}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo- .media-ui-QuickAddOverlay_watchlistHeader-BZAOYx4dCwE-{align-items:center;display:flex}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo- .media-ui-QuickAddOverlay_watchlistHeader-BZAOYx4dCwE- input{margin:0}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo- .media-ui-QuickAddOverlay_watchlistHeader-BZAOYx4dCwE- input:checked:after{border-width:0 .125rem .125rem 0}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo- .media-ui-QuickAddOverlay_watchlistName-HKWR09rSKZg-{cursor:pointer;margin-left:.375rem}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo- .media-ui-QuickAddOverlay_createNewListContainer-r2GOc-lCae0-{align-items:center;cursor:pointer;display:flex;margin-top:1rem;width:-moz-fit-content;width:fit-content}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainer-ye9D9km3qNo- .media-ui-QuickAddOverlay_createNewListContainer-r2GOc-lCae0- .media-ui-QuickAddOverlay_createNewListText-jCCNcPFXqrQ-{font-weight:500;margin-left:.25rem}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainerEnter-HTbmR4IiRSY-{max-height:0;visibility:hidden}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- .media-ui-QuickAddOverlay_watchlistContainerEnterActive-GJf8EK7CJQA-{max-height:11.25rem;transition:max-height .2s linear,visibility .2s linear .2s;visibility:visible}.media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M- [data-component=primary-button]{font-weight:500;padding-left:1rem;padding-right:1rem;width:100%}.media-ui-Error_errorMessage-8K7sRAPqHXs-{color:var(--color-red-refresh2024-500);font-size:1rem;font-weight:500;line-height:1.2}.media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4- .media-ui-AddToWatchlistLoggedOut_header-wO13NoX95kc-{display:flex;justify-content:space-between}.media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4- .media-ui-AddToWatchlistLoggedOut_titleContainer-iR252u3yAvA-{display:flex;font-weight:500;gap:.25rem}.media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4- .media-ui-AddToWatchlistLoggedOut_closeButton-pEv-5FxEWzs-{cursor:pointer}.media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4- .media-ui-AddToWatchlistLoggedOut_closeButton-pEv-5FxEWzs-:hover{opacity:.7}.media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4- .media-ui-AddToWatchlistLoggedOut_closeButton-pEv-5FxEWzs- svg{height:1rem;width:1rem}.media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4- .media-ui-AddToWatchlistLoggedOut_description-jqyyhSbJePU-{display:block;font-size:1rem;line-height:1.2;margin-top:.625rem}.media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4- .media-ui-AddToWatchlistLoggedOut_buttonsContainer-dEdVnCKplRk-{display:flex;gap:1rem;margin-top:1rem}.media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4- .media-ui-AddToWatchlistLoggedOut_buttonsContainer-dEdVnCKplRk- .media-ui-AddToWatchlistLoggedOut_createAccountButton-RhI02B8BH3c-{flex:2;padding-left:1rem;padding-right:1rem}.media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4- .media-ui-AddToWatchlistLoggedOut_buttonsContainer-dEdVnCKplRk- .media-ui-AddToWatchlistLoggedOut_signInButton-uhrpIU578hY-{flex:1 1 0%}.media-ui-TickerBarWithPillWrapper_tickerbarWrapper-m0--8U56QVY-{border-color:var(--color-gray-400);border-style:solid;border-width:0 1px 1px;box-sizing:border-box;display:block;justify-content:space-between;margin:0 auto -1px;padding-bottom:1px}@media (min-width:1123px) and (max-width:1334px){.media-ui-TickerBarWithPillWrapper_tickerbarWrapper-m0--8U56QVY-{width:69.5625rem}}@media (min-width:1335px){.media-ui-TickerBarWithPillWrapper_tickerbarWrapper-m0--8U56QVY-{width:82.875rem}}.media-ui-SearchDropdown_wrapper-QrBLVLi4oBI-{margin-bottom:.5rem;position:relative;width:100%}.media-ui-SearchDropdown_wrapper-QrBLVLi4oBI- .css--input-base{margin:0}.media-ui-SearchDropdown_wrapper-QrBLVLi4oBI- .css--input-base [data-component=helper-text]{display:none}.media-ui-SearchDropdown_input-container-idTg0RoBPTY-{position:relative}.media-ui-SearchDropdown_input-wmEsWxijWOM-{padding-right:1.25rem;width:100%}.media-ui-SearchDropdown_icon-button-4Sjx5QrUOLc-{align-items:center;bottom:0;display:flex;justify-content:center;padding-right:.625rem;position:absolute;right:0;top:0}.media-ui-SearchDropdown_icon-button-4Sjx5QrUOLc-.media-ui-SearchDropdown_error-KHmSanQ3UwM-{color:var(--color-red-700)}.media-ui-SearchDropdown_icon-button-4Sjx5QrUOLc-:focus{border:none;outline:none}.media-ui-SearchDropdown_icon-button-4Sjx5QrUOLc-:disabled .media-ui-SearchDropdown_close-CDDnV7nOVe4-:hover{background-color:transparent}.media-ui-SearchDropdown_close-CDDnV7nOVe4-{--tw-scale-x:1;--tw-scale-y:1;padding:.25rem;position:relative;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.media-ui-SearchDropdown_close-CDDnV7nOVe4-:hover{background-color:var(--color-gray-100);border-radius:624.9375rem}.media-ui-SearchDropdown_close-CDDnV7nOVe4- svg{height:100%;height:1rem;width:100%;width:1rem}.media-ui-SearchDropdown_menu-0ewUbI1O8is-{border-color:transparent;border-radius:.25rem;border-width:1px;display:none;margin-top:.25rem;max-height:18rem;overflow-y:auto;position:absolute;width:100%}.media-ui-SearchDropdown_menu-0ewUbI1O8is-.media-ui-SearchDropdown_menu-open-iB3noPvcRcA-{--tw-shadow:0 1px 0.1875rem 0 rgba(0,0,0,.1),0 1px 0.125rem -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 0.1875rem 0 var(--tw-shadow-color),0 1px 0.125rem -1px var(--tw-shadow-color);background-color:var(--color-white);border-color:var(--color-gray-100);box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);display:block;z-index:10}.media-ui-SearchDropdown_item-AXDcvl-DJJ0-{cursor:pointer;display:flex;flex-direction:column;font-size:1rem;line-height:1.125rem;padding:.625rem}.media-ui-SearchDropdown_item-AXDcvl-DJJ0-.media-ui-SearchDropdown_small-Pu-W1DSuRbc-{font-size:.875rem;line-height:1.3125rem;line-height:1rem}.media-ui-SearchDropdown_item-AXDcvl-DJJ0-:hover{background-color:var(--color-gray-200)}.media-ui-SearchDropdown_item-AXDcvl-DJJ0-.media-ui-SearchDropdown_item-selected-4tV6JDas-aQ-{background-color:var(--color-blue-100)}.media-ui-SearchDropdown_item-AXDcvl-DJJ0-.media-ui-SearchDropdown_item-highlighted-0fEq34xIVQc-{background-color:var(--color-gray-200)}.media-ui-SearchDropdown_item-AXDcvl-DJJ0-.media-ui-SearchDropdown_empty--KnHBFzcPhE-{color:var(--color-gray-500);font-style:italic}.media-ui-SearchDropdown_helperText-yL4VwVNEyag-{color:var(--color-gray-600)}.media-ui-DropdownOption_dropdownOption-8s4Fv9s-qOM-{align-items:center;cursor:pointer;display:flex;font-size:1rem;justify-content:space-between;line-height:1.125rem;padding:.625rem}.media-ui-DropdownOption_dropdownOption-8s4Fv9s-qOM-.media-ui-DropdownOption_small-nMi0GJ7b6Lo-{font-size:.875rem;line-height:1.3125rem;line-height:1rem}.media-ui-DropdownOption_dropdownOption-8s4Fv9s-qOM-:hover{background-color:var(--color-gray-200)}.media-ui-DropdownOption_dropdownOption-8s4Fv9s-qOM-.media-ui-DropdownOption_item-selected-LnTnDv0Vv84-{background-color:var(--color-blue-100)}.media-ui-DropdownOption_dropdownOption-8s4Fv9s-qOM-.media-ui-DropdownOption_item-highlighted-uM3hQArkcMY-{background-color:var(--color-gray-200)}.media-ui-DropdownOption_dropdownOption-8s4Fv9s-qOM-.media-ui-DropdownOption_empty-aDJvhKGaN6I-{color:var(--color-gray-500);font-style:italic}.media-ui-DropdownOption_icon-3PLtbBvs9vY-{flex-basis:1.25rem}.media-ui-DropdownOption_markets-tsKdErhpG-A-{border-bottom-width:1px;border-color:var(--color-gray-300);border-style:solid;padding:.25rem .5rem;width:100%}.media-ui-DropdownOption_markets-tsKdErhpG-A-:hover{background-color:var(--color-gray-200)}.media-ui-DropdownOption_markets-tsKdErhpG-A-{display:flex;justify-content:space-between}.media-ui-DropdownOption_markets-tsKdErhpG-A- .media-ui-DropdownOption_title-Aua39cq-QcA-{font-size:.875rem;font-weight:500;line-height:1.3125rem;line-height:1rem;text-transform:uppercase}.media-ui-DropdownOption_markets-tsKdErhpG-A- .media-ui-DropdownOption_subtitle-5dSEDIr3brc-{display:block;font-size:.75rem;font-weight:400;line-height:.875rem}.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_navigation-T4QnKpvvd2o-{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif}.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-{background-color:transparent;border-style:none;color:transparent;cursor:pointer;display:inline-block;font-weight:700;position:relative;transition-duration:.3s;transition-property:background-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- svg{color:var(--color-black);display:inline-block;height:1.25rem;margin-right:.125rem;margin-top:-.125rem;position:absolute;width:1.25rem}.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-{color:transparent;display:inline-block}.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-.media-ui-Tabs_tabIcon-ObJANShqDQA-{margin-left:1.375rem}.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before{color:var(--color-black);content:attr(data-tab-title);display:inline-block;font-weight:400;position:absolute}.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before{color:var(--color-black);font-weight:700}.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_slider-kejv5ctlhVc-,.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_slider-kejv5ctlhVc->div:first-of-type{width:100%}.media-ui-Tabs_tabs-u-Bix8TJACE- .media-ui-Tabs_tab-ajujBB-5K9w-:not(.media-ui-Tabs_active-Kod2QK8yhi8-){display:none}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_basic-cDinItWzrUM->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeDefault-0vfo5BUm5zA-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeDefault-0vfo5BUm5zA-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeDefault-0vfo5BUm5zA-{font-size:.875rem;line-height:1.3125rem;line-height:1rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_basic-cDinItWzrUM->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeLarge-rlPYr4bXytU-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_basic-cDinItWzrUM->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeSmall-egmAkQaF8vY-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeLarge-rlPYr4bXytU-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeSmall-egmAkQaF8vY-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeLarge-rlPYr4bXytU-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeSmall-egmAkQaF8vY-{font-size:.75rem;line-height:.875rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_basic-cDinItWzrUM->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-{font-weight:500;text-align:center}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_basic-cDinItWzrUM->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before{color:var(--color-gray-700);font-weight:400}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_basic-cDinItWzrUM->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_basic-cDinItWzrUM->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-:hover .media-ui-Tabs_tabText-SVJ-42wuIVg-:before,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-:hover .media-ui-Tabs_tabText-SVJ-42wuIVg-:before,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-:hover .media-ui-Tabs_tabText-SVJ-42wuIVg-:before{color:var(--color-black)}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_basic-cDinItWzrUM->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before{font-weight:500}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-{border-bottom-width:1px;border-color:var(--color-gray-300);border-right-width:1px;border-style:solid;border-top-width:1px;padding:.1875rem .25rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_noWidth-MbpZmWaVUOA-{padding-left:.5rem;padding-right:.5rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8-,.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-:hover{background-color:var(--color-gray-100)}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_box-6VEEgCfRg20->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-:first-child{border-color:var(--color-gray-300);border-left-width:1px;border-style:solid}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o-{background-color:var(--color-gray-100);border-radius:.5rem;-moz-column-gap:.25rem;column-gap:.25rem;display:inline-block;padding:.25rem;position:relative}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-{padding:.25rem .75rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before{font-weight:500;z-index:20}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_gliding-GUnHHYJpdNE->.media-ui-Tabs_navigation-T4QnKpvvd2o-:before{--tw-content:"";--tw-translate-x:var(--glider-offset);background-color:var(--color-white);border-color:var(--color-gray-200);border-radius:.5rem;border-style:solid;border-width:1px;bottom:.1875rem;content:var(--tw-content);display:block;left:0;padding:.25rem .75rem;position:absolute;top:.1875rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--glider-width)}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_basic-cDinItWzrUM->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-:not(:last-of-type){margin-right:.75rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o-{border-bottom-width:1px;border-color:var(--color-black);border-style:solid}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeDefault-0vfo5BUm5zA- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-{font-size:.875rem;line-height:1.3125rem;line-height:1rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeSmall-egmAkQaF8vY- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-{font-size:.75rem;line-height:.875rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_sizeLarge-rlPYr4bXytU- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-{font-size:1rem;line-height:1rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-{font-size:.875rem;line-height:1.3125rem;padding:.625rem .625rem .5rem .25rem;text-align:left}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-.media-ui-Tabs_tabIcon-ObJANShqDQA-{margin-left:1.375rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before{color:var(--color-black);font-weight:400;left:.25rem;top:.625rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-.media-ui-Tabs_tabIcon-ObJANShqDQA-:before{left:auto}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-:hover{background-color:var(--color-gray-100)}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before{color:var(--color-black);font-weight:700}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-.media-ui-Tabs_active-Kod2QK8yhi8-{box-shadow:inset 0 -.1875rem 0 0 #000;color:var(--color-black);font-weight:700}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-:not(:last-of-type){margin-right:.375rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_centerTabText-1-l2IGKpYO0- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-{padding-left:.25rem;padding-right:.25rem;text-align:center}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_centerTabText-1-l2IGKpYO0- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-.media-ui-Tabs_tabIcon-ObJANShqDQA-{margin-left:1.375rem}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_centerTabText-1-l2IGKpYO0- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-:before{left:auto;padding-left:0;padding-right:0}.media-ui-Tabs_tabs-u-Bix8TJACE-.media-ui-Tabs_default--OhIzZC92sU->.media-ui-Tabs_navigation-T4QnKpvvd2o-.media-ui-Tabs_centerTabText-1-l2IGKpYO0- .media-ui-Tabs_navigationItem-G8nqBQ7MyNQ- .media-ui-Tabs_tabText-SVJ-42wuIVg-.media-ui-Tabs_tabIcon-ObJANShqDQA-:before{left:auto}.media-ui-Slider_slider-ALLO9PcCNsU-,.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_track-AspceFK4VEs-{display:inline-flex}.media-ui-Slider_slider-ALLO9PcCNsU-{max-width:100%}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_track-AspceFK4VEs-{--tw-scroll-snap-strictness:proximity;align-items:center;overflow:scroll;overflow-x:scroll;overscroll-behavior:contain;scroll-behavior:smooth;scroll-snap-type:x var(--tw-scroll-snap-strictness);scrollbar-width:none}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_track-AspceFK4VEs-::-webkit-scrollbar{display:none}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_track-AspceFK4VEs->*{flex:none;scroll-snap-align:start}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_shadowWrapper-v4WZy1u-KEk-{display:inline-flex;max-width:100%;overflow:hidden;position:relative}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_shadows-EQ-OTy-YVEE-:after,.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_shadows-EQ-OTy-YVEE-:before{--tw-gradient-from:var(--color-white) var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:var(--color-transparent-white) var(--tw-gradient-to-position);content:"";height:100%;opacity:0;pointer-events:none;position:absolute;transition:opacity .5s;width:16%;z-index:1}.media-ui-Slider_slider-ALLO9PcCNsU-:not(.media-ui-Slider_isAtStart-n0WJnmO946M-) .media-ui-Slider_shadows-EQ-OTy-YVEE-:before{opacity:1}@media (min-width:768px){.media-ui-Slider_slider-ALLO9PcCNsU-:not(.media-ui-Slider_isAtStart-n0WJnmO946M-) .media-ui-Slider_shadows-EQ-OTy-YVEE-:before{opacity:0}}@media (max-width:767px){.media-ui-Slider_slider-ALLO9PcCNsU-:not(.media-ui-Slider_isAtStart-n0WJnmO946M-) .media-ui-Slider_shadows-EQ-OTy-YVEE-:before{opacity:0}}.media-ui-Slider_slider-ALLO9PcCNsU-:not(.media-ui-Slider_isAtEnd-Au5Y27ItS5o-) .media-ui-Slider_shadows-EQ-OTy-YVEE-:after{opacity:1}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_shadows-EQ-OTy-YVEE-:before{background-image:linear-gradient(to right,var(--tw-gradient-stops));left:0}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_shadows-EQ-OTy-YVEE-:after{background-image:linear-gradient(to left,var(--tw-gradient-stops));right:0}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI-{display:none}@media (min-width:768px){.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI-{display:inline-flex}}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI-{align-items:stretch;padding:.21875rem .3125rem .21875rem 0}.media-ui-Slider_slider-ALLO9PcCNsU-:not(.media-ui-Slider_isAtEnd-Au5Y27ItS5o-).media-ui-Slider_boxShadow-kvy2WScFGAk- .media-ui-Slider_navigation-Yx8NXBaqhDI-{box-shadow:-.125rem 0 .25rem 0 rgba(0,0,0,.051)}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- .media-ui-Slider_arrow--r5pSh5snEo-:hover:not([disabled]){background:var(--color-gray-200);border-color:var(--color-gray-200);border-radius:.1875rem}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- .media-ui-Slider_arrow--r5pSh5snEo-{align-items:center;display:flex;font-size:0;justify-content:center;width:1.6875rem}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- .media-ui-Slider_arrow--r5pSh5snEo-:before{border-top:1px solid var(--color-black);content:"";display:block;height:.625rem;transform-origin:50% 25%;width:.625rem}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- .media-ui-Slider_arrow--r5pSh5snEo-:first-of-type{margin-right:.1875rem}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- .media-ui-Slider_arrow--r5pSh5snEo-:first-of-type:before{border-left:1px solid var(--color-black);transform:rotate(-45deg)}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- .media-ui-Slider_arrow--r5pSh5snEo-:last-of-type:before{border-right:1px solid var(--color-black);transform:rotate(45deg)}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- [disabled]:hover:first-of-type:before,.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- [disabled]:hover:last-of-type:before{border-color:var(--color-gray-300)}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- [disabled]{transition:border,background .3s}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- [disabled]:before{border-top:1px solid var(--color-gray-300);transition:border .3s}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- [disabled]:first-of-type:before{border-left:1px solid var(--color-gray-300)}.media-ui-Slider_slider-ALLO9PcCNsU- .media-ui-Slider_navigation-Yx8NXBaqhDI- [disabled]:last-of-type:before{border-right:1px solid var(--color-gray-300)}.media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI- .media-ui-QuickAddSubscribe_header-MuXRu-OCcAc-{display:flex;justify-content:space-between}.media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI- .media-ui-QuickAddSubscribe_titleContainer-27KIYTcUEc4-{align-items:center;display:flex;font-weight:500;gap:.25rem}.media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI- .media-ui-QuickAddSubscribe_closeButton-rkw749m7hDY-{cursor:pointer}.media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI- .media-ui-QuickAddSubscribe_closeButton-rkw749m7hDY-:hover{opacity:.7}.media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI- .media-ui-QuickAddSubscribe_closeButton-rkw749m7hDY- svg{height:1rem;width:1rem}.media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI- .media-ui-QuickAddSubscribe_description-vtnQjLLm-5k-{display:block;font-size:1rem;line-height:1.2;margin-top:.625rem}.media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI- .media-ui-QuickAddSubscribe_buttonsContainer-BklQoh023uw-{display:flex;gap:1rem;margin-top:1rem}.media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI- .media-ui-QuickAddSubscribe_buttonsContainer-BklQoh023uw- .media-ui-QuickAddSubscribe_subscribeButton-WOCCmPT7BqU-{flex:2;padding-left:1rem;padding-right:1rem}.media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI- .media-ui-QuickAddSubscribe_buttonsContainer-BklQoh023uw- .media-ui-QuickAddSubscribe_signInButton-HkC0-TXEZiE-{flex:1 1 0%}.media-ui-ButtonDropdown_wrapper-Ak7eD0bkYuk-{display:flex;flex-direction:column;position:relative;width:-moz-max-content;width:max-content}.media-ui-ButtonDropdown_menu-nTOQvv7qJHg-{--tw-shadow:0 1px 0.1875rem 0 rgba(0,0,0,.1),0 1px 0.125rem -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 0.1875rem 0 var(--tw-shadow-color),0 1px 0.125rem -1px var(--tw-shadow-color);background-color:var(--color-white);border-color:transparent;border-color:var(--color-gray-100);border-radius:.25rem;border-width:1px;box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);display:none;margin-top:.25rem;max-height:19.125rem;overflow-y:auto;position:absolute;top:100%;width:100%;z-index:10}.media-ui-ButtonDropdown_menu-open-oUemB42IHVo-{display:block}.media-ui-DropdownButton_DropdownButton-OoxGX19AQ8M-{align-items:center;border-color:var(--color-gray-500);border-radius:.875rem;border-width:1px;display:flex;font-size:.875rem;height:1.75rem;justify-content:center;line-height:.75rem;min-width:10rem;outline:.125rem solid transparent;outline-offset:.125rem;padding:.5rem .75rem;width:auto}.media-ui-DropdownButton_DropdownButton-OoxGX19AQ8M-:hover{background-color:var(--color-gray-200)}.media-ui-DropdownButton_leftIcon-rVySjAuSJtM-{flex-shrink:0;height:1rem;margin:0;width:1rem}.media-ui-DropdownButton_leftIcon-rVySjAuSJtM->svg{height:1rem;width:1rem}.media-ui-DropdownButton_dropdownIcon---0qRNrC5Xc-{flex-shrink:0;height:.875rem;margin:0 0 0 .25rem;width:.875rem}.media-ui-DropdownButton_dropdownIcon---0qRNrC5Xc->svg{height:.875rem;width:.875rem}.media-ui-DropdownButton_text-5quqCVafbwY-{flex-grow:1}.media-ui-BoxAd_boxAd-rTusT9mNmWo-{align-items:center;display:flex;justify-content:center;min-height:15.625rem;position:relative;width:100%}.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs-{display:flex;height:4.5rem;position:relative}@media (min-width:768px){.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs-{height:3.3125rem}}.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs-{padding-left:.34375rem}.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs- [data-component=dropdown-button]{align-items:center;display:flex;margin-right:.875rem}.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs- [data-component=dropdown-button] p{font-size:.875rem;font-weight:500;max-width:0;overflow:hidden;transition:max-width .3s linear,padding .1s linear .2s}@media (min-width:912px){.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs- [data-component=dropdown-button]>span{margin-left:.4375rem}}.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs- [data-component=dropdown-button] svg{height:1rem;width:1rem}.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs- [data-component=slider]{overflow:hidden;width:100vw}.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs- [data-component=slider] [data-component=slider-navigation]{box-shadow:-.125rem 0 .25rem 0 rgba(0,0,0,.051);padding:.46875rem}.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs- [data-component=slider] [data-component=slider-track]{--tw-scroll-snap-strictness:mandatory;width:100vw}.media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs- [data-component=slider] [data-component=slider-track]>*{scroll-snap-align:none}@media (min-width:1123px){.media-ui-TickerBarWithPill_isStart-DVblI0eS-5k- [data-component=dropdown-button] p{max-width:9.375rem;padding-left:.8125rem}}@media (min-width:1335px){.media-ui-TickerBarWithPill_isStart-DVblI0eS-5k- [data-component=dropdown-button] p{padding-left:2.1875rem}}.media-ui-TickerBarWithPill_isStart-DVblI0eS-5k- [data-component=dropdown-button] p{transition:all .3s linear}.media-ui-TickerBarWithPill_isEnd-y6b4LuxnPgY- [data-component=slider] [data-component=slider-navigation],.media-ui-TickerBarWithPill_isStart-DVblI0eS-5k- .media-ui-TickerBarWithPill_securities-QkJSeChnEgQ-{box-shadow:0 0}@media (min-width:768px){.media-ui-TickerBarWithPill_securitiesCollapsed-SvMOnXySPjE- [data-component=slider] [data-component=slider-track]>*{scroll-snap-align:end}}.media-ui-TickerBarWithPill_mobileSecurities-kyIAwDI40yE-,.media-ui-TickerBarWithPill_securities-QkJSeChnEgQ-{display:flex;position:relative;white-space:nowrap}.media-ui-TickerBarWithPill_mobileSecurities-kyIAwDI40yE- [data-component=button-dropdown-menu],.media-ui-TickerBarWithPill_securities-QkJSeChnEgQ- [data-component=button-dropdown-menu]{white-space:nowrap;width:-moz-fit-content;width:fit-content}.media-ui-TickerBarWithPill_securities-QkJSeChnEgQ-{display:none}@media (min-width:1123px){.media-ui-TickerBarWithPill_securities-QkJSeChnEgQ-{display:flex}}.media-ui-TickerBarWithPill_securities-QkJSeChnEgQ-{box-shadow:.375rem 0 .25rem -.25rem rgba(0,0,0,.051)}@media (min-width:1123px){.media-ui-TickerBarWithPill_mobileSecurities-kyIAwDI40yE-{display:none}}.media-ui-TickerBarWithPill_menuPortal-t-2fUABFAYw-{position:absolute;top:100%;white-space:nowrap;width:-moz-fit-content;width:fit-content}.media-ui-TickerBarWithPill_menuPortal-t-2fUABFAYw->ul{width:-moz-fit-content;width:fit-content}.media-ui-TickerBarWithPill_ticker-5arx5cdkyZQ-{margin-left:.125rem;padding-right:.625rem}.media-ui-TickerBarWithPill_ticker-5arx5cdkyZQ-:last-of-type{padding-right:0}.media-ui-TickerBarWithPill_scrollSnap--pXjNv79E04-{scroll-snap-align:start!important} \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/58ec4ae3b0278ff4_05Q6.css b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/58ec4ae3b0278ff4_05Q6.css new file mode 100644 index 0000000..70e1375 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/58ec4ae3b0278ff4_05Q6.css @@ -0,0 +1 @@ +.styles_gridLayoutContainer__6qA_N .styles_stickyEnabled__RJ4og{position:sticky;top:1px}.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj{display:flex;justify-content:center}.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_terminalTout__c6q_u{display:none}@media (min-width:768px){.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_terminalTout__c6q_u{display:flex}}.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_terminalTout__c6q_u>div{align-items:center;gap:1rem;justify-content:flex-end;max-width:100%;padding:.5rem 1.875rem .5rem .75rem}@media (min-width:768px) and (max-width:1122px){.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_terminalTout__c6q_u>div{display:flex}}.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_terminalTout__c6q_u>div{white-space:nowrap}.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_terminalTout__c6q_u>div>div{flex-direction:row!important}.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_terminalTout__c6q_u>div span{white-space:nowrap}.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_terminalTout__c6q_u>div div{align-items:center;display:flex;gap:.25rem;margin-bottom:0!important}.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_mobileTerminalTout__GrCCq{padding-bottom:1.25rem;padding-top:1.25rem}@media (min-width:768px){.styles_gridLayoutContainer__6qA_N .styles_terminalToutContainer__nG0tj .styles_mobileTerminalTout__GrCCq{display:none}}.styles_gridLayoutContainer__6qA_N .styles_boxAd__jAmUW,.styles_gridLayoutContainer__6qA_N .styles_marketsSummary__emL_a,.styles_gridLayoutContainer__6qA_N .styles_newsletter__jmRm_{border-bottom-width:1px;border-color:var(--color-gray-300);padding-bottom:2rem;padding-top:2rem}.styles_gridLayoutContainer__6qA_N .styles_qualtricsSurvey__M2UcT{padding-top:1.125rem}.styles_gridLayoutContainer__6qA_N .styles_topicModule__yVt_L{padding-right:0}.style_sectionFront__UqNT5{display:flex;flex-direction:column;gap:1rem}.style_sectionFront__UqNT5 [data-sectionFront-cellState=loading]{display:none}.style_sectionFront__UqNT5 [data-sectionFront-cellState=success],.style_sectionFront__UqNT5.style_loading__EDCkt [data-sectionFront-cellState=loading]{display:block}.style_sectionFront__UqNT5.style_loading__EDCkt [data-sectionFront-cellState=success]{display:none}.style_section__LjMXv{display:flex;flex-direction:column;gap:1rem}@media (min-width:1123px){.style_section__LjMXv .style_boxAd__9_GYj{display:none}}@media (max-width:767px){.style_section__LjMXv .style_inBodyAd__nAGZe[data-ad-size="300x250"],.style_section__LjMXv .style_inBodyAd__nAGZe[data-ad-size="3x3"],.style_section__LjMXv .style_inBodyAd__nAGZe[data-ad-size="5x24"]{height:100vw;overflow:visible}}@media (min-width:1123px){.style_section__LjMXv .style_inBodyAd__nAGZe{display:none}}@media (max-width:767px){.style_section__LjMXv .style_inBodyAd__nAGZe[data-ad-size="3x4"]{height:auto}}.style_brokerBoxAd__Jw_Se{display:none}@media (min-width:1123px){.style_brokerBoxAd__Jw_Se{display:block}}.style_displayIdContainer__Uz7Gy{display:flex}.style_displayId__ZrwVL{text-decoration-line:none}.style_displayId__ZrwVL:hover{opacity:1}.style_currencyIdContainer__ZzZqr{align-items:center;display:flex}.style_quickAdd__N9GK9{padding-left:.5rem;padding-right:.5rem}.style_stockId__blFSc{color:var(--color-gray-700);font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;font-weight:500;line-height:.875rem}.style_stockId__blFSc:hover{color:var(--color-gray-900)}.style_stockName__8SqkX{width:8.125rem}@media (min-width:768px){.style_stockName__8SqkX{width:13.4375rem}}.style_stockName__8SqkX{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_stockName__8SqkX.style_crossRate__ctrTo{padding-left:.75rem;width:3.125rem}@media (max-width:767px){.style_stockName__8SqkX.style_consumerInterestRate__fEUGF{width:10.9375rem}}@media (min-width:1123px){.style_stockName__8SqkX.style_regionEconomiesName__rKk84{width:21.875rem}}@media (min-width:768px) and (max-width:1122px){.style_stockName__8SqkX.style_regionEconomiesName__rKk84{width:20.3125rem}}@media (min-width:768px){.style_stockName__8SqkX.style_regionEconomiesName__rKk84{text-wrap:wrap}}.style_entityName__seJpN{align-items:center;display:flex;gap:.25rem;padding-left:.75rem}.style_entityName__seJpN svg{height:.75rem;width:.75rem}.style_stockValue__fsPwb>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.125rem*var(--tw-space-x-reverse))}.style_stockValue__fsPwb{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.style_stockTime__SnJo8,.style_stockValue__fsPwb{color:var(--color-gray-700)}.style_yieldValue__Jk8_0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.125rem*var(--tw-space-x-reverse))}.style_yieldValue__Jk8_0{--tw-numeric-spacing:tabular-nums;color:var(--color-gray-700);font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);font-weight:500}.style_yieldValue__Jk8_0.style_positive__BTijB{color:var(--color-green-refresh2024-500)}.style_yieldValue__Jk8_0.style_negative__A0TVm{color:var(--color-red-refresh2024-500)}.style_sectionFrontTable__vch1l .style_titleContainer__S5ESk{align-items:center;background-color:var(--color-gray-100);display:flex;justify-content:space-between;padding:.625rem 1rem}.style_sectionFrontTable__vch1l .style_titleContainer__S5ESk .style_titleWrapper___1CvM{align-items:flex-end;-moz-column-gap:1.25rem;column-gap:1.25rem;display:flex;flex-wrap:wrap;row-gap:.625rem}.style_sectionFrontTable__vch1l .style_titleContainer__S5ESk .style_title__nH4Mw{display:inline-block}.style_sectionFrontTable__vch1l .style_titleContainer__S5ESk .style_sectionLink__3_7_L{text-decoration-line:none}.style_sectionFrontTable__vch1l .style_titleContainer__S5ESk .style_subtitle__E5kFp{--tw-text-opacity:1;color:rgb(118 118 118/var(--tw-text-opacity,1));display:inline;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.9375rem;font-weight:700;line-height:1}.style_sectionFrontTable__vch1l .style_header__VSpHj{border-color:var(--color-gray-200);color:var(--color-gray-700);display:table-row}.style_sectionFrontTable__vch1l .style_header__VSpHj>th:first-child{z-index:10}.style_sectionFrontTable__vch1l .style_header__VSpHj>.style_stickyCol__8nZn2,.style_sectionFrontTable__vch1l .style_header__VSpHj>th:first-child{background-color:var(--color-white);left:0;position:sticky}.style_sectionFrontTable__vch1l .style_header__VSpHj>.style_quickAddPresent___NyXV{padding-left:3rem}.style_sectionFrontTable__vch1l .style_header__VSpHj>.style_quickAddAbsent__CyCiH{padding-left:.75rem}.style_sectionFrontTable__vch1l .style_headerControls__sO6HZ{align-items:center;display:flex;gap:.5rem}.style_sectionFrontTable__vch1l .style_table__SrH5K{min-width:-moz-max-content;min-width:max-content;table-layout:auto}.style_sectionFrontTable__vch1l .style_scroll__21Ia4{overflow-x:auto;overflow-y:hidden;position:relative}.style_sectionFrontTable__vch1l .style_stickyCol__8nZn2{background-color:var(--color-white);left:0;position:sticky}.style_sectionFrontTable__vch1l .style_row__rMjqo{border-color:var(--color-gray-200)}.style_sectionFrontTable__vch1l .style_row__rMjqo>.style_quickAddAbsent__CyCiH{padding-left:.75rem}.style_sectionFrontTable__vch1l .style_headerDots__ehPlm{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(251 139 30/var(--tw-border-opacity,1));border-style:dotted;border-top-width:1px;display:block;height:.1875rem;margin-bottom:1px;width:100%}.style_sectionFrontTable__vch1l .style_headerDots__ehPlm:last-of-type{border-bottom-width:0}.style_sectionFrontTable__vch1l .style_hiddenOnMobile__Vm2Su{display:none}@media (min-width:768px){.style_sectionFrontTable__vch1l .style_hiddenOnMobile__Vm2Su{display:table-cell}}.style_sectionFrontTable__vch1l .style_sectionNote__kIVGQ:after{--tw-content:"";clear:both;content:var(--tw-content);display:table}.style_sectionFrontTable__vch1l .style_sectionNote__kIVGQ .style_tableDisclaimer__4H2IH{--tw-text-opacity:1;color:rgb(118 118 118/var(--tw-text-opacity,1));font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.75rem;line-height:1.125rem;line-height:1;padding-bottom:.5rem;padding-top:1rem}.style_tableWrapper__Q1HVo{margin-bottom:.5rem;margin-top:.5rem}.style_tableWrapper__Q1HVo .style_tableComponent__XG7qI{width:100%}.style_column__qFboh{font-size:.75rem;font-weight:400;line-height:1.125rem;line-height:1;padding-bottom:.75rem;padding-left:.75rem;padding-top:.75rem}.style_column__qFboh:first-of-type{padding-left:0}@media (min-width:1123px){.style_column__qFboh{padding-bottom:.5rem;padding-right:0;padding-top:.5rem}}.style_sortableColumn__vJvYp{align-items:center;cursor:pointer;display:inline-flex;overflow:hidden}.style_sortableColumnEnd__av7Yk{flex-direction:row-reverse;width:100%}.style_sortNeutral__gZtto{--tw-rotate:0deg;color:var(--color-gray-500)}.style_sortAsc__aN9yo,.style_sortNeutral__gZtto{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s}.style_sortAsc__aN9yo{--tw-rotate:180deg}.style_sortDesc__6WKjy{--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.2s}.style_start__L8R9v{text-align:left}.style_end__Ug4Cn{text-align:right}.style_noSort__mBHkd{padding-right:.75rem}.style_tableHeader__XgkzK,.style_tableRow__YAQry{border-bottom-width:1px;border-color:var(--color-black);border-style:solid}.style_tableCell__1UrwH{color:var(--color-gray-700);font-size:.875rem;line-height:1.2;padding:.5rem}.style_tableCell__1UrwH:first-of-type{padding-left:0}.style_start__T_7tE{text-align:left}.style_end__0XcYw{text-align:right}.style_cellStart__Mdz_r{display:flex;justify-content:flex-start}.style_cellEnd__1kY7j{display:flex;justify-content:flex-end}.style_sectionNote__MOgIu:after{--tw-content:"";clear:both;content:var(--tw-content);display:table}.style_sectionNote__MOgIu .style_topDisclaimer__CF4R8{color:var(--color-gray-700);font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.75rem;line-height:1.125rem;line-height:120%;padding-bottom:.75rem;padding-top:.5rem}@media (min-width:1123px){.style_sectionNote__MOgIu .style_topDisclaimer__CF4R8{padding-bottom:1.25rem;padding-top:.5rem}}.style_sectionNote__MOgIu .style_bottomDisclaimer__fD5zi{--tw-text-opacity:1;color:rgb(118 118 118/var(--tw-text-opacity,1));font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.75rem;line-height:1.125rem;line-height:120%}.style_disclaimerLink__YKbac{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(118 118 118/var(--tw-border-opacity,1));border-style:solid;text-decoration-line:none}.style_bfixHeader__yIaQE .style_wrapper__5Sf27{display:inline-block;padding-right:1rem}.style_bfixHeader__yIaQE .style_regionDropdown__ZGFFu{width:18.75rem}.style_bfixHeader__yIaQE .style_regionDropdown__ZGFFu input[data-component=outlined-dropdown-input]{padding-bottom:.75rem;padding-top:.75rem}.style_bfixHeader__yIaQE .style_regionDropdown__ZGFFu fieldset{border-radius:.5rem}.style_bfixHeader__yIaQE .style_regionDropdown__ZGFFu ul{z-index:20}.style_bfixHeader__yIaQE .style_datePicker__dtGBD{border-color:var(--color-gray-300);border-radius:.25rem;border-style:solid;border-width:1px;text-align:center;width:8.75rem!important}.styles_datepicker__J7FxC{display:block;width:100%}.styles_datepicker__J7FxC .styles_datepickerInput__xd4Ne{border-bottom-width:1px;border-color:var(--color-black);border-style:solid;font-family:BWHaasGroteskTF,BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;height:2.5rem;line-height:1.3125rem;line-height:1.15;outline:.125rem solid transparent;outline-offset:.125rem;padding-bottom:.625rem;padding-top:.625rem;width:100%}.styles_datepicker__J7FxC .styles_datepickerInput__xd4Ne.styles_error__z0ddu{border-bottom-width:1px;border-color:var(--color-red-700);color:var(--color-red-700)}.styles_datepicker__J7FxC.styles_refresh2025__9He_H .styles_datepickerInput__xd4Ne{border-color:var(--color-gray-600);border-radius:.5rem;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;padding:.875rem 1rem}.styles_datepicker__J7FxC.styles_refresh2025__9He_H .styles_datepickerInput__xd4Ne:focus{border-color:var(--color-black);border-width:.125rem;padding:1rem}.styles_calendar__fDsYY{border-color:var(--color-black);border-radius:0;border-style:solid;border-top-width:1px}.styles_calendar__fDsYY>button{--tw-rotate:45deg;border-color:var(--color-black);border-style:solid;border-width:0;height:.75rem;top:.9375rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));width:.75rem}.styles_calendar__fDsYY>button:nth-child(2n){border-bottom-width:1px;border-left-width:1px;left:.9375rem;margin-top:0}.styles_calendar__fDsYY>button:nth-child(odd){border-right-width:1px;border-top-width:1px;margin-top:0;right:.9375rem}.styles_calendar__fDsYY>button>span{display:none}.styles_calendar__fDsYY [class="react-datepicker__header "]{background-color:var(--color-white);border-bottom-width:1px;border-color:var(--color-black);border-style:solid}.styles_calendar__fDsYY [class=react-datepicker__current-month]{padding:.3125rem 0}.styles_calendar__fDsYY.styles_refresh2025__9He_H{background-color:var(--color-gray-100);border-radius:1rem;border-style:none}.styles_calendar__fDsYY.styles_refresh2025__9He_H>button{top:1.1875rem}.styles_calendar__fDsYY.styles_refresh2025__9He_H [class="react-datepicker__header "]{background-color:var(--color-gray-100);border-style:none;border-top-left-radius:1rem;border-top-right-radius:1rem;padding-bottom:.75rem;padding-top:.75rem}.styles_calendar__fDsYY.styles_refresh2025__9He_H [class="react-datepicker__header "] h2{font-size:1rem;line-height:1}.styles_day__Co7yF.styles_refresh2025__9He_H{font-size:1rem;line-height:1.2;line-height:1.25rem;padding:.625rem;width:2.5rem}.styles_weekday__opf7_.styles_refresh2025__9He_H{padding:.75rem .75rem .75rem 1rem;width:2.5rem}.styles_weekday__opf7_.styles_refresh2025__9He_H span{font-size:1rem;line-height:1.2;line-height:1.25rem}.styles_popper__blMu7{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;z-index:20}.styles_popper__blMu7>svg{display:none}.styles_popper__blMu7[data-placement^=top]{margin-bottom:0}.styles_popper__blMu7[data-placement^=bottom]{margin-top:0}.styles_react-datepicker__day--keyboard-selected__qgVyi,.styles_react-datepicker__day__L1VZG:hover{background-color:var(--color-white);border-radius:0;color:var(--color-black);text-decoration-line:underline}.styles_react-datepicker__day--selected__7dbdW,.styles_react-datepicker__day--selected__7dbdW:hover{background-color:var(--color-white);border-radius:0;color:var(--color-black);font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-weight:700}.styles_todayInMarkets__tUkBL{background-color:var(--color-gray-100);border-bottom-width:1px;border-color:var(--color-gray-400);display:flex;flex-direction:column;padding:1.25rem}@media (min-width:768px){.styles_todayInMarkets__tUkBL{padding-left:2.1875rem;padding-right:2.1875rem}}.styles_todayInMarkets__tUkBL .styles_collapsibleContainer__nMBXT{align-items:center;display:flex;justify-content:space-between}.styles_todayInMarkets__tUkBL .styles_sectionTitle__Vr2RB{color:var(--color-gray-900);font-weight:700;line-height:1}.styles_todayInMarkets__tUkBL .styles_sectionContainer__ZoDks{display:flex;flex-direction:column;gap:2rem;padding-top:1.5rem}@media (min-width:1123px){.styles_todayInMarkets__tUkBL .styles_sectionContainer__ZoDks{flex-direction:row}}@media (min-width:1123px) and (max-width:1334px){.styles_todayInMarkets__tUkBL .styles_sectionContainer__ZoDks{gap:1rem}}@media (min-width:1335px){.styles_todayInMarkets__tUkBL .styles_sectionContainer__ZoDks{gap:1.25rem}}.styles_todayInMarkets__tUkBL .styles_chevronIcon__KjFFY{color:var(--color-gray-600)}.styles_todayInMarkets__tUkBL .styles_chevronIcon__KjFFY>svg{height:1.25rem;width:1.25rem}.styles_todayInMarkets__tUkBL .styles_showHideToggle__LYn0n{align-items:center;display:flex;height:1.9375rem;justify-content:center;transition-duration:.5s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1.9375rem}.styles_todayInMarkets__tUkBL .styles_showHideToggle__LYn0n.styles_open__bvfAz{--tw-rotate:-180deg}.styles_todayInMarkets__tUkBL .styles_showHideToggle__LYn0n.styles_close__Ykt_X,.styles_todayInMarkets__tUkBL .styles_showHideToggle__LYn0n.styles_open__bvfAz{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.styles_todayInMarkets__tUkBL .styles_showHideToggle__LYn0n.styles_close__Ykt_X{--tw-rotate:0deg}.styles_todayInMarkets__tUkBL .styles_sectionWrapper__5suBa{overflow:hidden;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.styles_todayInMarkets__tUkBL .styles_sectionWrapper__5suBa.styles_open__bvfAz{opacity:1}@media (min-width:768px){.styles_todayInMarkets__tUkBL .styles_sectionWrapper__5suBa.styles_open__bvfAz{max-height:35.3125rem}}@media (min-width:1123px){.styles_todayInMarkets__tUkBL .styles_sectionWrapper__5suBa.styles_open__bvfAz:hover{overflow:visible}}.styles_todayInMarkets__tUkBL .styles_sectionWrapper__5suBa.styles_close__Ykt_X{max-height:0;opacity:0}.styles_placeholderContainer__rmBnM{display:flex;flex-direction:column;gap:1.5rem;width:100%}@media (min-width:768px){.styles_placeholderContainer__rmBnM{gap:2rem}}@media (min-width:1123px){.styles_placeholderContainer__rmBnM{gap:3rem}}.styles_placeholderContainer__rmBnM [data-component=placeholder-line]{margin:0}.styles_placeholderContainer__rmBnM .styles_placeholderRow__nH6cV{margin-bottom:.75rem}@media (min-width:1123px){.styles_placeholderContainer__rmBnM .styles_desktopHiddenRow__rbD2g{display:none}}.styles_todayInMarketsCategoriesContainer__xZl2d{display:flex;flex-direction:column;flex-grow:1}.styles_todayInMarketsCategoriesContainer__xZl2d .styles_tabContainer__JgtRf nav{margin-bottom:1rem;padding:.375rem}@media (min-width:1123px){.styles_todayInMarketsCategoriesContainer__xZl2d .styles_tabSliderContainer__UBwk_{display:none}}.styles_todayInMarketsCategoriesContainer__xZl2d .styles_tabSliderContainer__UBwk_ [data-component=slider-track]{gap:.5rem}.styles_todayInMarketsCategoriesContainer__xZl2d .styles_tabSliderContainer__UBwk_ [data-component=slider-navigation]{display:none}.styles_todayInMarketsCategoriesContainer__xZl2d .styles_tabGridContainer__O_ANW{display:none;flex-wrap:wrap;gap:1rem}@media (min-width:1123px){.styles_todayInMarketsCategoriesContainer__xZl2d .styles_tabGridContainer__O_ANW{display:flex}}@media (min-width:1123px) and (max-width:1334px){.styles_todayInMarketsCategoriesContainer__xZl2d .styles_tabGridContainer__O_ANW{gap:.5rem}}@media (min-width:1335px){.styles_todayInMarketsCategoriesContainer__xZl2d .styles_tabGridContainer__O_ANW{gap:1rem}}.styles_todayInMarketsCategoriesContainer__xZl2d .styles_dropDownContainer__BNAkF{display:flex;flex-direction:column;gap:2rem}@media (min-width:768px) and (max-width:1122px){.styles_todayInMarketsCategoriesContainer__xZl2d .styles_dropDownContainer__BNAkF{gap:1rem}}.styles_todayInMarketsCategoriesContainer__xZl2d .styles_dropDownContainer__BNAkF .styles_cardsDropdown__cZ31b{display:flex;width:100%}.styles_todayInMarketsCategoriesContainer__xZl2d .styles_dropDownContainer__BNAkF .styles_cardsDropdown__cZ31b button{border-style:solid;padding:1.0625rem 1rem}.styles_todayInMarketsCategoriesContainer__xZl2d .styles_dropDownContainer__BNAkF [data-component=slider-track]{gap:.5rem}.styles_todayInMarketsCategoriesContainer__xZl2d [data-component=tabs-tab-title]{font-family:var(--phx-font-core-family-sans-jp);font-size:var(--phx-font-core-size-14);line-height:var(--phx-font-core-line-height-150)}.styles_todayInMarketsSparklineCardsPlaceholder__vKkWp{height:8.3125rem!important;width:10.125rem!important}.styles_todayInMarketsSparklineCardContainer__JsOjO{border-radius:.5rem;cursor:pointer;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.3s}.styles_todayInMarketsSparklineCardContainer__JsOjO .styles_todayInMarketsSparklineCard__QUoKk:after{border-radius:.5rem;inset:0;position:absolute;transition-duration:.3s;transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);z-index:-1}.styles_todayInMarketsSparklineCardContainer__JsOjO.styles_active__pd1BZ{--tw-scale-x:1.05;--tw-scale-y:1.05;position:relative;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.styles_todayInMarketsSparklineCardContainer__JsOjO.styles_active__pd1BZ .styles_todayInMarketsSparklineCard__QUoKk:after{--tw-shadow:0.125rem 0.125rem 0.875rem 0 rgba(0,0,0,.15);--tw-shadow-colored:0.125rem 0.125rem 0.875rem 0 var(--tw-shadow-color);--tw-content:"";box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);content:var(--tw-content)}.styles_todayInMarketsSparklineCardContainer__JsOjO .styles_todayInMarketsSparklineCard__QUoKk{background-color:var(--color-white)}.styles_todayInMarketsErrorWrapper__XKdNx{display:flex;gap:1rem}@media (min-width:1123px){.styles_todayInMarketsErrorWrapper__XKdNx{flex-wrap:wrap}}.styles_placeholderWithError___5uKu{height:100%;position:relative;width:100%}.styles_placeholderWithError___5uKu .styles_placeholderContainer__HlXsF{height:100%;-o-object-fit:cover;object-fit:cover;opacity:.2;width:100%}.styles_placeholderWithError___5uKu .styles_errorContainer__nNDR6{align-items:center;display:flex;inset:0;justify-content:center;position:absolute}.styles_notification__cF2wr{align-items:center;display:flex;gap:1rem;justify-content:space-between;padding:1rem;width:100%}.styles_notification__cF2wr.styles_lineBreak__uhNk2{display:flex;flex-direction:column;gap:1.5rem}.styles_notification__cF2wr .styles_textWrapper__iNFtG{color:var(--color-red-500);font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.3125rem;line-height:1.2;margin:0}.styles_notification__cF2wr .styles_textWrapper__iNFtG.styles_lineBreak__uhNk2{align-items:center;color:var(--color-gray-700);display:flex;flex-direction:column}.styles_notification__cF2wr .styles_button___5EpS{display:none}@media (min-width:768px){.styles_notification__cF2wr .styles_button___5EpS{display:inline-block}}.styles_notification__cF2wr .styles_button___5EpS.styles_lineBreak__uhNk2{display:inline-block}.styles_notification__cF2wr .styles_button___5EpS.styles_lineBreak__uhNk2 path{fill:var(--color-white)}@media (min-width:768px){.styles_notification__cF2wr .styles_buttonIcon__P7jK9{display:none}}.styles_notification__cF2wr .styles_buttonIcon__P7jK9 path{fill:var(--color-white)}.styles_notification__cF2wr .styles_buttonIcon__P7jK9.styles_lineBreak__uhNk2{display:none}.styles_todayInMarketsHeatmapContainer__0HMlJ{flex-shrink:0}.styles_hoverContent__CAUax{text-wrap:nowrap;color:var(--color-black);font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.2;overflow:hidden;text-overflow:ellipsis;width:100%}.styles_tickerName__iHtrK{font-size:1rem;line-height:1.2}.styles_tickerName__iHtrK,.styles_tickerSymbol__daLQb{font-weight:500}.styles_tickerSymbol__daLQb{font-size:.875rem;line-height:1.3125rem;line-height:1.2}.styles_heatmap__yHhdz{align-content:flex-start;border-radius:.5rem;container:heatmap/size;display:flex;flex-wrap:wrap;justify-content:flex-start;position:relative}.styles_heatmap__yHhdz,.styles_tile__J5nKT{overflow:hidden}.styles_tile__J5nKT{color:var(--color-white);container:tile/size;display:inline-flex;flex-direction:column;gap:.125rem;outline-color:var(--color-white);outline-style:solid;outline-width:.125rem;padding:.25rem;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.styles_tile__J5nKT.styles_neutral__C8H_T{background-color:var(--color-gray-300)}.styles_tile__J5nKT.styles_low__BuNgU,.styles_tile__J5nKT.styles_neutral__C8H_T{color:var(--color-black)}.styles_tile__J5nKT.styles_positive__Apzxt.styles_low__BuNgU{background-color:var(--color-green-refresh2024-300)}.styles_tile__J5nKT.styles_positive__Apzxt.styles_medium__wpus6{background-color:var(--color-green-refresh2024-500)}.styles_tile__J5nKT.styles_positive__Apzxt.styles_high__tK345{background-color:var(--color-green-refresh2024-700)}.styles_tile__J5nKT.styles_negative___aCvA.styles_low__BuNgU{background-color:var(--color-red-refresh2024-300)}.styles_tile__J5nKT.styles_negative___aCvA.styles_medium__wpus6{background-color:var(--color-red-refresh2024-500)}.styles_tile__J5nKT.styles_negative___aCvA.styles_high__tK345{background-color:var(--color-red-refresh2024-700)}.styles_tile__J5nKT.styles_focusable__nV0ov{cursor:pointer}.styles_tile__J5nKT.styles_focusable__nV0ov.styles_active__bv5Pl{--tw-saturate:saturate(2)}.styles_tile__J5nKT.styles_focusable__nV0ov.styles_active__bv5Pl,.styles_tile__J5nKT:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.styles_tile__J5nKT:hover{--tw-saturate:saturate(1.5)}.styles_title__HViuq{font-size:.875rem;font-weight:500;line-height:1.3125rem;overflow:hidden;padding-left:.25rem;padding-top:.25rem;text-align:left;text-decoration-line:none;text-overflow:ellipsis}.styles_title__HViuq:hover{opacity:1;text-decoration-line:underline}@container tile (max-width: 60px){.styles_title__HViuq .styles_tickerType__kogqy{display:none}.styles_title__HViuq{display:block}}@container tile (max-width: 23px) or (max-height: 20px){.styles_title__HViuq{display:none}}.styles_tileHover__gboX8{--tw-bg-opacity:0.9!important;--tw-shadow:0.25rem 0.25rem 0.5rem 0px rgba(0,0,0,.12);--tw-shadow-colored:0.25rem 0.25rem 0.5rem 0px var(--tw-shadow-color);background-color:var(--color-white);background:hsla(0,0%,100%,.9);border-color:var(--color-gray-200);border-radius:.25rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column;gap:.25rem;padding:.25rem .5rem;pointer-events:none;position:absolute;transition-duration:75ms;transition-property:opacity,left,top;transition-timing-function:cubic-bezier(.4,0,.2,1);z-index:1}.watchlistWrappedContainer_bundlesBg__ZgQXQ{background-color:var(--color-gray-100)}.styles_zoneModule__Pqhmr{border-bottom-width:1px;border-color:var(--color-gray-400);display:flex;flex:6;flex-direction:column;flex-grow:1;padding:1.5rem 1.25rem;width:100%}@media (min-width:768px) and (max-width:1122px){.styles_zoneModule__Pqhmr{flex:12}}@media (min-width:768px){.styles_zoneModule__Pqhmr{padding-left:2.1875rem;padding-right:2.1875rem}}@media (min-width:912px) and (max-width:1122px){.styles_zoneModule__Pqhmr{flex:16}}@media (min-width:912px){.styles_zoneModule__Pqhmr{padding-bottom:2rem;padding-top:2rem}}.watchlistWrapped_root__rfK9H{display:flex;flex-direction:column;gap:1.5rem}@media (min-width:768px){.watchlistWrapped_root__rfK9H{gap:2rem}}@media (min-width:1335px){.watchlistWrapped_root__rfK9H{gap:3rem}}.watchlistWrapped_snapshotAndMoversSection__FoOtW{align-items:flex-start;display:flex;flex-direction:column;gap:.5rem}@media (min-width:1123px){.watchlistWrapped_snapshotAndMoversSection__FoOtW{flex-direction:row;gap:2rem}}.watchlistWrapped_mainContent__an8Ev{display:flex;flex-direction:column}.watchlistWrapped_chartSection__6OxH6{grid-column:span 2/span 2;margin-top:2rem}.watchlistWrapped_moversSection__eUgLL{display:flex;flex-direction:column;gap:2rem;padding-bottom:.75rem;width:100%}.watchlistWrapped_verticalDivider__TcHq_{align-self:stretch;background-color:var(--color-gray-200);display:none;width:1px}@media (min-width:768px){.watchlistWrapped_verticalDivider__TcHq_{display:block}}.watchlistWrapped_horizontalDivider__BM7XE{background-color:var(--color-gray-200);height:1px;width:100%}.watchlistWrapped_snapshotWrapper__A_rC_{flex-direction:column;justify-content:space-between;padding-bottom:.75rem}.watchlistWrapped_noTickersViewContainer__QjbdI,.watchlistWrapped_snapshotWrapper__A_rC_{display:flex;width:100%}.watchlistWrapped_noTickersViewContainer__QjbdI{align-items:center;aspect-ratio:827/579;justify-content:center}.watchlistWrapped_noTickersNotification__io6Ac{text-align:center}.watchlistWrapped_placeholderContainer__LxcyC{display:flex;flex-direction:column;gap:1.5rem;width:100%}@media (min-width:768px){.watchlistWrapped_placeholderContainer__LxcyC{gap:2rem}}@media (min-width:1123px){.watchlistWrapped_placeholderContainer__LxcyC{gap:3rem}}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundleContainer__dE543{padding:1.5rem}.watchlistWrapped_placeholderContainer__LxcyC [data-component=placeholder-line]{margin:0}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundleHeader__IKslv{align-items:center;display:flex;flex-direction:column;gap:.75rem;justify-content:center}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundleHeader__IKslv .watchlistWrapped_subscriberOnly__sR2zc [data-component=placeholder-line]{height:1.5rem;width:6.875rem}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundleHeader__IKslv .watchlistWrapped_topLiner__OotFU [data-component=placeholder-line]{height:1.75rem;width:46.5625rem}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundleHeader__IKslv .watchlistWrapped_subLiner__1Gn2V [data-component=placeholder-line]{height:1.25rem;width:20.125rem}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundlesContainer__xGz7x{display:flex;gap:1.125rem}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundlesContainer__xGz7x .watchlistWrapped_bundle__sm987{border-color:var(--color-gray-300);border-radius:.5rem;border-width:1px;display:flex;flex-direction:column;gap:1rem;padding:1.5rem;width:17.5rem}@media (min-width:1335px){.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundlesContainer__xGz7x .watchlistWrapped_bundle__sm987{width:15.375rem}}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundlesContainer__xGz7x .watchlistWrapped_bundleImage__Cc89x{height:4rem;width:12.25rem}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundlesContainer__xGz7x .watchlistWrapped_bundleTickers__iw1Ao{display:flex;flex-direction:column;gap:.25rem;width:100%}.watchlistWrapped_placeholderContainer__LxcyC .watchlistWrapped_bundlesContainer__xGz7x .watchlistWrapped_bundleButton__7vTo7{border-radius:.5rem;border-width:1px;padding:.75rem 1.875rem}.watchlistWrapped_placeholderRow__MOXqD{margin-bottom:.75rem}.wrappedHeader_headingContainer__YkQQj{display:block;justify-content:space-between}@media (min-width:768px){.wrappedHeader_headingContainer__YkQQj{display:flex}}.wrappedHeader_headingContainer__YkQQj .wrappedHeader_headerMain__JZtdi{display:block;gap:1rem}@media (min-width:768px){.wrappedHeader_headingContainer__YkQQj .wrappedHeader_headerMain__JZtdi{display:flex}}.wrappedHeader_desktopHeader__ELz8E{display:none;justify-content:space-between;width:100%}@media (min-width:768px){.wrappedHeader_desktopHeader__ELz8E{display:flex}}.wrappedHeader_desktopHeader__ELz8E .wrappedHeader_desktopHeaderMain__Buap6{display:block;gap:1rem}@media (min-width:768px){.wrappedHeader_desktopHeader__ELz8E .wrappedHeader_desktopHeaderMain__Buap6{display:flex}}.wrappedHeader_mobileHeader__L_vo_{display:flex;flex-direction:column;gap:.5rem}@media (min-width:768px){.wrappedHeader_mobileHeader__L_vo_{display:none}}.wrappedHeader_mobileTopRow__gKjr8{align-items:center;display:flex;flex-wrap:wrap-reverse;gap:.5rem;justify-content:space-between}.wrappedHeader_headingTitle__3NP3M{color:var(--color-gray-900);font-size:1.5rem;font-weight:700;line-height:1;white-space:nowrap}.wrappedHeader_watchlistViewDropdown__0qMZx{display:flex;justify-content:center}@media (max-width:767px){.wrappedHeader_watchlistViewDropdown__0qMZx{width:100%}}@media (min-width:768px) and (max-width:1122px){.wrappedHeader_watchlistViewDropdown__0qMZx{justify-content:flex-end}}@media (min-width:768px){.wrappedHeader_watchlistViewDropdown__0qMZx{width:-moz-fit-content;width:fit-content}}.wrappedHeader_watchlistViewDropdown__0qMZx button{border-style:solid;padding-left:1rem;padding-right:1rem}@media (min-width:768px){.wrappedHeader_watchlistViewDropdown__0qMZx button{max-width:10rem}}.wrappedHeader_watchlistViewDropdown__0qMZx button>p{line-height:1.25;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wrappedHeader_yourWatchlist__tpjBi{--tw-text-opacity:1;align-items:center;color:rgb(60 60 60/var(--tw-text-opacity,1));cursor:pointer;display:inline-flex;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;font-weight:500;gap:0;line-height:.875rem;white-space:nowrap}.wrappedHeader_yourWatchlist__tpjBi svg{height:1rem;width:1rem}.wrappedHeader_yourWatchlistMobile__fMI9V{--tw-text-opacity:1;align-items:center;color:rgb(60 60 60/var(--tw-text-opacity,1));cursor:pointer;display:inline-flex;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;gap:0;line-height:.875rem}.wrappedHeader_yourWatchlistMobile__fMI9V svg{height:1rem;width:1rem}.wrappedHeader_watchlistWrapText__6CqLj{display:inline;text-align:center}.wrappedHeader_inlineIcon__MZNrt{display:inline-block;margin-left:.25rem;vertical-align:middle}.wrappedHeader_headerPlaceholder__9GvRY>div{height:1.75rem;margin-bottom:0}.wrappedDailySnapshot_snapshot__ZPOQi{display:flex;flex-direction:column}.wrappedDailySnapshot_snapshotTitle__tATdh{color:var(--color-black);font-size:.875rem;font-weight:500;line-height:1.5;line-height:120%;margin-bottom:1rem}.wrappedDailySnapshot_snapshotContainer__tV4Uj{display:flex;flex-direction:column;gap:1rem}.wrappedDailySnapshot_price__9ckoJ{--tw-numeric-spacing:tabular-nums;color:var(--color-black);font-size:1.25rem;font-style:normal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);font-weight:500;letter-spacing:-.26px;line-height:1}.wrappedDailySnapshot_priceDisplay__GKaDA{align-items:center;display:inline-flex}.wrappedDailySnapshot_metricTitle__H7Tk_{font-size:.875rem;font-weight:400;line-height:1.3125rem;line-height:120%}.wrappedDailySnapshot_metricContainer__KlPGm{gap:.25rem}.wrappedDailySnapshot_metricContainer__KlPGm,.wrappedDailySnapshot_snapshotGrid__HBvuh{display:flex;flex-direction:column}.wrappedDailySnapshot_snapshotGrid__HBvuh{gap:1rem}.wrappedDailySnapshot_snapshotGridRow__OqvgN{align-items:flex-start;-moz-column-gap:2rem;column-gap:2rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.wrappedDailySnapshot_watchlistSnapshotMetrics__h7vCk{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}.wrappedDailySnapshot_watchlistSnapshotMetrics__h7vCk .wrappedDailySnapshot_metricValueWrapper__hLXLR{align-items:center;display:flex}.wrappedDailySnapshot_watchlistSnapshotMetrics__h7vCk .wrappedDailySnapshot_metricValue__yHeYA{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:1.25rem;font-weight:500;letter-spacing:-.26px;line-height:1.5rem;line-height:normal}.wrappedDailySnapshot_metricContainerPlaceholder__YczmE{display:flex;flex-direction:column;gap:.25rem}.wrappedDailySnapshot_metricContainerPlaceholder__YczmE>div{height:2.8125rem;margin-bottom:0}.wrappedTopMovers_topMoversBox___7pY_{display:flex;flex-direction:column}.wrappedTopMovers_topMoversTitle__ZGL49{color:var(--color-black);font-size:.875rem;font-weight:500;line-height:1;margin-bottom:1rem}.wrappedTopMovers_emptyMessage__pXfWg{--tw-text-opacity:1;color:rgb(60 60 60/var(--tw-text-opacity,1));font-size:.75rem;font-weight:400;line-height:1;margin-top:.5rem;text-align:center}.wrappedTopMovers_topMoversGrid__RJocf{display:grid;gap:1rem;max-width:25.25rem}@media (min-width:768px) and (max-width:1122px){.wrappedTopMovers_topMoversGrid__RJocf{max-width:38.375rem}}.wrappedTopMovers_topMoversGrid__RJocf{height:-moz-fit-content;height:fit-content}@media (min-width:768px) and (max-width:1122px){.wrappedTopMovers_topMoversGrid__RJocf{min-height:0}}.wrappedTopMovers_topMoversGrid__RJocf{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}@media (min-width:768px) and (max-width:1122px){.wrappedTopMovers_topMoversGrid__RJocf{grid-template-columns:repeat(3,minmax(0,1fr))}}.wrappedTopMovers_topMoverPill__QOXPw{max-width:12.0625rem;min-width:7.75rem;width:100%}.wrappedTopMovers_topMoverPill__QOXPw>div{flex-wrap:wrap;row-gap:.25rem}.wrappedTopMovers_showPositiveSign__iYWQ_ div[data-component=sized-price]:before{content:"+"}.wrappedTopMovers_topMoverPillPlaceholder__u_9nm{max-width:12.0625rem;min-width:7.75rem;width:100%}.wrappedTopMovers_topMoverPillPlaceholder__u_9nm>div{height:3.09375rem;margin-bottom:0}.wrappedPerformanceChart_performanceChartTitle__7PBDj{color:var(--color-black);font-size:.875rem;font-weight:500;line-height:1.5;line-height:120%;margin-bottom:1rem}.wrappedPerformanceChart_performanceChart__Q9j_V{background-color:var(--color-gray-100);border-radius:.25rem;height:18.75rem}.wrappedPerformanceChart_caption__VN_0W{color:var(--color-gray-700);font-size:.75rem;line-height:1.125rem;line-height:130%}.wrappedPerformanceChart_legendWrapper__XCm35{padding-bottom:1rem;padding-top:1rem}.wrappedPerformanceChart_performanceChartPlaceholder__v47GX{aspect-ratio:830/420;width:100%}.wrappedPerformanceChart_performanceChartPlaceholder__v47GX>div{height:100%}.style_tickerChartLegendContainer__AR7h_{display:flex;flex-direction:row;flex-wrap:wrap;gap:.25rem}.style_tickerChartLegendContainer__AR7h_.style_interactive__xaMl9{flex-direction:column;gap:.5rem}@media (min-width:768px){.style_tickerChartLegendContainer__AR7h_.style_interactive__xaMl9{gap:1rem}}.style_tickerChartLegendContainer__AR7h_.style_interactive__xaMl9 .style_interactiveTickerPill__ikJH_{gap:.5rem;width:13.75rem}@media (min-width:1123px){.style_tickerChartLegendContainer__AR7h_.style_interactive__xaMl9 .style_interactiveTickerPill__ikJH_{width:100%}}.style_tickerChartLegendContainer__AR7h_.style_interactive__xaMl9 .style_interactiveTickerPill__ikJH_ label span{max-width:6.25rem}.style_tickerChartLegendContainer__AR7h_.style_interactive__xaMl9 .style_changeValue__5uyMc{min-width:5rem}.style_tickerChartLegendContainer__AR7h_.style_interactive__xaMl9 button:disabled{opacity:.25}.style_tickerChartLegendContainer__AR7h_ .style_interactiveTickerPill__ikJH_{align-items:center;border-color:var(--color-gray-200);border-radius:.25rem;border-width:1px;display:flex;gap:.25rem;justify-content:space-between;min-width:10rem;padding:.25rem}.style_tickerChartLegendContainer__AR7h_ .style_interactiveTickerPill__ikJH_ [data-component=checkbox]{opacity:1}.style_tickerChartLegendContainer__AR7h_ .style_interactiveTickerPill__ikJH_ input{border-radius:.125rem;margin-right:.375rem}.style_tickerChartLegendContainer__AR7h_ .style_interactiveTickerPill__ikJH_ input:checked:after{border-color:var(--color-white)}.style_tickerChartLegendContainer__AR7h_ .style_interactiveTickerPill__ikJH_ label span{color:var(--color-black);display:block;font-size:.875rem;font-weight:500;line-height:1.3125rem;max-width:4.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_tickerChartLegendContainer__AR7h_ .style_interactiveTickerPill__ikJH_ .style_changeWrapper__VBFHf{align-items:center;display:flex}.style_tickerChartLegendContainer__AR7h_ .style_interactiveTickerPill__ikJH_ .style_changeWrapper__VBFHf .style_changeValue__5uyMc{--tw-numeric-spacing:tabular-nums;display:flex;font-size:.875rem;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);font-weight:400;justify-content:flex-end;letter-spacing:-.3px;line-height:1.3125rem;line-height:1;min-width:2.5rem}.watchlistBundleContainer_watchlistBundleContainer__zUXot{align-items:center;background-color:var(--color-white);border-color:var(--color-gray-300);border-radius:.5rem;border-width:1px;display:flex;flex-direction:column;padding-bottom:1.5rem;padding-top:1.5rem}@media (min-width:1123px){.watchlistBundleContainer_watchlistBundleContainer__zUXot{margin-bottom:1.125rem}}@media (max-width:767px){.watchlistBundleContainer_watchlistBundleContainer__zUXot{margin-left:1.125rem;margin-right:1.125rem;padding:1.5rem 1.5rem .9375rem}}.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_watchlistBundleContent__tBfrE{align-items:center;display:flex;flex-direction:column}.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_themeText__zuQ9N{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:1.5rem;font-weight:900;line-height:1.75rem}@media (max-width:767px){.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_themeText__zuQ9N{font-size:1.125rem}}.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_themeText__zuQ9N{font-weight:500;line-height:120%;text-align:center}.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_easyAddText__dZIDd{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5rem;line-height:1.2;padding-top:.75rem;text-align:center}.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_bundleModule__2jAwo{-moz-column-gap:1.125rem;column-gap:1.125rem;display:none}@media (min-width:1123px){.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_bundleModule__2jAwo{display:flex}}@media (max-width:767px){.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_bundleMobileAndTablet__4DXhJ{flex-direction:column}}@media (min-width:1123px){.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_bundleMobileAndTablet__4DXhJ{display:none}}.watchlistBundleContainer_watchlistBundleContainer__zUXot .watchlistBundleContainer_subscriberOnlyLabel__65CYI{background-color:var(--color-white);border-color:var(--color-gray-400);border-width:1px;color:var(--color-black);font-size:.625rem;font-weight:500;line-height:1.2;margin-bottom:.75rem;padding:.3125rem .375rem;text-align:center;text-transform:uppercase;width:-moz-fit-content;width:fit-content}.watchlistBundleContainer_wrappedContainerModifier__hMJti{background-color:var(--color-gray-100);border-radius:0;border-width:0;margin-bottom:0}.watchlistBundleContainer_wrappedBundleModule__4yWhZ{-moz-column-gap:1.125rem;column-gap:1.125rem;display:none}@media (min-width:1335px){.watchlistBundleContainer_wrappedBundleModule__4yWhZ{display:flex}}@media (max-width:767px){.watchlistBundleContainer_wrappedBundleMobileAndTablet__nV5Oz{flex-direction:column}}@media (min-width:1335px){.watchlistBundleContainer_wrappedBundleMobileAndTablet__nV5Oz{display:none}}.watchlistBundle_watchlistBundle__s6ok_{background-color:var(--color-white);border-color:var(--color-gray-300);border-radius:.5rem;border-width:1px;display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem;padding:1.5rem;width:17.5rem}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_bundleHeadline__qWZHA{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:1rem;font-weight:500;line-height:1.5rem;line-height:1.2}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_bundleBanner__P_mxI{align-self:stretch}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_startListButton__Re_BQ{border-radius:.5rem;display:none;gap:.4375rem}@media (min-width:768px){.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_startListButton__Re_BQ{display:block}}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_startListButton__Re_BQ svg{height:1.5rem;width:1.5rem}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_startListButtonMobile__nPM4x{border-radius:.5rem;gap:.4375rem}@media (min-width:768px){.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_startListButtonMobile__nPM4x{display:none}}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_startListButtonMobile__nPM4x svg{height:1rem;width:1.5rem}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_bundleSecurities__3M1Fz{align-items:flex-start}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B{overflow:hidden;row-gap:.5rem;text-overflow:ellipsis;white-space:nowrap}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B .watchlistBundle_securityName__OWGF4{font-weight:400;text-align:center}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B .watchlistBundle_securityName__OWGF4,.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B .watchlistBundle_securityTicker__o4fhT{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.3125rem;line-height:1}.watchlistBundle_watchlistBundle__s6ok_ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B .watchlistBundle_securityTicker__o4fhT{font-weight:500}.watchlistBundle_tariffBundle__GkXbJ{background-color:var(--color-white);border-color:var(--color-gray-300);border-radius:.5rem;border-width:1px;display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem;padding:1.5rem;width:17.5rem}@media (min-width:1123px) and (max-width:1334px){.watchlistBundle_tariffBundle__GkXbJ{max-width:14.6875rem}}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_bundleHeadline__qWZHA{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:1rem;font-weight:500;line-height:1.5rem;line-height:1.2}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_bundleBanner__P_mxI{align-self:stretch}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_bundleBanner__P_mxI img{height:5.1875rem;margin-left:auto;margin-right:auto;padding:.625rem}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_tariffButton__y4_Y1{border-radius:.5rem;display:none;gap:.4375rem}@media (min-width:1335px){.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_tariffButton__y4_Y1{display:block}}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_tariffButton__y4_Y1 svg{height:1.5rem;width:1.5rem}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_tariffButtonMobile__sBnSH{border-radius:.5rem;gap:.4375rem}@media (min-width:1123px){.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_tariffButtonMobile__sBnSH{display:block}}@media (min-width:1335px){.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_tariffButtonMobile__sBnSH{display:none}}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_tariffButtonMobile__sBnSH svg{height:1rem;width:1.5rem}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_bundleSecurities__3M1Fz{align-items:flex-start}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B{overflow:hidden;row-gap:.5rem;text-overflow:ellipsis;white-space:nowrap}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B .watchlistBundle_securityName__OWGF4{font-weight:400;text-align:center}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B .watchlistBundle_securityName__OWGF4,.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B .watchlistBundle_securityTicker__o4fhT{font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;line-height:1.3125rem;line-height:1}.watchlistBundle_tariffBundle__GkXbJ .watchlistBundle_bundleSecurities__3M1Fz .watchlistBundle_securityRow__oCd6B .watchlistBundle_securityTicker__o4fhT{font-weight:500}.watchlistBundle_wrappedBundleModifier__I3mVH{border-color:var(--color-gray-300);width:17.5rem}@media (min-width:1335px){.watchlistBundle_wrappedBundleModifier__I3mVH{width:15.375rem}}.watchlistBundle_wrappedButtonModifier__tKfz2{border-width:1px}.paywallButtonContainer_paywallButtonContainer____eiY{position:relative}.paywallButtonContainer_quickAddOverlay__AFFBg{position:absolute;top:calc(100% + .25rem)}.paywallButtonContainer_floatingUI__f1jMY{z-index:20}@media (max-width:767px){.paywallButtonContainer_floatingUI__f1jMY{width:100%}}.styles_newsletter__b2_w9{display:flex;flex-direction:column;gap:1.25rem}.styles_newsletter__b2_w9 .styles_container__1aH2T{display:flex;gap:.75rem}.styles_newsletter__b2_w9 .styles_image__RdvRx{flex-shrink:0;height:6rem;width:6rem}.styles_newsletter__b2_w9 .styles_contentContainer__IpAlx{display:flex;flex-direction:column;gap:.25rem;width:100%}.styles_newsletter__b2_w9 .styles_subscriberOnlyLabel__uSs8k{background-color:var(--color-white);border-color:var(--color-gray-400);border-radius:.25rem;border-width:1px;color:var(--color-black);font-size:.8125rem;font-weight:500;line-height:1.2;padding:.3125rem .375rem;text-align:center;text-transform:uppercase;width:-moz-fit-content;width:fit-content}.styles_newsletter__b2_w9 .styles_previewButton__3VzhA{color:var(--color-gray-800);font-size:.75rem;line-height:1.5;text-decoration-line:underline}.styles_lazy__k0t5z{display:block;position:relative}@supports (--custom:property){.styles_lazy__k0t5z[style*="--aspect-ratio"]:before{content:"";display:block;padding-bottom:calc(100%/(var(--aspect-ratio)))}.styles_lazy__k0t5z[style*="--aspect-ratio"] img{height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;top:0;width:100%}@media (min-width:768px){.styles_lazy__k0t5z .styles_mobile__9XBbZ{display:none!important}}@media (max-width:767px){.styles_lazy__k0t5z .styles_desktop__Oy5Wk{display:none!important}}}.styles_caption__716Yq{color:var(--color-gray-700);font-size:.625rem;line-height:1.2;margin-top:.25rem;text-align:right}.PlayIcon_playIcon__M2_nJ{bottom:.3125rem;left:.25rem;z-index:2}.PlayIcon_playIcon__M2_nJ,.PlayIcon_playIcon__M2_nJ svg{position:absolute}.PlayIcon_playIcon__M2_nJ .PlayIcon_rightTriangle__Ck4px{bottom:.1875rem;left:.1875rem;z-index:2}.PlayIcon_playIcon__M2_nJ .PlayIcon_circle__2C_uj{bottom:0;left:0;z-index:1}.styles_headline___7SD4{hanging-punctuation:first last}.styles_headline___7SD4.styles_forceLinking___b55d:focus,.styles_headline___7SD4.styles_forceLinking___b55d:hover{color:var(--color-gray-700)}.styles_headline___7SD4.styles_fullZone__3_6Sp{font-size:1.5rem;font-weight:500;letter-spacing:.36px;line-height:1.05}@media (min-width:1335px){.styles_headline___7SD4.styles_fullZone__3_6Sp{font-size:1.75rem;letter-spacing:.42px}}.styles_headline___7SD4.styles_extraLarge__4l44w{font-size:2rem;font-weight:500;letter-spacing:.48px;line-height:1.05;margin-bottom:.375rem}@media (min-width:1123px){.styles_headline___7SD4.styles_extraLarge__4l44w{font-size:2.25rem;font-weight:500;letter-spacing:.54px;line-height:1.05}}@media (min-width:1335px){.styles_headline___7SD4.styles_extraLarge__4l44w{font-size:2.5rem;font-weight:500;letter-spacing:.6px;line-height:1.05}}.styles_headline___7SD4.styles_large__ESvpz{font-size:1.5rem;font-weight:500;letter-spacing:.5px;line-height:1.75rem;line-height:1.05;margin-bottom:.375rem}@media (min-width:1123px){.styles_headline___7SD4.styles_large__ESvpz{font-size:1.75rem}}@media (min-width:1335px){.styles_headline___7SD4.styles_large__ESvpz{font-size:2rem}}.styles_headline___7SD4.styles_medium__56_vm{font-size:1.25rem;font-weight:500;line-height:24px;line-height:1.5rem}.styles_headline___7SD4.styles_small__deSfN{font-size:1rem;font-weight:500;line-height:1.2rem}.styles_headline___7SD4.styles_feature___WSoM{font-weight:400}.styles_summary__FsIh1{color:var(--color-gray-800);font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;hanging-punctuation:first last;line-height:1.3125rem;line-height:1.3}.styles_summary__FsIh1 p{margin:0;padding:0}.styles_bottomMargin__Dj9AS{margin-bottom:.375rem}.styles_email__9Qe36{margin-bottom:1px;margin-top:0}.styles_email__9Qe36>label{width:100%}.styles_email__9Qe36 [data-component=helper-text]{color:var(--color-red-refresh2024-600)}.styles_email__9Qe36 input:invalid{border-color:var(--color-black)}.styles_email__9Qe36.styles_error__tmqqS input{border-color:var(--color-red-refresh2024-600)}.styles_newsletterButton__CEMW8{max-width:8.75rem}.styles_newsletterButton__CEMW8.styles_signedUp__lYmee{pointer-events:none}.styles_disclaimer__uJlou{color:var(--color-gray-600)}.styles_checkbox___l47z{margin-bottom:0}.styles_checkbox___l47z:empty{display:none}.styles_toast__dUpdK svg[aria-label=Checkmark]{color:var(--color-green-500)}.userModulesTopicStories_UserModulesTopicStories__WADxW{display:block}.userModulesTopicStories_UserModulesTopicStories__WADxW.userModulesTopicStories_leftContentWell__iXHJV{display:flex}.userModulesTopicStories_UserModulesTopicStories__WADxW.userModulesTopicStories_opinionTheme__gB9JU{line-height:1.5}.userModulesTopicStories_UserModulesTopicStories__WADxW .userModulesTopicStories_item__0abWH{display:flex}.userModulesTopicStories_UserModulesTopicStories__WADxW .userModulesTopicStories_item__0abWH [data-component=headline]{line-height:1.2}.userModulesTopicStories_UserModulesTopicStories__WADxW .userModulesTopicStories_header__inCAz{display:flex;gap:1rem}@media (max-width:767px){.userModulesTopicStories_UserModulesTopicStories__WADxW .userModulesTopicStories_header__inCAz{margin-left:1.125rem}}.userModulesTopicStories_UserModulesTopicStories__WADxW .userModulesTopicStories_title__Za3_2{align-content:center;font-size:1rem;font-style:normal;font-weight:700;line-height:1.5rem;line-height:100%}.userModulesTopicStories_loadingContainer__GH8Jm{overflow:hidden}.userModulesTopicStories_topicStoriesContainer__ZlZ_B{width:100%}.hideButton_hideButton__KYttF{border-color:var(--color-gray-400,#b3b3b3)!important;border-style:inherit}.singleTopicStories_topicsStories__YO9tk{display:flex;gap:1.125rem;margin-top:1.25rem}.singleTopicStories_topicsStoriesCard__AE0W6{max-width:18.75rem}.singleTopicStories_topicsStoriesTextSkeleton__YgKrr{width:10rem}.singleTopicStories_topicStoryDivider__jxrB1{border-top:1px solid var(--phx-color-border-extra-subtle);margin:var(--phx-space-core-16) 0}.singleTopicStories_singleTopicStories__ftdnw{border-color:var(--color-gray-300);border-radius:.375rem;border-width:1px;border:1px solid var(--color-gray-300);flex:1 0 0;height:33.75rem;max-width:18.75rem;overflow:hidden;padding:.75rem}.singleTopicStories_singleTopicStories__ftdnw [class^=media-ui-Overlay_wrapper]{background-color:var(--color-white);border-color:var(--color-gray-100);border-style:solid;border-width:1px;border:1px solid var(--color-gray-100);margin-top:.5rem}.singleTopicStories_singleTopicStories__ftdnw [class^=media-ui-Overlay_mobileOverlayWrapper]{background-color:var(--color-black);opacity:.3}.singleTopicStories_singleTopicName__wNOLU{font-size:1rem;font-weight:700;line-height:1.5rem;line-height:1.2}.singleTopicStories_stories__JZqzU{margin-top:.25rem}.singleTopicStories_listItemContainer__QXWNT{align-items:flex-start;display:flex;font-family:var(--bw-roman);gap:1.125rem;justify-content:stretch}.singleTopicStories_listItemContainer__QXWNT :focus span,.singleTopicStories_listItemContainer__QXWNT :hover span{color:var(--color-gray-700)}.singleTopicStories_listItemContainer__QXWNT.singleTopicStories_right___Xig1{justify-content:space-between}.singleTopicStories_listItemContainer__QXWNT.singleTopicStories_right___Xig1 a:focus,.singleTopicStories_listItemContainer__QXWNT.singleTopicStories_right___Xig1 a:hover{color:var(--color-gray-700)}.singleTopicStories_listItem__QI3t9{height:4.875rem;margin:.6875rem 0}.singleTopicStories_rightColumn__EX9js{flex-shrink:0;position:relative}.singleTopicStories_topicItemImage__BSXCA{height:4.25rem;width:6.25rem}.singleTopicStories_mainColumn__YRHDI{display:flex;flex-direction:column;gap:.125rem}.singleTopicStories_mainColumn__YRHDI span{-webkit-box-orient:vertical;display:-webkit-box;hyphens:manual;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;white-space:normal}.singleTopicStories_noEyeBrowItem__vw66U span{-webkit-line-clamp:4}.singleTopicStories_eyeBrowItem__1fs1_ span{-webkit-line-clamp:3}.singleTopicStories_listLinkText__GkygF{display:flex;flex-direction:column;max-width:9.75rem;padding-right:.3125rem}.singleTopicStories_listContent__24OS_{display:flex}.singleTopicStories_stories__JZqzU li:not(:last-child){border-bottom:1px solid var(--color-gray-200)}.singleTopicStories_stories__JZqzU li:last-child .singleTopicStories_listItem__QI3t9{margin-bottom:0}.singleTopicStories_stories__JZqzU ul{gap:0}.singleTopicStories_opinionEyebrow__rneFq{align-items:center;align-self:stretch;color:var(--color-opinion-blue);font-size:.875rem;font-style:normal;font-weight:400;gap:.625rem;line-height:1.3125rem;line-height:120%;padding-top:.125rem}.singleTopicStories_singleTopicPanelHeader__3G2X0{align-items:center;display:flex;gap:.5625rem;height:1.375rem}.singleTopicStories_followContainer__jIky6{align-items:center;background-color:var(--color-white);border:1px solid var(--color-gray-400,#b3b3b3);border-radius:1.75rem;cursor:pointer;display:flex;height:1.25rem;justify-content:center;padding:.625rem .5rem;width:3.75rem}.singleTopicStories_followContainer__jIky6 .singleTopicStories_text__wd1Rj{font-size:.75rem;font-weight:400;line-height:.875rem}.singleTopicStories_followContainer__jIky6:focus,.singleTopicStories_followContainer__jIky6:hover{background-color:var(--color-gray-200)}.tagPicker_tagPicker__YN091{background-color:var(--color-gray-1000);border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:.5rem;border-top-right-radius:.5rem;box-shadow:0 1px .125rem 0 rgb(0 0 0/5%);display:block;height:100%;overflow:scroll;padding:0 1rem 1rem;width:100%}@media (min-width:768px){.tagPicker_tagPicker__YN091{border-radius:.5rem}}.tagPicker_tagPicker__YN091 [class^=media-ui-Overlay_wrapper]{background-color:var(--color-white);border:1px solid var(--color-gray-100);margin-left:.625rem}.tagPicker_tagPicker__YN091 [class^=media-ui-SubscriberOnlyBenefitOverlay_buttonContainer]{flex-direction:row-reverse}.tagPicker_tagPicker__YN091{scrollbar-width:none}.tagPicker_tagPicker__YN091::-webkit-scrollbar{display:none}.tagPicker_tagPicker__YN091 .tagPicker_headerContainer__dacA5{align-items:center;backdrop-filter:blur(.125rem);background-color:rgba(28,28,28,.8);display:flex;justify-content:space-between;margin-left:-1rem;margin-right:-1rem;padding-left:1rem;padding-right:1rem;position:sticky;top:0;z-index:2}.tagPicker_tagPicker__YN091 .tagPicker_headerContainer__dacA5 .tagPicker_exit__KhXHY{color:var(--color-white);display:block}.tagPicker_tagPicker__YN091 .tagPicker_headerContainer__dacA5 .tagPicker_exit__KhXHY:hover{color:var(--color-gray-400)}.tagPicker_tagPicker__YN091 .tagPicker_headerContainer__dacA5 .tagPicker_exit__KhXHY svg{height:1rem;width:1rem}@media (min-width:912px){.tagPicker_tagPicker__YN091 .tagPicker_headerContainer__dacA5 .tagPicker_exit__KhXHY{display:none}}.tagPicker_tagPicker__YN091 .tagPicker_groupTitle__33XKt{color:var(--color-gray-400);font-size:.75rem;font-weight:500;line-height:1.125rem;margin-bottom:.5rem}.tagPicker_labelContainer__X8luV{align-items:center;display:flex;margin-bottom:.5rem;padding-top:1rem}.tagPicker_labelContainer__X8luV .tagPicker_icon__JsJJ_{color:var(--color-yellow-refresh2024-400);height:1rem;width:1rem}.tagPicker_labelContainer__X8luV .tagPicker_label__XjYRI{color:var(--color-yellow-refresh2024-400);font-weight:500;margin-left:.25rem}.tagPicker_description__NgJin,.tagPicker_labelContainer__X8luV .tagPicker_label__XjYRI{font-size:.875rem;line-height:1.3125rem}.tagPicker_description__NgJin{color:var(--color-gray-300);line-height:1.3}.tagPicker_divider__arV3w{background-color:var(--color-gray-800);height:1px;margin:1rem -1rem}.tagPicker_tagContainer__KTW_t{display:flex;flex-wrap:wrap;gap:.5rem;line-height:1}.tagPicker_tagContainer__KTW_t .tagPicker_unselectedTag__zBYOS svg{color:var(--color-gray-400)}.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z{width:100%}.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z [class^=intercom-carousel_iterableComponentsContainer-]:has(>:first-child:last-child),.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z [class^=intercom-carousel_iterableComponentsContainer-]:has(>:nth-child(2):last-child),.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z [class^=intercom-carousel_iterableComponentsContainer-]:has(>:nth-child(3):last-child),.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z [class^=intercom-carousel_iterableComponentsContainer-]:has(>:nth-child(4):last-child),.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z [class^=intercom-carousel_iterableComponentsContainer-]:has(>:nth-child(5):last-child){margin-right:mod(100%,var(--carousel-card-width))}.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z div[class^=intercom-carousel_carouselContainer] div[class*=topicsStories]{margin-top:0}.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z div[class^=intercom-carousel_carouselContainer] button[class^=intercom-carousel_navButton]:not(:disabled):focus,.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z div[class^=intercom-carousel_carouselContainer] button[class^=intercom-carousel_navButton]:not(:disabled):hover{background-color:var(--color-gray-200)}.userTopicsStoriesDesktop_userTopicsStoriesDesktop__v8d_Z div[class^=intercom-carousel_navigation]{margin-left:2.1875rem;margin-right:2.1875rem}.userTopicsStoriesDesktop_title__jnZsv{align-content:center;font-size:1rem;font-style:normal;font-weight:700;line-height:1.5rem;line-height:100%}.userTopicsStoriesDesktop_header__C7FoG{gap:1rem}.userTopicsStoriesDesktop_flexContainer__2GCMi,.userTopicsStoriesDesktop_header__C7FoG{display:flex}.userTopicsStoriesDesktop_flexContainer__2GCMi{overflow:hidden}.userTopicsStoriesDesktop_tagPickerContainer__mLERJ{margin-bottom:1.25rem;margin-right:.75rem;max-height:33.75rem;min-width:18.75rem;width:18.75rem}.userTopicsStoriesDesktop_carouselContainer__AUjlq,.userTopicsStoriesDesktop_tagPickerContainer__mLERJ{margin-top:1.25rem}.userTopicsStoriesDesktop_carouselContainer__AUjlq{min-width:0;width:100%}.userTopicsStoriesDesktop_pickerClosedPicker__91j3l{margin-right:0;transform:translateX(-150%)}.userTopicsStoriesDesktop_pickerClosedCarousel__mgz8u{min-width:100%;transform:translateX(-18.75rem);width:100%}.userTopicsStoriesMobile_userTopicsStoriesMobile__1f4Ds{width:100%}.userTopicsStoriesMobile_userTopicsStoriesMobile__1f4Ds [class^=intercom-carousel_iterableComponentsContainer-]{overflow-x:auto;scrollbar-width:none;width:100%}.userTopicsStoriesMobile_userTopicsStoriesMobile__1f4Ds div[class^=intercom-carousel_carouselContainer]{padding-bottom:1.25rem}.userTopicsStoriesMobile_userTopicsStoriesMobile__1f4Ds div[class^=intercom-carousel_carouselContainer] div[class*=topicsStories]{margin-top:0}.userTopicsStoriesMobile_userTopicsStoriesMobile__1f4Ds div[class^=intercom-carousel_carouselContainer] button[class^=intercom-carousel_navButton]:not(:disabled):focus,.userTopicsStoriesMobile_userTopicsStoriesMobile__1f4Ds div[class^=intercom-carousel_carouselContainer] button[class^=intercom-carousel_navButton]:not(:disabled):hover{background-color:var(--color-gray-200)}.userTopicsStoriesMobile_userTopicsStoriesMobile__1f4Ds div[class^=intercom-carousel_navigation]{height:0;margin:0;padding:0;visibility:hidden}.userTopicsStoriesMobile_header__sy58F{display:flex;gap:1rem;margin-bottom:1.25rem}.userTopicsStoriesMobile_title__szmgV{align-content:center;font-size:1rem;font-style:normal;font-weight:700;line-height:1.5rem;line-height:100%}.userTopicsStoriesMobile_mobileCarouselContainer__h26CS{margin-top:1.25rem;width:100%}.drawerTogglePicker_togglePickerDrawerContainer__rQs3r{--toggle-picker-border-radius-bottom-left-override:0;--toggle-picker-border-radius-bottom-right-override:0;height:calc(50vh - 5.5rem);max-height:none}.drawerTogglePicker_togglePickerDrawerContainerMaxHeight__Pl9hR{height:50vh}.drawerTogglePicker_togglePickerFooter__CVh4F{background-color:var(--color-gray-1000);display:flex;height:5.5rem;justify-content:center;padding:1.5rem}.drawerTogglePicker_doneButton__b_Uns{background-color:var(--color-white);border-radius:.375rem;width:100%}.sectionFrontNav_sectionFrontNav__Y3573{border-bottom-width:1px;border-color:var(--color-gray-400);padding-left:1.25rem;padding-right:1.25rem;padding-top:.75rem}@media (min-width:768px){.sectionFrontNav_sectionFrontNav__Y3573{padding-left:2.1875rem;padding-right:2.1875rem;padding-top:2rem}}.sectionFrontNav_sectionFrontNav__Y3573 .sectionFrontNav_sectionTitle__Lpa3S{font-weight:700;padding-bottom:1rem}.sectionFrontNav_sectionFrontNav__Y3573 .sectionFrontNav_subsectionTitle__Quoz7{color:var(--color-gray-900);font-size:1.5rem;font-weight:700;line-height:1}.sectionFrontNav_sectionFrontNav__Y3573 .sectionFrontNav_leftColumn__tpjJ4{flex-grow:1}.sectionFrontNav_sectionFrontNav__Y3573 .sectionFrontNav_rightColumn__8mDvR{flex-shrink:0}.sectionFrontNav_separator__8fS31{color:var(--color-gray-200);padding-bottom:.75rem}@media (min-width:1123px){.sectionFrontNav_separator__8fS31{padding-bottom:.25rem}}.sectionFrontNav_links__RlsP_{align-items:baseline;display:flex;overflow-x:auto;padding-bottom:.75rem;padding-top:0}@media (min-width:1123px){.sectionFrontNav_links__RlsP_{padding-top:.5rem}}.sectionFrontNav_links__RlsP_{scrollbar-width:none}.sectionFrontNav_links__RlsP_::-webkit-scrollbar{display:none}.sectionFrontNav_links__RlsP_ .sectionFrontNav_link__8SkTn{flex-shrink:0;padding-right:1.25rem}.sectionFrontNav_links__RlsP_ .sectionFrontNav_link__8SkTn:last-child{padding-right:0}@media (min-width:768px){.sectionFrontNav_links__RlsP_ .sectionFrontNav_link__8SkTn:focus,.sectionFrontNav_links__RlsP_ .sectionFrontNav_link__8SkTn:hover{color:var(--color-gray-700)}}.sectionFrontNav_links__RlsP_ .sectionFrontNav_firstLink__4esQX{border-color:var(--color-gray-200);border-right-width:1px;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:1rem;font-weight:700;margin-right:1.25rem;padding-left:0;padding-right:1.25rem}.styles_sectionTitle__z1_bK{padding-bottom:1rem}.styles_chartControls__6eNya{display:flex;flex-direction:column;gap:.75rem;padding-bottom:.75rem}@media (min-width:768px) and (max-width:1122px){.styles_chartControls__6eNya{align-items:center;flex-direction:row-reverse;gap:1rem}}.styles_tickerChartLegend__drs5p{margin-top:.3125rem}@media (min-width:1123px){.styles_tickerChartLegend__drs5p{display:inline-flex;flex-direction:column}}.styles_chartTypeTabsPlaceholder__IRwbp{width:100%}.styles_chartTypeTabsPlaceholder__IRwbp>div{height:1.875rem;margin-bottom:0}.styles_comparisonChartPlaceholder___XoCE{aspect-ratio:618/220}@media (min-width:1123px){.styles_comparisonChartPlaceholder___XoCE{aspect-ratio:353/220}}.styles_comparisonChartPlaceholder___XoCE>div{height:100%}.styles_legendsPlaceholder__JITSw{margin-top:.3125rem}.styles_legendsPlaceholder__JITSw>div{height:2.25rem;margin-bottom:0}.styles_legendsPlaceholder__JITSw>div:first-child{height:2rem}.styles_searchDropdownContainer__03nlH{align-items:center;display:flex;width:100%}.styles_searchDropdownContainer__03nlH ul{z-index:1000!important}.styles_searchDropdownContainer__03nlH [data-component=line-search-dropdown-input]{border-bottom-width:1px;border-color:var(--color-gray-300)}.styles_searchDropdownContainer__03nlH.styles_disabled__evCGV{border-color:var(--color-gray-200)}.styles_searchDropdownContainer__03nlH.styles_disabled__evCGV input[data-component=line-search-dropdown-input]::-moz-placeholder{color:var(--color-gray-600);opacity:.5}.styles_searchDropdownContainer__03nlH.styles_disabled__evCGV input[data-component=line-search-dropdown-input]::placeholder{color:var(--color-gray-600);opacity:.5}.styles_tickerSearch__feuxh{margin-bottom:0;margin-top:0}.styles_tickerSearch__feuxh [data-component=line-search-dropdown-input]{font-size:.875rem!important;height:2.5rem!important;line-height:1.3125rem!important;line-height:1rem!important;margin-bottom:0!important;margin-top:0!important}.styles_tickerSearch__feuxh input::-moz-placeholder{color:var(--color-gray-1000)!important;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif!important;font-size:.875rem!important;font-weight:400!important;line-height:1.3125rem!important;line-height:1rem!important;padding-right:.625rem!important}.styles_tickerSearch__feuxh input,.styles_tickerSearch__feuxh input::placeholder{color:var(--color-gray-1000)!important;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif!important;font-size:.875rem!important;font-weight:400!important;line-height:1.3125rem!important;line-height:1rem!important;padding-right:.625rem!important}.styles_tabs__M_M0l{width:100%}@media (min-width:768px) and (max-width:1122px){.styles_tabs__M_M0l{margin-top:.5rem}}.styles_tabs__M_M0l [data-component=tabs-tab-title]{font-family:var(--phx-font-core-family-sans-jp);font-size:var(--phx-font-core-size-14);line-height:var(--phx-font-core-line-height-150)}.styles_tabs__M_M0l nav{--step:100%;--tab-index:0;--tab-count:5;--glider-width:calc(100%/var(--tab-count))!important;--glider-offset:calc(var(--tab-index)*var(--step))!important;--glider-left:0.25rem;width:100%}.styles_tabs__M_M0l nav:before{content:var(--tw-content)!important;left:var(--glider-left)!important}.styles_tabs__M_M0l nav:has(>button:first-child[data-active-tab=true]){--tab-index:0;--glider-left:0.25rem}.styles_tabs__M_M0l nav:has(>button:nth-child(2)[data-active-tab=true]){--tab-index:1;--glider-left:0.125rem}.styles_tabs__M_M0l nav:has(>button:nth-child(3)[data-active-tab=true]){--tab-index:2;--glider-left:0}.styles_tabs__M_M0l nav:has(>button:nth-child(4)[data-active-tab=true]){--tab-index:3;--glider-left:-0.125rem}.styles_tabs__M_M0l nav:has(>button:nth-child(5)[data-active-tab=true]){--tab-index:4;--glider-left:-0.25rem}.styles_marketSummaries__odgxq{display:flex;flex-direction:column;gap:1rem}.styles_marketSummaries__odgxq [data-component=placeholder-line]{margin-bottom:.5rem}.styles_marketSummaries__odgxq .styles_sectionTitle__xBh4H{color:var(--color-gray-900);font-size:1.25rem;font-weight:700;line-height:1}.styles_marketSummaries__odgxq .styles_container__Kd21t{border-color:var(--color-gray-300);border-radius:.5rem;border-width:1px;display:flex;flex-direction:column;gap:.75rem;padding:.75rem}.styles_marketSummaries__odgxq .styles_headerContainer__dh2fL{display:flex;gap:.5rem}.styles_marketSummaries__odgxq .styles_headerImage__zD386{flex-shrink:0;height:3.75rem;width:3.75rem}.styles_marketSummaries__odgxq .styles_headerTitle__1_JB7{display:flex;flex-direction:column;gap:.25rem;width:100%}.styles_marketSummaries__odgxq .styles_headerTitle__1_JB7 .styles_title__RHXX5{color:var(--color-gray-700);display:flex;font-family:BWHaasGroteskTF,BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;gap:.25rem;line-height:1.2}.styles_marketSummaries__odgxq .styles_headerTitle__1_JB7 .styles_subTitle__MyZjJ{color:var(--color-black);font-size:1rem;font-weight:500;line-height:1.2}.styles_marketSummaries__odgxq .styles_marketMovesContainer__FGOJV{display:flex;flex-direction:column;gap:1rem}.styles_marketSummaries__odgxq .styles_marketMovesContainer__FGOJV .styles_summaryList__7YjIo{list-style-type:none}.styles_marketSummaries__odgxq .styles_marketMovesContainer__FGOJV .styles_summaryItem__A_Iho{border-color:var(--color-gray-300);border-top-width:1px;color:var(--color-black);font-size:1rem;line-height:1.2;padding-bottom:.5rem;padding-top:.5rem}.styles_marketSummaries__odgxq .styles_marketMovesContainer__FGOJV .styles_summaryItem__A_Iho:last-child{padding-bottom:0}.styles_gridLayout__OY0B8{border-color:var(--color-gray-400);margin:auto;width:100%}@media (min-width:768px){.styles_gridLayout__OY0B8{border-left-width:1px;border-right-width:1px}}@media (min-width:768px) and (max-width:1122px){.styles_gridLayout__OY0B8{width:43rem}}@media (min-width:912px) and (max-width:1122px){.styles_gridLayout__OY0B8{width:56.25rem}}@media (min-width:1123px) and (max-width:1334px){.styles_gridLayout__OY0B8{width:69.5625rem}}@media (min-width:1335px){.styles_gridLayout__OY0B8{width:82.875rem}}.styles_gridLayout__OY0B8.styles_noLines__UVvQW{border-left-width:0;border-right-width:0;border-style:none}.styles_gridLayout__OY0B8.styles_noLines__UVvQW [data-component=zone-module]{padding-bottom:0!important;padding-top:0!important}.styles_zone__e_M9W{display:flex;flex-direction:column;margin-left:auto;margin-right:auto;width:100%}@media (min-width:1123px){.styles_zone__e_M9W{flex-direction:row}}@media (min-width:1123px) and (max-width:1334px){.styles_zone__e_M9W[data-zone-variant=righty] [data-column-variant=left]{flex:12}}@media (min-width:1335px){.styles_zone__e_M9W[data-zone-variant=righty] [data-column-variant=left]{flex:16}}@media (min-width:1123px) and (max-width:1334px){.styles_zone__e_M9W[data-zone-variant=righty] [data-column-variant=right]{flex:7.5}}@media (min-width:1335px){.styles_zone__e_M9W[data-zone-variant=righty] [data-column-variant=right]{flex:7.5}}@media (min-width:1123px) and (max-width:1334px){.styles_zone__e_M9W[data-zone-variant=lefty] [data-column-variant=left]{flex:7.5}}@media (min-width:1335px){.styles_zone__e_M9W[data-zone-variant=lefty] [data-column-variant=left]{flex:7.5}}@media (min-width:1123px) and (max-width:1334px){.styles_zone__e_M9W[data-zone-variant=lefty] [data-column-variant=right]{flex:12}}@media (min-width:1335px){.styles_zone__e_M9W[data-zone-variant=lefty] [data-column-variant=right]{flex:16}}.styles_zoneColumn__gYLvQ{box-sizing:border-box;display:flex;flex:6;flex-direction:column;width:100%}@media (min-width:768px) and (max-width:1122px){.styles_zoneColumn__gYLvQ{flex:12}}@media (min-width:912px) and (max-width:1122px){.styles_zoneColumn__gYLvQ{flex:16}}@media (min-width:1123px) and (max-width:1334px){.styles_zoneColumn__gYLvQ{flex:20}}@media (min-width:1335px){.styles_zoneColumn__gYLvQ{flex:24}}.styles_zoneColumn__gYLvQ.styles_fillEmptySpace__zo1Gb{justify-content:space-evenly}.styles_zoneColumn__gYLvQ[data-column-variant=left]{border-color:var(--color-gray-400);border-width:0}@media (min-width:1123px){.styles_zoneColumn__gYLvQ[data-column-variant=left]{border-right-width:1px}}.styles_zoneColumn__gYLvQ[data-column-variant=right]{overflow:hidden}.styles_toutContainer__b_aWO{background-color:var(--color-white);text-align:center;width:100%}.styles_toutContent__KlGt6{margin-bottom:1rem;text-align:center}.styles_toutContent__KlGt6 h2{margin-bottom:.5rem;text-align:center}.styles_toutContent__KlGt6 p{color:var(--color-gray-800)}.nav_gridNavDesktop__4OxRl{margin-left:auto;margin-right:auto;max-width:100%;width:100%}@media (min-width:1123px) and (max-width:1334px){.nav_gridNavDesktop__4OxRl{width:69.5625rem}}@media (min-width:1335px){.nav_gridNavDesktop__4OxRl{width:82.875rem}}.nav_gridNavDesktop__4OxRl button[data-menuid=audio],.nav_gridNavDesktop__4OxRl button[data-menuid=businessweek],.nav_gridNavDesktop__4OxRl button[data-menuid=events],.nav_gridNavDesktop__4OxRl button[data-menuid=live-now],.nav_gridNavDesktop__4OxRl button[data-menuid=market-data],.nav_gridNavDesktop__4OxRl button[data-menuid=news],.nav_gridNavDesktop__4OxRl button[data-menuid=newsletters],.nav_gridNavDesktop__4OxRl button[data-menuid=opinion],.nav_gridNavDesktop__4OxRl button[data-menuid=originals]{padding-left:.75rem!important;padding-right:.75rem!important}.nav_nav__7WSAd{position:sticky;transition:top .3s ease;z-index:14678}.footer_gridFooter__ftk5A{margin-left:auto;margin-right:auto;max-width:100%;width:100%}@media (min-width:768px) and (max-width:1122px){.footer_gridFooter__ftk5A{width:43rem}}@media (min-width:1123px) and (max-width:1334px){.footer_gridFooter__ftk5A{max-width:69.4375rem}}@media (min-width:1335px){.footer_gridFooter__ftk5A{max-width:82.75rem}} \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/5c0b189e-1a72a3c75385890d_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/5c0b189e-1a72a3c75385890d_05Q6.js new file mode 100644 index 0000000..bdd28eb --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/5c0b189e-1a72a3c75385890d_05Q6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6342],{93075:function(e,t,n){let r;n.d(t,{NI:function(){return ea},Y$:function(){return x},YF:function(){return el},Y_:function(){return ep},hU:function(){return em},ll:function(){return $},qq:function(){return f},qs:function(){return es},wD:function(){return er}});var l,u=n(67294),o=n(97145),i=n(37317),a=n(88388),c=n(73935),s=n(1371);function f(e){return u.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})},e)}let d={...l||(l=n.t(u,2))},m=d.useInsertionEffect||(e=>e());function p(e){let t=u.useRef(()=>{});return m(()=>{t.current=e}),u.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r"floating-ui-"+Math.random().toString(36).slice(2,6)+h++,E=d.useId||function(){let[e,t]=u.useState(()=>g?y():void 0);return v(()=>{null==e&&t(y())},[]),u.useEffect(()=>{g=!0},[]),e},x=u.forwardRef(function(e,t){let{context:{placement:n,elements:{floating:r},middlewareData:{arrow:l,shift:o}},width:a=14,height:c=7,tipRadius:s=0,strokeWidth:f=0,staticOffset:d,stroke:m,d:p,style:{transform:g,...h}={},...y}=e,x=E(),[R,k]=u.useState(!1);if(v(()=>{r&&"rtl"===(0,i.Dx)(r).direction&&k(!0)},[r]),!r)return null;let[M,w]=n.split("-"),A="top"===M||"bottom"===M,C=d;(A&&null!=o&&o.x||!A&&null!=o&&o.y)&&(C=null);let S=2*f,O=S/2,L=a/2*(-(s/8)+1),q=c/2*s/4,F=!!p,I=C&&"end"===w?"bottom":"top",T=C&&"end"===w?"right":"left";C&&R&&(T="end"===w?"left":"right");let W=(null==l?void 0:l.x)!=null?C||l.x:"",j=(null==l?void 0:l.y)!=null?C||l.y:"",N=p||"M0,0 H"+a+" L"+(a-L)+","+(c-q)+(" Q"+a/2+","+c+" ")+L+","+(c-q)+" Z",P={top:F?"rotate(180deg)":"",left:F?"rotate(90deg)":"rotate(-90deg)",bottom:F?"":"rotate(180deg)",right:F?"rotate(-90deg)":"rotate(90deg)"}[M];return u.createElement("svg",b({},y,{"aria-hidden":!0,ref:t,width:F?a:a+S,height:a,viewBox:"0 0 "+a+" "+(c>a?c:a),style:{position:"absolute",pointerEvents:"none",[T]:W,[I]:j,[M]:A||F?"100%":"calc(100% - "+S/2+"px)",transform:[P,g].filter(e=>!!e).join(" "),...h}}),S>0&&u.createElement("path",{clipPath:"url(#"+x+")",fill:"none",stroke:m,strokeWidth:S+(p?0:1),d:N}),u.createElement("path",{stroke:S&&!p?y.fill:"none",d:N}),u.createElement("clipPath",{id:x},u.createElement("rect",{x:-O,y:O*(F?-1:1),width:a+S,height:a})))}),R=u.createContext(null),k=u.createContext(null),M=()=>{var e;return(null==(e=u.useContext(R))?void 0:e.id)||null},w=()=>u.useContext(k);function A(e){return"data-floating-ui-"+e}function C(e){let t=(0,u.useRef)(e);return v(()=>{t.current=e}),t}let S=0;function O(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:l=!1}=t;r&&cancelAnimationFrame(S);let u=()=>null==e?void 0:e.focus({preventScroll:n});l?u():S=requestAnimationFrame(u)}function L(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let q=new WeakMap,F=new WeakSet,I={},T=0,W=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,j=e=>e&&(e.host||j(e.parentNode)),N=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=j(t);return e.contains(n)?n:null}).filter(e=>null!=e);function P(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);let r=(0,o.Me)(e[0]).body;return function(e,t,n,r){let l="data-floating-ui-inert",u=r?"inert":n?"aria-hidden":null,o=N(t,e),a=new Set,c=new Set(o),s=[];I[l]||(I[l]=new WeakMap);let f=I[l];return o.forEach(function e(t){!(!t||a.has(t))&&(a.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||c.has(t)||[].forEach.call(t.children,t=>{if("script"!==(0,i.wk)(t)){if(a.has(t))e(t);else{let e=u?t.getAttribute(u):null,n=null!==e&&"false"!==e,r=(q.get(t)||0)+1,o=(f.get(t)||0)+1;q.set(t,r),f.set(t,o),s.push(t),1===r&&n&&F.add(t),1===o&&t.setAttribute(l,""),!n&&u&&t.setAttribute(u,"true")}}})}(t),a.clear(),T++,()=>{s.forEach(e=>{let t=(q.get(e)||0)-1,n=(f.get(e)||0)-1;q.set(e,t),f.set(e,n),t||(!F.has(e)&&u&&e.removeAttribute(u),F.delete(e)),n||e.removeAttribute(l)}),--T||(q=new WeakMap,q=new WeakMap,F=new WeakSet,I={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}let K=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function D(e,t){let n=(0,a.tabbable)(e,K());"prev"===t&&n.reverse();let r=n.indexOf((0,o.AW)((0,o.Me)(e)));return n.slice(r+1)[0]}function B(){return D(document.body,"next")}function _(){return D(document.body,"prev")}function Y(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,o.r3)(n,r)}function Z(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}let z={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function H(e){"Tab"===e.key&&(e.target,clearTimeout(r))}let U=u.forwardRef(function(e,t){let[n,r]=u.useState();v(()=>((0,o.G6)()&&r("button"),document.addEventListener("keydown",H),()=>{document.removeEventListener("keydown",H)}),[]);let l={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[A("focus-guard")]:"",style:z};return u.createElement("span",b({},e,l))}),G=u.createContext(null),Q=A("portal");function $(e){let{children:t,id:n,root:r,preserveTabOrder:l=!0}=e,o=function(e){void 0===e&&(e={});let{id:t,root:n}=e,r=E(),l=J(),[o,a]=u.useState(null),c=u.useRef(null);return v(()=>()=>{null==o||o.remove(),queueMicrotask(()=>{c.current=null})},[o]),v(()=>{if(!r||c.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(Q,""),e.appendChild(n),c.current=n,a(n)},[t,r]),v(()=>{if(null===n||!r||c.current)return;let e=n||(null==l?void 0:l.portalNode);e&&!(0,i.kK)(e)&&(e=e.current),e=e||document.body;let u=null;t&&((u=document.createElement("div")).id=t,e.appendChild(u));let o=document.createElement("div");o.id=r,o.setAttribute(Q,""),(e=u||e).appendChild(o),c.current=o,a(o)},[t,n,r,l]),o}({id:n,root:r}),[s,f]=u.useState(null),d=u.useRef(null),m=u.useRef(null),p=u.useRef(null),b=u.useRef(null),g=null==s?void 0:s.modal,h=null==s?void 0:s.open,y=!!s&&!s.modal&&s.open&&l&&!!(r||o);return u.useEffect(()=>{if(o&&l&&!g)return o.addEventListener("focusin",e,!0),o.addEventListener("focusout",e,!0),()=>{o.removeEventListener("focusin",e,!0),o.removeEventListener("focusout",e,!0)};function e(e){o&&Y(e)&&("focusin"===e.type?Z:function(e){(0,a.tabbable)(e,K()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(o)}},[o,l,g]),u.useEffect(()=>{o&&(h||Z(o))},[h,o]),u.createElement(G.Provider,{value:u.useMemo(()=>({preserveTabOrder:l,beforeOutsideRef:d,afterOutsideRef:m,beforeInsideRef:p,afterInsideRef:b,portalNode:o,setFocusManagerState:f}),[l,o])},y&&o&&u.createElement(U,{"data-type":"outside",ref:d,onFocus:e=>{if(Y(e,o)){var t;null==(t=p.current)||t.focus()}else{let e=_()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),y&&o&&u.createElement("span",{"aria-owns":o.id,style:z}),o&&c.createPortal(t,o),y&&o&&u.createElement(U,{"data-type":"outside",ref:m,onFocus:e=>{if(Y(e,o)){var t;null==(t=b.current)||t.focus()}else{let t=B()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}let J=()=>u.useContext(G),V="data-floating-ui-focusable",X=[];function ee(e){X=X.filter(e=>e.isConnected);let t=e;if(t&&"body"!==(0,i.wk)(t)){if(!(0,a.isTabbable)(t,K())){let e=(0,a.tabbable)(t,K())[0];e&&(t=e)}X.push(t),X.length>20&&(X=X.slice(-20))}}function et(){return X.slice().reverse().find(e=>e.isConnected)}let en=u.forwardRef(function(e,t){return u.createElement("button",b({},e,{type:"button",ref:t,tabIndex:-1,style:z}))});function er(e){let{context:t,children:n,disabled:r=!1,order:l=["content"],guards:c=!0,initialFocus:s=0,returnFocus:f=!0,restoreFocus:d=!1,modal:m=!0,visuallyHiddenDismiss:b=!1,closeOnFocusOut:g=!0}=e,{open:h,refs:y,nodeId:E,onOpenChange:x,events:R,dataRef:k,floatingId:M,elements:{domReference:S,floating:q}}=t,F="number"==typeof s&&s<0,I=(0,o.Ie)(S)&&F,T=!W()||c,j=C(l),N=C(s),D=C(f),Z=w(),H=J(),G=u.useRef(null),Q=u.useRef(null),$=u.useRef(!1),X=u.useRef(!1),er=u.useRef(-1),el=null!=H,eu=q?q.hasAttribute(V)?q:q.querySelector("["+V+"]")||q:null,eo=p(function(e){return void 0===e&&(e=eu),e?(0,a.tabbable)(e,K()):[]}),ei=p(e=>{let t=eo(e);return j.current.map(e=>S&&"reference"===e?S:eu&&"floating"===e?eu:t).filter(Boolean).flat()});function ea(e){return!r&&b&&m?u.createElement(en,{ref:"start"===e?G:Q,onClick:e=>x(!1,e.nativeEvent)},"string"==typeof b?b:"Dismiss"):null}u.useEffect(()=>{if(r||!m)return;function e(e){if("Tab"===e.key){(0,o.r3)(eu,(0,o.AW)((0,o.Me)(eu)))&&0===eo().length&&!I&&(0,o.p7)(e);let t=ei(),n=(0,o.U9)(e);"reference"===j.current[0]&&n===S&&((0,o.p7)(e),e.shiftKey?O(t[t.length-1]):O(t[1])),"floating"===j.current[1]&&n===eu&&e.shiftKey&&((0,o.p7)(e),O(t[0]))}}let t=(0,o.Me)(eu);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,S,eu,m,j,I,eo,ei]),u.useEffect(()=>{if(!r&&q)return q.addEventListener("focusin",e),()=>{q.removeEventListener("focusin",e)};function e(e){let t=(0,o.U9)(e),n=eo().indexOf(t);-1!==n&&(er.current=n)}},[r,q,eo]),u.useEffect(()=>{if(!r&&g&&q&&(0,i.Re)(S))return S.addEventListener("focusout",t),S.addEventListener("pointerdown",e),q.addEventListener("focusout",t),()=>{S.removeEventListener("focusout",t),S.removeEventListener("pointerdown",e),q.removeEventListener("focusout",t)};function e(){X.current=!0,setTimeout(()=>{X.current=!1})}function t(e){let t=e.relatedTarget;queueMicrotask(()=>{let n=!((0,o.r3)(S,t)||(0,o.r3)(q,t)||(0,o.r3)(t,q)||(0,o.r3)(null==H?void 0:H.portalNode,t)||null!=t&&t.hasAttribute(A("focus-guard"))||Z&&(L(Z.nodesRef.current,E).find(e=>{var n,r;return(0,o.r3)(null==(n=e.context)?void 0:n.elements.floating,t)||(0,o.r3)(null==(r=e.context)?void 0:r.elements.domReference,t)})||(function(e,t){var n;let r=[],l=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;l;){let t=e.find(e=>e.id===l);l=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r})(Z.nodesRef.current,E).find(e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t})));if(d&&n&&(0,o.AW)((0,o.Me)(eu))===(0,o.Me)(eu).body){(0,i.Re)(eu)&&eu.focus();let e=er.current,t=eo(),n=t[e]||t[t.length-1]||eu;(0,i.Re)(n)&&n.focus()}(I||!m)&&t&&n&&!X.current&&t!==et()&&($.current=!0,x(!1,e,"focus-out"))})}},[r,S,q,eu,m,E,Z,H,x,g,d,eo,I]),u.useEffect(()=>{var e;if(r)return;let t=Array.from((null==H||null==(e=H.portalNode)?void 0:e.querySelectorAll("["+A("portal")+"]"))||[]);if(q){let e=[q,...t,G.current,Q.current,j.current.includes("reference")||I?S:null].filter(e=>null!=e),n=m||I?P(e,T,!T):P(e);return()=>{n()}}},[r,S,q,m,j,H,I,T]),v(()=>{if(r||!(0,i.Re)(eu))return;let e=(0,o.Me)(eu),t=(0,o.AW)(e);queueMicrotask(()=>{let e=ei(eu),n=N.current,r=("number"==typeof n?e[n]:n.current)||eu,l=(0,o.r3)(eu,t);F||l||!h||O(r,{preventScroll:r===eu})})},[r,h,eu,F,ei,N]),v(()=>{if(r||!eu)return;let e=!1,t=(0,o.Me)(eu),n=(0,o.AW)(t),l=k.current.openEvent;function u(t){let{open:n,reason:r,event:u,nested:i}=t;n&&(l=u),"escape-key"===r&&y.domReference.current&&ee(y.domReference.current),"hover"===r&&"mouseleave"===u.type&&($.current=!0),"outside-press"===r&&(i?($.current=!1,e=!0):$.current=!((0,o.Zj)(u)||(0,o.cr)(u)))}ee(n),R.on("openchange",u);let a=t.createElement("span");return a.setAttribute("tabindex","-1"),a.setAttribute("aria-hidden","true"),Object.assign(a.style,z),el&&S&&S.insertAdjacentElement("afterend",a),()=>{R.off("openchange",u);let n=(0,o.AW)(t),r=(0,o.r3)(q,n)||Z&&L(Z.nodesRef.current,E).some(e=>{var t;return(0,o.r3)(null==(t=e.context)?void 0:t.elements.floating,n)});(r||l&&["click","mousedown"].includes(l.type))&&y.domReference.current&&ee(y.domReference.current);let c="boolean"==typeof D.current?et()||a:D.current.current||a;queueMicrotask(()=>{D.current&&!$.current&&(0,i.Re)(c)&&(c===n||n===t.body||r)&&c.focus({preventScroll:e}),a.remove()})}},[r,q,eu,D,k,y,R,Z,E,el,S]),u.useEffect(()=>{queueMicrotask(()=>{$.current=!1})},[r]),v(()=>{if(!r&&H)return H.setFocusManagerState({modal:m,closeOnFocusOut:g,open:h,onOpenChange:x,refs:y}),()=>{H.setFocusManagerState(null)}},[r,H,m,h,x,y,g]),v(()=>{if(r||!eu||"function"!=typeof MutationObserver||F)return;let e=()=>{let e=eu.getAttribute("tabindex"),t=eo(),n=(0,o.AW)((0,o.Me)(q)),r=t.indexOf(n);-1!==r&&(er.current=r),j.current.includes("floating")||n!==y.domReference.current&&0===t.length?"0"!==e&&eu.setAttribute("tabindex","0"):"-1"!==e&&eu.setAttribute("tabindex","-1")};e();let t=new MutationObserver(e);return t.observe(eu,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[r,q,eu,y,j,eo,F]);let ec=!r&&T&&(!m||!I)&&(el||m);return u.createElement(u.Fragment,null,ec&&u.createElement(U,{"data-type":"inside",ref:null==H?void 0:H.beforeInsideRef,onFocus:e=>{if(m){let e=ei();O("reference"===l[0]?e[0]:e[e.length-1])}else if(null!=H&&H.preserveTabOrder&&H.portalNode){if($.current=!1,Y(e,H.portalNode)){let e=B()||S;null==e||e.focus()}else{var t;null==(t=H.beforeOutsideRef.current)||t.focus()}}}}),!I&&ea("start"),n,ea("end"),ec&&u.createElement(U,{"data-type":"inside",ref:null==H?void 0:H.afterInsideRef,onFocus:e=>{if(m)O(ei()[0]);else if(null!=H&&H.preserveTabOrder&&H.portalNode){if(g&&($.current=!0),Y(e,H.portalNode)){let e=_()||S;null==e||e.focus()}else{var t;null==(t=H.afterOutsideRef.current)||t.focus()}}}}))}function el(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:r}=e,l=E(),o=u.useRef({}),[i]=u.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})()),a=null!=M(),[c,s]=u.useState(r.reference),f=p((e,t,r)=>{o.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:r,nested:a}),null==n||n(e,t,r)}),d=u.useMemo(()=>({setPositionReference:s}),[]),m=u.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return u.useMemo(()=>({dataRef:o,open:t,onOpenChange:f,elements:m,events:i,floatingId:l,refs:d}),[t,f,m,i,l,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,l=r.elements,[o,a]=u.useState(null),[c,f]=u.useState(null),d=(null==l?void 0:l.domReference)||o,m=u.useRef(null),b=w();v(()=>{d&&(m.current=d)},[d]);let g=(0,s.YF)({...e,elements:{...l,...c&&{reference:c}}}),h=u.useCallback(e=>{let t=(0,i.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;f(t),g.refs.setReference(t)},[g.refs]),y=u.useCallback(e=>{((0,i.kK)(e)||null===e)&&(m.current=e,a(e)),((0,i.kK)(g.refs.reference.current)||null===g.refs.reference.current||null!==e&&!(0,i.kK)(e))&&g.refs.setReference(e)},[g.refs]),x=u.useMemo(()=>({...g.refs,setReference:y,setPositionReference:h,domReference:m}),[g.refs,y,h]),R=u.useMemo(()=>({...g.elements,domReference:d}),[g.elements,d]),k=u.useMemo(()=>({...g,...r,refs:x,elements:R,nodeId:t}),[g,x,R,t,r]);return v(()=>{r.dataRef.current.floatingContext=k;let e=null==b?void 0:b.nodesRef.current.find(e=>e.id===t);e&&(e.context=k)}),u.useMemo(()=>({...g,context:k,refs:x,elements:R}),[g,x,R,k])}let eu="active",eo="selected";function ei(e,t,n){let r=new Map,l="item"===n,u=e;if(l&&e){let{[eu]:t,[eo]:n,...r}=e;u=r}return{..."floating"===n&&{tabIndex:-1,[V]:""},...u,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,u]=t;if(!(l&&[eu,eo].includes(n))){if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof u){var o;null==(o=r.get(n))||o.push(u),e[n]=function(){for(var e,t=arguments.length,l=Array(t),u=0;ue(...l)).find(e=>void 0!==e)}}}else e[n]=u}}),e),{})}}function ea(e){void 0===e&&(e=[]);let t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),l=u.useCallback(t=>ei(t,e,"reference"),t),o=u.useCallback(t=>ei(t,e,"floating"),n),i=u.useCallback(t=>ei(t,e,"item"),r);return u.useMemo(()=>({getReferenceProps:l,getFloatingProps:o,getItemProps:i}),[l,o,i])}let ec=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function es(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:l}=e,{enabled:o=!0,role:i="dialog"}=t,a=null!=(n=ec.get(i))?n:i,c=E(),s=null!=M(),f=u.useMemo(()=>"tooltip"===a||"label"===i?{["aria-"+("label"===i?"labelledby":"describedby")]:r?l:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===a?"dialog":a,"aria-controls":r?l:void 0,..."listbox"===a&&{role:"combobox"},..."menu"===a&&{id:c},..."menu"===a&&s&&{role:"menuitem"},..."select"===i&&{"aria-autocomplete":"none"},..."combobox"===i&&{"aria-autocomplete":"list"}},[a,l,s,r,c,i]),d=u.useMemo(()=>{let e={id:l,...a&&{role:a}};return"tooltip"===a||"label"===i?e:{...e,..."menu"===a&&{"aria-labelledby":c}}},[a,l,c,i]),m=u.useCallback(e=>{let{active:t,selected:n}=e,r={role:"option",...t&&{id:l+"-option"}};switch(i){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}},[l,i]);return u.useMemo(()=>o?{reference:f,floating:d,item:m}:{},[o,f,d,m])}let ef=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(e,t)=>(t?"-":"")+e.toLowerCase());function ed(e,t){return"function"==typeof e?e(t):e}function em(e,t){void 0===t&&(t={});let{open:n,elements:{floating:r}}=e,{duration:l=250}=t,o=("number"==typeof l?l:l.close)||0,[i,a]=u.useState("unmounted"),c=function(e,t){let[n,r]=u.useState(e);return e&&!n&&r(!0),u.useEffect(()=>{if(!e&&n){let e=setTimeout(()=>r(!1),t);return()=>clearTimeout(e)}},[e,n,t]),n}(n,o);return c||"close"!==i||a("unmounted"),v(()=>{if(r){if(n){a("initial");let e=requestAnimationFrame(()=>{a("open")});return()=>{cancelAnimationFrame(e)}}a("close")}},[n,r]),{isMounted:c,status:i}}function ep(e,t){void 0===t&&(t={});let{initial:n={opacity:0},open:r,close:l,common:o,duration:i=250}=t,a=e.placement,c=a.split("-")[0],s=u.useMemo(()=>({side:c,placement:a}),[c,a]),f="number"==typeof i,d=(f?i:i.open)||0,m=(f?i:i.close)||0,[p,b]=u.useState(()=>({...ed(o,s),...ed(n,s)})),{isMounted:g,status:h}=em(e,{duration:i}),y=C(n),E=C(r),x=C(l),R=C(o);return v(()=>{let e=ed(y.current,s),t=ed(x.current,s),n=ed(R.current,s),r=ed(E.current,s)||Object.keys(e).reduce((e,t)=>(e[t]="",e),{});if("initial"===h&&b(t=>({transitionProperty:t.transitionProperty,...n,...e})),"open"===h&&b({transitionProperty:Object.keys(r).map(ef).join(","),transitionDuration:d+"ms",...n,...r}),"close"===h){let r=t||e;b({transitionProperty:Object.keys(r).map(ef).join(","),transitionDuration:m+"ms",...n,...r})}},[m,x,y,E,R,d,h,s]),{isMounted:g,styles:p}}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/6239-f7689ebc5734dc9d_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/6239-f7689ebc5734dc9d_05Q6.js new file mode 100644 index 0000000..d162c37 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/6239-f7689ebc5734dc9d_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6239],{42977:function(t,e,r){"use strict";r.d(e,{r5:function(){return d},iJ:function(){return l},CO:function(){return y},Bx:function(){return f}});var s,i,n=r(85893),o=r(67294),a=r(73935),u=r(31361);let c="pending",h=(0,o.createContext)({paywallStatus:c,paywallDetails:{},checkPaywallState:()=>void 0,fortressInViewState:void 0});function l({children:t,options:e,inView:r}){let[s,i]=(0,o.useState)(r),[a,u]=(0,o.useState)(c),[l,f]=(0,o.useState)({}),d=(0,o.useRef)(!1);(0,o.useEffect)(()=>{if(!window.fortressCorrelationId){let t=window.crypto?.randomUUID()||"UNDEFINED_CORRELATION_ID";window.fortressCorrelationId=t,window.newrelic?.setCustomAttribute("fortressCorrelationId",t),window.newrelic?.setCustomAttribute("isMobileWebView",navigator.userAgent.includes("BloombergHorseshoe"))}},[]),(0,o.useEffect)(()=>{if(a!==c&&!d.current){d.current=!0;try{if(performance.mark("fortress-provider-paywall-decided"),performance.getEntriesByName("fortress-provider-paywall-decision-time").length>0)return;performance.measure("fortress-provider-paywall-decision-time","fortress-assets-fetch-start","fortress-provider-paywall-decided");let t=performance.getEntriesByName("fortress-provider-paywall-decision-time")[0];window.newrelic?.addPageAction("fortressProviderPaywallInitialDecisionTime",{durationMs:t.duration,decision:a})}catch{}}},[a]);let p=(t,r)=>{i(r),window.fastPath?.evaluate((t,e={})=>{u(t),f(e)},t||e),window.FortressStub=window.FortressStub||{},window.FortressStub.cmd=window.FortressStub.cmd||[],window.FortressStub.cmd.push(()=>{!1!==r&&window.fortressClient.addContent((t,e={})=>{u(t),f(e)},t||e)})};return(0,o.useEffect)(()=>{p(e,r),i(r)},[r]),(0,o.useEffect)(()=>()=>{console.warn("[FORTRESS] Unmounting Fortress Provider"),window.newrelic?.addPageAction("fortressProviderUnmounted")},[]),(0,n.jsx)(h.Provider,{value:{paywallStatus:a,paywallDetails:l,checkPaywallState:p,fortressInViewState:s},children:t})}function f(){let t=(0,o.useContext)(h);if(void 0===t)throw Error("useFortress must be used within a FortressProvider");return t}function d({fortressClientDomain:t,onLoadHandler:e,color:r}){return((0,o.useEffect)(()=>{e&&e()},[]),"development"===r)?(0,n.jsx)("script",{src:`https://${t}/s3/fence/fast-path/staging/v1/app.bundle.js`}):r&&"production"!==r?(i.STAGING,(0,n.jsx)("script",{src:`https://${t}/s3/fence/fast-path/${r}/v1/app.bundle.js`})):t===i.STAGING?(0,n.jsx)("script",{src:`https://${t}/s3/fence/fast-path/staging/v1/app.bundle.js`}):(0,n.jsx)("script",{src:`https://${t}/s3/fence/fast-path/v1/app.bundle.js`})}function p(){window["preact/compat"]||(window["preact/compat"]={...a,...o}),window["@foundation/statsig"]||(window["@foundation/statsig"]=u)}function y({fortressClientDomain:t,onLoadHandler:e,color:r,esm:s=!1}){let[a,u]=(0,o.useState)(null),c=()=>{try{performance.mark("fortress-assets-fetch-complete");let t=performance.getEntriesByName("fortress-assets-fetch-time");if(0===t.length){performance.measure("fortress-assets-fetch-time","fortress-assets-fetch-start","fortress-assets-fetch-complete");let t=performance.getEntriesByName("fortress-assets-fetch-time")[0];window.newrelic?.addPageAction("fortressAssetsFetchTime",{durationMs:t.duration})}}catch{}window.FortressStub=window.FortressStub||{},window.FortressStub.cmd=window.FortressStub.cmd||[],window.FortressStub.cmd.filter(t=>"function"==typeof t).forEach(t=>t()),window.FortressStub.cmd=[],window.FortressStub.cmd.push=t=>("function"==typeof t&&t(),0),e&&e()};return(0,o.useEffect)(p,[]),(0,o.useEffect)(()=>{if(!a)return;a.onload=c;try{"undefined"!=typeof performance&&performance.mark&&performance.mark("fortress-assets-fetch-start")}catch{}let e=new URL(window.location.href),n=new URLSearchParams(window.location.search),o="true"===n.get("forceFortressV3")||e.pathname.startsWith("/markets/watchlist")||e.pathname.startsWith("/jp/"),u="true"===n.get("forceESM"),h=o?"fortress/":"",l=o&&(s||u)?"es/":"";if(window.newrelic?.addPageAction("fortressClientVersionType",{versionType:o?"v3":"v2"}),l&&(a.type="module"),r&&"production"!==r){a.src=`https://${t}/s3/fence/fortress-client/${h}${r}/v1/${l}app.bundle.js`;return}if(t===i.STAGING){a.src=`https://${t}/s3/fence/fortress-client/${h}staging/v1/${l}app.bundle.js`;return}a.src=`https://${t}/s3/fence/fortress-client/${h}v1/${l}app.bundle.js`},[a]),(0,n.jsx)("script",{ref:u,id:"fortress-script",async:!0})}(s=i||(i={})).PRODUCTION="assets.bwbx.io",s.STAGING="assets-dev.bwbx.io"},51956:function(t,e){"use strict";var r,s;e.I=void 0,(s=r||(e.I=r={})).PRODUCTION="assets.bwbx.io",s.STAGING="assets-dev.bwbx.io"},83116:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});let s={default:"https://www.bloomberg.com/logo-bloomberg.svg",opinion:"https://www.bloomberg.com/logo-bloomberg_opinion.svg",businessweek:"https://www.bloomberg.com/logo-bloomberg_businessweek.svg"},i="markets,technology,pursuits,politics,opinion,businessweek,green,equality,citylab,crypto,industries,economics,ai,wealth".split(",");function n(){let t={"@context":"http://schema.org","@type":"NewsMediaOrganization",address:{"@type":"PostalAddress",addressCountry:"USA",addressLocality:"New York",addressRegion:"NY",postalCode:"10022",streetAddress:"731 Lexington Avenue"},diversityPolicy:"https://www.bloomberg.com/diversity-inclusion",name:"Bloomberg",email:"inquiry1@bloomberg.net",legalName:"Bloomberg Finance L.P.",leiCode:"5493001KJTIIGC8Y1R12",telephone:"(212) 318-2000",url:"https://www.bloomberg.com",logo:s.default};return t.brand=i.map(t=>{let e=s[t],r={"@type":"Brand",name:`Bloomberg ${t}`,url:`https://www.bloomberg.com/${t}`};return e&&(r.logo=e),r}),t}},11465:function(t,e,r){"use strict";r.d(e,{mM:function(){return c},xg:function(){return f},_:function(){return n},Xs:function(){return o}});var s=r(67294);function i(){return"undefined"!=typeof window}function n(t,e=null){let[r,n]=(0,s.useState)(i()?c.get(t):e);return(0,s.useEffect)(()=>{if(void 0===r){c.remove(t);return}c.set(t,r)},[r,t]),[r??e,n]}function o(t,e=null){let[r,n]=(0,s.useState)(i()?f.get(t):e);return(0,s.useEffect)(()=>{if(void 0===r){f.remove(t);return}f.set(t,r)},[r,t]),[r??e,n]}var a=r(14640);class u{get(t){try{let e=localStorage.getItem(t);return(0,a.M)(e,e)}catch(t){return}}set(t,e){if(void 0!==e)try{localStorage.setItem(t,JSON.stringify(e))}catch(t){console.warn("Failed to store value in local storage!",t)}}remove(t){localStorage.removeItem(t)}clear(){localStorage.clear()}}var c=new u;class h extends u{get(t){let{value:e,expiry:r}=super.get(t)||{};if(r({adOptions:e,articleMetadata:r,customRefreshOptions:o}),[e,r,o]);return(0,s.jsx)(n.adOptionsContext.Provider,{value:a,children:t})}},14640:function(t,e,r){"use strict";function s(t,e){if(null==t)return e;try{return JSON.parse(t)}catch(t){return e}}r.d(e,{M:function(){return s}})},1864:function(t){!function(){"use strict";var e={114:function(t){function e(t){if("string"!=typeof t)throw TypeError("Path must be a string. Received "+JSON.stringify(t))}function r(t,e){for(var r,s="",i=0,n=-1,o=0,a=0;a<=t.length;++a){if(a2){var u=s.lastIndexOf("/");if(u!==s.length-1){-1===u?(s="",i=0):i=(s=s.slice(0,u)).length-1-s.lastIndexOf("/"),n=a,o=0;continue}}else if(2===s.length||1===s.length){s="",i=0,n=a,o=0;continue}}e&&(s.length>0?s+="/..":s="..",i=2)}else s.length>0?s+="/"+t.slice(n+1,a):s=t.slice(n+1,a),i=a-n-1;n=a,o=0}else 46===r&&-1!==o?++o:o=-1}return s}var s={resolve:function(){for(var t,s,i="",n=!1,o=arguments.length-1;o>=-1&&!n;o--)o>=0?s=arguments[o]:(void 0===t&&(t=""),s=t),e(s),0!==s.length&&(i=s+"/"+i,n=47===s.charCodeAt(0));return(i=r(i,!n),n)?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(t){if(e(t),0===t.length)return".";var s=47===t.charCodeAt(0),i=47===t.charCodeAt(t.length-1);return(0!==(t=r(t,!s)).length||s||(t="."),t.length>0&&i&&(t+="/"),s)?"/"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var t,r=0;r0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":s.normalize(t)},relative:function(t,r){if(e(t),e(r),t===r||(t=s.resolve(t))===(r=s.resolve(r)))return"";for(var i=1;ic){if(47===r.charCodeAt(a+l))return r.slice(a+l+1);if(0===l)return r.slice(a+l)}else o>c&&(47===t.charCodeAt(i+l)?h=l:0===l&&(h=0));break}var f=t.charCodeAt(i+l);if(f!==r.charCodeAt(a+l))break;47===f&&(h=l)}var d="";for(l=i+h+1;l<=n;++l)(l===n||47===t.charCodeAt(l))&&(0===d.length?d+="..":d+="/..");return d.length>0?d+r.slice(a+h):(a+=h,47===r.charCodeAt(a)&&++a,r.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return".";for(var r=t.charCodeAt(0),s=47===r,i=-1,n=!0,o=t.length-1;o>=1;--o)if(47===(r=t.charCodeAt(o))){if(!n){i=o;break}}else n=!1;return -1===i?s?"/":".":s&&1===i?"//":t.slice(0,i)},basename:function(t,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');e(t);var s,i=0,n=-1,o=!0;if(void 0!==r&&r.length>0&&r.length<=t.length){if(r.length===t.length&&r===t)return"";var a=r.length-1,u=-1;for(s=t.length-1;s>=0;--s){var c=t.charCodeAt(s);if(47===c){if(!o){i=s+1;break}}else -1===u&&(o=!1,u=s+1),a>=0&&(c===r.charCodeAt(a)?-1==--a&&(n=s):(a=-1,n=u))}return i===n?n=u:-1===n&&(n=t.length),t.slice(i,n)}for(s=t.length-1;s>=0;--s)if(47===t.charCodeAt(s)){if(!o){i=s+1;break}}else -1===n&&(o=!1,n=s+1);return -1===n?"":t.slice(i,n)},extname:function(t){e(t);for(var r=-1,s=0,i=-1,n=!0,o=0,a=t.length-1;a>=0;--a){var u=t.charCodeAt(a);if(47===u){if(!n){s=a+1;break}continue}-1===i&&(n=!1,i=a+1),46===u?-1===r?r=a:1!==o&&(o=1):-1!==r&&(o=-1)}return -1===r||-1===i||0===o||1===o&&r===i-1&&r===s+1?"":t.slice(r,i)},format:function(t){var e,r;if(null===t||"object"!=typeof t)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return e=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||""),e?e===t.root?e+r:e+"/"+r:r},parse:function(t){e(t);var r,s={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return s;var i=t.charCodeAt(0),n=47===i;n?(s.root="/",r=1):r=0;for(var o=-1,a=0,u=-1,c=!0,h=t.length-1,l=0;h>=r;--h){if(47===(i=t.charCodeAt(h))){if(!c){a=h+1;break}continue}-1===u&&(c=!1,u=h+1),46===i?-1===o?o=h:1!==l&&(l=1):-1!==o&&(l=-1)}return -1===o||-1===u||0===l||1===l&&o===u-1&&o===a+1?-1!==u&&(0===a&&n?s.base=s.name=t.slice(1,u):s.base=s.name=t.slice(a,u)):(0===a&&n?(s.name=t.slice(1,o),s.base=t.slice(1,u)):(s.name=t.slice(a,o),s.base=t.slice(a,u)),s.ext=t.slice(o,u)),a>0?s.dir=t.slice(0,a-1):n&&(s.dir="/"),s},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,t.exports=s}},r={};function s(t){var i=r[t];if(void 0!==i)return i.exports;var n=r[t]={exports:{}},o=!0;try{e[t](n,n.exports,s),o=!1}finally{o&&delete r[t]}return n.exports}s.ab="//";var i=s(114);t.exports=i}()},12918:function(t,e,r){t.exports=r(2111)},66474:function(t,e,r){"use strict";r.d(e,{j:function(){return n}});var s=r(7506),i=r(24139),n=new class extends s.l{#t;#e;#r;constructor(){super(),this.#r=t=>{if(!i.sk&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#r=t,this.#e?.(),this.#e=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#t?this.#t:globalThis.document?.visibilityState!=="hidden"}}},59289:function(t,e,r){"use strict";r.d(e,{R:function(){return a},m:function(){return o}});var s=r(27037),i=r(48907),n=r(72008),o=class extends i.F{#s;#i;#n;constructor(t){super(),this.mutationId=t.mutationId,this.#i=t.mutationCache,this.#s=[],this.state=t.state||a(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#s.includes(t)||(this.#s.push(t),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#s=this.#s.filter(e=>e!==t),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#s.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(t){let e=()=>{this.#o({type:"continue"})};this.#n=(0,n.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#o({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#o({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)});let r="pending"===this.state.status,s=!this.#n.canStart();try{if(r)e();else{this.#o({type:"pending",variables:t,isPaused:s}),await this.#i.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#o({type:"pending",context:e,variables:t,isPaused:s})}let i=await this.#n.start();return await this.#i.config.onSuccess?.(i,t,this.state.context,this),await this.options.onSuccess?.(i,t,this.state.context),await this.#i.config.onSettled?.(i,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(i,null,t,this.state.context),this.#o({type:"success",data:i}),i}catch(e){try{throw await this.#i.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#i.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#o({type:"error",error:e})}}finally{this.#i.runNext(this)}}#o(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),s.Vr.batch(()=>{this.#s.forEach(e=>{e.onMutationUpdate(t)}),this.#i.notify({mutation:this,type:"updated",action:t})})}};function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},27037:function(t,e,r){"use strict";r.d(e,{Vr:function(){return i}});var s=t=>setTimeout(t,0),i=function(){let t=[],e=0,r=t=>{t()},i=t=>{t()},n=s,o=s=>{e?t.push(s):n(()=>{r(s)})},a=()=>{let e=t;t=[],e.length&&n(()=>{i(()=>{e.forEach(t=>{r(t)})})})};return{batch:t=>{let r;e++;try{r=t()}finally{--e||a()}return r},batchCalls:t=>(...e)=>{o(()=>{t(...e)})},schedule:o,setNotifyFunction:t=>{r=t},setBatchNotifyFunction:t=>{i=t},setScheduler:t=>{n=t}}}()},14304:function(t,e,r){"use strict";r.d(e,{N:function(){return n}});var s=r(7506),i=r(24139),n=new class extends s.l{#a=!0;#e;#r;constructor(){super(),this.#r=t=>{if(!i.sk&&window.addEventListener){let e=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#r=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#a!==t&&(this.#a=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#a}}},56888:function(t,e,r){"use strict";r.d(e,{A:function(){return a},z:function(){return u}});var s=r(24139),i=r(27037),n=r(72008),o=r(48907),a=class extends o.F{#u;#c;#h;#l;#n;#f;#d;constructor(t){super(),this.#d=!1,this.#f=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#l=t.client,this.#h=this.#l.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#u=function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,r=void 0!==e,s=r?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=t.state??this.#u,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#n?.promise}setOptions(t){this.options={...this.#f,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#h.remove(this)}setData(t,e){let r=(0,s.oE)(this.state.data,t,this.options);return this.#o({data:r,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),r}setState(t,e){this.#o({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#n?.promise;return this.#n?.cancel(t),e?e.then(s.ZT).catch(s.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#u)}isActive(){return this.observers.some(t=>!1!==(0,s.Nc)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===s.CN||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,s.KC)(t.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(t=0){return void 0===this.state.data||"static"!==t&&(!!this.state.isInvalidated||!(0,s.Kp)(this.state.dataUpdatedAt,t))}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#h.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#n&&(this.#d?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#h.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(t,e){if("idle"!==this.state.fetchStatus&&this.#n?.status()!=="rejected"){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let r=new AbortController,i=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#d=!0,r.signal)})},o=()=>{let t=(0,s.cG)(this.options,e),r=(()=>{let t={client:this.#l,queryKey:this.queryKey,meta:this.meta};return i(t),t})();return(this.#d=!1,this.options.persister)?this.options.persister(t,r,this):t(r)},a=(()=>{let t={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:o};return i(t),t})();this.options.behavior?.onFetch(a,this),this.#c=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#o({type:"fetch",meta:a.fetchOptions?.meta}),this.#n=(0,n.Mz)({initialPromise:e?.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onFail:(t,e)=>{this.#o({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let t=await this.#n.start();if(void 0===t)throw Error(`${this.queryHash} data is undefined`);return this.setData(t),this.#h.config.onSuccess?.(t,this),this.#h.config.onSettled?.(t,this.state.error,this),t}catch(t){if(t instanceof n.p8){if(t.silent)return this.#n.promise;if(t.revert){if(this.setState({...this.#c,fetchStatus:"idle"}),void 0===this.state.data)throw t;return this.state.data}}throw this.#o({type:"error",error:t}),this.#h.config.onError?.(t,this),this.#h.config.onSettled?.(this.state.data,t,this),t}finally{this.scheduleGc()}}#o(t){this.state=(e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...u(e.data,this.options),fetchMeta:t.meta??null};case"success":let r={...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#c=t.manual?r:void 0,r;case"error":let s=t.error;return{...e,error:s,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}})(this.state),i.Vr.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#h.notify({query:this,type:"updated",action:t})})}};function u(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,n.Kw)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}},8590:function(t,e,r){"use strict";r.d(e,{S:function(){return y}});var s=r(24139),i=r(56888),n=r(27037),o=r(7506),a=class extends o.l{constructor(t={}){super(),this.config=t,this.#p=new Map}#p;build(t,e,r){let n=e.queryKey,o=e.queryHash??(0,s.Rm)(n,e),a=this.get(o);return a||(a=new i.A({client:t,queryKey:n,queryHash:o,options:t.defaultQueryOptions(e),state:r,defaultOptions:t.getQueryDefaults(n)}),this.add(a)),a}add(t){this.#p.has(t.queryHash)||(this.#p.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#p.get(t.queryHash);e&&(t.destroy(),e===t&&this.#p.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){n.Vr.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#p.get(t)}getAll(){return[...this.#p.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,s._x)(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>(0,s._x)(t,e)):e}notify(t){n.Vr.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){n.Vr.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){n.Vr.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},u=r(59289),c=class extends o.l{constructor(t={}){super(),this.config=t,this.#y=new Set,this.#m=new Map,this.#g=0}#y;#m;#g;build(t,e,r){let s=new u.m({mutationCache:this,mutationId:++this.#g,options:t.defaultMutationOptions(e),state:r});return this.add(s),s}add(t){this.#y.add(t);let e=h(t);if("string"==typeof e){let r=this.#m.get(e);r?r.push(t):this.#m.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#y.delete(t)){let e=h(t);if("string"==typeof e){let r=this.#m.get(e);if(r){if(r.length>1){let e=r.indexOf(t);-1!==e&&r.splice(e,1)}else r[0]===t&&this.#m.delete(e)}}}this.notify({type:"removed",mutation:t})}canRun(t){let e=h(t);if("string"!=typeof e)return!0;{let r=this.#m.get(e),s=r?.find(t=>"pending"===t.state.status);return!s||s===t}}runNext(t){let e=h(t);if("string"!=typeof e)return Promise.resolve();{let r=this.#m.get(e)?.find(e=>e!==t&&e.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){n.Vr.batch(()=>{this.#y.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#y.clear(),this.#m.clear()})}getAll(){return Array.from(this.#y)}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,s.X7)(e,t))}findAll(t={}){return this.getAll().filter(e=>(0,s.X7)(t,e))}notify(t){n.Vr.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return n.Vr.batch(()=>Promise.all(t.map(t=>t.continue().catch(s.ZT))))}};function h(t){return t.options.scope?.id}var l=r(66474),f=r(14304);function d(t){return{onFetch:(e,r)=>{let i=e.options,n=e.fetchOptions?.meta?.fetchMore?.direction,o=e.state.data?.pages||[],a=e.state.data?.pageParams||[],u={pages:[],pageParams:[]},c=0,h=async()=>{let r=!1,h=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(e.signal.aborted?r=!0:e.signal.addEventListener("abort",()=>{r=!0}),e.signal)})},l=(0,s.cG)(e.options,e.fetchOptions),f=async(t,i,n)=>{if(r)return Promise.reject();if(null==i&&t.pages.length)return Promise.resolve(t);let o=(()=>{let t={client:e.client,queryKey:e.queryKey,pageParam:i,direction:n?"backward":"forward",meta:e.options.meta};return h(t),t})(),a=await l(o),{maxPages:u}=e.options,c=n?s.Ht:s.VX;return{pages:c(t.pages,a,u),pageParams:c(t.pageParams,i,u)}};if(n&&o.length){let t="backward"===n,e={pages:o,pageParams:a},r=(t?function(t,{pages:e,pageParams:r}){return e.length>0?t.getPreviousPageParam?.(e[0],e,r[0],r):void 0}:p)(i,e);u=await f(e,r,t)}else{let e=t??o.length;do{let t=0===c?a[0]??i.initialPageParam:p(i,u);if(c>0&&null==t)break;u=await f(u,t),c++}while(ce.options.persister?.(h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r):e.fetchFn=h}}}function p(t,{pages:e,pageParams:r}){let s=e.length-1;return e.length>0?t.getNextPageParam(e[s],e,r[s],r):void 0}var y=class{#v;#i;#f;#b;#w;#C;#S;#O;constructor(t={}){this.#v=t.queryCache||new a,this.#i=t.mutationCache||new c,this.#f=t.defaultOptions||{},this.#b=new Map,this.#w=new Map,this.#C=0}mount(){this.#C++,1===this.#C&&(this.#S=l.j.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#v.onFocus())}),this.#O=f.N.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#v.onOnline())}))}unmount(){this.#C--,0===this.#C&&(this.#S?.(),this.#S=void 0,this.#O?.(),this.#O=void 0)}isFetching(t){return this.#v.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#i.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#v.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.defaultQueryOptions(t),r=this.#v.build(this,e),i=r.state.data;return void 0===i?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime((0,s.KC)(e.staleTime,r))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return this.#v.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,r){let i=this.defaultQueryOptions({queryKey:t}),n=this.#v.get(i.queryHash),o=n?.state.data,a=(0,s.SE)(e,o);if(void 0!==a)return this.#v.build(this,i).setData(a,{...r,manual:!0})}setQueriesData(t,e,r){return n.Vr.batch(()=>this.#v.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,r)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#v.get(e.queryHash)?.state}removeQueries(t){let e=this.#v;n.Vr.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let r=this.#v;return n.Vr.batch(()=>(r.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){let r={revert:!0,...e};return Promise.all(n.Vr.batch(()=>this.#v.findAll(t).map(t=>t.cancel(r)))).then(s.ZT).catch(s.ZT)}invalidateQueries(t,e={}){return n.Vr.batch(()=>(this.#v.findAll(t).forEach(t=>{t.invalidate()}),t?.refetchType==="none")?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e))}refetchQueries(t,e={}){let r={...e,cancelRefetch:e.cancelRefetch??!0};return Promise.all(n.Vr.batch(()=>this.#v.findAll(t).filter(t=>!t.isDisabled()&&!t.isStatic()).map(t=>{let e=t.fetch(void 0,r);return r.throwOnError||(e=e.catch(s.ZT)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(s.ZT)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let r=this.#v.build(this,e);return r.isStaleByTime((0,s.KC)(e.staleTime,r))?r.fetch(e):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(s.ZT).catch(s.ZT)}fetchInfiniteQuery(t){return t.behavior=d(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(s.ZT).catch(s.ZT)}ensureInfiniteQueryData(t){return t.behavior=d(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return f.N.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#v}getMutationCache(){return this.#i}getDefaultOptions(){return this.#f}setDefaultOptions(t){this.#f=t}setQueryDefaults(t,e){this.#b.set((0,s.Ym)(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#b.values()],r={};return e.forEach(e=>{(0,s.to)(t,e.queryKey)&&Object.assign(r,e.defaultOptions)}),r}setMutationDefaults(t,e){this.#w.set((0,s.Ym)(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#w.values()],r={};return e.forEach(e=>{(0,s.to)(t,e.mutationKey)&&Object.assign(r,e.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#f.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=(0,s.Rm)(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===s.CN&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#f.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#v.clear(),this.#i.clear()}}},48907:function(t,e,r){"use strict";r.d(e,{F:function(){return i}});var s=r(24139),i=class{#A;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,s.PN)(this.gcTime)&&(this.#A=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(s.sk?1/0:3e5))}clearGcTimeout(){this.#A&&(clearTimeout(this.#A),this.#A=void 0)}}},72008:function(t,e,r){"use strict";r.d(e,{Kw:function(){return u},Mz:function(){return h},p8:function(){return c}});var s=r(66474),i=r(14304),n=r(13820),o=r(24139);function a(t){return Math.min(1e3*2**t,3e4)}function u(t){return(t??"online")!=="online"||i.N.isOnline()}var c=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function h(t){let e,r=!1,h=0,l=(0,n.O)(),f=()=>"pending"!==l.status,d=()=>s.j.isFocused()&&("always"===t.networkMode||i.N.isOnline())&&t.canRun(),p=()=>u(t.networkMode)&&t.canRun(),y=t=>{f()||(e?.(),l.resolve(t))},m=t=>{f()||(e?.(),l.reject(t))},g=()=>new Promise(r=>{e=t=>{(f()||d())&&r(t)},t.onPause?.()}).then(()=>{e=void 0,f()||t.onContinue?.()}),v=()=>{let e;if(f())return;let s=0===h?t.initialPromise:void 0;try{e=s??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(y).catch(e=>{if(f())return;let s=t.retry??(o.sk?0:3),i=t.retryDelay??a,n="function"==typeof i?i(h,e):i,u=!0===s||"number"==typeof s&&hd()?void 0:g()).then(()=>{r?m(e):v()})})};return{promise:l,status:()=>l.status,cancel:e=>{f()||(m(new c(e)),t.abort?.())},continue:()=>(e?.(),l),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:p,start:()=>(p()?v():g().then(v),l)}}},7506:function(t,e,r){"use strict";r.d(e,{l:function(){return s}});var s=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},13820:function(t,e,r){"use strict";function s(){let t,e;let r=new Promise((r,s)=>{t=r,e=s});function s(t){Object.assign(r,t),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=e=>{s({status:"fulfilled",value:e}),t(e)},r.reject=t=>{s({status:"rejected",reason:t}),e(t)},r}r.d(e,{O:function(){return s}})},24139:function(t,e,r){"use strict";r.d(e,{CN:function(){return O},Ht:function(){return S},KC:function(){return u},Kp:function(){return a},L3:function(){return P},Nc:function(){return c},PN:function(){return o},Rm:function(){return f},SE:function(){return n},VS:function(){return y},VX:function(){return C},X7:function(){return l},Ym:function(){return d},ZT:function(){return i},_v:function(){return b},_x:function(){return h},cG:function(){return A},oE:function(){return w},sk:function(){return s},to:function(){return p}});var s="undefined"==typeof window||"Deno"in globalThis;function i(){}function n(t,e){return"function"==typeof t?t(e):t}function o(t){return"number"==typeof t&&t>=0&&t!==1/0}function a(t,e){return Math.max(t+(e||0)-Date.now(),0)}function u(t,e){return"function"==typeof t?t(e):t}function c(t,e){return"function"==typeof t?t(e):t}function h(t,e){let{type:r="all",exact:s,fetchStatus:i,predicate:n,queryKey:o,stale:a}=t;if(o){if(s){if(e.queryHash!==f(o,e.options))return!1}else if(!p(e.queryKey,o))return!1}if("all"!==r){let t=e.isActive();if("active"===r&&!t||"inactive"===r&&t)return!1}return("boolean"!=typeof a||e.isStale()===a)&&(!i||i===e.state.fetchStatus)&&(!n||!!n(e))}function l(t,e){let{exact:r,status:s,predicate:i,mutationKey:n}=t;if(n){if(!e.options.mutationKey)return!1;if(r){if(d(e.options.mutationKey)!==d(n))return!1}else if(!p(e.options.mutationKey,n))return!1}return(!s||e.state.status===s)&&(!i||!!i(e))}function f(t,e){return(e?.queryKeyHashFn||d)(t)}function d(t){return JSON.stringify(t,(t,e)=>g(e)?Object.keys(e).sort().reduce((t,r)=>(t[r]=e[r],t),{}):e)}function p(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).every(r=>p(t[r],e[r]))}function y(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let r in t)if(t[r]!==e[r])return!1;return!0}function m(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function g(t){if(!v(t))return!1;let e=t.constructor;if(void 0===e)return!0;let r=e.prototype;return!!(v(r)&&r.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(t)===Object.prototype}function v(t){return"[object Object]"===Object.prototype.toString.call(t)}function b(t){return new Promise(e=>{setTimeout(e,t)})}function w(t,e,r){return"function"==typeof r.structuralSharing?r.structuralSharing(t,e):!1!==r.structuralSharing?function t(e,r){if(e===r)return e;let s=m(e)&&m(r);if(s||g(e)&&g(r)){let i=s?e:Object.keys(e),n=i.length,o=s?r:Object.keys(r),a=o.length,u=s?[]:{},c=new Set(i),h=0;for(let i=0;ir?s.slice(1):s}function S(t,e,r=0){let s=[e,...t];return r&&s.length>r?s.slice(0,-1):s}var O=Symbol();function A(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==O?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}function P(t,e){return"function"==typeof t?t(...e):!!t}},34576:function(t,e,r){"use strict";r.d(e,{t:function(){return s}});var s=function(){return null}},30202:function(t,e,r){"use strict";r.d(e,{NL:function(){return o},aH:function(){return a}});var s=r(67294),i=r(85893),n=s.createContext(void 0),o=t=>{let e=s.useContext(n);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},a=({client:t,children:e})=>(s.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,i.jsx)(n.Provider,{value:t,children:e}))}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/6336-0ef559f9ca6156bd_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/6336-0ef559f9ca6156bd_05Q6.js new file mode 100644 index 0000000..7003011 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/6336-0ef559f9ca6156bd_05Q6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6336],{76489:function(e,t){t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},s=e.split(";"),o=(t||{}).decode||i,n=0;nt.indexOf(r)&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(e);st.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(i[r[s]]=e[r[s]]);return i};Object.defineProperty(t,"__esModule",{value:!0}),t.checkCookies=t.hasCookie=t.removeCookies=t.deleteCookie=t.setCookies=t.setCookie=t.getCookie=t.getCookies=void 0;var o=i(76489),n=function(){return"undefined"!=typeof window},h=function(e){void 0===e&&(e="");try{var t=JSON.stringify(e);return/^[\{\[]/.test(t)?t:e}catch(t){return e}};t.getCookies=function(e){if(e&&(t=e.req),!n())return t&&t.cookies?t.cookies:t&&t.headers&&t.headers.cookie?(0,o.parse)(t.headers.cookie):{};for(var t,i={},r=document.cookie?document.cookie.split("; "):[],s=0,h=r.length;s65535&&(i-=65536,o.push(i>>>10&1023|55296),i=56320|1023&i),o.push(i)}else o.push(t)}else o.push(t);o.length>=4096&&(n+=String.fromCharCode(...o),o.length=0)}return o.length>0&&(n+=String.fromCharCode(...o)),n}let h=new TextDecoder;class a{type;data;constructor(e,t){this.type=e,this.data=t}}class c extends Error{constructor(e){super(e),Object.setPrototypeOf(this,Object.create(c.prototype)),Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:c.name})}}function d(e,t,i){e.setUint32(t,Math.floor(i/4294967296)),e.setUint32(t+4,i)}function l(e,t){return 4294967296*e.getInt32(t)+e.getUint32(t+4)}let f={type:-1,encode:function(e){return e instanceof Date?function({sec:e,nsec:t}){if(e>=0&&t>=0&&e<=17179869183){if(0===t&&e<=4294967295){let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e),t}{let i=e/4294967296,r=new Uint8Array(8),s=new DataView(r.buffer);return s.setUint32(0,t<<2|3&i),s.setUint32(4,4294967295&e),r}}{let i=new Uint8Array(12),r=new DataView(i.buffer);return r.setUint32(0,t),d(r,4,e),i}}(function(e){let t=e.getTime(),i=Math.floor(t/1e3),r=1e6*(t-1e3*i),s=Math.floor(r/1e9);return{sec:i+s,nsec:r-1e9*s}}(e)):null},decode:function(e){let t=function(e){let t=new DataView(e.buffer,e.byteOffset,e.byteLength);switch(e.byteLength){case 4:return{sec:t.getUint32(0),nsec:0};case 8:{let e=t.getUint32(0);return{sec:4294967296*(3&e)+t.getUint32(4),nsec:e>>>2}}case 12:return{sec:l(t,4),nsec:t.getUint32(0)};default:throw new c(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${e.length}`)}}(e);return new Date(1e3*t.sec+t.nsec/1e6)}};class u{static defaultCodec=new u;__brand;builtInEncoders=[];builtInDecoders=[];encoders=[];decoders=[];constructor(){this.register(f)}register({type:e,encode:t,decode:i}){if(e>=0)this.encoders[e]=t,this.decoders[e]=i;else{let r=-1-e;this.builtInEncoders[r]=t,this.builtInDecoders[r]=i}}tryToEncode(e,t){for(let i=0;ithis.maxDepth)throw Error(`Too deep objects in depth ${t}`);null==e?this.encodeNil():"boolean"==typeof e?this.encodeBoolean(e):"number"==typeof e?this.forceIntegerToFloat?this.encodeNumberAsFloat(e):this.encodeNumber(e):"string"==typeof e?this.encodeString(e):this.useBigInt64&&"bigint"==typeof e?this.encodeBigInt64(e):this.encodeObject(e,t)}ensureBufferSizeToWrite(e){let t=this.pos+e;this.view.byteLength=0?e<128?this.writeU8(e):e<256?(this.writeU8(204),this.writeU8(e)):e<65536?(this.writeU8(205),this.writeU16(e)):e<4294967296?(this.writeU8(206),this.writeU32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(207),this.writeU64(e)):e>=-32?this.writeU8(224|e+32):e>=-128?(this.writeU8(208),this.writeI8(e)):e>=-32768?(this.writeU8(209),this.writeI16(e)):e>=-2147483648?(this.writeU8(210),this.writeI32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(211),this.writeI64(e)):this.encodeNumberAsFloat(e)}encodeNumberAsFloat(e){this.forceFloat32?(this.writeU8(202),this.writeF32(e)):(this.writeU8(203),this.writeF64(e))}encodeBigInt64(e){e>=BigInt(0)?(this.writeU8(207),this.writeBigUint64(e)):(this.writeU8(211),this.writeBigInt64(e))}writeStringHeader(e){if(e<32)this.writeU8(160+e);else if(e<256)this.writeU8(217),this.writeU8(e);else if(e<65536)this.writeU8(218),this.writeU16(e);else{if(!(e<4294967296))throw Error(`Too long string: ${e} bytes in UTF-8`);this.writeU8(219),this.writeU32(e)}}encodeString(e){var t,i;let r=function(e){let t=e.length,i=0,r=0;for(;r=55296&&s<=56319&&r50?o.encodeInto(e,t.subarray(i)):function(e,t,i){let r=e.length,s=i,o=0;for(;o=55296&&i<=56319&&o>18&7|240,t[s++]=i>>12&63|128):t[s++]=i>>12&15|224,t[s++]=i>>6&63|128}else t[s++]=i>>6&31|192;t[s++]=63&i|128}else t[s++]=i}}(e,t,i),this.pos+=r}encodeObject(e,t){let i=this.extensionCodec.tryToEncode(e,this.context);if(null!=i)this.encodeExtension(i);else if(Array.isArray(e))this.encodeArray(e,t);else if(ArrayBuffer.isView(e))this.encodeBinary(e);else{if("object"!=typeof e)throw Error(`Unrecognized object: ${Object.prototype.toString.apply(e)}`);this.encodeMap(e,t)}}encodeBinary(e){let t=e.byteLength;if(t<256)this.writeU8(196),this.writeU8(t);else if(t<65536)this.writeU8(197),this.writeU16(t);else{if(!(t<4294967296))throw Error(`Too large binary: ${t}`);this.writeU8(198),this.writeU32(t)}let i=p(e);this.writeU8a(i)}encodeArray(e,t){let i=e.length;if(i<16)this.writeU8(144+i);else if(i<65536)this.writeU8(220),this.writeU16(i);else{if(!(i<4294967296))throw Error(`Too large array: ${i}`);this.writeU8(221),this.writeU32(i)}for(let i of e)this.doEncode(i,t+1)}countWithoutUndefined(e,t){let i=0;for(let r of t)void 0!==e[r]&&i++;return i}encodeMap(e,t){let i=Object.keys(e);this.sortKeys&&i.sort();let r=this.ignoreUndefined?this.countWithoutUndefined(e,i):i.length;if(r<16)this.writeU8(128+r);else if(r<65536)this.writeU8(222),this.writeU16(r);else{if(!(r<4294967296))throw Error(`Too large map object: ${r}`);this.writeU8(223),this.writeU32(r)}for(let r of i){let i=e[r];this.ignoreUndefined&&void 0===i||(this.encodeString(r),this.doEncode(i,t+1))}}encodeExtension(e){if("function"==typeof e.data){let t=e.data(this.pos+6),i=t.length;if(i>=4294967296)throw Error(`Too large extension object: ${i}`);return this.writeU8(201),this.writeU32(i),this.writeI8(e.type),void this.writeU8a(t)}let t=e.data.length;if(1===t)this.writeU8(212);else if(2===t)this.writeU8(213);else if(4===t)this.writeU8(214);else if(8===t)this.writeU8(215);else if(16===t)this.writeU8(216);else if(t<256)this.writeU8(199),this.writeU8(t);else if(t<65536)this.writeU8(200),this.writeU16(t);else{if(!(t<4294967296))throw Error(`Too large extension object: ${t}`);this.writeU8(201),this.writeU32(t)}this.writeI8(e.type),this.writeU8a(e.data)}writeU8(e){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,e),this.pos++}writeU8a(e){let t=e.length;this.ensureBufferSizeToWrite(t),this.bytes.set(e,this.pos),this.pos+=t}writeI8(e){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,e),this.pos++}writeU16(e){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,e),this.pos+=2}writeI16(e){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,e),this.pos+=2}writeU32(e){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,e),this.pos+=4}writeI32(e){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,e),this.pos+=4}writeF32(e){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,e),this.pos+=4}writeF64(e){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,e),this.pos+=8}writeU64(e){var t,i;this.ensureBufferSizeToWrite(8),t=this.view,i=this.pos,t.setUint32(i,e/4294967296),t.setUint32(i+4,e),this.pos+=8}writeI64(e){this.ensureBufferSizeToWrite(8),d(this.view,this.pos,e),this.pos+=8}writeBigUint64(e){this.ensureBufferSizeToWrite(8),this.view.setBigUint64(this.pos,e),this.pos+=8}writeBigInt64(e){this.ensureBufferSizeToWrite(8),this.view.setBigInt64(this.pos,e),this.pos+=8}}function y(e){return`${e<0?"-":""}0x${Math.abs(e).toString(16).padStart(2,"0")}`}let w="array",m="map_key",b="map_value",I=e=>{if("string"==typeof e||"number"==typeof e)return e;throw new c("The type of key must be string or number but "+typeof e)};class U{stack=[];stackHeadPosition=-1;get length(){return this.stackHeadPosition+1}top(){return this.stack[this.stackHeadPosition]}pushArrayState(e){let t=this.getUninitializedStateFromPool();t.type=w,t.position=0,t.size=e,t.array=Array(e)}pushMapState(e){let t=this.getUninitializedStateFromPool();t.type=m,t.readCount=0,t.size=e,t.map={}}getUninitializedStateFromPool(){return this.stackHeadPosition++,this.stackHeadPosition===this.stack.length&&this.stack.push({type:void 0,size:0,array:void 0,position:0,readCount:0,map:void 0,key:null}),this.stack[this.stackHeadPosition]}release(e){if(this.stack[this.stackHeadPosition]!==e)throw Error("Invalid stack state. Released state is not on top of the stack.");e.type===w&&(e.size=0,e.array=void 0,e.position=0,e.type=void 0),(e.type===m||e.type===b)&&(e.size=0,e.map=void 0,e.readCount=0,e.type=void 0),this.stackHeadPosition--}reset(){this.stack.length=0,this.stackHeadPosition=-1}}let k=new DataView(new ArrayBuffer(0)),S=new Uint8Array(k.buffer);try{k.getInt8(0)}catch(e){if(!(e instanceof RangeError))throw Error("This module is not supported in the current JavaScript engine because DataView does not throw RangeError on out-of-bounds access")}let x=RangeError("Insufficient data"),v=new class{hit=0;miss=0;caches;maxKeyLength;maxLengthPerKey;constructor(e=16,t=16){this.maxKeyLength=e,this.maxLengthPerKey=t,this.caches=[];for(let e=0;e0&&e<=this.maxKeyLength}find(e,t,i){let r=this.caches[i-1];e:for(let s of r){let r=s.bytes;for(let s=0;s=this.maxLengthPerKey?i[Math.random()*i.length|0]=r:i.push(r)}decode(e,t,i){let r=this.find(e,t,i);if(null!=r)return this.hit++,r;this.miss++;let s=n(e,t,i),o=Uint8Array.prototype.slice.call(e,t,t+i);return this.store(o,s),s}};class B{extensionCodec;context;useBigInt64;rawStrings;maxStrLength;maxBinLength;maxArrayLength;maxMapLength;maxExtLength;keyDecoder;mapKeyConverter;totalPos=0;pos=0;view=k;bytes=S;headByte=-1;stack=new U;entered=!1;constructor(e){this.extensionCodec=e?.extensionCodec??u.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.rawStrings=e?.rawStrings??!1,this.maxStrLength=e?.maxStrLength??4294967295,this.maxBinLength=e?.maxBinLength??4294967295,this.maxArrayLength=e?.maxArrayLength??4294967295,this.maxMapLength=e?.maxMapLength??4294967295,this.maxExtLength=e?.maxExtLength??4294967295,this.keyDecoder=void 0!==e?.keyDecoder?e.keyDecoder:v,this.mapKeyConverter=e?.mapKeyConverter??I}clone(){return new B({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,rawStrings:this.rawStrings,maxStrLength:this.maxStrLength,maxBinLength:this.maxBinLength,maxArrayLength:this.maxArrayLength,maxMapLength:this.maxMapLength,maxExtLength:this.maxExtLength,keyDecoder:this.keyDecoder})}reinitializeState(){this.totalPos=0,this.headByte=-1,this.stack.reset()}setBuffer(e){let t=p(e);this.bytes=t,this.view=new DataView(t.buffer,t.byteOffset,t.byteLength),this.pos=0}appendBuffer(e){if(-1!==this.headByte||this.hasRemaining(1)){let t=this.bytes.subarray(this.pos),i=p(e),r=new Uint8Array(t.length+i.length);r.set(t),r.set(i,t.length),this.setBuffer(r)}else this.setBuffer(e)}hasRemaining(e){return this.view.byteLength-this.pos>=e}createExtraByteError(e){let{view:t,pos:i}=this;return RangeError(`Extra ${t.byteLength-i} of ${t.byteLength} byte(s) found at buffer[${e}]`)}decode(e){if(this.entered)return this.clone().decode(e);try{this.entered=!0,this.reinitializeState(),this.setBuffer(e);let t=this.doDecodeSync();if(this.hasRemaining(1))throw this.createExtraByteError(this.pos);return t}finally{this.entered=!1}}*decodeMulti(e){if(this.entered){let t=this.clone();yield*t.decodeMulti(e)}else try{for(this.entered=!0,this.reinitializeState(),this.setBuffer(e);this.hasRemaining(1);)yield this.doDecodeSync()}finally{this.entered=!1}}async decodeAsync(e){if(this.entered)return this.clone().decodeAsync(e);try{this.entered=!0;let t,i=!1;for await(let r of e){if(i)throw this.entered=!1,this.createExtraByteError(this.totalPos);this.appendBuffer(r);try{t=this.doDecodeSync(),i=!0}catch(e){if(!(e instanceof RangeError))throw e}this.totalPos+=this.pos}if(i){if(this.hasRemaining(1))throw this.createExtraByteError(this.totalPos);return t}let{headByte:r,pos:s,totalPos:o}=this;throw RangeError(`Insufficient data in parsing ${y(r)} at ${o} (${s} in the current buffer)`)}finally{this.entered=!1}}decodeArrayStream(e){return this.decodeMultiAsync(e,!0)}decodeStream(e){return this.decodeMultiAsync(e,!1)}async *decodeMultiAsync(e,t){if(this.entered){let i=this.clone();yield*i.decodeMultiAsync(e,t)}else try{this.entered=!0;let i=t,r=-1;for await(let s of e){if(t&&0===r)throw this.createExtraByteError(this.totalPos);this.appendBuffer(s),i&&(r=this.readArraySize(),i=!1,this.complete());try{for(;yield this.doDecodeSync(),0!=--r;);}catch(e){if(!(e instanceof RangeError))throw e}this.totalPos+=this.pos}}finally{this.entered=!1}}doDecodeSync(){e:for(;;){let e;let t=this.readHeadByte();if(t>=224)e=t-256;else if(t<192){if(t<128)e=t;else if(t<144){let i=t-128;if(0!==i){this.pushMapState(i),this.complete();continue}e={}}else if(t<160){let i=t-144;if(0!==i){this.pushArrayState(i),this.complete();continue}e=[]}else{let i=t-160;e=this.decodeString(i,0)}}else if(192===t)e=null;else if(194===t)e=!1;else if(195===t)e=!0;else if(202===t)e=this.readF32();else if(203===t)e=this.readF64();else if(204===t)e=this.readU8();else if(205===t)e=this.readU16();else if(206===t)e=this.readU32();else if(207===t)e=this.useBigInt64?this.readU64AsBigInt():this.readU64();else if(208===t)e=this.readI8();else if(209===t)e=this.readI16();else if(210===t)e=this.readI32();else if(211===t)e=this.useBigInt64?this.readI64AsBigInt():this.readI64();else if(217===t){let t=this.lookU8();e=this.decodeString(t,1)}else if(218===t){let t=this.lookU16();e=this.decodeString(t,2)}else if(219===t){let t=this.lookU32();e=this.decodeString(t,4)}else if(220===t){let t=this.readU16();if(0!==t){this.pushArrayState(t),this.complete();continue}e=[]}else if(221===t){let t=this.readU32();if(0!==t){this.pushArrayState(t),this.complete();continue}e=[]}else if(222===t){let t=this.readU16();if(0!==t){this.pushMapState(t),this.complete();continue}e={}}else if(223===t){let t=this.readU32();if(0!==t){this.pushMapState(t),this.complete();continue}e={}}else if(196===t){let t=this.lookU8();e=this.decodeBinary(t,1)}else if(197===t){let t=this.lookU16();e=this.decodeBinary(t,2)}else if(198===t){let t=this.lookU32();e=this.decodeBinary(t,4)}else if(212===t)e=this.decodeExtension(1,0);else if(213===t)e=this.decodeExtension(2,0);else if(214===t)e=this.decodeExtension(4,0);else if(215===t)e=this.decodeExtension(8,0);else if(216===t)e=this.decodeExtension(16,0);else if(199===t){let t=this.lookU8();e=this.decodeExtension(t,1)}else if(200===t){let t=this.lookU16();e=this.decodeExtension(t,2)}else{if(201!==t)throw new c(`Unrecognized type byte: ${y(t)}`);{let t=this.lookU32();e=this.decodeExtension(t,4)}}this.complete();let i=this.stack;for(;i.length>0;){let t=i.top();if(t.type===w){if(t.array[t.position]=e,t.position++,t.position!==t.size)continue e;e=t.array,i.release(t)}else{if(t.type===m){if("__proto__"===e)throw new c("The key __proto__ is not allowed");t.key=this.mapKeyConverter(e),t.type=b;continue e}if(t.map[t.key]=e,t.readCount++,t.readCount!==t.size){t.key=null,t.type=m;continue e}e=t.map,i.release(t)}}return e}}readHeadByte(){return -1===this.headByte&&(this.headByte=this.readU8()),this.headByte}complete(){this.headByte=-1}readArraySize(){let e=this.readHeadByte();switch(e){case 220:return this.readU16();case 221:return this.readU32();default:if(e<160)return e-144;throw new c(`Unrecognized array type byte: ${y(e)}`)}}pushMapState(e){if(e>this.maxMapLength)throw new c(`Max length exceeded: map length (${e}) > maxMapLengthLength (${this.maxMapLength})`);this.stack.pushMapState(e)}pushArrayState(e){if(e>this.maxArrayLength)throw new c(`Max length exceeded: array length (${e}) > maxArrayLength (${this.maxArrayLength})`);this.stack.pushArrayState(e)}decodeString(e,t){return!this.rawStrings||this.stateIsMapKey()?this.decodeUtf8String(e,t):this.decodeBinary(e,t)}decodeUtf8String(e,t){var i;let r;if(e>this.maxStrLength)throw new c(`Max length exceeded: UTF-8 byte length (${e}) > maxStrLength (${this.maxStrLength})`);if(this.bytes.byteLength200?function(e,t,i){let r=e.subarray(t,t+i);return h.decode(r)}(i,s,e):n(i,s,e)),this.pos+=t+e,r}stateIsMapKey(){return this.stack.length>0&&this.stack.top().type===m}decodeBinary(e,t){if(e>this.maxBinLength)throw new c(`Max length exceeded: bin length (${e}) > maxBinLength (${this.maxBinLength})`);if(!this.hasRemaining(e+t))throw x;let i=this.pos+t,r=this.bytes.subarray(i,i+e);return this.pos+=t+e,r}decodeExtension(e,t){if(e>this.maxExtLength)throw new c(`Max length exceeded: ext length (${e}) > maxExtLength (${this.maxExtLength})`);let i=this.view.getInt8(this.pos+t),r=this.decodeBinary(e,t+1);return this.extensionCodec.decode(r,i,this.context)}lookU8(){return this.view.getUint8(this.pos)}lookU16(){return this.view.getUint16(this.pos)}lookU32(){return this.view.getUint32(this.pos)}readU8(){let e=this.view.getUint8(this.pos);return this.pos++,e}readI8(){let e=this.view.getInt8(this.pos);return this.pos++,e}readU16(){let e=this.view.getUint16(this.pos);return this.pos+=2,e}readI16(){let e=this.view.getInt16(this.pos);return this.pos+=2,e}readU32(){let e=this.view.getUint32(this.pos);return this.pos+=4,e}readI32(){let e=this.view.getInt32(this.pos);return this.pos+=4,e}readU64(){var e,t;let i=(e=this.view,t=this.pos,4294967296*e.getUint32(t)+e.getUint32(t+4));return this.pos+=8,i}readI64(){let e=l(this.view,this.pos);return this.pos+=8,e}readU64AsBigInt(){let e=this.view.getBigUint64(this.pos);return this.pos+=8,e}readI64AsBigInt(){let e=this.view.getBigInt64(this.pos);return this.pos+=8,e}readF32(){let e=this.view.getFloat32(this.pos);return this.pos+=4,e}readF64(){let e=this.view.getFloat64(this.pos);return this.pos+=8,e}}let E=/application\/(x-)?msgpack\b/i,T="application/msgpack",A="application/json",C=new g,F=new B;function P(e){return(0,r.RH)(e,{body:e.pack?function(e){if("string"!=typeof e)return e;try{let t=JSON.parse(e);return C.encode(t)}catch{return e}}(e.body):e.body,headers:{Accept:e?.pack?T:A,"Content-Type":e?.pack?T:A}})}function L(e){let t=e.headers.get("content-type")??"";return E.test(t)?e.arrayBuffer().then(e=>F.decode(new Uint8Array(e))):e.json()}var z=Object.defineProperty,D=(e,t,i)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?z(e,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[r]=i};class O{constructor(e,t){D(this,"appId"),D(this,"sentryUrl"),D(this,"authRetryCount",0),D(this,"getJWTTokenHandler",()=>Promise.reject(Error("Get JWT Token handler is not set"))),D(this,"setJWTTokenHandler",()=>Promise.reject(Error("Set JWT Token handler is not set"))),this.appId=e,this.sentryUrl=t}getJWTToken(e){this.getJWTTokenHandler=e}setJWTToken(e){this.setJWTTokenHandler=e}async secureFetch(e,t,i=!1){let s=i?"":await this?.getJWTTokenHandler?.();return s||(s=await this.negotiateAccessToken(t?.pack),await this?.setJWTTokenHandler?.(s)),fetch(e,P((0,r.RH)({mode:"cors",credentials:"include",headers:{authorization:`Bearer ${s}`,"x-access-app-id":this.appId}},t))).then(i=>{if(i.ok)return this.authRetryCount=0,L(i);if(i.status===r.o8.AuthenticationRequired){if(this.authRetryCount>=3)throw r.XM.FailedToNegotiateSecureConnectionError;return this.authRetryCount+=1,this.secureFetch(e,t,!0)}if(i.status===r.o8.Forbidden)throw r.XM.AccessForbiddenError;throw r.XM.NotAuthorizedError})}requestAccessToken(e){let t=P({mode:"cors",credentials:"include",headers:{"x-access-app-id":this.appId},pack:e});return fetch(this.sentryUrl,t)}async negotiateAccessToken(e=!1){let t=await this.requestAccessToken(e);if(t.status===r.o8.PreconditionFailed||t.status>=r.o8.InternalError)throw r.XM.NotAuthorizedError;if(t.ok)return L(t).then(({token:e})=>e||"");throw r.XM.FailedToObtainTokenError}}var M=Object.defineProperty,R=(e,t,i)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?M(e,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[r]=i};class W{constructor({appId:e,getJWTTokenHandler:t,mobile:i=!1,serviceUrl:o=s.env.OCTAGON_SERVICE_URL??"",setJWTTokenHandler:n,useCompression:h=!1}){R(this,"accessProvider"),R(this,"serviceUrl"),R(this,"useCompression"),R(this,"mobile"),this.serviceUrl=o,this.accessProvider=new O(e,(0,r.CN)(this.serviceUrl,"sentry")),this.accessProvider.getJWTToken(t),this.accessProvider.setJWTToken(n),this.mobile=i,this.useCompression=h}formatUrl(e,t={},i={}){return(0,r.CN)(this.serviceUrl,this.mobile?`/mobile/${e}`:e,t,i)}secureFetch(e,t){let i=(0,r.RH)(t,{pack:this.useCompression});return this.accessProvider.secureFetch(e,i)}postJsonData(e,t,i){return this.secureFetch(e,{method:"POST",body:JSON.stringify(t),pack:this.useCompression,...i})}patchJsonData(e,t,i){return this.secureFetch(e,{method:"PATCH",body:JSON.stringify(t),pack:this.useCompression,...i})}putJsonData(e,t,i){return this.secureFetch(e,{method:"PUT",body:JSON.stringify(t),pack:this.useCompression,...i})}deleteRequest(e,t){return this.secureFetch(e,{method:"DELETE",pack:this.useCompression,...t})}}class H extends W{formatUrl(e,t={},i={}){return super.formatUrl(`market-data/${e}`,t,i)}getReference(e,t,i){return this.secureFetch(this.formatUrl("reference",void 0,{securities:e,fields:t}),i)}getHistory(e,t){return this.secureFetch(this.formatUrl("history",void 0,{...e}),t)}getIntraday(e,t){return this.secureFetch(this.formatUrl("intraday",void 0,{...e}),t)}getIndexMembersReference(e,t){return this.secureFetch(this.formatUrl("members/reference",void 0,{...e}),t)}}class $ extends W{formatUrl(e,t={},i={}){return super.formatUrl(`news/${e}`,t,i)}extractSearchParams(e){return{limit:e.limit,offset:e.offset}}getNewsByTicker(e,t){let{ticker:i}=e,r=this.extractSearchParams(e);if(!i)throw Error("Ticker is required");return this.secureFetch(this.formatUrl("byTicker/{ticker}",{ticker:i},r),t)}getNewsByFacet(e,t){let{facet:i}=e,r=this.extractSearchParams(e);if(!i)throw Error("Facet is required");return this.secureFetch(this.formatUrl("byFacet/{facet}",{facet:i},r),t)}}class j extends W{formatUrl(e,t={},i={}){return super.formatUrl(`watchlist/${e}`,t,i)}getWatchlistSummary(e,t,i){return this.secureFetch(this.formatUrl("watchlists/{bconnectId}",{bconnectId:e},t?{watchlistId:t}:{}),i)}createWatchlist(e,t,i){return this.postJsonData(this.formatUrl("watchlists/{bconnectId}",{bconnectId:e}),t,i)}getWatchlistById(e,t,i){return this.secureFetch(this.formatUrl("watchlists/{bconnectId}/{watchlistId}",{bconnectId:e,watchlistId:t.toString()}),i)}updateWatchlistById(e,t,i,r){return this.putJsonData(this.formatUrl("watchlists/{bconnectId}/{watchlistId}",{bconnectId:e,watchlistId:t.toString()}),i,r)}updateWatchlistMetadataById(e,t,i,r){return this.patchJsonData(this.formatUrl("watchlists/{bconnectId}/{watchlistId}/metadata",{bconnectId:e,watchlistId:t.toString()}),i,r)}getPositions(e,t,i){return this.secureFetch(this.formatUrl("positions/{bconnectId}/{watchlistId}",{bconnectId:e,watchlistId:t.toString()}),i)}getPositionById(e,t,i,r){return this.secureFetch(this.formatUrl("positions/byId/{bconnectId}/{watchlistId}/{positionId}",{bconnectId:e,watchlistId:t.toString(),positionId:i.toString()}),r)}getPositionsByTicker(e,t,i,r){return this.secureFetch(this.formatUrl("holdings/byTicker/{bconnectId}/{watchlistId}/{ticker}",{bconnectId:e,watchlistId:t.toString(),ticker:i}),r)}getTickerPositionsAcrossWatchlists(e,t,i){return this.secureFetch(this.formatUrl("positions/byTickerAcrossWatchlists/{bconnectId}/{ticker}",{bconnectId:e,ticker:t}),i)}getPortfolios(e,t){return this.secureFetch(this.formatUrl("portfolios/{bconnectId}",{bconnectId:e}),t)}getPortfolioById(e,t,i){return this.secureFetch(this.formatUrl("portfolios/{bconnectId}/{portfolioId}",{bconnectId:e,portfolioId:t.toString()}),i)}createPortfolio(e,t,i){return this.postJsonData(this.formatUrl("portfolios/{bconnectId}",{bconnectId:e}),t,i)}updatePortfolioById(e,t,i,r){return this.patchJsonData(this.formatUrl("portfolios/{bconnectId}/{portfolioId}",{bconnectId:e,portfolioId:t.toString()}),i,r)}deletePortfolioById(e,t,i){return this.deleteRequest(this.formatUrl("portfolios/{bconnectId}/{portfolioId}",{bconnectId:e,portfolioId:t.toString()}),i)}updatePortfolioMetadataById(e,t,i,r){return this.patchJsonData(this.formatUrl("portfolios/{bconnectId}/{portfolioId}/metadata",{bconnectId:e,portfolioId:t.toString()}),i,r)}getHoldings(e,t,i){return this.secureFetch(this.formatUrl("holdings/{bconnectId}/{portfolioId}",{bconnectId:e,watchlistId:t.toString()}),i)}getHoldingsById(e,t,i,r){return this.secureFetch(this.formatUrl("holdings/byId/{bconnectId}/{portfolioId}/{holdingId}",{bconnectId:e,portfolioId:t.toString(),holdingId:i.toString()}),r)}getHoldingsByTicker(e,t,i,r){return this.secureFetch(this.formatUrl("holdings/byTicker/{bconnectId}/{portfolioId}/{ticker}",{bconnectId:e,portfolioId:t.toString(),ticker:i}),r)}addHoldings(e,t,i,r){return this.postJsonData(this.formatUrl("holdings/{bconnectId}/{portfolioId}",{bconnectId:e,portfolioId:t.toString()}),i,r)}updateHoldingById(e,t,i,r,s){return this.patchJsonData(this.formatUrl("holdings/byId/{bconnectId}/{portfolioId}/{holdingId}",{bconnectId:e,portfolioId:t.toString(),holdingId:i.toString()}),r,s)}deleteHoldingById(e,t,i,r){return this.deleteRequest(this.formatUrl("holdings/byId/{bconnectId}/{portfolioId}/{holdingId}",{bconnectId:e,portfolioId:t.toString(),holdingId:i.toString()}),r)}deleteHoldingsByTicker(e,t,i,r){return this.deleteRequest(this.formatUrl("holdings/byTicker/{bconnectId}/{portfolioId}/{ticker}",{bconnectId:e,portfolioId:t.toString(),ticker:i}),r)}getUserPreference(e,t){return this.secureFetch(this.formatUrl("user-preference/{bconnectId}",{bconnectId:e}),t)}updateUserPreference(e,t,i){return this.postJsonData(this.formatUrl("user-preference/{bconnectId}",{bconnectId:e}),t,i)}getComparisonChart(e,t,i,r){return this.secureFetch(this.formatUrl("comparison-chart/{bconnectId}/{watchlistId}",{bconnectId:e,watchlistId:t},{chartDateRange:i}),r)}getComparisons(e,t,i){return this.secureFetch(this.formatUrl("comparisons/{bconnectId}/{watchlistId}",{bconnectId:e,watchlistId:t.toString()}),i)}updateComparisons(e,t,i,r){return this.postJsonData(this.formatUrl("comparisons/{bconnectId}/{watchlistId}",{bconnectId:e,watchlistId:t.toString()}),i,r)}getWrappedWatchlist(e,t,i){return this.secureFetch(this.formatUrl("wrapped/{bconnectId}/{watchlistId}",{bconnectId:e,watchlistId:t.toString()}),i)}getUserHoldingsSummary(e,t=[],i){return this.postJsonData(this.formatUrl("quick-add/user-holdings-summary/{bconnectId}",{bconnectId:e}),{tickers:t},i)}followTicker(e,t,i,r){return this.postJsonData(this.formatUrl("quick-add/{bconnectId}/{ticker}",{bconnectId:e,ticker:t},i?.length?{portfolioIds:i.join(",")}:{}),{},r)}unfollowTicker(e,t,i,r){return this.deleteRequest(this.formatUrl("quick-add/{bconnectId}/{ticker}",{bconnectId:e,ticker:t},i?.length?{portfolioIds:i.join(",")}:{}),r)}}},77997:function(e,t,i){var r,s,o,n,h,a,c,d;i.d(t,{CN:function(){return p},RH:function(){return function e(t,i={}){if(!t||"object"!=typeof t)return i;if(!i||"object"!=typeof i)return t;if(Array.isArray(t)&&Array.isArray(i))return[...t,...i];let r={...t};for(let s of Object.keys(i)){let o=i[s],n=t[s];Array.isArray(o)&&Array.isArray(n)?r[s]=[...n,...o]:"object"!=typeof o||null===o||Array.isArray(o)?r[s]=o:r[s]=e(n||{},o)}return r}},ST:function(){return s},VI:function(){return o},XM:function(){return l},o8:function(){return r}}),(h=r||(r={}))[h.Success=200]="Success",h[h.Unauthorized=401]="Unauthorized",h[h.Forbidden=403]="Forbidden",h[h.PreconditionFailed=412]="PreconditionFailed",h[h.InternalError=500]="InternalError",h[h.AuthenticationRequired=511]="AuthenticationRequired",(a=s||(s={})).Daily="daily",a.Monthly="monthly",a.Quarterly="quarterly",a.Weekly="weekly",a.Yearly="yearly",(c=o||(o={})).Close="CLOSE",c.High="HIGH",c.Low="LOW",c.Open="OPEN",c.Volume="VOLUME",(d=n||(n={})).KEEP_SOURCE="KEEP_SOURCE",d.KEEP_TARGET="KEEP_TARGET",d.MERGE="MERGE";let l={AccessForbiddenError:Error("Access forbidden!"),NotAuthorizedError:Error("Not authorized!"),FailedToObtainTokenError:Error("Failed to obtain access token!"),FailedToNegotiateSecureConnectionError:Error("Failed to negotiate secure connection!")},f=/{(\w+)}/g,u=/\/+/g;function p(e,t="",i={},r={}){let s=t.replace(f,(e,t)=>i[t]).replace(u,"/"),o=e.replace(/\/+$/,""),n=s.replace(/^\/+/,""),h=new URL(n?`${o}/${n}`:o);for(let e of Object.keys(r))void 0!==r[e]&&h.searchParams.append(e,String(r[e]));return h.toString()}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/686-5b8c4a3d40d0d1d0_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/686-5b8c4a3d40d0d1d0_05Q6.js new file mode 100644 index 0000000..19c818b --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/686-5b8c4a3d40d0d1d0_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[686],{30686:function(e,t,n){"use strict";let r;n.d(t,{zx:function(){return ti},Zb:function(){return ts},hQ:function(){return aN},LA:function(){return tv},Lt:function(){return ud},kC:function(){return i_},hU:function(){return uI},II:function(){return um},aV:function(){return uj},u_:function(){return uY},Y2:function(){return ug},Od:function(){return u6},xv:function(){return iB}});var l,i,o,a,u,s,c,d,f,p,v,h,m,g,y,b,x,w,S,C,E,R=n(85893),k=n(67294),I=n.t(k,2),M=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?f[g]+" "+y:N(y,/&\f/g,f[g])).trim())&&(u[m++]=b);return q(e,t,n,0===l?et:a,u,s,c)}function ea(e,t,n,r){return q(e,t,n,en,F(e,0,r),F(e,r+1,-1),r)}var eu=function(e,t,n){for(var r=0,l=0;r=l,l=Z(),38===r&&12===l&&(t[n]=1),!K(l);)Y();return F(W,e,B)},es=function(e,t){var n=-1,r=44;do switch(K(r)){case 0:38===r&&12===Z()&&(t[n]=1),e[n]+=eu(B-1,t,n);break;case 2:e[n]+=G(r);break;case 4:if(44===r){e[++n]=58===Z()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=A(r)}while(r=Y());return e},ec=function(e,t){var n;return n=es(X(e),t),W="",n},ed=new WeakMap,ef=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ed.get(n))&&!r){ed.set(e,!0);for(var l=[],i=ec(t,l),o=n.props,a=0,u=0;a-1&&!e.return)switch(e.type){case en:e.return=function e(t,n){switch(45^_(t,0)?(((n<<2^_(t,0))<<2^_(t,1))<<2^_(t,2))<<2^_(t,3):0){case 5103:return Q+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Q+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Q+t+J+t+$+t+t;case 6828:case 4268:return Q+t+$+t+t;case 6165:return Q+t+$+"flex-"+t+t;case 5187:return Q+t+N(t,/(\w+).+(:[^]+)/,Q+"box-$1$2"+$+"flex-$1$2")+t;case 5443:return Q+t+$+"flex-item-"+N(t,/flex-|-self/,"")+t;case 4675:return Q+t+$+"flex-line-pack"+N(t,/align-content|flex-|-self/,"")+t;case 5548:return Q+t+$+N(t,"shrink","negative")+t;case 5292:return Q+t+$+N(t,"basis","preferred-size")+t;case 6060:return Q+"box-"+N(t,"-grow","")+Q+t+$+N(t,"grow","positive")+t;case 4554:return Q+N(t,/([^-])(transform)/g,"$1"+Q+"$2")+t;case 6187:return N(N(N(t,/(zoom-|grab)/,Q+"$1"),/(image-set)/,Q+"$1"),t,"")+t;case 5495:case 3959:return N(t,/(image-set\([^]*)/,Q+"$1$`$1");case 4968:return N(N(t,/(.+:)(flex-)?(.*)/,Q+"box-pack:$3"+$+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Q+t+t;case 4095:case 3583:case 4068:case 2532:return N(t,/(.+)-inline(.+)/,Q+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(D(t)-1-n>6)switch(_(t,n+1)){case 109:if(45!==_(t,n+4))break;case 102:return N(t,/(.+:)(.+)-([^]+)/,"$1"+Q+"$2-$3$1"+J+(108==_(t,n+3)?"$3":"$2-$3"))+t;case 115:return~O(t,"stretch")?e(N(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==_(t,n+1))break;case 6444:switch(_(t,D(t)-3-(~O(t,"!important")&&10))){case 107:return N(t,":",":"+Q)+t;case 101:return N(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Q+(45===_(t,14)?"inline-":"")+"box$3$1"+Q+"$2$3$1"+$+"$2box$3")+t}break;case 5936:switch(_(t,n+11)){case 114:return Q+t+$+N(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Q+t+$+N(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Q+t+$+N(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Q+t+$+t+t}return t}(e.value,e.length);break;case er:return el([U(e,{value:N(e.value,"@","@"+Q)})],r);case et:if(e.length){var l,i;return l=e.props,i=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return el([U(e,{props:[N(t,/:(read-\w+)/,":"+J+"$1")]})],r);case"::placeholder":return el([U(e,{props:[N(t,/:(plac\w+)/,":"+Q+"input-$1")]}),U(e,{props:[N(t,/:(plac\w+)/,":"+J+"$1")]}),U(e,{props:[N(t,/:(plac\w+)/,$+"input-$1")]})],r)}return""},l.map(i).join("")}}}],eh=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},em=function(e,t,n){eh(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var l=t;do e.insert(t===l?"."+r:"",l,e.sheet,!0),l=l.next;while(void 0!==l)}},eg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ey=/[A-Z]|^ms/g,eb=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ex=function(e){return 45===e.charCodeAt(1)},ew=function(e){return null!=e&&"boolean"!=typeof e},eS=(l=function(e){return ex(e)?e:e.replace(ey,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=l(e)),i[e]}),eC=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(eb,function(e,t,n){return S={name:t,styles:n,next:S},t})}return 1===eg[e]||ex(e)||"number"!=typeof t||0===t?t:t+"px"};function eE(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return S={name:n.name,styles:n.styles,next:S},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)S={name:r.name,styles:r.styles,next:S},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var l=0;l=4;++r,l-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(l){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(i)+u,styles:i,next:S}}var eI=!!I.useInsertionEffect&&I.useInsertionEffect,eM=eI||function(e){return e()};eI||k.useLayoutEffect;var eP=k.createContext("undefined"!=typeof HTMLElement?function(e){var t,n,r,l,i,o,a=e.key;if("css"===a){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var s=e.stylisPlugins||ev,c={},d=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||K(L)>3?"":" "}(m);break;case 92:R+=function(e,t){for(var n;--t&&Y()&&!(L<48)&&!(L>102)&&(!(L>57)||!(L<65))&&(!(L>70)||!(L<97)););return n=B+(t<6&&32==Z()&&32==Y()),F(W,e,n)}(B-1,7);continue;case 47:switch(Z()){case 42:case 47:j(q(c=function(e,t){for(;Y();)if(e+L===57)break;else if(e+L===84&&47===Z())break;return"/*"+F(W,t,B-1)+"*"+A(47===e?e:Y())}(Y(),B),n,r,ee,A(L),F(c,2,-2),0),s);break;default:R+="/"}break;case 123*g:u[d++]=D(R)*b;case 125*g:case 59:case 0:switch(x){case 0:case 125:y=0;case 59+f:-1==b&&(R=N(R,/\f/g,"")),h>0&&D(R)-p&&j(h>32?ea(R+";",l,r,p-1):ea(N(R," ","")+";",l,r,p-2),s);break;case 59:R+=";";default:if(j(E=eo(R,n,r,d,f,i,u,w,S=[],C=[],p),o),123===x){if(0===f)e(R,n,E,E,S,o,p,u,C);else switch(99===v&&110===_(R,3)?100:v){case 100:case 108:case 109:case 115:e(t,E,E,l&&j(eo(t,E,E,0,0,i,u,w,i,S=[],p),C),i,C,p,u,l?S:C);break;default:e(R,E,E,E,[""],C,0,u,C)}}}d=f=h=0,g=b=1,w=R="",p=a;break;case 58:p=1+D(R),h=m;default:if(g<1){if(123==x)--g;else if(125==x&&0==g++&&125==(L=B>0?_(W,--B):0,H--,10===L&&(H=1,z--),L))continue}switch(R+=A(x),x*g){case 38:b=f>0?1:(R+="\f",-1);break;case 44:u[d++]=(D(R)-1)*b,b=1;break;case 64:45===Z()&&(R+=G(Y())),v=Z(),f=p=D(w=R+=function(e){for(;!K(Z());)Y();return F(W,e,B)}(B)),x++;break;case 45:45===m&&2==D(R)&&(g=0)}}return o}("",null,null,null,[""],t=X(t=e),0,[0],t),W="",n),f)};i=function(e,t,n,r){o=n,p(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)};var v={key:a,sheet:new M({key:a,container:l,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:c,registered:{},insert:i};return v.sheet.hydrate(d),v}({key:"css"}):null);eP.Provider;var eA=k.createContext({}),eT={}.hasOwnProperty,eN="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",eO=function(e,t){var n={};for(var r in t)eT.call(t,r)&&(n[r]=t[r]);return n[eN]=e,n},e_=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return eh(t,n,r),eM(function(){return em(t,n,r)}),null},eF=(o=function(e,t,n){var r,l,i,o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[eN],u=[o],s="";"string"==typeof e.className?(r=t.registered,l=e.className,i="",l.split(" ").forEach(function(e){void 0!==r[e]?u.push(r[e]+";"):e&&(i+=e+" ")}),s=i):null!=e.className&&(s=e.className+" ");var c=ek(u,void 0,k.useContext(eA));s+=t.key+"-"+c.name;var d={};for(var f in e)eT.call(e,f)&&"css"!==f&&f!==eN&&(d[f]=e[f]);return d.className=s,n&&(d.ref=n),k.createElement(k.Fragment,null,k.createElement(e_,{cache:t,serialized:c,isStringTag:"string"==typeof a}),k.createElement(a,d))},(0,k.forwardRef)(function(e,t){return o(e,(0,k.useContext)(eP),t)}));n(8679);var eD=R.Fragment,ej=function(e,t,n){return eT.call(t,"css")?R.jsx(eF,eO(e,t),n):R.jsx(e,t,n)},ez=function(e,t,n){return eT.call(t,"css")?R.jsxs(eF,eO(e,t),n):R.jsxs(e,t,n)};let eH=(0,k.createContext)([["mobile-and-up",768],["xs-desktop-and-up",912],["sm-desktop-and-up",1123],["lg-desktop-and-up",1335]]),eV=()=>(0,k.useContext)(eH);function eB(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var eL=function(e,t){var n=arguments;if(null==t||!eT.call(t,"css"))return k.createElement.apply(void 0,n);var r=n.length,l=Array(r);l[0]=eF,l[1]=eO(e,t);for(var i=2;ie.replace(/[A-Z]/g,e=>"-".concat(e.toLowerCase()));function eU(){let e=eB(["\n ","\n @layer phx.components {\n ","\n ","\n }\n "]);return eU=function(){return e},e}let eY=e=>e/16,eZ=(e,t,n)=>{let r=new Set,l="";for(let{componentStyleProp:i}of t){let t=eq(i);if(!r.has(t)&&(r.add(t),l+="\n @property --_atomics-".concat(e,"-").concat(t,' {\n syntax: "*";\n inherits: false;\n }\n '),n))for(let[r]of n)l+="\n @property --_atomics-".concat(e,"-").concat(t,"-at-").concat(r,' {\n syntax: "*";\n inherits: false;\n }\n ')}let i="";for(let{componentStyleProp:n,cssProp:r}of t){let t=eq(n);i+="\n &[data-has-".concat(t,"] {\n ").concat(r,": var(--_atomics-").concat(e,"-").concat(t,");\n }\n ")}let o="";if(n)for(let[r,l]of n){let n="";for(let{componentStyleProp:l,cssProp:i}of t){let t=eq(l);n+="\n &[data-has-".concat(t,"-at-").concat(r,"] {\n ").concat(i,": var(--_atomics-").concat(e,"-").concat(t,"-at-").concat(r,");\n }\n ")}o+="\n @media (min-width: ".concat(eY(l),"rem) {\n ").concat(n,"\n }\n ")}return eW(eU(),l,i,o)},eK=(e,t)=>{let n=eV();return(0,k.useMemo)(()=>eZ(e,t,n),[e,t,n])},eX=e=>Object.keys(e).reduce((t,n)=>{let r=e[n];return void 0!==r&&(t[n]=r),t},{}),eG=(e,t)=>{let{nameMap:n}=null!=t?t:{},r={};for(let[t,i]of Object.entries(e)){var l;let e=eq(null!==(l=null==n?void 0:n[t])&&void 0!==l?l:t);if(void 0!==i&&!1!==i){if("object"!=typeof i||null===i){r["data-has-".concat(e)]="";continue}for(let[t,n]of Object.entries(i)){if(void 0===n||!1===n)continue;let l="default"===t?"":"-at-".concat(t);r["data-has-".concat(e).concat(l)]=""}}}return r},e$=(e,t,n)=>{var r;let l=eq(null!==(r=null==n?void 0:n[t])&&void 0!==r?r:t);return"--_atomics-".concat(e,"-").concat(l)},eJ=(e,t,n)=>{let{nameMap:r}=null!=n?n:{},l={};for(let[o,a]of Object.entries(e)){var i;let e=e$(t,o,r),u=null==n?void 0:null===(i=n.valueMap)||void 0===i?void 0:i[o];if("object"!=typeof a||null===a){let t=u?u(a):a;void 0!==t&&(l[e]=t);continue}for(let[t,n]of Object.entries(a)){let r=u?u(n):n;if(void 0===r)continue;let i="default"===t?"":"-at-".concat(t);l["".concat(e).concat(i)]=r}}return l},eQ=e=>{let{componentName:t,nameMap:n,restProps:{style:r,...l}={},styleProps:i,valueMap:o}=e;return{style:{...eJ(i,t,{nameMap:n,valueMap:o}),...r},...eG(i,{nameMap:n}),...eX(l)}},e0=(e,t)=>n=>{var r;return String(n) in e?"var(".concat(e[String(n)],")"):null!==(r=null==t?void 0:t(n))&&void 0!==r?r:n},e1=e=>"number"==typeof e?"".concat(e,"px"):e;var e2=JSON.parse('{"font":{"core":{"family":{"sans":"BWHaasGroteskWeb, BWHaasGroteskWeb-fallback, Helvetica, Arial, sans-serif","secondary-sans":"BWHaasHead, \'Helvetica Neue\', Helvetica, sans-serif","tertiary-sans":"AvenirNext, Avenir, Helvetica, sans-serif","serif":"PublicoText, Georgia, Cambria, \'Times New Roman\', Times, serif","secondary-serif":"PublicoHead, PublicoText, Georgia, Cambria, \'Times New Roman\', Times, serif","sans-jp":"BWHaasGroteskWeb, BWHaasGroteskWeb-fallback, \'Noto Sans JP\', Helvetica, Arial, sans-serif"},"size":{"9":"0.5625rem","10":"0.625rem","12":"0.75rem","14":"0.875rem","16":"1rem","18":"1.125rem","20":"1.25rem","24":"1.5rem","28":"1.75rem","32":"2rem","36":"2.25rem","40":"2.5rem","48":"3rem","52":"3.25rem"},"weight":{"black":"900","bold":"700","semibold":"600","medium":"500","regular":"400"}}}}');let e5=e=>Math.round(16*Number(e.replace("rem",""))),{family:e4,size:e3,weight:e6}=e2.font.core;Object.entries(e3).reverse().map(e=>{let[t,n]=e;return e5(n)}),e6.regular,e4.sans,e6.bold,e4.sans,e6.regular,e4.sans,e6.regular;var e8=n(90512),e9=n(74945),e7=n.n(e9);(0,k.forwardRef)((e,t)=>{let{alt:n="",className:r,size:l="medium",src:i,...o}=e;return i?ej("img",{alt:n,className:(0,e8.Z)("atomics-Avatar-root",e7().avatar,r),"data-size":l,ref:t,src:i,...eX(o)}):(console.warn("Avatar component requires a valid `src` prop, received ".concat(JSON.stringify(i))),null)}).displayName="Avatar";var te=n(47993),tt=n.n(te);(0,k.forwardRef)((e,t)=>{let{children:n,className:r,color:l="yellow",size:i="medium",variant:o="filled",...a}=e;return ej("span",{className:(0,e8.Z)("atomics-Badge-root",tt().badge,r),"data-badge-color":l,"data-badge-size":i,"data-badge-variant":o,"data-component":"badge",ref:t,...eX(a),children:n})}).displayName="Badge";var tn=n(61465),tr=n(22575),tl=n.n(tr);let ti=(0,k.forwardRef)((e,t)=>{var n;let{asChild:r=!1,children:l,className:i,disabled:o=!1,onClick:a,size:u="medium",variant:s="fill",...c}=e,d=r?tn.g7:"button",f="button"===d?null!==(n=null==c?void 0:c.type)&&void 0!==n?n:"button":void 0,p=(0,k.useCallback)(()=>e=>{o&&e.preventDefault(),!o&&a&&a(e)},[o,a]);return ej(d,{"aria-disabled":o,className:(0,e8.Z)("atomics-Button-root",tl().btn,i),"data-button-size":u,"data-button-variant":s,onClick:p(),ref:t,type:f,...eX(c),children:l})});ti.displayName="Button";let to=(e,t)=>Object.assign((0,k.forwardRef)(t),{displayName:e});var ta=n(20834),tu=n.n(ta);let ts=to("Card",(e,t)=>{let{asChild:n=!1,children:r,className:l,padding:i,...o}=e;return ej(n?tn.g7:"div",{className:(0,e8.Z)(tu().card,"atomics-Card-root",l),"data-padding":i,"data-testid":"card",ref:n?void 0:t,...eX(o),children:r})});var tc=n(80480),td=n.n(tc);to("Chip",(e,t)=>{let{asChild:n=!1,children:r,className:l,disabled:i=!1,onClick:o,selected:a=!1,size:u="medium",...s}=e,c=n?tn.g7:"div",d=(0,k.useCallback)(e=>{if(i){e.preventDefault();return}null==o||o(e)},[i,o]);return ej(c,{"aria-disabled":i,className:(0,e8.Z)(td().chip,"atomics-Chip-root",l),"data-chip-selected":a,"data-chip-size":u,onClick:d,ref:n?void 0:t,...eX(s),children:r})});var tf=n(50161),tp=n.n(tf);let tv=to("DetailCard",(e,t)=>{let{asChild:n,body:r=null,bodyGap:l=8,children:i,className:o,footer:a=null,header:u=null,media:s=null,mediaBleed:c=!1,mediaHorizontalPosition:d="left",orientation:f="vertical",...p}=e,v=(0,k.useMemo)(()=>Object.fromEntries(Object.entries(c).filter(e=>{let[,t]=e;return t}).map(e=>{let[t]=e;return["data-bleed-".concat(t),""]})),[c]),h=null!=s&&ej("div",{className:(0,e8.Z)(tp().detailCardMedia,"vertical"===f&&tp().detailCardMarginableChild,"atomics-DetailCard-media"),...eX(v),children:s}),m=ez(eD,{children:["left"===d&&h,null!=r&&ej(i_.Item,{asChild:!0,grow:"horizontal"===f?1:void 0,children:ej(i_,{className:(0,e8.Z)(tp().detailCardBody,"vertical"===f&&tp().detailCardMarginableChild,"atomics-DetailCard-body"),direction:"column",gap:l,children:r})}),"right"===d&&h]});return ej(i_,{asChild:!0,direction:"column",children:ez(ts,{asChild:n,className:(0,e8.Z)(tp().detailCard,o),"data-orientation":f,ref:n?void 0:t,...eX(p),children:[n&&ej(tn.A4,{children:i}),null!=u&&ej("div",{className:(0,e8.Z)(tp().detailCardHeader,"atomics-DetailCard-header"),children:u}),"vertical"===f?m:s&&r&&ej(i_,{className:(0,e8.Z)(tp().detailCardHorizontalContent,tp().detailCardMarginableChild),gap:12,children:m}),null!=a&&ej("div",{className:(0,e8.Z)(tp().detailCardFooter,"atomics-DetailCard-footer"),children:a})]})})});function th(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function tm({controlled:e,default:t,name:n,state:r="value"}){let{current:l}=k.useRef(void 0!==e),[i,o]=k.useState(t),a=k.useCallback(e=>{l||o(e)},[]);return[l?e:i,a]}let tg={};function ty(e,t){let n=k.useRef(tg);return n.current===tg&&(n.current=e(t)),n}let tb=I[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],tx=tb&&tb!==k.useLayoutEffect?tb:e=>e();function tw(e){let t=ty(tS).current;return t.next=e,tx(t.effect),t.trampoline}function tS(){let e={next:void 0,callback:tC,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function tC(){}var tE=n(37317);let tR="undefined"!=typeof navigator,tk=function(){if(!tR)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),tI=function(){if(!tR)return"";let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}(),tM=function(){if(!tR)return"";let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}(),tP="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),tA="MacIntel"===tk.platform&&tk.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(tk.platform),tT=tR&&/firefox/i.test(tM),tN=tR&&/apple/i.test(navigator.vendor);tR&&/Edg/i.test(tM);let tO=tR&&/android/i.test(tI)||/android/i.test(tM);tR&&tI.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints;let t_=tM.includes("jsdom/"),tF={...I},tD=0,tj=tF.useId;function tz(e,t){if(void 0!==tj){let n=tj();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){let[n,r]=k.useState(e),l=e||n;return k.useEffect(()=>{null==n&&(tD+=1,r(`${t}-${tD}`))},[n,t]),l}(e,t)}let tH=(s="https://base-ui.com/production-error",function(e,...t){let n=new URL(s);return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${n} for the full message.`}),tV=k.createContext(void 0);function tB(e){let t=k.useContext(tV);if(!1===e&&void 0===t)throw Error(tH(90));return t}function tL(e){let t=k.useRef(!0);t.current&&(t.current=!1,e())}function tW(e){return e?.ownerDocument||document}let tq="undefined"!=typeof document?k.useLayoutEffect:()=>{},tU=[];function tY(e){k.useEffect(e,tU)}class tZ{static create(){return new tZ}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}function tK(){let e=ty(tZ.create).current;return tY(e.disposeEffect),e}class tX{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}}let tG=new tX;class t${static create(){return new t$}static request(e){return tG.request(e)}static cancel(e){return tG.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=tG.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(tG.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}function tJ(){let e=ty(t$.create).current;return tY(e.disposeEffect),e}function tQ(){}let t0=Object.freeze([]),t1=Object.freeze({}),t2={},t5={},t4="";class t3{lockCount=0;restore=null;timeoutLock=tZ.create();timeoutUnlock=tZ.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(0===this.lockCount||null!==this.restore)return;let t=tW(e).documentElement,n=(0,tE.Jj)(t).getComputedStyle(t).overflowY;if("hidden"===n||"clip"===n){this.restore=tQ;return}let r=tA||!function(e){if("undefined"==typeof document)return!1;let t=tW(e);return(0,tE.Jj)(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=r?function(e){let t=tW(e),n=t.documentElement,r=t.body,l=(0,tE.ao)(n)?n:r,i={overflowY:l.style.overflowY,overflowX:l.style.overflowX};return Object.assign(l.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(l.style,i)}}(e):function(e){let t=tW(e),n=t.documentElement,r=t.body,l=(0,tE.Jj)(n),i=0,o=0,a=!1,u=t$.create();if(tP&&(l.visualViewport?.scale??1)!==1)return()=>{};function s(){let t=l.getComputedStyle(n),u=l.getComputedStyle(r),s=(t.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";i=n.scrollTop,o=n.scrollLeft,t2={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},t4=n.style.scrollBehavior,t5={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let c=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f="scroll"===t.overflowY||"scroll"===u.overflowY,p="scroll"===t.overflowX||"scroll"===u.overflowX,v=Math.max(0,l.innerWidth-r.clientWidth),h=Math.max(0,l.innerHeight-r.clientHeight),m=parseFloat(u.marginTop)+parseFloat(u.marginBottom),g=parseFloat(u.marginLeft)+parseFloat(u.marginRight),y=(0,tE.ao)(n)?n:r;if(a=function(e){if(!("undefined"!=typeof CSS&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||"undefined"==typeof document)return!1;let t=tW(e),n=t.documentElement,r=t.body,l=(0,tE.ao)(n)?n:r,i=l.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter="stable",l.style.overflowY="scroll";let a=l.offsetWidth;l.style.overflowY="hidden";let u=l.offsetWidth;return l.style.overflowY=i,n.style.scrollbarGutter=o,a===u}(e)){n.style.scrollbarGutter=s,y.style.overflowY="hidden",y.style.overflowX="hidden";return}Object.assign(n.style,{scrollbarGutter:s,overflowY:"hidden",overflowX:"hidden"}),(c||f)&&(n.style.overflowY="scroll"),(d||p)&&(n.style.overflowX="scroll"),Object.assign(r.style,{position:"relative",height:m||h?`calc(100dvh - ${m+h}px)`:"100dvh",width:g||v?`calc(100vw - ${g+v}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),r.scrollTop=i,r.scrollLeft=o,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function c(){Object.assign(n.style,t2),Object.assign(r.style,t5),a||(n.scrollTop=i,n.scrollLeft=o,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=t4)}s();let d=th(l,"resize",function(){c(),u.request(s)});return()=>{u.cancel(),c(),"function"==typeof l.removeEventListener&&d()}}(e)}}let t6=new t3;function t8(e=!0,t=null){tq(()=>{if(e)return t6.acquire(t)},[e,t])}let t9=k.createContext(null),t7=k.createContext(null),ne=()=>{var e;return(null===(e=k.useContext(t9))||void 0===e?void 0:e.id)||null},nt=e=>{let t=k.useContext(t7);return null!=e?e:t},nn=(e,t,n,r,l,i,...o)=>{let a;if(o.length>0)throw Error(tH(1));if(e&&t&&n&&r&&l&&i)a=(o,a,u,s)=>{let c=e(o,a,u,s),d=t(o,a,u,s);return i(c,d,n(o,a,u,s),r(o,a,u,s),l(o,a,u,s),a,u,s)};else if(e&&t&&n&&r&&l)a=(i,o,a,u)=>{let s=e(i,o,a,u);return l(s,t(i,o,a,u),n(i,o,a,u),r(i,o,a,u),o,a,u)};else if(e&&t&&n&&r)a=(l,i,o,a)=>r(e(l,i,o,a),t(l,i,o,a),n(l,i,o,a),i,o,a);else if(e&&t&&n)a=(r,l,i,o)=>n(e(r,l,i,o),t(r,l,i,o),l,i,o);else if(e&&t)a=(n,r,l,i)=>t(e(n,r,l,i),r,l,i);else if(e)a=e;else throw Error("Missing arguments");return a};var nr=n(61688),nl=n(52798);let ni=parseInt(k.version,10),no=ni>=19?function(e,t,n,l,i){let o;if(!r)return function(e,t,n,r,l){let i=k.useCallback(()=>t(e.getSnapshot(),n,r,l),[e,t,n,r,l]);return(0,nr.useSyncExternalStore)(e.subscribe,i,i)}(e,t,n,l,i);let a=r.syncIndex;return r.syncIndex+=1,r.didInitialize?(o=r.syncHooks[a]).store===e&&o.selector===t&&Object.is(o.a1,n)&&Object.is(o.a2,l)&&Object.is(o.a3,i)||(o.store!==e&&(r.didChangeStore=!0),o.store=e,o.selector=t,o.a1=n,o.a2=l,o.a3=i,o.didChange=!0):(o={store:e,selector:t,a1:n,a2:l,a3:i,value:t(e.getSnapshot(),n,l,i),didChange:!1},r.syncHooks.push(o)),o.value}:function(e,t,n,r,l){return(0,nl.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,l))};[].push({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,nr.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});class na{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return no(this,e,t,n,r)}}class nu extends na{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){k.useDebugValue(e),tq(()=>{this.state[e]!==t&&this.set(e,t)},[e,t])}useSyncedValueWithCleanup(e,t){let n=this;tq(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this;tq(()=>{t.update(e)},[t,...Object.values(e)])}useControlledProp(e,t){k.useDebugValue(e);let n=void 0!==t;tq(()=>{n&&!Object.is(this.state[e],t)&&super.setState({...this.state,[e]:t})},[e,t,n])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,t,n,r){return k.useDebugValue(e),no(this,this.selectors[e],t,n,r)}useContextCallback(e,t){k.useDebugValue(e);let n=tw(t??tQ);this.context[e]=n}useStateSetter(e){let t=k.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;let r=(n="function"==typeof e?e:this.selectors[e])(this.state);return t(r,r,this),this.subscribe(e=>{let l=n(e);if(!Object.is(r,l)){let e=r;r=l,t(l,e,this)}})}}function ns(e){e.preventDefault(),e.stopPropagation()}function nc(e){return""===e.pointerType&&!!e.isTrusted||(tO&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function nd(e){return!t_&&(!tO&&0===e.width&&0===e.height||tO&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function nf(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function np(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t}let nv={open:nn(e=>e.open),transitionStatus:nn(e=>e.transitionStatus),domReferenceElement:nn(e=>e.domReferenceElement),referenceElement:nn(e=>{var t;return null!==(t=e.positionReference)&&void 0!==t?t:e.referenceElement}),floatingElement:nn(e=>e.floatingElement),floatingId:nn(e=>e.floatingId)};class nh extends nu{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:l,...i}=e;super({...i,positionReference:i.referenceElement,domReferenceElement:i.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:function(){let e=new Map;return{emit(t,n){var r;null===(r=e.get(t))||void 0===r||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null===(r=e.get(t))||void 0===r||r.delete(n)}}}(),nested:n,triggerElements:l},nv),this.syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&np(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)},this.dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)},this.setOpen=(e,t)=>{var n,r,l,i;if(this.syncOnly){null===(l=(i=this.context).onOpenChange)||void 0===l||l.call(i,e,t);return}this.dispatchOpenChange(e,t),null===(n=(r=this.context).onOpenChange)||void 0===n||n.call(r,e,t)},this.syncOnly=t}}let nm="data-base-ui-focusable",ng="active",ny="selected",nb="ArrowLeft",nx="ArrowRight",nw="ArrowUp",nS="ArrowDown";function nC(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function nE(e){return(0,tE.Re)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function nR(e){return!!e&&"combobox"===e.getAttribute("role")&&nE(e)}function nk(e){return e?e.hasAttribute(nm)?e:e.querySelector("[".concat(nm,"]"))||e:null}let nI=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function nM(...e){return()=>{for(let t=0;t2)||void 0===arguments[2]||arguments[2];return e.filter(e=>e.parentId===t).flatMap(t=>{var r;return[...!n||(null===(r=t.context)||void 0===r?void 0:r.open)?[t]:[],...nN(e,t.id,n)]})}function nO(e,t){var n;let r=[],l=null===(n=e.find(e=>e.id===t))||void 0===n?void 0:n.parentId;for(;l;){let t=e.find(e=>e.id===l);l=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}function n_(e,t,n,r){let l=!1,i=!1,o=null!=r?r:t1;return{reason:e,event:null!=t?t:new Event("base-ui"),cancel(){l=!0},allowPropagation(){i=!0},get isCanceled(){return l},get isPropagationAllowed(){return i},trigger:n,...o}}function nF(e,t,n){let r=null!=n?n:t1;return{reason:e,event:null!=t?t:new Event("base-ui"),...r}}let nD="none",nj="trigger-press",nz="outside-press",nH="item-press",nV="close-press",nB="clear-press",nL="input-change",nW="input-clear",nq="focus-out",nU="escape-key",nY="list-navigation",nZ="swipe";function nK(e){return"data-base-ui-".concat(e)}let nX={intentional:"onClick",sloppy:"onPointerDown"};function nG(){return!1}function n$(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l="rootStore"in e?e.rootStore:e,i=l.useState("open"),o=l.useState("floatingElement"),{dataRef:a}=l.context,{enabled:u=!0,escapeKey:s=!0,outsidePress:c=!0,outsidePressEvent:d="sloppy",referencePress:f=nG,referencePressEvent:p="sloppy",bubbles:v,externalTree:h}=r,m=nt(h),g=tw("function"==typeof c?c:()=>!1),y="function"==typeof c?g:c,b=!1!==y,x=tw(()=>d),w=k.useRef(!1),S=k.useRef(!1),C=k.useRef(!1),{escapeKey:E,outsidePress:R}={escapeKey:"boolean"==typeof v?v:null!==(t=null==v?void 0:v.escapeKey)&&void 0!==t&&t,outsidePress:"boolean"==typeof v?v:null===(n=null==v?void 0:v.outsidePress)||void 0===n||n},I=k.useRef(null),M=tK(),P=tK(),A=tw(()=>{P.clear(),a.current.insideReactTree=!1}),T=k.useRef(!1),N=k.useRef(""),O=tw(f),_=tw(e=>{var t;if(!i||!u||!s||"Escape"!==e.key||T.current)return;let n=null===(t=a.current.floatingContext)||void 0===t?void 0:t.nodeId,r=m?nN(m.nodesRef.current,n):[];if(!E&&r.length>0){let e=!0;if(r.forEach(t=>{var n;(null===(n=t.context)||void 0===n?void 0:n.open)&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}let o=n_(nU,"nativeEvent"in e?e.nativeEvent:e);l.setOpen(!1,o),E||o.isPropagationAllowed||e.stopPropagation()}),F=tw(()=>{a.current.insideReactTree=!0,P.start(0,A)});k.useEffect(()=>{if(!i||!u)return;a.current.__escapeKeyBubbles=E,a.current.__outsidePressBubbles=R;let e=new tZ,t=new tZ;function n(){C.current=!0,t.start(0,()=>{C.current=!1})}function r(){w.current=!1,S.current=!1}function c(){let e=N.current,t=x(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function d(e){var t;let n=null===(t=a.current.floatingContext)||void 0===t?void 0:t.nodeId,r=m&&nN(m.nodesRef.current,n).some(t=>{var n;return nC(e,null===(n=t.context)||void 0===n?void 0:n.elements.floating)});return nC(e,l.select("floatingElement"))||nC(e,l.select("domReferenceElement"))||r}function f(e){var n;if(function(e){let t=c();return"intentional"===t&&"click"!==e.type||"sloppy"===t&&"click"===e.type}(e)||a.current.insideReactTree){A();return}let r=nT(e),i="[".concat(nK("inert"),"]"),o=(0,tE.kK)(r)?r.getRootNode():null,u=Array.from(((0,tE.Zq)(o)?o:tW(l.select("floatingElement"))).querySelectorAll(i)),s=l.context.triggerElements;if(r&&(s.hasElement(r)||s.hasMatchingElement(e=>nA(e,r))))return;let f=(0,tE.kK)(r)?r:null;for(;f&&!(0,tE.Py)(f);){let e=(0,tE.Ow)(f);if((0,tE.Py)(e)||!(0,tE.kK)(e))break;f=e}if(u.length&&(0,tE.kK)(r)&&!r.matches("html,body")&&!nA(r,l.select("floatingElement"))&&u.every(e=>!nA(f,e)))return;if((0,tE.Re)(r)&&!("touches"in e)){let t=(0,tE.Py)(r),n=(0,tE.Dx)(r),l=/auto|scroll/,i=t||l.test(n.overflowX),o=t||l.test(n.overflowY),a=i&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,u=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,s="rtl"===n.direction,c=u&&(s?e.offsetX<=r.offsetWidth-r.clientWidth:e.offsetX>r.clientWidth),d=a&&e.offsetY>r.clientHeight;if(c||d)return}if(d(e))return;if("intentional"===c()&&C.current){t.clear(),C.current=!1;return}if("function"==typeof y&&!y(e))return;let p=null===(n=a.current.floatingContext)||void 0===n?void 0:n.nodeId,v=m?nN(m.nodesRef.current,p):[];if(v.length>0){let e=!0;if(v.forEach(t=>{var n;(null===(n=t.context)||void 0===n?void 0:n.open)&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}l.setOpen(!1,n_(nz,e)),A()}function p(e){if("sloppy"!==c()||!l.select("open")||!u||nC(e,l.select("floatingElement"))||nC(e,l.select("domReferenceElement")))return;let t=e.touches[0];t&&(I.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},M.start(1e3,()=>{I.current&&(I.current.dismissOnTouchEnd=!1,I.current.dismissOnMouseDown=!1)}))}function v(e,t){let n=nT(e);if(!n)return;let r=th(n,e.type,()=>{t(e),r()})}function h(e){M.clear(),"pointerdown"===e.type&&(N.current=e.pointerType),("mousedown"!==e.type||!I.current||I.current.dismissOnMouseDown)&&v(e,e=>{"pointerdown"===e.type&&("sloppy"!==c()||"touch"===e.pointerType||!l.select("open")||!u||nC(e,l.select("floatingElement"))||nC(e,l.select("domReferenceElement")))||f(e)})}function g(e){if(!w.current)return;let l=S.current;if(r(),"intentional"===c()){if("pointercancel"===e.type){l&&n();return}if(!d(e)){if(l){n();return}("function"!=typeof y||y(e))&&(t.clear(),C.current=!0,A())}}}function k(e){if("sloppy"!==c()||!I.current||nC(e,l.select("floatingElement"))||nC(e,l.select("domReferenceElement")))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-I.current.startX),r=Math.abs(t.clientY-I.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(I.current.dismissOnTouchEnd=!0),i>10&&(f(e),M.clear(),I.current=null)}function P(e){"sloppy"!==c()||!I.current||nC(e,l.select("floatingElement"))||nC(e,l.select("domReferenceElement"))||(I.current.dismissOnTouchEnd&&f(e),M.clear(),I.current=null)}let O=tW(o),F=nM(s&&nM(th(O,"keydown",_),th(O,"compositionstart",function(){e.clear(),T.current=!0}),th(O,"compositionend",function(){e.start((0,tE.Pf)()?5:0,()=>{T.current=!1})})),b&&nM(th(O,"click",h,!0),th(O,"pointerdown",h,!0),th(O,"pointerup",g,!0),th(O,"pointercancel",g,!0),th(O,"mousedown",h,!0),th(O,"mouseup",g,!0),th(O,"touchstart",function(e){N.current="touch",v(e,p)},!0),th(O,"touchmove",function(e){v(e,k)},!0),th(O,"touchend",function(e){v(e,P)},!0)));return()=>{F(),e.clear(),t.clear(),r(),C.current=!1}},[a,o,s,b,y,i,u,E,R,_,A,x,m,l,M]),k.useEffect(A,[y,A]);let D=k.useMemo(()=>({onKeyDown:_,[nX[p]]:e=>{O()&&l.setOpen(!1,n_(nj,e.nativeEvent))},..."intentional"!==p&&{onClick(e){O()&&l.setOpen(!1,n_(nj,e.nativeEvent))}}}),[_,l,p,O]),j=tw(e=>{if(!i||!u||0!==e.button)return;let t=nT(e.nativeEvent);nA(l.select("floatingElement"),t)&&(w.current||(w.current=!0,S.current=!1))}),z=tw(e=>{i&&u&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&w.current&&(S.current=!0)}),H=k.useMemo(()=>({onKeyDown:_,onPointerDown:z,onMouseDown:z,onClickCapture:F,onMouseDownCapture(e){F(),j(e)},onPointerDownCapture(e){F(),j(e)},onMouseUpCapture:F,onTouchEndCapture:F,onTouchMoveCapture:F}),[_,F,j,z]);return k.useMemo(()=>u?{reference:D,floating:H,trigger:D}:{},[u,D,H])}function nJ(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),r=e.map(e=>null==e?void 0:e.item),l=e.map(e=>null==e?void 0:e.trigger),i=k.useCallback(t=>nQ(t,e,"reference"),t),o=k.useCallback(t=>nQ(t,e,"floating"),n),a=k.useCallback(t=>nQ(t,e,"item"),r),u=k.useCallback(t=>nQ(t,e,"trigger"),l);return k.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:a,getTriggerProps:u}),[i,o,a,u])}function nQ(e,t,n){let r=new Map,l="item"===n,i={};for(let t in"floating"===n&&(i.tabIndex=-1,i[nm]=""),e)l&&e&&(t===ng||t===ny)||(i[t]=e[t]);for(let a=0;ae(...n)).find(e=>void 0!==e)}}}else e[i]=o}}}function n1(e,t){let n=k.useRef(e),r=tw(t);tq(()=>{n.current!==e&&r(n.current)},[e,r]),tq(()=>{n.current=e},[e])}function n2(e){let[t,n]=k.useState(null),r=tw((t,r)=>{e||n(r||(tA?"touch":""))});n1(e,t=>{t&&!e&&n(null)});let{onClick:l,onPointerDown:i}=function(e){let t=k.useRef(""),n=k.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:k.useCallback(n=>{if(0===n.detail){e(n,"keyboard");return}"pointerType"in n?e(n,n.pointerType):e(n,t.current),t.current=""},[e]),onPointerDown:n}}(r);return k.useMemo(()=>({openMethod:t,triggerProps:{onClick:l,onPointerDown:i}}),[t,l,i])}function n5(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[r,l]=k.useState(e&&t?"idle":void 0),[i,o]=k.useState(e);return e&&!i&&(o(!0),l("starting")),e||!i||"ending"===r||n||l("ending"),e||i||"ending"!==r||l(void 0),tq(()=>{if(!e&&i&&"ending"!==r&&n){let e=t$.request(()=>{l("ending")});return()=>{t$.cancel(e)}}},[e,i,r,n]),tq(()=>{if(!e||t)return;let n=t$.request(()=>{l(void 0)});return()=>{t$.cancel(n)}},[t,e]),tq(()=>{if(!e||!t)return;e&&i&&"idle"!==r&&l("starting");let n=t$.request(()=>{l("idle")});return()=>{t$.cancel(n)}},[t,e,i,r]),{mounted:i,setMounted:o,transitionStatus:r}}var n4=n(73935);function n3(e){return null==e?e:"current"in e?e.current:e}let n6=((c={}).startingStyle="data-starting-style",c.endingStyle="data-ending-style",c),n8={[n6.startingStyle]:""},n9={[n6.endingStyle]:""},n7={transitionStatus:e=>"starting"===e?n8:"ending"===e?n9:null};function re(e){let{enabled:t=!0,open:n,ref:r,onComplete:l}=e,i=tw(l),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=tJ();return tw(function(l){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r.cancel();let o=n3(e);if(null==o)return;let a=()=>{n4.flushSync(l)};if("function"!=typeof o.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED){l();return}function u(){Promise.all(o.getAnimations().map(e=>e.finished)).then(()=>{(null==i?void 0:i.aborted)||a()}).catch(()=>{if(n){(null==i?void 0:i.aborted)||a();return}let e=o.getAnimations();!(null==i?void 0:i.aborted)&&e.length>0&&e.some(e=>e.pending||"finished"!==e.playState)&&u()})}if(t){let e=n6.startingStyle;if(!o.hasAttribute(e)){r.request(u);return}let t=new MutationObserver(()=>{o.hasAttribute(e)||(t.disconnect(),u())});t.observe(o,{attributes:!0,attributeFilter:[e]}),null==i||i.addEventListener("abort",()=>t.disconnect(),{once:!0});return}r.request(u)})}(r,n,!1);k.useEffect(()=>{if(!t)return;let e=new AbortController;return o(i,e.signal),()=>{e.abort()}},[t,n,i,o])}let rt=k.createContext(void 0);function rn(e){let t=k.useContext(rt);if(!1===e&&void 0===t)throw Error(tH(27));return t}class rr{add(e,t){let n=this.idMap.get(e);n!==t&&(void 0!==n&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(let t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}constructor(){this.elementsSet=new Set,this.idMap=new Map}}let rl=nn(e=>{var t;return null!==(t=e.triggerIdProp)&&void 0!==t?t:e.activeTriggerId}),ri={open:nn(e=>{var t;return null!==(t=e.openProp)&&void 0!==t?t:e.open}),mounted:nn(e=>e.mounted),transitionStatus:nn(e=>e.transitionStatus),floatingRootContext:nn(e=>e.floatingRootContext),preventUnmountingOnClose:nn(e=>e.preventUnmountingOnClose),payload:nn(e=>e.payload),activeTriggerId:rl,activeTriggerElement:nn(e=>e.mounted?e.activeTriggerElement:null),isTriggerActive:nn((e,t)=>void 0!==t&&rl(e)===t),isOpenedByTrigger:nn((e,t)=>void 0!==t&&rl(e)===t&&e.open),isMountedByTrigger:nn((e,t)=>void 0!==t&&rl(e)===t&&e.mounted),triggerProps:nn((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),popupProps:nn(e=>e.popupProps),popupElement:nn(e=>e.popupElement),positionerElement:nn(e=>e.positionerElement),modal:nn(e=>e.modal),nested:nn(e=>e.nested),nestedOpenDialogCount:nn(e=>e.nestedOpenDialogCount),nestedOpenDrawerCount:nn(e=>e.nestedOpenDrawerCount),disablePointerDismissal:nn(e=>e.disablePointerDismissal),openMethod:nn(e=>e.openMethod),descriptionElementId:nn(e=>e.descriptionElementId),titleElementId:nn(e=>e.titleElementId),viewportElement:nn(e=>e.viewportElement),role:nn(e=>e.role)};class ro extends nu{static useStore(e,t){let n=ty(()=>new ro(t)).current;return null!=e?e:n}constructor(e){super(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new nh({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new rr,floatingId:"",syncOnly:!1,nested:!1,onOpenChange:void 0}),preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:t1,inactiveTriggerProps:t1,popupProps:t1,modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:"dialog",...e}}(e),{popupRef:k.createRef(),backdropRef:k.createRef(),internalBackdropRef:k.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:new rr,onOpenChange:void 0,onOpenChangeComplete:void 0},ri),this.setOpen=(e,t)=>{var n,r,l,i,o,a;if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},e||null!=t.trigger||null==this.state.activeTriggerId||(t.trigger=null!==(i=this.state.activeTriggerElement)&&void 0!==i?i:void 0),null===(n=(r=this.context).onOpenChange)||void 0===n||n.call(r,e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let u={open:e},s=null!==(o=null===(l=t.trigger)||void 0===l?void 0:l.id)&&void 0!==o?o:null;(s||e)&&(u.activeTriggerId=s,u.activeTriggerElement=null!==(a=t.trigger)&&void 0!==a?a:null),this.update(u)}}}let ra=k.createContext(!1);function ru(e){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:l,onOpenChangeComplete:i,disablePointerDismissal:o=!1,modal:a=!0,actionsRef:u,handle:s,triggerId:c,defaultTriggerId:d=null}=e,f=rn(!0),p=k.useContext(ra),v=!!f,h=ro.useStore(null==s?void 0:s.store,{open:r,openProp:n,activeTriggerId:d,triggerIdProp:c,modal:a,disablePointerDismissal:o,nested:v});tL(()=>{void 0===n&&!1===h.state.open&&!0===r&&h.update({open:!0,activeTriggerId:d})}),h.useControlledProp("openProp",n),h.useControlledProp("triggerIdProp",c),h.useSyncedValues({disablePointerDismissal:o,nested:v,modal:a}),h.useContextCallback("onOpenChange",l),h.useContextCallback("onOpenChangeComplete",i);let m=h.useState("payload");!function(e){let{store:t,parentContext:n,actionsRef:r,isDrawer:l}=e,i=t.useState("open"),o=t.useState("disablePointerDismissal"),a=t.useState("modal"),u=t.useState("popupElement"),{openMethod:s,triggerProps:c}=n2(i);!function(e){let t=e.useState("open");tq(()=>{if(t&&!e.select("activeTriggerId")&&1===e.context.triggerElements.size){let t=e.context.triggerElements.entries().next();if(!t.done){let[n,r]=t.value;e.update({activeTriggerId:n,activeTriggerElement:r})}}},[t,e])}(t);let{forceUnmount:d}=function(e,t,n){let{mounted:r,setMounted:l,transitionStatus:i}=n5(e);t.useSyncedValues({mounted:r,transitionStatus:i});let o=tw(()=>{var e,n;l(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1}),null===(e=(n=t.context).onOpenChangeComplete)||void 0===e||e.call(n,!1)});return re({enabled:!t.useState("preventUnmountingOnClose"),open:e,ref:t.context.popupRef,onComplete(){e||o()}}),{forceUnmount:o,transitionStatus:i}}(i,t),f=k.useCallback(()=>{t.setOpen(!1,n_("imperative-action"))},[t]);k.useImperativeHandle(r,()=>({unmount:d,close:f}),[d,f]);let p=function(e){let{popupStore:t,treatPopupAsFloatingElement:n=!1,onOpenChange:r}=e,l=tz(),i=null!=ne(),o=t.useState("open"),a=t.useState("activeTriggerElement"),u=t.useState(n?"popupElement":"positionerElement"),s=t.context.triggerElements,c=ty(()=>new nh({open:o,transitionStatus:void 0,referenceElement:a,floatingElement:u,triggerElements:s,onOpenChange:r,floatingId:l,syncOnly:!0,nested:i})).current;return tq(()=>{let e={open:o,floatingId:l,referenceElement:a,floatingElement:u};(0,tE.kK)(a)&&(e.domReferenceElement=a),c.state.positionReference===c.state.referenceElement&&(e.positionReference=a),c.update(e)},[o,l,a,u,c]),c.context.onOpenChange=r,c.context.nested=i,c}({popupStore:t,onOpenChange:t.setOpen,treatPopupAsFloatingElement:!0}),[v,h]=k.useState(0),[m,g]=k.useState(0),y=0===v,b=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="rootStore"in e?e.rootStore:e,l=r.useState("open"),i=r.useState("floatingId"),o=r.useState("domReferenceElement"),a=r.useState("floatingElement"),{role:u="dialog"}=n,s=tz(),c=(null==o?void 0:o.id)||s,d=k.useMemo(()=>{var e;return(null===(e=nk(a))||void 0===e?void 0:e.id)||i},[a,i]),f=null!==(t=nI.get(u))&&void 0!==t?t:u,p=null!=ne(),v=k.useMemo(()=>"tooltip"===f||"label"===u?t1:{"aria-haspopup":"alertdialog"===f?"dialog":f,"aria-expanded":"false",..."listbox"===f&&{role:"combobox"},..."menu"===f&&p&&{role:"menuitem"},..."select"===u&&{"aria-autocomplete":"none"},..."combobox"===u&&{"aria-autocomplete":"list"}},[f,p,u]),h=k.useMemo(()=>"tooltip"===f||"label"===u?{["aria-".concat("label"===u?"labelledby":"describedby")]:l?d:void 0}:{...v,"aria-expanded":l?"true":"false","aria-controls":l?d:void 0,..."menu"===f&&{id:c}},[f,d,l,c,u,v]),m=k.useMemo(()=>{let e={id:d,...f&&{role:f}};return"tooltip"===f||"label"===u?e:{...e,..."menu"===f&&{"aria-labelledby":c}}},[f,d,c,u]),g=k.useCallback(e=>{let{active:t,selected:n}=e,r={role:"option",...t&&{id:"".concat(d,"-fui-option")}};switch(u){case"select":case"combobox":return{...r,"aria-selected":n}}return{}},[d,u]);return k.useMemo(()=>({reference:h,floating:m,item:g,trigger:v}),[h,m,v,g])}(p),x=n$(p,{outsidePressEvent:()=>t.context.internalBackdropRef.current||t.context.backdropRef.current?"intentional":{mouse:"trap-focus"===a?"sloppy":"intentional",touch:"sloppy"},outsidePress(e){if(!t.context.outsidePressEnabledRef.current||"button"in e&&0!==e.button||"touches"in e&&1!==e.touches.length)return!1;let n=nT(e);return!!y&&!o&&(!a||!t.context.internalBackdropRef.current&&!t.context.backdropRef.current||t.context.internalBackdropRef.current===n||t.context.backdropRef.current===n||nA(n,u)&&!(null==n?void 0:n.hasAttribute("data-base-ui-portal")))},escapeKey:y});t8(i&&!0===a,u);let{getReferenceProps:w,getFloatingProps:S,getTriggerProps:C}=nJ([b,x]);t.useContextCallback("onNestedDialogOpen",(e,t)=>{h(e),g(t)}),t.useContextCallback("onNestedDialogClose",()=>{h(0),g(0)}),k.useEffect(()=>((null==n?void 0:n.onNestedDialogOpen)&&i&&n.onNestedDialogOpen(v+1,m+(l?1:0)),(null==n?void 0:n.onNestedDialogClose)&&!i&&n.onNestedDialogClose(),()=>{(null==n?void 0:n.onNestedDialogClose)&&i&&n.onNestedDialogClose()}),[l,i,v,m,n]);let E=k.useMemo(()=>w(c),[w,c]),R=k.useMemo(()=>C(c),[C,c]),I=k.useMemo(()=>S(),[S]);t.useSyncedValues({openMethod:s,activeTriggerProps:E,inactiveTriggerProps:R,popupProps:I,floatingRootContext:p,nestedOpenDialogCount:v,nestedOpenDrawerCount:m})}({store:h,actionsRef:u,parentContext:null==f?void 0:f.store.context,isDrawer:p,onOpenChange:l,triggerIdProp:c});let g=k.useMemo(()=>({store:h}),[h]);return(0,R.jsx)(ra.Provider,{value:!1,children:(0,R.jsx)(rt.Provider,{value:g,children:"function"==typeof t?t({payload:m}):t})})}let rs=k.createContext(void 0);function rc(e){let t=k.useContext(rs);if(!1===e&&void 0===t)throw Error(tH(91));return t}function rd(e){var t;let{children:n,open:r,defaultOpen:l=!1,onOpenChange:i,onOpenChangeComplete:o,disablePointerDismissal:a=!1,modal:u=!0,actionsRef:s,handle:c,triggerId:d,defaultTriggerId:f=null,swipeDirection:p="down",snapToSequentialPoints:v=!1,snapPoints:h,snapPoint:m,defaultSnapPoint:g,onSnapPointChange:y}=e,b=tw(y),x=tB(!0),w=null==x?void 0:x.onNestedSwipeProgressChange,S=null==x?void 0:x.onNestedFrontmostHeightChange,I=null==x?void 0:x.onNestedSwipingChange,M=null==x?void 0:x.onNestedDrawerPresenceChange,[P,A]=k.useState(0),[T,N]=k.useState(0),[O,_]=k.useState(!1),[F,D]=k.useState(!1),[j]=k.useState(rf),z=void 0!==g?g:null!==(t=null==h?void 0:h[0])&&void 0!==t?t:null,H=void 0!==m,[V,B]=tm({controlled:m,default:z,name:"Drawer",state:"snapPoint"}),L=k.useRef(!1),W=tw((e,t)=>{let n=null!=t?t:n_(nD);null==b||b(e,n),n.isCanceled||B(e)}),q=k.useMemo(()=>H||!h||0===h.length?V:null!==V&&h.some(e=>Object.is(e,V))?V:z,[V,H,z,h]),U=tw(e=>{A(e),!L.current&&e>0&&N(e)}),Y=tw(e=>{if(e>0){L.current=!0,N(e);return}L.current=!1,P>0&&N(P)}),Z=tw(e=>{_(e)}),K=tw(e=>{j.set(e),null==w||w(e)}),X=tw(e=>{D(e),null==I||I(e)}),G=tw((e,t)=>{null==i||i(e,t),!t.isCanceled&&!e&&h&&h.length>0&&W(z,n_(t.reason,t.event,t.trigger))}),$=k.useMemo(()=>({swipeDirection:p,snapToSequentialPoints:v,snapPoints:h,activeSnapPoint:q,setActiveSnapPoint:W,frontmostHeight:T,popupHeight:P,hasNestedDrawer:O,nestedSwiping:F,nestedSwipeProgressStore:j,onNestedDrawerPresenceChange:Z,onPopupHeightChange:U,onNestedFrontmostHeightChange:Y,onNestedSwipingChange:X,onNestedSwipeProgressChange:K,notifyParentFrontmostHeight:S,notifyParentSwipingChange:I,notifyParentSwipeProgressChange:w,notifyParentHasNestedDrawer:M}),[q,T,O,F,j,M,w,I,S,Z,Y,K,X,U,P,W,h,v,p]),J="function"==typeof n?e=>(0,R.jsxs)(k.Fragment,{children:[C||(C=(0,R.jsx)(rp,{})),n(e)]}):(0,R.jsxs)(k.Fragment,{children:[E||(E=(0,R.jsx)(rp,{})),n]});return(0,R.jsx)(tV.Provider,{value:$,children:(0,R.jsx)(ra.Provider,{value:!0,children:(0,R.jsx)(ru,{open:r,defaultOpen:l,onOpenChange:G,onOpenChangeComplete:o,disablePointerDismissal:a,modal:u,actionsRef:s,handle:c,triggerId:d,defaultTriggerId:f,children:J})})})}function rf(){let e=0,t=new Set;return{getSnapshot:()=>e,set(n){let r=Number.isFinite(n)?n:0;r!==e&&(e=r,t.forEach(e=>{e()}))},subscribe:e=>(t.add(e),()=>{t.delete(e)})}}function rp(){let e=tz(),t=rc(!0),n=rn(!1),r=n.store.useState("open"),l=n.store.useState("nestedOpenDialogCount"),i=n.store.useState("popupElement"),o=0===l;return k.useEffect(()=>{if(t&&null!=e)return()=>{t.removeDrawer(e)}},[e,t]),k.useEffect(()=>{null!=e&&(null==t||t.setDrawerOpen(e,r))},[e,r,t]),k.useEffect(()=>{if(!r||!o||!tO)return;let e=(0,tE.Jj)(i).CloseWatcher;if(!e)return;let t=new e,l=th(t,"close",function(e){n.store.select("open")&&n.store.setOpen(!1,n_("close-watcher",e))});return()=>{l(),t.destroy()}},[n.store,o,r,i]),null}function rv(e){return ni>=19?e:e?"true":void 0}let rh={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},rm={...rh,position:"fixed",top:0,left:0},rg={...rh,position:"absolute"},ry=k.forwardRef(function(e,t){let[n,r]=k.useState();return tq(()=>{tN&&r("button")},[]),(0,R.jsx)("span",{...e,ref:t,style:rm,"aria-hidden":!n||void 0,tabIndex:0,role:n,"data-base-ui-focus-guard":""})});var rb=n(71347);function rx(e,t,n){return Math.floor(e/t)!==n}function rw(e,t){return t<0||t>=e.length}function rS(e,t){return rE(e.current,{disabledIndices:t})}function rC(e,t){return rE(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function rE(e){let{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:l=1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t;do i+=n?-l:l;while(i>=0&&i<=e.length-1&&rR(e,i,r));return i}function rR(e,t,n){var r;if("function"==typeof n?n(t):null!==(r=null==n?void 0:n.includes(t))&&void 0!==r&&r)return!0;let l=e[t];return!!l&&(!rk(l)||!n&&(l.hasAttribute("disabled")||"true"===l.getAttribute("aria-disabled")))}function rk(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e?(0,tE.Dx)(e):null;return!!e&&!!e.isConnected&&!!n&&"hidden"!==(t=n).visibility&&"collapse"!==t.visibility&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==n.display&&"contents"!==n.display)}function rI(e){for(let t of Array.from(e.children))if("summary"===(0,tE.wk)(t))return t;return null}function rM(e){let t=e?(0,tE.wk)(e):"";return null!=e&&e.matches('a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]')&&("summary"!==t||null!=e.parentElement&&"details"===(0,tE.wk)(e.parentElement)&&rI(e.parentElement)===e)&&("details"!==t||null==rI(e))&&("input"!==t||"hidden"!==e.type)}function rP(e){if(!rM(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=function(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return(0,tE.Zq)(n)?n.host:null}(t)){let n=t!==e,r="slot"===(0,tE.wk)(t);if(t.hasAttribute("inert")||n&&"details"===(0,tE.wk)(t)&&!t.open&&!function(e,t){let n=rI(t);return!!n&&(e===n||nA(n,e))}(e,t)||t.hasAttribute("hidden")||!r&&!function(e,t){let n=(0,tE.Dx)(e);return t?"none"!==n.display:rk(e,n)}(t,n))return!1}return!0}function rA(e){let t=e.tabIndex;if(t<0){let t=(0,tE.wk)(e);if("details"===t||"audio"===t||"video"===t||(0,tE.Re)(e)&&e.isContentEditable)return 0}return t}function rT(e){return"input"!==(0,tE.wk)(e)?null:"radio"===e.type&&""!==e.name?e:null}function rN(e){if((0,tE.Re)(e)&&"slot"===(0,tE.wk)(e)){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return(0,tE.Re)(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function rO(e){return rP(e)&&rA(e)>=0}function r_(e){let t=[];return!function e(t,n){rN(t).forEach(t=>{rM(t)&&n.push(t),e(t,n)})}(e,t),t.filter(rP)}function rF(e){let t=r_(e);return t.filter(e=>rA(e)>=0&&function(e,t){let n=rT(e);if(!n)return!0;let r=t.find(e=>{let t=rT(e);return(null==t?void 0:t.name)===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=rT(e);return(null==t?void 0:t.name)===n.name&&t.form===n.form})===n}(e,t))}function rD(e,t){let n=rF(e),r=n.length;if(0===r)return;let l=nP(tW(e)),i=n.indexOf(l);return n[-1===i?1===t?0:r-1:i+t]}function rj(e){return rD(tW(e).body,1)||e}function rz(e){return rD(tW(e).body,-1)||e}function rH(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!nA(n,r)}function rV(e){let t=[];!function e(t,n,r){rN(t).forEach(t=>{(0,tE.Re)(t)&&t.matches(n)&&r.push(t),e(t,n,r)})}(e,"[data-tabindex]",t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}function rB(e,t,n,r){let l=ty(rL).current;return(l.refs[0]!==e||l.refs[1]!==t||l.refs[2]!==n||l.refs[3]!==r)&&rW(l,[e,t,n,r]),l.callback}function rL(){return{callback:null,cleanup:null,refs:[]}}function rW(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){let r=Array(t.length).fill(null);for(let e=0;e{for(let e=0;e=19?t?.ref:e.ref)??null}function rU(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}let rY={};function rZ(e,t,n,r,l){if(!n&&!r&&!l&&!e)return rK(t);let i=rK(e);return t&&(i=rX(i,t)),n&&(i=rX(i,n)),r&&(i=rX(i,r)),l&&(i=rX(i,l)),i}function rK(e){return r$(e)?{...rJ(e,rY)}:function(e){let t={...e};for(let e in t){let n=t[e];rG(e,n)&&(t[e]=rQ(n))}return t}(e)}function rX(e,t){return r$(t)?rJ(t,e):function(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case"style":e[n]=rU(e.style,r);break;case"className":e[n]=r1(e.className,r);break;default:rG(n,r)?e[n]=function(e,t){return t?e?function(){for(var n=arguments.length,r=Array(n),l=0;l=65&&l<=90&&("function"==typeof t||void 0===t)}function r$(e){return"function"==typeof e}function rJ(e,t){return r$(e)?e(t):null!=e?e:rY}function rQ(e){return e?function(){for(var t=arguments.length,n=Array(t),r=0;r{e.baseUIHandlerPrevented=!0},e}function r1(e,t){return t?e?t+" "+e:t:e}function r2(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}function r5(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=t.render,i=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{className:r,style:l,render:i}=e,{state:o=t1,ref:a,props:u,stateAttributesMapping:s,enabled:c=!0}=n,d=c?"function"==typeof r?r(o):r:void 0,f=c?"function"==typeof l?l(o):l:void 0,p=c?function(e,t){let n={};for(let r in e){let l=e[r];if(null==t?void 0:t.hasOwnProperty(r)){let e=t[r](l);null!=e&&Object.assign(n,e);continue}!0===l?n["data-".concat(r.toLowerCase())]="":l&&(n["data-".concat(r.toLowerCase())]=l.toString())}return n}(o,s):t1,v=c&&u?Array.isArray(u)?function(e){if(0===e.length)return rY;if(1===e.length)return rK(e[0]);let t=rK(e[0]);for(let n=1;nt!==e[n]))&&rW(t,e),t.callback}([h.ref,rq(i),...a]):h.ref=rB(h.ref,rq(i),a):rB(null,null)),c)?(void 0!==d&&(h.className=r1(h.className,d)),void 0!==f&&(h.style=rU(h.style,f)),h):t1}(t,r);return!1===r.enabled?null:function(e,t,n,r){if(t){if("function"==typeof t)return t(n,r);let e=rZ(n,t.props);e.ref=n.ref;let l=t;return(null==l?void 0:l.$$typeof)===r4&&(l=k.Children.toArray(t)[0]),k.cloneElement(l,e)}if(e&&"string"==typeof e)return"button"===e?(0,k.createElement)("button",{type:"button",...n,key:n.key}):"img"===e?(0,k.createElement)("img",{alt:"",...n,key:n.key}):k.createElement(e,n);throw Error(tH(8))}(e,l,i,null!==(n=r.state)&&void 0!==n?n:t1)}let r4=Symbol.for("react.lazy"),r3={style:{transition:"none"}},r6="[".concat("data-base-ui-swipe-ignore","]"),r8={fallbackAxisSide:"none"},r9={clipPath:"inset(50%)",position:"fixed",top:0,left:0},r7=k.createContext(null),le=()=>k.useContext(r7),lt=nK("portal"),ln=k.forwardRef(function(e,t){let{children:n,container:r,className:l,render:i,renderGuards:o,style:a,...u}=e,{portalNode:s,portalSubtree:c}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{ref:t,container:n,componentProps:r=t1,elementProps:l}=e,i=tz(),o=le(),a=null==o?void 0:o.portalNode,[u,s]=k.useState(null),[c,d]=k.useState(null),f=tw(e=>{null!==e&&d(e)}),p=k.useRef(null);tq(()=>{var e,t;if(null===n){p.current&&(p.current=null,d(null),s(null));return}if(null==i)return;let r=null!==(t=null!==(e=n&&((0,tE.UG)(n)?n:n.current))&&void 0!==e?e:a)&&void 0!==t?t:document.body;if(null==r){p.current&&(p.current=null,d(null),s(null));return}p.current!==r&&(p.current=r,d(null),s(r))},[n,a,i]);let v=r5("div",r,{ref:[t,f],props:[{id:i,[lt]:""},l]});return{portalNode:c,portalSubtree:u&&v?n4.createPortal(v,u):null}}({container:r,ref:t,componentProps:e,elementProps:u}),d=k.useRef(null),f=k.useRef(null),p=k.useRef(null),v=k.useRef(null),[h,m]=k.useState(null),g=k.useRef(!1),y=null==h?void 0:h.modal,b=null==h?void 0:h.open,x="boolean"==typeof o?o:!!h&&!h.modal&&h.open&&!!s;k.useEffect(()=>{if(s&&!y)return nM(th(s,"focusin",e,!0),th(s,"focusout",e,!0));function e(e){s&&e.relatedTarget&&rH(e)&&("focusin"===e.type?g.current&&(rV(s),g.current=!1):(function(e){rF(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}(s),g.current=!0))}},[s,y]),k.useEffect(()=>{s&&!1===b&&(rV(s),g.current=!1)},[b,s]);let w=k.useMemo(()=>({beforeOutsideRef:d,afterOutsideRef:f,beforeInsideRef:p,afterInsideRef:v,portalNode:s,setFocusManagerState:m}),[s]);return(0,R.jsxs)(k.Fragment,{children:[c,(0,R.jsxs)(r7.Provider,{value:w,children:[x&&s&&(0,R.jsx)(ry,{"data-type":"outside",ref:d,onFocus:e=>{if(rH(e,s)){var t;null===(t=p.current)||void 0===t||t.focus()}else{let e=rz(h?h.domReference:null);null==e||e.focus()}}}),x&&s&&(0,R.jsx)("span",{"aria-owns":s.id,style:r9}),s&&n4.createPortal(n,s),x&&s&&(0,R.jsx)(ry,{"data-type":"outside",ref:f,onFocus:e=>{if(rH(e,s)){var t;null===(t=v.current)||void 0===t||t.focus()}else{let t=rj(h?h.domReference:null);null==t||t.focus(),(null==h?void 0:h.closeOnFocusOut)&&(null==h||h.onOpenChange(!1,n_(nq,e.nativeEvent)))}}})]})]})}),lr=k.createContext(void 0);function ll(){let e=k.useContext(lr);if(void 0===e)throw Error(tH(26));return e}let li=k.forwardRef(function(e,t){let n;let{cutout:r,...l}=e;if(r){let e=r.getBoundingClientRect();n="polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,".concat(e.left,"px ").concat(e.top,"px,").concat(e.left,"px ").concat(e.bottom,"px,").concat(e.right,"px ").concat(e.bottom,"px,").concat(e.right,"px ").concat(e.top,"px,").concat(e.left,"px ").concat(e.top,"px)")}return(0,R.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...l,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:n}})}),lo=k.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:l}=rn(),i=l.useState("mounted"),o=l.useState("modal"),a=l.useState("open");return i||n?(0,R.jsx)(lr.Provider,{value:n,children:(0,R.jsxs)(ln,{ref:t,...r,children:[i&&!0===o&&(0,R.jsx)(li,{ref:l.context.internalBackdropRef,inert:rv(!a)}),e.children]})}):null}),la=((d={}).open="data-open",d.closed="data-closed",d[d.startingStyle=n6.startingStyle]="startingStyle",d[d.endingStyle=n6.endingStyle]="endingStyle",d.anchorHidden="data-anchor-hidden",d.side="data-side",d.align="data-align",d),lu=((f={}).popupOpen="data-popup-open",f.pressed="data-pressed",f),ls={[lu.popupOpen]:""},lc={[lu.popupOpen]:"",[lu.pressed]:""},ld={[la.open]:""},lf={[la.closed]:""},lp={[la.anchorHidden]:""},lv={open:e=>e?lc:null},lh={open:e=>e?ld:lf,anchorHidden:e=>e?lp:null},lm=((p={}).nestedDrawers="--nested-drawers",p.height="--drawer-height",p.frontmostHeight="--drawer-frontmost-height",p.swipeMovementX="--drawer-swipe-movement-x",p.swipeMovementY="--drawer-swipe-movement-y",p.snapPointOffset="--drawer-snap-point-offset",p.swipeStrength="--drawer-swipe-strength",p),lg=((v={}).swipeProgress="--drawer-swipe-progress",v),ly={...lh,...n7},lb=k.forwardRef(function(e,t){let{render:n,className:r,style:l,forceRender:i=!1,...o}=e,{store:a}=rn(),u=a.useState("open"),s=a.useState("nested"),c=a.useState("mounted");return r5("div",e,{state:{open:u,transitionStatus:a.useState("transitionStatus")},ref:[a.context.backdropRef,t],stateAttributesMapping:ly,props:[{role:"presentation",hidden:!c,style:{pointerEvents:u?void 0:"none",userSelect:"none",WebkitUserSelect:"none",[lg.swipeProgress]:"0",[lm.swipeStrength]:"1"}},o],enabled:i||!s})}),lx=((h={})[h.open=la.open]="open",h[h.closed=la.closed]="closed",h[h.startingStyle=la.startingStyle]="startingStyle",h[h.endingStyle=la.endingStyle]="endingStyle",h.nested="data-nested",h.nestedDialogOpen="data-nested-dialog-open",h),lw={...lh,...n7,nested:e=>e?{[lx.nested]:""}:null,nestedDialogOpen:e=>e?{[lx.nestedDialogOpen]:""}:null},lS=k.forwardRef(function(e,t){let{className:n,render:r,children:l,style:i,...o}=e,a=ll(),{store:u}=rn(),s=u.useState("open"),c=u.useState("nested"),d=u.useState("transitionStatus"),f=u.useState("nestedOpenDialogCount"),p=u.useState("mounted");return r5("div",e,{enabled:a||p,state:{open:s,nested:c,transitionStatus:d,nestedDialogOpen:f>0},ref:[t,u.useStateSetter("viewportElement")],stateAttributesMapping:lw,props:[{role:"presentation",hidden:!p,style:{pointerEvents:s?void 0:"none"},children:l},o]})});function lC(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,n))}function lE(e,t,n){if(!Number.isFinite(t)||t<=0)return null;if("number"==typeof e)return Number.isFinite(e)?e<=1?lC(e,0,1)*t:e:null;let r=e.trim();if(r.endsWith("px")){let e=Number.parseFloat(r);return Number.isFinite(e)?e:null}if(r.endsWith("rem")){let e=Number.parseFloat(r);return Number.isFinite(e)?e*n:null}return null}function lR(){var e;let{store:t}=rn(),{snapPoints:n,activeSnapPoint:r,setActiveSnapPoint:l,popupHeight:i}=tB(),o=t.useState("viewportElement"),[a,u]=k.useState(0),[s,c]=k.useState(16),d=tw(()=>{let e=tW(o).documentElement;o&&u(o.offsetHeight),o||u(e.clientHeight);let t=parseFloat(getComputedStyle(e).fontSize);Number.isFinite(t)&&c(t)});tq(()=>{if(d(),!o||"function"!=typeof ResizeObserver)return;let e=new ResizeObserver(d);return e.observe(o),()=>{e.disconnect()}},[d,o]);let f=k.useMemo(()=>{if(!n||0===n.length||a<=0||i<=0)return[];let e=Math.min(i,a);if(!Number.isFinite(e)||e<=0)return[];let t=n.map(t=>{let n=lE(t,a,s);if(null===n||!Number.isFinite(n))return null;let r=lC(n,0,e);return{value:t,height:r,offset:Math.max(0,i-r)}}).filter(e=>!!e);if(t.length<=1)return t;let r=[],l=[];for(let e=t.length-1;e>=0;e-=1){let n=t[e];l.some(e=>1>=Math.abs(e-n.height))||(l.push(n.height),r.push(n))}return r.reverse(),r},[i,s,n,a]),p=k.useMemo(()=>{var e;if(void 0===r)return f[0];if(null===r)return;let t=f.find(e=>Object.is(e.value,r));if(t)return t;let n=Math.min(i,a),l=lE(r,a,s);if(null!==l&&Number.isFinite(l))return null!==(e=function(e,t){let n=null,r=1/0;for(let l of t){let t=Math.abs(l.height-e);te.clientHeight}let r=n.overflowX;return("auto"===r||"scroll"===r)&&e.scrollWidth>e.clientWidth}function lI(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"vertical",r=(0,tE.Re)(e)?e:null;for(;r&&r!==t;){if(lk(r,n))return r;r=r.parentElement}return lk(t,n)?t:null}function lM(e,t,n){return"function"==typeof(null==e?void 0:e.elementFromPoint)?e.elementFromPoint(t,n):null}function lP(e,t,n){switch(e){case"up":return-n;case"down":return n;case"left":return-t;case"right":return t;default:return 0}}function lA(e){return Number.isFinite(e)&&e>0?e:null}function lT(e,t,n){let r=e[n];if("function"==typeof r)try{r.call(e,t)}catch(e){if(e&&"object"==typeof e&&"name"in e&&"NotFoundError"===e.name)return;throw e}}let lN=((m={})[m.open=la.open]="open",m[m.closed=la.closed]="closed",m[m.startingStyle=la.startingStyle]="startingStyle",m[m.endingStyle=la.endingStyle]="endingStyle",m.expanded="data-expanded",m.nestedDrawerOpen="data-nested-drawer-open",m.nestedDrawerSwiping="data-nested-drawer-swiping",m.swipeDismiss="data-swipe-dismiss",m.swipeDirection="data-swipe-direction",m.swiping="data-swiping",m),lO="data-drawer-content",l_=k.createContext(null),lF="[".concat(lO,"]"),lD=k.forwardRef(function(e,t){let{className:n,render:r,style:l,children:i,...o}=e,{store:a}=rn(),{swipeDirection:u,notifyParentSwipingChange:s,notifyParentSwipeProgressChange:c,frontmostHeight:d,snapToSequentialPoints:f}=tB(),p=rc(!0),v=null==p?void 0:p.visualStateStore,h=a.useState("open"),m=a.useState("mounted"),g=a.useState("nested"),y=a.useState("nestedOpenDrawerCount"),b=a.useState("viewportElement"),x=a.useState("popupElement"),w=y>0,S="left"===u||"right"===u?"horizontal":"vertical",C="vertical"===S,E=C?"horizontal":"vertical",{snapPoints:I,resolvedSnapPoints:M,activeSnapPoint:P,activeSnapPointOffset:A,setActiveSnapPoint:T,popupHeight:N}=lR(),[O,_]=k.useState(null),F=k.useRef(void 0),D=k.useRef(null),j=tJ(),z=k.useRef(!1),H=k.useRef(""),V=k.useRef(!1),B=k.useRef(!1),L=k.useRef(null),W=k.useMemo(()=>{if(!I||I.length<2||"down"!==u&&"up"!==u||M.length<2)return null;let e=M.map(e=>e.offset).filter(e=>Number.isFinite(e)).sort((e,t)=>e-t);if(e.length<2)return null;let t=e[0],n=e[1],r=e[e.length-1],l=n-t;if(!Number.isFinite(l)||l<=0){let e=r-t;if(!Number.isFinite(e)||e<=0)return null;l=e}return{minOffset:t,range:l}},[M,I,u]),q=k.useMemo(()=>W&&null!==A?lC((A-W.minOffset)/W.range,0,1):null,[A,W]),U=k.useMemo(()=>I&&I.length>0&&("down"===u||"up"===u)?"down"===u?["down","up"]:["up","down"]:[u],[I,u]),Y=tw(e=>{lj(a.context.popupRef.current,a.context.backdropRef.current,e)}),Z=tw(()=>{var e;Y(!1),null===(e=a.context.popupRef.current)||void 0===e||e.removeAttribute(n6.endingStyle),_(null)}),K=tw(()=>{z.current&&(z.current=!1,null==s||s(!1))}),X=tw(e=>{let{resolvedProgress:t,shouldTrackProgress:n,notifyParent:r}=e,l=h&&!g&&n,i=l?t:0,o=h&&n?t:0;r&&c&&(c(o),o<=0&&K()),null==v||v.set({swipeProgress:i,frontmostHeight:i>0?d:0});let u=a.context.backdropRef.current;if(u){if(!l||i<=0){u.style.setProperty(lg.swipeProgress,"0"),u.style.removeProperty(lm.height);return}u.style.setProperty(lg.swipeProgress,"".concat(i)),d>0?u.style.setProperty(lm.height,"".concat(d,"px")):u.style.removeProperty(lm.height)}}),G=function(e){let{enabled:t,directions:n,elementRef:r,movementCssVars:l,canStart:i,ignoreSelectorWhenTouch:o=!0,ignoreScrollableAncestors:a=!1,swipeThreshold:u,onDismiss:s,onProgress:c,onCancel:d,onSwipeStart:f,onRelease:p,onSwipingChange:v,trackDrag:h=!0}=e,m=1===n.length?n[0]:void 0,g=Math.max(0,"number"==typeof u?u:40),y=n.includes("left"),b=n.includes("right"),x=n.includes("up"),w=n.includes("down"),S=y||b,C=x||w,E=k.useMemo(()=>{let e=[];return C&&e.push("vertical"),S&&e.push("horizontal"),e},[S,C]),[R,I]=k.useState(void 0),[M,P]=k.useState(!1),[A,T]=k.useState(!1),[N,O]=k.useState(!1),[_,F]=k.useState({x:0,y:0}),[D,j]=k.useState({x:0,y:0,scale:1}),[z,H]=k.useState(null),V=k.useRef({x:0,y:0}),B=k.useRef({x:0,y:0}),L=k.useRef(null),W=k.useRef({x:0,y:0,scale:1}),q=k.useRef(void 0),U=k.useRef(0),Y=k.useRef(!1),Z=k.useRef({x:0,y:0}),K=k.useRef(!1),X=k.useRef(!1),G=k.useRef(null),$=k.useRef(!1),J=k.useRef(!1),Q=k.useRef({width:0,height:0}),ee=k.useRef(0),et=k.useRef(g),en=k.useRef(null),er=k.useRef(null),el=k.useRef({x:0,y:0}),ei=k.useRef(null),eo=k.useRef(!1),ea=tw(e=>{eo.current!==e&&(eo.current=e,P(e),null==v||v(e))});function eu(e){if(!e)return;if("function"!=typeof u){et.current=g;return}let t=r.current;if(!t)return;let n=u({element:t,direction:e});et.current=Math.max(0,n)}let es=tw((e,t)=>{let n=Number.isFinite(e)?lC(e,0,1):0,r=n!==ee.current,l=!1;if(t){let e=ei.current;l=!e||e.deltaX!==t.deltaX||e.deltaY!==t.deltaY||e.direction!==t.direction}(r||l)&&(ee.current=n,t?ei.current=t:r&&(ei.current=null),null==c||c(n,t))});function ec(e,t){if(null===t)return;let n=er.current;if(n&&t>n.time){let r=Math.max(t-n.time,16);el.current={x:(e.x-n.x)/r,y:(e.y-n.y)/r}}er.current={x:e.x,y:e.y,time:t}}let ed=k.useCallback(()=>{I(void 0),ea(!1),T(!1),O(!1),F({x:0,y:0}),j({x:0,y:0,scale:1}),H(null),es(0),et.current=g,V.current={x:0,y:0},B.current={x:0,y:0},W.current={x:0,y:0,scale:1},q.current=void 0,U.current=0,Y.current=!1,Z.current={x:0,y:0},K.current=!1,L.current=null,X.current=!1,G.current=null,$.current=!1,J.current=!1,Q.current={width:0,height:0},en.current=null,er.current=null,el.current={x:0,y:0},ei.current=null},[ea,g,es]);function ef(e){if("touches"in e){let t=e.touches[0];return t?{x:t.clientX,y:t.clientY}:null}return{x:e.clientX,y:e.clientY}}function ep(e){return"touches"in e||"touch"===e.pointerType}function ev(e,t){let n=lM(tW(r.current),e.x,e.y);return null!=n?n:nT(t)}function eh(e,t){var n;return S&&!C?lI(e,t,"horizontal"):C&&!S?lI(e,t,"vertical"):null!==(n=lI(e,t,"vertical"))&&void 0!==n?n:lI(e,t,"horizontal")}function em(e,t,n){var l,i;$.current=!1;let u=ep(e),s=ev(t,e.nativeEvent),c=tW(r.current).body,d=u&&c?eh(s,c):null,p=null!==(l=null==n?void 0:n.ignoreScrollableTarget)&&void 0!==l&&l;if(d&&!p||($.current=!!(d&&p),s&&s.closest('button,a,input,select,textarea,label,[role="button"]')&&(!u||o)))return!1;let v=r.current;if(a&&v&&s&&E.length>0&&!(null!==(i=null==n?void 0:n.ignoreScrollableAncestors)&&void 0!==i&&i)&&function(e,t,n){let r=e;for(;r&&r!==t;){for(let e of n)if(lk(r,e))return!0;r=r.parentElement}return!1}(s,v,E))return!1;if(Y.current=!1,q.current=void 0,U.current=0,V.current=t,en.current=lA(e.timeStamp),Z.current=t,L.current=t,v){Q.current={width:v.offsetWidth,height:v.offsetHeight},eu(m);let t=function(e){let t=(0,tE.Jj)(e).getComputedStyle(e).transform,n=0,r=0,l=1;if(t&&"none"!==t){let e=t.match(/matrix(?:3d)?\(([^)]+)\)/);if(e){let t=e[1].split(", ").map(parseFloat);6===t.length?(n=t[4],r=t[5],l=Math.sqrt(t[0]*t[0]+t[1]*t[1])):16===t.length&&(n=t[12],r=t[13],l=t[0])}}return{x:n,y:r,scale:l}}(v);W.current=t,B.current={x:t.x,y:t.y},j(t),F({x:t.x,y:t.y}),ec({x:t.x,y:t.y},en.current),"touches"in e||lT(v,e.pointerId,"setPointerCapture")}return null==f||f(e.nativeEvent),ea(!0),T(!1),H(null),K.current=!0,es(0),!0}function eg(){ey(),$.current=!1,L.current=null}function ey(){X.current=!1,G.current=null}k.useEffect(()=>{"function"!=typeof u&&(et.current=g)},[g,u]);let eb=tw(e=>{if(!t||e.defaultPrevented||e.nativeEvent.defaultPrevented||!("touches"in e)&&0!==e.button)return;let n=ef(e);n&&(X.current=!0,G.current=n,$.current=!1,J.current=!1,(!i||i(n,{nativeEvent:e.nativeEvent,direction:m}))&&em(e,n)&&ey())}),ex=tw(e=>{let n=ef(e);if(!n)return;if(!("touches"in e)){let t=e.buttons%2==1;t&&(J.current=!0);let n=0===e.buttons&&J.current;if(0!==e.buttons&&!t||n){!function(e){if(eg(),!eo.current)return;ea(!1),T(!1),H(null);let t=h?D:W.current;B.current={x:t.x,y:t.y},F({x:t.x,y:t.y}),I(void 0),J.current=!1;let n=r.current;n&&lT(n,e.pointerId,"releasePointerCapture"),es(0,{deltaX:0,deltaY:0,direction:void 0}),null==d||d(e.nativeEvent)}(e);return}}if(!M&&X.current){if(!ep(e)&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)){eg();return}if(!i||i(n,{nativeEvent:e.nativeEvent,direction:m})){let t=G.current,l=!1;if(ep(e)){let i=r.current;if(t&&i){let r=ev(n,e.nativeEvent),o=tW(i).body,a=o?eh(r,o):null;if(a&&(nA(i,a)||nA(a,i))){let e=function(e,t,n){let r=Math.abs(t),l=Math.abs(n);if(C&&0!==n&&(!S||l>=r)){let t=Math.max(0,e.scrollHeight-e.clientHeight),r=e.scrollTop<=0,l=e.scrollTop>=t,i=n>0&&r&&w,o=n<0&&l&&x;return i||o}if(S&&0!==t&&(!C||r>l)){let n=Math.max(0,e.scrollWidth-e.clientWidth),r=e.scrollLeft<=0,l=e.scrollLeft>=n,i=t>0&&r&&b,o=t<0&&l&&y;return i||o}return null}(a,n.x-t.x,n.y-t.y);if(!1===e)return;!0===e&&(l=!0)}}}em(e,n,{ignoreScrollableTarget:l,ignoreScrollableAncestors:l})&&(t&&l?(ey(),V.current=t,Z.current=t,L.current=t,K.current=!1):(ey(),$.current=!1))}}let l=L.current,o=null===l?{x:0,y:0}:{x:n.x-l.x,y:n.y-l.y};L.current=n,function(e,n,r){let l;if(!t||!eo.current)return;let i=nT(e.nativeEvent);if(ep(e)&&!$.current&&eh(i,e.currentTarget))return;if("touches"in e||e.preventDefault(),K.current){V.current=n;let t=lA(e.timeStamp);null!==t&&(en.current=t),K.current=!1}let o=n.x,a=n.y,u=r.x,s=r.y;(s<0&&a>Z.current.y||s>0&&aZ.current.x||u>0&&o=1&&(T(!0),null===z&&S&&C&&H(Math.abs(c)>Math.abs(d)?"horizontal":"vertical")),q.current){let e=q.current,t=lP(e,p,f);t>et.current?(Y.current=!1,I(e)):y&&b||x&&w||!(U.current-t>=10)||(Y.current=!0)}else"vertical"===z?d>0?l="down":d<0&&(l="up"):"horizontal"===z?c>0?l="right":c<0&&(l="left"):l=Math.abs(c)>=Math.abs(d)?c>0?"right":"left":d>0?"down":"up",l&&("left"===l&&y||"right"===l&&b||"up"===l&&x||"down"===l&&w)&&(q.current=l,U.current=lP(l,c,d),I(l),eu(l));let v=function(e,t){let n=e=>e>=0?e**.5:-(Math.abs(e)**.5),r=(e,t,r)=>!t&&e<0||!r&&e>0?n(e):e;return{x:S?r(e,y,b):n(e),y:C?r(t,x,w):n(t)}}(c,d),g=W.current.x,E=W.current.y;"horizontal"===z?S&&(g+=v.x):("vertical"===z||S&&(g+=v.x),C&&(E+=v.y)),B.current={x:g,y:E},h&&F({x:g,y:E}),ec({x:g,y:E},lA(e.timeStamp));let R=g-W.current.x,k=E-W.current.y,M=q.current,P=null!=m?m:q.current;if(!P){es(0,{deltaX:R,deltaY:k,direction:M});return}let N="left"===P||"right"===P?Q.current.width:Q.current.height,O=W.current.scale||1;if(N<=0||O<=0){es(0,{deltaX:R,deltaY:k,direction:M});return}let _=lP(P,g-W.current.x,E-W.current.y);if(_<=0){es(0,{deltaX:R,deltaY:k,direction:M});return}es(_/(N*O),{deltaX:R,deltaY:k,direction:M})}(e,n,o)}),ew=tw(e=>{let l;if(!t)return;let i=B.current,o=W.current,a=i.x-o.x,u=i.y-o.y,c={deltaX:a,deltaY:u,direction:null!=R?R:q.current};if(!eo.current){eg(),es(0,c);return}ea(!1),T(!1),H(null),eg(),J.current=!1;let d=r.current;!d||"touches"in e||lT(d,e.pointerId,"releasePointerCapture");let f=en.current,v=lA(e.timeStamp),h=null!==f&&null!==v&&v>f?v-f:0,g=h>0?Math.max(h,50):0,y=g>0?a/g:0,b=g>0?u/g:0,x=el.current.x,w=el.current.y,S=er.current;if(S&&null!==v&&v>=S.time){let e=v-S.time;if(e<=80){let t=Math.max(e,16),n=i.x-S.x,r=i.y-S.y,l=n/t,o=r/t;0!==l&&(x=l),0!==o&&(w=o)}else x=0,w=0}let C=null==p?void 0:p({event:e.nativeEvent,direction:null!=R?R:q.current,deltaX:a,deltaY:u,velocityX:y,velocityY:b,releaseVelocityX:x,releaseVelocityY:w}),E="boolean"==typeof C;if(Y.current&&!E){B.current={x:o.x,y:o.y},F({x:o.x,y:o.y}),I(void 0),es(0,c);return}let k=!1;if(E){var M;k=C,l=null!==(M=null!=R?R:q.current)&&void 0!==M?M:m}else for(let e of n){switch(e){case"right":a>et.current&&(k=!0,l="right");break;case"left":a<-et.current&&(k=!0,l="left");break;case"down":u>et.current&&(k=!0,l="down");break;case"up":u<-et.current&&(k=!0,l="up")}if(k)break}k&&l?(I(l),O(!0),null==s||s(e.nativeEvent,{direction:l})):(B.current={x:o.x,y:o.y},F({x:o.x,y:o.y}),I(void 0),es(0,c))}),eS=k.useCallback(()=>{let e=h?_:B.current,t=h?D:W.current;if(!M&&e.x===t.x&&e.y===t.y&&!N)return{[l.x]:"0px",[l.y]:"0px"};let n=e.x-t.x,r=e.y-t.y;return{transition:M?"none":void 0,transform:M?"translateX(".concat(e.x,"px) translateY(").concat(e.y,"px) scale(").concat(t.scale,")"):void 0,[l.x]:"".concat(n,"px"),[l.y]:"".concat(r,"px")}},[N,_,D,M,l,h]);return{swiping:M,swipeDirection:R,dragDismissed:N,getPointerProps:k.useCallback(()=>t?{onPointerDown:eb,onPointerMove:ex,onPointerUp:ew,onPointerCancel:ew}:{},[t,ew,ex,eb]),getTouchProps:k.useCallback(()=>t?{onTouchStart:eb,onTouchMove:ex,onTouchEnd:ew,onTouchCancel:ew}:{},[t,ew,ex,eb]),getDragStyles:eS,reset:ed}}({enabled:m&&!w,directions:U,elementRef:a.context.popupRef,ignoreSelectorWhenTouch:!1,ignoreScrollableAncestors:!0,movementCssVars:{x:lm.swipeMovementX,y:lm.swipeMovementY},onSwipeStart(e){var t,n,r;if("touches"in e||"pointerType"in e&&"touch"===e.pointerType)return;let l=a.context.popupRef.current;if(!l)return;let i=tW(l),o=null===(t=i.getSelection)||void 0===t?void 0:t.call(i);if(!o||o.isCollapsed)return;let u=(0,tE.kK)(o.anchorNode)?o.anchorNode:null===(n=o.anchorNode)||void 0===n?void 0:n.parentElement,s=(0,tE.kK)(o.focusNode)?o.focusNode:null===(r=o.focusNode)||void 0===r?void 0:r.parentElement;(nA(l,u)||nA(l,s))&&o.removeAllRanges()},onSwipingChange(e){lz(a.context.backdropRef.current,e),e||c||K()},swipeThreshold(e){let{element:t,direction:n}=e;return lV(t,n)},canStart(e,t){let n=a.context.popupRef.current;if(!n)return!1;let r=n.ownerDocument,l=lM(r,e.x,e.y);if(!l||!nA(n,l))return!1;let i=t.nativeEvent;return!(("touches"in i||"pointerType"in i&&"touch"===i.pointerType)&&lL(r,n)||"touchstart"===i.type&&lH(l))},onProgress(e,t){var n;!function(e){var t;if(z.current||!e)return;let n=null!==(t=e.direction)&&void 0!==t?t:u,r="left"===n||"right"===n?e.deltaX:e.deltaY;!Number.isFinite(r)||10>Math.abs(r)||(z.current=!0,null==s||s(!0))}(t);let r=null!==(n=null==t?void 0:t.direction)&&void 0!==n?n:G.swipeDirection,l=void 0===r||r===u,i=!!(I&&I.length>0),o="down"===u||"up"===u,a=i&&o||!i||"left"===u||"right"===u||l,c=e;if(W&&N>0){if(t&&Number.isFinite(t.deltaY)){let e=lC((null!=A?A:W.minOffset)+t.deltaY,0,N);c=lC((e-W.minOffset)/W.range,0,1)}else if(null!==q)c=q;else if("down"===r||"up"===r){let t=e*N,n=null!=A?A:W.minOffset;c=lC((("down"===r?n+t:n-t)-W.minOffset)/W.range,0,1)}}X({resolvedProgress:c,shouldTrackProgress:a,notifyParent:!0})},onRelease(e){let{event:t,deltaX:n,deltaY:r,direction:l,velocityX:i,velocityY:o,releaseVelocityX:s,releaseVelocityY:c}=e,d={deltaX:n,deltaY:r,velocityX:i,velocityY:o,releaseVelocityX:s,releaseVelocityY:c};function p(e){let t=a.context.popupRef.current;t&&(K(),Y(!0),t.style.removeProperty("transition"),t.setAttribute(n6.endingStyle,""),n4.flushSync(()=>{_(function(e){let{direction:t,deltaX:n,deltaY:r,velocityX:l,velocityY:i,releaseVelocityX:o,releaseVelocityY:u}=e;if(!t)return null;let s=a.context.popupRef.current;if(!s)return null;let c="left"===t||"right"===t?s.offsetWidth:s.offsetHeight;if(!Number.isFinite(c)||c<=0)return null;let d=I&&I.length>0&&null!=A?A:0,f=0;"down"===t?f=d:"up"===t&&(f=-d);let p=f+("left"===t||"right"===t?n:r),v=Math.max(0,c-("left"===t||"up"===t?-p:p));if(!Number.isFinite(v)||v<=0)return null;let h="left"===t||"right"===t?o:u,m=Math.abs(h)>0&&Number.isFinite(h)?h:"left"===t||"right"===t?l:i,g="left"===t||"up"===t?-m:m;if(!Number.isFinite(g)||g<=.2)return null;let y=lC(g,.2,4),b=lC(v/y,80,360);if(!Number.isFinite(b))return null;let x=lC(.1+(b-80)/280*.9,.1,1);return!Number.isFinite(x)||x<=0?null:x}({direction:e,...d}))}))}if(!I||0===I.length){if(!l){Z();return}let e=a.context.popupRef.current;if(!e){Z();return}let t=lV(e,l),u="left"===l||"right"===l?n:r;if(!Number.isFinite(u)){Z();return}let s="left"===l||"up"===l?-u:u;if(s<=0)return Z(),!1;let c="left"===l||"right"===l?i:o;if(("left"===l||"up"===l?-c:c)>=.5&&s>0)return p(l),!0;let d=s>t;return d?p(l):Z(),d}if("down"!==u&&"up"!==u||!N||0===M.length){Z();return}let v="down"===u?r:-r;if(!Number.isFinite(v)){Z();return}let h=Math.sign(v),m="down"===u?c:-c,g="down"===u?o:-o,y=Number.isFinite(m)?m:g;if(0!==h&&Math.abs(v)>=10&&Number.isFinite(y)){let e=Math.sign(y);0!==e&&e!==h&&(y=g)}let b=null!=A?A:0,x=lC(b+v,0,N),w=Number.isFinite(y)&&Math.abs(y)>=.5?300*lC(y,-4,4):0,S=f?x:lC(x+w,0,N),C=n_(nZ,t),E=()=>(F.current=P,null==T||T(null,C),p(u),!0);if(f){let e=[...M].sort((e,t)=>e.offset-t.offset);if(0===e.length)return Z(),!1;let t=0,n=Math.abs(b-e[0].offset);for(let r=1;r=.5){let n=lC(t+h,0,e.length-1);if(n!==t){let t=e[n];(h>0?St.offset)&&(r=t,i=t.offset)}else if(h>0)return E()}return Math.abs(i-N)=.5&&v>0)return E();let R=M[0],k=Math.abs(S-R.offset);for(let e of M){let t=Math.abs(S-e.offset);t{if(a.select("open")){var t;let n=F.current;void 0!==n&&(null==T||T(n,n_(nZ,e))),F.current=void 0,Z(),null===(t=D.current)||void 0===t||t.call(D)}else F.current=void 0});return}F.current=void 0,Y(!0)}}),$=G.getPointerProps(),J=G.getTouchProps(),Q=G.reset;D.current=Q,k.useEffect(()=>{let e=null!=b?b:x;if(!e)return;let t=tW(e),n=(0,tE.Jj)(t);return th(t,"touchmove",function(r){if(B.current)return;let l=L.current,i=r.touches[0];if(!i||!l)return;let o=C?i.clientY-l.lastY:i.clientX-l.lastX;if(lW(r,n)){l.allowSwipe=!1,lU(l,i);return}if(2===r.touches.length||lL(t,e)||!h||!m||w||function(e,t,n){if(e.preserveNativeCrossAxisScroll)return!0;if(!0===e.allowSwipe||!e.hasCrossAxisScrollableContent)return!1;let r=n?t.clientY-e.startY:t.clientX-e.startX,l=Math.abs(n?t.clientX-e.startX:t.clientY-e.startY);return!(l<6||l<=Math.abs(r)+2)&&(e.preserveNativeCrossAxisScroll=!0,!0)}(l,i,C)){lU(l,i);return}let a=l.scrollTarget;if(!a||a===t.documentElement||a===t.body||("vertical"===S?!(a.scrollHeight>a.clientHeight):!(a.scrollWidth>a.clientWidth))){r.cancelable&&r.preventDefault(),lU(l,i);return}if(0!==o){let e=function(e,t,n,r){let{offset:l,max:i}=lY(e,t),o=lZ(n,t);return null!==o&&(o?r>0:r<0)&&(o?l<=0:l>=i)}(a,S,u,o);l.allowSwipe?r.cancelable&&r.preventDefault():r.cancelable&&e?(l.allowSwipe=!0,r.preventDefault()):l.allowSwipe=!1}lU(l,i)},{passive:!1,capture:!0})},[m,w,h,x,C,S,u,b]),k.useEffect(()=>{W&&!G.swiping&&X({resolvedProgress:!h||g?0:null!=q?q:0,shouldTrackProgress:!0,notifyParent:!1})},[X,d,g,c,h,q,W,G.swiping,a,v]),k.useEffect(()=>{if(c)return h||c(0),()=>{c(0)}},[c,h]),k.useEffect(()=>{h&&(Q(),Z())},[Z,h,Q]),k.useEffect(()=>()=>{null==v||v.set({swipeProgress:0,frontmostHeight:0}),lz(a.context.backdropRef.current,!1),K()},[K,a,v]);let ee=k.useMemo(()=>({swiping:G.swiping,getDragStyles:G.getDragStyles,swipeStrength:null!=O?O:null,setSwipeDismissed(e){lj(a.context.popupRef.current,a.context.backdropRef.current,e)}}),[a,G.getDragStyles,G.swiping,O]);function et(){B.current=!1,L.current=null,H.current="",V.current=!1}return(0,R.jsx)(lS,{ref:t,className:n,render:r,...rZ(o,{onPointerDown(e){var t;if(H.current=e.pointerType,V.current="pen"===e.pointerType,!h||!m||w)return;let n=lM(tW(e.currentTarget),e.clientX,e.clientY);!(lH(n)||(null==n?void 0:n.closest(lF)))&&"touch"!==e.pointerType&&(null===(t=$.onPointerDown)||void 0===t||t.call($,e))},onPointerMove(e){var t;"touch"!==e.pointerType&&(null===(t=$.onPointerMove)||void 0===t||t.call($,e))},onPointerUp(e){var t;H.current===e.pointerType&&(H.current=""),"touch"!==e.pointerType&&(null===(t=$.onPointerUp)||void 0===t||t.call($,e))},onPointerCancel(e){var t;H.current===e.pointerType&&(H.current=""),"touch"!==e.pointerType&&(null===(t=$.onPointerCancel)||void 0===t||t.call($,e))},onTouchStart(e){var t;if("pen"===H.current&&V.current){V.current=!1,B.current=!1,L.current=null;return}if(!h||!m||w){B.current=!1,L.current=null;return}let n=e.touches[0];if(!n)return;if(lq(e)){B.current=!1,L.current=null;return}let r=lM(tW(e.currentTarget),n.clientX,n.clientY);if(B.current=lH(r),B.current){L.current=null;return}let l=null!=b?b:x,i=nT(e.nativeEvent),o=(0,tE.kK)(i)?i:null;if(l&&o&&!nA(l,o)){B.current=!0,L.current=null;return}let a=null,s=!1;l&&o&&(a=lI(o,l,S),s=null!=lI(o,l,E));let c=null;a&&(c=!!function(e,t,n){let{offset:r,max:l}=lY(e,t),i=lZ(n,t);return null!==i&&(i?r<=0:r>=l)}(a,S,u)&&null),L.current={startX:n.clientX,startY:n.clientY,lastX:n.clientX,lastY:n.clientY,scrollTarget:a,hasCrossAxisScrollableContent:s,allowSwipe:c,preserveNativeCrossAxisScroll:!1},null===(t=J.onTouchStart)||void 0===t||t.call(J,e)},onTouchMove(e){var t;if(B.current||lq(e))return;let n=L.current;(null==n||!n.preserveNativeCrossAxisScroll)&&(null==n?void 0:n.allowSwipe)!==!1&&((null==n?void 0:n.scrollTarget)==null||n.allowSwipe)&&(null===(t=J.onTouchMove)||void 0===t||t.call(J,e))},onTouchEnd(e){var t;et(),null===(t=J.onTouchEnd)||void 0===t||t.call(J,e)},onTouchCancel(e){var t;et(),null===(t=J.onTouchCancel)||void 0===t||t.call(J,e)},"data-nested-dialog-open":void 0}),children:(0,R.jsx)(l_.Provider,{value:ee,children:i})})});function lj(e,t,n){if(n){null==e||e.setAttribute(lN.swipeDismiss,""),null==t||t.setAttribute(lN.swipeDismiss,"");return}null==e||e.removeAttribute(lN.swipeDismiss),null==t||t.removeAttribute(lN.swipeDismiss)}function lz(e,t){if(e){if(t){e.setAttribute(lN.swiping,"");return}e.removeAttribute(lN.swiping)}}function lH(e){return!!(null==e?void 0:e.closest(r6))}function lV(e,t){return Math.max(.5*("left"===t||"right"===t?e.offsetWidth:e.offsetHeight),10)}function lB(e,t){return e instanceof t.HTMLInputElement&&"range"===e.type}function lL(e,t){var n;let r=nP(e);if(r&&nA(t,r)&&(0,tE.kK)(r)&&("INPUT"===r.tagName||"TEXTAREA"===r.tagName)){let{selectionStart:e,selectionEnd:t}=r;if(null!=e&&null!=t&&elB(e,t)):lB(nT(e),t)}function lq(e){return lW(e.nativeEvent,(0,tE.Jj)(e.currentTarget))}function lU(e,t){e.lastX=t.clientX,e.lastY=t.clientY}function lY(e,t){if("vertical"===t){let t=Math.max(0,e.scrollHeight-e.clientHeight);return{offset:e.scrollTop,max:t}}let n=Math.max(0,e.scrollWidth-e.clientWidth);return{offset:e.scrollLeft,max:n}}function lZ(e,t){return"vertical"===t?"down"===e||"up"!==e&&null:"right"===e||"left"!==e&&null}function lK(e){let t=ty(lX,e).current;return t.next=e,tq(t.effect),t}function lX(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}let lG=0;function l$(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{preventScroll:n=!1,cancelPrevious:r=!0,sync:l=!1}=t;r&&cancelAnimationFrame(lG);let i=()=>null==e?void 0:e.focus({preventScroll:n});if(l)return i(),tQ;let o=requestAnimationFrame(i);return lG=o,()=>{lG===o&&(cancelAnimationFrame(o),lG=0)}}let lJ={inert:new WeakMap,"aria-hidden":new WeakMap},lQ="data-base-ui-inert",l0={inert:new WeakSet,"aria-hidden":new WeakSet},l1=new WeakMap,l2=0,l5=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=function e(t){return t?(0,tE.Zq)(t)?t.host:e(t.parentNode):null}(t);return e.contains(n)?n:null}).filter(e=>null!=e),l4=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},l3=(e,t,n)=>{let r=[],l=e=>{!e||n.has(e)||Array.from(e.children).forEach(e=>{"script"!==(0,tE.wk)(e)&&(t.has(e)?l(e):r.push(e))})};return l(e),r};function l6(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{ariaHidden:n=!1,inert:r=!1,mark:l=!0,markerIgnoreElements:i=[]}=t,o=tW(e[0]).body;return function(e,t,n,r,l){let{mark:i=!0,markerIgnoreElements:o=[]}=l,a=r?"inert":n?"aria-hidden":null,u=null,s=null,c=l5(t,e),d=new Set(i?l5(t,o):[]),f=i?l3(t,l4(c),new Set(c)).filter(e=>!d.has(e)):[],p=[],v=[];if(a){let e=lJ[a],n=l0[a];s=n,u=e;let r=l5(t,Array.from(t.querySelectorAll("[aria-live]"))),l=c.concat(r);l3(t,l4(l),new Set(l)).forEach(t=>{let r=t.getAttribute(a),l=null!==r&&"false"!==r,i=(e.get(t)||0)+1;e.set(t,i),p.push(t),1===i&&l&&n.add(t),l||t.setAttribute(a,"inert"===a?"":"true")})}return i&&f.forEach(e=>{let t=(l1.get(e)||0)+1;l1.set(e,t),v.push(e),1===t&&e.setAttribute(lQ,"")}),l2+=1,()=>{u&&p.forEach(e=>{let t=(u.get(e)||0)-1;u.set(e,t),t||((null==s?void 0:s.has(e))||!a||e.removeAttribute(a),null==s||s.delete(e))}),i&&v.forEach(e=>{let t=(l1.get(e)||0)-1;l1.set(e,t),t||e.removeAttribute(lQ)}),(l2-=1)||(lJ.inert=new WeakMap,lJ["aria-hidden"]=new WeakMap,l0.inert=new WeakSet,l0["aria-hidden"]=new WeakSet,l1=new WeakMap)}}(e,o,n,r,{mark:l,markerIgnoreElements:i})}let l8=[];function l9(){l8=l8.filter(e=>{var t;return null===(t=e.deref())||void 0===t?void 0:t.isConnected})}function l7(){var e;return l9(),null===(e=l8[l8.length-1])||void 0===e?void 0:e.deref()}function ie(e,t){var n;if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!t.current.includes("floating")&&!(null===(n=e.getAttribute("role"))||void 0===n?void 0:n.includes("dialog")))return;let r=r_(e).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return rO(e)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),l=e.getAttribute("tabindex");t.current.includes("floating")||0===r.length?"0"!==l&&e.setAttribute("tabindex","0"):("-1"!==l||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function it(e){let{context:t,children:n,disabled:r=!1,initialFocus:l=!0,returnFocus:i=!0,restoreFocus:o=!1,modal:a=!0,closeOnFocusOut:u=!0,openInteractionType:s="",nextFocusableElement:c,previousFocusableElement:d,beforeContentFocusGuardRef:f,externalTree:p,getInsideElements:v}=e,h="rootStore"in t?t.rootStore:t,m=h.useState("open"),g=h.useState("domReferenceElement"),y=h.useState("floatingElement"),{events:b,dataRef:x}=h.context,w=tw(()=>{var e;return null===(e=x.current.floatingContext)||void 0===e?void 0:e.nodeId}),S=!1===l,C=nR(g)&&S,E=k.useRef(["content"]),I=lK(l),M=lK(i),P=lK(s),A=nt(p),T=le(),N=k.useRef(!1),O=k.useRef(!1),_=k.useRef(!1),F=k.useRef(null),D=k.useRef(""),j=k.useRef(""),z=k.useRef(null),H=k.useRef(null),V=rB(z,f,null==T?void 0:T.beforeInsideRef),B=rB(H,null==T?void 0:T.afterInsideRef),L=tK(),W=tK(),q=tJ(),U=null!=T,Y=nk(y),Z=tw(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y;return e?rF(e):[]}),K=tw(()=>{var e;return null!==(e=null==v?void 0:v().filter(e=>null!=e))&&void 0!==e?e:[]});k.useEffect(()=>{if(!r&&a)return th(tW(Y),"keydown",function(e){"Tab"===e.key&&nA(Y,nP(tW(Y)))&&0===Z().length&&!C&&ns(e)})},[r,g,Y,a,E,C,Z]),k.useEffect(()=>{if(r||!m)return;let e=tW(Y);function t(){_.current=!1}return nM(th(e,"pointerdown",function(e){let t=nT(e),n=K(),r=nA(y,t)||nA(g,t)||nA(null==T?void 0:T.portalNode,t)||n.some(e=>e===t||nA(e,t));_.current=!r,j.current=e.pointerType||"keyboard",(null==t?void 0:t.closest("[".concat("data-base-ui-click-trigger","]")))&&(O.current=!0)},!0),th(e,"pointerup",t,!0),th(e,"pointercancel",t,!0),th(e,"keydown",function(){j.current="keyboard"},!0))},[r,y,g,Y,m,T,K]),k.useEffect(()=>{if(r||!u)return;let e=tW(Y);function t(t){let n=t.relatedTarget,r=t.currentTarget,l=nT(t);queueMicrotask(()=>{let i=w(),u=h.context.triggerElements,s=K(),f=(null==n?void 0:n.hasAttribute(nK("focus-guard")))&&[z.current,H.current,null==T?void 0:T.beforeInsideRef.current,null==T?void 0:T.afterInsideRef.current,null==T?void 0:T.beforeOutsideRef.current,null==T?void 0:T.afterOutsideRef.current,n3(d),n3(c)].includes(n),p=!(nA(g,n)||nA(y,n)||nA(n,y)||nA(null==T?void 0:T.portalNode,n)||s.some(e=>e===n||nA(e,n))||null!=n&&u.hasElement(n)||u.hasMatchingElement(e=>nA(e,n))||f||A&&(nN(A.nodesRef.current,i).find(e=>{var t,r;return nA(null===(t=e.context)||void 0===t?void 0:t.elements.floating,n)||nA(null===(r=e.context)||void 0===r?void 0:r.elements.domReference,n)})||nO(A.nodesRef.current,i).find(e=>{var t,r,l;return[null===(t=e.context)||void 0===t?void 0:t.elements.floating,nk(null===(r=e.context)||void 0===r?void 0:r.elements.floating)].includes(n)||(null===(l=e.context)||void 0===l?void 0:l.elements.domReference)===n})));if(r===g&&Y&&ie(Y,E),o&&r!==g&&!rk(l)&&nP(e)===e.body){if((0,tE.Re)(Y)&&(Y.focus(),"popup"===o)){q.request(()=>{Y.focus()});return}let e=Z(),t=F.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||Y;(0,tE.Re)(n)&&n.focus()}if(x.current.insideReactTree){x.current.insideReactTree=!1;return}(C||!a)&&n&&p&&!O.current&&(C||n!==l7())&&(N.current=!0,h.setOpen(!1,n_(nq,t)))})}let n=(0,tE.Re)(g)?g:null;if(y||n)return nM(n&&th(n,"focusout",t),n&&th(n,"pointerdown",function(){O.current=!0,W.start(0,()=>{O.current=!1})}),y&&th(y,"focusin",function(e){let t=nT(e);rO(t)&&(F.current=t)}),y&&th(y,"focusout",t),y&&T&&th(y,"focusout",function(){_.current||(x.current.insideReactTree=!0,L.start(0,()=>{x.current.insideReactTree=!1}))},!0))},[r,g,y,Y,a,A,T,h,u,o,Z,C,w,E,x,L,W,q,c,d,K]),k.useEffect(()=>{var e,t,n;if(r||!y||!m)return;let l=Array.from((null==T?void 0:null===(e=T.portalNode)||void 0===e?void 0:e.querySelectorAll("[".concat(nK("portal"),"]")))||[]),i=null===(n=(A?nO(A.nodesRef.current,w()):[]).find(e=>{var t;return nR((null===(t=e.context)||void 0===t?void 0:t.elements.domReference)||null)}))||void 0===n?void 0:null===(t=n.context)||void 0===t?void 0:t.elements.domReference,o=l6([y,...l,z.current,H.current,null==T?void 0:T.beforeOutsideRef.current,null==T?void 0:T.afterOutsideRef.current,...K(),i,n3(d),n3(c),C?g:null].filter(e=>null!=e),{ariaHidden:a||C,mark:!1}),u=l6([y,...l].filter(e=>null!=e));return()=>{u(),o()}},[m,r,g,y,a,E,T,C,A,w,c,d,K]),tq(()=>{if(!m||r||!(0,tE.Re)(Y))return;let e=nP(tW(Y));queueMicrotask(()=>{let t;let n=I.current,r="function"==typeof n?n(P.current||""):n;if(void 0===r||!1===r||nA(Y,e))return;let l=null,i=()=>(null==l&&(l=Z(Y)),l[0]||Y);l$(t=(t=!0===r||null===r?i():n3(r))||i(),{preventScroll:t===Y})})},[r,m,Y,S,Z,I,P]),tq(()=>{var e;if(r||!Y)return;let t=tW(Y);function n(e){if(e.open||(D.current=function(e,t){let n=(0,tE.Jj)(nT(e));return e instanceof n.KeyboardEvent?"keyboard":e instanceof n.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof n.MouseEvent?t||(0===e.detail?"keyboard":"mouse"):""}(e.nativeEvent,j.current)),"trigger-hover"===e.reason&&"mouseleave"===e.nativeEvent.type&&(N.current=!0),e.reason===nz){if(e.nested)N.current=!1;else if(nc(e.nativeEvent)||nd(e.nativeEvent))N.current=!1;else{let e=!1;tW(Y).createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?N.current=!1:N.current=!0}}}return e=nP(t),l9(),e&&"body"!==(0,tE.wk)(e)&&(l8.push(new WeakRef(e)),l8.length>20&&(l8=l8.slice(-20))),b.on("openchange",n),()=>{b.off("openchange",n);let e=nP(t),r=K(),l=nA(y,e)||r.some(t=>t===e||nA(t,e))||A&&nN(A.nodesRef.current,w(),!1).some(t=>{var n;return nA(null===(n=t.context)||void 0===n?void 0:n.elements.floating,e)}),i=M.current,o=function(){let e=M.current,t="function"==typeof e?e(D.current):e;if(void 0===t||!1===t)return null;if(null===t&&(t=!0),"boolean"==typeof t){let e=g||l7();return e&&e.isConnected?e:null}let n=g||l7();return n3(t)||n||null}();queueMicrotask(()=>{let n=o?rO(o)?o:rF(o)[0]||o:null;i&&!N.current&&(0,tE.Re)(n)&&("boolean"!=typeof i||n===e||e===t.body||l)&&n.focus({preventScroll:!0}),N.current=!1})}},[r,y,Y,M,x,b,A,g,w,K]),tq(()=>{if(!tP||m||!y)return;let e=nP(tW(y));(0,tE.Re)(e)&&nE(e)&&nA(y,e)&&e.blur()},[m,y]),tq(()=>{if(!r&&T)return T.setFocusManagerState({modal:a,closeOnFocusOut:u,open:m,onOpenChange:h.setOpen,domReference:g}),()=>{T.setFocusManagerState(null)}},[r,T,a,m,h,u,g]),tq(()=>{if(!r&&Y)return ie(Y,E),()=>{queueMicrotask(l9)}},[r,Y,E]);let X=!r&&(!a||!C)&&(U||a);return(0,R.jsxs)(k.Fragment,{children:[X&&(0,R.jsx)(ry,{"data-type":"inside",ref:V,onFocus:e=>{if(a){let e=Z();l$(e[e.length-1])}else if(null==T?void 0:T.portalNode){if(N.current=!1,rH(e,T.portalNode)){let e=rj(g);null==e||e.focus()}else{var t;null===(t=n3(null!=d?d:T.beforeOutsideRef))||void 0===t||t.focus()}}}}),n,X&&(0,R.jsx)(ry,{"data-type":"inside",ref:B,onFocus:e=>{if(a)l$(Z()[0]);else if(null==T?void 0:T.portalNode){if(u&&(N.current=!0),rH(e,T.portalNode)){let e=rz(g);null==e||e.focus()}else{var t;null===(t=n3(null!=c?c:T.afterOutsideRef))||void 0===t||t.focus()}}}})]})}let ir="ArrowUp",il="ArrowDown",ii="ArrowLeft",io="ArrowRight";[...new Set([...new Set([ii,io]),...new Set([ir,il])])];let ia=new Set([ir,il,ii,io,"Home","End"]),iu=!1,is={...lh,...n7,expanded:e=>e?{[lN.expanded]:""}:null,nestedDrawerOpen:e=>e?{[lN.nestedDrawerOpen]:""}:null,nestedDrawerSwiping:e=>e?{[lN.nestedDrawerSwiping]:""}:null,swipeDirection:e=>e?{[lN.swipeDirection]:e}:null,swiping:e=>e?{[lN.swiping]:""}:null},ic=k.forwardRef(function(e,t){var n,r,l;let i;let{className:o,finalFocus:a,initialFocus:u,render:s,style:c,...d}=e,{store:f}=rn(),{swipeDirection:p,frontmostHeight:v,hasNestedDrawer:h,nestedSwiping:m,nestedSwipeProgressStore:g,onPopupHeightChange:y,notifyParentFrontmostHeight:b,notifyParentHasNestedDrawer:x}=tB(),w=f.useState("descriptionElementId"),S=f.useState("disablePointerDismissal"),C=f.useState("floatingRootContext"),E=f.useState("popupProps"),I=f.useState("modal"),M=f.useState("mounted"),P=f.useState("nested"),A=f.useState("nestedOpenDrawerCount"),T=f.useState("transitionStatus"),N=f.useState("open"),O=f.useState("openMethod"),_=f.useState("titleElementId"),F=f.useState("role"),D=A>0,j=function(e){let t=k.useContext(l_);if(!1===e&&null===t)throw Error(tH(92));return t}(!0),z=null!==(n=null==j?void 0:j.swiping)&&void 0!==n&&n,H=null!==(r=null==j?void 0:j.swipeStrength)&&void 0!==r?r:null,{snapPoints:V,activeSnapPoint:B,activeSnapPointOffset:L}=lR();ll();let[W,q]=k.useState(0),U=k.useRef(0),Y=tw(()=>{let e=f.context.popupRef.current;if(!e)return;let t=e.offsetHeight;if(!(U.current>0)||!(v>U.current)||!(t>U.current)){if(U.current>0&&h){let e=U.current;q(e),y(e);return}t!==U.current&&(U.current=t,q(t),y(t))}});tq(()=>{if(!M){U.current=0,q(0),y(0);return}let e=f.context.popupRef.current;if(!e||(iu||("undefined"!=typeof CSS&&"registerProperty"in CSS&&([lm.swipeMovementX,lm.swipeMovementY,lm.snapPointOffset].forEach(e=>{try{CSS.registerProperty({name:e,syntax:"",inherits:!1,initialValue:"0px"})}catch(e){}}),[{name:lg.swipeProgress,initialValue:"0"},{name:lm.swipeStrength,initialValue:"1"}].forEach(e=>{let{name:t,initialValue:n}=e;try{CSS.registerProperty({name:t,syntax:"",inherits:!1,initialValue:n})}catch(e){}})),iu=!0),Y(),"function"!=typeof ResizeObserver))return;let t=new ResizeObserver(Y);return t.observe(e),()=>{t.disconnect()}},[Y,M,D,y,f.context.popupRef]),tq(()=>{let e=f.context.popupRef,t=()=>{let t=e.current;if(!t)return;let n=g.getSnapshot();n>0?t.style.setProperty(lg.swipeProgress,"".concat(n)):t.style.setProperty(lg.swipeProgress,"0")};t();let n=g.subscribe(t);return()=>{n();let t=e.current;t&&t.style.setProperty(lg.swipeProgress,"0")}},[g,f.context.popupRef]),k.useEffect(()=>{if(N)return null==b||b(v),()=>{null==b||b(0)}},[v,N,b]),k.useEffect(()=>{if(x)return x(N||"ending"===T),()=>{x(!1)}},[x,N,T]),re({open:N,ref:f.context.popupRef,onComplete(){if(N){var e,t;null===(e=(t=f.context).onOpenChangeComplete)||void 0===e||e.call(t,!0)}}});let Z=void 0===u?f.context.popupRef:u,K=!h&&"ending"!==T;W&&!K&&(i="".concat(W,"px"));let X=V&&V.length>0&&("down"===p||"up"===p),G=null;X&&null!==L&&(G="up"===p?-L:L);let $=j?j.getDragStyles():t1;if(X&&"down"===p){let e=null!=L?L:0,t=Number.parseFloat(String(null!==(l=$[lm.swipeMovementY])&&void 0!==l?l:0)),n=Number.isFinite(t)?e+t:e;$=z&&n<0&&Number.isFinite(t)?{...$,transform:void 0,[lm.swipeMovementY]:"".concat(-Math.sqrt(Math.abs(n))-e,"px")}:{...$,transform:void 0}}let J=r5("div",e,{state:{open:N,nested:P,transitionStatus:T,expanded:1===B,nestedDrawerOpen:D,nestedDrawerSwiping:m,swipeDirection:p,swiping:z},props:[E,{"aria-labelledby":_,"aria-describedby":w,role:F,tabIndex:-1,hidden:!M,onKeyDown(e){ia.has(e.key)&&e.stopPropagation()},style:{...$,[lg.swipeProgress]:"0",[lm.nestedDrawers]:A,[lm.height]:i,[lm.snapPointOffset]:"number"==typeof G?"".concat(G,"px"):"0px",[lm.frontmostHeight]:v?"".concat(v,"px"):void 0,[lm.swipeStrength]:"number"==typeof H&&Number.isFinite(H)&&H>0?"".concat(H):"1"}},d],ref:[t,f.context.popupRef,f.useStateSetter("popupElement")],stateAttributesMapping:is});return(0,R.jsx)(it,{context:C,openInteractionType:O,disabled:!M,closeOnFocusOut:!S,initialFocus:Z,returnFocus:a,modal:!1!==I,restoreFocus:"popup",children:J})});function id(e){return tz(e,"base-ui")}let ip=k.forwardRef(function(e,t){let{render:n,className:r,style:l,id:i,...o}=e,{store:a}=rn(),u=id(i);return a.useSyncedValueWithCleanup("titleElementId",u),r5("h2",e,{ref:t,props:[{id:u},o]})}),iv=k.forwardRef(function(e,t){let{render:n,className:r,style:l,id:i,...o}=e,{store:a}=rn(),u=id(i);return a.useSyncedValueWithCleanup("descriptionElementId",u),r5("p",e,{ref:t,props:[{id:u},o]})}),ih=k.createContext(void 0);function im(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:l=!0,composite:i}=e,o=k.useRef(null),a=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=k.useContext(ih);if(void 0===t&&!e)throw Error(tH(16));return t}(!0),u=null!=i?i:void 0!==a,{props:s}=function(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:l=0,isNativeButton:i}=e,o=r&&!1!==t,a=r&&!1===t;return{props:k.useMemo(()=>{let e={onKeyDown(e){n&&t&&"Tab"!==e.key&&e.preventDefault()}};return r||(e.tabIndex=l,i||!n||(e.tabIndex=t?l:-1)),(i&&(t||o)||!i&&n)&&(e["aria-disabled"]=n),i&&(!t||a)&&(e.disabled=n),e},[r,n,t,o,a,i,l])}}({focusableWhenDisabled:n,disabled:t,composite:u,tabIndex:r,isNativeButton:l}),c=k.useCallback(()=>{let e=o.current;ig(e)&&u&&t&&void 0===s.disabled&&e.disabled&&(e.disabled=!1)},[t,s.disabled,u]);return tq(c,[c]),{getButtonProps:k.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onClick:n,onMouseDown:r,onKeyUp:i,onKeyDown:o,onPointerDown:a,...c}=e;return rZ({type:l?"button":void 0,onClick(e){if(t){e.preventDefault();return}null==n||n(e)},onMouseDown(e){t||null==r||r(e)},onKeyDown(e){if(t||(r0(e),null==o||o(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,i=e.currentTarget,a=ig(i),s=!l&&!!((null==i?void 0:i.tagName)==="A"&&(null==i?void 0:i.href)),c=r&&(l?a:!s),d="Enter"===e.key,f=" "===e.key,p=i.getAttribute("role"),v=(null==p?void 0:p.startsWith("menuitem"))||"option"===p||"gridcell"===p;if(r&&u&&f){if(e.defaultPrevented&&v)return;e.preventDefault(),s||l&&a?(i.click(),e.preventBaseUIHandler()):c&&(null==n||n(e),e.preventBaseUIHandler());return}c&&(!l&&(f||d)&&e.preventDefault(),!l&&d&&(null==n||n(e)))},onKeyUp(e){if(!t){if(r0(e),null==i||i(e),e.target===e.currentTarget&&l&&u&&ig(e.currentTarget)&&" "===e.key){e.preventDefault();return}!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||l||u||" "!==e.key||null==n||n(e))}},onPointerDown(e){if(t){e.preventDefault();return}null==a||a(e)}},l?void 0:{role:"button"},s,c)},[t,s,u,l]),buttonRef:tw(e=>{o.current=e,c()})}}function ig(e){return(0,tE.Re)(e)&&"BUTTON"===e.tagName}let iy=k.forwardRef(function(e,t){let{render:n,className:r,disabled:l=!1,nativeButton:i=!0,style:o,...a}=e,{store:u}=rn(),s=u.useState("open"),{getButtonProps:c,buttonRef:d}=im({disabled:l,native:i});return r5("button",e,{state:{disabled:l},ref:[t,d],props:[{onClick:function(e){s&&u.setOpen(!1,n_(nV,e.nativeEvent))}},a,c]})}),ib=k.forwardRef(function(e,t){let{render:n,className:r,style:l,...i}=e;return rn(),r5("div",e,{ref:t,props:[{[lO]:""},i]})});var ix=n(47231),iw=n(54474),iS=n.n(iw);let iC={bottom:"down",left:"left",right:"right",top:"up"};(0,k.forwardRef)((e,t)=>{let{anchor:n="right",children:r,className:l,footer:i,isDismissible:o=!0,isDrawerOpen:a,isModal:u=!0,onOpenChange:s,showBackdrop:c=!0,snapPoints:d,subtitle:f,title:p,...v}=e;return ej(rd,{disablePointerDismissal:!o,modal:u,onOpenChange:s,open:a,snapPoints:d&&[...d],swipeDirection:iC[n],children:ez(lo,{children:[ej(lb,{className:(0,e8.Z)(iS().backdrop,"atomics-Drawer-backdrop"),"data-backdrop":c?"true":"false"}),ej(lD,{className:(0,e8.Z)(iS().viewport,"atomics-Drawer-viewport"),children:ej(i_,{asChild:!0,direction:"column",children:ez(ic,{className:(0,e8.Z)(iS().popup,l,"atomics-Drawer-popup"),"data-component":"drawer","data-drawer-anchor":n,ref:t,...eX(v),children:[ez(i_,{className:(0,e8.Z)(iS().header,"atomics-Drawer-header"),children:[ej(i_.Item,{asChild:!0,shrink:0,children:ej(uI,{"aria-hidden":"true",className:(0,e8.Z)(iS().closeButtonSpacer,"atomics-Drawer-closeButton"),size:"extra-small",tabIndex:-1,variant:"ghost",children:ej(ix.x8,{})})}),ej(i_.Item,{asChild:!0,grow:1,shrink:1,children:ez(i_,{align:"center",className:iS().headerContent,direction:"column",gap:4,children:[ej(ip,{render:e=>{let{className:t,color:n,...r}=e;return ej(iB,{asChild:!0,className:(0,e8.Z)(t,iS().title,"atomics-Drawer-title"),fontFamily:"sans",fontSize:20,fontWeight:"bold",lineHeight:120,children:ej("h2",{...r,children:p})})}}),null!=f&&ej(iv,{render:e=>{let{className:t,color:n,...r}=e;return ej(iB,{asChild:!0,className:(0,e8.Z)(t,iS().subtitle,"atomics-Drawer-subtitle"),fontFamily:"sans",fontSize:14,fontWeight:"regular",lineHeight:120,children:ej("p",{...r,children:f})})}})]})}),ej(i_.Item,{asChild:!0,shrink:0,children:ej(iy,{render:e=>{let{className:t,...n}=e;return ej(uI,{className:(0,e8.Z)("atomics-Drawer-closeButton",t),label:"Close",size:"extra-small",variant:"ghost",...n,children:ej(ix.x8,{})})}})})]}),ej(ib,{className:(0,e8.Z)(iS().content,"atomics-Drawer-content"),children:ej("div",{className:(0,e8.Z)(iS().body,"atomics-Drawer-body"),children:r})}),null!=i&&ej(u_,{autoFlow:"column",className:(0,e8.Z)(iS().footer,"atomics-Drawer-footer"),columnGap:8,children:i})]})})})]})})}).displayName="Drawer";let iE={2:"--phx-space-core-2",4:"--phx-space-core-4",6:"--phx-space-core-6",8:"--phx-space-core-8",12:"--phx-space-core-12",16:"--phx-space-core-16",20:"--phx-space-core-20",24:"--phx-space-core-24",28:"--phx-space-core-28",32:"--phx-space-core-32",36:"--phx-space-core-36",40:"--phx-space-core-40",44:"--phx-space-core-44",48:"--phx-space-core-48"};function iR(){let e=eB(["\n @layer phx.components {\n & {\n align-items: stretch;\n display: flex;\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n }\n "]);return iR=function(){return e},e}var ik={flex:eW(iR())};let iI=[{componentStyleProp:"align",cssProp:"align-items"},{componentStyleProp:"direction",cssProp:"flex-direction"},{componentStyleProp:"gap",cssProp:"gap"},{componentStyleProp:"inline",cssProp:"display"},{componentStyleProp:"justify",cssProp:"justify-content"},{componentStyleProp:"wrap",cssProp:"flex-wrap"}],iM={gap:e0(iE),inline:e=>e?"inline-flex":"flex"},iP=to("Flex",(e,t)=>{let{align:n,asChild:r=!1,className:l,direction:i,gap:o,inline:a,justify:u,wrap:s,...c}=e,d=r?tn.g7:"div",f=eK("Flex",iI);return ej(d,{className:(0,e8.Z)("atomics-Flex-root",l),css:[ik.flex,f],"data-testid":"flex",ref:r?void 0:t,...eQ({componentName:"Flex",restProps:c,styleProps:{align:n,direction:i,gap:o,inline:a,justify:u,wrap:s},valueMap:iM})})});function iA(){let e=eB(["\n @layer phx.components {\n & {\n align-self: auto;\n box-sizing: border-box;\n flex: 0 1 auto;\n }\n }\n "]);return iA=function(){return e},e}var iT={flexItem:eW(iA())};let iN=[{componentStyleProp:"alignSelf",cssProp:"align-self"},{componentStyleProp:"basis",cssProp:"flex-basis"},{componentStyleProp:"grow",cssProp:"flex-grow"},{componentStyleProp:"shrink",cssProp:"flex-shrink"}],iO={basis:e0(iE)},i_=Object.assign(iP,{Item:to("FlexItem",(e,t)=>{let{alignSelf:n,asChild:r=!1,basis:l,className:i,grow:o,shrink:a,...u}=e,s=r?tn.g7:"div",c=eK("FlexItem",iN);return ej(s,{className:(0,e8.Z)("atomics-FlexItem-root",i),css:[iT.flexItem,c],"data-testid":"flex-item",ref:r?void 0:t,...eQ({componentName:"FlexItem",restProps:u,styleProps:{alignSelf:n,basis:l,grow:o,shrink:a},valueMap:iO})})})});function iF(){let e=eB(["\n @layer phx.components {\n & {\n color: var(\n --atomics-text-color,\n var(--atomics-text-variant-color, inherit)\n );\n font-family: var(\n --atomics-text-font-family,\n var(--atomics-text-variant-font-family)\n );\n font-size: var(\n --atomics-text-font-size,\n var(--atomics-text-variant-font-size)\n );\n font-weight: var(\n --atomics-text-font-weight,\n var(--atomics-text-variant-font-weight)\n );\n line-height: var(\n --atomics-text-line-height,\n var(--atomics-text-variant-line-height)\n );\n }\n }\n\n ","\n "]);return iF=function(){return e},e}let iD=[{componentStyleProp:"variantFontSize",cssProp:"--atomics-text-variant-font-size"},{componentStyleProp:"variantFontFamily",cssProp:"--atomics-text-variant-font-family"},{componentStyleProp:"variantFontWeight",cssProp:"--atomics-text-variant-font-weight"},{componentStyleProp:"variantLineHeight",cssProp:"--atomics-text-variant-line-height"},{componentStyleProp:"variantColor",cssProp:"--atomics-text-variant-color"},{componentStyleProp:"variantLetterSpacing",cssProp:"letter-spacing"},{componentStyleProp:"variantTextTransform",cssProp:"text-transform"}];var ij={text:eW(iF(),eZ("Text",[{componentStyleProp:"fontSize",cssProp:"--atomics-text-font-size"},{componentStyleProp:"lineHeight",cssProp:"--atomics-text-line-height"},{componentStyleProp:"fontWeight",cssProp:"--atomics-text-font-weight"},{componentStyleProp:"fontFamily",cssProp:"--atomics-text-font-family"},{componentStyleProp:"decoration",cssProp:"text-decoration-line"},{componentStyleProp:"color",cssProp:"--atomics-text-color"}]))};let iz={"legacy-article-headline-xxl":{variantFontFamily:"--article-headline-font-family",variantFontSize:{default:"--article-headline-xxl","xs-desktop-and-up":"--article-headline-xxl-xsdu"},variantFontWeight:"--article-headline-weight",variantLetterSpacing:"--article-headline-kerning-xxl",variantLineHeight:"--article-headline-leading-lg"},"legacy-article-headline-xl":{variantFontFamily:"--article-headline-font-family",variantFontSize:{default:"--article-headline-xl","lg-desktop-and-up":"--article-headline-xl-ldt","xs-desktop-and-up":"--article-headline-xl-xsdu"},variantFontWeight:"--article-headline-weight",variantLetterSpacing:"--article-headline-kerning-xl",variantLineHeight:"--article-headline-leading-lg"},"legacy-article-headline-lg":{variantFontFamily:"--article-headline-font-family",variantFontSize:{default:"--article-headline-lg","lg-desktop-and-up":"--article-headline-lg-ldt","xs-desktop-and-up":"--article-headline-lg-xsdu"},variantFontWeight:"--article-headline-weight",variantLetterSpacing:"--article-headline-kerning-lg",variantLineHeight:"--article-headline-leading-lg"},"legacy-article-headline-md":{variantFontFamily:"--article-headline-font-family",variantFontSize:{default:"--article-headline-md","lg-desktop-and-up":"--article-headline-md-ldt"},variantFontWeight:"--article-headline-weight",variantLetterSpacing:"--article-headline-kerning-md",variantLineHeight:"--article-headline-leading-lg"},"legacy-article-headline-sm":{variantFontFamily:"--article-headline-font-family-sm",variantFontSize:{default:"--article-headline-sm","lg-desktop-and-up":"--article-headline-sm-ldt"},variantFontWeight:"--article-headline-weight",variantLineHeight:"--article-headline-leading-sm"},"legacy-article-headline-xs":{variantFontFamily:"--article-headline-font-family-sm",variantFontSize:"--article-headline-xs",variantFontWeight:"--article-headline-weight",variantLineHeight:"--article-headline-leading-sm"},"legacy-article-dek":{variantColor:"--article-dek-color",variantFontFamily:"--article-headline-font-family-sm",variantFontSize:"--article-dek-size",variantLineHeight:"--article-dek-line-height"},"legacy-article-body":{variantFontFamily:"--article-headline-font-family-serif",variantFontSize:{default:"--article-body-size","xs-desktop-and-up":"--article-body-size-lg"},variantLineHeight:"--article-body-line-height"},"legacy-article-label":{variantFontFamily:"--article-label-font-family",variantFontSize:"--article-label-size",variantLineHeight:"--article-label-leading"},"legacy-article-label-md":{variantFontFamily:"--article-label-font-family",variantFontSize:"--article-label-size",variantFontWeight:"--article-label-md-weight",variantLineHeight:"--article-label-leading"},"legacy-article-label-caps":{variantFontFamily:"--article-label-font-family",variantFontSize:"--article-label-size",variantLetterSpacing:"--article-label-kerning-caps",variantLineHeight:"--article-label-leading",variantTextTransform:"uppercase"},"legacy-article-label-md-caps":{variantFontFamily:"--article-label-font-family",variantFontSize:"--article-label-size",variantFontWeight:"--article-label-md-weight",variantLetterSpacing:"--article-label-kerning-caps",variantLineHeight:"--article-label-leading",variantTextTransform:"uppercase"},"legacy-core-headline-xl":{variantFontFamily:"--core-font-family",variantFontSize:"--core-headline-xl",variantFontWeight:"--core-headline-weight",variantLineHeight:"--core-headline-leading-lg"},"legacy-core-headline-lg":{variantFontFamily:"--core-font-family",variantFontSize:"--core-headline-lg",variantFontWeight:"--core-headline-weight",variantLineHeight:"--core-headline-leading-lg"},"legacy-core-headline-md":{variantFontFamily:"--core-font-family",variantFontSize:"--core-headline-md",variantFontWeight:"--core-headline-weight",variantLineHeight:"--core-headline-leading-lg"},"legacy-core-headline-sm":{variantFontFamily:"--core-font-family",variantFontSize:"--core-headline-sm",variantFontWeight:"--core-headline-weight",variantLineHeight:"--core-headline-leading-sm"},"legacy-core-headline-xs":{variantFontFamily:"--core-font-family",variantFontSize:"--core-headline-xs",variantFontWeight:"--core-headline-weight",variantLineHeight:"--core-headline-leading-sm"},"legacy-core-headline-xxs":{variantFontFamily:"--core-font-family",variantFontSize:"--core-headline-xxs",variantFontWeight:"--core-headline-weight",variantLineHeight:"--core-headline-leading-sm"},"legacy-core-subheadline-xs":{variantFontFamily:"--core-font-family",variantFontSize:"--core-headline-xs",variantFontWeight:"--core-subheadline-weight",variantLineHeight:"--core-subheadline-leading"},"legacy-core-subheadline-xxs":{variantFontFamily:"--core-font-family",variantFontSize:"--core-headline-xxs",variantFontWeight:"--core-subheadline-weight",variantLetterSpacing:"--core-subheadline-kerning-xxs",variantLineHeight:"--core-subheadline-leading",variantTextTransform:"uppercase"},"legacy-core-short-text-md":{variantFontFamily:"--core-font-family",variantFontSize:"--core-short-text-md",variantLineHeight:"--core-short-text-leading"},"legacy-core-short-text-sm":{variantFontFamily:"--core-font-family",variantFontSize:"--core-short-text-sm",variantLineHeight:"--core-short-text-leading"},"legacy-core-short-text-xs":{variantFontFamily:"--core-font-family",variantFontSize:"--core-short-text-xs",variantLineHeight:"--core-short-text-leading"},"legacy-core-short-text-xxs":{variantFontFamily:"--core-font-family",variantFontSize:"--core-short-text-xxs",variantLineHeight:"--core-short-text-leading"},"legacy-core-paragraph-md":{variantFontFamily:"--core-font-family",variantFontSize:"--core-paragraph-md",variantLineHeight:"--core-paragraph-leading"},"legacy-core-paragraph-sm":{variantFontFamily:"--core-font-family",variantFontSize:"--core-paragraph-sm",variantLineHeight:"--core-paragraph-leading"},"legacy-core-paragraph-xs":{variantFontFamily:"--core-font-family",variantFontSize:"--core-paragraph-xs",variantLineHeight:"--core-paragraph-leading"},"legacy-core-paragraph-xxs":{variantFontFamily:"--core-font-family",variantFontSize:"--core-paragraph-xxs",variantLineHeight:"--core-paragraph-leading"}},iH=e=>"var(".concat(e,")"),iV={color:e0({black:"--phx-color-core-black","gray-100":"--phx-color-core-gray-100","gray-200":"--phx-color-core-gray-200","gray-300":"--phx-color-core-gray-300","gray-400":"--phx-color-core-gray-400","gray-500":"--phx-color-core-gray-500","gray-600":"--phx-color-core-gray-600","gray-700":"--phx-color-core-gray-700","gray-800":"--phx-color-core-gray-800","gray-900":"--phx-color-core-gray-900","gray-1000":"--phx-color-core-gray-1000","green-100":"--phx-color-core-green-100","green-200":"--phx-color-core-green-200","green-300":"--phx-color-core-green-300","green-400":"--phx-color-core-green-400","green-500":"--phx-color-core-green-500","green-600":"--phx-color-core-green-600","green-700":"--phx-color-core-green-700","green-800":"--phx-color-core-green-800","green-900":"--phx-color-core-green-900",none:"--phx-color-core-none","red-100":"--phx-color-core-red-100","red-200":"--phx-color-core-red-200","red-300":"--phx-color-core-red-300","red-400":"--phx-color-core-red-400","red-500":"--phx-color-core-red-500","red-600":"--phx-color-core-red-600","red-700":"--phx-color-core-red-700","red-800":"--phx-color-core-red-800","red-900":"--phx-color-core-red-900",white:"--phx-color-core-white","yellow-100":"--phx-color-core-yellow-100","yellow-200":"--phx-color-core-yellow-200","yellow-300":"--phx-color-core-yellow-300","yellow-400":"--phx-color-core-yellow-400","yellow-500":"--phx-color-core-yellow-500","yellow-600":"--phx-color-core-yellow-600","yellow-700":"--phx-color-core-yellow-700","yellow-800":"--phx-color-core-yellow-800","yellow-900":"--phx-color-core-yellow-900","text-disabled":"--phx-color-text-disabled","text-inverted":"--phx-color-text-inverted","text-primary":"--phx-color-text-primary","text-primary-hover":"--phx-color-text-primary-hover","text-secondary":"--phx-color-text-secondary","text-tertiary":"--phx-color-text-tertiary"}),fontFamily:e0({sans:"--phx-font-core-family-sans","sans-jp":"--phx-font-core-family-sans-jp","secondary-sans":"--phx-font-core-family-secondary-sans","secondary-serif":"--phx-font-core-family-secondary-serif",serif:"--phx-font-core-family-serif","tertiary-sans":"--phx-font-core-family-tertiary-sans"}),fontSize:e0({9:"--phx-font-core-size-9",10:"--phx-font-core-size-10",12:"--phx-font-core-size-12",14:"--phx-font-core-size-14",16:"--phx-font-core-size-16",18:"--phx-font-core-size-18",20:"--phx-font-core-size-20",24:"--phx-font-core-size-24",28:"--phx-font-core-size-28",32:"--phx-font-core-size-32",36:"--phx-font-core-size-36",40:"--phx-font-core-size-40",48:"--phx-font-core-size-48",52:"--phx-font-core-size-52"}),fontWeight:e0({black:"--phx-font-core-weight-black",bold:"--phx-font-core-weight-bold",medium:"--phx-font-core-weight-medium",regular:"--phx-font-core-weight-regular",semibold:"--phx-font-core-weight-semibold"}),lineHeight:e0({100:"--phx-font-core-line-height-100",105:"--phx-font-core-line-height-105",120:"--phx-font-core-line-height-120",130:"--phx-font-core-line-height-130",150:"--phx-font-core-line-height-150",170:"--phx-font-core-line-height-170"}),variantColor:iH,variantFontFamily:iH,variantFontSize:iH,variantFontWeight:iH,variantLetterSpacing:iH,variantLineHeight:iH},iB=to("Text",(e,t)=>{let{asChild:n,children:r,color:l,decoration:i,fontFamily:o,fontSize:a,fontWeight:u,lineHeight:s,variant:c,...d}=e,{Component:f,ref:p}=n?{Component:tn.g7,ref:void 0}:{Component:"span",ref:t},v=eK("Text",iD),h=c?iz[c]:{};return ej(f,{className:(0,e8.Z)("atomics-Text-root",d.className),css:[ij.text,v],ref:p,...eQ({componentName:"Text",restProps:d,styleProps:{color:l,decoration:i,fontFamily:o,fontSize:a,fontWeight:u,lineHeight:s,...h},valueMap:iV}),children:r})});function iL(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,l=tz(),i=null!=ne(),o=ty(()=>{var e,o;return new nh({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:null!==(e=r.reference)&&void 0!==e?e:null,floatingElement:null!==(o=r.floating)&&void 0!==o?o:null,triggerElements:new rr,floatingId:l,syncOnly:!1,nested:i})}).current;return tq(()=>{let e={open:t,floatingId:l};void 0!==r.reference&&(e.referenceElement=r.reference,e.domReferenceElement=(0,tE.kK)(r.reference)?r.reference:null),void 0!==r.floating&&(e.floatingElement=r.floating),o.update(e)},[t,l,r.reference,r.floating,o]),o.context.onOpenChange=n,o.context.nested=i,o}function iW(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="rootStore"in e?e.rootStore:e,r=n.context.dataRef,{enabled:l=!0,event:i="click",toggle:o=!0,ignoreMouse:a=!1,stickIfOpen:u=!0,touchOpenDelay:s=0,reason:c=nj}=t,d=k.useRef(void 0),f=tJ(),p=tK(),v=k.useMemo(()=>({onPointerDown(e){d.current=e.pointerType},onMouseDown(e){let t=d.current,l=e.nativeEvent,v=n.select("open");if(0!==e.button||"click"===i||nf(t,!0)&&a)return;let h=r.current.openEvent,m=null==h?void 0:h.type,g=n.select("domReferenceElement")!==e.currentTarget,y=v&&g||!(v&&o&&(!h||!u||"click"===m||"mousedown"===m)),b=nT(l);if(nE(b)){let e=n_(c,l,b);y&&"touch"===t&&s>0?p.start(s,()=>{n.setOpen(!0,e)}):n.setOpen(y,e);return}let x=e.currentTarget;f.request(()=>{let e=n_(c,l,x);y&&"touch"===t&&s>0?p.start(s,()=>{n.setOpen(!0,e)}):n.setOpen(y,e)})},onClick(e){if("mousedown-only"===i)return;let t=d.current;if("mousedown"===i&&t){d.current=void 0;return}if(nf(t,!0)&&a)return;let l=n.select("open"),f=r.current.openEvent,v=n.select("domReferenceElement")!==e.currentTarget,h=l&&v||!(l&&o&&(!f||!u||np(f))),m=n_(c,e.nativeEvent,e.currentTarget);h&&"touch"===t&&s>0?p.start(s,()=>{n.setOpen(!0,m)}):n.setOpen(h,m)},onKeyDown(){d.current=void 0}}),[r,i,a,n,u,o,f,p,s,c]);return k.useMemo(()=>l?{reference:v}:t1,[l,v])}function iq(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function iU(e,t){return iq(t,e===nw||e===nS,e===nb||e===nx)}function iY(e,t,n){return iq(t,e===nS,n?e===nb:e===nx)||"Enter"===e||" "===e||""===e}function iZ(e,t){let n="rootStore"in e?e.rootStore:e,r=n.useState("open"),l=n.useState("floatingElement"),i=n.useState("domReferenceElement"),o=n.context.dataRef,{listRef:a,activeIndex:u,onNavigate:s=()=>{},enabled:c=!0,selectedIndex:d=null,allowEscape:f=!1,loopFocus:p=!1,nested:v=!1,rtl:h=!1,virtual:m=!1,focusItemOnOpen:g="auto",focusItemOnHover:y=!0,openOnArrowKeyDown:b=!0,disabledIndices:x,orientation:w="vertical",parentOrientation:S,cols:C=1,id:E,resetOnPointerLeave:R=!0,externalTree:I}=t,M=lK(nk(l)),P=ne(),A=nt(I);tq(()=>{o.current.orientation=w},[o,w]);let T=nR(i),N=k.useRef(g),O=k.useRef(null!=d?d:-1),_=k.useRef(null),F=k.useRef(!0),D=tw(e=>{s(-1===O.current?null:O.current,e)}),j=k.useRef(D),z=k.useRef(!!l),H=k.useRef(r),V=k.useRef(!1),B=k.useRef(!1),L=k.useRef(null),W=lK(x),q=lK(r),U=lK(d),Y=lK(R),Z=tw(()=>{function e(e){m?null==A||A.events.emit("virtualfocus",e):L.current=l$(e,{sync:V.current,preventScroll:!0})}let t=a.current[O.current],n=B.current;t&&e(t),(V.current?e=>e():requestAnimationFrame)(()=>{let r=a.current[O.current]||t;if(r&&(t||e(r),G&&(n||!F.current))){var l;null===(l=r.scrollIntoView)||void 0===l||l.call(r,{block:"nearest",inline:"nearest"})}})});tq(()=>{c&&(r&&l?(O.current=null!=d?d:-1,N.current&&null!=d&&(B.current=!0,D())):z.current&&(O.current=-1,j.current()))},[c,r,l,d,D]),tq(()=>{if(c){if(!r){V.current=!1;return}if(l){if(null==u){if(V.current=!1,null!=U.current)return;if(z.current&&(O.current=-1,Z()),(!H.current||!z.current)&&N.current&&(null!=_.current||!0===N.current&&null==_.current)){let e=0,t=()=>{null==a.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(O.current=null==_.current||iY(_.current,w,h)||v?rS(a):rC(a),_.current=null,D())};t()}}else rw(a.current,u)||(O.current=u,Z(),B.current=!1)}}},[c,r,l,u,U,v,a,w,h,D,Z,W]),tq(()=>{var e,t;if(!c||l||!A||m||!z.current)return;let n=A.nodesRef.current,r=null===(t=n.find(e=>e.id===P))||void 0===t?void 0:null===(e=t.context)||void 0===e?void 0:e.elements.floating,i=nP(tW(l)),o=n.some(e=>e.context&&nA(e.context.elements.floating,i));r&&!o&&F.current&&r.focus({preventScroll:!0})},[c,l,A,P,m]),tq(()=>{j.current=D,H.current=r,z.current=!!l}),tq(()=>{r||(_.current=null,N.current=g)},[r,g]);let K=null!=u,X=tw(e=>{if(!q.current)return;let t=a.current.indexOf(e.currentTarget);-1!==t&&(O.current!==t||u!==t)&&(O.current=t,D(e))}),G=k.useMemo(()=>({onFocus(e){V.current=!0,X(e)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},onMouseMove(e){V.current=!0,B.current=!1,y&&X(e)},onPointerLeave(e){var t;if(!q.current||!F.current||"touch"===e.pointerType)return;V.current=!0;let n=e.relatedTarget;if(!(!y||a.current.includes(n))&&Y.current&&(null===(t=L.current)||void 0===t||t.call(L),L.current=null,O.current=-1,D(e),!m)){let e=M.current,t=nP(tW(e));e&&nA(e,t)&&e.focus({preventScroll:!0})}}}),[X,q,M,y,a,D,Y,m]),$=k.useCallback(()=>{var e,t,n;return null!=S?S:null==A?void 0:null===(n=A.nodesRef.current.find(e=>e.id===P))||void 0===n?void 0:null===(t=n.context)||void 0===t?void 0:null===(e=t.dataRef)||void 0===e?void 0:e.current.orientation},[P,A,S]),J=tw(e=>{var t,l;if(F.current=!1,V.current=!0,229===e.which||!q.current&&e.currentTarget===M.current)return;if(v&&(t=e.key,"both"===w||"horizontal"===w&&C&&C>1?"Escape"===t:iq(w,h?t===nx:t===nb,t===nw))){iU(e.key,$())||ns(e),n.setOpen(!1,n_(nY,e.nativeEvent)),(0,tE.Re)(i)&&(m?null==A||A.events.emit("virtualfocus",i):i.focus());return}let o=O.current,u=rS(a,x),s=rC(a,x);if(T||("Home"===e.key&&(ns(e),O.current=u,D(e)),"End"===e.key&&(ns(e),O.current=s,D(e))),C>1){let t=Array.from({length:a.current.length},()=>({width:1,height:1})),n=function(e,t,n){let r=[],l=0;return e.forEach((e,i)=>{let{width:o,height:a}=e,u=!1;for(n&&(l=0);!u;){let e=[];for(let n=0;nnull==r[e])?(e.forEach(e=>{r[e]=i}),u=!0):l+=1}}),[...r]}(t,C,!1),r=n.findIndex(e=>null!=e&&!rR(a.current,e,x)),i=n.reduce((e,t,n)=>null==t||rR(a.current,t,x)?e:n,-1),o=n[function(e,t){let n,{event:r,orientation:l,loopFocus:i,onLoop:o,rtl:a,cols:u,disabledIndices:s,minIndex:c,maxIndex:d,prevIndex:f,stopEvent:p=!1}=t,v=f;if(r.key===nw?n="up":r.key===nS&&(n="down"),n){var h;let t=[],l=[],a=!1,m=0;{let n=null,r=-1;e.forEach((e,i)=>{if(null==e)return;m+=1;let o=e.closest('[role="row"]');o&&(a=!0),(o!==n||-1===r)&&(n=o,t[r+=1]=[]),t[r].push(i),l[i]=r})}let g=!1,y=0;if(a)for(let e of t){let t=e.length;t>y&&(y=t),t!==u&&(g=!0)}let b=g&&m{if(!g||-1===f)return;let a=l[f];if(null==a)return;let u=t[a].indexOf(f),c="up"===n?-1:1;for(let n=a+c,v=0;v=t.length){if(!i||b)return;if(n=n<0?t.length-1:0,o){var d,p;let e=Math.min(u,t[n].length-1);n=null!==(p=l[o(r,f,null!==(d=t[n][e])&&void 0!==d?d:t[n][0])])&&void 0!==p?p:n}}let a=t[n];for(let t=Math.min(u,a.length-1);t>=0;t-=1){let n=a[t];if(!rR(e,n,s))return n}}})(n))&&void 0!==h?h:(t=>{if(!b||-1===f)return;let n=f%x,r="up"===t?-x:x,l=d-d%x,o=(0,rb.GW)(d/x)+1;for(let t=f-n+r,a=0;ad){if(!i)return;t=t<0?l:0}let r=Math.min(t+x-1,d);for(let l=Math.min(t+n,r);l>=t;l-=1)if(!rR(e,l,s))return l}})(n);if(void 0!==w)v=w;else if(-1===f)v="up"===n?d:c;else if(v=rE(e,{startingIndex:f,amount:x,decrement:"up"===n,disabledIndices:s}),i){if("up"===n&&(f-xe?n:n-x,o&&(v=o(r,f,v))}"down"===n&&f+x>d&&(v=rE(e,{startingIndex:f%x-x,amount:x,disabledIndices:s}),o&&(v=o(r,f,v)))}rw(e,v)&&(v=f)}if("both"===l){let t=(0,rb.GW)(f/u);r.key===(a?nb:nx)&&(p&&ns(r),f%u!=u-1?(v=rE(e,{startingIndex:f,disabledIndices:s}),i&&rx(v,u,t)&&(v=rE(e,{startingIndex:f-f%u-1,disabledIndices:s}),o&&(v=o(r,f,v)))):i&&(v=rE(e,{startingIndex:f-f%u-1,disabledIndices:s}),o&&(v=o(r,f,v))),rx(v,u,t)&&(v=f)),r.key===(a?nx:nb)&&(p&&ns(r),f%u!=0?(v=rE(e,{startingIndex:f,decrement:!0,disabledIndices:s}),i&&rx(v,u,t)&&(v=rE(e,{startingIndex:f+(u-f%u),decrement:!0,disabledIndices:s}),o&&(v=o(r,f,v)))):i&&(v=rE(e,{startingIndex:f+(u-f%u),decrement:!0,disabledIndices:s}),o&&(v=o(r,f,v))),rx(v,u,t)&&(v=f));let n=(0,rb.GW)(d/u)===t;rw(e,v)&&(i&&n?(v=r.key===(a?nx:nb)?d:rE(e,{startingIndex:f-f%u-1,disabledIndices:s}),o&&(v=o(r,f,v))):v=f)}return v}(n.map(e=>null!=e?a.current[e]:null),{event:e,orientation:w,loopFocus:p,rtl:h,cols:C,disabledIndices:(l=[...("function"!=typeof x?x:null)||a.current.map((e,t)=>rR(a.current,t,x)?t:void 0),void 0],n.flatMap((e,t)=>l.includes(e)?[t]:[])),minIndex:r,maxIndex:i,prevIndex:function(e,t,n,r,l){if(-1===e)return -1;let i=n.indexOf(e),o=t[e];switch(l){case"tl":return i;case"tr":if(!o)return i;return i+o.width-1;case"bl":if(!o)return i;return i+(o.height-1)*r;case"br":return n.lastIndexOf(e);default:return -1}}(O.current>s?u:O.current,t,n,C,e.key===nS?"bl":e.key===(h?nb:nx)?"tr":"tl"),stopEvent:!0})];if(null!=o&&(O.current=o,D(e)),"both"===w)return}if(iU(e.key,w)){if(ns(e),r&&!m&&nP(e.currentTarget.ownerDocument)===e.currentTarget){O.current=iY(e.key,w,h)?u:s,D(e);return}iY(e.key,w,h)?p?o>=s?f&&o!==a.current.length?O.current=-1:(V.current=!1,O.current=u):O.current=rE(a.current,{startingIndex:o,disabledIndices:x}):O.current=Math.min(s,rE(a.current,{startingIndex:o,disabledIndices:x})):p?o<=u?f&&-1!==o?O.current=a.current.length:(V.current=!1,O.current=s):O.current=rE(a.current,{startingIndex:o,decrement:!0,disabledIndices:x}):O.current=Math.max(u,rE(a.current,{startingIndex:o,decrement:!0,disabledIndices:x})),rw(a.current,O.current)&&(O.current=-1),D(e)}}),Q=k.useMemo(()=>m&&r&&K&&{"aria-activedescendant":"".concat(E,"-").concat(u)},[m,r,K,E,u]),ee=k.useMemo(()=>({"aria-orientation":"both"===w?void 0:w,...T?{}:Q,onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&r&&!m){let t=nT(e.nativeEvent);if(t&&!nA(M.current,t))return;ns(e),n.setOpen(!1,n_(nq,e.nativeEvent)),(0,tE.Re)(i)&&i.focus();return}J(e)},onPointerMove(){F.current=!0}}),[Q,J,M,w,T,n,r,m,i]),et=k.useMemo(()=>{function e(e){"auto"===g&&nc(e.nativeEvent)&&(N.current=!m)}function t(e){N.current=g,"auto"===g&&nd(e.nativeEvent)&&(N.current=!0)}return{onKeyDown(e){var t;let r=n.select("open");F.current=!1;let l=e.key.startsWith("Arrow"),i=(t=e.key,iq($(),h?t===nb:t===nx,t===nS)),o=iU(e.key,w),u=(v?i:o)||"Enter"===e.key||""===e.key.trim();if(m&&r)return J(e);if(r||b||!l){if(u){let t=iU(e.key,$());_.current=v&&t?null:e.key}if(v){i&&(ns(e),r?(O.current=rS(a,W.current),D(e)):n.setOpen(!0,n_(nY,e.nativeEvent,e.currentTarget)));return}o&&(null!=U.current&&(O.current=U.current),ns(e),!r&&b?n.setOpen(!0,n_(nY,e.nativeEvent,e.currentTarget)):J(e),r&&D(e))}},onFocus(e){n.select("open")&&!m&&(O.current=-1,D(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[J,W,g,a,v,D,n,b,w,$,h,U,m]),en=k.useMemo(()=>({...Q,...et}),[Q,et]);return k.useMemo(()=>c?{reference:en,floating:ee,item:G,trigger:et}:{},[c,en,ee,et,G])}let iK=k.createContext(void 0),iX=k.createContext(void 0),iG=k.createContext(void 0),i$=k.createContext("");function iJ(){let e=k.useContext(iK);if(!e)throw Error(tH(22));return e}function iQ(){let e=k.useContext(iX);if(!e)throw Error(tH(23));return e}function i0(){let e=k.useContext(iG);if(!e)throw Error(tH(24));return e}function i1(){return k.useContext(i$)}let i2=(e,t)=>Object.is(e,t);function i5(e,t,n){return null==e||null==t?Object.is(e,t):n(e,t)}function i4(e,t,n){return!!e&&0!==e.length&&e.some(e=>void 0!==e&&i5(t,e,n))}function i3(e,t,n){return e&&0!==e.length?e.findIndex(e=>void 0!==e&&i5(e,t,n)):-1}function i6(e,t,n){return e.filter(e=>!i5(t,e,n))}function i8(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch(t){return String(e)}}function i9(e){return null!=e&&e.length>0&&"object"==typeof e[0]&&null!=e[0]&&"items"in e[0]}function i7(e){if(!Array.isArray(e))return null!=e&&"null"in e;if(i9(e)){for(let t of e)for(let e of t.items)if(e&&null==e.value&&null!=e.label)return!0;return!1}for(let t of e)if(t&&null==t.value&&null!=t.label)return!0;return!1}function oe(e,t){if(t&&null!=e){var n;return null!==(n=t(e))&&void 0!==n?n:""}if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return i8(e)}function ot(e,t){if(t&&null!=e){var n;return null!==(n=t(e))&&void 0!==n?n:""}return e&&"object"==typeof e&&"value"in e&&"label"in e?i8(e.value):i8(e)}function on(e,t,n){if(n&&null!=e)return n(e);if(e&&"object"==typeof e&&"label"in e&&null!=e.label)return e.label;if(t&&!Array.isArray(t)){var r;return null!==(r=t[e])&&void 0!==r?r:oe(e,n)}if(Array.isArray(t)){let r=i9(t)?t.flatMap(e=>e.items):t;if(null==e||"object"!=typeof e){let t=r.find(t=>t.value===e);return t&&null!=t.label?t.label:oe(e,n)}if("value"in e){let t=r.find(t=>t&&t.value===e.value);if(t&&null!=t.label)return t.label}}return oe(e,n)}function or(e,t,n){return e.reduce((e,r,l)=>(l>0&&e.push(", "),e.push((0,R.jsx)(k.Fragment,{children:on(r,t,n)},l)),e),[])}let ol={id:nn(e=>e.id),labelId:nn(e=>e.labelId),items:nn(e=>e.items),selectedValue:nn(e=>e.selectedValue),hasSelectionChips:nn(e=>{let t=e.selectedValue;return Array.isArray(t)&&t.length>0}),hasSelectedValue:nn(e=>{let{selectedValue:t,selectionMode:n}=e;return null!=t&&(!("multiple"===n&&Array.isArray(t))||t.length>0)}),hasNullItemLabel:nn((e,t)=>!!t&&i7(e.items)),open:nn(e=>e.open),mounted:nn(e=>e.mounted),forceMounted:nn(e=>e.forceMounted),inline:nn(e=>e.inline),activeIndex:nn(e=>e.activeIndex),selectedIndex:nn(e=>e.selectedIndex),isActive:nn((e,t)=>e.activeIndex===t),isSelected:nn((e,t)=>{let n=e.isItemEqualToValue,r=e.selectedValue;return Array.isArray(r)?r.some(e=>i5(t,e,n)):i5(t,r,n)}),transitionStatus:nn(e=>e.transitionStatus),popupProps:nn(e=>e.popupProps),inputProps:nn(e=>e.inputProps),triggerProps:nn(e=>e.triggerProps),getItemProps:nn(e=>e.getItemProps),positionerElement:nn(e=>e.positionerElement),listElement:nn(e=>e.listElement),triggerElement:nn(e=>e.triggerElement),inputElement:nn(e=>e.inputElement),inputGroupElement:nn(e=>e.inputGroupElement),popupSide:nn(e=>e.popupSide),openMethod:nn(e=>e.openMethod),inputInsidePopup:nn(e=>e.inputInsidePopup),selectionMode:nn(e=>e.selectionMode),name:nn(e=>e.name),form:nn(e=>e.form),disabled:nn(e=>e.disabled),readOnly:nn(e=>e.readOnly),required:nn(e=>e.required),grid:nn(e=>e.grid),virtualized:nn(e=>e.virtualized),itemToStringLabel:nn(e=>e.itemToStringLabel),isItemEqualToValue:nn(e=>e.isItemEqualToValue),modal:nn(e=>e.modal),autoHighlight:nn(e=>e.autoHighlight),submitOnItemClick:nn(e=>e.submitOnItemClick)},oi=((g={}).disabled="data-disabled",g.valid="data-valid",g.invalid="data-invalid",g.touched="data-touched",g.dirty="data-dirty",g.filled="data-filled",g.focused="data-focused",g),oo={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},oa={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},ou={disabled:!1,...oa},os={valid:e=>null===e?null:e?{[oi.valid]:""}:{[oi.invalid]:""}},oc=k.createContext({invalid:void 0,name:void 0,validityData:{state:oo,errors:[],error:"",value:"",initialValue:null},setValidityData:tQ,disabled:void 0,touched:oa.touched,setTouched:tQ,dirty:oa.dirty,setDirty:tQ,filled:oa.filled,setFilled:tQ,focused:oa.focused,setFocused:tQ,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:ou,markedDirtyRef:{current:!1},registerFieldControl:tQ,validation:{getValidationProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t1;return e},getInputValidationProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t1;return e},inputRef:{current:null},commit:async()=>{}}});function od(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=k.useContext(oc);if(t.setValidityData===tQ&&!e)throw Error(tH(28));return t}function of(e,t){let{enabled:n=!0,getValue:r,id:l,value:i}=t,{registerFieldControl:o}=od(),a=k.useRef(null);a.current||(a.current=Symbol()),tq(()=>{let t=a.current;if(t&&n)return o(t,{controlRef:e,getValue:r,id:l,value:i}),()=>{o(t,void 0)}},[e,n,r,l,o,i])}let op=k.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:tQ,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function ov(){return k.useContext(op)}let oh=k.createContext({controlId:void 0,registerControlId:tQ,labelId:void 0,setLabelId:tQ,messageIds:[],setMessageIds:tQ,getDescriptionProps:e=>e});function om(){return k.useContext(oh)}function og(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{id:t,implicit:n=!1,controlRef:r}=e,{controlId:l,registerControlId:i}=om(),o=id(t),a=n?l:void 0,u=ty(()=>Symbol("labelable-control")),s=k.useRef(!1),c=k.useRef(null!=t),d=tw(()=>{s.current&&i!==tQ&&(s.current=!1,i(u.current,void 0))});return tq(()=>{let e;if(i!==tQ){if(n){let n=null==r?void 0:r.current;e=(0,tE.kK)(n)&&null!=n.closest("label")?null!=t?t:null:null!=a?a:o}else if(null!=t)c.current=!0,e=t;else if(c.current)e=o;else{d();return}if(void 0===e){d();return}s.current=!0,i(u.current,e)}},[t,r,a,i,n,o,u,d]),k.useEffect(()=>d,[d]),null!=l?l:o}let oy=new Map,ob=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={usage:"search",sensitivity:"base",ignorePunctuation:!0,...e},n="".concat(function e(t){return Array.isArray(t)?t.map(t=>e(t)).join(","):null==t?"":String(t)}(e.locale),"|").concat(JSON.stringify(t)),r=oy.get(n);if(r)return r;let l=new Intl.Collator(e.locale,t),i={contains(e,t,n){if(!t)return!0;let r=oe(e,n);for(let e=0;e<=r.length-t.length;e+=1)if(0===l.compare(r.slice(e,e+t.length),t))return!0;return!1},startsWith(e,t,n){if(!t)return!0;let r=oe(e,n);return 0===l.compare(r.slice(0,t.length),t)},endsWith(e,t,n){if(!t)return!0;let r=oe(e,n),i=t.length;return r.length>=i&&0===l.compare(r.slice(r.length-i),t)}};return oy.set(n,i),i},ox=Symbol("none"),ow={value:ox,index:-1};function oS(e){let t,n,r;let{id:l,onOpenChangeComplete:i,defaultSelectedValue:o=null,selectedValue:a,onSelectedValueChange:u,defaultInputValue:s,inputValue:c,open:d,defaultOpen:f=!1,selectionMode:p="none",onItemHighlighted:v,name:h,form:m,disabled:g=!1,readOnly:y=!1,required:b=!1,inputRef:x,grid:w=!1,items:S,filteredItems:C,filter:E,openOnInputClick:I=!0,autoHighlight:M=!1,keepHighlight:P=!1,highlightItemOnHover:A=!0,loopFocus:T=!0,itemToStringLabel:N,itemToStringValue:O,isItemEqualToValue:_=i2,virtualized:F=!1,inline:D=!1,fillInputOnItemPress:j=!0,modal:z=!1,limit:H=-1,autoComplete:V="list",formAutoComplete:B,locale:L,submitOnItemClick:W=!1}=e,{clearErrors:q}=ov(),{setDirty:U,validityData:Y,shouldValidateOnChange:Z,setFilled:K,name:X,disabled:G,setTouched:$,setFocused:J,validationMode:Q,validation:ee}=od(),et=og({id:l}),en=ob({locale:L}),[er,el]=k.useState(!1),[ei,eo]=k.useState(null),ea=k.useRef([]),eu=k.useRef([]),es=k.useRef(null),ec=k.useRef(null),ed=k.useRef(null),ef=k.useRef(null),ep=k.useRef(null),ev=k.useRef(!0),eh=k.useRef(!1),em=k.useRef(null),eg=k.useRef(null),ey=k.useRef(null),eb=k.useRef(ow),ex=k.useRef(null),ew=k.useRef([]),eS=k.useRef([]),eC=G||g,eE=null!=X?X:h,eR="multiple"===p,ek="single"===p,eI=void 0!==c||void 0!==s,eM=void 0!==S,eP=void 0!==C;t="always"===M?"always":!!M&&"input-change";let[eA,eT]=tm({controlled:a,default:eR?null!=o?o:t0:o,name:"Combobox",state:"selectedValue"}),eN=k.useMemo(()=>null===E?()=>!0:void 0!==E?E:ek&&!er?(e,t)=>{if(null==e)return!1;if(!t)return!0;let n=oe(e,N),r=null!=eA?oe(eA,N):"";return!!(r&&en.contains(r,t))&&r.length===t.length||en.contains(n,t)}:(e,t)=>{if(null==e)return!1;let n=oe(e,N);return en.contains(n,t)},[E,ek,eA,er,en,N]),eO=ty(()=>eI?null!=s?s:"":ek?oe(eA,N):"").current,[e_,eF]=tm({controlled:c,default:eO,name:"Combobox",state:"inputValue"}),[eD,ej]=tm({controlled:d,default:f,name:"Combobox",state:"open"}),ez=i9(S),eH=null!=ei?ei:""===e_?"":String(e_).trim(),eV=ek?oe(eA,N):"",eB=ek&&!er&&""!==eH&&""!==eV&&eV.length===eH.length&&en.contains(eV,eH),eL=eB?"":eH,eW=eM&&eP&&eB,eq=k.useMemo(()=>S?ez?S.flatMap(e=>e.items):S:t0,[S,ez]),eU=k.useMemo(()=>{if(C&&!eW)return C;if(!S)return t0;if(ez){let e=[],t=0;for(let n of S){if(H>-1&&t>=H)break;let r=""===eL?n.items:n.items.filter(e=>eN(e,eL,N));if(0===r.length)continue;let l=H>-1?H-t:1/0,i=r.slice(0,l);if(i.length>0){let r={...n,items:i};e.push(r),t+=i.length}}return e}if(""===eL)return H>-1?eq.slice(0,H):eq;let e=[];for(let t of eq){if(H>-1&&e.length>=H)break;eN(t,eL,N)&&e.push(t)}return e},[C,eW,S,ez,eL,H,eN,N,eq]),eY=k.useMemo(()=>ez?eU.flatMap(e=>e.items):eU,[eU,ez]),eZ=ty(()=>new na({id:et,labelId:void 0,selectedValue:eA,open:eD,filter:eN,query:eH,items:S,selectionMode:p,listRef:ea,labelsRef:eu,popupRef:es,emptyRef:ep,inputRef:ec,startDismissRef:ed,endDismissRef:ef,keyboardActiveRef:ev,chipsContainerRef:em,clearRef:eg,valuesRef:ew,allValuesRef:eS,selectionEventRef:ey,name:eE,form:m,disabled:eC,readOnly:y,required:b,grid:w,isGrouped:ez,virtualized:F,openOnInputClick:I,itemToStringLabel:N,isItemEqualToValue:_,modal:z,autoHighlight:t,submitOnItemClick:W,hasInputValue:eI,mounted:!1,forceMounted:!1,transitionStatus:"idle",inline:D,activeIndex:null,selectedIndex:null,popupProps:{},inputProps:{},triggerProps:{},positionerElement:null,listElement:null,triggerElement:null,inputElement:null,inputGroupElement:null,popupSide:null,openMethod:null,inputInsidePopup:!0,onOpenChangeComplete:i||tQ,setOpen:tQ,setInputValue:tQ,setSelectedValue:tQ,setIndices:tQ,onItemHighlighted:tQ,handleSelection:tQ,getItemProps:()=>t1,forceMount:tQ,requestSubmit:tQ})).current,eK="none"===p?e_:eA,eX=k.useMemo(()=>"none"===p?eK:Array.isArray(eA)?eA.map(e=>ot(e,O)):ot(eA,O),[eK,O,p,eA]),eG=tw(v),e$=tw(i),eJ=no(eZ,ol.activeIndex,void 0,void 0,void 0),eQ=no(eZ,ol.selectedIndex,void 0,void 0,void 0),e0=no(eZ,ol.positionerElement,void 0,void 0,void 0),e1=no(eZ,ol.listElement,void 0,void 0,void 0),e2=no(eZ,ol.triggerElement,void 0,void 0,void 0),e5=no(eZ,ol.inputElement,void 0,void 0,void 0),e4=no(eZ,ol.inputGroupElement,void 0,void 0,void 0),e3=no(eZ,ol.inline,void 0,void 0,void 0),e6=no(eZ,ol.inputInsidePopup,void 0,void 0,void 0),e8=lK(e2),{mounted:e9,setMounted:e7,transitionStatus:te}=n5(eD),{openMethod:tt,triggerProps:tn}=n2(eD);of(e6?e8:ec,{id:et,value:eK,getValue:tw(()=>eX)});let tr=tw(()=>{S?eu.current=eY.map(e=>oe(e,N)):eZ.set("forceMounted",!0)}),tl=k.useRef(eA);tq(()=>{eA!==tl.current&&tr()},[tr,eA]);let ti=tw(e=>{eZ.update(e);let t=e.type||"none";if(void 0!==e.activeIndex){if(null===e.activeIndex)eb.current!==ow&&(eb.current=ow,eG(void 0,nF(t,void 0,{index:-1})));else{let n=ew.current[e.activeIndex];eb.current={value:n,index:e.activeIndex},eG(n,nF(t,void 0,{index:e.activeIndex}))}}}),to=tw((n,r)=>{var l;if(eh.current=r.reason===nW,null===(l=e.onInputValueChange)||void 0===l||l.call(e,n,r),!r.isCanceled){if(r.reason===nL){let e=r.event,l=e.inputType;if("compositionend"===e.type||null!=l&&""!==l&&"insertReplacementText"!==l){let e=""!==n.trim();e&&el(!0),ex.current={hasQuery:e},e&&t&&null==eZ.state.activeIndex&&eZ.set("activeIndex",0)}}eF(n)}}),ta=tw((t,n)=>{var r;if(eD!==t&&("escape-key"===n.reason&&eM&&0===eY.length&&!eZ.state.emptyRef.current&&n.allowPropagation(),null===(r=e.onOpenChange)||void 0===r||r.call(e,t,n),!n.isCanceled&&(!t&&er&&(ek?(e3||eo(eH),""===eH&&el(!1)):eR&&(e3||e6?ti({activeIndex:null}):eo(eH),to("",n_(nW,n.event)))),ej(t),!t&&e6&&(n.reason===nq||n.reason===nz)&&($(!0),J(!1),"onBlur"===Q)))){let e="none"===p?e_:eA;ee.commit(e)}}),tu=tw((e,t)=>{null==u||u(e,t),!t.isCanceled&&(eT(e),("none"===p&&es.current&&j||ek&&!eZ.state.inputInsidePopup)&&to(oe(e,N),n_(t.reason,t.event)),ek&&null!=e&&t.reason!==nL&&er&&!e3&&eo(eH))}),ts=tw((e,t)=>{var n,r;let l=t;if(void 0===l){if(null===eJ)return;l=ew.current[eJ]}let i=nT(e),o=null!==(r=ey.current)&&void 0!==r?r:e;ey.current=null;let a=n_(nH,o),u=null==i?void 0:null===(n=i.closest("a"))||void 0===n?void 0:n.getAttribute("href");if(u){u.startsWith("#")&&ta(!1,a);return}if(eR){let e=Array.isArray(eA)?eA:[];if(tu(i4(e,l,eZ.state.isItemEqualToValue)?i6(e,l,eZ.state.isItemEqualToValue):[...e,l],a),!(ec.current&&""!==ec.current.value.trim()))return;eZ.state.inputInsidePopup?to("",n_(nW,a.event)):ta(!1,a)}else tu(l,a),ta(!1,a)}),tc=tw(()=>{var e,t,n;if(!eZ.state.submitOnItemClick)return;let r=null!==(n=null===(e=ee.inputRef.current)||void 0===e?void 0:e.form)&&void 0!==n?n:null===(t=eZ.state.inputElement)||void 0===t?void 0:t.form;r&&"function"==typeof r.requestSubmit&&r.requestSubmit()}),td=tw(()=>{if(e7(!1),null==e$||e$(!1),el(!1),eo(null),"none"===p?ti({activeIndex:null,selectedIndex:null}):ti({activeIndex:null}),eR&&ec.current&&""!==ec.current.value&&!eh.current&&to("",n_(nW)),ek){if(eZ.state.inputInsidePopup)ec.current&&""!==ec.current.value&&to("",n_(nW));else{let e=oe(eA,N);if(ec.current&&ec.current.value!==e){let t=""===e?nW:nD;to(e,n_(t))}}}}),tf=k.useMemo(()=>e3&&e0?{current:e0.closest('[role="dialog"]')}:es,[e3,e0]);re({enabled:!e.actionsRef,open:eD,ref:tf,onComplete(){eD||td()}}),k.useImperativeHandle(e.actionsRef,()=>({unmount:td}),[td]),tq(function(){if(eD||"none"===p)return;let e=S?eq:eS.current;if(eR){let t=Array.isArray(eA)?eA:[],n=i3(e,t[t.length-1],_);ti({selectedIndex:-1===n?null:n})}else{let t=i3(e,eA,_);ti({selectedIndex:-1===t?null:t})}},[eD,eA,S,p,eq,eR,_,ti]),tq(()=>{S&&(ew.current=eY,ea.current.length=eY.length)},[S,eY]),tq(()=>{let e=ex.current;if(e&&(e.hasQuery?t&&eZ.set("activeIndex",0):"always"===t&&eZ.set("activeIndex",0),ex.current=null),!eD&&!e3)return;let n=eM||eP?eY:ew.current,r=eZ.state.activeIndex;if(null==r){if("always"===t&&n.length>0){eZ.set("activeIndex",0);return}eb.current!==ow&&(eb.current=ow,eZ.state.onItemHighlighted(void 0,nF(nD,void 0,{index:-1})));return}if(r>=n.length){eb.current!==ow&&(eb.current=ow,eZ.state.onItemHighlighted(void 0,nF(nD,void 0,{index:-1}))),eZ.set("activeIndex",null);return}let l=n[r],i=eb.current.value,o=i!==ox&&i5(l,i,eZ.state.isItemEqualToValue);eb.current.index===r&&o||(eb.current={value:l,index:r},eZ.state.onItemHighlighted(l,nF(nD,void 0,{index:r})))},[eJ,t,eP,eM,eY,e3,eD,eZ]),tq(()=>{if("none"===p){K(""!==String(e_));return}K(eR?Array.isArray(eA)&&eA.length>0:null!=eA)},[K,p,e_,eA,eR]),k.useEffect(()=>{eM&&t&&0===eY.length&&ti({activeIndex:null})},[eM,t,eY.length,ti]),n1(eH,()=>{eD&&""!==eH&&eH!==String(eO)&&el(!0)}),n1(eA,()=>{if("none"!==p&&(q(eE),U(eA!==Y.initialValue),Z()?ee.commit(eA):ee.commit(eA,!0),ek&&!eI&&!e6)){let e=oe(eA,N);e_!==e&&to(e,n_(nD))}}),n1(e_,()=>{"none"===p&&(q(eE),U(e_!==Y.initialValue),Z()?ee.commit(e_):ee.commit(e_,!0))}),n1(S,()=>{if(!ek||eI||e6||er)return;let e=oe(eA,N);e_!==e&&to(e,n_(nD))});let tp=iL({open:!!e3||eD,onOpenChange:ta,elements:{reference:e6?e2:e5,floating:e0}});e3||(n=w?"grid":"listbox",r=eD?"true":"false");let tv=k.useMemo(()=>{let e=(null==e5?void 0:e5.tagName)==="INPUT",t=null==e5||e,l=t||eD,i=t?{autoComplete:"off",spellCheck:"false",autoCorrect:"off",autoCapitalize:"none"}:{};return l&&(i.role="combobox",i["aria-expanded"]=r,i["aria-haspopup"]=n,i["aria-controls"]=eD?null==e1?void 0:e1.id:void 0,i["aria-autocomplete"]=V),{reference:i,floating:{role:"presentation"}}},[e5,eD,r,n,null==e1?void 0:e1.id,V]),{getReferenceProps:th,getFloatingProps:tg,getItemProps:tb}=nJ([tv,iW(tp,{enabled:!y&&!eC&&I,event:"mousedown-only",toggle:!1,touchOpenDelay:e6?0:100,reason:"input-press"}),n$(tp,{enabled:!y&&!eC&&!e3,outsidePressEvent:{mouse:"sloppy",touch:"intentional"},bubbles:!!e3||void 0,outsidePress(e){let t=nT(e);return!nA(e2,t)&&!nA(eg.current,t)&&!nA(em.current,t)&&!nA(e4,t)}}),iZ(tp,{enabled:!y&&!eC,id:et,listRef:ea,activeIndex:eJ,selectedIndex:eQ,virtual:!0,loopFocus:T,allowEscape:T&&!t,focusItemOnOpen:!er&&("none"!==p||!!t)&&"auto",focusItemOnHover:A,resetOnPointerLeave:!P,cols:w?2:1,orientation:w?"horizontal":void 0,disabledIndices:t0,onNavigate(e,t){(t||eD)&&"ending"!==te&&(t?ti({activeIndex:e,type:ev.current?"keyboard":"pointer"}):ti({activeIndex:e}))}})]);tL(()=>{eZ.update({inline:D,popupProps:tg(),inputProps:th(),triggerProps:tn,getItemProps:tb,setOpen:ta,setInputValue:to,setSelectedValue:tu,setIndices:ti,onItemHighlighted:eG,handleSelection:ts,forceMount:tr,requestSubmit:tc})}),tq(()=>{eZ.update({id:et,selectedValue:eA,open:eD,mounted:e9,transitionStatus:te,items:S,inline:D,popupProps:tg(),inputProps:th(),triggerProps:tn,openMethod:tt,getItemProps:tb,selectionMode:p,name:eE,form:m,disabled:eC,readOnly:y,required:b,grid:w,isGrouped:ez,virtualized:F,onOpenChangeComplete:e$,openOnInputClick:I,itemToStringLabel:N,modal:z,autoHighlight:t,isItemEqualToValue:_,submitOnItemClick:W,hasInputValue:eI,requestSubmit:tc})},[eZ,et,eA,eD,e9,te,S,tg,th,tb,tt,tn,p,eE,eC,y,b,ee,w,ez,F,e$,I,N,z,_,W,eI,D,tc,t,m]);let tx=rB(x,ee.inputRef),tS=k.useMemo(()=>({query:eH,hasItems:eM,filteredItems:eU,flatFilteredItems:eY}),[eH,eM,eU,eY]),tC=k.useMemo(()=>Array.isArray(eK)?"":ot(eK,O),[eK,O]),tE=eR&&Array.isArray(eA)&&eA.length>0,tR=eR||"none"===p?void 0:eE,tk=k.useMemo(()=>eR&&Array.isArray(eA)&&eE?eA.map(e=>{let t=ot(e,O);return(0,R.jsx)("input",{type:"hidden",form:m,name:eE,value:t},t)}):null,[eR,eA,m,eE,O]),tI=(0,R.jsxs)(k.Fragment,{children:[e.children,(0,R.jsx)("input",{...ee.getInputValidationProps({onFocus(){var e;if(e6){null==e2||e2.focus();return}null===(e=ec.current||e2)||void 0===e||e.focus()},onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.currentTarget.value,n=n_(nD,e.nativeEvent);function r(){if(eR)return;if("none"===p){U(t!==Y.initialValue),to(t,n),Z()&&ee.commit(t);return}let e=ew.current.find(e=>ot(e,O).toLowerCase()===t.toLowerCase()||oe(e,N).toLowerCase()===t.toLowerCase());null!=e&&(U(e!==Y.initialValue),null==tu||tu(e,n),Z()&&ee.commit(e))}S?r():(tr(),queueMicrotask(r))}}),id:et&&null==tR?"".concat(et,"-hidden-input"):void 0,form:m,name:tR,autoComplete:B,disabled:eC,required:b&&!tE,readOnly:y,value:tC,ref:tx,style:tR?rg:rm,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),tk]});return(0,R.jsx)(iK.Provider,{value:eZ,children:(0,R.jsx)(iX.Provider,{value:tp,children:(0,R.jsx)(iG.Provider,{value:tS,children:(0,R.jsx)(i$.Provider,{value:e_,children:tI})})})})}function oC(e){let{multiple:t=!1,defaultValue:n,value:r,onValueChange:l,autoComplete:i,...o}=e;return(0,R.jsx)(oS,{...o,selectionMode:t?"multiple":"single",selectedValue:r,defaultSelectedValue:n,onSelectedValueChange:l,formAutoComplete:i})}let oE=k.createContext(void 0),oR=k.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,l=iJ(),i=no(l,ol.mounted,void 0,void 0,void 0),o=no(l,ol.forceMounted,void 0,void 0,void 0);return i||n||o?(0,R.jsx)(oE.Provider,{value:n,children:(0,R.jsx)(ln,{ref:t,...r})}):null}),ok=k.createContext(void 0);function oI(e){let t=k.useContext(ok);if(void 0===t&&!e)throw Error(tH(21));return t}var oM=n(1371),oP=n(29545);let oA=k.createContext(void 0);function oT(){var e;let t=k.useContext(oA);return null!==(e=null==t?void 0:t.direction)&&void 0!==e?e:"ltr"}let oN=e=>({name:"arrow",options:e,async fn(t){var n,r;let{x:l,y:i,placement:o,rects:a,platform:u,elements:s,middlewareData:c}=t,{element:d,padding:f=0,offsetParent:p="real"}=(0,rb.ku)(e,t)||{};if(null==d)return{};let v=(0,rb.yd)(f),h={x:l,y:i},m=(0,rb.Wh)(o),g=(0,rb.I4)(m),y=await u.getDimensions(d),b="y"===m,x=b?"clientHeight":"clientWidth",w=a.reference[g]+a.reference[m]-h[m]-a.floating[g],S=h[m]-a.reference[m],C="real"===p?await (null===(n=u.getOffsetParent)||void 0===n?void 0:n.call(u,d)):s.floating,E=s.floating[x]||a.floating[g];E&&await (null===(r=u.isElement)||void 0===r?void 0:r.call(u,C))||(E=s.floating[x]||a.floating[g]);let R=E/2-y[g]/2-1,k=Math.min(v[b?"top":"left"],R),I=Math.min(v[b?"bottom":"right"],R),M=E-y[g]-I,P=E/2-y[g]/2+(w/2-S/2),A=(0,rb.uZ)(k,P,M),T=!c.arrow&&null!=(0,rb.hp)(o)&&P!==A&&a.reference[g]/2-(P({...oN(e),options:[e,t]}),o_={name:"hide",async fn(e){var t;let{width:n,height:r,x:l,y:i}=e.rects.reference;return{data:{referenceHidden:(null===(t=(await (0,oM.Cp)().fn(e)).data)||void 0===t?void 0:t.referenceHidden)||0===n&&0===r&&0===l&&0===i}}}},oF={sideX:"left",sideY:"top"};function oD(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function oj(e,t,n){let{rects:r,placement:l}=e;return{side:oD(t,(0,rb.k3)(l),n),align:(0,rb.hp)(l)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function oz(e){var t,n;let{anchor:r,positionMethod:l="absolute",side:i="bottom",sideOffset:o=0,align:a="center",alignOffset:u=0,collisionBoundary:s,collisionPadding:c=5,sticky:d=!1,arrowPadding:f=5,disableAnchorTracking:p=!1,keepMounted:v=!1,floatingRootContext:h,mounted:m,collisionAvoidance:g,shiftCrossAxis:y=!1,nodeId:b,adaptiveOrigin:x,lazyFlip:w=!1,externalTree:S}=e,[C,E]=k.useState(null);m||null===C||E(null);let R=g.side||"flip",I=g.align||"flip",M=g.fallbackAxisSide||"end",P="function"==typeof r?r:void 0,A=tw(P),T=P?A:r,N=lK(r),O=lK(m),_="rtl"===oT(),F=C||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":_?"left":"right","inline-start":_?"right":"left"})[i],D="center"===a?F:"".concat(F,"-").concat(a),j=c,z="bottom"===i?1:0,H="top"===i?1:0,V="right"===i?1:0,B="left"===i?1:0;"number"==typeof j?j={top:j+z,right:j+B,bottom:j+H,left:j+V}:j&&(j={top:(j.top||0)+z,right:(j.right||0)+B,bottom:(j.bottom||0)+H,left:(j.left||0)+V});let L={boundary:"clipping-ancestors"===s?"clippingAncestors":s,padding:j},W=k.useRef(null),q=lK(o),U=lK(u),Y=[(0,oM.cv)(e=>{let t=oj(e,i,_),n="function"==typeof q.current?q.current(t):q.current,r="function"==typeof U.current?U.current(t):U.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},["function"!=typeof o?o:0,"function"!=typeof u?u:0,_,i])],Z="none"===I&&"shift"!==R,K=!Z&&(d||y||"shift"===R),X="none"===R?null:(0,oM.RR)({...L,padding:{top:j.top+1,right:j.right+1,bottom:j.bottom+1,left:j.left+1},mainAxis:!y&&"flip"===R,crossAxis:"flip"===I&&"alignment",fallbackAxisSideDirection:M}),G=Z?null:(0,oM.uY)(e=>{let t=tW(e.elements.floating).documentElement;return{...L,rootBoundary:y?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:"none"!==I,crossAxis:K,limiter:d||y?void 0:(0,oM.dr)(e=>{if(!W.current)return{};let{width:t,height:n}=W.current.getBoundingClientRect(),r=(0,rb.Qq)((0,rb.k3)(e.placement)),l="y"===r?j.left+j.right:j.top+j.bottom;return{offset:("y"===r?t:n)/2+l/2}})}},[L,d,y,j,I]);"shift"===R||"shift"===I||"center"===a?Y.push(G,X):Y.push(X,G),Y.push((0,oM.dp)({...L,apply(e){let{elements:{floating:t},availableWidth:n,availableHeight:r,rects:l}=e;if(!O.current)return;let i=t.style;i.setProperty("--available-width","".concat(n,"px")),i.setProperty("--available-height","".concat(r,"px"));let o=(0,tE.Jj)(t).devicePixelRatio||1,{x:a,y:u,width:s,height:c}=l.reference;i.setProperty("--anchor-width","".concat((Math.round((a+s)*o)-Math.round(a*o))/o,"px")),i.setProperty("--anchor-height","".concat((Math.round((u+c)*o)-Math.round(u*o))/o,"px"))}}),oO(()=>({element:W.current||tW(W.current).createElement("div"),padding:f,offsetParent:"floating"}),[f]),{name:"transformOrigin",fn(e){var t,n,r;let{elements:l,middlewareData:a,placement:u,rects:s,y:c}=e,d=(0,rb.k3)(u),f=(0,rb.Qq)(d),p=W.current,v=(null===(t=a.arrow)||void 0===t?void 0:t.x)||0,h=(null===(n=a.arrow)||void 0===n?void 0:n.y)||0,m=(null==p?void 0:p.clientWidth)||0,g=(null==p?void 0:p.clientHeight)||0,y=v+m/2,b=h+g/2,x=Math.abs((null===(r=a.shift)||void 0===r?void 0:r.y)||0),w=s.reference.height/2,S="function"==typeof o?o(oj(e,i,_)):o,C=x>S,E={top:"".concat(y,"px calc(100% + ").concat(S,"px)"),bottom:"".concat(y,"px ").concat(-S,"px"),left:"calc(100% + ".concat(S,"px) ").concat(b,"px"),right:"".concat(-S,"px ").concat(b,"px")}[d],R="".concat(y,"px ").concat(s.reference.y+w-c,"px");return l.floating.style.setProperty("--transform-origin",K&&"y"===f&&C?R:E),{}}},o_,x),tq(()=>{!m&&h&&h.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[m,h]);let $=k.useMemo(()=>({elementResize:!p&&"undefined"!=typeof ResizeObserver,layoutShift:!p&&"undefined"!=typeof IntersectionObserver}),[p]),{refs:J,elements:Q,x:ee,y:et,middlewareData:en,update:er,placement:el,context:ei,isPositioned:eo,floatingStyles:ea}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{nodeId:t,externalTree:n}=e,r=iL(e),l=e.rootContext||r,i={reference:l.useState("referenceElement"),floating:l.useState("floatingElement"),domReference:l.useState("domReferenceElement")},[o,a]=k.useState(null),u=k.useRef(null),s=nt(n);tq(()=>{i.domReference&&(u.current=i.domReference)},[i.domReference]);let c=(0,oM.YF)({...e,elements:{...i,...o&&{reference:o}}}),d=k.useCallback(e=>{let t=(0,tE.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;a(t),c.refs.setReference(t)},[c.refs]),[f,p]=k.useState(void 0),[v,h]=k.useState(null);l.useSyncedValue("referenceElement",null!=f?f:null);let m=(0,tE.kK)(f)?f:null;l.useSyncedValue("domReferenceElement",void 0===f?i.domReference:m),l.useSyncedValue("floatingElement",v);let g=k.useCallback(e=>{((0,tE.kK)(e)||null===e)&&(u.current=e,p(e)),((0,tE.kK)(c.refs.reference.current)||null===c.refs.reference.current||null!==e&&!(0,tE.kK)(e))&&c.refs.setReference(e)},[c.refs,p]),y=k.useCallback(e=>{h(e),c.refs.setFloating(e)},[c.refs]),b=k.useMemo(()=>({...c.refs,setReference:g,setFloating:y,setPositionReference:d,domReference:u}),[c.refs,g,y,d]),x=k.useMemo(()=>({...c.elements,domReference:i.domReference}),[c.elements,i.domReference]),w=l.useState("open"),S=l.useState("floatingId"),C=k.useMemo(()=>({...c,dataRef:l.context.dataRef,open:w,onOpenChange:l.setOpen,events:l.context.events,floatingId:S,refs:b,elements:x,nodeId:t,rootStore:l}),[c,b,x,t,l,w,S]);return tq(()=>{l.context.dataRef.current.floatingContext=C;let e=null==s?void 0:s.nodesRef.current.find(e=>e.id===t);e&&(e.context=C)}),k.useMemo(()=>({...c,context:C,refs:b,elements:x,rootStore:l}),[c,b,x,C,l])}({rootContext:h,open:v?m:void 0,placement:D,middleware:Y,strategy:l,whileElementsMounted:v?void 0:function(){for(var e=arguments.length,t=Array(e),n=0;n{let e=x?{position:ec,[eu]:ee,[es]:et}:{position:ec,...ea};return eo||(e.opacity=0),e},[x,ec,eu,ee,es,et,ea,eo]),ef=k.useRef(null);tq(()=>{if(!m)return;let e=N.current,t="function"==typeof e?e():e,n=(oH(t)?t.current:t)||null;n!==ef.current&&(J.setPositionReference(n),ef.current=n)},[m,J,T,N]),k.useEffect(()=>{if(!m)return;let e=N.current;"function"!=typeof e&&oH(e)&&e.current!==ef.current&&(J.setPositionReference(e.current),ef.current=e.current)},[m,J,T,N]),k.useEffect(()=>{if(v&&m&&Q.domReference&&Q.floating)return(0,oP.Me)(Q.domReference,Q.floating,er,$)},[v,m,Q,er,$]);let ep=(0,rb.k3)(el),ev=oD(i,ep,_),eh=(0,rb.hp)(el)||"center",em=!!(null===(t=en.hide)||void 0===t?void 0:t.referenceHidden);tq(()=>{w&&m&&eo&&E(ep)},[w,m,eo,ep]);let eg=k.useMemo(()=>{var e,t;return{position:"absolute",top:null===(e=en.arrow)||void 0===e?void 0:e.y,left:null===(t=en.arrow)||void 0===t?void 0:t.x}},[en.arrow]),ey=(null===(n=en.arrow)||void 0===n?void 0:n.centerOffset)!==0;return k.useMemo(()=>({positionerStyles:ed,arrowStyles:eg,arrowRef:W,arrowUncentered:ey,side:ev,align:eh,physicalSide:ep,anchorHidden:em,refs:J,context:ei,isPositioned:eo,update:er}),[ed,eg,W,ey,ev,eh,ep,em,J,ei,eo,er])}function oH(e){return null!=e&&"current"in e}function oV(e){return"starting"===e?r3:t1}function oB(e,t,n){let{styles:r,transitionStatus:l,props:i,refs:o,hidden:a,inert:u=!1}=n,s={...r};return u&&(s.pointerEvents="none"),r5("div",e,{state:t,ref:o,props:[{role:"presentation",hidden:a,style:s},oV(l),i],stateAttributesMapping:lh})}function oL(e,t,n,r){let[l,i]=k.useState(!1);tq(()=>{if(!e||!t||null==n){i(!1);return}let r=tW(n).documentElement.clientWidth,l=n.offsetWidth;i(r>0&&l>0&&l>=r-20)},[e,t,n]),t8(e&&(!t||l),r)}let oW=k.forwardRef(function(e,t){var n;let{render:r,className:l,anchor:i,positionMethod:o="absolute",side:a="bottom",align:u="center",sideOffset:s=0,alignOffset:c=0,collisionBoundary:d="clipping-ancestors",collisionPadding:f=5,arrowPadding:p=5,sticky:v=!1,disableAnchorTracking:h=!1,collisionAvoidance:m=r8,style:g,...y}=e,b=iJ(),{filteredItems:x}=i0(),w=iQ(),S=function(){let e=k.useContext(oE);if(void 0===e)throw Error(tH(20));return e}(),C=no(b,ol.modal,void 0,void 0,void 0),E=no(b,ol.open,void 0,void 0,void 0),I=no(b,ol.mounted,void 0,void 0,void 0),M=no(b,ol.openMethod,void 0,void 0,void 0),P=no(b,ol.positionerElement,void 0,void 0,void 0),A=no(b,ol.triggerElement,void 0,void 0,void 0),T=no(b,ol.inputElement,void 0,void 0,void 0),N=no(b,ol.inputGroupElement,void 0,void 0,void 0),O=no(b,ol.inputInsidePopup,void 0,void 0,void 0),_=no(b,ol.transitionStatus,void 0,void 0,void 0),F=0===x.length,D=oz({anchor:null!=i?i:O?A:null!=N?N:T,floatingRootContext:w,positionMethod:o,mounted:I,side:a,sideOffset:s,align:u,alignOffset:c,arrowPadding:p,collisionBoundary:d,collisionPadding:f,sticky:v,disableAnchorTracking:h,keepMounted:S,collisionAvoidance:m,lazyFlip:!0});oL(E&&C,"touch"===M,P,A);let j={open:E,side:D.side,align:D.align,anchorHidden:D.anchorHidden,empty:F};tq(()=>{b.set("popupSide",D.side)},[b,D.side]);let z=tw(e=>{b.set("positionerElement",e)}),H=oB(e,j,{styles:D.positionerStyles,transitionStatus:_,props:y,refs:[t,z],hidden:!I,inert:!E});return(0,R.jsxs)(ok.Provider,{value:D,children:[I&&C&&(0,R.jsx)(li,{inert:rv(!E),cutout:null!==(n=null!=N?N:T)&&void 0!==n?n:A}),H]})}),oq=k.forwardRef(function(e,t){let n=iJ(),{buttonRef:r,getButtonProps:l}=im({native:!1}),i=rB(t,r),o=l({onClick:tw(e=>{n.state.setOpen(!1,n_(nV,e.nativeEvent,e.currentTarget))})});return(0,R.jsx)("span",{ref:i,...o,"aria-label":"Dismiss",tabIndex:void 0,style:rg})}),oU={...lh,...n7},oY=k.forwardRef(function(e,t){let n;let{render:r,className:l,style:i,initialFocus:o,finalFocus:a,...u}=e,s=iJ(),c=oI(),d=iQ(),{filteredItems:f}=i0(),p=no(s,ol.mounted,void 0,void 0,void 0),v=no(s,ol.open,void 0,void 0,void 0),h=no(s,ol.openMethod,void 0,void 0,void 0),m=no(s,ol.transitionStatus,void 0,void 0,void 0),g=no(s,ol.inputInsidePopup,void 0,void 0,void 0),y=no(s,ol.inputElement,void 0,void 0,void 0),b=no(s,ol.modal,void 0,void 0,void 0),x=0===f.length;re({open:v,ref:s.state.popupRef,onComplete(){v&&s.state.onOpenChangeComplete(!0)}});let w=r5("div",e,{state:{open:v,side:c.side,align:c.align,anchorHidden:c.anchorHidden,transitionStatus:m,empty:x},ref:[t,s.state.popupRef],props:[{role:g?"dialog":"presentation",tabIndex:-1,onFocus(e){let t=nT(e.nativeEvent);if("touch"!==h&&(nA(s.state.listElement,t)||t===e.currentTarget)){var n;null===(n=s.state.inputRef.current)||void 0===n||n.focus()}}},oV(m),u],stateAttributesMapping:oU}),S=!!g&&(e=>"touch"===e?s.state.popupRef.current:y);n=null!=a?a:!!g&&void 0;let C=!g||b;return(0,R.jsx)(it,{context:d,disabled:!p,modal:C,openInteractionType:h,initialFocus:void 0===o?S:o,returnFocus:n,getInsideElements:()=>[s.state.startDismissRef.current,s.state.endDismissRef.current],children:(0,R.jsxs)(k.Fragment,{children:[w,C&&(0,R.jsx)(oq,{ref:s.state.endDismissRef})]})})}),oZ=k.createContext({legendId:void 0,setLegendId:()=>{},disabled:void 0}),oK=function(e){let t=id(),n=void 0===e.controlId?t:e.controlId,[r,l]=k.useState(n),[i,o]=k.useState(e.labelId),[a,u]=k.useState([]),s=ty(()=>new Map),{messageIds:c}=om(),d=tw((e,t)=>{let n=s.current;if(void 0===t){n.delete(e);return}n.set(e,t),l(e=>{let t;if(0!==n.size){for(let r of n.values()){if(void 0!==e&&r===e)return e;void 0===t&&(t=r)}return t}})}),f=k.useCallback(e=>rZ({"aria-describedby":c.concat(a).join(" ")||void 0},e),[c,a]),p=k.useMemo(()=>({controlId:r,registerControlId:d,labelId:i,setLabelId:o,messageIds:a,setMessageIds:u,getDescriptionProps:f}),[r,d,i,o,a,u,f]);return(0,R.jsx)(oh.Provider,{value:p,children:e.children})};function oX(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}let oG=Object.keys(oo),o$=k.forwardRef(function(e,t){let{errors:n,validationMode:r,submitAttemptedRef:l}=ov(),{render:i,className:o,validate:a,validationDebounceTime:u=0,validationMode:s=r,name:c,disabled:d=!1,invalid:f,dirty:p,touched:v,actionsRef:h,style:m,...g}=e,{disabled:y}=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=k.useContext(oZ);if(!t&&!e)throw Error(tH(86));return t}(),b=tw(a||(()=>null)),x=y||d,[w,S]=k.useState(!1),[C,E]=k.useState(!1),[I,M]=k.useState(!1),[P,A]=k.useState(!1),T=null!=p?p:C,N=null!=v?v:w,O=k.useRef(!1),_=tw(e=>{void 0===p&&(e&&(O.current=!0),E(e))}),F=tw(e=>{void 0===v&&S(e)}),D=tw(()=>"onChange"===s||"onSubmit"===s&&l.current),j=!!c&&Object.hasOwn(n,c)&&void 0!==n[c],z=!0===f||j,[H,V]=k.useState({state:oo,error:"",errors:[],value:null,initialValue:null}),B=!z&&H.state.valid,L=k.useMemo(()=>({disabled:x,touched:N,dirty:T,valid:B,filled:I,focused:P}),[x,N,T,B,I,P]),W=function(e){let{formRef:t,clearErrors:n}=ov(),{setValidityData:r,validate:l,validityData:i,validationDebounceTime:o,invalid:a,markedDirtyRef:u,state:s,name:c,shouldValidateOnChange:d}=e,{controlId:f,getDescriptionProps:p}=om(),v=tK(),h=k.useRef(null),m=tw(async function(e){let n,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=h.current;if(!c)return;if(o){if(!1!==s.valid)return;let n=c.validity;if(!n.valueMissing){let n={value:e,state:{...oo,valid:!0},error:"",errors:[],initialValue:i.initialValue};if(c.setCustomValidity(""),f){let e=t.current.fields.get(f);e&&t.current.fields.set(f,{...e,...oX(n,!1)})}r(n);return}let l=oG.reduce((e,t)=>(e[t]=n[t],e),{});if(!l.valid&&!function(e){if(!e||e.valid||!e.valueMissing)return!1;let t=!1;for(let n of oG)"valid"!==n&&("valueMissing"===n&&(t=e[n]),e[n]&&(t=!1));return t}(l))return}v.clear();let p=null,m=[],g=function(e){let t=oG.reduce((t,n)=>(t[n]=e.validity[n],t),{}),n=!1;for(let e of oG)if("valid"!==e){if("valueMissing"===e&&t[e])n=!0;else if(t[e])return t}return n&&!u.current&&(t.valid=!0,t.valueMissing=!1),t}(c),y=d();if(c.validationMessage&&!y)n=c.validationMessage,m=[c.validationMessage];else{let r=l(e,Array.from(t.current.fields.values()).reduce((e,t)=>(t.name&&(e[t.name]=t.getValue()),e),{}));null!==(p="object"==typeof r&&null!==r&&"then"in r?await r:r)?(g.valid=!1,g.customError=!0,Array.isArray(p)?(m=p,c.setCustomValidity(p.join("\n"))):p&&(m=[p],c.setCustomValidity(p))):y&&(c.setCustomValidity(""),g.customError=!1,c.validationMessage?(n=c.validationMessage,m=[c.validationMessage]):c.validity.valid&&!g.valid&&(g.valid=!0))}let b={value:e,state:g,error:null!=n?n:Array.isArray(p)?p[0]:null!=p?p:"",errors:m,initialValue:i.initialValue};if(f){let e=t.current.fields.get(f);e&&t.current.fields.set(f,{...e,...oX(b,a)})}r(b)}),g=k.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return rZ(p,!1===s.valid?{"aria-invalid":!0}:t1,e)},[p,s.valid]),y=k.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return rZ({onChange(e){if(e.nativeEvent.defaultPrevented)return;if(n(c),!d()){m(e.currentTarget.value,!0);return}let t=e.currentTarget;if(""===t.value){m(t.value);return}v.clear(),o?v.start(o,()=>{m(t.value)}):m(t.value)}},g(e))},[g,n,c,v,m,o,d]);return k.useMemo(()=>({getValidationProps:g,getInputValidationProps:y,inputRef:h,commit:m}),[g,y,m])}({setValidityData:V,validate:b,validityData:H,validationDebounceTime:u,invalid:z,markedDirtyRef:O,state:L,name:c,shouldValidateOnChange:D}),q=k.useCallback(()=>{O.current=!0,W.commit(H.value)},[W,H]),U=function(e){let{commit:t,invalid:n,markedDirtyRef:r,name:l,setValidityData:i,validityData:o}=e,{formRef:a}=ov(),u=k.useRef(null),s=k.useRef(null),c=k.useRef(null),d=tw(()=>{let e=s.current;return e?e.getValue?e.getValue():e.value:void 0}),f=tw(function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=s.current;if(!n)return;let l=n.value;void 0===l&&(l=d()),r.current=!0,e?n4.flushSync(()=>t(l)):t(l)});function p(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=s.current)||void 0===e?void 0:e.id;t&&a.current.fields.delete(t)}return tq(()=>{var e;let t=s.current;t&&t.id&&a.current.fields.set(t.id,{getValue:d,name:l,controlRef:null!==(e=t.controlRef)&&void 0!==e?e:c,validityData:oX(o,n),validate:f})},[a,d,n,l,f,o]),tq(()=>{let e=a.current.fields;return()=>{var t;let n=null===(t=s.current)||void 0===t?void 0:t.id;n&&e.delete(n)}},[a]),tw((e,t)=>{var r;if(!t){u.current===e&&(u.current=null,p(),s.current=null);return}let v=null===(r=s.current)||void 0===r?void 0:r.id;u.current=e,s.current=t,v&&v!==t.id&&p(v),function(){let e=s.current;if(!e)return;let t=e.value;void 0===t&&(t=d()),null===o.initialValue&&null!==t&&i(e=>({...e,initialValue:t}))}(),function(){var e;let t=s.current;t&&t.id&&a.current.fields.set(t.id,{getValue:d,name:l,controlRef:null!==(e=t.controlRef)&&void 0!==e?e:c,validityData:oX(o,n),validate:f})}()})}({commit:W.commit,invalid:z,markedDirtyRef:O,name:c,setValidityData:V,validityData:H});k.useImperativeHandle(h,()=>({validate:q}),[q]);let Y=k.useMemo(()=>({invalid:z,name:c,validityData:H,setValidityData:V,disabled:x,touched:N,setTouched:F,dirty:T,setDirty:_,filled:I,setFilled:M,focused:P,setFocused:A,validate:b,validationMode:s,validationDebounceTime:u,shouldValidateOnChange:D,state:L,markedDirtyRef:O,registerFieldControl:U,validation:W}),[z,c,H,x,N,F,T,_,I,M,P,A,b,s,u,D,L,U,W]),Z=r5("div",e,{ref:t,state:L,props:g,stateAttributesMapping:os});return(0,R.jsx)(oc.Provider,{value:Y,children:Z})}),oJ=k.forwardRef(function(e,t){return(0,R.jsx)(oK,{children:(0,R.jsx)(o$,{...e,ref:t})})}),oQ=k.forwardRef(function(e,t){let{render:n,className:r,style:l,id:i,nativeLabel:o=!0,...a}=e,u=od(!1),{labelId:s}=om(),c=k.useRef(null),d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{id:t,fallbackControlId:n,native:r=!1,setLabelId:l,focusControl:i}=e,{controlId:o,setLabelId:a}=om(),u=function(e,t){let n=id(e);return tq(()=>(t(n),()=>{t(void 0)}),[n,t]),n}(t,tw(e=>{a(e),null==l||l(e)})),s=null!=o?o:n;function c(e){let t=nT(e.nativeEvent);(null==t||!t.closest("button,input,select,textarea"))&&(!e.defaultPrevented&&e.detail>1&&e.preventDefault(),r||function(e){if(i){i(e,s);return}if(!s)return;let t=tW(e.currentTarget).getElementById(s);(0,tE.Re)(t)&&function(e){e.focus({focusVisible:!0})}(t)}(e))}return r?{id:u,htmlFor:null!=s?s:void 0,onMouseDown:c}:{id:u,onClick:c,onPointerDown(e){e.preventDefault()}}}({id:null!=s?s:i,native:o});return r5("label",e,{ref:[t,c],state:u.state,props:[d,a],stateAttributesMapping:os})}),o0={...os,...n7},o1=k.forwardRef(function(e,t){let{render:n,id:r,className:l,match:i,style:o,...a}=e,u=id(r),{validityData:s,state:c,name:d}=od(!1),{setMessageIds:f}=om(),{errors:p}=ov(),v=d?p[d]:null,h="string"==typeof i,m=!1,{mounted:g,transitionStatus:y,setMounted:b}=n5(m=!0===i||(h?!!s.state[i]:!!v||!1===s.state.valid));tq(()=>{if(m&&u)return f(e=>e.concat(u)),()=>{f(e=>e.filter(e=>e!==u))}},[m,u,f]);let x=k.useRef(null),[w,S]=k.useState(null),[C,E]=k.useState(null),I=s.errors.length>1?(0,R.jsx)("ul",{children:s.errors.map(e=>(0,R.jsx)("li",{children:e},e))}):s.error,M=h?I:v||I,P=s.error;null!=v?P=Array.isArray(v)?JSON.stringify(v):v:s.errors.length>1&&(P=JSON.stringify(s.errors)),m&&P!==C&&(E(P),S(M)),re({open:m,ref:x,onComplete(){m||b(!1)}});let A=r5("div",e,{ref:[t,x],state:{...c,transitionStatus:y},props:[{id:u,children:m?M:w},a],stateAttributesMapping:o0,enabled:g});return g?A:null});var o2=n(9914),o5=n.n(o2);let o4={...lv,...os,popupSide:e=>e?{"data-popup-side":e}:null,listEmpty:e=>e?{"data-list-empty":""}:null};function o3(e){let t=e.getBoundingClientRect(),n=(0,tE.Jj)(e),r=n.getComputedStyle(e,"::before"),l=n.getComputedStyle(e,"::after");if(!("none"!==r.content||"none"!==l.content))return t;let i=parseFloat(r.width)||0,o=parseFloat(r.height)||0,a=parseFloat(l.width)||0,u=parseFloat(l.height)||0,s=Math.max(t.width,i,a),c=Math.max(t.height,o,u),d=s-t.width,f=c-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-f/2,bottom:t.bottom+f/2}}function o6(e,t){var n;let r="rootStore"in e?e.rootStore:e,l=r.context.dataRef,i=r.useState("open"),{listRef:o,elementsRef:a,activeIndex:u,onMatch:s,onTypingChange:c,enabled:d=!0,resetMs:f=750,selectedIndex:p=null}=t,v=tK(),h=k.useRef(""),m=k.useRef(null!==(n=null!=p?p:u)&&void 0!==n?n:-1),g=k.useRef(null);tq(()=>{(i||null===p)&&(v.clear(),g.current=null,""!==h.current&&(h.current=""))},[i,p,v]),tq(()=>{if(i&&""===h.current){var e;m.current=null!==(e=null!=p?p:u)&&void 0!==e?e:-1}},[i,p,u]);let y=tw(e=>{e?l.current.typing||(l.current.typing=e,null==c||c(e)):l.current.typing&&(l.current.typing=e,null==c||c(e))}),b=tw(e=>{var t,n;function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===e.length)return -1;let r=(n%e.length+e.length)%e.length,l=t.toLocaleLowerCase();for(let t=0;t0&&" "===e.key&&(ns(e),y(!0)),h.current.length>0&&" "!==h.current[0]&&-1===r(l,h.current)&&" "!==e.key&&y(!1),null==l||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;i&&" "!==e.key&&(ns(e),y(!0));let c=""===h.current;c&&(m.current=null!==(t=null!=p?p:u)&&void 0!==t?t:-1),l.every(e=>{var t,n;return!e||(null===(t=e[0])||void 0===t?void 0:t.toLocaleLowerCase())!==(null===(n=e[1])||void 0===n?void 0:n.toLocaleLowerCase())})&&h.current===e.key&&(h.current="",m.current=g.current),h.current+=e.key,v.start(f,()=>{h.current="",m.current=g.current,y(!1)});let d=c?null!==(n=null!=p?p:u)&&void 0!==n?n:-1:m.current,b=r(l,h.current,(null!=d?d:0)+1);-1!==b?(null==s||s(b),g.current=b):" "!==e.key&&(h.current="",y(!1))}),x=tw(e=>{let t=e.relatedTarget,n=r.select("domReferenceElement"),l=r.select("floatingElement"),i=nA(n,t),o=nA(l,t);i||o||(v.clear(),h.current="",m.current=g.current,y(!1))}),w=k.useMemo(()=>({onKeyDown:b,onBlur:x}),[b,x]),S=k.useMemo(()=>({onKeyDown:b,onBlur:x}),[b,x]);return k.useMemo(()=>d?{reference:w,floating:S}:{},[d,w,S])}function o8(e,t){return null!=e?e:t}let o9=k.forwardRef(function(e,t){let{render:n,className:r,nativeButton:l=!0,disabled:i=!1,id:o,style:a,...u}=e,{state:s,disabled:c,setTouched:d,setFocused:f,validationMode:p,validation:v}=od(),{labelId:h}=om(),m=iJ(),{filteredItems:g}=i0(),y=no(m,ol.selectionMode,void 0,void 0,void 0),b=no(m,ol.disabled,void 0,void 0,void 0),x=no(m,ol.readOnly,void 0,void 0,void 0),w=no(m,ol.required,void 0,void 0,void 0),S=no(m,ol.mounted,void 0,void 0,void 0),C=no(m,ol.popupSide,void 0,void 0,void 0),E=no(m,ol.positionerElement,void 0,void 0,void 0),R=no(m,ol.listElement,void 0,void 0,void 0),I=no(m,ol.triggerProps,void 0,void 0,void 0),M=no(m,ol.triggerElement,void 0,void 0,void 0),P=no(m,ol.inputInsidePopup,void 0,void 0,void 0),A=no(m,ol.id,void 0,void 0,void 0),T=no(m,ol.labelId,void 0,void 0,void 0),N=no(m,ol.open,void 0,void 0,void 0),O=no(m,ol.selectedValue,void 0,void 0,void 0),_=no(m,ol.activeIndex,void 0,void 0,void 0),F=no(m,ol.selectedIndex,void 0,void 0,void 0),D=no(m,ol.hasSelectedValue,void 0,void 0,void 0),j=iQ(),z=i1(),H=tK(),V=c||b||i,B=0===g.length;og({id:P?o:void 0});let L=P?null!=o?o:A:o,W=o8(h,T),q=k.useRef("");function U(e){q.current=e.pointerType}let Y=j.useState("domReferenceElement");k.useEffect(()=>{P&&M&&M!==Y&&j.set("domReferenceElement",M)},[M,Y,j,P]);let{reference:Z}=o6(j,{enabled:!N&&!x&&!b&&"single"===y,listRef:m.state.labelsRef,activeIndex:_,selectedIndex:F,onMatch(e){let t=m.state.valuesRef.current[e];void 0!==t&&m.state.setSelectedValue(t,n_("none"))}}),{reference:K}=iW(j,{enabled:!x&&!b,event:"mousedown"}),{buttonRef:X,getButtonProps:G}=im({native:l,disabled:V}),$={...s,open:N,disabled:V,popupSide:S&&E?C:null,listEmpty:B,placeholder:"none"!==y&&!D};return r5("button",e,{ref:[t,X,tw(e=>{m.set("triggerElement",e)})],state:$,props:[I,K,Z,{id:L,tabIndex:P?0:-1,role:P?"combobox":void 0,"aria-expanded":N?"true":"false","aria-haspopup":P?"dialog":"listbox","aria-controls":N?null==R?void 0:R.id:void 0,"aria-required":P&&w||void 0,"aria-labelledby":W,onPointerDown:U,onPointerEnter:U,onFocus(){f(!0),V||x||H.start(0,m.state.forceMount)},onBlur(e){nA(E,e.relatedTarget)||(d(!0),f(!1),"onBlur"===p&&v.commit("none"===y?z:O))},onMouseDown(e){if(V||x)return;if(P||j.set("domReferenceElement",e.currentTarget),m.state.forceMount(),"touch"!==q.current){var t;null===(t=m.state.inputRef.current)||void 0===t||t.focus(),P||e.preventDefault()}if(N)return;let n=tW(e.currentTarget);P&&n.addEventListener("mouseup",function(e){if(!M)return;let t=nT(e),n=m.state.positionerElement,r=m.state.listElement;if(nA(M,t)||nA(n,t)||nA(r,t)||t===M)return;let l=o3(M),i=e.clientX>=l.left-2&&e.clientX<=l.right+2,o=e.clientY>=l.top-2&&e.clientY<=l.bottom+2;i&&o||m.state.setOpen(!1,n_("cancel-open",e))},{once:!0})},onKeyDown(e){if(!V&&!x&&("ArrowDown"===e.key||"ArrowUp"===e.key)){var t;ns(e),m.state.setOpen(!0,n_(nY,e.nativeEvent)),null===(t=m.state.inputRef.current)||void 0===t||t.focus()}}},v?v.getValidationProps(u):u,G],stateAttributesMapping:o4})});function o7(e){let{children:t,placeholder:n}=e,r=iJ(),l=no(r,ol.itemToStringLabel,void 0,void 0,void 0),i=no(r,ol.selectedValue,void 0,void 0,void 0),o=no(r,ol.items,void 0,void 0,void 0),a="multiple"===no(r,ol.selectionMode,void 0,void 0,void 0),u=no(r,ol.hasSelectedValue,void 0,void 0,void 0),s=no(r,ol.hasNullItemLabel,!u&&null!=n&&null==t,void 0,void 0),c=null;return c="function"==typeof t?t(i):null!=t?t:u||null==n||s?a&&Array.isArray(i)?or(i,o,l):on(i,o,l):n,(0,R.jsx)(k.Fragment,{children:c})}let ae=e=>{let{disabled:t,labelId:n,labelText:r,renderSelectedLabels:l}=e;return ej(i_,{align:"center",asChild:!0,gap:8,children:ez(o9,{"aria-labelledby":n,className:o5().trigger,disabled:t,children:[ej(i_.Item,{asChild:!0,grow:1,children:ej("span",{className:o5().value,children:ej(o7,{placeholder:r,children:l})})}),ej(i_.Item,{asChild:!0,shrink:0,children:ej(i_,{align:"center",asChild:!0,children:ej("span",{className:o5().chevron,children:ej(ix.Wd,{height:20,width:20})})})})]})})};var at=n(66303),an=n.n(at);let ar=(0,k.forwardRef)((e,t)=>{let{children:n,className:r,disabled:l,endAdornment:i,highlighted:o,selected:a,...u}=e,s=(0,e8.Z)("atomics-MenuItem-root",an().menuItem,r);return ez(eD,{children:[ej(iB,{asChild:!0,color:l?"text-disabled":"text-primary",fontFamily:"sans",fontSize:14,fontWeight:a?"bold":void 0,lineHeight:130,children:ez(i_,{align:"center",className:s,"data-disabled":l||void 0,"data-highlighted":o||void 0,"data-selected":a||void 0,gap:8,justify:"space-between",ref:t,...u,children:[n,i]})}),ej(iB,{asChild:!0,fontFamily:"sans",fontSize:14,fontWeight:"bold",lineHeight:130,children:ez(i_,{align:"center","aria-hidden":"true",className:(0,e8.Z)(s,an().menuItemSpacer),"data-disabled":"",gap:8,justify:"space-between",children:[n,i]})})]})});ar.displayName="MenuItem";let al=(0,k.forwardRef)((e,t)=>{let{ItemIndicator:n,disabled:r,endAdornment:l,highlighted:i,item:o,keepItemIndicatorMounted:a=!1,selected:u,...s}=e;return ej(ar,{...s,disabled:r,endAdornment:ej(n,{keepMounted:a,children:null!=l?l:ej(ix.Jr,{height:16,width:16})}),highlighted:i,ref:t,selected:u,children:ez(i_,{direction:"column",gap:4,children:[ej("span",{children:o.label}),o.sublabel&&ej(iB,{color:"text-secondary",fontSize:12,children:o.sublabel})]})})}),ai=k.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}}),ao=((y={})[y.None=0]="None",y[y.GuessFromOrder=1]="GuessFromOrder",y);function aa(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{label:t,metadata:n,textRef:r,indexGuessBehavior:l,index:i}=e,{register:o,unregister:a,subscribeMapChange:u,elementsRef:s,labelsRef:c,nextIndexRef:d}=k.useContext(ai),f=k.useRef(-1),[p,v]=k.useState(null!=i?i:l===ao.GuessFromOrder?()=>{if(-1===f.current){let e=d.current;d.current+=1,f.current=e}return f.current}:-1),h=k.useRef(null),m=k.useCallback(e=>{if(h.current=e,-1!==p&&null!==e&&(s.current[p]=e,c)){var n,l;let i=void 0!==t;c.current[p]=i?t:null!==(l=null==r?void 0:null===(n=r.current)||void 0===n?void 0:n.textContent)&&void 0!==l?l:e.textContent}},[p,s,c,t,r]);return tq(()=>{if(null!=i)return;let e=h.current;if(e)return o(e,n),()=>{a(e)}},[i,o,a,n]),tq(()=>{if(null==i)return u(e=>{var t;let n=h.current?null===(t=e.get(h.current))||void 0===t?void 0:t.index:null;null!=n&&v(n)})},[i,u,v]),k.useMemo(()=>({ref:m,index:p}),[p,m])}let au=k.createContext(void 0);function as(){let e=k.useContext(au);if(!e)throw Error(tH(19));return e}let ac=k.createContext(!1),ad=k.memo(k.forwardRef(function(e,t){let{render:n,className:r,value:l=null,index:i,disabled:o=!1,nativeButton:a=!1,style:u,...s}=e,c=k.useRef(!1),d=k.useRef(null),f=aa({index:i,textRef:d,indexGuessBehavior:ao.GuessFromOrder}),p=iJ(),v=k.useContext(ac),{flatFilteredItems:h,hasItems:m}=i0(),g=no(p,ol.open,void 0,void 0,void 0),y=no(p,ol.selectionMode,void 0,void 0,void 0),b=no(p,ol.readOnly,void 0,void 0,void 0),x=no(p,ol.virtualized,void 0,void 0,void 0),w=no(p,ol.isItemEqualToValue,void 0,void 0,void 0),S="none"!==y,C=null!=i?i:x?i3(h,l,w):f.index,E=-1!==f.index,I=no(p,ol.id,void 0,void 0,void 0),M=no(p,ol.isActive,C,void 0,void 0),P=no(p,ol.isSelected,l,void 0,void 0),A=no(p,ol.getItemProps,void 0,void 0,void 0),T=k.useRef(null),N=null!=I&&E?"".concat(I,"-").concat(C):void 0,O=P&&S;tq(()=>{if(!(E&&(x||null!=i)))return;let e=p.state.listRef.current;return e[C]=T.current,()=>{delete e[C]}},[E,x,C,i,p]),tq(()=>{if(!E||m)return;let e=p.state.valuesRef.current;return e[C]=l,"none"!==y&&p.state.allValuesRef.current.push(l),()=>{delete e[C]}},[E,m,C,l,p,y]),tq(()=>{if(!g){c.current=!1;return}if(!E||m)return;let e=p.state.selectedValue;i5(l,Array.isArray(e)?e[e.length-1]:e,w)&&p.set("selectedIndex",C)},[E,m,g,p,C,l,w]);let _=A({active:M,selected:O});_.id=void 0,_.onFocus=void 0;let{getButtonProps:F,buttonRef:D}=im({disabled:o,focusableWhenDisabled:!0,native:a,composite:!0});function j(e){function t(){p.state.handleSelection(e,l)}p.state.submitOnItemClick?(n4.flushSync(t),p.state.requestSubmit()):t()}let z=r5("div",e,{ref:[D,t,f.ref,T],state:{disabled:o,selected:O,highlighted:M},props:[_,{id:N,role:v?"gridcell":"option","aria-selected":S?O:void 0,tabIndex:void 0,onPointerDownCapture(e){c.current=!0,e.preventDefault()},onMouseDown(e){e.preventDefault()},onClick(e){o||b||j(e.nativeEvent)},onMouseUp(e){let t=c.current;c.current=!1,o||b||0!==e.button||t||!M||j(e.nativeEvent)}},s,F]}),H=k.useMemo(()=>({selected:O,textRef:d}),[O,d]);return(0,R.jsx)(au.Provider,{value:H,children:z})})),af=k.forwardRef(function(e,t){var n;let r=null!==(n=e.keepMounted)&&void 0!==n&&n,{selected:l}=as();return r||l?(0,R.jsx)(ap,{...e,ref:t}):null}),ap=k.memo(k.forwardRef((e,t)=>{let{render:n,className:r,style:l,keepMounted:i,...o}=e,{selected:a}=as(),u=k.useRef(null),{transitionStatus:s,setMounted:c}=n5(a),d=r5("span",e,{ref:[t,u],state:{selected:a,transitionStatus:s},props:[{"aria-hidden":!0,children:"✔️"},o],stateAttributesMapping:n7});return re({open:a,ref:u,onComplete(){a||c(!1)}}),d})),av=k.createContext(void 0),ah=k.forwardRef(function(e,t){var n,r;let{render:l,className:i,disabled:o=!1,id:a,style:u,...s}=e,{state:c,disabled:d,setTouched:f,setFocused:p,validationMode:v,validation:h}=od(),{labelId:m}=om(),g=k.useContext(av),y=!!oI(!0),b=iJ(),{filteredItems:x}=i0(),w=i1(),S=oT(),C=no(b,ol.required,void 0,void 0,void 0),E=no(b,ol.disabled,void 0,void 0,void 0),I=no(b,ol.readOnly,void 0,void 0,void 0),M=no(b,ol.name,void 0,void 0,void 0),P=no(b,ol.form,void 0,void 0,void 0),A=no(b,ol.selectionMode,void 0,void 0,void 0),T=no(b,ol.autoHighlight,void 0,void 0,void 0),N=no(b,ol.inputProps,void 0,void 0,void 0),O=no(b,ol.triggerProps,void 0,void 0,void 0),_=no(b,ol.open,void 0,void 0,void 0),F=no(b,ol.mounted,void 0,void 0,void 0),D=no(b,ol.selectedValue,void 0,void 0,void 0),j=no(b,ol.popupSide,void 0,void 0,void 0),z=no(b,ol.positionerElement,void 0,void 0,void 0),H=no(b,ol.id,void 0,void 0,void 0),V=no(b,ol.inline,void 0,void 0,void 0),B=no(b,ol.modal,void 0,void 0,void 0),L=!!T,W=d||E||o,q=0===x.length,U=y||V,Y=id(null!=a?a:U?void 0:H),Z=o8(m,void 0),[K,X]=k.useState(null),G=k.useRef(!1),$=k.useRef(null),J=k.useRef(!1),Q=tw(e=>{let t=y||b.state.inline;t&&!b.state.hasInputValue&&b.state.setInputValue("",n_(nD)),b.update({inputElement:e,inputInsidePopup:t})}),ee=y||!h?s:h.getValidationProps(s),et=r5("input",e,{state:{...y?oa:c,open:_,disabled:W,readOnly:I,popupSide:F&&z?j:null,listEmpty:q},ref:[t,b.state.inputRef,Q],props:[N,O,{type:"text",value:null!==(r=null!==(n=e.value)&&void 0!==n?n:K)&&void 0!==r?r:w,"aria-readonly":I||void 0,"aria-required":C||void 0,"aria-labelledby":Z,disabled:W,readOnly:I,required:"none"===A?C:void 0,form:P,..."none"===A&&M&&{name:M},id:Y,onFocus(){if(p(!0),!V||!J.current)return;J.current=!1;let e=$.current;null!=e&&Object.hasOwn(b.state.valuesRef.current,e)&&b.state.setIndices({activeIndex:e})},onBlur(){f(!0),p(!1);let e=b.state.activeIndex;if(V&&null!==e&&"always"!==T&&($.current=e,J.current=!0,b.state.setIndices({activeIndex:null})),"onBlur"===v){let e="none"===A?w:D;h.commit(e)}},onCompositionStart(e){tO||(G.current=!0,X(e.currentTarget.value))},onCompositionEnd(e){G.current=!1;let t=e.currentTarget.value;X(null),b.state.setInputValue(t,n_(nL,e.nativeEvent))},onChange(e){let t=e.nativeEvent.inputType,n=G.current||!(!t||"insertReplacementText"===t);if(G.current){let t=e.currentTarget.value;X(t),""!==t||b.state.openOnInputClick||b.state.inputInsidePopup||b.state.setOpen(!1,n_(nW,e.nativeEvent));let r=t.trim(),l=L&&""!==r;I||W||!r||!n||(b.state.setOpen(!0,n_(nL,e.nativeEvent)),L||b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"})),_&&null!==b.state.activeIndex&&!l&&b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"});return}b.state.setInputValue(e.currentTarget.value,n_(nL,e.nativeEvent));let r=""===e.currentTarget.value,l=n_(nW,e.nativeEvent);!r||b.state.inputInsidePopup||("single"===A&&b.state.setSelectedValue(null,l),b.state.openOnInputClick||b.state.setOpen(!1,l));let i=e.currentTarget.value.trim();I||W||!i||!n||(b.state.setOpen(!0,n_(nL,e.nativeEvent)),L||b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"})),_&&null!==b.state.activeIndex&&!L&&b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"})},onKeyDown(e){var t,n;if(W||I||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)return;b.state.keyboardActiveRef.current=!0;let r=e.currentTarget,l=r.scrollWidth-r.clientWidth,i="rtl"===S;if("Home"===e.key){ns(e);let t=tT&&i?r.value.length:0;r.setSelectionRange(t,t),r.scrollLeft=0;return}if("End"===e.key){ns(e);let t=tT&&i?0:r.value.length;r.setSelectionRange(t,t),r.scrollLeft=i?-l:l;return}if(!F&&"Escape"===e.key){let t="multiple"===A&&Array.isArray(D)?0===D.length:null===D,n=n_(nU,e.nativeEvent);b.state.setInputValue("",n),b.state.setSelectedValue("multiple"===A?[]:null,n),t||b.state.inline||n.isPropagationAllowed||e.stopPropagation();return}if(g&&"Backspace"===e.key&&""===r.value&&void 0===g.highlightedChipIndex&&Array.isArray(D)&&D.length>0){let t=g.chipsRef.current.length,n=t>0?t-1:D.length-1,r=D.filter((e,t)=>t!==n);b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"}),b.state.setSelectedValue(r,n_(nD,e.nativeEvent));return}let o=(null==g?void 0:g.highlightedChipIndex)!==void 0,a=function(e){var t;let n;if(!g)return;let{highlightedChipIndex:r}=g,l=g.chipsRef.current.length;if(void 0!==r){if("ArrowLeft"===e.key)e.preventDefault(),n=r>0?r-1:void 0;else if("ArrowRight"===e.key)e.preventDefault(),n=r=D.length-1?D.length-2:r;n=t>=0?t:void 0,b.state.setIndices({activeIndex:null,selectedIndex:null,type:"keyboard"})}return n}return"ArrowLeft"===e.key&&(null!==(t=e.currentTarget.selectionStart)&&void 0!==t?t:0)===0&&D.length>0?(e.preventDefault(),n=l>0?l-1:void 0):"Backspace"===e.key&&""===e.currentTarget.value&&D.length>0&&(b.state.setIndices({activeIndex:null,selectedIndex:null,type:"keyboard"}),e.preventDefault()),n}(e);if(null==g||g.setHighlightedChipIndex(a),void 0!==a?null==g||null===(t=g.chipsRef.current[a])||void 0===t||t.focus():o&&(null===(n=b.state.inputRef.current)||void 0===n||n.focus()),229!==e.which&&"Enter"===e.key&&_){let t=b.state.activeIndex,n=e.nativeEvent;if(null===t){if(V)return;b.state.setOpen(!1,n_(nD,n));return}ns(e);let r=b.state.listRef.current[t];r&&(b.state.selectionEventRef.current=n,r.click(),b.state.selectionEventRef.current=null)}},onPointerMove(){b.state.keyboardActiveRef.current=!1},onPointerDown(){b.state.keyboardActiveRef.current=!1}},ee],stateAttributesMapping:o4});return(0,R.jsxs)(k.Fragment,{children:[_&&(!U||B)&&(0,R.jsx)(oq,{ref:b.state.startDismissRef}),et]})}),am={...n7,open:e=>e?ls:null},ag=k.forwardRef(function(e,t){let{render:n,className:r,disabled:l=!1,nativeButton:i=!0,keepMounted:o=!1,style:a,...u}=e,{disabled:s}=od(),c=iJ(),d=no(c,ol.selectionMode,void 0,void 0,void 0),f=no(c,ol.disabled,void 0,void 0,void 0),p=no(c,ol.readOnly,void 0,void 0,void 0),v=no(c,ol.open,void 0,void 0,void 0),h=no(c,ol.selectedValue,void 0,void 0,void 0),m=no(c,ol.hasSelectionChips,void 0,void 0,void 0),g=i1(),y=!1;y="none"===d?""!==g:"single"===d?null!=h:m;let b=s||f||l,{buttonRef:x,getButtonProps:w}=im({native:i,disabled:b}),{mounted:S,transitionStatus:C,setMounted:E}=n5(y);re({open:y,ref:c.state.clearRef,onComplete(){y||E(!1)}});let R=r5("button",e,{state:{disabled:b,open:v,transitionStatus:C},ref:[t,x,c.state.clearRef],props:[{tabIndex:-1,children:"x",onMouseDown(e){e.preventDefault()},onClick(e){var t;if(b||p)return;let n=c.state.keyboardActiveRef;c.state.setInputValue("",n_(nB,e.nativeEvent)),"none"!==d?(c.state.setSelectedValue(Array.isArray(h)?[]:null,n_(nB,e.nativeEvent)),c.state.setIndices({activeIndex:null,selectedIndex:null,type:n.current?"keyboard":"pointer"})):c.state.setIndices({activeIndex:null,type:n.current?"keyboard":"pointer"}),null===(t=c.state.inputRef.current)||void 0===t||t.focus()}},u,w],stateAttributesMapping:am});return o||S?R:null}),ay=k.createContext(null);function ab(e){let{children:t}=e,{filteredItems:n}=i0(),r=k.useContext(ay),l=r?r.items:n;return l?(0,R.jsx)(k.Fragment,{children:l.map(t)}):null}function ax(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:l}=e,i=tw(l),o=k.useRef(0),a=ty(aS).current,u=ty(aw).current,[s,c]=k.useState(0),d=k.useRef(s),f=tw((e,t)=>{u.set(e,null!=t?t:null),d.current+=1,c(d.current)}),p=tw(e=>{u.delete(e),d.current+=1,c(d.current)}),v=k.useMemo(()=>{let e=new Map;return Array.from(u.keys()).filter(e=>e.isConnected).sort(aC).forEach((t,n)=>{var r;let l=null!==(r=u.get(t))&&void 0!==r?r:{};e.set(t,{...l,index:n})}),e},[u,s]);tq(()=>{if("function"!=typeof MutationObserver||0===v.size)return;let e=new MutationObserver(e=>{let t=new Set,n=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(n),e.addedNodes.forEach(n)}),0===t.size&&(d.current+=1,c(d.current))});return v.forEach((t,n)=>{n.parentElement&&e.observe(n.parentElement,{childList:!0})}),()=>{e.disconnect()}},[v]),tq(()=>{d.current===s&&(n.current.length!==v.size&&(n.current.length=v.size),r&&r.current.length!==v.size&&(r.current.length=v.size),o.current=v.size),i(v)},[i,v,n,r,s]),tq(()=>()=>{n.current=[]},[n]),tq(()=>()=>{r&&(r.current=[])},[r]);let h=tw(e=>(a.add(e),()=>{a.delete(e)}));tq(()=>{a.forEach(e=>e(v))},[a,v]);let m=k.useMemo(()=>({register:f,unregister:p,subscribeMapChange:h,elementsRef:n,labelsRef:r,nextIndexRef:o}),[f,p,h,n,r,o]);return(0,R.jsx)(ai.Provider,{value:m,children:t})}function aw(){return new Map}function aS(){return new Set}function aC(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}let aE=k.forwardRef(function(e,t){var n;let{render:r,className:l,style:i,children:o,...a}=e,u=iJ(),s=iQ(),c=!!oI(!0),{filteredItems:d,hasItems:f}=i0(),p=no(u,ol.selectionMode,void 0,void 0,void 0),v=no(u,ol.grid,void 0,void 0,void 0),h=no(u,ol.popupProps,void 0,void 0,void 0),m=no(u,ol.virtualized,void 0,void 0,void 0),g=0===d.length,y=tw(e=>{u.set("positionerElement",e)}),b=r5("div",e,{state:{empty:g},ref:[t,tw(e=>{u.set("listElement",e)}),c?null:y],props:[h,{children:k.useMemo(()=>"function"==typeof o?n||(n=(0,R.jsx)(ab,{children:o})):o,[o]),tabIndex:-1,id:s.useState("floatingId"),role:v?"grid":"listbox","aria-multiselectable":"multiple"===p?"true":void 0,onKeyDown(e){if(!u.state.disabled&&!u.state.readOnly&&"Enter"===e.key){let t=u.state.activeIndex;if(null==t)return;ns(e);let n=e.nativeEvent,r=u.state.listRef.current[t];r&&(u.state.selectionEventRef.current=n,r.click(),u.state.selectionEventRef.current=null)}},onKeyDownCapture(){u.state.keyboardActiveRef.current=!0},onPointerMoveCapture(){u.state.keyboardActiveRef.current=!1}},a]});return m?b:(0,R.jsx)(ax,{elementsRef:u.state.listRef,labelsRef:f?void 0:u.state.labelsRef,children:b})}),aR=k.forwardRef(function(e,t){let{render:n,className:r,style:l,children:i,...o}=e,{filteredItems:a}=i0(),u=iJ(),s=function(){let e=tK(),t=k.useRef(null);return k.useEffect(()=>{var n;if(tA)return;let r=t.current;if(null==r)return;let l=function(e){let t=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=null;for(;t.nextNode();){let e=t.currentNode;""!==e.nodeValue&&(n=e)}return n}(r);if(null==l)return;let i=null!==(n=l.nodeValue)&&void 0!==n?n:"",o="".concat(i).concat("⁠");return l.nodeValue=o,e.start(200,()=>{l.nodeValue===o&&(l.nodeValue=i)}),()=>{e.clear(),l.nodeValue===o&&(l.nodeValue=i)}},[t,e]),t}(),c=0===a.length?i:null;return r5("div",e,{ref:[t,u.state.emptyRef,s],props:[{children:c,role:"status","aria-live":"polite","aria-atomic":!0},o]})});var ak=n(27116),aI=n.n(ak);let aM=(0,k.forwardRef)((e,t)=>{let{className:n,...r}=e;return ej(i_.Item,{asChild:!0,grow:1,children:ej("input",{className:(0,e8.Z)(aI().menuInput,n),ref:t,...r})})});aM.displayName="MenuInput";var aP=n(21956),aA=n.n(aP);let aT=e=>{let{items:t,noResultsMessage:n="No results to display",renderItem:r,searchPlaceholderText:l="Search..."}=e,i=(0,k.useId)(),o=(0,k.useMemo)(()=>new Map(t.map(e=>[e.value,e])),[t]),a=(0,k.useCallback)((e,t)=>{let n=o.get(e);return n?ej(ad,{render:(e,t)=>{var l;let i={item:n,...t,...e,ItemIndicator:af};return null!==(l=null==r?void 0:r(i))&&void 0!==l?l:ej(al,{...i})},value:n.value},n.value):null},[o,r]);return ez("div",{className:aA().menuContainer,children:[ez(i_,{align:"center",className:aA().searchBar,justify:"space-between",children:[ej("label",{className:aA().srOnly,htmlFor:i,children:l}),ej(ah,{placeholder:l,render:ej(aM,{id:i})}),ej(ag,{className:aA().clearButton,keepMounted:!0,children:ej(ix.x8,{height:16,width:16})}),ej(i_.Item,{asChild:!0,shrink:0,children:ej(i_,{align:"center",asChild:!0,children:ej("span",{className:aA().searchIcon,children:ej(ix.HN,{height:16,width:16})})})})]}),ez(aE,{className:aA().list,children:[ej(aR,{className:aA().empty,children:n}),ej(ab,{children:a})]})]})};aT.displayName="ComboboxMenu";let aN=Object.assign((0,k.forwardRef)((e,t)=>{let{className:n,disabled:r=!1,errorText:l,filter:i,inputValue:o,items:a,labelText:u,multiple:s=!1,noResultsMessage:c,onInputValueChange:d,onOpenChange:f,onValueChange:p,open:v,placeholderText:h,portalTarget:m,renderItem:g,style:y,value:b,...x}=e,w=(0,k.useId)(),S=(0,k.useCallback)(e=>{var t;if(s&&Array.isArray(e))return 0===e.length?u:e.map(e=>{var t,n;return null!==(n=null===(t=a.find(t=>t.value===e))||void 0===t?void 0:t.label)&&void 0!==n?n:e}).join(", ");let n=a.find(t=>t.value===e);return null!==(t=null==n?void 0:n.label)&&void 0!==t?t:u},[a,s,u]);return ej(i_,{asChild:!0,direction:"column",gap:2,children:ez(oJ,{className:(0,e8.Z)("atomics-Combobox-root",o5().comboboxRoot,n),"data-component":"combobox",invalid:!!l,ref:t,style:y,...x,children:[ej(iB,{asChild:!0,fontSize:12,lineHeight:100,children:ej(oQ,{className:o5().label,id:w,children:u})}),ez(oC,{disabled:r,filter:i,inputValue:o,items:a.map(e=>e.value),multiple:s,onInputValueChange:d,onOpenChange:f,onValueChange:p,open:v,value:b,children:[ej(ae,{disabled:r,labelId:w,labelText:u,renderSelectedLabels:S}),ej(oR,{className:"atomics-Combobox-portal",container:m,children:ej(oW,{align:"start",side:"bottom",sideOffset:4,children:ej(oY,{className:o5().popup,children:ej(aT,{items:a,noResultsMessage:c,renderItem:g,searchPlaceholderText:h})})})})]}),l&&ej(iB,{asChild:!0,fontSize:12,lineHeight:120,children:ej(o1,{className:o5().errorText,match:!0,children:l})})]})})}),{startsWithFilter:(e,t)=>"string"==typeof e&&e.toLowerCase().startsWith(t.toLowerCase())}),aO=k.forwardRef(function(e,t){let{render:n,id:r,className:l,style:i,...o}=e,a=id(r),u=od(!1),{setMessageIds:s}=om();return tq(()=>{if(a)return s(e=>e.concat(a)),()=>{s(e=>e.filter(e=>e!==a))}},[a,s]),r5("p",e,{ref:t,state:u.state,props:[{id:a},o],stateAttributesMapping:os})}),a_=k.createContext(null),aF=k.createContext(null);function aD(){let e=k.useContext(a_);if(null===e)throw Error(tH(60));return e}function aj(){let e=k.useContext(aF);if(null===e)throw Error(tH(61));return e}let az=k.createContext(void 0);function aH(){let e=k.useContext(az);if(!e)throw Error(tH(57));return e}let aV={id:nn(e=>e.id),labelId:nn(e=>e.labelId),modal:nn(e=>e.modal),multiple:nn(e=>e.multiple),items:nn(e=>e.items),itemToStringLabel:nn(e=>e.itemToStringLabel),itemToStringValue:nn(e=>e.itemToStringValue),isItemEqualToValue:nn(e=>e.isItemEqualToValue),value:nn(e=>e.value),hasSelectedValue:nn(e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return null!=t&&(n&&Array.isArray(t)?t.length>0:""!==ot(t,r))}),hasNullItemLabel:nn((e,t)=>!!t&&i7(e.items)),open:nn(e=>e.open),mounted:nn(e=>e.mounted),forceMount:nn(e=>e.forceMount),transitionStatus:nn(e=>e.transitionStatus),openMethod:nn(e=>e.openMethod),activeIndex:nn(e=>e.activeIndex),selectedIndex:nn(e=>e.selectedIndex),isActive:nn((e,t)=>e.activeIndex===t),isSelected:nn((e,t,n)=>{let r=e.isItemEqualToValue,l=e.value;return e.multiple?Array.isArray(l)&&l.some(e=>i5(n,e,r)):e.selectedIndex===t&&null!==e.selectedIndex||i5(n,l,r)}),isSelectedByFocus:nn((e,t)=>e.selectedIndex===t),popupProps:nn(e=>e.popupProps),triggerProps:nn(e=>e.triggerProps),triggerElement:nn(e=>e.triggerElement),positionerElement:nn(e=>e.positionerElement),listElement:nn(e=>e.listElement),scrollUpArrowVisible:nn(e=>e.scrollUpArrowVisible),scrollDownArrowVisible:nn(e=>e.scrollDownArrowVisible),hasScrollArrows:nn(e=>e.hasScrollArrows)},aB=k.memo(k.forwardRef(function(e,t){let{render:n,className:r,value:l=null,label:i,disabled:o=!1,nativeButton:a=!1,style:u,...s}=e,c=k.useRef(null),d=aa({label:i,textRef:c,indexGuessBehavior:ao.GuessFromOrder}),{store:f,getItemProps:p,setOpen:v,setValue:h,selectionRef:m,typingRef:g,valuesRef:y,multiple:b,selectedItemTextRef:x}=aD(),w=no(f,aV.isActive,d.index,void 0,void 0),S=no(f,aV.isSelected,d.index,l,void 0),C=no(f,aV.isSelectedByFocus,d.index,void 0,void 0),E=no(f,aV.isItemEqualToValue,void 0,void 0,void 0),I=d.index,M=-1!==I,P=k.useRef(null),A=lK(I);tq(()=>{if(!M)return;let e=y.current;return e[I]=l,()=>{delete e[I]}},[M,I,l,y]),tq(()=>{if(!M)return;let e=f.state.value,t=e;b&&Array.isArray(e)&&e.length>0&&(t=e[e.length-1]),void 0!==t&&i5(l,t,E)&&(f.set("selectedIndex",I),c.current&&(x.current=c.current))},[M,I,b,E,f,l,x]);let T=p({active:w,selected:S});T.id=void 0;let N=k.useRef(null),O=k.useRef("mouse"),_=k.useRef(!1),{getButtonProps:F,buttonRef:D}=im({disabled:o,focusableWhenDisabled:!0,native:a,composite:!0}),j=r5("div",e,{ref:[D,t,d.ref,P],state:{disabled:o,selected:S,highlighted:w},props:[T,{role:"option","aria-selected":S,tabIndex:w?0:-1,onTouchStart(){m.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}},onKeyDown(e){N.current=e.key,f.set("activeIndex",I)," "===e.key&&g.current&&e.preventDefault()},onClick(e){_.current=!1,"keydown"===e.type&&null===N.current||o||"keydown"===e.type&&" "===N.current&&g.current||"touch"!==O.current&&!w||(N.current=null,function(e){let t=f.state.value;if(b){let n=Array.isArray(t)?t:[];h(S?i6(n,l,E):[...n,l],n_(nH,e))}else h(l,n_(nH,e)),v(!1,n_(nH,e))}(e.nativeEvent))},onPointerEnter(e){O.current=e.pointerType},onPointerDown(e){O.current=e.pointerType,_.current=!0},onMouseUp(){var e;if(o)return;if(_.current){_.current=!1;return}let t=!m.current.allowSelectedMouseUp&&S,n=!m.current.allowUnselectedMouseUp&&!S;t||n||"touch"!==O.current&&!w||null===(e=P.current)||void 0===e||e.click()}},s,F]}),z=k.useMemo(()=>({selected:S,indexRef:A,textRef:c,selectedByFocus:C,hasRegistered:M}),[S,A,c,C,M]);return(0,R.jsx)(az.Provider,{value:z,children:j})})),aL=k.forwardRef(function(e,t){var n;let r=null!==(n=e.keepMounted)&&void 0!==n&&n,{selected:l}=aH();return r||l?(0,R.jsx)(aW,{...e,ref:t}):null}),aW=k.memo(k.forwardRef((e,t)=>{let{render:n,className:r,style:l,keepMounted:i,...o}=e,{selected:a}=aH(),u=k.useRef(null),{transitionStatus:s,setMounted:c}=n5(a),d=r5("span",e,{ref:[t,u],state:{selected:a,transitionStatus:s},props:[{"aria-hidden":!0,children:"✔️"},o],stateAttributesMapping:n7});return re({open:a,ref:u,onComplete(){a||c(!1)}}),d}));function aq(e,t){return Math.max(0,e-t)}function aU(e){let{id:t,value:n,defaultValue:r=null,onValueChange:l,open:i,defaultOpen:o=!1,onOpenChange:a,name:u,form:s,autoComplete:c,disabled:d=!1,readOnly:f=!1,required:p=!1,modal:v=!0,actionsRef:h,inputRef:m,onOpenChangeComplete:g,items:y,multiple:b=!1,itemToStringLabel:x,itemToStringValue:w,isItemEqualToValue:S=i2,highlightItemOnHover:C=!0,children:E}=e,{clearErrors:I}=ov(),{setDirty:M,setTouched:P,setFocused:A,shouldValidateOnChange:T,validityData:N,setFilled:O,name:_,disabled:F,validation:D,validationMode:j}=od(),z=og({id:t}),H=F||d,V=null!=_?_:u,[B,L]=tm({controlled:n,default:b?null!=r?r:t0:r,name:"Select",state:"value"}),[W,q]=tm({controlled:i,default:o,name:"Select",state:"open"}),U=k.useRef([]),Y=k.useRef([]),Z=k.useRef(null),K=k.useRef(null),X=k.useRef(0),G=k.useRef(null),$=k.useRef([]),J=k.useRef(!1),Q=k.useRef(!1),ee=k.useRef(null),et=k.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1}),en=k.useRef(!1),{mounted:er,setMounted:el,transitionStatus:ei}=n5(W),{openMethod:eo,triggerProps:ea}=n2(W),eu=ty(()=>new na({id:z,labelId:void 0,modal:v,multiple:b,itemToStringLabel:x,itemToStringValue:w,isItemEqualToValue:S,value:B,open:W,mounted:er,transitionStatus:ei,items:y,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,es=no(eu,aV.activeIndex,void 0,void 0,void 0),ec=no(eu,aV.selectedIndex,void 0,void 0,void 0),ed=no(eu,aV.triggerElement,void 0,void 0,void 0),ef=no(eu,aV.positionerElement,void 0,void 0,void 0),ep=function(e){let[t,n]=k.useState({current:e,previous:null});return e!==t.current&&n({current:e,previous:t.current}),t.previous}(eo),ev=null!=eo?eo:ep,eh=k.useMemo(()=>b&&Array.isArray(B)&&0===B.length?"":ot(B,w),[b,B,w]),em=k.useMemo(()=>b&&Array.isArray(B)?B.map(e=>ot(e,w)):ot(B,w),[b,B,w]);of(lK(eu.state.triggerElement),{id:z,value:B,getValue:tw(()=>em)});let eg=k.useRef(B);tq(()=>{B!==eg.current&&eu.set("forceMount",!0)},[eu,B]),tq(()=>{O(b?Array.isArray(B)&&B.length>0:null!=B)},[b,B,O]),tq(function(){if(W)return;let e=$.current;if(b){let t=Array.isArray(B)?B:[];if(0===t.length){eu.set("selectedIndex",null);return}let n=i3(e,t[t.length-1],S);eu.set("selectedIndex",-1===n?null:n);return}let t=i3(e,B,S);eu.set("selectedIndex",-1===t?null:t)},[b,W,B,$,S,eu]),n1(B,()=>{I(V),M(B!==N.initialValue),T()?D.commit(B):D.commit(B,!0)});let ey=tw((e,t)=>{if(null==a||a(e,t),!t.isCanceled&&(q(e),e||t.reason!==nq&&t.reason!==nz||(P(!0),A(!1),"onBlur"===j&&D.commit(B)),!e&&null!==eu.state.activeIndex)){let e=U.current[eu.state.activeIndex];queueMicrotask(()=>{null==e||e.setAttribute("tabindex","-1")})}}),eb=tw(()=>{el(!1),eu.update({activeIndex:null,openMethod:null}),null==g||g(!1)});re({enabled:!h,open:W,ref:Z,onComplete(){W||eb()}}),k.useImperativeHandle(h,()=>({unmount:eb}),[eb]);let ex=tw((e,t)=>{null==l||l(e,t),t.isCanceled||L(e)}),ew=tw(()=>{let e=eu.state.listElement||Z.current;if(!e)return;let t=aq(e.scrollHeight,e.clientHeight),n=function(e,t){if(t<=0)return 0;let n=lC(e,0,t),r=t-n,l=n<=1,i=r<=1;return l&&i?n<=r?0:t:l?0:i?t:n}(e.scrollTop,t),r=n>0,l=nrZ(eE(),ea,z?{id:z}:t1),[eE,ea,z]);tL(()=>{eu.update({popupProps:eR(),triggerProps:eI})}),tq(()=>{eu.update({id:z,modal:v,multiple:b,value:B,open:W,mounted:er,transitionStatus:ei,popupProps:eR(),triggerProps:eI,items:y,itemToStringLabel:x,itemToStringValue:w,isItemEqualToValue:S,openMethod:ev})},[eu,z,v,b,B,W,er,ei,eR,eI,y,x,w,S,ev]);let eM=k.useMemo(()=>({store:eu,name:V,required:p,disabled:H,readOnly:f,multiple:b,highlightItemOnHover:C,setValue:ex,setOpen:ey,listRef:U,popupRef:Z,scrollHandlerRef:K,handleScrollArrowVisibility:ew,scrollArrowsMountedCountRef:X,getItemProps:ek,events:eS.context.events,valueRef:G,valuesRef:$,labelsRef:Y,typingRef:J,selectionRef:et,selectedItemTextRef:ee,validation:D,onOpenChangeComplete:g,keyboardActiveRef:Q,alignItemWithTriggerActiveRef:en,initialValueRef:eg}),[eu,V,p,H,f,b,C,ex,ey,ek,eS.context.events,D,g,ew]),eP=rB(m,D.inputRef),eA=b&&Array.isArray(B)&&B.length>0,eT=b?void 0:V,eN=k.useMemo(()=>b&&Array.isArray(B)&&V?B.map(e=>{let t=ot(e,w);return(0,R.jsx)("input",{type:"hidden",form:s,name:V,value:t},t)}):null,[b,B,s,V,w]);return(0,R.jsx)(a_.Provider,{value:eM,children:(0,R.jsxs)(aF.Provider,{value:eS,children:[E,(0,R.jsx)("input",{...D.getInputValidationProps({onFocus(){var e;null===(e=eu.state.triggerElement)||void 0===e||e.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.currentTarget.value,n=n_(nD,e.nativeEvent);eu.set("forceMount",!0),queueMicrotask(function(){if(b)return;let e=$.current.find(e=>ot(e,w).toLowerCase()===t.toLowerCase()||oe(e,x).toLowerCase()===t.toLowerCase());null!=e&&(M(e!==N.initialValue),ex(e,n),T()&&D.commit(e))})}}),id:z&&null==eT?"".concat(z,"-hidden-input"):void 0,form:s,name:eT,autoComplete:c,value:eh,disabled:H,required:p&&!eA,readOnly:f,ref:eP,style:V?rg:rm,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),eN]})})}var aY=n(64124),aZ=n.n(aY);let aK=k.createContext(void 0),aX=k.forwardRef(function(e,t){let{store:n}=aD(),r=no(n,aV.mounted,void 0,void 0,void 0),l=no(n,aV.forceMount,void 0,void 0,void 0);return r||l?(0,R.jsx)(aK.Provider,{value:!0,children:(0,R.jsx)(ln,{ref:t,...e})}):null}),aG=k.createContext(void 0);function a$(){let e=k.useContext(aG);if(!e)throw Error(tH(59));return e}function aJ(e,t){e&&Object.assign(e.style,t)}let aQ={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"},a0={position:"fixed"},a1=k.forwardRef(function(e,t){let{anchor:n,positionMethod:r="absolute",className:l,render:i,side:o="bottom",align:a="center",sideOffset:u=0,alignOffset:s=0,collisionBoundary:c="clipping-ancestors",collisionPadding:d,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:v,alignItemWithTrigger:h=!0,collisionAvoidance:m=r8,style:g,...y}=e,{store:b,listRef:x,labelsRef:w,alignItemWithTriggerActiveRef:S,selectedItemTextRef:C,valuesRef:E,initialValueRef:I,popupRef:M,setValue:P}=aD(),A=aj(),T=no(b,aV.open,void 0,void 0,void 0),N=no(b,aV.mounted,void 0,void 0,void 0),O=no(b,aV.modal,void 0,void 0,void 0),_=no(b,aV.value,void 0,void 0,void 0),F=no(b,aV.openMethod,void 0,void 0,void 0),D=no(b,aV.positionerElement,void 0,void 0,void 0),j=no(b,aV.triggerElement,void 0,void 0,void 0),z=no(b,aV.isItemEqualToValue,void 0,void 0,void 0),H=no(b,aV.transitionStatus,void 0,void 0,void 0),V=k.useRef(null),B=k.useRef(null),[L,W]=k.useState(h),q=N&&L&&"touch"!==F;N||L===h||W(h),tq(()=>{!N&&(aV.scrollUpArrowVisible(b.state)&&b.set("scrollUpArrowVisible",!1),aV.scrollDownArrowVisible(b.state)&&b.set("scrollDownArrowVisible",!1))},[b,N]),k.useImperativeHandle(S,()=>q),oL((q||O)&&T,"touch"===F,D,j);let U=oz({anchor:n,floatingRootContext:A,positionMethod:r,mounted:N,side:o,sideOffset:u,align:a,alignOffset:s,arrowPadding:f,collisionBoundary:c,collisionPadding:d,sticky:p,disableAnchorTracking:null!=v?v:q,collisionAvoidance:m,keepMounted:!0}),Y=q?"none":U.side,Z=q?a0:U.positionerStyles,K=oB(e,{open:T,side:Y,align:U.align,anchorHidden:U.anchorHidden},{styles:Z,transitionStatus:H,props:y,refs:[t,tw(e=>{b.set("positionerElement",e)})],hidden:!N,inert:!T}),X=k.useRef(0),G=tw(e=>{if(0===e.size&&0===X.current||0===E.current.length)return;let t=X.current;if(X.current=e.size,e.size===t)return;let n=n_(nD);if(0!==t&&!b.state.multiple&&null!==_&&-1===i3(E.current,_,z)){let e=I.current,t=null!=e&&-1!==i3(E.current,e,z)?e:null;P(t,n),null===t&&(b.set("selectedIndex",null),C.current=null)}if(0!==t&&b.state.multiple&&Array.isArray(_)){let e=e=>-1!==i3(E.current,e,z),t=_.filter(t=>e(t));(t.length!==_.length||t.some(e=>!i4(_,e,z)))&&(P(t,n),0===t.length&&(b.set("selectedIndex",null),C.current=null))}if(T&&q){b.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:""};aJ(D,e),aJ(M.current,e)}}),$=k.useMemo(()=>({...U,side:Y,alignItemWithTriggerActive:q,setControlledAlignItemWithTrigger:W,scrollUpArrowRef:V,scrollDownArrowRef:B}),[U,Y,q,W]);return(0,R.jsx)(ax,{elementsRef:x,labelsRef:w,onMapChange:G,children:(0,R.jsxs)(aG.Provider,{value:$,children:[N&&O&&(0,R.jsx)(li,{inert:rv(!T),cutout:j}),K]})})}),a2="base-ui-disable-scrollbar",a5={className:a2,getElement:e=>(0,R.jsx)("style",{nonce:e,href:a2,precedence:"base-ui:low",children:".".concat(a2,"{scrollbar-width:none}.").concat(a2,"::-webkit-scrollbar{display:none}")})},a4=k.createContext(void 0),a3=k.createContext(void 0),a6={disableStyleElements:!1},a8={...lh,...n7},a9=k.forwardRef(function(e,t){var n;let{render:r,className:l,style:i,finalFocus:o,...a}=e,{store:u,popupRef:s,onOpenChangeComplete:c,setOpen:d,valueRef:f,selectedItemTextRef:p,keyboardActiveRef:v,multiple:h,handleScrollArrowVisibility:m,scrollHandlerRef:g,listRef:y,highlightItemOnHover:b}=aD(),{side:x,align:w,alignItemWithTriggerActive:S,isPositioned:C,setControlledAlignItemWithTrigger:E,scrollDownArrowRef:I,scrollUpArrowRef:M}=a$(),P=null!=function(e){let t=k.useContext(a4);if(void 0===t&&!e)throw Error(tH(69));return t}(!0),A=aj(),T=oT(),{nonce:N,disableStyleElements:O}=null!==(n=k.useContext(a3))&&void 0!==n?n:a6,_=no(u,aV.id,void 0,void 0,void 0),F=no(u,aV.open,void 0,void 0,void 0),D=no(u,aV.mounted,void 0,void 0,void 0),j=no(u,aV.popupProps,void 0,void 0,void 0),z=no(u,aV.transitionStatus,void 0,void 0,void 0),H=no(u,aV.triggerElement,void 0,void 0,void 0),V=no(u,aV.positionerElement,void 0,void 0,void 0),B=no(u,aV.listElement,void 0,void 0,void 0),L=k.useRef(!1),W=k.useRef(!1),q=k.useRef({}),U=tJ(),Y=tw(e=>{if(!V||!s.current||!W.current)return;if(L.current||!S){m();return}let t="0px"===V.style.top,n="0px"===V.style.bottom;if(!t&&!n){m();return}let r=ut(V),l=V.getBoundingClientRect().height/r.y,i=tW(V),o=getComputedStyle(V),a=parseFloat(o.marginTop),u=parseFloat(o.marginBottom),c=a7(getComputedStyle(s.current)),d=Math.min(i.documentElement.clientHeight-a-u,c),f=e.scrollTop,p=ue(e),v=0,h=null,g=!1,y=!1,b=e=>{V.style.height="".concat(e,"px")},x=t?p-f:f,w=Math.min(l+x,d);if(v=w,x<=1){((t,n)=>{let r=lC(t,0,d-l);r>0&&b(l+r),e.scrollTop=n,d-(l+r)<=1&&(L.current=!0),m()})(x,t?p:0);return}if(d-w>1)t?y=!0:h=0;else if(g=!0,n&&f1&&(e.scrollTop=n)}(g||v>=d-1)&&(L.current=!0),m()});k.useImperativeHandle(g,()=>Y,[Y]),re({open:F,ref:s,onComplete(){F&&(null==c||c(!0))}}),tq(()=>{V&&s.current&&!Object.keys(q.current).length&&(q.current={top:V.style.top||"0",left:V.style.left||"0",right:V.style.right,height:V.style.height,bottom:V.style.bottom,minHeight:V.style.minHeight,maxHeight:V.style.maxHeight,marginTop:V.style.marginTop,marginBottom:V.style.marginBottom})},[s,V]),tq(()=>{F||S||(W.current=!1,L.current=!1,aJ(V,q.current))},[F,S,V,s]),tq(()=>{let e=s.current;if(!F||!H||!V||!e||S&&!C||"ending"===u.state.transitionStatus)return;if(!S){W.current=!0,U.request(m),e.style.removeProperty("--transform-origin");return}let t=function(e){let{style:t}=e,n={};for(let[e,r]of ur)n[e]=t.getPropertyValue(e),t.setProperty(e,r,"important");return()=>{for(let[e]of ur){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}(e);e.style.removeProperty("--transform-origin");try{var n,r;let t;let l=p.current,i=f.current,o=getComputedStyle(V),a=getComputedStyle(e),s=tW(H),c=(0,tE.Jj)(V),d=ut(H),v=un(H.getBoundingClientRect(),d),h=un(V.getBoundingClientRect(),d),g=v.height,x=B||e,w=x.scrollHeight,S=parseFloat(a.borderBottomWidth),C=parseFloat(o.marginTop)||10,R=parseFloat(o.marginBottom)||10,k=parseFloat(o.minHeight)||100,I=a7(a),M=s.documentElement.clientHeight-C-R,P=s.documentElement.clientWidth,A=M-v.bottom+g,N="rtl"===T?v.right-h.width:v.left,O=0;if(l&&i){let e=un(i.getBoundingClientRect(),d);t=un(l.getBoundingClientRect(),d),N=h.left+("rtl"===T?e.right-t.right:e.left-t.left);let n=e.top-v.top+e.height/2;O=t.top-h.top+t.height/2-n}let _=A+O+R+S,F=Math.min(M,_),D=M-C-R,j=_-F;V.style.left="".concat(lC(N,5,P-5-h.width),"px"),V.style.height="".concat(F,"px"),V.style.maxHeight="auto",V.style.marginTop="".concat(C,"px"),V.style.marginBottom="".concat(R,"px"),e.style.height="100%";let z=ue(x),U=j>=z-1;U&&(F=Math.min(M,h.height)-(j-z));let Y=v.top<20||v.bottom>M-20||Math.ceil(F)+1=D?"0":"".concat(Math.max(0,M-_),"px"),V.style.height="".concat(F,"px"),x.scrollTop=ue(x)):(V.style.bottom="0",x.scrollTop=j),t){let n=h.top,r=h.height,l=t.top+t.height/2,i=lC(r>0?(l-n)/r*100:50,0,100);e.style.setProperty("--transform-origin","50% ".concat(i,"%"))}(K===M||F>=I)&&(L.current=!0),m(),b&&null===u.state.selectedIndex&&null===u.state.activeIndex&&null!=y.current[0]&&u.set("activeIndex",0),W.current=!0}finally{t()}},[u,F,V,H,f,p,s,m,S,E,U,I,M,B,y,b,T,C]),k.useEffect(()=>{if(S&&V&&F)return th((0,tE.Jj)(V),"resize",function(e){d(!1,n_("window-resize",e))})},[d,S,V,F]);let Z=r5("div",e,{ref:[t,s],state:{open:F,transitionStatus:z,side:x,align:w},stateAttributesMapping:a8,props:[j,{...B?{role:"presentation","aria-orientation":void 0}:{role:"listbox","aria-multiselectable":h||void 0,id:"".concat(_,"-list")},onKeyDown(e){v.current=!0,P&&ia.has(e.key)&&e.stopPropagation()},onMouseMove(){v.current=!1},onScroll(e){B||Y(e.currentTarget)},...S&&{style:B?{height:"100%"}:aQ}},oV(z),{className:!B&&S?a5.className:void 0},a]});return(0,R.jsxs)(k.Fragment,{children:[!O&&a5.getElement(N),(0,R.jsx)(it,{context:A,modal:!1,disabled:!D,returnFocus:o,restoreFocus:!0,children:Z})]})});function a7(e){let t=e.maxHeight||"";return t.endsWith("px")&&parseFloat(t)||1/0}function ue(e){return aq(e.scrollHeight,e.clientHeight)}function ut(e){return oP.Jv.getScale(e)}function un(e,t){return(0,rb.JB)({x:e.x/t.x,y:e.y/t.y,width:e.width/t.x,height:e.height/t.y})}let ur=[["transform","none"],["scale","1"],["translate","0 0"]],ul=k.forwardRef(function(e,t){let{className:n,render:r,style:l,...i}=e,{store:o,scrollHandlerRef:a}=aD(),{alignItemWithTriggerActive:u}=a$(),s=no(o,aV.hasScrollArrows,void 0,void 0,void 0),c=no(o,aV.openMethod,void 0,void 0,void 0),d=no(o,aV.multiple,void 0,void 0,void 0),f=no(o,aV.id,void 0,void 0,void 0),p={id:"".concat(f,"-list"),role:"listbox","aria-multiselectable":d||void 0,onScroll(e){var t;null===(t=a.current)||void 0===t||t.call(a,e.currentTarget)},...u&&{style:aQ},className:s&&"touch"!==c?a5.className:void 0};return r5("div",e,{ref:[t,tw(e=>{o.set("listElement",e)})],props:[p,i]})}),ui=e=>{let{children:t,portalTarget:n}=e;return ej(aX,{className:"atomics-Dropdown-portal",container:n,children:ej(a1,{alignItemWithTrigger:!1,className:(0,e8.Z)("atomics-Dropdown-positioner"),side:"bottom",sideOffset:8,children:ej(a9,{className:(0,e8.Z)("atomics-Dropdown-popup",aZ().popup),children:ej("div",{className:aZ().popupInner,children:ej(ul,{className:(0,e8.Z)("atomics-Dropdown-list",aZ().list),children:t})})})})})},uo={...lv,...os,value:()=>null},ua=k.forwardRef(function(e,t){let{render:n,className:r,id:l,disabled:i=!1,nativeButton:o=!0,style:a,...u}=e,{setTouched:s,setFocused:c,validationMode:d,state:f,disabled:p}=od(),{labelId:v}=om(),{store:h,setOpen:m,selectionRef:g,validation:y,readOnly:b,required:x,alignItemWithTriggerActiveRef:w,disabled:S,keyboardActiveRef:C}=aD(),E=p||S||i,R=no(h,aV.open,void 0,void 0,void 0),I=no(h,aV.value,void 0,void 0,void 0),M=no(h,aV.triggerProps,void 0,void 0,void 0),P=no(h,aV.positionerElement,void 0,void 0,void 0),A=no(h,aV.listElement,void 0,void 0,void 0),T=no(h,aV.id,void 0,void 0,void 0),N=no(h,aV.labelId,void 0,void 0,void 0),O=no(h,aV.hasSelectedValue,void 0,void 0,void 0),_=!O&&R,F=no(h,aV.hasNullItemLabel,_,void 0,void 0),D=null!=l?l:T,j=o8(v,N);og({id:D});let z=lK(P),H=k.useRef(null),{getButtonProps:V,buttonRef:B}=im({disabled:E,native:o}),L=rB(t,H,B,tw(e=>{h.set("triggerElement",e)})),W=tK(),q=tK(),U=tK(),Y=tK();k.useEffect(()=>{if(R)return O||F?Y.start(200,()=>{g.current.allowUnselectedMouseUp=!0,U.start(200,()=>{g.current.allowSelectedMouseUp=!0})}):U.start(400,()=>{g.current.allowUnselectedMouseUp=!0,g.current.allowSelectedMouseUp=!0}),()=>{U.clear(),Y.clear()};g.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1},q.clear()},[R,O,F,g,q,U,Y]);let Z=k.useMemo(()=>{var e,t;return null!==(t=null==A?void 0:A.id)&&void 0!==t?t:null===(e=nk(P))||void 0===e?void 0:e.id},[A,P]),K=rZ(M,{id:D,role:"combobox","aria-expanded":R?"true":"false","aria-haspopup":"listbox","aria-controls":R?Z:void 0,"aria-labelledby":j,"aria-readonly":b||void 0,"aria-required":x||void 0,tabIndex:E?-1:0,ref:L,onFocus(e){c(!0),R&&w.current&&m(!1,n_(nD,e.nativeEvent)),W.start(0,()=>{h.set("forceMount",!0)})},onBlur(e){nA(P,e.relatedTarget)||(s(!0),c(!1),"onBlur"===d&&y.commit(I))},onPointerMove(){C.current=!1},onKeyDown(){C.current=!0},onMouseDown(e){if(R)return;let t=tW(e.currentTarget);function n(e){if(!H.current)return;let t=e.target;if(nA(H.current,t)||nA(z.current,t)||t===H.current)return;let n=o3(H.current);e.clientX>=n.left-2&&e.clientX<=n.right+2&&e.clientY>=n.top-2&&e.clientY<=n.bottom+2||m(!1,n_("cancel-open",e))}q.start(0,()=>{t.addEventListener("mouseup",n,{once:!0})})}},y.getValidationProps,u,V);return K.role="combobox",r5("button",e,{ref:[t,H],state:{...f,open:R,disabled:E,value:I,readOnly:b,placeholder:!O},stateAttributesMapping:uo,props:K})}),uu={value:()=>null},us=k.forwardRef(function(e,t){let{className:n,render:r,children:l,placeholder:i,style:o,...a}=e,{store:u,valueRef:s}=aD(),c=no(u,aV.value,void 0,void 0,void 0),d=no(u,aV.items,void 0,void 0,void 0),f=no(u,aV.itemToStringLabel,void 0,void 0,void 0),p=no(u,aV.hasSelectedValue,void 0,void 0,void 0),v=no(u,aV.hasNullItemLabel,!p&&null!=i&&null==l,void 0,void 0),h=null;return h="function"==typeof l?l(c):null!=l?l:p||null==i||v?Array.isArray(c)?or(c,d,f):on(c,d,f):i,r5("span",e,{state:{value:c,placeholder:!p},ref:[t,s],props:[{children:h},a],stateAttributesMapping:uu})}),uc=e=>{let{items:t,placeholder:n,size:r}=e,l=(0,k.useMemo)(()=>new Map(t.map(e=>[e.value,e.label])),[t]);return ej(ua,{"aria-label":n,render:(e,t)=>ej(iB,{asChild:!0,color:t.disabled?"text-disabled":t.value?"text-primary":"text-tertiary",fontFamily:"sans",fontSize:"large"===r?16:14,lineHeight:"large"===r?120:105,children:ej(i_,{align:"center",asChild:!0,justify:"space-between",children:ez("button",{...e,className:(0,e8.Z)("atomics-Dropdown-trigger",aZ().trigger,e.className),children:[ej(i_.Item,{asChild:!0,grow:1,children:ej(us,{className:(0,e8.Z)("atomics-Dropdown-value",aZ().value),children:e=>{var t;return null==e?n:null!==(t=l.get(e))&&void 0!==t?t:e}})}),ej(i_.Item,{asChild:!0,shrink:0,children:ej(i_,{align:"center",asChild:!0,children:ej("span",{className:(0,e8.Z)("atomics-Dropdown-icon",aZ().icon),children:ej(ix.Wd,{height:20,width:20})})})})]})})})})},ud=(0,k.forwardRef)((e,t)=>{let{className:n,disabled:r,error:l,helpText:i,id:o,items:a,name:u,onOpenChange:s,onValueChange:c,open:d,placeholder:f,portalTarget:p,renderItem:v,size:h="medium",style:m,value:g,...y}=e,b="string"==typeof l&&l,x=(0,k.useCallback)(e=>ej(aB,{render:(t,n)=>{var r;let l={item:e,...n,...t,ItemIndicator:aL};return null!==(r=null==v?void 0:v(l))&&void 0!==r?r:ej(al,{...l})},value:e.value},e.value),[v]);return ej(i_,{asChild:!0,direction:"column",gap:4,children:ez(oJ,{className:(0,e8.Z)("atomics-Dropdown-root",aZ().root,n),"data-component":"dropdown","data-dropdown-size":h,id:o,invalid:!!l,ref:t,style:m,...eX(y),children:[ez(aU,{disabled:r,modal:!1,name:u,onOpenChange:s,onValueChange:c,open:d,value:g,children:[ej(uc,{items:a,placeholder:f,size:h}),ej(ui,{portalTarget:p,children:a.map(x)})]}),b?ej(iB,{asChild:!0,color:"red-500",fontSize:12,lineHeight:120,children:ej(o1,{className:(0,e8.Z)("atomics-Dropdown-errorText",aZ().errorText),match:!0,render:e=>ej("p",{...e,children:l})})}):i?ej(iB,{asChild:!0,color:"text-tertiary",fontSize:12,lineHeight:120,children:ej(aO,{className:(0,e8.Z)("atomics-Dropdown-helpText",aZ().helpText),children:i})}):null]})})}),uf=k.forwardRef(function(e,t){let{render:n,className:r,id:l,name:i,value:o,disabled:a=!1,onValueChange:u,defaultValue:s,autoFocus:c=!1,style:d,...f}=e,{state:p,name:v,disabled:h,setTouched:m,setDirty:g,validityData:y,setFocused:b,setFilled:x,validationMode:w,validation:S}=od(),C=h||a,E={...p,disabled:C},{labelId:R}=om(),I=og({id:l});tq(()=>{var e;let t=null!=o;(null===(e=S.inputRef.current)||void 0===e?void 0:e.value)||t&&""!==o?x(!0):t&&""===o&&x(!1)},[S.inputRef,x,o]);let M=k.useRef(null);tq(()=>{c&&M.current===nP(tW(M.current))&&b(!0)},[c,b]);let[P]=tm({controlled:o,default:s,name:"FieldControl",state:"value"}),A=void 0!==o,T=A?P:void 0,N=tw(()=>{var e;return null===(e=S.inputRef.current)||void 0===e?void 0:e.value});return of(S.inputRef,{id:I,value:T,getValue:N}),r5("input",e,{ref:[t,M],state:E,props:[{id:I,disabled:C,name:null!=v?v:i,ref:S.inputRef,"aria-labelledby":R,autoFocus:c,...A?{value:T}:{defaultValue:s},onChange(e){let t=e.currentTarget.value;null==u||u(t,n_(nD,e.nativeEvent)),g(t!==y.initialValue),x(""!==t)},onFocus(){b(!0)},onBlur(e){m(!0),b(!1),"onBlur"===w&&S.commit(e.currentTarget.value)},onKeyDown(e){"INPUT"===e.currentTarget.tagName&&"Enter"===e.key&&(m(!0),S.commit(e.currentTarget.value))}},S.getInputValidationProps(),f],stateAttributesMapping:os})}),up=k.forwardRef(function(e,t){return(0,R.jsx)(uf,{ref:t,...e})});var uv=n(37245),uh=n.n(uv);let um=(0,k.forwardRef)((e,t)=>{let{className:n,disabled:r=!1,errorText:l,helpText:i,icon:o,labelText:a,onBlur:u,onChange:s,onFocus:c,placeholderText:d,size:f="large",type:p="text",value:v,variant:h="outline",...m}=e,[g,y]=(0,k.useState)(!1),b=(0,k.useMemo)(()=>"line"===h?d||a:"outline"===h||"outline-label"===h?g&&d||a:d,[h,d,a,g]);return ej(i_,{asChild:!0,direction:"column",gap:4,children:ez(oJ,{className:(0,e8.Z)("atomics-Input-root",uh().inputRoot,n),"data-component":"input","data-input-size":f,"data-input-variant":h,invalid:!!l,children:[ej(iB,{asChild:!0,fontSize:12,lineHeight:100,children:ej(oQ,{className:uh().label,children:a})}),ez("div",{className:uh().inputWrapper,children:[ej(up,{className:uh().input,disabled:r,onBlur:e=>{y(!1),null==u||u(e)},onFocus:e=>{y(!0),null==c||c(e)},onValueChange:(e,t)=>{null==s||s(e,t)},placeholder:b,ref:t,type:p,value:v,...eX(m)}),o&&ej("span",{className:uh().icon,children:o})]}),l&&ej(iB,{asChild:!0,color:"red-500",fontSize:12,lineHeight:120,children:ej(o1,{className:uh().errorText,match:!0,render:e=>ej("p",{...e,children:l})})}),i&&!l&&ej(iB,{asChild:!0,fontSize:12,lineHeight:120,children:ej(aO,{className:uh().helpText,children:i})})]})})});um.displayName="Input";let ug=(0,k.forwardRef)((e,t)=>{let{onChange:n,step:r=1,...l}=e;return ej(um,{...l,onChange:(e,t)=>{let r=""===e?null:Number.parseFloat(e),l=Number.isNaN(r)?null:r;null==n||n(e,l,t)},ref:t,step:r,type:"number"})});ug.displayName="NumberInput";let uy=k.createContext(void 0),ub=((b={}).checked="data-checked",b.unchecked="data-unchecked",b.disabled="data-disabled",b.readonly="data-readonly",b.required="data-required",b.valid="data-valid",b.invalid="data-invalid",b.touched="data-touched",b.dirty="data-dirty",b.filled="data-filled",b.focused="data-focused",b),ux={...os,checked:e=>e?{[ub.checked]:""}:{[ub.unchecked]:""}},uw=k.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:l,"aria-labelledby":i,form:o,id:a,inputRef:u,name:s,nativeButton:c=!1,onCheckedChange:d,readOnly:f=!1,required:p=!1,disabled:v=!1,render:h,uncheckedValue:m,value:g,style:y,...b}=e,{clearErrors:x}=ov(),{state:w,setTouched:S,setDirty:C,validityData:E,setFilled:I,setFocused:M,shouldValidateOnChange:P,validationMode:A,disabled:T,name:N,validation:O}=od(),{labelId:_}=om(),F=T||v,D=null!=N?N:s,j=tw(d),z=k.useRef(null),H=rB(z,u,O.inputRef),V=k.useRef(null),B=id(),L=og({id:a,implicit:!1,controlRef:V}),W=c?void 0:L,[q,U]=tm({controlled:n,default:!!l,name:"Switch",state:"checked"});of(V,{id:B,value:q}),tq(()=>{z.current&&I(z.current.checked)},[z,I]),n1(q,()=>{x(D),C(q!==E.initialValue),I(q),P()?O.commit(q):O.commit(q,!0)});let{getButtonProps:Y,buttonRef:Z}=im({disabled:F,native:c}),K=function(e,t,n){var r;let l=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=arguments.length>4?arguments[4]:void 0,[o,a]=k.useState(),u=id(i?"".concat(i,"-label"):void 0),s=null!==(r=null!=e?e:t)&&void 0!==r?r:o;return tq(()=>{let r=e||t||!l?void 0:function(e,t){let n=function(e){if(!e)return;let t=e.parentElement;if(t&&"LABEL"===t.tagName)return t;let n=e.id;if(n){let t=e.nextElementSibling;if(t&&t.htmlFor===n)return t}let r=e.labels;return r&&r[0]}(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}(n.current,u);o!==r&&a(r)}),s}(i,_,z,!c,W),X=k.useMemo(()=>rZ({checked:q,disabled:F,form:o,id:W,name:D,required:p,style:D?rg:rm,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:H,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(f){e.preventDefault();return}let t=e.currentTarget.checked,n=n_(nD,e.nativeEvent);null==j||j(t,n),n.isCanceled||U(t)},onFocus(){var e;null===(e=V.current)||void 0===e||e.focus()}},O.getInputValidationProps,void 0!==g?{value:g}:t1),[q,F,o,H,W,D,j,f,p,U,O,g]),G=k.useMemo(()=>({...w,checked:q,disabled:F,readOnly:f,required:p}),[w,q,F,f,p]),$=r5("span",e,{state:G,ref:[t,V,Z],props:[{id:c?L:B,role:"switch","aria-checked":q,"aria-readonly":f||void 0,"aria-required":p||void 0,"aria-labelledby":K,onFocus(){F||M(!0)},onBlur(){let e=z.current;e&&!F&&(S(!0),M(!1),"onBlur"===A&&O.commit(e.checked))},onClick(e){var t;f||F||(e.preventDefault(),null===(t=z.current)||void 0===t||t.dispatchEvent(new PointerEvent("click",{bubbles:!0,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey})))}},O.getValidationProps,b,Y],stateAttributesMapping:ux});return(0,R.jsxs)(uy.Provider,{value:G,children:[$,!q&&D&&void 0!==m&&(0,R.jsx)("input",{type:"hidden",form:o,name:D,value:m}),(0,R.jsx)("input",{...X,suppressHydrationWarning:!0})]})}),uS=k.forwardRef(function(e,t){let{render:n,className:r,style:l,...i}=e,{state:o}=od(),a=function(){let e=k.useContext(uy);if(void 0===e)throw Error(tH(63));return e}();return r5("span",e,{state:{...o,...a},ref:t,stateAttributesMapping:ux,props:i})});var uC=n(19619),uE=n.n(uC);(0,k.forwardRef)((e,t)=>{let{activeIcon:n,className:r,inactiveIcon:l,isChecked:i,onChange:o,...a}=e;return ej(uw,{...void 0!==i?{checked:i}:{},className:(0,e8.Z)("atomics-Switch-root",uE().switch,r),"data-component":"switch",onCheckedChange:(e,t)=>null==o?void 0:o(e,t),ref:t,...eX(a),children:ez(uS,{className:uE().thumb,children:[i&&n,!i&&l]})})}).displayName="Switch";var uR=n(39194),uk=n.n(uR);let uI=(0,k.forwardRef)((e,t)=>{let{children:n,className:r,label:l,size:i="medium",...o}=e;return n?ej(ti,{"aria-label":l,className:(0,e8.Z)("atomics-IconButton-root",uk().iconBtn,r),"data-button-size":i,ref:t,...eX(o),children:n}):null});uI.displayName="IconButton";var uM=n(63731),uP=n.n(uM);let uA=[{componentStyleProp:"alignItems",cssProp:"align-items"},{componentStyleProp:"autoFlow",cssProp:"grid-auto-flow"},{componentStyleProp:"columnGap",cssProp:"column-gap"},{componentStyleProp:"inline",cssProp:"display"},{componentStyleProp:"justifyContent",cssProp:"justify-content"},{componentStyleProp:"rowGap",cssProp:"row-gap"},{componentStyleProp:"templateColumns",cssProp:"grid-template-columns"},{componentStyleProp:"templateRows",cssProp:"grid-template-rows"}],uT={columnGap:e0(iE),inline:e=>e?"inline-grid":"grid",rowGap:e0(iE)},uN=to("Grid",(e,t)=>{let{alignItems:n,asChild:r=!1,autoFlow:l,className:i,columnGap:o,inline:a,justifyContent:u,rowGap:s,templateColumns:c,templateRows:d,...f}=e,p=r?tn.g7:"div",v=eK("Grid",uA);return ej(p,{className:(0,e8.Z)(uP().grid,"atomics-Grid-root",i),css:v,"data-testid":"grid",ref:r?void 0:t,...eQ({componentName:"Grid",restProps:f,styleProps:{alignItems:n,autoFlow:l,columnGap:o,inline:a,justifyContent:u,rowGap:s,templateColumns:c,templateRows:d},valueMap:uT})})}),uO=[{componentStyleProp:"columnStart",cssProp:"grid-column-start"},{componentStyleProp:"columnEnd",cssProp:"grid-column-end"},{componentStyleProp:"rowStart",cssProp:"grid-row-start"},{componentStyleProp:"rowEnd",cssProp:"grid-row-end"},{componentStyleProp:"order",cssProp:"order"}],u_=Object.assign(uN,{Item:to("GridItem",(e,t)=>{let{asChild:n=!1,className:r,columnEnd:l,columnStart:i,order:o,rowEnd:a,rowStart:u,...s}=e,c=n?tn.g7:"div",d=eK("GridItem",uO);return ej(c,{className:(0,e8.Z)("atomics-GridItem-root",r),css:d,"data-testid":"grid-item",ref:n?void 0:t,...eQ({componentName:"GridItem",restProps:s,styleProps:{columnEnd:l,columnStart:i,order:o,rowEnd:a,rowStart:u}})})})});var uF=n(42005),uD=n.n(uF);let uj=Object.assign(to("List",(e,t)=>{let{asChild:n=!1,children:r,className:l,gap:i,variant:o="unordered",...a}=e;return ej(n?tn.g7:"ordered"===o?"ol":"ul",{className:(0,e8.Z)("atomics-List-root",uD().list,l),"data-list-gap":i,"data-list-variant":o,"data-testid":"list",ref:n?void 0:t,...eX(a),children:r})}),{Item:to("ListItem",(e,t)=>{let{asChild:n=!1,children:r,className:l,...i}=e;return ej(n?tn.g7:"li",{className:(0,e8.Z)("atomics-ListItem-root",l),"data-testid":"list-item",ref:n?void 0:t,...eX(i),children:r})})}),uz={...lh,...n7},uH=k.forwardRef(function(e,t){let{render:n,className:r,style:l,forceRender:i=!1,...o}=e,{store:a}=rn(),u=a.useState("open"),s=a.useState("nested"),c=a.useState("mounted");return r5("div",e,{state:{open:u,transitionStatus:a.useState("transitionStatus")},ref:[a.context.backdropRef,t],stateAttributesMapping:uz,props:[{role:"presentation",hidden:!c,style:{userSelect:"none",WebkitUserSelect:"none"}},o],enabled:i||!s})}),uV=((x={}).nestedDialogs="--nested-dialogs",x),uB=((w={})[w.open=la.open]="open",w[w.closed=la.closed]="closed",w[w.startingStyle=la.startingStyle]="startingStyle",w[w.endingStyle=la.endingStyle]="endingStyle",w.nested="data-nested",w.nestedDialogOpen="data-nested-dialog-open",w),uL={...lh,...n7,nestedDialogOpen:e=>e?{[uB.nestedDialogOpen]:""}:null},uW=k.forwardRef(function(e,t){let{className:n,finalFocus:r,initialFocus:l,render:i,style:o,...a}=e,{store:u}=rn(),s=u.useState("descriptionElementId"),c=u.useState("disablePointerDismissal"),d=u.useState("floatingRootContext"),f=u.useState("popupProps"),p=u.useState("modal"),v=u.useState("mounted"),h=u.useState("nested"),m=u.useState("nestedOpenDialogCount"),g=u.useState("open"),y=u.useState("openMethod"),b=u.useState("titleElementId"),x=u.useState("transitionStatus"),w=u.useState("role");ll(),re({open:g,ref:u.context.popupRef,onComplete(){if(g){var e,t;null===(e=(t=u.context).onOpenChangeComplete)||void 0===e||e.call(t,!0)}}});let S=r5("div",e,{state:{open:g,nested:h,transitionStatus:x,nestedDialogOpen:m>0},props:[f,{"aria-labelledby":null!=b?b:void 0,"aria-describedby":null!=s?s:void 0,role:w,tabIndex:-1,hidden:!v,onKeyDown(e){ia.has(e.key)&&e.stopPropagation()},style:{[uV.nestedDialogs]:m}},a],ref:[t,u.context.popupRef,u.useStateSetter("popupElement")],stateAttributesMapping:uL});return(0,R.jsx)(it,{context:d,openInteractionType:y,disabled:!v,closeOnFocusOut:!c,initialFocus:void 0===l?function(e){return"touch"!==e||u.context.popupRef.current}:l,returnFocus:r,modal:!1!==p,restoreFocus:"popup",children:S})});var uq=n(25749),uU=n.n(uq);let uY=(0,k.forwardRef)((e,t)=>{let{children:n,className:r,footer:l,isDismissible:i=!0,isModalOpen:o,onOpenChange:a,portalTarget:u,size:s="medium",subtitle:c,title:d,...f}=e;return ej(ru,{disablePointerDismissal:!i,onOpenChange:a,open:o,children:ez(lo,{className:"atomics-Modal-portal",container:u,children:[ej(uH,{className:(0,e8.Z)(uU().backdrop,"atomics-Modal-backdrop")}),ej(i_,{asChild:!0,direction:"column",children:ez(uW,{className:(0,e8.Z)(uU().popup,r,"atomics-Modal-popup"),"data-component":"modal","data-modal-size":s,ref:t,...eX(f),children:[ez(i_,{className:(0,e8.Z)(uU().header,"atomics-Modal-header"),children:[ej(i_.Item,{asChild:!0,shrink:0,children:ej(uI,{"aria-hidden":"true",className:(0,e8.Z)(uU().closeButtonSpacer,"atomics-Modal-closeButton"),size:"extra-small",tabIndex:-1,variant:"ghost",children:ej(ix.x8,{})})}),ej(i_.Item,{asChild:!0,grow:1,shrink:1,children:ez(i_,{align:"center",className:uU().headerContent,direction:"column",gap:4,children:[ej(ip,{render:e=>{let{className:t,color:n,...r}=e;return ej(iB,{asChild:!0,className:(0,e8.Z)(t,uU().title,"atomics-Modal-title"),fontFamily:"sans",fontSize:20,fontWeight:"bold",lineHeight:120,children:ej("h2",{...r,children:d})})}}),null!=c&&ej(iv,{render:e=>{let{className:t,color:n,...r}=e;return ej(iB,{asChild:!0,className:(0,e8.Z)(t,uU().subtitle,"atomics-Modal-subtitle"),fontFamily:"sans",fontSize:14,fontWeight:"regular",lineHeight:120,children:ej("p",{...r,children:c})})}})]})}),ej(i_.Item,{asChild:!0,shrink:0,children:ej(iy,{render:e=>{let{className:t,...n}=e;return ej(uI,{className:(0,e8.Z)("atomics-Modal-closeButton",t),label:"Close",size:"extra-small",variant:"ghost",...n,children:ej(ix.x8,{})})}})})]}),ej("div",{className:(0,e8.Z)(uU().body,"atomics-Modal-body"),children:n}),null!=l&&ej(u_,{autoFlow:"column",className:(0,e8.Z)(uU().footer,"atomics-Modal-footer"),columnGap:8,children:l})]})})]})})});function uZ(){let e=eB(["\n @layer phx.components {\n & {\n aspect-ratio: 3 / 2;\n }\n }\n ","\n "]);return uZ=function(){return e},e}function uK(){let e=eB(["\n @layer phx.components {\n & {\n aspect-ratio: 1 / 1;\n border-radius: 50%;\n }\n }\n "]);return uK=function(){return e},e}function uX(){let e=eB(["\n @layer phx.components {\n & {\n --atomics-skeleton-row-gap: var(--phx-space-core-8);\n }\n }\n "]);return uX=function(){return e},e}function uG(){let e=eB(["\n @layer phx.components {\n & {\n --atomics-skeleton-row-height: 1lh;\n height: calc(\n var(--atomics-skeleton-row-height) - var(--atomics-skeleton-row-gap)\n );\n margin-bottom: calc(var(--atomics-skeleton-row-gap) / 2);\n margin-top: calc(var(--atomics-skeleton-row-gap) / 2);\n }\n\n &[data-is-last-row] {\n width: 60%;\n }\n }\n "]);return uG=function(){return e},e}function u$(){let e=eB(["\n @layer phx.components {\n @keyframes skeleton-pulse {\n 0%,\n 100% {\n opacity: 1;\n }\n 50% {\n opacity: 0.3;\n }\n }\n\n & {\n --atomics-skeleton-background-color: var(\n --phx-color-background-secondary\n );\n background-color: var(--atomics-skeleton-background-color);\n border-radius: var(--phx-radius-core-4);\n @media (prefers-reduced-motion: no-preference) {\n animation: skeleton-pulse 1600ms linear infinite;\n }\n }\n }\n "]);return u$=function(){return e},e}uY.displayName="Modal";let uJ={box:eW(uZ(),eZ("BoxSkeleton",[{componentStyleProp:"aspectRatio",cssProp:"aspect-ratio"}])),circle:eW(uK()),line:eW(uX()),lineRow:eW(uG()),skeleton:eW(u$())},uQ=[{componentStyleProp:"width",cssProp:"width"}],u0=(0,k.forwardRef)((e,t)=>{let{aspectRatio:n,variant:r,width:l,...i}=e;return ej("div",{css:[uJ.skeleton,uJ.box,eK("BoxSkeleton",uQ)],"data-skeleton-variant":r,ref:t,...eQ({componentName:"BoxSkeleton",restProps:i,styleProps:{aspectRatio:n,width:l},valueMap:{width:e1}})})});u0.displayName="BoxSkeleton";let u1=[{componentStyleProp:"size",cssProp:"width"},{componentStyleProp:"size",cssProp:"height"}],u2=(0,k.forwardRef)((e,t)=>{let{size:n,variant:r,...l}=e;return ej("div",{css:[uJ.skeleton,uJ.circle,eK("CircleSkeleton",u1)],"data-skeleton-variant":r,ref:t,...eQ({componentName:"CircleSkeleton",restProps:l,styleProps:{size:n},valueMap:{size:e1}})})});u2.displayName="CircleSkeleton";let u5={rowGap:e0(iE),rowHeight:e1},u4=[{componentStyleProp:"rowHeight",cssProp:"--atomics-skeleton-row-height"},{componentStyleProp:"rowGap",cssProp:"--atomics-skeleton-row-gap"}],u3=(0,k.forwardRef)((e,t)=>{let{numRows:n=1,rowGap:r,rowHeight:l,variant:i,...o}=e,a=eK("LineSkeleton",u4);return ej(i_,{css:uJ.line,"data-skeleton-variant":i,direction:"column",ref:t,...eX(o),children:Array.from({length:n},(e,t)=>ej("div",{css:[uJ.skeleton,uJ.lineRow,a],"data-is-last-row":t===n-1?"":void 0,...eQ({componentName:"LineSkeleton",styleProps:{rowGap:r,rowHeight:l},valueMap:u5})},t))})});u3.displayName="LineSkeleton";let u6=(0,k.forwardRef)((e,t)=>{let{className:n,...r}=e,l=(0,e8.Z)("atomics-Skeleton-root",n);switch(r.variant){case"circle":return ej(u2,{className:l,ref:t,...r});case"box":return ej(u0,{className:l,ref:t,...r});case"line":return ej(u3,{className:l,ref:t,...r})}});u6.displayName="Skeleton";var u8=n(51144),u9=n.n(u8);(0,k.forwardRef)((e,t)=>{let{children:n,className:r,size:l="medium",...i}=e;return ej(ti,{className:(0,e8.Z)("atomics-UtilityButton-root",u9().utilityBtn,r),"data-button-size":l,ref:t,...eX(i),children:n})}).displayName="UtilityButton"},74945:function(e){e.exports={avatar:"Avatar_avatar__6R9_G"}},47993:function(e){e.exports={badge:"Badge_badge__CT1BR"}},22575:function(e){e.exports={btn:"Button_btn__hEu8M"}},20834:function(e){e.exports={card:"Card_card__4vP3N"}},80480:function(e){e.exports={chip:"Chip_chip__FPJtZ"}},50161:function(e){e.exports={detailCard:"DetailCard_detailCard__QxqrM",detailCardMarginableChild:"DetailCard_detailCardMarginableChild__s4eWx",detailCardHorizontalContent:"DetailCard_detailCardHorizontalContent__ac8vK",detailCardHeader:"DetailCard_detailCardHeader__MEHp9",detailCardMedia:"DetailCard_detailCardMedia__D20sS",detailCardBody:"DetailCard_detailCardBody__o4k76",detailCardFooter:"DetailCard_detailCardFooter__5SVM8"}},54474:function(e){e.exports={backdrop:"Drawer_backdrop__ozSG1",popup:"Drawer_popup__nhwL2",viewport:"Drawer_viewport__FuhGz",header:"Drawer_header__0_wi1",headerContent:"Drawer_headerContent__UuKZr",closeButtonSpacer:"Drawer_closeButtonSpacer__LJy8i",subtitle:"Drawer_subtitle___U9XX",title:"Drawer_title__9BTYa",content:"Drawer_content__FPJ5m",body:"Drawer_body__7lQNs",footer:"Drawer_footer__ls2B_"}},39194:function(e){e.exports={iconBtn:"IconButton_iconBtn__dg5zS"}},25749:function(e){e.exports={popup:"Modal_popup__5shbF",backdrop:"Modal_backdrop__XuVyK",header:"Modal_header__wI7jI",headerContent:"Modal_headerContent__tPU4Y",closeButtonSpacer:"Modal_closeButtonSpacer__NalAn",title:"Modal_title__SzUtn",subtitle:"Modal_subtitle__vXBEp",body:"Modal_body__S4dzL",footer:"Modal_footer__pUXkr"}},51144:function(e){e.exports={utilityBtn:"UtilityButton_utilityBtn__liXoz"}},9914:function(e){e.exports={comboboxRoot:"Combobox_comboboxRoot__aDXv9",label:"Combobox_label__RjTZr",trigger:"Combobox_trigger__wqwql",value:"Combobox_value__z8SBO",chevron:"Combobox_chevron__kAfzz",popup:"Combobox_popup__iVm_B",errorText:"Combobox_errorText__z9R9n"}},21956:function(e){e.exports={menuContainer:"ComboboxMenu_menuContainer__BurCm",srOnly:"ComboboxMenu_srOnly__R4NH9",searchBar:"ComboboxMenu_searchBar__g1JI8",clearButton:"ComboboxMenu_clearButton__D47eM",searchIcon:"ComboboxMenu_searchIcon__IVgsl",list:"ComboboxMenu_list__AEZo0",empty:"ComboboxMenu_empty__lmblo",itemIndicator:"ComboboxMenu_itemIndicator__0MhF0"}},27116:function(e){e.exports={menuInput:"MenuInput_menuInput__1zmFU"}},64124:function(e){e.exports={root:"Dropdown_root__qcJEu",trigger:"Dropdown_trigger__FTO1u",value:"Dropdown_value___qNc7",icon:"Dropdown_icon__ZQgxa",popup:"Dropdown_popup__GkDN6",popupInner:"Dropdown_popupInner__JbRrD",list:"Dropdown_list__1dJwP",indicator:"Dropdown_indicator__m_LbM",errorText:"Dropdown_errorText__YXtDi",helpText:"Dropdown_helpText__AKBli"}},37245:function(e){e.exports={inputRoot:"Input_inputRoot__G24K_",label:"Input_label__PFTMK",inputWrapper:"Input_inputWrapper__RQ977",icon:"Input_icon__tgR_J",input:"Input_input__3mFqW",helpText:"Input_helpText__pRKz_",errorText:"Input_errorText___tlIi"}},19619:function(e){e.exports={switch:"Switch_switch__h4w1G",thumb:"Switch_thumb__sjvmF"}},66303:function(e){e.exports={menuItem:"MenuItem_menuItem__2BHxF",menuItemSpacer:"MenuItem_menuItemSpacer__PDjR7"}},63731:function(e){e.exports={grid:"Grid_grid__qtAzq"}},42005:function(e){e.exports={list:"List_list__K_lgQ"}},83:function(e,t,n){"use strict";var r=n(67294),l="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,o=r.useEffect,a=r.useLayoutEffect,u=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!l(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),l=r[0].inst,c=r[1];return a(function(){l.value=n,l.getSnapshot=t,s(l)&&c({inst:l})},[e,n,t]),o(function(){return s(l)&&c({inst:l}),e(function(){s(l)&&c({inst:l})})},[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},26251:function(e,t,n){"use strict";var r=n(67294),l=n(61688),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=l.useSyncExternalStore,a=r.useRef,u=r.useEffect,s=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var p=o(e,(d=s(function(){function e(e){if(!u){if(u=!0,o=e,e=r(e),void 0!==l&&f.hasValue){var t=f.value;if(l(t,e))return a=t}return a=e}if(t=a,i(o,e))return t;var n=r(e);return void 0!==l&&l(t,n)?(o=e,t):(o=e,a=n)}var o,a,u=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,n,r,l]))[0],d[1]);return u(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}},61688:function(e,t,n){"use strict";e.exports=n(83)},52798:function(e,t,n){"use strict";e.exports=n(26251)},61465:function(e,t,n){"use strict";n.d(t,{g7:function(){return o},A4:function(){return u}});var r=n(67294);function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var i=n(85893),o=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e,o;let a=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,u=function(e,t){let n={...t};for(let r in t){let l=e[r],i=t[r];/^on[A-Z]/.test(r)?l&&i?n[r]=(...e)=>{let t=i(...e);return l(...e),t}:l&&(n[r]=l):"style"===r?n[r]={...l,...i}:"className"===r&&(n[r]=[l,i].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?function(...e){return t=>{let n=!1,r=e.map(e=>{let r=l(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:l,...o}=e,a=r.Children.toArray(l),u=a.find(s);if(u){let e=u.props.children,l=a.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,l):null})}return(0,i.jsx)(t,{...o,ref:n,children:l})});return n.displayName=`${e}.Slot`,n}("Slot"),a=Symbol("radix.slottable"),u=function(e){let t=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=a,t}("Slottable");function s(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}},47231:function(e,t,n){"use strict";n.d(t,{mm:function(){return l},kw:function(){return i},Wh:function(){return o},Jr:function(){return a},x8:function(){return u},GE:function(){return s},$V:function(){return c},Wd:function(){return d},_j:function(){return f},hY:function(){return p},hO:function(){return v},HN:function(){return h}});var r=n(67294);let l=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"add",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"M11 19v-6H5v-2h6V5h2v6h6v2h-6v6z"}))}),i=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"bookmark-fill",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"M19 3H5v18l7-3 7 3z"}))}),o=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"bookmark-outline",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"M19 3H5v18l7-3 7 3zm-2 15-5-2.18L7 18V5h10z"}))}),a=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"check",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"m8.795 15.875-4.17-4.17-1.42 1.41 5.59 5.59 12-12-1.41-1.41z"}))}),u=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"close",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))}),s=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"fullscreen-close",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"M6 21v-3H3v-2h5v5zm10 0v-5h5v2h-3v3zM3 8V6h3V3h2v5zm13 0V3h2v3h3v2z"}))}),c=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"fullscreen-open",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"M3 21v-5h2v3h3v2zm13 0v-2h3v-3h2v5zM3 8V3h5v2H5v3zm16 0V5h-3V3h5v5z"}))}),d=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"keyboard-arrow-down",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"m12 15.4-6-6L7.4 8l4.6 4.6L16.6 8 18 9.4z"}))}),f=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"open-in-new",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"M19 19H5V5h7V3H3v18h18v-9h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}))}),p=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"refresh",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"M12 20q-3.35 0-5.675-2.325T4 12t2.325-5.675T12 4q1.725 0 3.3.713A7.6 7.6 0 0 1 18 6.75V4h2v7h-7V9h4.2a5.84 5.84 0 0 0-2.187-2.2A5.93 5.93 0 0 0 12 6Q9.5 6 7.75 7.75T6 12t1.75 4.25T12 18a5.86 5.86 0 0 0 3.475-1.1A5.8 5.8 0 0 0 17.65 14h2.1q-.7 2.65-2.85 4.325C14.75 20 13.833 20 12 20"}))}),v=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"remove-circle-outline",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}))}),h=(0,r.forwardRef)((e,t)=>{let{title:n,titleId:l,...i}=e;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"search",viewBox:"0 0 24 24",ref:t,"aria-labelledby":l,...i},n?r.createElement("title",{id:l},n):null,r.createElement("path",{d:"m19.6 21-6.3-6.3A6.1 6.1 0 0 1 9.5 16q-2.725 0-4.612-1.887T3 9.5t1.888-4.612Q6.775 3 9.5 3t4.613 1.888Q15.999 6.775 16 9.5a6.1 6.1 0 0 1-1.3 3.8l6.3 6.3zM9.5 14q1.875 0 3.188-1.313Q14 11.375 14 9.5t-1.313-3.188Q11.375 5 9.5 5T6.312 6.313C4.999 7.626 5 8.25 5 9.5q0 1.875 1.313 3.188Q7.625 14 9.5 14"}))})}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7018-4a136dd45f9c84bc_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7018-4a136dd45f9c84bc_05Q6.js new file mode 100644 index 0000000..6d53214 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7018-4a136dd45f9c84bc_05Q6.js @@ -0,0 +1,18 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7018],{38742:function(e,t,n){"use strict";n.d(t,{sC:function(){return u},wU:function(){return o},gq:function(){return a},W4:function(){return r}});var i=n(85893);function r({description:e,image:t,isArticle:n,title:r,twitterHandle:o,creator:a}){let s=[(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card"),(0,i.jsx)("meta",{name:"twitter:site",content:o},"twitter:site"),(0,i.jsx)("meta",{name:"twitter:description",content:e},"twitter:description"),(0,i.jsx)("meta",{name:"twitter:title",content:r},"twitter:title"),(0,i.jsx)("meta",{name:"twitter:image",content:t},"twitter:image"),(0,i.jsx)("meta",{name:"twitter:tile:template:testing",content:"2"},"twitter:tile:template:testing"),(0,i.jsx)("meta",{name:"twitter:tile:image",content:t},"twitter:tile:image"),(0,i.jsx)("meta",{name:"twitter:tile:image:alt",content:r},"twitter:tile:image:alt")];return n&&s.push((0,i.jsx)("meta",{name:"twitter:cta",content:"Read on Bloomberg"},"twitter:cta")),a&&s.push((0,i.jsx)("meta",{name:"twitter:creator",content:a},"twitter:creator")),s}function o({type:e,title:t,description:n,url:r,image:o,keywords:a}){let s=[(0,i.jsx)("meta",{property:"og:description",content:n},"og:description"),(0,i.jsx)("meta",{property:"og:image",content:o},"og:image"),(0,i.jsx)("meta",{property:"og:site_name",content:"Bloomberg.com"},"og:site_name"),(0,i.jsx)("meta",{property:"og:title",content:t},"og:title"),(0,i.jsx)("meta",{property:"og:type",content:e},"og:type"),(0,i.jsx)("meta",{property:"og:url",content:r},"og:url")];return a&&s.push((0,i.jsx)("meta",{property:"og:keywords",content:a},"og:keywords")),s}function a({canonical:e,description:t,keywords:n}){let r=[(0,i.jsx)("link",{rel:"canonical",href:e},"static-metadata-tags--canonical"),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, viewport-fit=cover"},"static-metadata-tags--viewport"),(0,i.jsx)("meta",{name:"apple-itunes-app",content:"app-id=281941097"},"static-metadata-tags--apple-itunes-app"),(0,i.jsx)("meta",{name:"robots",content:"max-image-preview:large"},"static-metadata-tags--robots")];return t&&r.push((0,i.jsx)("meta",{name:"description",content:t},"static-metadata-tags--description")),n&&r.push((0,i.jsx)("meta",{name:"keywords",content:n},"static-metadata-tags--keywords")),r}let s={blue:"/env/favicon-blue.png",green:"/env/favicon-green.png",orange:"/env/favicon-phoenix.png",purple:"/env/favicon-purple.png",red:"/env/favicon-red.png",yellow:"/env/favicon-yellow.png",staging:"/env/favicon-gray.png"},l={gladfly:"/favicon-blue.png",opinion:"/favicon-blue.png",view:"/favicon-blue.png"};var u=({brand:e="",baseUrl:t="https://www.bloomberg.com",env:n="production"})=>{let r=l[e]??"/favicon-black.png";"production"!==n&&s[n]&&(r=s[n]);let o=`${t}${r}`;return(0,i.jsx)("link",{rel:"icon",type:"image/png",href:o})}},76795:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useAdOptions=t.adOptionsContext=void 0;let r=i(n(94962)),o=n(67294);t.adOptionsContext=(0,o.createContext)({adOptions:{}}),t.useAdOptions=e=>{let{adOptions:n,articleMetadata:i,customRefreshOptions:a}=(0,o.useContext)(t.adOptionsContext);return{adOptions:(0,o.useMemo)(()=>(0,r.default)(n,null!=e?e:{}),[n,e]),articleMetadata:i,customRefreshOptions:a}}},36257:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let r=n(85893),o=i(n(4298)),a=n(67294),s=i(n(85252)),l=n(76795),u=n(93064),d=i(n(45092)),c=(e,t,n)=>[e,t,n].filter(Boolean).join("-"),p=(e,t)=>(0,r.jsx)(o.default,{id:"sparkle-init",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:` + window.Sparkle.cmd.push(function(){ + const decoupleDiv = window.document.createElement("div"); + decoupleDiv.id = "${e}"; + decoupleDiv.setAttribute("data-testid", "sparkle-ad"); + decoupleDiv.setAttribute("data-ad-status", "rendering"); + decoupleDiv.setAttribute("className", ""); + window.document.body.appendChild(decoupleDiv); + var adOptions = ${JSON.stringify(t)} + window.Sparkle.createAd({...adOptions}); + }); + `},type:"text/javascript"});t.default=function(e){let{options:t,positionIncrement:n,onEmpty:i,onRender:o}=e,h=(0,a.useRef)(null),m=c("leaderboard","decoupled",n),f=(0,s.default)(),{sparkle:g}=f,{adOptions:v}=(0,l.useAdOptions)(t),b=(0,u.constructDecoupleAdOptions)({...v,containerId:m},f),[y,I]=(0,a.useState)();return(0,d.default)(v.refreshOptions,y),(0,a.useEffect)(()=>{var e;let t=document.querySelector(`div[id^='${m}']`);t&&h.current&&(null===(e=h.current.parentNode)||void 0===e||e.appendChild(t))},[h.current]),(0,a.useEffect)(()=>{if(!y)return;let e=document.querySelector(`div[id^='${m}']`);y.onRender(()=>{null==e||e.setAttribute("data-ad-status","rendered"),null==e||e.setAttribute("className","display"),"function"==typeof o&&o(y)}),y.onEmpty(()=>{null==e||e.setAttribute("data-ad-status","empty"),null==e||e.setAttribute("className",""),"function"==typeof i&&i()})},[y]),(0,a.useEffect)(()=>{if(!g)return;window.addEventListener("sparkleAdCreated",e=>{let{detail:{containerId:t}}=e;y||t!==m||I(g.getAd(m))},{once:!0});let e=g.getAd(m);e&&I(e)},[g]),(0,r.jsxs)(r.Fragment,{children:[p(m,b),(0,r.jsx)("div",{ref:h,style:{display:"none"}})]})}},75186:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let r=n(85893),o=n(67294),a=n(93064),s=i(n(45092)),l=i(n(85252)),u=n(76795);t.default=function(e){let{id:t,onEmpty:n,onRender:i}=e,d=(0,l.default)(),{adOptions:c}=(0,u.useAdOptions)(e.options),[p,h]=(0,o.useState)("rendering"),[m,f]=(0,o.useState)(""),[g,v]=(0,o.useState)(),{sparkle:b,disableAds:y,userState:I}=d,w=y||c.disableAds,S=!I.isLoaded;return(0,s.default)(c.refreshOptions,g),(0,o.useEffect)(()=>{let e=(0,a.constructAdOptions)({...c,containerId:t},d);!b||w||S||b.createAd(e).then(e=>{e.onRender(()=>{f("display"),h("rendered"),v(e),"function"==typeof i&&i(e)}),e.onEmpty(()=>{f(""),h("empty"),"function"==typeof n&&n()})}).catch(e=>{console.error("Could not instantiate ad:","Error:",e)})},[b,w,S]),(0,r.jsx)("div",{id:t,"data-testid":"sparkle-ad","data-ad-status":p,className:m})}},77041:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sparkleContext=t.DEFAULT_NETWORK_CODE=void 0;let i=n(67294),r=n(58436);t.DEFAULT_NETWORK_CODE="5262";let o={language:"en",sparkle:null,disableAds:!1,defaultAdCode:"",sparkleInitOptions:{networkCode:t.DEFAULT_NETWORK_CODE,breakpoints:r.DEFAULT_BREAKPOINTS},userState:{isLoaded:!1}};t.sparkleContext=(0,i.createContext)(o)},35426:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let r=n(85893),o=n(67294),a=i(n(4298)),s=n(77041),l=i(n(85399)),u=i(n(58436)),d=(e,t)=>(0,r.jsx)(a.default,{id:"sparkle-init",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:` + window.Sparkle.cmd.push(function(){ + var lang = document.documentElement.lang || "en"; + var options = ${JSON.stringify(e)} + window.Sparkle.init({ ...options, adBlockerShouldBeBlocked: lang !== "ja" }); + }); + `},type:t||"text/javascript"});t.default=function(e){let{children:t,debug:n,initFn:i=d,type:a="text/javascript"}=e,[c,p]=(0,o.useState)(null),{contextValue:h,options:m}=(0,u.default)(e,c,!1);return(0,l.default)(n,c),(0,o.useEffect)(()=>{window.Sparkle.cmd.push(()=>{p(window.Sparkle)})},[]),(0,r.jsxs)(r.Fragment,{children:[i(m,a),(0,r.jsx)(s.sparkleContext.Provider,{value:h,children:t})]})}},93064:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.constructAdOptions=t.constructDecoupleAdOptions=void 0;let r=i(n(94962)),o=n(71730);t.constructDecoupleAdOptions=function(e,t){return(0,r.default)({disableAds:t.disableAds,adCode:t.defaultAdCode,isDecoupled:!0},e)},t.constructAdOptions=function(e,t){return(0,r.default)({disableAds:t.disableAds,adCode:t.defaultAdCode},{targeting:{url:window.location.pathname,...function(e){let{userInfo:t}=e;return(null==t?void 0:t.isTerminalSubscriber)?{subscriber:"term"}:(null==t?void 0:t.isBBGSubscriber)?{subscriber:"yes"}:{subscriber:"no"}}(t.userState)}},{targetingModifiers:[o.querystringModifier]},e)}},71730:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.querystringModifier=void 0,t.querystringModifier=function(e){let t=new URLSearchParams(window.location.search),n={};for(let[e,i]of t.entries())n[e]=i;return{...e,...n}}},85399:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(67294);t.default=(e=!1,t)=>{(0,i.useEffect)(()=>{let n=new URLSearchParams(window.location.search),i=e||!!n.get("debugAds");t&&i&&t.showDebugInformationOnRender()},[t])}},45092:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let r=n(67294),o=i(n(85252));t.default=(e,t)=>{let{refreshInterval:n,changeCorrelator:i=!1}=e||{},{sparkle:a}=(0,o.default)(),[s,l]=(0,r.useState)();(0,r.useEffect)(()=>(a&&t&&n&&(clearInterval(s),l(window.setInterval(()=>{a.refresh([t],{changeCorrelator:i})},n))),()=>{clearInterval(s)}),[a,t,n,i])}},85252:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(67294),r=n(77041);t.default=function(){let e=(0,i.useContext)(r.sparkleContext);if(void 0===e)throw Error("useSparkle must be used within a SparkleProvider");return e}},58436:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_BREAKPOINTS=void 0;let r=n(67294),o=n(77041),a=i(n(63982));t.DEFAULT_BREAKPOINTS={mobile:0,tablet:760,small_desktop:1020,large_desktop:1280},t.default=(e,n,i=!0)=>{let[s,l]=(0,r.useState)("en"),[u,d]=(0,r.useState)(!i),{disableAds:c=!1,sparkleInitOptions:p,defaultAdCode:h,userStateTimeoutInMs:m}=e,f=(0,a.default)(m),g=(0,r.useMemo)(()=>({networkCode:o.DEFAULT_NETWORK_CODE,breakpoints:t.DEFAULT_BREAKPOINTS,adBlockerShouldBeBlocked:"ja"!==s,...p}),[s,p]),v=(0,r.useMemo)(()=>({language:s,sparkleInitOptions:g,sparkle:n,disableAds:c,defaultAdCode:h,userState:f}),[s,g,n,c,h,f]);return(0,r.useEffect)(()=>{l(document.documentElement.lang||"en")},[]),(0,r.useEffect)(()=>{n&&(!u&&i?(n.init(g),d(!0)):g.pageTargeting&&n.addPageTargeting(g.pageTargeting))},[n,g,i]),{contextValue:v,options:g}}},63982:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let i=n(67294),r=n(59628);t.default=(e=500)=>{let[t,n]=(0,i.useState)(!1),[o,a]=(0,i.useState)(),s=(0,r.useRegUIClient)();return(0,i.useEffect)(()=>(a(setTimeout(()=>n(!0),e)),()=>clearTimeout(o)),[]),(0,i.useEffect)(()=>{var e;!t&&(null===(e=s.session)||void 0===e?void 0:e.isRegUIClientLoaded)&&n(!0)},[s.session]),(0,i.useMemo)(()=>({isLoaded:t,userInfo:t&&s.client?{isTerminalSubscriber:s.client.isTerminalSubscriber(),isBBGSubscriber:s.client.isBBGSubscriber()}:void 0}),[t,s.client])}},94962:function(e,t){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},r=this&&this.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var i,r=0,o=t.length;rt||o>e&&a=t&&s>=n?o-e-i:a>t&&sn?a-t+r:0}n(59864);var d=function(e,t){var n=window,i=t.scrollMode,r=t.block,o=t.inline,s=t.boundary,d=t.skipOverflowHiddenElements,c="function"==typeof s?s:function(e){return e!==s};if(!a(e))throw TypeError("Invalid target");for(var p,h,m=document.scrollingElement||document.documentElement,f=[],g=e;a(g)&&c(g);){if((g=null==(h=(p=g).parentElement)?p.getRootNode().host||null:h)===m){f.push(g);break}null!=g&&g===document.body&&l(g)&&!l(document.documentElement)||null!=g&&l(g,d)&&f.push(g)}for(var v=n.visualViewport?n.visualViewport.width:innerWidth,b=n.visualViewport?n.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,I=window.scrollY||pageYOffset,w=e.getBoundingClientRect(),S=w.height,k=w.width,x=w.top,E=w.right,O=w.bottom,_=w.left,D="start"===r||"nearest"===r?x:"end"===r?O:x+S/2,C="center"===o?_+k/2:"end"===o?E:_,A=[],M=0;M=0&&_>=0&&O<=b&&E<=v&&x>=B&&O<=H&&_>=j&&E<=L)break;var W=getComputedStyle(P),K=parseInt(W.borderLeftWidth,10),F=parseInt(W.borderTopWidth,10),V=parseInt(W.borderRightWidth,10),U=parseInt(W.borderBottomWidth,10),$=0,G=0,Y="offsetWidth"in P?P.offsetWidth-P.clientWidth-K-V:0,q="offsetHeight"in P?P.offsetHeight-P.clientHeight-F-U:0,z="offsetWidth"in P?0===P.offsetWidth?0:N/P.offsetWidth:0,X="offsetHeight"in P?0===P.offsetHeight?0:R/P.offsetHeight:0;if(m===P)$="start"===r?D:"end"===r?D-b:"nearest"===r?u(I,I+b,b,F,U,I+D,I+D+S,S):D-b/2,G="start"===o?C:"center"===o?C-v/2:"end"===o?C-v:u(y,y+v,v,K,V,y+C,y+C+k,k),$=Math.max(0,$+I),G=Math.max(0,G+y);else{$="start"===r?D-B-F:"end"===r?D-H+U+q:"nearest"===r?u(B,H,R,F,U+q,D,D+S,S):D-(B+R/2)+q/2,G="start"===o?C-j-K:"center"===o?C-(j+N/2)+Y/2:"end"===o?C-L+V+Y:u(j,L,N,K,V+Y,C,C+k,k);var Q=P.scrollLeft,J=P.scrollTop;D+=J-($=Math.max(0,Math.min(J+$/X,P.scrollHeight-R/X+q))),C+=Q-(G=Math.max(0,Math.min(Q+G/z,P.scrollWidth-N/z+Y)))}A.push({el:P,top:$,left:G})}return A},c=n(97582);let p=0;function h(e){return"function"==typeof e?e:m}function m(){}function f(e,t){e&&d(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach(e=>{let{el:t,top:n,left:i}=e;t.scrollTop=n,t.scrollLeft=i})}function g(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function v(e,t){let n;function i(){n&&clearTimeout(n)}function r(){for(var r=arguments.length,o=Array(r),a=0;a{n=null,e(...o)},t)}return r.cancel=i,r}function b(){for(var e=arguments.length,t=Array(e),n=0;n1?n-1:0),r=1;r(t&&t(e,...i),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault))}}function y(){for(var e=arguments.length,t=Array(e),n=0;n{t.forEach(t=>{"function"==typeof t?t(e):t&&(t.current=e)})}}function I(){return String(p++)}function w(e){let{isOpen:t,resultCount:n,previousResultCount:i}=e;return t?n?n!==i?`${n} result${1===n?" is":"s are"} available, use up and down arrow keys to navigate. Press Enter key to select.`:"":"No results are available.":""}function S(e,t){return(e=Array.isArray(e)?e[0]:e)||!t?e:t}let k=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function x(e){void 0===e&&(e={});let t={};return k.forEach(n=>{e.hasOwnProperty(n)&&(t[n]=e[n])}),t}function E(e,t){return Object.keys(e).reduce((n,i)=>(n[i]=O(t,i)?t[i]:e[i],n),{})}function O(e,t){return void 0!==e[t]}function _(e){let{key:t,keyCode:n}=e;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?`Arrow${t}`:t}function D(e,t,n,i,r){if(void 0===r&&(r=!0),0===n)return -1;let o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);let a=t+e;a<0?a=r?o:0:a>o&&(a=r?0:o);let s=C(e,a,n,i,r);return -1===s?t>=n?-1:t:s}function C(e,t,n,i,r){let o=i(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(let e=t+1;e=0;e--)if(!i(e).hasAttribute("disabled"))return e;return r?e>0?C(1,0,n,i,!1):C(-1,n-1,n,i,!1):-1}function A(e,t,n,i){return void 0===i&&(i=!0),t.some(t=>t&&(g(t,e,n)||i&&g(t,n.document.activeElement,n)))}let M=v(e=>{T(e).textContent=""},500);function P(e,t){let n=T(t);e&&(n.textContent=e,M(t))}function T(e){void 0===e&&(e=document);let t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t)),t}var R=Object.freeze({__proto__:null,unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16}),N=(()=>{class e extends o.Component{constructor(e){var t;super(e),t=this,this.id=this.props.id||`downshift-${I()}`,this.menuId=this.props.menuId||`${this.id}-menu`,this.labelId=this.props.labelId||`${this.id}-label`,this.inputId=this.props.inputId||`${this.id}-input`,this.getItemId=this.props.getItemId||(e=>`${this.id}-item-${e}`),this.input=null,this.items=[],this.itemCount=null,this.previousResultCount=0,this.timeoutIds=[],this.internalSetTimeout=(e,t)=>{let n=setTimeout(()=>{this.timeoutIds=this.timeoutIds.filter(e=>e!==n),e()},t);this.timeoutIds.push(n)},this.setItemCount=e=>{this.itemCount=e},this.unsetItemCount=()=>{this.itemCount=null},this.setHighlightedIndex=function(e,n){void 0===e&&(e=t.props.defaultHighlightedIndex),void 0===n&&(n={}),n=x(n),t.internalSetState({highlightedIndex:e,...n})},this.clearSelection=e=>{this.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:this.props.defaultHighlightedIndex,isOpen:this.props.defaultIsOpen},e)},this.selectItem=(e,t,n)=>{t=x(t),this.internalSetState({isOpen:this.props.defaultIsOpen,highlightedIndex:this.props.defaultHighlightedIndex,selectedItem:e,inputValue:this.props.itemToString(e),...t},n)},this.selectItemAtIndex=(e,t,n)=>{let i=this.items[e];null!=i&&this.selectItem(i,t,n)},this.selectHighlightedItem=(e,t)=>this.selectItemAtIndex(this.getState().highlightedIndex,e,t),this.internalSetState=(e,t)=>{let n,i;let r={},o="function"==typeof e;return!o&&e.hasOwnProperty("inputValue")&&this.props.onInputValueChange(e.inputValue,{...this.getStateAndHelpers(),...e}),this.setState(t=>{t=this.getState(t);let a=o?e(t):e;n=(a=this.props.stateReducer(t,a)).hasOwnProperty("selectedItem");let s={};return n&&a.selectedItem!==t.selectedItem&&(i=a.selectedItem),a.type=a.type||0,Object.keys(a).forEach(e=>{t[e]!==a[e]&&(r[e]=a[e]),"type"!==e&&(a[e],O(this.props,e)||(s[e]=a[e]))}),o&&a.hasOwnProperty("inputValue")&&this.props.onInputValueChange(a.inputValue,{...this.getStateAndHelpers(),...a}),s},()=>{h(t)(),Object.keys(r).length>1&&this.props.onStateChange(r,this.getStateAndHelpers()),n&&this.props.onSelect(e.selectedItem,this.getStateAndHelpers()),void 0!==i&&this.props.onChange(i,this.getStateAndHelpers()),this.props.onUserAction(r,this.getStateAndHelpers())})},this.rootRef=e=>this._rootNode=e,this.getRootProps=function(e,n){let{refKey:i="ref",ref:r,...o}=void 0===e?{}:e,{suppressRefError:a=!1}=void 0===n?{}:n;t.getRootProps.called=!0,t.getRootProps.refKey=i,t.getRootProps.suppressRefError=a;let{isOpen:s}=t.getState();return{[i]:y(r,t.rootRef),role:"combobox","aria-expanded":s,"aria-haspopup":"listbox","aria-owns":s?t.menuId:null,"aria-labelledby":t.labelId,...o}},this.keyDownHandlers={ArrowDown(e){if(e.preventDefault(),this.getState().isOpen){let t=e.shiftKey?5:1;this.moveHighlightedIndex(t,{type:4})}else this.internalSetState({isOpen:!0,type:4},()=>{let e=this.getItemCount();if(e>0){let{highlightedIndex:t}=this.getState(),n=D(1,t,e,e=>this.getItemNodeFromIndex(e));this.setHighlightedIndex(n,{type:4})}})},ArrowUp(e){if(e.preventDefault(),this.getState().isOpen){let t=e.shiftKey?-5:-1;this.moveHighlightedIndex(t,{type:3})}else this.internalSetState({isOpen:!0,type:3},()=>{let e=this.getItemCount();if(e>0){let{highlightedIndex:t}=this.getState(),n=D(-1,t,e,e=>this.getItemNodeFromIndex(e));this.setHighlightedIndex(n,{type:3})}})},Enter(e){if(229===e.which)return;let{isOpen:t,highlightedIndex:n}=this.getState();if(t&&null!=n){e.preventDefault();let t=this.items[n],i=this.getItemNodeFromIndex(n);if(null==t||i&&i.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}},Escape(e){e.preventDefault(),this.reset({type:5,...!this.state.isOpen&&{selectedItem:null,inputValue:""}})}},this.buttonKeyDownHandlers={...this.keyDownHandlers," "(e){e.preventDefault(),this.toggleMenu({type:12})}},this.inputKeyDownHandlers={...this.keyDownHandlers,Home(e){let{isOpen:t}=this.getState();if(!t)return;e.preventDefault();let n=this.getItemCount();if(n<=0||!t)return;let i=C(1,0,n,e=>this.getItemNodeFromIndex(e),!1);this.setHighlightedIndex(i,{type:7})},End(e){let{isOpen:t}=this.getState();if(!t)return;e.preventDefault();let n=this.getItemCount();if(n<=0||!t)return;let i=C(-1,n-1,n,e=>this.getItemNodeFromIndex(e),!1);this.setHighlightedIndex(i,{type:8})}},this.getToggleButtonProps=function(e){let{onClick:n,onPress:i,onKeyDown:r,onKeyUp:o,onBlur:a,...s}=void 0===e?{}:e,{isOpen:l}=t.getState(),u={onClick:b(n,t.buttonHandleClick),onKeyDown:b(r,t.buttonHandleKeyDown),onKeyUp:b(o,t.buttonHandleKeyUp),onBlur:b(a,t.buttonHandleBlur)};return{type:"button",role:"button","aria-label":l?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0,...s.disabled?{}:u,...s}},this.buttonHandleKeyUp=e=>{e.preventDefault()},this.buttonHandleKeyDown=e=>{let t=_(e);this.buttonKeyDownHandlers[t]&&this.buttonKeyDownHandlers[t].call(this,e)},this.buttonHandleClick=e=>{e.preventDefault(),this.props.environment.document.activeElement===this.props.environment.document.body&&e.target.focus(),this.internalSetTimeout(()=>this.toggleMenu({type:13}))},this.buttonHandleBlur=e=>{let t=e.target;this.internalSetTimeout(()=>{this.isMouseDown||null!=this.props.environment.document.activeElement&&this.props.environment.document.activeElement.id===this.inputId||this.props.environment.document.activeElement===t||this.reset({type:14})})},this.getLabelProps=e=>({htmlFor:this.inputId,id:this.labelId,...e}),this.getInputProps=function(e){let n,{onKeyDown:i,onBlur:r,onChange:o,onInput:a,onChangeText:s,...l}=void 0===e?{}:e,u={};n="onChange";let{inputValue:d,isOpen:c,highlightedIndex:p}=t.getState();return l.disabled||(u={[n]:b(o,a,t.inputHandleChange),onKeyDown:b(i,t.inputHandleKeyDown),onBlur:b(r,t.inputHandleBlur)}),{"aria-autocomplete":"list","aria-activedescendant":c&&"number"==typeof p&&p>=0?t.getItemId(p):null,"aria-controls":c?t.menuId:null,"aria-labelledby":t.labelId,autoComplete:"off",value:d,id:t.inputId,...u,...l}},this.inputHandleKeyDown=e=>{let t=_(e);t&&this.inputKeyDownHandlers[t]&&this.inputKeyDownHandlers[t].call(this,e)},this.inputHandleChange=e=>{this.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:this.props.defaultHighlightedIndex})},this.inputHandleBlur=()=>{this.internalSetTimeout(()=>{let e=this.props.environment.document&&!!this.props.environment.document.activeElement&&!!this.props.environment.document.activeElement.dataset&&this.props.environment.document.activeElement.dataset.toggle&&this._rootNode&&this._rootNode.contains(this.props.environment.document.activeElement);this.isMouseDown||e||this.reset({type:10})})},this.menuRef=e=>{this._menuNode=e},this.getMenuProps=function(e,n){let{refKey:i="ref",ref:r,...o}=void 0===e?{}:e,{suppressRefError:a=!1}=void 0===n?{}:n;return t.getMenuProps.called=!0,t.getMenuProps.refKey=i,t.getMenuProps.suppressRefError=a,{[i]:y(r,t.menuRef),role:"listbox","aria-labelledby":o&&o["aria-label"]?null:t.labelId,id:t.menuId,...o}},this.getItemProps=function(e){let{onMouseMove:n,onMouseDown:i,onClick:r,onPress:o,index:a,item:s,...l}=void 0===e?{}:e;void 0===a?(t.items.push(s),a=t.items.indexOf(s)):t.items[a]=s;let u={onMouseMove:b(n,()=>{a!==t.getState().highlightedIndex&&(t.setHighlightedIndex(a,{type:2}),t.avoidScrolling=!0,t.internalSetTimeout(()=>t.avoidScrolling=!1,250))}),onMouseDown:b(i,e=>{e.preventDefault()}),onClick:b(r,()=>{t.selectItemAtIndex(a,{type:9})})},d=l.disabled?{onMouseDown:u.onMouseDown}:u;return{id:t.getItemId(a),role:"option","aria-selected":t.getState().highlightedIndex===a,...d,...l}},this.clearItems=()=>{this.items=[]},this.reset=function(e,n){void 0===e&&(e={}),e=x(e),t.internalSetState(n=>{let{selectedItem:i}=n;return{isOpen:t.props.defaultIsOpen,highlightedIndex:t.props.defaultHighlightedIndex,inputValue:t.props.itemToString(i),...e}},n)},this.toggleMenu=function(e,n){void 0===e&&(e={}),e=x(e),t.internalSetState(n=>{let{isOpen:i}=n;return{isOpen:!i,...i&&{highlightedIndex:t.props.defaultHighlightedIndex},...e}},()=>{let{isOpen:i,highlightedIndex:r}=t.getState();i&&t.getItemCount()>0&&"number"==typeof r&&t.setHighlightedIndex(r,e),h(n)()})},this.openMenu=e=>{this.internalSetState({isOpen:!0},e)},this.closeMenu=e=>{this.internalSetState({isOpen:!1},e)},this.updateStatus=v(()=>{let e=this.getState(),t=this.items[e.highlightedIndex],n=this.getItemCount(),i=this.props.getA11yStatusMessage({itemToString:this.props.itemToString,previousResultCount:this.previousResultCount,resultCount:n,highlightedItem:t,...e});this.previousResultCount=n,P(i,this.props.environment.document)},200);let{defaultHighlightedIndex:n,initialHighlightedIndex:i=n,defaultIsOpen:r,initialIsOpen:o=r,initialInputValue:a="",initialSelectedItem:s=null}=this.props,l=this.getState({highlightedIndex:i,isOpen:o,inputValue:a,selectedItem:s});null!=l.selectedItem&&void 0===this.props.initialInputValue&&(l.inputValue=this.props.itemToString(l.selectedItem)),this.state=l}internalClearTimeouts(){this.timeoutIds.forEach(e=>{clearTimeout(e)}),this.timeoutIds=[]}getState(e){return void 0===e&&(e=this.state),E(e,this.props)}getItemCount(){let e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e}getItemNodeFromIndex(e){return this.props.environment.document.getElementById(this.getItemId(e))}scrollHighlightedItemIntoView(){{let e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)}}moveHighlightedIndex(e,t){let n=this.getItemCount(),{highlightedIndex:i}=this.getState();if(n>0){let r=D(e,i,n,e=>this.getItemNodeFromIndex(e));this.setHighlightedIndex(r,t)}}getStateAndHelpers(){let{highlightedIndex:e,inputValue:t,selectedItem:n,isOpen:i}=this.getState(),{itemToString:r}=this.props,{id:o}=this,{getRootProps:a,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:d,getItemProps:c,openMenu:p,closeMenu:h,toggleMenu:m,selectItem:f,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:b,clearSelection:y,clearItems:I,reset:w,setItemCount:S,unsetItemCount:k,internalSetState:x}=this;return{getRootProps:a,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:d,getItemProps:c,reset:w,openMenu:p,closeMenu:h,toggleMenu:m,selectItem:f,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:b,clearSelection:y,clearItems:I,setItemCount:S,unsetItemCount:k,setState:x,itemToString:r,id:o,highlightedIndex:e,inputValue:t,isOpen:i,selectedItem:n}}componentDidMount(){{let e=()=>{this.isMouseDown=!0},t=e=>{this.isMouseDown=!1,!A(e.target,[this._rootNode,this._menuNode],this.props.environment)&&this.getState().isOpen&&this.reset({type:1},()=>this.props.onOuterClick(this.getStateAndHelpers()))},n=()=>{this.isTouchMove=!1},i=()=>{this.isTouchMove=!0},r=e=>{let t=A(e.target,[this._rootNode,this._menuNode],this.props.environment,!1);this.isTouchMove||t||!this.getState().isOpen||this.reset({type:16},()=>this.props.onOuterClick(this.getStateAndHelpers()))},{environment:o}=this.props;o.addEventListener("mousedown",e),o.addEventListener("mouseup",t),o.addEventListener("touchstart",n),o.addEventListener("touchmove",i),o.addEventListener("touchend",r),this.cleanup=()=>{this.internalClearTimeouts(),this.updateStatus.cancel(),o.removeEventListener("mousedown",e),o.removeEventListener("mouseup",t),o.removeEventListener("touchstart",n),o.removeEventListener("touchmove",i),o.removeEventListener("touchend",r)}}}shouldScroll(e,t){let{highlightedIndex:n}=void 0===this.props.highlightedIndex?this.getState():this.props,{highlightedIndex:i}=void 0===t.highlightedIndex?e:t;return n&&this.getState().isOpen&&!e.isOpen||n!==i}componentDidUpdate(e,t){O(this.props,"selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()}componentWillUnmount(){this.cleanup()}render(){let e=S(this.props.children,m);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;let t=S(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:"string"==typeof t.type?(0,o.cloneElement)(t,this.getRootProps(t.props)):void 0:null}}return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:w,itemToString:e=>null==e?"":String(e),onStateChange:m,onInputValueChange:m,onUserAction:m,onChange:m,onSelect:m,onOuterClick:m,selectedItemChanged:(e,t)=>e!==t,environment:"undefined"==typeof window?{}:window,stateReducer:(e,t)=>t,suppressRefError:!1,scrollIntoView:f},e.stateChangeTypes=R,e})();let B={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},L=v((e,t)=>{P(e(),t)},200),H="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect;function j(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function W(e){return`${e.slice(0,1).toUpperCase()}${e.slice(1)}`}function K(e){let t=(0,o.useRef)(e);return t.current=e,t}let F={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){let{selectedItem:t,itemToString:n}=e;return t?`${n(t)} has been selected.`:""},scrollIntoView:f,environment:"undefined"==typeof window?{}:window};function V(e,t,n){void 0===n&&(n=B);let i=e[`default${W(t)}`];return void 0!==i?i:n[t]}function U(e,t,n){void 0===n&&(n=B);let i=e[t];if(void 0!==i)return i;let r=e[`initial${W(t)}`];return void 0!==r?r:V(e,t,n)}function $(e,t,n){let{items:i,initialHighlightedIndex:r,defaultHighlightedIndex:o}=e,{selectedItem:a,highlightedIndex:s}=t;return 0===i.length?-1:void 0!==r&&s===r?r:void 0!==o?o:a?i.indexOf(a):0===n?-1:n<0?i.length-1:0}let G=()=>m;function Y(e,t,n){let{isInitialMount:i,highlightedIndex:r,items:a,environment:s,...l}=n;(0,o.useEffect)(()=>{i||L(()=>e({highlightedIndex:r,highlightedItem:a[r],resultCount:a.length,...l}),s.document)},t)}function q(e,t,n){let i;let{type:r,props:o}=t;switch(r){case n.ItemMouseMove:i={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:i={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:i={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:$(o,e,0)};break;case n.FunctionOpenMenu:i={isOpen:!0,highlightedIndex:$(o,e,0)};break;case n.FunctionCloseMenu:i={isOpen:!1};break;case n.FunctionSetHighlightedIndex:i={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:i={inputValue:t.inputValue};break;case n.FunctionReset:i={highlightedIndex:V(o,"highlightedIndex"),isOpen:V(o,"isOpen"),selectedItem:V(o,"selectedItem"),inputValue:V(o,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return{...e,...i}}r().array.isRequired,r().func,r().func,r().func,r().number,r().number,r().number,r().bool,r().bool,r().bool,r().any,r().any,r().any,r().string,r().string,r().string,r().func,r().string,r().func,r().func,r().func,r().func,r().func,r().shape({addEventListener:r().func,removeEventListener:r().func,document:r().shape({getElementById:r().func,activeElement:r().any,body:r().any})});var z=(0,c.pi)((0,c.pi)({},F),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,i=e.previousResultCount;return t?n?n!==i?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}}),X=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21});function Q(e,t){let n;let{type:i,props:r,altKey:o}=t;switch(i){case 14:n={isOpen:V(r,"isOpen"),highlightedIndex:V(r,"highlightedIndex"),selectedItem:r.items[t.index]};break;case 3:{let i=t.key,o=`${e.inputValue}${i}`,a=function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,i=e.items,r=e.itemToString,o=e.getItemNodeFromIndex,a=t.toLowerCase(),s=0;s=0&&{selectedItem:r.items[e.highlightedIndex]}}:{highlightedIndex:e.isOpen?D(-1,e.highlightedIndex,r.items.length,t.getItemNodeFromIndex,!1):$(r,e,-1),isOpen:!0};break;case 7:case 8:n={isOpen:V(r,"isOpen"),highlightedIndex:V(r,"highlightedIndex"),...e.highlightedIndex>=0&&{selectedItem:r.items[e.highlightedIndex]}};break;case 5:n={highlightedIndex:C(1,0,r.items.length,t.getItemNodeFromIndex,!1),isOpen:!0};break;case 6:n={highlightedIndex:C(-1,r.items.length-1,r.items.length,t.getItemNodeFromIndex,!1),isOpen:!0};break;case 9:n={highlightedIndex:D(-10,e.highlightedIndex,r.items.length,t.getItemNodeFromIndex,!1)};break;case 10:n={highlightedIndex:D(10,e.highlightedIndex,r.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={isOpen:!1,highlightedIndex:-1};break;case 11:n={isOpen:!1,highlightedIndex:-1,...e.highlightedIndex>=0&&{selectedItem:r.items[e.highlightedIndex]}};break;case 19:n={selectedItem:t.selectedItem};break;default:return q(e,t,X)}return{...e,...n}}function J(e){void 0===e&&(e={});let t={...z,...e},{items:n,scrollIntoView:i,environment:r,itemToString:a,getA11ySelectionMessage:s,getA11yStatusMessage:l}=t,[u,d]=function(e,t,n){let[i,r]=function(e,t,n){let i=(0,o.useRef)(),r=(0,o.useRef)(),a=(0,o.useCallback)((t,n)=>{r.current=n;let i=e(t=E(t,n.props),n);return n.props.stateReducer(t,{...n,changes:i})},[e]),[s,l]=(0,o.useReducer)(a,t),u=K(n),d=(0,o.useCallback)(e=>l({props:u.current,...e}),[u]),c=r.current;return(0,o.useEffect)(()=>{c&&i.current&&i.current!==s&&function(e,t,n){let{props:i,type:r}=e,o={};Object.keys(t).forEach(i=>{(function(e,t,n,i){let{props:r,type:o}=t,a=`on${W(e)}Change`;r[a]&&void 0!==i[e]&&i[e]!==n[e]&&r[a]({type:o,...i})})(i,e,t,n),n[i]!==t[i]&&(o[i]=n[i])}),i.onStateChange&&Object.keys(o).length&&i.onStateChange({type:r,...o})}(c,E(i.current,c.props),s),i.current=s},[s,n,c]),[s,d]}(e,t,n);return[E(i,n),r]}(Q,function(e){let t=U(e,"selectedItem"),n=U(e,"isOpen"),i=U(e,"highlightedIndex"),r=U(e,"inputValue");return{highlightedIndex:i<0&&t&&n?e.items.indexOf(t):i,isOpen:n,selectedItem:t,inputValue:r}}(t),t),{isOpen:c,highlightedIndex:p,selectedItem:h,inputValue:m}=u,f=(0,o.useRef)(null),g=(0,o.useRef)(null),w=(0,o.useRef)({}),S=(0,o.useRef)(null),k=function(e){let{id:t=`downshift-${I()}`,labelId:n,menuId:i,getItemId:r,toggleButtonId:a,inputId:s}=e;return(0,o.useRef)({labelId:n||`${t}-label`,menuId:i||`${t}-menu`,getItemId:r||(e=>`${t}-item-${e}`),toggleButtonId:a||`${t}-toggle-button`,inputId:s||`${t}-input`}).current}(t),x=(0,o.useRef)(),O=(0,o.useRef)(!0),D=K({state:u,props:t}),C=(0,o.useCallback)(e=>w.current[k.getItemId(e)],[k]);Y(l,[c,p,m,n],{isInitialMount:O.current,previousResultCount:x.current,items:n,environment:r,itemToString:a,...u}),Y(s,[h],{isInitialMount:O.current,previousResultCount:x.current,items:n,environment:r,itemToString:a,...u});let M=function(e){let{highlightedIndex:t,isOpen:n,itemRefs:i,getItemNodeFromIndex:r,menuElement:a,scrollIntoView:s}=e,l=(0,o.useRef)(!0);return H(()=>{!(t<0)&&n&&Object.keys(i.current).length&&(!1===l.current?l.current=!0:s(r(t),a))},[t]),l}({menuElement:g.current,highlightedIndex:p,isOpen:c,itemRefs:w,scrollIntoView:i,getItemNodeFromIndex:C});(0,o.useEffect)(()=>(S.current=v(e=>{e({type:20,inputValue:""})},500),()=>{S.current.cancel()}),[]),(0,o.useEffect)(()=>{m&&S.current(d)},[d,m]),O.current,(0,o.useEffect)(()=>{O.current||(x.current=n.length)});let P=function(e,t,n,i){let r=(0,o.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,o.useEffect)(()=>{let o=()=>{r.current.isMouseDown=!0},a=o=>{r.current.isMouseDown=!1,e&&!A(o.target,t.map(e=>e.current),n)&&i()},s=()=>{r.current.isTouchMove=!1},l=()=>{r.current.isTouchMove=!0},u=o=>{!e||r.current.isTouchMove||A(o.target,t.map(e=>e.current),n,!1)||i()};return n.addEventListener("mousedown",o),n.addEventListener("mouseup",a),n.addEventListener("touchstart",s),n.addEventListener("touchmove",l),n.addEventListener("touchend",u),function(){n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",a),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",l),n.removeEventListener("touchend",u)}},[e,n]),r}(c,[g,f],r,()=>{d({type:11})}),T=G("getMenuProps","getToggleButtonProps");(0,o.useEffect)(()=>(O.current=!1,()=>{O.current=!0}),[]),(0,o.useEffect)(()=>{c||(w.current={})},[c]);let R=(0,o.useMemo)(()=>({ArrowDown(e){e.preventDefault(),d({type:1,getItemNodeFromIndex:C,altKey:e.altKey})},ArrowUp(e){e.preventDefault(),d({type:2,getItemNodeFromIndex:C,altKey:e.altKey})},Home(e){e.preventDefault(),d({type:5,getItemNodeFromIndex:C})},End(e){e.preventDefault(),d({type:6,getItemNodeFromIndex:C})},Escape(){D.current.state.isOpen&&d({type:4})},Enter(e){e.preventDefault(),d({type:D.current.state.isOpen?7:0})},PageUp(e){D.current.state.isOpen&&(e.preventDefault(),d({type:9,getItemNodeFromIndex:C}))},PageDown(e){D.current.state.isOpen&&(e.preventDefault(),d({type:10,getItemNodeFromIndex:C}))}," "(e){e.preventDefault(),d({type:D.current.state.isOpen?8:0})}}),[d,C,D]),N=(0,o.useCallback)(()=>{d({type:15})},[d]),B=(0,o.useCallback)(()=>{d({type:17})},[d]),L=(0,o.useCallback)(()=>{d({type:16})},[d]),F=(0,o.useCallback)(e=>{d({type:18,highlightedIndex:e})},[d]),V=(0,o.useCallback)(e=>{d({type:19,selectedItem:e})},[d]),$=(0,o.useCallback)(()=>{d({type:21})},[d]),q=(0,o.useCallback)(e=>{d({type:20,inputValue:e})},[d]),X=(0,o.useCallback)(e=>({id:k.labelId,htmlFor:k.toggleButtonId,...e}),[k]),J=(0,o.useCallback)(function(e,t){let{onMouseLeave:n,refKey:i="ref",onKeyDown:r,onBlur:o,ref:a,...s}=void 0===e?{}:e,{suppressRefError:l=!1}=void 0===t?{}:t;return T("getMenuProps",l,i,g),{[i]:y(a,e=>{g.current=e}),id:k.menuId,role:"listbox","aria-labelledby":k.labelId,tabIndex:-1,onMouseLeave:b(n,()=>{d({type:12})}),...s}},[d,T,k]);return{getToggleButtonProps:(0,o.useCallback)(function(e,t){let{onBlur:n,onClick:i,onKeyDown:r,refKey:o="ref",ref:a,...s}=void 0===e?{}:e,{suppressRefError:l=!1}=void 0===t?{}:t,u=D.current.state,c={[o]:y(a,e=>{f.current=e}),"aria-activedescendant":u.isOpen&&u.highlightedIndex>-1?k.getItemId(u.highlightedIndex):"","aria-controls":k.menuId,"aria-expanded":D.current.state.isOpen,"aria-haspopup":"listbox","aria-labelledby":`${k.labelId}`,id:k.toggleButtonId,role:"combobox",tabIndex:0,onBlur:b(n,()=>{u.isOpen&&!P.current.isMouseDown&&d({type:11})}),...s};return s.disabled||(c.onClick=b(i,()=>{d({type:0})}),c.onKeyDown=b(r,e=>{let t=_(e);t&&R[t]?R[t](e):/^\S{1}$/.test(t)&&d({type:3,key:t,getItemNodeFromIndex:C})})),T("getToggleButtonProps",l,o,f),c},[D,k,T,d,P,R,C]),getLabelProps:X,getMenuProps:J,getItemProps:(0,o.useCallback)(function(e){let{item:t,index:i,onMouseMove:r,onClick:o,refKey:a="ref",ref:s,disabled:l,...u}=void 0===e?{}:e,{state:c,props:p}=D.current,m=t??n[i],f=j(i,m,p.items),g=j(f,m,p.items);if(g<0)throw Error("Pass either item or item index in getItemProps!");let v={disabled:l,role:"option","aria-selected":`${m===h}`,id:k.getItemId(g),[a]:y(s,e=>{e&&(w.current[k.getItemId(g)]=e)}),...u};return l||(v.onClick=b(o,()=>{d({type:14,index:f})})),v.onMouseMove=b(r,()=>{f!==c.highlightedIndex&&(M.current=!1,d({type:13,index:f,disabled:l}))}),v},[D,n,h,k,M,d]),toggleMenu:N,openMenu:L,closeMenu:B,setHighlightedIndex:F,selectItem:V,reset:$,setInputValue:q,highlightedIndex:p,isOpen:c,selectedItem:h,inputValue:m}}J.stateChangeTypes=X;var Z=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputFocus:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});r().array.isRequired,r().func,r().func,r().func,r().number,r().number,r().number,r().bool,r().bool,r().bool,r().any,r().any,r().any,r().string,r().string,r().string,r().string,r().string,r().string,r().func,r().string,r().string,r().func,r().func,r().func,r().func,r().func,r().func,r().shape({addEventListener:r().func,removeEventListener:r().func,document:r().shape({getElementById:r().func,activeElement:r().any,body:r().any})});let ee={activeIndex:-1,selectedItems:[]};r().array,r().array,r().array,r().func,r().func,r().func,r().number,r().number,r().number,r().func,r().func,r().string,r().string,r().shape({addEventListener:r().func,removeEventListener:r().func,document:r().shape({getElementById:r().func,activeElement:r().any,body:r().any})}),F.itemToString,F.stateReducer,F.environment},68187:function(e,t,n){"use strict";n.d(t,{r:function(){return A}});var i=n(67294),r=n(25434),o=n(77536),a=n(76795),s=n(36257),l=n.n(s),u=n(75186),d=n.n(u);let c=e=>{let[t,n]=(0,i.useState)(),[r,o]=(0,i.useState)(),[a,s]=(0,i.useState)("rendering");return{adRendered:t,sizeRendered:r,onAdRender:t=>{var i,r;n(t),o(null===(i=t.getSlotRenderedEvent())||void 0===i?void 0:i.getSize().join("x")),s("rendered"),null===(r=e.onAdRender)||void 0===r||r.call(e,t)},adStatus:a,onEmptyRender:()=>{var t;s("empty"),null===(t=e.onEmptyRender)||void 0===t||t.call(e)}}},p=(e,t,n)=>[e,t,n].filter(Boolean).join("-"),h=(e,t)=>"".concat(e).concat(t||""),m=e=>({strategy:"always",dimensions:{all:[[5,16]],large_desktop:[[970,250]],small_desktop:[[970,250]],tablet:[[320,50],[300,50]],mobile:[[320,50],[300,50]]},targeting:{position:h("leaderboard",e)}}),f=e=>({dimensions:{all:[[5,16],[5,5]],large_desktop:[[970,250]],small_desktop:[[970,250]],tablet:[[320,50],[300,50]],mobile:[[300,250],[3,3],[5,19]]},targeting:{position:h("immersive",e)}}),g=e=>({dimensions:{large_desktop:[[970,250],[5,16],[5,5]],small_desktop:[[970,250],[5,16],[5,5]]},targeting:{position:h("immersive",e)}}),v=e=>({dimensions:{tablet:[[5,16],[5,5],[320,50],[300,50]]},targeting:{position:h("immersive",e)}}),b=e=>({dimensions:{all:[[300,250],[3,3],[5,16],[5,5],[5,19]]},targeting:{position:h("immersive",e)}}),y=e=>({dimensions:{all:[[300,250],[3,3],[5,24]],large_desktop:[],small_desktop:[],tablet:[[5,11]],mobile:[[3,4]]},targeting:{position:h("in-body",e)}}),I=e=>({dimensions:{all:[[300,250],[3,3]],large_desktop:[],small_desktop:[],mobile:[[5,16],[5,5],[5,19]]},targeting:{position:h("box",e)}}),w=e=>({dimensions:{large_desktop:[[300,250],[3,3]],small_desktop:[[300,250],[3,3]]},targeting:{position:h("box",e)}}),S=e=>({dimensions:{large_desktop:[[300,600],[300,250],[3,3],[3,4]],small_desktop:[[300,600],[300,250],[3,3],[3,4]]},targeting:{position:h("box",e)}}),k=(e,t)=>({dimensions:{all:t?[[100,48]]:[[120,60]]},targeting:{position:h("broker-box",e)}}),x=e=>({dimensions:{all:[[120,60],[240,60]]},targeting:{position:h("combined-broker-box",e)}}),E=()=>({dimensions:{all:[[88,31],[1,1]]},strategy:"always",targeting:{position:h("sponsoredby")}}),O=()=>({dimensions:{all:[[290,62]]},targeting:{position:h("sponsoredby-brand")}}),_=()=>({dimensions:{all:[[3,5]]},targeting:{position:h("quiz")}}),D=(e,t)=>{switch(e){case"leaderboard":return m(t);case"in-body":return y(t);case"box":return I(t);case"box-desktop":return w(t);case"flexbox":return S(t);case"immersive":return f(t);case"immersive-desktop":return g(t);case"immersive-tablet":return v(t);case"immersive-mobile":return b(t);case"broker-box":return k(t);case"combined-broker-box":return x(t);case"broker-box-v2":return k(t,!0);case"sponsoredby":return E();case"sponsoredby-brand":return O();case"quiz":return _();default:return{}}};n(18643);var C={adPlaceholder:"media-ui-BaseAd_adPlaceholder-W4Hid5G045M-",baseAd:"media-ui-BaseAd_baseAd-dXBqvbLRJy0-",rendered:"media-ui-BaseAd_rendered-l1NeSo8x42M-",hideEmptyAd:"media-ui-BaseAd_hideEmptyAd-fxG2spO3FQY-",adHeader:"media-ui-BaseAd_adHeader-wkkvEuosJuI-"};let A=i.forwardRef(function(e,t){let{name:n="BaseAd",showPlaceholder:s=!0,hideEmptyAd:u=!1,positionIncrement:h,adType:m,adOptions:f,unstyled:g,className:v,adHeaderText:b,ariaLabel:y,isDecoupled:I=!1}=e,{adOptions:w}=(0,i.useContext)(a.adOptionsContext),{disableAds:S}=w||{},{sizeRendered:k,onAdRender:x,onEmptyRender:E,adStatus:O}=c(e),[_,A]=(0,i.useState)(""),M=(0,r.f)(n),P=(0,o.Sh)([C.baseAd,{[C.adPlaceholder]:s,[C.rendered]:!!k,[C.hideEmptyAd]:!!u}],{unstyled:g,className:v}),T={disableAds:!_,...D(m,h),...f};return(0,i.useEffect)(()=>{A(p(m,Math.floor(1e5*Math.random()).toString(),h))},[]),S?null:i.createElement("div",{className:P,ref:t,"data-component":M,"data-ad-size":k,"data-ad-status":O,role:"region","aria-label":y||b||"Advertisement","aria-busy":"rendering"===O,"aria-hidden":"empty"===O&&!!u||void 0},b&&i.createElement("div",{className:C.adHeader,"aria-hidden":"true"},b),I&&"leaderboard"===m?i.createElement(l(),{positionIncrement:h,id:_,options:T,onRender:x,onEmpty:E}):i.createElement(d(),{id:_,options:T,onRender:x,onEmpty:E}))})},84533:function(e,t,n){"use strict";n.d(t,{zd:function(){return c}});var i=n(67294),r=n(77536),o=n(76795),a=n(68187);n(25086);var s={fullWidthAd:"media-ui-FullWidthAd_fullWidthAd-waQ2dCOMRb8-",fullWidthAdWrapper:"media-ui-FullWidthAd_fullWidthAdWrapper-fClHZteIk3k-"};let l=i.forwardRef(function(e,t){let{className:n="",name:o="FullWidthAd",isDecoupled:l=!1,...u}=e;return i.createElement(a.r,{ref:t,className:(0,r.Sh)(s.fullWidthAd,{className:n}),name:o,isDecoupled:l,...u})});n(79403);var u={leaderboard:"media-ui-LeaderboardAd_leaderboard-FZL8q-6lUUI-",parallax:"media-ui-LeaderboardAd_parallax-9Z18W54a-Ss-",stickyParallax:"media-ui-LeaderboardAd_stickyParallax-CCvR3mPULtk-",parallaxWrapper:"media-ui-LeaderboardAd_parallaxWrapper-JMVgdxR--aU-",stickyParallaxWrapper:"media-ui-LeaderboardAd_stickyParallaxWrapper-LEpvVekzJzE-",hideEmptyAd:"media-ui-LeaderboardAd_hideEmptyAd-Xl5D-vwsjjM-"};let d=i.forwardRef(function(e,t){let{name:n="LeaderboardAd",className:a,enableParallax:d=!1,enableSticky:c=!1,isDecoupled:p=!1,hideEmptyAd:h=!1,...m}=e,{adOptions:f}=(0,i.useContext)(o.adOptionsContext),{disableAds:g}=f||{};if(g)return null;let v=(0,r.Sh)([s.fullWidthAdWrapper,{[u.hideEmptyAd]:!!h}]);if(d&&c){let e=(0,r.Sh)([u.leaderboard,{[u.stickyParallax]:d&&c},a]);return i.createElement("div",{className:v},i.createElement("div",{className:u.stickyParallaxWrapper,ref:t},i.createElement(l,{name:n,adType:"leaderboard",className:e,ariaLabel:"Leaderboard advertisement",...m,isDecoupled:p})))}let b=(0,r.Sh)([u.leaderboard,{[u.parallax]:d},a]);return i.createElement("div",{className:v,ref:t},i.createElement(l,{name:n,adType:"leaderboard",className:b,ariaLabel:"Leaderboard advertisement",...m,isDecoupled:p}))}),c=i.forwardRef(function(e,t){let{children:n,...r}=e;return i.createElement("div",{ref:t},i.createElement(d,{enableParallax:!0,...r}),i.createElement("div",{className:u.parallaxWrapper},n))})},7029:function(e,t,n){"use strict";n.d(t,{iR:function(){return d}});var i=n(67294),r=n(25434),o=n(77536);n(65520);var a={slider:"media-ui-Slider_slider-ALLO9PcCNsU-",track:"media-ui-Slider_track-AspceFK4VEs-",shadowWrapper:"media-ui-Slider_shadowWrapper-v4WZy1u-KEk-",shadows:"media-ui-Slider_shadows-EQ-OTy-YVEE-",isAtStart:"media-ui-Slider_isAtStart-n0WJnmO946M-",isAtEnd:"media-ui-Slider_isAtEnd-Au5Y27ItS5o-",navigation:"media-ui-Slider_navigation-Yx8NXBaqhDI-",boxShadow:"media-ui-Slider_boxShadow-kvy2WScFGAk-",arrow:"media-ui-Slider_arrow--r5pSh5snEo-"};let s=(e,t)=>{let n=0,i=-1;for(let r=0;r<=t.length;r++){let o=Math.abs(e-t[r]);if((-1===i||o<=i)&&(i=o,n=r),o>i)break}return n},l=(e,t,n)=>{let i=s(e,t);return i+n>=t.length?t[t.length-1]:t[i+n]},u=(e,t,n)=>{let i=s(e,t);return i-n<0?0:t[i-n]},d=i.forwardRef(function(e,t){let{children:n,scrollSize:s=200,trackClick:d,name:c="slider",shadow:p=!0,boxShadow:h=!1,onSliderScroll:m,snapPositions:f,trackRef:g=null}=e,v=(0,r.f)(c),b=i.useRef(null),y=g||b,[I,w]=i.useState(!0),[S,k]=i.useState(!1),x=i.useCallback(e=>{if(y.current){let t=y.current.scrollWidth<=y.current.offsetWidth+Math.round(y.current.scrollLeft),n=0===y.current.scrollLeft;k(t),w(n),m&&!e&&m(y.current.scrollLeft,n,t)}},[w,k]),E=i.useCallback(()=>{x()},[x]);i.useEffect(()=>{let e=(0,o.Ds)(E,250);return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}},[]);let O=i.useCallback(()=>{if(y.current){if(d&&d("arrow-click","arrow-back"),f&&f.length>0){let e=u(y.current.scrollLeft,f,2);(e||0===e)&&y.current.scrollTo({left:e,behavior:"smooth"});return}y.current.scrollBy?y.current.scrollBy({left:-s,behavior:"smooth"}):y.current.scrollLeft-=s}},[d,s,f]),_=i.useCallback(()=>{if(y.current){if(d&&d("arrow-click","arrow-forward"),f&&f.length>0){let e=l(y.current.scrollLeft,f,2);e&&y.current.scrollTo({left:e,behavior:"smooth"});return}y.current.scrollBy?y.current.scrollBy({left:s,behavior:"smooth"}):y.current.scrollLeft+=s}},[d,s,f]);return i.useEffect(()=>{x(!0)},[x,n]),i.createElement("div",{ref:t,className:(0,o.Sh)([a.slider,I&&a.isAtStart,S&&a.isAtEnd,h&&a.boxShadow],e),"data-component":v},i.createElement("div",{className:(0,o.Sh)([a.shadowWrapper,p&&a.shadows])},i.createElement("div",{"data-component":"".concat(v,"-track"),onScroll:E,ref:y,className:a.track},n)),i.createElement("div",{"data-component":"".concat(v,"-navigation"),className:a.navigation},i.createElement("button",{className:a.arrow,type:"button",onClick:O,disabled:I},"Back"),i.createElement("button",{className:a.arrow,type:"button",onClick:_,disabled:S},"Forward")))})},91949:function(e,t,n){"use strict";n.d(t,{K:function(){return p}});var i=n(67294),r=n(73935),o=n(25434),a=n(77536),s=n(67673);n(34407);var l={DropdownButton:"media-ui-DropdownButton_DropdownButton-OoxGX19AQ8M-",leftIcon:"media-ui-DropdownButton_leftIcon-rVySjAuSJtM-",dropdownIcon:"media-ui-DropdownButton_dropdownIcon---0qRNrC5Xc-",text:"media-ui-DropdownButton_text-5quqCVafbwY-"};let u=i.forwardRef(function(e,t){let{icon:n,text:r,name:u="DropdownButton",onClick:d,unstyled:c,id:p,onKeyDown:h,onBlur:m,tabIndex:f,role:g,"aria-controls":v,"aria-labelledby":b,"aria-haspopup":y,isOpen:I}=e,w=(0,o.f)(u),S=(0,a.Sh)([l.DropdownButton],{...e,unstyled:c,name:u});return i.createElement("button",{id:p,className:S,ref:t,"data-component":w,onClick:d,onKeyDown:h,onBlur:m,tabIndex:f,"aria-controls":v,"aria-labelledby":b,"aria-haspopup":y,"aria-label":null!=r?r:"Open","aria-expanded":I,role:g},n&&i.createElement("span",{className:l.leftIcon},n),i.createElement("p",{className:l.text},r),i.createElement("span",{className:l.dropdownIcon},I?i.createElement(s.Kh,null):i.createElement(s._M,null)))});var d=n(58783),c=n(62299);n(71132);let p=i.forwardRef(function(e,t){let{name:n="ButtonDropdown",unstyled:s,onSelect:l,options:p=[],defaultOption:h,className:m,menuPortal:f,icon:g,selectedItemOverride:v}=e,[b,y]=(0,i.useState)(h||p[0]);(0,i.useEffect)(()=>{y(e=>(null==v?void 0:v.value)&&v.value!==(null==e?void 0:e.value)?v:e)},[v]);let I=(0,o.f)(n),w=(0,i.useCallback)(e=>{l(e.selectedItem),y(e.selectedItem)},[l]),S=(0,a.Sh)(["media-ui-ButtonDropdown_wrapper-Ak7eD0bkYuk-",m],{...e,unstyled:s,name:n}),k=(0,i.useCallback)(e=>e.value,[]),x=(0,i.useCallback)((e,t)=>{let{changes:n}=t;return!e.isOpen&&n.isOpen?{...n,highlightedIndex:-1}:n},[]),{isOpen:E,getToggleButtonProps:O,getMenuProps:_,getItemProps:D,highlightedIndex:C}=(0,d.L7)({items:p,itemToString:k,onSelectedItemChange:w,stateReducer:x,selectedItem:b}),A=()=>i.createElement("ul",{"data-component":"".concat(I,"-menu"),className:(0,a.Sh)(["media-ui-ButtonDropdown_menu-nTOQvv7qJHg-",{"media-ui-ButtonDropdown_menu-open-oUemB42IHVo-":E}]),..._()},E&&p.map((e,t)=>i.createElement(c.Q,{key:e.value,...e,...D({item:e,index:t}),isHighlighted:C===t,isSelected:(null==b?void 0:b.value)===e.value}))),{id:M}=O();return i.createElement("div",{"data-component":I,className:S,ref:t},i.createElement(u,{text:(null==b?void 0:b.displayValue)||(null==b?void 0:b.value)||"Unknown",isOpen:E,unstyled:s,...O({id:M,"aria-controls":M,"aria-labelledby":M}),icon:g}),!f&&A(),f&&(0,r.createPortal)(A(),f))})},62299:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var i=n(67294),r=n(77536),o=n(70390);n(14322);var a={dropdownOption:"media-ui-DropdownOption_dropdownOption-8s4Fv9s-qOM-",small:"media-ui-DropdownOption_small-nMi0GJ7b6Lo-","item-selected":"media-ui-DropdownOption_item-selected-LnTnDv0Vv84-","item-highlighted":"media-ui-DropdownOption_item-highlighted-uM3hQArkcMY-",empty:"media-ui-DropdownOption_empty-aDJvhKGaN6I-",icon:"media-ui-DropdownOption_icon-3PLtbBvs9vY-",markets:"media-ui-DropdownOption_markets-tsKdErhpG-A-",title:"media-ui-DropdownOption_title-Aua39cq-QcA-",subtitle:"media-ui-DropdownOption_subtitle-5dSEDIr3brc-",item___selected:"media-ui-DropdownOption_item-selected-LnTnDv0Vv84-",item___highlighted:"media-ui-DropdownOption_item-highlighted-uM3hQArkcMY-"};let s=i.forwardRef(function(e,t){let{variant:n="default",size:s="default",isSelected:l,isHighlighted:u,className:d,id:c,"aria-selected":p,role:h,displayValue:m,value:f,subText:g,onClick:v,url:b,showPlusIcon:y}=e,I=i.createElement(i.Fragment,null,i.createElement("p",{className:a.title},m||f),g&&"markets"===n&&i.createElement("p",{className:a.subtitle},g));return i.createElement("li",{ref:t,"aria-selected":p,className:(0,r.Sh)([a.dropdownOption,a[n],d,{[a.small]:"small"===s||"extraSmall"===s,[a["item-selected"]]:l,[a["item-highlighted"]]:u}]),id:c,role:h,onClick:v},i.createElement("div",null,b?i.createElement("a",{href:b},I):I),y&&i.createElement("div",{className:a.icon},i.createElement(o.v8,null)))})},33511:function(e,t,n){"use strict";n.d(t,{c:function(){return h}});var i=n(67294),r=n(25434),o=n(83682),a=n(77536),s=n(7029),l=n(91949),u=n(98279);n(18790);var d={bar:"media-ui-TickerBarWithPill_bar-Jp-mSdGx2rs-",isStart:"media-ui-TickerBarWithPill_isStart-DVblI0eS-5k-",securities:"media-ui-TickerBarWithPill_securities-QkJSeChnEgQ-",isEnd:"media-ui-TickerBarWithPill_isEnd-y6b4LuxnPgY-",securitiesCollapsed:"media-ui-TickerBarWithPill_securitiesCollapsed-SvMOnXySPjE-",mobileSecurities:"media-ui-TickerBarWithPill_mobileSecurities-kyIAwDI40yE-",menuPortal:"media-ui-TickerBarWithPill_menuPortal-t-2fUABFAYw-",ticker:"media-ui-TickerBarWithPill_ticker-5arx5cdkyZQ-",scrollSnap:"media-ui-TickerBarWithPill_scrollSnap--pXjNv79E04-"};let c=(e,t)=>{let n=[0];for(let i=1;i<=(null==e?void 0:e.children.length);i++){let r=e.children[i];if(!r)continue;r.classList.remove(d.scrollSnap);let o=Math.floor(r.offsetLeft+r.offsetWidth-t);o>0&&n.push(o)}return n},p=(e,t)=>{let n=[0],i=0;for(let r=1;r<=(null==e?void 0:e.children.length);r++){let o=e.children[r];if(!o)continue;if(o.offsetLeft+o.offsetWidth<=i+t){o.classList.remove(d.scrollSnap);continue}let a=o.offsetLeft;o.classList.add(d.scrollSnap),n.push(a),i=a}return n},h=i.forwardRef(function(e,t){let{tickers:n=[],displaySecurityName:h=!1,trackClick:m,securities:f,onSecuritiesUpdate:g,name:v="ticker-bar-with-pill"}=e,[b]=(0,r.f)(v),[y,I]=i.useState([]),[w,S]=i.useState(!0),[k,x]=i.useState(!0),[E,O]=i.useState(!1),_=i.useRef(null),D=(0,o.H)(_,t),C=i.useRef(null),A=i.useCallback(()=>typeof document>"u"?null:document.querySelector("[data-component='menu-portal']"),[]),M=i.useCallback((e,t,n)=>{S(t),x(n)},[]);!function(e){let{trackRef:t,tickers:n,onSliderScroll:r,setSecuritiesCollapsed:o,setSnapPositions:s}=e,l=()=>{if(typeof document>"u")return;let e=t.current,n=document.querySelector("[data-component='dropdown-button'] p"),i=window.innerWidth>=1123;if(!e)return;let r=i&&(null==n?void 0:n.offsetWidth)>0?e.offsetWidth+n.offsetWidth:e.offsetWidth;s(i?c(e,r):p(e,r))};i.useEffect(()=>{if(l(),r(0,!0,!1),typeof document>"u")return()=>{};let e=t.current,n=document.querySelector("[data-component='dropdown-button'] p"),i=(0,a.Ds)(l,100),s=new ResizeObserver(e=>{for(let t of e)t&&i()}),u=()=>{n&&o(0===n.offsetWidth)};return n&&n.addEventListener("transitionend",u),e&&s.observe(e),()=>{e&&s.unobserve(e),n&&n.removeEventListener("transitionend",u)}},[n])}({trackRef:C,tickers:n,onSliderScroll:M,setSecuritiesCollapsed:O,setSnapPositions:I});let P=i.useCallback(e=>{m&&e&&m("click","tickerbar.dropdown_".concat(e.value)),g(e),C.current&&(C.current.scrollLeft=0)},[g]),T=i.useMemo(()=>n.map(e=>{let{url:t,ticker:n,name:r,percentChange1Day:o,price:a}=e;return i.createElement("a",{href:t||"/quote/".concat(n),className:d.ticker,key:n,onClick:m?()=>m("ticker-click",n):()=>{},role:"link"},i.createElement(u.EK,{ticker:n.replace(/:.*/,""),displayName:h?r:void 0,percentChange:o||0,price:a,variant:u.$e.refreshbar2024}))}),[n,m]);return i.createElement("div",{ref:D,"data-component":b,className:(0,a.Sh)([d.bar,w&&d.isStart,k&&d.isEnd,E&&d.securitiesCollapsed],e)},i.createElement(l.K,{className:d.securities,options:f,onSelect:P,unstyled:!0}),i.createElement("div",{className:d.menuPortal,"data-component":"menu-portal"}),i.createElement(s.iR,{trackRef:C,trackClick:m,shadow:!1,onSliderScroll:M,snapPositions:y},i.createElement(l.K,{className:(0,a.Sh)([d.mobileSecurities,d.scrollSnap]),options:f,onSelect:P,menuPortal:A(),unstyled:!0}),T))})},55441:function(e,t,n){"use strict";n.d(t,{C:function(){return d}});var i=n(67294),r=n(25434),o=n(77536),a=n(33511),s=n(18005);let l={top:["SPX:IND","CCMP:IND","B500:IND","GT10:GOV","CL1:COM","UKX:IND","GC1:COM","EURUSD:CUR","GBPUSD:CUR"],indices:["SPX:IND","B500:IND","UKX:IND","INDU:IND","RTY:IND","CCMP:IND","NKY:IND","HSI:IND","DAX:IND"],rates:["GT5:GOV","GT10:GOV","GTJPY10Y:GOV","GTGBP10Y:GOV","GTFRF10Y:GOV","GTDEM10Y:GOV","GTCAD10Y:GOV","GTHKD10Y:GOV"]},u={...l,top:["UKX:IND","SPX:IND","USDGBP:CUR","EURGBP:CUR","CL1:COM","CCMP:IND","DAX:IND","FTSEMIB:IND"]};[...new Set(Object.values(l).flat())],[...new Set(Object.values(u).flat())],n(13255);let d=i.forwardRef(function(e,t){var n,d;let{tickerBar:c,isUk:p=!1,trackClick:h,name:m="ticker-bar-with-pill-wrapper"}=e,f=(0,s.Q)(),g=[{displayValue:f({id:"media-ui-markets-top-securities",defaultMessage:"Top Securities"}),value:"top"},{displayValue:f({id:"media-ui-markets-market-indices",defaultMessage:"Market Indices"}),value:"indices"},{displayValue:f({id:"media-ui-markets-rates-and-bonds",defaultMessage:"Rates & Bonds"}),value:"rates"}],v=null!==(d=null===(n=g[0])||void 0===n?void 0:n.value)&&void 0!==d?d:"top",b=(0,i.useMemo)(()=>new Set(g.map(e=>{let{value:t}=e;return t})),[g]),y=(0,r.f)(m),I=(0,i.useMemo)(()=>p?u:l,[p]),[w,S]=(0,i.useState)(v),k=(0,i.useMemo)(()=>new Set(I[w]||[]),[w,I]),x=(0,i.useMemo)(()=>null==c?void 0:c.filter(e=>{let{ticker:t}=e;return k.has(t)}),[k,c]),E=(0,o.Sh)(["media-ui-TickerBarWithPillWrapper_tickerbarWrapper-m0--8U56QVY-"],e);return i.createElement("div",{className:E,ref:t,"data-component":y},i.createElement(a.c,{displaySecurityName:!0,trackClick:h,tickers:x,securities:g,onSecuritiesUpdate:e=>{(null==e?void 0:e.value)&&b.has(null==e?void 0:e.value)&&S(e.value)}}))})},18643:function(){},25086:function(){},79403:function(){},34407:function(){},65520:function(){},71132:function(){},14322:function(){},18790:function(){},13255:function(){},69921:function(e,t){"use strict";var n=60103,i=60106,r=60107,o=60108,a=60114,s=60109,l=60110,u=60112,d=60113,c=60120,p=60115,h=60116;if("function"==typeof Symbol&&Symbol.for){var m=Symbol.for;m("react.element"),m("react.portal"),m("react.fragment"),m("react.strict_mode"),m("react.profiler"),m("react.provider"),m("react.context"),m("react.forward_ref"),m("react.suspense"),m("react.suspense_list"),m("react.memo"),m("react.lazy"),m("react.block"),m("react.server.block"),m("react.fundamental"),m("react.debug_trace_mode"),m("react.legacy_hidden")}},59864:function(e,t,n){"use strict";n(69921)}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7287-3615400021d28a4a_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7287-3615400021d28a4a_05Q6.js new file mode 100644 index 0000000..4c6f324 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7287-3615400021d28a4a_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7287],{87909:function(e,t,a){"use strict";a.d(t,{fA:function(){return m},JJ:function(){return s},Dq:function(){return g}});var n,r,i=a(67294),o=a(86896),u=a(64618),l=a(70700);function s(e){return()=>{let t;try{let a=(0,o.Z)();t=(0,i.useCallback)(({id:e,defaultMessage:t},n)=>a.formatMessage({id:e,defaultMessage:t},n),[a,e])}catch{let e=(0,u.Sn)(),a=(0,l.d)({locale:"en",messages:{}},e);t=({defaultMessage:e,id:t},n)=>a.formatMessage({defaultMessage:e,id:t},n)}return t}}var d=a(85893),c=a(79960),f=a(44012);function m(e){return e=>{let{id:t,values:a,defaultMessage:n,children:r,...i}=e;try{return(0,o.Z)(),(0,d.jsx)(f.Z,{id:t,values:a,children:r,defaultMessage:n,...i})}catch{let e=(0,u.Sn)(),i=(0,c.d)({locale:"en",messages:{}},e).formatMessage({defaultMessage:n,id:t},a);if("function"==typeof r)return(0,d.jsx)(d.Fragment,{children:r?.([i])});return(0,d.jsx)(d.Fragment,{children:i})}}}(n=r||(r={})).En="en",n.Ja="ja";let h=e=>{let t=e.split("-")[0].toLowerCase();return t===r.En||t===r.Ja?t:r.En},g=()=>{try{let e=(0,o.Z)();return{...e,languageCode:h(e.locale)}}catch{let e=(0,u.Sn)();return{...(0,l.d)({locale:"en-US",messages:{}},e),languageCode:r.En}}}},48388:function(e,t,a){"use strict";a.d(t,{V$:function(){return g},_U:function(){return v}}),(n=r||(r={})).Success="success",n.Pending="pending",n.Failed="failed";var n,r,i=a(67294);let o={abbaConfig:null,abbaConfigStatus:r.Pending,geoIpData:null,accesslistMembership:null,refreshAbbaClient:()=>Promise.resolve()},u=(0,i.createContext)(o);var l=a(85893);let s="abbaClient:ready",d=()=>Promise.resolve();function c(e,t){return"fulfilled"===e.status?e.value:(console.error(`Error occurred while fetching abba feature: ${e.reason instanceof Error?e.reason:JSON.stringify(e.reason)}`),t||null)}function f(){let{getAbbaClient:e}=window?.__bloomberg__??{};return e?e():Promise.reject("'getAbbaClient' could not be found")}async function m(){let e=await f();return e&&e.getGeoIPData?e.getGeoIPData():Promise.reject("'getGeoIPData' could not be found.")}async function h(){let e=await f();return e&&e.getAccesslistMembership?e.getAccesslistMembership():Promise.reject("'getAccesslistMembership' could not be found.")}let g=({children:e,platform:t,user:n})=>{let[o,f]=(0,i.useState)(null),[g,v]=(0,i.useState)(null),[b,p]=(0,i.useState)(null),[w,y]=(0,i.useState)(r.Pending);(0,i.useEffect)(()=>{async function e(){let[e,a,i]=await Promise.allSettled([function(e,t={}){let{getAbbaConfig:a}=window.__bloomberg__??{};return a?a(e,t):Promise.reject("'getAbbaConfig' could not be found.")}(t,n),m(),h()]),o=c(e);f(o);let u=c(a);v(u),u&&function(e){let{region:t="",country:a="",provinceId:n="",cityId:r="",fieldP:i="",fieldMI:o="",fieldD:u="",fieldIS:l="",fieldN:s=""}=e,d=`${t}~${a}~${n}~${r}~${i}`,c=`${o}~${u}~${l}~${s}`;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"geoip_info_ready",geoip_info:d,geoip_info_extension:c})}(u),p(c(i,null)),y(o?r.Success:r.Failed)}let{getAbbaClient:a}=window?.__bloomberg__??{};return a?(e(),()=>{}):(window.addEventListener(s,e),()=>{window.removeEventListener(s,e)})},[t,n]);let C=(0,i.useMemo)(()=>({abbaConfig:o,abbaConfigStatus:w,geoIpData:g,accesslistMembership:b,refreshAbbaClient:a.g.window?.__bloomberg__?.refreshAbbaClient||d}),[o,w]);return(0,l.jsx)(u.Provider,{value:C,children:e})},v=()=>(0,i.useContext)(u)},41762:function(e,t,a){"use strict";a.d(t,{j$:function(){return c},_P:function(){return f}});var n=a(85893),r=a(67294),i=a(59628);let o=(0,r.createContext)({controller:null,isLoggedIn:null,isSubscriber:null,subscriberType:void 0,openSignUp:null,openSignIn:null});var u=a(23324);let l={FOR_SUBSCRIBER:100,FOR_REGISTERED:10},s={FOR_SUBSCRIBER:100,FOR_REGISTERED:25};class d{#e;#t;#a;#n=new Set;#r={};#i;#o;#u;#l;constructor({bconnectId:e,watchlistServiceUrl:t,isSubscriber:a,updateValues:n}){this.#u=n,this.#e=a,this.#t=e,this.#o=new u.Z({watchlistServiceUrl:t}),this.#l=!1}get isUpdating(){return this.#l}get watchlistSummarysForTickers(){return this.#r}get isAtMaximumWatchlist(){return!!this.#i&&(this.#e?this.#i>=l.FOR_SUBSCRIBER:this.#i>=l.FOR_REGISTERED)}get #s(){return 400}get #d(){return this.#e?s.FOR_SUBSCRIBER:s.FOR_REGISTERED}get defaultWatchlistId(){return this.#a||null}updateTickerWatchlists(){return this.#t?(this.#u?.(e=>({...e,isUpdating:this.#l=!0})),this.#o.getUserHoldingsSummary({bconnectId:this.#t,tickers:[...this.#n]}).then(({data:e})=>{this.#r=this.#c(e),this.#a=e?.defaultWatchlistId||this.#a,this.#u?.({isAtMaximumWatchlist:this.isAtMaximumWatchlist,isUpdating:this.#l=!1,defaultWatchlistId:this.defaultWatchlistId,watchlistSummarysForTickers:this.#r})})):Promise.reject()}registerTicker(e){e&&this.#n.add(e)}createWatchlist({name:e,isDefault:t,currency:a="USD",ticker:n}){return e&&this.#t?this.#o.createWatchlist({bconnectId:this.#t,watchlistData:{portMeta:{name:e,currency:a,isDefault:t},...n?{holdings:[{security:n,shares:0,buyprice:0,buydate:new Date().valueOf()}]}:void 0}}):Promise.reject()}removeTickerFromWatchlists({ticker:e,watchlistIds:t}){return e&&t.length&&this.#t?this.#o.removeTickerFromWatchlists({bconnectId:this.#t,ticker:e,watchlistIds:t}):Promise.reject()}addTickerToWatchlists({ticker:e,watchlistIds:t}){return e&&t.length&&this.#t?this.#o.addTickerToWatchlists({bconnectId:this.#t,ticker:e,watchlistIds:t}):Promise.reject()}#c(e){let t={...this.#r};if(!e||"string"==typeof e)return t;let{tickers:a,watchlists:n}=e;return Object.entries(a).reduce((e,[t,a])=>{let r=new Set(a),i=n.map(({watchlistId:e,watchlistName:t,holdingCount:a,tickerCount:n})=>({watchlistId:e,watchlistName:t,isFollowing:r.has(e),isFull:a>=this.#s||n>=this.#d}));return i.sort((e,t)=>t.watchlistId===this.#a?1/0:e.watchlistId===this.#a?-1/0:e.watchlistId-t.watchlistId),{...e,[t]:i}},t)}}function c({watchlistServiceUrl:e,children:t}){let a=(0,i.useRegUIClient)(),[u,l]=(0,r.useState)(null),[s,c]=(0,r.useState)(null);if(!a)throw Error("QuickAddProvider must be a child of RegUIClientProvider");let{session:f,client:m}=a,h=!!f?.userInfo?.subscription,g=!!f?.isLoggedIn,v=f?.subscriberType,b=f?.userInfo?.userId,p=(0,r.useCallback)(()=>m?.linkToSignIn(),[m]),w=(0,r.useCallback)(()=>m?.linkToRegister(),[m]),y=(0,r.useMemo)(()=>b&&e&&g?new d({bconnectId:b,watchlistServiceUrl:e,isSubscriber:h,subscriberType:v,updateValues:l}):null,[e,b,g,l]),C=(0,r.useCallback)(()=>{c(null)},[]),T=(0,r.useCallback)(()=>{"hidden"===document.visibilityState&&C()},[]);return(0,r.useEffect)(()=>(window.addEventListener("blur",C),document.addEventListener("visibilitychange",T),()=>{window.removeEventListener("blur",C),document.removeEventListener("visibilitychange",T)}),[]),(0,n.jsx)(o.Provider,{value:{controller:y,isLoggedIn:g,isSubscriber:h,subscriberType:v,openSignIn:p,openSignUp:w,openOverlay:s,setOpenOverlay:c,...u},children:t})}function f(){let e=(0,r.useContext)(o);if(!e)throw Error("useQuickAdd must be used within QuickAddProvider!");return e}},87183:function(e,t,a){"use strict";a.d(t,{q:function(){return o}});var n=a(67294),r=a(77536),i=a(68187);a(21988);let o=n.forwardRef(function(e,t){let{className:a,name:o="BoxAd",flexSizeAllowed:u=!1,isDesktop:l=!1,...s}=e;return n.createElement(i.r,{ref:t,className:(0,r.Sh)("media-ui-BoxAd_boxAd-rTusT9mNmWo-",{className:a}),name:o,adType:u?"flexbox":l?"box-desktop":"box",ariaLabel:"Advertisement",...s})})},56253:function(e,t,a){"use strict";a.d(t,{V:function(){return u}});var n=a(67294),r=a(25434),i=a(77536);a(53716);var o={placeholderParagraphWrapper:"media-ui-Placeholder_placeholderParagraphWrapper-yqk1PvmrNoc-",shimmeringParagraph:"media-ui-Placeholder_shimmeringParagraph-CAmHW46Yvo4-",shimmeringLine:"media-ui-Placeholder_shimmeringLine-eiuBL5rgMWw-",short:"media-ui-Placeholder_short-JSHimwvHcHU-",shimmeringImage:"media-ui-Placeholder_shimmeringImage-3e9ZALBhsYQ-"};let u=n.forwardRef(function(e,t){let{children:a,name:i="placeholder"}=e;return n.createElement("div",{ref:t,"data-component":(0,r.f)(i)},a)});u.Line=function(e){let{name:t="placeholder-line",short:a=!1}=e;return n.createElement("div",{className:(0,i.Sh)([o.shimmeringLine,a&&[o.short]]),"data-component":(0,r.f)(t)})},u.Line.displayName="Placeholder.Line",u.Paragraph=e=>{let{name:t="placeholder-paragraph",paragraphs:a=1,lines:i=6}=e,l=[...Array(a).keys()],s=[...Array(i).keys()];return n.createElement("div",{className:o.placeholderParagraphWrapper},l.map(e=>n.createElement("div",{key:e,className:o.shimmeringParagraph,"data-component":(0,r.f)(t)},s.map(e=>n.createElement(u.Line,{key:e})))))},u.Paragraph.displayName="Placeholder.Paragraph",u.Image=function(e){let{name:t="placeholder-image",...a}=e;return n.createElement("div",{className:(0,i.Sh)([o.shimmeringImage],a),"data-component":(0,r.f)(t)})},u.Image.displayName="Placeholder.Image"},92971:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});var n=a(73935);function r(e){let{children:t}=e;return(0,n.createPortal)(t,document.body)}},11934:function(e,t,a){"use strict";a.d(t,{OK:function(){return l},mQ:function(){return s}});var n=a(67294),r=a(25434),i=a(7029),o=a(77536);a(18161);var u={tabs:"media-ui-Tabs_tabs-u-Bix8TJACE-",navigation:"media-ui-Tabs_navigation-T4QnKpvvd2o-",navigationItem:"media-ui-Tabs_navigationItem-G8nqBQ7MyNQ-",tabText:"media-ui-Tabs_tabText-SVJ-42wuIVg-",tabIcon:"media-ui-Tabs_tabIcon-ObJANShqDQA-",active:"media-ui-Tabs_active-Kod2QK8yhi8-",slider:"media-ui-Tabs_slider-kejv5ctlhVc-",tab:"media-ui-Tabs_tab-ajujBB-5K9w-",box:"media-ui-Tabs_box-6VEEgCfRg20-",sizeDefault:"media-ui-Tabs_sizeDefault-0vfo5BUm5zA-",basic:"media-ui-Tabs_basic-cDinItWzrUM-",gliding:"media-ui-Tabs_gliding-GUnHHYJpdNE-",sizeSmall:"media-ui-Tabs_sizeSmall-egmAkQaF8vY-",sizeLarge:"media-ui-Tabs_sizeLarge-rlPYr4bXytU-",noWidth:"media-ui-Tabs_noWidth-MbpZmWaVUOA-",default:"media-ui-Tabs_default--OhIzZC92sU-",centerTabText:"media-ui-Tabs_centerTabText-1-l2IGKpYO0-"};function l(e){let{children:t,isActive:a,className:r}=e;return n.createElement("div",{className:(0,o.Sh)([u.tab,r,a&&u.active])},t)}let s=n.forwardRef(function(e,t){let{name:a="Tabs",onTabSwitch:l,children:s=[],tabClassName:d,variant:c="default",size:f="default",width:m,showSlider:h,trackClick:g,textAlignment:v="left"}=e,b=(0,n.useRef)(null),p=n.Children.map(s,e=>{let{props:{title:t,Icon:a,buttonClassName:n}}=e;return{tabTitle:t,Icon:a,className:n}}),w=n.Children.map(s,(e,t)=>{let{props:{title:a,isDefault:n}}=e;return n&&a?t:-1}).find(e=>e>-1),[y,C]=(0,n.useState)(w||0);(0,n.useEffect)(()=>{void 0!==w&&C(w)},[w]);let[T]=(0,r.f)(a),S=(0,n.useCallback)(e=>{let t=e.currentTarget.dataset.key,a=Number(e.currentTarget.dataset.index);C(a),l&&l(t,a)},[l,C]),x=p.map((e,t)=>n.createElement("button",{className:(0,o.Sh)([u.navigationItem,t===y&&u.active,!m&&u.noWidth,e.className]),type:"button",key:"".concat(e.tabTitle,"-").concat(t),"data-key":e.tabTitle,"data-index":t,onClick:S,"data-active-tab":t===y,style:{width:m||"auto"}},e.Icon&&n.createElement(n.Fragment,null,e.Icon),n.createElement("div",{className:(0,o.Sh)([u.tabText,e.Icon&&u.tabIcon]),"data-tab-title":e.tabTitle,"data-component":"".concat(T,"-tab-title")},e.tabTitle))),{gliderWidth:k,gliderOffset:_}=function(e,t,a){let[r,i]=(0,n.useState)(0),[o,u]=(0,n.useState)(0);return(0,n.useEffect)(()=>{if(!(null==e?void 0:e.current))return;let a=e.current.querySelector(t);a&&(i(a.offsetWidth),u(a.offsetLeft))},[t,...a]),{gliderWidth:r,gliderOffset:o}}(b,'[data-active-tab="true"]',[y||0,c,f]);return n.createElement("div",{className:(0,o.Sh)([u.tabs,"default"===c&&u.default,"basic"===c&&u.basic,"box"===c&&u.box,"gliding"===c&&u.gliding],{unstyled:e.unstyled,className:e.className,name:e.name}),ref:t,"data-component":T},n.createElement("nav",{ref:b,style:"gliding"===c?{"--glider-width":"".concat(k,"px"),"--glider-offset":"".concat(_,"px")}:void 0,className:(0,o.Sh)([u.navigation,"default"===f&&u.sizeDefault,"small"===f&&u.sizeSmall,"large"===f&&u.sizeLarge,"center"===v&&u.centerTabText])},h?n.createElement(i.iR,{className:u.slider,trackClick:g,shadow:!1,boxShadow:!0},x):x),n.Children.map(s,(e,t)=>(0,n.cloneElement)(e,{isActive:t===y,className:(0,o.Sh)([d,e.props.className])})))})},21193:function(e,t,a){"use strict";a.d(t,{E:function(){return f}});var n=a(67294),r=a(77536),i=a(25434),o=a(9339),u=a(58783),l=a(62299);a(76295);var s={wrapper:"media-ui-SearchDropdown_wrapper-QrBLVLi4oBI-","input-container":"media-ui-SearchDropdown_input-container-idTg0RoBPTY-",menu:"media-ui-SearchDropdown_menu-0ewUbI1O8is-","menu-open":"media-ui-SearchDropdown_menu-open-iB3noPvcRcA-",item:"media-ui-SearchDropdown_item-AXDcvl-DJJ0-",small:"media-ui-SearchDropdown_small-Pu-W1DSuRbc-",empty:"media-ui-SearchDropdown_empty--KnHBFzcPhE-",helperText:"media-ui-SearchDropdown_helperText-yL4VwVNEyag-"};function d(e){return(null==e?void 0:e.displayValue)||(null==e?void 0:e.value)||""}let c=n.forwardRef(function(e,t){let{options:a,noOptionsText:i="No items to display",renderProps:o,size:u,inputProps:d,labelProps:c,unstyled:f=!1,id:m,children:h,dropdownVariant:g,showDropdownPlusBtn:v}=e,{getInputProps:b,getLabelProps:p,getRootProps:w,getMenuProps:y,getItemProps:C,highlightedIndex:T,isOpen:S}=o,x={...y(),"aria-labelledby":"".concat(m,"-menu")},k=b().value||"",_=S&&(a.length>0||0===a.length&&k);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,r.Sh)([s["input-container"]],{unstyled:f}),ref:t},h({query:k,labelProps:{...p(),...c},inputProps:{...d,autoComplete:"off","aria-labelledby":"".concat(m,"-label"),onBlur:e=>{e.persist(),(null==d?void 0:d.onBlur)&&d.onBlur(e)},onChange:e=>{let{onChange:t}=b();e.persist(),t&&t(e),(null==d?void 0:d.onChange)&&d.onChange(e)},onFocus:e=>{(null==d?void 0:d.onFocus)&&d.onFocus(e)},onKeyDown:e=>{let{onKeyDown:t}=b();t&&t(e),(null==d?void 0:d.onKeyDown)&&d.onKeyDown(e)}},getRootProps:()=>w({},{suppressRefError:!0})})),n.createElement("ul",{className:(0,r.Sh)([s.menu,{[s["menu-open"]]:_,open:S,closed:!_}],e),...x},0===a.length&&k&&n.createElement("li",{className:(0,r.Sh)([s.item,s.empty,{[s.small]:"extraSmall"===u||"small"===u}],{unstyled:f})},i),a.length>0&&a.map((e,t)=>n.createElement(l.Q,{key:"".concat(e.value).concat(t),isHighlighted:t===T,value:e.value,subText:e.subText,displayValue:e.displayValue,variant:g,...C({item:e,index:t}),url:e.url,showPlusIcon:v}))))}),f=n.forwardRef(function(e,t){let{disabled:a=!1,name:l,id:f,inputProps:m,labelProps:h,noOptionsText:g,options:v=[],onChange:b,onTextChange:p,placeholder:w="",label:y="",size:C="default",helperText:T,variant:S,inputValue:x,onClear:k,children:_,dropdownVariant:E,showDropdownPlusBtn:D}=e,M=n.useRef((0,r.Mc)()),P=f||M.current,N=l||"OutlinedDropdown",[W]=(0,i.f)(N),O=n.useCallback(e=>e.type===u.ZP.stateChangeTypes.clickItem||e.type===u.ZP.stateChangeTypes.mouseUp||e.type===u.ZP.stateChangeTypes.blurButton||e.type===u.ZP.stateChangeTypes.blurInput?{...e,isOpen:!1}:e,[]);return n.createElement("div",{ref:t,"data-component":W,id:"select-box-".concat(y),className:(0,r.Sh)([s.wrapper],e)},n.createElement(u.ZP,{inputId:P,labelId:"".concat(P,"-label"),menuId:"".concat(P,"-menu"),onChange:b,onInputValueChange:p,inputValue:x,onStateChange:O,itemToString:d},t=>n.createElement(c,{size:"markets"===S?"extraSmall":C,disabled:a,renderProps:t,name:N,label:y,id:P,placeholder:w,options:v,noOptionsText:g,unstyled:e.unstyled,inputProps:m,labelProps:h,onChange:b,onClear:k,helperText:void 0,dropdownVariant:E,showDropdownPlusBtn:D,...t.getRootProps()},_)),T&&n.createElement(o.p,{text:T,className:s.helperText}))})},34264:function(e,t,a){"use strict";let n;a.d(t,{E:function(){return p},W:function(){return v}});var r=a(67294),i=a(77536),o=a(35436),u=a(36136),l=a(99104),s=a(70390),d=a(24229);a(45997);var c={createWatchlist:"media-ui-CreateWatchlist_createWatchlist-nGw-xd5wf2s-",inputContainer:"media-ui-CreateWatchlist_inputContainer-AHxtj-q0ucw-",errorMessage:"media-ui-CreateWatchlist_errorMessage-5y8wkrrlUtM-",inputTitle:"media-ui-CreateWatchlist_inputTitle-eiNlyjF-LKI-",nameInput:"media-ui-CreateWatchlist_nameInput-FHOJshFN-eA-",inputTitleError:"media-ui-CreateWatchlist_inputTitleError-d-UOnnRphS4-",nameInputError:"media-ui-CreateWatchlist_nameInputError-Y6Tnvc0sMqg-",createNewListContainer:"media-ui-CreateWatchlist_createNewListContainer-cdARePi1tHI-",createNewListText:"media-ui-CreateWatchlist_createNewListText-zp54fqXDMeI-",buttonsContainer:"media-ui-CreateWatchlist_buttonsContainer-0ZfRY-5muPc-",cancelButton:"media-ui-CreateWatchlist_cancelButton-91GFj7CPOhc-",createButton:"media-ui-CreateWatchlist_createButton-A0SaKW5Vevo-"},f=((n=f||{}).MAX_LENGTH="Must be no longer than 30 characters.",n);let m=e=>e.length>30,h=e=>{let[t,a]=(0,r.useState)(""),[n,o]=(0,r.useState)(null),{onCreate:u,showAddNewWatchlist:f,setShowAddNewWatchlist:h}=e,g=(0,r.useCallback)(e=>{if(m(e.target.value)){o("Must be no longer than 30 characters.");return}o(null),a(e.target.value)},[]),v=(0,r.useCallback)(()=>{u(t),a("")},[u,t]),b=(0,r.useCallback)(e=>{"Enter"===e.key&&v()},[v]),p=(0,r.useCallback)(()=>{h(!1),o(null)},[h,o]),w=(0,r.useCallback)(()=>h(!0),[h]),y=!!n,C=0===t.length||y,T=(0,i.Sh)([c.nameInput,{[c.nameInputError]:y}]),S=(0,i.Sh)([c.inputTitle,{[c.inputTitleError]:y}]);return r.createElement("div",{className:c.createWatchlist},f?r.createElement(r.Fragment,null,r.createElement("div",{className:c.inputContainer},r.createElement("p",{className:S},"Watchlist name"),r.createElement("input",{autoFocus:!0,className:T,"aria-label":"watchlist-name",onChange:g,onKeyDown:C?void 0:b,placeholder:"Enter list name",type:"text"}),n&&r.createElement("p",{className:c.errorMessage},n)),r.createElement("div",{className:c.buttonsContainer},r.createElement(d.F,{className:c.cancelButton,onClick:p,title:"cancel"},"Cancel"),r.createElement(l.K,{className:c.createButton,disabled:C,onClick:v,size:"small",version:"phoenix",title:"create"},"Create"))):r.createElement("button",{className:c.createNewListContainer,onClick:w,type:"button"},r.createElement(s.am,null),r.createElement("p",{className:c.createNewListText},"Create a new list")))};a(9301);var g={addToWatchlist:"media-ui-AddToWatchlist_addToWatchlist-OqbmudDWDm8-",header:"media-ui-AddToWatchlist_header-mdkAol4MK2Y-",confirmationText:"media-ui-AddToWatchlist_confirmationText-ScKLt-g2BZg-",showContainer:"media-ui-AddToWatchlist_showContainer-mdWFncAY8zo-",watchlists:"media-ui-AddToWatchlist_watchlists-bc-AC--IqNc-",overflow:"media-ui-AddToWatchlist_overflow-i0neGO3wXwQ-",watchlist:"media-ui-AddToWatchlist_watchlist-rUSWcDsdRHQ-",watchlistOpenLink:"media-ui-AddToWatchlist_watchlistOpenLink-74df5wBkBVU-",watchlistHeader:"media-ui-AddToWatchlist_watchlistHeader-ocqYpHBO8Oc-",watchlistToggle:"media-ui-AddToWatchlist_watchlistToggle-HeWFBSAP-8U-",watchlistDisabled:"media-ui-AddToWatchlist_watchlistDisabled-BvdXK8sH3O4-",watchlistName:"media-ui-AddToWatchlist_watchlistName-g-VYlYtQH5Y-",saveButton:"media-ui-AddToWatchlist_saveButton-TWAZWnE7XE8-"};let v="My watchlist",b={isFollowing:!0,isFull:!1,watchlistName:v,watchlistId:v},p=e=>{let{canAddWatchlist:t,onClose:a,onSave:n,onCreateNewWatchlist:d,watchlists:c,trackClick:f}=e,[m,p]=(0,r.useState)(!1),[w,y]=(0,r.useState)(c.length?c:[b]),[C,T]=(0,r.useState)(c.length?{}:{[v]:!0}),[S,x]=(0,r.useState)(!1),k=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=k.current;e&&m&&(e.scroll({top:e.scrollHeight,behavior:"smooth"}),p(!1))},[m]);let _=(0,r.useCallback)((e,t)=>{T(a=>{if(Object.hasOwn(a,e)){let{[e]:t,...n}=a;return n}return{...a,[e]:t}})},[]),E=(0,r.useCallback)(async e=>{let t=await d(e);t&&(y(a=>[...a,{isFollowing:!0,isFull:!1,watchlistName:e,watchlistId:t}]),T(e=>({...e,[t]:!0})),x(!1),p(!0))},[d,_]),D=(0,r.useCallback)(()=>{null==a||a()},[a]),M=(0,r.useCallback)(()=>{let e={createDefaultWatchlist:!1,adds:[],deletes:[]};Object.entries(C).forEach(t=>{let[a,n]=t;if(a===v){e.createDefaultWatchlist=!0;return}let r=parseInt(a,10);if(!isNaN(r)){if(n){e.adds.push(r);return}e.deletes.push(r)}}),null==n||n(e)},[n,C]),P=(0,r.useCallback)(()=>{null==f||f("click","open-list-quick-add")},[f]);return r.createElement("div",{className:g.addToWatchlist},r.createElement("div",{className:g.header},r.createElement("p",{className:g.confirmationText},"Add to watchlist"),r.createElement("button",{className:g.showContainer,onClick:D,type:"button"},r.createElement(s.h6,null))),r.createElement("div",null,r.createElement("div",{ref:k,className:(0,i.Sh)([g.watchlists,w.length>4&&g.overflow])},w.map(e=>{let{isFollowing:t,isFull:a,watchlistId:n,watchlistName:l}=e,s=a&&!t,d=n===v;return r.createElement("div",{className:g.watchlist,key:n},r.createElement("div",{className:(0,i.Sh)([g.watchlistHeader,s&&g.watchlistDisabled])},r.createElement(o.X,{className:g.watchlistToggle,defaultChecked:t,disabled:s,onChange:e=>_(n,e.target.checked),id:n.toString()}),r.createElement("label",{htmlFor:n.toString(),className:g.watchlistName},s?"".concat(l," (full)"):l)),!d&&r.createElement(u.r,{onClick:P,className:g.watchlistOpenLink,href:"/markets/watchlist?watchlist=".concat(n),target:"_blank"},"Open"))})),t&&r.createElement(h,{onCreate:E,showAddNewWatchlist:S,setShowAddNewWatchlist:x}),!S&&r.createElement(l.K,{className:g.saveButton,onClick:M,disabled:!Object.keys(C).length,size:"small",version:"phoenix"},"Save")))}},47552:function(e,t,a){"use strict";a.d(t,{c:function(){return g}});var n=a(67294),r=a(25434),i=a(77536),o=a(34264),u=a(62139),l=a(99104),s=a(70390);a(57318);let d=e=>{let{onClose:t,onCreateAccountClick:a,onSignInClick:r}=e,i=(0,n.useCallback)(()=>{r()},[r]),o=(0,n.useCallback)(()=>{a()},[a]);return n.createElement("div",{className:"media-ui-AddToWatchlistLoggedOut_addToWatchlistLoggedOut-HTmLfZBJyN4-"},n.createElement("div",{className:"media-ui-AddToWatchlistLoggedOut_header-wO13NoX95kc-"},n.createElement("div",{className:"media-ui-AddToWatchlistLoggedOut_titleContainer-iR252u3yAvA-"},n.createElement(s.HE,null),n.createElement("p",null,"Add to watchlist")),n.createElement("button",{className:"media-ui-AddToWatchlistLoggedOut_closeButton-pEv-5FxEWzs-",onClick:t},n.createElement(s.h6,null))),n.createElement("p",{className:"media-ui-AddToWatchlistLoggedOut_description-jqyyhSbJePU-"},"Sign in to follow this symbol and get relevant news in one place."),n.createElement("div",{className:"media-ui-AddToWatchlistLoggedOut_buttonsContainer-dEdVnCKplRk-"},n.createElement(u.U,{className:"media-ui-AddToWatchlistLoggedOut_createAccountButton-RhI02B8BH3c-",onClick:o,size:"small",title:"create account",version:"phoenix"},"Create account"),n.createElement(l.K,{className:"media-ui-AddToWatchlistLoggedOut_signInButton-uhrpIU578hY-",onClick:i,size:"small",title:"sign in",version:"phoenix"},"Sign In")))};a(68729);let c=()=>n.createElement("p",{className:"media-ui-Error_errorMessage-8K7sRAPqHXs-"},"Something went wrong. Please try again.");var f=a(41762);a(42329);var m={quickAddSubscribe:"media-ui-QuickAddSubscribe_quickAddSubscribe-4KSpV3cKdfI-",header:"media-ui-QuickAddSubscribe_header-MuXRu-OCcAc-",titleContainer:"media-ui-QuickAddSubscribe_titleContainer-27KIYTcUEc4-",closeButton:"media-ui-QuickAddSubscribe_closeButton-rkw749m7hDY-",description:"media-ui-QuickAddSubscribe_description-vtnQjLLm-5k-",buttonsContainer:"media-ui-QuickAddSubscribe_buttonsContainer-BklQoh023uw-",subscribeButton:"media-ui-QuickAddSubscribe_subscribeButton-WOCCmPT7BqU-",signInButton:"media-ui-QuickAddSubscribe_signInButton-HkC0-TXEZiE-"};let h=e=>{let{onClose:t,onSignInClick:a,isLoggedIn:r}=e,{subscriberType:i}=(0,f._P)(),o="Newsletter"===i,d=(0,n.useCallback)(()=>{a()},[a]),c=(0,n.useCallback)(()=>{window.open("https://www.bloomberg.com/subscriptions","_blank")},[]),h=(0,n.useCallback)(()=>{window.open("https://www.bloomberg.com/portal/subscription?triggerSubscriptionUpgradeModal=true&in_source=watchlist-quick-add","_blank")},[]);return n.createElement("div",{className:m.quickAddSubscribe},n.createElement("div",{className:m.header},n.createElement("div",{className:m.titleContainer},n.createElement(s.HE,null),n.createElement("p",null,"Watchlist is Subscriber-only")),n.createElement("button",{className:m.closeButton,onClick:t},n.createElement(s.h6,null))),n.createElement("p",{className:m.description},o?"Upgrade to get access to Watchlist and other great benefits.":"Subscribe or sign in to Bloomberg.com to get access to Watchlist and other great benefits."),n.createElement("div",{className:m.buttonsContainer},n.createElement(l.K,{className:m.subscribeButton,onClick:o?h:c,size:"small",title:"subscribe",version:"phoenix"},o?"Upgrade":"Subscribe"),!r&&n.createElement(u.U,{className:m.signInButton,onClick:d,size:"small",title:"sign in",version:"phoenix"},"Sign In")))};a(37406);let g=n.forwardRef(function(e,t){let{canAddWatchlist:a,isLoggedIn:u=!1,name:l="quick-add-overlay",onClose:s=null,onCreateAccountClick:f,onCreateNewWatchlist:m,onSave:g,onSignInClick:v,showError:b=!1,watchlists:p=[],trackClick:w,disabled:y=!0,isSubscribed:C}=e,T=(0,r.f)(l),S=(0,i.Sh)(["media-ui-QuickAddOverlay_quickAddOverlay-qYaVom2zS-M-"],{...e,name:l}),x=(0,n.useCallback)(()=>{null==s||s()},[s]);return n.createElement("div",{className:S,ref:t,"data-component":T},function(e){let{error:t,isDisabled:r,loggedIn:i,subscribed:u}=e;return t?n.createElement(c,null):r?i?n.createElement(o.E,{trackClick:w,canAddWatchlist:a,onClose:x,onCreateNewWatchlist:m,onSave:g,watchlists:p}):n.createElement(d,{onCreateAccountClick:f,onClose:x,onSignInClick:v}):i&&u?n.createElement(o.E,{trackClick:w,canAddWatchlist:a,onClose:x,onCreateNewWatchlist:m,onSave:g,watchlists:p}):n.createElement(h,{onClose:x,onSignInClick:v,isLoggedIn:i})}({error:b,isDisabled:y,loggedIn:u,subscribed:C}))})},64711:function(e){"use strict";e.exports={preset:{theme:{extend:{colors:{"chart-blue":"#0032F1","chart-orange":"#FF6200","chart-purple":"#8317B2","chart-sky-blue":"#0094D9","chart-red":"#F50036","chart-mustard":"#AE8E00","chart-pink":"#FF008C","chart-green":"#117C16","chart-brown":"#97542B","new-green-150":"#E4F4D9","new-green-200":"#D1EDC0","new-green-400":"#4DB250","new-green-500":"#338736","new-red-150":"#FFE1DF","new-red-200":"#FFD8D6","new-red-400":"#F05143","new-red-500":"#E51503"},width:{"sdt-width-grid":"1113px","ldt-width-grid":"1326px"}}}}}},216:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var a=Math.abs(e).toString();a.length0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),i=n%60;return 0===i?a+String(r):a+String(r)+(t||"")+(0,s.default)(i,2)}function m(e,t){return e%60==0?(e>0?"-":"+")+(0,s.default)(Math.abs(e)/60,2):h(e,t)}function h(e,t){var a=Math.abs(e);return(e>0?"-":"+")+(0,s.default)(Math.floor(a/60),2)+(t||"")+(0,s.default)(a%60,2)}t.default={G:function(e,t,a){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if("yo"===t){var n=e.getUTCFullYear();return a.ordinalNumber(n>0?n:1-n,{unit:"year"})}return d.default.y(e,t)},Y:function(e,t,a,n){var r=(0,l.default)(e,n),i=r>0?r:1-r;if("YY"===t){var o=i%100;return(0,s.default)(o,2)}return"Yo"===t?a.ordinalNumber(i,{unit:"year"}):(0,s.default)(i,t.length)},R:function(e,t){var a=(0,o.default)(e);return(0,s.default)(a,t.length)},u:function(e,t){var a=e.getUTCFullYear();return(0,s.default)(a,t.length)},Q:function(e,t,a){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return(0,s.default)(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return(0,s.default)(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){var n=e.getUTCMonth();switch(t){case"M":case"MM":return d.default.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return(0,s.default)(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){var r=(0,u.default)(e,n);return"wo"===t?a.ordinalNumber(r,{unit:"week"}):(0,s.default)(r,t.length)},I:function(e,t,a){var n=(0,i.default)(e);return"Io"===t?a.ordinalNumber(n,{unit:"week"}):(0,s.default)(n,t.length)},d:function(e,t,a){return"do"===t?a.ordinalNumber(e.getUTCDate(),{unit:"date"}):d.default.d(e,t)},D:function(e,t,a){var n=(0,r.default)(e);return"Do"===t?a.ordinalNumber(n,{unit:"dayOfYear"}):(0,s.default)(n,t.length)},E:function(e,t,a){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){var r=e.getUTCDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return(0,s.default)(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){var r=e.getUTCDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return(0,s.default)(i,t.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,a){var n=e.getUTCDay(),r=0===n?7:n;switch(t){case"i":return String(r);case"ii":return(0,s.default)(r,t.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(n,{width:"narrow",context:"formatting"});default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,a){var n,r=e.getUTCHours();switch(n=12===r?c.noon:0===r?c.midnight:r/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(n,{width:"narrow",context:"formatting"});default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,a){var n,r=e.getUTCHours();switch(n=r>=17?c.evening:r>=12?c.afternoon:r>=4?c.morning:c.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(n,{width:"narrow",context:"formatting"});default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,a){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return d.default.h(e,t)},H:function(e,t,a){return"Ho"===t?a.ordinalNumber(e.getUTCHours(),{unit:"hour"}):d.default.H(e,t)},K:function(e,t,a){var n=e.getUTCHours()%12;return"Ko"===t?a.ordinalNumber(n,{unit:"hour"}):(0,s.default)(n,t.length)},k:function(e,t,a){var n=e.getUTCHours();return(0===n&&(n=24),"ko"===t)?a.ordinalNumber(n,{unit:"hour"}):(0,s.default)(n,t.length)},m:function(e,t,a){return"mo"===t?a.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):d.default.m(e,t)},s:function(e,t,a){return"so"===t?a.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):d.default.s(e,t)},S:function(e,t){return d.default.S(e,t)},X:function(e,t,a,n){var r=(n._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return m(r);case"XXXX":case"XX":return h(r);default:return h(r,":")}},x:function(e,t,a,n){var r=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return m(r);case"xxxx":case"xx":return h(r);default:return h(r,":")}},O:function(e,t,a,n){var r=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+f(r,":");default:return"GMT"+h(r,":")}},z:function(e,t,a,n){var r=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+f(r,":");default:return"GMT"+h(r,":")}},t:function(e,t,a,n){var r=Math.floor((n._originalDate||e).getTime()/1e3);return(0,s.default)(r,t.length)},T:function(e,t,a,n){var r=(n._originalDate||e).getTime();return(0,s.default)(r,t.length)}},e.exports=t.default},49864:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(216));t.default={y:function(e,t){var a=e.getUTCFullYear(),n=a>0?a:1-a;return(0,r.default)("yy"===t?n%100:n,t.length)},M:function(e,t){var a=e.getUTCMonth();return"M"===t?String(a+1):(0,r.default)(a+1,2)},d:function(e,t){return(0,r.default)(e.getUTCDate(),t.length)},a:function(e,t){var a=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];default:return"am"===a?"a.m.":"p.m."}},h:function(e,t){return(0,r.default)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,r.default)(e.getUTCHours(),t.length)},m:function(e,t){return(0,r.default)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,r.default)(e.getUTCSeconds(),t.length)},S:function(e,t){var a=t.length,n=e.getUTCMilliseconds();return(0,r.default)(Math.floor(n*Math.pow(10,a-3)),t.length)}},e.exports=t.default},62328:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},n=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.default={p:n,P:function(e,t){var r,i=e.match(/(P+)(p+)?/)||[],o=i[1],u=i[2];if(!u)return a(e,t);switch(o){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",a(o,t)).replace("{{time}}",n(u,t))}},e.exports=t.default},95463:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()},e.exports=t.default},56295:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(1,arguments);var t=(0,r.default)(e),a=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((a-t.getTime())/864e5)+1};var r=n(a(10215)),i=n(a(26503));e.exports=t.default},78071:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,u.default)(1,arguments);var t=(0,r.default)(e);return Math.round(((0,i.default)(t).getTime()-(0,o.default)(t).getTime())/6048e5)+1};var r=n(a(10215)),i=n(a(23353)),o=n(a(58694)),u=n(a(26503));e.exports=t.default},56566:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(1,arguments);var t=(0,r.default)(e),a=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(a+1,0,4),n.setUTCHours(0,0,0,0);var u=(0,o.default)(n),l=new Date(0);l.setUTCFullYear(a,0,4),l.setUTCHours(0,0,0,0);var s=(0,o.default)(l);return t.getTime()>=u.getTime()?a+1:t.getTime()>=s.getTime()?a:a-1};var r=n(a(10215)),i=n(a(26503)),o=n(a(23353));e.exports=t.default},47002:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,u.default)(1,arguments);var a=(0,r.default)(e);return Math.round(((0,i.default)(a,t).getTime()-(0,o.default)(a,t).getTime())/6048e5)+1};var r=n(a(10215)),i=n(a(23506)),o=n(a(46115)),u=n(a(26503));e.exports=t.default},80319:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(1,arguments);var a,n,s,d,c,f,m,h,g=(0,r.default)(e),v=g.getUTCFullYear(),b=(0,l.getDefaultOptions)(),p=(0,u.default)(null!==(a=null!==(n=null!==(s=null!==(d=null==t?void 0:t.firstWeekContainsDate)&&void 0!==d?d:null==t?void 0:null===(c=t.locale)||void 0===c?void 0:null===(f=c.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==s?s:b.firstWeekContainsDate)&&void 0!==n?n:null===(m=b.locale)||void 0===m?void 0:null===(h=m.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==a?a:1);if(!(p>=1&&p<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(v+1,0,p),w.setUTCHours(0,0,0,0);var y=(0,o.default)(w,t),C=new Date(0);C.setUTCFullYear(v,0,p),C.setUTCHours(0,0,0,0);var T=(0,o.default)(C,t);return g.getTime()>=y.getTime()?v+1:g.getTime()>=T.getTime()?v:v-1};var r=n(a(10215)),i=n(a(26503)),o=n(a(23506)),u=n(a(20498)),l=a(43713);e.exports=t.default},55965:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isProtectedDayOfYearToken=function(e){return -1!==a.indexOf(e)},t.isProtectedWeekYearToken=function(e){return -1!==n.indexOf(e)},t.throwProtectedError=function(e,t,a){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var a=["D","DD"],n=["YY","YYYY"]},26503:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")},e.exports=t.default},23353:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(1,arguments);var t=(0,r.default)(e),a=t.getUTCDay();return t.setUTCDate(t.getUTCDate()-((a<1?7:0)+a-1)),t.setUTCHours(0,0,0,0),t};var r=n(a(10215)),i=n(a(26503));e.exports=t.default},58694:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=(0,r.default)(e),a=new Date(0);return a.setUTCFullYear(t,0,4),a.setUTCHours(0,0,0,0),(0,i.default)(a)};var r=n(a(56566)),i=n(a(23353)),o=n(a(26503));e.exports=t.default},23506:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(1,arguments);var a,n,l,s,d,c,f,m,h=(0,u.getDefaultOptions)(),g=(0,o.default)(null!==(a=null!==(n=null!==(l=null!==(s=null==t?void 0:t.weekStartsOn)&&void 0!==s?s:null==t?void 0:null===(d=t.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==n?n:null===(f=h.locale)||void 0===f?void 0:null===(m=f.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==a?a:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,r.default)(e),b=v.getUTCDay();return v.setUTCDate(v.getUTCDate()-((b=1&&B<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=(0,c.default)(null!==(M=null!==(P=null!==(N=null!==(W=null==a?void 0:a.weekStartsOn)&&void 0!==W?W:null==a?void 0:null===(O=a.locale)||void 0===O?void 0:null===(I=O.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==N?N:F.weekStartsOn)&&void 0!==P?P:null===(A=F.locale)||void 0===A?void 0:null===(U=A.options)||void 0===U?void 0:U.weekStartsOn)&&void 0!==M?M:0);if(!(L>=0&&L<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!j.localize)throw RangeError("locale must contain localize property");if(!j.formatLong)throw RangeError("locale must contain formatLong property");var R=(0,o.default)(e);if(!(0,r.default)(R))throw RangeError("Invalid time value");var H=(0,s.default)(R),z=(0,i.default)(R,H),q={firstWeekContainsDate:B,weekStartsOn:L,locale:j,_originalDate:R};return Y.match(v).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,l.default[t])(e,j.formatLong):e}).join("").match(g).map(function(n){if("''"===n)return"'";var r,i=n[0];if("'"===i)return(r=n.match(b))?r[1].replace(p,"'"):n;var o=u.default[i];if(o)return!(null!=a&&a.useAdditionalWeekYearTokens)&&(0,d.isProtectedWeekYearToken)(n)&&(0,d.throwProtectedError)(n,t,String(e)),!(null!=a&&a.useAdditionalDayOfYearTokens)&&(0,d.isProtectedDayOfYearToken)(n)&&(0,d.throwProtectedError)(n,t,String(e)),o(z,n,j.localize,q);if(i.match(w))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return n}).join("")};var r=n(a(33177)),i=n(a(70916)),o=n(a(10215)),u=n(a(31878)),l=n(a(62328)),s=n(a(95463)),d=a(55965),c=n(a(20498)),f=n(a(26503)),m=a(43713),h=n(a(35644)),g=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,v=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,b=/^'([^]*?)'?$/,p=/''/g,w=/[a-zA-Z]/;e.exports=t.default},62927:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(1,arguments),e instanceof Date||"object"===(0,r.default)(e)&&"[object Date]"===Object.prototype.toString.call(e)};var r=n(a(18698)),i=n(a(26503));e.exports=t.default},33177:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(1,arguments),(!!(0,r.default)(e)||"number"==typeof e)&&!isNaN(Number((0,i.default)(e)))};var r=n(a(62927)),i=n(a(10215)),o=n(a(26503));e.exports=t.default},48736:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}},e.exports=t.default},80969:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,a){var n;if("formatting"===(null!=a&&a.context?String(a.context):"standalone")&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,i=null!=a&&a.width?String(a.width):r;n=e.formattingValues[i]||e.formattingValues[r]}else{var o=e.defaultWidth,u=null!=a&&a.width?String(a.width):e.defaultWidth;n=e.values[u]||e.values[o]}return n[e.argumentCallback?e.argumentCallback(t):t]}},e.exports=t.default},60409:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var u=o[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var r=n[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:o=a.valueCallback?a.valueCallback(o):o,rest:t.slice(r.length)}}},e.exports=t.default},22496:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.default=function(e,t,n){var r,i=a[e];return(r="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},e.exports=t.default},91640:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(48736)),i={date:(0,r.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=i,e.exports=t.default},26453:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.default=function(e,t,n,r){return a[e]},e.exports=t.default},14947:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(80969)),i={ordinalNumber:function(e,t){var a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},era:(0,r.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,r.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};t.default=i,e.exports=t.default},5024:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(60409)),i={ordinalNumber:(0,n(a(66796)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,r.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,r.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};t.default=i,e.exports=t.default},46011:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(22496)),i=n(a(91640)),o=n(a(26453)),u=n(a(14947)),l=n(a(5024)),s={code:"en-US",formatDistance:r.default,formatLong:i.default,formatRelative:o.default,localize:u.default,match:l.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};t.default=s,e.exports=t.default},70916:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(2,arguments);var a=(0,o.default)(t);return(0,r.default)(e,-a)};var r=n(a(52398)),i=n(a(26503)),o=n(a(20498));e.exports=t.default},10215:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.default)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))};var r=n(a(18698)),i=n(a(26503));e.exports=t.default},21988:function(){},53716:function(){},18161:function(){},76295:function(){},9301:function(){},57318:function(){},45997:function(){},68729:function(){},37406:function(){},42329:function(){},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(a){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(a)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},81395:function(e,t,a){"use strict";function n(e,t,a,n,r,i,o){var u=new Date(0);return u.setUTCFullYear(e,t,a),u.setUTCHours(n,r,i,o),u}a.d(t,{Z:function(){return n}})},35871:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={},i=a(81395),o=/^(Z)$/,u=/^([+-]\d{2})$/,l=/^([+-])(\d{2}):?(\d{2})$/;function s(e,t,a){if(!e||(n=o.exec(e)))return 0;if(n=u.exec(e))return c(s=parseInt(n[1],10))?-(36e5*s):NaN;if(n=l.exec(e)){s=parseInt(n[2],10);var n,r,s,m=parseInt(n[3],10);return c(s,m)?(r=36e5*Math.abs(s)+6e4*m,"+"===n[1]?-r:r):NaN}if(function(e){if(f[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),f[e]=!0,!0}catch(e){return!1}}(e)){t=new Date(t||Date.now());var h,g=d(a?t:(h=t,(0,i.Z)(h.getFullYear(),h.getMonth(),h.getDate(),h.getHours(),h.getMinutes(),h.getSeconds(),h.getMilliseconds())),e);return-(a?g:function(e,t,a){var n=e.getTime()-t,r=d(new Date(n),a);if(t===r)return t;var i=d(new Date(n-=r-t),a);return r===i?r:Math.max(r,i)}(t,g,e))}return NaN}function d(e,t){var a,o,u,l=(u=function(e){if(!r[e]){var t=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));r[e]="06/25/2014, 00:00:00"===t||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===t?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return r[e]}(t)).formatToParts?function(e,t){try{for(var a=e.formatToParts(t),r=[],i=0;i=0&&(r[o]=parseInt(a[i].value,10))}return r}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(u,e):(a=u.format(e),[(o=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(a))[3],o[1],o[2],o[4],o[5],o[6]]),s=(0,i.Z)(l[0],l[1]-1,l[2],l[3]%24,l[4],l[5],0).getTime(),d=e.getTime(),c=d%1e3;return s-(d-=c>=0?c:1e3+c)}function c(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}var f={}},53669:function(e,t){"use strict";t.Z=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/},34117:function(e,t,a){"use strict";a.d(t,{Z:function(){return m}});var n=a(21035);function r(e,t,a){var n,r,i=function(e,t,a){if(a&&!a.code)throw Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(a?[a.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,a.timeZone,a.locale);return i.formatToParts?function(e,t){for(var a=e.formatToParts(t),n=a.length-1;n>=0;--n)if("timeZoneName"===a[n].type)return a[n].value}(i,t):(n=i.format(t).replace(/\u200E/g,""),(r=/ [\w-+ ]+$/.exec(n))?r[0].substr(1):"")}var i=a(35871);function o(e,t){var a=e?(0,i.Z)(e,t,!0)/6e4:t.getTimezoneOffset();if(Number.isNaN(a))throw RangeError("Invalid time zone specified: "+e);return a}function u(e,t){for(var a=Math.abs(e).toString();a.length0?"-":"+")+u(Math.floor(a/60),2)+(t||"")+u(Math.floor(a%60),2)}function s(e,t){return e%60==0?(e>0?"-":"+")+u(Math.abs(e)/60,2):l(e,t)}var d={X:function(e,t,a,n){var r=o(n.timeZone,e);if(0===r)return"Z";switch(t){case"X":return s(r);case"XXXX":case"XX":return l(r);default:return l(r,":")}},x:function(e,t,a,n){var r=o(n.timeZone,e);switch(t){case"x":return s(r);case"xxxx":case"xx":return l(r);default:return l(r,":")}},O:function(e,t,a,n){var r,i,s,d,c=o(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+(r=c>0?"-":"+",s=Math.floor((i=Math.abs(c))/60),0==(d=i%60)?r+String(s):r+String(s)+":"+u(d,2));default:return"GMT"+l(c,":")}},z:function(e,t,a,n){switch(t){case"z":case"zz":case"zzz":return r("short",e,n);default:return r("long",e,n)}}},c=a(97580),f=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function m(e,t,a){var r=String(t),i=a||{},o=r.match(f);if(o){var u=(0,c.Z)(i.originalDate||e,i);r=o.reduce(function(e,t){if("'"===t[0])return e;var a=e.indexOf(t),n="'"===e[a-1],r=e.replace(t,"'"+d[t[0]](u,t,null,i)+"'");return n?r.substring(0,a-1)+r.substring(a+1):r},r)}return n(e,r,i)}},97580:function(e,t,a){"use strict";a.d(t,{Z:function(){return u}});var n=a(20498),r=a(95463),i=a(35871),o={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:a(53669).Z};function u(e,t){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var a=t||{},u=null==a.additionalDigits?2:n(a.additionalDigits);if(2!==u&&1!==u&&0!==u)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if(!("string"==typeof e||"[object String]"===Object.prototype.toString.call(e)))return new Date(NaN);var s=function(e){var t,a={},n=o.dateTimePattern.exec(e);if(n?(a.date=n[1],t=n[3]):(n=o.datePattern.exec(e))?(a.date=n[1],t=n[2]):(a.date=null,t=e),t){var r=o.timeZone.exec(t);r?(a.time=t.replace(r[1],""),a.timeZone=r[1].trim()):a.time=t}return a}(e),d=function(e,t){var a,n=o.YYY[t],r=o.YYYYY[t];if(a=o.YYYY.exec(e)||r.exec(e)){var i=a[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(a=o.YY.exec(e)||n.exec(e)){var u=a[1];return{year:100*parseInt(u,10),restDateString:e.slice(u.length)}}return{year:null}}(s.date,u),g=d.year,v=function(e,t){if(null===t)return null;if(0===e.length)return(n=new Date(0)).setUTCFullYear(t),n;if(a=o.MM.exec(e))return(n=new Date(0),f(t,r=parseInt(a[1],10)-1))?(n.setUTCFullYear(t,r),n):new Date(NaN);if(a=o.DDD.exec(e)){n=new Date(0);var a,n,r,i,u=parseInt(a[1],10);return!function(e,t){if(t<1)return!1;var a=c(e);return(!a||!(t>366))&&(!!a||!(t>365))}(t,u)?new Date(NaN):(n.setUTCFullYear(t,0,u),n)}if(a=o.MMDD.exec(e)){n=new Date(0),r=parseInt(a[1],10)-1;var s=parseInt(a[2],10);return f(t,r,s)?(n.setUTCFullYear(t,r,s),n):new Date(NaN)}if(a=o.Www.exec(e))return m(t,i=parseInt(a[1],10)-1)?l(t,i):new Date(NaN);if(a=o.WwwD.exec(e)){i=parseInt(a[1],10)-1;var d=parseInt(a[2],10)-1;return m(t,i,d)?l(t,i,d):new Date(NaN)}return null}(d.restDateString,g);if(isNaN(v)||!v)return new Date(NaN);var b,p=v.getTime(),w=0;if(s.time&&isNaN(w=function(e){if(t=o.HH.exec(e))return h(a=parseFloat(t[1].replace(",",".")))?a%24*36e5:NaN;if(t=o.HHMM.exec(e))return h(a=parseInt(t[1],10),n=parseFloat(t[2].replace(",",".")))?a%24*36e5+6e4*n:NaN;if(t=o.HHMMSS.exec(e)){a=parseInt(t[1],10),n=parseInt(t[2],10);var t,a,n,r=parseFloat(t[3].replace(",","."));return h(a,n,r)?a%24*36e5+6e4*n+1e3*r:NaN}return null}(s.time)))return new Date(NaN);if(s.timeZone||a.timeZone){if(isNaN(b=(0,i.Z)(s.timeZone||a.timeZone,new Date(p+w))))return new Date(NaN)}else b=r(new Date(p+w)),b=r(new Date(p+w+b));return new Date(p+w+b)}function l(e,t,a){t=t||0,a=a||0;var n=new Date(0);n.setUTCFullYear(e,0,4);var r=7*t+a+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+r),n}var s=[31,28,31,30,31,30,31,31,30,31,30,31],d=[31,29,31,30,31,30,31,31,30,31,30,31];function c(e){return e%400==0||e%4==0&&e%100!=0}function f(e,t,a){if(t<0||t>11)return!1;if(null!=a){if(a<1)return!1;var n=c(e);if(n&&a>d[t]||!n&&a>s[t])return!1}return!0}function m(e,t,a){return!(t<0)&&!(t>52)&&(null==a||!(a<0)&&!(a>6))}function h(e,t,a){return(null==e||!(e<0)&&!(e>=25))&&(null==t||!(t<0)&&!(t>=60))&&(null==a||!(a<0)&&!(a>=60))}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7592-1a7f29923c252d64_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7592-1a7f29923c252d64_05Q6.js new file mode 100644 index 0000000..5565ee2 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7592-1a7f29923c252d64_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7592],{93223:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(54138),i=n.n(r),a=n(47044),o=n.n(a);class s{baseUrl;constructor({baseUrl:e}={}){this.baseUrl=new URL(e||"https://search.bloomberg.com/")}lookup(e){let t=new URL(`${this.baseUrl}lookup.json`);return t.search=this.#e(e).toString(),fetch(t.toString()).then(e=>e.json())}autoComplete(e){let t=new URL(`${this.baseUrl}autocomplete.json`);return t.search=this.#e(e).toString(),fetch(t.toString()).then(e=>e.json())}#e(e){return new URLSearchParams(i()(e,(e,t)=>o()(t)))}}},22539:function(e,t,n){"use strict";n.d(t,{Q:function(){return b}});var r=n(85893),i=n(67294),a=n(9008),o=n.n(a),s=n(97314),l=n(30488);l.domToReact,l.htmlToDOM,l.attributesToProps,l.Comment,l.Element,l.ProcessingInstruction,l.Text;var u=n(4298),c=n.n(u);let d=(e,t)=>e&&t?`${e}`:e,h=({href:e="",media:t="all",property:n="stylesheet",rel:i="stylesheet",type:a="text/css"})=>[(0,r.jsx)("link",{rel:"preload",href:`${e}`,as:"style"},`tophat-preload-${e}`),(0,r.jsx)("link",{href:`${e}`,media:`${t}`,property:`${n}`,rel:`${i}`,type:`${a}`},`tophat-${e}`)],m=e=>(0,r.jsx)(c(),{src:e},`tophat - ${e}`),f=e=>e&&e.length?e.flatMap(e=>h({href:e})):(console.debug("No styles received to construct tophat."),[]),p=e=>e&&e.length?e.map(e=>m(e)):(console.warn("No scripts received to construct tophat."),[]),g=(0,s.Z)(e=>{if(!e||!e.snippet.that)return console.warn("No html data received to construct tophat."),null;let t=f(e.snippet.styles),n=p(e.snippet.scripts);return{html:l(d(e.snippet.that,e.snippet.styles_overrides)),js:n,css:t}},v);function v(e,t){return e?.snippet?.that===t?.snippet?.that&&e?.snippet?.scripts.join?.("")===t?.snippet?.scripts.join?.("")&&e?.snippet?.styles.join?.("")===t?.snippet?.styles.join?.("")&&e?.snippet?.styles_overrides===t?.snippet?.styles_overrides}var b=(0,i.memo)(function(e){let t=g(e);if(!t)return(0,r.jsx)(r.Fragment,{});let{html:n,js:i,css:a}=t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o(),{children:a}),n,i]})},v)},93859:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(67294);let i=e=>{let{classNameOnScrollUp:t="",classNameOnScrollDown:n="",scrollingElementRef:i,scrollDirectionThreshold:a=30,onScrollUpCallback:o=()=>{},onScrollDownCallback:s=()=>{}}=e,[l,u]=(0,r.useState)(!1),c=(0,r.useRef)(0),d=(0,r.useCallback)(()=>{let e=window.scrollY;Math.abs(e-c.current)0?e:0)},[]);(0,r.useEffect)(()=>(window.addEventListener("scroll",d),()=>{window.removeEventListener("scroll",d)}),[]),(0,r.useEffect)(()=>{i?.current&&(l?(t&&i.current.classList.add(t),n&&i.current.classList.remove(n)):(n&&i.current.classList.add(n),t&&i.current.classList.remove(t)))},[l]),(0,r.useEffect)(()=>{if(l){o();return}s()},[l,o,s])}},31361:function(e,t,n){"use strict";n.r(t),n.d(t,{StatsigProvider:function(){return r.StatsigProvider},endStatsigPerfLog:function(){return s},runStatsigAutoCapture:function(){return O},startStatsigPerfLog:function(){return o},useDynamicConfig:function(){return N},useFeatureGate:function(){return A},useLayer:function(){return I},useParameterStore:function(){return L},useStatsigClient:function(){return T},useStatsigClientCustomSetup:function(){return P},useStatsigClientWebSetup:function(){return M},useStatsigCustomUserRefresh:function(){return D},useStatsigUser:function(){return k},useStatsigWebUserRefresh:function(){return B}});var r=n(89211),i=n(12566);let a="undefined"!=typeof window&&void 0!==window?.performance&&void 0!==window?.performance?.mark&&void 0!==window?.performance?.measure?window?.performance:{mark:()=>({}),measure:()=>({duration:void 0})};function o(e){a.mark(`${e}-Start`)}function s(e){a.mark(`${e}-End`),n.g.window?.newrelic?.addPageAction(e,{duration:a.measure(e,`${e}-Start`,`${e}-End`)?.duration})}let l=(e,t)=>(...n)=>{o(e);let r=t(...n);return s(e),r};var u=n(67294),c=n(31955);let d=(e={})=>!!(e.userID||e.customIDs?.sessionId||e.customIDs?.regId),h=async(e,t,{timeoutMs:a}={})=>{o("SS-InitializeAsync");try{if(!d(t))throw Error("Provided user does not have a valid userID, regId, or sessionId.");return r.Storage.isReady()||await r.Storage.isReadyResolver(),e.updateUserSync(t,{disableBackgroundCacheRefresh:!0}),await e.initializeAsync({timeoutMs:a}),o("SS-runSSAutoCapture"),(0,i.AP)(e),s("SS-runSSAutoCapture"),e}catch(e){throw n.g.window.newrelic?.addPageAction("SS-InitializeAsync",e),e}finally{s("SS-InitializeAsync")}},m=(e,t)=>!!(e&&e._options?.environment?.tier===t.environmentTier&&e._sdkKey===t.statsigClientKey),f=e=>{let t=(0,r._getInstance)(e);if(t instanceof r.StatsigClient)return t},p=({initialUser:e,getAsyncInitializationUser:t,statsigClientKey:n,environmentTier:i,onStatsigInit:a,onStatsigInitError:o,options:s})=>{let l=(0,u.useRef)({client:f(n),onStatsigInit:a,onStatsigInitError:o});return l.current.onStatsigInit=a,l.current.onStatsigInitError=o,(0,u.useMemo)(()=>{if(m(l.current.client,{statsigClientKey:n,environmentTier:i}))return l.current.client;let a=new r.StatsigClient(n,e,{logLevel:"production"===i?r.LogLevel.Warn:r.LogLevel.Debug,environment:{tier:i}});return"undefined"!=typeof window&&(async()=>{try{let n=await t?.()??e,r=await h(a,n,s);l.current.onStatsigInit?.(r)}catch(e){l.current.onStatsigInitError?.(e)}})(),l.current.client=a,l.current.client},[i,n])};function g(e){return 0!==e.length&&"object"==typeof e[0]&&"actionId"in e[0]&&"confidence"in e[0]}async function v(){o("SS-getAbbaClientTargetingMetadata");let e={};return n.g.window?.__bloomberg__?.getAbbaClient&&(e=(await n.g.window?.__bloomberg__.getAbbaClient())._byzantium.getTargetingMetadata()),s("SS-getAbbaClientTargetingMetadata"),e}async function b(){let e;if(void 0!==c.Z.get("_user-data"))return;let t=new Promise(t=>{e=setTimeout(()=>{n.g.window?.newrelic?.addPageAction("SS-waitForUserCookieData-Timeout"),t()},3e3)}),r=new Promise(e=>{n.g.window?.addEventListener("reg-user-info-ready",()=>e(),{once:!0})});await Promise.race([r,t]),clearTimeout(e)}async function _(){let e,t;await b();try{e=JSON.parse(c.Z.get("_user-data")??"{}")}catch(t){e={}}try{t=JSON.parse(c.Z.get("_breg-user")??"{}")}catch(e){t={}}let n=c.Z.get("exp_pref"),r=(c.Z.get("bbgconsentstring")??"").includes("pad1");return{userData:e,experienceRegion:n,isBloombergEmployee:t?.isBloombergEmployee??!1,userHasConsented:r}}let E=async()=>{let[e,t]=(await Promise.allSettled([v(),_()])).map(e=>"fulfilled"===e.status?e.value:(n.g.window?.newrelic?.addPageAction("SS-getFlattenedStatsigCustomUserObject-Error",e.reason instanceof Error?{name:e.reason.name,message:e.reason.message,stack:e.reason.stack}:{message:JSON.stringify(e.reason)}),{})),r=c.Z.get("_breg-uid");return{userID:r,customIDs:{regId:r,sessionId:c.Z.get("session_id")},custom:function e(t){let n={};for(let[r,i]of Object.entries(t))void 0!==i&&"__typename"!==r&&(null===i||"object"!=typeof i?n[r]=i:Array.isArray(i)&&!g(i)?n[r]=i.map(e=>{if("object"!=typeof e||null===e)return e;if(e.id)return e.id;let t=Object.keys(e).find(e=>e.endsWith("Id"));return t?e[t]:void 0}).join(","):Object.assign(n,Array.isArray(i)&&g(i)?function(e){let t={};return e.forEach(e=>{t[e.actionId]=e.confidence}),t}(i):e(i)));return n}({...e,...function({userData:e,experienceRegion:t,isBloombergEmployee:n,userHasConsented:r}={}){let i={registered:e?.status?.toLowerCase()==="logged_in",subscriber:e?.subscriberData?.subscriptionStatus?.toLowerCase()==="active",subscriptionProduct:e?.subscriberData?.subscriptionProduct,subscriptionProvider:e?.subscriberData?.subscriptionProvider,subscriptionType:e?.subscriberData?.subscriptionType,experienceRegion:t,subscriptionIntroPeriodStatus:e?.subscriberData?.introPeriodStatus,daysSubscribed:e?.subscriberData?.daysSubscribed,subscriptionStartDate:e?.subscriberData?.startDate,subscriptionCurrency:e?.subscriberData?.currency,subscriptionFullPrice:e?.subscriberData?.fullPrice,subscriptionIntroPrice:e?.subscriberData?.introPrice,pricingJourneyState:e?.subscriberData?.pricingJourneyState,subscriptionGeoBand:e?.subscriberData?.geoBand,subscriptionOfferType:e?.subscriberData?.offerType,subscriptionStatus:e?.subscriberData?.subscriptionStatus,subscriptionBillingPeriod:e?.subscriberData?.billingPeriod,isEligibleForPromo:e?.subscriberData?.isEligibleForPromo};return r?{...i,userNewsletters:e?.newsletterIds?.join(","),linkedAccounts:e?.linkedAccounts,isBloombergEmployee:n??!1}:i}(t)})}},y=e=>async t=>{let n=e.getContext().user,r="function"==typeof t?await t(n):t;if("Uninitialized"===e.loadingStatus){await h(e,r);return}await e.updateUserAsync(r)},S=e=>async(t={})=>{let n=await E(),r="function"==typeof t?e=>t(n,e):{...n,custom:{...n.custom,...t}};await y(e)(r)},C=["reg-user-signed-in","reg-user-signed-out"],w=e=>{window.statsig=e,window.dispatchEvent(new CustomEvent("statsig:ready",{detail:{statsig:e}}))},T=l("SS-useStatsigClient",r.useStatsigClient),k=l("SS-useStatisigUser",r.useStatsigUser),I=l("SS-useLayer",r.useLayer),A=l("SS-useFeatureGate",r.useFeatureGate),N=l("SS-useDynamicConfig",r.useDynamicConfig),L=l("SS-useParameterStore",r.useParameterStore),O=l("SS-runStatsigAutoCapture",i.AP),M=l("SS-useSSClientWebSetupHook",({statsigClientKey:e,environmentTier:t,options:n})=>{let r=c.Z.get("_breg-uid"),i=p({statsigClientKey:e,environmentTier:t,initialUser:{userID:r,customIDs:{regId:r,sessionId:c.Z.get("session_id")}},getAsyncInitializationUser:E,onStatsigInit:w,onStatsigInitError:()=>{},options:n});return(0,u.useEffect)(()=>{let e=S(i),t=()=>e();return C.forEach(e=>{window.addEventListener(e,t)}),()=>{C.forEach(e=>{window.removeEventListener(e,t)})}},[i]),i}),P=l("SS-useSSClientCustomSetupHook",p),B=l("SS-useSSWebUserRefresh",()=>{let{client:e}=(0,r.useStatsigClient)();return(0,u.useCallback)(S(e),[e])}),D=l("SS-useSSWebUserRefresh",()=>{let{client:e}=(0,r.useStatsigClient)();return(0,u.useCallback)(y(e),[e])})},97314:function(e,t,n){"use strict";function r(e,t){let n,r;return function(i){return n&&r&&t(n,i)?r:(n=i,r=e(i))}}n.d(t,{Z:function(){return r}})},9996:function(e){"use strict";var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==n},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function i(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function a(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function o(e,t){try{return t in e}catch(e){return!1}}function s(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var u,c,d=Array.isArray(n);return d!==Array.isArray(e)?r(n,l):d?l.arrayMerge(e,n,l):(c={},(u=l).isMergeableObject(e)&&a(e).forEach(function(t){c[t]=r(e[t],u)}),a(n).forEach(function(t){(!o(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(o(e,t)&&u.isMergeableObject(n[t])?c[t]=(function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s})(t,u)(e[t],n[t],u):c[t]=r(n[t],u))}),c)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})},e.exports=s},99960:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,(r=n=t.ElementType||(t.ElementType={})).Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype",t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},47915:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var a=n(99960),o=n(97790);i(n(97790),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?a.ElementType.Tag:void 0,r=new o.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===a.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new o.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment){this.lastNode.data+=e;return}var t=new o.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new o.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},97790:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=h;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);t.CDATA=m;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=f;var p=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=i,a}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,o.isTag)(e)}function v(e){return e.type===o.ElementType.CDATA}function b(e){return e.type===o.ElementType.Text}function _(e){return e.type===o.ElementType.Comment}function E(e){return e.type===o.ElementType.Directive}function y(e){return e.type===o.ElementType.Root}function S(e,t){if(void 0===t&&(t=!1),b(e))n=new u(e.data);else if(_(e))n=new c(e.data);else if(g(e)){var n,r=t?C(e.children):[],i=new p(e.name,a({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=a({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=a({},e["x-attribsPrefix"])),n=i}else if(v(e)){var r=t?C(e.children):[],o=new m(r);r.forEach(function(e){return e.parent=o}),n=o}else if(y(e)){var r=t?C(e.children):[],s=new f(r);r.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(E(e)){var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function C(e){for(var t=e.map(function(e){return S(e,!0)}),n=1;n1?i-1:0),o=1;o element.");return l.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}],function(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},l=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)},u=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},c=function(e){return u(e)&&!e.shiftKey},d=function(e){return u(e)&&e.shiftKey},h=function(e){return setTimeout(e,0)},m=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},r=n.hasFallback,o=n.params,s=v[e];if("function"==typeof s&&(s=s.apply(void 0,function(e){if(Array.isArray(e))return i(e)}(t=void 0===o?[]:o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return i(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===s&&(s=void 0),!s){if(void 0===s||!1===s)return s;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=s;if("string"==typeof s){try{l=a.querySelector(s)}catch(t){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!l&&!(void 0!==r&&r))throw Error("`".concat(e,"` as selector refers to no known node"))}return l},S=function(){var e=y("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,r.isFocusable)(e,v.tabbableOptions)){if(E(a.activeElement)>=0)e=a.activeElement;else{var t=b.tabbableGroups[0];e=t&&t.firstTabbableNode||y("fallbackFocus")}}else null===e&&(e=y("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},C=function(){if(b.containerGroups=b.containers.map(function(e){var t=(0,r.tabbable)(e,v.tabbableOptions),n=(0,r.focusable)(e,v.tabbableOptions),i=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return(0,r.isTabbable)(e)}),s=n.slice().reverse().find(function(e){return(0,r.isTabbable)(e)}),l=!!t.find(function(e){return(0,r.getTabIndex)(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:s,nextTabbableNode:function(e){var i=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=t.indexOf(e);return a<0?i?n.slice(n.indexOf(e)+1).find(function(e){return(0,r.isTabbable)(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return(0,r.isTabbable)(e)}):t[a+(i?1:-1)]}}}),b.tabbableGroups=b.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),b.tabbableGroups.length<=0&&!y("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(b.containerGroups.find(function(e){return e.posTabIndexesFound})&&b.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},w=function(e){var t=e.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?w(t.shadowRoot):t:void 0},T=function(e){if(!1!==e&&e!==w(document)){if(!e||!e.focus){T(S());return}e.focus({preventScroll:!!v.preventScroll}),b.mostRecentlyFocusedNode=e,e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select&&e.select()}},k=function(e){var t=y("setReturnFocus",{params:[e]});return t||!1!==t&&e},I=function(e){var t=e.target,n=e.event,i=e.isBackward,a=void 0!==i&&i;t=t||f(n),C();var o=null;if(b.tabbableGroups.length>0){var s=E(t,n),l=s>=0?b.containerGroups[s]:void 0;if(s<0)o=a?b.tabbableGroups[b.tabbableGroups.length-1].lastTabbableNode:b.tabbableGroups[0].firstTabbableNode;else if(a){var c=b.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(c<0&&(l.container===t||(0,r.isFocusable)(t,v.tabbableOptions)&&!(0,r.isTabbable)(t,v.tabbableOptions)&&!l.nextTabbableNode(t,!1))&&(c=s),c>=0){var d=0===c?b.tabbableGroups.length-1:c-1,h=b.tabbableGroups[d];o=(0,r.getTabIndex)(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else u(n)||(o=l.nextTabbableNode(t,!1))}else{var m=b.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(m<0&&(l.container===t||(0,r.isFocusable)(t,v.tabbableOptions)&&!(0,r.isTabbable)(t,v.tabbableOptions)&&!l.nextTabbableNode(t))&&(m=s),m>=0){var p=m===b.tabbableGroups.length-1?0:m+1,g=b.tabbableGroups[p];o=(0,r.getTabIndex)(t)>=0?g.firstTabbableNode:g.firstDomTabbableNode}else u(n)||(o=l.nextTabbableNode(t))}}else o=y("fallbackFocus");return o},A=function(e){if(!(E(f(e),e)>=0)){if(m(v.clickOutsideDeactivates,e)){n.deactivate({returnFocus:v.returnFocusOnDeactivate});return}m(v.allowOutsideClick,e)||e.preventDefault()}},N=function(e){var t=f(e),n=E(t,e)>=0;if(n||t instanceof Document)n&&(b.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var i,a=!0;if(b.mostRecentlyFocusedNode){if((0,r.getTabIndex)(b.mostRecentlyFocusedNode)>0){var o=E(b.mostRecentlyFocusedNode),s=b.containerGroups[o].tabbableNodes;if(s.length>0){var l=s.findIndex(function(e){return e===b.mostRecentlyFocusedNode});l>=0&&(v.isKeyForward(b.recentNavEvent)?l+1=0&&(i=s[l-1],a=!1))}}else b.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,r.getTabIndex)(e)>0})})||(a=!1)}else a=!1;a&&(i=I({target:b.mostRecentlyFocusedNode,isBackward:v.isKeyBackward(b.recentNavEvent)})),i?T(i):T(b.mostRecentlyFocusedNode||S())}b.recentNavEvent=void 0},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];b.recentNavEvent=e;var n=I({event:e,isBackward:t});n&&(u(e)&&e.preventDefault(),T(n))},O=function(e){(v.isKeyForward(e)||v.isKeyBackward(e))&&L(e,v.isKeyBackward(e))},M=function(e){((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==m(v.escapeDeactivates,e)&&(e.preventDefault(),n.deactivate())},P=function(e){E(f(e),e)>=0||m(v.clickOutsideDeactivates,e)||m(v.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},B=function(){if(b.active)return s(g,n),b.delayInitialFocusTimer=v.delayInitialFocus?h(function(){T(S())}):T(S()),a.addEventListener("focusin",N,!0),a.addEventListener("mousedown",A,{capture:!0,passive:!1}),a.addEventListener("touchstart",A,{capture:!0,passive:!1}),a.addEventListener("click",P,{capture:!0,passive:!1}),a.addEventListener("keydown",O,{capture:!0,passive:!1}),a.addEventListener("keydown",M),n},D=function(){if(b.active)return a.removeEventListener("focusin",N,!0),a.removeEventListener("mousedown",A,!0),a.removeEventListener("touchstart",A,!0),a.removeEventListener("click",P,!0),a.removeEventListener("keydown",O,!0),a.removeEventListener("keydown",M),n},R="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===b.mostRecentlyFocusedNode})})&&T(S())}):void 0,H=function(){R&&(R.disconnect(),b.active&&!b.paused&&b.containers.map(function(e){R.observe(e,{subtree:!0,childList:!0})}))};return Object.defineProperties(n={get active(){return b.active},get paused(){return b.paused},activate:function(e){if(b.active)return this;var t=_(e,"onActivate"),n=_(e,"onPostActivate"),r=_(e,"checkCanFocusTrap");r||C(),b.active=!0,b.paused=!1,b.nodeFocusedBeforeActivation=w(a),null==t||t();var i=function(){r&&C(),B(),H(),null==n||n()};return r?r(b.containers.concat()).then(i,i):i(),this},deactivate:function(e){if(!b.active)return this;var t=o({onDeactivate:v.onDeactivate,onPostDeactivate:v.onPostDeactivate,checkCanReturnFocus:v.checkCanReturnFocus},e);clearTimeout(b.delayInitialFocusTimer),b.delayInitialFocusTimer=void 0,D(),b.active=!1,b.paused=!1,H(),l(g,n);var r=_(t,"onDeactivate"),i=_(t,"onPostDeactivate"),a=_(t,"checkCanReturnFocus"),s=_(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var u=function(){h(function(){s&&T(k(b.nodeFocusedBeforeActivation)),null==i||i()})};return s&&a?a(k(b.nodeFocusedBeforeActivation)).then(u,u):u(),this},pause:function(e){return b.active?(b.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return b.active?(b.manuallyPaused=!1,g[g.length-1]!==this)?this:this._setPausedState(!1,e):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return b.containers=t.map(function(e){return"string"==typeof e?a.querySelector(e):e}),b.active&&C(),H(),this}},{_isManuallyPaused:{value:function(){return b.manuallyPaused}},_setPausedState:{value:function(e,t){if(b.paused===e)return this;if(b.paused=e,e){var n=_(t,"onPause"),r=_(t,"onPostPause");null==n||n(),D(),H(),null==r||r()}else{var i=_(t,"onUnpause"),a=_(t,"onPostUnpause");null==i||i(),C(),B(),H(),null==a||a()}return this}}}),n.updateContainerElements(e),n}},60885:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{})},38276:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r="html",i="head",a="body",o=/<([a-zA-Z]+[0-9]?)/,s=//i,l=//i,u=function(e,t){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(e,t){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var h=new d;u=c=function(e,t){return t&&(e="<".concat(t,">").concat(e,"")),h.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var m=document.implementation.createHTMLDocument();u=function(e,t){if(t){var n=m.documentElement.querySelector(t);return n&&(n.innerHTML=e),m}return m.documentElement.innerHTML=e,m}}var f="object"==typeof document&&document.createElement("template");f&&f.content&&(n=function(e){return f.innerHTML=e,f.content.childNodes}),t.default=function(e){var t,d,h=e.match(o),m=h&&h[1]?h[1].toLowerCase():"";switch(m){case r:var f=c(e);if(!s.test(e)){var p=f.querySelector(i);null===(t=null==p?void 0:p.parentNode)||void 0===t||t.removeChild(p)}if(!l.test(e)){var p=f.querySelector(a);null===(d=null==p?void 0:p.parentNode)||void 0===d||d.removeChild(p)}return f.querySelectorAll(r);case i:case a:var g=u(e).querySelectorAll(m);if(l.test(e)&&s.test(e))return g[0].parentNode.childNodes;return g;default:if(n)return n(e);var p=u(e,a).querySelector(a);return p.childNodes}}},14152:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(38276)),a=n(1507),o=/<(![a-zA-Z\s]+)>/;t.default=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var t=e.match(o),n=t?t[1]:void 0;return(0,a.formatDOM)((0,i.default)(e),null,n)}},1507:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDOM=t.formatAttributes=void 0;var r=n(47915),i=n(60885);function a(e){for(var t={},n=0,r=e.length;n1&&(c=f(c,{key:c.key||y})),v.push(_(c,l,y));continue}if("text"===l.type){if((u=!l.data.trim().length)&&l.parent&&!s(l.parent)||E&&u)continue;v.push(_(l.data,l,y));continue}switch(d=l.attribs,a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===l.type&&a.isCustomComponent(l.name,l.attribs)?o(d.style,d):d&&(d=i(d,l.name)),h=null,l.type){case"script":case"style":l.children[0]&&(d.dangerouslySetInnerHTML={__html:l.children[0].data});break;case"tag":"textarea"===l.name&&l.children[0]?d.defaultValue=l.children[0].data:l.children&&l.children.length&&(h=e(l.children,n));break;default:continue}S>1&&(d.key=y),v.push(_(p(l.name,d,h),l,y))}return 1===v.length?v[0]:v}},74606:function(e,t,n){var r=n(67294),i=n(41476).default,a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),o={reactCompat:!0},s=r.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:s,ELEMENTS_WITH_NO_TEXT_CHILDREN:l,isCustomComponent:function(e,t){return -1===e.indexOf("-")?t&&"string"==typeof t.is:!a.has(e)},setStyleProp:function(e,t){if(null!=e)try{t.style=i(e,o)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},returnFirstArg:function(e){return e}}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,d=1;function h(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function m(){var e={line:c,column:d};return function(t){return t.position=new f(e),v(r),t}}function f(e){this.start=e,this.end={line:c,column:d},this.source=l.source}f.prototype.content=e;var p=[];function g(t){var n=Error(l.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=c,n.column=d,n.source=e,l.silent)p.push(n);else throw n}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function b(e){var t;for(e=e||[];t=_();)!1!==t&&e.push(t);return e}function _(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}return v(r),function(){var e,n=[];for(b(n);e=function(){var e=m(),n=v(i);if(n){if(_(),!v(a))return g("property missing ':'");var r=v(o),l=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return v(s),l}}();)!1!==e&&(n.push(e),b(n));return n}()}},54138:function(e,t,n){e=n.nmd(e);var r,i,a,o="__lodash_hash_undefined__",s=1/0,l="[object Arguments]",u="[object Array]",c="[object Boolean]",d="[object Date]",h="[object Error]",m="[object Function]",f="[object Map]",p="[object Number]",g="[object Object]",v="[object Promise]",b="[object RegExp]",_="[object Set]",E="[object String]",y="[object Symbol]",S="[object WeakMap]",C="[object ArrayBuffer]",w="[object DataView]",T=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k=/^\w*$/,I=/^\./,A=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N=/\\(\\)?/g,L=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,M={};M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M[l]=M[u]=M[C]=M[c]=M[w]=M[d]=M[h]=M[m]=M[f]=M[p]=M[g]=M[b]=M[_]=M[E]=M[S]=!1;var P="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,B="object"==typeof self&&self&&self.Object===Object&&self,D=P||B||Function("return this")(),R=t&&!t.nodeType&&t,H=R&&e&&!e.nodeType&&e,x=H&&H.exports===R&&P.process,U=function(){try{return x&&x.binding("util")}catch(e){}}(),F=U&&U.isTypedArray;function G(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function j(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var K=Array.prototype,W=Function.prototype,z=Object.prototype,Z=D["__core-js_shared__"],Y=(r=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",q=W.toString,X=z.hasOwnProperty,J=z.toString,Q=RegExp("^"+q.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$=D.Symbol,ee=D.Uint8Array,et=z.propertyIsEnumerable,en=K.splice,er=(i=Object.keys,a=Object,function(e){return i(a(e))}),ei=eL(D,"DataView"),ea=eL(D,"Map"),eo=eL(D,"Promise"),es=eL(D,"Set"),el=eL(D,"WeakMap"),eu=eL(Object,"create"),ec=eH(ei),ed=eH(ea),eh=eH(eo),em=eH(es),ef=eH(el),ep=$?$.prototype:void 0,eg=ep?ep.valueOf:void 0,ev=ep?ep.toString:void 0;function eb(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},e_.prototype.set=function(e,t){var n=this.__data__,r=eC(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},eE.prototype.clear=function(){this.__data__={hash:new eb,map:new(ea||e_),string:new eb}},eE.prototype.delete=function(e){return eN(this,e).delete(e)},eE.prototype.get=function(e){return eN(this,e).get(e)},eE.prototype.has=function(e){return eN(this,e).has(e)},eE.prototype.set=function(e,t){return eN(this,e).set(e,t),this},ey.prototype.add=ey.prototype.push=function(e){return this.__data__.set(e,o),this},ey.prototype.has=function(e){return this.__data__.has(e)},eS.prototype.clear=function(){this.__data__=new e_},eS.prototype.delete=function(e){return this.__data__.delete(e)},eS.prototype.get=function(e){return this.__data__.get(e)},eS.prototype.has=function(e){return this.__data__.has(e)},eS.prototype.set=function(e,t){var n=this.__data__;if(n instanceof e_){var r=n.__data__;if(!ea||r.length<199)return r.push([e,t]),this;n=this.__data__=new eE(r)}return n.set(e,t),this};var ew=function(e,t,n){for(var r=-1,i=Object(e),a=n(e),o=a.length;o--;){var s=a[++r];if(!1===t(i[s],s,i))break}return e};function eT(e,t){var n;t=eP(t,e)?[t]:eG(n=t)?n:eD(n);for(var r=0,i=t.length;null!=e&&rs))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var c=-1,d=!0,h=1&i?new ey:void 0;for(a.set(e,t),a.set(t,e);++c-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function eW(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ez(e){return!!e&&"object"==typeof e}function eZ(e){return"symbol"==typeof e||ez(e)&&J.call(e)==y}var eY=F?function(e){return F(e)}:function(e){return ez(e)&&eK(e.length)&&!!M[J.call(e)]};function eq(e){return ej(e)?function(e,t){var n=eG(e)||eF(e)?function(e,t){for(var n=-1,r=Array(e);++n=t||n<0||h&&r>=o}function y(){var e,n,r,i=g();if(E(i))return S(i);l=setTimeout(y,(e=i-u,n=i-c,r=t-e,h?p(r,o-n):r))}function S(e){return(l=void 0,m&&i)?_(e):(i=a=void 0,s)}function C(){var e,n=g(),r=E(n);if(i=arguments,a=this,u=n,r){if(void 0===l)return c=e=u,l=setTimeout(y,t),d?_(e):s;if(h)return l=setTimeout(y,t),_(u)}return void 0===l&&(l=setTimeout(y,t)),s}return t=b(t)||0,v(n)&&(d=!!n.leading,o=(h="maxWait"in n)?f(b(n.maxWait)||0,t):o,m="trailing"in n?!!n.trailing:m),C.cancel=function(){void 0!==l&&clearTimeout(l),c=0,i=u=a=l=void 0},C.flush=function(){return void 0===l?s:S(g())},C}(e,t,{leading:i,maxWait:t,trailing:a})}},84664:function(e,t,n){"use strict";n.d(t,{l:function(){return s}});var r=n(67294),i=n(25434),a=n(77536);n(11859);var o={form:"media-ui-Form_form-UvJm--ec8QA-",stretch:"media-ui-Form_stretch-zeR0j9ob6As-",center:"media-ui-Form_center-82LKmQUsLaU-",tight:"media-ui-Form_tight-vG2QkggODhU-",default:"media-ui-Form_default-tNBThaJw9IU-",loose:"media-ui-Form_loose-hKxMT3xrzJU-",_default:"media-ui-Form_default-tNBThaJw9IU-"};let s=r.forwardRef(function(e,t){let{children:n,onSubmit:s,noValidate:l=!1,name:u,layout:c="default",autoComplete:d="on",alignDirection:h="start"}=e,m=(0,i.f)(u||""),f=(0,a.Sh)([o.form,o[h],o[c]],e);return r.createElement("form",{className:f,onSubmit:s,noValidate:l,"data-component":m,name:u,autoComplete:d,ref:t},n)})},9339:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(67294),i=n(25434),a=n(77536);n(66730);var o={helperText:"media-ui-HelperText_helperText-lrCnwu8QoPI-",error:"media-ui-HelperText_error-6TmQB8EWS-k-",errorDark:"media-ui-HelperText_errorDark-ImbkNjRFdfo-"};let s=(0,r.forwardRef)(function(e,t){let{error:n,text:s,name:l="helper-text",variant:u}=e,c=(0,i.f)(l);return s?r.createElement("div",{ref:t,"data-component":c,role:n?"alert":"status",className:(0,a.Sh)([o.helperText,{[o.error]:n&&"default"===u,[o.errorDark]:n&&"dark"===u}],{...e})},s):r.createElement("div",{ref:t,className:(0,a.Sh)([o.helperText],{...e}),"data-component":c})})},60006:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var r=n(67294),i=n(8599),a=n(25434),o=n(77536);n(70356);var s={wrapper:"media-ui-IconButton_wrapper-ZtMlyZ3p34k-",default:"media-ui-IconButton_default-OUq-rV0XCU4-",small:"media-ui-IconButton_small-nbfyux0zKD0-",tiny:"media-ui-IconButton_tiny-Xv9lcY2NAJY-",outlined:"media-ui-IconButton_outlined-z7c334w-V9s-",sectionDark:"media-ui-IconButton_sectionDark-wSNacVMkig8-","iconButton-phoenix":"media-ui-IconButton_iconButton-phoenix-gC6ermSRsQU-",light:"media-ui-IconButton_light-zZFry5zY6kQ-",outline:"media-ui-IconButton_outline-6-iPazMeTfA-",dark:"media-ui-IconButton_dark-jx5Qu41FbN4-",onlyIcon:"media-ui-IconButton_onlyIcon-6RK7-eVNwGs-",_default:"media-ui-IconButton_default-OUq-rV0XCU4-",iconButton___phoenix:"media-ui-IconButton_iconButton-phoenix-gC6ermSRsQU-"};let l=r.forwardRef(function(e,t){let{colorMode:n="light",appearance:l="default",variant:u="default",size:c="default",type:d="button",title:h="",disabled:m=!1,linkUrl:f,openLinkInNewWindow:p,name:g="icon-button",version:v}=e,b="phoenix"===v?(0,o.Sh)([s["iconButton-".concat(e.version)],s[l],s[c],s[n],s.onlyIcon],{name:g,className:e.className,...e}):(0,o.Sh)([s.wrapper,s[u],s[c]],{...e,name:g}),_=(0,a.f)(g),E=r.useCallback(()=>{},[]);if("phoenix"===v)return r.createElement(i.zx,{...e,name:g,className:b,ref:t,iconPosition:"left"});let{size:y,children:S,...C}=e;return f?r.createElement("a",{title:h||"",href:f,className:s.link,rel:"noopener noreferrer",target:p?"_blank":void 0},r.createElement("button",{...C,disabled:m,title:h,className:b,"data-component":_,type:d,"aria-label":h||"",onClick:E,ref:t},S)):r.createElement("button",{...C,disabled:m,title:h,className:b,"data-component":_,type:d,"aria-label":h||"",ref:t},S)})},24847:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},e:function(){return l}});var r=n(67294),i=n(67673),a=n(25434),o=n(77536);n(6376);var s={banner:"media-ui-NotificationBanner_banner-4eebMkIRJzw-",error:"media-ui-NotificationBanner_error-4z4mv6K0k8k-",success:"media-ui-NotificationBanner_success-APeFHeVYWv4-",warning:"media-ui-NotificationBanner_warning-cAdZufLHk0I-",bannerAttentionWrapper:"media-ui-NotificationBanner_bannerAttentionWrapper-pchGP09RuNQ-",bannerIcon:"media-ui-NotificationBanner_bannerIcon-g6aCeVVqubQ-",bannerTitle:"media-ui-NotificationBanner_bannerTitle-kRajE0ZuW44-",bannerText:"media-ui-NotificationBanner_bannerText-x9X1JVeIIp0-"};let l={error:r.createElement(i._Z,null),warning:r.createElement(i.Ov,null),success:r.createElement(i.yv,null)},u=r.forwardRef(function(e,t){let{title:n,text:i,variant:u,name:c="notification-banner",children:d}=e,[h]=(0,a.f)(c),m=(0,o.Sh)([s.banner,s[u]],e);return r.createElement("div",{className:m,"data-component":h,ref:t},r.createElement("div",{className:s.bannerAttentionWrapper},r.createElement("span",{className:s.bannerIcon},l[u])),r.createElement("div",null,r.createElement("p",{className:s.bannerTitle},n),i&&r.createElement("p",{className:s.bannerText,dangerouslySetInnerHTML:{__html:i}}),d))})},62139:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var r=n(67294),i=n(8599),a=n(77536);n(57054);var o={outlinedButton:"media-ui-OutlinedButton_outlinedButton-5-j3Ymkvvnw-",default:"media-ui-OutlinedButton_default-WRnB2HeLXEE-",dark:"media-ui-OutlinedButton_dark-8g3alcKPdYM-",bold:"media-ui-OutlinedButton_bold-3okO96gkN08-","outlinedButton-phoenix":"media-ui-OutlinedButton_outlinedButton-phoenix-578zuGBVzuk-",small:"media-ui-OutlinedButton_small-SKjgc7KH9uo-",light:"media-ui-OutlinedButton_light-73gI9xYets4-",disabled:"media-ui-OutlinedButton_disabled-Eh4qsosjw4I-",_default:"media-ui-OutlinedButton_default-WRnB2HeLXEE-",outlinedButton___phoenix:"media-ui-OutlinedButton_outlinedButton-phoenix-578zuGBVzuk-"};let s=r.forwardRef(function(e,t){let{bold:n=!0,children:s,variant:l="default",name:u="outlined-button",version:c,colorMode:d="light",size:h="default",disabled:m}=e,f="phoenix"===c?(0,a.Sh)([o["outlinedButton-".concat(c)],o[d],o[m?"disabled":""],o[h]],{...e,name:u}):(0,a.Sh)([o.outlinedButton,o[l],{[o.bold]:n}],{...e,name:u});return r.createElement(i.zx,{...e,className:f,ref:t,name:u},s)})},33617:function(e,t,n){"use strict";n.d(t,{z:function(){return h}});var r=n(67294),i=n(67673),a=n(9339),o=n(25434),s=n(60006),l=n(50020),u=n(9290),c=n(77536);n(67923);var d={wrapper:"media-ui-OutlinedInputField_wrapper-8NXbpSGRFgg-",inputContainer:"media-ui-OutlinedInputField_inputContainer-Kcz7KRUBBhE-",small:"media-ui-OutlinedInputField_small-nszuIO6Kx9c-",extraSmall:"media-ui-OutlinedInputField_extraSmall-aAiH-ixL2pQ-",input:"media-ui-OutlinedInputField_input-OoJ1rJl3m9o-",password:"media-ui-OutlinedInputField_password-V6uaKpB1lis-",label:"media-ui-OutlinedInputField_label-xQvnS-5rdBM-",searchBar:"media-ui-OutlinedInputField_searchBar-bbhoZ9cdH9g-",labelShrink:"media-ui-OutlinedInputField_labelShrink-r0lqRx4IBjc-",disabled:"media-ui-OutlinedInputField_disabled-yYmAFKrNOS4-",superdark:"media-ui-OutlinedInputField_superdark-Lw8cVl5aJ34-",error:"media-ui-OutlinedInputField_error-6Hj8Tx9d8lI-",hasLabel:"media-ui-OutlinedInputField_hasLabel-rvdHlQauCXI-",hideLabel:"media-ui-OutlinedInputField_hideLabel-KIAqvzSwEvc-",disabledButShowPlaceholder:"media-ui-OutlinedInputField_disabledButShowPlaceholder-i3AiPRZl7ho-",fieldset:"media-ui-OutlinedInputField_fieldset-00gvcQCX8-4-",markets:"media-ui-OutlinedInputField_markets-vbpR66gSbmM-",active:"media-ui-OutlinedInputField_active-uumWRqMz-r8-",focused:"media-ui-OutlinedInputField_focused-Zvw98Co6rls-",errorDark:"media-ui-OutlinedInputField_errorDark-FdBL3fq-nT8-",fieldsetActive:"media-ui-OutlinedInputField_fieldsetActive-iF9q1PDDr9M-",legend:"media-ui-OutlinedInputField_legend-VhT6AUw5LoI-",legendActive:"media-ui-OutlinedInputField_legendActive--iUiMRIN860-",inactive:"media-ui-OutlinedInputField_inactive-NJJMl2q5bo8-",superdarkerror:"media-ui-OutlinedInputField_superdarkerror-GRuLNCOPscA-",icon:"media-ui-OutlinedInputField_icon-Lrj0Rf2vF00-",fullWidth:"media-ui-OutlinedInputField_fullWidth-so82EQNhkRY-",extraDimension:"media-ui-OutlinedInputField_extraDimension-MDww49mFMGA-",extraPadding:"media-ui-OutlinedInputField_extraPadding-6FN-DVEt6gA-",successIconContainer:"media-ui-OutlinedInputField_successIconContainer-21ViW4IZ9V4-",successIconContainerSuperDark:"media-ui-OutlinedInputField_successIconContainerSuperDark--hARScRkaQI-",helperText:"media-ui-OutlinedInputField_helperText-G3BbbLXMkOQ-",searchIcon:"media-ui-OutlinedInputField_searchIcon-vN1XKOuUFGg-",clearInput:"media-ui-OutlinedInputField_clearInput-5r56JmgqVWk-"};let h=(0,r.forwardRef)(function(e,t){var n,h;let{success:m=!1,disabled:f,disableHelperText:p=!1,error:g=!1,helperText:v,hideLabel:b=!1,id:_,inputProps:E={},labelProps:y={},label:S="",name:C,onChange:w,placeholder:T="",required:k,size:I="default",type:A,defaultValue:N,value:L,unstyled:O,variant:M,onClear:P,autocomplete:B,className:D}=e,R=C||"text-input",[H]=(0,o.f)(R),x=(0,r.useRef)((0,c.Mc)()),U=(null==E?void 0:E.type)||A,F=_||(null==E?void 0:E.id)||C||S||x.current,[G,j]=(0,r.useState)(!1),[V,K]=(0,r.useState)(!1),[W,z]=(0,r.useState)(!1),Z=!!((null==L?void 0:L.length)||(null==N?void 0:N.length)),Y={..."undefined"!==L&&{value:L},..."undefined"!==N&&{defaultValue:N}},q=G||Z||!!(null===(n=Y.value)||void 0===n?void 0:n.toString().length)||!!(null===(h=Y.defaultValue)||void 0===h?void 0:h.toString().length),X=(0,r.useCallback)(e=>{j(e)},[G]),J=(0,c.Sh)([d.inputContainer,"search"===A&&d.searchBar,f&&d.disabled,"superdark"===M&&d.superdark,d[I],{...A&&{[d[A]]:!0}}],e),Q=(0,c.Sh)(["label",{[d.error]:g&&("default"===M||"superdark"===M),[d.errorDark]:g&&"dark"===M,[d.labelActive]:G}],{unstyled:e.unstyled,name:"".concat(R,"-label")}),$=(0,c.Sh)([d.input,{[d.error]:g&&("default"===M||"superdark"===M),[d.errorDark]:g&&"dark"===M,[d.superdark]:"superdark"===M,[d.hasLabel]:S&&!b,[d.hideLabel]:b,[d.labelShrink]:q,[d.disabled]:f,[d.disabledButShowPlaceholder]:f&&(b||""===S),[d.active]:G||!!(null==Y?void 0:Y.toString.length)},"password"===U?d.password:""],{unstyled:e.unstyled,name:"".concat(R,"-input")}),ee=(0,c.Sh)([d.icon,d[I]],{unstyled:e.unstyled,name:"".concat(R,"-icon")}),et=(0,r.useCallback)(e=>{e.persist(),E.onChange?E.onChange(e):w&&w(e)},[E,w]),en=(0,r.useCallback)(()=>{K(e=>!e)},[V]),er=(0,r.useCallback)(e=>{e.persist(),E.onFocus&&E.onFocus(e),z(!0)},[E]),ei=(0,r.useCallback)(e=>{e.persist(),z(!1),E.onBlur&&E.onBlur(e)},[E]),ea="password"===U&&V?"text":U;return r.createElement("div",{ref:t,"data-component":H,className:(0,c.Sh)([D,d.wrapper,"css--input-base","css--input-outlined-base","".concat((0,c.lV)(R))])},r.createElement("div",{className:J},r.createElement(u.A,{htmlFor:F,className:(0,c.Sh)([d.label,d[I],{[d.labelShrink]:q,[d.hideLabel]:b,[d.disabled]:f,[d.superdark]:"superdark"===M,[d.error]:g&&("default"===M||"superdark"===M),[d.errorDark]:g&&"dark"===M,[d.focused]:G,[d.active]:Z&&!W,[d.inactive]:!G&&!q}],{unstyled:e.unstyled,name:"".concat(R,"-label-outer")}),spanClassName:Q,label:S,unstyled:O,labelProps:y}),"search"===A&&r.createElement(i.HN,{className:(0,c.Sh)([d.searchIcon,f&&d.disabled,d[I]])}),r.createElement(l.I,{inputProps:{...E,onFocus:er,onBlur:ei,type:ea,"aria-required":k},...Y,id:F,type:ea,className:$,disabled:f,required:k,name:R,placeholder:T,onActiveStatusChange:X,onChange:et,unstyled:O,autoComplete:B}),("password"===A||(null==E?void 0:E.type)==="password")&&r.createElement("span",{className:(0,c.Sh)([ee,{[d.extraDimension]:m&&!g}])},r.createElement(s.h,{type:"button",size:"small",onClick:en,title:V?"Hide Password":"Show Password"},V?r.createElement(i.Yz,null):r.createElement(i.uC,null))),"search"===A&&P&&Z&&r.createElement("span",{className:ee},r.createElement(s.h,{type:"button",size:"small",onClick:P,title:"Clear Input"},r.createElement(i.n$,null))),m&&!g&&r.createElement("span",{className:(0,c.Sh)([ee,{[d.extraPadding]:"password"===A}])},r.createElement("span",{className:(0,c.Sh)([d.successIconContainer,{[d.successIconContainerSuperDark]:"superdark"===M}])},r.createElement(i.MC,null))),r.createElement("fieldset",{className:(0,c.Sh)([d.fieldset,{[d.focused]:W,[d.disabled]:f,[d.active]:Z&&!W,[d.error]:g&&("default"===M||"superdark"===M),[d.errorDark]:g&&"dark"===M,[d.fieldsetActive]:q,[d.markets]:"markets"===M,[d.superdark]:"superdark"===M}])},S&&r.createElement("legend",{className:(0,c.Sh)([d.legend,{[d.legendActive]:q,[d.disabled]:f,[d.error]:g&&"default"===M,[d.errorDark]:g&&"dark"===M,[d.hideLabel]:b}])},S))),!p&&r.createElement(a.p,{className:(0,c.Sh)(d.helperText),error:g,text:v,variant:"dark"===M||"superdark"===M?"dark":"default"}))})},3631:function(e,t,n){"use strict";n.d(t,{Kw:function(){return g},ue:function(){return v},HV:function(){return f}});var r=n(67294),i=n(35436),a=n(25434),o=n(38968),s=n(77536),l=n(16562);n(84575);var u={wrapper:"media-ui-Privacy_wrapper-xY-fKxt67RI-","single-line":"media-ui-Privacy_single-line-ulcImPTIVKA-","tighter-line-height":"media-ui-Privacy_tighter-line-height-7MhHRiQXhKQ-","with-extra-hit-area":"media-ui-Privacy_with-extra-hit-area-was21ivKeWY-",checkbox:"media-ui-Privacy_checkbox-SePr4vZd1Zg-"},c=n(86896),d=n(64618),h=n(70700);let m=()=>{try{return(0,c.Z)()}catch(t){let e=(0,d.Sn)();return(0,h.d)({locale:"en",messages:{}},e)}},f=e=>{if(!e)return!0;switch(e){case"US":case"GB":case"CA":case"FR":case"BR":case"CN":return!1;default:return!0}},p=r.forwardRef(function(e,t){let{onChange:n,checkboxProps:c={},text:d,name:h="PrivacyConsent",checked:m,defaultChecked:p,unstyled:g,countryCode:v,includeTextInHitArea:b=!1,showTextWhenConsentRequired:_=!0}=e,E=(0,a.f)(h),y=(0,l.Q)(),S=null!=d?d:y({id:"media-ui-core_offersAndPromotions",defaultMessage:o.j["media-ui-core_offersAndPromotions"]}),C=r.useRef(null),w=r.useRef(null),[T,k]=r.useState(!0),I=r.useCallback(()=>{if(!w.current)return;let{height:e}=w.current.getBoundingClientRect();e>22?k(!1):k(!0)},[]);r.useEffect(()=>{I();let e=(0,s.Ds)(I,100);return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}},[]);let A=r.useCallback(()=>{C.current&&C.current.click()},[]),N=(0,s.Sh)([u.wrapper,{[u["tighter-line-height"]]:!0,[u["single-line"]]:T,"single-line":T,[u["with-extra-hit-area"]]:b}],{...e,unstyled:g,name:h});return r.createElement("div",{className:N,ref:t,"data-component":E},r.createElement(r.Fragment,null,f(v)&&r.createElement(i.X,{ref:C,size:"small",className:u.checkbox,checked:m,defaultChecked:p,onChange:n,...c}),(f(v)||_)&&r.createElement("p",{dangerouslySetInnerHTML:{__html:S},ref:w,onClick:b?A:void 0})))}),g=r.forwardRef(function(e,t){return r.createElement(p,{name:"PrivacyPolicy",ref:t,...e,showTextWhenConsentRequired:!1})}),v=r.forwardRef(function(e,t){let{name:n="PrivacyShortDisclaimer",unstyled:i,className:o,text:c="",disclaimerLength:d="short",countryCode:h=""}=e,f=(0,a.f)(n),{locale:p}=m(),g=(0,s.Sh)([u.wrapper],{...e,unstyled:i,className:o});if(!c){let e,n;let i=e=>e?(0,s.vw)(p)?e.replace("/notices/","/notices/jp/"):e:"",a=0;switch(h){case"US":e="media-ui-core_policyAgreeUSFull",n="By continuing, I agree to the Privacy Policy and Terms of Service.";break;case"GB":case"CA":case"FR":case"BR":case"CN":e="media-ui-core_policyAgreeOffers",n="By continuing, I agree that Bloomberg may send me news and offers relating to Bloomberg products. I also acknowledge the Privacy Policy and agree to the Terms of Service.";break;default:"full"===d?(e="media-ui-core_policyAgreeUSFull",n="By continuing, I agree to the Privacy Policy and Terms of Service."):(e="media-ui-core_policyAgreeShort",n="By submitting my information, I agree to the Privacy Policy and Terms of Service.")}return r.createElement("div",{className:g,ref:t,"data-component":f},r.createElement("p",null,r.createElement(l.j,{id:e,defaultMessage:n,values:{link:e=>{let t=i(["https://www.bloomberg.com/notices/","https://www.bloomberg.com/notices/tos/"][a++]),n=r.Children.toArray(e).join("").replace(/ /g," ");return r.createElement("a",{href:t,target:"_blank",rel:"noreferrer",dangerouslySetInnerHTML:{__html:n}})}}})))}return r.createElement("div",{className:g,ref:t,"data-component":f},r.createElement("p",{dangerouslySetInnerHTML:{__html:c}}))})},24229:function(e,t,n){"use strict";n.d(t,{F:function(){return s}});var r=n(67294),i=n(8599),a=n(77536);n(50946);var o={transButton:"media-ui-TransparentButton_transButton-ykx0hnORrD0-",small:"media-ui-TransparentButton_small-E4muduTu328-","transButton-phoenix":"media-ui-TransparentButton_transButton-phoenix-ZKYHhMrZ8DM-",default:"media-ui-TransparentButton_default-4QcMWVmuWfw-",light:"media-ui-TransparentButton_light--Aer4BKe2hs-",disabled:"media-ui-TransparentButton_disabled-A9wefiuF1qE-",dark:"media-ui-TransparentButton_dark-v1TGOcesNwk-",transButton___phoenix:"media-ui-TransparentButton_transButton-phoenix-ZKYHhMrZ8DM-",_default:"media-ui-TransparentButton_default-4QcMWVmuWfw-"};let s=r.forwardRef(function(e,t){let{size:n="default",name:s="transparent-button",colorMode:l="light",disabled:u}=e,c="phoenix"===e.version?(0,a.Sh)([o["transButton-".concat(e.version)],o[n],o[u?"disabled":""],o[l]],{...e,name:s}):(0,a.Sh)([o.transButton,o[n]],{...e,name:s});return r.createElement(i.zx,{...e,className:c,ref:t})})},38968:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});let r={"media-ui-core_search":"Search","media-ui-core_linkCopied":"Link Copied","media-ui-core_beforeItsHereItsOnTheBloombergTerminal":"Before it's here, it's on the Bloomberg Terminal.","media-ui-core_learnMore":"Learn More","media-ui-core_haveAConfidentialTipForOurReporters":"Have a confidential tip for our reporters?","media-ui-core_getInTouch":"GET IN TOUCH","media-ui-core_newslettersWillBeSentToEmail":"Newsletters will be sent to {email}","media-ui-core_signUpToThisNewsletter":"Sign up to this newsletter","media-ui-core_signUp":"Sign Up","media-ui-core_youreSignedUp":"You're signed up!","media-ui-core_loading":"Loading...","media-ui-core_nextButtonText":"Next","media-ui-core_previousButtonText":"Previous","media-ui-core_shareThisArticle":"Share this article","media-ui-core_lessThan1mAgo":"<1m ago","media-ui-core_lessThanAMinuteAgo":"Less than a minute ago","media-ui-core_approxDaysAgoShort":"{days}d ago","media-ui-core_approxDaysAgoLong":"{days} days ago","media-ui-core_approxMonthsAgoShort":"{months}mo ago","media-ui-core_approxMonthsAgoLong":"{months} months ago","media-ui-core_approxYearsAgoShort":"{years}y ago","media-ui-core_approxYearsAgoLong":"{years} years ago","media-ui-core_anHourAgo":"An hour ago","media-ui-core_updatedTime":"Updated on {date} at {time}","media-ui-core_policyAgreeShort":"By submitting my information, I agree to the Privacy Policy and Terms of Service.","media-ui-core_policyAgreeOffers":"By continuing, I agree that Bloomberg may send me news and offers relating to Bloomberg products. I also acknowledge the Privacy Policy and agree to the Terms of Service.","media-ui-core_policyAgreeUSFull":"By continuing, I agree to the Privacy Policy and Terms of Service.","media-ui-core_navigationDot":"navigation dot","media-ui-core_navigateLeft":"navigate left","media-ui-core_navigateRight":"navigate right","media-ui-core_onlyEnterNumbers":"You can only enter numbers","media-ui-core_fillOutAllFields":"Please fill out all fields","media-ui-core_digitNOfTotal":"Digit {position} of {total}","media-ui-core_offersAndPromotions":"Bloomberg may send me offers and promotions.","media-ui-core_paginationItemsPerPage":"items per page","media-ui-core_paginationPageOfTotal":"Page {current} of {total}","media-ui-core_paginationNoPagesFound":"no pages found"}},67673:function(e,t,n){"use strict";n.d(t,{FN:function(){return h},HE:function(){return A},HN:function(){return O},Kh:function(){return u},MC:function(){return o},Ov:function(){return y},X:function(){return F},Yz:function(){return U},_M:function(){return c},_Q:function(){return l},_Z:function(){return f},h6:function(){return g},n$:function(){return v},oI:function(){return P},rU:function(){return w},s$:function(){return s},s1:function(){return _},tL:function(){return D},uC:function(){return H},v3:function(){return N},x1:function(){return S},yh:function(){return k},yv:function(){return a}});var r=n(67294),i="Checkmark";function a(e){let{className:t,title:n}=e;return r.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":n||i},r.createElement("title",null,n||i),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM10.126 18.0042L18 8.03048L16.4921 6.84L9.95682 15.118L7.35852 12.5197L6 13.8782L10.126 18.0042Z",fill:"currentColor"}))}function o(e){let{className:t,title:n}=e,a=n||i;return r.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",role:"img","aria-label":a,xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,a),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 4.68064L8.87668 21.3035L2 14.4268L4.26419 12.1626L8.59469 16.4931L19.4868 2.6965L22 4.68064Z",fill:"currentColor"}))}function s(){return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Chevron Left",role:"img"},r.createElement("title",null,"Chevron Left"),r.createElement("path",{d:"M8.92155 11.9954L16.46 19.5387L14.9977 21L5.99798 11.9945L14.9982 3L16.4595 4.46225L8.92155 11.9954Z",fill:"currentColor"}))}function l(){return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"Chevron Right"},r.createElement("title",null,"Chevron Right"),r.createElement("path",{d:"M15.0784 12.0046L7.54 4.46132L9.00225 3L18.002 12.0055L9.00178 21L7.54047 19.5377L15.0784 12.0046Z",fill:"currentColor"}))}function u(){return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Chevron Up",role:"img"},r.createElement("title",null,"Chevron Up"),r.createElement("path",{d:"M12.0046 8.92154L4.46132 16.46L3 14.9977L12.0055 5.99797L21 14.9982L19.5377 16.4595L12.0046 8.92154Z",fill:"currentColor"}))}function c(e){let{title:t="Chevron Down"}=e;return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":t,role:"img"},r.createElement("title",null,t),r.createElement("path",{d:"M11.9954 15.0785L19.5387 7.54001L21 9.00226L11.9945 18.002L3 9.00179L4.46225 7.54047L11.9954 15.0785Z",fill:"currentColor"}))}var d="Email";function h(){return r.createElement("svg",{width:"24",height:"24","aria-label":d,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,d),r.createElement("path",{d:"M2 20V4h20v16H2Zm10-7 8-5V6l-8 5-8-5v2l8 5Z",fill:"currentColor"}))}var m="Exclamation";function f(e){let{className:t}=e;return r.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",role:"img","aria-label":m,xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,m),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM10.6667 8.66667V6H13.3333V8.66667L12.6625 14H11.3375L10.6667 8.66667ZM10.6667 18V15.3333H13.3333V18H10.6667Z",fill:"currentColor"}))}var p="Exit";function g(e){let{title:t=p,className:n}=e;return r.createElement("svg",{className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":t},r.createElement("title",null,t),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.45 3.45L20.55 2.55L12 11.1L3.45 2.55L2.55 3.45L11.1 12L2.55 20.55L3.45 21.45L12 12.9L20.55 21.45L21.45 20.55L12.9 12L21.45 3.45Z",fill:"currentColor"}))}function v(e){let{title:t=p,className:n}=e;return r.createElement("svg",{className:n,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":t},r.createElement("title",null,t),r.createElement("path",{d:"M12 10.1651L3.83495 2L2 3.83495L10.1651 12L2 20.1651L3.83495 22L12 13.8349L20.1651 22L22 20.1651L13.8349 12L22 3.83495L20.1651 2L12 10.1651Z",fill:"currentColor"}))}var b="Facebook";function _(e){let{className:t}=e;return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":b,className:t},r.createElement("title",null,b),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12.0611C22 6.50451 17.5229 2 12 2C6.47715 2 2 6.50451 2 12.0611C2 17.0829 5.65686 21.2452 10.4375 22V14.9694H7.89844V12.0611H10.4375V9.84452C10.4375 7.32296 11.9304 5.93012 14.2146 5.93012C15.3087 5.93012 16.4531 6.12663 16.4531 6.12663V8.60261H15.1921C13.9499 8.60261 13.5625 9.37816 13.5625 10.1738V12.0611H16.3359L15.8926 14.9694H13.5625V22C18.3431 21.2452 22 17.0829 22 12.0611Z",fill:"currentColor"}))}var E="Info";function y(){return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":E,role:"img"},r.createElement("title",null,E),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11 8V6H13V8H11ZM11 18V10H13V18H11Z",fill:"currentColor"}))}function S(e){let{className:t}=e;return r.createElement("svg",{width:"89",height:"85",viewBox:"0 0 89 85",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"aria-label":"Line"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M88.54 35.9255C88.54 16.1163 68.6809 0 44.27 0C19.8632 0 0 16.1163 0 35.9255C0 53.685 15.7511 68.5564 37.0251 71.3697C38.465 71.6809 40.4276 72.3199 40.9256 73.5523C41.3737 74.6727 41.216 76.4237 41.0708 77.5565C41.0708 77.5565 40.5521 80.681 40.4401 81.3449C40.2451 82.4652 39.5521 85.7225 44.2741 83.7308C49.0003 81.7391 69.7681 68.7183 79.0544 58.0294C85.4653 50.9962 88.54 43.855 88.54 35.9255ZM73.8135 47.3654H61.3943H61.3777C60.9088 47.3654 60.5312 46.9878 60.5312 46.5189V46.5065V27.2201V27.2035C60.5312 26.7346 60.9088 26.357 61.3777 26.357H61.3943H73.8135C74.2782 26.357 74.66 26.7387 74.66 27.2035V30.3446C74.66 30.8135 74.2824 31.191 73.8135 31.191H65.3612V34.4525H73.8135C74.2782 34.4525 74.66 34.8342 74.66 35.299V38.4401C74.66 38.9089 74.2824 39.2865 73.8135 39.2865H65.3612V42.548H73.8135C74.2782 42.548 74.66 42.9297 74.66 43.3944V46.5355C74.66 46.9878 74.2824 47.3654 73.8135 47.3654ZM27.8098 47.3654C28.2746 47.3654 28.6563 46.9878 28.6563 46.5189V43.3778C28.6563 42.9131 28.2746 42.5314 27.8098 42.5314H19.3575V27.1952C19.3575 26.7304 18.9757 26.3487 18.511 26.3487H15.3699C14.901 26.3487 14.5234 26.7263 14.5234 27.1952V46.5023V46.5148C14.5234 46.9837 14.901 47.3613 15.3699 47.3613H15.3865H27.8098V47.3654ZM35.2923 26.3528H32.1512C31.6864 26.3528 31.3047 26.7304 31.3047 27.1993V46.5189C31.3047 46.9837 31.6823 47.3654 32.1512 47.3654H35.2923C35.7611 47.3654 36.1387 46.9878 36.1387 46.5189V27.1993C36.1387 26.7346 35.7611 26.3528 35.2923 26.3528ZM56.6626 26.3528H53.5215C53.0526 26.3528 52.675 26.7304 52.675 27.1993V38.6724L43.8368 26.7346C43.816 26.7055 43.7911 26.6765 43.7704 26.6475L43.7662 26.6433C43.7496 26.6267 43.733 26.606 43.7164 26.5894C43.7123 26.5852 43.704 26.5811 43.6998 26.5769C43.6832 26.5645 43.6708 26.552 43.6542 26.5396C43.6459 26.5354 43.6376 26.5271 43.6293 26.523C43.6169 26.5105 43.6003 26.5022 43.5837 26.4939C43.5754 26.4898 43.5671 26.4815 43.5588 26.4773C43.5422 26.469 43.5297 26.4607 43.5131 26.4524C43.5048 26.4483 43.4965 26.4441 43.4882 26.44C43.4716 26.4317 43.455 26.4234 43.4384 26.4192C43.4301 26.4151 43.4218 26.4109 43.4094 26.4109C43.3928 26.4068 43.3762 26.3985 43.3596 26.3943C43.3513 26.3902 43.3388 26.3902 43.3305 26.386C43.314 26.3819 43.2974 26.3777 43.2808 26.3736C43.2683 26.3694 43.2559 26.3694 43.2434 26.3694C43.2268 26.3653 43.2144 26.3653 43.1978 26.3653C43.1812 26.3653 43.1687 26.3653 43.1521 26.3611C43.1438 26.3611 43.1314 26.3611 43.1231 26.3611H40.0027C39.538 26.3611 39.1562 26.7387 39.1562 27.2076V46.5272C39.1562 46.992 39.5338 47.3737 40.0027 47.3737H43.1438C43.6127 47.3737 43.9903 46.9961 43.9903 46.5272V35.0541L52.841 47.0086C52.9032 47.0957 52.9779 47.1663 53.0609 47.2202C53.065 47.2243 53.0692 47.2243 53.0692 47.2285C53.0858 47.2409 53.1024 47.2492 53.1231 47.2617C53.1314 47.2658 53.1397 47.27 53.148 47.2741C53.1605 47.2824 53.1771 47.2866 53.1895 47.2949C53.202 47.3032 53.2186 47.3073 53.231 47.3115C53.2393 47.3156 53.2476 47.3198 53.2559 47.3198C53.2767 47.3281 53.2933 47.3322 53.314 47.3364C53.3182 47.3364 53.3223 47.3405 53.3265 47.3405C53.397 47.3571 53.4717 47.3696 53.5464 47.3696H56.6667C57.1315 47.3696 57.5132 46.992 57.5132 46.5231V27.2035C57.5091 26.7346 57.1315 26.3528 56.6626 26.3528Z",fill:"currentColor"}))}var C="Link";function w(){return r.createElement("svg",{width:"24",height:"24","aria-label":C,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,C),r.createElement("path",{d:"M3.78112 12C3.78112 10.5609 4.87554 9.39594 6.22747 9.39594L11.0343 9.39594V7.5L6.22747 7.5C3.88841 7.5 2 9.51015 2 12C2 14.4898 3.88841 16.5 6.22747 16.5L11.0343 16.5V14.6041L6.22747 14.6041C4.87554 14.6041 3.78112 13.4391 3.78112 12ZM17.7725 7.5L12.9657 7.5V9.39594L17.7725 9.39594C19.1245 9.39594 20.2189 10.5609 20.2189 12C20.2189 13.4391 19.1245 14.6041 17.7725 14.6041L12.9657 14.6041V16.5L17.7725 16.5C20.1116 16.5 22 14.4898 22 12C22 9.51015 20.1116 7.5 17.7725 7.5ZM6.91416 12C6.91416 12.5254 7.32189 12.9594 7.81545 12.9594L16.206 12.9594C16.6996 12.9594 17.1073 12.5254 17.1073 12C17.1073 11.4746 16.6996 11.0406 16.206 11.0406L7.81545 11.0406C7.32189 11.0406 6.91416 11.4746 6.91416 12Z",fill:"currentColor"}))}var T="LinkedIn";function k(e){let{className:t}=e;return r.createElement("svg",{width:"24",height:"24","aria-label":T,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},r.createElement("title",null,T),r.createElement("path",{d:"M7.13955 5.90917C6.96055 6.0806 6.74824 6.21341 6.51578 6.29937C6.28332 6.38533 6.03568 6.42261 5.78822 6.40888C5.54947 6.42029 5.31096 6.38174 5.08797 6.29569C4.86497 6.20965 4.66239 6.078 4.49319 5.90917C4.33413 5.7507 4.20855 5.56188 4.12392 5.35392C4.03928 5.14595 3.99732 4.9231 4.00052 4.6986C3.99484 4.47377 4.03567 4.25019 4.12045 4.04187C4.20523 3.83356 4.33213 3.64501 4.49319 3.48803C4.66979 3.32232 4.87798 3.1939 5.10532 3.11046C5.33267 3.02702 5.5745 2.99027 5.81637 3.0024C6.05509 2.98987 6.29384 3.02651 6.51782 3.11005C6.74179 3.19359 6.94622 3.32224 7.11843 3.48803C7.43729 3.81162 7.62099 4.24445 7.63222 4.6986C7.63582 4.92316 7.59404 5.14613 7.50939 5.35414C7.42473 5.56216 7.29893 5.75094 7.13955 5.90917V5.90917ZM4.08498 7.76724H7.51961V18.7679H4.08498V7.76724ZM9.52549 9.38602C9.52549 8.8042 9.50437 8.26461 9.46215 7.76724H12.4323L12.5941 9.30157H12.6575C12.9826 8.84796 13.3824 8.45289 13.8399 8.13323C14.4924 7.6923 15.2704 7.47497 16.0569 7.51387C16.5976 7.51311 17.1332 7.61832 17.6335 7.82355C18.1053 8.01653 18.5267 8.31509 18.8652 8.69628C19.2391 9.12775 19.5216 9.63055 19.6957 10.1743C19.9124 10.8566 20.0147 11.5701 19.9983 12.2858V18.782H16.5707V12.6658C16.5974 12.0682 16.4611 11.4747 16.1766 10.9485C16.0381 10.724 15.8392 10.5429 15.6028 10.426C15.3664 10.309 15.1018 10.2608 14.8393 10.2869C14.4213 10.2654 14.0116 10.4095 13.6991 10.6881C13.4306 10.9308 13.2211 11.2317 13.0868 11.5679C13.039 11.6918 13.0105 11.8224 13.0023 11.955V18.7609H9.56068V11.2793C9.56068 10.5896 9.54895 9.95846 9.52549 9.38602V9.38602Z",fill:"currentColor"}))}var I="Lock";function A(e){let{className:t,title:n}=e;return r.createElement("svg",{className:t,width:"24",height:"24","aria-label":I,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,n||I),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 7C9.5 5.61929 10.6193 4.5 12 4.5C13.3807 4.5 14.5 5.61929 14.5 7V9H9.5V7ZM7 9V7C7 4.23858 9.23858 2 12 2C14.7614 2 17 4.23858 17 7V9H18C19.1046 9 20 9.89543 20 11V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V11C4 9.89543 4.89543 9 6 9H7Z",fill:"currentColor"}))}function N(e){let{className:t,title:n}=e,i=n||"Plus";return r.createElement("svg",{className:t,width:"24",height:"24","aria-label":i,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,i),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 3H11V11H3V13H11V21H13V13H21V11H13V3Z",fill:"currentColor"}))}var L="Search";function O(e){let{className:t}=e;return r.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":L},r.createElement("title",null,L),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 20.1125C21 19.8689 20.9095 19.6566 20.7285 19.4756L15.7587 14.4849C16.232 13.8863 16.6009 13.2146 16.8654 12.4698C17.1299 11.7251 17.2622 10.942 17.2622 10.1206C17.2622 9.14617 17.0742 8.2239 16.6984 7.35383C16.3225 6.48375 15.8109 5.72854 15.1636 5.08817C14.5162 4.44779 13.761 3.93968 12.8979 3.56381C12.0348 3.18793 11.1091 3 10.1206 3C9.14617 3 8.2239 3.18793 7.35383 3.56381C6.48375 3.93968 5.72854 4.44779 5.08817 5.08817C4.44779 5.72854 3.93968 6.48375 3.56381 7.35383C3.18793 8.2239 3 9.14617 3 10.1206C3 11.1091 3.18793 12.0348 3.56381 12.8979C3.93968 13.761 4.44779 14.5162 5.08817 15.1636C5.72854 15.8109 6.48375 16.3225 7.35383 16.6984C8.2239 17.0742 9.14617 17.2622 10.1206 17.2622C10.942 17.2622 11.7251 17.1299 12.4698 16.8654C13.2146 16.6009 13.8863 16.232 14.4849 15.7587L19.4756 20.7285C19.5731 20.826 19.6775 20.8956 19.7889 20.9374C19.9002 20.9791 20.0046 21 20.1021 21C20.2135 21 20.3248 20.9791 20.4362 20.9374C20.5476 20.8956 20.645 20.826 20.7285 20.7285C20.9095 20.5615 21 20.3561 21 20.1125ZM5.203 12.1984C4.91762 11.551 4.77493 10.8584 4.77493 10.1206C4.77493 9.39672 4.91762 8.70764 5.203 8.05334C5.48839 7.39904 5.87121 6.83177 6.35149 6.35148C6.83177 5.8712 7.39905 5.48838 8.05335 5.20299C8.70764 4.91761 9.39673 4.77492 10.1206 4.77492C10.8585 4.77492 11.551 4.91761 12.1984 5.20299C12.8457 5.48838 13.413 5.8712 13.9002 6.35148C14.3875 6.83177 14.7703 7.39904 15.0487 8.05334C15.3271 8.70764 15.4663 9.39672 15.4663 10.1206C15.4663 10.8584 15.3271 11.551 15.0487 12.1984C14.7703 12.8457 14.3875 13.413 13.9002 13.9002C13.413 14.3874 12.8457 14.7703 12.1984 15.0487C11.551 15.3271 10.8585 15.4663 10.1206 15.4663C9.39673 15.4663 8.70764 15.3271 8.05335 15.0487C7.39905 14.7703 6.83177 14.3874 6.35149 13.9002C5.87121 13.413 5.48839 12.8457 5.203 12.1984Z",fill:"currentColor"}))}var M="Bloomberg Terminal";function P(e){let{className:t}=e;return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",role:"img","aria-label":M,xmlns:"http://www.w3.org/2000/svg",className:t},r.createElement("title",null,M),r.createElement("path",{d:"M12.7876 16.67L12.4287 16.6501V17.6072C12.4088 17.6271 12.2891 17.7069 11.99 17.7069C11.6909 17.7069 11.5713 17.6271 11.5513 17.6072V16.6501L11.1924 16.6899C9.43769 16.8495 8.3011 17.5075 8.3011 18.325C8.3011 19.3021 9.85643 20 11.99 20C14.1236 20 15.679 19.3021 15.679 18.325C15.679 17.4875 14.5424 16.8495 12.7876 16.67ZM11.5314 14.2223V7.77767C11.5314 7.33898 11.1725 7 10.7537 7H2.77767C2.33898 7 2 7.33898 2 7.77767V14.2223C2 14.6411 2.33898 15 2.77767 15H10.7537C11.1725 15 11.5314 14.6411 11.5314 14.2223ZM22 7.77767C22 7.35892 21.661 7 21.2223 7H13.2463C12.8275 7 12.4686 7.33898 12.4686 7.77767V14.2223C12.4686 14.6411 12.8076 15 13.2463 15H21.2223C21.6411 15 22 14.661 22 14.2223V7.77767Z",fill:"currentColor"}))}var B="Twitter";function D(e){let{className:t}=e;return r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":B,className:t},r.createElement("title",null,B),r.createElement("path",{d:"M22 5.75994C21.8663 5.96888 21.7242 6.16947 21.5654 6.37005C21.4091 6.56883 21.2417 6.75857 21.0639 6.93838C20.8884 7.11389 20.6962 7.2894 20.5207 7.43984C20.3452 7.59028 20.1446 7.74908 19.9356 7.91623V8.16696C19.9442 8.26428 19.9442 8.36216 19.9356 8.45948C19.9272 9.86509 19.6667 11.2578 19.1667 12.5715C18.6768 13.9535 17.9375 15.234 16.9854 16.3492C15.9538 17.5038 14.7003 18.439 13.2996 19.0988C11.7309 19.8304 10.0156 20.1935 8.285 20.1603C7.72589 20.157 7.16757 20.1179 6.61346 20.0433C6.06192 19.9687 5.51702 19.8514 4.9837 19.6922C4.44731 19.5412 3.92451 19.3455 3.42081 19.1072C2.92938 18.8601 2.45476 18.5809 2 18.2714H2.96949C3.44825 18.2708 3.92617 18.2316 4.39866 18.1544C4.82812 18.0913 5.25066 17.9877 5.66068 17.8452C6.09688 17.7169 6.51737 17.5403 6.91433 17.3187C7.30653 17.0994 7.67607 16.8418 8.01755 16.5497C7.14915 16.5497 6.30645 16.2551 5.62725 15.714C5.28446 15.4765 4.98721 15.1792 4.74969 14.8364C4.49845 14.4784 4.30393 14.0837 4.173 13.6663C4.30262 13.6939 4.4338 13.7134 4.56582 13.7248C4.69663 13.733 4.82782 13.733 4.95863 13.7248C5.13951 13.7368 5.321 13.7368 5.50188 13.7248C5.68528 13.6975 5.86673 13.6584 6.04513 13.6078C5.11309 13.4476 4.27506 12.9436 3.69661 12.1954C3.38066 11.8467 3.1339 11.4411 2.96949 11.0002C2.80046 10.5428 2.71552 10.0587 2.71876 9.57106L3.17008 9.78L3.61304 9.9388L4.09778 10.0224C4.25901 10.0376 4.42131 10.0376 4.58253 10.0224C4.31379 9.83314 4.06461 9.61756 3.8387 9.37883C3.60412 9.13014 3.40703 8.84859 3.25366 8.54306C3.09569 8.24515 2.96962 7.93139 2.87756 7.607C2.80195 7.29527 2.76823 6.97485 2.77727 6.65422C2.7667 6.48444 2.7667 6.31417 2.77727 6.1444C2.80462 5.961 2.8437 5.77954 2.89427 5.60115C2.94442 5.44235 3.01128 5.28355 3.06979 5.1164C3.13396 4.9455 3.21812 4.78278 3.32052 4.63165C3.8146 5.24855 4.37516 5.80912 4.99206 6.30319C5.63366 6.81165 6.32865 7.24882 7.06477 7.607C7.77495 7.99761 8.52987 8.3007 9.313 8.50963C10.1332 8.72561 10.9733 8.85723 11.8203 8.90244C11.7922 8.74483 11.7726 8.58579 11.7618 8.42605V7.94966C11.7583 7.39963 11.8634 6.85431 12.071 6.34498C12.2613 5.8622 12.5454 5.42191 12.9068 5.04954C13.2956 4.68628 13.7418 4.38977 14.2273 4.17198C14.7328 3.94918 15.2796 3.83527 15.832 3.83767C16.1136 3.83817 16.3941 3.87183 16.6678 3.93796C16.9523 4.00034 17.2317 4.08416 17.5036 4.18869C17.7621 4.2943 18.0064 4.43188 18.2307 4.59822C18.4448 4.7609 18.6485 4.93675 18.8408 5.12476C19.0612 5.09688 19.2791 5.05217 19.4927 4.99103C19.7232 4.92955 19.9472 4.84557 20.1613 4.7403C20.3702 4.65672 20.5792 4.57315 20.7881 4.4645L21.415 4.15526C21.3343 4.39055 21.2366 4.6196 21.1224 4.84059C21.0079 5.05789 20.8706 5.26241 20.7129 5.45071C20.5669 5.65022 20.3987 5.83248 20.2115 5.99396C20.0284 6.15427 19.8328 6.29961 19.6264 6.42856C19.8354 6.42856 20.0359 6.37005 20.2365 6.32827C20.4371 6.28648 20.6377 6.24469 20.8466 6.18619C21.0399 6.13416 21.2298 6.06995 21.415 5.99396L22 5.75994Z",fill:"currentColor"}))}var R="Visibility Off";function H(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",role:"img","aria-label":R},r.createElement("title",null,R),r.createElement("path",{d:"M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}),r.createElement("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z"}))}var x="Visibility On";function U(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor",role:"img","aria-label":x},r.createElement("title",null,x),r.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),r.createElement("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7z"}))}function F(e){let{className:t}=e;return r.createElement("svg",{"aria-label":"X",className:t,fill:"none",height:"24",role:"img",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,"X"),r.createElement("path",{d:"M17.175 4h2.761l-6.031 6.777L21 20h-5.554l-4.353-5.592L6.117 20H3.352l6.45-7.25L3 4h5.695l3.93 5.112L17.176 4Zm-.97 14.377h1.529L7.862 5.538H6.219l9.986 12.839Z",fill:"currentColor"}))}},31469:function(e,t,n){"use strict";function r(e){return"number"==typeof e}n.d(t,{h:function(){return r}})},16562:function(e,t,n){"use strict";n.d(t,{j:function(){return ti},Q:function(){return tr}});var r,i,a,o,s,l,u=n(67294),c=n(86896),d=n(64618),h=n(70700),m=n(85893),f=n(44012),p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function g(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var v=function(){return(v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"&&(a=e.call(this,r),t.set(i,a)),a}function y(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}"function"==typeof SuppressedError&&SuppressedError;var S=function(){return JSON.stringify(arguments)},C=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),w={create:function(){return new C}},T={variadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,y.bind(this,e,n,r)},monadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,E.bind(this,e,n,r)}};(Q=en||(en={})).FORMAT_ERROR="FORMAT_ERROR",Q.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",Q.INVALID_CONFIG="INVALID_CONFIG",Q.MISSING_DATA="MISSING_DATA",Q.MISSING_TRANSLATION="MISSING_TRANSLATION";var k=function(e){function t(n,r,i){var a=this,o=i?i instanceof Error?i:Error(String(i)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return g(t,e),t}(Error),I=function(e){function t(t,n){return e.call(this,en.UNSUPPORTED_FORMATTER,t,n)||this}return g(t,e),t}(k),A=function(e){function t(t,n){return e.call(this,en.INVALID_CONFIG,t,n)||this}return g(t,e),t}(k),N=function(e){function t(t,n){return e.call(this,en.MISSING_DATA,t,n)||this}return g(t,e),t}(k),L=function(e){function t(t,n,r){var i=e.call(this,en.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),r)||this;return i.locale=n,i}return g(t,e),t}(k),O=function(e){function t(t,n,r,i){var a=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,i)||this;return a.descriptor=r,a.locale=n,a}return g(t,e),t}(L),M=function(e){function t(t,n){var r=e.call(this,en.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return r.descriptor=t,r}return g(t,e),t}(k);function P(e){return e.type===ei.literal}function B(e){return e.type===ei.number}function D(e){return e.type===ei.date}function R(e){return e.type===ei.time}function H(e){return e.type===ei.select}function x(e){return e.type===ei.plural}function U(e){return e.type===ei.tag}function F(e){return!!(e&&"object"==typeof e&&e.type===ea.number)}function G(e){return!!(e&&"object"==typeof e&&e.type===ea.dateTime)}($=er||(er={}))[$.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",$[$.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",$[$.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",$[$.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",$[$.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",$[$.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",$[$.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",$[$.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",$[$.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",$[$.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",$[$.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",$[$.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",$[$.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",$[$.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",$[$.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",$[$.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",$[$.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",$[$.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",$[$.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",$[$.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",$[$.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",$[$.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",$[$.INVALID_TAG=23]="INVALID_TAG",$[$.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",$[$.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",$[$.UNCLOSED_TAG=27]="UNCLOSED_TAG",(ee=ei||(ei={}))[ee.literal=0]="literal",ee[ee.argument=1]="argument",ee[ee.number=2]="number",ee[ee.date=3]="date",ee[ee.time=4]="time",ee[ee.select=5]="select",ee[ee.plural=6]="plural",ee[ee.pound=7]="pound",ee[ee.tag=8]="tag",(et=ea||(ea={}))[et.number=0]="number",et[et.dateTime=1]="dateTime";var j=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,V={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},K=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,W=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,z=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Z=/^(@+)?(\+|#+)?[rs]?$/g,Y=/(\*)(0+)|(#+)(0+)|(0+)/g,q=/^(0+)$/;function X(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Z,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function J(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}var Q,$,ee,et,en,er,ei,ea,eo,es=new RegExp("^".concat(j.source,"*")),el=new RegExp("".concat(j.source,"*$"));function eu(e,t){return{start:e,end:t}}var ec=!!String.prototype.startsWith&&"_a".startsWith("a",1),ed=!!String.fromCodePoint,eh=!!Object.fromEntries,em=!!String.prototype.codePointAt,ef=!!String.prototype.trimStart,ep=!!String.prototype.trimEnd,eg=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},ev=!0;try{var eb=eT("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ev=(null===(eo=eb.exec("a"))||void 0===eo?void 0:eo[0])==="a"}catch(e){ev=!1}var e_=ec?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},eE=ed?String.fromCodePoint:function(){for(var e=[],t=0;ta;){if((n=e[a++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return r},ey=eh?Object.fromEntries:function(e){for(var t={},n=0;n=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},eC=ef?function(e){return e.trimStart()}:function(e){return e.replace(es,"")},ew=ep?function(e){return e.trimEnd()}:function(e){return e.replace(el,"")};function eT(e,t){return new RegExp(e,t)}if(ev){var ek=eT("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");o=function(e,t){var n;return ek.lastIndex=t,null!==(n=ek.exec(e)[1])&&void 0!==n?n:""}}else o=function(e,t){for(var n=[];;){var r,i=eS(e,t);if(void 0===i||eN(i)||(r=i)>=33&&r<=35||36===r||r>=37&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||r>=162&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||r>=8208&&r<=8213||r>=8214&&r<=8215||8216===r||8217===r||8218===r||r>=8219&&r<=8220||8221===r||8222===r||8223===r||r>=8224&&r<=8231||r>=8240&&r<=8248||8249===r||8250===r||r>=8251&&r<=8254||r>=8257&&r<=8259||8260===r||8261===r||8262===r||r>=8263&&r<=8273||8274===r||8275===r||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||8608===r||r>=8609&&r<=8610||8611===r||r>=8612&&r<=8613||8614===r||r>=8615&&r<=8621||8622===r||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||8658===r||8659===r||8660===r||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||8968===r||8969===r||8970===r||8971===r||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||9001===r||9002===r||r>=9003&&r<=9083||9084===r||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||9655===r||r>=9656&&r<=9664||9665===r||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||9839===r||r>=9840&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||r>=10132&&r<=10175||r>=10176&&r<=10180||10181===r||10182===r||r>=10183&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||r>=10649&&r<=10711||10712===r||10713===r||10714===r||10715===r||r>=10716&&r<=10747||10748===r||10749===r||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||11158===r||r>=11159&&r<=11263||r>=11776&&r<=11777||11778===r||11779===r||11780===r||11781===r||r>=11782&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||r>=11790&&r<=11798||11799===r||r>=11800&&r<=11801||11802===r||11803===r||11804===r||11805===r||r>=11806&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||r>=11818&&r<=11822||11823===r||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||11840===r||11841===r||11842===r||r>=11843&&r<=11855||r>=11856&&r<=11857||11858===r||r>=11859&&r<=11903||r>=12289&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||r>=12306&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||r>=12318&&r<=12319||12320===r||12336===r||64830===r||64831===r||r>=65093&&r<=65094)break;n.push(i),t+=i>=65536?2:1}return eE.apply(void 0,n)};var eI=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){var a=this.parseArgument(e,n);if(a.err)return a;r.push(a.val)}else{if(125===i&&e>0)break;if(35===i&&("plural"===t||"selectordinal"===t)){var o=this.clonePosition();this.bump(),r.push({type:ei.pound,location:eu(o,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&eA(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;r.push(a.val)}}else{if(n)break;return this.error(er.UNMATCHED_CLOSING_TAG,eu(this.clonePosition(),this.clonePosition()))}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ei.literal,value:"<".concat(r,"/>"),location:eu(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(er.INVALID_TAG,eu(n,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(!this.bumpIf("")?{val:{type:ei.tag,value:r,children:a,location:eu(n,this.clonePosition())},err:null}:this.error(er.INVALID_TAG,eu(o,this.clonePosition())))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i){r+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){r+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){r+=o;continue}break}var s=eu(n,this.clonePosition());return{val:{type:ei.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(eA(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return eE.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),eE(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(er.EXPECT_ARGUMENT_CLOSING_BRACE,eu(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(er.EMPTY_ARGUMENT,eu(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(er.MALFORMED_ARGUMENT,eu(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(er.EXPECT_ARGUMENT_CLOSING_BRACE,eu(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ei.argument,value:r,location:eu(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(er.EXPECT_ARGUMENT_CLOSING_BRACE,eu(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(er.MALFORMED_ARGUMENT,eu(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=o(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:eu(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(er.EXPECT_ARGUMENT_TYPE,eu(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var d=ew(c.val);if(0===d.length)return this.error(er.EXPECT_ARGUMENT_STYLE,eu(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:eu(u,this.clonePosition())}}var h=this.tryParseArgumentClose(r);if(h.err)return h;var m=eu(r,this.clonePosition());if(l&&e_(null==l?void 0:l.style,"::",0)){var f,p=eC(l.style.slice(2));if("number"===o){var c=this.parseNumberSkeletonFromString(p,l.styleLocation);return c.err?c:{val:{type:ei.number,value:n,location:m,style:c.val},err:null}}if(0===p.length)return this.error(er.EXPECT_DATE_TIME_SKELETON,m);var g=p;this.locale&&(g=function(e,t){for(var n="",r=0;r>1),l=function(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(V[n||""]||V[r||""]||V["".concat(r,"-001")]||V["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else"J"===i?n+="H":n+=i}return n}(p,this.locale));var d={type:ea.dateTime,pattern:g,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(f={},g.replace(K,function(e){var t=e.length;switch(e[0]){case"G":f.era=4===t?"long":5===t?"narrow":"short";break;case"y":f.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":f.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":f.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":f.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");f.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");f.weekday=["short","long","narrow","short"][t-4];break;case"a":f.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":f.hourCycle="h12",f.hour=["numeric","2-digit"][t-1];break;case"H":f.hourCycle="h23",f.hour=["numeric","2-digit"][t-1];break;case"K":f.hourCycle="h11",f.hour=["numeric","2-digit"][t-1];break;case"k":f.hourCycle="h24",f.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":f.minute=["numeric","2-digit"][t-1];break;case"s":f.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":f.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),f):{}};return{val:{type:"date"===o?ei.date:ei.time,value:n,location:m,style:d},err:null}}return{val:{type:"number"===o?ei.number:"date"===o?ei.date:ei.time,value:n,location:m,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var b=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(er.EXPECT_SELECT_ARGUMENT_OPTIONS,eu(b,v({},b)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),E=0;if("select"!==o&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(er.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,eu(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(er.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,er.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),_=this.parseIdentifierIfPossible(),E=c.val}var y=this.tryParsePluralOrSelectOptions(e,o,t,_);if(y.err)return y;var h=this.tryParseArgumentClose(r);if(h.err)return h;var S=eu(r,this.clonePosition());return"select"===o?{val:{type:ei.select,value:n,options:ey(y.val),location:S},err:null}:{val:{type:ei.plural,value:n,options:ey(y.val),offset:E,pluralType:"plural"===o?"cardinal":"ordinal",location:S},err:null};default:return this.error(er.INVALID_ARGUMENT_TYPE,eu(a,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(er.EXPECT_ARGUMENT_CLOSING_BRACE,eu(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(er.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,eu(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(W).filter(function(e){return e.length>0}),n=[],r=0;r1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Y,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw Error("We currently do not support maximum integer digits");if(o)throw Error("We currently do not support exact integer digits")}return""});continue}if(q.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(z.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(z,function(e,n,r,i,a,o){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var i=r.options[0];"w"===i?t=v(v({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=v(v({},t),X(i)));continue}if(Z.test(r.stem)){t=v(v({},t),X(r.stem));continue}var a=J(r.stem);a&&(t=v(v({},t),a));var o=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!q.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);o&&(t=v(v({},t),o))}return t}(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,o=[],s=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(er.EXPECT_PLURAL_ARGUMENT_SELECTOR,er.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;u=eu(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}else break}if(s.has(l))return this.error("select"===t?er.DUPLICATE_SELECT_ARGUMENT_SELECTOR:er.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(a=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?er.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:er.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,eu(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var f=this.tryParseArgumentClose(h);if(f.err)return f;o.push([l,{value:m.val,location:eu(h,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===o.length?this.error("select"===t?er.EXPECT_SELECT_ARGUMENT_SELECTOR:er.EXPECT_PLURAL_ARGUMENT_SELECTOR,eu(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(er.MISSING_OTHER_CLAUSE,eu(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)i=!0,a=10*a+(o-48),this.bump();else break}var s=eu(r,this.clonePosition());return i?eg(a*=n)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=eS(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(e_(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&eN(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function eA(e){return e>=97&&e<=122||e>=65&&e<=90}function eN(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function eL(e,t){void 0===t&&(t={});var n=new eI(e,t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(n.err){var r=SyntaxError(er[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,H(t)||x(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else B(t)&&F(t.style)||(D(t)||R(t))&&G(t.style)?delete t.style.location:U(t)&&e(t.children)})}(n.val),n.val}(r=s||(s={})).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var eO=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return g(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),eM=function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),s.INVALID_VALUE,i)||this}return g(t,e),t}(eO),eP=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),s.INVALID_VALUE,r)||this}return g(t,e),t}(eO),eB=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),s.MISSING_VALUE,n)||this}return g(t,e),t}(eO);function eD(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(i=l||(l={}))[i.literal=0]="literal",i[i.object=1]="object";var eR=function(){function e(t,n,r,i){void 0===n&&(n=e.defaultLocale);var a,o,u=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===l.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return function e(t,n,r,i,a,o,u){if(1===t.length&&P(t[0]))return[{type:l.literal,value:t[0].value}];for(var c=[],d=0;dt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}(c,["formatters"]));this.ast=e.__parse(t,v(v({},d),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,r?Object.keys(a).reduce(function(e,t){var n,i;return e[t]=(n=a[t],(i=r[t])?v(v(v({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=v(v({},n[t]),i[t]||{}),e},{})):n),e},v({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:_(function(){for(var e,t=[],n=0;n"u")){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=eL,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function eH(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}var ex={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function eU(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function eF(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function eG(e,t,n,r){var i,a=e&&e[t];if(a&&(i=a[n]),i)return i;r(new I("No ".concat(t," format named: ").concat(n)))}var ej=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function eV(e,t,n,r){var i=e.locale,a=e.formats,o=e.onError,s=e.timeZone;void 0===r&&(r={});var l=r.format,u=eH(r,ej,v(v({},s&&{timeZone:s}),l&&eG(a,t,l,o)));return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=v(v({},u),{hour:"numeric",minute:"numeric"})),n(i,u)}function eK(e,t){for(var n=[],r=2;r{let e;try{let t=(0,c.Z)();e=(0,u.useCallback)((e,n)=>{let{id:r,defaultMessage:i}=e;return t.formatMessage({id:r,defaultMessage:i},n)},[t,a])}catch(r){let t=(0,d.Sn)(),n=(0,h.d)({locale:"en",messages:{}},t);e=(e,t)=>{let{defaultMessage:r,id:i}=e;return n.formatMessage({defaultMessage:r,id:i},t)}}return e}),ti=e=>{let{id:t,values:n,defaultMessage:r,children:i,...a}=e;try{return(0,c.Z)(),(0,m.jsx)(f.Z,{id:t,values:n,children:i,defaultMessage:r,...a})}catch(a){var o,s,l,u,d,h,p,g,E,y,S,C,w,k;let e=(o={locale:"en",messages:{}},void 0===(s=eU())&&(s=eU()),l=Intl.RelativeTimeFormat,u=Intl.ListFormat,d=Intl.DisplayNames,h=_(function(){for(var e,t=[],n=0;n0,"media-ui-MarketArrow_marketDown-ewEp9WMLewg-":s<0,"media-ui-MarketArrow_marketNeutral--DHdSZwqvtM-":0===s}]),ref:t,"data-component":m},s<0?r.createElement(o.II,{width:u,height:c,className:l,small:!0}):r.createElement(o.CH,{width:u,height:c,className:l,small:!0}))});var l=n(98052);n(56274);var u={change:"media-ui-Change_change-lMq4LV-1csY-",default:"media-ui-Change_default-8hphe2lFPJo-",xsmall:"media-ui-Change_xsmall-Uzcme4e1kNc-",small:"media-ui-Change_small-BYXrCjiwTBg-",large:"media-ui-Change_large--d--nglkh5o-",marketArrow:"media-ui-Change_marketArrow-EVr1-r6VAis-",priceChange:"media-ui-Change_priceChange-OgFOGsx-jKI-",changeValue:"media-ui-Change_changeValue-cRzdGNve3oU-",positive:"media-ui-Change_positive-il7qv0BctMg-",negative:"media-ui-Change_negative-rQGvYj5WMsM-",highlight:"media-ui-Change_highlight-5Dr87cdirmM-",neutral:"media-ui-Change_neutral-nBYyHHGgsdY-",refresh2024:"media-ui-Change_refresh2024-EajM9IkrlnU-",isDark:"media-ui-Change_isDark-FcEFVkzHPF0-",_default:"media-ui-Change_default-8hphe2lFPJo-"};let c={default:{width:12,height:10},xsmall:{width:10,height:8},small:{width:10,height:11},large:{width:15,height:12.5}},d=(0,r.forwardRef)(function(e,t){let{precision:n,size:o="default",variant:d="default",highlight:h=!1,percentChange:m,priceChange:f,name:p="Change",hideMarketArrow:g=!1,hideChangeInfo:v=!1,hidePercentChange:b=!1,percentChangeClassName:_,marketArrowClassName:E,isDark:y=!1}=e,S=(0,i.f)(p),C=(0,a.Mg)(m),w=(f||0===f)&&(0,l.X6)(f),T=(0,l.X6)(m),k=(0,l.id)(T,w);return r.createElement("div",{ref:t,"data-component":S,className:(0,a.Sh)([u.change,u[o],y&&u.isDark,"refresh2024"===d&&u.refresh2024],e),tabIndex:0,"aria-live":"off","aria-label":k},!g&&r.createElement(s,{isDark:y,variant:d,delta:m,iconClassName:(0,a.Sh)([u.marketArrow,u[C],u[o],E]),width:c[o].width,height:c[o].height}),!v&&r.createElement("span",{"aria-hidden":"true"},r.createElement("span",{className:(0,a.Sh)([u.changeValue,h&&u.highlight,u[C],u[o],_])},(f||0===f)&&r.createElement("span",{className:u.priceChange},(0,l.Bw)(Math.abs(f),n)),!b&&r.createElement("span",{className:(0,a.Sh)([h&&u.highlight,u[C],u[o]])},f||g?(0,l.X6)(m):(0,l.Bw)(Math.abs(m)),"%"))))})},98279:function(e,t,n){"use strict";let r,i,a,o;n.d(t,{jT:function(){return b},Ki:function(){return S},xh:function(){return _},hT:function(){return y},EK:function(){return C},$u:function(){return v},$e:function(){return E}});var s=n(67294),l=n(31469),u=n(25434),c=n(77536),d=n(60006),h=n(70390),m=n(30310),f=n(83683),p=n(18005);n(683);var g={securityPill:"media-ui-SecurityPill_securityPill-tHtSdrlxcjI-",fullWidth:"media-ui-SecurityPill_fullWidth-G7PZLsFyLPY-",price:"media-ui-SecurityPill_price-GA5w4Y0Yy5s-",default:"media-ui-SecurityPill_default-IgcHcH580Vc-",ticker:"media-ui-SecurityPill_ticker-kNwKDByGgQM-",positive:"media-ui-SecurityPill_positive-j-08Pe8KqPw-",negative:"media-ui-SecurityPill_negative-3yJm-9q9Vkg-",priceChange:"media-ui-SecurityPill_priceChange-RAkSNe17Dl8-",percentChange:"media-ui-SecurityPill_percentChange-Axlq8xllsVU-",comparison:"media-ui-SecurityPill_comparison-yJfLlQOYumE-",refresh2024:"media-ui-SecurityPill_refresh2024-LxQdflh-E-E-",refreshbar2024:"media-ui-SecurityPill_refreshbar2024-etfhODemqtk-",twoLines:"media-ui-SecurityPill_twoLines-36Mjzv-fF1E-",threeLines:"media-ui-SecurityPill_threeLines-uMNKKxxn0ms-",priceWrapper:"media-ui-SecurityPill_priceWrapper-vE3MnSVD9uY-",tickerColorBox:"media-ui-SecurityPill_tickerColorBox-YpZcADOevgM-",missingPricingData:"media-ui-SecurityPill_missingPricingData-IyNPRgT3yDU-",privateCompany:"media-ui-SecurityPill_privateCompany-wnLiRMEI-cQ-","size-default":"media-ui-SecurityPill_size-default-i1OJr9V-7ZQ-","size-small":"media-ui-SecurityPill_size-small-JPaGCHV0Uuc-",_default:"media-ui-SecurityPill_default-IgcHcH580Vc-",size___default:"media-ui-SecurityPill_size-default-i1OJr9V-7ZQ-",size___small:"media-ui-SecurityPill_size-small-JPaGCHV0Uuc-"},v=((r=v||{}).small="small",r.default="default",r),b=((i=b||{}).xsmall="xsmall",i.small="small",i.default="default",i),_=((a=_||{}).one="one",a.two="two",a.three="three",a),E=((o=E||{}).comparison="comparison",o.refresh2024="refresh2024",o.refreshbar2024="refreshbar2024",o.default="default",o);let y={one:"oneLine",two:"twoLines",three:"threeLines"},S={comparison:"default",refreshbar2024:"small",default:"default",small:"small"},C=s.forwardRef(function(e,t){let n;let{displayName:r,fullWidth:i,isPrivate:a,lines:o,name:v="security-pill",percentChange:b,size:_="default",ticker:E,onClick:C,variant:w="default"}=e,T=(0,p.Q)()({id:"media-ui-markets-private-company",defaultMessage:"Private company"}),k=!(0,l.h)(b),I=(0,u.f)(v),A=(0,c.Mg)(b||0),N=S[_]||S[w],L=_||"default",O="refresh2024"===w||"refreshbar2024"===w,M="comparison"===w,P=O?e.price:null,B=!(0,l.h)(P);if(O&&!B){let{showCurrency:t,currency:r}=e;t&&(n=r)}let D=M?e.onDismiss:()=>{},R=O?r||E:"",H=(0,s.useCallback)(()=>{null==C||C(E)},[C,E]),x=(0,c.Sh)([g.securityPill,i&&g.fullWidth,!M&&g[A],g[w],o&&g[y[o]],{[g["size-".concat(_)]]:!!_}],{...e,name:v});return s.createElement("div",{ref:t,"data-component":I,className:x,onClick:H,title:R},M&&s.createElement("span",{className:(0,c.Sh)([g.tickerColorBox]),style:{backgroundColor:e.color}}),s.createElement("span",{className:g.ticker},r||E),s.createElement("div",{className:(0,c.Sh)([g.priceWrapper,!k&&g.priceChange])},a&&B&&k&&s.createElement("b",{className:(0,c.Sh)([g.privateCompany])},T),!B&&s.createElement(f.l,{size:L,isDark:O,className:g.price,price:P,currency:n}),!k&&s.createElement(m.R,{isDark:O,variant:O?"refresh2024":"default",percentChange:b,percentChangeClassName:g.percentChange,marketArrowClassName:g.marketArrow,hideMarketArrow:M,size:N}),!a&&k&&s.createElement("b",{className:(0,c.Sh)([g.missingPricingData])},"--"),M&&D&&s.createElement("span",null,s.createElement(d.h,{type:"button",size:"tiny",onClick:()=>D(E)},s.createElement(h.h6,null)))))})},83683:function(e,t,n){"use strict";n.d(t,{l:function(){return l}});var r=n(67294),i=n(25434),a=n(77536),o=n(98052);n(6520);var s={default:"media-ui-SizedPrice_default-jkpJAG-dT-o-",currency:"media-ui-SizedPrice_currency-Yb1Swg0ASI4-",small:"media-ui-SizedPrice_small-JyWSlyvj6FI-",large:"media-ui-SizedPrice_large-Aifpn8F-xqU-",extraLarge:"media-ui-SizedPrice_extraLarge-05pKbJRbUH8-",isDark:"media-ui-SizedPrice_isDark-kvE-imv2wFA-",tabular:"media-ui-SizedPrice_tabular-THpKTXeBUGw-",_default:"media-ui-SizedPrice_default-jkpJAG-dT-o-"};let l=(0,r.forwardRef)(function(e,t){let{price:n,size:l="default",currency:u,name:c="SizedPrice",precision:d,isDark:h=!1}=e,m=(0,i.f)(c),f=n<=0?(0,o.Bw)(n,d).replace("-","–"):"".concat((0,o.Bw)(n,d));return r.createElement("div",{ref:t,"data-component":m,className:(0,a.Sh)([m,s[l],h&&s.isDark,s.tabular],e)},f,u&&r.createElement("span",{className:s.currency},u))})},98052:function(e,t,n){"use strict";n.d(t,{Bw:function(){return i},X6:function(){return a},id:function(){return o},kT:function(){return r}});let r=new Set(["CUR","CEF","CEFH","MMF","OEF","ETP"]);function i(e,t){return null==e?"":e.toLocaleString("en-US",{minimumFractionDigits:null!=t?t:2,maximumFractionDigits:null!=t?t:2})}function a(e,t){return e<=0?i(e,t).replace("-","–"):"+".concat(i(e,t))}function o(e,t){return t?"Current price is ".concat(t,". Current percentage change is ").concat(e,"%."):"Current percentage change is ".concat(e,"%.")}},18005:function(e,t,n){"use strict";n.d(t,{Q:function(){return eZ}});var r,i,a,o,s,l,u=n(67294),c=n(86896),d=n(64618),h=n(70700),m=(n(85893),n(44012),function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)});function f(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var p=function(){return(p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"&&(a=e.call(this,r),t.set(i,a)),a}function _(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}"function"==typeof SuppressedError&&SuppressedError;var E=function(){return JSON.stringify(arguments)},y=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),S={create:function(){return new y}},C={variadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,_.bind(this,e,n,r)},monadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,b.bind(this,e,n,r)}};(Y=Q||(Q={})).FORMAT_ERROR="FORMAT_ERROR",Y.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",Y.INVALID_CONFIG="INVALID_CONFIG",Y.MISSING_DATA="MISSING_DATA",Y.MISSING_TRANSLATION="MISSING_TRANSLATION";var w=function(e){function t(n,r,i){var a=this,o=i?i instanceof Error?i:Error(String(i)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return f(t,e),t}(Error),T=function(e){function t(t,n){return e.call(this,Q.UNSUPPORTED_FORMATTER,t,n)||this}return f(t,e),t}(w),k=(function(e){function t(t,n){return e.call(this,Q.INVALID_CONFIG,t,n)||this}f(t,e)}(w),function(e){function t(t,n){return e.call(this,Q.MISSING_DATA,t,n)||this}f(t,e)}(w),function(e){function t(t,n,r){var i=e.call(this,Q.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),r)||this;return i.locale=n,i}return f(t,e),t}(w)),I=function(e){function t(t,n,r,i){var a=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,i)||this;return a.descriptor=r,a.locale=n,a}return f(t,e),t}(k),A=function(e){function t(t,n){var r=e.call(this,Q.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return r.descriptor=t,r}return f(t,e),t}(w);function N(e){return e.type===ee.literal}function L(e){return e.type===ee.number}function O(e){return e.type===ee.date}function M(e){return e.type===ee.time}function P(e){return e.type===ee.select}function B(e){return e.type===ee.plural}function D(e){return e.type===ee.tag}function R(e){return!!(e&&"object"==typeof e&&e.type===et.number)}function H(e){return!!(e&&"object"==typeof e&&e.type===et.dateTime)}(q=$||($={}))[q.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",q[q.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",q[q.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",q[q.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",q[q.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",q[q.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",q[q.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",q[q.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",q[q.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",q[q.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",q[q.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",q[q.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",q[q.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",q[q.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",q[q.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",q[q.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",q[q.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",q[q.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",q[q.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",q[q.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",q[q.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",q[q.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",q[q.INVALID_TAG=23]="INVALID_TAG",q[q.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",q[q.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",q[q.UNCLOSED_TAG=27]="UNCLOSED_TAG",(X=ee||(ee={}))[X.literal=0]="literal",X[X.argument=1]="argument",X[X.number=2]="number",X[X.date=3]="date",X[X.time=4]="time",X[X.select=5]="select",X[X.plural=6]="plural",X[X.pound=7]="pound",X[X.tag=8]="tag",(J=et||(et={}))[J.number=0]="number",J[J.dateTime=1]="dateTime";var x=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,U={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},F=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,G=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,j=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,V=/^(@+)?(\+|#+)?[rs]?$/g,K=/(\*)(0+)|(#+)(0+)|(0+)/g,W=/^(0+)$/;function z(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(V,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function Z(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}var Y,q,X,J,Q,$,ee,et,en,er=new RegExp("^".concat(x.source,"*")),ei=new RegExp("".concat(x.source,"*$"));function ea(e,t){return{start:e,end:t}}var eo=!!String.prototype.startsWith&&"_a".startsWith("a",1),es=!!String.fromCodePoint,el=!!Object.fromEntries,eu=!!String.prototype.codePointAt,ec=!!String.prototype.trimStart,ed=!!String.prototype.trimEnd,eh=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},em=!0;try{var ef=ey("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");em=(null===(en=ef.exec("a"))||void 0===en?void 0:en[0])==="a"}catch(e){em=!1}var ep=eo?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},eg=es?String.fromCodePoint:function(){for(var e=[],t=0;ta;){if((n=e[a++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return r},ev=el?Object.fromEntries:function(e){for(var t={},n=0;n=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},e_=ec?function(e){return e.trimStart()}:function(e){return e.replace(er,"")},eE=ed?function(e){return e.trimEnd()}:function(e){return e.replace(ei,"")};function ey(e,t){return new RegExp(e,t)}if(em){var eS=ey("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");o=function(e,t){var n;return eS.lastIndex=t,null!==(n=eS.exec(e)[1])&&void 0!==n?n:""}}else o=function(e,t){for(var n=[];;){var r,i=eb(e,t);if(void 0===i||eT(i)||(r=i)>=33&&r<=35||36===r||r>=37&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||r>=162&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||r>=8208&&r<=8213||r>=8214&&r<=8215||8216===r||8217===r||8218===r||r>=8219&&r<=8220||8221===r||8222===r||8223===r||r>=8224&&r<=8231||r>=8240&&r<=8248||8249===r||8250===r||r>=8251&&r<=8254||r>=8257&&r<=8259||8260===r||8261===r||8262===r||r>=8263&&r<=8273||8274===r||8275===r||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||8608===r||r>=8609&&r<=8610||8611===r||r>=8612&&r<=8613||8614===r||r>=8615&&r<=8621||8622===r||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||8658===r||8659===r||8660===r||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||8968===r||8969===r||8970===r||8971===r||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||9001===r||9002===r||r>=9003&&r<=9083||9084===r||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||9655===r||r>=9656&&r<=9664||9665===r||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||9839===r||r>=9840&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||r>=10132&&r<=10175||r>=10176&&r<=10180||10181===r||10182===r||r>=10183&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||r>=10649&&r<=10711||10712===r||10713===r||10714===r||10715===r||r>=10716&&r<=10747||10748===r||10749===r||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||11158===r||r>=11159&&r<=11263||r>=11776&&r<=11777||11778===r||11779===r||11780===r||11781===r||r>=11782&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||r>=11790&&r<=11798||11799===r||r>=11800&&r<=11801||11802===r||11803===r||11804===r||11805===r||r>=11806&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||r>=11818&&r<=11822||11823===r||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||11840===r||11841===r||11842===r||r>=11843&&r<=11855||r>=11856&&r<=11857||11858===r||r>=11859&&r<=11903||r>=12289&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||r>=12306&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||r>=12318&&r<=12319||12320===r||12336===r||64830===r||64831===r||r>=65093&&r<=65094)break;n.push(i),t+=i>=65536?2:1}return eg.apply(void 0,n)};var eC=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){var a=this.parseArgument(e,n);if(a.err)return a;r.push(a.val)}else{if(125===i&&e>0)break;if(35===i&&("plural"===t||"selectordinal"===t)){var o=this.clonePosition();this.bump(),r.push({type:ee.pound,location:ea(o,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&ew(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;r.push(a.val)}}else{if(n)break;return this.error($.UNMATCHED_CLOSING_TAG,ea(this.clonePosition(),this.clonePosition()))}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ee.literal,value:"<".concat(r,"/>"),location:ea(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error($.INVALID_TAG,ea(n,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(!this.bumpIf("")?{val:{type:ee.tag,value:r,children:a,location:ea(n,this.clonePosition())},err:null}:this.error($.INVALID_TAG,ea(o,this.clonePosition())))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i){r+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){r+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){r+=o;continue}break}var s=ea(n,this.clonePosition());return{val:{type:ee.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ew(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return eg.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),eg(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error($.EXPECT_ARGUMENT_CLOSING_BRACE,ea(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error($.EMPTY_ARGUMENT,ea(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error($.MALFORMED_ARGUMENT,ea(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error($.EXPECT_ARGUMENT_CLOSING_BRACE,ea(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ee.argument,value:r,location:ea(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error($.EXPECT_ARGUMENT_CLOSING_BRACE,ea(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error($.MALFORMED_ARGUMENT,ea(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=o(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:ea(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error($.EXPECT_ARGUMENT_TYPE,ea(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var d=eE(c.val);if(0===d.length)return this.error($.EXPECT_ARGUMENT_STYLE,ea(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:ea(u,this.clonePosition())}}var h=this.tryParseArgumentClose(r);if(h.err)return h;var m=ea(r,this.clonePosition());if(l&&ep(null==l?void 0:l.style,"::",0)){var f,g=e_(l.style.slice(2));if("number"===o){var c=this.parseNumberSkeletonFromString(g,l.styleLocation);return c.err?c:{val:{type:ee.number,value:n,location:m,style:c.val},err:null}}if(0===g.length)return this.error($.EXPECT_DATE_TIME_SKELETON,m);var v=g;this.locale&&(v=function(e,t){for(var n="",r=0;r>1),l=function(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(U[n||""]||U[r||""]||U["".concat(r,"-001")]||U["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else"J"===i?n+="H":n+=i}return n}(g,this.locale));var d={type:et.dateTime,pattern:v,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(f={},v.replace(F,function(e){var t=e.length;switch(e[0]){case"G":f.era=4===t?"long":5===t?"narrow":"short";break;case"y":f.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":f.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":f.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":f.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");f.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");f.weekday=["short","long","narrow","short"][t-4];break;case"a":f.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":f.hourCycle="h12",f.hour=["numeric","2-digit"][t-1];break;case"H":f.hourCycle="h23",f.hour=["numeric","2-digit"][t-1];break;case"K":f.hourCycle="h11",f.hour=["numeric","2-digit"][t-1];break;case"k":f.hourCycle="h24",f.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":f.minute=["numeric","2-digit"][t-1];break;case"s":f.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":f.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),f):{}};return{val:{type:"date"===o?ee.date:ee.time,value:n,location:m,style:d},err:null}}return{val:{type:"number"===o?ee.number:"date"===o?ee.date:ee.time,value:n,location:m,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var b=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error($.EXPECT_SELECT_ARGUMENT_OPTIONS,ea(b,p({},b)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),E=0;if("select"!==o&&"offset"===_.value){if(!this.bumpIf(":"))return this.error($.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ea(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger($.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),_=this.parseIdentifierIfPossible(),E=c.val}var y=this.tryParsePluralOrSelectOptions(e,o,t,_);if(y.err)return y;var h=this.tryParseArgumentClose(r);if(h.err)return h;var S=ea(r,this.clonePosition());return"select"===o?{val:{type:ee.select,value:n,options:ev(y.val),location:S},err:null}:{val:{type:ee.plural,value:n,options:ev(y.val),offset:E,pluralType:"plural"===o?"cardinal":"ordinal",location:S},err:null};default:return this.error($.INVALID_ARGUMENT_TYPE,ea(a,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error($.EXPECT_ARGUMENT_CLOSING_BRACE,ea(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error($.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ea(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(G).filter(function(e){return e.length>0}),n=[],r=0;r1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(K,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw Error("We currently do not support maximum integer digits");if(o)throw Error("We currently do not support exact integer digits")}return""});continue}if(W.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(j.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(j,function(e,n,r,i,a,o){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var i=r.options[0];"w"===i?t=p(p({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=p(p({},t),z(i)));continue}if(V.test(r.stem)){t=p(p({},t),z(r.stem));continue}var a=Z(r.stem);a&&(t=p(p({},t),a));var o=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!W.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);o&&(t=p(p({},t),o))}return t}(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,o=[],s=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var d=this.tryParseDecimalInteger($.EXPECT_PLURAL_ARGUMENT_SELECTOR,$.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;u=ea(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}else break}if(s.has(l))return this.error("select"===t?$.DUPLICATE_SELECT_ARGUMENT_SELECTOR:$.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(a=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?$.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:$.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ea(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var f=this.tryParseArgumentClose(h);if(f.err)return f;o.push([l,{value:m.val,location:ea(h,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===o.length?this.error("select"===t?$.EXPECT_SELECT_ARGUMENT_SELECTOR:$.EXPECT_PLURAL_ARGUMENT_SELECTOR,ea(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error($.MISSING_OTHER_CLAUSE,ea(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)i=!0,a=10*a+(o-48),this.bump();else break}var s=ea(r,this.clonePosition());return i?eh(a*=n)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=eb(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(ep(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&eT(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ew(e){return e>=97&&e<=122||e>=65&&e<=90}function eT(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ek(e,t){void 0===t&&(t={});var n=new eC(e,t=p({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(n.err){var r=SyntaxError($[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,P(t)||B(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else L(t)&&R(t.style)||(O(t)||M(t))&&H(t.style)?delete t.style.location:D(t)&&e(t.children)})}(n.val),n.val}(r=s||(s={})).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var eI=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return f(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),eA=function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),s.INVALID_VALUE,i)||this}return f(t,e),t}(eI),eN=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),s.INVALID_VALUE,r)||this}return f(t,e),t}(eI),eL=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),s.MISSING_VALUE,n)||this}return f(t,e),t}(eI);function eO(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(i=l||(l={}))[i.literal=0]="literal",i[i.object=1]="object";var eM=function(){function e(t,n,r,i){void 0===n&&(n=e.defaultLocale);var a,o,u=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===l.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return function e(t,n,r,i,a,o,u){if(1===t.length&&N(t[0]))return[{type:l.literal,value:t[0].value}];for(var c=[],d=0;dt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}(c,["formatters"]));this.ast=e.__parse(t,p(p({},d),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,r?Object.keys(a).reduce(function(e,t){var n,i;return e[t]=(n=a[t],(i=r[t])?p(p(p({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=p(p({},n[t]),i[t]||{}),e},{})):n),e},p({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:v(function(){for(var e,t=[],n=0;n"u")){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=ek,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function eP(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}function eB(e,t,n,r){var i,a=e&&e[t];if(a&&(i=a[n]),i)return i;r(new T("No ".concat(t," format named: ").concat(n)))}var eD=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function eR(e,t,n,r){var i=e.locale,a=e.formats,o=e.onError,s=e.timeZone;void 0===r&&(r={});var l=r.format,u=eP(r,eD,p(p({},s&&{timeZone:s}),l&&eB(a,t,l,o)));return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=p(p({},u),{hour:"numeric",minute:"numeric"})),n(i,u)}var eH=["style","type","fallback","languageDisplay"],ex=["type","style"],eU=Date.now();function eF(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=p({timeZone:t},e[r]),n},{})}function eG(e,t){return Object.keys(p(p({},e),t)).reduce(function(n,r){return n[r]=p(p({},e[r]||{}),t[r]||{}),n},{})}function ej(e,t){if(!t)return e;var n=eM.formats;return p(p(p({},n),e),{date:eG(eF(n.date,t),eF(e.date||{},t)),time:eG(eF(n.time,t),eF(e.time||{},t))})}var eV=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function eK(e,t,n){var r=e.locale,i=e.formats,a=e.onError;void 0===n&&(n={});var o=n.format;return t(r,eP(n,eV,o&&eB(i,"number",o,a)||{}))}var eW=["type"],ez=["numeric","style"];let eZ=(a={context:3717,"media-ui-markets-market-indices":8176667,"media-ui-markets-prev-close":3272276,"media-ui-markets-private-company":3348642,"media-ui-markets-recently-viewed":8187720,"media-ui-markets-view-all":8184582,"media-ui-markets-view-less":3272291,"media-ui-markets-rates-and-bonds":8176668,"media-ui-markets-top-securities":8176666},()=>{let e;try{let t=(0,c.Z)();e=(0,u.useCallback)((e,n)=>{let{id:r,defaultMessage:i}=e;return t.formatMessage({id:r,defaultMessage:i},n)},[t,a])}catch(r){let t=(0,d.Sn)(),n=(0,h.d)({locale:"en",messages:{}},t);e=(e,t)=>{let{defaultMessage:r,id:i}=e;return n.formatMessage({defaultMessage:r,id:i},t)}}return e})},97445:function(e,t,n){"use strict";n.d(t,{z:function(){return u}});var r=n(67294),i=n(25434),a=n(77536),o=n(57745),s=n(25173);n(74009);var l={dropdownContainer:"media-ui-DropdownMenuDesktop_dropdownContainer-Nvj2M1mpZek-",light:"media-ui-DropdownMenuDesktop_light-Dne867BExAE-",dark:"media-ui-DropdownMenuDesktop_dark-OjY8kqnMIt4-",blue:"media-ui-DropdownMenuDesktop_blue-SfKCZ2GP1Vw-"};let u=r.forwardRef(function(e,t){var n;let{menuItemId:u,submenuItems:c,items:d,theme:h=s.yU.LIGHT,desktopBreakpointClassName:m,trackingFunction:f}=e,p=(0,i.f)("dropdown-menu-desktop"),g=c&&(null===(n=c["metadata_".concat(u)])||void 0===n?void 0:n.dropdownListItems);if(!(c&&Object.keys(c).length)&&!(d&&Object.keys(d).length)||g&&0===g.length)return null;let v=(0,a.Sh)([m,l.dropdownContainer,{[l.light]:h===s.yU.LIGHT,[l.dark]:h===s.yU.DARK,[l.blue]:h===s.yU.BLUE}],{...e});return r.createElement("div",{className:v,ref:t,"aria-label":"dropdown-menu-desktop","data-component":p,"data-menuid":u,"data-submenuid":u},c&&Object.entries(c).map(e=>{let[,t]=e;return r.createElement(o.q,{key:t.id,menuItemId:u,submenuItem:t,trackingFunction:f})}))})},33090:function(e,t,n){"use strict";n.d(t,{$:function(){return f}});var r=n(67294),i=n(25434),a=n(77536),o=n(70390),s=n(97445),l=n(20297),u=n(40799),c=n(25173),d=n(50508);n(60242);var h={footerContainer:"media-ui-Footer_footerContainer-48Eos3T24SA-",logo:"media-ui-Footer_logo-u0pZo99AdPk-",topContent:"media-ui-Footer_topContent-pbN5-5sK798-",bottomContent:"media-ui-Footer_bottomContent-FGNwwTOXYJc-",bottomLeftContent:"media-ui-Footer_bottomLeftContent-BOyobil9rv4-",bottomRightContent:"media-ui-Footer_bottomRightContent--131BbNfIQg-",link:"media-ui-Footer_link-eSdhpCwbm6w-",copyright:"media-ui-Footer_copyright-c6BP90zMB1Y-",light:"media-ui-Footer_light-xuTLep21Dtw-",dark:"media-ui-Footer_dark-zNOaDG22onM-",blue:"media-ui-Footer_blue-TnK7rO9T2zM-"};let m={en:{adChoices:"/privacy#advertisements",advertise:"https://www.bloombergmedia.com/contact",careers:"/careers/?utm_source=dotcom&utm_medium=footer",tos:"/tos",privacy:"/privacy",help:"/help",trademarks:"/trademarks"},jp:{adChoices:"/privacy#advertisements",advertise:"https://www.bloombergmedia.com/contact",careers:"https://www.bloomberg.co.jp/company/what-we-do/?utm_source=jpregional&utm_medium",tos:"/notices/jp/tos",privacy:"/notices/jp/privacy",help:"/notices/jp/help",trademarks:"/notices/jp/trademarks"}},f=r.forwardRef(function(e,t){let n=(0,d.Q)(),{prefix:f="",cmpText:p=n({id:"media-ui-nav_doNotSellorSharePersonalInfo",defaultMessage:"Do Not Sell or Share My Personal Information"}),name:g="footer",desktopBreakpointClassName:v,addPrivacyManager:b,isWeekend:_,locale:E="en",region:y=c.Up.US,footerMenuItemsUrl:S,theme:C=c.yU.DARK,showLogo:w=!0,footerMenuItems:T,trackingFunction:k=()=>{}}=e,I=r.useRef(null),[A,N]=(0,r.useState)(T),L="jp"!==E;(0,r.useEffect)(()=>{b(I.current)},[]);let O=(0,r.useCallback)(async()=>{if(S)try{let e=await (await fetch(S)).json();e&&Object.keys(e).length&&N(e)}catch(e){console.error("Unable to fetch footer items from ".concat(S,": ").concat(e))}},[S]);(0,r.useEffect)(()=>{O()},[S]);let M=(0,r.useCallback)(e=>{k("click",e)},[k]),P=(0,r.useCallback)(e=>{k("click",e)},[k]),B=(0,r.useCallback)(e=>{k("click",e)},[k]),D=new Date().getFullYear(),R=(0,i.f)(g),H=(0,a.Sh)([h.footerContainer,{[h.light]:C===c.yU.LIGHT,[h.dark]:C===c.yU.DARK,[h.blue]:C===c.yU.BLUE}],{name:g}),x=(0,r.useCallback)(e=>{var t,n,r,i;let a=null!==(n=m[E])&&void 0!==n?n:m.en;return"".concat(f).concat(null!==(i=null!==(r=null==a?void 0:a[e])&&void 0!==r?r:null===(t=m.en)||void 0===t?void 0:t[e])&&void 0!==i?i:"")},[E,f]);return r.createElement(u.N,{region:y,locale:E},r.createElement("div",{className:H,ref:t,"data-component":R},r.createElement("div",{className:(0,a.Sh)([h.topContent,v])},w&&r.createElement("div",{className:h.logo},r.createElement(l.T,{trackingFunction:M,isWeekend:_,theme:C})),A&&r.createElement(s.z,{trackingFunction:(e,t)=>{P("footer-".concat(e,"-").concat(t))},desktopBreakpointClassName:v,menuItemId:"footer-items-menu",submenuItems:A,theme:C})),r.createElement("div",{className:(0,a.Sh)([h.bottomContent,v])},r.createElement("div",{className:h.bottomLeftContent},r.createElement("a",{className:h.link,"data-testid":"footer-link",onClick:e=>{e.preventDefault(),B("Terms of Service");let t=x("tos");window.location.assign(t)}},r.createElement(d.jU,{id:"media-ui-nav_termsOfService",defaultMessage:"Terms of Service"})),L&&r.createElement("button",{className:h.link,id:"cmp-footer-link","data-testid":"cmp-footer-link","data-lang":"en",type:"button",ref:I,onClick:()=>B("CMP")},p),r.createElement("a",{className:h.link,"data-testid":"footer-link",onClick:e=>{e.preventDefault(),B("Trademarks");let t=x("trademarks");window.location.assign(t)}},r.createElement(d.jU,{id:"media-ui-nav_trademarks",defaultMessage:"Trademarks"})),r.createElement("a",{className:h.link,"data-testid":"footer-link",onClick:e=>{e.preventDefault(),B("Privacy Policy");let t=x("privacy");window.location.assign(t)}},r.createElement(d.jU,{id:"media-ui-nav_privacyPolicy",defaultMessage:"Privacy Policy"}))),r.createElement("div",{className:h.bottomRightContent},r.createElement("a",{className:h.link,"data-testid":"footer-link",onClick:e=>{e.preventDefault(),B("Careers");let t=x("careers");window.location.assign(t)}},r.createElement(d.jU,{id:"media-ui-nav_careers",defaultMessage:"Careers"})),r.createElement("a",{className:h.link,"data-testid":"footer-link",onClick:e=>{e.preventDefault(),B("Advertise");let t=x("advertise");window.location.assign(t)}},r.createElement(d.jU,{id:"media-ui-nav_advertise",defaultMessage:"Advertise"})),r.createElement("div",{className:h.link},r.createElement("a",{"data-testid":"footer-link",onClick:e=>{e.preventDefault(),B("Ad Choices");let t=x("adChoices");window.location.assign(t)}},r.createElement(d.jU,{id:"media-ui-nav_adchoices",defaultMessage:"Ad Choices"})),r.createElement(o._z,{width:12,height:12})),r.createElement("a",{className:h.link,"data-testid":"footer-link",onClick:e=>{e.preventDefault(),B("Help");let t=x("help");window.location.assign(t)}},r.createElement(d.jU,{id:"media-ui-nav_help",defaultMessage:"Help"})),r.createElement("span",{className:h.copyright,onClick:()=>B("Copyright")},r.createElement(d.jU,{id:"media-ui-nav_bloombergAllRightsReserved",defaultMessage:"\xa9{year} Bloomberg L.P. All Rights Reserved.",values:{year:D}}))))))})},20297:function(e,t,n){"use strict";n.d(t,{T:function(){return f}});var r=n(67294),i=n(25434),a=n(77536),o=n(70390),s=n(40799),l=n(25173);n(24932);var u="media-ui-Logo_logo-08Z6l4waIQI-";let c=e=>{let{trackingFunction:t}=e;return r.createElement("a",{href:"/",className:"media-ui-Logo_logoWeekend-GTXjKXxUxIw-",onClick:e=>{e.preventDefault(),t("bloomberg"),window.location.assign("/")}},r.createElement(o.of,null))},d=e=>{let{trackingFunction:t}=e;return r.createElement("a",{href:"/uk",className:"media-ui-Logo_logoUK-F4PIum-q9kI-",onClick:e=>{e.preventDefault(),t("bloomberg"),window.location.assign("/uk")}},r.createElement(o.sk,null))},h=e=>{let{trackingFunction:t}=e,{region:n}=(0,s.S)(),i=n===l.Up.JAPAN?"https://www.bloomberg.co.jp":"/";return r.createElement("a",{href:i,className:u,onClick:e=>{e.preventDefault(),t("bloomberg"),window.location.assign(i)}},r.createElement(o.hE,null))},m=e=>{let{isWeekend:t,trackingFunction:n}=e,{region:i}=(0,s.S)();return t?r.createElement(c,{trackingFunction:n}):i===l.Up.UK?r.createElement(d,{trackingFunction:n}):r.createElement(h,{trackingFunction:n})},f=r.forwardRef(function(e,t){let{isWeekend:n,theme:o,trackingFunction:s}=e,c=(0,i.f)("logo"),d=(0,a.Sh)([u,{"media-ui-Logo_light-vDe1eR1Ub9E-":o===l.yU.LIGHT,"media-ui-Logo_dark-8-AT52-hX7Q-":o===l.yU.DARK,"media-ui-Logo_blue-QQqFQ4F-5Ac-":o===l.yU.BLUE}]);return r.createElement("div",{className:d,"aria-label":"logo","data-component":c,ref:t},r.createElement(m,{trackingFunction:s,isWeekend:n}))})},40799:function(e,t,n){"use strict";n.d(t,{N:function(){return o},S:function(){return s}});var r=n(67294),i=n(25173);let a=(0,r.createContext)({locale:"en",region:i.Up.US}),o=e=>{let{children:t,locale:n="en",region:o=i.Up.US}=e;return r.createElement(a.Provider,{value:{locale:n,region:o}},t)},s=()=>(0,r.useContext)(a)},47631:function(e,t,n){"use strict";let r,i,a;n.d(t,{z:function(){return im},J:function(){return ip}});var o,s,l,u,c,d,h,m,f,p,g=n(67294),v=n(25434),b=n(77536),_=n(73935),E=n(70390);let y="mockShowSignInModal",S=["www.bloomberg.com","origin.blue.bloomberg.com"],C=["origin.red.bloomberg.com","origin.green.bloomberg.com","origin.orange.bloomberg.com","origin.yellow.bloomberg.com","origin.purple.bloomberg.com","origin.staging.bloomberg.com"],w=()=>S.includes(window.location.hostname),T=()=>C.includes(window.location.hostname),k=e=>{let t=document.createElement("script");t.src=e,t.async=!0,t.defer=!0,document.head.appendChild(t)},I=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n="https://coordinator".concat(w()?"":"-stg",".cm.bloomberg.com/coordination/flags").concat(e),r=new AbortController,i=setTimeout(()=>r.abort(),t);try{let e=await fetch(n,{method:"GET",signal:r.signal});if(!e.ok)throw Error("HTTP error! status for fetching /coordination/flags from coordinator is : ".concat(e.status));return e.json()}catch(e){throw e&&"AbortError"===e.name?Error("Fetching /coordination/flags from coordinator timed out"):e}finally{clearTimeout(i)}},A=e=>/^\/account\/onboarding(?:\/|\?|$)/.test(e);n(62868);var N={signInModalContainer:"media-ui-SignInModal_signInModalContainer-9ZWvtOL5-tk-",header:"media-ui-SignInModal_header-gE-fRmmBo6M-",signInModal:"media-ui-SignInModal_signInModal-JeKqtzwD48c-",loginRegistration:"media-ui-SignInModal_loginRegistration-2jTb6-Jzf28-",homeButton:"media-ui-SignInModal_homeButton-JY0HB54m-1c-"},L={context:4775,"media-ui-login_signInOrCreateAccount":8244829,"media-ui-login_continueWithGoogle":8244830,"media-ui-login_enterYourEmail":8244836,"media-ui-login_invalidEmail":8244837,"media-ui-login_passwordAuthFailed":8244848,"media-ui-login_sendCodeFailed":8244838,"media-ui-login_redirectingGroupSso":8244839,"media-ui-login_codeError":8244841,"media-ui-login_codeResent":8244842,"media-ui-login_enterCodeSentTo":8244840,"media-ui-login_resendTheCode":8244843,"media-ui-login_editEmailAddress":8244844,"media-ui-login_errorVerifyingCode":8244847,"media-ui-login_errorSigningInWithSocial":8244846,"media-ui-login_closeSignIn":8244845,"media-ui-login_googleSignInTitle":8244831,"media-ui-login_appleSignInTitle":8244832,"media-ui-login_facebookSignInTitle":8244833,"media-ui-login_twitterSignInTitle":8244834,"media-ui-login_bbaSignInTitle":8244835,"media-ui-login_continue":8239148,"media-ui-login_continueWithApple":8244756,"media-ui-login_continueWithFacebook":8244755,"media-ui-login_continueWithTwitter":8244757,"media-ui-login_continueWithBba":8244758,"media-ui-login_orSeparator":8244726,"media-ui-login_signUp":8244734,"media-ui-login_enterYourPassword":8244372,"media-ui-login_forgotPassword":8244373,"media-ui-login_didntGetAnything":8244380,"media-ui-login_home":8244435,"media-ui-login_sendCodeFailedWithError":8251088,"media-ui-login_sendCodeFailedPlain":8251085,"media-ui-login_unknownSocialSite":8251086,"media-ui-login_failedToAuthenticate":8251087},O=n(86896),M=n(64618),P=n(70700),B=(n(85893),n(44012),function(e,t){return(B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)});function D(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}B(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var R=function(){return(R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"&&(a=e.call(this,r),t.set(i,a)),a}function F(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}"function"==typeof SuppressedError&&SuppressedError;var G=function(){return JSON.stringify(arguments)},j=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),V={create:function(){return new j}},K={variadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,F.bind(this,e,n,r)},monadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,U.bind(this,e,n,r)}};(ep=e_||(e_={})).FORMAT_ERROR="FORMAT_ERROR",ep.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",ep.INVALID_CONFIG="INVALID_CONFIG",ep.MISSING_DATA="MISSING_DATA",ep.MISSING_TRANSLATION="MISSING_TRANSLATION";var W=function(e){function t(n,r,i){var a=this,o=i?i instanceof Error?i:Error(String(i)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return D(t,e),t}(Error),z=function(e){function t(t,n){return e.call(this,e_.UNSUPPORTED_FORMATTER,t,n)||this}return D(t,e),t}(W),Z=(function(e){function t(t,n){return e.call(this,e_.INVALID_CONFIG,t,n)||this}D(t,e)}(W),function(e){function t(t,n){return e.call(this,e_.MISSING_DATA,t,n)||this}D(t,e)}(W),function(e){function t(t,n,r){var i=e.call(this,e_.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),r)||this;return i.locale=n,i}return D(t,e),t}(W)),Y=function(e){function t(t,n,r,i){var a=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,i)||this;return a.descriptor=r,a.locale=n,a}return D(t,e),t}(Z),q=function(e){function t(t,n){var r=e.call(this,e_.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return r.descriptor=t,r}return D(t,e),t}(W);function X(e){return e.type===ey.literal}function J(e){return e.type===ey.number}function Q(e){return e.type===ey.date}function $(e){return e.type===ey.time}function ee(e){return e.type===ey.select}function et(e){return e.type===ey.plural}function en(e){return e.type===ey.tag}function er(e){return!!(e&&"object"==typeof e&&e.type===eS.number)}function ei(e){return!!(e&&"object"==typeof e&&e.type===eS.dateTime)}(eg=eE||(eE={}))[eg.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",eg[eg.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",eg[eg.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",eg[eg.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",eg[eg.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",eg[eg.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",eg[eg.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",eg[eg.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",eg[eg.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",eg[eg.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",eg[eg.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",eg[eg.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",eg[eg.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",eg[eg.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",eg[eg.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",eg[eg.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",eg[eg.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",eg[eg.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",eg[eg.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",eg[eg.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",eg[eg.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",eg[eg.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",eg[eg.INVALID_TAG=23]="INVALID_TAG",eg[eg.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",eg[eg.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",eg[eg.UNCLOSED_TAG=27]="UNCLOSED_TAG",(ev=ey||(ey={}))[ev.literal=0]="literal",ev[ev.argument=1]="argument",ev[ev.number=2]="number",ev[ev.date=3]="date",ev[ev.time=4]="time",ev[ev.select=5]="select",ev[ev.plural=6]="plural",ev[ev.pound=7]="pound",ev[ev.tag=8]="tag",(eb=eS||(eS={}))[eb.number=0]="number",eb[eb.dateTime=1]="dateTime";var ea=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,eo={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},es=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,el=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,eu=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ec=/^(@+)?(\+|#+)?[rs]?$/g,ed=/(\*)(0+)|(#+)(0+)|(0+)/g,eh=/^(0+)$/;function em(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ec,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function ef(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}var ep,eg,ev,eb,e_,eE,ey,eS,eC,ew=new RegExp("^".concat(ea.source,"*")),eT=new RegExp("".concat(ea.source,"*$"));function ek(e,t){return{start:e,end:t}}var eI=!!String.prototype.startsWith&&"_a".startsWith("a",1),eA=!!String.fromCodePoint,eN=!!Object.fromEntries,eL=!!String.prototype.codePointAt,eO=!!String.prototype.trimStart,eM=!!String.prototype.trimEnd,eP=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},eB=!0;try{var eD=ej("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");eB=(null===(eC=eD.exec("a"))||void 0===eC?void 0:eC[0])==="a"}catch(e){eB=!1}var eR=eI?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},eH=eA?String.fromCodePoint:function(){for(var e=[],t=0;ta;){if((n=e[a++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return r},ex=eN?Object.fromEntries:function(e){for(var t={},n=0;n=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},eF=eO?function(e){return e.trimStart()}:function(e){return e.replace(ew,"")},eG=eM?function(e){return e.trimEnd()}:function(e){return e.replace(eT,"")};function ej(e,t){return new RegExp(e,t)}if(eB){var eV=ej("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");u=function(e,t){var n;return eV.lastIndex=t,null!==(n=eV.exec(e)[1])&&void 0!==n?n:""}}else u=function(e,t){for(var n=[];;){var r,i=eU(e,t);if(void 0===i||ez(i)||(r=i)>=33&&r<=35||36===r||r>=37&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||r>=162&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||r>=8208&&r<=8213||r>=8214&&r<=8215||8216===r||8217===r||8218===r||r>=8219&&r<=8220||8221===r||8222===r||8223===r||r>=8224&&r<=8231||r>=8240&&r<=8248||8249===r||8250===r||r>=8251&&r<=8254||r>=8257&&r<=8259||8260===r||8261===r||8262===r||r>=8263&&r<=8273||8274===r||8275===r||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||8608===r||r>=8609&&r<=8610||8611===r||r>=8612&&r<=8613||8614===r||r>=8615&&r<=8621||8622===r||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||8658===r||8659===r||8660===r||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||8968===r||8969===r||8970===r||8971===r||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||9001===r||9002===r||r>=9003&&r<=9083||9084===r||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||9655===r||r>=9656&&r<=9664||9665===r||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||9839===r||r>=9840&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||r>=10132&&r<=10175||r>=10176&&r<=10180||10181===r||10182===r||r>=10183&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||r>=10649&&r<=10711||10712===r||10713===r||10714===r||10715===r||r>=10716&&r<=10747||10748===r||10749===r||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||11158===r||r>=11159&&r<=11263||r>=11776&&r<=11777||11778===r||11779===r||11780===r||11781===r||r>=11782&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||r>=11790&&r<=11798||11799===r||r>=11800&&r<=11801||11802===r||11803===r||11804===r||11805===r||r>=11806&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||r>=11818&&r<=11822||11823===r||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||11840===r||11841===r||11842===r||r>=11843&&r<=11855||r>=11856&&r<=11857||11858===r||r>=11859&&r<=11903||r>=12289&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||r>=12306&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||r>=12318&&r<=12319||12320===r||12336===r||64830===r||64831===r||r>=65093&&r<=65094)break;n.push(i),t+=i>=65536?2:1}return eH.apply(void 0,n)};var eK=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){var a=this.parseArgument(e,n);if(a.err)return a;r.push(a.val)}else{if(125===i&&e>0)break;if(35===i&&("plural"===t||"selectordinal"===t)){var o=this.clonePosition();this.bump(),r.push({type:ey.pound,location:ek(o,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&eW(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;r.push(a.val)}}else{if(n)break;return this.error(eE.UNMATCHED_CLOSING_TAG,ek(this.clonePosition(),this.clonePosition()))}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ey.literal,value:"<".concat(r,"/>"),location:ek(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(eE.INVALID_TAG,ek(n,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(!this.bumpIf("")?{val:{type:ey.tag,value:r,children:a,location:ek(n,this.clonePosition())},err:null}:this.error(eE.INVALID_TAG,ek(o,this.clonePosition())))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i){r+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){r+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){r+=o;continue}break}var s=ek(n,this.clonePosition());return{val:{type:ey.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(eW(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return eH.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),eH(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(eE.EXPECT_ARGUMENT_CLOSING_BRACE,ek(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(eE.EMPTY_ARGUMENT,ek(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(eE.MALFORMED_ARGUMENT,ek(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(eE.EXPECT_ARGUMENT_CLOSING_BRACE,ek(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ey.argument,value:r,location:ek(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(eE.EXPECT_ARGUMENT_CLOSING_BRACE,ek(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(eE.MALFORMED_ARGUMENT,ek(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=u(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:ek(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(eE.EXPECT_ARGUMENT_TYPE,ek(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var d=eG(c.val);if(0===d.length)return this.error(eE.EXPECT_ARGUMENT_STYLE,ek(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:ek(u,this.clonePosition())}}var h=this.tryParseArgumentClose(r);if(h.err)return h;var m=ek(r,this.clonePosition());if(l&&eR(null==l?void 0:l.style,"::",0)){var f,p=eF(l.style.slice(2));if("number"===o){var c=this.parseNumberSkeletonFromString(p,l.styleLocation);return c.err?c:{val:{type:ey.number,value:n,location:m,style:c.val},err:null}}if(0===p.length)return this.error(eE.EXPECT_DATE_TIME_SKELETON,m);var g=p;this.locale&&(g=function(e,t){for(var n="",r=0;r>1),l=function(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(eo[n||""]||eo[r||""]||eo["".concat(r,"-001")]||eo["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else"J"===i?n+="H":n+=i}return n}(p,this.locale));var d={type:eS.dateTime,pattern:g,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(f={},g.replace(es,function(e){var t=e.length;switch(e[0]){case"G":f.era=4===t?"long":5===t?"narrow":"short";break;case"y":f.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":f.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":f.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":f.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");f.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");f.weekday=["short","long","narrow","short"][t-4];break;case"a":f.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":f.hourCycle="h12",f.hour=["numeric","2-digit"][t-1];break;case"H":f.hourCycle="h23",f.hour=["numeric","2-digit"][t-1];break;case"K":f.hourCycle="h11",f.hour=["numeric","2-digit"][t-1];break;case"k":f.hourCycle="h24",f.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":f.minute=["numeric","2-digit"][t-1];break;case"s":f.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":f.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),f):{}};return{val:{type:"date"===o?ey.date:ey.time,value:n,location:m,style:d},err:null}}return{val:{type:"number"===o?ey.number:"date"===o?ey.date:ey.time,value:n,location:m,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(eE.EXPECT_SELECT_ARGUMENT_OPTIONS,ek(v,R({},v)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),_=0;if("select"!==o&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(eE.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ek(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(eE.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,eE.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),b=this.parseIdentifierIfPossible(),_=c.val}var E=this.tryParsePluralOrSelectOptions(e,o,t,b);if(E.err)return E;var h=this.tryParseArgumentClose(r);if(h.err)return h;var y=ek(r,this.clonePosition());return"select"===o?{val:{type:ey.select,value:n,options:ex(E.val),location:y},err:null}:{val:{type:ey.plural,value:n,options:ex(E.val),offset:_,pluralType:"plural"===o?"cardinal":"ordinal",location:y},err:null};default:return this.error(eE.INVALID_ARGUMENT_TYPE,ek(a,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(eE.EXPECT_ARGUMENT_CLOSING_BRACE,ek(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(eE.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ek(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(el).filter(function(e){return e.length>0}),n=[],r=0;r1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(ed,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw Error("We currently do not support maximum integer digits");if(o)throw Error("We currently do not support exact integer digits")}return""});continue}if(eh.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(eu.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(eu,function(e,n,r,i,a,o){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var i=r.options[0];"w"===i?t=R(R({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=R(R({},t),em(i)));continue}if(ec.test(r.stem)){t=R(R({},t),em(r.stem));continue}var a=ef(r.stem);a&&(t=R(R({},t),a));var o=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!eh.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);o&&(t=R(R({},t),o))}return t}(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,o=[],s=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(eE.EXPECT_PLURAL_ARGUMENT_SELECTOR,eE.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;u=ek(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}else break}if(s.has(l))return this.error("select"===t?eE.DUPLICATE_SELECT_ARGUMENT_SELECTOR:eE.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(a=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?eE.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:eE.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ek(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var f=this.tryParseArgumentClose(h);if(f.err)return f;o.push([l,{value:m.val,location:ek(h,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===o.length?this.error("select"===t?eE.EXPECT_SELECT_ARGUMENT_SELECTOR:eE.EXPECT_PLURAL_ARGUMENT_SELECTOR,ek(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(eE.MISSING_OTHER_CLAUSE,ek(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)i=!0,a=10*a+(o-48),this.bump();else break}var s=ek(r,this.clonePosition());return i?eP(a*=n)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=eU(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(eR(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ez(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function eW(e){return e>=97&&e<=122||e>=65&&e<=90}function ez(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function eZ(e,t){void 0===t&&(t={});var n=new eK(e,t=R({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(n.err){var r=SyntaxError(eE[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,ee(t)||et(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else J(t)&&er(t.style)||(Q(t)||$(t))&&ei(t.style)?delete t.style.location:en(t)&&e(t.children)})}(n.val),n.val}(o=c||(c={})).MISSING_VALUE="MISSING_VALUE",o.INVALID_VALUE="INVALID_VALUE",o.MISSING_INTL_API="MISSING_INTL_API";var eY=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return D(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),eq=function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),c.INVALID_VALUE,i)||this}return D(t,e),t}(eY),eX=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),c.INVALID_VALUE,r)||this}return D(t,e),t}(eY),eJ=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),c.MISSING_VALUE,n)||this}return D(t,e),t}(eY);function eQ(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(s=d||(d={}))[s.literal=0]="literal",s[s.object=1]="object";var e$=function(){function e(t,n,r,i){void 0===n&&(n=e.defaultLocale);var a,o,s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===d.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return function e(t,n,r,i,a,o,s){if(1===t.length&&X(t[0]))return[{type:d.literal,value:t[0].value}];for(var l=[],u=0;ut.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}(l,["formatters"]));this.ast=e.__parse(t,R(R({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,r?Object.keys(a).reduce(function(e,t){var n,i;return e[t]=(n=a[t],(i=r[t])?R(R(R({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=R(R({},n[t]),i[t]||{}),e},{})):n),e},R({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:x(function(){for(var e,t=[],n=0;n"u")){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=eZ,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function e0(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}function e1(e,t,n,r){var i,a=e&&e[t];if(a&&(i=a[n]),i)return i;r(new z("No ".concat(t," format named: ").concat(n)))}var e2=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function e3(e,t,n,r){var i=e.locale,a=e.formats,o=e.onError,s=e.timeZone;void 0===r&&(r={});var l=r.format,u=e0(r,e2,R(R({},s&&{timeZone:s}),l&&e1(a,t,l,o)));return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=R(R({},u),{hour:"numeric",minute:"numeric"})),n(i,u)}var e4=["style","type","fallback","languageDisplay"],e6=["type","style"],e8=Date.now();function e5(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=R({timeZone:t},e[r]),n},{})}function e7(e,t){return Object.keys(R(R({},e),t)).reduce(function(n,r){return n[r]=R(R({},e[r]||{}),t[r]||{}),n},{})}function e9(e,t){if(!t)return e;var n=e$.formats;return R(R(R({},n),e),{date:e7(e5(n.date,t),e5(e.date||{},t)),time:e7(e5(n.time,t),e5(e.time||{},t))})}var te=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function tt(e,t,n){var r=e.locale,i=e.formats,a=e.onError;void 0===n&&(n={});var o=n.format;return t(r,e0(n,te,o&&e1(i,"number",o,a)||{}))}var tn=["type"],tr=["numeric","style"];let ti=()=>{let e;try{let t=(0,O.Z)();e=(0,g.useCallback)((e,n)=>{let{id:r,defaultMessage:i}=e;return t.formatMessage({id:r,defaultMessage:i},n)},[t,L])}catch(r){let t=(0,M.Sn)(),n=(0,P.d)({locale:"en",messages:{}},t);e=(e,t)=>{let{defaultMessage:r,id:i}=e;return n.formatMessage({defaultMessage:r,id:i},t)}}return e},ta=Object.fromEntries(Object.keys(L).map(e=>[e,e])),to={"media-ui-login_signInOrCreateAccount":"Sign in or Create account","media-ui-login_continueWithGoogle":"Continue with Google","media-ui-login_enterYourEmail":"Enter your email","media-ui-login_invalidEmail":"Please enter a valid email address","media-ui-login_sendCodeFailed":"Failed to send verification code","media-ui-login_redirectingGroupSso":"Redirecting you to group SSO login...","media-ui-login_codeError":"The entered code is not correct. Please try again.","media-ui-login_codeResent":"A code has been sent to your email.","media-ui-login_enterCodeSentTo":"Please enter the code sent to:","media-ui-login_resendTheCode":"Resend the code","media-ui-login_editEmailAddress":"Edit email address","media-ui-login_errorVerifyingCode":"Error verifying the code","media-ui-login_errorSigningInWithSocial":"Error signing in with {socialSite}","media-ui-login_closeSignIn":"Close Sign In","media-ui-login_googleSignInTitle":"google sign-in","media-ui-login_appleSignInTitle":"apple sign-in","media-ui-login_facebookSignInTitle":"facebook sign-in","media-ui-login_twitterSignInTitle":"twitter sign-in","media-ui-login_bbaSignInTitle":"bba sign-in","media-ui-login_continue":"Continue","media-ui-login_continueWithApple":"Continue with Apple","media-ui-login_continueWithFacebook":"Continue with Facebook","media-ui-login_continueWithTwitter":"Continue with Twitter","media-ui-login_continueWithBba":"Continue with BBA","media-ui-login_orSeparator":"or","media-ui-login_signUp":"Sign Up","media-ui-login_enterYourPassword":"Enter your password","media-ui-login_forgotPassword":"Forgot Password","media-ui-login_didntGetAnything":"Didn't get anything?","media-ui-login_home":"home","media-ui-login_sendCodeFailedWithError":"Failed to send verification code with error {errorMessage}. Please log in with your password.","media-ui-login_sendCodeFailedPlain":"Failed to send verification code. Please log in with your password.","media-ui-login_unknownSocialSite":"Encountered unknown social site {socialSite}","media-ui-login_failedToAuthenticate":"Failed to authenticate"};var ts=n(62139),tl=n(22358),tu=n.n(tl),tc=n(3631),td=n(33617),th=n(99104),tm=n(84664);let tf=(e,t)=>{let n="light";return e?n=e:t&&(n="dark"===t?"dark":"light"),n},tp=(e,t)=>e||("dark"===t?"outlined":"primary");n(48870);var tg={content:"media-ui-EmailForm_content-uOUK1U9--h8-",inlinePrivacyPolicy:"media-ui-EmailForm_inlinePrivacyPolicy-DIIagaU1ySA-",standardPrivacyPolicy:"media-ui-EmailForm_standardPrivacyPolicy-uId7Qc6uJPg-",centeredLayout:"media-ui-EmailForm_centeredLayout-DIruFNtA-og-",error:"media-ui-EmailForm_error-q-4bmFMezLk-",hideError:"media-ui-EmailForm_hideError-zFD7YqYgV5Q-",darkInput:"media-ui-EmailForm_darkInput-T4kWfBUDbOU-",hideOnMobile:"media-ui-EmailForm_hideOnMobile-ukHi9le1fcY-",inlineEmailComponentsContainer:"media-ui-EmailForm_inlineEmailComponentsContainer-5whFRW75Ci8-",textInputContainerBoxTheme:"media-ui-EmailForm_textInputContainerBoxTheme-XpNYmpKYBF8-",boxTheme:"media-ui-EmailForm_boxTheme-X8oRSuZ9lIY-",standardButton:"media-ui-EmailForm_standardButton-6AiH2dMDwis-",inlineButton:"media-ui-EmailForm_inlineButton-t1IXlSnGYd8-",mobileButton:"media-ui-EmailForm_mobileButton-hn-Xbz3PW78-",mobileChildren:"media-ui-EmailForm_mobileChildren-6r3bQmso69Y-",textInput:"media-ui-EmailForm_textInput-b43lk-vTHC0-",label:"media-ui-EmailForm_label-15FEe3kXooo-",fullWidthLabel:"media-ui-EmailForm_fullWidthLabel-dajb0BpP3sI-",inlineEmailFormContainer:"media-ui-EmailForm_inlineEmailFormContainer-4CnOfWswPUs-",disclaimer:"media-ui-EmailForm_disclaimer-FeHEol3QnG0-",checkbox:"media-ui-EmailForm_checkbox-XO5J70q-lr0-",noMargin:"media-ui-EmailForm_noMargin-ZoTXgnUdXIQ-",dark:"media-ui-EmailForm_dark-B1CYAZtgS1I-",privacyContainer:"media-ui-EmailForm_privacyContainer-I8PFkddX-zU-",inlinePrivacyCheckbox:"media-ui-EmailForm_inlinePrivacyCheckbox-Pj-g59G2a2s-",maxWidth:"media-ui-EmailForm_maxWidth-wYFMeqAEIlM-"};let tv=/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,tb=e=>!!e&&!tv.test(e),t_=e=>!(0,tc.HV)(e),tE=g.forwardRef(function(e,t){let n=ti(),{inlineButton:r=!1,inputId:i="email-form-input",onFormSubmit:a,onEmailChange:o,centeredLayout:s,buttonText:l=n({id:ta["media-ui-login_signUp"],defaultMessage:to["media-ui-login_signUp"]}),loading:u=!1,error:c,countryCode:d,autoFocus:h=!1,hidePrivacyPolicy:m=!1,defaultValue:f="",className:p,isAutoOptedIn:v=!1,children:_=null,autocomplete:E,setGlobalMarketingConsent:y,emailVerificationWaitTime:S=500,fullWidth:C=!0}=e,w=tf(e.theme,e.variant),T=tp(e.buttonType,e.variant),[k,I]=(0,g.useState)(f.trim().toLowerCase()),[A,N]=(0,g.useState)(!1),[L,O]=(0,g.useState)(t_(d)||v),[M,P]=(0,g.useState)(!1),[B,D]=(0,g.useState)(!1),[R,H]=(0,g.useState)(void 0),x=(0,g.useRef)(k),U=k||M;(0,g.useEffect)(()=>{null==y||y(L)},[L]);let F=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=tb(e),r=0===e.length,i=!r&&!n;return t?i&&(N(!0),D(!1),H(void 0)):(N(!n&&!r),D(n),H(void 0)),i};(0,g.useEffect)(()=>{x.current=k,F(x.current,!0)||(R?(clearTimeout(R),H(void 0)):D(!1),H(setTimeout(()=>{F(x.current)},S)),null==o||o(k))},[k]);let G=(0,g.useCallback)(()=>{P(!0)},[P]),j=(0,g.useCallback)(e=>{e.preventDefault(),e.stopPropagation();let t=tb(k),n=0===k.trim().length;D(t),N(!t&&!n),k&&!t&&a(k,L)},[a,k,L]),V=(0,g.useCallback)(e=>{O(e.target.checked)},[O]),K=(0,b.Sh)([tg.textInput,U?tg.activeState:tg.inactiveState,{[tg.darkInput]:"dark"===w}]),W=(0,b.Sh)([...p?[p]:[],{[tg.centeredLayout]:s},{[tg.maxWidth]:!C},tg.content]),z="dark"===w?tg.dark:"",Z=(0,b.Sh)([r?tg.inlineButton:tg.standardButton,tg.noMargin]),Y=g.createElement(td.z,{id:i,ref:t,hideLabel:!0,type:"email",className:K,placeholder:n({id:ta["media-ui-login_enterYourEmail"],defaultMessage:to["media-ui-login_enterYourEmail"]}),value:k,required:!0,error:B,success:A,helperText:B?n({id:ta["media-ui-login_invalidEmail"],defaultMessage:to["media-ui-login_invalidEmail"]}):void 0,inputProps:{onFocus:G,autoFocus:h},onChange:e=>{I(e.target.value.trim().toLowerCase())},variant:"dark"===w?"dark":"default",autocomplete:E}),q=(0,g.useMemo)(()=>"primary"===T?g.createElement(th.K,{type:"submit",fullWidth:!0,loading:u,size:r?"default":"small",className:Z,version:"phoenix",colorMode:"dark"===w?"dark":"light",disabled:!A},l):g.createElement(ts.U,{type:"submit",loading:u,size:r?"default":"small",fullWidth:!0,version:"phoenix",colorMode:"dark"===w?"dark":"light",className:Z,disabled:!A},l),[T,w,u,r,l,A]),X=g.createElement("span",{className:(0,b.Sh)([tg.error,...""!==c&&c?[]:[tg.hideError],...r?[tg.hideOnMobile]:[]]),role:"alert","aria-atomic":!0},c),J=g.createElement(tc.Kw,{className:(0,b.Sh)([z,tg.checkbox]),defaultChecked:v,onChange:V,countryCode:d}),Q=g.createElement(tc.ue,{className:(0,b.Sh)([z,tg.disclaimer]),countryCode:d});return r?g.createElement(tm.l,{onSubmit:j,noValidate:!0,className:W},g.createElement("div",{className:tg.inlineEmailFormContainer},g.createElement("div",{className:tg.privacyContainer},!m&&g.createElement("div",{className:tg.inlinePrivacyPolicy},J,Q)),g.createElement("div",{className:tg.inlineEmailComponentsContainer},g.createElement("div",{className:(0,b.Sh)([tg.textInputContainerBoxTheme])},Y,X),g.createElement("div",{className:tg.hideOnMobile},q),g.createElement("div",{className:tg.mobileButton},q)),g.createElement("div",{className:tg.hideOnMobile},_),g.createElement("div",{className:tg.mobileChildren},_))):g.createElement(tm.l,{onSubmit:j,noValidate:!0,className:(0,b.Sh)([W])},g.createElement("div",{className:(0,b.Sh)([tg.boxTheme])},!m&&g.createElement("div",{className:tg.standardPrivacyPolicy},J,Q),Y,q,X))});var ty=n(24847);n(14486);var tS={wrapper:"media-ui-ErrorText_wrapper-DVnz67swMvg-",wrapperDark:"media-ui-ErrorText_wrapperDark-NA2TQ6581-w-"};let tC=g.forwardRef(function(e,t){let{errorMsg:n,name:r="error-text",variant:i="default"}=e,a=(0,v.f)(r),o=(0,b.Sh)([tS.wrapper,"error-text-box",{[tS.wrapper]:"default"===i,[tS.wrapperDark]:"dark"===i,[tS.hide]:!n,[tS.visible]:n}],e);return g.createElement("div",{className:o,role:"alert","aria-atomic":!0,ref:t,"data-component":a},n)});var tw=n(24229),tT=n(38968),tk=n(50020),tI=n(7009),tA=n(16562);n(94448);var tN={wrapper:"media-ui-CodeInputForm_wrapper-J3zq5bAEacI-",divWrapper:"media-ui-CodeInputForm_divWrapper-Y5p8TID0bIM-",divWrapperCenter:"media-ui-CodeInputForm_divWrapperCenter-hRcvRYK-m4c-",spacer:"media-ui-CodeInputForm_spacer-MIG0YhlhzZc-",marginTop:"media-ui-CodeInputForm_marginTop-jddiHl7RybM-",errorSection:"media-ui-CodeInputForm_errorSection-KkF7MbGjgXY-",errorCenter:"media-ui-CodeInputForm_errorCenter-ZzdirbTbcOU-",halfClass:"media-ui-CodeInputForm_halfClass-Ap6qnBEetI4-",section:"media-ui-CodeInputForm_section-1UMkn7Xgecg-",errorWrapper:"media-ui-CodeInputForm_errorWrapper-lWFo3iPgyJ0-",buttonContainer:"media-ui-CodeInputForm_buttonContainer-Q5iugTnI-zk-",textInput:"media-ui-CodeInputForm_textInput-W1eDVMRHFa0-",halfClassError:"media-ui-CodeInputForm_halfClassError-NH41hull3Gw-",halfClassErrorDark:"media-ui-CodeInputForm_halfClassErrorDark-C4FkKm8R4ys-",dots:"media-ui-CodeInputForm_dots-hLLCYQff1cQ-",dotsWhite:"media-ui-CodeInputForm_dotsWhite-hkzySJjuwiw-"},tL=((r=tL||{}).BackSpace="Backspace",r.ArrowLeft="ArrowLeft",r.ArrowRight="ArrowRight",r.Enter="Enter",r);let tO=g.forwardRef(function(e,t){let{length:n=6,onFormSubmit:r,autoSubmit:i=!0,buttonText:a="",center:o=!0,disabled:s=!1,errorMessage:l="",loading:u=!1,name:c="code-input-form",showError:d=!1,variant:h="default"}=e,m=(0,tA.Q)(),f=m({id:"media-ui-core_onlyEnterNumbers",defaultMessage:tT.j["media-ui-core_onlyEnterNumbers"]}),p=m({id:"media-ui-core_fillOutAllFields",defaultMessage:tT.j["media-ui-core_fillOutAllFields"]}),v=g.useRef(null),_=g.useMemo(()=>Array(n).fill(""),[n]),[E,y]=g.useState(_),[S,C]=g.useState(l),[w,T]=g.useState(!1),k=g.useRef(0),I=g.useCallback((0,b.Ds)(e=>{e&&e.preventDefault();let t=E.join("");if(t.length===n){r&&(T(!1),r(t));return}Date.now()-k.current<800||C(p)},500),[E,n,r,d]),A=g.useCallback(e=>{let t=document.querySelector("input[name=".concat(c,"-field-").concat(e,"]"));return!!t&&(t.focus(),!0)},[c]),N=g.useCallback(e=>function(t){let a=t.target.value;if(0===e&&a.length>1){k.current=Date.now();let e=a.replace(/\D/g,"").slice(0,n).split("");y(e),e.length===n?(C(""),T(!0),i&&(r?(r(e.join("")),T(!1)):setTimeout(()=>{I()},0))):A(e.length);return}if(!a.match(/[0-9]$/)&&""!==a){C(f);return}y(t=>t.map((t,n)=>n===e?a:t)),""!==a&&A(e+1),T(!0)},[i,n,c,A,T,I]),L=g.useCallback(e=>function(t){C("");let n=t.target.value;"Backspace"===t.key&&""===n&&(T(!0),A(e-1)),a||"Enter"!==t.key||I()},[c,a,A,I,T]),O=g.useCallback(e=>function(t){let{key:n}=t;"ArrowLeft"===n&&A(e-1),"ArrowRight"===n&&A(e+1)},[A]),M=g.useCallback(e=>function(t){t.preventDefault();let r=t.clipboardData.getData("text").split("").filter((e,t)=>!("-"===e&&t===n/2));for(let t=0;t{y(_),A(0),T(!0)},[]);g.useImperativeHandle(t,()=>({clearForm(){P()},tagName:"FORM",element:v.current}));let B=g.useCallback((t,r)=>{let i=[],a=r?0:t/2;for(let r=a;r{E.every(e=>!!e)&&i&&w&&I()},[E,I,w]),g.useEffect(()=>{l.length&&l!==S&&C(l)},[l]),g.createElement(tm.l,{onSubmit:I,noValidate:!0,name:c,autoComplete:"off",ref:v,alignDirection:"stretch",className:(0,b.Sh)([],e)},g.createElement("div",{className:(0,b.Sh)([tN.divWrapper,{[tN.divWrapperCenter]:o}],{...e,name:"".concat(c,"-inner")})},g.createElement("span",{className:(0,b.Sh)([D,"input-section-first",{"group-eight":8===n,"group-six":6===n}],{...e,name:"".concat(c,"-input-section-first")})},B(n,!0)),g.createElement("span",{className:tN.spacer}),g.createElement("span",{className:(0,b.Sh)([D,"input-section-last",{"group-eight":8===n,"group-six":6===n}],{...e,name:"".concat(c,"-input-section-last")})},B(n,!1))),g.createElement("section",{className:(0,b.Sh)([tN.errorSection,{[tN.errorCenter]:o}])},g.createElement("div",{className:(0,b.Sh)([tN.errorWrapper,{[tN.errorCenter]:o}])},g.createElement(tC,{errorMsg:S,variant:h})),a?g.createElement("div",{className:tN.marginTop},g.createElement(th.K,{type:"submit",size:"default",disabled:s,loading:u},a)):u&&g.createElement("div",{className:(0,b.Sh)([tN.dots,{[tN.dotsWhite]:"dark"===h}])},g.createElement(tI.x,null))))}),tM={GOOGLE:"GOOGLE",APPLE:"APPLE",FACEBOOK:"FACEBOOK",TWITTER:"TWITTER",TERMINAL:"TERMINAL"},tP=async function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"SocialUser";if(!e)throw Error("RegUIClient undefined!");let i=to["media-ui-login_unknownSocialSite"].replace("{socialSite}",t),a={success:!1,data:{},error:{errorMessage:i}};switch(t){case tM.APPLE:a=await e.appleLogin(r,n);break;case tM.FACEBOOK:a=await e.facebookLogin(r,n);break;case tM.TERMINAL:a=await e.terminalLogin(r,n);break;case tM.TWITTER:a=await e.twitterLogin(r,n);break;default:console.error(i)}return a},tB=async function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"CreateAccountUser";return await (null==e?void 0:e.verifyVerificationCode(t,n,i,r))},tD=async(e,t)=>{let n;return t.endsWith("@bloomberg.net")?(null==e||e.linkToBSSO(),n=await (null==e?void 0:e.terminalLogin())):await (null==e?void 0:e.redirectToGeneratedGroupSubsSSOUrlIfEligible(t))&&(n={data:{isGroupSSO:!0}}),n},tR=async(e,t,n)=>{try{if(!e)throw Error("RegUIClient undefined");let r=await e.googleSignIn(t.credential,n);return console.log("info","Response from Google Sign In:",JSON.stringify(r)),r}catch(e){console.error("Something went wrong =>",e)}return{success:!1,data:{}}},tH=async(e,t,n,r)=>{try{if(!e)throw Error("RegUIClient undefined");let i=await e.passwordLogin(t,n,r);return console.log("info","Response from BConnect Sign In:",JSON.stringify(i)),i}catch(e){console.error("Something went wrong =>",e)}return{success:!1,error:{errorMessage:to["media-ui-login_failedToAuthenticate"],name:"AUTHENTICATION_ERROR",message:to["media-ui-login_failedToAuthenticate"]},data:{}}};n(77168);var tx={verificationCodeInputWrapper:"media-ui-EmailVerificationForm_verificationCodeInputWrapper-u-Efi2UQF34-",verificationCodeInput:"media-ui-EmailVerificationForm_verificationCodeInput-le9N4KEjgrA-",secondaryCtaWrapper:"media-ui-EmailVerificationForm_secondaryCtaWrapper-7d3ANwCpw1g-",buttonLooksLikeALink:"media-ui-EmailVerificationForm_buttonLooksLikeALink-U2p-zDu7h9Q-",textWhite:"media-ui-EmailVerificationForm_textWhite-r5-AE9lVBDg-",notificationWrapper:"media-ui-EmailVerificationForm_notificationWrapper-cS-nYBGUjsw-",instructionWrapper:"media-ui-EmailVerificationForm_instructionWrapper-bJ1deWHuhqM-",instructionTitle:"media-ui-EmailVerificationForm_instructionTitle-RSs33nHKMc0-",instructionMessage:"media-ui-EmailVerificationForm_instructionMessage-LXg-mT-T1mI-",verificationEmailFormWrapper:"media-ui-EmailVerificationForm_verificationEmailFormWrapper-B3UawJsmTPo-",verificationEmailForm:"media-ui-EmailVerificationForm_verificationEmailForm-wxFw4dYOEeU-",header:"media-ui-EmailVerificationForm_header-hIn-avIYi0A-",codeInputForm:"media-ui-EmailVerificationForm_codeInputForm-Tr14cEmNfVg-",verificationInputContainer:"media-ui-EmailVerificationForm_verificationInputContainer-MlsxnOOD29Q-"};let tU=g.forwardRef(function(e,t){let n=ti(),{email:r,onEmailChange:i,codeReSent:a,onResendEmail:o,onVerificationCodeInputStarting:s,onVerificationCodeInputComplete:l,onVerificationCodeSubmit:u,marketingConsent:c,allowEditEmail:d,leadSource:h,setIsLoggedIn:m,googleTracking:f,nr:p,disabled:v=!1}=e;e.regUIClient||console.warn("Please pass in a regUIClient parameter from the client instead!");let _=tf(e.theme,e.variant),E=(0,g.useRef)(null),[y,S]=(0,g.useState)(!1),[C,w]=(0,g.useState)(!1),[T,k]=(0,g.useState)(e.regUIClient);(0,g.useEffect)(()=>{T||k(new(tu()))},[]);let I=async e=>{var t;if(!T)return;null==f||f.trackRegisterEvent("submit_code"),null==p||p.logRegisterEvent("submit_code"),S(!0),null==s||s();let i=await tB(T,r,e,!!c,h);null==l||l(),(null==i?void 0:i.success)?i.data&&(i.data.firstTimeUser?(null==f||f.trackRegisterEvent("account_verified"),null==p||p.logRegisterEvent("account_verified")):(null==f||f.trackLoginEvent("account_verified"),null==p||p.logLoginEvent("account_verified"))):(w(!0),console.error((null==i?void 0:null===(t=i.error)||void 0===t?void 0:t.errorMessage)||n({id:ta["media-ui-login_errorVerifyingCode"],defaultMessage:to["media-ui-login_errorVerifyingCode"]})),null==f||f.trackErrorEvent("error: invalid_token"),null==p||p.logErrorEvent("error: invalid_token")),u({...i,...(null==i?void 0:i.data)&&Object.keys(i.data).length>0?{data:{...i.data,email:r},success:null==i?void 0:i.success}:{success:!1}}),null==m||m((null==i?void 0:i.success)||!1),S(!1)};return(0,g.useEffect)(()=>{let e=E.current,t=()=>{C&&w(!1)};return null==e||e.addEventListener("keydown",t),()=>null==e?void 0:e.removeEventListener("keydown",t)},[C]),g.createElement("div",{className:(0,b.Sh)([tx.verificationCodeInputWrapper])},g.createElement("div",{className:(0,b.Sh)([tx.verificationCodeInput])},g.createElement("div",{className:(0,b.Sh)([tx.instructionWrapper,{[tx.textWhite]:"dark"===_}])},g.createElement("span",{className:(0,b.Sh)([tx.instructionTitle])},n({id:ta["media-ui-login_enterCodeSentTo"],defaultMessage:to["media-ui-login_enterCodeSentTo"]})),g.createElement("span",{className:(0,b.Sh)([tx.instructionMessage])},g.createElement("b",null,r))),g.createElement("div",{ref:E,className:(0,b.Sh)([tx.codeInputForm])},g.createElement(tO,{className:tx.codeInputForm,onFormSubmit:I,length:8,loading:y,ref:t,showError:C,errorMessage:C?n({id:ta["media-ui-login_codeError"],defaultMessage:to["media-ui-login_codeError"]}):void 0,variant:"dark"===_?"dark":"default",disabled:v})),!v&&g.createElement("div",{className:(0,b.Sh)([tx.notificationWrapper,{[tx.textWhite]:"dark"===_}])},a?g.createElement(ty.Z,{variant:"success",title:n({id:ta["media-ui-login_codeResent"],defaultMessage:to["media-ui-login_codeResent"]})}):g.createElement("div",{className:(0,b.Sh)([tx.secondaryCtaWrapper,{[tx.textWhite]:"dark"===_}])},g.createElement("span",null,"".concat(n({id:ta["media-ui-login_didntGetAnything"],defaultMessage:to["media-ui-login_didntGetAnything"]})," ")),g.createElement("div",null,g.createElement(tw.F,{className:tx.buttonLooksLikeALink,onClick:o,type:"button",version:"phoenix",colorMode:"dark"===_?"dark":"light"},n({id:ta["media-ui-login_resendTheCode"],defaultMessage:to["media-ui-login_resendTheCode"]})),d&&g.createElement("span",null," ".concat(n({id:ta["media-ui-login_orSeparator"],defaultMessage:to["media-ui-login_orSeparator"]})," "),g.createElement(tw.F,{className:tx.buttonLooksLikeALink,disabled:y,onClick:i,type:"button",version:"phoenix",colorMode:"dark"===_?"dark":"light"},n({id:ta["media-ui-login_editEmailAddress"],defaultMessage:to["media-ui-login_editEmailAddress"]}))))))))});n(22515);var tF="media-ui-OrSeparator_separatorItem-TJzXHshHebA-";let tG=e=>{let t=ti()({id:ta["media-ui-login_orSeparator"],defaultMessage:to["media-ui-login_orSeparator"]});return g.createElement("div",{className:"media-ui-OrSeparator_separatorRow-0-r1u-Sl3s4-"},g.createElement("div",{className:tF},g.createElement("hr",null)),g.createElement("div",{className:(0,b.Sh)([tF,{"media-ui-OrSeparator_textWhite-WoRGlWPi4C4-":"dark"===e.theme}])},g.createElement("span",null,t)),g.createElement("div",{className:tF},g.createElement("hr",null)))},tj={DEV:"6Ldg36IUAAAAAANOMM57fJ3nAH2R7Cq5cVe8lcoL",STAGING:"6LdehaMUAAAAAKnkPQ7strzRJtkV0z262iwF5J9D",PROD:"6Lfj7akUAAAAAGDt7CiiLizYUN6Syh72hVmontj7"},tV=()=>w()?tj.PROD:T()?tj.STAGING:tj.DEV,tK=e=>e&&new URLSearchParams(window.location.search).get("skipGrecaptcha")||void 0,tW=e=>w()||"true"!==tK(e);async function tz(e,t,n){if(!e)return console.error("isRecaptchaRequired: the component isn't mounted"),!0;if(!tW(e))return!1;if(!n)return console.error("isRecaptchaRequired: no regUIClient available"),!0;let r=tK(e);if(r&&"true"!==r)try{var i,a;let e=await n.validateCaptchaKey(r,t);return(null===(i=e.data)||void 0===i||!i.valid)&&(console.error("Skip Recaptcha JWT is invalid: ".concat(null===(a=e.data)||void 0===a?void 0:a.errorMessage)),!0)}catch(e){return console.error("Failed to validate JWT with error ".concat(e.message)),!0}return!0}let tZ=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],[i,a]=(0,g.useState)(tW(e));return(0,g.useEffect)(()=>{if(r){a(!1);return}tz(e,t,n).then(e=>{a(e)}).catch(e=>{console.error("Failed to check recaptcha required: ".concat(e.message))})},[a,t,r]),i};"u">typeof globalThis?globalThis:window;var tY={exports:{}};tY.exports,tY.exports=(function(){if(p)return f;p=1;var e=m?h:(m=1,h="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,f=function(){function r(t,n,r,i,a,o){if(o!==e){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function i(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}})()();var tq=(l=tY.exports)&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l;n(31404);var tX={textWhite:"media-ui-EnterPasswordOrVerificationCode_textWhite-ePgrdQ8sQk4-",continuePasswordCode:"media-ui-EnterPasswordOrVerificationCode_continuePasswordCode-QiJC-xuUO0U-",password:"media-ui-EnterPasswordOrVerificationCode_password-FXE-PhxUImg-",forgotPassword:"media-ui-EnterPasswordOrVerificationCode_forgotPassword-3NvQ-PgD4xI-",error:"media-ui-EnterPasswordOrVerificationCode_error-dUtWdKLqdy4-",header:"media-ui-EnterPasswordOrVerificationCode_header-zcupTPgVHus-",form:"media-ui-EnterPasswordOrVerificationCode_form-d74FkVim8rA-",buttonLooksLikeALink:"media-ui-EnterPasswordOrVerificationCode_buttonLooksLikeALink-BHDJxDUHZGc-",darkInput:"media-ui-EnterPasswordOrVerificationCode_darkInput-tiz1CUVaibw-",textInput:"media-ui-EnterPasswordOrVerificationCode_textInput-qtiAfgLMF4s-",hiddenOnMobile:"media-ui-EnterPasswordOrVerificationCode_hiddenOnMobile-4bzvI8cfhso-"};class tJ extends g.Component{componentDidMount(){let{grecaptchaApiKey:e,setGrecaptchaId:t,elementId:n,size:r}=this.props;this._addScript();let i=()=>{var i;null===(i=window.grecaptcha)||void 0===i||i.ready(()=>{var i;this.grecaptchaId=null===(i=window.grecaptcha)||void 0===i?void 0:i.render(n,{sitekey:e,size:r,callback:()=>this._onCaptchaResponse()}),t(this.grecaptchaId)})},a=()=>{var e;if(window.grecaptcha&&"function"==typeof(null===(e=window.grecaptcha)||void 0===e?void 0:e.ready)){i();return}setTimeout(()=>{a()},100)};a()}_addScript(){let e="https://www.google.com/recaptcha/api.js?render=explicit";if(document.querySelectorAll('[src="'.concat(e,'"]')).length>0)return;let t=document.createElement("script");t.src=e,t.async=!0,t.defer=!0,document.head.appendChild(t)}_onSubmit(e){var t;e.preventDefault(),null===(t=window.grecaptcha)||void 0===t||t.execute(this.grecaptchaId)}_onCaptchaResponse(){var e,t;let n=null===(e=window.grecaptcha)||void 0===e?void 0:e.getResponse();this.props.onCaptchaResponse(n),null===(t=window.grecaptcha)||void 0===t||t.reset(this.grecaptchaId)}render(){let{hiddenOnMobile:e,elementId:t}=this.props;return g.createElement("div",{id:t,className:e?tX.hiddenOnMobile:""})}constructor(e){super(e),this.grecaptchaId=null,this._onSubmit=this._onSubmit.bind(this),this._onCaptchaResponse=this._onCaptchaResponse.bind(this)}}tJ.propTypes={onCaptchaResponse:tq.func.isRequired,grecaptchaApiKey:tq.string.isRequired,hiddenOnMobile:tq.bool,elementId:tq.string.isRequired,setGrecaptchaId:tq.func,size:tq.string.isRequired};let tQ=e=>{let{recaptchaRequired:t=!0,formStyles:n,grecaptchaApiKey:r,onCaptchaResponse:i,children:a,formRef:o}=e,[s,l]=(0,g.useState)(null);return(0,g.useEffect)(()=>{var e;null===(e=window.newrelic)||void 0===e||e.addPageAction("Login with Password",{recaptchaRequired:t})},[t]),t&&r?g.createElement("form",{className:n,onSubmit:e=>{var t;e.preventDefault(),null===(t=window.grecaptcha)||void 0===t||t.execute(s)},ref:o},a,g.createElement(tJ,{grecaptchaApiKey:r,elementId:"grecaptchaSubmitButton",size:"invisible",onCaptchaResponse:i,setGrecaptchaId:l,hiddenOnMobile:!1})):g.createElement("form",{ref:o,className:n,onSubmit:e=>{e.preventDefault(),i(null)}},a)},t$=e=>{let{theme:t="light",thinking:n,email:r,error:i,codeReSent:a,marketingConsent:o,regUIClient:s,verificationCodeSent:l=!0,onEmailChange:u,onResendEmail:c,onPasswordLogin:d,onVerificationCodeInputStarting:h,onVerificationCodeInputComplete:m,onVerificationCodeSubmit:f}=e,p=ti(),v=(0,g.useRef)(null),_=(0,g.useRef)(null),[E,y]=(0,g.useState)(""),[S,C]=(0,g.useState)(!0),[w,T]=(0,g.useState)(!1),k=tZ(w,r,s);(0,g.useEffect)(()=>C(!E.length),[E]),(0,g.useEffect)(()=>{T(!0)},[]),(0,g.useEffect)(()=>{var e;w&&!l&&v.current&&(null===(e=v.current.querySelector("input"))||void 0===e||e.focus())},[w,l]);let I=async e=>{let t={captchaResponse:e,useRecaptcha:k,captchaBypass:tK(w)};await d(r,E,t)};return w?g.createElement("div",{className:tX.continuePasswordCode},l&&g.createElement(g.Fragment,null,g.createElement("div",{"data-name":"continuePasswordless"},g.createElement(tU,{theme:t,email:r,codeReSent:a||!1,marketingConsent:o,onEmailChange:u,onResendEmail:c,onVerificationCodeInputStarting:h,onVerificationCodeInputComplete:m,onVerificationCodeSubmit:f,allowEditEmail:!1,regUIClient:s}),g.createElement(tC,{errorMsg:null==i?void 0:i.verificationCode,variant:"light"===t?"default":t})),g.createElement(tG,{theme:t})),g.createElement("div",{"data-name":"continuePassword"},g.createElement("h2",{className:(0,b.Sh)([tX.header,{[tX.textWhite]:"dark"===t}])},p({id:ta["media-ui-login_enterYourPassword"],defaultMessage:to["media-ui-login_enterYourPassword"]})),g.createElement("div",{className:tX.password},g.createElement(tQ,{recaptchaRequired:k,formStyles:tX.form,onCaptchaResponse:e=>void I(e),grecaptchaApiKey:tV(),formRef:_},g.createElement("div",{"data-testid":"wdio-password-entry"},g.createElement(td.z,{variant:"dark"===t?"dark":"default",type:"password",ref:v,placeholder:p({id:ta["media-ui-login_enterYourPassword"],defaultMessage:to["media-ui-login_enterYourPassword"]}),name:"password",value:E,required:!0,onChange:e=>{y(e.currentTarget.value)},autocomplete:"current-password",disabled:n,className:(0,b.Sh)([tX.textInput,{[tX.darkInput]:"dark"===t}])}),g.createElement("div",{"data-testid":"wdio-password-continue-button"},g.createElement(th.K,{colorMode:"dark"===t?"dark":"light",fullWidth:!0,size:"default",type:"button",loading:!!n,disabled:S,version:"phoenix",onClick:()=>{var e;return null===(e=_.current)||void 0===e?void 0:e.dispatchEvent(new Event("submit",{cancelable:!0,bubbles:!0}))}},p({id:ta["media-ui-login_continue"],defaultMessage:to["media-ui-login_continue"]}))))),g.createElement(tC,{className:tX.error,errorMsg:null==i?void 0:i.password,variant:"light"===t?"default":"dark"}),g.createElement("div",{className:tX.forgotPassword},g.createElement(tw.F,{colorMode:"dark"===t?"dark":"light",type:"button",className:(0,b.Sh)([tX.buttonLooksLikeALink]),version:"phoenix",onClick:()=>{window.location.href="/account/forgot-password"}},p({id:ta["media-ui-login_forgotPassword"],defaultMessage:to["media-ui-login_forgotPassword"]})))))):g.createElement(g.Fragment,null)};var t0=((i=t0||{}).EMAIL_SUBMISSION="EMAIL_SUBMISSION",i.CHOOSE_YOUR_METHOD="CHOOSE_YOUR_METHOD",i.VERIFICATION_CODE="VERIFICATION_CODE",i);let t1=g.forwardRef(function(e,t){let{onEmailSubmit:n,onTerminalLogin:r,defaultEmail:i,countryCode:a,allowEditEmail:o,buttonText:s,header:l,centeredLayout:u=!0,inlineButton:c=!0,autoFocus:d=!1,marketingConsent:h,onPasswordLogin:m,onVerificationCodeSubmit:f,setGlobalMarketingConsent:p,setIsLoggedIn:v,setShowSocialSignins:_,googleTracking:E,nr:y,error:S,setError:C,fullWidth:w=!0,allowPassword:T=!1,leadSource:k}=e;e.regUIClient||console.warn("Please pass in a regUIClient parameter from the client instead!");let I=tf(e.theme,e.variant),A=tp(e.buttonType,e.variant),[N,L]=(0,g.useState)(!1),[O,M]=(0,g.useState)(!1),[P,B]=(0,g.useState)(i?T?"CHOOSE_YOUR_METHOD":"VERIFICATION_CODE":"EMAIL_SUBMISSION"),[D,R]=(0,g.useState)(i),[H,x]=(0,g.useState)(i),[U,F]=(0,g.useState)(e.regUIClient),[G,j]=(0,g.useState)(!1),[V,K]=(0,g.useState)(!1),W=ti();(0,g.useEffect)(()=>{U||F(new(tu()))},[]),(0,g.useEffect)(()=>{V&&(M(!0),setTimeout(()=>{M(!1)},3e4))},[V]);let z=(0,g.useRef)(null),Z=async(e,t,n)=>{L(!0);try{await m(e,t,n)}catch(e){null==y||y.logErrorEvent("Invalid Password Login",{error:e})}finally{L(!1)}},Y=async e=>{var t,n;null===(t=z.current)||void 0===t||t.clearForm();try{let t=await (null==U?void 0:U.sendVerificationEmail(e));if(!(null==t?void 0:t.success)){let r=null==t?void 0:null===(n=t.error)||void 0===n?void 0:n.message,i=r?W({id:ta["media-ui-login_sendCodeFailedWithError"],defaultMessage:to["media-ui-login_sendCodeFailedWithError"]},{errorMessage:r}):W({id:ta["media-ui-login_sendCodeFailedPlain"],defaultMessage:to["media-ui-login_sendCodeFailedPlain"]});return null==y||y.logErrorEvent("MediaUiLoginErrors",{errorMessage:r||to["media-ui-login_sendCodeFailedPlain"],email:e,type:"SEND_VERIFICATION_CODE"}),null==C||C({...S,verificationCode:i}),K(!1),!1}}catch(r){let t=r.message,n=t?W({id:ta["media-ui-login_sendCodeFailedWithError"],defaultMessage:to["media-ui-login_sendCodeFailedWithError"]},{errorMessage:t}):W({id:ta["media-ui-login_sendCodeFailedPlain"],defaultMessage:to["media-ui-login_sendCodeFailedPlain"]});return null==y||y.logErrorEvent("MediaUiLoginErrors",{errorMessage:t||to["media-ui-login_sendCodeFailedPlain"],email:e,type:"SEND_VERIFICATION_CODE"}),null==C||C({...S,verificationCode:n}),K(!1),!1}return K(!0),!0},q=async(e,t)=>{var i;if(!U)return;let a=e.endsWith("@bloomberg.net");L(!0),null==p||p(t);let o=await tD(U,e);if((null==o?void 0:o.success)&&(null==o?void 0:o.data)&&(o.data.email=e,f(o)),null==o?void 0:null===(i=o.data)||void 0===i?void 0:i.isGroupSSO)j(!0),null==_||_(!1);else if(a)r(e,!!(null==o?void 0:o.success));else{R(e);let t=await Y(e);T?(B("CHOOSE_YOUR_METHOD"),null==_||_(!1)):t?(B("VERIFICATION_CODE"),null==_||_(!1)):null==C||C({...S,email:W({id:ta["media-ui-login_sendCodeFailed"],defaultMessage:to["media-ui-login_sendCodeFailed"]})})}n(e,(null==o?void 0:o.success)&&a||t,!!(null==o?void 0:o.success)),L(!1)};(0,g.useEffect)(()=>{D&&U&&q(D,h||!1)},[U]);let X=async()=>{D&&(await Y(D),null==E||E.trackRegisterEvent("resend_code"),null==y||y.logRegisterEvent("resend_code"))};return D&&"EMAIL_SUBMISSION"!==P?"CHOOSE_YOUR_METHOD"===P?g.createElement(t$,{theme:I,thinking:N,error:S,email:D,regUIClient:U,marketingConsent:h,onEmailChange:()=>B("EMAIL_SUBMISSION"),onPasswordLogin:Z,codeReSent:O,onResendEmail:X,onVerificationCodeInputStarting:()=>{L(!0)},onVerificationCodeInputComplete:()=>{L(!1)},onVerificationCodeSubmit:f,verificationCodeSent:V}):"VERIFICATION_CODE"===P?g.createElement("div",{className:tx.verificationInputContainer},g.createElement(tU,{marketingConsent:h,email:D,onEmailChange:()=>{R(void 0),B("EMAIL_SUBMISSION"),null==_||_(!0)},onResendEmail:X,codeReSent:O,ref:z,allowEditEmail:o,theme:"dark"===I?"dark":"light",onVerificationCodeSubmit:f,setIsLoggedIn:v,googleTracking:E,nr:y,regUIClient:U,leadSource:k})):g.createElement("div",null):g.createElement("div",{className:(0,b.Sh)([tx.verificationEmailFormWrapper])},g.createElement("div",{className:(0,b.Sh)([tx.verificationEmailForm])},l&&g.createElement("div",{className:(0,b.Sh)([tx.header,{[tx.textWhite]:"dark"===I}])},l),G?g.createElement(ty.Z,{variant:"success",title:W({id:ta["media-ui-login_redirectingGroupSso"],defaultMessage:to["media-ui-login_redirectingGroupSso"]})}):g.createElement(tE,{inlineButton:c,onFormSubmit:q,buttonText:s||W({id:ta["media-ui-login_continue"],defaultMessage:to["media-ui-login_continue"]}),isAutoOptedIn:h,loading:N||!U,centeredLayout:u,onEmailChange:x,defaultValue:H,countryCode:a,ref:t,buttonType:"primary"===A?"primary":"outlined",autoFocus:d,theme:"dark"===I?"dark":"light",setGlobalMarketingConsent:p,error:null==S?void 0:S.email,fullWidth:w})))}),t2=()=>w()?"546584498403-snvknu3h3pbh270lcnr3r88gedpi2vic.apps.googleusercontent.com":"1050715551196-b1gn63jaqv5t1503recv9ovlom52s5v3.apps.googleusercontent.com",t3=g.forwardRef(function(e,t){let n=ti(),r=n({id:ta["media-ui-login_continueWithGoogle"],defaultMessage:to["media-ui-login_continueWithGoogle"]}),i=n({id:ta["media-ui-login_googleSignInTitle"],defaultMessage:to["media-ui-login_googleSignInTitle"]}),{onGoogleSignIn:a,buttonText:o=r,buttonType:s="primary",caller:l,className:u,onClickCb:c,theme:d="light",size:h="small"}=e,[m,f]=g.useState(!1),p=g.useRef(null);g.useEffect(()=>{window.onGoogleSignIn=async e=>{f(!0);try{await a(e)}finally{f(!1)}}},[a]),g.useEffect(()=>{k("https://accounts.google.com/gsi/client")},[]);let v=g.useCallback(()=>{var e,t,n;let r=null===(e=p.current)||void 0===e?void 0:e.querySelector("div[role=button]");r||(r=null===(t=p.current)||void 0===t?void 0:t.querySelector('div[tabindex="0"]')),null===(n=window.newrelic)||void 0===n||n.addPageAction("googleSignIn",{type:"Clicked",caller:l}),null==r||r.click(),c&&c()},[]);return g.createElement("div",{ref:t,className:(0,b.Sh)([u])},g.createElement("div",{id:"g_id_onload","data-client_id":t2(),"data-context":"signin","data-ux_mode":"popup","data-callback":"onGoogleSignIn","data-auto_prompt":"false"}),g.createElement("div",{ref:p,style:{display:"none"},className:"g_id_signin"}),"primary"===s?g.createElement(th.K,{version:"phoenix",colorMode:"dark"===d?"dark":"light",Icon:g.createElement(E.ie,{isMultiColor:!0}),iconPosition:"left",fullWidth:!0,onClick:v,size:h,loading:m},o):g.createElement(ts.U,{version:"phoenix",colorMode:"dark"===d?"dark":"light",iconPosition:"left",Icon:g.createElement(E.ie,{isMultiColor:!0}),fullWidth:!0,onClick:v,size:h,loading:m,title:i},o))}),t4="registration";var t6=((a=t6||{}).registration="register",a.login="login",a.click="click",a.error="error",a);class t8{trackClickEvent(e){this.trackEvent({eventAction:"click",eventLabel:e})}trackErrorEvent(e){this.trackEvent({eventAction:"error",eventLabel:e})}constructor(e,t){this.trackEvent=e=>{var t;let{eventAction:n,eventLabel:r}=e;null===(t=window.dataLayer)||void 0===t||t.push({event:this.eventTriggerName,eventCategory:this.eventCategory,eventAction:n,eventLabel:r})},this.eventCategory=t,this.eventTriggerName=e}}class t5 extends t8{trackLoginEvent(e){this.trackEvent({eventAction:"login",eventLabel:e})}trackRegisterEvent(e){this.trackEvent({eventAction:"register",eventLabel:e})}trackSocialLogIn(e,t,n){if(t){this.trackRegisterEvent("join_now_".concat(e));return}if(n){this.trackLoginEvent("link_".concat(e));return}this.trackLoginEvent("sign_in_".concat(e))}constructor(e){super(e,t4)}}class t7{constructor(e,t){this.addPageAction=(e,t)=>{var n;null===(n=window.newrelic)||void 0===n||n.addPageAction(e,t)},this.logErrorEvent=(e,t)=>{var n;null===(n=window.newrelic)||void 0===n||n.addPageAction(this.eventTriggerName,{eventCategory:this.eventCategory,eventAction:"error",eventLabel:e,...t})},this.logClickEvent=(e,t)=>{var n;null===(n=window.newrelic)||void 0===n||n.addPageAction(this.eventTriggerName,{eventCategory:this.eventCategory,eventAction:"click",eventLabel:e,...t})},this.eventCategory=t,this.eventTriggerName=e}}class t9 extends t7{logSocialLogIn(e,t,n){if(t){this.logRegisterEvent("join_now_".concat(e));return}if(n){this.logLoginEvent("link_".concat(e));return}this.logLoginEvent("sign_in_".concat(e))}constructor(e){super(e,t4),this.logLoginEvent=(e,t)=>{var n;null===(n=window.newrelic)||void 0===n||n.addPageAction(this.eventTriggerName,{eventCategory:this.eventCategory,eventAction:"login",eventLabel:e,...t})},this.logRegisterEvent=(e,t)=>{var n;null===(n=window.newrelic)||void 0===n||n.addPageAction(this.eventTriggerName,{eventCategory:this.eventCategory,eventAction:"register",eventLabel:e,...t})}}}n(64690);var ne={socialButtonsContainer:"media-ui-LogInRegistration_socialButtonsContainer--2ttNo-74mo-",iconButton:"media-ui-LogInRegistration_iconButton-5tP5dd4KIr0-",facebook:"media-ui-LogInRegistration_facebook-dGfTpZ4ZIUs-",twitter:"media-ui-LogInRegistration_twitter-JqHlAdQvhHg-",title:"media-ui-LogInRegistration_title-e4jSx88-kbI-",content:"media-ui-LogInRegistration_content-VD5OkwzgMK4-",hide:"media-ui-LogInRegistration_hide-hOktVm9CetQ-",noMarginTop:"media-ui-LogInRegistration_noMarginTop-WskAHOzVvm4-",textWhite:"media-ui-LogInRegistration_textWhite-irhQt5yrzac-",noPaddingTop:"media-ui-LogInRegistration_noPaddingTop-tw9OTmv4Wlk-",lottie:"media-ui-LogInRegistration_lottie-GoUbiQKVmfU-",lottieSubtext:"media-ui-LogInRegistration_lottieSubtext-LukOkAlq8n4-"};let nt=g.lazy(()=>n.e(4632).then(n.bind(n,88260)).then(e=>({default:e.DotLottieReact}))),nn=g.forwardRef(function(e,t){let n=ti(),{socialLoginsList:r=[tM.GOOGLE,tM.APPLE,tM.TERMINAL],setUserDataResp:i,formTitle:a=n({id:ta["media-ui-login_signInOrCreateAccount"],defaultMessage:to["media-ui-login_signInOrCreateAccount"]}),showTitle:o=!0,inlineContinueButton:s=!1,theme:l="light",countryCode:u,allowEditEmail:c=!0,continueButtonText:d=n({id:ta["media-ui-login_continue"],defaultMessage:to["media-ui-login_continue"]}),onEmailCapture:h,onClickForGoogle:m,onTerminalLogin:f=()=>{},callerAppInfo:p,emailFocus:v=!0,allowPassword:_=!1,leadSource:y,enableOnboarding:S=!1,isGiftedArticleUser:C}=e;e.regUIClient||console.warn("Please pass in a regUIClient parameter from the client instead!");let[w,T]=(0,g.useState)(void 0);(0,g.useEffect)(()=>{var e;T((e=window.location.pathname).endsWith("/games/alphadots")?"alphadots":e.endsWith("/games/pointed")?"pointed":void 0)},[]);let[k,I]=(0,g.useState)(!1),[N,L]=(0,g.useState)(!0),[O,M]=(0,g.useState)({}),[P,B]=(0,g.useState)(),[D,R]=(0,g.useState)(),[H,x]=(0,g.useState)(!1),[U,F]=(0,g.useState)(e.regUIClient),G=(0,g.useRef)(H),[j,V]=(0,g.useState)();(0,g.useEffect)(()=>{U||F(new(tu()))},[]),(0,g.useEffect)(()=>{x(t_(u))},[u]),(0,g.useEffect)(()=>{G.current=H},[H]),(0,g.useEffect)(()=>{B(new t5(p.triggerEventName)),R(new t9(p.triggerEventName))},[]),(0,g.useEffect)(()=>{if(j&&(i(j),S&&(null==j?void 0:j.success))){let e="".concat(window.location.origin,"/account/onboarding"),t=A(window.location.pathname)?void 0:"redirectTo=".concat(encodeURIComponent(window.location.href)),n=!1;j.data.redirectToPostLoginConversion&&(e+="?isReturningUser=true".concat(t?"&".concat(t):""),n=!0),(j.data.firstTimeUser||j.data.accountWasCreated)&&(n=!0,e+=t?"?".concat(t):""),n&&(window.location.href=e)}},[j]);let K=!C,W={[tM.APPLE]:g.createElement(E.AC,null),[tM.FACEBOOK]:g.createElement(E.s1,{className:ne.facebook}),[tM.TWITTER]:g.createElement(E.tL,{className:ne.twitter}),[tM.TERMINAL]:g.createElement(E.oI,null)},z=async t=>{if(U){var r,i,a,o,s,l;let e=await tR(U,t,G.current);if(null==h||h((null===(r=e.data)||void 0===r?void 0:r.email)||"",G.current,e.success),e.success)null==P||P.trackSocialLogIn(tM.GOOGLE,e.data.accountWasCreated,e.data.accountWasLinked),null==D||D.logSocialLogIn(tM.GOOGLE,e.data.accountWasCreated,e.data.accountWasLinked);else{let t=(null===(a=e.error)||void 0===a?void 0:a.errorMessage)||n({id:ta["media-ui-login_errorSigningInWithSocial"],defaultMessage:to["media-ui-login_errorSigningInWithSocial"]},{socialSite:tM.GOOGLE});e.error||(e.error={name:t,message:t,errorMessage:t}),e.error.errorMessage=t,M({...O,social:t}),null==P||P.trackErrorEvent("error_".concat(tM.GOOGLE)),null==D||D.logErrorEvent("MediaUiLoginErrors",{errorMessage:(null===(o=e.error)||void 0===o?void 0:o.errorMessage)||to["media-ui-login_errorSigningInWithSocial"],email:(null===(s=e.data)||void 0===s?void 0:s.email)||"",type:"GOOGLE"})}V({...e,data:{...e.data,redirectToPostLoginConversion:(l=((null===(i=U.getSubscriberData())||void 0===i?void 0:i.subscriptionsData)||[]).length>0,!e.data.accountWasCreated&&K&&!l)}}),I(e.success)}e.onGoogleSignIn&&await e.onGoogleSignIn(t)},Z=async e=>{var t,r,i,a,o,s,l,u,c;if(!U)return;null==P||P.trackClickEvent("connect_".concat(e)),null==D||D.logClickEvent("connect_".concat(e));let d=await tP(U,e,H,y);if(null==h||h((null===(t=d.data)||void 0===t?void 0:t.email)||"",H,d.success),d.success)null==P||P.trackSocialLogIn(e,null===(r=d.data)||void 0===r?void 0:r.accountWasCreated,null===(i=d.data)||void 0===i?void 0:i.accountWasLinked),null==D||D.logSocialLogIn(e,null===(a=d.data)||void 0===a?void 0:a.accountWasCreated,null===(o=d.data)||void 0===o?void 0:o.accountWasLinked);else{let t=n({id:ta["media-ui-login_errorSigningInWithSocial"],defaultMessage:to["media-ui-login_errorSigningInWithSocial"]},{socialSite:e});M({...O,social:t}),null==P||P.trackErrorEvent("error_".concat(e)),null==D||D.logErrorEvent("MediaUiLoginErrors",{errorMessage:(null===(l=d.error)||void 0===l?void 0:l.errorMessage)||to["media-ui-login_errorSigningInWithSocial"],email:(null===(u=d.data)||void 0===u?void 0:u.email)||"",type:"SOCIAL"})}V({...d,data:{...d.data,redirectToPostLoginConversion:(c=((null===(s=U.getSubscriberData())||void 0===s?void 0:s.subscriptionsData)||[]).length>0,!d.data.accountWasCreated&&K&&!c)}}),I(d.success)},Y=async(e,t,r)=>{var i,a,o,s,l,u,c;if(!U)return;null==P||P.trackClickEvent("bconnect"),null==D||D.logClickEvent("bconnect");let d=await tH(U,e,t,r);if(null==h||h((null===(i=d.data)||void 0===i?void 0:i.email)||"",H,d.success),d.success)null==P||P.trackLoginEvent("bconnect_success"),null==D||D.logLoginEvent("bconnect_success",{excessSessionsDeleted:null===(a=d.data)||void 0===a?void 0:a.excessSessionsDeleted,requiresPasswordUpdate:null===(o=d.data)||void 0===o?void 0:o.requiresPasswordUpdate});else{let e=n({id:ta["media-ui-login_failedToAuthenticate"],defaultMessage:to["media-ui-login_failedToAuthenticate"]});M({...O,password:e}),null==P||P.trackErrorEvent("error_bconnect"),null==D||D.logErrorEvent("MediaUiLoginErrors",{errorMessage:(null===(l=d.error)||void 0===l?void 0:l.errorMessage)||to["media-ui-login_failedToAuthenticate"],email:(null===(u=d.data)||void 0===u?void 0:u.email)||"",type:"PASSWORD"})}V({...d,data:{...d.data,redirectToPostLoginConversion:(c=((null===(s=U.getSubscriberData())||void 0===s?void 0:s.subscriptionsData)||[]).length>0,!d.data.accountWasCreated&&K&&!c)}}),I(d.success)},q=e=>{switch(e){case tM.GOOGLE:return n({id:ta["media-ui-login_continueWithGoogle"],defaultMessage:to["media-ui-login_continueWithGoogle"]});case tM.APPLE:return n({id:ta["media-ui-login_continueWithApple"],defaultMessage:to["media-ui-login_continueWithApple"]});case tM.FACEBOOK:return n({id:ta["media-ui-login_continueWithFacebook"],defaultMessage:to["media-ui-login_continueWithFacebook"]});case tM.TWITTER:return n({id:ta["media-ui-login_continueWithTwitter"],defaultMessage:to["media-ui-login_continueWithTwitter"]});case tM.TERMINAL:return n({id:ta["media-ui-login_continueWithBba"],defaultMessage:to["media-ui-login_continueWithBba"]});default:return""}},X=e=>{switch(e){case tM.GOOGLE:return n({id:ta["media-ui-login_googleSignInTitle"],defaultMessage:to["media-ui-login_googleSignInTitle"]});case tM.APPLE:return n({id:ta["media-ui-login_appleSignInTitle"],defaultMessage:to["media-ui-login_appleSignInTitle"]});case tM.FACEBOOK:return n({id:ta["media-ui-login_facebookSignInTitle"],defaultMessage:to["media-ui-login_facebookSignInTitle"]});case tM.TWITTER:return n({id:ta["media-ui-login_twitterSignInTitle"],defaultMessage:to["media-ui-login_twitterSignInTitle"]});case tM.TERMINAL:return n({id:ta["media-ui-login_bbaSignInTitle"],defaultMessage:to["media-ui-login_bbaSignInTitle"]});default:return""}},J=N&&0!==r.length?g.createElement("div",{className:(0,b.Sh)([ne.socialButtonsContainer])},g.createElement(tG,{theme:l}),r.map(e=>{switch(e){case tM.GOOGLE:return g.createElement("div",{className:ne.iconButton,key:e},g.createElement(t3,{onGoogleSignIn:z,buttonType:"outlined",buttonText:q(tM.GOOGLE),onClickCb:()=>{null==P||P.trackClickEvent("connect_".concat(tM.GOOGLE)),null==D||D.logClickEvent("connect_".concat(tM.GOOGLE)),null==m||m()},className:ne.googleButton,theme:l,size:"default"}));case tM.APPLE:case tM.FACEBOOK:case tM.TWITTER:case tM.TERMINAL:return g.createElement("div",{className:ne.iconButton,key:e},g.createElement(ts.U,{version:"phoenix",colorMode:"dark"===l?"dark":"light",iconPosition:"left",Icon:W[e],onClick:()=>Z(e),size:"default",fullWidth:!0,title:X(e)},q(e)));default:return console.log("Encountered unknown social site",e),g.createElement(g.Fragment,null)}})):g.createElement(g.Fragment,null),Q=w?g.createElement("div",null,g.createElement(g.Suspense,{fallback:g.createElement("div",{className:ne.lottie})},g.createElement(nt,{className:ne.lottie,src:"".concat("https://assets.bwbx.io/s3/reg2/images","/").concat("alphadots"===w?"alphadotsRegwallAnimation.json":"pointedRegwallAnimation.json"),loop:"pointed"===w,autoplay:!0})),g.createElement("div",{className:ne.lottieSubtext},"Get daily quizzes, game archives, and more.")):null;return k?g.createElement(g.Fragment,null):g.createElement("div",{className:(0,b.Sh)([ne.content,{[ne.noPaddingTop]:!o}])},g.createElement(t1,{onEmailSubmit:(e,t,n)=>{null==P||P.trackRegisterEvent("submit_email"),null==D||D.logRegisterEvent("submit_email"),null==h||h(e,t,n)},onTerminalLogin:f,countryCode:u,allowEditEmail:c,buttonText:d,header:o?g.createElement("div",null,g.createElement("h1",{className:(0,b.Sh)([ne.title,{[ne.textWhite]:"dark"===l}])},a),Q):null,ref:t,centeredLayout:!1,autoFocus:v,marketingConsent:H,inlineButton:s,theme:l,buttonType:"primary",onPasswordLogin:Y,onVerificationCodeSubmit:e=>{var t,n;U&&V({...e,data:{...e.data,redirectToPostLoginConversion:(n=((null===(t=U.getSubscriberData())||void 0===t?void 0:t.subscriptionsData)||[]).length>0,!e.data.firstTimeUser&&K&&!n)}})},setGlobalMarketingConsent:x,setShowSocialSignins:L,setIsLoggedIn:I,googleTracking:P,nr:D,error:O,setError:M,regUIClient:U,fullWidth:!1,allowPassword:_,leadSource:y}),J)}),nr=e=>{let{countryCode:t,regUIClient:n,enableOnboarding:r=!1,allowPassword:i=!0,signInClicked:a,setSignInClicked:o,initializeSignInIframe:s,forceModalExperience:l=!1}=e,u=ti(),[c,d]=(0,g.useState)(),[h,m]=(0,g.useState)(),f=(0,g.useMemo)(()=>typeof window.document>"u",[]),p=()=>{o(!1)};return(0,g.useEffect)(()=>{(async()=>{let e=!1,t=!1,n="",r=new URLSearchParams(window.location.search).get(y);try{l?(e=!0,console.warn("Forcing sign in modal experience")):e=(await I(r?"?".concat(y,"=").concat(r):void 0)).showSignInModal}catch(e){console.error("Error fetching flags, defaulting to false:",e),t=!0,n=e.message}finally{var i;e||null==s||s(),m(e),null===(i=window.newrelic)||void 0===i||i.addPageAction("SignInModal",{modalOrIframe:e?"modal":"iframe",wasDecisionMadeDueToError:t,errorMessage:n,wasInitializeSignInIframePassedIn:!!s,isUsingMock:!!r,mockValue:r,forceModalExperience:l})}})()},[]),(0,g.useEffect)(()=>{c&&c.success&&p()},[c]),f?(console.error('Please note that SignInModal is a client-side component since it uses the\nDOM/document element. That means that you need to ensure the parent server-side\ncomponent has mounted before rendering it. See "media-ui-nav/Nav" for an example.'),g.createElement(g.Fragment,null)):h&&a?(0,_.createPortal)(g.createElement("div",{className:N.signInModalContainer,"data-status":"show",id:"modalContainer",onClick:p},g.createElement("dialog",{open:!0,className:N.signInModal,"data-testid":"sign-in-modal",onClick:e=>e.stopPropagation()},g.createElement("div",{className:N.header},g.createElement("button",{"aria-label":u({id:ta["media-ui-login_home"],defaultMessage:to["media-ui-login_home"]}),type:"button",className:N.homeButton},g.createElement(E.hE,null)),g.createElement("button",{"aria-label":u({id:ta["media-ui-login_closeSignIn"],defaultMessage:to["media-ui-login_closeSignIn"]}),role:"button","data-testid":"close-sign-in-modal",onClick:p},g.createElement(E.n$,null))),g.createElement("div",{className:N.loginRegistration},g.createElement(nn,{setUserDataResp:d,socialLoginsList:[tM.GOOGLE,tM.APPLE,tM.TERMINAL],callerAppInfo:{triggerEventName:"UVerify Event",applicationCaller:"BREG"},countryCode:t,regUIClient:n,allowPassword:i,enableOnboarding:r})))),document.body):null};var ni=n(60006);n(38136);var na={authorSessionContainer:"media-ui-AuthorSession_authorSessionContainer-nBZKE-h8vQg-",content:"media-ui-AuthorSession_content-K6IlV9ctvTI-",imageContainer:"media-ui-AuthorSession_imageContainer-LG4r7wcTeFQ-",textContainer:"media-ui-AuthorSession_textContainer-qdS3Tt4wJP0-",image:"media-ui-AuthorSession_image-QK-TIyXWIjE-",statusLink:"media-ui-AuthorSession_statusLink-st-oXFK0nDw-",title:"media-ui-AuthorSession_title-gXHv-gqdpD0-",joinNow:"media-ui-AuthorSession_joinNow-v304d95QN9A-",joinNowText:"media-ui-AuthorSession_joinNowText-RQQMXyOU44A-",closed:"media-ui-AuthorSession_closed-TpXZuK-Xvzg-",iconButton:"media-ui-AuthorSession_iconButton-fpYQMV4xKLY-"};let no=g.forwardRef(function(e,t){let{imageUrl:n,status:r,title:i,url:a="",onClose:o=()=>{},desktopBreakpointClassName:s,trackingFunction:l=()=>{}}=e,[u,c]=(0,g.useState)(!1),d=(0,b.Sh)([na.authorSessionContainer,u&&na.closed]);(0,g.useEffect)(()=>{l("impression","authorSession_".concat(i))},[]);let h=(0,g.useCallback)(()=>{l("click","authorSession_".concat(i))},[i]),m=(0,g.useCallback)(e=>function(t){o(e),l("click","authorSession_close"),c(!0)},[]);return i?g.createElement("div",{className:d,ref:t},g.createElement("div",{className:(0,b.Sh)([na.content,s])},n&&g.createElement("div",{className:na.imageContainer},g.createElement("a",{href:a,tabIndex:-1,onClick:h},g.createElement("img",{className:na.image,src:n,alt:i}))),g.createElement("div",{className:na.textContainer},g.createElement("a",{className:na.statusLink,href:a,tabIndex:-1,onClick:h},r),g.createElement("a",{href:a,onClick:h},g.createElement("span",{className:na.title},i)),g.createElement("a",{className:na.joinNowLink,href:a,onClick:h},g.createElement("div",{className:na.joinNow},g.createElement("span",{className:na.playButton},g.createElement(E.sh,null)),g.createElement("span",{className:na.joinNowText},"Join Now")))),g.createElement(ni.h,{onClick:m("ExitClick"),className:na.iconButton},g.createElement(E.h6,null)))):null});var ns=n(50508);n(10528);var nl={breakingNews:"media-ui-BreakingNews_breakingNews-Sg6Pd76ZazY-",closed:"media-ui-BreakingNews_closed-TZWYD6k90Xo-",contentContainer:"media-ui-BreakingNews_contentContainer-uWHeu8Mu4p4-",linkContainer:"media-ui-BreakingNews_linkContainer-A4ymmLDasYc-",identifier:"media-ui-BreakingNews_identifier-26mz-o8S4ww-",headline:"media-ui-BreakingNews_headline-iqj-BK3w2sw-",readMore:"media-ui-BreakingNews_readMore-MPy55X3VI2Q-",iconButton:"media-ui-BreakingNews_iconButton-omiS-oDF-L4-"};let nu=g.forwardRef(function(e,t){let{headline:n,url:r="",identifier:i,onClose:a,desktopBreakpointClassName:o,trackingFunction:s=()=>{}}=e,[l,u]=g.useState(!1),c=(0,b.Sh)([nl.breakingNews,l&&nl.closed]),d=(0,v.f)("breaking-news");(0,g.useEffect)(()=>{s("impression","breakingNews_".concat(n))},[]);let h=(0,g.useCallback)(()=>{s("click","breakingNews_".concat(n))},[n]),m=(0,g.useCallback)(e=>function(t){a&&(a(e),s("click","breakingNews_close")),u(!0)},[]);return n?g.createElement("div",{className:c,"data-component":d,ref:t},g.createElement("div",{className:(0,b.Sh)([nl.contentContainer,o])},g.createElement("a",{className:nl.linkContainer,href:r,onClick:h},g.createElement("div",{className:nl.identifier},i),g.createElement("div",{className:nl.headline},n),g.createElement("div",{className:nl.readMore},g.createElement(ns.jU,{id:"media-ui-nav_readMore",defaultMessage:"Read more"}))),g.createElement(ni.h,{onClick:m("ExitClick"),className:nl.iconButton},g.createElement(E.h6,null)))):null});var nc=n(83682);let nd={production:"https://assets.bwbx.io/s3/multimedia/projector/latest/bplayer.js",staging:"https://assets-dev.bwbx.io/s3/multimedia/projector/latest/bplayer.js",local:"http://localhost:7314/bplayer.js"};var nh=n(9996),nm=n.n(nh);async function nf(e,t){if(window.BPlayer)return window.BPlayer;try{var n,r,i;return await (null===(n=await (r="https://assets.bwbx.io/s3/spritz/v1/spritz.js",i=null==t?void 0:t.scriptType,new Promise((e,t)=>{window.Spritz&&e(window.Spritz);let n=document.getElementById("mui-spritz");if(!n||"SCRIPT"!==n.tagName){let n=document.createElement("script");n.src=r,n.async=!0,n.setAttribute("id","mui-spritz"),n.setAttribute("type",i||"text/javascript"),n.onload=()=>{e(window.Spritz)},n.onerror=e=>t(e),document.body.appendChild(n)}let a=0,o=n=>{window.Spritz&&(clearTimeout(a),e(window.Spritz));let r=2*n;r>6e4&&t(Error("Media-UI: Spritz unable to load on the window")),a=setTimeout(o,r)};o(300)})))||void 0===n?void 0:n.inject(nd[e])),window.BPlayer}catch(e){throw console.error("Media-UI: Unable to load BPlayer via spritz ".concat(e)),e}}let np=/\/(-?\d+x-?\d+)(?=\.[^.]+$)/;function ng(e){let[t,...n]=e,r=nm().all([t||{},...n]);return Object.keys(r).reduce((e,n)=>void 0===r[n]?{...e,[n]:t?t[n]:{}}:{...e,[n]:r[n]},{})}function nv(e){let[t="1",n="1"]=e.split(":"),r=parseInt(t,10),i=parseInt(n,10);return isNaN(r)&&(r=1),isNaN(i)&&(i=1),{width:r,height:i}}n(99268);var nb={wrapper:"media-ui-VideoPlayer_wrapper-txYAIIZsO-k-",posterVideo:"media-ui-VideoPlayer_posterVideo-89S8g4osnpg-",description:"media-ui-VideoPlayer_description--QMnOCr1hTI-"};let n_=g.forwardRef(function(e,t){let n,r;let{name:i="videoplayer",playerRef:a}=e,[o]=(0,v.f)(i),s=g.useRef(null),l=(0,nc.H)(s,t),u=nv(e.options.aspectRatio||"16:9"),c=e.options.intrinsicAspectRatio?nv(e.options.intrinsicAspectRatio):u,d=e.options.fillPosition||"center",h=e.options.fillContainer,m=(0,b.Sh)([nb.wrapper],{...e,name:i}),{loaded:f,player:p}=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{env:r="production",onReady:i,options:a}=t,{importOptions:o={}}=a,[s,l]=g.useState(!1),[u,c]=g.useState(null),[d,h]=g.useState(),[m,f]=g.useState([]);return g.useEffect(()=>{nf(r,o).then(e=>{e&&l(!0)})},[]),g.useEffect(()=>{let r;if(s&&e.current){if(n){let{itemOptions:n,playlistOption:i}=function(e){let{startMuted:t,foundationLayout:n=!0,autoplay:r=!1,loadSuggestions:i,preloadThreshold:a,repeat:o,startFrom:s=0,onReady:l,onError:u,transitionDuration:c,options:d}=e;return{itemOptions:ng([d,{autoplay:r,start_muted:t,useFoundationLayout:n}]),playlistOption:{loadSuggestions:i,preloadThreshold:a,repeat:o,startFrom:s,onReady:l,onError:u,transitionDuration:c}}}(t),a=(t.playlist||[]).map(e=>nm().all([n,e]));r=window.BPlayer.createPlaylistPlayer(e.current,a,i),h(i),f(a)}else{let{options:n,callbacks:i}=function(e){let{autoplay:t=!1,options:n,startMuted:r,foundationLayout:i=!0,onReady:a,onError:o}=e;return{options:ng([n,{autoplay:t,start_muted:r,useFoundationLayout:i}]),callbacks:{onReady:a,onError:o}}}(t);r=window.BPlayer.create(e.current,n,i),h(n)}c(r)}},[s,e.current]),g.useEffect(()=>{if(u)return i&&u.ready(i),()=>{null==u||u.dispose()}},[u]),{loaded:s,player:u,playlist:m,options:d}}(l,e);p&&a&&(a.current=p),g.useEffect(()=>{p&&e.description&&p.ready(()=>{var t;let n=document.createElement("figcaption");n.innerText=e.description,n.className=nb.description,null===(t=l.current)||void 0===t||t.appendChild(n)})},[e.description,p]);let _=e.options.poster,E=_&&(n=400,r=400,c.width>c.height?r=Math.round(c.height/c.width*n):n=Math.round(c.width/c.height*r),_.replace(np,"/".concat(n,"x").concat(r)));return g.createElement("figure",{style:{aspectRatio:"".concat(u.width,"/").concat(u.height)},className:m,ref:l,"data-component":o},E&&g.createElement("video",{style:h?{objectFit:"cover",objectPosition:d}:void 0,controls:!1,poster:E,className:nb.posterVideo},g.createElement("source",{src:"",type:"video/webm"}),g.createElement("track",{default:!0,kind:"captions",src:""})),e.description&&g.createElement("figcaption",{className:nb.description},e.description))});n(44466);var nE={breakingNewsLiveStreamContainer:"media-ui-BreakingNewsLiveStream_breakingNewsLiveStreamContainer-hqA0dPAZxT4-",content:"media-ui-BreakingNewsLiveStream_content-Xymqbwv91Zo-",playerContainer:"media-ui-BreakingNewsLiveStream_playerContainer-sSE8mNDrCtA-",textContainer:"media-ui-BreakingNewsLiveStream_textContainer--oOMTZrGKfo-",image:"media-ui-BreakingNewsLiveStream_image-gjaPYh4oavk-",liveNowLink:"media-ui-BreakingNewsLiveStream_liveNowLink-MzXho8XEhZw-",title:"media-ui-BreakingNewsLiveStream_title-5qZR633ETaY-",watch:"media-ui-BreakingNewsLiveStream_watch-g6Up9KjXY1k-",watchText:"media-ui-BreakingNewsLiveStream_watchText-mPpvc1B6JM4-",closed:"media-ui-BreakingNewsLiveStream_closed-NKUTm1zKM6I-",iconButton:"media-ui-BreakingNewsLiveStream_iconButton-U862gkKYcHk-"};let ny=g.forwardRef(function(e,t){let{imageUrl:n,region:r,streamId:i,theme:a,title:o,url:s="",onClose:l=()=>{},desktopBreakpointClassName:u,trackingFunction:c=()=>{},VideoPlayerComponent:d}=e,h=(0,g.useMemo)(()=>({options:{id:i,live:!0,poster:n,module_ad_player:"disabled",hidePlayerControls:!0},autoplay:!0,controls:!1,video_autoplay_on_page:!0,use_google_tag_manager:!0,start_muted:!0,useCustomBufferingAnimation:"QT_MINI"===i}),[i,n]),[m,f]=g.useState(!1),p=(0,g.useRef)(null),_=(0,b.Sh)([nE.breakingNewsLiveStreamContainer,m&&nE.closed]),y=(0,v.f)("breaking-news-live-stream");(0,g.useEffect)(()=>{c("impression","breakingNewsLiveStream_".concat(o))},[]);let S=(0,g.useCallback)(()=>{c("click","breakingNewsLiveStream_".concat(o))},[o]),C=(0,g.useCallback)(e=>function(t){l(e),c("click","breakingNewsLiveStream_close"),f(!0)},[]);return o?g.createElement("div",{className:_,"data-component":y,ref:t,"data-theme":a},g.createElement("div",{className:(0,b.Sh)([nE.content,u])},g.createElement("div",{className:nE.playerContainer},g.createElement("a",{href:s,tabIndex:-1,onClick:S},d?g.createElement(g.Fragment,null,d):g.createElement(n_,{...h,playerRef:p}),g.createElement("div",{"data-streamid":i,"data-region":r}))),g.createElement("div",{className:nE.textContainer},g.createElement("a",{className:nE.liveNowLink,href:s,tabIndex:-1,onClick:S},g.createElement(ns.jU,{id:"media-ui-nav_livenow",defaultMessage:"LIVE NOW"})),g.createElement("a",{className:nE.titleLink,href:s,onClick:S},g.createElement("div",{className:nE.title},"QT"===a?g.createElement(ns.jU,{id:"media-ui-nav_quicktake",defaultMessage:"Quicktake: {title}",values:{title:o,prefix:e=>g.createElement("span",{className:nE.quicktake},e)}}):o)),g.createElement("a",{href:s,onClick:S},g.createElement("div",{className:nE.watch},g.createElement("span",{className:nE.playButton},g.createElement(E.sh,null)),g.createElement("span",{className:nE.watchText},g.createElement(ns.jU,{id:"media-ui-nav_watch",defaultMessage:"Watch"}))))),g.createElement(ni.h,{onClick:C("ExitClick"),className:nE.iconButton},g.createElement(E.h6,null)))):null});var nS=n(25173);let nC={defaultText:"My Interests",textId:"media-ui-nav_menu_item_interests",url:"/portal/your-content?in_source=navi"},nw={defaultText:"Newsletters",textId:"media-ui-nav_menu_item_newsletter",url:"/account/newsletters?in_source=navi"},nT={defaultText:"Watchlist",textId:"media-ui-nav_menu_item_watchlist",url:"/markets/watchlist?in_source=navi"},nk={defaultText:"Account",textId:"media-ui-nav_menu_item_account",url:"/portal/account?in_source=navi"},nI={defaultText:"Subscription",textId:"media-ui-nav_menu_item_subscription",url:"/portal/subscription?in_source=navi"},nA={defaultText:"Help Center",textId:"media-ui-nav_menu_item_helpCenter",url:"/help?in_source=help-nav"},nN={defaultText:"Sign Out",textId:"media-ui-nav_menu_item_signOut",url:"/signout"},nL={interests:{defaultText:"",items:[nC,nw,nT]},settings:{defaultText:"Settings",textId:"media-ui-nav_menu_header_settings",items:[nk,nI]},help:{defaultText:"",items:[nA,nN]}},nO={interests:{defaultText:"",items:[{defaultText:"Saved",textId:"media-ui-nav_menu_item_savedItems",url:"/portal/saved?in_source=navi"},nC,nw,nT]},settings:{defaultText:"Settings",textId:"media-ui-nav_menu_header_settings",items:[nk,nI,{defaultText:"Billing",textId:"media-ui-nav_menu_item_billing",url:"/portal/billing?in_source=navi"}]},help:{defaultText:"",items:[nA,nN]}},nM={...nO,interests:{...nO.interests,items:[...nO.interests.items,{defaultText:"My Company Hub",textId:"media-ui-nav_menu_item_corporateHub",url:"/your-company?in_source=navi"}]}},nP={[nS.Up.US]:{value:"AMER",text:"US",url:"/"},[nS.Up.UK]:{value:"UK",text:"UK",switchEditionPrompt:"Switch Editions",url:"/uk"},[nS.Up.CANADA]:{value:"CANADA",text:"Canada",url:"/canada"},[nS.Up.LATAM]:{value:"LATAM",text:"Latin America",url:"/latinamerica"},[nS.Up.EUROPE]:{value:"EUR",text:"Europe",url:"/europe"},[nS.Up.ASIA]:{value:"APAC",text:"Asia",url:"/asia"},[nS.Up.MIDDLE_EAST]:{value:"MIDEAST",text:"Middle East",url:"/middleeast"},[nS.Up.AFRICA]:{value:"AFRICA",text:"Africa",url:"/africa"},[nS.Up.JAPAN]:{value:"JAPAN",text:"日本",url:"https://www.bloomberg.co.jp"}},nB="exp_pref",nD="markets",nR=new Set(["markets","マーケット"]);var nH=n(20297),nx=n(40799),nU=n(54483),nF=n.n(nU),nG=n(97445),nj=n(93096),nV=n.n(nj);let nK=[3,3,3,3,3,3,3,3,6],nW=["name","slug","ticker_symbol","url","organization","title","primary_site"],nz=["Company_Public","Index","Fund","Currency","Commodity","Bond"],nZ=["Person","Author"],nY={bpol:"http://www.bloomberg.com/authors/",bbiz:"http://www.bloomberg.com/authors/",bview:"https://www.bloomberg.com/view/contributors/",gadfly:"https://www.bloomberg.com/gadfly/columnists/",default:"http://www.bloomberg.com/authors/"},nq=async(e,t)=>e?{autocomplete:((await t.autoComplete({query:e.split(" ").join("+")})).autocomplete||[]).map(e=>({url:"/search?query=".concat(e),text:e,id:e})).slice(0,3)}:{autocomplete:[]},nX=e=>{let t=new Set;return nz.flatMap(t=>e.get(t)||[]).filter(e=>{let{ticker_symbol:n}=e;return!t.has(n)&&(t.add(n),!0)}).sort((e,t)=>t.score-e.score).map(e=>{let{ticker_symbol:t,url:n}=e;return{id:t,text:t,url:n}}).slice(0,3)},nJ=e=>(e.get("Author")||[]).map(e=>{let{name:t,primary_site:n,slug:r,score:i}=e,a=nY[n]?n:"default";return{name:"Author: ".concat(t),url:"".concat(nY[a]).concat(r),slug:r,score:i,primary_site:n}}),nQ=(e,t)=>(e.get("Person")||[]).concat(t).sort((e,t)=>t.score-e.score).map(e=>{let{name:t,url:n}=e;return{id:n,text:t,url:n}}).slice(0,3),n$=async(e,t,n)=>{if(!e)return{securities:[],people:[]};let r=(await t.lookup({query:e,types:nz.concat(nZ),excludeSubtypes:["label:editorial"],groupSize:nK,country:n,fields:nW,boostParents:!0,fuzziness:"AUTO"})||[]).reduce((e,t)=>e.set(t.group,t.results||[]),new Map),i=nX(r),a=nJ(r);return{securities:i,people:nQ(r,a)}},n0=async(e,t,n)=>{let[r,i]=await Promise.all([n$(e.trim(),t,n),nq(e.trim(),t)]);return{suggestions:{id:"suggestions",text:"Suggestions",dropdownListItems:i.autocomplete},securities:{id:"securities",text:"Securities",dropdownListItems:r.securities},people:{id:"people",text:"People",dropdownListItems:r.people}}},n1=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,[t,n]=(0,g.useState)(void 0);return[t,(0,g.useCallback)(nV()(async(e,t,r)=>{e&&e.trim()&&n(await n0(e,t,r))},e,{leading:!1,trailing:!0}),[])]};n(13055);var n2={searchDesktopContainer:"media-ui-SearchDesktop_searchDesktopContainer-C29kFU3eOcw-",clearInput:"media-ui-SearchDesktop_clearInput-NaFM4Bg-5jg-",dropdown:"media-ui-SearchDesktop_dropdown-n5aLBnlGcjg-",searchInputContainer:"media-ui-SearchDesktop_searchInputContainer-ZkKC3SSSRbU-",searchInput:"media-ui-SearchDesktop_searchInput-4c2LCBOV3wQ-",dark:"media-ui-SearchDesktop_dark-MQci6tnymsw-"};let n3=g.forwardRef(function(e,t){let{desktopBreakpointClassName:n,name:r="search-desktop",theme:i=nS.yU.DARK,searchClient:a,onClose:o=()=>{},trackingFunction:s,countryCode:l="US"}=e,[u,c]=(0,g.useState)(""),[d,h]=n1(),m=(0,v.f)(r),f="search-desktop-container",p=(0,b.Sh)([n2.searchDesktopContainer,f,{[n2.light]:i===nS.yU.LIGHT,[n2.dark]:i===nS.yU.DARK,[n2.blue]:i===nS.yU.BLUE}],{name:r}),_=(0,g.useCallback)(e=>{c(e),h(e,a,l)},[a,l]);return g.createElement(nF(),{focusTrapOptions:{fallbackFocus:".".concat(f),clickOutsideDeactivates:o,allowOutsideClick:!0}},g.createElement("div",{className:p,"data-component":m,ref:t},g.createElement("div",{className:(0,b.Sh)([n2.searchInputContainer,n])},g.createElement(tk.I,{autoComplete:"off",autoCorrect:"off",spellCheck:!1,inputProps:{autoFocus:!0},className:n2.searchInput,id:"bloomberg.com-search-desktop",placeholder:"Search Bloomberg",value:u,onChange:e=>_(e.target.value),onKeyDown:e=>{e.currentTarget.value&&"Enter"===e.key&&(s("click","search-InputQuerySearch-".concat(u)),window.location.href="/search?query=".concat(encodeURIComponent(e.currentTarget.value)))}})),u.length>0&&g.createElement("div",{className:n2.dropdown},g.createElement(nG.z,{trackingFunction:(e,t)=>{s("click","search-".concat(e,"-").concat(t))},desktopBreakpointClassName:n,key:"search-dropdown-menu-desktop",menuItemId:"search-dropdown-menu-desktop",theme:i,submenuItems:d}))))});n(26653);var n4={container:"media-ui-SearchDesktop_container-ct-27cJZUGE-",searchButton:"media-ui-SearchDesktop_searchButton-Pnif31QJzPk-",searchInline:"media-ui-SearchDesktop_searchInline-zabqpb26bdY-",searchInlineOpen:"media-ui-SearchDesktop_searchInlineOpen-xAYps3T4SNE-",searchContainer:"media-ui-SearchDesktop_searchContainer-AZmxyIHBXUo-",closeButton:"media-ui-SearchDesktop_closeButton-IRutfzoT7b4-"};let n6=e=>{let{isOpen:t,onToggle:n,onClose:r,buttonRef:i}=e,a=(0,g.useRef)(null);return(0,g.useEffect)(()=>{let e=document.createElement("script");return e.src="https://cse.google.com/cse.js?cx=60d37b10a9757480c",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),(0,g.useEffect)(()=>{if(!t||!a.current)return;let e=()=>{let e=document.querySelector(".gsc-results-wrapper-nooverlay, .gsc-results-wrapper-overlay, .gsc-results-wrapper-visible");if(e&&a.current){let t=Math.max(10,a.current.getBoundingClientRect().bottom+10),n=window.innerHeight-t-20;e.style.top="".concat(t,"px"),e.style.left="50%",e.style.transform="translateX(-50%)",e.style.height="".concat(Math.max(200,Math.min(780,n)),"px")}};return requestAnimationFrame(()=>{e(),window.addEventListener("scroll",e),window.addEventListener("resize",e)}),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[t]),(0,g.useEffect)(()=>{if(t){let e=document.querySelector(".gsc-input input.gsc-input, input.gsc-input");e&&e.focus()}},[t]),g.createElement("div",{className:n4.container},!t&&g.createElement("button",{ref:i,className:n4.searchButton,onClick:n,"data-testid":"nav-japan-search-button"},g.createElement(E.HN,null)),g.createElement("div",{className:(0,b.Sh)([n4.searchInline,{[n4.searchInlineOpen]:t}])},g.createElement("div",{className:n4.searchContainer,ref:a},g.createElement("div",{className:"gcse-search"})),t&&g.createElement("button",{className:n4.closeButton,onClick:r,"data-testid":"nav-japan-search-close"},"キャンセル")))};var n8=n(53179);let n5=new Set([nN.url,"/account/newsletters?in_source=navi","/markets/watchlist?in_source=navi","/your-company?in_source=navi"]),n7=new Map([["/help?in_source=help-nav","/notices/jp/help/"]]);function n9(e){return"jp"===e?"https://www.bloomberg.co.jp/live":"/live"}function re(e,t){if("jp"===e){let e=n7.get(t);if(e)return e;if(!n5.has(t))return"/".concat("jp","/").concat(t.replace(/^\//,""))}return t}n(90636);var rt={userOptionsDropdownContainer:"media-ui-UserOptionsDropdown_userOptionsDropdownContainer-fD8GVtGWap4-",signOut:"media-ui-UserOptionsDropdown_signOut-Gmw-ZZMwIA4-",option:"media-ui-UserOptionsDropdown_option-BLQ4bNisCzo-",dark:"media-ui-UserOptionsDropdown_dark-LjvcfGOHvZM-",optionText:"media-ui-UserOptionsDropdown_optionText-sjB34V6-dDo-",light:"media-ui-UserOptionsDropdown_light-DqKKlq866rc-",blue:"media-ui-UserOptionsDropdown_blue-DLX00GEZeg0-",badge:"media-ui-UserOptionsDropdown_badge-htz-nDZJxMs-"};let rn=e=>{let{text:t,url:n,badge:r,onSelect:i,onSignOut:a}=e;return n===nN.url?g.createElement("button",{className:(0,b.Sh)([rt.optionText,rt.signOut]),key:t,onClick:a},g.createElement("p",null,t)):g.createElement("a",{href:n,className:rt.optionText,key:t,onClick:()=>i(n)},g.createElement("p",null,t,r&&g.createElement("span",{className:rt.badge},r)))},rr=g.forwardRef(function(e,t){let{sections:n,theme:r,onSelect:i,onSignOut:a}=e,{locale:o}=(0,nx.S)(),s=(0,v.f)("user-options-dropdown"),l=(0,b.Sh)([rt.userOptionsDropdownContainer,{[rt.light]:r===nS.yU.LIGHT,[rt.dark]:r===nS.yU.DARK,[rt.blue]:r===nS.yU.BLUE}],{...e});return g.createElement("div",{className:l,ref:t,"data-component":s,"data-testid":"user-options-dropdown"},Object.entries(n).map(e=>{let[t,{text:n,items:r}]=e;return g.createElement("div",{className:rt.option,key:t},n&&g.createElement("h2",null,n),r.map(e=>{let{text:t,url:n,badge:r}=e;return g.createElement(rn,{key:t,text:t,url:re(o,n),badge:r,onSelect:i,onSignOut:a})}))}))});function ri(e,t){return Object.fromEntries(Object.entries(e).map(e=>{let[n,r]=e;return[n,{text:""!==r.defaultText&&r.textId?t({id:r.textId,defaultMessage:r.defaultText}):"",items:r.items.map(e=>({text:t({id:e.textId,defaultMessage:e.defaultText}),url:e.url,...e.badge&&{badge:e.badge}}))}]}))}n(37342);var ra={userOptionsContainer:"media-ui-UserOptions_userOptionsContainer-GIUmIuapblk-",userOptionsButtonContainer:"media-ui-UserOptions_userOptionsButtonContainer-Gz3Is54pBUA-",userOptionsMenuButton:"media-ui-UserOptions_userOptionsMenuButton-4z6g57EWPBc-",userOptionsButtonText:"media-ui-UserOptions_userOptionsButtonText-vg3HI8pozto-",userAccountProfileButton:"media-ui-UserOptions_userAccountProfileButton-Xov71BC9Ja0-",userAccountProfile:"media-ui-UserOptions_userAccountProfile-3KI-EciaLco-",dropdown:"media-ui-UserOptions_dropdown-Ffpqvw3WLvg-",triangleDown:"media-ui-UserOptions_triangleDown-BMf8zKl6GWg-",corporateHubTip:"media-ui-UserOptions_corporateHubTip-bh3UpO-RHig-"};let ro=g.forwardRef(function(e,t){let{text:n,onClick:r,children:i,icon:a}=e,o=(0,ns.Q)();return g.createElement("div",{className:ra.userOptionsButtonContainer,ref:t,"aria-label":o({id:"media-ui-nav_arialabel_userAccountButtonContainer",defaultMessage:"User Account Button Container"})},g.createElement("button",{onClick:r,className:ra.userAccountProfileButton,"aria-label":o({id:"media-ui-nav_arialabel_userAccountButton",defaultMessage:"User Account Button"}),"data-testid":"user-options-button",role:"button"},a,g.createElement("p",{className:ra.userOptionsButtonText},n),i))}),rs=g.forwardRef(function(e,t){let{isDropdownOpen:n,setIsDropdownOpen:r=()=>{},user:i,theme:a=nS.yU.LIGHT,onSignOut:o,tips:s}=e,[l,u]=(0,g.useState)(null),{firstName:c,subscriptionsData:d=[]}=i,h=d.some(e=>e.corporateHubAccess),m=(0,ns.Q)(),f=(0,v.f)("user-options"),p=(0,b.Sh)([ra.userOptionsContainer,{[ra.light]:a===nS.yU.LIGHT,[ra.dark]:a===nS.yU.DARK,[ra.blue]:a===nS.yU.BLUE}],{...e}),_=()=>{(null==s?void 0:s.corporateHub)&&(null==s||s.corporateHub.onDismiss())},y=()=>(r(!1),!0),S=()=>{_(),r(!0)},C=()=>n?y():S();return g.createElement(nF(),{active:n,focusTrapOptions:{fallbackFocus:".".concat(ra.userOptionsContainer),clickOutsideDeactivates:()=>y(),allowOutsideClick:!0}},g.createElement("div",{className:p,ref:t,"data-component":f},g.createElement("div",{className:ra.userOptionsMenuButton,"aria-label":m({id:"media-ui-nav_arialabel_userAccountMenuButton",defaultMessage:"User Account Menu Button"})},g.createElement(ro,{text:c||m({id:"media-ui-nav_myAccount",defaultMessage:"My Account"}),ref:u,onClick:()=>C(),icon:g.createElement(E.fv,{className:ra.userAccountProfile})},n?g.createElement(E.CJ,null):g.createElement(E.CJ,{className:ra.triangleDown}))),(null==s?void 0:s.corporateHub)&&g.createElement(n8.J,{className:ra.corporateHubTip,Icon:s.corporateHub.icon,eyebrow:s.corporateHub.eyebrow,anchorElement:l,allowedPlacements:s.corporateHub.placement,onDismiss:s.corporateHub.onDismiss,text:s.corporateHub.text}),n&&g.createElement("div",{className:ra.dropdown,"aria-label":m({id:"media-ui-nav_arialabel_userAccountMenu",defaultMessage:"User Account Menu"})},g.createElement(rr,{sections:ri(i.isSubscriber&&h?nM:(i.isSubscriber,nO),m),onSelect:e=>{window.open(e,"_self")},onClose:()=>C(),onSignOut:o,theme:a}))))});n(3375);var rl={logoBarContainer:"media-ui-LogoBar_logoBarContainer-zT2Vdyxa9hk-",search:"media-ui-LogoBar_search-45lfpZiVy9c-",searchButton:"media-ui-LogoBar_searchButton-gUKKb5rWizY-",signInButton:"media-ui-LogoBar_signInButton-9yr-B7jjuE0-",subscribeButton:"media-ui-LogoBar_subscribeButton-rqH7oKAhEzM-",bar:"media-ui-LogoBar_bar-dkILEe-ptTg-",right:"media-ui-LogoBar_right-HwB1Vmt3U30-",light:"media-ui-LogoBar_light-qIYHzFKXQXQ-",dark:"media-ui-LogoBar_dark-q7Ouy-DICYc-",blue:"media-ui-LogoBar_blue-QXSgFJYGtbU-"};let ru=e=>{let{trackingFunction:t,subscriptionUrl:n}=e;return g.createElement("a",{className:rl.subscribeButton,href:"".concat(n,"?in_source=nav"),target:"_blank",rel:"noreferrer",onClick:()=>t("click","subscribe")},g.createElement(ns.jU,{id:"media-ui-nav_subscribe",defaultMessage:"Subscribe"}))},rc=e=>{let{trackingFunction:t,upgradeUrl:n}=e;return g.createElement("a",{className:rl.subscribeButton,href:n,target:"_blank",rel:"noreferrer",onClick:()=>t("click","upgrade")},g.createElement(ns.jU,{id:"media-ui-nav_upgrade",defaultMessage:"Upgrade"}))},rd=e=>{let{text:t,trackingFunction:n,handleShowSignInModal:r,setSignInButtonRef:i}=e,a=(0,g.useRef)(null);return(0,g.useEffect)(()=>{a.current&&(null==i||i(e=>({...e,desktopSignInButton:a.current||void 0})))},[]),g.createElement(g.Fragment,null,g.createElement("button",{ref:a,"data-testid":"sign-in-button",className:rl.signInButton,onClick:()=>{n("click","signIn"),null==r||r()}},t))},rh=e=>{let{isDropdownOpen:t,setIsDropdownOpen:n,user:r=im,theme:i,onSignOut:a,trackingFunction:o,subscriptionUrl:s,upgradeUrl:l,tips:u,handleShowSignInModal:c,setSignInButtonRef:d}=e,h=(0,ns.Q)();return r.isLoggedIn||r.isSubscriber?r.isLoggedIn&&r.showUpgrade?g.createElement(g.Fragment,null,g.createElement(rc,{trackingFunction:o,upgradeUrl:l}),g.createElement(rs,{isDropdownOpen:t,setIsDropdownOpen:n,user:r,theme:i,onSignOut:a})):r.isLoggedIn&&!r.isSubscriber?g.createElement(g.Fragment,null,g.createElement(ru,{trackingFunction:o,subscriptionUrl:s}),g.createElement(rs,{isDropdownOpen:t,setIsDropdownOpen:n,user:r,theme:i,onSignOut:a})):g.createElement(rs,{isDropdownOpen:t,setIsDropdownOpen:n,user:r,theme:i,onSignOut:a,tips:u}):g.createElement(g.Fragment,null,g.createElement(rd,{trackingFunction:o,text:h({id:"media-ui-nav_signin",defaultMessage:"Sign In"}),handleShowSignInModal:c,setSignInButtonRef:d}),g.createElement(ru,{trackingFunction:o,subscriptionUrl:s}))},rm=g.forwardRef(function(e,t){let{isUserOptionsDropdownOpen:n,setIsUserOptionsDropdown:r,isWeekend:i,user:a=im,name:o="logo-bar",theme:s=nS.yU.LIGHT,searchClient:l,desktopBreakpointClassName:u,onSignOut:c,trackingFunction:d,countryCode:h,subscriptionUrl:m,upgradeUrl:f,handleShowSignInModal:p,setSignInButtonRef:_,tips:y,isJapanLoginEnabled:S}=e,{locale:C}=(0,nx.S)(),w=(0,g.useRef)(null),T=(0,g.useRef)(null),[k,I]=g.useState(!1),[A,N]=g.useState(!1),L=(0,v.f)(o),O=()=>{I(!k)},M=e=>{var t;return(null===(t=w.current)||void 0===t?void 0:t.contains(e.target))||O(),!0},P=(0,b.Sh)([rl.logoBarContainer,{[rl.light]:s===nS.yU.LIGHT,[rl.dark]:s===nS.yU.DARK,[rl.blue]:s===nS.yU.BLUE}],{name:o});return g.createElement("div",{className:P,ref:t,"data-component":L},g.createElement("div",{className:(0,b.Sh)([rl.bar,u])},g.createElement(nH.T,{trackingFunction:e=>d("click",e),isWeekend:i,theme:s}),g.createElement("div",{className:rl.right},"jp"===C&&g.createElement(n6,{isOpen:A,onToggle:()=>{N(!A)},onClose:()=>{N(!1)},buttonRef:T}),(S||"en"===C)&&g.createElement(rh,{isDropdownOpen:n,setIsDropdownOpen:r,trackingFunction:d,user:a,theme:s,countryCode:h,onSignOut:c,subscriptionUrl:m,upgradeUrl:f,tips:y,handleShowSignInModal:p,setSignInButtonRef:_}),"en"===C&&g.createElement(g.Fragment,null,g.createElement("button",{ref:w,className:rl.searchButton,onClick:O,"data-testid":"nav-search-button"},g.createElement(E.HN,null)),g.createElement("div",{className:rl.search},k&&g.createElement(n3,{trackingFunction:d,searchClient:l,countryCode:h,desktopBreakpointClassName:u,onClose:e=>M(e)}))))))});var rf=n(96701),rp=n(98279),rg=n(57745);n(32864);var rv={marketDataDropdownContainer:"media-ui-MarketDataDropdown_marketDataDropdownContainer-MfMXpkCLuKI-",marketData:"media-ui-MarketDataDropdown_marketData-W1p-1QwpzDE-",title:"media-ui-MarketDataDropdown_title-zrhjXzdrG-I-",tickersAndWatchlistButton:"media-ui-MarketDataDropdown_tickersAndWatchlistButton-9N45UJOmI3A-",tickers:"media-ui-MarketDataDropdown_tickers-dQkr93ngRpc-",addToWatchlist:"media-ui-MarketDataDropdown_addToWatchlist-4EjJvaltJUw-",addToWatchlistLabel:"media-ui-MarketDataDropdown_addToWatchlistLabel-knEiLbq2kvE-",addToWatchlistButton:"media-ui-MarketDataDropdown_addToWatchlistButton-d1LCzGOAH4k-",loadingPill:"media-ui-MarketDataDropdown_loadingPill-zg7Lw8kxe-g-",dark:"media-ui-MarketDataDropdown_dark-EzYTDBZa7K4-"};let rb=g.forwardRef(function(e,t){let n=(0,ns.Q)(),{locale:r}=(0,nx.S)(),{desktopBreakpointClassName:i,marketDataLinks:a,marketDataNews:o,marketDataTickersUrl:s="https://www.bloomberg.com/bazaar/api/quotes-price-data",tickers:l,initialPricingData:u,theme:c=nS.yU.DARK,title:d=n({id:"media-ui-nav_topSecurities",defaultMessage:"Top Securities"}),trackingFunction:h}=e,[m,f]=(0,g.useState)(u||null),p=async()=>{try{let e="".concat(s,"?tickers=").concat(l.map(e=>{let{id:t}=e;return t}).join(",")),t=await fetch(e);if(!t.ok)throw Error("Error parsing json for tickers from url: ".concat(e));let n=(await t.json()).map(e=>{var t;let n=null===(t=l.find(t=>{let{id:n}=t;return e.id===n}))||void 0===t?void 0:t.label;return{...e,label:n}});f(n)}catch(e){console.error("Error fetching market data from tickers: ".concat(e))}};(0,g.useEffect)(()=>{p()},[]);let v=(0,b.Sh)([i,rv.marketDataDropdownContainer,{[rv.light]:c===nS.yU.LIGHT,[rv.dark]:c===nS.yU.DARK,[rv.blue]:c===nS.yU.BLUE}]),_=(e,t)=>{h("click","".concat(nD,"-").concat(e,"-").concat(t))},y=(e,t)=>{h("click","".concat(nD,"-").concat(e,"-").concat(t))};return g.createElement("div",{className:v,ref:t},g.createElement(rg.q,{menuItemId:nD,submenuItem:o,trackingFunction:_}),g.createElement(rg.q,{menuItemId:nD,submenuItem:a,trackingFunction:_}),g.createElement("div",{className:rv.marketData},g.createElement("h3",{className:rv.title},d),g.createElement("div",{className:rv.tickersAndWatchlistButton},g.createElement("div",{className:rv.tickers},!m&&[...Array(12)].map(e=>g.createElement("div",{key:e,className:rv.loadingPill})),m&&m.length?m.map(e=>g.createElement("a",{key:e.id,className:rv.tickerLink,href:re(r,"/quote/".concat(e.id)),"aria-label":e.shortName,onClick:()=>y(d,e.label||e.id)},g.createElement(rp.EK,{ticker:e.id,displayName:e.label||e.id,percentChange:e.percentChange1Day,price:Math.round(100*Number(e.price.replace(/,/g,"")))/100,variant:rp.$e.refresh2024,lines:rp.xh.three,size:rp.$u.default}))):""),g.createElement("div",{className:rv.addToWatchlist},g.createElement("h3",{className:rv.addToWatchlistLabel},g.createElement(ns.jU,{id:"media-ui-nav_trackYourPortFolionFromAnywhere",defaultMessage:"Track your portfolio from anywhere with a Bloomberg Watchlist."})),g.createElement("a",{className:rv.addToWatchlistButton,"aria-label":n({id:"media-ui-nav_arialabel_addToWatchlist",defaultMessage:"Add To Watchlist"}),role:"button",href:"/markets/watchlist",onClick:()=>h("click","Create Watchlist")},g.createElement(E.v8,null),g.createElement(ns.jU,{id:"media-ui-nav_createWatchlist",defaultMessage:"Create Watchlist"}))))))});function r_(e){for(var t=1;t"u")){"number"==typeof(i=r_({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var o in i)i[o]&&(a+="; "+o,!0===i[o]||(a+="="+i[o].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+a}}return Object.create({set:r,get:function(e){if(!(typeof document>"u"||arguments.length&&!e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i{let{isRegionPickerOpen:t,className:n}=e;return g.createElement("div",{className:(0,b.Sh)([n,{[rS.arrowDown]:t}])},g.createElement(E._M,null))},rw=g.forwardRef(function(e,t){let{isRegionPickerOpen:n,setIsRegionPickerOpen:r=()=>{},region:i=nS.Up.US,theme:a=nS.yU.LIGHT,trackingFunction:o}=e,[s,l]=(0,g.useState)(Object.values(nS.Up).includes(i)?i:nS.Up.US),u=(0,ns.Q)();(0,g.useEffect)(()=>{Object.values(nS.Up).includes(i)&&l(i)},[i]);let c=e=>{l(e),r(!1),o("click","edition-".concat(e)),ry(e),window.location.href=nP[e].url},d=()=>(r(!1),!0),h=(0,v.f)("region-picker"),m=(0,b.Sh)([rS.regionPickerContainer,{[rS.light]:a===nS.yU.LIGHT,[rS.dark]:a===nS.yU.DARK,[rS.blue]:a===nS.yU.BLUE}]),{value:f,text:p,switchEditionPrompt:_}=nP[s];return g.createElement(nF(),{active:n,focusTrapOptions:{fallbackFocus:".".concat(rS.regionPickerContainer),clickOutsideDeactivates:()=>d(),allowOutsideClick:!0}},g.createElement("div",{className:m,ref:t,"data-component":h},g.createElement("div",{className:rS.region,"aria-label":u({id:"media-ui-nav_arialabel_selectRegion",defaultMessage:"Select Region"}),"data-testid":"region-button",role:"button","aria-expanded":"".concat(!!n),onClick:()=>{r(!n)},tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),r(!n))}},g.createElement("div",{className:rS.regionText,"aria-label":u({id:"media-ui-nav_arialabel_currentRegion",defaultMessage:"Current Region"}),"data-testid":"region"},_||"".concat(p," Edition")),g.createElement(rC,{isRegionPickerOpen:n})),n&&g.createElement("div",{className:rS.dropdown,"aria-label":u({id:"media-ui-nav_arialabel_regionSelector",defaultMessage:"Region Selector"}),"data-testid":"dropdown"},Object.values(nP).map(e=>g.createElement("button",{className:rS.option,key:e.value,type:"button",onClick:()=>c(e.value)},e.text,e.value===f&&g.createElement(E.kF,{className:rS.checkMark}))))))});n(71364);var rT={menuDesktopContainer:"media-ui-MenuDesktop_menuDesktopContainer--d-70xYyi1I-",bar:"media-ui-MenuDesktop_bar-n0LngOMZTkY-",dropdown:"media-ui-MenuDesktop_dropdown--kkreDnRLyI-",menuItemsContainer:"media-ui-MenuDesktop_menuItemsContainer-7zYb93iB0fw-",menuItems:"media-ui-MenuDesktop_menuItems-jlRLuxZzc2k-",pickers:"media-ui-MenuDesktop_pickers-UD3fQ9j4Icc-",menuItem:"media-ui-MenuDesktop_menuItem-dkjmIzh9cuI-",active:"media-ui-MenuDesktop_active-7VZqbezxUDk-",menuItemsEnter:"media-ui-MenuDesktop_menuItemsEnter--3K4sHqE0Aw-",menuItemsEnterActive:"media-ui-MenuDesktop_menuItemsEnterActive-Oduwnjot7rM-",liveTVMenuItem:"media-ui-MenuDesktop_liveTVMenuItem-Auy490G3xvI-",liveNow:"media-ui-MenuDesktop_liveNow-uWWvpLJ-Q3Q-",dark:"media-ui-MenuDesktop_dark-amvz3umCggE-",blue:"media-ui-MenuDesktop_blue-HMFyFphmjwU-"};let rk=e=>{var t,n;let{id:r,text:i,submenuItems:a,trackingFunction:o,onKeyDown:s}=e,l=a&&(null===(t=a["metadata_".concat(r)])||void 0===t?void 0:t.url),u=a&&(null===(n=a["metadata_".concat(r)])||void 0===n?void 0:n.dropdownListItems);return l?g.createElement(g.Fragment,null,g.createElement("a",{href:l,onClick:()=>o("click",i)},i),u&&u.length>0&&g.createElement("div",{"data-testid":"chevron-arrow",tabIndex:0,onKeyDown:s},g.createElement(E._M,null))):g.createElement(g.Fragment,null,i,a&&Object.keys(a).length>0&&g.createElement("div",{"data-testid":"chevron-arrow",tabIndex:0,onKeyDown:s},g.createElement(E._M,null)))},rI=e=>{let{children:t,isOpen:n}=e,[r,i]=(0,g.useState)(!1),a=(0,g.useRef)(null);return(0,g.useEffect)(()=>{if(!n){i(!1);return}let e=setTimeout(()=>{i(!0)},300);return()=>clearTimeout(e)},[300,n]),r?g.createElement(rf.Z,{in:n,mountOnEnter:!0,timeout:0,nodeRef:a,classNames:{enter:rT.menuItemsEnter,enterActive:rT.menuItemsEnterActive},unmountOnExit:!0},g.createElement("div",{ref:a},t)):null},rA=g.forwardRef(function(e,t){let{onMenuItemActive:n,marketDataTickersUrl:r,menuItems:i,theme:a,region:o,desktopBreakpointClassName:s,trackingFunction:l,locale:u}=e,[c,d]=(0,g.useState)(null),[h,m]=(0,g.useState)(!1),f=(0,ns.Q)();(0,g.useEffect)(()=>{h&&d(null)},[h]),(0,g.useEffect)(()=>{c&&(m(!1),n&&n())},[c]);let p=(e,t)=>{if(!("Enter"!==e.key&&" "!==e.key)){if(e.preventDefault(),c===t){d(null);return}d(t)}},_=(0,v.f)("menu-desktop"),E=n9(u),y=(0,b.Sh)([rT.menuDesktopContainer,{[rT.light]:a===nS.yU.LIGHT,[rT.dark]:a===nS.yU.DARK,[rT.blue]:a===nS.yU.BLUE}]);if(!i||!Object.keys(i).length)return null;let S=c&&i[c],C=!!(S&&nR.has(c)),w=C?S.submenuItems:null,T=!!(S&&!S.useSubmenu&&!nR.has(c));return g.createElement(nF(),{active:!!S,focusTrapOptions:{fallbackFocus:"body",clickOutsideDeactivates:!0,escapeDeactivates:!0,initialFocus:!1,returnFocusOnDeactivate:!1}},g.createElement("div",{className:y,ref:t,"aria-label":f({id:"media-ui-nav_arialabel_menu",defaultMessage:"Menu"}),"data-testid":"menu-desktop","data-component":_,onMouseOver:e=>{let t=e.target,n=t.dataset.menuid,r=t.dataset.submenuid;!n||r||d(n)},onMouseLeave:()=>{d(null)}},g.createElement("div",{className:(0,b.Sh)([rT.bar,s])},g.createElement("div",{className:rT.menuItems},g.createElement("a",{href:E,className:(0,b.Sh)([rT.menuItem,rT.liveTVMenuItem]),"data-menuid":"live-now",onClick:()=>l("click","LiveTV")},g.createElement("span",{className:rT.liveNow},g.createElement(ns.jU,{id:"media-ui-nav_liveTv",defaultMessage:"Live TV"}))),g.createElement("ul",{className:rT.menuItemsContainer},Object.values(i).map(e=>{let{id:t,text:n,submenuItems:r}=e;return g.createElement("li",{className:(0,b.Sh)([rT.menuItem,c===t&&rT.active]),key:t,"aria-label":n,"data-menuid":t},g.createElement(rk,{id:t,text:n,submenuItems:r,trackingFunction:l,onKeyDown:e=>p(e,t)}))}))),g.createElement("div",{className:rT.pickers},g.createElement(rw,{trackingFunction:l,region:o,isRegionPickerOpen:h,setIsRegionPickerOpen:m,theme:a}))),g.createElement(rI,{isOpen:T||C},g.createElement("div",{className:rT.dropdown},T&&g.createElement(nG.z,{marketDataTickersUrl:r,menuItemId:S.id,submenuItems:S.submenuItems,items:S.dropdownListItems,theme:a,desktopBreakpointClassName:s,trackingFunction:(e,t)=>{l("click","".concat(S.text,"-").concat(e,"-").concat(t))}}),C&&w&&g.createElement("div",{className:rT.marketDataContainer},g.createElement(rb,{desktopBreakpointClassName:s,marketDataTickersUrl:r,marketDataLinks:w.market_data_links,marketDataNews:w.news_links,tickers:w.market_data_tickers.dropdownListItems,trackingFunction:l}))))))});n(14390);var rN={logoBarMobileContainer:"media-ui-LogoBarMobile_logoBarMobileContainer-iPnAcUxvR8I-",menuMobile:"media-ui-LogoBarMobile_menuMobile-M4RJaHBvIXE-",exitIcon:"media-ui-LogoBarMobile_exitIcon-9desMC6rJm4-",userAccountProfile:"media-ui-LogoBarMobile_userAccountProfile-644SuzfoX4I-",hamburger:"media-ui-LogoBarMobile_hamburger-v2S6niowyFs-",logo:"media-ui-LogoBarMobile_logo-XzvVftfILnk-",logoWeekend:"media-ui-LogoBarMobile_logoWeekend-Yt11eD4mtVM-",logoUK:"media-ui-LogoBarMobile_logoUK-qtOal-Uz1XQ-",logoLink:"media-ui-LogoBarMobile_logoLink-MV1DgiEaeWc-",bar:"media-ui-LogoBarMobile_bar-zgjgCPzBxTk-",left:"media-ui-LogoBarMobile_left-rF-ymcISWfM-",right:"media-ui-LogoBarMobile_right-0rIQ7fk-KaE-",signInButton:"media-ui-LogoBarMobile_signInButton-NjOyFCGDTLw-",userAccountButton:"media-ui-LogoBarMobile_userAccountButton-UXeoIp48IqI-",exitButton:"media-ui-LogoBarMobile_exitButton-EN-Gkd-qRKs-",subscribeButtonContainer:"media-ui-LogoBarMobile_subscribeButtonContainer-qrdypN163Cs-",subscribeButton:"media-ui-LogoBarMobile_subscribeButton-GzFf5a3agro-",signOutButton:"media-ui-LogoBarMobile_signOutButton-1x7G3okFP4U-",light:"media-ui-LogoBarMobile_light-u1FmOn6RlS0-",dark:"media-ui-LogoBarMobile_dark-BdY9L7ZNqU8-",blue:"media-ui-LogoBarMobile_blue-zQiAC20wjDY-"};let rL=e=>{let{trackingFunction:t,handleShowSignInModal:n,setSignInButtonRef:r}=e,i=(0,g.useRef)(null),a=(0,ns.Q)();return(0,g.useEffect)(()=>{i.current&&(null==r||r(e=>({...e,mobileSignInButton:i.current||void 0})))},[]),g.createElement(g.Fragment,null,g.createElement("button",{"aria-label":a({id:"media-ui-nav_signin",defaultMessage:"Sign In"}),"data-testid":"sign-in-button",ref:i,className:rN.signInButton,onClick:()=>{t("click","signIn"),null==n||n()}},g.createElement(E.fv,{className:rN.userAccountProfile})))},rO=e=>{let{trackingFunction:t,subscriptionUrl:n}=e;return g.createElement("a",{className:rN.subscribeButtonContainer,href:"".concat(n,"?in_source=nav-mobileweb"),target:"_blank",rel:"noreferrer",onClick:()=>t("click","subscribe")},g.createElement("span",{className:rN.subscribeButton},g.createElement(ns.jU,{id:"media-ui-nav_subscribe",defaultMessage:"Subscribe"})))},rM=e=>{let{trackingFunction:t,upgradeUrl:n}=e;return g.createElement("a",{className:rN.subscribeButtonContainer,href:n,target:"_blank",rel:"noreferrer",onClick:()=>t("click","upgrade")},g.createElement("span",{className:rN.subscribeButton},g.createElement(ns.jU,{id:"media-ui-nav_upgrade",defaultMessage:"Upgrade"})))},rP=e=>{let{trackingFunction:t,subscriptionUrl:n,handleShowSignInModal:r,setSignInButtonRef:i}=e;return g.createElement("div",{className:rN.right},g.createElement(rO,{trackingFunction:t,subscriptionUrl:n}),g.createElement(rL,{trackingFunction:t,handleShowSignInModal:r,setSignInButtonRef:i}))},rB=e=>{let{trackingFunction:t,toggleAccountMenu:n,subscriptionUrl:r}=e,i=(0,ns.Q)();return g.createElement("div",{className:rN.right},g.createElement(rO,{trackingFunction:t,subscriptionUrl:r}),g.createElement("button",{className:rN.userAccountButton,onClick:n,"aria-label":i({id:"media-ui-nav_arialabel_accountMenu",defaultMessage:"Account Menu"}),"data-testid":"user-options-button",role:"button"},g.createElement(E.fv,{className:rN.userAccountProfile})))},rD=e=>{let{toggleAccountMenu:t}=e,n=(0,ns.Q)();return g.createElement("div",{className:rN.right},g.createElement("button",{className:rN.exitButton,onClick:t,"aria-label":n({id:"media-ui-nav_arialabel_exitButton",defaultMessage:"Exit"}),"data-testid":"exit-button",role:"button"},g.createElement(E.n$,{className:rN.exitIcon})))},rR=e=>{let{trackingFunction:t,toggleAccountMenu:n,upgradeUrl:r}=e,i=(0,ns.Q)();return g.createElement("div",{className:rN.right},g.createElement(rM,{trackingFunction:t,upgradeUrl:r}),g.createElement("button",{className:rN.userAccountButton,onClick:n,"aria-label":i({id:"media-ui-nav_arialabel_accountMenu",defaultMessage:"Account Menu"}),"data-testid":"user-options-button",role:"button"},g.createElement(E.fv,{className:rN.userAccountProfile})))},rH=e=>{let{toggleAccountMenu:t}=e,n=(0,ns.Q)();return g.createElement("div",{className:rN.right},g.createElement("button",{className:rN.exitButton,onClick:t,"aria-label":n({id:"media-ui-nav_arialabel_exitButton",defaultMessage:"Exit"}),"data-testid":"exit-button",role:"button"},g.createElement(E.n$,{className:rN.exitIcon})))},rx=e=>{let{toggleAccountMenu:t}=e,n=(0,ns.Q)();return g.createElement("div",{className:rN.right},g.createElement("button",{className:rN.userAccountButton,onClick:t,"aria-label":n({id:"media-ui-nav_arialabel_accountMenu",defaultMessage:"Account Menu"}),"data-testid":"user-options-button",role:"button"},g.createElement(E.fv,{className:rN.userAccountProfile})))},rU=e=>{let{toggleAccountMenu:t}=e,n=(0,ns.Q)();return g.createElement("div",{className:rN.right},g.createElement("button",{className:rN.exitButton,onClick:t,"aria-label":n({id:"media-ui-nav_arialabel_exitButton",defaultMessage:"Exit"}),"data-testid":"exit-button",role:"button"},g.createElement(E.n$,{className:rN.exitIcon})))},rF=e=>{let{user:t=im,isAccountMenuOpen:n=!1}=e,r=!(null==t?void 0:t.isLoggedIn),i=(null==t?void 0:t.isLoggedIn)&&!t.isSubscriber,a=(null==t?void 0:t.isLoggedIn)&&t.isSubscriber,o=null==t?void 0:t.showUpgrade;return r&&!n?g.createElement(rP,{...e}):i&&!n?g.createElement(rB,{...e}):i&&n?g.createElement(rD,{...e}):o&&!n?g.createElement(rR,{...e}):o&&n?g.createElement(rH,{...e}):a&&!n?g.createElement(rx,{...e}):a&&n?g.createElement(rU,{...e}):null},rG=e=>{let{isWeekend:t,trackingFunction:n}=e,{region:r}=(0,nx.S)(),i=r===nS.Up.JAPAN?"https://www.bloomberg.co.jp":"/";return t?g.createElement("div",{className:rN.logoWeekend},g.createElement("a",{className:rN.logoLink,href:"/",onClick:()=>n("click","bloomberg")},g.createElement(E.of,null),g.createElement(E.hE,null))):r===nS.Up.UK?g.createElement("div",{className:rN.logoUK},g.createElement("a",{className:rN.logoLink,href:"/uk",onClick:()=>n("click","bloomberg")},g.createElement(E.sk,null))):g.createElement("div",{className:rN.logo},g.createElement("a",{className:rN.logoLink,href:i,onClick:()=>n("click","bloomberg")},g.createElement(E.hE,null)))},rj=e=>{let{isWeekend:t,trackingFunction:n}=e;return g.createElement(rG,{trackingFunction:n,isWeekend:t})},rV=g.forwardRef(function(e,t){let{isWeekend:n,name:r="logo-bar-mobile",theme:i=nS.yU.LIGHT,isMenuOpen:a=!1,toggleMenu:o=()=>{},trackingFunction:s,isJapanLoginEnabled:l}=e,{locale:u}=(0,nx.S)(),c=(0,v.f)(r),d=(0,ns.Q)(),h=(0,b.Sh)([rN.logoBarMobileContainer,{[rN.isWeekend]:n,[rN.light]:i===nS.yU.LIGHT,[rN.dark]:i===nS.yU.DARK,[rN.blue]:i===nS.yU.BLUE}],{name:r});return g.createElement("div",{className:h,ref:t,"data-component":c},g.createElement("div",{className:rN.bar},g.createElement("div",{className:rN.left},g.createElement("button",{className:rN.menuMobile,"aria-label":d({id:"media-ui-nav_arialabel_mobileMenuButton",defaultMessage:"Mobile Menu Button"}),onClick:o,"data-testid":"mobile-menu-button",role:"button"},a?g.createElement(E.n$,{className:rN.exitIcon}):g.createElement(E.pr,{className:rN.hamburger})),g.createElement(rj,{trackingFunction:s,isWeekend:n})),(l||"en"===u)&&g.createElement(rF,{...e})))});n(13499);var rK={menuMobileContainer:"media-ui-MenuMobile_menuMobileContainer-DvrJ3kNYafo-",cursor:"media-ui-MenuMobile_cursor-bHoSETf3mgg-",oneLevelDeepSectionHeader:"media-ui-MenuMobile_oneLevelDeepSectionHeader-3hPepmqapnc-",twoLevelDeepSectionHeader:"media-ui-MenuMobile_twoLevelDeepSectionHeader--Y1LYfermSY-",itemText:"media-ui-MenuMobile_itemText-Vo-npmnpAwE-",oneLevelDeep:"media-ui-MenuMobile_oneLevelDeep-YMMnaFbYozw-",itemTextWithLabel:"media-ui-MenuMobile_itemTextWithLabel-liJgT81O8YY-",oneLevelDeepEmpty:"media-ui-MenuMobile_oneLevelDeepEmpty-wBNoAn6Y8sk-",twoLevelsDeep:"media-ui-MenuMobile_twoLevelsDeep-oLB-zgONhtk-",itemsEnter:"media-ui-MenuMobile_itemsEnter-PDhKD5SBdO8-",itemsEnterActive:"media-ui-MenuMobile_itemsEnterActive-SPo4L-R45DQ-",itemsExit:"media-ui-MenuMobile_itemsExit-fAsEwusUeEE-",itemsExitActive:"media-ui-MenuMobile_itemsExitActive-cG0gxqZmtS8-",link:"media-ui-MenuMobile_link-ct9lF0sC3os-",label:"media-ui-MenuMobile_label-pz-LpyWo-Sg-",chevronRight:"media-ui-MenuMobile_chevronRight-IMsHgagGAvA-",chevronDown:"media-ui-MenuMobile_chevronDown--kNA6aYZn-I-",light:"media-ui-MenuMobile_light-qZmqQArnwwo-",selected:"media-ui-MenuMobile_selected-Z-Q6ptthmDU-",oneLevelDeepSectionHeade:"media-ui-MenuMobile_oneLevelDeepSectionHeade-5ZGO3RPWStI-",dark:"media-ui-MenuMobile_dark-FfdAhlpwMZc-",blue:"media-ui-MenuMobile_blue-0yAWmk5LZXc-",liveNow:"media-ui-MenuMobile_liveNow-gJnkQY5U30I-"};let rW=e=>{let{isOpen:t}=e;return g.createElement("div",{className:t?rK.chevronDown:rK.chevronRight},g.createElement(E.Kh,null))},rz=e=>{let{children:t,isOpen:n}=e,r=(0,g.useRef)(null);return g.createElement(rf.Z,{in:n,mountOnEnter:!0,timeout:200,nodeRef:r,classNames:{enter:rK.itemsEnter,enterActive:rK.itemsEnterActive,exit:rK.itemsExit,exitActive:rK.itemsExitActive},unmountOnExit:!0},g.createElement("ul",{ref:r},t))},rZ=e=>{let{items:t,trackingFunction:n}=e;return g.createElement(g.Fragment,null,t.map(e=>g.createElement("a",{className:rK.link,href:e.url,key:e.id,onClick:()=>n(e.text)},e.text)))},rY=e=>{let{text:t,level:n}=e;return g.createElement("a",{className:"one"===n?rK.oneLevelDeepSectionHeader:rK.twoLevelDeepSectionHeader},t)},rq=e=>{let{text:t}=e;return g.createElement("a",{className:rK.itemText},t,g.createElement(rW,{isOpen:!1}))},rX=e=>{let{text:t,items:n=[],trackingFunction:r}=e;return g.createElement("ul",null,t&&g.createElement(rY,{text:t,level:"two"}),g.createElement(rz,{isOpen:!0},g.createElement(rZ,{trackingFunction:r,items:n})))},rJ=e=>{let{id:t,dropdownListItems:n,text:r,trackingFunction:i}=e,a=!!n.length,o=e=>{i(r,e)};return r?g.createElement("li",{className:(0,b.Sh)([rK.listItem,rK.twoLevelsDeep]),"aria-label":r,"data-submenu-item-id":t,key:t},!a&&g.createElement(rq,{text:r}),a&&g.createElement(rX,{trackingFunction:o,text:r,items:n})):g.createElement(rZ,{trackingFunction:o,items:n})},rQ=e=>{let{text:t,items:n={},trackingFunction:r}=e,[i,a]=(0,g.useState)(!1),o=()=>{a(!i)};return g.createElement(g.Fragment,null,t&&g.createElement("button",{className:(0,b.Sh)([rK.itemText,rK.cursor,i&&rK.selected]),onClick:()=>o()},t,g.createElement(rW,{isOpen:i})),g.createElement(rz,{isOpen:i},Object.values(n).map(e=>g.createElement(rJ,{trackingFunction:r,key:e.id,...e}))))},r$=e=>{let{label:t,text:n,url:r,trackingFunction:i}=e,a=(0,b.Sh)([rK.itemText,{[rK.itemTextWithLabel]:t}]);return g.createElement("a",{href:r,className:a,onClick:()=>i("click",n)},n,t&&g.createElement("span",{className:rK.label},t))},r0=e=>{var t,n;let{menuItem:{id:r,text:i,submenuItems:a={}},trackingFunction:o}=e,s=!!Object.keys(Object.fromEntries(Object.entries(a).filter(e=>{let[t]=e;return t!=="metadata_".concat(r)}))).length,l=a&&(null===(t=a["metadata_".concat(r)])||void 0===t?void 0:t.url),u=a&&(null===(n=a["metadata_".concat(r)])||void 0===n?void 0:n.label);return g.createElement("li",{className:(0,b.Sh)([rK.listItem,rK.oneLevelDeep]),"aria-label":i,"data-menu-item-id":r},!s&&!l&&g.createElement(rY,{text:i,level:"one"}),!s&&l&&g.createElement(r$,{label:u,text:i,url:l,trackingFunction:o}),s&&g.createElement(rQ,{trackingFunction:(e,t)=>{o("click","".concat(i,"-").concat(e,"-").concat(t))},text:i,items:a}))},r1=e=>{let{theme:t=nS.yU.DARK,menuItems:n,trackingFunction:r,locale:i}=e,a=(0,v.f)("menu-mobile"),o=(0,ns.Q)();if(!n||!Object.keys(n).length)return null;let s=n9(i),l=(0,b.Sh)([rK.menuMobileContainer,{[rK.light]:t===nS.yU.LIGHT,[rK.dark]:t===nS.yU.DARK,[rK.blue]:t===nS.yU.BLUE}]);return g.createElement("ul",{className:l,"data-component":a,"data-testid":"menu-mobile","aria-label":o({id:"media-ui-nav_arialabel_menu",defaultMessage:"Menu"})},g.createElement("li",{"aria-label":"Live TV","data-menuid":"live-tv",className:(0,b.Sh)([rK.listItem,rK.oneLevelDeep])},g.createElement("a",{href:s,className:(0,b.Sh)([rK.itemText,rK.liveNow]),onClick:()=>r("click","LiveTV")},g.createElement(ns.jU,{id:"media-ui-nav_liveTv",defaultMessage:"Live TV"}))),Object.entries(n).map(e=>{let[t,n]=e;return g.createElement(r0,{trackingFunction:r,menuItem:n,key:t})}))};n(47190);var r2={regionPickerContainer:"media-ui-RegionPickerMobile_regionPickerContainer-uvCAH59Pr9w-",light:"media-ui-RegionPickerMobile_light-dzGZ9oTROGU-",dark:"media-ui-RegionPickerMobile_dark-TP-r--Kq-oA-",option:"media-ui-RegionPickerMobile_option-QPYRa6-QMKg-",blue:"media-ui-RegionPickerMobile_blue-hkVQlskma0I-",region:"media-ui-RegionPickerMobile_region-NsTY8S5K7so-",regionText:"media-ui-RegionPickerMobile_regionText-T2RWhYeDNr8-",mobileDropdown:"media-ui-RegionPickerMobile_mobileDropdown-AAP8HmnWmSw-",checkMark:"media-ui-RegionPickerMobile_checkMark-wi8ZJ-gFdnI-",chevronDown:"media-ui-RegionPickerMobile_chevronDown-ldv6QpZkHVc-"};let r3=e=>{let{isRegionPickerOpen:t,className:n}=e,r=(0,b.Sh)([n,{[r2.chevronDown]:t}]);return g.createElement("div",{tabIndex:0,"data-component":"chevron",className:r},g.createElement(E._M,null))},r4=g.forwardRef(function(e,t){let{region:n=nS.Up.US,theme:r=nS.yU.LIGHT,trackingFunction:i}=e,[a,o]=g.useState(!1),[s,l]=(0,g.useState)(Object.values(nS.Up).includes(n)?n:nS.Up.US),u=(0,ns.Q)();(0,g.useEffect)(()=>{Object.values(nS.Up).includes(n)&&l(n)},[n]);let c=e=>{l(e),o(!1),i("click","edition-".concat(e)),ry(e),window.location.href=nP[e].url},d=(0,v.f)("region-picker"),h=(0,b.Sh)([r2.regionPickerContainer,{[r2.light]:r===nS.yU.LIGHT,[r2.dark]:r===nS.yU.DARK,[r2.blue]:r===nS.yU.BLUE}]),{value:m,text:f,switchEditionPrompt:p}=nP[s];return g.createElement("div",{className:h,ref:t,"data-component":d},g.createElement("button",{className:r2.region,"aria-label":u({id:"media-ui-nav_arialabel_selectRegion",defaultMessage:"Select Region"}),"data-testid":"region-button",tabIndex:0,onClick:()=>{o(!a)}},g.createElement("div",{className:r2.regionText,"aria-label":u({id:"media-ui-nav_arialabel_currentRegion",defaultMessage:"Current Region"}),"data-testid":"region"},p||"".concat(f," Edition")),g.createElement(r3,{isRegionPickerOpen:a})),a&&g.createElement("div",{className:r2.mobileDropdown,"aria-label":u({id:"media-ui-nav_arialabel_regionSelector",defaultMessage:"Region Selector"}),"data-testid":"dropdown"},Object.values(nP).map(e=>g.createElement("button",{className:r2.option,key:e.value,tabIndex:0,onClick:()=>c(e.value)},e.text,e.value===m&&g.createElement(E.kF,{className:r2.checkMark})))))});n(29066);var r6={dropdownMenuMobileContainer:"media-ui-DropdownMenuMobile_dropdownMenuMobileContainer-VbcL-4H7Rx4-",submenu:"media-ui-DropdownMenuMobile_submenu-WbWBjkI9FO4-",submenuText:"media-ui-DropdownMenuMobile_submenuText-MOCQLYq-APs-",link:"media-ui-DropdownMenuMobile_link-vRj-jVOUxy0-",light:"media-ui-DropdownMenuMobile_light-C3wVrgKUVcg-",dark:"media-ui-DropdownMenuMobile_dark-dfX-5kKFPCI-",blue:"media-ui-DropdownMenuMobile_blue-nxMmfrKuvFY-"};let r8=g.forwardRef(function(e,t){let{items:n,menuItemId:r,submenuItems:i,theme:a=nS.yU.LIGHT,trackingFunction:o}=e,s=(0,v.f)("dropdown-menu-mobile");if(!(i&&Object.keys(i).length)&&!(n&&Object.keys(n).length))return null;let l=(0,b.Sh)([r6.dropdownMenuMobileContainer,{[r6.light]:a===nS.yU.LIGHT,[r6.dark]:a===nS.yU.DARK,[r6.blue]:a===nS.yU.BLUE}]);return g.createElement("div",{className:l,ref:t,id:"dropdown-menu-mobile","data-testid":"dropdown-menu-mobile","aria-label":"Menu","data-component":s,"data-menuid":r},i&&Object.entries(i).map(e=>{let[t,{id:n,text:i,dropdownListItems:a}]=e;return i&&(null==a?void 0:a.length)?g.createElement("div",{className:r6.submenu,key:n},g.createElement("div",{className:r6.submenuText,"data-menuid":r,"data-submenuid":t},i),a.map(e=>g.createElement("a",{className:r6.link,"data-menuid":r,"data-submenuid":r,href:e.url,onClick:()=>o(i,e.text),key:e.id},e.text))):null}))});n(46901);var r5={searchMobileContainer:"media-ui-SearchMobile_searchMobileContainer-GDjo44uDP7w-",inputContainer:"media-ui-SearchMobile_inputContainer-KTsPAXbu5V0-",input:"media-ui-SearchMobile_input-Qrgv4LH2cGE-",searchIcon:"media-ui-SearchMobile_searchIcon-SLpAFbgN2j8-",clearInputButton:"media-ui-SearchMobile_clearInputButton-KpqZ9Zpa7PQ-",exitIcon:"media-ui-SearchMobile_exitIcon-VBB9bAKhNLc-",isSearchActive:"media-ui-SearchMobile_isSearchActive-7xaY8hIyPm0-",dark:"media-ui-SearchMobile_dark-gRAUX3qBF7s-"};let r7=g.forwardRef(function(e,t){let{isSearchActive:n=!1,setIsSearchActive:r=()=>{},name:i="search-mobile",unstyled:a,searchClient:o,theme:s=nS.yU.DARK,trackingFunction:l,countryCode:u="US"}=e,[c,d]=(0,g.useState)(""),[h,m]=n1(),f=(0,v.f)(i),p=(0,ns.Q)(),_=(0,g.useRef)(null),y=(0,b.Sh)([r5.searchMobileContainer,n&&r5.isSearchActive,{[r5.dark]:s===nS.yU.DARK}],{unstyled:a,name:i}),S=(0,g.useCallback)(()=>{d(""),r(!1)},[]),C=(0,g.useCallback)(e=>{d(e),m(e,o,u)},[o,u]);return g.createElement("div",{className:y,ref:t,"data-component":f,tabIndex:0},g.createElement("div",{className:r5.inputContainer},g.createElement(tk.I,{autoComplete:"off",autoCorrect:"off",spellCheck:!1,className:r5.input,id:"bloomberg.com-search-mobile",inputProps:{onFocus:()=>r(!0)},placeholder:p({id:"media-ui-nav_searchBloomberg",defaultMessage:"Search Bloomberg"}),"aria-label":p({id:"media-ui-nav_arialabel_searchBloomberg",defaultMessage:"Search Bloomberg"}),value:c,onChange:e=>C(e.target.value),onKeyDown:e=>{e.currentTarget.value&&"Enter"===e.key&&(l("click","search-InputQuerySearch-".concat(c)),window.location.href="/search?query=".concat(encodeURIComponent(e.currentTarget.value)))}}),g.createElement(E.HN,{className:r5.searchIcon})),n&&g.createElement(r8,{key:"search-dropdown-menu-mobile",menuItemId:"search-dropdown-menu-mobile",theme:s,submenuItems:h,trackingFunction:(e,t)=>{l("click","search-".concat(e,"-").concat(t))}}),g.createElement("button",{ref:_,className:r5.clearInputButton,title:"cancel",type:"button","aria-label":p({id:"media-ui-nav_arialabel_cancelButton",defaultMessage:"Cancel"}),onClick:S},g.createElement(E.n$,{className:r5.exitIcon})))});n(47127);let r9=e=>{e.querySelectorAll("button.gsc-search-button-v2, .gsc-search-button button").forEach(e=>{e.querySelectorAll("svg").forEach(e=>{e.removeAttribute("fill"),e.style.setProperty("fill","var(--color-gray-500)","important"),e.querySelectorAll("path").forEach(e=>{e.removeAttribute("fill"),e.style.setProperty("fill","var(--color-gray-500)","important")})})})},ie=e=>{e.querySelectorAll(".gsst_a, .gscb_a").forEach(e=>{e.style.color="var(--color-white)"})},it=e=>{e.querySelectorAll(".gsc-input input.gsc-input, input.gsc-input, .gsc-input-box input, .gsib_a input").forEach(e=>{let t=e.style;t.cssText+="\n color: var(--color-white) !important;\n -webkit-text-fill-color: var(--color-white) !important;\n caret-color: var(--color-white) !important;\n "})},ir=e=>{e.querySelectorAll("td.gsib_a").forEach(e=>{let t=window.getComputedStyle(e).backgroundImage,n=window.getComputedStyle(e).backgroundPosition,r=window.getComputedStyle(e).backgroundRepeat;if(t&&"none"!==t&&!e.querySelector(".icon-overlay")){let i=document.createElement("div");i.className="icon-overlay",i.style.cssText="\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n height: 100% !important;\n background-image: ".concat(t," !important;\n background-repeat: ").concat(r," !important;\n background-position: ").concat(n," !important;\n filter: brightness(0) invert(0.6) !important;\n pointer-events: none !important;\n z-index: 0 !important;\n "),e.style.position="relative",e.style.backgroundImage="none",e.appendChild(i)}})},ii=g.forwardRef(function(e,t){let{name:n="search-mobile-japan",unstyled:r}=e,i=(0,v.f)(n),a=g.useRef(null);g.useImperativeHandle(t,()=>a.current),(0,g.useEffect)(()=>{let e=document.createElement("script");return e.src="https://cse.google.com/cse.js?cx=60d37b10a9757480c",e.async=!0,document.body.appendChild(e),()=>{document.body.contains(e)&&document.body.removeChild(e)}},[]),(0,g.useEffect)(()=>{let e=()=>{a.current&&(r9(a.current),ie(a.current),it(a.current),ir(a.current))},t=new MutationObserver(()=>{e()});return t.observe(document.body,{childList:!0,subtree:!0}),()=>{t.disconnect()}},[]);let o=(0,b.Sh)(["media-ui-SearchMobile_searchMobileJapanContainer-UJu6YE7CM6Y-"],{unstyled:r,name:n});return g.createElement("div",{className:o,ref:a,"data-component":i},g.createElement("div",{className:"gcse-search"}))});n(10032);var ia={userOptionsDropdownMobileContainer:"media-ui-UserOptionsDropdownMobile_userOptionsDropdownMobileContainer-fCA8bzw4VHA-",subscribe:"media-ui-UserOptionsDropdownMobile_subscribe-hLFovKX4eAc-",subscribeText:"media-ui-UserOptionsDropdownMobile_subscribeText-bfFw1kdEckM-",sectionHeader:"media-ui-UserOptionsDropdownMobile_sectionHeader-Ql2ONPgqMQA-",optionText:"media-ui-UserOptionsDropdownMobile_optionText-8Hwb0fohItI-",optionSeparator:"media-ui-UserOptionsDropdownMobile_optionSeparator-31SiLUC-Sfw-",signOut:"media-ui-UserOptionsDropdownMobile_signOut-QYCJIGCpnWo-",subscribeButton:"media-ui-UserOptionsDropdownMobile_subscribeButton--DXlnxgCIdk-",dark:"media-ui-UserOptionsDropdownMobile_dark-PpPMxqQ7vuU-",light:"media-ui-UserOptionsDropdownMobile_light-omiXF9uj0wQ-",option:"media-ui-UserOptionsDropdownMobile_option-cUsRmKh8ZRg-",blue:"media-ui-UserOptionsDropdownMobile_blue-cu1BlfJXmWg-",badge:"media-ui-UserOptionsDropdownMobile_badge-R3Rpdwfej3s-"};let io=e=>{let{trackingFunction:t,subscriptionUrl:n}=e;return g.createElement("a",{className:ia.subscribeButton,href:"".concat(n,"?in_source=nav-account-dropdown"),target:"_blank",rel:"noreferrer",onClick:()=>t("click","subscribe")},g.createElement(ns.jU,{id:"media-ui-nav_subscribe",defaultMessage:"Subscribe"}))},is=e=>{let{text:t,url:n,badge:r,onUserOptionSelect:i,onSignOut:a}=e;return n===nN.url?g.createElement("div",{className:(0,b.Sh)([ia.optionText,ia.signOut]),key:t,onClick:a,"aria-label":"user-dropdown-mobile-option-".concat(t)},g.createElement("p",null,t)):g.createElement("div",{className:ia.optionText,key:t,onClick:()=>i(n),"aria-label":t},g.createElement("p",null,t,r&&g.createElement("span",{className:ia.badge},r)))},il=g.forwardRef(function(e,t){let{sections:n,theme:r,user:i,onSignOut:a,trackingFunction:o,subscriptionUrl:s}=e,{locale:l}=(0,nx.S)(),u=(0,ns.Q)(),c=(0,v.f)("user-options-dropdown-mobile"),d=(0,b.Sh)([ia.userOptionsDropdownMobileContainer,{[ia.light]:r===nS.yU.LIGHT,[ia.dark]:r===nS.yU.DARK,[ia.blue]:r===nS.yU.BLUE}]),h=e=>{window.open(e,"_self")};return g.createElement("div",{className:d,"data-component":c,"data-testid":"user-options-dropdown",ref:t},!i.isSubscriber&&g.createElement("div",{className:ia.subscribe},g.createElement("p",{className:ia.subscribeText},u({id:"media-ui-nav_subscribeToSaveAndGiftArticles",defaultMessage:"Subscribe to save and gift articles, and access exclusive newsletters"})),g.createElement(io,{trackingFunction:o,subscriptionUrl:s})),Object.entries(n).map((e,t)=>{let[r,{text:i,items:o}]=e;return g.createElement(g.Fragment,null,g.createElement("div",{className:ia.option,key:r},i&&g.createElement("h2",{className:ia.sectionHeader},i),o.map(e=>{let{text:t,url:n,badge:r}=e;return g.createElement(is,{key:t,text:t,badge:r,url:re(l,n),onUserOptionSelect:h,onSignOut:a})})),t!==Object.keys(n).length-1&&g.createElement("div",{className:ia.optionSeparator}))}))});n(19923);var iu={open:"media-ui-NavMobile_open-ueGZ4wKJSOc-",mobileNavContent:"media-ui-NavMobile_mobileNavContent-fXa3pH--4Xo-",dark:"media-ui-NavMobile_dark-Opy7eSA3j1M-"};let ic=e=>{let{user:t=im}=e,{subscriptionsData:n=[]}=t,r=(null==t?void 0:t.isLoggedIn)&&!t.isSubscriber,i=(null==t?void 0:t.isLoggedIn)&&t.isSubscriber,a=t.isSubscriber&&n.some(e=>e.corporateHubAccess),o=(0,ns.Q)();return r?g.createElement(il,{...e,user:t,sections:ri(nL,o)}):a?g.createElement(il,{...e,user:t,sections:ri(nM,o)}):i?g.createElement(il,{...e,user:t,sections:ri(nO,o)}):null},id=(0,g.forwardRef)(function(e,t){let{isWeekend:n,region:r=nS.Up.US,searchClient:i,theme:a=nS.yU.DARK,user:o=im,trackingFunction:s,countryCode:l,subscriptionUrl:u,upgradeUrl:c,handleShowSignInModal:d,setSignInButtonRef:h,isJapanLoginEnabled:m}=e,[f,p]=(0,g.useState)(!1),[v,_]=(0,g.useState)(!1),[E,y]=(0,g.useState)(!1),S=f||v,C=(0,ns.Q)(),{locale:w}=(0,nx.S)();(0,g.useImperativeHandle)(t,()=>({getIsMenuOpen:()=>S})),(0,g.useEffect)(()=>{document.body.style.overflowY=S?"hidden":"auto"},[S]),(0,g.useEffect)(()=>{f||y(!1)},[f]);let T=(0,b.Sh)([iu.navMobileContainer,{[iu.light]:a===nS.yU.LIGHT,[iu.dark]:a===nS.yU.DARK,[iu.blue]:a===nS.yU.BLUE,[iu.open]:f||v}]),k=(0,g.useCallback)(()=>{_(!1),p(e=>!e)},[]),I=(0,g.useCallback)(()=>{p(!1),o.isLoggedIn&&_(e=>!e)},[o.isLoggedIn]);return g.createElement(nF(),{active:S,focusTrapOptions:{fallbackFocus:"body",clickOutsideDeactivates:!0,escapeDeactivates:!0}},g.createElement("div",{className:T},g.createElement("div",{className:iu.mobileNavContent},g.createElement(rV,{region:r,isMenuOpen:f,isAccountMenuOpen:v,isWeekend:n,user:o,theme:a,toggleMenu:k,toggleAccountMenu:I,trackingFunction:s,subscriptionUrl:u,upgradeUrl:c,countryCode:l,handleShowSignInModal:d,setSignInButtonRef:h,isJapanLoginEnabled:m}),f&&g.createElement(g.Fragment,null,g.createElement(r4,{trackingFunction:s,region:r,theme:a}),"en"===w&&g.createElement(r7,{isSearchActive:E,setIsSearchActive:y,trackingFunction:s,searchClient:i,countryCode:l}),"jp"===w&&g.createElement(ii,null),!E&&g.createElement(r1,{region:r,...e})),v&&g.createElement("div",{"aria-label":C({id:"media-ui-nav_arialabel_userAccountMenu",defaultMessage:"User Account Menu"})},g.createElement(ic,{...e})))))});n(12307);var ih={navContainer:"media-ui-Nav_navContainer-hjs68ExRvE4-",desktop:"media-ui-Nav_desktop-H4T7bcdLqpc-",mobile:"media-ui-Nav_mobile-G7SxDZ43xgY-"};let im={isLoggedIn:!1,isSubscriber:!1},ip=g.forwardRef(function(e,t){let{bannerData:n={},menuItems:r={menuItemsDesktop:{},menuItemsMobile:{}},name:i="nav",locale:a="en",region:o=nS.Up.US,countryCode:s,theme:l=nS.yU.LIGHT,trackingFunction:u=()=>{},bannersTrackingFunction:c=()=>{},initializeSignInWithRegUI:d=()=>{},desktopBreakpointClassName:h,regUIClient:m,disableOnboarding:f=!1,isJapanLoginEnabled:p=!1}=e,[_,E]=(0,g.useState)(o),y=(0,g.useRef)(null),[S,C]=(0,g.useState)(!1),[w,T]=(0,g.useState)(),[k,I]=(0,g.useState)(!1),A=(0,g.useRef)(!1);(0,g.useEffect)(()=>{let e=rE.get(nB);e&&E(e)},[]),(0,g.useEffect)(()=>{A.current||(p||"en"===a)&&(A.current=!0,I(!0))},[a,p]);let N=()=>{var e;if(window.innerWidth>1087){document.body.style.overflowY="auto";return}(null==y?void 0:null===(e=y.current)||void 0===e?void 0:e.getIsMenuOpen())&&(document.body.style.overflowY="hidden")};(0,g.useEffect)(()=>(window.addEventListener("resize",N),()=>{window.removeEventListener("resize",N)}),[]);let L=(0,v.f)(i),{menuItemsDesktop:O,menuItemsMobile:M}=r,P=(0,b.Sh)([ih.navContainer,{[ih.light]:l===nS.yU.LIGHT,[ih.dark]:l===nS.yU.DARK,[ih.blue]:l===nS.yU.BLUE}],{name:i}),B=(0,g.useCallback)((e,t)=>{u(e,t)},[u]),D=()=>{C(!0)};return g.createElement(nx.N,{locale:a,region:o},g.createElement("nav",{className:P,ref:t,"data-component":L},k&&g.createElement(nr,{signInClicked:S,setSignInClicked:C,countryCode:s,regUIClient:m,enableOnboarding:!f,initializeSignInIframe:()=>{if(!(!k||!w)){if(!w.mobileSignInButton&&!w.desktopSignInButton){console.error("There is no signInIframeRef button!");return}d(w)}}}),g.createElement(ig,{...e,region:_,trackingFunction:B,menuItems:O,handleShowSignInModal:D,setSignInButtonRef:T}),g.createElement("div",{className:ih.mobile},g.createElement(id,{...e,ref:y,region:_,menuItems:M,trackingFunction:B,handleShowSignInModal:D,setSignInButtonRef:T})),g.createElement(iv,{bannerData:n,desktopBreakpointClassName:h,trackingFunction:c})))});function ig(e){let{desktopBreakpointClassName:t,hideMenu:n,onSignOut:r,isWeekend:i,region:a=nS.Up.US,searchClient:o,theme:s,user:l,trackingFunction:u,countryCode:c,subscriptionUrl:d,upgradeUrl:h,handleShowSignInModal:m,setSignInButtonRef:f,navTips:p,isJapanLoginEnabled:v=!1}=e,[b,_]=(0,g.useState)(!1);return g.createElement("div",{className:ih.desktop},g.createElement(rm,{region:a,isUserOptionsDropdownOpen:b,setIsUserOptionsDropdown:e=>_(e),isWeekend:i,searchClient:o,theme:s,user:l,desktopBreakpointClassName:t,onSignOut:r,trackingFunction:u,countryCode:c,subscriptionUrl:d,upgradeUrl:h,tips:p,handleShowSignInModal:m,setSignInButtonRef:f,isJapanLoginEnabled:v}),!n&&g.createElement(rA,{...e,onMenuItemActive:()=>{_(!1)},region:a}))}function iv(e){let{bannerData:t,desktopBreakpointClassName:n,trackingFunction:r}=e,{regionalAuthorSession:i,globalAuthorSession:a,regionalBreakingNews:o,globalBreakingNews:s,regionalBreakingNewsLiveStream:l,globalBreakingNewsLiveStream:u}=t;return i||a||o||s||l||u?g.createElement("div",{className:ih.banners},o&&g.createElement(nu,{...o,desktopBreakpointClassName:n,trackingFunction:r}),s&&g.createElement(nu,{...s,desktopBreakpointClassName:n,trackingFunction:r}),i&&g.createElement(no,{...i,desktopBreakpointClassName:n,trackingFunction:r}),a&&g.createElement(no,{...a,desktopBreakpointClassName:n,trackingFunction:r}),l&&g.createElement(ny,{...l,desktopBreakpointClassName:n,trackingFunction:r}),u&&g.createElement(ny,{...u,desktopBreakpointClassName:n,trackingFunction:r})):null}},57745:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(67294),i=n(25434),a=n(77536),o=n(25173),s=n(50508);n(62488);var l={submenuDesktopContainer:"media-ui-SubmenuDesktop_submenuDesktopContainer-ZG61n79JQtY-",submenuText:"media-ui-SubmenuDesktop_submenuText-fStbtfbPGdI-",link:"media-ui-SubmenuDesktop_link-B9b8-zDvba4-",linkWithLabel:"media-ui-SubmenuDesktop_linkWithLabel-6f5k1vxR6fU-",label:"media-ui-SubmenuDesktop_label--tTyLRH-s9U-",dark:"media-ui-SubmenuDesktop_dark-chhx-Ls2d3U-"};let u=r.forwardRef(function(e,t){let{menuItemId:n,submenuItem:u,theme:c=o.yU.DARK,trackingFunction:d}=e,{id:h,text:m,dropdownListItems:f}=u,p=(0,s.Q)(),g=(0,i.f)("submenu-desktop");if(!(null==f?void 0:f.length))return null;let v=(0,a.Sh)([l.submenuDesktopContainer,{[l.dark]:c===o.yU.DARK}]);return r.createElement("div",{className:v,key:h,ref:t,"aria-label":p({id:"media-ui-nav_arialabel_subMenuDesktop",defaultMessage:"submenu-desktop"}),"data-component":g},m&&r.createElement("div",{className:l.submenuText,"data-menuid":n,"data-submenuid":h},m),f.map((e,t)=>{let i=(0,a.Sh)([l.link,{[l.linkWithLabel]:e.label}]);return r.createElement("a",{className:i,"data-menuid":n,"data-submenuid":n,href:e.url,key:"".concat(h,":").concat(e.id,"-").concat(t),onClick:()=>d(m,e.text)},e.text,e.label&&r.createElement("span",{className:l.label},e.label))}))})},25173:function(e,t,n){"use strict";let r,i,a,o,s;n.d(t,{Up:function(){return l},yU:function(){return c}});var l=((r=l||{}).US="AMER",r.EUROPE="EUR",r.ASIA="APAC",r.UK="UK",r.MIDDLE_EAST="MIDEAST",r.AFRICA="AFRICA",r.JAPAN="JAPAN",r.CANADA="CANADA",r.LATAM="LATAM",r),u=((i=u||{}).EN="en",i),c=((a=c||{}).DARK="dark",a.LIGHT="light",a.BLUE="blue",a),d=((o=d||{}).LIVE="LIVE",o["STARTING SOON"]="STARTING SOON",o),h=((s=h||{}).CORPORATE_HUB="corporateHub",s)},50508:function(e,t,n){"use strict";n.d(t,{jU:function(){return ti},Q:function(){return tr}});var r,i,a,o,s,l,u=n(67294),c=n(86896),d=n(64618),h=n(70700),m=n(85893),f=n(44012),p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function g(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var v=function(){return(v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"&&(a=e.call(this,r),t.set(i,a)),a}function y(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}"function"==typeof SuppressedError&&SuppressedError;var S=function(){return JSON.stringify(arguments)},C=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),w={create:function(){return new C}},T={variadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,y.bind(this,e,n,r)},monadic:function(e,t){var n,r;return n=t.cache.create(),r=t.serializer,E.bind(this,e,n,r)}};(Q=en||(en={})).FORMAT_ERROR="FORMAT_ERROR",Q.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",Q.INVALID_CONFIG="INVALID_CONFIG",Q.MISSING_DATA="MISSING_DATA",Q.MISSING_TRANSLATION="MISSING_TRANSLATION";var k=function(e){function t(n,r,i){var a=this,o=i?i instanceof Error?i:Error(String(i)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return g(t,e),t}(Error),I=function(e){function t(t,n){return e.call(this,en.UNSUPPORTED_FORMATTER,t,n)||this}return g(t,e),t}(k),A=function(e){function t(t,n){return e.call(this,en.INVALID_CONFIG,t,n)||this}return g(t,e),t}(k),N=function(e){function t(t,n){return e.call(this,en.MISSING_DATA,t,n)||this}return g(t,e),t}(k),L=function(e){function t(t,n,r){var i=e.call(this,en.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),r)||this;return i.locale=n,i}return g(t,e),t}(k),O=function(e){function t(t,n,r,i){var a=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,i)||this;return a.descriptor=r,a.locale=n,a}return g(t,e),t}(L),M=function(e){function t(t,n){var r=e.call(this,en.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return r.descriptor=t,r}return g(t,e),t}(k);function P(e){return e.type===ei.literal}function B(e){return e.type===ei.number}function D(e){return e.type===ei.date}function R(e){return e.type===ei.time}function H(e){return e.type===ei.select}function x(e){return e.type===ei.plural}function U(e){return e.type===ei.tag}function F(e){return!!(e&&"object"==typeof e&&e.type===ea.number)}function G(e){return!!(e&&"object"==typeof e&&e.type===ea.dateTime)}($=er||(er={}))[$.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",$[$.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",$[$.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",$[$.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",$[$.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",$[$.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",$[$.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",$[$.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",$[$.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",$[$.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",$[$.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",$[$.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",$[$.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",$[$.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",$[$.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",$[$.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",$[$.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",$[$.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",$[$.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",$[$.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",$[$.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",$[$.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",$[$.INVALID_TAG=23]="INVALID_TAG",$[$.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",$[$.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",$[$.UNCLOSED_TAG=27]="UNCLOSED_TAG",(ee=ei||(ei={}))[ee.literal=0]="literal",ee[ee.argument=1]="argument",ee[ee.number=2]="number",ee[ee.date=3]="date",ee[ee.time=4]="time",ee[ee.select=5]="select",ee[ee.plural=6]="plural",ee[ee.pound=7]="pound",ee[ee.tag=8]="tag",(et=ea||(ea={}))[et.number=0]="number",et[et.dateTime=1]="dateTime";var j=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,V={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},K=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,W=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,z=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Z=/^(@+)?(\+|#+)?[rs]?$/g,Y=/(\*)(0+)|(#+)(0+)|(0+)/g,q=/^(0+)$/;function X(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Z,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function J(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}var Q,$,ee,et,en,er,ei,ea,eo,es=new RegExp("^".concat(j.source,"*")),el=new RegExp("".concat(j.source,"*$"));function eu(e,t){return{start:e,end:t}}var ec=!!String.prototype.startsWith&&"_a".startsWith("a",1),ed=!!String.fromCodePoint,eh=!!Object.fromEntries,em=!!String.prototype.codePointAt,ef=!!String.prototype.trimStart,ep=!!String.prototype.trimEnd,eg=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},ev=!0;try{var eb=eT("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ev=(null===(eo=eb.exec("a"))||void 0===eo?void 0:eo[0])==="a"}catch(e){ev=!1}var e_=ec?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},eE=ed?String.fromCodePoint:function(){for(var e=[],t=0;ta;){if((n=e[a++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return r},ey=eh?Object.fromEntries:function(e){for(var t={},n=0;n=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},eC=ef?function(e){return e.trimStart()}:function(e){return e.replace(es,"")},ew=ep?function(e){return e.trimEnd()}:function(e){return e.replace(el,"")};function eT(e,t){return new RegExp(e,t)}if(ev){var ek=eT("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");o=function(e,t){var n;return ek.lastIndex=t,null!==(n=ek.exec(e)[1])&&void 0!==n?n:""}}else o=function(e,t){for(var n=[];;){var r,i=eS(e,t);if(void 0===i||eN(i)||(r=i)>=33&&r<=35||36===r||r>=37&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||r>=162&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||r>=8208&&r<=8213||r>=8214&&r<=8215||8216===r||8217===r||8218===r||r>=8219&&r<=8220||8221===r||8222===r||8223===r||r>=8224&&r<=8231||r>=8240&&r<=8248||8249===r||8250===r||r>=8251&&r<=8254||r>=8257&&r<=8259||8260===r||8261===r||8262===r||r>=8263&&r<=8273||8274===r||8275===r||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||8608===r||r>=8609&&r<=8610||8611===r||r>=8612&&r<=8613||8614===r||r>=8615&&r<=8621||8622===r||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||8658===r||8659===r||8660===r||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||8968===r||8969===r||8970===r||8971===r||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||9001===r||9002===r||r>=9003&&r<=9083||9084===r||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||9655===r||r>=9656&&r<=9664||9665===r||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||9839===r||r>=9840&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||r>=10132&&r<=10175||r>=10176&&r<=10180||10181===r||10182===r||r>=10183&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||r>=10649&&r<=10711||10712===r||10713===r||10714===r||10715===r||r>=10716&&r<=10747||10748===r||10749===r||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||11158===r||r>=11159&&r<=11263||r>=11776&&r<=11777||11778===r||11779===r||11780===r||11781===r||r>=11782&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||r>=11790&&r<=11798||11799===r||r>=11800&&r<=11801||11802===r||11803===r||11804===r||11805===r||r>=11806&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||r>=11818&&r<=11822||11823===r||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||11840===r||11841===r||11842===r||r>=11843&&r<=11855||r>=11856&&r<=11857||11858===r||r>=11859&&r<=11903||r>=12289&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||r>=12306&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||r>=12318&&r<=12319||12320===r||12336===r||64830===r||64831===r||r>=65093&&r<=65094)break;n.push(i),t+=i>=65536?2:1}return eE.apply(void 0,n)};var eI=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){var a=this.parseArgument(e,n);if(a.err)return a;r.push(a.val)}else{if(125===i&&e>0)break;if(35===i&&("plural"===t||"selectordinal"===t)){var o=this.clonePosition();this.bump(),r.push({type:ei.pound,location:eu(o,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&eA(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;r.push(a.val)}}else{if(n)break;return this.error(er.UNMATCHED_CLOSING_TAG,eu(this.clonePosition(),this.clonePosition()))}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ei.literal,value:"<".concat(r,"/>"),location:eu(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(er.INVALID_TAG,eu(n,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(!this.bumpIf("")?{val:{type:ei.tag,value:r,children:a,location:eu(n,this.clonePosition())},err:null}:this.error(er.INVALID_TAG,eu(o,this.clonePosition())))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i){r+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){r+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){r+=o;continue}break}var s=eu(n,this.clonePosition());return{val:{type:ei.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(eA(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return eE.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),eE(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(er.EXPECT_ARGUMENT_CLOSING_BRACE,eu(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(er.EMPTY_ARGUMENT,eu(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(er.MALFORMED_ARGUMENT,eu(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(er.EXPECT_ARGUMENT_CLOSING_BRACE,eu(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ei.argument,value:r,location:eu(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(er.EXPECT_ARGUMENT_CLOSING_BRACE,eu(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(er.MALFORMED_ARGUMENT,eu(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=o(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:eu(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(er.EXPECT_ARGUMENT_TYPE,eu(a,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var d=ew(c.val);if(0===d.length)return this.error(er.EXPECT_ARGUMENT_STYLE,eu(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:eu(u,this.clonePosition())}}var h=this.tryParseArgumentClose(r);if(h.err)return h;var m=eu(r,this.clonePosition());if(l&&e_(null==l?void 0:l.style,"::",0)){var f,p=eC(l.style.slice(2));if("number"===o){var c=this.parseNumberSkeletonFromString(p,l.styleLocation);return c.err?c:{val:{type:ei.number,value:n,location:m,style:c.val},err:null}}if(0===p.length)return this.error(er.EXPECT_DATE_TIME_SKELETON,m);var g=p;this.locale&&(g=function(e,t){for(var n="",r=0;r>1),l=function(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(V[n||""]||V[r||""]||V["".concat(r,"-001")]||V["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)n+="a";for(;o-- >0;)n=l+n}else"J"===i?n+="H":n+=i}return n}(p,this.locale));var d={type:ea.dateTime,pattern:g,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(f={},g.replace(K,function(e){var t=e.length;switch(e[0]){case"G":f.era=4===t?"long":5===t?"narrow":"short";break;case"y":f.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":f.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":f.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":f.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");f.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");f.weekday=["short","long","narrow","short"][t-4];break;case"a":f.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":f.hourCycle="h12",f.hour=["numeric","2-digit"][t-1];break;case"H":f.hourCycle="h23",f.hour=["numeric","2-digit"][t-1];break;case"K":f.hourCycle="h11",f.hour=["numeric","2-digit"][t-1];break;case"k":f.hourCycle="h24",f.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":f.minute=["numeric","2-digit"][t-1];break;case"s":f.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":f.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),f):{}};return{val:{type:"date"===o?ei.date:ei.time,value:n,location:m,style:d},err:null}}return{val:{type:"number"===o?ei.number:"date"===o?ei.date:ei.time,value:n,location:m,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var b=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(er.EXPECT_SELECT_ARGUMENT_OPTIONS,eu(b,v({},b)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),E=0;if("select"!==o&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(er.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,eu(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(er.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,er.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),_=this.parseIdentifierIfPossible(),E=c.val}var y=this.tryParsePluralOrSelectOptions(e,o,t,_);if(y.err)return y;var h=this.tryParseArgumentClose(r);if(h.err)return h;var S=eu(r,this.clonePosition());return"select"===o?{val:{type:ei.select,value:n,options:ey(y.val),location:S},err:null}:{val:{type:ei.plural,value:n,options:ey(y.val),offset:E,pluralType:"plural"===o?"cardinal":"ordinal",location:S},err:null};default:return this.error(er.INVALID_ARGUMENT_TYPE,eu(a,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(er.EXPECT_ARGUMENT_CLOSING_BRACE,eu(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(er.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,eu(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(W).filter(function(e){return e.length>0}),n=[],r=0;r1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Y,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw Error("We currently do not support maximum integer digits");if(o)throw Error("We currently do not support exact integer digits")}return""});continue}if(q.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(z.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(z,function(e,n,r,i,a,o){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var i=r.options[0];"w"===i?t=v(v({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=v(v({},t),X(i)));continue}if(Z.test(r.stem)){t=v(v({},t),X(r.stem));continue}var a=J(r.stem);a&&(t=v(v({},t),a));var o=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!q.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);o&&(t=v(v({},t),o))}return t}(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,o=[],s=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(er.EXPECT_PLURAL_ARGUMENT_SELECTOR,er.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;u=eu(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}else break}if(s.has(l))return this.error("select"===t?er.DUPLICATE_SELECT_ARGUMENT_SELECTOR:er.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(a=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?er.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:er.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,eu(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var f=this.tryParseArgumentClose(h);if(f.err)return f;o.push([l,{value:m.val,location:eu(h,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===o.length?this.error("select"===t?er.EXPECT_SELECT_ARGUMENT_SELECTOR:er.EXPECT_PLURAL_ARGUMENT_SELECTOR,eu(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(er.MISSING_OTHER_CLAUSE,eu(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)i=!0,a=10*a+(o-48),this.bump();else break}var s=eu(r,this.clonePosition());return i?eg(a*=n)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=eS(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(e_(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&eN(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function eA(e){return e>=97&&e<=122||e>=65&&e<=90}function eN(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function eL(e,t){void 0===t&&(t={});var n=new eI(e,t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(n.err){var r=SyntaxError(er[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,H(t)||x(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else B(t)&&F(t.style)||(D(t)||R(t))&&G(t.style)?delete t.style.location:U(t)&&e(t.children)})}(n.val),n.val}(r=s||(s={})).MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API";var eO=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return g(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),eM=function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),s.INVALID_VALUE,i)||this}return g(t,e),t}(eO),eP=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),s.INVALID_VALUE,r)||this}return g(t,e),t}(eO),eB=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),s.MISSING_VALUE,n)||this}return g(t,e),t}(eO);function eD(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(i=l||(l={}))[i.literal=0]="literal",i[i.object=1]="object";var eR=function(){function e(t,n,r,i){void 0===n&&(n=e.defaultLocale);var a,o,u=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===l.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return function e(t,n,r,i,a,o,u){if(1===t.length&&P(t[0]))return[{type:l.literal,value:t[0].value}];for(var c=[],d=0;dt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}(c,["formatters"]));this.ast=e.__parse(t,v(v({},d),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,r?Object.keys(a).reduce(function(e,t){var n,i;return e[t]=(n=a[t],(i=r[t])?v(v(v({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=v(v({},n[t]),i[t]||{}),e},{})):n),e},v({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:_(function(){for(var e,t=[],n=0;n"u")){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=eL,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function eH(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}var ex={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function eU(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function eF(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function eG(e,t,n,r){var i,a=e&&e[t];if(a&&(i=a[n]),i)return i;r(new I("No ".concat(t," format named: ").concat(n)))}var ej=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function eV(e,t,n,r){var i=e.locale,a=e.formats,o=e.onError,s=e.timeZone;void 0===r&&(r={});var l=r.format,u=eH(r,ej,v(v({},s&&{timeZone:s}),l&&eG(a,t,l,o)));return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=v(v({},u),{hour:"numeric",minute:"numeric"})),n(i,u)}function eK(e,t){for(var n=[],r=2;r{let e;try{let t=(0,c.Z)();e=(0,u.useCallback)((e,n)=>{let{id:r,defaultMessage:i}=e;return t.formatMessage({id:r,defaultMessage:i},n)},[t,a])}catch(r){let t=(0,d.Sn)(),n=(0,h.d)({locale:"en",messages:{}},t);e=(e,t)=>{let{defaultMessage:r,id:i}=e;return n.formatMessage({defaultMessage:r,id:i},t)}}return e}),ti=e=>{let{id:t,values:n,defaultMessage:r,children:i,...a}=e;try{return(0,c.Z)(),(0,m.jsx)(f.Z,{id:t,values:n,children:i,defaultMessage:r,...a})}catch(a){var o,s,l,u,d,h,p,g,E,y,S,C,w,k;let e=(o={locale:"en",messages:{}},void 0===(s=eU())&&(s=eU()),l=Intl.RelativeTimeFormat,u=Intl.ListFormat,d=Intl.DisplayNames,h=_(function(){for(var e,t=[],n=0;n{I(!1),f&&f()},[]);return x&&(w||!H)?r.createElement(l.ll,{root:_,id:y},r.createElement(l.wD,{initialFocus:-1,returnFocus:!1,closeOnFocusOut:!1,modal:!1,context:O},r.createElement("div",{className:F,ref:G,"data-component":T,style:{...L,...U},...D()},r.createElement(l.Y$,{style:{transform:"translateY(-1px)"},className:d.arrow,height:18,width:22,ref:A,context:O,strokeWidth:1,stroke:"var(--color-gray-700)"}),r.createElement("p",{className:d.eyebrow},r.createElement("span",{className:d.eyebrowText},E&&r.createElement("span",{className:d.badge},E),h,g),r.createElement(o.h,{onClick:j,size:"small",version:"phoenix",Icon:r.createElement(s.n$,{className:d.exitIcon})})),b&&r.createElement("p",null,b)))):null})},50448:function(e,t,n){"use strict";n.d(t,{N7:function(){return W},YM:function(){return z}}),(a=h||(h={})).en="en",a.ja="ja",(o=m||(m={}))["menu-items"]="menu-items",o["footer-menu-items"]="footer-menu-items",(s=f||(f={})).desktop="desktop",s.mobile="mobile",s.default="default";let r={[h.en]:{[m["menu-items"]]:{[f.desktop]:"new_navi_1",[f.mobile]:"new_navi_mobile_1"},[m["footer-menu-items"]]:{[f.default]:"new_navi_footer"}},[h.ja]:{[m["menu-items"]]:{[f.desktop]:"nav-japan--desktop",[f.mobile]:"nav-japan--mobile"},[m["footer-menu-items"]]:{[f.default]:"nav-japan--footer"}}};(l=p||(p={})).AFRICA="AFRICA",l.ASIA="APAC",l.EUROPE="EUR",l.JAPAN="JAPAN",l.MIDDLE_EAST="MIDEAST",l.US="AMER",l.UK="UK",l.LATAM="LATAM",(u=g||(g={})).AFRICA="AFRICA",u.ASIA="APAC",u.EUROPE="EUR",u.GLOBAL="GLOBAL",u.JAPAN="JAPAN",u.MIDDLE_EAST="MIDEAST",u.US="AMER",u.UK="UK",u.LATAM="LATAM",(c=v||(v={})).ENGLISH="english",c.JAPANESE="japanese",(d=b||(b={})).PUBLISHED="PUBLISHED",d.DRAFT="DRAFT";var i,a,o,s,l,u,c,d,h,m,f,p,g,v,b,_,E=n(34155);class y{getPathForCuration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.default;return"".concat(e,"/").concat(r[this.locale][e][t])}getTTL(e){var t,n;let[,r]=(null===(n=e.headers)||void 0===n?void 0:null===(t=n.get("Cache-Control"))||void 0===t?void 0:t.match(/max-age=(\d+)/))||[];return r?Number(r):void 0}getLanguage(e){return e&&y.REGION_TO_LANGUAGE_MAP[e]||v.ENGLISH}getGlobalMethods(e,t){let n={[v.ENGLISH]:()=>({globalAuthorSession:this.fetchGlobalEnglishAuthorSession(t),globalBreakingNews:this.fetchGlobalEnglishBreakingNews(t),globalBreakingNewsLiveStream:this.fetchGlobalEnglishBreakingNewsLiveStream(t)}),[v.JAPANESE]:()=>({globalAuthorSession:void 0,globalBreakingNews:void 0,globalBreakingNewsLiveStream:void 0})};return(n[e]||n[v.ENGLISH])()}async promiseAllObjects(e){let t=Object.keys(e),n=t.map(t=>e[t]),r=await Promise.all(n),i={};return t.forEach((e,t)=>{i[e]=r[t]}),i}async fetchMenuItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.PUBLISHED,[t,n]=await Promise.all([this.fetchMenuItemsDesktop(e),this.fetchMenuItemsMobile(e)]);return{menuItemsDesktop:t,menuItemsMobile:n}}async fetchMenuItemsDesktop(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.PUBLISHED,t=this.getPathForCuration(m["menu-items"],f.desktop);try{let n=await fetch("".concat(this.url,"/").concat(t,"?state=").concat(e),{headers:{referrerPolicy:"strict-origin-when-cross-origin",referrer:this.host,"X-Haproxy-Jump":this.haproxyToken}});if(!n.ok)return console.error("Unable to retrieve desktop menu items from ".concat(this.url)),null;return await n.json()}catch(e){return console.error("Error retrieving desktop menu items from ".concat(this.url,": ").concat(e)),null}}async fetchMenuItemsMobile(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.PUBLISHED,t=this.getPathForCuration(m["menu-items"],f.mobile);try{let n=await fetch("".concat(this.url,"/").concat(t,"?state=").concat(e),{headers:{referrerPolicy:"strict-origin-when-cross-origin",referrer:this.host,"X-Haproxy-Jump":this.haproxyToken}});if(!n.ok)return console.error("Unable to retrieve mobile menu items from ".concat(this.url)),null;return await n.json()}catch(e){return console.error("Error retrieving mobile menu items from ".concat(this.url,": ").concat(e)),null}}async fetchFooterMenuItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.PUBLISHED,t=this.getPathForCuration(m["footer-menu-items"]);try{let n=await fetch("".concat(this.url,"/").concat(t,"?state=").concat(e),{headers:{referrerPolicy:"strict-origin-when-cross-origin",referrer:this.host,"X-Haproxy-Jump":this.haproxyToken}});if(!n.ok){let e=await n.text();return console.error("Error fetching footer menu items from ".concat(this.url,": ").concat(e)),null}return await n.json()}catch(e){return console.error("Error fetching footer menu items from ".concat(this.url,": ").concat(e)),null}}async fetchBreakingNews(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.PUBLISHED,n=this.getLanguage(e),[r,i,a]=await Promise.all([this.fetchRegionalAuthorSession(e,t),this.fetchRegionalBreakingNews(e,t),this.fetchRegionalBreakingNewsLiveStream(e,t)]),o=this.getGlobalMethods(n,t),{globalAuthorSession:s,globalBreakingNews:l,globalBreakingNewsLiveStream:u}=await this.promiseAllObjects(o);return Object.entries({regionalAuthorSession:r,globalAuthorSession:s,regionalBreakingNews:i,globalBreakingNews:l,regionalBreakingNewsLiveStream:a,globalBreakingNewsLiveStream:u}).filter(e=>{let[,t]=e;return t&&Object.keys(t).length}).reduce((e,t)=>{let[n,r]=t;return{...e,[n]:r}},{})}async fetchRegionalAuthorSession(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.PUBLISHED;if(!e)return null;try{let n=await fetch("".concat(this.url,"/author-session/").concat(e,"?state=").concat(t),{headers:{referrerPolicy:"strict-origin-when-cross-origin",referrer:this.host,"X-Haproxy-Jump":this.haproxyToken}});if(!n.ok){let t=await n.text();return console.error("Error fetching author session for region ".concat(e,": ").concat(t)),null}return await n.json()}catch(t){return console.error("Error fetching author session for region ".concat(e,": ").concat(t)),null}}async fetchGlobalEnglishAuthorSession(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.PUBLISHED;try{let t=await fetch("".concat(this.url,"/author-session/global?state=").concat(e),{headers:{referrerPolicy:"strict-origin-when-cross-origin",referrer:this.host,"X-Haproxy-Jump":this.haproxyToken}});if(!t.ok){let e=await t.text();return console.error("Error fetching global author session: ".concat(e)),null}return await t.json()}catch(e){return console.error("Error fetching author session for region global: ".concat(e)),null}}async fetchRegionalBreakingNews(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.PUBLISHED;if(!e)return null;try{let n=await fetch("".concat(this.url,"/breaking-news/").concat(e,"?state=").concat(t),{headers:{referrerPolicy:"strict-origin-when-cross-origin",referrer:this.host,"X-Haproxy-Jump":this.haproxyToken}});if(!n.ok){let t=await n.text();return console.error("Error fetching breaking news for region ".concat(e,": ").concat(t)),null}return await n.json()}catch(t){return console.error("Error fetching breaking news for region ".concat(e,": ").concat(t)),null}}async fetchGlobalEnglishBreakingNews(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.PUBLISHED;try{let t=await fetch("".concat(this.url,"/breaking-news/global?state=").concat(e),{headers:{referrerPolicy:"strict-origin-when-cross-origin",referrer:this.host,"X-Haproxy-Jump":this.haproxyToken}});if(!t.ok){let e=await t.text();return console.error("Error fetching global breaking news: ".concat(e)),null}return await t.json()}catch(e){return console.error("Error fetching breaking news for region global: ".concat(e)),null}}async fetchRegionalBreakingNewsLiveStream(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.PUBLISHED;if(!e)return null;try{let n=await fetch("".concat(this.url,"/breaking-news-live-stream/").concat(e,"?state=").concat(t),{headers:{referrerPolicy:"strict-origin-when-cross-origin",referrer:this.host,"X-Haproxy-Jump":this.haproxyToken}});if(!n.ok){let t=await n.text();return console.error("Error fetching breaking news livestream for region ".concat(e,": ").concat(t)),null}return await n.json()}catch(t){return console.error("Error fetching breaking news livestream for region ".concat(e,": ").concat(t)),null}}async fetchGlobalEnglishBreakingNewsLiveStream(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.PUBLISHED;try{let t=await fetch("".concat(this.url,"/breaking-news-live-stream/global?state=").concat(e),{headers:{referrerPolicy:"strict-origin-when-cross-origin",referrer:this.host,"X-Haproxy-Jump":this.haproxyToken}});if(!t.ok){let e=await t.text();return console.error("Error fetching global breaking news livestream: ".concat(e)),null}return await t.json()}catch(e){return console.error("Error fetching breaking news livestream for region global: ".concat(e)),null}}constructor({environment:e,useAWS:t,host:n,locale:r}){this.environment=e,this.haproxyToken=E.env.NAV_HAPROXY_TOKEN||"",this.host=n||"",this.url="production"===e?"https://nav-api.bloomberg.com":t?"http://nav-api-staging.cm.bloomberg.com:8080":"https://nav-api-staging.bloomberg.com",this.locale=r||h.en}}y.REGION_TO_LANGUAGE_MAP={[g.JAPAN]:v.JAPANESE,[g.AFRICA]:v.ENGLISH,[g.ASIA]:v.ENGLISH,[g.EUROPE]:v.ENGLISH,[g.GLOBAL]:v.ENGLISH,[g.MIDDLE_EAST]:v.ENGLISH,[g.US]:v.ENGLISH,[g.UK]:v.ENGLISH,[g.LATAM]:v.ENGLISH};var S=n(85893),C=n(67294),w=n(59628),T=n(93223);(i=_||(_={})).Success="success",i.Pending="pending",i.Failed="failed";let k={abbaConfig:null,abbaConfigStatus:_.Pending,geoIpData:null,accesslistMembership:null,refreshAbbaClient:()=>Promise.resolve()},I=(0,C.createContext)(k),A="abbaClient:ready",N=()=>Promise.resolve();function L(e,t){return"fulfilled"===e.status?e.value:(console.error("Error occurred while fetching abba feature: ".concat(e.reason instanceof Error?e.reason:JSON.stringify(e.reason))),t||null)}function O(){var e,t;let{getAbbaClient:n}=null!==(t=null===(e=window)||void 0===e?void 0:e.__bloomberg__)&&void 0!==t?t:{};return n?n():Promise.reject("'getAbbaClient' could not be found")}async function M(){let e=await O();return e&&e.getGeoIPData?e.getGeoIPData():Promise.reject("'getGeoIPData' could not be found.")}async function P(){let e=await O();return e&&e.getAccesslistMembership?e.getAccesslistMembership():Promise.reject("'getAccesslistMembership' could not be found.")}let B=e=>{let{children:t,platform:r,user:i}=e,[a,o]=(0,C.useState)(null),[s,l]=(0,C.useState)(null),[u,c]=(0,C.useState)(null),[d,h]=(0,C.useState)(_.Pending);(0,C.useEffect)(()=>{var e,t;async function n(){let[e,t,n]=await Promise.allSettled([function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{getAbbaConfig:r}=null!==(t=window.__bloomberg__)&&void 0!==t?t:{};return r?r(e,n):Promise.reject("'getAbbaConfig' could not be found.")}(r,i),M(),P()]),a=L(e);o(a);let s=L(t);l(s),s&&function(e){let{region:t="",country:n="",provinceId:r="",cityId:i="",fieldP:a="",fieldMI:o="",fieldD:s="",fieldIS:l="",fieldN:u=""}=e,c="".concat(t,"~").concat(n,"~").concat(r,"~").concat(i,"~").concat(a),d="".concat(o,"~").concat(s,"~").concat(l,"~").concat(u);window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"geoip_info_ready",geoip_info:c,geoip_info_extension:d})}(s),c(L(n,null)),h(a?_.Success:_.Failed)}let{getAbbaClient:a}=null!==(t=null===(e=window)||void 0===e?void 0:e.__bloomberg__)&&void 0!==t?t:{};return a?(n(),()=>{}):(window.addEventListener(A,n),()=>{window.removeEventListener(A,n)})},[r,i]),(0,C.useEffect)(()=>{window.__bloomberg__={...window.__bloomberg__,abbaConfig:a}},[a]);let m=(0,C.useMemo)(()=>{var e,t;return{abbaConfig:a,abbaConfigStatus:d,geoIpData:s,accesslistMembership:u,refreshAbbaClient:(null===(t=n.g.window)||void 0===t?void 0:null===(e=t.__bloomberg__)||void 0===e?void 0:e.refreshAbbaClient)||N}},[a,d]);return(0,S.jsx)(I.Provider,{value:m,children:t})};var D=n(99068);let R=["/graphics/","/features/","/billionaires/","/business-schools/"],H={user:void 0,personalizationClient:void 0,searchClient:new T.Z,initializeSignInWithRegUI:()=>{},onSignOut:()=>{},subscriptionUrl:"https://www.bloomberg.com/subscriptions",upgradeUrl:"https://www.bloomberg.com/portal/subscription?triggerSubscriptionUpgradeModal=true"},x=(0,C.createContext)(H);class U{setSubscriptionUrl(e){this.subscriptionUrl=e}getSubscriptionUrl(){return this.subscriptionUrl||H.subscriptionUrl}getUpgradeUrl(){return this.upgradeUrl||H.upgradeUrl}getDesktopSignInButton(){return this.desktopSignInButton}getMobileSignInButton(){return this.mobileSignInButton}getRegUIClient(){return this.regUIClient}constructor(){this.setSignInButton=e=>{let{mobileSignInButton:t,desktopSignInButton:n}=e;t&&(this.mobileSignInButton=t),n&&(this.desktopSignInButton=n);let r=this.getRegUIClient();r&&(this.mobileSignInButton&&r.addTextElements(this.mobileSignInButton),this.desktopSignInButton&&r.addTextElements(this.desktopSignInButton))},this.setRegUIClient=e=>{this.regUIClient=e},this.setOnUserInfoReady=(e,t)=>{if(this.getRegUIClient())return;let n=this.getDesktopSignInButton(),r=this.getMobileSignInButton();n&&e.addTextElements(n),r&&e.addTextElements(r),this.setRegUIClient(e)},this.onSignOut=async()=>{let e=this.getRegUIClient();try{await (null==e?void 0:e.logoutUser())?window.location.reload():console.error("Logging user out failed")}catch(e){console.error(e)}},this.regUIClient=null}}var F=n(34155);let G="nav-bar";function j(e,t){return e===h.ja?t.replace("bloomberg.com/","bloomberg.com/jp/"):t}let V=e=>{var t,n;let{children:r,user:i,navSignInClient:a,locale:o}=e,s=(0,C.useMemo)(()=>new T.Z,[]),[l,u]=(0,C.useState)();(0,C.useEffect)(()=>{u(new D.P8({application:"nav",clientUrl:F.env.NEXT_PUBLIC_PERSONALIZATION_URL||""}))},[]);let c=o===h.en||o===h.ja?o:((n=t=new URL(window.location.href),R.some(e=>n.pathname.startsWith(e)))?t.href.includes("/jp/"):"/jp"===t.pathname||t.pathname.startsWith("/jp/"))?h.ja:h.en,d=j(c,H.subscriptionUrl),m=j(c,H.upgradeUrl),f=(0,C.useMemo)(()=>({user:i,searchClient:s,personalizationClient:l,initializeSignInWithRegUI:a.setSignInButton,onSignOut:a.onSignOut,subscriptionUrl:d,upgradeUrl:m}),[i,s,a,l,d,m]);return(0,S.jsx)(x.Provider,{value:f,children:r})},K=e=>{let{abbaPlatformObject:t=G,children:n,navSignInClient:r,locale:i}=e,{session:a={},client:o}=(0,w.useRegUIClient)(),{user:s,isLoggedIn:l,subscriptionsData:u,entitlementFeatures:c}=a,d=!!((null==u?void 0:u.length)&&u.length>0),h=(null==c?void 0:c.length)>0,m=(0,C.useMemo)(()=>({isLoggedIn:l,isSubscriber:d,firstName:null==s?void 0:s.firstName,showUpgrade:h,subscriptionsData:u}),[a]);return(0,S.jsx)(B,{platform:t,user:null==o?void 0:o.fetchAbbaUserInfo(),children:(0,S.jsx)(V,{children:n,user:m,navSignInClient:r,locale:i})})},W=e=>{let{children:t,abbaPlatformObject:n=G,locale:r}=e,i=(0,C.useMemo)(()=>new U,[]);return(0,S.jsx)(w.RegUIClientProvider,{onUserInfoReady:i.setOnUserInfoReady,children:(0,S.jsx)(K,{abbaPlatformObject:n,children:t,navSignInClient:i,locale:r})})},z=()=>(0,C.useContext)(x)},99268:function(){},94448:function(){},14486:function(){},11859:function(){},66730:function(){},70356:function(){},6376:function(){},57054:function(){},67923:function(){},84575:function(){},50946:function(){},48870:function(){},77168:function(){},31404:function(){},64690:function(){},22515:function(){},62868:function(){},56274:function(){},89912:function(){},683:function(){},6520:function(){},38136:function(){},10528:function(){},44466:function(){},74009:function(){},29066:function(){},60242:function(){},24932:function(){},3375:function(){},14390:function(){},32864:function(){},71364:function(){},13499:function(){},12307:function(){},19923:function(){},50408:function(){},47190:function(){},13055:function(){},26653:function(){},46901:function(){},47127:function(){},62488:function(){},37342:function(){},90636:function(){},10032:function(){},62058:function(){},9008:function(e,t,n){e.exports=n(23867)},92703:function(e,t,n){"use strict";var r=n(50414);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},44012:function(e,t,n){"use strict";var r=n(97582),i=n(67294),a=n(680),o=n(86896);function s(e){var t=(0,o.Z)(),n=t.formatMessage,r=t.textComponent,a=void 0===r?i.Fragment:r,s=e.id,l=e.description,u=e.defaultMessage,c=e.values,d=e.children,h=e.tagName,m=void 0===h?a:h,f=n({id:s,description:l,defaultMessage:u},c,{ignoreTag:e.ignoreTag});return"function"==typeof d?d(Array.isArray(f)?f:[f]):m?i.createElement(m,null,f):i.createElement(i.Fragment,null,f)}s.displayName="FormattedMessage";var l=i.memo(s,function(e,t){var n=e.values,i=(0,r._T)(e,["values"]),o=t.values,s=(0,r._T)(t,["values"]);return(0,a.wU)(o,n)&&(0,a.wU)(i,s)});l.displayName="MemoizedFormattedMessage",t.Z=l},86896:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),i=n(680),a=n(74806);function o(){var e=r.useContext(a._y);return(0,i.lq)(e),e}},25726:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}let i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{i[e]=new r(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{i[e]=new r(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{i[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{i[e]=new r(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{i[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{i[e]=new r(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{i[e]=new r(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{i[e]=new r(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{i[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)});let a=/[\-\:]([a-z])/g,o=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(a,o);i[t]=new r(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(a,o);i[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(a,o);i[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{i[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)}),i.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{i[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:s,SAME:l,possibleStandardNames:u}=n(78229),c=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(u).reduce((e,t)=>{let n=u[t];return n===l?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},t.isCustomAttribute=c,t.possibleStandardNames=d},78229:function(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},96701:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;tsummary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],i=r.join(","),a="undefined"==typeof Element,o=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!a&&Element.prototype.getRootNode?function(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function(e,t){void 0===t&&(t=!0);var n,r=null==e?void 0:null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"inert");return""===r||"true"===r||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):l(e.parentNode))},u=function(e){var t,n=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},c=function(e,t,n){if(l(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&o.call(e,i)&&r.unshift(e),r=r.filter(n)},d=function(e,t,n){for(var r=[],a=Array.from(e);a.length;){var s=a.shift();if(!l(s,!1)){if("SLOT"===s.tagName){var u=s.assignedElements(),c=d(u.length?u:s.children,!0,n);n.flatten?r.push.apply(r,c):r.push({scopeParent:s,candidates:c})}else{o.call(s,i)&&n.filter(s)&&(t||!e.includes(s))&&r.push(s);var h=s.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(s),m=!l(h,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(s));if(h&&m){var f=d(!0===h?s.children:h.children,!0,n);n.flatten?r.push.apply(r,f):r.push({scopeParent:s,candidates:f})}else a.unshift.apply(a,s.children)}}}return r},h=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},m=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||u(e))&&!h(e)?0:e.tabIndex},f=function(e,t){var n=m(e);return n<0&&t&&!h(e)?0:n},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},g=function(e){return"INPUT"===e.tagName},v=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(o.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return E(e)}else{if("function"==typeof r){for(var a=e;e;){var l=e.parentElement,u=s(e);if(l&&!l.shadowRoot&&!0===r(l))return E(e);e=e.assignedSlot?e.assignedSlot:l||u===e.ownerDocument?l:u.host}e=a}if(_(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},S=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;nm(t))&&!!C(e,t)},T=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},k=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=f(a,i),s=i?k(e.candidates):a;0===o?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(p).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},I=function(e,t){return k((t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:w.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:T}):c(e,t.includeContainer,w.bind(null,t)))},A=function(e,t){return(t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:C.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,C.bind(null,t))},N=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==o.call(e,i)&&w(t,e)},L=r.concat("iframe:not([inert]):not([inert] *)").join(","),O=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==o.call(e,L)&&C(t,e)}},375:function(e,t,n){"use strict";var r,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t._getInstance=t._getStatsigGlobalFlag=t._getStatsigGlobal=void 0;let o=n(99025);t._getStatsigGlobal=()=>{try{return"undefined"!=typeof __STATSIG__?__STATSIG__:d}catch(e){return d}},t._getStatsigGlobalFlag=e=>(0,t._getStatsigGlobal)()[e],t._getInstance=e=>{let n=(0,t._getStatsigGlobal)();return e?n.instances&&n.instances[e]:(n.instances&&Object.keys(n.instances).length>1&&o.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),n.firstInstance)};let s="__STATSIG__",l="undefined"!=typeof window?window:{},u=void 0!==n.g?n.g:{},c="undefined"!=typeof globalThis?globalThis:{},d=null!==(a=null!==(i=null!==(r=l[s])&&void 0!==r?r:u[s])&&void 0!==i?i:c[s])&&void 0!==a?a:{instance:t._getInstance};l[s]=d,u[s]=d,c[s]=d},61867:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getStorageKey=t._getUserStorageKey=void 0;let r=n(56152);function i(e,t,n){var i;if(n)return n(e,t);let a=t&&t.customIDs?t.customIDs:{},o=[`uid:${null!==(i=null==t?void 0:t.userID)&&void 0!==i?i:""}`,`cids:${Object.keys(a).sort((e,t)=>e.localeCompare(t)).map(e=>`${e}-${a[e]}`).join(",")}`,`k:${e}`];return(0,r._DJB2)(o.join("|"))}t._getUserStorageKey=i,t._getStorageKey=function(e,t,n){return t?i(e,t,n):(0,r._DJB2)(`k:${e}`)}},394:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},53183:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._makeDataAdapterResult=t.DataAdapterCore=void 0;let i=n(99025),a=n(33463),o=n(89063),s=n(38614),l=n(53111);class u{constructor(e,t){this._adapterName=e,this._cacheSuffix=t,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey=`statsig.last_modified_time.${t}`,this._inMemoryCache=new d}attach(e,t,n){this._sdkKey=e,this._options=t}getDataSync(e){let t=e&&(0,o._normalizeUser)(e,this._options),n=this._getCacheKey(t),r=this._inMemoryCache.get(n,t);if(r&&this._getIsCacheValueValid(r))return r;let i=this._loadFromCache(n);return i&&this._getIsCacheValueValid(i)?(this._inMemoryCache.add(n,i),this._inMemoryCache.get(n,t)):null}setData(e,t){let n=t&&(0,o._normalizeUser)(t,this._options),r=this._getCacheKey(n);this._inMemoryCache.add(r,c("Bootstrap",e,null,n))}_getIsCacheValueValid(e){return null==e.stableID||e.stableID===a.StableID.get(this._getSdkKey())}_getDataAsyncImpl(e,t,n){return r(this,void 0,void 0,function*(){s.Storage.isReady()||(yield s.Storage.isReadyResolver());let r=null!=e?e:this.getDataSync(t),a=[this._fetchAndPrepFromNetwork(r,t,n)];return(null==n?void 0:n.timeoutMs)&&a.push(new Promise(e=>setTimeout(e,n.timeoutMs)).then(()=>(i.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(a)})}_prefetchDataImpl(e,t){return r(this,void 0,void 0,function*(){let n=e&&(0,o._normalizeUser)(e,this._options),r=this._getCacheKey(n),i=yield this._getDataAsyncImpl(null,n,t);i&&this._inMemoryCache.add(r,Object.assign(Object.assign({},i),{source:"Prefetch"}))})}_fetchAndPrepFromNetwork(e,t,n){return r(this,void 0,void 0,function*(){var r;let o=null!==(r=null==e?void 0:e.data)&&void 0!==r?r:null,s=null!=e&&this._isCachedResultValidFor204(e,t),u=yield this._fetchFromNetwork(o,t,n,s);if(!u)return i.Log.debug("No response returned for latest value"),null;let d=(0,l._typedJsonParse)(u,"has_updates","Response"),h=this._getSdkKey(),m=a.StableID.get(h),f=null;if((null==d?void 0:d.has_updates)===!0)f=c("Network",u,m,t);else{if(!o||(null==d?void 0:d.has_updates)!==!1)return null;f=c("NetworkNotModified",o,m,t)}let p=this._getCacheKey(t);return this._inMemoryCache.add(p,f),this._writeToCache(p,f),f})}_getSdkKey(){return null!=this._sdkKey?this._sdkKey:(i.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(e){var t;let n=null===(t=s.Storage.getItem)||void 0===t?void 0:t.call(s.Storage,e);if(null==n)return null;let r=(0,l._typedJsonParse)(n,"source","Cached Result");return r?Object.assign(Object.assign({},r),{source:"Cache"}):null}_writeToCache(e,t){s.Storage.setItem(e,JSON.stringify(t)),this._runLocalStorageCacheEviction(e)}_runLocalStorageCacheEviction(e){var t;let n=null!==(t=(0,s._getObjectFromStorage)(this._lastModifiedStoreKey))&&void 0!==t?t:{};n[e]=Date.now();let r=h(n,10);r&&(delete n[r],s.Storage.removeItem(r)),(0,s._setObjectInStorage)(this._lastModifiedStoreKey,n)}}function c(e,t,n,r){return{source:e,data:t,receivedAt:Date.now(),stableID:n,fullUserHash:(0,o._getFullUserHash)(r)}}t.DataAdapterCore=u,t._makeDataAdapterResult=c;class d{constructor(){this._data={}}get(e,t){var n;let r=this._data[e],a=null==r?void 0:r.stableID,o=null===(n=null==t?void 0:t.customIDs)||void 0===n?void 0:n.stableID;return o&&a&&o!==a?(i.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):r}add(e,t){let n=h(this._data,9);n&&delete this._data[n],this._data[e]=t}merge(e){this._data=Object.assign(Object.assign({},this._data),e)}}function h(e,t){let n=Object.keys(e);return n.length<=t?null:n.reduce((t,n)=>{let r=e[t],i=e[n];return"object"==typeof r&&"object"==typeof i?i.receivedAtn.get(e),_markInitOverallStart:e=>{a(e,i({},r,"overall"))},_markInitOverallEnd:(e,t,n)=>{a(e,i({success:t,error:t?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:n},"end","overall"))},_markInitNetworkReqStart:(e,t)=>{a(e,i(t,r,"initialize","network_request"))},_markInitNetworkReqEnd:(e,t)=>{a(e,i(t,"end","initialize","network_request"))},_markInitProcessStart:e=>{a(e,i({},r,"initialize","process"))},_markInitProcessEnd:(e,t)=>{a(e,i(t,"end","initialize","process"))},_clearMarkers:e=>{n.delete(e)},_formatError(e){if(e&&"object"==typeof e)return{code:o(e,"code"),name:o(e,"name"),message:o(e,"message")}},_getDiagnosticsData(e,n,r,i){var a;return{success:(null==e?void 0:e.ok)===!0,statusCode:null==e?void 0:e.status,sdkRegion:null===(a=null==e?void 0:e.headers)||void 0===a?void 0:a.get("x-statsig-region"),isDelta:!0===r.includes('"is_delta":true')||void 0,attempt:n,error:t.Diagnostics._formatError(i)}},_enqueueDiagnosticsEvent(e,n,r,i){let a=t.Diagnostics._getMarkers(r);if(null==a||a.length<=0)return -1;let o=a[a.length-1].timestamp-a[0].timestamp;t.Diagnostics._clearMarkers(r);let s={eventName:"statsig::diagnostics",user:e,value:null,metadata:{context:"initialize",markers:a.slice(),statsigOptions:i},time:Date.now()};return n.enqueue(s),o}}},9549:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._fetchTxtRecords=void 0;let r=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),i=["i","e","d"];t._fetchTxtRecords=function(e){return n(this,void 0,void 0,function*(){let t=yield e("https://cloudflare-dns.com/dns-query",{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:r});if(!t.ok){let e=Error("Failed to fetch TXT records from DNS");throw e.name="DnsTxtFetchError",e}return function(e){let t=e.findIndex((t,n)=>n<200&&"="===String.fromCharCode(t)&&i.includes(String.fromCharCode(e[n-1])));if(-1===t){let e=Error("Failed to parse TXT records from DNS");throw e.name="DnsTxtParseError",e}let n="";for(let r=t-1;r"function"==typeof(null==n?void 0:n[e])).forEach(e=>t.add(e)),n=Object.getPrototypeOf(n);return Array.from(t)})(e).forEach(n=>{let r=e[n];"$EB"in r||(e[n]=(...i)=>this._capture(t?`${t}:${n}`:n,()=>r.apply(e,i)),e[n].$EB=!0)})}catch(e){this._onError("eb:wrap",e)}}logError(e,t){this._onError(e,t)}getLastSeenErrorAndReset(){let e=this._lastSeenError;return this._lastSeenError=void 0,null!=e?e:null}attachErrorIfNoneExists(e){this._lastSeenError||(this._lastSeenError=u(e))}_capture(e,t){try{let n=t();if(n&&n instanceof Promise)return n.catch(t=>this._onError(e,t));return n}catch(t){return this._onError(e,t),null}}_onError(e,n){try{i.Log.warn(`Caught error in ${e}`,{error:n}),r(this,void 0,void 0,function*(){var r,i,l,c,d,h,m;let f=n||Error(s),p=f instanceof Error,g=p?f.name:"No Name",v=u(f);if(this._lastSeenError=v,this._seen.has(g))return;if(this._seen.add(g),null===(i=null===(r=this._options)||void 0===r?void 0:r.networkConfig)||void 0===i?void 0:i.preventAllNetworkTraffic){null===(l=this._emitter)||void 0===l||l.call(this,{name:"error",error:n,tag:e});return}let b=a.SDKType._get(this._sdkKey),_=o.StatsigMetadataProvider.get(),E=p?f.stack:function(e){try{return JSON.stringify(e)}catch(e){return s}}(f),y=Object.assign({tag:e,exception:g,info:E,statsigOptions:function(e){if(!e)return{};let t={};return Object.entries(e).forEach(([e,n])=>{switch(typeof n){case"number":case"bigint":case"boolean":t[String(e)]=n;break;case"string":n.length<50?t[String(e)]=n:t[String(e)]="set";break;case"object":"environment"===e?t.environment=n:"networkConfig"===e?t.networkConfig=n:t[String(e)]=null!=n?"set":"unset"}}),t}(this._options)},Object.assign(Object.assign({},_),{sdkType:b})),S=null!==(h=null===(d=null===(c=this._options)||void 0===c?void 0:c.networkConfig)||void 0===d?void 0:d.networkOverrideFunc)&&void 0!==h?h:fetch;yield S(t.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(b),"STATSIG-SDK-VERSION":String(_.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(y)}),null===(m=this._emitter)||void 0===m||m.call(this,{name:"error",error:n,tag:e})}).then(()=>{}).catch(()=>{})}catch(e){}}}function u(e){return e instanceof Error?e:"string"==typeof e?Error(e):Error("An unknown error occurred.")}t.ErrorBoundary=l},80624:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},21335:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},16156:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.EventLogger=void 0;let i=n(61867),a=n(56152),o=n(99025),s=n(33975),l=n(37631),u=n(19817),c=n(16790),d=n(38614),h=n(40801),m=n(65260),f={},p={Startup:"startup",GainedFocus:"gained_focus"};class g{static _safeFlushAndForget(e){var t;null===(t=f[e])||void 0===t||t.flush().catch(()=>{})}static _safeRetryFailedLogs(e){var t;null===(t=f[e])||void 0===t||t._retryFailedLogs(p.GainedFocus)}constructor(e,t,n,r){var i,a;this._sdkKey=e,this._emitter=t,this._network=n,this._options=r,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._loggingEnabled=null!==(i=null==r?void 0:r.loggingEnabled)&&void 0!==i?i:(null==r?void 0:r.disableLogging)===!0?c.LoggingEnabledOption.disabled:c.LoggingEnabledOption.browserOnly,(null==r?void 0:r.loggingEnabled)&&void 0!==r.disableLogging&&o.Log.warn("Detected both loggingEnabled and disableLogging options. loggingEnabled takes precedence - please remove disableLogging."),this._maxQueueSize=null!==(a=null==r?void 0:r.loggingBufferMaxSize)&&void 0!==a?a:100;let l=null==r?void 0:r.networkConfig;this._logEventUrlConfig=new h.UrlConfiguration(s.Endpoint._rgstr,null==l?void 0:l.logEventUrl,null==l?void 0:l.api,null==l?void 0:l.logEventFallbackUrls)}setLogEventCompressionMode(e){this._network.setLogEventCompressionMode(e)}setLoggingEnabled(e){this._loggingEnabled=e}enqueue(e){this._shouldLogEvent(e)&&(this._normalizeAndAppendEvent(e),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&g._safeFlushAndForget(this._sdkKey))}incrementNonExposureCount(e){var t;let n=null!==(t=this._nonExposedChecks[e])&&void 0!==t?t:0;this._nonExposedChecks[e]=n+1}reset(){this.flush().catch(()=>{}),this._lastExposureTimeMap={}}start(){var e;let t=(0,l._isServerEnv)();t&&(null===(e=this._options)||void 0===e?void 0:e.loggingEnabled)!=="always"||(f[this._sdkKey]=this,t||(0,m._subscribeToVisiblityChanged)(e=>{"background"===e?g._safeFlushAndForget(this._sdkKey):"foreground"===e&&g._safeRetryFailedLogs(this._sdkKey)}),this._retryFailedLogs(p.Startup),this._startBackgroundFlushInterval())}stop(){return r(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),delete f[this._sdkKey],yield this.flush()})}flush(){return r(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),0===this._queue.length)return;let e=this._queue;this._queue=[],yield this._sendEvents(e)})}_quickFlushIfNeeded(){!this._hasRunQuickFlush&&(this._hasRunQuickFlush=!0,Date.now()-this._creationTime>200||setTimeout(()=>g._safeFlushAndForget(this._sdkKey),200))}_shouldLogEvent(e){var t;if((null===(t=this._options)||void 0===t?void 0:t.loggingEnabled)!=="always"&&(0,l._isServerEnv)())return!1;if(!(0,u._isExposureEvent)(e))return!0;let n=e.user?e.user:{statsigEnvironment:void 0},r=(0,i._getUserStorageKey)(this._sdkKey,n),a=e.metadata?e.metadata:{},o=[e.eventName,r,a.gate,a.config,a.ruleID,a.allocatedExperiment,a.parameterName,String(a.isExplicitParameter),a.reason].join("|"),s=this._lastExposureTimeMap[o],c=Date.now();return(!s||!(c-s<6e5))&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[o]=c,!0)}_sendEvents(e){return r(this,void 0,void 0,function*(){var t,n;if("disabled"===this._loggingEnabled)return this._saveFailedLogsToStorage(e),!1;try{let r=(0,m._isUnloading)()&&this._network.isBeaconSupported()&&(null===(n=null===(t=this._options)||void 0===t?void 0:t.networkConfig)||void 0===n?void 0:n.networkOverrideFunc)==null;if(this._emitter({name:"pre_logs_flushed",events:e}),(r?this._sendEventsViaBeacon(e):yield this._sendEventsViaPost(e)).success)return this._emitter({name:"logs_flushed",events:e}),!0;return o.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(e),!1}catch(e){return o.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(e){return r(this,void 0,void 0,function*(){var t;let n=yield this._network.post(this._getRequestData(e)),r=null!==(t=null==n?void 0:n.code)&&void 0!==t?t:-1;return{success:r>=200&&r<300}})}_sendEventsViaBeacon(e){return{success:this._network.beacon(this._getRequestData(e))}}_getRequestData(e){return{sdkKey:this._sdkKey,data:{events:e},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[s.NetworkParam.EventCount]:String(e.length)},credentials:"same-origin"}}_saveFailedLogsToStorage(e){for(;e.length>500;)e.shift();let t=this._getStorageKey();try{(0,d._setObjectInStorage)(t,e)}catch(e){o.Log.warn("Unable to save failed logs to storage")}}_retryFailedLogs(e){let t=this._getStorageKey();r(this,void 0,void 0,function*(){d.Storage.isReady()||(yield d.Storage.isReadyResolver());let n=(0,d._getObjectFromStorage)(t);n&&(e===p.Startup&&d.Storage.removeItem(t),(yield this._sendEvents(n))&&e===p.GainedFocus&&d.Storage.removeItem(t))}).catch(()=>{o.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,a._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(e){e.user&&(e.user=Object.assign({},e.user),delete e.user.privateAttributes);let t={},n=this._getCurrentPageUrl();n&&(t.statsigMetadata={currentPage:n});let r=Object.assign(Object.assign({},e),t);o.Log.debug("Enqueued Event:",r),this._queue.push(r)}_appendAndResetNonExposedChecks(){0!==Object.keys(this._nonExposedChecks).length&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var e;if((null===(e=this._options)||void 0===e?void 0:e.includeCurrentPageUrlWithEvents)!==!1)return(0,l._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var e,t;let n=setInterval(()=>{let e=f[this._sdkKey];e&&e._flushIntervalId===n?g._safeFlushAndForget(this._sdkKey):clearInterval(n)},null!==(t=null===(e=this._options)||void 0===e?void 0:e.loggingIntervalMs)&&void 0!==t?t:1e4);this._flushIntervalId=n}}t.EventLogger=g},56152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getSortedObject=t._DJB2Object=t._DJB2=void 0;let r=n(38687);t._DJB2=e=>{let t=0;for(let n=0;n>>0)},t._DJB2Object=(e,n)=>(0,t._DJB2)(JSON.stringify((0,t._getSortedObject)(e,n))),t._getSortedObject=(e,n)=>{if(null==e)return null;let i=Object.keys(e).sort(),a={};return i.forEach(i=>{let o=e[i];if(0===n||"object"!==(0,r._typeOf)(o)){a[i]=o;return}a[i]=(0,t._getSortedObject)(o,null!=n?n-1:n)}),a}},76724:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},99025:function(e,t){"use strict";function n(e){return e.unshift("[Statsig]"),e}Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.LogLevel=void 0,t.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class r{static info(...e){r.level>=t.LogLevel.Info&&console.info(" INFO ",...n(e))}static debug(...e){r.level>=t.LogLevel.Debug&&console.debug(" DEBUG ",...n(e))}static warn(...e){r.level>=t.LogLevel.Warn&&console.warn(" WARN ",...n(e))}static error(...e){r.level>=t.LogLevel.Error&&console.error(" ERROR ",...n(e))}}t.Log=r,r.level=t.LogLevel.Warn},41231:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMemoKey=t.MemoPrefix=void 0,t.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_configList:"cl",_layer:"l",_paramStore:"p"};let n=new Set([]),r=new Set(["userPersistedValues"]);t.createMemoKey=function(e,t,i){let a=`${e}|${t}`;if(!i)return a;for(let e of Object.keys(i)){if(r.has(e))return;n.has(e)?a+=`|${e}=true`:a+=`|${e}=${i[e]}`}return a}},33975:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkParam=t.NetworkDefault=t.Endpoint=void 0,t.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},t.NetworkDefault={[t.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[t.Endpoint._initialize]:"https://featureassets.org/v1",[t.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},t.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}},3284:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkCore=void 0,n(375);let i=n(375),a=n(60642),o=n(99025),s=n(33975),l=n(74930),u=n(11753),c=n(95881),d=n(37631),h=n(27995),m=n(33463),f=n(86478),p=n(56801),g=n(16790),v=n(65260),b=new Set([408,500,502,503,504,522,524,599]);class _{constructor(e,t){this._emitter=t,this._errorBoundary=null,this._timeout=1e4,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,e&&(this._options=e),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new l.NetworkFallbackResolver(this._options),this.setLogEventCompressionMode(this._getLogEventCompressionMode(e))}setLogEventCompressionMode(e){this._options.logEventCompressionMode=e}setErrorBoundary(e){this._errorBoundary=e,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(e)}isBeaconSupported(){return"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon}getLastUsedInitUrlAndReset(){let e=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,e}beacon(e){if(!E(e))return!1;let t=this._getInternalRequestArgs("POST",e),n=this._getPopulatedURL(t),r=navigator;return r.sendBeacon.bind(r)(n,t.body)}post(e){return r(this,void 0,void 0,function*(){let t=this._getInternalRequestArgs("POST",e);return this._tryEncodeBody(t),yield this._tryToCompressBody(t),this._sendRequest(t)})}get(e){let t=this._getInternalRequestArgs("GET",e);return this._sendRequest(t)}_sendRequest(e){return r(this,void 0,void 0,function*(){var t,n,i,l;if(!E(e)||this._netConfig.preventAllNetworkTraffic)return null;let{method:u,body:c,retries:d,attempt:h}=e,m=e.urlConfig.endpoint;if(this._isRateLimited(m))return o.Log.warn(`Request to ${m} was blocked because you are making requests too frequently.`),null;let p=null!=h?h:1,g="undefined"!=typeof AbortController?new AbortController:null,_=setTimeout(()=>{null==g||g.abort(`Timeout of ${this._timeout}ms expired.`)},this._timeout),y=this._getPopulatedURL(e),C=null,w=(0,v._isUnloading)();try{let n={method:u,body:c,headers:Object.assign({},e.headers),signal:null==g?void 0:g.signal,priority:e.priority,keepalive:w};e.urlConfig.endpoint===s.Endpoint._initialize&&a.Diagnostics._markInitNetworkReqStart(e.sdkKey,{attempt:p});let r=this._leakyBucket[m];r&&(r.lastRequestTime=Date.now(),this._leakyBucket[m]=r);let i=null!==(t=this._netConfig.networkOverrideFunc)&&void 0!==t?t:fetch;if(C=yield i(y,n),clearTimeout(_),!C.ok){let e=yield C.text().catch(()=>"No Text"),t=Error(`NetworkError: ${y} ${e}`);throw t.name="NetworkError",t}let o=yield C.text();return S(e,C,p,o),this._fallbackResolver.tryBumpExpiryTime(e.sdkKey,e.urlConfig),{body:o,code:C.status}}catch(s){let t=(null==g?void 0:g.signal.aborted)&&"string"==typeof g.signal.reason?g.signal.reason:"string"==typeof s?s:s instanceof Error?`${s.name}: ${s.message}`:"Unknown Error",a=(null==g?void 0:g.signal.aborted)&&"string"==typeof g.signal.reason&&g.signal.reason.includes("Timeout")||!1;if(S(e,C,p,"",s),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(e.sdkKey,e.urlConfig,t,a))&&(e.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(e.sdkKey,e.urlConfig)),!d||p>d||!b.has(null!==(n=null==C?void 0:C.status)&&void 0!==n?n:500)){null===(i=this._emitter)||void 0===i||i.call(this,{name:"error",error:s,tag:f.ErrorTag.NetworkError,requestArgs:e});let n=`A networking error occurred during ${u} request to ${y}.`;return o.Log.error(n,t,s),null===(l=this._errorBoundary)||void 0===l||l.attachErrorIfNoneExists(n),null}return yield function(e){return r(this,void 0,void 0,function*(){yield new Promise(t=>setTimeout(t,Math.min(e*e*500,3e4)))})}(p),this._sendRequest(Object.assign(Object.assign({},e),{retries:d,attempt:p+1}))}})}_getLogEventCompressionMode(e){let t=null==e?void 0:e.logEventCompressionMode;return t||(null==e?void 0:e.disableCompression)!==!0||(t=g.LogEventCompressionMode.Disabled),t||(t=g.LogEventCompressionMode.Enabled),t}_isRateLimited(e){var t;let n=Date.now(),r=null!==(t=this._leakyBucket[e])&&void 0!==t?t:{count:0,lastRequestTime:n},i=n-r.lastRequestTime;return r.count=Math.max(0,r.count-Math.floor(.05*i)),r.count>=50||(r.count+=1,r.lastRequestTime=n,this._leakyBucket[e]=r,!1)}_getPopulatedURL(e){var t;let n=null!==(t=e.fallbackUrl)&&void 0!==t?t:e.urlConfig.getUrl();(e.urlConfig.endpoint===s.Endpoint._initialize||e.urlConfig.endpoint===s.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=n);let r=Object.assign({[s.NetworkParam.SdkKey]:e.sdkKey,[s.NetworkParam.SdkType]:c.SDKType._get(e.sdkKey),[s.NetworkParam.SdkVersion]:p.SDK_VERSION,[s.NetworkParam.Time]:String(Date.now()),[s.NetworkParam.SessionID]:h.SessionID.get(e.sdkKey)},e.params),i=Object.keys(r).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(r[e])}`).join("&");return`${n}${i?`?${i}`:""}`}_tryEncodeBody(e){var t;let n=(0,d._getWindowSafe)(),r=e.body;if(e.isStatsigEncodable&&!this._options.disableStatsigEncoding&&"string"==typeof r&&null==(0,i._getStatsigGlobalFlag)("no-encode")&&(null==n?void 0:n.btoa))try{e.body=n.btoa(r).split("").reverse().join(""),e.params=Object.assign(Object.assign({},null!==(t=e.params)&&void 0!==t?t:{}),{[s.NetworkParam.StatsigEncoded]:"1"})}catch(t){o.Log.warn(`Request encoding failed for ${e.urlConfig.getUrl()}`,t)}}_tryToCompressBody(e){return r(this,void 0,void 0,function*(){var t;let n=e.body;if("string"==typeof n&&function(e,t){if(!e.isCompressable||null!=(0,i._getStatsigGlobalFlag)("no-compress")||"undefined"==typeof CompressionStream||"undefined"==typeof TextEncoder)return!1;let n=null!=e.urlConfig.customUrl||null!=e.urlConfig.fallbackUrls,r=!0===u.SDKFlags.get(e.sdkKey,"enable_log_event_compression");switch(t.logEventCompressionMode){case g.LogEventCompressionMode.Disabled:return!1;case g.LogEventCompressionMode.Enabled:if(n&&!r)return!1;return!0;case g.LogEventCompressionMode.Forced:return!0;default:return!1}}(e,this._options))try{let r;let i=new TextEncoder().encode(n),a=new CompressionStream("gzip"),l=a.writable.getWriter();l.write(i).catch(o.Log.error),l.close().catch(o.Log.error);let u=a.readable.getReader(),c=[];for(;!(r=yield u.read()).done;)c.push(r.value);let d=c.reduce((e,t)=>e+t.length,0),h=new Uint8Array(d),m=0;for(let e of c)h.set(e,m),m+=e.length;e.body=h,e.params=Object.assign(Object.assign({},null!==(t=e.params)&&void 0!==t?t:{}),{[s.NetworkParam.IsGzipped]:"1"})}catch(t){o.Log.warn(`Request compression failed for ${e.urlConfig.getUrl()}`,t)}})}_getInternalRequestArgs(e,t){let n=this._fallbackResolver.getActiveFallbackUrl(t.sdkKey,t.urlConfig),r=Object.assign(Object.assign({},t),{method:e,fallbackUrl:n});return"data"in t&&y(r,t.data),r}}t.NetworkCore=_;let E=e=>!!e.sdkKey||(o.Log.warn("Unable to make request without an SDK key"),!1),y=(e,t)=>{let{sdkKey:n,fallbackUrl:r}=e,i=m.StableID.get(n),a=h.SessionID.get(n),o=c.SDKType._get(n);e.body=JSON.stringify(Object.assign(Object.assign({},t),{statsigMetadata:Object.assign(Object.assign({},p.StatsigMetadataProvider.get()),{stableID:i,sessionID:a,sdkType:o,fallbackUrl:r})}))};function S(e,t,n,r,i){e.urlConfig.endpoint===s.Endpoint._initialize&&a.Diagnostics._markInitNetworkReqEnd(e.sdkKey,a.Diagnostics._getDiagnosticsData(t,n,r,i))}},74930:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t._isDomainFailure=t.NetworkFallbackResolver=void 0;let i=n(9549),a=n(56152),o=n(99025),s=n(38614);class l{constructor(e){var t;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=null===(t=e.networkConfig)||void 0===t?void 0:t.networkOverrideFunc}setErrorBoundary(e){this._errorBoundary=e}tryBumpExpiryTime(e,t){var n;let r=null===(n=this._fallbackInfo)||void 0===n?void 0:n[t.endpoint];r&&(r.expiryTime=Date.now()+6048e5,d(e,Object.assign(Object.assign({},this._fallbackInfo),{[t.endpoint]:r})))}getActiveFallbackUrl(e,t){var n,r;if(null!=t.customUrl&&null!=t.fallbackUrls)return null;let i=this._fallbackInfo;null==i&&(i=null!==(n=function(e){let t=c(e),n=s.Storage.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch(e){return o.Log.error("Failed to parse FallbackInfo"),null}}(e))&&void 0!==n?n:{},this._fallbackInfo=i);let a=i[t.endpoint];return!a||Date.now()>(null!==(r=a.expiryTime)&&void 0!==r?r:0)||t.getChecksum()!==a.urlConfigChecksum?(delete i[t.endpoint],this._fallbackInfo=i,d(e,this._fallbackInfo),null):a.url?a.url:null}tryFetchUpdatedFallbackInfo(e,t,n,i){return r(this,void 0,void 0,function*(){var r,a;try{if(!u(n,i))return!1;let a=null==t.customUrl&&null==t.fallbackUrls?yield this._tryFetchFallbackUrlsFromNetwork(t):t.fallbackUrls,o=this._pickNewFallbackUrl(null===(r=this._fallbackInfo)||void 0===r?void 0:r[t.endpoint],a);if(!o)return!1;return this._updateFallbackInfoWithNewUrl(e,t,o),!0}catch(e){return null===(a=this._errorBoundary)||void 0===a||a.logError("tryFetchUpdatedFallbackInfo",e),!1}})}_updateFallbackInfoWithNewUrl(e,t,n){var r,i,a;let o={urlConfigChecksum:t.getChecksum(),url:n,expiryTime:Date.now()+6048e5,previous:[]},s=t.endpoint,l=null===(r=this._fallbackInfo)||void 0===r?void 0:r[s];l&&o.previous.push(...l.previous),o.previous.length>10&&(o.previous=[]);let u=null===(a=null===(i=this._fallbackInfo)||void 0===i?void 0:i[s])||void 0===a?void 0:a.url;null!=u&&o.previous.push(u),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[s]:o}),d(e,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(e){return r(this,void 0,void 0,function*(){var t;let n=this._dnsQueryCooldowns[e.endpoint];if(n&&Date.now()1){let e=n[1];e.endsWith("/")&&(e=e.slice(0,-1)),r.push(`https://${e}${o}`)}}return r})}_pickNewFallbackUrl(e,t){var n;if(null==t)return null;let r=new Set(null!==(n=null==e?void 0:e.previous)&&void 0!==n?n:[]),i=null==e?void 0:e.url,a=null;for(let e of t){let t=e.endsWith("/")?e.slice(0,-1):e;if(!r.has(e)&&t!==i){a=t;break}}return a}}function u(e,t){var n;let r=null!==(n=null==e?void 0:e.toLowerCase())&&void 0!==n?n:"";return t||r.includes("uncaught exception")||r.includes("failed to fetch")||r.includes("networkerror when attempting to fetch resource")}function c(e){return`statsig.network_fallback.${(0,a._DJB2)(e)}`}function d(e,t){let n=c(e);if(!t||0===Object.keys(t).length){s.Storage.removeItem(n);return}s.Storage.setItem(n,JSON.stringify(t))}t.NetworkFallbackResolver=l,t._isDomainFailure=u},30034:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4632:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},11753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKFlags=void 0;let n={};t.SDKFlags={setFlags:(e,t)=>{n[e]=t},get:(e,t)=>{var r,i;return null!==(i=null===(r=n[e])||void 0===r?void 0:r[t])&&void 0!==i&&i}}},95881:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.SDKType=void 0;let r={};t.SDKType={_get:e=>{var t;return(null!==(t=r[e])&&void 0!==t?t:"js-mono")+(null!=n?n:"")},_setClientType(e,t){r[e]=t},_setBindingType(e){n&&"-react"!==n||(n="-"+e)}}},37631:function(e,t,n){"use strict";var r=n(34155);Object.defineProperty(t,"__esModule",{value:!0}),t._getUnloadEvent=t._getCurrentPageUrlSafe=t._addDocumentEventListenerSafe=t._addWindowEventListenerSafe=t._isServerEnv=t._getDocumentSafe=t._getWindowSafe=void 0,t._getWindowSafe=()=>"undefined"!=typeof window?window:null,t._getDocumentSafe=()=>{var e;let n=(0,t._getWindowSafe)();return null!==(e=null==n?void 0:n.document)&&void 0!==e?e:null},t._isServerEnv=()=>{if(null!==(0,t._getDocumentSafe)())return!1;let e=void 0!==r&&null!=r.versions&&null!=r.versions.node;return"string"==typeof EdgeRuntime||e},t._addWindowEventListenerSafe=(e,n)=>{let r=(0,t._getWindowSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)},t._addDocumentEventListenerSafe=(e,n)=>{let r=(0,t._getDocumentSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)},t._getCurrentPageUrlSafe=()=>{var e;try{return null===(e=(0,t._getWindowSafe)())||void 0===e?void 0:e.location.href.split(/[?#]/)[0]}catch(e){return}},t._getUnloadEvent=()=>{let e=(0,t._getWindowSafe)();return e&&"onpagehide"in e?"pagehide":"beforeunload"}},27995:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigSession=t.SessionID=void 0;let r=n(375),i=n(61867),a=n(99025),o=n(38614),s=n(99382),l={};function u(e,t){return setTimeout(()=>{var t;let n=null===(t=(0,r._getStatsigGlobal)())||void 0===t?void 0:t.instance(e);n&&n.$emt({name:"session_expired"})},t)}function c(e){return`statsig.session_id.${(0,i._getStorageKey)(e)}`}t.SessionID={get:e=>t.StatsigSession.get(e).data.sessionID},t.StatsigSession={get:e=>(null==l[e]&&(l[e]=function(e){let t=function(e){let t=c(e);return(0,o._getObjectFromStorage)(t)}(e),n=Date.now();return t||(t={sessionID:(0,s.getUUID)(),startTime:n,lastUpdate:n}),{data:t,sdkKey:e}}(e)),function(e){let t=Date.now(),n=e.data,r=e.sdkKey;if(function({lastUpdate:e}){return Date.now()-e>18e5}(n)||function({startTime:e}){return Date.now()-e>144e5}(n)){n.sessionID=(0,s.getUUID)(),n.startTime=t;let e=null==__STATSIG__?void 0:__STATSIG__.instance(r);e&&e.$emt({name:"session_expired"})}n.lastUpdate=t,function(e,t){let n=c(t);try{(0,o._setObjectInStorage)(n,e)}catch(e){a.Log.warn("Failed to save SessionID")}}(n,e.sdkKey),clearTimeout(e.idleTimeoutID),clearTimeout(e.ageTimeoutID);let i=t-n.startTime;return e.idleTimeoutID=u(r,18e5),e.ageTimeoutID=u(r,144e5-i),e}(l[e])),overrideInitialSessionID:(e,t)=>{l[t]=function(e,t){let n=Date.now();return{data:{sessionID:e,startTime:n,lastUpdate:n},sdkKey:t}}(e,t)}}},61486:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._fastApproxSizeOf=void 0,t._fastApproxSizeOf=(e,n)=>{let r=0,i=Object.keys(e);for(let a=0;a=n)break}return r}},33463:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCookieName=t.StableID=void 0;let r=n(61867),i=n(99025),a=n(37631),o=n(38614),s=n(99382),l={},u={},c={};function d(e){return`statsig.stable_id.${(0,r._getStorageKey)(e)}`}function h(e,t){let n=d(t);try{(0,o._setObjectInStorage)(n,e)}catch(e){i.Log.warn("Failed to save StableID to storage")}}function m(e,t){if(!u[t]||null==(0,a._getDocumentSafe)())return;let n=new Date;n.setFullYear(n.getFullYear()+1),document.cookie=`${f(t)}=${encodeURIComponent(e)}; expires=${n.toUTCString()}; path=/`}function f(e){return`statsig.stable_id.${(0,r._getStorageKey)(e)}`}t.StableID={cookiesEnabled:!1,randomID:Math.random().toString(36),get:e=>{if(c[e])return null;if(null!=l[e])return l[e];let t=null;return null!=(t=function(e){if(!u[e]||null==(0,a._getDocumentSafe)())return null;for(let t of document.cookie.split(";")){let[n,r]=t.trim().split("=");if(n===f(e))return decodeURIComponent(r)}return null}(e))?(l[e]=t,h(t,e)):(null==(t=function(e){let t=d(e);return(0,o._getObjectFromStorage)(t)}(e))&&(t=(0,s.getUUID)()),h(t,e),m(t,e),l[e]=t),t},setOverride:(e,t)=>{l[t]=e,h(e,t),m(e,t)},_setCookiesEnabled:(e,t)=>{u[e]=t},_setDisabled:(e,t)=>{c[e]=t}},t.getCookieName=f},44850:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClientBase=void 0,n(375);let i=n(375),a=n(68896),o=n(16156),s=n(99025),l=n(41231),u=n(37631),c=n(27995),d=n(33463),h=n(16790),m=n(38614);class f{constructor(e,t,n,r){var l,h,f,p;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};let g=this.$emt.bind(this);(null==r?void 0:r.logLevel)!=null&&(s.Log.level=r.logLevel),(null==r?void 0:r.disableStorage)&&m.Storage._setDisabled(!0),(null==r?void 0:r.initialSessionID)&&c.StatsigSession.overrideInitialSessionID(r.initialSessionID,e),(null==r?void 0:r.storageProvider)&&m.Storage._setProvider(r.storageProvider),(null==r?void 0:r.enableCookies)&&d.StableID._setCookiesEnabled(e,r.enableCookies),(null==r?void 0:r.disableStableID)&&d.StableID._setDisabled(e,!0),this._sdkKey=e,this._options=null!=r?r:{},this._memoCache={},this.overrideAdapter=null!==(l=null==r?void 0:r.overrideAdapter)&&void 0!==l?l:null,this._logger=new o.EventLogger(e,g,n,r),this._errorBoundary=new a.ErrorBoundary(e,r,g),this._errorBoundary.wrap(this),this._errorBoundary.wrap(t),this._errorBoundary.wrap(this._logger),n.setErrorBoundary(this._errorBoundary),this.dataAdapter=t,this.dataAdapter.attach(e,r,n),this.storageProvider=m.Storage,null===(p=null===(f=null===(h=this.overrideAdapter)||void 0===h?void 0:h.loadFromStorage)||void 0===f?void 0:f.call(h))||void 0===p||p.catch(e=>this._errorBoundary.logError("OA::loadFromStorage",e)),this._primeReadyRipcord(),function(e,t){var n;if((0,u._isServerEnv)())return;let r=(0,i._getStatsigGlobal)(),a=null!==(n=r.instances)&&void 0!==n?n:{};null!=a[e]&&s.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),a[e]=t,r.firstInstance||(r.firstInstance=t),r.instances=a,__STATSIG__=r}(e,this)}updateRuntimeOptions(e){e.loggingEnabled?(this._options.loggingEnabled=e.loggingEnabled,this._logger.setLoggingEnabled(e.loggingEnabled)):null!=e.disableLogging&&(this._options.disableLogging=e.disableLogging,this._logger.setLoggingEnabled(e.disableLogging?"disabled":"browser-only")),null!=e.disableStorage&&(this._options.disableStorage=e.disableStorage,m.Storage._setDisabled(e.disableStorage)),null!=e.enableCookies&&(this._options.enableCookies=e.enableCookies,d.StableID._setCookiesEnabled(this._sdkKey,e.enableCookies)),e.logEventCompressionMode?this._logger.setLogEventCompressionMode(e.logEventCompressionMode):e.disableCompression&&this._logger.setLogEventCompressionMode(h.LogEventCompressionMode.Disabled)}flush(){return this._logger.flush()}shutdown(){return r(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}off(e,t){if(this._listeners[e]){let n=this._listeners[e].indexOf(t);-1!==n&&this._listeners[e].splice(n,1)}}$on(e,t){t.__isInternal=!0,this.on(e,t)}$emt(e){var t;let n=t=>{try{t(e)}catch(n){if(!0===t.__isInternal){this._errorBoundary.logError(`__emit:${e.name}`,n);return}s.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",e)}};this._listeners[e.name]&&this._listeners[e.name].forEach(e=>n(e)),null===(t=this._listeners["*"])||void 0===t||t.forEach(n)}_setStatus(e,t){this.loadingStatus=e,this._memoCache={},this.$emt({name:"values_updated",status:e,values:t})}_enqueueExposure(e,t,n){if((null==n?void 0:n.disableExposureLog)===!0){this._logger.incrementNonExposureCount(e);return}this._logger.enqueue(t)}_memoize(e,t){return(n,r)=>{if(this._options.disableEvaluationMemoization)return t(n,r);let i=(0,l.createMemoKey)(e,n,r);return i?(i in this._memoCache||(Object.keys(this._memoCache).length>=3e3&&(this._memoCache={}),this._memoCache[i]=t(n,r)),this._memoCache[i]):t(n,r)}}}t.StatsigClientBase=f},86478:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorTag=void 0,t.ErrorTag={NetworkError:"NetworkError"}},80712:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCachePrefix=void 0,t.DataAdapterCachePrefix="statsig.cached"},19817:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._createLayerParameterExposure=t._createConfigExposure=t._mapExposures=t._createGateExposure=t._isExposureEvent=void 0;let n="statsig::config_exposure",r="statsig::gate_exposure",i="statsig::layer_exposure",a=(e,t,n,r,i)=>(n.bootstrapMetadata&&(r.bootstrapMetadata=n.bootstrapMetadata),{eventName:e,user:t,value:null,metadata:s(n,r),secondaryExposures:i,time:Date.now()});function o(e,t){return e.map(e=>"string"==typeof e?(null!=t?t:{})[e]:e).filter(e=>null!=e)}t._isExposureEvent=({eventName:e})=>e===r||e===n||e===i,t._createGateExposure=(e,t,n)=>{var i,s,l;let u={gate:t.name,gateValue:String(t.value),ruleID:t.ruleID};return(null===(i=t.__evaluation)||void 0===i?void 0:i.version)!=null&&(u.configVersion=t.__evaluation.version),a(r,e,t.details,u,o(null!==(l=null===(s=t.__evaluation)||void 0===s?void 0:s.secondary_exposures)&&void 0!==l?l:[],n))},t._mapExposures=o,t._createConfigExposure=(e,t,r)=>{var i,s,l,u;let c={config:t.name,ruleID:t.ruleID};return(null===(i=t.__evaluation)||void 0===i?void 0:i.version)!=null&&(c.configVersion=t.__evaluation.version),(null===(s=t.__evaluation)||void 0===s?void 0:s.passed)!=null&&(c.rulePassed=String(t.__evaluation.passed)),a(n,e,t.details,c,o(null!==(u=null===(l=t.__evaluation)||void 0===l?void 0:l.secondary_exposures)&&void 0!==u?u:[],r))},t._createLayerParameterExposure=(e,t,n,r)=>{var s,l,u,c,d,h,m;let f=t.__evaluation,p=(null===(s=null==f?void 0:f.explicit_parameters)||void 0===s?void 0:s.includes(n))===!0,g="",v=null!==(l=null==f?void 0:f.undelegated_secondary_exposures)&&void 0!==l?l:[];p&&(g=null!==(u=f.allocated_experiment_name)&&void 0!==u?u:"",v=null!==(c=f.secondary_exposures)&&void 0!==c?c:[]);let b=null===(d=t.__evaluation)||void 0===d?void 0:d.parameter_rule_ids,_={config:t.name,parameterName:n,ruleID:null!==(h=null==b?void 0:b[n])&&void 0!==h?h:t.ruleID,allocatedExperiment:g,isExplicitParameter:String(p)};return(null===(m=t.__evaluation)||void 0===m?void 0:m.version)!=null&&(_.configVersion=t.__evaluation.version),a(i,e,t.details,_,o(v,r))};let s=(e,t)=>(t.reason=e.reason,e.lcut&&(t.lcut=String(e.lcut)),e.receivedAt&&(t.receivedAt=String(e.receivedAt)),t)},56801:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigMetadataProvider=t.SDK_VERSION=void 0,t.SDK_VERSION="3.24.4";let n={sdkVersion:t.SDK_VERSION,sdkType:"js-mono"};t.StatsigMetadataProvider={get:()=>n,add:e=>{n=Object.assign(Object.assign({},n),e)}}},16790:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingEnabledOption=t.LogEventCompressionMode=void 0,t.LogEventCompressionMode={Disabled:"d",Enabled:"e",Forced:"f"},t.LoggingEnabledOption={disabled:"disabled",browserOnly:"browser-only",always:"always"}},11497:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},78431:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeTypedGet=t._mergeOverride=t._makeLayer=t._makeExperiment=t._makeDynamicConfig=t._makeFeatureGate=void 0;let r=n(99025),i=n(38687);function a(e,t,n,r){var i;return{name:e,details:t,ruleID:null!==(i=null==n?void 0:n.rule_id)&&void 0!==i?i:"",__evaluation:n,value:r}}function o(e,t,n){var r;let i=null!==(r=null==n?void 0:n.value)&&void 0!==r?r:{};return Object.assign(Object.assign({},a(e,t,n,i)),{get:s(e,null==n?void 0:n.value)})}function s(e,t,n){return(a,o)=>{var s;let l=null!==(s=null==t?void 0:t[a])&&void 0!==s?s:null;return null==l?null!=o?o:null:null==o||(0,i._isTypeMatch)(l,o)?(null==n||n(a),l):(r.Log.warn(`Parameter type mismatch. '${e}.${a}' was found to be type '${typeof l}' but fallback/return type is '${typeof o}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),null!=o?o:null)}}t._makeFeatureGate=function(e,t,n){var r;return Object.assign(Object.assign({},a(e,t,n,(null==n?void 0:n.value)===!0)),{idType:null!==(r=null==n?void 0:n.id_type)&&void 0!==r?r:null})},t._makeDynamicConfig=o,t._makeExperiment=function(e,t,n){var r;return Object.assign(Object.assign({},o(e,t,n)),{groupName:null!==(r=null==n?void 0:n.group_name)&&void 0!==r?r:null})},t._makeLayer=function(e,t,n,r){var i,o;return Object.assign(Object.assign({},a(e,t,n,void 0)),{get:s(e,null==n?void 0:n.value,r),groupName:null!==(i=null==n?void 0:n.group_name)&&void 0!==i?i:null,__value:null!==(o=null==n?void 0:n.value)&&void 0!==o?o:{}})},t._mergeOverride=function(e,t,n,r){return Object.assign(Object.assign(Object.assign({},e),t),{get:s(e.name,n,r)})},t._makeTypedGet=s},87963:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},45051:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_DETAIL_ERROR_MESSAGES=t.createUpdateDetails=void 0,t.createUpdateDetails=(e,t,n,r,i,a)=>({duration:n,source:t,success:e,error:r,sourceUrl:i,warnings:a}),t.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."}},89063:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getFullUserHash=t._normalizeUser=void 0;let r=n(56152),i=n(99025);t._normalizeUser=function(e,t,n){try{let r=JSON.parse(JSON.stringify(e));return null!=t&&null!=t.environment?r.statsigEnvironment=t.environment:null!=n&&(r.statsigEnvironment={tier:n}),r}catch(e){return i.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}},t._getFullUserHash=function(e){return e?(0,r._DJB2Object)(e):null}},38614:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._setObjectInStorage=t._getObjectFromStorage=t.Storage=void 0;let r=n(99025),i=n(37631),a={},o={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:e=>a[e]?a[e]:null,setItem:(e,t)=>{a[e]=t},removeItem:e=>{delete a[e]},getAllKeys:()=>Object.keys(a)},s=null;try{let e=(0,i._getWindowSafe)();e&&e.localStorage&&"function"==typeof e.localStorage.getItem&&(s={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:t=>e.localStorage.getItem(t),setItem:(t,n)=>e.localStorage.setItem(t,n),removeItem:t=>e.localStorage.removeItem(t),getAllKeys:()=>Object.keys(e.localStorage)})}catch(e){r.Log.warn("Failed to setup localStorageProvider.")}let l=null!=s?s:o,u=l;function c(e){try{return e()}catch(e){if(e instanceof Error&&"SecurityError"===e.name)return t.Storage._setProvider(o),null;if(e instanceof Error&&"QuotaExceededError"===e.name){let n=t.Storage.getAllKeys().filter(e=>e.startsWith("statsig."));e.message=`${e.message}. Statsig Keys: ${n.length}`}throw e}}t.Storage={isReady:()=>u.isReady(),isReadyResolver:()=>u.isReadyResolver(),getProviderName:()=>u.getProviderName(),getItem:e=>c(()=>u.getItem(e)),setItem:(e,t)=>c(()=>u.setItem(e,t)),removeItem:e=>u.removeItem(e),getAllKeys:()=>u.getAllKeys(),_setProvider:e=>{l=e,u=e},_setDisabled:e=>{u=e?o:l}},t._getObjectFromStorage=function(e){let n=t.Storage.getItem(e);return JSON.parse(null!=n?n:"null")},t._setObjectInStorage=function(e,n){t.Storage.setItem(e,JSON.stringify(n))}},53111:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._typedJsonParse=void 0;let r=n(99025);t._typedJsonParse=function(e,t,n){try{let n=JSON.parse(e);if(n&&"object"==typeof n&&t in n)return n}catch(e){}return r.Log.error(`Failed to parse ${n}`),null}},38687:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isTypeMatch=t._typeOf=void 0,t._typeOf=function(e){return Array.isArray(e)?"array":typeof e},t._isTypeMatch=function(e,t){let n=e=>Array.isArray(e)?"array":null===e?"null":typeof e;return n(e)===n(t)}},99382:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUUID=void 0,t.getUUID=function(){if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();let e=new Date().getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0,n="89ab"[Math.floor(4*Math.random())];return`xxxxxxxx-xxxx-4xxx-${n}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,n=>{let r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:7&r|8).toString(16)})}},40801:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UrlConfiguration=void 0;let r=n(56152),i=n(33975),a={[i.Endpoint._initialize]:"i",[i.Endpoint._rgstr]:"e",[i.Endpoint._download_config_specs]:"d"};class o{constructor(e,t,n,r){this.customUrl=null,this.fallbackUrls=null,this.endpoint=e,this.endpointDnsKey=a[e],t&&(this.customUrl=t),!t&&n&&(this.customUrl=n.endsWith("/")?`${n}${e}`:`${n}/${e}`),r&&(this.fallbackUrls=r);let o=i.NetworkDefault[e];this.defaultUrl=`${o}/${e}`}getUrl(){var e;return null!==(e=this.customUrl)&&void 0!==e?e:this.defaultUrl}getChecksum(){var e;let t=(null!==(e=this.fallbackUrls)&&void 0!==e?e:[]).sort().join(",");return(0,r._DJB2)(this.customUrl+t)}}t.UrlConfiguration=o},65260:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._notifyVisibilityChanged=t._subscribeToVisiblityChanged=t._isUnloading=t._isCurrentlyVisible=void 0;let r=n(37631),i="foreground",a="background",o=[],s=i,l=!1;t._isCurrentlyVisible=()=>s===i,t._isUnloading=()=>l,t._subscribeToVisiblityChanged=e=>{o.unshift(e)},t._notifyVisibilityChanged=e=>{e!==s&&(s=e,o.forEach(t=>t(e)))},(0,r._addWindowEventListenerSafe)("focus",()=>{l=!1,(0,t._notifyVisibilityChanged)(i)}),(0,r._addWindowEventListenerSafe)("blur",()=>(0,t._notifyVisibilityChanged)(a)),(0,r._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,t._notifyVisibilityChanged)("visible"===document.visibilityState?i:a)}),(0,r._addWindowEventListenerSafe)((0,r._getUnloadEvent)(),()=>{l=!0,(0,t._notifyVisibilityChanged)(a)})},13328:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=t.Log=t.EventLogger=t.Diagnostics=void 0,n(375);let a=n(375),o=n(60642);Object.defineProperty(t,"Diagnostics",{enumerable:!0,get:function(){return o.Diagnostics}});let s=n(16156);Object.defineProperty(t,"EventLogger",{enumerable:!0,get:function(){return s.EventLogger}});let l=n(99025);Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return l.Log}});let u=n(56801),c=n(38614);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return c.Storage}}),i(n(375),t),i(n(61867),t),i(n(394),t),i(n(53183),t),i(n(60642),t),i(n(36831),t),i(n(68896),t),i(n(80624),t),i(n(21335),t),i(n(56152),t),i(n(76724),t),i(n(99025),t),i(n(41231),t),i(n(33975),t),i(n(3284),t),i(n(30034),t),i(n(4632),t),i(n(37631),t),i(n(95881),t),i(n(27995),t),i(n(61486),t),i(n(33463),t),i(n(44850),t),i(n(86478),t),i(n(80712),t),i(n(19817),t),i(n(56801),t),i(n(16790),t),i(n(11497),t),i(n(78431),t),i(n(87963),t),i(n(89063),t),i(n(38614),t),i(n(53111),t),i(n(38687),t),i(n(40801),t),i(n(99382),t),i(n(65260),t),i(n(45051),t),i(n(11753),t),Object.assign((0,a._getStatsigGlobal)(),{Log:l.Log,SDK_VERSION:u.SDK_VERSION})},33815:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._resolveDeltasResponse=void 0;let r=n(13328);function i(e,t){null==e||e.forEach(e=>{delete t[e]})}t._resolveDeltasResponse=function(e,t){var n;let a=(0,r._typedJsonParse)(t,"checksum","DeltasEvaluationResponse");if(!a)return{hadBadDeltaChecksum:!0};let o=(i((n=Object.assign(Object.assign(Object.assign({},e),a),{feature_gates:Object.assign(Object.assign({},e.feature_gates),a.feature_gates),layer_configs:Object.assign(Object.assign({},e.layer_configs),a.layer_configs),dynamic_configs:Object.assign(Object.assign({},e.dynamic_configs),a.dynamic_configs)})).deleted_gates,n.feature_gates),delete n.deleted_gates,i(n.deleted_configs,n.dynamic_configs),delete n.deleted_configs,i(n.deleted_layers,n.layer_configs),delete n.deleted_layers,n),s=(0,r._DJB2Object)({feature_gates:o.feature_gates,dynamic_configs:o.dynamic_configs,layer_configs:o.layer_configs},2);return s!==a.checksumV2?{hadBadDeltaChecksum:!0,badChecksum:s,badMergedConfigs:o,badFullResponse:a.deltas_full_response}:JSON.stringify(o)}},44228:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(13328);class i{constructor(e){this._sdkKey=e,this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings.clear()}finalize(){this._values||(this._source="NoValues")}getValues(){return this._rawValues?(0,r._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(e,t){var n;if(!e)return!1;let i=(0,r._typedJsonParse)(e.data,"has_updates","EvaluationResponse");return null!=i&&(this._source=e.source,(null==i?void 0:i.has_updates)!==!0||(this._rawValues=e.data,this._lcut=i.time,this._receivedAt=e.receivedAt,this._values=i,this._bootstrapMetadata=this._extractBootstrapMetadata(e.source,i),e.source&&i.user&&this._setWarningState(t,i),r.SDKFlags.setFlags(this._sdkKey,null!==(n=i.sdk_flags)&&void 0!==n?n:{}),!0))}getWarnings(){if(0!==this._warnings.size)return Array.from(this._warnings)}getGate(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.feature_gates,e)}getConfig(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.dynamic_configs,e)}getConfigList(){var e;return(null===(e=this._values)||void 0===e?void 0:e.dynamic_configs)?Object.values(this._values.dynamic_configs).map(e=>e.name):[]}getLayer(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.layer_configs,e)}getParamStore(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.param_stores,e)}getSource(){return this._source}getExposureMapping(){var e;return null===(e=this._values)||void 0===e?void 0:e.exposures}_extractBootstrapMetadata(e,t){if("Bootstrap"!==e)return null;let n={};return t.user&&(n.user=t.user),t.sdkInfo&&(n.generatorSDKInfo=t.sdkInfo),n.lcut=t.time,n}_getDetailedStoreResult(e,t){let n=null;return e&&(n=e[t]?e[t]:e[(0,r._DJB2)(t)]),{result:n,details:this._getDetails(null==n)}}_setWarningState(e,t){var n,i;let a=r.StableID.get(this._sdkKey);if((null===(n=e.customIDs)||void 0===n?void 0:n.stableID)!==a&&((null===(i=e.customIDs)||void 0===i?void 0:i.stableID)||a)){this._warnings.add("StableIDMismatch");return}if("user"in t){let n=t.user,i=Object.assign(Object.assign({},e),{analyticsOnlyMetadata:void 0,privateAttributes:void 0});(0,r._getFullUserHash)(i)!==(0,r._getFullUserHash)(n)&&this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if("Uninitialized"===this._source||"NoValues"===this._source)return{reason:this._source};let e={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(e.warnings=Array.from(this._warnings)),e}_getDetails(e){var t,n;let r=this.getCurrentSourceDetails(),i=r.reason,a=null!==(t=r.warnings)&&void 0!==t?t:[];"Bootstrap"===this._source&&a.length>0&&(i+=a[0]),"Uninitialized"!==i&&"NoValues"!==i&&(i=`${i}:${e?"Unrecognized":"Recognized"}`);let o="Bootstrap"===this._source&&null!==(n=this._bootstrapMetadata)&&void 0!==n?n:void 0;return o&&(r.bootstrapMetadata=o),Object.assign(Object.assign({},r),{reason:i})}}t.default=i},70226:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});let i=n(13328),a=n(33815);class o extends i.NetworkCore{constructor(e,t){super(e,t);let n=null==e?void 0:e.networkConfig;this._option=e,this._initializeUrlConfig=new i.UrlConfiguration(i.Endpoint._initialize,null==n?void 0:n.initializeUrl,null==n?void 0:n.api,null==n?void 0:n.initializeFallbackUrls)}fetchEvaluations(e,t,n,a,o){return r(this,void 0,void 0,function*(){var r,s,l,u,c,d;let h=t?(0,i._typedJsonParse)(t,"has_updates","InitializeResponse"):null,m={user:a,hash:null!==(l=null===(s=null===(r=this._option)||void 0===r?void 0:r.networkConfig)||void 0===s?void 0:s.initializeHashAlgorithm)&&void 0!==l?l:"djb2",deltasResponseRequested:!1,full_checksum:null};if(null==h?void 0:h.has_updates){let e=(null==h?void 0:h.hash_used)!==(null!==(d=null===(c=null===(u=this._option)||void 0===u?void 0:u.networkConfig)||void 0===c?void 0:c.initializeHashAlgorithm)&&void 0!==d?d:"djb2");m=Object.assign(Object.assign({},m),{sinceTime:o&&!e?h.time:0,previousDerivedFields:"derived_fields"in h&&o?h.derived_fields:{},deltasResponseRequested:!0,full_checksum:h.full_checksum,partialUserMatchSinceTime:e?0:h.time})}return this._fetchEvaluations(e,h,m,n)})}_fetchEvaluations(e,t,n,i){return r(this,void 0,void 0,function*(){var r,o;let s=yield this.post({sdkKey:e,urlConfig:this._initializeUrlConfig,data:n,retries:2,isStatsigEncodable:!0,priority:i});if((null==s?void 0:s.code)===204)return'{"has_updates": false}';if((null==s?void 0:s.code)!==200)return null!==(r=null==s?void 0:s.body)&&void 0!==r?r:null;if((null==t?void 0:t.has_updates)!==!0||(null===(o=s.body)||void 0===o?void 0:o.includes('"is_delta":true'))!==!0||!0!==n.deltasResponseRequested)return s.body;let l=(0,a._resolveDeltasResponse)(t,s.body);return"string"==typeof l?l:this._fetchEvaluations(e,t,Object.assign(Object.assign(Object.assign({},n),l),{deltasResponseRequested:!1}),i)})}}t.default=o},50866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeParamStoreGetter=void 0;let r=n(13328),i={disableExposureLog:!0};function a(e){return null==e||!1===e.disableExposureLog}function o(e,t){return null!=t&&!(0,r._isTypeMatch)(e,t)}t._makeParamStoreGetter=function(e,t,n){return(s,l)=>{if(null==t)return l;let u=t[s];if(null==u||null!=l&&(0,r._typeOf)(l)!==u.param_type)return l;switch(u.ref_type){case"static":return u.value;case"gate":return e.getFeatureGate(u.gate_name,a(n)?void 0:i).value?u.pass_value:u.fail_value;case"dynamic_config":return function(e,t,n,r){let s=e.getDynamicConfig(t.config_name,a(r)?void 0:i).get(t.param_name);return o(s,n)?n:s}(e,u,l,n);case"experiment":return function(e,t,n,r){let s=e.getExperiment(t.experiment_name,a(r)?void 0:i).get(t.param_name);return o(s,n)?n:s}(e,u,l,n);case"layer":return function(e,t,n,r){let s=e.getLayer(t.layer_name,a(r)?void 0:i).get(t.param_name);return o(s,n)?n:s}(e,u,l,n);default:return l}}}},74620:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});let i=n(13328),a=n(44228),o=n(70226),s=n(50866),l=n(95231);class u extends i.StatsigClientBase{static instance(e){let t=(0,i._getStatsigGlobal)().instance(e);return t instanceof u?t:(i.Log.warn((0,i._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new u(null!=e?e:"",{}))}constructor(e,t,n=null){var r,s;i.SDKType._setClientType(e,"javascript-client");let u=new o.default(n,e=>{this.$emt(e)});for(let o of(super(e,null!==(r=null==n?void 0:n.dataAdapter)&&void 0!==r?r:new l.StatsigEvaluationsDataAdapter,u,n),this._possibleFirstTouchMetadata={},this.getFeatureGate=this._memoize(i.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(i.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(i.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getConfigList=this._memoize(i.MemoPrefix._configList,this._getConfigListImpl.bind(this)),this.getLayer=this._memoize(i.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(i.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new a.default(e),this._network=u,this._user=this._configureUser(t,n),this._sdkInstanceID=(0,i.getUUID)(),null!==(s=null==n?void 0:n.plugins)&&void 0!==s?s:[]))o.bind(this)}initializeSync(e){var t;return"Uninitialized"!==this.loadingStatus?(0,i.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...null!==(t=this._store.getWarnings())&&void 0!==t?t:[]]):(this._logger.start(),this.updateUserSync(this._user,e))}initializeAsync(e){return r(this,void 0,void 0,function*(){return this._initializePromise||(this._initializePromise=this._initializeAsyncImpl(e)),this._initializePromise})}updateUserSync(e,t){let n=performance.now();try{return this._updateUserSyncImpl(e,t,n)}catch(t){let e=t instanceof Error?t:Error(String(t));return this._createErrorUpdateDetails(e,n)}}_updateUserSyncImpl(e,t,n){var r;let a=[...null!==(r=this._store.getWarnings())&&void 0!==r?r:[]];this._resetForUser(e);let o=this.dataAdapter.getDataSync(this._user);null==o&&a.push("NoCachedValues"),this._store.setValues(o,this._user),this._finalizeUpdate(o);let s=null==t?void 0:t.disableBackgroundCacheRefresh;return!0===s||null==s&&(null==o?void 0:o.source)==="Bootstrap"||this._runPostUpdate(null!=o?o:null,this._user),(0,i.createUpdateDetails)(!0,this._store.getSource(),performance.now()-n,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),a)}updateUserAsync(e,t){return r(this,void 0,void 0,function*(){let n=performance.now();try{return yield this._updateUserAsyncImpl(e,t)}catch(t){let e=t instanceof Error?t:Error(String(t));return this._createErrorUpdateDetails(e,n)}})}_updateUserAsyncImpl(e,t){return r(this,void 0,void 0,function*(){this._resetForUser(e);let n=this._user;i.Diagnostics._markInitOverallStart(this._sdkKey);let r=this.dataAdapter.getDataSync(n);if(this._store.setValues(r,this._user),this._setStatus("Loading",r),r=yield this.dataAdapter.getDataAsync(r,n,t),n!==this._user)return(0,i.createUpdateDetails)(!1,this._store.getSource(),-1,Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let a=!1;null!=r&&(i.Diagnostics._markInitProcessStart(this._sdkKey),a=this._store.setValues(r,this._user),i.Diagnostics._markInitProcessEnd(this._sdkKey,{success:a})),this._finalizeUpdate(r),a||(this._errorBoundary.attachErrorIfNoneExists(i.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),i.Diagnostics._markInitOverallEnd(this._sdkKey,a,this._store.getCurrentSourceDetails());let o=i.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,i.createUpdateDetails)(a,this._store.getSource(),o,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:i.StatsigSession.get(this._sdkKey),stableID:i.StableID.get(this._sdkKey),sdkInstanceID:this._sdkInstanceID}}checkGate(e,t){return this.getFeatureGate(e,t).value}logEvent(e,t,n){let r="string"==typeof e?{eventName:e,value:t,metadata:n}:e;this.$emt({name:"log_event_called",event:r}),this._logger.enqueue(Object.assign(Object.assign({},r),{user:this._user,time:Date.now()}))}updateUserWithAnalyticsOnlyMetadata(e){this._user=this._configureUser(Object.assign(Object.assign({},this._user),{analyticsOnlyMetadata:e}),this._options)}_primeReadyRipcord(){this.$on("error",()=>{"Loading"===this.loadingStatus&&this._finalizeUpdate(null)})}_initializeAsyncImpl(e){return r(this,void 0,void 0,function*(){return i.Storage.isReady()||(yield i.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,e)})}_createErrorUpdateDetails(e,t){var n;return(0,i.createUpdateDetails)(!1,this._store.getSource(),performance.now()-t,e,null,[...null!==(n=this._store.getWarnings())&&void 0!==n?n:[]])}_finalizeUpdate(e){this._store.finalize(),this._setStatus("Ready",e)}_runPostUpdate(e,t){this.dataAdapter.getDataAsync(e,t,{priority:"low"}).catch(e=>{i.Log.error("An error occurred after update.",e)})}_resetForUser(e){this._logger.reset(),this._store.reset(),this._user=this._configureUser(e,this._options)}_configureUser(e,t){var n;let r=(0,i._normalizeUser)(e,t),a=null===(n=r.customIDs)||void 0===n?void 0:n.stableID;return a&&i.StableID.setOverride(a,this._sdkKey),Object.keys(this._possibleFirstTouchMetadata).length>0&&(r.analyticsOnlyMetadata=Object.assign(Object.assign({},r.analyticsOnlyMetadata),this._possibleFirstTouchMetadata)),r}_getFeatureGateImpl(e,t){var n,r;let{result:a,details:o}=this._store.getGate(e),s=(0,i._makeFeatureGate)(e,o,a),l=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getGateOverride)||void 0===r?void 0:r.call(n,s,this._user,t),u=null!=l?l:s;return this._enqueueExposure(e,(0,i._createGateExposure)(this._user,u,this._store.getExposureMapping()),t),this.$emt({name:"gate_evaluation",gate:u}),u}_getDynamicConfigImpl(e,t){var n,r;let{result:a,details:o}=this._store.getConfig(e),s=(0,i._makeDynamicConfig)(e,o,a),l=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getDynamicConfigOverride)||void 0===r?void 0:r.call(n,s,this._user,t),u=null!=l?l:s;return this._enqueueExposure(e,(0,i._createConfigExposure)(this._user,u,this._store.getExposureMapping()),t),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:u}),u}_getExperimentImpl(e,t){var n,r,a,o;let{result:s,details:l}=this._store.getConfig(e),u=(0,i._makeExperiment)(e,l,s);null!=u.__evaluation&&(u.__evaluation.secondary_exposures=(0,i._mapExposures)(null!==(r=null===(n=u.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==r?r:[],this._store.getExposureMapping()));let c=null===(o=null===(a=this.overrideAdapter)||void 0===a?void 0:a.getExperimentOverride)||void 0===o?void 0:o.call(a,u,this._user,t),d=null!=c?c:u;return this._enqueueExposure(e,(0,i._createConfigExposure)(this._user,d,this._store.getExposureMapping()),t),this.$emt({name:"experiment_evaluation",experiment:d}),d}_getConfigListImpl(){return this._store.getConfigList()}_getLayerImpl(e,t){var n,r,a;let{result:o,details:s}=this._store.getLayer(e),l=(0,i._makeLayer)(e,s,o),u=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getLayerOverride)||void 0===r?void 0:r.call(n,l,this._user,t);(null==t?void 0:t.disableExposureLog)&&this._logger.incrementNonExposureCount(e);let c=(0,i._mergeOverride)(l,u,null!==(a=null==u?void 0:u.__value)&&void 0!==a?a:l.__value,n=>{null!=t&&t.disableExposureLog||this._enqueueExposure(e,(0,i._createLayerParameterExposure)(this._user,c,n,this._store.getExposureMapping()),t)});return this.$emt({name:"layer_evaluation",layer:c}),c}_getParameterStoreImpl(e,t){var n,r;let{result:i,details:a}=this._store.getParamStore(e);this._logger.incrementNonExposureCount(e);let o={name:e,details:a,__configuration:i,get:(0,s._makeParamStoreGetter)(this,i,t)},l=null===(r=null===(n=this.overrideAdapter)||void 0===n?void 0:n.getParamStoreOverride)||void 0===r?void 0:r.call(n,o,t);return null!=l&&(o.__configuration=l.config,o.details=l.details,o.get=(0,s._makeParamStoreGetter)(this,l.config,t)),o}}t.default=u},95231:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigEvaluationsDataAdapter=void 0;let i=n(13328),a=n(70226);class o extends i.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(e,t,n){super.attach(e,t,n),null!==n&&n instanceof a.default?this._network=n:this._network=new a.default(null!=t?t:{})}getDataAsync(e,t,n){return this._getDataAsyncImpl(e,(0,i._normalizeUser)(t,this._options),n)}prefetchData(e,t){return this._prefetchDataImpl(e,t)}setData(e){let t=(0,i._typedJsonParse)(e,"has_updates","data");t&&"user"in t?super.setData(e,t.user):i.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(e,t){super.setData(e,t)}_fetchFromNetwork(e,t,n,i){return r(this,void 0,void 0,function*(){var r;let a=yield null===(r=this._network)||void 0===r?void 0:r.fetchEvaluations(this._getSdkKey(),e,null==n?void 0:n.priority,t,i);return null!=a?a:null})}_getCacheKey(e){var t;let n=(0,i._getStorageKey)(this._getSdkKey(),e,null===(t=this._options)||void 0===t?void 0:t.customUserCacheKeyFunc);return`${i.DataAdapterCachePrefix}.${this._cacheSuffix}.${n}`}_isCachedResultValidFor204(e,t){return null!=e.fullUserHash&&e.fullUserHash===(0,i._getFullUserHash)(t)}}t.StatsigEvaluationsDataAdapter=o},90250:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClient=void 0;let a=n(13328),o=n(74620);t.StatsigClient=o.default,i(n(13328),t);let s=Object.assign((0,a._getStatsigGlobal)(),{StatsigClient:o.default});t.default=s},87276:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNoopClient=t.NoopEvaluationsClient=void 0;let r=n(13328),i={success:!1,error:Error("NoClient"),duration:0,source:"Uninitialized",sourceUrl:null},a=()=>{},o=()=>i,s=()=>Promise.resolve(),l=()=>Promise.resolve(i),u={reason:"Error:NoClient"},c=e=>(...t)=>{let n="string"==typeof t[0]?t[0]:t[1];switch(e){case"gate":return(0,r._makeFeatureGate)(n,u,null);case"config":return(0,r._makeDynamicConfig)(n,u,null);case"layer":return(0,r._makeLayer)(n,u,null);case"param_store":return{name:n}}},d={sdkKey:"",options:{},values:null,user:{userID:""},errorBoundary:{},session:{data:{sessionID:"",startTime:0,lastUpdate:0},sdkKey:""},stableID:"",storageProvider:r.Storage,sdkInstanceID:""},h={isNoop:!0,loadingStatus:"Uninitialized",initializeSync:o,initializeAsync:l,shutdown:s,flush:s,updateRuntimeOptions:a,updateUserSync:o,updateUserAsync:l,getContext:()=>Object.assign({},d),checkGate:()=>!1,getFeatureGate:c("gate"),getDynamicConfig:c("config"),getExperiment:c("config"),getLayer:c("layer"),getParameterStore:c("param_store"),logEvent:a,on:a,off:a,$on:a,$emt:a,dataAdapter:{attach:a,getDataSync:()=>null,getDataAsync:()=>Promise.resolve(null),setData:a,setDataLegacy:a,prefetchData:s}};t.NoopEvaluationsClient=h,t.isNoopClient=function(e){return"isNoop"in e}},77481:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(67294),i=n(87276);t.default=(0,r.createContext)({renderVersion:0,client:i.NoopEvaluationsClient,isLoading:!0})},59793:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigProvider=void 0;let r=n(85893),i=n(67294),a=n(13328),o=n(77481),s=n(96392);function l(e){let[t,n]=(0,i.useState)(0),a=(0,s.useClientAsyncInit)(e.sdkKey,e.user,e.options).client,[l,u]=(0,i.useState)(!d(a));c(a,n,u);let h=(0,i.useMemo)(()=>({renderVersion:t,client:a,isLoading:l}),[t,a,l]);return(0,r.jsx)(o.default.Provider,{value:h,children:null!=e.loadingComponent&&h.isLoading?e.loadingComponent:e.children})}function u(e){let[t,n]=(0,i.useState)(0),a=e.client,[s,l]=(0,i.useState)(!d(a));c(a,n,l);let u=(0,i.useMemo)(()=>({renderVersion:t,client:a,isLoading:s}),[t,a,s]);return(0,r.jsx)(o.default.Provider,{value:u,children:null!=e.loadingComponent&&u.isLoading?e.loadingComponent:e.children})}function c(e,t,n){(0,i.useEffect)(()=>{let r=()=>{t(e=>e+1),n(!d(e))};return a.SDKType._setBindingType("react"),e.$on("values_updated",r),()=>{e.flush().catch(e=>a.Log.error("An error occurred during flush",e)),e.off("values_updated",r)}},[e,t])}function d(e){return"isNoop"in e||"Ready"===e.loadingStatus}t.StatsigProvider=function(e){return"client"in e?(("sdkKey"in e||"user"in e)&&a.Log.warn("Both client and configuration props (sdkKey, user) were provided to StatsigProvider. The client prop will be used and the configuration props will be ignored."),(0,r.jsx)(u,Object.assign({},e))):(0,r.jsx)(l,Object.assign({},e))}},89211:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigUser=t.useStatsigInternalClientFactoryBootstrap=t.useStatsigInternalClientFactoryAsync=t.useStatsigClient=t.useParameterStore=t.useLayer=t.useGateValue=t.useFeatureGate=t.useExperiment=t.useDynamicConfig=t.useClientBootstrapInit=t.useClientAsyncInit=t.StatsigProvider=t.StatsigContext=void 0;let a=n(13328),o=n(77481);t.StatsigContext=o.default;let s=n(59793);Object.defineProperty(t,"StatsigProvider",{enumerable:!0,get:function(){return s.StatsigProvider}});let l=n(96392);Object.defineProperty(t,"useClientAsyncInit",{enumerable:!0,get:function(){return l.useClientAsyncInit}});let u=n(88740);Object.defineProperty(t,"useClientBootstrapInit",{enumerable:!0,get:function(){return u.useClientBootstrapInit}});let c=n(94357);t.useDynamicConfig=c.default;let d=n(72246);t.useExperiment=d.default;let h=n(54027);t.useFeatureGate=h.default;let m=n(90215);t.useGateValue=m.default;let f=n(42494);t.useLayer=f.default;let p=n(94054);t.useParameterStore=p.default;let g=n(37554);Object.defineProperty(t,"useStatsigClient",{enumerable:!0,get:function(){return g.useStatsigClient}});let v=n(56085);Object.defineProperty(t,"useStatsigInternalClientFactoryAsync",{enumerable:!0,get:function(){return v.useStatsigInternalClientFactoryAsync}});let b=n(2982);Object.defineProperty(t,"useStatsigInternalClientFactoryBootstrap",{enumerable:!0,get:function(){return b.useStatsigInternalClientFactoryBootstrap}});let _=n(2017);Object.defineProperty(t,"useStatsigUser",{enumerable:!0,get:function(){return _.useStatsigUser}}),i(n(90250),t),Object.assign((0,a._getStatsigGlobal)(),{StatsigContext:o.default,StatsigProvider:s.StatsigProvider,useClientAsyncInit:l.useClientAsyncInit,useClientBootstrapInit:u.useClientBootstrapInit,useDynamicConfig:c.default,useExperiment:d.default,useFeatureGate:h.default,useGateValue:m.default,useLayer:f.default,useParameterStore:p.default,useStatsigClient:g.useStatsigClient,useStatsigInternalClientFactoryAsync:v.useStatsigInternalClientFactoryAsync,useStatsigInternalClientFactoryBootstrap:b.useStatsigInternalClientFactoryBootstrap,useStatsigUser:_.useStatsigUser})},96392:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClientAsyncInit=void 0;let r=n(90250),i=n(56085);t.useClientAsyncInit=function(e,t,n=null){return(0,i.useStatsigInternalClientFactoryAsync)(e=>new r.StatsigClient(e.sdkKey,e.initialUser,e.statsigOptions),{sdkKey:e,initialUser:t,statsigOptions:n})}},88740:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClientBootstrapInit=void 0;let r=n(90250),i=n(2982);t.useClientBootstrapInit=function(e,t,n,a=null,o){return(0,i.useStatsigInternalClientFactoryBootstrap)(e=>new r.StatsigClient(e.sdkKey,e.initialUser,e.statsigOptions),{sdkKey:e,initialUser:t,initialValues:n,statsigOptions:a,useLegacyFormat:o})}},94357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(67294),i=n(13328),a=n(87276),o=n(77481);t.default=function(e,t){let{client:n,renderVersion:s}=(0,r.useContext)(o.default);return(0,r.useMemo)(()=>(0,a.isNoopClient)(n)?(i.Log.warn(`useDynamicConfig hook failed to find a valid StatsigClient for dynamic config '${e}'.`),a.NoopEvaluationsClient.getDynamicConfig(e,t)):n.getDynamicConfig(e,t),[e,n,s,...t?Object.values(t):[]])}},72246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(67294),i=n(13328),a=n(87276),o=n(77481);t.default=function(e,t){let{client:n,renderVersion:s}=(0,r.useContext)(o.default);return(0,r.useMemo)(()=>(0,a.isNoopClient)(n)?(i.Log.warn(`useExperiment hook failed to find a valid Statsig client for experiment '${e}'.`),a.NoopEvaluationsClient.getExperiment(e,t)):n.getExperiment(e,t),[e,n,s,...t?Object.values(t):[]])}},54027:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(67294),i=n(13328),a=n(87276),o=n(77481);t.default=function(e,t){let{client:n,renderVersion:s}=(0,r.useContext)(o.default);return(0,r.useMemo)(()=>(0,a.isNoopClient)(n)?(i.Log.warn(`useFeatureGate hook failed to find a valid StatsigClient for gate '${e}'.`),a.NoopEvaluationsClient.getFeatureGate(e,t)):n.getFeatureGate(e,t),[e,n,s,...t?Object.values(t):[]])}},90215:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(67294),i=n(13328),a=n(87276),o=n(77481);t.default=function(e,t){let{client:n,renderVersion:s}=(0,r.useContext)(o.default);return(0,r.useMemo)(()=>(0,a.isNoopClient)(n)?(i.Log.warn(`useGateValue hook failed to find a valid StatsigClient for gate '${e}'.`),a.NoopEvaluationsClient.checkGate(e,t)):n.checkGate(e,t),[e,n,s,...t?Object.values(t):[]])}},42494:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(67294),i=n(13328),a=n(87276),o=n(77481);t.default=function(e,t){let{client:n,renderVersion:s}=(0,r.useContext)(o.default);return(0,r.useMemo)(()=>(0,a.isNoopClient)(n)?(i.Log.warn(`useLayer hook failed to find a valid Statsig client for layer '${e}'.`),a.NoopEvaluationsClient.getLayer(e,t)):n.getLayer(e,t),[e,n,s,...t?Object.values(t):[]])}},94054:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(67294),i=n(13328),a=n(87276),o=n(77481);t.default=function(e,t){let{client:n,renderVersion:s}=(0,r.useContext)(o.default);return(0,r.useMemo)(()=>(0,a.isNoopClient)(n)?(i.Log.warn(`useParameterStore hook failed to find a valid StatsigClient for parameter store '${e}'.`),a.NoopEvaluationsClient.getParameterStore(e,t)):n.getParameterStore(e,t),[e,n,s,...t?Object.values(t):[]])}},37554:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigClient=void 0;let r=n(67294),i=n(13328),a=n(87276),o=n(77481);t.useStatsigClient=function(){let{client:e,renderVersion:t,isLoading:n}=(0,r.useContext)(o.default),s=(0,r.useMemo)(()=>(0,a.isNoopClient)(e)?(i.Log.warn("Attempting to retrieve a StatsigClient but none was set."),a.NoopEvaluationsClient):e,[e,t]),l=[s,t],u=(0,r.useCallback)((e,t)=>s.checkGate(e,t),l),c=(0,r.useCallback)((e,t)=>s.getFeatureGate(e,t),l),d=(0,r.useCallback)((e,t)=>s.getDynamicConfig(e,t),l),h=(0,r.useCallback)((e,t)=>s.getExperiment(e,t),l),m=(0,r.useCallback)((e,t)=>s.getLayer(e,t),l),f=(0,r.useCallback)((e,t)=>s.getParameterStore(e,t),l),p=(0,r.useCallback)((e,t,n)=>"string"==typeof e?s.logEvent(e,t,n):s.logEvent(e),l);return(0,r.useMemo)(()=>({client:s,checkGate:u,getFeatureGate:c,getDynamicConfig:d,getExperiment:h,getLayer:m,getParameterStore:f,logEvent:p,isLoading:n}),[s,u,c,d,h,m,f,p,n])}},56085:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigInternalClientFactoryAsync=void 0;let r=n(67294),i=n(13328);t.useStatsigInternalClientFactoryAsync=function(e,t){let n=(0,r.useMemo)(()=>{var n;return null!==(n=(0,i._getInstance)(t.sdkKey))&&void 0!==n?n:e(t)},[]),[a,o]=(0,r.useState)("Ready"!==n.loadingStatus);return(0,r.useMemo)(()=>{"Ready"!==n.loadingStatus&&n.initializeAsync().catch(i.Log.error).finally(()=>o(!1))},[]),{client:n,isLoading:a}}},2982:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigInternalClientFactoryBootstrap=void 0;let r=n(67294),i=n(13328);t.useStatsigInternalClientFactoryBootstrap=function(e,t){let n=(0,r.useRef)((0,i._getInstance)(t.sdkKey));return(0,r.useMemo)(()=>{if(n.current)return n.current;let r=e(t);return n.current=r,t.useLegacyFormat?r.dataAdapter.setDataLegacy(t.initialValues,t.initialUser):r.dataAdapter.setData(t.initialValues),r.initializeSync(),r},[])}},2017:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigUser=void 0;let r=n(67294),i=n(77481),a=n(37554);function o(e){return e.getContext().user}t.useStatsigUser=function(){let{client:e}=(0,a.useStatsigClient)(),{renderVersion:t}=(0,r.useContext)(i.default);return{user:(0,r.useMemo)(()=>o(e),[e,t]),updateUserSync:(0,r.useCallback)(t=>("function"==typeof t&&(t=t(o(e))),e.updateUserSync(t)),[e]),updateUserAsync:(0,r.useCallback)(t=>("function"==typeof t&&(t=t(o(e))),e.updateUserAsync(t)),[e])}}},69023:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoCapture=t.runStatsigAutoCapture=t.StatsigAutoCapturePlugin=void 0;let r=n(13328),i=n(35473),a=n(2824),o=n(39896),s=n(63480),l=n(50442),u=n(78325),c=n(12185),d=n(93683),h=n(50614),m={submit:i.AutoCaptureEventName.FORM_SUBMIT,click:i.AutoCaptureEventName.CLICK,copy:i.AutoCaptureEventName.COPY,cut:i.AutoCaptureEventName.COPY};class f{constructor(e){this._options=e,this.__plugin="auto-capture"}bind(e){p(e,this._options)}}function p(e,t){var n;let{sdkKey:i}=e.getContext();if(!(0,r._isServerEnv)()){let e=null!==(n=(0,r._getStatsigGlobal)().acInstances)&&void 0!==n?n:{};if(e[i])return e[i]}return new g(e,t)}t.StatsigAutoCapturePlugin=f,t.runStatsigAutoCapture=p;class g{constructor(e,t){var n,i,c,d;this._client=e,this._disabledEvents={},this._previousLoggedPageViewUrl=null,this._hasLoggedPageViewEnd=!1,this._pageViewLogged=!1;let{sdkKey:h,errorBoundary:m,values:f}=e.getContext();this._disabledEvents=null!==(i=null===(n=null==f?void 0:f.auto_capture_settings)||void 0===n?void 0:n.disabled_events)&&void 0!==i?i:{},this._errorBoundary=m,this._errorBoundary.wrap(this,"autoCapture:"),this._client.$on("values_updated",()=>{var e,t;let n=this._client.getContext().values;this._disabledEvents=null!==(t=null===(e=null==n?void 0:n.auto_capture_settings)||void 0===e?void 0:e.disabled_events)&&void 0!==t?t:this._disabledEvents}),this._engagementManager=new s.EngagementManager,this._rageClickManager=new l.default,this._webVitalsManager=new u.WebVitalsManager(this._enqueueAutoCapture.bind(this),m),this._deadClickManager=new o.default(this._enqueueAutoCapture.bind(this),m),this._consoleLogManager=new a.ConsoleLogManager(this._enqueueAutoCapture.bind(this),m,null!==(c=null==t?void 0:t.consoleLogAutoCaptureSettings)&&void 0!==c?c:{enabled:!1}),this._eventFilterFunc=null==t?void 0:t.eventFilterFunc;let p=(0,r._getDocumentSafe)();if(!(0,r._isServerEnv)()){let e=null!==(d=(__STATSIG__=(0,r._getStatsigGlobal)()).acInstances)&&void 0!==d?d:{};e[h]=this,__STATSIG__.acInstances=e}if((null==p?void 0:p.readyState)==="loading"){p.addEventListener("DOMContentLoaded",()=>this._initialize());return}this._initialize()}_addEventHandlers(){let e=(0,r._getWindowSafe)(),t=(0,r._getDocumentSafe)();if(!e||!t)return;let n=(e,t=!0)=>{var n;let i=e||(null===(n=(0,r._getWindowSafe)())||void 0===n?void 0:n.event);this._autoLogEvent(i),t&&this._engagementManager.bumpInactiveTimer(),"click"===i.type&&i instanceof MouseEvent&&this._rageClickManager.isRageClick(i.clientX,i.clientY,Date.now())&&this._logRageClick(i)};(0,c._registerEventHandler)(t,"click",e=>n(e)),(0,c._registerEventHandler)(t,"submit",e=>n(e)),(0,c._registerEventHandler)(t,"copy",e=>n(e)),(0,c._registerEventHandler)(t,"cut",e=>n(e)),(0,c._registerEventHandler)(e,"error",e=>n(e,!1)),(0,c._registerEventHandler)(e,"pagehide",()=>this._tryLogPageViewEnd()),(0,c._registerEventHandler)(e,"beforeunload",()=>this._tryLogPageViewEnd())}_addPageViewTracking(){let e=(0,r._getWindowSafe)(),t=(0,r._getDocumentSafe)();e&&t&&((0,c._registerEventHandler)(e,"popstate",()=>this._tryLogPageView()),window.history.pushState=new Proxy(window.history.pushState,{apply:(e,t,[n,r,i])=>{e.apply(t,[n,r,i]),this._tryLogPageView()}}),window.history.replaceState=new Proxy(window.history.replaceState,{apply:(e,t,[n,r,i])=>{e.apply(t,[n,r,i]),this._tryLogPageView()}}),this._tryLogPageView())}_autoLogEvent(e){var t,n,a;let o=null===(t=e.type)||void 0===t?void 0:t.toLowerCase();if("error"===o&&e instanceof ErrorEvent){this._logError(e);return}let s=(0,c._getTargetNode)(e);if(!s)return;let l=m[o];if(!l)return;let u=l===i.AutoCaptureEventName.COPY;if(!(0,c._shouldLogEvent)(e,s,u))return;let f={};if(u){let t=null===(a=null===(n=(0,r._getWindowSafe)())||void 0===n?void 0:n.getSelection())||void 0===a?void 0:a.toString();if(!t)return;f.selectedText=(0,c._sanitizeString)(t);let i=e.type||"clipboard";f.clipType=i}let{value:p,metadata:g}=(0,d._gatherEventData)(s);Object.assign(f,g);let v=(0,h._gatherAllMetadata)((0,c._getSafeUrl)());this._enqueueAutoCapture(l,p,Object.assign(Object.assign({},v),f))}_initialize(){this._webVitalsManager.startTracking(),this._deadClickManager.startTracking(),this._consoleLogManager.startTracking(),this._engagementManager.startInactivityTracking(()=>this._tryLogPageViewEnd(!0)),this._addEventHandlers(),this._addPageViewTracking(),this._logSessionStart(),this._logPerformance()}_logError(e){let t=(null==e?void 0:e.error)||{},n=t;if("object"==typeof t)try{n=JSON.stringify(t)}catch(e){n="function"==typeof(null==t?void 0:t.toString)?t.toString():"Unknown Error"}this._enqueueAutoCapture(i.AutoCaptureEventName.ERROR,e.message,{message:e.message,filename:e.filename,lineno:e.lineno,colno:e.colno,error_str:n})}_logSessionStart(){let e=this._getSessionFromClient();try{if(!this._isNewSession(e))return;this._enqueueAutoCapture(i.AutoCaptureEventName.SESSION_START,(0,c._getSanitizedPageUrl)(),Object.assign({sessionID:e.data.sessionID},(0,h._gatherAllMetadata)((0,c._getSafeUrl)())),{flushImmediately:!0})}catch(e){this._errorBoundary.logError("AC::logSession",e)}}_tryLogPageView(){let e=(0,c._getSafeUrl)(),t=this._previousLoggedPageViewUrl;if(t&&e.href===t.href)return;this._engagementManager.setLastPageViewTime(Date.now()),this._hasLoggedPageViewEnd=!1;let n=(0,h._gatherAllMetadata)(e);this._previousLoggedPageViewUrl&&(n.last_page_view_url=this._previousLoggedPageViewUrl.href),this._pageViewLogged||(this._updateClientWithPossibleFirstTouchMetadata(),this._pageViewLogged=!0),this._enqueueAutoCapture(i.AutoCaptureEventName.PAGE_VIEW,(0,c._getSanitizedPageUrl)(),n,{flushImmediately:!0,addNewSessionMetadata:!0}),this._previousLoggedPageViewUrl=e,this._engagementManager.bumpInactiveTimer()}_tryLogPageViewEnd(e=!1){if(this._hasLoggedPageViewEnd)return;this._hasLoggedPageViewEnd=!0;let t=this._engagementManager.getScrollMetrics(),n=this._engagementManager.getPageViewLength();this._enqueueAutoCapture(i.AutoCaptureEventName.PAGE_VIEW_END,(0,c._getSanitizedPageUrl)(),Object.assign(Object.assign({},t),{pageViewLength:n,dueToInactivity:e}),{flushImmediately:!0})}_logRageClick(e){let{value:t,metadata:n}=(0,d._gatherEventData)(e.target);this._enqueueAutoCapture(i.AutoCaptureEventName.RAGE_CLICK,t,Object.assign(Object.assign({x:e.clientX,y:e.clientY,timestamp:Date.now()},(0,h._gatherAllMetadata)((0,c._getSafeUrl)())),n))}_logPerformance(){let e=(0,r._getWindowSafe)();e&&e.performance&&void 0!==(null==e?void 0:e.performance)&&"function"==typeof e.performance.getEntriesByType&&"function"==typeof e.performance.getEntriesByName&&setTimeout(()=>{let t={},n=e.performance.getEntriesByType("navigation");if(n&&n.length>0&&n[0]instanceof PerformanceNavigationTiming){let e=n[0];t.load_time_ms=e.duration,t.dom_interactive_time_ms=e.domInteractive-e.startTime,t.redirect_count=e.redirectCount,t.transfer_bytes=e.transferSize}let r=e.performance.getEntriesByName("first-contentful-paint");r&&r.length>0&&r[0]instanceof PerformancePaintTiming&&(t.first_contentful_paint_time_ms=r[0].startTime),this._enqueueAutoCapture(i.AutoCaptureEventName.PERFORMANCE,(0,c._getSanitizedPageUrl)(),Object.assign(Object.assign({},t),(0,h._getNetworkInfo)()))},1)}_enqueueAutoCapture(e,t,n,i){var a,o,s;if(!t)return;let l=e.slice(14);if(this._disabledEvents[e]||this._disabledEvents[l])return;let u=this._getSessionFromClient();try{let l=Object.assign({sessionID:u.data.sessionID,page_url:null!==(s=null===(o=null===(a=(0,r._getWindowSafe)())||void 0===a?void 0:a.location)||void 0===o?void 0:o.href)&&void 0!==s?s:""},n);(null==i?void 0:i.addNewSessionMetadata)&&(l.isNewSession=String(this._isNewSession(u)));let c={eventName:e,value:t,metadata:l};if(this._eventFilterFunc&&!this._eventFilterFunc(c))return;this._client.logEvent(c),(null==i?void 0:i.flushImmediately)&&this._flushImmediately()}catch(e){this._errorBoundary.logError("AC::enqueue",e)}}_updateClientWithPossibleFirstTouchMetadata(){let e=this._client;e._possibleFirstTouchMetadata=(0,h._getPossibleFirstTouchMetadata)((0,c._getSafeUrl)()),e._user=Object.assign(Object.assign({},e._user),{analyticsOnlyMetadata:Object.assign(Object.assign({},e._possibleFirstTouchMetadata),e._user.analyticsOnlyMetadata)})}_flushImmediately(){this._client.flush().catch(e=>{r.Log.error(e)})}_isNewSession(e){return 1e3>Math.abs(e.data.startTime-Date.now())}_getSessionFromClient(){return this._client.getContext().session}static getAllMetadata(){return(0,h._gatherAllMetadata)((0,c._getSafeUrl)())}}t.AutoCapture=g},35473:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoCaptureEventName=void 0,t.AutoCaptureEventName={PAGE_VIEW:"auto_capture::page_view",PAGE_VIEW_END:"auto_capture::page_view_end",ERROR:"auto_capture::error",SESSION_START:"auto_capture::session_start",PERFORMANCE:"auto_capture::performance",FORM_SUBMIT:"auto_capture::form_submit",CLICK:"auto_capture::click",RAGE_CLICK:"auto_capture::rage_click",WEB_VITALS:"auto_capture::web_vitals",DEAD_CLICK:"auto_capture::dead_click",COPY:"auto_capture::copy",CONSOLE_LOG:"statsig::log_line"}},2824:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLogManager=void 0;let r=n(13328),i=n(35473),a=n(12185),o=n(50614),s={trace:10,debug:20,log:30,info:30,warn:40,error:50};class l{constructor(e,t,n){var r;this._enqueueFn=e,this._errorBoundary=t,this._options=n,this._restoreFns=[],this._isTracking=!1,this._logLevel="info",this.__source="js-auto-capture",this._logLevel=null!==(r=this._options.logLevel)&&void 0!==r?r:"info"}startTracking(){try{if(this._isTracking||!this._options.enabled||!(0,r._getWindowSafe)())return;this._patchConsole(),this._isTracking=!0}catch(e){r.Log.error("Error starting console log tracking",e),this._errorBoundary.logError("autoCapture:ConsoleLogManager",e)}}stopTracking(){this._isTracking&&(this._restoreFns.forEach(e=>e()),this._restoreFns=[],this._isTracking=!1)}_patchConsole(){Object.entries(s).forEach(([e,t])=>{if(t(...i)=>{if(t(...i),!r){r=!0;try{let t=i.map(e=>this._safeStringify(e)),n=this._getStackTrace();this._enqueueConsoleLog(e,t,n)}catch(e){n("console observer error:",e,...i),this._errorBoundary.logError("autoCapture:ConsoleLogManager",e)}finally{r=!1}}});this._restoreFns.push(i)})}_enqueueConsoleLog(e,t,n){if(!this._shouldLog())return;let r=Object.assign({status:"log"===e?"info":e,log_level:e,payload:t,trace:n,timestamp:Date.now(),source:this.__source},(0,o._gatherAllMetadata)((0,a._getSafeUrl)()));this._enqueueFn(i.AutoCaptureEventName.CONSOLE_LOG,t.join(" "),r)}_shouldLog(){return!this._options.sampleRate||"number"!=typeof this._options.sampleRate||this._options.sampleRate<=0||this._options.sampleRate>=1||Math.random(){let e=Date.now();this._clicks.forEach(t=>{t.scrollDelayMs||(t.scrollDelayMs=e-t.timestamp)})},50)}startTracking(){try{let e=(0,r._getWindowSafe)();if(!e)return;e.addEventListener("click",e=>this._handleClick(e),{capture:!0}),e.addEventListener("scroll",()=>this._handleScroll(),{capture:!0,passive:!0}),e.addEventListener("selectionchange",()=>this._handleSelectionChange()),this._setupMutationObserver()}catch(e){r.Log.error("Error starting dead click tracking",e),this._errorBoundary.logError("autoCapture:DeadClickManager",e)}}_handleClick(e){var t,n;let i=e.target;if(!i)return;let o={timestamp:Date.now(),eventTarget:i};a.interactiveElements.includes(null===(t=null==i?void 0:i.tagName)||void 0===t?void 0:t.toLowerCase())||this._clicks.push(o),this._clicks.length&&!this._clickCheckTimer&&(this._clickCheckTimer=null===(n=(0,r._getWindowSafe)())||void 0===n?void 0:n.setTimeout(()=>{this._checkForDeadClick()},this._deadClickConfig.CLICK_CHECK_TIMEOUT))}_handleSelectionChange(){this._lastSelectionChangeTime=Date.now()}_setupMutationObserver(){let e=(0,r._getDocumentSafe)();e&&(this._observer=new MutationObserver(()=>{this._lastMutationTime=Date.now()}),this._observer.observe(e.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}))}_checkForDeadClick(){var e;if(!this._clicks.length)return;clearTimeout(this._clickCheckTimer),this._clickCheckTimer=void 0;let t=this._clicks;for(let e of(this._clicks=[],t)){this._updateClickDelayMs(e);let t=null!=e.scrollDelayMs&&e.scrollDelayMsthis._deadClickConfig.SCROLL_DELAY_MS,a=null!=e.selectionChangeDelayMs&&e.selectionChangeDelayMs>this._deadClickConfig.SELECTION_CHANGE_DELAY_MS,o=null!=e.mutationDelayMs&&e.mutationDelayMs>this._deadClickConfig.MUTATION_DELAY_MS,s=null!=e.absoluteDelayMs&&e.absoluteDelayMs>this._deadClickConfig.ABSOLUTE_DEAD_CLICK_TIMEOUT;i||a||o||s?this._logDeadClick(e,{scrollTimeout:i,selectionChangeTimeout:a,mutationTimeout:o,absoluteTimeout:s}):null!=e.absoluteDelayMs&&e.absoluteDelayMs{this._checkForDeadClick()},this._deadClickConfig.CLICK_CHECK_TIMEOUT))}_logDeadClick(e,t){let{value:n,metadata:r}=(0,o._gatherEventData)(e.eventTarget);n&&this._enqueueFn(i.AutoCaptureEventName.DEAD_CLICK,n,Object.assign(Object.assign(Object.assign(Object.assign({},r),t),(0,s._gatherCommonMetadata)((0,a._getSafeUrl)())),{scrollDelayMs:e.scrollDelayMs,selectionChangeDelayMs:e.selectionChangeDelayMs,mutationDelayMs:e.mutationDelayMs,absoluteDelayMs:e.absoluteDelayMs}))}_updateClickDelayMs(e){!e.mutationDelayMs&&this._lastMutationTime>0&&e.timestamp<=this._lastMutationTime&&(e.mutationDelayMs=Date.now()-this._lastMutationTime),!e.selectionChangeDelayMs&&this._lastSelectionChangeTime>0&&e.timestamp<=this._lastSelectionChangeTime&&(e.selectionChangeDelayMs=Date.now()-this._lastSelectionChangeTime),e.absoluteDelayMs=Date.now()-e.timestamp}}t.default=l},63480:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EngagementManager=void 0;let r=n(13328);class i{constructor(){this._lastScrollY=0,this._maxScrollY=0,this._lastScrollPercentage=0,this._maxScrollPercentage=0,this._lastPageViewTime=Date.now(),this._inactiveTimer=null,this._onInactivityCallback=null,this._initializeScrollTracking()}_initializeScrollTracking(){let e=(0,r._getWindowSafe)();e&&(e.addEventListener("scroll",()=>this._handleScroll()),e.addEventListener("scrollend",()=>this._handleScroll()),e.addEventListener("resize",()=>this._handleScroll()))}_handleScroll(){let e=(0,r._getWindowSafe)(),t=(0,r._getDocumentSafe)();if(!e||!t)return;let n=t.body.scrollHeight,i=e.scrollY||t.documentElement.scrollTop||0,a=e.innerHeight;this._lastScrollY=i,this._maxScrollY=Math.max(this._maxScrollY,i);let o=Math.min(100,Math.round((i+a)/n*100));this._lastScrollPercentage=o,this._maxScrollPercentage=Math.max(this._maxScrollPercentage,o),this.bumpInactiveTimer()}getScrollMetrics(){return{lastScrollY:this._lastScrollY,maxScrollY:this._maxScrollY,lastScrollPercentage:this._lastScrollPercentage,maxScrollPercentage:this._maxScrollPercentage,scrollDepth:this._maxScrollPercentage}}getPageViewLength(){return Date.now()-this._lastPageViewTime}setLastPageViewTime(e){this._lastPageViewTime=e}startInactivityTracking(e){this._onInactivityCallback=e}bumpInactiveTimer(){let e=(0,r._getWindowSafe)();e&&(this._inactiveTimer&&clearTimeout(this._inactiveTimer),this._inactiveTimer=e.setTimeout(()=>{this._onInactivityCallback&&this._onInactivityCallback()},6e5))}}t.EngagementManager=i},50442:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(){this._clicks=[]}isRageClick(e,t,n){var r;return this._clicks=this._clicks.filter(e=>n-e.timestamp<1e3),this._clicks.length>0&&!(Math.abs(e-(r=this._clicks[this._clicks.length-1]).x)+Math.abs(t-r.y)<=30)&&(this._clicks=[]),this._clicks.push({x:e,y:t,timestamp:n}),this._clicks.length>=3}}t.default=n},78325:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebVitalsManager=void 0;let r=n(34511),i=n(13328),a=n(35473),o=n(12185),s=["CLS","FCP","LCP","TTFB"];class l{constructor(e,t){this._enqueueFn=e,this._errorBoundary=t,this._isInitialized=!1,this._metricEvent={url:(0,o._getSafeUrlString)(),sanitizedUrl:(0,o._getSanitizedPageUrl)(),metrics:[],firstMetricTimestamp:void 0}}startTracking(){var e,t;try{if(this._isInitialized)return;let n=null===(t=null===(e=(0,i._getWindowSafe)())||void 0===e?void 0:e.location)||void 0===t?void 0:t.protocol;if("https:"!==n&&"http:"!==n)return;(0,r.onCLS)(e=>this._handleMetric(e)),(0,r.onFCP)(e=>this._handleMetric(e)),(0,r.onLCP)(e=>this._handleMetric(e)),(0,r.onTTFB)(e=>this._handleMetric(e)),this._isInitialized=!0}catch(e){i.Log.error("Error starting web vitals tracking",e),this._errorBoundary.logError("autoCapture:WebVitalsManager",e)}}_handleMetric(e){if(void 0===this._metricEvent.firstMetricTimestamp&&(this._metricEvent.firstMetricTimestamp=Date.now()),void 0===e||(null==e?void 0:e.name)===void 0)return;let t=(0,o._getSafeUrlString)();""!==t&&s.includes(e.name)&&(t!==this._metricEvent.url&&(this._enqueueWebVitalsAutoCaptureEvent(),this._metricEvent.url=t),this._metricEvent.metrics.push({name:e.name,value:e.value,delta:e.delta,id:e.id}),this._metricEvent.metrics.length===s.length&&this._enqueueWebVitalsAutoCaptureEvent())}_enqueueWebVitalsAutoCaptureEvent(){if(""===this._metricEvent.url||0===this._metricEvent.metrics.length)return;let e={};this._metricEvent.metrics.forEach(t=>{let n=t.name.toLowerCase();e[`${n}_value`]=t.value,e[`${n}_delta`]=t.delta,e[`${n}_id`]=t.id}),this._enqueueFn(a.AutoCaptureEventName.WEB_VITALS,this._metricEvent.sanitizedUrl,Object.assign(Object.assign({},e),{first_metric_timestamp:this._metricEvent.firstMetricTimestamp})),this._metricEvent={url:(0,o._getSafeUrlString)(),sanitizedUrl:(0,o._getSanitizedPageUrl)(),metrics:[],firstMetricTimestamp:void 0}}}t.WebVitalsManager=l},12566:function(e,t,n){"use strict";t.AP=void 0;let r=n(13328),i=n(69023);Object.defineProperty(t,"AP",{enumerable:!0,get:function(){return i.runStatsigAutoCapture}}),n(35473),Object.assign((0,r._getStatsigGlobal)(),{AutoCapture:i.AutoCapture,runStatsigAutoCapture:i.runStatsigAutoCapture,StatsigAutoCapturePlugin:i.StatsigAutoCapturePlugin})},12185:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapFunctionWithRestore=t.throttle=t._sanitizeString=t._getAnchorNodeInHierarchy=t._getSafeTimezoneOffset=t._getSafeTimezone=t._getSafeNetworkInformation=t._registerEventHandler=t._getSanitizedPageUrl=t._getSafeUrlString=t._getSafeUrl=t._shouldLogEvent=t._getTargetNode=t._stripEmptyValues=t.interactiveElements=void 0;let r=n(13328),i=RegExp("^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$"),a=RegExp("^(\\d{3}-?\\d{2}-?\\d{4})$");function o(){var e,t,n;let i;let a=null!==(n=null===(t=null===(e=(0,r._getWindowSafe)())||void 0===e?void 0:e.location)||void 0===t?void 0:t.href)&&void 0!==n?n:"";try{i=new URL(a)}catch(e){i=new URL("error:")}return i}function s(e){if(!e)return null;let t=e;for(;t&&!["body","document"].includes(t.tagName.toLowerCase());){if("a"===t.tagName.toLowerCase())return t;t=t.parentElement}return null}t.interactiveElements=["button","a","input","select","textarea","form","select","label"],t._stripEmptyValues=function(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>null!=t&&""!==t&&void 0!==t))},t._getTargetNode=function(e){if(!e)return null;let t=e.target||e.srcElement;return t&&t instanceof Element?(3===t.nodeType&&(t=t.parentNode||null),t):null},t._shouldLogEvent=function(e,t,n=!1){if(!e||!t||1!==t.nodeType)return!1;let r=t.tagName.toLowerCase(),i=e.type.toLowerCase();if(t.classList.contains("statsig-no-capture"))return!1;if(n)return!0;switch(r){case"html":return!1;case"form":return["submit"].indexOf(i)>=0;case"input":case"select":case"textarea":return["change","click"].indexOf(i)>=0;default:if("click"===i&&("button"===r||s(t)))return!0;return!1}},t._getSafeUrl=o,t._getSafeUrlString=function(){let e=o().toString();return e.startsWith("error:")?"":e},t._getSanitizedPageUrl=function(){return(0,r._getCurrentPageUrlSafe)()||""},t._registerEventHandler=function(e,t,n){e&&e.addEventListener&&e.addEventListener(t,n,!0)},t._getSafeNetworkInformation=function(){let e=(0,r._getWindowSafe)();return e&&e.navigator&&e.navigator.connection||null},t._getSafeTimezone=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return null}},t._getSafeTimezoneOffset=function(){try{return new Date().getTimezoneOffset()}catch(e){return null}},t._getAnchorNodeInHierarchy=s,t._sanitizeString=function(e){return e?e.replace(/<[^>]*>/g,"").trim().split(/(\s+)/).filter(e=>!(i.test((e||"").replace(/[- ]/g,""))||a.test((e||"").replace(/[- ]/g,"")))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255):null},t.throttle=function(e,t){let n=0;return function(...r){let i=Date.now();i-n>=t&&(n=i,e(...r))}},t.wrapFunctionWithRestore=function(e,t,n){let r=e[t];if("function"!=typeof r)return()=>{};try{let i=n(r);return Object.defineProperty(i,"__statsig_original__",{enumerable:!1,value:r}),e[t]=i,()=>{e[t]=r}}catch(e){return()=>{}}}},93683:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getMetadataFromElement=t._gatherCopyEventData=t._gatherEventData=void 0;let r=n(13328),i=n(12185);function a(e,t){return e?e.length>t?e.substring(0,t)+"...":e:null}function o(e){let t={},n=Array.from(e.classList);return t.classList=n.length>0?n.slice(0,100):null,t.class=(a(e.getAttribute("class"),1e3)||"").replace(/\s+/g," ").trim(),t.id=a(e.getAttribute("id"),1e3),t.ariaLabel=a(e.getAttribute("aria-label"),1e3),t.selector=function(e){if(!e)return"";if(!e.parentNode){let t=e.tagName.toLowerCase();if(e.id)return`#${e.id}`;let n=t;if(e.className&&"string"==typeof e.className){let t=e.className.trim().split(/\s+/);t.length>0&&""!==t[0]&&(n+="."+t.join("."))}return n}let t=[],n=e,r=0;for(;n&&n.nodeType===Node.ELEMENT_NODE&&r<50;){let e=function(e){let t=e.tagName.toLowerCase();if(e.id)return`#${e.id}`;let n=t;if(e.className&&"string"==typeof e.className){let t=e.className.trim().split(/\s+/);t.length>0&&""!==t[0]&&(n+="."+t.join("."))}let r=e.parentElement;if(r&&r.children.length>1){let t=1,r=1,i=e.previousElementSibling;for(;i;)t++,i.tagName===e.tagName&&r++,i=i.previousElementSibling;n+=`:nth-child(${t})`,(r>1||function(e){let t=e.nextElementSibling;for(;t;){if(t.tagName===e.tagName)return!0;t=t.nextElementSibling}return!1}(e))&&(n+=`:nth-of-type(${r})`)}return n}(n);if(t.unshift(e),n.id||(n=n.parentElement)&&"body"===n.tagName.toLowerCase())break;r++}return t.join(" > ")}(e),t}t._gatherEventData=function(e){if("input"===e.tagName.toLowerCase()&&["button","checkbox","submit","reset"].includes(e.getAttribute("type")||"")||"textarea"===e.tagName.toLowerCase()||"select"===e.tagName.toLowerCase()||"true"===e.getAttribute("contenteditable"))return{value:null,metadata:{}};let t=e.tagName.toLowerCase(),n={},r=(0,i._getSanitizedPageUrl)()||"";n.tagName=t,Object.assign(n,o(e)),"form"===t&&Object.assign(n,function(e){var t;let n={};return n.action=e.getAttribute("action"),n.method=null!==(t=e.getAttribute("method"))&&void 0!==t?t:"GET",n.formName=e.getAttribute("name"),n.formId=e.getAttribute("id"),n}(e)),"input"===t&&Object.assign(n,function(e){let t={};return t.content=e.value,t.inputName=e.getAttribute("name"),t}(e));let a=(0,i._getAnchorNodeInHierarchy)(e);return a&&Object.assign(n,function(e){let t={};return t.href=e.getAttribute("href"),t}(a)),("button"===t||a)&&Object.assign(n,function(e){let t={};return t.content=(e.textContent||"").trim(),Object.assign(t,function(e){let t={};if(!e)return t;let n=null==e?void 0:e.dataset;if(!n)return t;for(let e in n)t[`data-${e}`]=n[e]||"";return t}(e)),t}(a||e)),{value:r,metadata:n}},t._gatherCopyEventData=function(e){var t,n;let a=null===(n=null===(t=(0,r._getWindowSafe)())||void 0===t?void 0:t.getSelection())||void 0===n?void 0:n.toString(),o={};o.selectedText=(0,i._sanitizeString)(a);let s=e.type||"clipboard";return o.clipType=s,o},t._getMetadataFromElement=o},50614:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getPossibleFirstTouchMetadata=t._getNetworkInfo=t._gatherAllMetadata=t._gatherCommonMetadata=void 0;let r=n(13328),i=n(12185);function a(e){var t,n,a,s,l,u,c,d;let h=(0,r._getDocumentSafe)(),m=(0,r._getWindowSafe)();return(0,i._stripEmptyValues)(Object.assign({title:null==h?void 0:h.title,current_url:null===(t=null==m?void 0:m.location)||void 0===t?void 0:t.href,user_agent:(null===(n=null==m?void 0:m.navigator)||void 0===n?void 0:n.userAgent)&&(null===(s=null===(a=null==m?void 0:m.navigator)||void 0===a?void 0:a.userAgent)||void 0===s?void 0:s.length)>200?m.navigator.userAgent.substring(0,200):null===(l=null==m?void 0:m.navigator)||void 0===l?void 0:l.userAgent,locale:null===(u=null==m?void 0:m.navigator)||void 0===u?void 0:u.language,hostname:e.hostname,pathname:e.pathname,screen_width:null===(c=null==m?void 0:m.screen)||void 0===c?void 0:c.width,screen_height:null===(d=null==m?void 0:m.screen)||void 0===d?void 0:d.height,viewport_width:null==m?void 0:m.innerWidth,viewport_height:null==m?void 0:m.innerHeight,viewport:`${null==m?void 0:m.innerWidth}x${null==m?void 0:m.innerHeight}`,timestamp:Date.now(),timezone:(0,i._getSafeTimezone)(),timezone_offset:(0,i._getSafeTimezoneOffset)()},o()))}function o(){let e=(0,i._getSafeNetworkInformation)(),t={};return(null==e?void 0:e.effectiveType)!==void 0&&(t.effective_connection_type=e.effectiveType),(null==e?void 0:e.rtt)!==void 0&&(t.rtt_ms=e.rtt),(null==e?void 0:e.downlink)!==void 0&&(t.downlink_mbps=e.downlink,t.downlink_kbps=1e3*e.downlink),(null==e?void 0:e.saveData)!==void 0&&(t.save_data=e.saveData),t}function s(e){let t=(null==e?void 0:e.referrer)||"";if(!t)return{referrer:null,referrer_domain:null,referrer_path:null,searchEngine:"",searchQuery:""};try{let e=new URL(t),n=e.hostname,r=["google","bing","yahoo","duckduckgo","baidu"].find(e=>n.includes(e+"."))||"",i=e.searchParams.get("yahoo"===r?"p":"q")||"";return{referrer:t,referrer_domain:e.hostname,referrer_path:e.pathname,searchEngine:r,searchQuery:i}}catch(e){return{referrer:null,referrer_domain:null,referrer_path:null,searchEngine:"",searchQuery:""}}}function l(e){let t=e.searchParams,n={};return["utm_source","utm_medium","utm_campaign","utm_term","utm_content","msclkid","dclid","fbclid","gad_source","gclid","gclsrc","wbraid","utm_id","irclid","igshid","_kx","li_fat_id","mc_cid","mc_eid","epik","qclid","rdt_cid","sccid","ttc","ttclid","ttc_id","twclid"].forEach(e=>{let r=t.get(e);r&&(n[e]=r)}),n}t._gatherCommonMetadata=a,t._gatherAllMetadata=function(e){let t=(0,r._getDocumentSafe)(),n=(0,r._getWindowSafe)();if(!t||!n)return{};let o=s(t),u=a(e),c=l(e),d={};return e.searchParams.forEach((e,t)=>{d[t]=e}),Object.assign(Object.assign({},u),(0,i._stripEmptyValues)(Object.assign(Object.assign(Object.assign({},o),c),d)))},t._getNetworkInfo=o,t._getPossibleFirstTouchMetadata=function(e){let t=(0,r._getDocumentSafe)(),n=(0,r._getWindowSafe)();if(!t||!n)return{};let a=s(t),o=l(e),u=(0,i._stripEmptyValues)(Object.assign(Object.assign({},a),o)),c={};for(let[e,t]of Object.entries(u))c[`$s_${e}`]=t;return c}},34511:function(e,t){!function(e){"use strict";let t;let n=-1,r=e=>{addEventListener("pageshow",t=>{t.persisted&&(n=t.timeStamp,e(t))},!0)},i=(e,t,n,r)=>{let i,a;return o=>{let s;t.value>=0&&(o||r)&&((a=t.value-(i??0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=(s=t.value)>n[1]?"poor":s>n[0]?"needs-improvement":"good",e(t))}},a=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},o=()=>{let e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart{let e=o();return e?.activationStart??0},l=(e,t=-1)=>{let r=o(),i="navigate";return n>=0?i="back-forward-cache":r&&(document.prerendering||s()>0?i="prerender":document.wasDiscarded?i="restore":r.type&&(i=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},u=new WeakMap;function c(e,t){return u.get(e)||u.set(e,new t),u.get(e)}class d{t;i=0;o=[];h(e){if(e.hadRecentInput)return;let t=this.o[0],n=this.o.at(-1);this.i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}}let h=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},m=e=>{let t=!1;return()=>{t||(e(),t=!0)}},f=-1,p=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,g=e=>{"hidden"===document.visibilityState&&f>-1&&(f="visibilitychange"===e.type?e.timeStamp:0,b())},v=()=>{addEventListener("visibilitychange",g,!0),addEventListener("prerenderingchange",g,!0)},b=()=>{removeEventListener("visibilitychange",g,!0),removeEventListener("prerenderingchange",g,!0)},_=()=>{if(f<0){let e=s();f=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??p(),v(),r(()=>{setTimeout(()=>{f=p(),v()})})}return{get firstHiddenTime(){return f}}},E=e=>{document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},y=[1800,3e3],S=(e,t={})=>{E(()=>{let n=_(),o,u=l("FCP"),c=h("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(c.disconnect(),t.startTime{o=i(e,u=l("FCP"),y,t.reportAllChanges),a(()=>{u.value=performance.now()-n.timeStamp,o(!0)})}))})},C=[.1,.25],w=0,T=1/0,k=0,I=e=>{for(let t of e)t.interactionId&&(T=Math.min(T,t.interactionId),w=(k=Math.max(k,t.interactionId))?(k-T)/7+1:0)},A=()=>t?w:performance.interactionCount??0,N=()=>{"interactionCount"in performance||t||(t=h("event",I,{type:"event",buffered:!0,durationThreshold:0}))},L=0;class O{u=[];l=new Map;m;p;v(){L=A(),this.u.length=0,this.l.clear()}T(){let e=Math.min(this.u.length-1,Math.floor((A()-L)/50));return this.u[e]}h(e){if(this.m?.(e),!e.interactionId&&"first-input"!==e.entryType)return;let t=this.u.at(-1),n=this.l.get(e.interactionId);if(n||this.u.length<10||e.duration>t.P){if(n?e.duration>n.P?(n.entries=[e],n.P=e.duration):e.duration===n.P&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],P:e.duration},this.l.set(n.id,n),this.u.push(n)),this.u.sort((e,t)=>t.P-e.P),this.u.length>10)for(let e of this.u.splice(10))this.l.delete(e.id);this.p?.(n)}}}let M=e=>{let t=globalThis.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?e():(e=m(e),document.addEventListener("visibilitychange",e,{once:!0}),t(()=>{e(),document.removeEventListener("visibilitychange",e)}))},P=[200,500];class B{m;h(e){this.m?.(e)}}let D=[2500,4e3],R=[800,1800],H=e=>{document.prerendering?E(()=>H(e)):"complete"!==document.readyState?addEventListener("load",()=>H(e),!0):setTimeout(e)};e.CLSThresholds=C,e.FCPThresholds=y,e.INPThresholds=P,e.LCPThresholds=D,e.TTFBThresholds=R,e.onCLS=(e,t={})=>{S(m(()=>{let n,o=l("CLS",0),s=c(t,d),u=e=>{for(let t of e)s.h(t);s.i>o.value&&(o.value=s.i,o.entries=s.o,n())},m=h("layout-shift",u);m&&(n=i(e,o,C,t.reportAllChanges),document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&(u(m.takeRecords()),n(!0))}),r(()=>{s.i=0,n=i(e,o=l("CLS",0),C,t.reportAllChanges),a(()=>n())}),setTimeout(n))}))},e.onFCP=S,e.onINP=(e,t={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&E(()=>{N();let n,a=l("INP"),o=c(t,O),s=e=>{M(()=>{for(let t of e)o.h(t);let t=o.T();t&&t.P!==a.value&&(a.value=t.P,a.entries=t.entries,n())})},u=h("event",s,{durationThreshold:t.durationThreshold??40});n=i(e,a,P,t.reportAllChanges),u&&(u.observe({type:"first-input",buffered:!0}),document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&(s(u.takeRecords()),n(!0))}),r(()=>{o.v(),n=i(e,a=l("INP"),P,t.reportAllChanges)}))})},e.onLCP=(e,t={})=>{E(()=>{let n=_(),o,u=l("LCP"),d=c(t,B),f=e=>{for(let r of(t.reportAllChanges||(e=e.slice(-1)),e))d.h(r),r.startTime{f(p.takeRecords()),p.disconnect(),o(!0)});for(let e of["keydown","click","visibilitychange"])addEventListener(e,()=>M(n),{capture:!0,once:!0});r(n=>{o=i(e,u=l("LCP"),D,t.reportAllChanges),a(()=>{u.value=performance.now()-n.timeStamp,o(!0)})})}})},e.onTTFB=(e,t={})=>{let n=l("TTFB"),a=i(e,n,R,t.reportAllChanges);H(()=>{let u=o();u&&(n.value=Math.max(u.responseStart-s(),0),n.entries=[u],a(!0),r(()=>{(a=i(e,n=l("TTFB",0),R,t.reportAllChanges))(!0)}))})}}(t)},29545:function(e,t,n){"use strict";n.d(t,{x7:function(){return R},X5:function(){return O},Me:function(){return A},oo:function(){return U},US:function(){return N},RR:function(){return P},Cp:function(){return D},Qo:function(){return H},dr:function(){return x},cv:function(){return L},Jv:function(){return k},uY:function(){return M},dp:function(){return B}});var r=n(71347);function i(e,t,n){let i,{reference:a,floating:o}=e,s=(0,r.Qq)(t),l=(0,r.Wh)(t),u=(0,r.I4)(l),c=(0,r.k3)(t),d="y"===s,h=a.x+a.width/2-o.width/2,m=a.y+a.height/2-o.height/2,f=a[u]/2-o[u]/2;switch(c){case"top":i={x:h,y:a.y-o.height};break;case"bottom":i={x:h,y:a.y+a.height};break;case"right":i={x:a.x+a.width,y:m};break;case"left":i={x:a.x-o.width,y:m};break;default:i={x:a.x,y:a.y}}switch((0,r.hp)(t)){case"start":i[l]-=f*(n&&d?-1:1);break;case"end":i[l]+=f*(n&&d?-1:1)}return i}async function a(e,t){var n;void 0===t&&(t={});let{x:i,y:a,platform:o,rects:s,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:m=!1,padding:f=0}=(0,r.ku)(t,e),p=(0,r.yd)(f),g=l[m?"floating"===h?"reference":"floating":h],v=(0,r.JB)(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),b="floating"===h?{x:i,y:a,width:s.floating.width,height:s.floating.height}:s.reference,_=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),E=await (null==o.isElement?void 0:o.isElement(_))&&await (null==o.getScale?void 0:o.getScale(_))||{x:1,y:1},y=(0,r.JB)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:_,strategy:u}):b);return{top:(v.top-y.top+p.top)/E.y,bottom:(y.bottom-v.bottom+p.bottom)/E.y,left:(v.left-y.left+p.left)/E.x,right:(y.right-v.right+p.right)/E.x}}let o=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:l}=n,u=l.detectOverflow?l:{...l,detectOverflow:a},c=await (null==l.isRTL?void 0:l.isRTL(t)),d=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:m}=i(d,r,c),f=r,p=0,g={};for(let n=0;ne[t]>=0)}function u(e){let t=(0,r.VV)(...e.map(e=>e.left)),n=(0,r.VV)(...e.map(e=>e.top));return{x:t,y:n,width:(0,r.Fp)(...e.map(e=>e.right))-t,height:(0,r.Fp)(...e.map(e=>e.bottom))-n}}let c=new Set(["left","top"]);async function d(e,t){let{placement:n,platform:i,elements:a}=e,o=await (null==i.isRTL?void 0:i.isRTL(a.floating)),s=(0,r.k3)(n),l=(0,r.hp)(n),u="y"===(0,r.Qq)(n),d=c.has(s)?-1:1,h=o&&u?-1:1,m=(0,r.ku)(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:g}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return l&&"number"==typeof g&&(p="end"===l?-1*g:g),u?{x:p*h,y:f*d}:{x:f*d,y:p*h}}var h=n(37317);function m(e){let t=(0,h.Dx)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,a=(0,h.Re)(e),o=a?e.offsetWidth:n,s=a?e.offsetHeight:i,l=(0,r.NM)(n)!==o||(0,r.NM)(i)!==s;return l&&(n=o,i=s),{width:n,height:i,$:l}}function f(e){return(0,h.kK)(e)?e:e.contextElement}function p(e){let t=f(e);if(!(0,h.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:i,height:a,$:o}=m(t),s=(o?(0,r.NM)(n.width):n.width)/i,l=(o?(0,r.NM)(n.height):n.height)/a;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}let g=(0,r.ze)(0);function v(e){let t=(0,h.Jj)(e);return(0,h.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:g}function b(e,t,n,i){var a;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),s=f(e),l=(0,r.ze)(1);t&&(i?(0,h.kK)(i)&&(l=p(i)):l=p(e));let u=(void 0===(a=n)&&(a=!1),i&&(!a||i===(0,h.Jj)(s))&&a)?v(s):(0,r.ze)(0),c=(o.left+u.x)/l.x,d=(o.top+u.y)/l.y,m=o.width/l.x,g=o.height/l.y;if(s){let e=(0,h.Jj)(s),t=i&&(0,h.kK)(i)?(0,h.Jj)(i):i,n=e,r=(0,h.wK)(n);for(;r&&i&&t!==n;){let e=p(r),t=r.getBoundingClientRect(),i=(0,h.Dx)(r),a=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,d*=e.y,m*=e.x,g*=e.y,c+=a,d+=o,n=(0,h.Jj)(r),r=(0,h.wK)(n)}}return(0,r.JB)({width:m,height:g,x:c,y:d})}function _(e,t){let n=(0,h.Lw)(e).scrollLeft;return t?t.left+n:b((0,h.tF)(e)).left+n}function E(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-_(e,n),y:n.top+t.scrollTop}}function y(e,t,n){let i;if("viewport"===t)i=function(e,t){let n=(0,h.Jj)(e),r=(0,h.tF)(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;let e=(0,h.Pf)();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}let u=_(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=25&&(a-=o)}else u<=25&&(a+=u);return{width:a,height:o,x:s,y:l}}(e,n);else if("document"===t)i=function(e){let t=(0,h.tF)(e),n=(0,h.Lw)(e),i=e.ownerDocument.body,a=(0,r.Fp)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=(0,r.Fp)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+_(e),l=-n.scrollTop;return"rtl"===(0,h.Dx)(i).direction&&(s+=(0,r.Fp)(t.clientWidth,i.clientWidth)-a),{width:a,height:o,x:s,y:l}}((0,h.tF)(e));else if((0,h.kK)(t))i=function(e,t){let n=b(e,!0,"fixed"===t),i=n.top+e.clientTop,a=n.left+e.clientLeft,o=(0,h.Re)(e)?p(e):(0,r.ze)(1),s=e.clientWidth*o.x;return{width:s,height:e.clientHeight*o.y,x:a*o.x,y:i*o.y}}(t,n);else{let n=v(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.JB)(i)}function S(e){return"static"===(0,h.Dx)(e).position}function C(e,t){if(!(0,h.Re)(e)||"fixed"===(0,h.Dx)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,h.tF)(e)===n&&(n=n.ownerDocument.body),n}function w(e,t){let n=(0,h.Jj)(e);if((0,h.tR)(e))return n;if(!(0,h.Re)(e)){let t=(0,h.Ow)(e);for(;t&&!(0,h.Py)(t);){if((0,h.kK)(t)&&!S(t))return t;t=(0,h.Ow)(t)}return n}let r=C(e,t);for(;r&&(0,h.Ze)(r)&&S(r);)r=C(r,t);return r&&(0,h.Py)(r)&&S(r)&&!(0,h.hT)(r)?n:r||(0,h.gQ)(e)||n}let T=async function(e){let t=this.getOffsetParent||w,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,h.Re)(t),a=(0,h.tF)(t),o="fixed"===n,s=b(e,!0,o,t),l={scrollLeft:0,scrollTop:0},u=(0,r.ze)(0);if(i||!i&&!o){if(("body"!==(0,h.wk)(t)||(0,h.ao)(a))&&(l=(0,h.Lw)(t)),i){let e=b(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else a&&(u.x=_(a))}o&&!i&&a&&(u.x=_(a));let c=!a||i||o?(0,r.ze)(0):E(a,l);return{x:s.left+l.scrollLeft-u.x-c.x,y:s.top+l.scrollTop-u.y-c.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},k={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:a}=e,o="fixed"===a,s=(0,h.tF)(i),l=!!t&&(0,h.tR)(t.floating);if(i===s||l&&o)return n;let u={scrollLeft:0,scrollTop:0},c=(0,r.ze)(1),d=(0,r.ze)(0),m=(0,h.Re)(i);if((m||!m&&!o)&&(("body"!==(0,h.wk)(i)||(0,h.ao)(s))&&(u=(0,h.Lw)(i)),m)){let e=b(i);c=p(i),d.x=e.x+i.clientLeft,d.y=e.y+i.clientTop}let f=!s||m||o?(0,r.ze)(0):E(s,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+f.x,y:n.y*c.y-u.scrollTop*c.y+d.y+f.y}},getDocumentElement:h.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:a}=e,o=[..."clippingAncestors"===n?(0,h.tR)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,h.Kx)(e,[],!1).filter(e=>(0,h.kK)(e)&&"body"!==(0,h.wk)(e)),i=null,a="fixed"===(0,h.Dx)(e).position,o=a?(0,h.Ow)(e):e;for(;(0,h.kK)(o)&&!(0,h.Py)(o);){let t=(0,h.Dx)(o),n=(0,h.hT)(o);n||"fixed"!==t.position||(i=null),(a?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||(0,h.ao)(o)&&!n&&function e(t,n){let r=(0,h.Ow)(t);return!(r===n||!(0,h.kK)(r)||(0,h.Py)(r))&&("fixed"===(0,h.Dx)(r).position||e(r,n))}(e,o)))?i=t:r=r.filter(e=>e!==o),o=(0,h.Ow)(o)}return t.set(e,r),r}(t,this._c):[].concat(n),i],s=y(t,o[0],a),l=s.top,u=s.right,c=s.bottom,d=s.left;for(let e=1;e{o&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let p=d&&u?function(e,t){let n,i=null,a=(0,h.tF)(e);function o(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return!function s(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),o();let c=e.getBoundingClientRect(),{left:d,top:h,width:m,height:f}=c;if(l||t(),!m||!f)return;let p=(0,r.GW)(h),g=(0,r.GW)(a.clientWidth-(d+m)),v={rootMargin:-p+"px "+-g+"px "+-(0,r.GW)(a.clientHeight-(h+f))+"px "+-(0,r.GW)(d)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,u))||1},b=!0;function _(t){let r=t[0].intersectionRatio;if(r!==u){if(!b)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||I(c,e.getBoundingClientRect())||s(),b=!1}try{i=new IntersectionObserver(_,{...v,root:a.ownerDocument})}catch(e){i=new IntersectionObserver(_,v)}i.observe(e)}(!0),o}(d,n):null,g=-1,v=null;l&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&v&&t&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),d&&!c&&v.observe(d),t&&v.observe(t));let _=c?b(e):null;return c&&function t(){let r=b(e);_&&!I(_,r)&&n(),_=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{o&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=v)||e.disconnect(),v=null,c&&cancelAnimationFrame(a)}}let N=a,L=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:a,placement:o,middlewareData:s}=t,l=await d(t,e);return o===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},O=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,a,o;let{rects:s,middlewareData:l,placement:u,platform:c,elements:d}=t,{crossAxis:h=!1,alignment:m,allowedPlacements:f=r.Ct,autoAlignment:p=!0,...g}=(0,r.ku)(e,t),v=void 0!==m||f===r.Ct?((o=m||null)?[...f.filter(e=>(0,r.hp)(e)===o),...f.filter(e=>(0,r.hp)(e)!==o)]:f.filter(e=>(0,r.k3)(e)===e)).filter(e=>!o||(0,r.hp)(e)===o||!!p&&(0,r.Go)(e)!==e):f,b=await c.detectOverflow(t,g),_=(null==(n=l.autoPlacement)?void 0:n.index)||0,E=v[_];if(null==E)return{};let y=(0,r.i8)(E,s,await (null==c.isRTL?void 0:c.isRTL(d.floating)));if(u!==E)return{reset:{placement:v[0]}};let S=[b[(0,r.k3)(E)],b[y[0]],b[y[1]]],C=[...(null==(i=l.autoPlacement)?void 0:i.overflows)||[],{placement:E,overflows:S}],w=v[_+1];if(w)return{data:{index:_+1,overflows:C},reset:{placement:w}};let T=C.map(e=>{let t=(0,r.hp)(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),k=(null==(a=T.filter(e=>e[2].slice(0,(0,r.hp)(e[0])?2:3).every(e=>e<=0))[0])?void 0:a[0])||T[0][0];return k!==u?{data:{index:_+1,overflows:C},reset:{placement:k}}:{}}}},M=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:a,platform:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r.ku)(e,t),d={x:n,y:i},h=await o.detectOverflow(t,c),m=(0,r.Qq)((0,r.k3)(a)),f=(0,r.Rn)(m),p=d[f],g=d[m];if(s){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+h[e],i=p-h[t];p=(0,r.uZ)(n,p,i)}if(l){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=g+h[e],i=g-h[t];g=(0,r.uZ)(n,g,i)}let v=u.fn({...t,[f]:p,[m]:g});return{...v,data:{x:v.x-n,y:v.y-i,enabled:{[f]:s,[m]:l}}}}}},P=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,a,o,s;let{placement:l,middlewareData:u,rects:c,initialPlacement:d,platform:h,elements:m}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:_=!0,...E}=(0,r.ku)(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let y=(0,r.k3)(l),S=(0,r.Qq)(d),C=(0,r.k3)(d)===d,w=await (null==h.isRTL?void 0:h.isRTL(m.floating)),T=g||(C||!_?[(0,r.pw)(d)]:(0,r.gy)(d)),k="none"!==b;!g&&k&&T.push(...(0,r.KX)(d,_,b,w));let I=[d,...T],A=await h.detectOverflow(t,E),N=[],L=(null==(i=u.flip)?void 0:i.overflows)||[];if(f&&N.push(A[y]),p){let e=(0,r.i8)(l,c,w);N.push(A[e[0]],A[e[1]])}if(L=[...L,{placement:l,overflows:N}],!N.every(e=>e<=0)){let e=((null==(a=u.flip)?void 0:a.index)||0)+1,t=I[e];if(t&&(!("alignment"===p&&S!==(0,r.Qq)(t))||L.every(e=>(0,r.Qq)(e.placement)!==S||e.overflows[0]>0)))return{data:{index:e,overflows:L},reset:{placement:t}};let n=null==(o=L.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(v){case"bestFit":{let e=null==(s=L.filter(e=>{if(k){let t=(0,r.Qq)(e.placement);return t===S||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(n=e);break}case"initialPlacement":n=d}if(l!==n)return{reset:{placement:n}}}return{}}}},B=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,i;let a,o;let{placement:s,rects:l,platform:u,elements:c}=t,{apply:d=()=>{},...h}=(0,r.ku)(e,t),m=await u.detectOverflow(t,h),f=(0,r.k3)(s),p=(0,r.hp)(s),g="y"===(0,r.Qq)(s),{width:v,height:b}=l.floating;"top"===f||"bottom"===f?(a=f,o=p===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(o=f,a="end"===p?"top":"bottom");let _=b-m.top-m.bottom,E=v-m.left-m.right,y=(0,r.VV)(b-m[a],_),S=(0,r.VV)(v-m[o],E),C=!t.middlewareData.shift,w=y,T=S;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(T=E),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(w=_),C&&!p){let e=(0,r.Fp)(m.left,0),t=(0,r.Fp)(m.right,0),n=(0,r.Fp)(m.top,0),i=(0,r.Fp)(m.bottom,0);g?T=v-2*(0!==e||0!==t?e+t:(0,r.Fp)(m.left,m.right)):w=b-2*(0!==n||0!==i?n+i:(0,r.Fp)(m.top,m.bottom))}await d({...t,availableWidth:T,availableHeight:w});let k=await u.getDimensions(c.floating);return v!==k.width||b!==k.height?{reset:{rects:!0}}:{}}}},D=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:i}=t,{strategy:a="referenceHidden",...o}=(0,r.ku)(e,t);switch(a){case"referenceHidden":{let e=s(await i.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:l(e)}}}case"escaped":{let e=s(await i.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:l(e)}}}default:return{}}}}},R=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:a,rects:o,platform:s,elements:l,middlewareData:u}=t,{element:c,padding:d=0}=(0,r.ku)(e,t)||{};if(null==c)return{};let h=(0,r.yd)(d),m={x:n,y:i},f=(0,r.Wh)(a),p=(0,r.I4)(f),g=await s.getDimensions(c),v="y"===f,b=v?"clientHeight":"clientWidth",_=o.reference[p]+o.reference[f]-m[f]-o.floating[p],E=m[f]-o.reference[f],y=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),S=y?y[b]:0;S&&await (null==s.isElement?void 0:s.isElement(y))||(S=l.floating[b]||o.floating[p]);let C=S/2-g[p]/2-1,w=(0,r.VV)(h[v?"top":"left"],C),T=(0,r.VV)(h[v?"bottom":"right"],C),k=S-g[p]-T,I=S/2-g[p]/2+(_/2-E/2),A=(0,r.uZ)(w,I,k),N=!u.arrow&&null!=(0,r.hp)(a)&&I!==A&&o.reference[p]/2-(Ie.y-t.y),n=[],i=null;for(let e=0;ei.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(e=>(0,r.JB)(u(e)))}(h),f=(0,r.JB)(u(h)),p=(0,r.yd)(l),g=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=c&&null!=d)return m.find(e=>c>e.left-p.left&&ce.top-p.top&&d=2){if("y"===(0,r.Qq)(n)){let e=m[0],t=m[m.length-1],i="top"===(0,r.k3)(n),a=e.top,o=t.bottom,s=i?e.left:t.left,l=i?e.right:t.right;return{top:a,bottom:o,left:s,right:l,width:l-s,height:o-a,x:s,y:a}}let e="left"===(0,r.k3)(n),t=(0,r.Fp)(...m.map(e=>e.right)),i=(0,r.VV)(...m.map(e=>e.left)),a=m.filter(n=>e?n.left===i:n.right===t),o=a[0].top,s=a[a.length-1].bottom;return{top:o,bottom:s,left:i,right:t,width:t-i,height:s-o,x:i,y:o}}return f}},floating:i.floating,strategy:s});return a.reference.x!==g.reference.x||a.reference.y!==g.reference.y||a.reference.width!==g.reference.width||a.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}},x=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:a,rects:o,middlewareData:s}=t,{offset:l=0,mainAxis:u=!0,crossAxis:d=!0}=(0,r.ku)(e,t),h={x:n,y:i},m=(0,r.Qq)(a),f=(0,r.Rn)(m),p=h[f],g=h[m],v=(0,r.ku)(l,t),b="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){let e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+b.mainAxis,n=o.reference[f]+o.reference[e]-b.mainAxis;pn&&(p=n)}if(d){var _,E;let e="y"===f?"width":"height",t=c.has((0,r.k3)(a)),n=o.reference[m]-o.floating[e]+(t&&(null==(_=s.offset)?void 0:_[m])||0)+(t?0:b.crossAxis),i=o.reference[m]+o.reference[e]+(t?0:(null==(E=s.offset)?void 0:E[m])||0)-(t?b.crossAxis:0);gi&&(g=i)}return{[f]:p,[m]:g}}}},U=(e,t,n)=>{let r=new Map,i={platform:k,...n},a={...i.platform,_c:r};return o(e,t,{...i,platform:a})}},1371:function(e,t,n){"use strict";n.d(t,{Cp:function(){return _},Qo:function(){return E},RR:function(){return g},X5:function(){return b},YF:function(){return d},cv:function(){return m},dp:function(){return v},dr:function(){return p},uY:function(){return f},x7:function(){return y}});var r=n(29545),i=n(67294),a=n(73935),o="undefined"!=typeof document?i.useLayoutEffect:function(){};function s(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=l(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return o(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:h,elements:{reference:m,floating:f}={},transform:p=!0,whileElementsMounted:g,open:v}=e,[b,_]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[E,y]=i.useState(d);s(E,d)||y(d);let[S,C]=i.useState(null),[w,T]=i.useState(null),k=i.useCallback(e=>{e!==L.current&&(L.current=e,C(e))},[]),I=i.useCallback(e=>{e!==O.current&&(O.current=e,T(e))},[]),A=m||S,N=f||w,L=i.useRef(null),O=i.useRef(null),M=i.useRef(b),P=null!=g,B=c(g),D=c(h),R=c(v),H=i.useCallback(()=>{if(!L.current||!O.current)return;let e={placement:t,strategy:n,middleware:E};D.current&&(e.platform=D.current),(0,r.oo)(L.current,O.current,e).then(e=>{let t={...e,isPositioned:!1!==R.current};x.current&&!s(M.current,t)&&(M.current=t,a.flushSync(()=>{_(t)}))})},[E,t,n,D,R]);o(()=>{!1===v&&M.current.isPositioned&&(M.current.isPositioned=!1,_(e=>({...e,isPositioned:!1})))},[v]);let x=i.useRef(!1);o(()=>(x.current=!0,()=>{x.current=!1}),[]),o(()=>{if(A&&(L.current=A),N&&(O.current=N),A&&N){if(B.current)return B.current(A,N,H);H()}},[A,N,H,B,P]);let U=i.useMemo(()=>({reference:L,floating:O,setReference:k,setFloating:I}),[k,I]),F=i.useMemo(()=>({reference:A,floating:N}),[A,N]),G=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=u(F.floating,b.x),r=u(F.floating,b.y);return p?{...e,transform:"translate("+t+"px, "+r+"px)",...l(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,p,F.floating,b.x,b.y]);return i.useMemo(()=>({...b,update:H,refs:U,elements:F,floatingStyles:G}),[b,H,U,F,G])}let h=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:i}).fn(t):{}:n?(0,r.x7)({element:n,padding:i}).fn(t):{}}}),m=(e,t)=>{let n=(0,r.cv)(e);return{name:n.name,fn:n.fn,options:[e,t]}},f=(e,t)=>{let n=(0,r.uY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>({fn:(0,r.dr)(e).fn,options:[e,t]}),g=(e,t)=>{let n=(0,r.RR)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{let n=(0,r.dp)(e);return{name:n.name,fn:n.fn,options:[e,t]}},b=(e,t)=>{let n=(0,r.X5)(e);return{name:n.name,fn:n.fn,options:[e,t]}},_=(e,t)=>{let n=(0,r.Cp)(e);return{name:n.name,fn:n.fn,options:[e,t]}},E=(e,t)=>{let n=(0,r.Qo)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{let n=h(e);return{name:n.name,fn:n.fn,options:[e,t]}}},97145:function(e,t,n){"use strict";n.d(t,{AW:function(){return i},G6:function(){return c},Ie:function(){return y},MM:function(){return f},Me:function(){return g},Pe:function(){return v},U9:function(){return b},V5:function(){return h},Xf:function(){return o},Zj:function(){return l},cr:function(){return u},ex:function(){return p},ij:function(){return s},j7:function(){return _},p7:function(){return E},r:function(){return m},r3:function(){return a}});var r=n(37317);function i(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function a(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function o(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function s(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function l(e){return 0===e.mozInputSource&&!!e.isTrusted||(d()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function u(e){return!s().includes("jsdom/")&&(!d()&&0===e.width&&0===e.height||d()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function c(){return/apple/i.test(navigator.vendor)}function d(){let e=/android/i;return e.test(o())||e.test(s())}function h(){return o().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function m(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function f(e){return"nativeEvent"in e}function p(e){return e.matches("html,body")}function g(e){return(null==e?void 0:e.ownerDocument)||document}function v(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function b(e){return"composedPath"in e?e.composedPath()[0]:e.target}function _(e){return(0,r.Re)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function E(e){e.preventDefault(),e.stopPropagation()}function y(e){return!!e&&"combobox"===e.getAttribute("role")&&_(e)}},37317:function(e,t,n){"use strict";let r;function i(){return"undefined"!=typeof window}function a(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function s(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return!!i()&&(e instanceof Node||e instanceof o(e).Node)}function u(e){return!!i()&&(e instanceof Element||e instanceof o(e).Element)}function c(e){return!!i()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function d(e){return!!i()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function h(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=S(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function m(e){return/^(table|td|th)$/.test(a(e))}function f(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{Dx:function(){return S},Jj:function(){return o},Kx:function(){return function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let a=function e(t){let n=w(t);return y(n)?t.ownerDocument?t.ownerDocument.body:t.body:c(n)&&h(n)?n:e(n)}(t),s=a===(null==(i=t.ownerDocument)?void 0:i.body),l=o(a);if(!s)return n.concat(a,e(a,[],r));{let t=T(l);return n.concat(l,l.visualViewport||[],h(a)?a:[],t&&r?e(t):[])}}},Lw:function(){return C},Ow:function(){return w},Pf:function(){return E},Py:function(){return y},Re:function(){return c},UG:function(){return l},Ze:function(){return m},Zq:function(){return d},ao:function(){return h},gQ:function(){return _},hT:function(){return b},kK:function(){return u},tF:function(){return s},tR:function(){return f},wK:function(){return T},wk:function(){return a}});let p=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,v=e=>!!e&&"none"!==e;function b(e){let t=u(e)?S(e):e;return v(t.transform)||v(t.translate)||v(t.scale)||v(t.rotate)||v(t.perspective)||!E()&&(v(t.backdropFilter)||v(t.filter))||p.test(t.willChange||"")||g.test(t.contain||"")}function _(e){let t=w(e);for(;c(t)&&!y(t);){if(b(t))return t;if(f(t))break;t=w(t)}return null}function E(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function y(e){return/^(html|body|#document)$/.test(a(e))}function S(e){return o(e).getComputedStyle(e)}function C(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function w(e){if("html"===a(e))return e;let t=e.assignedSlot||e.parentNode||d(e)&&e.host||s(e);return d(t)?t.host:t}function T(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},71347:function(e,t,n){"use strict";n.d(t,{Ct:function(){return i},Fp:function(){return o},GW:function(){return l},Go:function(){return y},I4:function(){return g},JB:function(){return N},KX:function(){return k},NM:function(){return s},Qq:function(){return v},Rn:function(){return p},VV:function(){return a},Wh:function(){return b},gy:function(){return E},hp:function(){return f},i8:function(){return _},k3:function(){return m},ku:function(){return h},mA:function(){return r},pw:function(){return I},uZ:function(){return d},yd:function(){return A},ze:function(){return u}});let r=["top","right","bottom","left"],i=r.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),a=Math.min,o=Math.max,s=Math.round,l=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t,n){return o(e,a(t,n))}function h(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function v(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function b(e){return p(v(e))}function _(e,t,n){void 0===n&&(n=!1);let r=f(e),i=b(e),a=g(i),o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=I(o)),[o,I(o)]}function E(e){let t=I(e);return[y(e),t,y(t)]}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let S=["left","right"],C=["right","left"],w=["top","bottom"],T=["bottom","top"];function k(e,t,n,r){let i=f(e),a=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?C:S;return t?S:C;case"left":case"right":return t?w:T;default:return[]}}(m(e),"start"===n,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(y)))),a}function I(e){let t=m(e);return c[t]+e.slice(t.length)}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function N(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7b2aa8f0ad07b6a5_05Q6.css b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7b2aa8f0ad07b6a5_05Q6.css new file mode 100644 index 0000000..7ead129 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/7b2aa8f0ad07b6a5_05Q6.css @@ -0,0 +1 @@ +.typography_core___PiUD{font-family:var(--core-font-family)}.typography_coreHeadline__iR1us{font-weight:var(--core-headline-weight)}.typography_coreHeadlineXl__7GZ3g{font-size:var(--core-headline-xl)}.typography_coreHeadlineLg__4pD50,.typography_coreHeadlineXl__7GZ3g{line-height:var(--core-headline-leading-lg)}.typography_coreHeadlineLg__4pD50{font-size:var(--core-headline-lg)}.typography_coreHeadlineMd__VL3H_{font-size:var(--core-headline-md);line-height:var(--core-headline-leading-lg)}.typography_coreHeadlineSm__9qq05{font-size:var(--core-headline-sm)}.typography_coreHeadlineSm__9qq05,.typography_coreHeadlineXs__1HRyf{line-height:var(--core-headline-leading-sm)}.typography_coreHeadlineXs__1HRyf{font-size:var(--core-headline-xs)}.typography_coreHeadlineXxs__15mdH{font-size:var(--core-headline-xxs);line-height:var(--core-headline-leading-sm)}.typography_coreShortText__1G9y1{line-height:var(--core-short-text-leading)}.typography_coreShortTextMd__gVP5F{font-size:var(--core-short-text-md)}.typography_coreShortTextSm__wawsT{font-size:var(--core-short-text-sm)}.typography_coreShortTextXs__L4gUR{font-size:var(--core-short-text-xs)}.typography_coreShortTextXxs__b8YXl{font-size:var(--core-short-text-xxs)}.typography_coreParagraph__P_KwK{line-height:var(--core-paragraph-leading)}.typography_coreParagraphMd__QOyPx{font-size:var(--core-paragraph-md)}.typography_coreParagraphSm__8_os_{font-size:var(--core-paragraph-sm)}.typography_coreParagraphXs__fpk8d{font-size:var(--core-paragraph-xs)}.typography_coreParagraphXxs__wcE7E{font-size:var(--core-paragraph-xxs)}.typography_articleHeadline__rSLf2{font-family:var(--article-headline-font-family);font-weight:var(--article-headline-weight)}.typography_articleHeadlineXxl__lx2bS{font-size:var(--article-headline-xxl);letter-spacing:var(--article-headline-kerning-xxl)}.typography_articleHeadlineXl__THpmD,.typography_articleHeadlineXxl__lx2bS{line-height:var(--article-headline-leading-lg)}.typography_articleHeadlineXl__THpmD{font-size:var(--article-headline-xl);letter-spacing:var(--article-headline-kerning-xl)}.typography_articleHeadlineLg__J4FhV{font-size:var(--article-headline-lg);letter-spacing:var(--article-headline-kerning-lg)}.typography_articleHeadlineLg__J4FhV,.typography_articleHeadlineMd__6_Fnp{line-height:var(--article-headline-leading-lg)}.typography_articleHeadlineMd__6_Fnp{font-size:var(--article-headline-md);letter-spacing:var(--article-headline-kerning-md)}.typography_articleHeadlineSm__VYjpe{font-size:var(--article-headline-sm)}.typography_articleHeadlineSm__VYjpe,.typography_articleHeadlineXs__3r4_I{font-family:var(--article-headline-font-family-sm);line-height:var(--article-headline-leading-sm)}.typography_articleHeadlineXs__3r4_I{font-size:var(--article-headline-xs)}.typography_articleDek__KFY65{color:var(--article-dek-color);font-family:var(--article-headline-font-family-sm);font-size:var(--article-dek-size);line-height:var(--article-dek-line-height)}.typography_articleBody__3UcBa{font-family:var(--article-headline-font-family-serif);font-size:var(--article-body-size);line-height:var(--article-body-line-height)}.typography_articleLabelBase__Yv37a{font-family:var(--article-label-font-family);font-size:var(--article-label-size)}.typography_articleLabel__tmNTX{line-height:var(--article-label-leading)}.typography_articleLabelMd__CU6xM{font-weight:var(--article-label-md-weight)}.typography_articleLabelCaps__IQAHl{letter-spacing:var(--article-label-kerning-caps);text-transform:uppercase}.media-ui-QuickAddContainer_quickAddContainer-dFVyVLLoFNM-{position:relative;width:-moz-fit-content;width:fit-content}.media-ui-QuickAddContainer_quickAddContainer-dFVyVLLoFNM- .media-ui-QuickAddContainer_quickAddOverlay-XfWlg8PPCwA-{position:absolute;top:calc(100% + .25rem)}@media (max-width:767px){.media-ui-QuickAddContainer_quickAddContainer-dFVyVLLoFNM-.media-ui-QuickAddContainer_withButton-ZLDAe5wJo3w- .media-ui-QuickAddContainer_quickAddOverlay-XfWlg8PPCwA-{right:0}}@media (min-width:768px){.media-ui-QuickAddContainer_quickAddContainer-dFVyVLLoFNM-.media-ui-QuickAddContainer_withButton-ZLDAe5wJo3w- .media-ui-QuickAddContainer_quickAddOverlay-XfWlg8PPCwA-{left:0}}.media-ui-QuickAddContainer_quickAddContainer-dFVyVLLoFNM-.media-ui-QuickAddContainer_withIcon-UT6RAIbAwuE- .media-ui-QuickAddContainer_quickAddOverlay-XfWlg8PPCwA-{left:0}.media-ui-QuickAddContainer_floatingUI-SD1oZT--9Q4-{z-index:20}@media (max-width:767px){.media-ui-QuickAddContainer_floatingUI-SD1oZT--9Q4-{width:100%}}.media-ui-QuickAddRoundedToggle_quickAddRoundedToggle-ptkxSdQlGfU- [data-component=button]{padding:.25rem .75rem}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_baseBackground-xtN1SsCKNUk-{background-color:var(--color-black);color:var(--color-white)}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_baseBackground-xtN1SsCKNUk-:hover{background-color:var(--color-gray-800)}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-{border-color:var(--color-black);border-radius:624.9375rem;border-style:solid;border-width:1px;box-sizing:border-box;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-size:.875rem;font-weight:500;line-height:1.3125rem;padding:.40625rem 1.25rem;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;user-select:none}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_onlyIcon-5gacIog6Wyw-{line-height:1rem;padding:.5rem}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_small-lT037nV582M-{padding:.15625rem 1rem}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_small-lT037nV582M-.media-ui-RoundedToggleButton_onlyIcon-5gacIog6Wyw-{padding:.25rem}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_active-tGJxCkcd4qs-{background-color:var(--color-white);color:var(--color-black)}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_active-tGJxCkcd4qs-:hover{background-color:var(--color-gray-200)}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_withActiveHoverText-sezBn0KkvYg-:hover .media-ui-RoundedToggleButton_activeHoverText-aBcpR7Rz2-A-{height:100%;visibility:visible}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_withActiveHoverText-sezBn0KkvYg-:hover .media-ui-RoundedToggleButton_buttonText-iZD8r7vw2dA-{display:block;height:0;visibility:hidden}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_disabled-ZF3e7iYyTfg-{background-color:var(--color-gray-200);border-color:var(--color-gray-200);color:var(--color-gray-500);pointer-events:none}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-{background-color:var(--color-white);color:var(--color-black)}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-:hover{background-color:var(--color-gray-200)}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_active-tGJxCkcd4qs-{background-color:var(--color-black);color:var(--color-white)}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_active-tGJxCkcd4qs-:hover{background-color:var(--color-gray-900)}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_disabled-ZF3e7iYyTfg-{background-color:var(--color-gray-800);border-color:var(--color-gray-800);color:var(--color-gray-600)}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE- .media-ui-RoundedToggleButton_icon-aBoTvm8dx9c-{display:inline-block;height:1rem;vertical-align:text-bottom;width:1rem}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE-:not(.media-ui-RoundedToggleButton_onlyIcon-5gacIog6Wyw-) .media-ui-RoundedToggleButton_icon-aBoTvm8dx9c-{margin-right:.25rem}.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE- .media-ui-RoundedToggleButton_activeHoverText-aBcpR7Rz2-A-,.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE- .media-ui-RoundedToggleButton_activeText-BN8uCaLdf58-,.media-ui-RoundedToggleButton_RoundedToggleButton-jupSnVE3YEE- .media-ui-RoundedToggleButton_inactiveText-oxH0UlyuECc-{display:block;height:0;visibility:hidden}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-{background-color:transparent;border-radius:624.9375rem;border-width:1px;font-weight:500;text-align:center}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_small-lT037nV582M-{font-size:.875rem;line-height:100%;min-height:1.75rem;padding-left:1rem;padding-right:1rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_small-lT037nV582M-.media-ui-RoundedToggleButton_hasIcon-1KESsmUA3tU-{padding-left:1rem;padding-right:1rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_default-LkHoW8vAiNc-{font-size:.875rem;line-height:100%;min-height:2.25rem;padding-left:1.25rem;padding-right:1.25rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_default-LkHoW8vAiNc-.media-ui-RoundedToggleButton_hasIcon-1KESsmUA3tU-{padding-left:1rem;padding-right:1rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_large-rSzfjgURqI8-{font-size:.875rem;line-height:100%;min-height:2.75rem;padding-left:1.75rem;padding-right:1.75rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_large-rSzfjgURqI8-.media-ui-RoundedToggleButton_hasIcon-1KESsmUA3tU-{padding-left:1.5rem;padding-right:1.5rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ- .media-ui-RoundedToggleButton_activeHoverText-aBcpR7Rz2-A-,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ- .media-ui-RoundedToggleButton_activeText-BN8uCaLdf58-,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ- .media-ui-RoundedToggleButton_inactiveText-oxH0UlyuECc-{display:block;height:0;visibility:hidden}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_withActiveHoverText-sezBn0KkvYg-:hover .media-ui-RoundedToggleButton_activeHoverText-aBcpR7Rz2-A-{height:100%;margin-top:1px;visibility:visible}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_withActiveHoverText-sezBn0KkvYg-:hover .media-ui-RoundedToggleButton_buttonText-iZD8r7vw2dA-{display:block;height:0;visibility:hidden}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ- .media-ui-RoundedToggleButton_displayText--kigTOfr-QA-{display:inline-block;margin-top:1px;vertical-align:bottom}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ- .media-ui-RoundedToggleButton_icon-aBoTvm8dx9c-{display:inline-block}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-:not(.media-ui-RoundedToggleButton_onlyIcon-5gacIog6Wyw-) .media-ui-RoundedToggleButton_icon-aBoTvm8dx9c-{margin-right:.4375rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_onlyIcon-default-2tb91NOahjA-,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_onlyIcon-large-hGo3q1we174-,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_onlyIcon-small-Jlt6LsnJIxE-{margin:0;padding:0}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_onlyIcon-small-Jlt6LsnJIxE-{height:1.75rem;width:1.75rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_onlyIcon-default-2tb91NOahjA-{height:2.25rem;width:2.25rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_onlyIcon-default-2tb91NOahjA- .media-ui-RoundedToggleButton_icon-aBoTvm8dx9c-,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_onlyIcon-small-Jlt6LsnJIxE- .media-ui-RoundedToggleButton_icon-aBoTvm8dx9c-{font-size:1rem;height:1rem;line-height:100%;width:1rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_onlyIcon-large-hGo3q1we174-{height:2.75rem;width:2.75rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_onlyIcon-large-hGo3q1we174- .media-ui-RoundedToggleButton_icon-aBoTvm8dx9c-{font-size:1.25rem;height:1.25rem;line-height:100%;width:1.25rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_disabledActiveState-k5P5cvZeNsE-{pointer-events:none}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_unselectedState-KpIaF7jlw48-{background-color:var(--color-black);border-radius:624.9375rem}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_unselectedState-KpIaF7jlw48-:hover{background-color:var(--color-gray-800)}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_unselectedState-KpIaF7jlw48-{color:var(--color-white)!important}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_activeState-LfnJ0G-6rcg-,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_disabledActiveState-k5P5cvZeNsE-{background-color:var(--color-white);border-color:var(--color-black);border-radius:624.9375rem;border-width:1px}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_activeState-LfnJ0G-6rcg-:hover,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_disabledActiveState-k5P5cvZeNsE-:hover{background-color:var(--color-gray-200)}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_activeState-LfnJ0G-6rcg-,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_disabledActiveState-k5P5cvZeNsE-{color:var(--color-black)!important}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_light-YA1b8kWhA40-.media-ui-RoundedToggleButton_lockedState-jox5VwDvreI-{background-color:var(--color-gray-200);border-radius:624.9375rem;border-width:0;color:var(--color-gray-500)}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_unselectedState-KpIaF7jlw48-{background-color:var(--color-white)!important;border-radius:624.9375rem!important}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_unselectedState-KpIaF7jlw48-:hover{background-color:var(--color-gray-200)!important}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_unselectedState-KpIaF7jlw48-{color:var(--color-black)!important}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_activeState-LfnJ0G-6rcg-,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_disabledActiveState-k5P5cvZeNsE-{background-color:var(--color-black)!important;border-color:var(--color-white)!important;border-radius:624.9375rem!important;border-width:1px!important}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_activeState-LfnJ0G-6rcg-:hover,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_disabledActiveState-k5P5cvZeNsE-:hover{background-color:var(--color-gray-900)!important}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_activeState-LfnJ0G-6rcg-,.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_disabledActiveState-k5P5cvZeNsE-{color:var(--color-white)!important}.media-ui-RoundedToggleButton_roundedToggleButton-phoenix-jmYIcHhJdgQ-.media-ui-RoundedToggleButton_dark-BkYbon7-MNs-.media-ui-RoundedToggleButton_lockedState-jox5VwDvreI-{background-color:var(--color-gray-800)!important;border-radius:624.9375rem!important;border-width:0!important;color:var(--color-gray-600)}.media-ui-QuickAddIcon_quickAddIcon-wfQef1xSlVM-{align-items:center;color:var(--color-black);cursor:pointer;display:flex;width:-moz-fit-content;width:fit-content}.media-ui-QuickAddIcon_quickAddIcon-wfQef1xSlVM- .media-ui-QuickAddIcon_button-Y9zSvXSYXz8-{box-sizing:border-box;margin-right:.25rem}.media-ui-QuickAddIcon_quickAddIcon-wfQef1xSlVM- .media-ui-QuickAddIcon_button-Y9zSvXSYXz8-:not(:disabled):hover{opacity:1}.media-ui-QuickAddIcon_quickAddIcon-wfQef1xSlVM- .media-ui-QuickAddIcon_followText-9kAiCTBOXOE-{font-size:.875rem;font-weight:400;line-height:1.5}.media-ui-QuickAddIcon_quickAddIcon-wfQef1xSlVM-:hover{color:var(--color-gray-700)}.media-ui-QuickAddIcon_quickAddIcon-wfQef1xSlVM-:hover .media-ui-QuickAddIcon_button-Y9zSvXSYXz8-{border-color:var(--color-gray-700)}.media-ui-QuickAddIcon_quickAddIcon-wfQef1xSlVM-.media-ui-QuickAddIcon_small-oOgr2T24kFI- .media-ui-QuickAddIcon_button-Y9zSvXSYXz8- svg{height:1.25rem;width:1.25rem}.media-ui-QuickAddIcon_quickAddIcon-wfQef1xSlVM-.media-ui-QuickAddIcon_small-oOgr2T24kFI- .media-ui-QuickAddIcon_followText-9kAiCTBOXOE-{font-size:.75rem;line-height:1.5}.media-ui-InBodyAds_inBodyAd-mz0YfknFCIM-{height:22.5rem;position:relative;width:100%}@media (min-width:768px){.media-ui-InBodyAds_inBodyAd-mz0YfknFCIM-{height:19.3125rem}}.media-ui-InBodyAds_inBodyAd-mz0YfknFCIM-{align-items:center;display:flex;justify-content:center}@media screen and (max-width:649px){.media-ui-InBodyAds_inBodyAd-mz0YfknFCIM-{height:100vw;min-height:100vw}}.media-ui-SecurityName_securityName-WpFW87DcVnk-{display:flex;font-family:BWHaasGroteskWeb,BWHaasGroteskWeb-fallback,Helvetica,Arial,sans-serif;font-weight:500}.media-ui-SecurityName_securityName-WpFW87DcVnk-.media-ui-SecurityName_small-G7IYLPaXvF8-{font-size:.75rem;line-height:1.5}.media-ui-SecurityName_securityName-WpFW87DcVnk-.media-ui-SecurityName_default-rQcqATandWE-{font-size:.875rem;line-height:1.5}.media-ui-SecurityName_securityName-WpFW87DcVnk-.media-ui-SecurityName_large-ZrYZDDP-gFc-{font-size:1rem;line-height:1.5}.media-ui-SecurityName_securityName-WpFW87DcVnk-.media-ui-SecurityName_extraLarge-CPbNyHrfjZI-{font-size:1.875rem;font-weight:700;line-height:1.05}.media-ui-SecurityName_securityName-WpFW87DcVnk- .media-ui-SecurityName_link-EKXk-l7aiCM-:hover{text-decoration-line:underline}.media-ui-SecurityName_securityName-WpFW87DcVnk-.media-ui-SecurityName_default-rQcqATandWE-,.media-ui-SecurityName_securityName-WpFW87DcVnk-.media-ui-SecurityName_extraLarge-CPbNyHrfjZI-,.media-ui-SecurityName_securityName-WpFW87DcVnk-.media-ui-SecurityName_large-ZrYZDDP-gFc-,.media-ui-SecurityName_securityName-WpFW87DcVnk-.media-ui-SecurityName_small-G7IYLPaXvF8-{line-height:1}.media-ui-SecurityName_securityName-WpFW87DcVnk-.media-ui-SecurityName_isDark-uoCIz2EsjQI-{color:var(--color-white)}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-{color:var(--color-white);font-family:AvenirNext,Avenir,sans-serif;font-size:.875rem;font-weight:600;line-height:1.2;text-decoration-line:none}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ- .media-ui-TerminalTout_background-ugfAG8JrlcE-{background-color:var(--color-black);padding:.75rem}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ- .media-ui-TerminalTout_background-ugfAG8JrlcE- .media-ui-TerminalTout_cta-MhehFIQemMA-{font-size:.75rem}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ- .media-ui-TerminalTout_background-ugfAG8JrlcE- .media-ui-TerminalTout_cta-MhehFIQemMA- .media-ui-TerminalTout_icon-UNnzMeAfRHw-{display:inline-block}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-:not(.media-ui-TerminalTout_centerAligned-dU4kQ27OR90-) .media-ui-TerminalTout_background-ugfAG8JrlcE-{max-width:16rem}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-:not(.media-ui-TerminalTout_centerAligned-dU4kQ27OR90-) .media-ui-TerminalTout_background-ugfAG8JrlcE- .media-ui-TerminalTout_info-7hWexZP6x-U-{display:flex;flex-direction:column;margin-bottom:.25rem}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-.media-ui-TerminalTout_centerAligned-dU4kQ27OR90-{text-align:center}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-.media-ui-TerminalTout_centerAligned-dU4kQ27OR90- .media-ui-TerminalTout_info-7hWexZP6x-U- .media-ui-TerminalTout_highlight-LKP-y7t--IQ-{text-decoration-color:var(--color-gray-500);text-decoration-line:underline;text-underline-offset:.1875rem}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-.media-ui-TerminalTout_centerAligned-dU4kQ27OR90- .media-ui-TerminalTout_cta-MhehFIQemMA-{display:none}.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-:hover .media-ui-TerminalTout_background-ugfAG8JrlcE- .media-ui-TerminalTout_cta-MhehFIQemMA-,.media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-:hover.media-ui-TerminalTout_centerAligned-dU4kQ27OR90- .media-ui-TerminalTout_info-7hWexZP6x-U- .media-ui-TerminalTout_highlight-LKP-y7t--IQ-{color:var(--color-gray-300)} \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8097-f7abdb73bed136f5_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8097-f7abdb73bed136f5_05Q6.js new file mode 100644 index 0000000..190ad82 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8097-f7abdb73bed136f5_05Q6.js @@ -0,0 +1,116 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8097],{69076:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{static _instance;constructor(){if(this.constructor._instance)throw Error("Cannot create multiple instances; use getInstance()")}static getInstance(){if(!this._instance)throw Error("Singleton has not been initialized yet!");return this._instance}static init(...e){return this._instance||(this._instance=new this(...e)),this._instance}static resetInstance(){this._instance=null}}t.default=r},39727:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=r(45011),i=r(34727),a=n(r(69076)),s=r(20991);class u extends a.default{host;#e;#t;constructor(e){if(super(),!e.host)throw Error("No host passed to ContentServiceClient constructor; aborting");if(!e.username)throw Error("No username passed to ContentServiceClient constructor; aborting");if(!e.password)throw Error("No password passed to ContentServiceClient constructor; aborting");this.host=e.host,this.#e=e.username,this.#t=e.password}getAuthHeader(){return{Authorization:`Basic ${btoa(`${this.#e}:${this.#t}`)}`}}getV1StoriesSearchBy=async e=>{e&&this.validateGetV1StoriesSearchBy(e);let t=(0,i.stringifyParams)(e),r=`${this.host}/v1/search?${t}`,n=await fetch(r,{headers:this.getAuthHeader()}),o=await n.json();if(!n.ok)throw new s.ContentServiceClientError({errorResponse:o,status:n.status,url:r});return o};getV1StoriesBySlug=async()=>{};postV1StoriesSearchBy=async e=>{e&&this.validatePostV1StoriesSearchBy(e);let t=`${this.host}/v1/search`,r=await fetch(t,{method:"POST",headers:this.getAuthHeader(),body:JSON.stringify({filter:{params:e}})}),n=await r.json();if(!r.ok)throw new s.ContentServiceClientError({errorResponse:n,status:r.status,url:t});return n};validateGetV1StoriesSearchBy=e=>(Object.entries(e).forEach(([e,t])=>{if(e.length>200)throw Error(`Invalid key passed to ContentServiceClient.getV1StoriesSearchBy: ${e} exceeds length limit`);if(!e.toString().match(o.VALID_REGEX.objectKey))throw Error(`Invalid key passed to ContentServiceClient.getV1StoriesSearchBy: ${e}`);if(t.toString().length>200)throw Error(`Invalid value passed to ContentServiceClient.getV1StoriesSearchBy: ${t} exceeds length limit`);if(!t.toString().match(o.VALID_REGEX.objectValue))throw Error(`Invalid value passed to ContentServiceClient.getV1StoriesSearchBy with ${e}: ${t}`)}),!0);validatePostV1StoriesSearchBy=e=>(Object.entries(e).forEach(([e,t])=>{if(e.length>200)throw Error(`Invalid key passed to ContentServiceClient.postV1StoriesSearchBy: ${e} exceeds length limit`);if(!e.toString().match(o.VALID_REGEX.objectKey))throw Error(`Invalid key passed to ContentServiceClient.postV1StoriesSearchBy: ${e}`);if("object"==typeof t&&!t)throw Error(`Invalid value passed to ContentServiceClient.postV1StoriesSearchBy with ${e}: ${t}`);if("object"!=typeof t){if(t&&t.toString().length>200)throw Error(`Invalid value passed to ContentServiceClient.postV1StoriesSearchBy: ${t} exceeds length limit`);if(t&&!t.toString().match(o.VALID_REGEX.objectValue))throw Error(`Invalid value passed to ContentServiceClient.postV1StoriesSearchBy with ${e}: ${t}`)}}),!0)}t.default=u},20991:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentServiceClientError=void 0;class r extends Error{url;status;errorResponse;constructor({errorResponse:e,status:t,url:r}){super(JSON.stringify(e)),this.name="ContentServiceClientError",this.status=t,this.url=r,this.errorResponse=e}}t.ContentServiceClientError=r},74324:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.ContentServiceSite=t.ContentServiceStoryType=void 0,(r=t.ContentServiceStoryType||(t.ContentServiceStoryType={})).article="article",r.breaking_news="breaking_news",r.data_article="data_article",r.slideshow="slideshow",r.impact_scorecard="impact_scorecard",r.interactive="interactive",r.feature="feature",r.quicktake="quicktake",r.video="video",r.letter="letter",r.newsletter_campaign="newsletter_campaign",r.author_session="author_session",r.liveblog="liveblog",(n=t.ContentServiceSite||(t.ContentServiceSite={})).Business="BBIZ",n.Businessweek="BUSINESSWEEK",n.Citylab="CITYLAB",n.Cojp="COJP",n.Crypto="CRYPTO",n.Economics="ECONOMICS",n.Equality="EQUALITY",n.Gadfly="GADFLY",n.Green="GREEN",n.Industries="INDUSTRIES",n.Markets="MARKETS",n.MarketsMagazine="MARKETS_MAGAZINE",n.Politics="BPOL",n.Pursuits="PURSUITS",n.Quicktake="QUICKTAKE",n.Sponsored="SPONSORED",n.Technology="TECHNOLOGY",n.View="VIEW",n.Wealth="WEALTH",n.WorkShift="WORK_SHIFT"},93148:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentServiceClient=void 0;var a=r(39727);Object.defineProperty(t,"ContentServiceClient",{enumerable:!0,get:function(){return i(a).default}}),o(r(20991),t),o(r(74324),t)},77846:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=r(45011),i=r(34727),a=n(r(69076)),s=r(12792),u=r(59315);class l extends a.default{host;#e;#t;constructor(e){if(super(),!e.host)throw Error("No host passed to DaperClient constructor; aborting");if(!e.username)throw Error("No username passed to DaperClient constructor; aborting");if(!e.password)throw Error("No password passed to DaperClient constructor; aborting");this.host=e.host,this.#e=e.username,this.#t=e.password}getAuthHeader(){return{Authorization:`Basic ${btoa(`${this.#e}:${this.#t}`)}`}}async getFinanceReferenceSecurities(e){this.validateGetFinanceReferenceSecurities(e);let t=(0,i.stringifyParams)(e),r=`${this.host}/finance/reference?${t}&fields=${Object.keys(s.CLCRT).join(",")}`,n=await fetch(r,{headers:this.getAuthHeader()}),o=await n.json();if(!n.ok){let e=o.error;throw new u.DaperClientError({errorResponse:e,status:n.status,url:r})}return Object.entries(o.value.data).map(([e,t])=>Object.entries(s.CLCRT_FIELDS).reduce((r,[n,o])=>({...r,[n]:t[o],ticker:e}),{}))}async getFinanceMoversSecurities(e){this.validateGetFinanceMoversSecurities(e);let t=Object.keys(s.CLCRT),r=(0,i.stringifyParams)({...e,fields:t}),n=`${this.host}/finance/indices/${e.index}/movers?${r}`,o=await fetch(n,{headers:this.getAuthHeader()}),a=await o.json();if(!o.ok){let e=a.error;throw new u.DaperClientError({errorResponse:e,status:o.status,url:n})}return Object.entries(a.value.data[e.criteria]).map(([e,t])=>Object.entries(s.CLCRT_FIELDS).reduce((r,[n,o])=>({...r,[n]:t[o],ticker:e}),{}))}async getLiveSched(e){this.validateGetLiveSched(e);let t={};e.startTime&&(t.startTime=e.startTime),e.endTime&&(t.endTime=e.endTime);let r=(0,i.stringifyParams)(t),n=`${this.host}/livesched/shows/${e.channel}?${r}`,o=await fetch(n,{headers:this.getAuthHeader()}),a=await o.json();if(!o.ok){let e=a.error;throw new u.DaperClientError({errorResponse:e,status:o.status,url:n})}return a.value}async getRecordBySlug(e){this.validateGetRecordBySlug(e);let t=`${this.host}/records/${encodeURIComponent(e.slug)}`,r=await fetch(t,{headers:this.getAuthHeader()}),n=await r.json();if(!r.ok){let e=n.error;throw new u.DaperClientError({errorResponse:e,status:r.status,url:t})}return n.value}async getAudiosBulk(e){this.validateGetAudiosBulk(e);let t=(0,i.stringifyParams)(e),r=`${this.host}/audios/bulk?${t}`,n=await fetch(r,{headers:this.getAuthHeader()}),o=await n.json();if(!n.ok){let e=o.error;throw new u.DaperClientError({errorResponse:e,status:n.status,url:r})}return o.value}async getImagesBulk(e){this.validateGetImagesBulk(e);let t=(({imageIds:e,...t})=>t)({...e,ids:e.imageIds}),r=(0,i.stringifyParams)(t),n=`${this.host}/images/bulk?${r}`,o=await fetch(n,{headers:this.getAuthHeader()}),a=await o.json();if(!o.ok){let e=a.error;throw new u.DaperClientError({errorResponse:e,status:o.status,url:n})}return a.value}async getVideoById(e){this.validateGetVideoById(e);let t=`${this.host}/videos/${encodeURIComponent(e.id)}?idType=AVMM`,r=await fetch(t,{headers:this.getAuthHeader()}),n=await r.json();if(!r.ok){let e=n.error;throw new u.DaperClientError({errorResponse:e,status:r.status,url:t})}return n.value.video}async getImageById(e){this.validateGetImageById(e);let t=`${this.host}/images/${encodeURIComponent(e.id)}?idType=${e.idType}`,r=await fetch(t,{headers:this.getAuthHeader()}),n=await r.json();if(!r.ok){let e=n.error;throw new u.DaperClientError({errorResponse:e,status:r.status,url:t})}return n.value?.image}async getNewsletters(){let e=`${this.host}/newsletters`,t=await fetch(e,{headers:this.getAuthHeader()}),r=await t.json();if(!t.ok){let n=r.error;throw new u.DaperClientError({errorResponse:n,status:t.status,url:e})}return r.value.data}async getNewslettersBySlug(e){this.validateGetNewslettersBySlug(e);let t=(0,i.stringifyParams)(e),r=`${this.host}/newsletters?${t}`,n=await fetch(r,{headers:this.getAuthHeader()}),o=await n.json();if(!n.ok){let e=o.error;throw new u.DaperClientError({errorResponse:e,status:n.status,url:r})}return o.value.data}async getPersonById(e){this.validateGetPersonById(e);let t=`${this.host}/people/id/${e.id}`,r=await fetch(t,{headers:this.getAuthHeader()}),n=await r.json();if(!r.ok){let e=n.error;throw new u.DaperClientError({errorResponse:e,status:r.status,url:t})}return n.value}async getThumbnailImagesByAVMMId(e){this.validateGetThumbnailImagesByAVMMId(e);let t=(0,i.stringifyParams)(e),r=`${this.host}/images/thumbnail/${e.id}?${t}`,n=await fetch(r,{headers:this.getAuthHeader()}),o=await n.json();if(!n.ok){let e=o.error;throw new u.DaperClientError({errorResponse:e,status:n.status,url:r})}return o.value.image}async getSecuritiesSearchBy(e){this.validateGetSecuritiesSearchBy(e);let t=`${this.host}/securities/search?size=${e.size}&from=${e.from}`,r=await fetch(t,{headers:this.getAuthHeader()}),n=await r.json();if(!r.ok){let e=n.error;throw new u.DaperClientError({errorResponse:e,status:r.status,url:t})}return n.value.hits}async getSecuritiesTotalHits(){let e=`${this.host}/securities/search?size=0&from=0`,t=await fetch(e,{headers:this.getAuthHeader()}),r=await t.json();if(!t.ok){let n=r.error;throw new u.DaperClientError({errorResponse:n,status:t.status,url:e})}return r.value.totalHits}async getStoriesSearchBy(e){this.validateGetStoriesSearchBy(e);let t=(0,i.stringifyParams)(e),r=`${this.host}/stories/search?${t}`,n=await fetch(r,{headers:this.getAuthHeader()}),o=await n.json();if(!n.ok){let e=o.error;throw new u.DaperClientError({errorResponse:e,status:n.status,url:r})}return o.value.items}async getStoriesSearchLast(e,t){this.validateGetStoriesSearchLast(e,t);let r=(0,i.stringifyParams)(t),n=`${this.host}/stories/search/last/${e.field}/${e.period}/${e.units}?${r}`,o=await fetch(n,{headers:this.getAuthHeader()}),a=await o.json();if(!o.ok){let e=a.error;throw new u.DaperClientError({errorResponse:e,status:o.status,url:n})}return a.value.items}async getStoriesBySlug(e){this.validateGetStoriesBySlug(e);let t=`${this.host}/stories/slug/${encodeURIComponent(e.slug)}`,r=await fetch(t,{headers:this.getAuthHeader()}),n=await r.json();if(!r.ok){let e=n.error;throw new u.DaperClientError({errorResponse:e,status:r.status,url:t})}return n.value}async getStoryById(e){this.validateGetStoryById(e);let t=`${this.host}/stories/id/${encodeURIComponent(e.id)}`,r=await fetch(t,{headers:this.getAuthHeader()}),n=await r.json();if(!r.ok){let e=n.error;throw new u.DaperClientError({errorResponse:e,status:r.status,url:t})}return n.value}async getCurationsSitemap(){let e=`${this.host}/curations/business/sitemap`,t=await fetch(e,{headers:this.getAuthHeader()}),r=await t.json();if(!t.ok){let n=r.error;throw new u.DaperClientError({errorResponse:n,status:t.status,url:e})}return r.value.items}validateGetFinanceReferenceSecurities=e=>{if(!e.securities||0===e.securities.length)throw Error("Missing required parameter for DaperClient.getFinanceReferenceSecurities: securities");return e.securities.forEach(e=>{if("string"!=typeof e||!e.match(o.VALID_REGEX.security))throw Error(`Invalid security passed to DaperClient.getFinanceReferenceSecurities: ${e}`);if(e.length>20)throw Error(`Invalid security passed to DaperClient.getFinanceReferenceSecurities: ${e} exceeds length limit`)}),!0};validateGetSecuritiesSearchBy=e=>{if(e.size<0||"number"!=typeof e.size)throw Error("Missing required parameter for DaperClient.getSecuritiesSearchBy: size");if(e.from<0||"number"!=typeof e.from)throw Error("Missing required parameter for DaperClient.getSecuritiesSearchBy: from");if(e.size>1e4)throw Error(`Invalid size passed to DaperClient.getSecuritiesSearchBy: ${e.size} exceeds size limit of 10000`);return!0};validateGetFinanceMoversSecurities=e=>{if(!e.index||"string"!=typeof e.index)throw Error("Missing required parameter for DaperClient.getFinanceMoversSecurities: index");if(e.index.length>20)throw Error(`Invalid index passed to DaperClient.getFinanceMoversSecurities: ${e.index} exceeds length limit`);if(!e.criteria||!Object.values(s.DaperFinanceReferenceCriteria).includes(e.criteria))throw Error(`Invalid criteria passed to DaperClient.getFinanceMoversSecurities: ${e.criteria}`);return!0};validateGetRecordBySlug(e){if(null===e.slug||void 0===e.slug||""===e.slug)throw Error("Missing required parameter for DaperClient.getRecordBySlug: slug");if("string"!=typeof e.slug)throw Error(`Invalid parameter type for DaperClient.getRecordBySlug: slug. Expected: "string". Received: "${typeof e.slug}"`);if(!e.slug.match(o.VALID_REGEX.slug))throw Error(`Invalid slug passed to DaperClient.getRecordBySlug: "${e.slug}"`);if(e.slug.length>100)throw Error(`Invalid slug passed to DaperClient.getRecordBySlug: "${e.slug}" exceeds length limit`);return!0}validateGetAudiosBulk=e=>{if(!e.ids)throw Error("Missing required parameter for DaperClient.getAudiosBulk: ids");if("string"!=typeof e.ids||!e.ids.match(o.VALID_REGEX.ids))throw Error(`Invalid ids passed to DaperClient.getAudiosBulk: ${e.ids}`);if(e.ids.length>200)throw Error(`Invalid ids passed to DaperClient.getAudiosBulk: ${e.ids} exceeds length limit`);return!0};validateGetImagesBulk=({imageIds:e})=>{if(!e)throw Error("Missing required parameter for DaperClient.getImagesBulk: imageIds");if(!Array.isArray(e))throw Error(`Invalid imageIds passed to DaperClient.getImagesBulk: imageIds must be an array. Non-array imageIds: ${e}`);if(!e.every(e=>"string"==typeof e))throw Error(`Invalid imageIds passed to DaperClient.getImagesBulk: imageIds must be an array of string. Non-string imageId: ${e.find(e=>"string"!=typeof e)}`);if(e.length>200)throw Error(`Invalid imageIds passed to DaperClient.getImagesBulk: ${e} exceeds length limit`);return!0};validateGetVideoById=e=>{if(!e.id)throw Error("Missing required parameter for DaperClient.getVideoById: id");if("string"!=typeof e.id||!e.id.match(o.VALID_REGEX.id))throw Error(`Invalid id passed to DaperClient.getVideoById: ${e.id}`);if(e.id.length>100)throw Error(`Invalid id passed to DaperClient.getVideoById: ${e.id} exceeds length limit`);return!0};validateGetImageById=e=>{if(!e.id)throw Error("Missing required parameter for DaperClient.getImageById: id");if("string"!=typeof e.id||!e.id.match(o.VALID_REGEX.id))throw Error(`Invalid id passed to DaperClient.getImageById: ${e.id}`);if(e.id.length>100)throw Error(`Invalid id passed to DaperClient.getImageById: ${e.id} exceeds length limit`);return!0};validateGetNewslettersBySlug=e=>{if(!e.slug)throw Error("Missing required parameter for DaperClient.getNewslettersBySlug: slug");if("string"!=typeof e.slug||!e.slug.match(o.VALID_REGEX.slug))throw Error(`Invalid slug passed to DaperClient.getNewslettersBySlug: ${e.slug}`);if(e.slug.length>100)throw Error(`Invalid slug passed to DaperClient.getNewslettersBySlug: ${e.slug} exceeds length limit`);return!0};validateGetPersonById=e=>{if(!e.id)throw Error("Missing required parameter for DaperClient.getPersonById: id");if(!e.id.match(o.VALID_REGEX.id))throw Error(`Invalid slug passed to DaperClient.getPersonById: ${e.id}`);if(e.id.length>100)throw Error(`Invalid slug passed to DaperClient.getPersonById: ${e.id} exceeds length limit`);return!0};validateGetStoriesBySlug=e=>{if(!e.slug)throw Error("Missing required parameter for DaperClient.getStoriesBySlug: slug");if("string"!=typeof e.slug||!e.slug.match(o.VALID_REGEX.slug))throw Error(`Invalid slug passed to DaperClient.getStoriesBySlug: ${e.slug}`);if(e.slug.length>100)throw Error(`Invalid slug passed to DaperClient.getStoriesBySlug: ${e.slug} exceeds length limit`);return!0};validateGetLiveSched=e=>{if(!e.channel)throw Error("Missing required parameter for DaperClient.getLiveSched: channel");if("string"!=typeof e.channel)throw Error(`Invalid channel passed to DaperClient.getLiveSched: ${e.channel}`);return!0};validateGetStoryById=e=>{if(!e.id)throw Error("Missing required parameter for DaperClient.getStoryById: id");if("string"!=typeof e.id||!e.id.match(o.VALID_REGEX.id))throw Error(`Invalid slug passed to DaperClient.getStoryById: ${e.id}`);if(e.id.length>100)throw Error(`Invalid slug passed to DaperClient.getStoryById: ${e.id} exceeds length limit`);return!0};validateGetThumbnailImagesByAVMMId=e=>{if(!e.id)throw Error("Missing required parameter in DaperClient.getThumbnailImagesByAVMMId: id");if(e.idType&&!Object.keys(s.DaperImageIdType).includes(e.idType))throw Error(`Invalid idType passed to DaperClient.getThumbnailImagesByAVMMId: ${e.idType}`);return Object.entries(e).forEach(([e,t])=>{if(e.length>200)throw Error(`Invalid key passed to DaperClient.getThumbnailImagesByAVMMId: ${e} exceeds length limit`);if(!e.toString().match(o.VALID_REGEX.objectKey))throw Error(`Invalid key passed to DaperClient.getThumbnailImagesByAVMMId: ${e}`);if(t.toString().length>200)throw Error(`Invalid value passed to DaperClient.getThumbnailImagesByAVMMId: ${t} exceeds length limit`);if(!t.toString().match(o.VALID_REGEX.objectValue))throw Error(`Invalid value passed to DaperClient.getThumbnailImagesByAVMMId: ${t}`)}),!0};validateGetStoriesSearchLast=(e,t)=>{if(!e.field)throw Error("No value passed for field to DaperClient.validateGetStoriesSearchLast");if(!e.period)throw Error("No value passed for period to DaperClient.validateGetStoriesSearchLast");if(!e.units)throw Error("No value passed for units to DaperClient.validateGetStoriesSearchLast");return this.validateGetStoriesSearchBy(t)};validateGetStoriesSearchBy=e=>{if(e.primarySites&&!e.primarySites.every(e=>Object.values(s.DaperStorySite).includes(e)))throw Error(`Invalid site in primarySites passed to DaperClient.getStoriesSearchBy: ${e.primarySites}`);if(e.type&&!e.type.every(e=>Object.values(s.DaperStoryType).includes(e)))throw Error(`Invalid story type in type passed to DaperClient.getStoriesSearchBy: ${e.type}`);return Object.entries(e).forEach(([e,t])=>{if(e.length>200)throw Error(`Invalid key passed to DaperClient.getStoriesSearchBy: ${e} exceeds length limit`);if(!e.toString().match(o.VALID_REGEX.objectKey))throw Error(`Invalid key passed to DaperClient.getStoriesSearchBy: ${e}`);if("object"==typeof t&&!t)throw Error(`Invalid value passed to DaperClient.getStoriesSearchBy with ${e}: ${t}`);if("object"!=typeof t){if(t.toString().length>200)throw Error(`Invalid value passed to DaperClient.getStoriesSearchBy: ${t} exceeds length limit`);if(!t.toString().match(o.VALID_REGEX.objectValue))throw Error(`Invalid value passed to DaperClient.getStoriesSearchBy: ${t}`)}}),!0}}t.default=l},59315:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DaperClientError=void 0;class r extends Error{url;errorResponse;status;constructor({errorResponse:e,status:t,url:r}){super(JSON.stringify(e)),this.name="DaperClientError",this.status=t,this.url=r,this.errorResponse=e}}t.DaperClientError=r},12792:function(e,t){"use strict";var r,n,o,i,a,s,u,l,c,f,p;Object.defineProperty(t,"__esModule",{value:!0}),t.DaperTimeRangeUnits=t.DaperImageIdType=t.DaperLocale=t.DaperStoryBrand=t.DaperStoryType=t.DaperStorySite=t.DaperFinanceReferenceCriteria=t.CLCRT_FIELDS=t.SecurityProperty=t.CLCRT=void 0,(o=r=t.CLCRT||(t.CLCRT={})).DS003="DS003",o.DS520="DS520",o.PR005="PR005",o.PR051="PR051",o.DS001="DS001",o.UTIME="UTIME",o.DS458="DS458",o.PR006="PR006",o.PR061="PR061",o.PR007="PR007",o.PR008="PR008",o.PR070="PR070",o.DS002="DS002",o.PR052="PR052",o.PR013="PR013",(i=n=t.SecurityProperty||(t.SecurityProperty={})).companyName="companyName",i.name="name",i.price="price",i.id="id",i.lastUpdateUTC="lastUpdateUTC",i.isoCountry="isoCountry",i.open="open",i.high="high",i.low="low",i.volume="volume",i.absoluteChange="absoluteChange",i.percentChange1Day="percentChange1Day",i.percentChange1Month="percentChange1Month",i.percentChange1Year="percentChange1Year",i.exchange="exchange",t.CLCRT_FIELDS={[n.companyName]:r.DS002,[n.name]:r.DS520,[n.price]:r.PR005,[n.id]:r.DS001,[n.lastUpdateUTC]:r.UTIME,[n.isoCountry]:r.DS458,[n.open]:r.PR006,[n.high]:r.PR007,[n.low]:r.PR008,[n.volume]:r.PR013,[n.absoluteChange]:r.PR051,[n.percentChange1Day]:r.PR052,[n.percentChange1Month]:r.PR061,[n.percentChange1Year]:r.PR070,[n.exchange]:r.DS003},(a=t.DaperFinanceReferenceCriteria||(t.DaperFinanceReferenceCriteria={})).PERCENT_UP="PERCENT_UP",a.PERCENT_DOWN="PERCENT_DOWN",a.VOLUME="VOLUME",(s=t.DaperStorySite||(t.DaperStorySite={})).gadfly="gadfly",s.quicktake="quicktake",s.bbiz="bbiz",s.bpol="bpol",s.cybersecurity="cybersecurity",s["climate-changed"]="climate-changed",s.businessweek="businessweek",s["special-issue"]="special-issue",s["new-economy-forum"]="new-economy-forum",s.markets="markets",s.bloomberg_app="bloomberg_app",s.bview="bview",s.business_week_app="business_week_app",s.technology="technology",s.pursuits="pursuits",s.btv="btv",s.apple_news="apple_news",s.cojp="cojp",s.sponsored="sponsored",s.feeds="feeds",s.socialflow="socialflow",s.tictoc="tictoc",s.hyperdrive="hyperdrive",s.prognosis="prognosis",s.green="green",s.screentime="screentime",s.citylab="citylab",s.wealth="wealth",s.equality="equality",s.syndication="syndication",s.newsletters="newsletters",s.economics="economics",s.crypto="crypto",s["markets-magazine"]="markets-magazine",s.industries="industries",s["work-shift"]="work-shift",s["weekend-edition"]="weekend-edition",(u=t.DaperStoryType||(t.DaperStoryType={})).article="article",u.audio="audio",u.photo="photo",u.breaking_news="breaking_news",u.data_article="data_article",u.slideshow="slideshow",u.impact_scorecard="impact_scorecard",u.interactive="interactive",u.feature="feature",u.quicktake="quicktake",u.video="video",u.letter="letter",u.newsletter_campaign="newsletter_campaign",u.author_session="author_session",u.storythread="storythread",u.liveblog="liveblog",u.explainers="explainers",(l=t.DaperStoryBrand||(t.DaperStoryBrand={})).bview="bview",l.gadfly="gadfly",l.quicktake="quicktake",l.bbiz="bbiz",l.bpol="bpol",l.businessweek="businessweek",l.markets="markets",l.technology="technology",l.pursuits="pursuits",l.cojp="cojp",l.sponsored="sponsored",l.green="green",l.citylab="citylab",l.wealth="wealth",l.equality="equality",l.economics="economics",l.industries="industries",l.crypto="crypto",l["work-shift"]="work-shift",l["markets-magazine"]="markets-magazine",(c=t.DaperLocale||(t.DaperLocale={})).en="en",c.ja="ja",(f=t.DaperImageIdType||(t.DaperImageIdType={})).AVMM="AVMM",f.BMMR="BMMR",f.OOYALA="OOYALA",(p=t.DaperTimeRangeUnits||(t.DaperTimeRangeUnits={})).minute="minute",p.hour="hour",p.week="week",p.month="month",p.year="year"},35099:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DaperClient=void 0;var a=r(77846);Object.defineProperty(t,"DaperClient",{enumerable:!0,get:function(){return i(a).default}}),o(r(59315),t),o(r(12792),t)},37848:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaGatewayClientError=void 0;class r extends Error{url;status;errorResponse;constructor({errorResponse:e,status:t,url:r}){super(JSON.stringify(e)),this.name="MediaGatewayClientError",this.status=t,this.url=r,this.errorResponse=e}}t.MediaGatewayClientError=r},35312:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=n(r(69076)),i=r(37848),a=r(21391);class s extends o.default{#r;#t;#e;constructor(e){if(super(),!e.host)throw Error("No host passed to MediaGatewayClient constructor; aborting");if(!e.username)throw Error("No username passed to MediaGatewayClient constructor; aborting");if(!e.password)throw Error("No password passed to MediaGatewayClient constructor; aborting");this.#r=`${e.host}/graphql`,this.#e=e.username,this.#t=e.password}getAuthHeader(){return{Authorization:`Basic ${btoa(`${this.#e}:${this.#t}`)}`}}async getUserBookmarks({bconnectId:e}){this.validateGetUserBookmarks({bconnectId:e});let t={operationName:"getUserBookmarks",variables:{bconnectId:e},query:a.USER_BOOKMARKS_QUERY},r=this.#n(t),n=await fetch(this.#r,r),o=await n.json();if(!n.ok)throw new i.MediaGatewayClientError({errorResponse:o.errors,status:n.status,url:this.#r});return o?.data?.userBookmarks.bookmarks}async getUserProfile({bconnectId:e,sessionId:t}){this.validateGetUserProfile({bconnectId:e,sessionId:t});let r={operationName:"getUserProfile",variables:{userIdentity:{bconnectId:e,sessionId:t}},query:a.USER_PROFILE_QUERY},n=this.#n(r),o=await fetch(this.#r,n),s=await o.json();if(!o.ok)throw new i.MediaGatewayClientError({errorResponse:s.errors,status:o.status,url:this.#r});return s?.data?.user.profile}#n=e=>({method:"POST",headers:{"Content-Type":"application/json",...this.getAuthHeader()},body:JSON.stringify(e)});validateGetUserBookmarks=({bconnectId:e})=>{if(!e)throw Error(`[getUserBookmarks] Missing params - bconnectId=${e}`)};validateGetUserProfile=({bconnectId:e,sessionId:t})=>{if(!e)throw Error("[getUserProfile] Missing param - bconnectId");if(!t)throw Error("[getUserProfile] Missing param - sessionId")}}t.default=s},64121:function(e,t){"use strict";var r,n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.SortOrder=t.SortBy=t.ContentType=void 0,(r=t.ContentType||(t.ContentType={})).Article="ARTICLE",r.Audio="AUDIO",r.Video="VIDEO",(n=t.SortBy||(t.SortBy={})).PublishedDate="PUBLISHED_DATE",n.SavedDate="SAVED_DATE",(o=t.SortOrder||(t.SortOrder={})).Asc="ASC",o.Desc="DESC"},71134:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MediaGatewayClient=void 0;var a=r(35312);Object.defineProperty(t,"MediaGatewayClient",{enumerable:!0,get:function(){return i(a).default}}),o(r(37848),t),o(r(64121),t)},21391:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.USER_PROFILE_QUERY=t.USER_BOOKMARKS_QUERY=void 0,t.USER_BOOKMARKS_QUERY=` + query getUserBookmarks($bconnectId: ID!) { + userBookmarks(bconnectId: $bconnectId) { + bookmarks { + contentId + contentType + id + publishedDate + readDate + savedDate + } + } + } +`,t.USER_PROFILE_QUERY=` + query getUserProfile($userIdentity: UserIdentityInput) { + user(userIdentity: $userIdentity) { + profile { + industry + jobTitle + } + } + } +`},65068:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PersonalizationClientError=void 0;class r extends Error{url;errorResponse;status;constructor({errorResponse:e,status:t,url:r}){super(JSON.stringify(e)),this.name="PersonalizationClientError",this.status=t,this.url=r,this.errorResponse=e}}t.PersonalizationClientError=r},88736:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let s=i(r(30096)),u=r(34727),l=a(r(69076)),c=r(35999),f=r(65068),{fetchWithProxy:p}=s;class d extends l.default{host;environment;fetchWithProxy;constructor(e){if(super(),!e.host)throw Error("No host passed to PersonalizationClient constructor; aborting");if(!e.environment)throw Error("No environment passed to PersonalizationClient constructor; aborting");this.host=e.host,this.environment=e.environment,this.fetchWithProxy=(e,t,r)=>{let n=new Set(["orange"]);if(n.has(this.environment)&&"GET"!==t)throw Error(`Only GET request method is allowed from PersonalizationClient in ${Array.from(n).join(",")}. It is trying to be called from: ${this.environment}`);return p(e,r,{method:t})}}async getCFRU(e,t){this.validateGetCFRU(e);let r=(0,u.stringifyParams)(e,e=>e.join(";")),n=`${this.host}/user/recommendations/cfru?${r}`,o=await this.fetchWithProxy(n,"GET",t),i=await o.json();if(!o.ok)throw new f.PersonalizationClientError({errorResponse:i,status:o.status,url:n});return i}async getRecommendedNewsletters(e,t){let r=(0,u.stringifyParams)(e,e=>e.join(";")),n=`${this.host}/user/recommendations/usertonewsletter?${r}`,o=await this.fetchWithProxy(n,"GET",t),i=await o.json();if(!o.ok)throw new f.PersonalizationClientError({errorResponse:i,status:o.status,url:n});return i}async getRecent(e,t){this.validateGetRecent(e);let r=(0,u.stringifyParams)(e,e=>e.join(";")),n=`${this.host}/user/recommendations/recent?${r}`,o=await this.fetchWithProxy(n,"GET",t),i=await o.json();if(!o.ok)throw new f.PersonalizationClientError({errorResponse:i,status:o.status,url:n});return i}async getRelated(e,t){this.validateGetRelated(e);let r=(0,u.stringifyParams)(e,e=>e.join(";")),n=`${this.host}/user/recommendations/rr?${r}`,o=await this.fetchWithProxy(n,"GET",t),i=await o.json();if(!o.ok)throw new f.PersonalizationClientError({errorResponse:i,status:o.status,url:n});return i}async getPopularResources(e,t){this.validateGetPopular(e);let r=(0,u.stringifyParams)(e,e=>e.join(";")),n=`${this.host}/popular/resources?${r}`,o=await this.fetchWithProxy(n,"GET",t),i=await o.json();if(!o.ok)throw new f.PersonalizationClientError({errorResponse:i,status:o.status,url:n});return i}async getPopularEntities(e,t){this.validateGetPopular(e);let r=(0,u.stringifyParams)(e,e=>e.join(";")),n=`${this.host}/popular/entities?${r}`,o=await this.fetchWithProxy(n,"GET",t),i=await o.json();if(!o.ok)throw new f.PersonalizationClientError({errorResponse:i,status:o.status,url:n});return i}async getRecommendedPopular(e,t){this.validateGetRecommendedPopular(e);let r=(0,u.stringifyParams)(e,e=>e.join(";")),n=`${this.host}/user/recommendations/popular?${r}`,o=await this.fetchWithProxy(n,"GET",t),i=await o.json();if(!o.ok)throw new f.PersonalizationClientError({errorResponse:i,status:o.status,url:n});return i}async getRecommendedTPR(e,t){this.validateGetRecommendedTPR(e);let r=(0,u.stringifyParams)(e,e=>e.join(";")),n=`${this.host}/user/recommendations/tpr?${r}`,o=await this.fetchWithProxy(n,"GET",t),i=await o.json();if(!o.ok)throw new f.PersonalizationClientError({errorResponse:i,status:o.status,url:n});return i}validateGetCFRU=e=>{if(!e)return!0;if(!e.resourceTypes||!Array.isArray(e.resourceTypes)||0===e.resourceTypes.length)throw Error("Missing required parameter for PersonalizationClient.getCFRU: resourceTypes");if(!e.resourceTypes.every(e=>Object.values(c.PersonalizationResourceType).includes(e)))throw Error(`Invalid type in resourceTypes passed to PersonalizationClient.getCFRU: ${e.resourceTypes}`);if(!e.limit)throw Error("Missing required parameter for PersonalizationClient.getCFRU: limit");if("number"!=typeof e.limit||e.limit<=0)throw Error(`Invalid limit passed to PersonalizationClient.getCFRU: ${e.limit}`);if(!e.thumbnailRequired||"boolean"!=typeof e.thumbnailRequired)throw Error("Missing required parameter for PersonalizationClient.getCFRU: thumbnailRequired");return!0};validateGetRecent=e=>{if(!e.resourceTypes||!Array.isArray(e.resourceTypes)||0===e.resourceTypes.length)throw Error("Missing required parameter for PersonalizationClient.getRecent: resourceTypes");if(!e.resourceTypes.every(e=>Object.values(c.PersonalizationResourceType).includes(e)))throw Error(`Invalid type in resourceTypes passed to PersonalizationClient.getRecent: ${e.resourceTypes}`);if(!e.limit)throw Error("Missing required parameter for PersonalizationClient.getRecent: limit");if("number"!=typeof e.limit||e.limit<=0)throw Error(`Invalid limit passed to PersonalizationClient.getRecent: ${e.limit}`);if(!e.thumbnailRequired||"boolean"!=typeof e.thumbnailRequired)throw Error("Missing required parameter for PersonalizationClient.getRecent: thumbnailRequired");return!0};validateGetRelated=e=>{if(!e.resourceTypes||!Array.isArray(e.resourceTypes)||0===e.resourceTypes.length)throw Error("Missing required parameter for PersonalizationClient.getRelated: resourceTypes");if(!e.resourceTypes.every(e=>Object.values(c.PersonalizationResourceType).includes(e)))throw Error(`Invalid type in resourceTypes passed to PersonalizationClient.getRelated: ${e.resourceTypes}`);if(!e.currentResource||"string"!=typeof e.currentResource)throw Error("Missing required parameter for PersonalizationClient.getRelated: currentResource");if(!e.limit)throw Error("Missing required parameter for PersonalizationClient.getRelated: limit");if("number"!=typeof e.limit||e.limit<=0)throw Error(`Invalid limit passed to PersonalizationClient.getRelated: ${e.limit}`);if(!e.thumbnailRequired||"boolean"!=typeof e.thumbnailRequired)throw Error("Missing required parameter for PersonalizationClient.getRelated: thumbnailRequired");return!0};validateGetPopular=e=>{if(!e)return!0;if(!e.facets||"string"!=typeof e.facets)throw Error("Missing required parameter for PersonalizationClient.getPopular: facets");if(!e.limit)throw Error("Missing required parameter for PersonalizationClient.getPopular: limit");if("number"!=typeof e.limit||e.limit<=0)throw Error(`Invalid limit passed to PersonalizationClient.getPopular: ${e.limit}`);return!0};validateGetRecommendedPopular=e=>{if(!e)return!0;if(!e.resourceTypes||!Array.isArray(e.resourceTypes)||0===e.resourceTypes.length)throw Error("Missing required parameter for PersonalizationClient.getRecommendedPopular: resourceTypes");if(!e.resourceTypes.every(e=>Object.values(c.PersonalizationResourceType).includes(e)))throw Error(`Invalid type in resourceTypes passed to PersonalizationClient.getRecommendedPopular: ${e.resourceTypes}`);if(!e.limit)throw Error("Missing required parameter for PersonalizationClient.getRecommendedPopular: limit");if("number"!=typeof e.limit||e.limit<=0)throw Error(`Invalid limit passed to PersonalizationClient.getRecommendedPopular: ${e.limit}`);if(!e.thumbnailRequired||"boolean"!=typeof e.thumbnailRequired)throw Error("Missing required parameter for PersonalizationClient.getRecommendedPopular: thumbnailRequired");return!0};validateGetRecommendedTPR=e=>{if(!e)throw Error("Missing required parameters for PersonalizationClient.getRecommendedTPR: resourceTypes, limit");if(e.resourceTypes&&"string"!=typeof e.resourceTypes)throw Error(`Invalid resourceTypes passed to PersonalizationClient.getRecommendedTPR: ${e.resourceTypes}`);if(e.limit&&"number"!=typeof e.limit||e.limit<=0||e.limit>=1e3)throw Error(`Invalid limit passed to PersonalizationClient.getRecommendedTPR: ${e.limit}`);return!0}}t.default=d},35999:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.PopularInteraction=t.PersonalizationResourceType=void 0,(r=t.PersonalizationResourceType||(t.PersonalizationResourceType={})).Story="Story",r.Video="Video",r.Interactive="Interactive",r.Company="Company",r.Topic="Topic",r.Feature="Feature",r.Author="Author",r.Person="Person",r.Section="Section",r.Ni="Ni",r.Wire="Wire",r.Newsletter="Newsletter",r.Quicktake="Quicktake",r.Currency="Currency",r.Region="Region",r.Event="Event",r.External="External",r.Slideshow="Slideshow",r.Dataarticle="Dataarticle",r.Category="Category",r.Tracker="Tracker",r.Index="Index",r.Country="Country",r.Organization="Organization",r.City="City",r.Commodity="Commodity",r.Fund="Fund",r.Classification="Classification",r.Series="Series",r.Location="Location",(n=t.PopularInteraction||(t.PopularInteraction={})).VIEW="VIEW",n.SHARE="SHARE",n.MERGE="MERGE",n.QUEUE="QUEUE",n.INFO_UPDATE="INFO_UPDATE"},2801:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PersonalizationClient=void 0;var a=r(88736);Object.defineProperty(t,"PersonalizationClient",{enumerable:!0,get:function(){return i(a).default}}),o(r(65068),t),o(r(35999),t)},82947:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SrchDataClientError=void 0;class r extends Error{errorResponse;status;url;constructor({errorResponse:e,status:t,url:r}){super(JSON.stringify(e)),this.name="SrchDataClientError",this.errorResponse=e,this.status=t,this.url=r}}t.SrchDataClientError=r},8454:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=n(r(27044)),i=r(45011),a=r(34727),s=n(r(69076)),u=r(82947);class l extends s.default{host;fetchWithProxy;constructor(e){if(super(),!e.host)throw Error("No host passed to SrchDataClient constructor; aborting");this.host=`${e.host}/srchdata`,this.fetchWithProxy=t=>(0,o.default)(t,e.proxy)}async getBio(e){this.validateGetBio(e);let t=(0,a.stringifyParams)(e),r=`${this.host}/bio?${t}`,n=await this.fetchWithProxy(r),o=await n.json();if(!n.ok)throw new u.SrchDataClientError({errorResponse:o,status:n.status,url:r});return o.bio}async getTotalNumberOfBios(e){this.validateGetBio(e);let t=(0,a.stringifyParams)(e),r=`${this.host}/bio?${t}`,n=await this.fetchWithProxy(r),o=await n.json();if(!n.ok)throw new u.SrchDataClientError({errorResponse:o,status:n.status,url:r});return o.total}async getCompaniesPublic(e){this.validateGetCompaniesPublic(e);let t=(0,a.stringifyParams)(e),r=`${this.host}/search/companies/public/diff?${t}`,n=await this.fetchWithProxy(r),o=await n.json();if(!n.ok)throw new u.SrchDataClientError({errorResponse:o,status:n.status,url:r});return o.value.hits}async getNumberOfPublicCompanies(){let e=`${this.host}/search/companies/public/diff`,t=await this.fetchWithProxy(e),r=await t.json();if(!t.ok)throw new u.SrchDataClientError({errorResponse:r,status:t.status,url:e});return r.value.totalHits}async getCompaniesPrivate(e){this.validateGetCompaniesPrivate(e);let t=(0,a.stringifyParams)(e),r=`${this.host}/search/companies/private/diff?${t}`,n=await this.fetchWithProxy(r),o=await n.json();if(!n.ok)throw new u.SrchDataClientError({errorResponse:o,status:n.status,url:r});return o.value.hits}async getNumberOfPrivateCompanies(){let e=`${this.host}/search/companies/private/diff`,t=await this.fetchWithProxy(e),r=await t.json();if(!t.ok)throw new u.SrchDataClientError({errorResponse:r,status:t.status,url:e});return r.value.totalHits}async getSecurities(e){this.validateGetSecurities(e);let t=(0,a.stringifyParams)(e),r=`${this.host}/search/securities/diff?${t}`,n=await this.fetchWithProxy(r),o=await n.json();if(!n.ok)throw new u.SrchDataClientError({errorResponse:o,status:n.status,url:r});return o.value.hits}validateGetBio=e=>{if(e.offset&&(e.offset<0||"number"!=typeof e.offset))throw Error(`Invalid offset passed to SrchDatClient.getBio: ${e.offset} of type ${typeof e.offset}`);if(e.size){if(e.size<0||"number"!=typeof e.size)throw Error(`Invalid size passed to SrchDatClient.getBio: ${e.size} of type ${typeof e.size}`);if(e.size>1e3)throw Error(`Invalid size passed to SrchDatClient.getBio: ${e.size} exceeds size limit of 1000`)}if(e.start&&(e.start<0||"number"!=typeof e.start))throw Error(`Invalid start passed to SrchDatClient.getBio: ${e.start} of type ${typeof e.start}`);if(e.isDeleted&&"boolean"!=typeof e.isDeleted)throw Error(`Invalid isDeleted passed to SrchDatClient.getBio: ${e.isDeleted} of type ${typeof e.isDeleted}`);if(e.personId&&(e.personId<0||"number"!=typeof e.personId))throw Error(`Invalid personId passed to SrchDatClient.getBio: ${e.personId} of type ${typeof e.personId}`);return!0};validateGetCompaniesPublic=e=>{if(e.startTime&&("string"!=typeof e.startTime||!e.startTime.match(i.VALID_REGEX.dateString)))throw Error(`Invalid startTime passed to SrchDatClient.getCompaniesPublic: ${e.startTime} of type ${typeof e.startTime}`);if(e.endTime&&("string"!=typeof e.endTime||!e.endTime.match(i.VALID_REGEX.dateString)))throw Error(`Invalid endTime passed to SrchDatClient.getCompaniesPublic: ${e.endTime} of type ${typeof e.endTime}`);if(e.from&&(e.from<0||"number"!=typeof e.from))throw Error(`Invalid from passed to SrchDatClient.getCompaniesPublic: ${e.from} of type ${typeof e.from}`);if(e.size){if(e.size<0||"number"!=typeof e.size)throw Error(`Invalid size passed to SrchDatClient.getCompaniesPublic: ${e.size} of type ${typeof e.size}`);if(e.size>1e3)throw Error(`Invalid size passed to SrchDatClient.getCompaniesPublic: ${e.size} exceeds size limit of 1000`)}return!0};validateGetCompaniesPrivate=e=>{if(e.startTime&&("string"!=typeof e.startTime||!e.startTime.match(i.VALID_REGEX.dateString)))throw Error(`Invalid startTime passed to SrchDatClient.getCompaniesPrivate: ${e.startTime} of type ${typeof e.startTime}`);if(e.endTime&&("string"!=typeof e.endTime||!e.endTime.match(i.VALID_REGEX.dateString)))throw Error(`Invalid endTime passed to SrchDatClient.getCompaniesPrivate: ${e.endTime} of type ${typeof e.endTime}`);if(e.from&&(e.from<0||"number"!=typeof e.from))throw Error(`Invalid from passed to SrchDatClient.getCompaniesPrivate: ${e.from} of type ${typeof e.from}`);if(e.size){if(e.size<0||"number"!=typeof e.size)throw Error(`Invalid size passed to SrchDatClient.getCompaniesPrivate: ${e.size} of type ${typeof e.size}`);if(e.size>1e3)throw Error(`Invalid size passed to SrchDatClient.getCompaniesPrivate: ${e.size} exceeds size limit of 1000`)}return!0};validateGetSecurities=e=>{if(e.startTime&&("string"!=typeof e.startTime||!e.startTime.match(i.VALID_REGEX.dateString)))throw Error(`Invalid startTime passed to SrchDatClient.getSecurities: ${e.startTime} of type ${typeof e.startTime}`);if(e.endTime&&("string"!=typeof e.endTime||!e.endTime.match(i.VALID_REGEX.dateString)))throw Error(`Invalid endTime passed to SrchDatClient.getSecurities: ${e.endTime} of type ${typeof e.endTime}`);if(e.from&&(e.from<0||"number"!=typeof e.from))throw Error(`Invalid from passed to SrchDatClient.getSecurities: ${e.from} of type ${typeof e.from}`);if(e.size){if(e.size<0||"number"!=typeof e.size)throw Error(`Invalid size passed to SrchDatClient.getSecurities: ${e.size} of type ${typeof e.size}`);if(e.size>1e3)throw Error(`Invalid size passed to SrchDatClient.getSecurities: ${e.size} exceeds size limit of 1000`)}return!0}}t.default=l},70920:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.SrchDataBioVisibility=void 0,(r=t.SrchDataBioVisibility||(t.SrchDataBioVisibility={})).WHITELISTED="WHITELISTED",r.PUBLIC_COMPANY_EXECUTIVE="PUBLIC_COMPANY_EXECUTIVE",r.TERMINAL_USER_AND_EXECUTIVE="TERMINAL_USER_AND_EXECUTIVE"},96431:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SrchDataClient=void 0;var a=r(8454);Object.defineProperty(t,"SrchDataClient",{enumerable:!0,get:function(){return i(a).default}}),o(r(82947),t),o(r(70920),t)},34590:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserApiClientError=void 0;class r extends Error{url;status;errorResponse;constructor({errorResponse:e,status:t,url:r}){super(JSON.stringify(e)),this.name="UserApiClientError",this.status=t,this.url=r,this.errorResponse=e}}t.UserApiClientError=r},34251:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let a=i(r(69076)),s=r(42735),u=r(34590),l=r(78753);o(r(83922),t);class c extends a.default{host;constructor(e){if(super(),!e.host)throw Error("No host passed to UserApiClient constructor; aborting");this.host=`${e.host}/graphql`}async getUserEngagements(){let e={operationName:"getUser",query:l.GetUserEngagementsQuery},t=this.#o(e),r=await fetch(this.host,t);if(!r.ok)throw new u.UserApiClientError({errorResponse:[{message:r.statusText}],status:r.status,url:this.host});let n=await r.json();if(n.errors)throw new u.UserApiClientError({errorResponse:n.errors,status:r.status,url:this.host});return n.data.user.engagements.elements}async getUserAuthors(){let e={operationName:"getUserAuthors",query:l.GetUserAuthorsQuery},t=this.#o(e),r=await fetch(this.host,t);if(!r.ok)throw new u.UserApiClientError({errorResponse:[{message:await r.statusText}],status:r.status,url:this.host});let n=await r.json();if(n.errors)throw new u.UserApiClientError({errorResponse:n.errors,status:r.status,url:this.host});return n.data.user.engagements.elements}async getUserTopics(){let e={operationName:"getUserTopics",query:l.GetUserTopicsQuery},t=this.#o(e),r=await fetch(this.host,t);if(!r.ok)throw new u.UserApiClientError({errorResponse:[{message:r.statusText}],status:r.status,url:this.host});let n=await r.json();if(n.errors)throw new u.UserApiClientError({errorResponse:n.errors,status:r.status,url:this.host});return n.data.user.engagements.elements}async getUserSecurities(){let e={operationName:"getUserSecurities",query:l.GetUserSecuritiesQuery},t=this.#o(e),r=await fetch(this.host,t);if(!r.ok)throw new u.UserApiClientError({errorResponse:[{message:r.statusText}],status:r.status,url:this.host});let n=await r.json();if(n.errors)throw new u.UserApiClientError({errorResponse:n.errors,status:r.status,url:this.host});return n.data.user.engagements.elements}async followTopic(e){this.validateTopicParams(e);let{topicId:t}=e,r={query:l.FollowMutation,variables:{user:{},engagementsUpdate:{creates:[{dataOrigin:s.DATA_ORIGIN.HOME_FEED,productType:s.PRODUCT.ENGAGEMENT_PREFERENCES,resourceType:s.RESOURCE.TOPIC,resourceId:t,actionType:s.ACTION.FOLLOW}]}}},n=this.#o(r),o=await fetch(this.host,n);if(!o.ok)throw new u.UserApiClientError({errorResponse:[{message:o.statusText}],status:o.status,url:this.host});let i=await o.json();if(i.errors)throw new u.UserApiClientError({errorResponse:i.errors,status:o.status,url:this.host});return i.data.bulkUpdateEngagements.success}async deleteTopic(e){this.validateTopicParams(e);let{topicId:t}=e,r={query:l.DeleteFollowMutation,variables:{user:{},deleteEngagement:{productType:s.PRODUCT.ENGAGEMENT_PREFERENCES,actionType:s.ACTION.FOLLOW,resourceType:s.RESOURCE.TOPIC,resourceId:t}}},n=this.#o(r),o=await fetch(this.host,n);if(!o.ok)throw new u.UserApiClientError({errorResponse:[{message:o.statusText}],status:o.status,url:this.host});let i=await o.json();if(i.errors)throw new u.UserApiClientError({errorResponse:i.errors,status:o.status,url:this.host});return i.data.deleteEngagement.success}#o=e=>({method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},credentials:"include",body:JSON.stringify(e)});validateTopicParams=e=>{if(!e.topicId||"string"!=typeof e.topicId)throw Error("Missing or invalid topic parameter for UserApiClient: topicId");return!0}}t.default=c},42735:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DATA_ORIGIN=t.RESOURCE=t.ACTION=t.PRODUCT=void 0,(t.PRODUCT||(t.PRODUCT={})).ENGAGEMENT_PREFERENCES="ENGAGEMENT_PREFERENCES",(t.ACTION||(t.ACTION={})).FOLLOW="FOLLOW",(t.RESOURCE||(t.RESOURCE={})).TOPIC="Topic",(t.DATA_ORIGIN||(t.DATA_ORIGIN={})).HOME_FEED="HOME_FEED"},94122:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserApiClient=void 0;var a=r(34251);Object.defineProperty(t,"UserApiClient",{enumerable:!0,get:function(){return i(a).default}}),o(r(34590),t),o(r(42735),t)},78753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeleteFollowMutation=t.FollowMutation=t.GetUserSecuritiesQuery=t.GetUserTopicsQuery=t.GetUserAuthorsQuery=t.GetUserEngagementsQuery=void 0,t.GetUserEngagementsQuery=`query getUser($user: UserIdentityInput) { + user(userIdentity: $user) { + engagements(queryArgs: {productType: ENGAGEMENT_PREFERENCES}) { + elements { + id + actionType + resource { + id + type + ... on Person { + name + } + ... on Topic { + name + } + ... on Company { + longName + } + ... on Securities { + longName + } + } + } + } + } +}`,t.GetUserAuthorsQuery=`query getUserAuthors($user: UserIdentityInput) { + user(userIdentity: $user) { + engagements(queryArgs: {productType: AUTHOR_FOLLOW}) { + elements { + id + actionType + resource { + id + type + ... on Person { + name + } + } + } + } + } +}`,t.GetUserTopicsQuery=`query getUserTopics($user: UserIdentityInput) { + user(userIdentity: $user) { + engagements(queryArgs: {productType: ENGAGEMENT_PREFERENCES, resourceType: Topic}) { + elements { + id + actionType + resource { + id + type + ... on Topic { + name + } + } + } + } + } +}`,t.GetUserSecuritiesQuery=`query getUserSecurities($user: UserIdentityInput) { + user(userIdentity: $user) { + engagements(queryArgs: {productType: ENGAGEMENT_PREFERENCES}) { + elements { + id + actionType + resource { + id + type + ... on Securities { + longName + } + } + } + } + } +}`,t.FollowMutation=`mutation follow( + $user: UserIdentityInput!, + $engagementsUpdate: BulkUpdateEngagementsInput! +) { + bulkUpdateEngagements( + userIdentity: $user, + bulkUpdateEngagementsInput: $engagementsUpdate) + { + success + } +}`,t.DeleteFollowMutation=`mutation deleteFollow( + $user: UserIdentityInput!, + $deleteEngagement: DeleteEngagementInput! +) { + deleteEngagement(userIdentity: $user, deleteInput: $deleteEngagement) { + success + } +}`},83922:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},76268:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.fetchFrom=t.stringifyParams=t.Singleton=t.IntercomTracking=t.IntercomSlot=t.Intercom=void 0;var a=r(53174);Object.defineProperty(t,"Intercom",{enumerable:!0,get:function(){return i(a).default}}),o(r(90616),t),o(r(61010),t);var s=r(63500);Object.defineProperty(t,"IntercomSlot",{enumerable:!0,get:function(){return s.IntercomSlot}});var u=r(63500);Object.defineProperty(t,"IntercomTracking",{enumerable:!0,get:function(){return u.IntercomTracking}});var l=r(69076);Object.defineProperty(t,"Singleton",{enumerable:!0,get:function(){return i(l).default}}),o(r(93148),t),o(r(35099),t),o(r(71134),t),o(r(94122),t),o(r(2801),t),o(r(96431),t);var c=r(34727);Object.defineProperty(t,"stringifyParams",{enumerable:!0,get:function(){return c.stringifyParams}});var f=r(19583);Object.defineProperty(t,"fetchFrom",{enumerable:!0,get:function(){return f.fetchFrom}})},53174:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=r(19583),i=n(r(69076)),a=r(90616);class s extends i.default{slots={};apiEndpoints;personalizationClient;mediaGatewayClient;userApiClient;constructor(e){super();let t=a.INTERCOM_API_ENDPOINTS;this.apiEndpoints={...t,...e?.apiEndpoints},this.mediaGatewayClient=e?.mediaGatewayClient,this.personalizationClient=e?.personalizationClient,this.userApiClient=e?.userApiClient}getSlots(){return this.slots}getSlot(e){return this.getSlots()[e]}async getPersonById(e){let t=this.apiEndpoints.getPersonById;if(!t)throw Error("getPersonById endpoint not configured");return(await (0,o.fetchFrom)(t,e)).json()}async getStories(e){let t=this.apiEndpoints.getStories;if(!t)throw Error("getStories endpoint not configured");return(await (0,o.fetchFrom)(t,e)).json()}async getStoryBySlug(e){let t=this.apiEndpoints.getStoryBySlug;if(!t)throw Error("getStoryBySlug endpoint not configured");return(await (0,o.fetchFrom)(t,e)).json()}async getStoryById(e){let t=this.apiEndpoints.getStoryById;if(!t)throw Error("getStoryById endpoint not configured");return(await (0,o.fetchFrom)(t,e)).json()}async getImages(e){let t=this.apiEndpoints.getImages;if(!t)throw Error("getImages endpoint not configured");return(await (0,o.fetchFrom)(t,{id:e?.id||""})).json()}async getAudios(e){let t=this.apiEndpoints.getAudios;if(!t)throw Error("getAudios endpoint not configured");return(await (0,o.fetchFrom)(t,{ids:e?.ids||""})).json()}async getVideos(e){let t=this.apiEndpoints.getVideos;if(!t)throw Error("getVideos endpoint not configured");return(await (0,o.fetchFrom)(t,{id:e?.id||""})).json()}async getImagesBulk(e){let t=this.apiEndpoints.getImagesBulk;if(!t)throw Error("getImagesBulk endpoint not configured");return(await (0,o.fetchFrom)(t,e)).json()}async getSecurities(e){let t=this.apiEndpoints.getSecurities;if(!t)throw Error("getSecurities endpoint not configured");return(await (0,o.fetchFrom)(t,e)).json()}async getPopularResources(e){if(!this.personalizationClient)throw Error("personalizationClient is not initialized");return await this.personalizationClient.getPopularResources(e)||[]}async getPopularEntities(e){if(!this.personalizationClient)throw Error("personalizationClient is not initialized");return await this.personalizationClient.getPopularEntities(e)||[]}async getRelated(e){if(!e)return[];if(!this.personalizationClient)throw Error("personalizationClient is not initialized");return await this.personalizationClient.getRelated(e)||[]}async getRecommended(e){if(!this.personalizationClient)throw Error("personalizationClient is not initialized");return await this.personalizationClient.getCFRU(e)||[]}async getRecommendedPopular(e){if(!this.personalizationClient)throw Error("personalizationClient is not initialized");return await this.personalizationClient.getRecommendedPopular(e)||[]}async getRecommendedTPR(e){if(!this.personalizationClient)throw Error("personalizationClient is not initialized");return await this.personalizationClient.getRecommendedTPR(e)||[]}async getNiCodeStories(e){let t=this.apiEndpoints.getNiCodeStories;if(!t)throw Error("getNiCodeStories endpoint not configured");return(await (0,o.fetchFrom)(t,e)).json()}async getNewsletters(){let e=this.apiEndpoints.getNewsletters;if(!e)throw Error("getNewsletters endpoint not configured");return(await (0,o.fetchFrom)(e)).json()}async getTopMovingSecurities(e){let t=this.apiEndpoints.getTopMovingSecurities;if(!t)throw Error("getTopMovingSecurities endpoint not configured");return(await (0,o.fetchFrom)(t,e)).json()}getUserAuthors(){if(!this.userApiClient)throw Error("userApiClient is not initialized");return this.userApiClient.getUserAuthors()}getUserTopics(){if(!this.userApiClient)throw Error("userApiClient is not initialized");return this.userApiClient.getUserTopics()}followTopic(e){if(!this.userApiClient)throw Error("userApiClient is not initialized");return this.userApiClient.followTopic(e)}deleteTopic(e){if(!this.userApiClient)throw Error("userApiClient is not initialized");return this.userApiClient.deleteTopic(e)}getUserSecurities(){if(!this.userApiClient)throw Error("userApiClient is not initialized");return this.userApiClient.getUserSecurities()}getUserBookmarks(e){if(!e)return Promise.resolve([]);if(!this.mediaGatewayClient)throw Error("mediaGatewayClient is not initialized");return this.mediaGatewayClient.getUserBookmarks(e)}getUserProfile(e){if(!e)return Promise.reject(Error("getUserProfile requires params"));if(!this.mediaGatewayClient)throw Error("mediaGatewayClient is not initialized");return this.mediaGatewayClient.getUserProfile(e)}async getBio(e){let t=this.apiEndpoints.getBio;if(!t)throw Error("getBio endpoint not configured");return(await (0,o.fetchFrom)(t,e)).json()}}t.default=s},63500:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntercomSlot=t.IntercomTracking=void 0;let n=r(85893),o=r(67294),i=r(45529);t.IntercomTracking=function({componentName:e,children:t}){let r=i.Tracker.getInstance();return(0,o.useEffect)(()=>{r.trackEvent({event:"impression",eventAction:`${e}Impression`,eventLabel:e})},[]),(0,n.jsx)("div",{id:e,ref:r.registerComponent,children:t})},t.IntercomSlot=function({children:e}){(0,o.useEffect)(()=>{},[]);let t=o.Children.toArray(e).find(e=>{let t=e.props;return t.criteria&&"function"==typeof t.criteria&&t.criteria()});return(0,n.jsx)(n.Fragment,{children:t})}},90616:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.INTERCOM_API_ENDPOINTS=t.IntercomFunctionKey=void 0,(n=r=t.IntercomFunctionKey||(t.IntercomFunctionKey={})).getPersonById="getPersonById",n.getStories="getStories",n.getStoryBySlug="getStoryBySlug",n.getStoryById="getStoryById",n.getImages="getImages",n.getAudios="getAudios",n.getVideos="getVideos",n.getImagesBulk="getImagesBulk",n.getSecurities="getSecurities",n.getNewsletters="getNewsletters",n.getNiCodeStories="getNiCodeStories",n.getUserAuthors="getUserAuthors",n.getUserNewsletters="getUserNewsletters",n.getUserTopics="getUserTopics",n.getUserSecurities="getUserSecurities",n.getTopMovingSecurities="getTopMovingSecurities",n.getPopularResources="getPopularResources",n.getPopularEntities="getPopularEntities",n.getRecommended="getRecommended",n.getRelated="getRelated",n.getRecommendedPopular="getRecommendedPopular",n.getUserBookmarks="getUserBookmarks",n.getUserProfile="getUserProfile",n.getBio="getBio",n.getCompaniesPublic="getCompaniesPublic",n.getCompaniesPrivate="getCompaniesPrivate",n.getSrchDataSecurities="getSrchDataSecurities",t.INTERCOM_API_ENDPOINTS={[r.getPersonById]:"api/daper/people/id",[r.getStories]:"/api/daper/stories",[r.getStoryBySlug]:"/api/daper/stories/slug",[r.getStoryById]:"/api/daper/stories/id",[r.getImages]:"/api/images",[r.getVideos]:"/api/videos",[r.getAudios]:"/api/audios",[r.getImagesBulk]:"/api/images/bulk",[r.getSecurities]:"/api/securities",[r.getNewsletters]:"/api/newsletters",[r.getNiCodeStories]:"/api/stories/ni",[r.getTopMovingSecurities]:"/api/securities/top-moving",[r.getUserAuthors]:"/api/user/authors",[r.getUserSecurities]:"/api/user/securities",[r.getUserTopics]:"/api/user/topics",[r.getBio]:"/api/people/bio",[r.getCompaniesPublic]:"/api/companies/public",[r.getCompaniesPrivate]:"/api/companies/private",[r.getSrchDataSecurities]:"/api/srchdata/securities"}},61010:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(90616)},45011:function(e,t){"use strict";var r,n,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t.VALID_REGEX=t.MAX_RESOURCE_AGE_DEFAULT=t.MILLISECONDS_PER_DAY=t.MINUTES_PER_HOUR=t.SECONDS_PER_MINUTE=t.MILLISECONDS_PER_SECOND=t.INTERCOM_SLOTS=t.ABBA_PLATFORM=t.INTERCOM_SLOT=void 0,(o=r=t.INTERCOM_SLOT||(t.INTERCOM_SLOT={})).articleBottom1="articleBottom1",o.articleBottom2="articleBottom2",o.articleRightRail1="articleRightRail1",o.articleRightRail2="articleRightRail2",o.articleRightRail3="articleRightRail3",(i=n=t.ABBA_PLATFORM||(t.ABBA_PLATFORM={})).article="article",i.homepage="homepage",t.INTERCOM_SLOTS={[n.article]:[r.articleBottom1,r.articleBottom2,r.articleRightRail1,r.articleRightRail2,r.articleRightRail3]},t.MILLISECONDS_PER_SECOND=1e3,t.SECONDS_PER_MINUTE=60,t.MINUTES_PER_HOUR=60,t.MILLISECONDS_PER_DAY=86400*t.MILLISECONDS_PER_SECOND,t.MAX_RESOURCE_AGE_DEFAULT=14*t.MILLISECONDS_PER_DAY,t.VALID_REGEX={dateString:/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$/,email:/^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})$/,id:/^(\w|-|\/)+$/,ids:/^(\w|-|;|\/)+$/,objectKey:/^(\w|.)+$/,objectValue:/^(\w|-|\/)+$/,security:/^[a-zA-Z0-9%]+:[a-zA-Z%]+$/,slug:/^(\w|-|\/)+$/}},19583:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchFrom=void 0;let n=r(34727);t.fetchFrom=(e,t,r)=>fetch(`${e}?${t?(0,n.stringifyParams)(t):""}`,r)},34727:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyParams=void 0,t.stringifyParams=(e,t=e=>e.join(","))=>new URLSearchParams(e?Object.entries(e).filter(([e,t])=>null!=t||(console.error(`value with key: ${e} is null or undefined!`),!1)).reduce((e,[r,n])=>({[r]:Array.isArray(n)?t(n):n.toString(),...e}),[]):{})},45529:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateEventFromElements=t.validateElementsForTracking=t.trackerEventIsValid=t.Tracker=void 0;class r{static instance;elements;constructor(){this.elements=new Map,r.instance=this}static getInstance(){return r.instance||new r}registerTracking(e){e&&e.addEventListener("click",()=>{let t=r.instance.getParent(e);o(t,e)||console.error("There was a problem creating your event. Please confirm integration.");let n=i(t,e);r.instance.trackEvent(n)})}registerComponent(e){e&&r.instance.elements.set(e.id,e)}trackEvent(e){if(!window.dataLayer){console.error("window.dataLayer is not defined",e);return}if(!n(e)){console.error("Invalid parameters passed to Tracker.trackEvent. Event will not fire.");return}window.dataLayer.push(e)}getParent(e){let t=[...r.instance.elements.entries()].find(([t,r])=>r.contains(e));if(!t)throw Error(`No parent found for element ${e}`);return t[1]}}function n(e){if(!e)return!1;let{event:t,eventAction:r,eventLabel:n,eventCategory:o}=e;return!!t&&!!o&&!!r&&!!n||(console.error("Invalid tracking config, you are missing required properties. [event, eventCategory, eventLabel and eventAction are required]"),!1)}function o(e,t){let r=t.dataset,n=e.dataset;return t.ariaLabel?r.role?!!n.component&&!!n.trackingId||(console.error("Parent is missing expected dataset attribute: data-component"),!1):(console.error("Child is missing expected dataset attribute: data-role"),!1):(console.error("Child is missing expected attribute: aria-label"),!1)}function i(e,t){let r=t.dataset,o=e.dataset,i={event:"intercom_click",eventCategory:o.trackingId,eventAction:`${o.component}_${r.role}_click`,eventLabel:t.ariaLabel};return n(i)?i:void 0}t.Tracker=r,t.trackerEventIsValid=n,t.validateElementsForTracking=o,t.generateEventFromElements=i},8457:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});let n=/\/+/g,o=/\/$/;function i(e){let{baseUrl:t=location.origin,hash:r,pathname:i="",searchParams:a,trailingSlash:s=!0}=e||{},u=new URL(t),l=a?new URLSearchParams(a).toString():"",c="";u.pathname&&(c+=`${u.pathname}/`),c+=i;let f=new URL(c=c?.replace(n,"/"),u.origin),p=`${f.toString()}${l?`?${l}`:""}${r?`#${r}`:""}`;return s?p:p.replace(o,"")}},64798:function(e,t){"use strict";t.Z=(e,t)=>{let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>e(...n),t)}}},30096:function(e,t,r){"use strict";r.r(t),r.d(t,{checksum:function(){return l},composeUrl:function(){return f.z},debounce:function(){return c.Z},fetchWithProxy:function(){return s},memoizeLast:function(){return u.Z},parseJson:function(){return p.M}});var n=r(26018),o=r(83300),i=r.n(o);let a=new Map;function s(e,t,r){let o=function(e){if(e&&a.has(e))return{agent:a.get(e)};if(e){let t=new n.HttpsProxyAgent(e,{keepAlive:!0});return a.set(e,t),{agent:t}}}(t);return i()(e,{...o,...r})}var u=r(97314);function l(e,t=0){let r=3735928559^t,n=1103547991^t;for(let t=0,o;t>>16,2246822507)^Math.imul(n^n>>>13,3266489909),4294967296*(2097151&(n=Math.imul(n^n>>>16,2246822507)^Math.imul(r^r>>>13,3266489909)))+(r>>>0)}var c=r(64798),f=r(8457),p=r(14640)},27044:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=r(26018),i=n(r(83300)),a=new Map;t.default=function(e,t,r){let n=function(e){if(e&&a.has(e))return{agent:a.get(e)};if(e){let t=new o.HttpsProxyAgent(e,{keepAlive:!0});return a.set(e,t),{agent:t}}}(t);return(0,i.default)(e,{...n,...r})}},23701:function(e,t,r){"use strict";var n=r(48764).Buffer,o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.json=t.toBuffer=void 0;let s=a(r(22321)),u=a(r(78428));async function l(e){let t=0,r=[];for await(let n of e)t+=n.length,r.push(n);return n.concat(r,t)}async function c(e){let t=(await l(e)).toString("utf8");try{return JSON.parse(t)}catch(e){throw e.message+=` (input: ${t})`,e}}t.toBuffer=l,t.json=c,t.req=function(e,t={}){let r=(("string"==typeof e?e:e.href).startsWith("https:")?u:s).request(e,t),n=new Promise((e,t)=>{r.once("response",e).once("error",t).end()});return r.then=n.then.bind(n),r}},12917:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Agent=void 0;let s=i(r(43535)),u=i(r(22321)),l=r(78428);a(r(23701),t);let c=Symbol("AgentBaseInternalState");class f extends u.Agent{constructor(e){super(e),this[c]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}let{stack:t}=Error();return"string"==typeof t&&t.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new s.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||null===t)return;let r=this.sockets[e],n=r.indexOf(t);-1!==n&&(r.splice(n,1),this.totalSocketCount--,0===r.length&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?l.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,r){let n={...t,secureEndpoint:this.isSecureEndpoint(t)},o=this.getName(n),i=this.incrementSockets(o);Promise.resolve().then(()=>this.connect(e,n)).then(a=>{if(this.decrementSockets(o,i),a instanceof u.Agent)try{return a.addRequest(e,n)}catch(e){return r(e)}this[c].currentSocket=a,super.createSocket(e,t,r)},e=>{this.decrementSockets(o,i),r(e)})}createConnection(){let e=this[c].currentSocket;if(this[c].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[c].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(e){this[c]&&(this[c].defaultPort=e)}get protocol(){return this[c].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[c]&&(this[c].protocol=e)}}t.Agent=f},69282:function(e,t,r){"use strict";var n,o,i,a=r(34155);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=r(62136).codes,l=u.ERR_AMBIGUOUS_ARGUMENT,c=u.ERR_INVALID_ARG_TYPE,f=u.ERR_INVALID_ARG_VALUE,p=u.ERR_INVALID_RETURN_VALUE,d=u.ERR_MISSING_ARGS,h=r(25961),g=r(89539).inspect,y=r(89539).types,b=y.isPromise,m=y.isRegExp,v=r(38399)(),w=r(75624)(),E=r(21924)("RegExp.prototype.test");function S(){var e=r(19158);o=e.isDeepEqual,i=e.isDeepStrictEqual}var _=!1,R=e.exports=A,C={};function O(e){if(e.message instanceof Error)throw e.message;throw new h(e)}function P(e,t,r,n){if(!r){var o=!1;if(0===t)o=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var i=new h({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw i.generatedMessage=o,i}}function A(){for(var e=arguments.length,t=Array(e),r=0;r1?r-1:0),o=1;o1?r-1:0),o=1;o1?r-1:0),o=1;o1?r-1:0),o=1;oe.length)&&(r=e.length),e.substring(r-t.length,r)===t}var m="",v="",w="",E="",S={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function _(e){var t=Object.keys(e),r=Object.create(Object.getPrototypeOf(e));return t.forEach(function(t){r[t]=e[t]}),Object.defineProperty(r,"message",{value:e.message}),r}function R(e){return g(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var C=function(e,t){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(c,e);var r,o,l=(r=f(),function(){var e,t=d(c);return e=r?Reflect.construct(t,arguments,d(this).constructor):t.apply(this,arguments),s(this,e)});function c(e){if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,c),"object"!==h(e)||null===e)throw new y("options","Object",e);var t,r=e.message,o=e.operator,i=e.stackStartFn,a=e.actual,f=e.expected,p=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=r)t=l.call(this,String(r));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(m="\x1b[34m",v="\x1b[32m",E="\x1b[39m",w="\x1b[31m"):(m="",v="",E="",w="")),"object"===h(a)&&null!==a&&"object"===h(f)&&null!==f&&"stack"in a&&a instanceof Error&&"stack"in f&&f instanceof Error&&(a=_(a),f=_(f)),"deepStrictEqual"===o||"strictEqual"===o)t=l.call(this,function(e,t,r){var o="",i="",a=0,s="",u=!1,l=R(e),c=l.split("\n"),f=R(t).split("\n"),p=0,d="";if("strictEqual"===r&&"object"===h(e)&&"object"===h(t)&&null!==e&&null!==t&&(r="strictEqualObject"),1===c.length&&1===f.length&&c[0]!==f[0]){var g=c[0].length+f[0].length;if(g<=10){if(("object"!==h(e)||null===e)&&("object"!==h(t)||null===t)&&(0!==e||0!==t))return"".concat(S[r],"\n\n")+"".concat(c[0]," !== ").concat(f[0],"\n")}else if("strictEqualObject"!==r&&g<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;c[0][p]===f[0][p];)p++;p>2&&(d="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,r-e.length)}(" ",p),"^"),p=0)}}for(var y=c[c.length-1],_=f[f.length-1];y===_&&(p++<2?s="\n ".concat(y).concat(s):o=y,c.pop(),f.pop(),0!==c.length&&0!==f.length);)y=c[c.length-1],_=f[f.length-1];var C=Math.max(c.length,f.length);if(0===C){var O=l.split("\n");if(O.length>30)for(O[26]="".concat(m,"...").concat(E);O.length>27;)O.pop();return"".concat(S.notIdentical,"\n\n").concat(O.join("\n"),"\n")}p>3&&(s="\n".concat(m,"...").concat(E).concat(s),u=!0),""!==o&&(s="\n ".concat(o).concat(s),o="");var P=0,A=S[r]+"\n".concat(v,"+ actual").concat(E," ").concat(w,"- expected").concat(E),T=" ".concat(m,"...").concat(E," Lines skipped");for(p=0;p1&&p>2&&(j>4?(i+="\n".concat(m,"...").concat(E),u=!0):j>3&&(i+="\n ".concat(f[p-2]),P++),i+="\n ".concat(f[p-1]),P++),a=p,o+="\n".concat(w,"-").concat(E," ").concat(f[p]),P++;else if(f.length1&&p>2&&(j>4?(i+="\n".concat(m,"...").concat(E),u=!0):j>3&&(i+="\n ".concat(c[p-2]),P++),i+="\n ".concat(c[p-1]),P++),a=p,i+="\n".concat(v,"+").concat(E," ").concat(c[p]),P++;else{var x=f[p],k=c[p],I=k!==x&&(!b(k,",")||k.slice(0,-1)!==x);I&&b(x,",")&&x.slice(0,-1)===k&&(I=!1,k+=","),I?(j>1&&p>2&&(j>4?(i+="\n".concat(m,"...").concat(E),u=!0):j>3&&(i+="\n ".concat(c[p-2]),P++),i+="\n ".concat(c[p-1]),P++),a=p,i+="\n".concat(v,"+").concat(E," ").concat(k),o+="\n".concat(w,"-").concat(E," ").concat(x),P+=2):(i+=o,o="",(1===j||0===p)&&(i+="\n ".concat(k),P++))}if(P>20&&p30)for(g[26]="".concat(m,"...").concat(E);g.length>27;)g.pop();t=1===g.length?l.call(this,"".concat(d," ").concat(g[0])):l.call(this,"".concat(d,"\n\n").concat(g.join("\n"),"\n"))}else{var C=R(a),O="",P=S[o];"notDeepEqual"===o||"notEqual"===o?(C="".concat(S[o],"\n\n").concat(C)).length>1024&&(C="".concat(C.slice(0,1021),"...")):(O="".concat(R(f)),C.length>512&&(C="".concat(C.slice(0,509),"...")),O.length>512&&(O="".concat(O.slice(0,509),"...")),"deepEqual"===o||"equal"===o?C="".concat(P,"\n\n").concat(C,"\n\nshould equal\n\n"):O=" ".concat(o," ").concat(O)),t=l.call(this,"".concat(C).concat(O))}return Error.stackTraceLimit=p,t.generatedMessage=!r,Object.defineProperty(u(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=a,t.expected=f,t.operator=o,Error.captureStackTrace&&Error.captureStackTrace(u(t),i),t.stack,t.name="AssertionError",s(t)}return o=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(e,t){return g(this,i(i({},t),{},{customInspect:!1,depth:0}))}}],function(e,t){for(var r=0;r2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(e,t,o){if((void 0===a&&(a=r(69282)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(i="not ",t.substr(0,i.length)===i))?(f="must not be",t=t.replace(/^not /,"")):f="must be",s=" argument",(void 0===u||u>e.length)&&(u=e.length),e.substring(u-s.length,u)===s)p="The ".concat(e," ").concat(f," ").concat(c(t,"type"));else{var i,s,u,l,f,p,d=("number"!=typeof l&&(l=0),l+1>e.length||-1===e.indexOf(".",l))?"argument":"property";p='The "'.concat(e,'" ').concat(d," ").concat(f," ").concat(c(t,"type"))}return p+". Received type ".concat(n(o))},TypeError),l("ERR_INVALID_ARG_VALUE",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=r(89539));var o=s.inspect(t);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(n,". Received ").concat(o)},TypeError,RangeError),l("ERR_INVALID_RETURN_VALUE",function(e,t,r){var o;return o=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(o,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=Array(e),n=0;n0,"At least one arg needs to be specified");var o="The ",i=t.length;switch(t=t.map(function(e){return'"'.concat(e,'"')}),i){case 1:o+="".concat(t[0]," argument");break;case 2:o+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:o+=t.slice(0,i-1).join(", ")+", and ".concat(t[i-1]," arguments")}return"".concat(o," must be specified")},TypeError),e.exports.codes=u},19158:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r10)return!0;for(var t=0;t57)return!0}return 10===e.length&&e>=4294967296}function I(e){return Object.keys(e).filter(k).concat(c(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function D(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o-1?o(r):r}},55559:function(e,t,r){"use strict";var n=r(67771),o=r(24429),i=r(40319),a=r(93192);e.exports=function(e){var t=i(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},o?o(e.exports,"apply",{value:a}):e.exports.apply=a},17379:function(e,t,r){"use strict";var n=r(40210),o=r(40319),i=o([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o([r]):r}},11227:function(e,t,r){let n;var o=r(34155);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))}),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&void 0!==o&&"env"in o&&(e=o.env.DEBUG),e},t.useColors=function(){let e;return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(n=!1,()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(82447)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},82447:function(e,t,r){e.exports=function(e){function t(e){let r,o,i;let a=null;function s(...e){if(!s.enabled)return;let n=Number(new Date),o=n-(r||n);s.diff=o,s.prev=r,s.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let o=t.formatters[n];if("function"==typeof o){let t=e[i];r=o.call(s,t),e.splice(i,1),i--}return r}),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e,t){let r=0,n=0,o=-1,i=0;for(;r"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(o(e,r))return!1;for(let r of t.names)if(o(e,r))return!0;return!1},t.humanize=r(57824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(n)n(e,t,{configurable:null===l&&f?f.configurable:!l,enumerable:null===s&&f?f.enumerable:!s,value:r,writable:null===u&&f?f.writable:!u});else if(!c&&(s||u||l))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},4289:function(e,t,r){"use strict";var n=r(82215),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=r(12296),u=r(31044)(),l=function(e,t,r,n){if(t in e){if(!0===n){if(e[t]===r)return}else if(!("function"==typeof n&&"[object Function]"===i.call(n))||!n())return}u?s(e,t,r,!0):s(e,t,r)},c=function(e,t){var r=arguments.length>2?arguments[2]:{},i=n(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s0&&a.length>o&&!a.warned){a.warned=!0;var o,i,a,l=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=c.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=Array(e.length),r=0;r0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)n(u,this,t);else for(var l=u.length,c=h(u,l),r=0;r=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},94029:function(e,t,r){"use strict";var n=r(95320),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,r){for(var n=0,o=e.length;n=3&&(i=r),"[object Array]"===o.call(e))?a(e,t,i):"string"==typeof e?s(e,t,i):u(e,t,i)}},17648:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===G(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=H(e),n=r.length>0?r[0]:"",o=W("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],B(r,U([0,1],u)));for(var f=1,p=!0;f=r.length){var y=E(a,d);a=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[d]}else p=q(a,d),a=a[d];p&&!s&&(I[i]=a)}}return a}},68899:function(e,t,r){"use strict";var n=r(68892);e.exports=n.getPrototypeOf||null},10443:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},81618:function(e,t,r){"use strict";var n=r(10443),o=r(68899),i=r(96504);e.exports=n?function(e){return n(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},40690:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},27296:function(e,t,r){"use strict";var n=r(40690);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},31044:function(e,t,r){"use strict";var n=r(24429),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},41405:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(55419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},55419:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},96410:function(e,t,r){"use strict";var n=r(55419);e.exports=function(){return n()&&!!Symbol.toStringTag}},48824:function(e,t,r){"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=r(58612);e.exports=i.call(n,o)},26018:function(e,t,r){"use strict";var n=r(48764).Buffer,o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpsProxyAgent=void 0;let u=a(r(51437)),l=a(r(54675)),c=s(r(69282)),f=s(r(11227)),p=r(12917),d=r(11987),h=r(59829),g=(0,f.default)("https-proxy-agent"),y=e=>void 0===e.servername&&e.host&&!u.isIP(e.host)?{...e,servername:e.host}:e;class b extends p.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy="string"==typeof e?new d.URL(e):e,this.proxyHeaders=t?.headers??{},g("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?v(t,"headers"):null,host:r,port:n}}async connect(e,t){let r;let{proxy:o}=this;if(!t.host)throw TypeError('No "host" provided');"https:"===o.protocol?(g("Creating `tls.Socket`: %o",this.connectOpts),r=l.connect(y(this.connectOpts))):(g("Creating `net.Socket`: %o",this.connectOpts),r=u.connect(this.connectOpts));let i="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},a=u.isIPv6(t.host)?`[${t.host}]`:t.host,s=`CONNECT ${a}:${t.port} HTTP/1.1\r +`;if(o.username||o.password){let e=`${decodeURIComponent(o.username)}:${decodeURIComponent(o.password)}`;i["Proxy-Authorization"]=`Basic ${n.from(e).toString("base64")}`}for(let e of(i.Host=`${a}:${t.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(i)))s+=`${e}: ${i[e]}\r +`;let f=(0,h.parseProxyResponse)(r);r.write(`${s}\r +`);let{connect:p,buffered:d}=await f;if(e.emit("proxyConnect",p),this.emit("proxyConnect",p,e),200===p.statusCode)return(e.once("socket",m),t.secureEndpoint)?(g("Upgrading socket connection to TLS"),l.connect({...v(y(t),"host","path","port"),socket:r})):r;r.destroy();let b=new u.Socket({writable:!1});return b.readable=!0,e.once("socket",e=>{g("Replaying proxy buffer for failed request"),(0,c.default)(e.listenerCount("data")>0),e.push(d),e.push(null)}),b}}function m(e){e.resume()}function v(e,...t){let r;let n={};for(r in e)t.includes(r)||(n[r]=e[r]);return n}b.protocols=["http","https"],t.HttpsProxyAgent=b},59829:function(e,t,r){"use strict";var n=r(48764).Buffer,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let i=(0,o(r(11227)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let o=0,a=[];function s(){let l=e.read();l?function(l){a.push(l),o+=l.length;let c=n.concat(a,o),f=c.indexOf("\r\n\r\n");if(-1===f){i("have not received end of HTTP headers yet..."),s();return}let p=c.slice(0,f).toString("ascii").split("\r\n"),d=p.shift();if(!d)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let h=d.split(" "),g=+h[1],y=h.slice(2).join(" "),b={};for(let t of p){if(!t)continue;let n=t.indexOf(":");if(-1===n)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let o=t.slice(0,n).toLowerCase(),i=t.slice(n+1).trimStart(),a=b[o];"string"==typeof a?b[o]=[a,i]:Array.isArray(a)?a.push(i):b[o]=i}i("got proxy server response: %o %o",d,b),u(),t({connect:{statusCode:g,statusText:y,headers:b},buffered:c})}(l):e.once("readable",s)}function u(){e.removeListener("end",l),e.removeListener("error",c),e.removeListener("readable",s)}function l(){u(),i("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function c(e){u(),i("onerror %o",e),r(e)}e.on("error",c),e.on("end",l),s()})}},35717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},82584:function(e,t,r){"use strict";var n=r(96410)(),o=r(17379)("Object.prototype.toString"),i=function(e){return(!n||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"callee"in e&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},95320:function(e){"use strict";var t,r,n=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},o(function(){throw 42},null,t)}catch(e){e!==r&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(e){try{var t=n.call(e);return i.test(t)}catch(e){return!1}},s=function(e){try{if(a(e))return!1;return n.call(e),!0}catch(e){return!1}},u=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),f=function(){return!1};if("object"==typeof document){var p=document.all;u.call(p)===u.call(document.all)&&(f=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=o?function(e){if(f(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{o(e,null,t)}catch(e){if(e!==r)return!1}return!a(e)&&s(e)}:function(e){if(f(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(l)return s(e);if(a(e))return!1;var t=u.call(e);return!!("[object Function]"===t||"[object GeneratorFunction]"===t||/^\[object HTML/.test(t))&&s(e)}},48662:function(e,t,r){"use strict";var n,o=r(17379),i=r(79246)(/^\s*(?:function)?\*/),a=r(96410)(),s=r(81618),u=o("Object.prototype.toString"),l=o("Function.prototype.toString"),c=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!=typeof e)return!1;if(i(l(e)))return!0;if(!a)return"[object GeneratorFunction]"===u(e);if(!s)return!1;if(void 0===n){var t=c();n=!!t&&s(t)}return s(e)===n}},98611:function(e){"use strict";e.exports=function(e){return e!=e}},20360:function(e,t,r){"use strict";var n=r(55559),o=r(4289),i=r(98611),a=r(29415),s=r(23194),u=n(a(),Number);o(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},29415:function(e,t,r){"use strict";var n=r(98611);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},23194:function(e,t,r){"use strict";var n=r(4289),o=r(29415);e.exports=function(){var e=o();return n(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},98420:function(e,t,r){"use strict";var n,o=r(17379),i=r(96410)(),a=r(48824),s=r(27296);if(i){var u=o("RegExp.prototype.exec"),l={},c=function(){throw l},f={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(f[Symbol.toPrimitive]=c),n=function(e){if(!e||"object"!=typeof e)return!1;var t=s(e,"lastIndex");if(!(t&&a(t,"value")))return!1;try{u(e,f)}catch(e){return e===l}}}else{var p=o("Object.prototype.toString");n=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"[object RegExp]"===p(e)}}e.exports=n},85692:function(e,t,r){"use strict";var n=r(86430);e.exports=function(e){return!!n(e)}},59738:function(e){"use strict";e.exports=Math.abs},76329:function(e){"use strict";e.exports=Math.floor},43678:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},52264:function(e){"use strict";e.exports=Math.max},55730:function(e){"use strict";e.exports=Math.min},20707:function(e){"use strict";e.exports=Math.pow},63862:function(e){"use strict";e.exports=Math.round},29550:function(e,t,r){"use strict";var n=r(43678);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},57824:function(e){function t(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var n,o,i=typeof e;if("string"===i&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===i&&isFinite(e))return r.long?(n=Math.abs(e))>=864e5?t(e,n,864e5,"day"):n>=36e5?t(e,n,36e5,"hour"):n>=6e4?t(e,n,6e4,"minute"):n>=1e3?t(e,n,1e3,"second"):e+" ms":(o=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":o>=36e5?Math.round(e/36e5)+"h":o>=6e4?Math.round(e/6e4)+"m":o>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},38399:function(e){"use strict";e.exports=function(){return Object.assign}},78428:function(e,t,r){!function(){var t={528:function(e,t,r){var n=r(685),o=r(310),i=e.exports;for(var a in n)n.hasOwnProperty(a)&&(i[a]=n[a]);function s(e){if("string"==typeof e&&(e=o.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}i.request=function(e,t){return e=s(e),n.request.call(this,e,t)},i.get=function(e,t){return e=s(e),n.get.call(this,e,t)}},685:function(e){"use strict";e.exports=r(22321)},310:function(e){"use strict";e.exports=r(11987)}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,o),a=!1}finally{a&&delete n[e]}return i.exports}o.ab="//";var i=o(528);e.exports=i}()},11987:function(e,t,r){!function(){var t={452:function(e){"use strict";e.exports=r(97334)}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,o),a=!1}finally{a&&delete n[e]}return i.exports}o.ab="//";var i={};!function(){var e,t=(e=o(452))&&"object"==typeof e&&"default"in e?e.default:e,r=/https?|ftp|gopher|file/;function n(e){"string"==typeof e&&(e=b(e));var n,o,i,a,s,u,l,c,f,p=(o=(n=e).auth,i=n.hostname,a=n.protocol||"",s=n.pathname||"",u=n.hash||"",l=n.query||"",c=!1,o=o?encodeURIComponent(o).replace(/%3A/i,":")+"@":"",n.host?c=o+n.host:i&&(c=o+(~i.indexOf(":")?"["+i+"]":i),n.port&&(c+=":"+n.port)),l&&"object"==typeof l&&(l=t.encode(l)),f=n.search||l&&"?"+l||"",a&&":"!==a.substr(-1)&&(a+=":"),n.slashes||(!a||r.test(a))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),u&&"#"!==u[0]&&(u="#"+u),f&&"?"!==f[0]&&(f="?"+f),{protocol:a,host:c,pathname:s=s.replace(/[?#]/g,encodeURIComponent),search:f=f.replace("#","%23"),hash:u});return""+p.protocol+p.host+p.pathname+p.search+p.hash}var a="http://",s=a+"w.w",u=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,l=/https?|ftp|gopher|file/;function c(e,t){var r="string"==typeof e?b(e):e;e="object"==typeof e?n(e):e;var o=b(t),i="";r.protocol&&!r.slashes&&(i=r.protocol,e=e.replace(r.protocol,""),i+="/"===t[0]||"/"===e[0]?"/":""),i&&o.protocol&&(i="",o.slashes||(i=o.protocol,t=t.replace(o.protocol,"")));var c=e.match(u);c&&!o.protocol&&(e=e.substr((i=c[1]+(c[2]||"")).length),/^\/\/[^/]/.test(t)&&(i=i.slice(0,-1)));var f=new URL(e,s+"/"),p=new URL(t,f).toString().replace(s,""),d=o.protocol||r.protocol;return d+=r.slashes||o.slashes?"//":"",!i&&d?p=p.replace(a,d):i&&(p=p.replace(a,"")),l.test(p)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==p.slice(-1)||(p=p.slice(0,-1)),i&&(p=i+("/"===p[0]?p.substr(1):p)),p}function f(){}f.prototype.parse=b,f.prototype.format=n,f.prototype.resolve=c,f.prototype.resolveObject=c;var p=/^https?|ftp|gopher|file/,d=/^(.*?)([#?].*)/,h=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,g=/^([a-z0-9.+-]*:)?\/\/\/*/i,y=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function b(e,r,o){if(void 0===r&&(r=!1),void 0===o&&(o=!1),e&&"object"==typeof e&&e instanceof f)return e;var i=(e=e.trim()).match(d);e=i?i[1].replace(/\\/g,"/")+i[2]:e.replace(/\\/g,"/"),y.test(e)&&"/"!==e.slice(-1)&&(e+="/");var a=!/(^javascript)/.test(e)&&e.match(h),u=g.test(e),l="";a&&(p.test(a[1])||(l=a[1].toLowerCase(),e=""+a[2]+a[3]),a[2]||(u=!1,p.test(a[1])?(l=a[1],e=""+a[3]):e="//"+a[3]),3!==a[2].length&&1!==a[2].length||(l=a[1],e="/"+a[3]));var c,b=(i?i[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),m=b&&b[1],v=new f,w="",E="";try{c=new URL(e)}catch(t){w=t,l||o||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(E="/",e=e.substr(1));try{c=new URL(e,s)}catch(e){return v.protocol=l,v.href=l,v}}v.slashes=u&&!E,v.host="w.w"===c.host?"":c.host,v.hostname="w.w"===c.hostname?"":c.hostname.replace(/(\[|\])/g,""),v.protocol=w?l||null:c.protocol,v.search=c.search.replace(/\\/g,"%5C"),v.hash=c.hash.replace(/\\/g,"%5C");var S=e.split("#");!v.search&&~S[0].indexOf("?")&&(v.search="?"),v.hash||""!==S[1]||(v.hash="#"),v.query=r?t.decode(c.search.substr(1)):v.search.substr(1),v.pathname=E+(a?c.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):c.pathname),"about:"===v.protocol&&"blank"===v.pathname&&(v.protocol="",v.pathname=""),w&&"/"!==e[0]&&(v.pathname=v.pathname.substr(1)),l&&!p.test(l)&&"/"!==e.slice(-1)&&"/"===v.pathname&&(v.pathname=""),v.path=v.pathname+v.search,v.auth=[c.username,c.password].map(decodeURIComponent).filter(Boolean).join(":"),v.port=c.port,m&&!v.host.endsWith(m)&&(v.host+=m,v.port=m.slice(1)),v.href=E?""+v.pathname+v.search+v.hash:n(v);var _=/^(file)/.test(v.href)?["host","hostname"]:[];return Object.keys(v).forEach(function(e){~_.indexOf(e)||(v[e]=v[e]||null)}),v}i.parse=b,i.format=n,i.resolve=c,i.resolveObject=function(e,t){return b(c(e,t))},i.Url=f}(),e.exports=i}()},97334:function(e){!function(){"use strict";var t={815:function(e){e.exports=function(e,r,n,o){r=r||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var a=/\+/g;e=e.split(r);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var l=0;l=0?(c=h.substr(0,g),f=h.substr(g+1)):(c=h,f=""),p=decodeURIComponent(c),d=decodeURIComponent(f),Object.prototype.hasOwnProperty.call(i,p))?t(i[p])?i[p].push(d):i[p]=[i[p],d]:i[p]=d}return i};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,i,a,s){return(i=i||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?n(o(e),function(o){var s=encodeURIComponent(t(o))+a;return r(e[o])?n(e[o],function(e){return s+encodeURIComponent(t(e))}).join(i):s+encodeURIComponent(t(e[o]))}).join(i):s?encodeURIComponent(t(s))+a+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;nString(e)),r>2)?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){var o,i,a,s;let u,l;if("string"==typeof t&&(o="not ",t.substr(0,o.length)===o)?(u="must not be",t=t.replace(/^not /,"")):u="must be",i=" argument",(void 0===a||a>e.length)&&(a=e.length),e.substring(a-i.length,a)===i)l=`The ${e} ${u} ${n(t,"type")}`;else{let r=("number"!=typeof s&&(s=0),s+1>e.length||-1===e.indexOf(".",s))?"argument":"property";l=`The "${e}" ${r} ${u} ${n(t,"type")}`}return l+`. Received type ${typeof r}`},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,r){"use strict";var o=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var i=r(709),a=r(337);r(782)(c,i);for(var s=o(a.prototype),u=0;u0){if("string"==typeof t||f.objectMode||Object.getPrototypeOf(t)===p.prototype||(l=t,t=p.from(l)),n)f.endEmitted?_(e,new S):A(e,f,t,!0);else if(f.ended)_(e,new w);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!r?(t=f.decoder.write(t),f.objectMode||0!==t.length?A(e,f,t,!1):k(e,f)):A(e,f,t,!1)}}else n||(f.reading=!1,k(e,f))}return!f.ended&&(f.lengtht.highWaterMark){var r;t.highWaterMark=((r=e)>=1073741824?r=1073741824:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function j(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(x,e))}function x(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function k(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){a("readable nexttick read 0"),e.read(0)}function N(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function q(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function U(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(B,t,e))}function B(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function F(e,t){for(var r=0,n=e.length;r=r.highWaterMark:r.length>0)||r.ended))return a("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?U(this):j(this),null;if(0===(e=T(e,r))&&r.ended)return 0===r.length&&U(this),null;var o=r.needReadable;return a("need readable",o),(0===r.length||r.length-e0?q(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&U(this)),null!==t&&this.emit("data",t),t},O.prototype._read=function(e){_(this,new E("_read()"))},O.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,a("pipe count=%d opts=%j",o.pipesCount,t);var i=t&&!1===t.end||e===n.stdout||e===n.stderr?g:s;function s(){a("onend"),e.end()}o.endEmitted?n.nextTick(i):r.once("end",i),e.on("unpipe",function t(n,i){a("onunpipe"),n===r&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,a("cleanup"),e.removeListener("close",d),e.removeListener("finish",h),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",t),r.removeListener("end",s),r.removeListener("end",g),r.removeListener("data",f),l=!0,o.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u())});var u=function(){var e=r._readableState;a("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&c(r,"data")&&(e.flowing=!0,L(r))};e.on("drain",u);var l=!1;function f(t){a("ondata");var n=e.write(t);a("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==F(o.pipes,e))&&!l&&(a("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function p(t){a("onerror",t),g(),e.removeListener("error",p),0===c(e,"error")&&_(e,t)}function d(){e.removeListener("finish",h),g()}function h(){a("onfinish"),e.removeListener("close",d),g()}function g(){a("unpipe"),r.unpipe(e)}return r.on("data",f),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",d),e.once("finish",h),e.emit("pipe",r),o.flowing||(a("pipe resume"),r.resume()),e},O.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"!==e||o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,a("on readable",o.length,o.reading),o.length?j(this):o.reading||n.nextTick(M,this)),r},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(e,t){var r=f.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(D,this),r},O.prototype.removeAllListeners=function(e){var t=f.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&n.nextTick(D,this),t},O.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(N,this,e))),e.paused=!1,this},O.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},O.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",function(){if(a("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){a("wrapped data"),r.decoder&&(o=r.decoder.write(o)),(!r.objectMode||null!=o)&&(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(e,t,r){r(new y("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,t,r){var o,i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(o=r,i.ending=!0,k(this,i),o&&(i.finished?n.nextTick(o):this.once("finish",o)),i.ended=!0,this.writable=!1),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=p.destroy,O.prototype._undestroy=p.undestroy,O.prototype._destroy=function(e,t){t(e)}},871:function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i,a=r(698),s=Symbol("lastResolve"),u=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),p=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function g(e){var t=e[s];if(null!==t){var r=e[d].read();null!==r&&(e[f]=null,e[s]=null,e[u]=null,t(h(r,!1)))}}function y(e){n.nextTick(g,e)}var b=Object.getPrototypeOf(function(){}),m=Object.setPrototypeOf((o(i={get stream(){return this[d]},next:function(){var e,t,r=this,o=this[l];if(null!==o)return Promise.reject(o);if(this[c])return Promise.resolve(h(void 0,!0));if(this[d].destroyed)return new Promise(function(e,t){n.nextTick(function(){r[l]?t(r[l]):e(h(void 0,!0))})});var i=this[f];if(i)t=new Promise((e=this,function(t,r){i.then(function(){if(e[c]){t(h(void 0,!0));return}e[p](t,r)},r)}));else{var a=this[d].read();if(null!==a)return Promise.resolve(h(a,!1));t=new Promise(this[p])}return this[f]=t,t}},Symbol.asyncIterator,function(){return this}),o(i,"return",function(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){if(e){r(e);return}t(h(void 0,!0))})})}),i),b);e.exports=function(e){var t,r=Object.create(m,(o(t={},d,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,p,{value:function(e,t){var n=r[d].read();n?(r[f]=null,r[s]=null,r[u]=null,e(h(n,!1))):(r[s]=e,r[u]=t)},writable:!0}),t));return r[f]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[u];null!==t&&(r[f]=null,r[s]=null,r[u]=null,t(e)),r[l]=e;return}var n=r[s];null!==n&&(r[f]=null,r[s]=null,r[u]=null,n(h(void 0,!0))),r[c]=!0}),e.on("readable",y.bind(null,r)),r}},379:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var o=r(300).Buffer,i=r(837).inspect,a=i&&i.custom||"inspect";e.exports=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return e=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,r,n=o.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=i.data,r=a,o.prototype.copy.call(t,n,r),a+=i.data.length,i=i.next;return n}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),0==(e-=i)){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0==(e-=a)){a===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(a));break}++n}return this.length-=n,t}},{key:a,value:function(e,t){return i(this,function(e){for(var t=1;t0,l=s=function(e){t||(t=e),e&&d.forEach(u),y||(d.forEach(u),p(t))},f=!1,s=function(){f||(f=!0,l.apply(void 0,arguments))},h=!1,e.on("close",function(){h=!0}),void 0===n&&(n=r(698)),n(e,{readable:y,writable:i},function(e){if(e)return s(e);h=!0,s()}),g=!1,function(t){if(!h&&!g){if(g=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();s(t||new a("pipe"))}}});return c.reduce(l)}},776:function(e,t,r){"use strict";var n=r(646).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,o){var i=null!=t.highWaterMark?t.highWaterMark:o?t[r]:null;if(null!=i){if(!(isFinite(i)&&Math.floor(i)===i)||i<0)throw new n(o?r:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}}},678:function(e,t,r){e.exports=r(781)},55:function(e,t,r){var n=r(300),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},173:function(e,t,r){e.exports=o;var n=r(361).EventEmitter;function o(){n.call(this)}r(782)(o,n),o.Readable=r(709),o.Writable=r(337),o.Duplex=r(403),o.Transform=r(170),o.PassThrough=r(889),o.finished=r(698),o.pipeline=r(442),o.Stream=o,o.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",o),e.removeListener("drain",i),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",l),e.on("error",l),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},704:function(e,t,r){"use strict";var n=r(55).Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:this.write=p,this.end=d;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(o>0&&(e.lastNeed=o-1),o):--n=0?(o>0&&(e.lastNeed=o-2),o):--n=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},769:function(e){e.exports=function(e,r){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}};function t(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},300:function(e){"use strict";e.exports=r(48764)},361:function(e){"use strict";e.exports=r(17187)},781:function(e){"use strict";e.exports=r(17187).EventEmitter},837:function(e){"use strict";e.exports=r(89539)}},o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}},a=!0;try{t[e](n,n.exports,i),a=!1}finally{a&&delete o[e]}return n.exports}i.ab="//";var a=i(173);e.exports=a}()},22321:function(e,t,r){var n=r(34155),o=r(48764).Buffer;!function(){var t={523:function(e){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},646:function(e){"use strict";let t={};function r(e,r,n){n||(n=Error);class o extends n{constructor(e,t,n){super("string"==typeof r?r:r(e,t,n))}}o.prototype.name=n.name,o.prototype.code=e,t[e]=o}function n(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let r=e.length;return(e=e.map(e=>String(e)),r>2)?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){var o,i,a,s;let u,l;if("string"==typeof t&&(o="not ",t.substr(0,o.length)===o)?(u="must not be",t=t.replace(/^not /,"")):u="must be",i=" argument",(void 0===a||a>e.length)&&(a=e.length),e.substring(a-i.length,a)===i)l=`The ${e} ${u} ${n(t,"type")}`;else{let r=("number"!=typeof s&&(s=0),s+1>e.length||-1===e.indexOf(".",s))?"argument":"property";l=`The "${e}" ${r} ${u} ${n(t,"type")}`}return l+`. Received type ${typeof r}`},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,r){"use strict";var o=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var i=r(709),a=r(337);r(782)(c,i);for(var s=o(a.prototype),u=0;u0){if("string"==typeof t||f.objectMode||Object.getPrototypeOf(t)===p.prototype||(l=t,t=p.from(l)),n)f.endEmitted?_(e,new S):A(e,f,t,!0);else if(f.ended)_(e,new w);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!r?(t=f.decoder.write(t),f.objectMode||0!==t.length?A(e,f,t,!1):k(e,f)):A(e,f,t,!1)}}else n||(f.reading=!1,k(e,f))}return!f.ended&&(f.lengtht.highWaterMark){var r;t.highWaterMark=((r=e)>=1073741824?r=1073741824:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function j(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(x,e))}function x(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function k(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){a("readable nexttick read 0"),e.read(0)}function N(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function q(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function U(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(B,t,e))}function B(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function F(e,t){for(var r=0,n=e.length;r=r.highWaterMark:r.length>0)||r.ended))return a("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?U(this):j(this),null;if(0===(e=T(e,r))&&r.ended)return 0===r.length&&U(this),null;var o=r.needReadable;return a("need readable",o),(0===r.length||r.length-e0?q(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&U(this)),null!==t&&this.emit("data",t),t},O.prototype._read=function(e){_(this,new E("_read()"))},O.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,a("pipe count=%d opts=%j",o.pipesCount,t);var i=t&&!1===t.end||e===n.stdout||e===n.stderr?g:s;function s(){a("onend"),e.end()}o.endEmitted?n.nextTick(i):r.once("end",i),e.on("unpipe",function t(n,i){a("onunpipe"),n===r&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,a("cleanup"),e.removeListener("close",d),e.removeListener("finish",h),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",t),r.removeListener("end",s),r.removeListener("end",g),r.removeListener("data",f),l=!0,o.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u())});var u=function(){var e=r._readableState;a("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&c(r,"data")&&(e.flowing=!0,L(r))};e.on("drain",u);var l=!1;function f(t){a("ondata");var n=e.write(t);a("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==F(o.pipes,e))&&!l&&(a("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function p(t){a("onerror",t),g(),e.removeListener("error",p),0===c(e,"error")&&_(e,t)}function d(){e.removeListener("finish",h),g()}function h(){a("onfinish"),e.removeListener("close",d),g()}function g(){a("unpipe"),r.unpipe(e)}return r.on("data",f),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",d),e.once("finish",h),e.emit("pipe",r),o.flowing||(a("pipe resume"),r.resume()),e},O.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"!==e||o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,a("on readable",o.length,o.reading),o.length?j(this):o.reading||n.nextTick(M,this)),r},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(e,t){var r=f.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(D,this),r},O.prototype.removeAllListeners=function(e){var t=f.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&n.nextTick(D,this),t},O.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(N,this,e))),e.paused=!1,this},O.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},O.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",function(){if(a("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){a("wrapped data"),r.decoder&&(o=r.decoder.write(o)),(!r.objectMode||null!=o)&&(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(e,t,r){r(new y("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,t,r){var o,i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(o=r,i.ending=!0,k(this,i),o&&(i.finished?n.nextTick(o):this.once("finish",o)),i.ended=!0,this.writable=!1),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=p.destroy,O.prototype._undestroy=p.undestroy,O.prototype._destroy=function(e,t){t(e)}},871:function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i,a=r(698),s=Symbol("lastResolve"),u=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),p=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function g(e){var t=e[s];if(null!==t){var r=e[d].read();null!==r&&(e[f]=null,e[s]=null,e[u]=null,t(h(r,!1)))}}function y(e){n.nextTick(g,e)}var b=Object.getPrototypeOf(function(){}),m=Object.setPrototypeOf((o(i={get stream(){return this[d]},next:function(){var e,t,r=this,o=this[l];if(null!==o)return Promise.reject(o);if(this[c])return Promise.resolve(h(void 0,!0));if(this[d].destroyed)return new Promise(function(e,t){n.nextTick(function(){r[l]?t(r[l]):e(h(void 0,!0))})});var i=this[f];if(i)t=new Promise((e=this,function(t,r){i.then(function(){if(e[c]){t(h(void 0,!0));return}e[p](t,r)},r)}));else{var a=this[d].read();if(null!==a)return Promise.resolve(h(a,!1));t=new Promise(this[p])}return this[f]=t,t}},Symbol.asyncIterator,function(){return this}),o(i,"return",function(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){if(e){r(e);return}t(h(void 0,!0))})})}),i),b);e.exports=function(e){var t,r=Object.create(m,(o(t={},d,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,p,{value:function(e,t){var n=r[d].read();n?(r[f]=null,r[s]=null,r[u]=null,e(h(n,!1))):(r[s]=e,r[u]=t)},writable:!0}),t));return r[f]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[u];null!==t&&(r[f]=null,r[s]=null,r[u]=null,t(e)),r[l]=e;return}var n=r[s];null!==n&&(r[f]=null,r[s]=null,r[u]=null,n(h(void 0,!0))),r[c]=!0}),e.on("readable",y.bind(null,r)),r}},379:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var o=r(300).Buffer,i=r(837).inspect,a=i&&i.custom||"inspect";e.exports=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return e=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,r,n=o.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=i.data,r=a,o.prototype.copy.call(t,n,r),a+=i.data.length,i=i.next;return n}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),0==(e-=i)){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0==(e-=a)){a===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(a));break}++n}return this.length-=n,t}},{key:a,value:function(e,t){return i(this,function(e){for(var t=1;t0,l=s=function(e){t||(t=e),e&&d.forEach(u),y||(d.forEach(u),p(t))},f=!1,s=function(){f||(f=!0,l.apply(void 0,arguments))},h=!1,e.on("close",function(){h=!0}),void 0===n&&(n=r(698)),n(e,{readable:y,writable:i},function(e){if(e)return s(e);h=!0,s()}),g=!1,function(t){if(!h&&!g){if(g=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();s(t||new a("pipe"))}}});return c.reduce(l)}},776:function(e,t,r){"use strict";var n=r(646).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,o){var i=null!=t.highWaterMark?t.highWaterMark:o?t[r]:null;if(null!=i){if(!(isFinite(i)&&Math.floor(i)===i)||i<0)throw new n(o?r:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}}},678:function(e,t,r){e.exports=r(781)},726:function(e,t,r){var o=r(781);"disable"===n.env.READABLE_STREAM&&o?(e.exports=o.Readable,Object.assign(e.exports,o),e.exports.Stream=o):((t=e.exports=r(709)).Stream=o||t,t.Readable=t,t.Writable=r(337),t.Duplex=r(403),t.Transform=r(170),t.PassThrough=r(889),t.finished=r(698),t.pipeline=r(442))},55:function(e,t,r){var n=r(300),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},813:function(e,t,n){var o=n(450),i=n(254),a=n(911),s=n(523),u=n(310);t.request=function(e,t){e="string"==typeof e?u.parse(e):a(e);var n=-1===r.g.location.protocol.search(/^https?:$/)?"http:":"",i=e.protocol||n,s=e.hostname||e.host,l=e.port,c=e.path||"/";s&&-1!==s.indexOf(":")&&(s="["+s+"]"),e.url=(s?i+"//"+s:"")+(l?":"+l:"")+c,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var f=new o(e);return t&&f.on("response",t),f},t.get=function(e,r){var n=t.request(e,r);return n.end(),n},t.ClientRequest=o,t.IncomingMessage=i.IncomingMessage,t.Agent=function(){},t.Agent.defaultMaxSockets=4,t.globalAgent=new t.Agent,t.STATUS_CODES=s,t.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},301:function(e,t){var n;function o(){if(void 0!==n)return n;if(r.g.XMLHttpRequest){n=new r.g.XMLHttpRequest;try{n.open("GET",r.g.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function i(e){var t=o();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}function a(e){return"function"==typeof e}t.fetch=a(r.g.fetch)&&a(r.g.ReadableStream),t.writableStream=a(r.g.WritableStream),t.abortController=a(r.g.AbortController),t.arraybuffer=t.fetch||i("arraybuffer"),t.msstream=!t.fetch&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!o()&&a(o().overrideMimeType),n=null},450:function(e,t,i){var a=i(301),s=i(782),u=i(254),l=i(726),c=u.IncomingMessage,f=u.readyStates,p=e.exports=function(e){var t,r,n,i=this;l.Writable.call(i),i._opts=e,i._body=[],i._headers={},e.auth&&i.setHeader("Authorization","Basic "+o.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){i.setHeader(t,e.headers[t])});var s=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!a.abortController)s=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!a.overrideMimeType;else if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw Error("Invalid value for opts.mode");else n=!0;i._mode=(t=n,r=s,a.fetch&&r?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&t?"arraybuffer":"text"),i._fetchTimer=null,i.on("finish",function(){i._onFinish()})};s(p,l.Writable),p.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===d.indexOf(r)&&(this._headers[r]={name:e,value:t})},p.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},p.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},p.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,o=e._headers,i=null;"GET"!==t.method&&"HEAD"!==t.method&&(i=new Blob(e._body,{type:(o["content-type"]||{}).value||""}));var s=[];if(Object.keys(o).forEach(function(e){var t=o[e].name,r=o[e].value;Array.isArray(r)?r.forEach(function(e){s.push([t,e])}):s.push([t,r])}),"fetch"===e._mode){var u=null;if(a.abortController){var l=new AbortController;u=l.signal,e._fetchAbortController=l,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=r.g.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}r.g.fetch(e._opts.url,{method:e._opts.method,headers:s,body:i||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:u}).then(function(t){e._fetchResponse=t,e._connect()},function(t){r.g.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)})}else{var c=e._xhr=new r.g.XMLHttpRequest;try{c.open(e._opts.method,e._opts.url,!0)}catch(t){n.nextTick(function(){e.emit("error",t)});return}"responseType"in c&&(c.responseType=e._mode),"withCredentials"in c&&(c.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(c.timeout=t.requestTimeout,c.ontimeout=function(){e.emit("requestTimeout")}),s.forEach(function(e){c.setRequestHeader(e[0],e[1])}),e._response=null,c.onreadystatechange=function(){switch(c.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(c.onprogress=function(){e._onXHRProgress()}),c.onerror=function(){e._destroyed||e.emit("error",Error("XHR error"))};try{c.send(i)}catch(t){n.nextTick(function(){e.emit("error",t)});return}}}},p.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},p.prototype._connect=function(){var e=this;e._destroyed||(e._response=new c(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},p.prototype._write=function(e,t,r){this._body.push(e),r()},p.prototype.abort=p.prototype.destroy=function(){this._destroyed=!0,r.g.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},p.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=void 0),l.Writable.prototype.end.call(this,e,t,r)},p.prototype.flushHeaders=function(){},p.prototype.setTimeout=function(){},p.prototype.setNoDelay=function(){},p.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},254:function(e,t,i){var a=i(301),s=i(782),u=i(726),l=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(e,t,i,s){var l=this;if(u.Readable.call(l),l._mode=i,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",function(){n.nextTick(function(){l.emit("close")})}),"fetch"===i){if(l._fetchResponse=t,l.url=t.url,l.statusCode=t.status,l.statusMessage=t.statusText,t.headers.forEach(function(e,t){l.headers[t.toLowerCase()]=e,l.rawHeaders.push(t,e)}),a.writableStream){var c=new WritableStream({write:function(e){return new Promise(function(t,r){l._destroyed?r():l.push(o.from(e))?t():l._resumeFetch=t})},close:function(){r.g.clearTimeout(s),l._destroyed||l.push(null)},abort:function(e){l._destroyed||l.emit("error",e)}});try{t.body.pipeTo(c).catch(function(e){r.g.clearTimeout(s),l._destroyed||l.emit("error",e)});return}catch(e){}}var f=t.body.getReader();!function e(){f.read().then(function(t){if(!l._destroyed){if(t.done){r.g.clearTimeout(s),l.push(null);return}l.push(o.from(t.value)),e()}}).catch(function(e){r.g.clearTimeout(s),l._destroyed||l.emit("error",e)})}()}else if(l._xhr=e,l._pos=0,l.url=e.responseURL,l.statusCode=e.status,l.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===l.headers[r]&&(l.headers[r]=[]),l.headers[r].push(t[2])):void 0!==l.headers[r]?l.headers[r]+=", "+t[2]:l.headers[r]=t[2],l.rawHeaders.push(t[1],t[2])}}),l._charset="x-user-defined",!a.overrideMimeType){var p=l.rawHeaders["mime-type"];if(p){var d=p.match(/;\s*charset=([^;])(;|$)/);d&&(l._charset=d[1].toLowerCase())}l._charset||(l._charset="utf-8")}};s(c,u.Readable),c.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},c.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text":if((n=t.responseText).length>e._pos){var i=n.substr(e._pos);if("x-user-defined"===e._charset){for(var a=o.alloc(i.length),s=0;se._pos&&(e.push(o.from(new Uint8Array(u.result.slice(e._pos)))),e._pos=u.result.byteLength)},u.onload=function(){e.push(null)},u.readAsArrayBuffer(n)}e._xhr.readyState===l.DONE&&"ms-stream"!==e._mode&&e.push(null)}},704:function(e,t,r){"use strict";var n=r(55).Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:this.write=p,this.end=d;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(o>0&&(e.lastNeed=o-1),o):--n=0?(o>0&&(e.lastNeed=o-2),o):--n=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},769:function(e){e.exports=function(e,r){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}};function t(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},911:function(e){e.exports=function(){for(var e={},r=0;r0&&!o.call(e,0))for(var d=0;d0)for(var g=0;g=0&&"[object Function]"===t.call(e.callee)),n}},89908:function(e){"use strict";e.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},74971:function(e,t,r){var n;e=r.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof r.g&&r.g;i.global===i||i.window===i||i.self;var a,s=/^xn--/,u=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,p=String.fromCharCode;function d(e){throw RangeError(c[e])}function h(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function g(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+h((e=e.replace(l,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(e-=65536,t+=p(e>>>10&1023|55296),e=56320|1023&e),t+=p(e)}).join("")}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function v(e,t,r){var n=0;for(e=r?f(e/700):e>>1,e+=f(e/t);e>455;n+=36)e=f(e/35);return f(n+36*e/(e+38))}function w(e){var t,r,n,o,i,a,s,u,l,c,p,h=[],g=e.length,y=0,m=128,w=72;for((n=e.lastIndexOf("-"))<0&&(n=0),o=0;o=128&&d("not-basic"),h.push(e.charCodeAt(o));for(i=n>0?n+1:0;i=g&&d("invalid-input"),((l=(t=e.charCodeAt(i++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36)>=36||l>f((2147483647-y)/s))&&d("overflow"),y+=l*s,!(l<(c=u<=w?1:u>=w+26?26:u-w));u+=36)s>f(2147483647/(p=36-c))&&d("overflow"),s*=p;w=v(y-a,r=h.length+1,0==a),f(y/r)>2147483647-m&&d("overflow"),m+=f(y/r),y%=r,h.splice(y++,0,m)}return b(h)}function E(e){var t,r,n,o,i,a,s,u,l,c,h,g,b,w,E,S=[];for(a=0,g=(e=y(e)).length,t=128,r=0,i=72;a=t&&hf((2147483647-r)/(b=n+1))&&d("overflow"),r+=(s-t)*b,t=s,a=0;a2147483647&&d("overflow"),h==t){for(u=r,l=36;!(u<(c=l<=i?1:l>=i+26?26:l-i));l+=36)E=u-c,w=36-c,S.push(p(m(c+E%w,0))),u=f(E/w);S.push(p(m(u,0))),i=v(r,b,n==o),r=0,++n}++r,++t}return S.join("")}a={version:"1.4.1",ucs2:{decode:y,encode:b},decode:w,encode:E,toASCII:function(e){return g(e,function(e){return u.test(e)?"xn--"+E(e):e})},toUnicode:function(e){return g(e,function(e){return s.test(e)?w(e.slice(4).toLowerCase()):e})}},void 0!==(n=(function(){return a}).call(t,r,t,e))&&(e.exports=n)}(0)},79246:function(e,t,r){"use strict";var n=r(17379),o=r(98420),i=n("RegExp.prototype.exec"),a=r(14453);e.exports=function(e){if(!o(e))throw new a("`regex` must be a RegExp");return function(t){return null!==i(e,t)}}},67771:function(e,t,r){"use strict";var n=r(40210),o=r(12296),i=r(31044)(),a=r(27296),s=r(14453),u=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,l=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(l=!1)}return(n||l||!r)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},20384:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},55955:function(e,t,r){"use strict";var n=r(82584),o=r(48662),i=r(86430),a=r(85692);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,c=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(l)var g=s(Symbol.prototype.valueOf);function y(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function b(e){return"[object Map]"===c(e)}function m(e){return"[object Set]"===c(e)}function v(e){return"[object WeakMap]"===c(e)}function w(e){return"[object WeakSet]"===c(e)}function E(e){return"[object ArrayBuffer]"===c(e)}function S(e){return"undefined"!=typeof ArrayBuffer&&(E.working?E(e):e instanceof ArrayBuffer)}function _(e){return"[object DataView]"===c(e)}function R(e){return"undefined"!=typeof DataView&&(_.working?_(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=o,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||R(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},b.working="undefined"!=typeof Map&&b(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(b.working?b(e):e instanceof Map)},m.working="undefined"!=typeof Set&&m(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(m.working?m(e):e instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(v.working?v(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),t.isArrayBuffer=S,_.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&_(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=R;var C="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===c(e)}function P(e){return void 0!==C&&(void 0===O.working&&(O.working=O(new C)),O.working?O(e):e instanceof C)}function A(e){return y(e,f)}function T(e){return y(e,p)}function j(e){return y(e,d)}function x(e){return u&&y(e,h)}function k(e){return l&&y(e,g)}t.isSharedArrayBuffer=P,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=A,t.isStringObject=T,t.isBooleanObject=j,t.isBigIntObject=x,t.isSymbolObject=k,t.isBoxedPrimitive=function(e){return A(e)||T(e)||j(e)||x(e)||k(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(S(e)||P(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},89539:function(e,t,r){var n=r(34155),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&t._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),p(n,e,n.depth)}function c(e,t){var r=l.styles[t];return r?"\x1b["+l.colors[r][0]+"m"+e+"\x1b["+l.colors[r][1]+"m":e}function f(e,t){return e}function p(e,r,n){if(e.customInspect&&r&&C(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var o,i,a,s,u,l=r.inspect(n,e);return v(l)||(l=p(e,l,n)),l}var c=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return m(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}(e,r);if(c)return c;var f=Object.keys(r),S=(s={},f.forEach(function(e,t){s[e]=!0}),s);if(e.showHidden&&(f=Object.getOwnPropertyNames(r)),R(r)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return d(r);if(0===f.length){if(C(r)){var O=r.name?": "+r.name:"";return e.stylize("[Function"+O+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(_(r))return e.stylize(Date.prototype.toString.call(r),"date");if(R(r))return d(r)}var P="",A=!1,j=["{","}"];return(g(r)&&(A=!0,j=["[","]"]),C(r)&&(P=" [Function"+(r.name?": "+r.name:"")+"]"),E(r)&&(P=" "+RegExp.prototype.toString.call(r)),_(r)&&(P=" "+Date.prototype.toUTCString.call(r)),R(r)&&(P=" "+d(r)),0!==f.length||A&&0!=r.length)?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=A?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?i[0]+(""===o?"":o+"\n ")+" "+u.join(",\n ")+" "+i[1]:i[0]+o+" "+u.join(", ")+" "+i[1]):j[0]+P+j[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),T(n,o)||(a="["+o+"]"),!s&&(0>e.seen.indexOf(u.value)?(s=b(r)?p(e,u.value,null):p(e,u.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),w(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function b(e){return null===e}function m(e){return"number"==typeof e}function v(e){return"string"==typeof e}function w(e){return void 0===e}function E(e){return S(e)&&"[object RegExp]"===O(e)}function S(e){return"object"==typeof e&&null!==e}function _(e){return S(e)&&"[object Date]"===O(e)}function R(e){return S(e)&&("[object Error]"===O(e)||e instanceof Error)}function C(e){return"function"==typeof e}function O(e){return Object.prototype.toString.call(e)}function P(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()]){if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){}}return a[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(55955),t.isArray=g,t.isBoolean=y,t.isNull=b,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=w,t.isRegExp=E,t.types.isRegExp=E,t.isObject=S,t.isDate=_,t.types.isDate=_,t.isError=R,t.types.isNativeError=R,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(20384);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[P((e=new Date).getHours()),P(e.getMinutes()),P(e.getSeconds())].join(":"),[e.getDate(),A[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(35717),t._extend=function(e,t){if(!t||!S(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var j="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function x(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(j&&e[j]){var t=e[j];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,j,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),o=[],i=0;i-1?t:"Object"===t&&b(e)}return s?y(e):null}},63083:function(e,t,r){"use strict";var n=r(89908),o="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t","GT":">","Gt;":"≫","gt;":">","gt":">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"\xbd","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"\uD835\uDD25","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"\uD835\uDD59","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"\uD835\uDCBD","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"\xcd","Iacute":"\xcd","iacute;":"\xed","iacute":"\xed","ic;":"⁣","Icirc;":"\xce","Icirc":"\xce","icirc;":"\xee","icirc":"\xee","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"\xa1","iexcl":"\xa1","iff;":"⇔","Ifr;":"ℑ","ifr;":"\uD835\uDD26","Igrave;":"\xcc","Igrave":"\xcc","igrave;":"\xec","igrave":"\xec","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"\uD835\uDD40","iopf;":"\uD835\uDD5A","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"\xbf","iquest":"\xbf","Iscr;":"ℐ","iscr;":"\uD835\uDCBE","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"\xcf","Iuml":"\xcf","iuml;":"\xef","iuml":"\xef","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"\uD835\uDD0D","jfr;":"\uD835\uDD27","jmath;":"ȷ","Jopf;":"\uD835\uDD41","jopf;":"\uD835\uDD5B","Jscr;":"\uD835\uDCA5","jscr;":"\uD835\uDCBF","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"\uD835\uDD0E","kfr;":"\uD835\uDD28","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"\uD835\uDD42","kopf;":"\uD835\uDD5C","Kscr;":"\uD835\uDCA6","kscr;":"\uD835\uDCC0","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"\xab","laquo":"\xab","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"\uD835\uDD0F","lfr;":"\uD835\uDD29","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"\uD835\uDD43","lopf;":"\uD835\uDD5D","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"\uD835\uDCC1","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<","LT":"<","Lt;":"≪","lt;":"<","lt":"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"\xaf","macr":"\xaf","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"\uD835\uDD10","mfr;":"\uD835\uDD2A","mho;":"℧","micro;":"\xb5","micro":"\xb5","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"\xb7","middot":"\xb7","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"\uD835\uDD44","mopf;":"\uD835\uDD5E","mp;":"∓","Mscr;":"ℳ","mscr;":"\uD835\uDCC2","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":"\xa0","nbsp":"\xa0","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\\n","nexist;":"∄","nexists;":"∄","Nfr;":"\uD835\uDD11","nfr;":"\uD835\uDD2B","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":"\xa0","Nopf;":"ℕ","nopf;":"\uD835\uDD5F","Not;":"⫬","not;":"\xac","not":"\xac","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"\uD835\uDCA9","nscr;":"\uD835\uDCC3","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"\xd1","Ntilde":"\xd1","ntilde;":"\xf1","ntilde":"\xf1","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"\xd3","Oacute":"\xd3","oacute;":"\xf3","oacute":"\xf3","oast;":"⊛","ocir;":"⊚","Ocirc;":"\xd4","Ocirc":"\xd4","ocirc;":"\xf4","ocirc":"\xf4","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"\uD835\uDD12","ofr;":"\uD835\uDD2C","ogon;":"˛","Ograve;":"\xd2","Ograve":"\xd2","ograve;":"\xf2","ograve":"\xf2","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"\uD835\uDD46","oopf;":"\uD835\uDD60","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"\xaa","ordf":"\xaa","ordm;":"\xba","ordm":"\xba","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"\uD835\uDCAA","oscr;":"ℴ","Oslash;":"\xd8","Oslash":"\xd8","oslash;":"\xf8","oslash":"\xf8","osol;":"⊘","Otilde;":"\xd5","Otilde":"\xd5","otilde;":"\xf5","otilde":"\xf5","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"\xd6","Ouml":"\xd6","ouml;":"\xf6","ouml":"\xf6","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"\xb6","para":"\xb6","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"\uD835\uDD13","pfr;":"\uD835\uDD2D","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"\xb1","plusmn;":"\xb1","plusmn":"\xb1","plussim;":"⨦","plustwo;":"⨧","pm;":"\xb1","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"\uD835\uDD61","pound;":"\xa3","pound":"\xa3","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"\uD835\uDCAB","pscr;":"\uD835\uDCC5","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"\uD835\uDD14","qfr;":"\uD835\uDD2E","qint;":"⨌","Qopf;":"ℚ","qopf;":"\uD835\uDD62","qprime;":"⁗","Qscr;":"\uD835\uDCAC","qscr;":"\uD835\uDCC6","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":"\\"","QUOT":"\\"","quot;":"\\"","quot":"\\"","rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"\xbb","raquo":"\xbb","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"\xae","REG":"\xae","reg;":"\xae","reg":"\xae","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"\uD835\uDD2F","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"\uD835\uDD63","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"\uD835\uDCC7","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"\xa7","sect":"\xa7","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"\uD835\uDD16","sfr;":"\uD835\uDD30","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"\xad","shy":"\xad","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"\uD835\uDD4A","sopf;":"\uD835\uDD64","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"\uD835\uDCAE","sscr;":"\uD835\uDCC8","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"\xaf","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"\xb9","sup1":"\xb9","sup2;":"\xb2","sup2":"\xb2","sup3;":"\xb3","sup3":"\xb3","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"\xdf","szlig":"\xdf","Tab;":"\\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"\uD835\uDD17","tfr;":"\uD835\uDD31","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"\xde","THORN":"\xde","thorn;":"\xfe","thorn":"\xfe","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"\xd7","times":"\xd7","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"\uD835\uDD4B","topf;":"\uD835\uDD65","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"\uD835\uDCAF","tscr;":"\uD835\uDCC9","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"\xda","Uacute":"\xda","uacute;":"\xfa","uacute":"\xfa","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"\xdb","Ucirc":"\xdb","ucirc;":"\xfb","ucirc":"\xfb","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"\uD835\uDD18","ufr;":"\uD835\uDD32","Ugrave;":"\xd9","Ugrave":"\xd9","ugrave;":"\xf9","ugrave":"\xf9","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"\xa8","uml":"\xa8","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"\uD835\uDD4C","uopf;":"\uD835\uDD66","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"\uD835\uDCB0","uscr;":"\uD835\uDCCA","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"\xdc","Uuml":"\xdc","uuml;":"\xfc","uuml":"\xfc","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"\uD835\uDD19","vfr;":"\uD835\uDD33","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"\uD835\uDD4D","vopf;":"\uD835\uDD67","vprop;":"∝","vrtri;":"⊳","Vscr;":"\uD835\uDCB1","vscr;":"\uD835\uDCCB","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"\uD835\uDD1A","wfr;":"\uD835\uDD34","Wopf;":"\uD835\uDD4E","wopf;":"\uD835\uDD68","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"\uD835\uDCB2","wscr;":"\uD835\uDCCC","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"\uD835\uDD1B","xfr;":"\uD835\uDD35","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"\uD835\uDD4F","xopf;":"\uD835\uDD69","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"\uD835\uDCB3","xscr;":"\uD835\uDCCD","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"\xdd","Yacute":"\xdd","yacute;":"\xfd","yacute":"\xfd","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"\xa5","yen":"\xa5","Yfr;":"\uD835\uDD1C","yfr;":"\uD835\uDD36","YIcy;":"Ї","yicy;":"ї","Yopf;":"\uD835\uDD50","yopf;":"\uD835\uDD6A","Yscr;":"\uD835\uDCB4","yscr;":"\uD835\uDCCE","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"\xff","yuml":"\xff","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"\uD835\uDD37","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"\uD835\uDD6B","Zscr;":"\uD835\uDCB5","zscr;":"\uD835\uDCCF","zwj;":"‍","zwnj;":"‌"}')}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8433-b4588ba55097775f_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8433-b4588ba55097775f_05Q6.js new file mode 100644 index 0000000..b5b9ac9 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8433-b4588ba55097775f_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8433],{12065:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var a=n(67294),r=n(25434),i=n(37018),o=n(77536);n(61386);var l={text:"media-ui-Text_text-ry--cPm8x-A-",body_sm:"media-ui-Text_body_sm-BlWsbRhBM2w-",h1:"media-ui-Text_h1-AtMj5YoqNyw-",h2:"media-ui-Text_h2-TpvE5o6vddE-",h3:"media-ui-Text_h3-PiHPhzTFa-A-",h4:"media-ui-Text_h4-xyIFQD-kn3s-",h5:"media-ui-Text_h5-jwgrzXd5u10-",h6:"media-ui-Text_h6-Nnxc4AywUG0-",p:"media-ui-Text_p--hmGok-yY3I-",div:"media-ui-Text_div-zig7aYcHmSE-",span:"media-ui-Text_span-DIpFyILvKkM-",figcaption:"media-ui-Text_figcaption-2nPXkddKodk-",serif:"media-ui-Text_serif-9d74nBhFfa8-","sans-serif":"media-ui-Text_sans-serif-w6-tXZRlwpM-",monospace:"media-ui-Text_monospace-DUpcNu4-xC0-",sans___serif:"media-ui-Text_sans-serif-w6-tXZRlwpM-"};let c=["p","span","h1","h2","h3","h4","h5","h6","figcaption","div","section"],s=a.forwardRef(function(e,t){let{children:n,fontFamily:s,as:u="p",className:m="",name:d="text"}=e,h=typeof n,[p]=(0,r.f)(d);if("section"!==u&&"div"!==u&&"object"===h)throw Error("JSX passed as children to Text component. The Text component only allows string children. If you must use JSX children, please stringify.");let f=(0,o.Sh)([l.text,l[u],m,{...s&&{[l[s]]:!0},...!s&&"p"===u&&{[l.serif]:!0},...!s&&"p"!==u&&{[l["sans-serif"]]:!0}}],e);return"object"===h?a.createElement(i.o,{className:f,allowedTags:c,"data-component":p,as:u,ref:t},n):a.createElement(i.o,{className:f,allowedTags:c,"data-component":p,as:u,dangerouslySetInnerHTML:{__html:n},ref:t})})},44449:function(e,t,n){"use strict";n.d(t,{o:function(){return u}});var a=n(67294),r=n(25434),i=n(77536),o=n(1746),l=n(36251);n(84589);var c={chartContainer:"media-ui-TickerChartContainer_chartContainer-GzowhsDnfuk-",noData:"media-ui-TickerChartContainer_noData-dbG9VRflEF0-",message:"media-ui-TickerChartContainer_message-hZc417ub2Xo-"};let s={top:20,right:80,bottom:30,left:0},u=a.forwardRef(function(e,t){let{chartId:n,children:u,className:m,width:d=618,height:h=312,enableHoverInteraction:p=!0,enableDragInteraction:f=!1,nonSVGContent:v,pricePrecision:g=2,renderMode:x="price",showGradient:k=!0,showPreviousPrice:E=!0,tickerSnapshots:S,xAxisInterval:C,yAxisPlacement:y="right",yAxisTickSize:T=6,xAxisTickSize:b=7,handleChartHoverInteraction:w,handleChartDragInteraction:D,name:M="TickerChartContainer",formatXAxisLabel:P=l.CX,formatYAxisLabel:_=l.ez}=e,A=n||(0,l.DO)(M),I=(0,r.f)(M),L=(0,a.useRef)(null),[N,R]=(0,a.useState)(s),[F,X]=(0,a.useState)(10),[Y,z]=(0,a.useState)(0),[U,H]=(0,a.useState)(1),[G,J]=(0,a.useState)(1),[V,B]=(0,a.useState)(),[Z,W]=(0,a.useState)(!1),[O,j]=(0,a.useState)(void 0),[K,Q]=(0,a.useState)(void 0),[q,$]=(0,a.useState)(!1),[ee,et]=(0,a.useState)(void 0),[en,ea]=(0,a.useState)(void 0),[er,ei]=(0,a.useState)(void 0),[eo,el]=(0,a.useState)(void 0),ec=(0,a.useMemo)(()=>(0,l.P8)(S,x),[S,x]),es=(0,a.useMemo)(()=>(0,l.Kq)(S,ec),[S,ec]),eu=(0,a.useMemo)(()=>(0,l.tH)(S,ec,E),[S,ec,E]),em=(0,a.useMemo)(()=>(0,l.RX)(es,[N.left,d-N.right]),[es,N,d]),ed=(0,a.useMemo)(()=>(0,l._S)(eu,[h-N.bottom,N.top]),[eu,N,h]),eh=e=>{if(!L.current)return -1;let t=L.current,n=t.createSVGPoint();n.x=e.clientX||e.touches[0].clientX,n.y=e.clientY||e.touches[0].clientY;let a=t.getScreenCTM();if(!a)return -1;let{x:r}=n.matrixTransform(a.inverse());return r},ep=(0,a.useCallback)(e=>(0,l.Y)(e,d,es,N,ec),[ec,N,d,es]);(0,a.useEffect)(()=>{if(er){Q(void 0);return}if(!O){let e=p?ec[ec.length-1]:void 0;Q(e),e&&(null==w||w(e));return}let e=ep(O);e&&(Q(e),null==w||w(e))},[p,O,er,N,es,d]),(0,a.useEffect)(()=>{X(10*U)},[U]),(0,a.useEffect)(()=>{R(e=>"right"===y?{...e,left:0,right:1.2*Y}:{...e,right:0,left:1.2*Y})},[Y,y]),(0,a.useEffect)(()=>{if(!ee||!en||ee===en){ei(void 0),el(void 0),null==D||D(void 0,void 0);return}let e=ep(Math.min(ee,en)),t=ep(Math.max(ee,en));ei(e),el(t),null==D||D(e,t)},[q,ee,en]),(0,a.useEffect)(()=>{$(!1),et(void 0),ea(void 0)},[f]);let ef=(0,a.useCallback)(e=>{e.preventDefault(),W(!(q||eo))},[W,q,eo]),ev=(0,a.useCallback)(()=>{W(!1),$(!1)},[]),eg=e=>{if(!p||!Z||e<0){j(void 0);return}j(e)},ex=(0,a.useCallback)(e=>{if(e.preventDefault(),q){$(!1);return}$(!0);let t=eh(e);if(t<0){et(void 0),ea(void 0);return}et(t),ea(t)},[]),ek=(0,a.useCallback)(()=>{$(!1),W(p)},[]),eE=e=>{f&&q&&!(e<0)&&ea(e)},eS=e=>{e.preventDefault();let t=eh(e);eE(t),eg(t)};if((0,a.useEffect)(()=>{let e;if(!L.current)return;let t=null==L?void 0:L.current;return t&&(e=new ResizeObserver(e=>{for(let t of e){let e=t.contentBoxSize[0].inlineSize||t.contentRect.width||d,n=Math.max(1,d/e);H(n),J(e/d),X(10*n),B(t.contentRect)}})).observe(t),()=>{e&&t&&e.unobserve(t)}},[L,d]),0===ec.length||0===S.length)return a.createElement("div",{ref:t,"data-component":I,className:(0,i.Sh)([I,m,c.chartContainer,c.noData])},a.createElement("div",{className:c.message},"No pricing data is available"));let eC={...p&&{onMouseOver:ef,onMouseLeave:ev,onMouseMove:eS,onTouchStart:ef,onTouchMove:eS,onTouchEnd:ev},...f&&{onMouseOver:ef,onMouseDown:ex,onMouseMove:eS,onMouseLeave:ev,onMouseUp:ek}};return a.createElement("div",{ref:t,"data-component":I,className:(0,i.Sh)([I,m,c.chartContainer])},a.createElement(o.U.Provider,{value:{componentId:A,chartRectangle:V,fontRescaler:U,dataPoints:ec,hoveredDataPoint:K,dragSelectionStartDataPoint:er,dragSelectionEndDataPoint:eo,isDragActive:q,enableDragInteraction:f,isHoverActive:Z,enableHoverInteraction:p,labelFontSize:F,margin:N,pixelRescaler:G,pricePrecision:g,renderMode:x,showGradient:k,showPreviousPrice:E,tickerSnapshots:S,updateYAxisLabelWidth:z,xAxisInterval:C,xDomain:es,xScale:em,yAxisLabelWidth:Y,xAxisTickSize:b,yAxisPlacement:y,yAxisTickSize:T,yDomain:eu,yScale:ed,formatXAxisLabel:P,formatYAxisLabel:_,handleChartHoverInteraction:w,handleChartDragInteraction:D,height:h,width:d}},v,a.createElement("svg",{ref:L,viewBox:"0 0 ".concat(d," ").concat(h),preserveAspectRatio:"xMidYMid meet",...eC},u)))})},1746:function(e,t,n){"use strict";n.d(t,{J:function(){return i},U:function(){return r}});var a=n(67294);let r=(0,a.createContext)(void 0),i=()=>{let e=(0,a.useContext)(r);if(!e)throw Error("useTickerChart must be used within a TickerChartContext.Provider");return e}},4442:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var a=n(67294),r=n(1746);function i(){let{componentId:e,height:t,hoveredDataPoint:n,margin:i,tickerSnapshots:o,xScale:l,yScale:c}=(0,r.J)(),[s,u]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if(!n){u(0);return}u(l(n.timestamp))},[n,i]),n&&n.timestamp?a.createElement("g",{"data-component":"hover-highlight"},a.createElement("g",{"data-component":"hover-line-x-axis"},a.createElement("line",{x1:s,x2:s,y1:0,y2:t-i.bottom,stroke:"black",strokeWidth:1,strokeDasharray:"2,2"})),a.createElement("g",{"data-component":"hover-point",transform:"translate(".concat(s,", 0)")},o.map((t,r)=>a.createElement("circle",{key:"".concat(e,"_point-highlight-").concat(t.id,"-").concat(r),cy:c(n[t.id]),r:"4",fill:t.color||"black"})))):null}},81234:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});var a=n(67294),r=n(77536),i=n(1746);n(74427);var o={line:"media-ui-TickerChartPricePath_line-8APo5XUFt8M-",neutral:"media-ui-TickerChartPricePath_neutral-1AGcYC24nv0-",gradient:"media-ui-TickerChartPricePath_gradient-2WAzz91c70Y-",positive:"media-ui-TickerChartPricePath_positive-O2XAKFvb1mY-",negative:"media-ui-TickerChartPricePath_negative-tIVLGXCVyuQ-",dragInteractionActive:"media-ui-TickerChartPricePath_dragInteractionActive-kMwf5IMC7IM-"};let l=function(e,t,n,a){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;if(!e.length)return"";let[i]=e,o="M ".concat(n(null==i?void 0:i.timestamp)," ").concat(a(null==i?void 0:i[t]));if(e.forEach((e,r)=>{if(0===r)return;let i=n(e.timestamp),l=a(e[t]);o+=" L ".concat(i,",").concat(l)}),r<0)return o;let l=e[e.length-1],c=n(null==l?void 0:l.timestamp);return o+=" L ".concat(c,",").concat(r)+" L ".concat(n(null==i?void 0:i.timestamp),",").concat(r)+"Z"},c=function(e,t,n,i,c,s,u){var m,d,h;let p=arguments.length>7&&void 0!==arguments[7]&&arguments[7],f=arguments.length>8&&void 0!==arguments[8]&&arguments[8];if(!e.length)return null;let v=f?null===(m=e[0])||void 0===m?void 0:m[t.id]:t.previousPrice||(null===(d=e[0])||void 0===d?void 0:d[t.id]),g=null===(h=e[e.length-1])||void 0===h?void 0:h[t.id],x=(0,r.Mg)(g-v),k=c?l(e,t.id,n,i,s):"",E=l(e,t.id,n,i),S="".concat(t.id,"-").concat(u),C="".concat(t.id,"-").concat(u,"-background");return a.createElement("g",{"data-component":"price-path","data-ticker":t.id},c&&!p&&a.createElement(a.Fragment,null,a.createElement("defs",null,a.createElement("filter",{x:"0",y:"0",width:"1",height:"1",id:C},a.createElement("feFlood",{floodColor:"white"}),a.createElement("feComposite",{in:"SourceGraphic",operator:"over"})),a.createElement("linearGradient",{id:S,x1:0,y1:0,x2:0,y2:1,className:(0,r.RD)([o.gradient,x&&o[x]])},a.createElement("stop",{key:"0.3",offset:"0%",stopColor:"currentColor",stopOpacity:"0.3"}),a.createElement("stop",{key:"0",offset:"74.24%",stopColor:"currentColor",stopOpacity:"0"}))),a.createElement("path",{key:"gradient-".concat(t.id),d:k,fill:"url(#".concat(S,")"),stroke:"none"})),a.createElement("path",{key:"price-".concat(t.id),d:E,fill:"none",stroke:c||p?"currentColor":t.color||"currentColor",strokeWidth:2,className:(0,r.RD)([o.line,x&&o[x],p&&o.dragInteractionActive])}))};function s(){let{componentId:e,dataPoints:t,tickerSnapshots:n,xScale:r,yScale:o,dragSelectionStartDataPoint:l,dragSelectionEndDataPoint:s,showGradient:u,height:m,margin:d}=(0,i.J)();if(!t.length)return null;let h=[];return l&&s&&(h=t.filter(e=>e.timestamp>=l.timestamp&&e.timestamp<=s.timestamp)),a.createElement(a.Fragment,null,a.createElement("g",{"data-component":"tickers-price-path"},n.map(n=>a.createElement(a.Fragment,{key:n.id},c(t,n,r,o,u,m-d.bottom,e,h.length>0)))),h.length>0&&a.createElement("g",{"data-component":"tickers-drag-price-path"},n.map(t=>a.createElement(a.Fragment,{key:"drag-".concat(t.id)},c(h,t,r,o,u,m-d.bottom,e,!1,!0)))))}},88527:function(e,t,n){"use strict";n.d(t,{p:function(){return h}});var a=n(67294),r=n(30310),i=n(98279),o=n(1746);n(79781);var l={tooltipContainer:"media-ui-TickerChartTooltips_tooltipContainer-hUZgEjXItFs-",hoverContainer:"media-ui-TickerChartTooltips_hoverContainer-xSmWCbkmZIg-",hoverTimestamp:"media-ui-TickerChartTooltips_hoverTimestamp-Rf2hjDDBu0I-",hoverValue:"media-ui-TickerChartTooltips_hoverValue-tQXjwwUYU5s-",prevCloseContainer:"media-ui-TickerChartTooltips_prevCloseContainer-ISAYEXa-gXY-",previousCloseLabel:"media-ui-TickerChartTooltips_previousCloseLabel-Xz3XPZSmmlE-",previousCloseValue:"media-ui-TickerChartTooltips_previousCloseValue--g6qB73BU6Y-",dragContainer:"media-ui-TickerChartTooltips_dragContainer-1aTITVFAGCY-",dataLabel:"media-ui-TickerChartTooltips_dataLabel-JRXyQqiseuI-",tickerLegendRow:"media-ui-TickerChartTooltips_tickerLegendRow-4JLS3zLR7mo-",tickerLegend:"media-ui-TickerChartTooltips_tickerLegend-FDTMBXY4vBw-",tickerLabel:"media-ui-TickerChartTooltips_tickerLabel-DUBQnPIJOoo-",dataRow:"media-ui-TickerChartTooltips_dataRow-pYc1tXji2oA-"};function c(){var e,t;let[n,c]=(0,a.useState)("0px"),[s,u]=(0,a.useState)([]),{xScale:m,xAxisInterval:d,pixelRescaler:h,pricePrecision:p,renderMode:f,tickerSnapshots:v,dragSelectionStartDataPoint:g,dragSelectionEndDataPoint:x,formatXAxisLabel:k,formatYAxisLabel:E}=(0,o.J)();return(0,a.useEffect)(()=>{if(!g||!x){c("0px");return}u(v.map(e=>{let t="percentage"===f?"".concat(e.id,"_$price"):e.id;return{id:e.id,name:e.name||e.id,color:e.color||"black",...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,a=t-e,r=0;return 0!==e&&(r=a/Math.abs(e)*100),{priceChange:parseFloat(a.toFixed(n)),percentChange:parseFloat(r.toFixed(n))}}(g[t],x[t],p)}}));let e=m(g.timestamp)*h;c("".concat(e,"px"))},[g,x,v]),g&&x?a.createElement("div",{"data-component":"tickerchart-drag-tooltip",className:l.dragContainer,style:{left:"min(".concat(n,", calc(100% - 150px))")}},s.map(e=>a.createElement("div",{key:e.id,"data-component":"tickerchart-drag-tooltip-change",className:l.dataRow},s.length>1&&a.createElement("div",{className:l.tickerLegendRow},a.createElement("span",{className:l.tickerLegend,style:{backgroundColor:e.color}}),a.createElement("span",{className:l.tickerLabel},e.name||e.id)),a.createElement(r.R,{variant:i.$e.refresh2024,size:"small",percentChange:e.percentChange,priceChange:e.priceChange,precision:p}))),a.createElement("div",{"data-component":"tickerchart-drag-tooltip-timestamp",className:l.dataRow},a.createElement("span",{className:l.hoverTimestamp},k(g.timestamp,d,!0)),a.createElement("span",null,"<>"),a.createElement("span",{className:l.hoverTimestamp},k(x.timestamp,d,!0))),1===s.length&&a.createElement("div",{"data-component":"tickerchart-drag-tooltip-price",className:l.dataRow},a.createElement("span",{className:l.dataLabel},"Price:"),a.createElement("span",{className:l.hoverTimestamp},E(g[null===(e=s[0])||void 0===e?void 0:e.id],p,f,!0)),a.createElement("span",null,"<>"),a.createElement("span",{className:l.hoverTimestamp},E(x[null===(t=s[0])||void 0===t?void 0:t.id],p,f,!0)))):null}function s(){let{hoveredDataPoint:e,enableHoverInteraction:t,pixelRescaler:n,pricePrecision:r,renderMode:i,tickerSnapshots:c,xAxisInterval:s,xScale:u,yScale:m,formatXAxisLabel:d,formatYAxisLabel:h}=(0,o.J)(),[p,f]=(0,a.useState)(null),[v,g]=(0,a.useState)("0px");return(0,a.useEffect)(()=>{if((null==c?void 0:c.length)!==1){f(null);return}let[e]=c;e&&f(e)},[c,m,n]),(0,a.useEffect)(()=>{if(!e){g("0px");return}let t=u(e.timestamp)*n;g("".concat(t,"px"))},[e,u,n]),t&&e?a.createElement("div",{"data-component":"tickerchart-hover-tooltip",className:l.hoverContainer,style:{left:v}},p&&a.createElement("span",{className:l.hoverValue},h(e[p.id],r,i,!0)),a.createElement("span",{className:l.hoverTimestamp},d(e.timestamp,s,!0))):null}var u=n(18005),m=n(36251);function d(){let{pixelRescaler:e,pricePrecision:t,renderMode:n,showPreviousPrice:r,tickerSnapshots:i,yScale:c,yAxisPlacement:s}=(0,o.J)(),[d,h]=(0,a.useState)(null),[p,f]=(0,a.useState)("0px"),v=(0,u.Q)()({id:"media-ui-markets-prev-close",defaultMessage:"Prev. close"});return(0,a.useEffect)(()=>{if((null==i?void 0:i.length)!==1){h(null);return}let[t]=i;if(t){if(null==t?void 0:t.previousPrice){let n=c(t.previousPrice)*e;f("".concat(n,"px"))}else f("0px");h(t)}},[i,c,e]),r&&(null==d?void 0:d.previousPrice)?a.createElement("div",{"data-component":"tickerchart-previousPrice-tooltip",className:l.prevCloseContainer,style:{..."right"===s?{left:-1}:{right:-1},top:p}},a.createElement("span",{className:l.previousCloseLabel},v),a.createElement("span",{className:l.previousCloseValue},(0,m.ez)(d.previousPrice,t,n)," ",d.issuedCurrency?d.issuedCurrency:d.issuedUnits)):null}function h(){return a.createElement("div",{"data-component":"tickerchart-tooltips",className:l.tooltipContainer},a.createElement(s,null),a.createElement(c,null),a.createElement(d,null))}},72412:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var a=n(67294),r=n(1746),i=n(36251);function o(){let{componentId:e,dataPoints:t,labelFontSize:n,height:o,margin:l,width:c,xAxisInterval:s,xScale:u,xDomain:m,xAxisTickSize:d,yAxisPlacement:h,formatXAxisLabel:p}=(0,r.J)(),[f,v]=(0,a.useState)(0),[g,x]=(0,a.useState)(0),[k,E]=(0,a.useState)(1);(0,a.useEffect)(()=>{let[e,t]=m;x(e),E(t)},[m]),(0,a.useEffect)(()=>{v(o-l.bottom)},[o,l.bottom]);let[S,C]=(0,a.useMemo)(()=>[new Date(g),new Date(k)],[g,k]),y=(0,a.useMemo)(()=>(0,i.b_)(S,C,d,h),[S,C,d,h]);return(null==t?void 0:t.length)&&0!==g&&0!==k?a.createElement("g",{"data-component":"x-axis"},a.createElement("line",{x1:0,x2:c,y1:f,y2:f,stroke:"black"}),y.map((t,r)=>{let i=u(t),o=p(t,s),l=f+Math.min(10,n/2),c=f+Math.min(35,1.5*n);return a.createElement("g",{key:"".concat(e,"_x-axis_").concat(t,"-").concat(r),transform:"translate(".concat(i,", 0)")},a.createElement("line",{y1:f,y2:l,stroke:"black"}),a.createElement("text",{x:0,y:c,textAnchor:"middle",fontSize:n,fill:"#545454"},o))})):null}},90212:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var a=n(67294),r=n(1746),i=n(36251);function o(){let{componentId:e,dataPoints:t,labelFontSize:n,pricePrecision:o,renderMode:l,width:c,yAxisPlacement:s,yAxisTickSize:u,yScale:m,yDomain:d,updateYAxisLabelWidth:h,formatYAxisLabel:p}=(0,r.J)(),f=(0,a.useRef)(null),[v,g]=(0,a.useState)(10),[x,k]=(0,a.useState)(0),[E,S]=(0,a.useState)(1),[C,y]=(0,a.useState)({});(0,a.useEffect)(()=>{let[e,t]=d;k(e),S(t)},[d]);let T=(0,a.useMemo)(()=>(0,i.ND)(x,E,u),[x,E,u]),b=(0,a.useMemo)(()=>T.map(e=>p(e,o,l,!1)),[o,l,T]),w=(0,a.useMemo)(()=>b.reduce((e,t)=>{if(t.length===e.length){let n=t.replace("-",""),a=e.replace("-","");return n.length>=a.length?t:e}return t.length>e.length?t:e},""),[b]),D=()=>{if(f.current){var e,t;let n=null===(e=(t=f.current).getComputedTextLength)||void 0===e?void 0:e.call(t);g(n),h(n)}};return(0,a.useEffect)(()=>{if("left"===s){y({x1:v+5,x2:c,x:0});return}y({x1:0,x2:c-v-5,x:c})},[s,v,c]),(0,a.useEffect)(D,[w,n]),(0,a.useEffect)(()=>{if(!f.current)return;let e=new ResizeObserver(D);return e.observe(f.current),()=>{e.disconnect()}},[]),(null==t?void 0:t.length)?a.createElement("g",{"data-component":"y-axis"},a.createElement("text",{ref:f,dy:".32em",x:c,textAnchor:"end",fontSize:n,style:{position:"absolute",visibility:"hidden"}},w),T.map((t,r)=>{let i=m(t);return a.createElement("g",{key:"".concat(e,"_y-axis_").concat(t,"-").concat(r),transform:"translate(0, ".concat(i,")")},a.createElement("line",{x1:C.x1,x2:C.x2,stroke:"#CCCCCC",width:2,strokeDasharray:"2,2"}),a.createElement("text",{x:C.x,dominantBaseline:"middle",textAnchor:"left"===s?"":"end",fontSize:n,fill:"#545454"},b[r]))})):null}},57354:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var a=n(67294),r=n(1746);function i(){let{fontRescaler:e,labelFontSize:t,yAxisPlacement:n,yScale:i,yAxisLabelWidth:o,showPreviousPrice:l,tickerSnapshots:c,width:s}=(0,r.J)(),[u,m]=(0,a.useState)(null),[d,h]=(0,a.useState)({});return(0,a.useEffect)(()=>{let[e]=c||[];e&&m(e)},[c]),(0,a.useEffect)(()=>{if(!u||!u.previousPrice)return;let e=i(u.previousPrice),t=2*o,a="right"===n?s-o-5:s;h({x:"right"===n?0:a-t,y:e,x1:"right"===n?0:o+5,x2:a})},[u,e,t,i,n,o]),l&&u&&u.previousPrice?a.createElement("g",{"data-component":"previous-price-y-axis"},a.createElement("line",{x1:d.x1,y1:d.y,x2:d.x2,y2:d.y,stroke:"black",strokeDasharray:2})):null}},64190:function(e,t,n){"use strict";n.d(t,{U:function(){return f}});var a=n(67294),r=n(25434),i=n(77536),o=n(44449),l=n(1746);function c(){let[e,t]=(0,a.useState)(0),[n,r]=(0,a.useState)(0),{componentId:i,height:o,margin:c,xScale:s,dragSelectionStartDataPoint:u,dragSelectionEndDataPoint:m,tickerSnapshots:d,yScale:h}=(0,l.J)();return(0,a.useEffect)(()=>{if(!u||!m){t(0),r(0);return}t(s(u.timestamp)),r(s(m.timestamp))},[u,m]),(e>0||n>0)&&u&&m?a.createElement("g",{"data-component":"drag-highlight"},a.createElement("g",{"data-component":"drag-x-axis-start"},a.createElement("line",{x1:e,x2:e,y1:0,y2:o-c.bottom,stroke:"black",strokeWidth:1,strokeDasharray:"2,2"})),a.createElement("rect",{x:e,y:0,width:n-e,height:o-c.bottom,fill:"transparent"}),a.createElement("g",{"data-component":"drag-x-axis-end"},a.createElement("line",{x1:n,x2:n,y1:0,y2:o-c.bottom,stroke:"black",strokeWidth:1,strokeDasharray:"2,2"})),a.createElement("g",{"data-component":"drag-hover-point-start",transform:"translate(".concat(e,", 0)")},d.map((e,t)=>a.createElement("circle",{key:"".concat(i,"_point-highlight-").concat(e.id,"-").concat(t),cy:h(u[e.id]),r:"4",fill:e.color||"black"}))),a.createElement("g",{"data-component":"drag-hover-point-end",transform:"translate(".concat(n,", 0)")},d.map((e,t)=>a.createElement("circle",{key:"".concat(i,"_point-highlight-").concat(e.id,"-").concat(t),cy:h(m[e.id]),r:"4",fill:e.color||"black"})))):null}var s=n(4442),u=n(81234),m=n(88527),d=n(72412),h=n(90212),p=n(57354);let f=a.forwardRef(function(e,t){let{children:n,name:l="TickerChart",className:f}=e,v=(0,r.f)(l),g={...e,nonSVGContent:a.createElement(a.Fragment,null,a.createElement(m.p,null),e.nonSVGContent)};return a.createElement("div",{ref:t,"data-component":v,className:(0,i.RD)([f,v,"w-full"])},a.createElement(o.o,{...g},a.createElement(d.v,null),a.createElement(h.w,null),a.createElement(u.i,null),a.createElement(p.p,null),a.createElement(s.A,null),a.createElement(c,null),n))})},36251:function(e,t,n){"use strict";n.d(t,{CX:function(){return D},DO:function(){return a},HL:function(){return _},Kq:function(){return E},ND:function(){return s},P8:function(){return o},RX:function(){return S},Y:function(){return A},_S:function(){return u},aw:function(){return P},b_:function(){return M},ez:function(){return d},tH:function(){return c}});let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xyx-axb-ybax",n=new Date().getTime(),a=0;return e+t.replace(/[abxy]/g,e=>{let t=16*Math.random();return n>0?(t=(n+t)%16|0,n=Math.floor(n/16)):(t=(a+t)%16|0,a=Math.floor(a/16)),("x"===e?t:3&t|8).toString(16)})},r=e=>{let t=[];for(let n of e){let e=[];for(let t of n.priceMovements)e.push({timestamp:new Date(t.dateTime).getTime(),value:t.value});t.push({tickerId:n.id,series:e})}return t},i=(e,t,n)=>{var a;if(0===t.length)return[];let r=new Set;for(let e of t)for(let t of e.series)r.add(t.timestamp);let i=Array.from(r).sort((e,t)=>e-t),o={};if("percentage"===n)for(let t of e)t.previousPrice?o[t.id]=t.previousPrice:t.priceMovements.length?o[t.id]=(null===(a=t.priceMovements[0])||void 0===a?void 0:a.value)||1:o[t.id]=1;return i.map(e=>{let a={timestamp:e};for(let r of t){let t;let i=r.series.find(t=>t.timestamp===e);if(i)t=i.value;else{let n=[...r.series].reverse().find(t=>t.timestamp<=e);t=n?n.value:r.series.length&&r.series[0]?r.series[0].value:0}a[r.tickerId]="price"===n?t:(t-(o[r.tickerId]||0))/(o[r.tickerId]||0)*100,"percentage"===n&&(a["".concat(r.tickerId,"_$price")]=t)}return a})},o=(e,t)=>{if(!(null==e?void 0:e.length))return[];let n=r(e);return i(e,n,t)},l=function(e,t){let n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.15,r=t-e;return n=0===r?0===e?1:Math.abs(e)*a:r*a,[e-n,t+2*n]},c=(e,t,n)=>{var a;if((null==t?void 0:t.length)<2)return[0,1];let r=1/0,i=-1/0;for(let n of t)for(let t of e){let e=n[t.id];r=Math.min(r,e),i=Math.max(i,e)}return n&&1===e.length&&(null===(a=e[0])||void 0===a?void 0:a.previousPrice)&&(r=Math.min(r,e[0].previousPrice),i=Math.max(i,e[0].previousPrice)),(r===1/0||i===-1/0)&&(r=-1,i=1),l(r,i)},s=(e,t,n)=>{if(n<=1)return[e,t];let a=(t-e)/(n-1),r=[];for(let t=1;t{let[n,a]=e,[r,i]=t,o=a-n,l=i-r;return e=>0===o?r:r+(e-n)/o*l},m="en-US",d=(e,t,n)=>{let a=Math.abs(e),r="percentage"===n?"%":"",i={minimumFractionDigits:t,maximumFractionDigits:t},o="";return e<0?o="-":e>0&&(o="+"),a>=1e9?"".concat(o).concat((a/1e9).toLocaleString(m,i),"B").concat(r):a>=1e6?"".concat(o).concat((a/1e6).toLocaleString(m,i),"M").concat(r):a>=1e3?"".concat(o).concat((a/1e3).toLocaleString(m,i),"K").concat(r):"".concat(o).concat(a.toLocaleString(m,i)).concat(r)},h=e=>{let t=new Date(e),n=t.getMinutes();return t.setMinutes(30*Math.floor(n/30),0,0),t},p=e=>{let t=new Date(e),n=t.getMinutes();return t.setMinutes(n+(n%30==0?0:30-n%30),0,0),t},f=e=>{let t=new Date(e);return t.setMinutes(0,0,0),t},v=e=>{let t=new Date(e);return t.setHours(t.getHours()+1,0,0,0),t},g=e=>{let t=new Date(e);return t.setHours(0,0,0,0),t},x=e=>{let t=new Date(e);return t.setDate(t.getDate()+1),t.setHours(t.getHours()+1,0,0,0),t},k=(e,t)=>{let n,a;let r=new Date(e),i=new Date(t),o=(t-e)/36e5;return o<=8?(n=h(r),a=p(i)):o<=24?(n=f(r),a=v(i)):(n=g(r),a=x(i)),[n,a]},E=(e,t)=>{var n,a;if((null==t?void 0:t.length)<2)return[0,1];let[r,i]=k((null===(n=t[0])||void 0===n?void 0:n.timestamp)||0,Math.max((null===(a=t[t.length-1])||void 0===a?void 0:a.timestamp)||1,...e.flat().map(e=>{let{tradingDayClose:t}=e;return t?new Date(t).getTime():0})));return[r.getTime(),i.getTime()]},S=(e,t)=>{let[n,a]=e,[r,i]=t;return e=>r+(e-n)/(a-n)*(i-r)},C=new Intl.DateTimeFormat("en-US",{month:"2-digit",day:"2-digit",timeZone:"America/New_York"}),y=new Intl.DateTimeFormat("en-US",{month:"short",day:"2-digit",timeZone:"America/New_York"}),T=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:"America/New_York"}),b=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",timeZone:"America/New_York"}),w=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short",day:"2-digit",timeZone:"America/New_York"}),D=function(e,t){let n,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];switch(t){case"hour":n=T.format(new Date(e));break;case"month":n=a?w.format(new Date(e)):b.format(new Date(e));break;default:n=a?y.format(new Date(e)):C.format(new Date(e))}return n},M=(e,t,n,a)=>{let r=[],i=e.getTime(),o=t.getTime();if(n<=1)return[i,o];let l=new Date(e.getTime()),c=(o-i)/n/6e4;"right"===a&&l.setMinutes(l.getMinutes()+c);for(let e=0;e{let[a,r]=t,[i,o]=n;return a+(e-i)/(o-i)*(r-a)},_=(e,t)=>{if(!(null==e?void 0:e.length))return;let[n]=e;if(!n)return;let a=Math.abs(t-n.timestamp);for(let r of e){let e=Math.abs(t-r.timestamp);if(e<=a){a=e,n=r;continue}if(a>=e)break}return n},A=(e,t,n,a,r)=>_(r,P(e,n,[a.left,t-a.right]))},61386:function(){},84589:function(){},74427:function(){},79781:function(){}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8696-3c4873b2e81b1ab7_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8696-3c4873b2e81b1ab7_05Q6.js new file mode 100644 index 0000000..5d0ee4d --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8696-3c4873b2e81b1ab7_05Q6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8696],{92138:function(e,t,n){n.d(t,{D:function(){return l}});var r=n(77997),a=n(48189),i=n(48820);let o=a.Lw.getInstance(),l=async function(e,t){var n,a,l;let u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"PX_LAST",c=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;try{let{startDate:n,endDate:a}=(0,i.fD)(t),l=null!=s?s:"5Y"===t?r.ST.Weekly:r.ST.Daily;return await o.getHistory({securities:e.join(","),startDate:n,endDate:a,periodicity:l,fields:u,referenceFields:c})}catch(r){throw null===(a=window)||void 0===a||null===(n=(l=a.newrelic).noticeError)||void 0===n||n.call(l,r,{context:"fetchHistoryChartData",tickers:e}),Error("Failed to fetch fetchHistoryChartData for ".concat(e.join(", ")," (").concat(t,")"))}}},82642:function(e,t,n){n.d(t,{q:function(){return l},v:function(){return u}});var r=n(77997),a=n(48189),i=n(99464);let o=a.Lw.getInstance(),l=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.VI.Close,a=arguments.length>3?arguments[3]:void 0,l=arguments.length>4?arguments[4]:void 0,u=arguments.length>5&&void 0!==arguments[5]&&arguments[5];try{return await o.getIntraday({securities:e.join(","),dataPoints:n,intervalMinutes:a,tradingDayCount:t,referenceFields:l,includeOutOfSessionBars:u})}catch(t){throw(0,i.H)(Error("Error Fetching IntradayChartData"),{context:"fetchIntradayChartData",tickers:e,errorMsg:JSON.stringify(t)}),Error("Failed to fetch intradayChartData for ".concat(e.join(", ")))}},u=async function(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.VI.Close,l=arguments.length>4?arguments[4]:void 0,u=arguments.length>5?arguments[5]:void 0,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];try{return await o.getIntraday({securities:e.join(","),dataPoints:a,intervalMinutes:l,startDate:t,endDate:n,referenceFields:u,includeOutOfSessionBars:c})}catch(t){throw(0,i.H)(Error("Error Fetching IntradayChartData With Dates"),{context:"fetchIntradayChartData",tickers:e,errorMsg:JSON.stringify(t)}),Error("Failed to fetch intradayChartData for ".concat(e.join(", ")))}}},48189:function(e,t,n){let r,a,i;n.d(t,{Lw:function(){return h},Ny:function(){return v},ff:function(){return m}});var o=n(31356),l=n(47041);let u="".concat("https://login.bloomberg.com","/octagon/api/"),c="oBtK6TVu4JI2wTjkTpXYr0uLsv9Tq2Bd0qUbczS1Fr4OmQ==",s="octagon-jwtToken",f=async()=>{let e=await (0,l.getCookie)(s);return"string"==typeof e?e:void 0},d=async e=>{e&&await (0,l.setCookie)(s,e,{maxAge:300,secure:!0,sameSite:"strict"})},m={getInstance:()=>r||(r=new o.TJ({appId:c,getJWTTokenHandler:f,setJWTTokenHandler:d,serviceUrl:u})),resetInstance(){r=void 0}},h={getInstance:()=>a||(a=new o.bg({appId:c,getJWTTokenHandler:f,setJWTTokenHandler:d,serviceUrl:u})),resetInstance(){a=void 0}},v={getInstance:()=>i||(i=new o.Sq({appId:c,getJWTTokenHandler:f,setJWTTokenHandler:d,serviceUrl:u})),resetInstance(){i=void 0}}},87278:function(e,t,n){var r,a;n.d(t,{Kd:function(){return i},Z7:function(){return o},lK:function(){return l},tB:function(){return u}}),(a=r||(r={})).REFERENCE="reference",a.INTRADAY="intraday",a.BOTH="both";let i=["1D","1M","6M","YTD","1Y","5Y"],o=["1H","1D","1M","6M","YTD","1Y","5Y"],l={"1H":["1m"],"1D":["1m","5m","15m","30m","1h","4h"],"3D":["1m","5m","15m","30m","1h","4h"],"5D":["1m","5m","15m","30m","1h","4h"],"1W":["1m","5m","15m","30m","1h","4h"],"1M":["1h","4h","1d","1w"],"6M":["1d","1w","1M"],YTD:["1d","1w","1M"],"1Y":["1d","1w","1M"],"5Y":["1w","1M","1y"]},u={"1m":"1 Min","5m":"5 Min","15m":"15 Min","30m":"30 Min","1h":"1 Hour","2h":"2 Hour","4h":"4 Hour","1d":"1 Day","1w":"1 Week","1M":"1 Month","1y":"1 Year"}},99464:function(e,t,n){n.d(t,{H:function(){return a},f:function(){return i}});let r="object"==typeof window.NREUM&&window.NREUM,a=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r&&(null===(t=r.noticeError)||void 0===t||t.call(r,e,n))},i=(e,t)=>{var n;r&&(null===(n=r.addPageAction)||void 0===n||n.call(r,e,t))}},79281:function(e,t,n){n.d(t,{Bl:function(){return s},Mx:function(){return o},RN:function(){return f},Ru:function(){return a},ZE:function(){return i},_r:function(){return l},fK:function(){return c}});var r=n(2887);let a="#2563eb",i=[a,"#0032F1","#AE8E00","#97542B","#65a30d","#8317B2","#FF6200","#FF008C","#0094D9"],o={up:"#338736",down:"#E51503",unchanged:"#767676",wick:"#999999"};function l(e,t){return t&&/^#([0-9A-F]{3}|[0-9A-F]{6}|[0-9A-F]{8})$/i.test(t)?u(t):i[e%i.length]}function u(e){if(/^#[0-9A-F]{6}([0-9A-F]{2})?$/i.test(e))return e.toUpperCase();if(/^#[0-9A-F]{3}$/i.test(e)){let t=e[1],n=e[2],r=e[3];return"#".concat(t).concat(t).concat(n).concat(n).concat(r).concat(r).toUpperCase()}let t=/^rgba?\((\d+),\s*(\d+),\s*(\d+)/i.exec(e);if((null==t?void 0:t[1])&&t[2]&&t[3]){let e=Number.parseInt(t[1],10).toString(16).padStart(2,"0"),n=Number.parseInt(t[2],10).toString(16).padStart(2,"0"),r=Number.parseInt(t[3],10).toString(16).padStart(2,"0");return"#".concat(e).concat(n).concat(r).toUpperCase()}return(0,r.Tg)().warn("Unrecognized color format passed through: ".concat(e)),e}function c(e,t){let n=t-e;return n>0?"positive":n<0?"negative":"neutral"}function s(e){switch(e){case"positive":return o.up;case"negative":return o.down;default:return o.unchanged}}function f(e){return function(e){let t=u(e).replace("#",""),n=Number.parseInt(t.substring(0,2),16)/255,r=Number.parseInt(t.substring(2,4),16)/255,a=Number.parseInt(t.substring(4,6),16)/255,i=e=>e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4);return .2126*i(n)+.7152*i(r)+.0722*i(a)}(e)>.179?"#000000":"#ffffff"}},2887:function(e,t,n){n.d(t,{Tg:function(){return a},YK:function(){return i}});let r=null;function a(){return null!=r||(r=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t,r=(t,n)=>{let r=new Date,a=e=>e.toString().padStart(2,"0"),i="".concat(r.getFullYear(),"-").concat(a(r.getMonth()+1),"-").concat(a(r.getDate())," ").concat(a(r.getHours()),":").concat(a(r.getMinutes()),":").concat(a(r.getSeconds()));return"[".concat(i,"] [").concat(t.toUpperCase(),"] [").concat(e,"] ").concat(n)},a=function(e,t){for(var a=arguments.length,i=Array(a>2?a-2:0),o=2;o1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r{n=e},isEnabled:()=>n}}("TickerPriceChart",!1)),r}function i(e){a().setEnabled(e)}},48820:function(e,t,n){function r(e){return{appendData:(t,n,r)=>{e().appendData(t,n,r)},setSeriesData:(t,n)=>{e().setSeriesData(t,n)},addSeries:t=>{e().addSeries(t)},removeSeries:t=>{e().removeSeries(t)},setVisibleRange:t=>{e().setViewport({start:t.start,end:t.end})},resetView:()=>{e().resetView()},zoomIn:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.5,n=e(),r=n.getLayout(),a=r.priceArea.x+r.priceArea.width/2;n.zoom(t,a)},zoomOut:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.5,n=e(),r=n.getLayout(),a=r.priceArea.x+r.priceArea.width/2;n.zoom(1/t,a)},panBy:t=>{let n=e(),r=n.getViewport(),a=n.getLayout(),i=(r.end-r.start)/a.priceArea.width;n.pan(t/i)},getSeries:()=>Array.from(e().getState().seriesMeta.values()),getVisibleRange:()=>{let t=e().getViewport();return{start:t.start,end:t.end}}}}n.d(t,{Mx:function(){return a.Mx},Ru:function(){return a.Ru},Rn:function(){return i},rX:function(){return ey},AK:function(){return o},ll:function(){return U},e5:function(){return T},Rc:function(){return ee},Y6:function(){return H},kw:function(){return V},Rr:function(){return K},QZ:function(){return eg},H1:function(){return R},uP:function(){return O},iE:function(){return ew},ef:function(){return r},Yi:function(){return eV},uQ:function(){return l},D0:function(){return _},vR:function(){return G},L3:function(){return j},_r:function(){return q},T4:function(){return d},i$:function(){return f},fP:function(){return m},ug:function(){return em},bx:function(){return ev},mT:function(){return eb},g5:function(){return ed},Cy:function(){return eD},tE:function(){return ep},UO:function(){return el},f6:function(){return M},fD:function(){return S},Tg:function(){return u.Tg},Rx:function(){return eu},Bl:function(){return a.Bl},AD:function(){return h},fW:function(){return B},fK:function(){return a.fK},RP:function(){return eM},WG:function(){return a._r},VW:function(){return c},Lq:function(){return Q},w5:function(){return $},NP:function(){return y},LF:function(){return E},mq:function(){return ea},mW:function(){return s},YK:function(){return u.YK},sR:function(){return Z},DM:function(){return J}});var a=n(79281);let i=1e4;function o(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.95,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,i=e,o=null,l=()=>{if(Math.abs(i){null!==o&&(cancelAnimationFrame(o),o=null)}}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=[];return{track:n=>{let r=performance.now();for(t.push({position:n,time:r});t.length>0&&r-t[0].time>e;)t.shift()},getVelocity:()=>{if(t.length<2)return 0;let e=t[0],n=t.at(-1),r=n.time-e.time;return 0===r?0:(n.position-e.position)/r},reset:()=>{t.length=0}}}var u=n(2887);function c(e){return e<36e5?"second":e<864e5?"minute":e<6048e5?"hour":e<15768e6?"day":e<94608e6?"month":"year"}function s(e){switch(e){case"1m":case"5m":case"15m":case"30m":return"minute";case"1h":case"2h":case"4h":return"hour";case"1d":return"day";case"1w":case"1M":return"month";case"1y":return"year";default:return e}}function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-US",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=new Date(e),i={};switch(null!=t?t:"day"){case"second":i.hour="2-digit",i.minute="2-digit",i.second="2-digit",i.hour12=!1;break;case"minute":i.hour="2-digit",i.minute="2-digit",i.hour12=!1;break;case"hour":i.hour="2-digit",i.minute="2-digit",i.hour12=!1,r&&(i.month="short",i.day="numeric");break;case"day":i.month="short",i.day="numeric",r&&(i.year="numeric");break;case"month":i.month="short",r&&(i.year="numeric");break;case"year":i.year="numeric"}try{return new Intl.DateTimeFormat(n,i).format(a)}catch(e){return a.toISOString().substring(0,10)}}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{currency:n,decimals:r=function(e){let t=Math.abs(e);return t>=1?2:t>=.01?4:6}(e),compact:a=!1,showSign:i=!1,locale:o="en-US"}=t,l={minimumFractionDigits:r,maximumFractionDigits:r,notation:a?"compact":"standard",signDisplay:i?"exceptZero":"auto"};n&&(l.style="currency",l.currency=n);try{return new Intl.NumberFormat(o,l).format(e)}catch(n){let t=i&&e>0?"+":"";return"".concat(t).concat(e.toFixed(r))}}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=Math.abs(e);if(n<1e3)return e.toFixed(0);try{return new Intl.NumberFormat(t,{notation:"compact",maximumFractionDigits:1}).format(e)}catch(t){if(n>=1e9)return"".concat((e/1e9).toFixed(1),"B");if(n>=1e6)return"".concat((e/1e6).toFixed(1),"M");return"".concat((e/1e3).toFixed(1),"K")}}function h(e){var t;let n=e.values().next().value;return null!==(t=null==n?void 0:n.issuedCurrency)&&void 0!==t?t:"USD"}var v=n(77997),p=n(49681);let g={"1H":{line:{intervalMinutes:1,dataInterval:"1m",tradingDayCount:1},ohlcv:{intervalMinutes:1,dataInterval:"1m",tradingDayCount:1}},"1D":{line:{intervalMinutes:5,dataInterval:"5m",tradingDayCount:1},ohlcv:{intervalMinutes:5,dataInterval:"5m",tradingDayCount:1}},"3D":{line:{intervalMinutes:30,dataInterval:"30m",tradingDayCount:3},ohlcv:{intervalMinutes:30,dataInterval:"30m",tradingDayCount:3}},"5D_1W":{line:{intervalMinutes:60,dataInterval:"1h",tradingDayCount:5},ohlcv:{intervalMinutes:60,dataInterval:"1h",tradingDayCount:5}}};function y(){let e=new Date,t=new Date(e.getFullYear(),0,1);return(e.getTime()-t.getTime())/864e5}function M(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t?"ohlcv":"line",a="YTD"===e?n<=1?"1D":n<=3?"3D":n<=5?"5D":n<=7?"1W":n<=120?"1M":n<=180?"6M":"1Y":e;switch(a){case"1H":return{source:"intraday",...g["1H"][r]};case"1D":return{source:"intraday",...g["1D"][r],staleTime:5*p.Rq};case"3D":return{source:"intraday",...g["3D"][r]};case"5D":case"1W":return{source:"intraday",...g["5D_1W"][r]};case"1M":case"6M":case"1Y":return{source:"history",periodicity:v.ST.Daily,dataInterval:"1d"};case"5Y":return{source:"history",periodicity:v.ST.Monthly,dataInterval:"1w"};default:throw Error("Unhandled chart date range: ".concat(String(a)))}}let w=(e,t)=>{let n=new Date(e),r=n.getDate();return n.setMonth(n.getMonth()-t),n.getDate()!==r&&n.setDate(0),n},D=(e,t)=>{let n=new Date(e),r=n.getDate();return n.setFullYear(n.getFullYear()-t),n.getDate()!==r&&n.setDate(0),n},b=e=>new Date(Date.UTC(e.getFullYear(),0,1,12,0,0)),x=e=>{let t=Object.fromEntries(new Intl.DateTimeFormat("en-US",{timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(e).map(e=>[e.type,e.value]));return"".concat(t.year,"-").concat(t.month,"-").concat(t.day)};function S(e){let t;let n=new Date,r=x(n);switch(e){case"1M":t=x(w(n,1));break;case"6M":t=x(w(n,6));break;case"YTD":t=x(b(n));break;case"1Y":t=x(D(n,1));break;case"5Y":t=x(D(n,5));break;default:t=x(n)}return{startDate:t,endDate:r}}function A(e){return!0===e.isFilled}function C(e,t){if(0===e.length)return -1;if(1===e.length)return 0;let n=0,r=e.length-1;for(;n0){let r=e[n],a=e[n-1];if(!r||!a)return n;let i=Math.abs(r.timestamp-t);if(Math.abs(a.timestamp-t)2&&void 0!==arguments[2]?arguments[2]:0;if(0===e.length)return{data:[],startIndex:0,endIndex:0};let{startIndex:r,endIndex:a}=function(e,t,n){if(0===e.length)return{startIndex:0,endIndex:0};let r=0,a=0,i=e.length-1;for(;a<=i;){let n=Math.floor((a+i)/2),r=e[n];if(!r)break;r.timestamp=0;a+=n){let t=e[a];if(t&&Y(t)&&r(t))return t}}function E(e,t,n){if(!e.length)return{y:null,value:null};let{leftPoint:r,rightPoint:a,foundBracket:i,exactMatch:o}=function(e,t){if(0===e.length)return k;let n=C(e,t);if(n<0||n>=e.length)return k;let r=e[n];if(!r)return k;if(r.timestamp===t&&Y(r))return{...k,exactMatch:r};let a=r.timestamp<=t?n:n-1,i=r.timestamp>t?n:n+1,o=I(e,a,-1,e=>e.timestamp<=t),l=I(e,i,1,e=>e.timestamp>t);return{leftPoint:o,rightPoint:l,foundBracket:void 0!==o&&void 0!==l,exactMatch:void 0}}(e,t);if(o)return{y:n.scale(o.value),value:o.value};if(!r)return{y:null,value:null};if(!i||!a)return{y:n.scale(r.value),value:r.value};let l=r.timestamp,u=a.timestamp,c=r.value,s=a.value;if(u===l)return{y:n.scale(c),value:c};let f=c+(t-l)/(u-l)*(s-c);return{y:n.scale(f),value:f}}function H(e,t,n){let r=n.invert(t),a=Math.max(e.low,Math.min(e.high,r));return n.scale(a)}function R(e){let t;let{snappedX:n,chartLeft:r,chartRight:a,chartTop:i,chartHeight:o,tooltipWidth:l,tooltipHeight:u,offsetX:c,offsetY:s}=e;t=a-n>=l+c?n+c:n-r>=l+c?n-l-c:Math.max(r,Math.min(n-l/2,a-l));let f=i+s;return f+u>i+o&&(f=i+o-u-s),{x:t,y:f}}function P(e){for(let t=1;te.timestamp>=n.start);return null!==(d=null!==(f=null==t?void 0:t.value)&&void 0!==f?f:null===(s=e[0])||void 0===s?void 0:s.value)&&void 0!==d?d:null}return null!==(m=null===(a=e[0])||void 0===a?void 0:a.value)&&void 0!==m?m:null}function N(e,t,n){let r=e.priceMovements,a=L(r,t,n,e.previousClose);return null===a||0===a?r.map(e=>({...e,value:100})):r.map(e=>({...e,value:e.value/a*100}))}function W(e,t,n){var r;let a=e.priceMovements;if(0===a.length)return[];let i=L(a,{...t,normalizationBase:null!==(r=t.normalizationBase)&&void 0!==r?r:"previous-close"},n,e.previousClose),o=null===i||0===i?1:i;return a.map(e=>({...e,value:(e.value-o)/o*100}))}function B(e){return"value"in e&&"number"==typeof e.value?e.value:"close"in e&&"number"==typeof e.close?e.close:0}function X(e){if(0===e.length)return null;let t=1/0,n=-1/0;for(let r of e)r.timestampn&&(n=r.timestamp);return[t,n]}function z(e){var t;if(e.length<2)return null;let n=[];for(let t=1;te-t);let r=Math.floor(n.length/2);if(n.length%2==0){let e=n[r-1],t=n[r];return void 0===e||void 0===t?null:(e+t)/2}return null!==(t=n[r])&&void 0!==t?t:null}function V(e){var t,n;let r;let{seriesId:i,locale:o,state:l,scales:u,layout:c,visibleData:s}=e;if(0===s.length)return null;let f=s.at(-1);if(!f)return null;let m=B(f),h=u.x.scale(f.timestamp),v=u.y.scale(m),[p,g]=u.y.domain();if(mg)return null;let y=l.seriesMeta.get(i);if("comparison"===l.mode)r=null!==(t=null==y?void 0:y.color)&&void 0!==t?t:a.Ru;else{let e=(0,a.fK)(l.baseValue,m);r=(0,a.Bl)(e)}let M=d(m,{currency:null!==(n=null==y?void 0:y.issuedCurrency)&&void 0!==n?n:"USD",locale:o,compact:Math.abs(g)>=1e4||Math.abs(p)>=1e4}),w=c.yAxisArea.x>c.priceArea.x,D=(0,a.RN)(r);return{dotX:h,y:v,priceLabel:M,color:r,textColor:D,yAxisOnRight:w,lineX1:c.priceArea.x,lineX2:c.priceArea.x+c.priceArea.width,typography:c.typography}}function U(e){let{labelY:t,labelHeight:n,centerY:r,totalLabelWidth:a,arrowWidth:i,labelX:o,textWidth:l,yAxisOnRight:u}=e,c=t+n;if(u){let e=o+i,n=o+a;return"\n M ".concat(o," ").concat(r,"\n L ").concat(e," ").concat(t,"\n L ").concat(n," ").concat(t,"\n L ").concat(n," ").concat(c,"\n L ").concat(e," ").concat(c,"\n Z\n ")}let s=o+l;return"\n M ".concat(o," ").concat(t,"\n L ").concat(s," ").concat(t,"\n L ").concat(o+a," ").concat(r,"\n L ").concat(s," ").concat(c,"\n L ").concat(o," ").concat(c,"\n Z\n ")}function K(e){let{y:t,lineX2:n,lineX1:r,yAxisOnRight:a,priceLabel:i,typography:o}=e,{axisLabelSize:l,charWidth:u}=o,c=i.length*u+12,s=l+6,f=c+6,d=a?n+2:r-f-2;return{paddingX:6,paddingY:3,arrowWidth:6,labelGap:2,textWidth:c,labelHeight:s,totalLabelWidth:f,labelX:d,labelY:t-s/2,textX:a?d+6+c/2:d+c/2}}function j(e,t,n,r,a,i){let o=e-n+a.priceArea.x,l=t-r+a.priceArea.y,u=i.invert(o);return{chartX:o,chartY:l,timestamp:u}}function q(e,t,n,r){let a=new Map;for(let o of e){var i;let e=function(e,t,n){let r;if(0===e.length)return null;let a=n.invert(t),i=e[0],o=e.at(-1);if(!i||!o||-1===(r=a<=i.timestamp?0:a>=o.timestamp?e.length-1:C(e,a)))return null;let l=function(e,t){let n=e[t];if(n&&!A(n))return{point:n,index:t};let r=t-1,a=t+1;for(;r>=0||a=0){let t=e[r];if(t&&!A(t))return{point:t,index:r};r--}if(a1&&void 0!==arguments[1]?arguments[1]:.02;return e>0?1-t:1+t}function _(e,t,n){let r=Math.abs(e),a=Math.abs(t);return{isPinch:n,isHorizontalScroll:r>0&&r>2*a,isMouseWheel:a>0&&!n&&r<.5*a}}function J(e){return e.isPinch||e.isMouseWheel}function Z(e){return e.isHorizontalScroll&&!e.isPinch}function G(e){return 1===e?"pan":2===e?"pinch":"none"}function $(e,t){return Math.hypot(t.clientX-e.clientX,t.clientY-e.clientY)}function Q(e,t){return{x:(e.clientX+t.clientX)/2,y:(e.clientY+t.clientY)/2}}function ee(e){let{mode:t,screenX:n,screenY:r,chartX:a,chartY:i,timestamp:o,seriesIds:l,nearestPoints:u,seriesMetaMap:c}=e;if("single"===t){var s;let e=l[0];if(!e)return null;let t=c.get(e);return t?{mode:"single",screenX:n,screenY:r,chartX:a,chartY:i,timestamp:o,series:t,datum:null!==(s=u.get(e))&&void 0!==s?s:null}:null}return function(e,t,n,r,a,i,o){let l={},u={};for(let[e,t]of i){l[e]=t;let n=o.get(e);n&&(u[e]=n)}return{mode:"comparison",screenX:e,screenY:t,chartX:n,chartY:r,timestamp:a,seriesPoints:l,seriesMeta:u}}(n,r,a,i,o,u,c)}var et=n(64339),en=n(87278);let er={"1m":6e4,"5m":3e5,"15m":9e5,"30m":18e5,"1h":36e5,"2h":72e5,"4h":144e5,"1d":864e5,"1w":6048e5,"1M":2592e6,"1y":31536e6};function ea(e){return er[e]}function ei(e,t){switch(t){case"hour":e.setHours(e.getHours()+1);break;case"day":e.setDate(e.getDate()+1);break;case"week":e.setDate(e.getDate()+7);break;case"month":e.setMonth(e.getMonth()+1);break;case"year":e.setFullYear(e.getFullYear()+1)}}function eo(e,t,n){var r;let a=null!=n?n:(r=t-e)<864e5?"hour":r<6048e5?"day":r<2592e6?"week":r<31536e6?"month":"year",i=[],o=new Date(e);for(!function(e,t){switch(t){case"hour":e.setMinutes(0,0,0);break;case"day":e.setHours(0,0,0,0);break;case"week":e.setHours(0,0,0,0),e.setDate(e.getDate()-e.getDay());break;case"month":e.setDate(1),e.setHours(0,0,0,0);break;case"year":e.setMonth(0,1),e.setHours(0,0,0,0)}}(o,a),o.getTime()=e&&i.push({timestamp:t,type:a,label:function(e,t){switch(t){case"hour":return e.toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"});case"day":return e.toLocaleDateString(void 0,{weekday:"short",day:"numeric"});case"week":return e.toLocaleDateString(void 0,{month:"short",day:"numeric"});case"month":return e.toLocaleDateString(void 0,{month:"short",year:0===e.getMonth()?"numeric":void 0});case"year":return e.getFullYear().toString()}throw Error("Unsupported format type: ".concat(t))}(o,a)}),ei(o,a)}return i}function el(e){if("YTD"===e){let e=(0,et.NP)();return e<=3?en.lK["1D"]:e<=31?en.lK["1M"]:en.lK.YTD}return en.lK[e]}function eu(e){switch(e){case"1H":return"1m";case"1D":return"5m";case"1M":return"1h";case"6M":case"1Y":default:return"1d";case"YTD":{let e=(0,et.NP)();if(e<=3)return"5m";return e<=31?"1h":"1d"}case"5Y":return"1M"}}function ec(e){return!!(e&&"number"==typeof e.timestamp&&Number.isFinite(e.timestamp))&&("value"in e?"number"==typeof e.value&&Number.isFinite(e.value):"close"in e&&"number"==typeof e.open&&Number.isFinite(e.open)&&"number"==typeof e.high&&Number.isFinite(e.high)&&"number"==typeof e.low&&Number.isFinite(e.low)&&"number"==typeof e.close&&Number.isFinite(e.close))}function es(e,t,n){return 0!==n&&t.timestamp-e.timestamp>2*n}function ef(e){return Math.round(100*e)/100}function ed(e,t){var n;let{xScale:r,yScale:a,breakOnGaps:i=!1}=t;if(0===e.length)return"";let o=i&&null!==(n=z(e))&&void 0!==n?n:0,l=[],u="",c=!0,s=null;for(let t of e){if(!ec(t))continue;let e=ef(r.scale(t.timestamp)),n=ef(a.scale(B(t)));i&&s&&es(s,t,o)?(u&&l.push(u),u="M ".concat(e,",").concat(n),c=!1):c?(u="M ".concat(e,",").concat(n),c=!1):u+=" L ".concat(e,",").concat(n),s=t}return u&&l.push(u),l.join(" ")}function em(e,t){var n;let{xScale:r,yScale:a,baselineY:i,breakOnGaps:o=!1}=t;if(0===e.length)return"";let l=o&&null!==(n=z(e))&&void 0!==n?n:0,u=[],c="",s=0,f=!0,d=null;for(let t of e){if(!ec(t))continue;let e=ef(r.scale(t.timestamp)),n=ef(a.scale(B(t)));if(o&&d&&es(d,t,l)){if(c){let e=ef(r.scale(d.timestamp));c+=" L ".concat(e,",").concat(i," L ").concat(s,",").concat(i," Z"),u.push(c)}c="M ".concat(e,",").concat(n),s=e,f=!1}else f?(c="M ".concat(e,",").concat(n),s=e,f=!1):c+=" L ".concat(e,",").concat(n);d=t}if(c&&d){let e=ef(r.scale(d.timestamp));c+=" L ".concat(e,",").concat(i," L ").concat(s,",").concat(i," Z"),u.push(c)}return u.join(" ")}function eh(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20;return 0===e?n:Math.floor(Math.max(n,Math.min(r,t/e*.8)))}function ev(e,t){var n;let{xScale:r,yScale:a,spacing:i=1}=t,o=null!==(n=t.candleWidth)&&void 0!==n?n:eh(e.length,r.range()[1]-r.range()[0]);return e.map(e=>{let t=r.scale(e.timestamp),n=a.scale(e.open),l=a.scale(e.close),u=a.scale(e.high),c=a.scale(e.low),s="neutral";return e.close>e.open?s="up":e.close{var n;let c=r.scale(e.timestamp),s=null!==(n=e.volume)&&void 0!==n?n:0,f=a.scale(s),d=function(e,t){if(!e)return"neutral";let n=e[t];if(!n)return"neutral";if("close"in n&&"open"in n)return n.close>=n.open?"up":"down";if("value"in n&&t>0){let r=e[t-1];if(r)return n.value>=B(r)?"up":"down"}return"neutral"}(o,t);return{timestamp:e.timestamp,x:ef(c-u/2),y:ef(Math.min(f,i)),width:Math.max(1,u-l),height:ef(Math.abs(i-f)),direction:d}})}function eg(e){let{visibleData:t,scales:n,layout:r}=e;if(0===t.length)return null;let a=t.at(-1);if(!a)return null;let i=B(a),o=n.x.scale(a.timestamp),l=n.y.scale(i);return or.priceArea.x+r.priceArea.width?null:{x:o,y:l}}let ey={positive:{line:a.Mx.up},negative:{line:a.Mx.down},neutral:{line:a.Mx.unchanged}};function eM(e){switch(e){case"minute":case"hour":return"date";case"day":case"month":return"year";default:return null}}function ew(e,t,n,r,a){if(!t||0===e.length)return[];let i=[];for(let n=1;ne.x>=r&&e.x<=i);c&&l.push({x:u,label:function(e,t,n){let r=new Date(e);try{if("date"===t)return new Intl.DateTimeFormat(n,{month:"short",day:"numeric"}).format(r);if("year"===t)return new Intl.DateTimeFormat(n,{year:"numeric"}).format(r)}catch(e){}return"year"===t?r.getFullYear().toString():"".concat(r.getMonth()+1,"/").concat(r.getDate())}(c.timestamp,t,a),timestamp:c.timestamp})}return l}function eD(e,t){let[n,r]=e,a=r-n;if(0===a||t<=1)return[n];let i=function(e,t){if(0===e)return 1;let n=Math.floor(Math.log10(Math.abs(e))),r=Math.abs(e)/Math.pow(10,n);return(t?r<1.5?1:r<2.25?2:r<3.5?2.5:r<7?5:10:r<=1?1:r<=2?2:r<=2.5?2.5:r<=5?5:10)*Math.pow(10,n)}(a/(t-1),!0),o=Math.floor(n/i),l=Math.ceil(r/i),u=[];for(let e=o;e<=l&&u.length<100;e++)u.push(e*i);return u}function eb(e,t){if(0===e.length||t<=0)return[];let n=e[0];if(1===e.length)return n?[n.timestamp]:[];let r=(e.length-1)/(t+1),a=[];for(let n=1;n<=t;n++){let t=e[Math.round(n*r)];t&&a.push(t.timestamp)}return[...new Set(a)]}let ex={top:20,right:0,bottom:5,left:0};function eS(e){let{width:t,height:n,padding:r={},volume:a,yAxisPosition:i="right",xAxisHeight:o=45,yAxisWidth:l=60,baseFontSize:u}=e,c={...ex,...r},s=t-c.left-c.right-l,{priceHeight:f,volumeHeight:d}={priceHeight:n-c.top-c.bottom-o,volumeHeight:0},m="left"===i?c.left+l:c.left,h="left"===i?c.left:t-c.right-l,v={x:m,y:c.top,width:s,height:f},p=d>0?{x:m,y:c.top+f,width:s,height:d}:null,g={x:m,y:c.top+f+d,width:s,height:o},y={x:h,y:c.top,width:l,height:f+d},M=function(e,t,n){let r=null!=n?n:14,a=Math.sqrt(e/800*(t/400)),i=Math.round(Math.max(10,Math.min(16,r*a)));return{axisLabelSize:i,secondaryLabelSize:Math.round(Math.max(10,Math.min(16,(null!=n?n:14)*a))),charWidth:i/r*6.5,lineHeight:1.4}}(t,n,u);return{width:t,height:n,priceArea:v,volumeArea:p,xAxisArea:g,yAxisArea:y,chartWidth:s,chartHeight:f+d,typography:M}}function eA(e,t,n){return e===t?.5:(n-e)/(t-e)}function eC(e,t,n){return Math.max(t,Math.min(n,e))}function eF(e){let{clamp:t=!1,range:n}=e,{domain:r}=e,[a,i]=r,[o,l]=n;return{domain:()=>r,range:()=>n,scale:e=>{if(a===i)return(o+l)/2;let n=o+(l-o)*eA(a,i,e);return t?eC(n,Math.min(o,l),Math.max(o,l)):n},invert:e=>{if(o===l)return(a+i)/2;let n=a+(i-a)*eA(o,l,e);return t?eC(n,Math.min(a,i),Math.max(a,i)):n}}}function eT(e,t,n){return n?{start:n.start,end:n.end}:{start:e,end:t}}function eY(e,t,n){let r=e.start+t,a=e.end+t,i=!1,o=null,{dataStart:l,dataEnd:u,allowOverscroll:c,overscrollRatio:s=.1}=n,f=a-r,d=c?f*s:0;if(ru+d){let e=a-(u+d);r-=e,a-=e,i=!0,o="right"}return{viewport:{start:r,end:a},wasConstrained:i,reachedEdge:o}}function ek(e,t){let{dataStart:n,dataEnd:r,allowOverscroll:a,overscrollRatio:i=.1}=t,o=e.end-e.start,l=a?o*i:0,{start:u,end:c}=e,s=n-l,f=r+l;return uf&&(u=(c=f)-o),u=t?(a=o,r=i-1):n=i+1}return a}function eH(e,t,n){var r,a;let i=t[0],o=t.at(-1);if(void 0===i||void 0===o)return e;let l=null!==(r=eE(t,e.start))&&void 0!==r?r:o,u=null!==(a=eI(t,e.end))&&void 0!==a?a:i;if(l>u){let n=function(e,t,n){let r=(t+n)/2,a=eI(e,r),i=eE(e,r);if(null!==a&&null!==i){let e=r-a<=i-r?a:i;return{snappedStart:e,snappedEnd:e}}return null!==a?{snappedStart:a,snappedEnd:a}:null!==i?{snappedStart:i,snappedEnd:i}:{snappedStart:t,snappedEnd:n}}(t,e.start,e.end);l=n.snappedStart,u=n.snappedEnd}if(u-l0||l=e.length-1)return null;let n=e[t+1];return void 0===n?null:{value:n,idx:t+1}}(e,l);if(u&&(i=u.value,l=u.idx),i-a1&&void 0!==arguments[1]?arguments[1]:.15,n=arguments.length>2?arguments[2]:void 0;if(0===e.length)return[0,100];let r=1/0,a=-1/0;for(let t of e){let{lo:e,hi:n}="high"in t&&"low"in t?{lo:t.low,hi:t.high}:{lo:t.value,hi:t.value};ea&&(a=n)}return(void 0!==n&&(na&&(a=n)),r===1/0||a===-1/0)?[0,100]:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,[n,r]=e;if(n===r){let e=Math.abs(n)*t||1;return[n-e,r+e]}let a=(r-n)*t;return[n-a,r+a]}([r,a],t)}function eP(e){let t=function(e){if(0===e.length)return null;let t=1/0,n=-1/0;for(let r of e)void 0!==r.volume&&(r.volumen&&(n=r.volume));return t===1/0||n===-1/0?null:[Math.min(t,0),n]}(e);return null!=t?t:[0,100]}function eL(e,t,n){if(n&&void 0!==t)return t;if(e.length>=1){let t=e[0];if(t)return B(t)}return 0}function eN(e,t,n,r){if("comparison"!==n||!(null==t?void 0:t.valueMode))return e.priceMovements;let a=t.valueMode;return"absolute"===a?e.priceMovements:"percentage"===a?W(e,t,r):"normalized"===a?N(e,t,r):e.priceMovements}function eW(e,t){var n,r;if(e.size<=1)return;let a=Array.from(e.entries()),i=null===(r=a[0])||void 0===r?void 0:null===(n=r[1])||void 0===n?void 0:n.priceMovements;if(!(null==i?void 0:i.length))return;let o=X(i);if(!o)return;let[l,u]=o;for(let n=1;ne.timestamp>=t&&e.timestamp<=n);if(0===r.length){var a;let r=null!==(a=e.find(e=>e.timestamp>=t))&&void 0!==a?a:e.at(-1);return r?[{...r,timestamp:t,volume:void 0},{...r,timestamp:n,volume:void 0}]:[]}let i=[...r],o=r[0],l=r.at(-1);return o&&o.timestamp>t&&i.unshift({...o,timestamp:t,volume:void 0}),l&&l.timestamp({...e}));if((null==t?void 0:t.fillGaps)&&t.interval){let e=er[t.interval],n=function(e,t){if(e.length<2)return[];let n=3*t,r=[];for(let a=1;at&&r.push({start:o.timestamp,end:i.timestamp,size:l,isLarge:l>n})}return r}(i,e);n.length>0&&(o=function(e,t,n){if(0===e.length)return[];if(0===t.length)return e.map(e=>({...e}));let r=[],a=0,i=t.length-1;for(let o of e)if(o)for(r.push({...o});ao.timestamp)break;else a++}return r}(i,n,e))}return(null==t?void 0:t.autoDownsample)!==!1&&a>0&&(o=function(e,t){let n=Math.max(10,Math.floor(t/2));return e.length<=n?e:function(e,t){if(e.length<=t)return e;let n=e[0];if(!n)return e;let r=[n],a=(e.length-2)/(t-2);for(let n=0;n0&&(r.x/=a,r.y/=a),r}(e,o,l),s=function(e,t,n,r,a){let i=-1,o=t,l=B(r);for(let u=t;ui&&(i=n,o=u)}return o}(e,t,i,u,c),f=e[s];f&&r.push(f)}let i=e.at(-1);return i&&r.push(i),r}(e,n)}(o,a)),o}(u,n,r,a,i);o.set(l,e)}return"comparison"===a&&o.size>1&&(null==n?void 0:n.interval)?function(e){let t=Array.from(e.keys());if(0===t.length)return e;let n=t[0];if(!n)return e;let r=e.get(n);if(!r||0===r.length)return e;let a=r.map(e=>e.timestamp),i=new Map;i.set(n,r);for(let n=1;nn)break;let r=e[i];r&&(o=r.value),i++}let t=e[i];(null==t?void 0:t.timestamp)===n?(a.push({...t}),o=t.value):a.push({timestamp:n,value:o,volume:void 0,isFilled:!0})}return a}(o,a))}return i}(o):o}function eX(e){return[...new Set(Array.from(e.seriesData.values()).flat().map(e=>e.timestamp))].sort((e,t)=>e-t)}function ez(e){var t;let n=X(Array.from(e.seriesData.values()).flat());if(!n)return{minRange:6e4,maxRange:864e5,dataStart:0,dataEnd:1e3};let[r,a]=n,i=a-r,o=e.viewportEndBuffer;return{minRange:(null===(t=e.dataConfig)||void 0===t?void 0:t.interval)?5*er[e.dataConfig.interval]:.005*i,maxRange:i*(1+o),dataStart:r,dataEnd:function(e,t,n,r){var a;if(!(null===(a=e.dataConfig)||void 0===a?void 0:a.interval))return t+n*r;let i=er[e.dataConfig.interval];if(i>18e5)return t+n*r;let o=t+n*r,l=o%i;return 0===l?o:o+(i-l)}(e,a,i,o),allowOverscroll:!1,overscrollRatio:0}}function eV(e){var t,n,r,a,i,o;let l;let c=new Map;["data","viewport","scales","hover","layout","config"].forEach(e=>c.set(e,new Set));let s=new Map,f=new Map;e.series.forEach(e=>{s.set(e.id,[...e.priceMovements]),f.set(e.id,e)}),"comparison"===e.mode&&eW(f,s);let d=eS({width:e.width,height:e.height,padding:e.padding,volume:e.volumeEnabled?{enabled:!0,heightRatio:e.volumeHeightRatio}:void 0,yAxisPosition:e.yAxisPosition,baseFontSize:e.baseFontSize}),m=Array.from(s.values()).flat(),h=X(m),[v,p]=null!=h?h:[0,1e3],g=!1===e.viewportEndBuffer?0:null!==(r=e.viewportEndBuffer)&&void 0!==r?r:.1,y=p-v,M=e.initialViewport?eT(v,p,e.initialViewport):eT(v,p+y*g),w=eF({domain:[M.start,M.end],range:[d.priceArea.x,d.priceArea.x+d.priceArea.width]});if("comparison"===e.mode&&(null===(t=e.comparisonConfig)||void 0===t?void 0:t.valueMode)&&"absolute"!==e.comparisonConfig.valueMode){let t=[];for(let n of e.series){let r=eN(n,e.comparisonConfig,e.mode,M);t.push(...r)}l=t}else l=m;let D=l.filter(e=>e.timestamp>=M.start&&e.timestamp<=M.end),b=e.series[0],x="single"===e.mode&&e.usePreviousCloseAsBaseline?null==b?void 0:b.previousClose:void 0,S=eR(D.length>0?D:l,.15,x),A=eL(D.length>0?D:l,x,null!==(a=e.usePreviousCloseAsBaseline)&&void 0!==a&&a),C=eF({domain:S,range:[d.priceArea.y+d.priceArea.height,d.priceArea.y]}),T=null,Y=null;if(e.volumeEnabled){let e=m.filter(e=>e.timestamp>=M.start&&e.timestamp<=M.end);Y=eP(e.length>0?e:m);let t=d.priceArea.y+.7*d.priceArea.height;T=eF({domain:Y,range:[d.priceArea.y+d.priceArea.height,t]})}let k=eB(f,s,e.dataConfig,e.comparisonConfig,e.mode,d.priceArea.width),I=[];(null===(n=e.dataConfig)||void 0===n?void 0:n.showTimeSeparators)!==!1&&(I=eo(M.start,M.end));let E={mode:e.mode,chartType:e.chartType,theme:null!==(i=e.theme)&&void 0!==i?i:"light",comparisonConfig:e.comparisonConfig,dataConfig:e.dataConfig,intraday:null!==(o=e.intraday)&&void 0!==o&&o,viewportEndBuffer:g,seriesData:s,seriesMeta:f,processedData:k,timeSeparators:I,layout:d,viewport:M,xScale:w,yScale:C,volumeScale:T,yDomain:S,volumeDomain:Y,baseValue:A,hover:{visible:!1,screenX:0,screenY:0,chartX:0,chartY:0,timestamp:null,nearestPoints:new Map},isDragging:!1,isPinching:!1},H=(0,u.Tg)(),R=e=>{var t,n,r;let a=null!==(r=null===(t=c.get(e))||void 0===t?void 0:t.size)&&void 0!==r?r:0;H.debug("dispatch('".concat(e,"'), listeners: ").concat(a)),null===(n=c.get(e))||void 0===n||n.forEach(e=>e())},L=new Set,N=!1,W=()=>{N=!1;let e=[...L];L.clear(),e.forEach(e=>R(e))},B=e=>{L.add(e),N||(N=!0,queueMicrotask(W))},z=new Map,V=e=>{let t=z.get(e);t||(t={pending:!1,frameId:null},z.set(e,t)),t.pending||(t.pending=!0,"undefined"!=typeof requestAnimationFrame?t.frameId=requestAnimationFrame(()=>{R(e),t&&(t.pending=!1)}):t.frameId=globalThis.setTimeout(()=>{R(e),t&&(t.pending=!1)},16))},U=()=>{var t,n;let r=function(e,t){var n;if("comparison"===e.mode&&(null===(n=e.comparisonConfig)||void 0===n?void 0:n.valueMode)&&"absolute"!==e.comparisonConfig.valueMode){let t=[];for(let[,n]of e.seriesMeta){let r=eN(n,e.comparisonConfig,e.mode,e.viewport);t.push(...r)}return t}return Array.from(e.seriesData.values()).flat()}(E,0),a=r.filter(e=>e.timestamp>=E.viewport.start&&e.timestamp<=E.viewport.end);E.xScale=function(e){var t;let n=[e.layout.priceArea.x,e.layout.priceArea.x+e.layout.priceArea.width];if(null===(t=e.dataConfig)||void 0===t?void 0:t.fillGaps)return eF({domain:[e.viewport.start,e.viewport.end],range:n});let r=e.seriesMeta.keys().next().value,a=r?e.processedData.get(r):void 0;if(!a||a.length<2)return eF({domain:[e.viewport.start,e.viewport.end],range:n});let{data:i}=F(a,e.viewport,1);return i.length<2?eF({domain:[e.viewport.start,e.viewport.end],range:n}):function(e,t){let[n,r]=t;if(e.length<2)return eF({domain:1===e.length?[e[0],e[0]]:[0,1],range:t});let a=e[0],i=e.at(-1),o=(r-n)/(e.length-1);return{domain:()=>[a,i],range:()=>t,scale:t=>n+function(t){if(t<=a)return 0;if(t>=i)return e.length-1;let n=0,r=e.length-1;for(;n{let r=Math.max(0,Math.min(e.length-1,(t-n)/o)),a=Math.floor(r),i=Math.min(a+1,e.length-1),l=r-a;return e[a]*(1-l)+e[i]*l}}}(i.map(e=>e.timestamp),n)}(E),(null===(t=E.dataConfig)||void 0===t?void 0:t.showTimeSeparators)!==!1&&(E.timeSeparators=eo(E.viewport.start,E.viewport.end));let i=E.seriesMeta.values().next().value,o="single"===E.mode&&e.usePreviousCloseAsBaseline?null==i?void 0:i.previousClose:void 0,l=eR(a.length>0?a:r,.15,o);E.yDomain=l,E.yScale=eF({domain:l,range:[E.layout.priceArea.y+E.layout.priceArea.height,E.layout.priceArea.y]}),E.baseValue=eL(a.length>0?a:r,o,null!==(n=e.usePreviousCloseAsBaseline)&&void 0!==n&&n);let u=function(e,t){if(!t.volumeEnabled)return null;let n=Array.from(e.seriesData.values()).flat(),r=n.filter(t=>t.timestamp>=e.viewport.start&&t.timestamp<=e.viewport.end),a=eP(r.length>0?r:n),i=e.layout.priceArea.y+.7*e.layout.priceArea.height;return{volumeDomain:a,volumeScale:eF({domain:a,range:[e.layout.priceArea.y+e.layout.priceArea.height,i]})}}(E,e);u&&(E.volumeDomain=u.volumeDomain,E.volumeScale=u.volumeScale)},K=()=>{E.processedData=eB(E.seriesMeta,E.seriesData,E.dataConfig,E.comparisonConfig,E.mode,E.layout.priceArea.width)};return{getState:()=>E,getSeriesData:e=>{var t;return null!==(t=E.seriesData.get(e))&&void 0!==t?t:[]},getVisibleData:e=>{if(E.dataConfig){let t=E.processedData.get(e);return t?F(t,E.viewport,0).data:[]}let t=E.seriesMeta.get(e);return t?F(eN(t,E.comparisonConfig,E.mode,E.viewport),E.viewport,0).data:[]},getRenderableData:e=>{if(E.dataConfig){var t;return null!==(t=E.processedData.get(e))&&void 0!==t?t:[]}let n=E.seriesMeta.get(e);return n?F(eN(n,E.comparisonConfig,E.mode,E.viewport),E.viewport,1).data:[]},getHoverState:()=>E.hover,getViewport:()=>E.viewport,getScales:()=>({x:E.xScale,y:E.yScale,volume:E.volumeScale}),getLayout:()=>E.layout,getTimeSeparators:()=>E.timeSeparators,subscribe:(e,t)=>{var n;return null===(n=c.get(e))||void 0===n||n.add(t),()=>{var n;return null===(n=c.get(e))||void 0===n?void 0:n.delete(t)}},subscribeMany:(e,t)=>(e.forEach(e=>{var n;return null===(n=c.get(e))||void 0===n?void 0:n.add(t)}),()=>e.forEach(e=>{var n;return null===(n=c.get(e))||void 0===n?void 0:n.delete(t)})),appendData:(t,n)=>{var r,a,i,o,l;let u=function(e,t){if(0===t.length)return e;if(0===e.length)return[...t].sort((e,t)=>e.timestamp-t.timestamp);if(!P(e)||!P(t)){let n=new Map;for(let t of e)n.set(t.timestamp,t);for(let e of t)n.set(e.timestamp,e);return Array.from(n.values()).sort((e,t)=>e.timestamp-t.timestamp)}let n=[],r=0,a=0;for(;ro.timestamp?n.push(o):(n.push(o),r++),a++)}for(;r{E.seriesData.set(e,t);let n=E.seriesMeta.get(e);n&&E.seriesMeta.set(e,{...n,priceMovements:t}),E.dataConfig&&K(),U(),B("data"),B("scales")},addSeries:e=>{E.seriesData.set(e.id,[...e.priceMovements]),E.seriesMeta.set(e.id,e),E.dataConfig&&K(),U(),B("data"),B("scales")},removeSeries:e=>{E.seriesData.delete(e),E.seriesMeta.delete(e),E.processedData.delete(e),E.dataConfig&&"comparison"===E.mode&&K(),U(),B("data"),B("scales")},setViewport:e=>{let t=eX(E),n=ez(E);E.viewport=eH(e,t,n),U(),B("viewport"),B("scales")},setViewportWithoutSnap:e=>{let t=ez(E),n=e.end-e.start,r=Math.max(t.minRange,Math.min(t.maxRange,n)),a=e.start,i=a+r;at.dataEnd&&(a=(i=t.dataEnd)-r),E.viewport={start:a,end:i},U(),B("viewport"),B("scales")},pan:e=>{let[t,n]=E.xScale.domain(),[r,a]=E.xScale.range(),i=ez(E),o=eY(E.viewport,-((n-t)/(a-r)*e),i),l=eX(E);E.viewport=eH(o.viewport,l,i),U(),B("viewport"),B("scales")},panWithoutSnap:e=>{let[t,n]=E.xScale.domain(),[r,a]=E.xScale.range(),i=ez(E),o=eY(E.viewport,-((n-t)/(a-r)*e),i);E.viewport=o.viewport,U(),B("viewport"),B("scales")},snapViewport:()=>{let e=eX(E),t=ez(E);E.viewport=eH(E.viewport,e,t),U(),B("viewport"),B("scales")},zoom:(e,t)=>{let n=E.xScale.invert(t),r=ez(E),a=function(e,t,n,r){let a=e.end-e.start,i=a/t,o=!1,l=null;ir.maxRange&&(i=r.maxRange,o=!0,l="max");let u=(n-e.start)/a,c=n-i*u,s=c+i;return{viewport:ek({start:c,end:s},r),wasConstrained:o,reachedLimit:l}}(E.viewport,e,n,r);E.viewport=a.viewport,U(),B("viewport"),B("scales")},resetView:()=>{let e=X(Array.from(E.seriesData.values()).flat());e&&(E.viewport={start:e[0],end:e[1]},U(),R("viewport"),R("scales"))},setHover:e=>{Object.assign(E.hover,e),V("hover")},clearHover:()=>{E.hover.visible=!1,E.hover.nearestPoints.clear(),R("hover")},setDimensions:(t,n,r)=>{let a=eS({width:t,height:n,padding:e.padding,volume:e.volumeEnabled?{enabled:!0,heightRatio:e.volumeHeightRatio}:void 0,yAxisPosition:e.yAxisPosition,baseFontSize:null!=r?r:e.baseFontSize});E.layout=a,U(),B("layout"),B("scales")},setDragging:e=>{E.isDragging=e},setPinching:e=>{E.isPinching=e},destroy:()=>{c.forEach(e=>e.clear()),z.forEach(e=>{e.frameId&&(cancelAnimationFrame?cancelAnimationFrame(e.frameId):clearTimeout(e.frameId))})}}}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8764-de71f68e8e20a4eb_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8764-de71f68e8e20a4eb_05Q6.js new file mode 100644 index 0000000..cb5cfed --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/8764-de71f68e8e20a4eb_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8764],{79742:function(t,e){"use strict";e.byteLength=function(t){var e=s(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=s(t),f=o[0],u=o[1],h=new i((f+u)*3/4-u),l=0,a=u>0?f-4:f;for(r=0;r>16&255,h[l++]=e>>8&255,h[l++]=255&e;return 2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,h[l++]=255&e),1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,h[l++]=e>>8&255,h[l++]=255&e),h},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],f=0,u=n-i;f>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,f,f+16383>u?u:f+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,u=o.length;f0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(t,e,r){"use strict";let n=r(79742),i=r(80645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function f(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return s(t,e,r)}function s(t,e,r){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!u.isEncoding(e))throw TypeError("Unknown encoding: "+e);let r=0|y(t,e),n=f(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(k(t,Uint8Array)){let e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return a(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');let n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);let i=function(t){var e;if(u.isBuffer(t)){let e=0|c(t.length),r=f(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?f(0):a(t):"Buffer"===t.type&&Array.isArray(t.data)?a(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return h(t),f(t<0?0:0|c(t))}function a(t){let e=t.length<0?0:0|c(t.length),r=f(e);for(let n=0;n=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function y(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return x(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return N(t).length;default:if(i)return n?-1:x(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,r){let i=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){let n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=e;n2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return -1;r=t.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,i);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):w(t,[e],r,n,i);throw TypeError("val must be string, number or Buffer")}function w(t,e,r,n,i){let o,f=1,u=t.length,s=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;f=2,u/=2,s/=2,r/=2}function h(t,e){return 1===f?t[e]:t.readUInt16BE(e*f)}if(i){let n=-1;for(o=r;ou&&(r=u-s),o=r;o>=0;o--){let r=!0;for(let n=0;n239?4:e>223?3:e>191?2:1;if(i+f<=r){let r,n,u,s;switch(f){case 1:e<128&&(o=e);break;case 2:(192&(r=t[i+1]))==128&&(s=(31&e)<<6|63&r)>127&&(o=s);break;case 3:r=t[i+1],n=t[i+2],(192&r)==128&&(192&n)==128&&(s=(15&e)<<12|(63&r)<<6|63&n)>2047&&(s<55296||s>57343)&&(o=s);break;case 4:r=t[i+1],n=t[i+2],u=t[i+3],(192&r)==128&&(192&n)==128&&(192&u)==128&&(s=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&u)>65535&&s<1114112&&(o=s)}}null===o?(o=65533,f=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=f}return function(t){let e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);let r="",n=0;for(;nr)throw RangeError("Trying to access beyond buffer length")}function m(t,e,r,n,i,o){if(!u.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw RangeError("Index out of range")}function A(t,e,r,n,i){_(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let f=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=f,f>>=8,t[r++]=f,f>>=8,t[r++]=f,f>>=8,t[r++]=f,r}function I(t,e,r,n,i){_(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let f=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=f,f>>=8,t[r+2]=f,f>>=8,t[r+1]=f,f>>=8,t[r]=f,r+8}function U(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function v(t,e,r,n,o){return e=+e,r>>>=0,o||U(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function R(t,e,r,n,o){return e=+e,r>>>=0,o||U(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}e.Buffer=u,e.SlowBuffer=function(t){return+t!=t&&(t=0),u.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=2147483647,u.TYPED_ARRAY_SUPPORT=function(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,e,r){return s(t,e,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,e,r){return(h(t),t<=0)?f(t):void 0!==e?"string"==typeof r?f(t).fill(e,r):f(t).fill(e):f(t)},u.allocUnsafe=function(t){return l(t)},u.allocUnsafeSlow=function(t){return l(t)},u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,e){if(k(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),k(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(t)||!u.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);in.length?(u.isBuffer(e)||(e=u.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else if(u.isBuffer(e))e.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=e.length}return n},u.byteLength=y,u.prototype._isBuffer=!0,u.prototype.swap16=function(){let t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;er&&(t+=" ... "),""},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,i){if(k(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;let o=i-n,f=r-e,s=Math.min(o,f),h=this.slice(n,i),l=t.slice(e,r);for(let t=0;t>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-e;if((void 0===r||r>p)&&(r=p),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let c=!1;for(;;)switch(n){case"hex":return function(t,e,r,n){let i;r=Number(r)||0;let o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;let f=e.length;for(n>f/2&&(n=f/2),i=0;i>8,i.push(r%256),i.push(n);return i}(t,this.length-l),this,l,a);default:if(c)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(t,e){let r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||E(t,e,this.length);let n=this[t],i=1,o=0;for(;++o>>=0,e>>>=0,r||E(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readBigUInt64LE=j(function(t){S(t>>>=0,"offset");let e=this[t],r=this[t+7];(void 0===e||void 0===r)&&C(t,this.length-8);let n=e+256*this[++t]+65536*this[++t]+16777216*this[++t],i=this[++t]+256*this[++t]+65536*this[++t]+16777216*r;return BigInt(n)+(BigInt(i)<>>=0,"offset");let e=this[t],r=this[t+7];(void 0===e||void 0===r)&&C(t,this.length-8);let n=16777216*e+65536*this[++t]+256*this[++t]+this[++t],i=16777216*this[++t]+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<>>=0,e>>>=0,r||E(t,e,this.length);let n=this[t],i=1,o=0;for(;++o=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return(t>>>=0,e||E(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||E(t,2,this.length);let r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||E(t,2,this.length);let r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readBigInt64LE=j(function(t){S(t>>>=0,"offset");let e=this[t],r=this[t+7];return(void 0===e||void 0===r)&&C(t,this.length-8),(BigInt(this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24))<>>=0,"offset");let e=this[t],r=this[t+7];return(void 0===e||void 0===r)&&C(t,this.length-8),(BigInt((e<<24)+65536*this[++t]+256*this[++t]+this[++t])<>>=0,e||E(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||E(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||E(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||E(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;m(this,t,e,r,n,0)}let i=1,o=0;for(this[e]=255&t;++o>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;m(this,t,e,r,n,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigUInt64LE=j(function(t,e=0){return A(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=j(function(t,e=0){return I(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){let n=Math.pow(2,8*r-1);m(this,t,e,r,n-1,-n)}let i=0,o=1,f=0;for(this[e]=255&t;++i>0)-f&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){let n=Math.pow(2,8*r-1);m(this,t,e,r,n-1,-n)}let i=r-1,o=1,f=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===f&&0!==this[e+i+1]&&(f=1),this[e+i]=(t/o>>0)-f&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigInt64LE=j(function(t,e=0){return A(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=j(function(t,e=0){return I(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(t,e,r){return v(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return v(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return R(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return R(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function _(t,e,r,n,i,o){if(t>r||t3?0===e||e===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${e}${i} and <= ${r}${i}`,new T.ERR_OUT_OF_RANGE("value",n,t)}S(i,"offset"),(void 0===n[i]||void 0===n[i+o])&&C(i,n.length-(o+1))}function S(t,e){if("number"!=typeof t)throw new T.ERR_INVALID_ARG_TYPE(e,"number",t)}function C(t,e,r){if(Math.floor(t)!==t)throw S(t,r),new T.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new T.ERR_BUFFER_OUT_OF_BOUNDS;throw new T.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}O("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),O("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError),O("ERR_OUT_OF_RANGE",function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>4294967296?i=L(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=L(i)),i+="n"),n+=` It must be ${e}. Received ${i}`},RangeError);let $=/[^+/0-9A-Za-z-_]/g;function x(t,e){let r;e=e||1/0;let n=t.length,i=null,o=[];for(let f=0;f55295&&r<57344){if(!i){if(r>56319||f+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function N(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace($,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function M(t,e,r,n){let i;for(i=0;i=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function k(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}let P=function(){let t="0123456789abcdef",e=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function j(t){return"undefined"==typeof BigInt?F:t}function F(){throw Error("BigInt not supported")}},80645:function(t,e){e.read=function(t,e,r,n,i){var o,f,u=8*i-n-1,s=(1<>1,l=-7,a=r?i-1:0,p=r?-1:1,c=t[e+a];for(a+=p,o=c&(1<<-l)-1,c>>=-l,l+=u;l>0;o=256*o+t[e+a],a+=p,l-=8);for(f=o&(1<<-l)-1,o>>=-l,l+=n;l>0;f=256*f+t[e+a],a+=p,l-=8);if(0===o)o=1-h;else{if(o===s)return f?NaN:1/0*(c?-1:1);f+=Math.pow(2,n),o-=h}return(c?-1:1)*f*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var f,u,s,h=8*o-i-1,l=(1<>1,p=23===i?5960464477539062e-23:0,c=n?0:o-1,y=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(u=isNaN(e)?1:0,f=l):(f=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-f))<1&&(f--,s*=2),f+a>=1?e+=p/s:e+=p*Math.pow(2,1-a),e*s>=2&&(f++,s/=2),f+a>=l?(u=0,f=l):f+a>=1?(u=(e*s-1)*Math.pow(2,i),f+=a):(u=e*Math.pow(2,a-1)*Math.pow(2,i),f=0));i>=8;t[r+c]=255&u,c+=y,u/=256,i-=8);for(f=f<0;t[r+c]=255&f,c+=y,f/=256,h-=8);t[r+c-y]|=128*g}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/87c2764ae0951dfc_05Q6.css b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/87c2764ae0951dfc_05Q6.css new file mode 100644 index 0000000..83911b4 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/87c2764ae0951dfc_05Q6.css @@ -0,0 +1,9 @@ +@layer phx.components{.Avatar_avatar__6R9_G{--atomics-avatar-size-extra-small:2.5rem;--atomics-avatar-size-small:3.375rem;--atomics-avatar-size-medium:4.5rem;--atomics-avatar-size-large:12.5rem;aspect-ratio:1/1;border-radius:50%;display:inline-block}.Avatar_avatar__6R9_G[data-size=extra-small]{height:var(--atomics-avatar-size-extra-small);width:var(--atomics-avatar-size-extra-small)}.Avatar_avatar__6R9_G[data-size=small]{height:var(--atomics-avatar-size-small);width:var(--atomics-avatar-size-small)}.Avatar_avatar__6R9_G[data-size=medium]{height:var(--atomics-avatar-size-medium);width:var(--atomics-avatar-size-medium)}.Avatar_avatar__6R9_G[data-size=large]{height:var(--atomics-avatar-size-large);width:var(--atomics-avatar-size-large)}.Badge_badge__CT1BR{align-items:center;border-radius:var(--phx-radius-core-4);display:inline-flex;font-weight:var(--phx-font-core-weight-medium);gap:var(--phx-space-core-6);justify-content:center;letter-spacing:.01em;line-height:var(--phx-font-core-line-height-120);padding:var(--phx-space-core-2) var(--phx-space-core-4)}.Badge_badge__CT1BR[data-badge-color=blue]{--atomics-badge-filled-bg-color:var(--phx-color-secondary-opinion-500);--atomics-badge-filled-color:var(--phx-color-core-white)}.Badge_badge__CT1BR[data-badge-color=gray]{--atomics-badge-filled-bg-color:var(--phx-color-fill-primary);--atomics-badge-filled-color:var(--phx-color-text-invert)}.Badge_badge__CT1BR[data-badge-color=red]{--atomics-badge-filled-bg-color:var(--phx-color-core-red-500);--atomics-badge-filled-color:var(--phx-color-core-white)}.Badge_badge__CT1BR[data-badge-color=light-red]{--atomics-badge-filled-bg-color:var(--phx-color-core-red-200);--atomics-badge-filled-color:var(--phx-color-core-black)}.Badge_badge__CT1BR[data-badge-color=yellow]{--atomics-badge-filled-bg-color:var(--phx-color-core-yellow-400);--atomics-badge-filled-color:var(--phx-color-core-black)}.Badge_badge__CT1BR[data-badge-size=medium]{font-size:var(--phx-font-core-size-14)}.Badge_badge__CT1BR[data-badge-size=small]{font-size:var(--phx-font-core-size-12)}.Badge_badge__CT1BR[data-badge-variant=filled]{background-color:var(--atomics-badge-filled-bg-color);color:var(--atomics-badge-filled-color)}.Badge_badge__CT1BR[data-badge-variant=outline]{background-color:transparent;background-color:initial;border:1px solid var(--phx-color-border-subtle);color:var(--phx-color-text-primary);padding:calc(var(--phx-space-core-2) - 1px) calc(var(--phx-space-core-4) - 1px)}.Button_btn__hEu8M{align-items:center;-webkit-appearance:auto;appearance:auto;background-color:var(--phx-color-core-none);border:0;border-radius:var(--phx-radius-core-8);box-sizing:border-box;cursor:pointer;display:inline-flex;flex-shrink:0;font-family:var(--phx-font-core-family-sans);font-weight:var(--phx-font-core-weight-medium);gap:var(--phx-space-core-4);justify-content:center;line-height:var(--phx-font-core-line-height-100);text-decoration:none;transition:background-color .15s ease-out,color .15s ease-out;white-space:nowrap}.Button_btn__hEu8M[data-button-size=large]{block-size:var(--phx-space-core-48);font-size:var(--phx-font-core-size-16);padding:0 var(--phx-space-core-24)}.Button_btn__hEu8M[data-button-size=medium],.Button_btn__hEu8M[data-button-size=small]{font-size:var(--phx-font-core-size-14);padding:0 var(--phx-space-core-16)}}@layer phx.components{:is(.Button_btn__hEu8M[data-button-size=medium],.Button_btn__hEu8M[data-button-size=small])>svg{height:var(--phx-icon-core-size-20);width:var(--phx-icon-core-size-20)}.Button_btn__hEu8M[data-button-size=medium]{block-size:var(--phx-space-core-36)}.Button_btn__hEu8M[data-button-size=small]{block-size:var(--phx-space-core-28)}.Button_btn__hEu8M[data-button-variant=fill]{background-color:var(--phx-color-fill-primary);color:var(--phx-color-text-invert)}.Button_btn__hEu8M[data-button-variant=fill]:is(:hover,:focus){background-color:var(--phx-color-fill-primary-hover)}.Button_btn__hEu8M[data-button-variant=fill][aria-disabled=true],.Button_btn__hEu8M[data-button-variant=fill][aria-disabled=true]:is(:hover,:focus,:active){background-color:var(--phx-color-fill-disabled)}.Button_btn__hEu8M[data-button-variant=outline]{color:var(--phx-color-text-primary);outline:1px solid currentcolor;outline-offset:-1px}.Button_btn__hEu8M[data-button-variant=outline]:is(:hover,:focus){background-color:var(--phx-color-fill-secondary-hover)}.Button_btn__hEu8M[data-button-variant=outline][aria-disabled=true],.Button_btn__hEu8M[data-button-variant=outline][aria-disabled=true]:is(:hover,:focus,:active){background-color:var(--phx-color-core-none);outline-color:var(--phx-color-border-subtle)}.Button_btn__hEu8M[data-button-variant=ghost]{color:var(--phx-color-text-primary)}.Button_btn__hEu8M[data-button-variant=ghost]:is(:hover,:focus){color:var(--phx-color-text-primary-hover)}.Button_btn__hEu8M[data-button-variant=ghost][aria-disabled=true]{background-color:var(--phx-color-core-none)}.Button_btn__hEu8M[aria-disabled=true],.Button_btn__hEu8M[aria-disabled=true]:is(:hover,:focus,:active){color:var(--phx-color-text-disabled)}}@layer phx.components{.Card_card__4vP3N{--atomics-card-background:var(--phx-color-background-primary);--atomics-card-border-color:var(--phx-color-border-subtle);--atomics-card-border-radius:var(--phx-radius-core-8);--atomics-card-focus-background:var(--phx-color-core-gray-100);--atomics-card-focus-color:var(--phx-color-secondary-subscription-500);--atomics-card-hover-background:var(--phx-color-core-gray-100);--atomics-card-padding:var(--phx-space-core-12)}[data-phx-theme=dark] .Card_card__4vP3N{--atomics-card-focus-background:var(--phx-color-core-gray-1000);--atomics-card-hover-background:var(--phx-color-core-gray-800)}.Card_card__4vP3N{background-color:var(--atomics-card-background);border:1px solid var(--atomics-card-border-color);border-radius:var(--atomics-card-border-radius);overflow:hidden;padding:var(--atomics-card-padding)}.Card_card__4vP3N:is(a,button){color:inherit;text-decoration:none;text-decoration:initial}.Card_card__4vP3N:is(a,button):is(:hover){background-color:var(--atomics-card-hover-background)}.Card_card__4vP3N:is(a,button):is(:focus-visible){background-color:var(--atomics-card-focus-background);outline:var(--phx-space-core-2) solid var(--atomics-card-focus-color);outline-offset:var(--phx-space-core-2)}.Card_card__4vP3N[data-padding="2"]{--atomics-card-padding:var(--phx-space-core-2)}.Card_card__4vP3N[data-padding="4"]{--atomics-card-padding:var(--phx-space-core-4)}.Card_card__4vP3N[data-padding="6"]{--atomics-card-padding:var(--phx-space-core-6)}.Card_card__4vP3N[data-padding="8"]{--atomics-card-padding:var(--phx-space-core-8)}.Card_card__4vP3N[data-padding="12"]{--atomics-card-padding:var(--phx-space-core-12)}.Card_card__4vP3N[data-padding="16"]{--atomics-card-padding:var(--phx-space-core-16)}.Card_card__4vP3N[data-padding="20"]{--atomics-card-padding:var(--phx-space-core-20)}.Card_card__4vP3N[data-padding="24"]{--atomics-card-padding:var(--phx-space-core-24)}.Card_card__4vP3N[data-padding="28"]{--atomics-card-padding:var(--phx-space-core-28)}.Card_card__4vP3N[data-padding="32"]{--atomics-card-padding:var(--phx-space-core-32)}.Card_card__4vP3N[data-padding="36"]{--atomics-card-padding:var(--phx-space-core-36)}.Card_card__4vP3N[data-padding="40"]{--atomics-card-padding:var(--phx-space-core-40)}.Card_card__4vP3N[data-padding="44"]{--atomics-card-padding:var(--phx-space-core-44)}.Card_card__4vP3N[data-padding="48"]{--atomics-card-padding:var(--phx-space-core-48)}.Chip_chip__FPJtZ{--atomics-chip-transition-duration:150ms;align-items:center;border:1px solid;border-radius:var(--phx-space-core-4);box-sizing:border-box;display:inline-flex;flex-shrink:0;font-family:inherit;font-size:var(--phx-font-core-size-14);font-weight:var(--phx-font-core-weight-medium);gap:var(--phx-space-core-4);line-height:var(--phx-font-core-line-height-100);white-space:nowrap}}@layer phx.components{:is(.Chip_chip__FPJtZ[data-chip-size=medium],.Chip_chip__FPJtZ[data-chip-size=small]) :is(svg){height:var(--phx-icon-core-size-16);width:var(--phx-icon-core-size-16)}.Chip_chip__FPJtZ[data-chip-size=medium]{block-size:var(--phx-space-core-36);padding:0 var(--phx-space-core-12)}.Chip_chip__FPJtZ[data-chip-size=small]{block-size:var(--phx-space-core-28);padding:0 var(--phx-space-core-8)}.Chip_chip__FPJtZ[data-chip-selected=false]{background-color:var(--phx-color-core-none);border-color:var(--phx-color-border-subtle);color:var(--phx-color-text-primary)}.Chip_chip__FPJtZ[data-chip-selected=true]{background-color:var(--phx-color-fill-primary);border-color:var(--phx-color-fill-primary);color:var(--phx-color-text-invert)}.Chip_chip__FPJtZ:is(a,button){color:inherit;cursor:pointer;text-decoration:none;text-decoration:initial;transition:background-color var(--atomics-chip-transition-duration) ease-out,color var(--atomics-chip-transition-duration) ease-out,border-color var(--atomics-chip-transition-duration) ease-out}.Chip_chip__FPJtZ[data-chip-selected=false]:is(a,button):is(:hover,:focus-visible){background-color:var(--phx-color-fill-secondary-hover)}.Chip_chip__FPJtZ[data-chip-selected=true]:is(a,button):is(:hover,:focus-visible){background-color:var(--phx-color-fill-primary-hover)}.Chip_chip__FPJtZ[aria-disabled=true]:is(a,button){color:var(--phx-color-text-disabled);cursor:default}.Chip_chip__FPJtZ[aria-disabled=true][data-chip-selected=false]:is(a,button){background-color:var(--phx-color-core-none);border-color:var(--phx-color-border-subtle)}.Chip_chip__FPJtZ[aria-disabled=true][data-chip-selected=true]:is(a,button){background-color:var(--phx-color-fill-disabled);border-color:var(--phx-color-fill-disabled)}.Chip_chip__FPJtZ[aria-disabled=true]:is(a,button):is(:hover,:focus-visible,:active){color:var(--phx-color-text-disabled)}.Chip_chip__FPJtZ[aria-disabled=true][data-chip-selected=false]:is(a,button):is(:hover,:focus-visible,:active){background-color:var(--phx-color-core-none)}.Chip_chip__FPJtZ[aria-disabled=true][data-chip-selected=true]:is(a,button):is(:hover,:focus-visible,:active){background-color:var(--phx-color-fill-disabled)}}@layer phx.components{.DetailCard_detailCard__QxqrM{--atomics-detail-card-media-bleed:calc(var(--atomics-card-padding)*-1);gap:var(--phx-space-core-12);padding:0}.DetailCard_detailCard__QxqrM>:where(.DetailCard_detailCardMarginableChild__s4eWx:first-child){margin-top:var(--atomics-card-padding)}.DetailCard_detailCard__QxqrM>:where(.DetailCard_detailCardMarginableChild__s4eWx:last-child){margin-bottom:var(--atomics-card-padding)}.DetailCard_detailCardHorizontalContent__ac8vK{padding-left:var(--atomics-card-padding);padding-right:var(--atomics-card-padding)}.DetailCard_detailCardHeader__MEHp9{padding:var(--atomics-card-padding)}:where(.DetailCard_detailCard__QxqrM[data-orientation=vertical]) .DetailCard_detailCardMedia__D20sS{padding-left:var(--atomics-card-padding);padding-right:var(--atomics-card-padding)}.DetailCard_detailCardMedia__D20sS[data-bleed-top]{margin-top:0}:where(.DetailCard_detailCard__QxqrM[data-orientation=horizontal]) .DetailCard_detailCardMedia__D20sS[data-bleed-top]{margin-top:var(--atomics-detail-card-media-bleed)}.DetailCard_detailCardMedia__D20sS[data-bleed-bottom]{margin-bottom:0}:where(.DetailCard_detailCard__QxqrM[data-orientation=horizontal]) .DetailCard_detailCardMedia__D20sS[data-bleed-bottom]{margin-bottom:var(--atomics-detail-card-media-bleed)}.DetailCard_detailCardMedia__D20sS[data-bleed-left]{margin-left:var(--atomics-detail-card-media-bleed)}.DetailCard_detailCardMedia__D20sS[data-bleed-right]{margin-right:var(--atomics-detail-card-media-bleed)}:where(.DetailCard_detailCard__QxqrM[data-orientation=vertical]) .DetailCard_detailCardBody__o4k76{padding-left:var(--atomics-card-padding);padding-right:var(--atomics-card-padding)}.DetailCard_detailCardFooter__5SVM8{margin-top:auto;padding:var(--atomics-card-padding)}.Drawer_backdrop__ozSG1,.Drawer_popup__nhwL2{--atomics-drawer-transition-duration:250ms;--atomics-drawer-backdrop-color:#0006}.Drawer_popup__nhwL2{--atomics-drawer-width:25.375rem;--atomics-drawer-height:50vh;--atomics-drawer-border-radius:var(--phx-radius-core-8);--atomics-drawer-shadow:0 0.3125rem 0.9375rem 0 #0000000f;--atomics-drawer-divider-color:var(--phx-color-border-subtle);background:var(--phx-color-background-primary);border:1px solid var(--phx-color-border-subtle);box-shadow:var(--atomics-drawer-shadow);position:fixed}.Drawer_popup__nhwL2[data-drawer-anchor=left],.Drawer_popup__nhwL2[data-drawer-anchor=right]{height:100vh;max-width:var(--atomics-drawer-width);top:0}}@layer phx.components{@media (prefers-reduced-motion:no-preference){.Drawer_popup__nhwL2[data-drawer-anchor=left],.Drawer_popup__nhwL2[data-drawer-anchor=right]{transition:all var(--atomics-drawer-transition-duration);transition-property:opacity,transform}[data-ending-style]:is(.Drawer_popup__nhwL2[data-drawer-anchor=right],.Drawer_popup__nhwL2[data-drawer-anchor=left]),[data-starting-style]:is(.Drawer_popup__nhwL2[data-drawer-anchor=right],.Drawer_popup__nhwL2[data-drawer-anchor=left]){opacity:0}}.Drawer_popup__nhwL2[data-drawer-anchor=right]{border-radius:var(--atomics-drawer-border-radius) 0 0 var(--atomics-drawer-border-radius);right:0}@media (prefers-reduced-motion:no-preference){.Drawer_popup__nhwL2[data-drawer-anchor=right][data-ending-style],.Drawer_popup__nhwL2[data-drawer-anchor=right][data-starting-style]{transform:translateX(100%)}}.Drawer_popup__nhwL2[data-drawer-anchor=left]{border-radius:0 var(--atomics-drawer-border-radius) var(--atomics-drawer-border-radius) 0;left:0}@media (prefers-reduced-motion:no-preference){.Drawer_popup__nhwL2[data-drawer-anchor=left][data-ending-style],.Drawer_popup__nhwL2[data-drawer-anchor=left][data-starting-style]{transform:translateX(-100%)}}.Drawer_popup__nhwL2[data-drawer-anchor=bottom],.Drawer_popup__nhwL2[data-drawer-anchor=top]{height:var(--atomics-drawer-height);left:0;transform:translateY(calc(var(--drawer-snap-point-offset, 0) + var(--drawer-swipe-movement-y, 0)));width:100vw}@media (prefers-reduced-motion:no-preference){.Drawer_popup__nhwL2[data-drawer-anchor=bottom],.Drawer_popup__nhwL2[data-drawer-anchor=top]{transition:all var(--atomics-drawer-transition-duration);transition-property:opacity,transform}[data-ending-style]:is(.Drawer_popup__nhwL2[data-drawer-anchor=top],.Drawer_popup__nhwL2[data-drawer-anchor=bottom]),[data-starting-style]:is(.Drawer_popup__nhwL2[data-drawer-anchor=top],.Drawer_popup__nhwL2[data-drawer-anchor=bottom]){opacity:0}}.Drawer_popup__nhwL2[data-drawer-anchor=top]{border-radius:0 0 var(--atomics-drawer-border-radius) var(--atomics-drawer-border-radius);top:0}@media (prefers-reduced-motion:no-preference){.Drawer_popup__nhwL2[data-drawer-anchor=top][data-ending-style],.Drawer_popup__nhwL2[data-drawer-anchor=top][data-starting-style]{transform:translateY(-100%)}}.Drawer_popup__nhwL2[data-drawer-anchor=bottom]{border-radius:var(--atomics-drawer-border-radius) var(--atomics-drawer-border-radius) 0 0;bottom:0;max-height:calc(100dvh - 1rem)}@media (prefers-reduced-motion:no-preference){.Drawer_popup__nhwL2[data-drawer-anchor=bottom][data-ending-style],.Drawer_popup__nhwL2[data-drawer-anchor=bottom][data-starting-style]{transform:translateY(100%)}}.Drawer_backdrop__ozSG1,.Drawer_viewport__FuhGz{inset:0;position:fixed}.Drawer_backdrop__ozSG1{background:var(--atomics-drawer-backdrop-color)}.Drawer_backdrop__ozSG1[data-backdrop=false]{--atomics-drawer-backdrop-color:var(--phx-color-core-none)}@media (prefers-reduced-motion:no-preference){.Drawer_backdrop__ozSG1{transition:opacity var(--atomics-drawer-transition-duration)}.Drawer_backdrop__ozSG1[data-ending-style],.Drawer_backdrop__ozSG1[data-starting-style]{opacity:0}}.Drawer_header__0_wi1{border-bottom:1px solid var(--atomics-drawer-divider-color);padding:var(--phx-space-core-24) var(--phx-space-core-16)}.Drawer_headerContent__UuKZr{min-width:-webkit-min-content;min-width:min-content}.Drawer_closeButtonSpacer__LJy8i{pointer-events:none;visibility:hidden}.Drawer_subtitle___U9XX,.Drawer_title__9BTYa{margin:0;text-align:center}.Drawer_title__9BTYa{color:var(--phx-color-text-primary)}.Drawer_subtitle___U9XX{color:var(--phx-color-text-secondary)}.Drawer_content__FPJ5m{flex:1;min-height:0}.Drawer_body__7lQNs{height:100%;overflow-y:auto}.Drawer_body__7lQNs,.Drawer_footer__ls2B_{padding:var(--phx-space-core-16)}.Drawer_footer__ls2B_{background-color:inherit;border-top:1px solid var(--atomics-drawer-divider-color);flex-shrink:0;grid-auto-columns:1fr;margin-top:auto}.Combobox_comboboxRoot__aDXv9{--atomics-combobox-border-color:var(--phx-color-border-subtle);--atomics-combobox-border-color-focus:var(--phx-color-border-extra-strong);--atomics-combobox-border-color-error:var(--phx-color-error-primary);--atomics-combobox-text-color:var(--phx-color-text-tertiary);--atomics-combobox-placeholder-color:var(--phx-color-text-disabled);--atomics-combobox-background-color:var(--phx-color-background-primary);--atomics-combobox-disabled-background-color:var( + --phx-color-fill-disabled + );--atomics-combobox-disabled-text-color:var(--phx-color-text-disabled);--atomics-combobox-error-text-color:var(--phx-color-error-primary-text);--atomics-combobox-trigger-height:2.25rem;--atomics-combobox-transition-duration:150ms}.Combobox_label__RjTZr{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.Combobox_trigger__wqwql{background-color:var(--atomics-combobox-background-color);border:none;border-radius:var(--phx-radius-core-8);color:var(--atomics-combobox-text-color);cursor:pointer;font-family:var(--phx-font-core-family-sans);font-size:var(--phx-font-core-size-14);height:var(--atomics-combobox-trigger-height);line-height:var(--phx-font-core-line-height-120);outline:1px solid var(--atomics-combobox-border-color);outline-offset:-1px;padding:0 var(--phx-space-core-12);text-align:left;transition:outline-color var(--atomics-combobox-transition-duration) ease;width:100%}}@layer phx.components{.Combobox_trigger__wqwql:focus-visible{outline:.125rem solid var(--atomics-combobox-border-color-focus);outline-offset:calc(var(--phx-space-core-2)*-1)}.Combobox_trigger__wqwql[data-disabled]{background-color:var(--atomics-combobox-disabled-background-color);color:var(--atomics-combobox-disabled-text-color);cursor:default}.Combobox_value__z8SBO{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Combobox_trigger__wqwql[data-placeholder] .Combobox_value__z8SBO,.Combobox_value__z8SBO:empty:before{color:var(--atomics-combobox-placeholder-color)}.Combobox_chevron__kAfzz{color:var(--atomics-combobox-text-color);transition:transform var(--atomics-combobox-transition-duration) ease}.Combobox_trigger__wqwql[data-popup-open] .Combobox_chevron__kAfzz{transform:rotate(180deg)}.Combobox_trigger__wqwql[data-disabled] .Combobox_chevron__kAfzz{color:var(--atomics-combobox-disabled-text-color)}.Combobox_popup__iVm_B{min-width:var(--anchor-width);z-index:2}.Combobox_errorText__z9R9n{color:var(--atomics-combobox-error-text-color);line-height:var(--phx-font-core-line-height-120);margin:0}.Combobox_comboboxRoot__aDXv9:has(.Combobox_errorText__z9R9n){--atomics-combobox-text-color:var(--phx-color-text-primary)}.Combobox_comboboxRoot__aDXv9:has(.Combobox_errorText__z9R9n) .Combobox_trigger__wqwql{outline-color:var(--atomics-combobox-border-color-error)}[data-popup-open]:is(.Combobox_comboboxRoot__aDXv9:has(.Combobox_errorText__z9R9n) .Combobox_trigger__wqwql){outline:var(--phx-space-core-2) solid var(--atomics-combobox-border-color-error);outline-offset:calc(var(--phx-space-core-2)*-1)}}@layer phx.components{.MenuItem_menuItem__2BHxF{cursor:pointer;min-height:2.75rem;padding:var(--phx-space-core-12)}.MenuItem_menuItem__2BHxF[data-highlighted]{background-color:var(--phx-color-core-gray-300)}[data-phx-theme=dark] .MenuItem_menuItem__2BHxF[data-selected]{background-color:var(--phx-color-core-gray-600)}.MenuItem_menuItem__2BHxF[data-disabled]{cursor:default}[data-highlighted]:is([data-phx-theme=dark] .MenuItem_menuItem__2BHxF){background-color:var(--phx-color-core-gray-600)}:is([data-phx-theme=dark] .MenuItem_menuItem__2BHxF):hover{color:var(--phx-color-text-primary-hover)}.MenuItem_menuItem__2BHxF.MenuItem_menuItemSpacer__PDjR7{height:0;min-height:0;overflow:hidden;padding-bottom:0;padding-top:0;visibility:hidden}@media (hover:hover){.MenuItem_menuItem__2BHxF:hover:not([data-disabled]){background-color:var(--phx-color-core-gray-200)}[data-phx-theme=dark] .MenuItem_menuItem__2BHxF:hover:not([data-disabled]){background-color:var(--phx-color-fill-secondary-hover)}}}@layer phx.components{.MenuInput_menuInput__1zmFU{background:#0000;border:none;border-radius:0;color:var(--phx-color-text-primary);font-family:var(--phx-font-core-family-sans);font-size:var(--phx-font-core-size-14);line-height:var(--phx-font-core-line-height-130);outline:none;padding:0}.MenuInput_menuInput__1zmFU::placeholder{color:var(--phx-color-core-gray-600)}.MenuInput_menuInput__1zmFU:focus{outline:none}.ComboboxMenu_menuContainer__BurCm{background-color:var(--phx-color-background-primary);border:1px solid var(--phx-color-core-gray-200);border-radius:var(--phx-space-core-4);box-shadow:.25rem .25rem .3125rem #00000026;overflow:hidden}.ComboboxMenu_srOnly__R4NH9{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ComboboxMenu_searchBar__g1JI8{border-bottom:1px solid var(--phx-color-core-gray-300);padding:var(--phx-space-core-12)}}@layer phx.components{.ComboboxMenu_searchBar__g1JI8:focus-within{border-radius:.375rem;outline:.125rem solid var(--phx-color-border-extra-strong);outline-offset:calc(var(--phx-space-core-2)*-1)}.ComboboxMenu_clearButton__D47eM,.ComboboxMenu_searchIcon__IVgsl{color:var(--phx-color-text-tertiary)}.ComboboxMenu_clearButton__D47eM{align-items:center;background:none;border:none;cursor:pointer;display:none;flex-shrink:0;padding:0}.ComboboxMenu_clearButton__D47eM:hover{color:var(--phx-color-text-primary)}.ComboboxMenu_searchBar__g1JI8:has(input:not(:placeholder-shown)) .ComboboxMenu_clearButton__D47eM{display:flex}.ComboboxMenu_searchBar__g1JI8:has(input:not(:placeholder-shown)) .ComboboxMenu_searchIcon__IVgsl{display:none}.ComboboxMenu_list__AEZo0{max-height:10.5rem;overflow-y:auto;scrollbar-color:var(--phx-color-core-gray-500) #0000;scrollbar-width:thin}.ComboboxMenu_empty__lmblo{color:var(--phx-color-core-gray-500);font-family:var(--phx-font-core-family-sans);font-size:var(--phx-font-core-size-14);font-weight:var(--phx-font-core-weight-regular);line-height:var(--phx-font-core-line-height-130)}.ComboboxMenu_empty__lmblo:empty{display:none}.ComboboxMenu_empty__lmblo:not(:empty){padding:var(--phx-space-core-12)}.ComboboxMenu_itemIndicator__0MhF0{color:var(--phx-color-text-primary)}.Dropdown_root__qcJEu{--atomics-dropdown-border-color:var(--phx-color-border-moderate);--atomics-dropdown-border-color-focus:var(--phx-color-border-extra-strong);--atomics-dropdown-border-color-error:var(--phx-color-error-primary);--atomics-dropdown-background-color:var(--phx-color-background-primary);--atomics-dropdown-disabled-background-color:var( + --phx-color-fill-disabled + );--atomics-dropdown-trigger-height:2.25rem}.Dropdown_root__qcJEu[data-dropdown-size=large]{--atomics-dropdown-trigger-height:3rem}.Dropdown_trigger__FTO1u{background-color:var(--atomics-dropdown-background-color);border:none;border-radius:var(--phx-radius-core-8);height:var(--atomics-dropdown-trigger-height);outline:1px solid var(--atomics-dropdown-border-color);outline-offset:-1px;padding:0 var(--phx-space-core-12);text-align:left}.Dropdown_trigger__FTO1u[data-popup-open]{outline:.125rem solid var(--atomics-dropdown-border-color-focus);outline-offset:-.125rem}}@layer phx.components{.Dropdown_trigger__FTO1u:focus-visible{outline:.125rem solid var(--atomics-dropdown-border-color-focus);outline-offset:-.125rem}.Dropdown_trigger__FTO1u[data-invalid]{outline-color:var(--atomics-dropdown-border-color-error)}.Dropdown_trigger__FTO1u[data-invalid]:focus-visible,.Dropdown_trigger__FTO1u[data-invalid][data-popup-open]{outline-color:var(--atomics-dropdown-border-color-error)}.Dropdown_trigger__FTO1u[data-disabled]{background-color:var(--atomics-dropdown-disabled-background-color);pointer-events:none}.Dropdown_value___qNc7{min-width:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.Dropdown_trigger__FTO1u[data-popup-open] .Dropdown_icon__ZQgxa{transform:rotate(180deg)}.Dropdown_popup__GkDN6{min-width:var(--anchor-width)}.Dropdown_popup__GkDN6[data-ending-style],.Dropdown_popup__GkDN6[data-starting-style]{opacity:0;transform:translateY(calc(var(--phx-space-core-4)*-1))}.Dropdown_popup__GkDN6[data-open]{opacity:1;transform:translateY(0)}.Dropdown_popupInner__JbRrD{background-color:var(--phx-color-background-primary);border:1px solid var(--phx-color-core-gray-200);border-radius:var(--phx-radius-core-8);box-shadow:.25rem .25rem .3125rem #00000026;overflow:hidden}[data-phx-theme=dark] .Dropdown_popupInner__JbRrD{border-color:var(--phx-color-core-gray-700)}.Dropdown_list__1dJwP{max-height:15.75rem;overflow-y:auto;scrollbar-color:var(--phx-color-core-gray-500) #0000;scrollbar-width:thin}.Dropdown_indicator__m_LbM{height:.75rem;width:.75rem}.Dropdown_errorText__YXtDi,.Dropdown_helpText__AKBli{margin:0}.Input_inputRoot__G24K_{--atomics-input-border-color:var(--phx-color-border-subtle);--atomics-input-border-color-focus:var(--phx-color-border-extra-strong);--atomics-input-border-color-error:var(--phx-color-error-primary);--atomics-input-text-color:var(--phx-color-text-primary);--atomics-input-label-color:var(--phx-color-text-tertiary);--atomics-input-label-color-focus:var(--phx-color-text-primary);--atomics-input-placeholder-color:var(--phx-color-text-disabled);--atomics-input-background-color:var(--phx-color-background-primary);--atomics-input-disabled-background-color:var(--phx-color-fill-disabled);--atomics-input-disabled-text-color:var(--phx-color-text-disabled);--atomics-input-error-text-color:var(--phx-color-error-primary-text);--atomics-input-help-text-color:var(--phx-color-text-tertiary);--atomics-input-transition-duration:150ms;--atomics-input-padding-horizontal:var(--phx-space-core-16);--atomics-input-padding-vertical:var(--phx-space-core-12);--atomics-input-label-padding:var(--phx-space-core-4);--atomics-input-label-offset:calc(var(--atomics-input-label-font-size)/2);--atomics-input-icon-padding:var(--phx-space-core-40);--atomics-input-icon-right:var(--phx-space-core-16);--atomics-input-height:3rem;--atomics-input-font-size:var(--phx-font-core-size-16);--atomics-input-label-font-size:var(--phx-font-core-size-12)}.Input_label__PFTMK{color:var(--atomics-input-label-color);transition:color var(--atomics-input-transition-duration) ease}}@layer phx.components{:is(.Input_inputRoot__G24K_[data-input-variant=line],.Input_inputRoot__G24K_[data-input-variant=outline]) .Input_label__PFTMK{height:1px;margin:-1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.Input_inputRoot__G24K_[data-input-variant=outline-label]{position:relative}.Input_inputRoot__G24K_[data-input-variant=outline-label] .Input_label__PFTMK{background-color:var(--atomics-input-background-color);left:calc(var(--atomics-input-padding-horizontal) - var(--atomics-input-label-padding));opacity:0;padding:0 var(--atomics-input-label-padding);position:absolute;top:var(--atomics-input-label-offset);transform:translateY(-50%);transition:opacity 0s,visibility var(--atomics-input-transition-duration) ease;visibility:hidden;z-index:1}:is(.Input_inputRoot__G24K_[data-input-variant=outline-label][data-focused],.Input_inputRoot__G24K_[data-input-variant=outline-label][data-filled]) .Input_label__PFTMK{opacity:1;visibility:visible}.Input_inputRoot__G24K_[data-input-variant=outline-label][data-focused] .Input_label__PFTMK{color:var(--atomics-input-label-color-focus)}.Input_inputRoot__G24K_[data-input-variant=outline-label] .Input_inputWrapper__RQ977{margin-top:var(--atomics-input-label-offset)}.Input_inputWrapper__RQ977{position:relative;width:100%}.Input_inputWrapper__RQ977:has(.Input_icon__tgR_J) .Input_input__3mFqW{padding-right:var(--atomics-input-icon-padding)}.Input_input__3mFqW{background-color:var(--atomics-input-background-color);border:none;border-radius:var(--phx-radius-core-8);color:var(--atomics-input-text-color);font-family:var( + --phx-font-core-family-sans + );font-size:var(--atomics-input-font-size);height:var(--atomics-input-height);line-height:var(--phx-font-core-line-height-150);outline:1px solid var(--atomics-input-border-color);outline-offset:-1px;padding:var(--atomics-input-padding-vertical) var(--atomics-input-padding-horizontal);transition:outline-color var(--atomics-input-transition-duration) ease;width:100%}.Input_input__3mFqW ::placeholder{color:var(--atomics-input-placeholder-color);opacity:1}.Input_input__3mFqW[data-focused]{outline:.125rem solid var(--atomics-input-border-color-focus);outline-offset:-.125rem}.Input_input__3mFqW[data-disabled]{background-color:var(--atomics-input-disabled-background-color);color:var(--atomics-input-disabled-text-color)}.Input_inputRoot__G24K_[data-input-variant=line] .Input_input__3mFqW{border:none;border-bottom:1px solid var(--atomics-input-border-color);border-radius:0;outline:none;padding-left:0;padding-right:0}[data-focused]:is(.Input_inputRoot__G24K_[data-input-variant=line] .Input_input__3mFqW){border-bottom:.125rem solid var(--atomics-input-border-color-focus)}.Input_inputRoot__G24K_[data-input-size=small]{--atomics-input-padding-horizontal:var(--phx-space-core-12);--atomics-input-padding-vertical:var(--phx-space-core-8);--atomics-input-font-size:var(--phx-font-core-size-14);--atomics-input-icon-padding:var(--phx-space-core-32);--atomics-input-icon-right:var(--phx-space-core-12);--atomics-input-height:2.25rem}.Input_icon__tgR_J{position:absolute;right:var(--atomics-input-icon-right);top:50%;transform:translateY(-50%)}.Input_helpText__pRKz_{color:var(--atomics-input-help-text-color);margin:0}.Input_errorText___tlIi{color:var(--atomics-input-error-text-color);margin:0}.Input_inputRoot__G24K_:has(.Input_errorText___tlIi) .Input_label__PFTMK,.Input_inputRoot__G24K_[data-focused]:has(.Input_errorText___tlIi) .Input_label__PFTMK{color:var(--atomics-input-error-text-color)}.Input_inputRoot__G24K_:has(.Input_errorText___tlIi) .Input_input__3mFqW{outline-color:var(--atomics-input-border-color-error)}[data-focused]:is(.Input_inputRoot__G24K_:has(.Input_errorText___tlIi) .Input_input__3mFqW){outline:.125rem solid var(--atomics-input-border-color-error);outline-offset:-.125rem}.Input_inputRoot__G24K_[data-input-variant=line]:has(.Input_errorText___tlIi) .Input_input__3mFqW{border-bottom-color:var(--atomics-input-border-color-error)}[data-focused]:is(.Input_inputRoot__G24K_[data-input-variant=line]:has(.Input_errorText___tlIi) .Input_input__3mFqW){border:none;border-bottom:.125rem solid var(--atomics-input-border-color-error);outline:none}}@layer phx.components{.Switch_switch__h4w1G{--atomics-switch-active-color:var(--phx-color-secondary-subscription-500);--atomics-switch-active-color-hover:var( + --phx-color-secondary-subscription-100 + );--atomics-switch-inactive-color:var(--phx-color-core-gray-300);--atomics-switch-inactive-color-hover:var(--phx-color-core-gray-100);--atomics-switch-transition-duration:150ms}[data-phx-theme=dark] .Switch_switch__h4w1G{--atomics-switch-inactive-color:var(--phx-color-core-gray-500);--atomics-switch-inactive-color-hover:var(--phx-color-core-gray-200)}.Switch_switch__h4w1G{align-items:center;-webkit-appearance:none;appearance:none;background-color:var(--atomics-switch-inactive-color);border:0;border-radius:1.875rem;display:flex;height:1.875rem;justify-content:flex-start;margin:0;padding:var(--phx-space-core-2);position:relative;transition-duration:var(--atomics-switch-transition-duration);transition-property:background-color;transition-timing-function:ease;width:3.5rem}.Switch_switch__h4w1G[data-checked]{background-color:var(--atomics-switch-active-color)}.Switch_switch__h4w1G:hover{cursor:pointer}.Switch_switch__h4w1G:focus-visible{outline:var(--phx-space-core-2) solid var(--atomics-switch-active-color);outline-offset:var(--phx-space-core-2)}.Switch_thumb__sjvmF{align-items:center;aspect-ratio:1/1;background-color:var(--phx-color-core-white);border-radius:100%;box-shadow:0 0 1px 0 #0000001a,0 1px var(--phx-space-core-2) 0 #00000026;color:var(--phx-color-core-gray-600);display:flex;height:100%;justify-content:center;position:relative;transition:background-color var(--atomics-switch-transition-duration) ease,translate var(--atomics-switch-transition-duration) ease}.Switch_thumb__sjvmF[data-checked]{color:var(--atomics-switch-active-color);translate:1.625rem 0}.Switch_switch__h4w1G:hover .Switch_thumb__sjvmF{background-color:var(--atomics-switch-inactive-color-hover)}.Switch_switch__h4w1G[data-checked]:hover .Switch_thumb__sjvmF{background-color:var(--atomics-switch-active-color-hover)}.Switch_thumb__sjvmF svg{height:var(--phx-icon-core-size-16);width:var(--phx-icon-core-size-16)}.IconButton_iconBtn__dg5zS{border-radius:50%}.IconButton_iconBtn__dg5zS[data-button-size=extra-small],.IconButton_iconBtn__dg5zS[data-button-size=large],.IconButton_iconBtn__dg5zS[data-button-size=medium],.IconButton_iconBtn__dg5zS[data-button-size=small]{padding:0}.IconButton_iconBtn__dg5zS[data-button-size=large]{block-size:var(--phx-space-core-44);min-inline-size:var(--phx-space-core-44)}.IconButton_iconBtn__dg5zS[data-button-size=medium]{block-size:var(--phx-space-core-36);min-inline-size:var(--phx-space-core-36)}.IconButton_iconBtn__dg5zS[data-button-size=medium]>svg{height:var(--phx-icon-core-size-24);width:var(--phx-icon-core-size-24)}.IconButton_iconBtn__dg5zS[data-button-size=small]{block-size:var(--phx-space-core-24);min-inline-size:var(--phx-space-core-24)}.IconButton_iconBtn__dg5zS[data-button-size=small]>svg{height:var(--phx-icon-core-size-16);width:var(--phx-icon-core-size-16)}.IconButton_iconBtn__dg5zS[data-button-size=small][data-button-variant=ghost]>svg{height:var(--phx-icon-core-size-24);width:var(--phx-icon-core-size-24)}.IconButton_iconBtn__dg5zS[data-button-size=extra-small]{block-size:var(--phx-space-core-20);min-inline-size:var(--phx-space-core-20)}.IconButton_iconBtn__dg5zS[data-button-size=extra-small]>svg{height:var(--phx-icon-core-size-12);width:var(--phx-icon-core-size-12)}.IconButton_iconBtn__dg5zS[data-button-size=extra-small][data-button-variant=ghost]>svg{height:var(--phx-icon-core-size-20);width:var(--phx-icon-core-size-20)}.IconButton_iconBtn__dg5zS[data-button-variant=outline]{outline-color:var(--phx-color-border-moderate)}}@layer phx.components{.IconButton_iconBtn__dg5zS[data-button-variant=outline]:is(:hover,:focus){outline-color:var(--phx-color-border-subtle)}}@layer phx.components{.Grid_grid__qtAzq{display:grid}.List_list__K_lgQ{display:flex;flex-direction:column}.List_list__K_lgQ[data-list-gap="2"]{gap:var(--phx-space-core-2)}.List_list__K_lgQ[data-list-gap="4"]{gap:var(--phx-space-core-4)}.List_list__K_lgQ[data-list-gap="6"]{gap:var(--phx-space-core-6)}.List_list__K_lgQ[data-list-gap="8"]{gap:var(--phx-space-core-8)}.List_list__K_lgQ[data-list-gap="12"]{gap:var(--phx-space-core-12)}.List_list__K_lgQ[data-list-gap="16"]{gap:var(--phx-space-core-16)}.List_list__K_lgQ[data-list-gap="20"]{gap:var(--phx-space-core-20)}.List_list__K_lgQ[data-list-gap="24"]{gap:var(--phx-space-core-24)}.List_list__K_lgQ[data-list-gap="28"]{gap:var(--phx-space-core-28)}.List_list__K_lgQ[data-list-gap="32"]{gap:var(--phx-space-core-32)}.List_list__K_lgQ[data-list-gap="36"]{gap:var(--phx-space-core-36)}.List_list__K_lgQ[data-list-gap="40"]{gap:var(--phx-space-core-40)}.List_list__K_lgQ[data-list-gap="44"]{gap:var(--phx-space-core-44)}.List_list__K_lgQ[data-list-gap="48"]{gap:var(--phx-space-core-48)}.List_list__K_lgQ[data-list-variant=unstyled]{list-style:none}.List_list__K_lgQ[data-list-variant=unordered]{list-style-type:disc}.List_list__K_lgQ[data-list-variant=ordered]{list-style-type:decimal}.Modal_popup__5shbF{--atomics-modal-width-medium:25.375rem;--atomics-modal-width-large:38.625rem;--atomics-modal-max-height:80vh;--atomics-modal-border-radius:var(--phx-radius-core-8);--atomics-modal-shadow:0 0.3125rem 0.9375rem 0 #0000000f;--atomics-modal-divider-color:var(--phx-color-border-subtle);background:var(--phx-color-background-primary);border:1px solid var(--phx-color-border-subtle);border-radius:var(--atomics-modal-border-radius);box-shadow:var(--atomics-modal-shadow);left:50%;max-height:var(--atomics-modal-max-height);position:fixed;top:50%;transform:translate(-50%,-50%)}}@layer phx.components{@media (prefers-reduced-motion:no-preference){.Modal_popup__5shbF{transition:all .15s;transition-property:opacity,transform}.Modal_popup__5shbF[data-ending-style],.Modal_popup__5shbF[data-starting-style]{opacity:0;transform:translate(-50%,-50%) scale(.9)}}.Modal_popup__5shbF[data-modal-size=medium]{width:var(--atomics-modal-width-medium)}.Modal_popup__5shbF[data-modal-size=large]{width:var(--atomics-modal-width-large)}.Modal_backdrop__XuVyK{background:#0006;inset:0;position:fixed}@media (prefers-reduced-motion:no-preference){.Modal_backdrop__XuVyK{transition:opacity .15s}.Modal_backdrop__XuVyK[data-ending-style],.Modal_backdrop__XuVyK[data-starting-style]{opacity:0}}.Modal_header__wI7jI{border-bottom:1px solid var(--atomics-modal-divider-color);padding:var(--phx-space-core-24) var(--phx-space-core-16)}.Modal_headerContent__tPU4Y{min-width:-webkit-min-content;min-width:min-content}.Modal_closeButtonSpacer__NalAn{pointer-events:none;visibility:hidden}.Modal_title__SzUtn{color:var(--phx-color-text-primary)}.Modal_subtitle__vXBEp,.Modal_title__SzUtn{margin:0;text-align:center}.Modal_subtitle__vXBEp{color:var(--phx-color-text-secondary)}.Modal_body__S4dzL{overflow-y:auto}.Modal_body__S4dzL,.Modal_footer__pUXkr{padding:var(--phx-space-core-16)}.Modal_footer__pUXkr{border-top:1px solid var(--atomics-modal-divider-color);grid-auto-columns:1fr}.UtilityButton_utilityBtn__liXoz{border-radius:999em}.UtilityButton_utilityBtn__liXoz[data-button-size=large]{block-size:var(--phx-space-core-44);font-size:var(--phx-font-core-size-14)}.UtilityButton_utilityBtn__liXoz[data-button-size=large]>svg{height:var(--phx-icon-core-size-20);width:var(--phx-icon-core-size-20)}.UtilityButton_utilityBtn__liXoz[data-button-variant=outline]{outline-color:var(--phx-color-border-moderate)}}@layer phx.components{.UtilityButton_utilityBtn__liXoz[data-button-variant=outline]:is(:hover,:focus){outline-color:var(--phx-color-border-subtle)}} \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/9491-37f1513243ddd3ac_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/9491-37f1513243ddd3ac_05Q6.js new file mode 100644 index 0000000..a9c7fb5 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/9491-37f1513243ddd3ac_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9491],{20296:function(e){function t(e,t,l){function n(){var u=Date.now()-c;u=0?r=setTimeout(n,t-u):(r=null,l||(a=e.apply(o,i),o=i=null))}null==t&&(t=100);var r,i,o,c,a,u=function(){o=this,i=arguments,c=Date.now();var u=l&&!r;return r||(r=setTimeout(n,t)),u&&(a=e.apply(o,i),o=i=null),a};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(a=e.apply(o,i),o=i=null,clearTimeout(r),r=null)},u}t.debounce=t,e.exports=t},25434:function(e,t,l){"use strict";l.d(t,{f:function(){return i}});var n=l(67294),r=l(77536);function i(){for(var e=arguments.length,t=Array(e),l=0;lt.map(e=>(0,r.lV)(e)),[t])}},77536:function(e,t,l){"use strict";l.d(t,{Ds:function(){return C},Mc:function(){return w},Mg:function(){return m},RD:function(){return u},Sh:function(){return h},dl:function(){return v},lV:function(){return a},vw:function(){return f}});var n=l(90512),r=l(20296),i=l.n(r);let o=new Set(["gif","png"]),c=[220,480,640,720,960,1020,1200,1280,1400,1800,2e3];function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/(^[A-Z])/,e=>{let[t]=e;return(t||"").toLowerCase()}).replace(/([A-Z])/g,e=>{let[t]=e;return"-".concat((t||"").toLowerCase())}).replace(/[^A-Z0-9]/gi,"-").replace(/-{1,}/g,"-").replace(/^-|-$/g,"")}let u=function(){for(var e=arguments.length,t=Array(e),l=0;l{var l;return Array.from(new Set(u((null==t?void 0:t.unstyled)?"":e,(null==t?void 0:t.className)||"",(l=null==t?void 0:t.name)?"".concat(a(l)):"").split(" "))).join(" ")};function C(e,t,l){return i()(e,t,l)}function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=e.split(".").pop()||"",u=i&&"png"===a||!o.has(a);if(!e||!u||!n)return"";let h=[];return n.map(n=>{let i=Math.min(n,t);return h[i]?null:(h[i]=!0,e.replace(/^http:\/\//,"//").replace(/^\/\//,"https://").replace(/(\/)(-*\d+x-*\d+)(.\w+)$/,"$1".concat(i*r,"x").concat(l>0?Math.round(i/t*l):-1,"$3 ").concat(i,"w")))}).filter(Boolean).join(", ")}function m(e){return 0===e?"neutral":e>0?"positive":"negative"}function w(){return Math.random().toString(16).slice(2)}function f(e){var t;return!!e&&"string"==typeof e&&(null===(t=e.split("-")[0])||void 0===t?void 0:t.toLowerCase())==="ja"}},70390:function(e,t,l){"use strict";l.d(t,{AC:function(){return o},BR:function(){return M},CH:function(){return h},CJ:function(){return et},DM:function(){return V},HE:function(){return I},HN:function(){return O},I8:function(){return H},II:function(){return C},KW:function(){return el},Kh:function(){return E},Ov:function(){return _},_M:function(){return L},_Q:function(){return p},_Z:function(){return Z},_z:function(){return r},am:function(){return W},c3:function(){return j},et:function(){return q},fh:function(){return F},fv:function(){return Y},h6:function(){return b},hE:function(){return v},hY:function(){return G},ie:function(){return y},kF:function(){return g},n$:function(){return z},oI:function(){return ee},of:function(){return w},ol:function(){return u},pr:function(){return S},s$:function(){return s},s1:function(){return A},sh:function(){return K},sk:function(){return m},tL:function(){return er},v3:function(){return N},v8:function(){return P},vu:function(){return T},yv:function(){return d}});var n=l(67294);function r(e){let{width:t=24,height:l=24}=e;return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:l},n.createElement("path",{d:"M.594.695l-.594.7v10.707c0 10.488.008 10.718.477 11.3.73.914 1.933.82 4.039-.324.933-.508 1.8-1.113 1.925-1.344.407-.746.266-1.55-.336-1.937-.48-.309-.699-.324-1.421-.09-.79.258-.891.238-1.274-.23-.387-.465-.422-1.079-.422-7.563 0-6.023.055-7.133.36-7.562.199-.278.562-.504.816-.504.504 0 12.707 6.804 13.414 7.48.848.809.258 1.332-3.883 3.457-2.105 1.086-3.851 1.969-3.875 1.969-.023 0-.011-.996.028-2.215.062-1.98.02-2.281-.422-2.832-.586-.734-1.371-.789-1.973-.137-.39.426-.437.856-.437 4.059 0 3.476.015 3.598.558 4.164.348.367.805.586 1.219.586.785 0 12.71-6.29 13.613-7.176l.586-.578.067 5.066c.035 2.786.066.172.066-5.804 0-5.977-.031-8.582-.066-5.793l-.067 5.078-.629-.586C22.02 10.262 17.547 7.75 12.426 5 2.012-.594 1.773-.68.594.695M.105 12.113c0 5.977.032 8.39.067 5.364.035-3.032.035-7.922 0-10.872-.035-2.949-.067-.468-.067 5.508m7.407-4c-.692.75-.301 2.239.613 2.328 1.445.145 2.223-1.093 1.406-2.238-.441-.625-1.488-.668-2.02-.09",fillRule:"evenodd",fill:"#04accc"}))}var i="Apple";function o(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":i},n.createElement("title",null,i),n.createElement("path",{d:"M12.3789 6.61539C13.2816 6.61539 14.4132 6.00509 15.0871 5.19135C15.6974 4.45391 16.1424 3.42403 16.1424 2.39415C16.1424 2.25429 16.1297 2.11443 16.1043 2C15.0998 2.03814 13.8919 2.67387 13.1672 3.52575C12.595 4.17419 12.0737 5.19135 12.0737 6.23395C12.0737 6.38652 12.0992 6.5391 12.1119 6.58996C12.1755 6.60267 12.2772 6.61539 12.3789 6.61539Z",fill:"currentColor"}),n.createElement("path",{d:"M9.20025 22C10.4336 22 10.9803 21.1736 12.5188 21.1736C14.0826 21.1736 14.4259 21.9746 15.7991 21.9746C17.1469 21.9746 18.0496 20.7286 18.9015 19.508C19.8551 18.1094 20.2492 16.7362 20.2746 16.6726C20.1856 16.6472 17.6046 15.5919 17.6046 12.6294C17.6046 10.061 19.6389 8.90401 19.7533 8.81501C18.4056 6.8824 16.3585 6.83154 15.7991 6.83154C14.2861 6.83154 13.0528 7.74699 12.2772 7.74699C11.438 7.74699 10.3318 6.8824 9.02225 6.8824C6.5302 6.8824 4 8.94216 4 12.8328C4 15.2486 4.94088 17.8042 6.0979 19.4571C7.08964 20.8557 7.95423 22 9.20025 22Z",fill:"currentColor"}))}var c="0 0 24 24",a="0 0 24 20";function u(e){let{className:t}=e;return n.createElement("svg",{className:t,width:"24",height:"24",viewBox:c,fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Arrow Right",role:"img"},n.createElement("title",null,"Arrow Right"),n.createElement("path",{d:"M10.9247 19.7635L11.7129 20.5597L20 12.2799L11.7129 4L10.9247 4.79618L17.8381 11.7169H4V12.8428H17.8381L10.9247 19.7635Z",fill:"currentColor"}))}function h(e){let{small:t=!1,className:l,width:r,height:i}=e;return n.createElement("svg",{className:l,width:r||(t?"12":"24"),height:i||(t?"10":"24"),viewBox:t?a:c,preserveAspectRatio:"xMidYMid meet",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"Arrow Up"},n.createElement("title",null,"Arrow Up"),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:t?"M12 0L24 20L0 20L12 0Z":"M12 6L18 16L6 16L12 6Z",fill:"currentColor"}))}function C(e){let{small:t=!1,className:l,width:r,height:i}=e;return n.createElement("svg",{className:l,width:r||(t?"12":"24"),height:i||(t?"10":"24"),viewBox:t?a:c,preserveAspectRatio:"xMidYMid meet",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Arrow Down",role:"img"},n.createElement("title",null,"Arrow Down"),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:t?"M12 20L0 0L24 0L12 20Z":"M12 18L6 8L18 8L12 18Z",fill:"currentColor"}))}function v(){return n.createElement("svg",{width:"100%",height:"100%",version:"1.1",viewBox:"429.6 479.5 476.4 96.1",xmlns:"http://www.w3.org/2000/svg",role:"img",fill:"currentColor","aria-label":"Bloomberg","data-component":"bloombergLogo"},n.createElement("rect",{fill:"none",x:"429.5",y:"479.5",width:"480.2",height:"100.2"}),n.createElement("path",{fill:"currentColor",d:"m442.1 491.9h10.4c9.5 0 13.6 3 13.6 9.1 0 5.3-4.2 8.9-12.5 8.9h-11.4v-18zm-12.5 59.7h25.4c13.3 0 26.7-4.8 26.7-20.1 0-9.1-6.4-16-15.2-17v-0.2c7.3-2.2 12.2-7.5 12.2-15.4 0-12.8-10.9-17.7-21.6-17.7h-27.5v70.4zm12.5-31h12c10.2 0 14.9 2.6 14.9 10 0 9.3-9 10.4-15.4 10.4h-11.5v-20.4z"}),n.createElement("path",{fill:"currentColor",d:"m489.8 479.5h11.9v72.1h-11.9v-72.1z"}),n.createElement("path",{fill:"currentColor",d:"m521.7 527.7c0-7.5 5.3-14.3 14-14.3 8.8 0 14 6.9 14 14.3 0 7.5-5.3 14.3-14 14.3-8.7 0.1-14-6.8-14-14.3zm-11.9 0c0 15 11.5 25.1 26 25.1 14.4 0 26-10.1 26-25.1s-11.5-25.1-26-25.1c-14.5 0.1-26 10.1-26 25.1z"}),n.createElement("path",{fill:"currentColor",d:"m579.1 527.7c0-7.5 5.3-14.3 14-14.3 8.8 0 14 6.9 14 14.3 0 7.5-5.3 14.3-14 14.3-8.8 0.1-14-6.8-14-14.3zm-12 0c0 15 11.5 25.1 26 25.1 14.4 0 26-10.1 26-25.1s-11.5-25.1-26-25.1c-14.4 0.1-26 10.1-26 25.1z"}),n.createElement("path",{fill:"currentColor",d:"m626.4 503.9h11.3v7.5h0.2c2.1-4.5 6.7-8.7 14.6-8.7 7.4 0 12.4 2.9 14.9 8.9 3.5-6.1 8.6-8.9 15.7-8.9 12.7 0 17.2 9.1 17.2 20.5v28.5h-11.9v-27.1c0-6-1.8-11.1-8.9-11.1-7.5 0-10.3 6.2-10.3 12.3v25.9h-11.9v-28.5c0-5.9-2.4-9.8-8.2-9.8-7.9 0-10.9 5.8-10.9 12.1v26.1h-11.9v-47.7z"}),n.createElement("path",{fill:"currentColor",d:"m749.7 527.7c0 7.5-5.3 14.3-14 14.3-8.8 0-14-6.9-14-14.3 0-7.5 5.3-14.3 14-14.3s14 6.9 14 14.3zm-39.6 23.9h11.3v-7.2h0.2c3.5 5.8 9.8 8.4 16.4 8.4 14.7 0 23.6-10.9 23.6-25.1 0-14.1-9.5-25.1-23.1-25.1-9 0-13.7 4.2-16.2 7.3h-0.3v-30.4h-11.9v72.1z"}),n.createElement("path",{fill:"currentColor",d:"m779 523c0.9-6.9 5.3-11.3 12.3-11.3 7.5 0 12 4.4 12.1 11.3h-24.4zm36.4 8.9v-3.3c0-16.6-9.1-26-22.4-26-14.4 0-26 10.1-26 25.1s11.5 25.1 26 25.1c7.6 0 14.6-2.7 20.2-9.6l-8.6-6.5c-3 3.7-6.9 6.5-12.8 6.5-6.7 0-12-4.3-12.8-11.3h36.4z"}),n.createElement("path",{fill:"currentColor",d:"m823.2 503.9h11.9v7.6h0.2c2.6-5.5 7.9-8.8 14.1-8.8 1.5 0 2.9 0.3 4.3 0.7v11.5c-2-0.5-3.9-0.9-5.8-0.9-11.2 0-12.8 9.5-12.8 12v25.6h-11.9v-47.7z"}),n.createElement("path",{fill:"currentColor",d:"m880.5 513.4c8.7 0 14.1 5.8 14.1 14 0 8-5.4 14-14.2 14-8.1 0-14-6.3-14-13.8 0-8.4 5.7-14.2 14.1-14.2zm14.1-9.5v7.2h-0.2c-3.5-5.8-9.8-8.4-16.4-8.4-14.7 0-23.6 11-23.6 25.1 0 13.5 9.5 24.5 23.8 24.5 6 0 12.1-2.3 15.6-7h0.2v3.5c0 9.5-3.6 16-15.1 16-6.7 0-11.6-2.5-16.4-6.9l-7.2 9.8c6.8 6 14.8 7.9 23.7 7.9 18.6 0 27-10.9 27-28.2v-43.5h-11.4z"}))}function m(){return n.createElement("svg",{width:"100%",height:"100%",version:"1.0",viewBox:"329 600 638.93 96.1",xmlns:"http://www.w3.org/2000/svg",role:"img",fill:"currentColor","aria-label":"Bloomberg UK","data-component":"bloombergLogoUK"},n.createElement("path",{d:"m341.5 612.4h10.4c9.5 0 13.6 3 13.6 9.1 0 5.3-4.2 8.9-12.5 8.9h-11.4v-18h-0.1zm-12.5 59.7h25.4c13.3 0 26.7-4.8 26.7-20.1 0-9.1-6.4-16-15.2-17v-0.2c7.3-2.2 12.2-7.5 12.2-15.4 0-12.8-10.9-17.7-21.6-17.7h-27.5v70.4zm12.5-31h12c10.2 0 14.9 2.6 14.9 10 0 9.3-9 10.4-15.4 10.4h-11.5v-20.4z",fill:"currentColor"}),n.createElement("path",{d:"m389.2 600h11.9v72.1h-11.9v-72.1z",fill:"currentColor"}),n.createElement("path",{d:"m421.1 648.2c0-7.5 5.3-14.3 14-14.3 8.8 0 14 6.9 14 14.3 0 7.5-5.3 14.3-14 14.3-8.7 0.1-14-6.8-14-14.3zm-11.9 0c0 15 11.5 25.1 26 25.1 14.4 0 26-10.1 26-25.1s-11.5-25.1-26-25.1c-14.5 0.1-26 10.1-26 25.1z",fill:"currentColor"}),n.createElement("path",{d:"m478.5 648.2c0-7.5 5.3-14.3 14-14.3 8.8 0 14 6.9 14 14.3 0 7.5-5.3 14.3-14 14.3-8.8 0.1-14-6.8-14-14.3zm-12 0c0 15 11.5 25.1 26 25.1 14.4 0 26-10.1 26-25.1s-11.5-25.1-26-25.1c-14.4 0.1-26 10.1-26 25.1z",fill:"currentColor"}),n.createElement("path",{d:"m525.8 624.4h11.3v7.5h0.2c2.1-4.5 6.7-8.7 14.6-8.7 7.4 0 12.4 2.9 14.9 8.9 3.5-6.1 8.6-8.9 15.7-8.9 12.7 0 17.2 9.1 17.2 20.5v28.5h-11.9v-27.1c0-6-1.8-11.1-8.9-11.1-7.5 0-10.3 6.2-10.3 12.3v25.9h-11.9v-28.5c0-5.9-2.4-9.8-8.2-9.8-7.9 0-10.9 5.8-10.9 12.1v26.1h-11.9v-47.7h0.1z",fill:"currentColor"}),n.createElement("path",{d:"m649.1 648.2c0 7.5-5.3 14.3-14 14.3-8.8 0-14-6.9-14-14.3 0-7.5 5.3-14.3 14-14.3s14 6.9 14 14.3zm-39.6 23.9h11.3v-7.2h0.2c3.5 5.8 9.8 8.4 16.4 8.4 14.7 0 23.6-10.9 23.6-25.1 0-14.1-9.5-25.1-23.1-25.1-9 0-13.7 4.2-16.2 7.3h-0.3v-30.4h-11.9v72.1z",fill:"currentColor"}),n.createElement("path",{d:"m678.4 643.5c0.9-6.9 5.3-11.3 12.3-11.3 7.5 0 12 4.4 12.1 11.3h-24.4zm36.4 8.9v-3.3c0-16.6-9.1-26-22.4-26-14.4 0-26 10.1-26 25.1s11.5 25.1 26 25.1c7.6 0 14.6-2.7 20.2-9.6l-8.6-6.5c-3 3.7-6.9 6.5-12.8 6.5-6.7 0-12-4.3-12.8-11.3h36.4z",fill:"currentColor"}),n.createElement("path",{d:"m722.6 624.4h11.9v7.6h0.2c2.6-5.5 7.9-8.8 14.1-8.8 1.5 0 2.9 0.3 4.3 0.7v11.5c-2-0.5-3.9-0.9-5.8-0.9-11.2 0-12.8 9.5-12.8 12v25.6h-11.9v-47.7z",fill:"currentColor"}),n.createElement("path",{d:"m779.9 633.9c8.7 0 14.1 5.8 14.1 14 0 8-5.4 14-14.2 14-8.1 0-14-6.3-14-13.8 0-8.4 5.7-14.2 14.1-14.2zm14.1-9.5v7.2h-0.2c-3.5-5.8-9.8-8.4-16.4-8.4-14.7 0-23.6 11-23.6 25.1 0 13.5 9.5 24.5 23.8 24.5 6 0 12.1-2.3 15.6-7h0.2v3.5c0 9.5-3.6 16-15.1 16-6.7 0-11.6-2.5-16.4-6.9l-7.2 9.8c6.8 6 14.8 7.9 23.7 7.9 18.6 0 27-10.9 27-28.2v-43.5h-11.4z",fill:"currentColor"}),n.createElement("path",{d:"m895.48 647.47c0 4.108-0.706 7.83-2.118 11.167-1.412 3.273-3.337 6.065-5.776 8.375-2.438 2.311-5.326 4.108-8.664 5.391-3.337 1.22-6.963 1.83-10.878 1.83s-7.541-0.61-10.878-1.83c-3.337-1.283-6.257-3.08-8.76-5.391-2.439-2.31-4.364-5.102-5.776-8.375-1.348-3.337-2.022-7.059-2.022-11.167v-43.127h12.13v42.646c0 1.99 0.256 3.979 0.77 5.969 0.513 1.925 1.348 3.658 2.503 5.198 1.219 1.54 2.791 2.792 4.717 3.754 1.989 0.963 4.428 1.444 7.316 1.444s5.295-0.481 7.22-1.444c1.99-0.962 3.562-2.214 4.717-3.754 1.22-1.54 2.086-3.273 2.599-5.198 0.514-1.99 0.771-3.979 0.771-5.969v-42.646h12.129v43.127z",fill:"currentColor"}),n.createElement("path",{d:"m908.54 604.34h12.13v29.457h0.289l28.495-29.457h16.365l-31.864 31.479 33.982 36.678h-17.039l-29.939-34.175h-0.289v34.175h-12.13v-68.157z",fill:"currentColor"}))}function w(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",role:"img",fill:"currentColor","aria-label":"Bloomberg Weekend","data-component":"bloombergLogoWeekend",width:"100%",height:"100%",viewBox:"0 0 756 80"},n.createElement("path",{fill:"currentColor",d:"M10.433 10.32h8.657c7.909 0 11.321 2.498 11.321 7.576 0 4.411-3.496 7.409-10.405 7.409h-9.489V10.32zM.03 60.017h21.143c11.07 0 22.225-3.996 22.225-16.732 0-7.575-5.328-13.318-12.653-14.151v-.166c6.077-1.832 10.155-6.243 10.155-12.82 0-10.654-9.073-14.733-17.98-14.733H.03zM10.433 34.21h9.99c8.49 0 12.403 2.164 12.403 8.324 0 7.741-7.492 8.657-12.82 8.657h-9.573zM50.11 0h9.904v60.016H50.11zM76.68 40.131c0-6.243 4.411-11.903 11.653-11.903 7.325 0 11.654 5.743 11.654 11.903 0 6.243-4.412 11.904-11.654 11.904-7.242.083-11.653-5.66-11.653-11.904m-9.906 0c0 12.486 9.572 20.893 21.643 20.893 11.986 0 21.641-8.407 21.641-20.893 0-12.485-9.571-20.893-21.642-20.893-12.07.083-21.642 8.408-21.642 20.893M124.459 40.131c0-6.243 4.412-11.903 11.653-11.903 7.326 0 11.654 5.743 11.654 11.903 0 6.243-4.411 11.904-11.654 11.904-7.325.083-11.653-5.66-11.653-11.904m-9.989 0c0 12.486 9.573 20.893 21.642 20.893 11.988 0 21.643-8.407 21.643-20.893 0-12.485-9.573-20.893-21.643-20.893-11.986.083-21.642 8.408-21.642 20.893M163.861 20.316h9.407v6.243h.166c1.748-3.745 5.577-7.241 12.154-7.241 6.159 0 10.321 2.414 12.402 7.408 2.914-5.078 7.159-7.408 13.069-7.408 10.572 0 14.317 7.575 14.317 17.064v23.723h-9.906V37.548c0-4.995-1.498-9.24-7.407-9.24-6.244 0-8.575 5.16-8.575 10.238v21.56h-9.905V36.381c0-4.911-1.998-8.157-6.826-8.157-6.576 0-9.073 4.827-9.073 10.071v21.726h-9.905V20.316zM266.476 40.121c0 6.243-4.413 11.904-11.654 11.904-7.325 0-11.654-5.743-11.654-11.904 0-6.242 4.411-11.903 11.654-11.903 7.241 0 11.654 5.744 11.654 11.903m-32.964 19.895h9.406v-5.993h.167c2.914 4.828 8.157 6.993 13.651 6.993 12.236 0 19.645-9.074 19.645-20.895 0-11.736-7.907-20.893-19.229-20.893-7.491 0-11.403 3.497-13.485 6.077h-.249V0h-9.906zM290.885 36.22c.749-5.744 4.412-9.407 10.238-9.407 6.243 0 9.989 3.663 10.072 9.406zm30.299 7.408V40.88c0-13.818-7.575-21.642-18.645-21.642-11.987 0-21.643 8.408-21.643 20.893s9.572 20.893 21.643 20.893c6.326 0 12.152-2.246 16.814-7.99l-7.158-5.41c-2.498 3.079-5.745 5.41-10.655 5.41-5.577 0-9.99-3.58-10.655-9.406zM327.653 20.316h9.905v6.327h.166c2.165-4.579 6.577-7.325 11.738-7.325 1.248 0 2.413.25 3.579.582v9.573c-1.665-.416-3.247-.75-4.828-.75-9.323 0-10.655 7.909-10.655 9.99v21.31h-9.905zM375.362 28.225c7.243 0 11.737 4.827 11.737 11.653 0 6.659-4.494 11.654-11.819 11.654-6.743 0-11.654-5.245-11.654-11.488 0-6.992 4.745-11.82 11.736-11.82m11.737-7.909v5.994h-.166c-2.914-4.828-8.157-6.992-13.652-6.992-12.235 0-19.644 9.156-19.644 20.893 0 11.237 7.907 20.394 19.811 20.394 4.994 0 10.072-1.914 12.985-5.827h.167v2.913c0 7.909-2.997 13.319-12.569 13.319-5.578 0-9.656-2.08-13.651-5.744l-5.994 8.157c5.66 4.995 12.319 6.577 19.728 6.577 15.483 0 22.475-9.073 22.475-23.474v-36.21zM755.914 60.022h-9.534V54.65h-.168c-2.76 4.6-8.196 5.955-13.8 5.955-12.212 0-19.739-8.465-19.739-20.174 0-11.877 8.029-21.077 19.488-21.077 7.36 0 11.375 3.68 13.466 6.273h.251V0h10.036zm-21.495-6.543c7.36 0 11.793-6.608 11.793-12.88 0-6.274-4.433-13.048-11.793-13.048-7.778 0-11.542 6.607-11.542 12.88s3.764 13.048 11.542 13.048M707.903 60.022h-10.037V38.424c0-4.768-1.087-10.706-7.528-10.706-6.356 0-9.367 5.52-9.367 10.873v21.431h-10.037V20.525h9.535v6.44h.167c1.757-4.015 6.524-7.611 12.463-7.611 10.454 0 14.804 8.03 14.804 16.226zM634.15 36.335c.749-5.743 4.412-9.406 10.239-9.406 6.243 0 9.988 3.663 10.072 9.406zm30.3 7.409v-2.748c0-13.818-7.575-21.642-18.646-21.642-11.987 0-21.643 8.408-21.643 20.893s9.573 20.893 21.643 20.893c6.327 0 12.153-2.246 16.814-7.99l-7.158-5.41c-2.497 3.08-5.744 5.41-10.655 5.41-5.577 0-9.989-3.58-10.655-9.406z"}),n.createElement("path",{fill:"currentColor",d:"M625.801 60.022h-13.298l-15.366-19.926h-.251v19.926H586.85V0h10.036v37.42h.251l14.697-16.895h12.88l-17.397 18.15zM550.064 36.335c.75-5.743 4.413-9.406 10.239-9.406 6.243 0 9.989 3.663 10.072 9.406zm30.3 7.409v-2.748c0-13.818-7.575-21.642-18.646-21.642-11.986 0-21.642 8.408-21.642 20.893s9.572 20.893 21.642 20.893c6.327 0 12.153-2.246 16.815-7.99l-7.158-5.41c-2.498 3.08-5.745 5.41-10.655 5.41-5.577 0-9.99-3.58-10.656-9.406zM505.37 36.335c.75-5.743 4.413-9.406 10.239-9.406 6.243 0 9.989 3.663 10.072 9.406zm30.3 7.409v-2.748c0-13.818-7.575-21.642-18.646-21.642-11.986 0-21.642 8.408-21.642 20.893s9.572 20.893 21.642 20.893c6.327 0 12.153-2.246 16.815-7.99l-7.158-5.41c-2.498 3.08-5.745 5.41-10.655 5.41-5.577 0-9.99-3.58-10.656-9.406zM480.513 60.022h-10.204L456.424 16.26h-.167l-13.884 43.763h-10.204L414.856 1.455h11.542l11.459 43.492h.167l13.048-43.492h10.873l12.797 43.492h.167l11.709-43.492h11.208z"}))}var f="Checkmark";function d(e){let{className:t,title:l}=e;return n.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":l||f},n.createElement("title",null,l||f),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM10.126 18.0042L18 8.03048L16.4921 6.84L9.95682 15.118L7.35852 12.5197L6 13.8782L10.126 18.0042Z",fill:"currentColor"}))}function g(e){let{className:t,title:l}=e;return n.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":f},n.createElement("title",null,l||f),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM10.126 18.0042L18 8.03048L16.4921 6.84L9.95682 15.118L7.35852 12.5197L6 13.8782L10.126 18.0042Z",fill:"currentColor"}))}function s(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Chevron Left",role:"img"},n.createElement("title",null,"Chevron Left"),n.createElement("path",{d:"M8.92155 11.9954L16.46 19.5387L14.9977 21L5.99798 11.9945L14.9982 3L16.4595 4.46225L8.92155 11.9954Z",fill:"currentColor"}))}function p(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"Chevron Right"},n.createElement("title",null,"Chevron Right"),n.createElement("path",{d:"M15.0784 12.0046L7.54 4.46132L9.00225 3L18.002 12.0055L9.00178 21L7.54047 19.5377L15.0784 12.0046Z",fill:"currentColor"}))}function E(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Chevron Up",role:"img"},n.createElement("title",null,"Chevron Up"),n.createElement("path",{d:"M12.0046 8.92154L4.46132 16.46L3 14.9977L12.0055 5.99797L21 14.9982L19.5377 16.4595L12.0046 8.92154Z",fill:"currentColor"}))}function L(e){let{title:t="Chevron Down"}=e;return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":t,role:"img"},n.createElement("title",null,t),n.createElement("path",{d:"M11.9954 15.0785L19.5387 7.54001L21 9.00226L11.9945 18.002L3 9.00179L4.46225 7.54047L11.9954 15.0785Z",fill:"currentColor"}))}function V(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Chevron Up",role:"img"},n.createElement("title",null,"Chevron Up"),n.createElement("path",{d:"M12.0051 7.52511L3.76231 15.7627L3 14.9999L12.0056 6L21 15.0001L20.2372 15.7624L12.0051 7.52511Z",fill:"currentColor"}))}function M(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"Chevron Down"},n.createElement("title",null,"Chevron Down"),n.createElement("path",{d:"M11.9949 16.4749L20.2377 8.23732L21 9.00012L11.9944 18L3 8.99988L3.7628 8.23757L11.9949 16.4749Z",fill:"currentColor"}))}function H(e){let{title:t="Edit"}=e;return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":t,role:"img"},n.createElement("title",null,t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 7.68747L16.3125 4L5.22972 15.0828L8.9172 18.7702L20 7.68747ZM4.68095 15.6316L3.99997 20.0001L8.36843 19.3191L4.68095 15.6316Z",fill:"currentColor"}))}var x="Exclamation";function Z(e){let{className:t}=e;return n.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",role:"img","aria-label":x,xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,x),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM10.6667 8.66667V6H13.3333V8.66667L12.6625 14H11.3375L10.6667 8.66667ZM10.6667 18V15.3333H13.3333V18H10.6667Z",fill:"currentColor"}))}var R="Exit";function b(e){let{title:t=R,className:l}=e;return n.createElement("svg",{className:l,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":t},n.createElement("title",null,t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.45 3.45L20.55 2.55L12 11.1L3.45 2.55L2.55 3.45L11.1 12L2.55 20.55L3.45 21.45L12 12.9L20.55 21.45L21.45 20.55L12.9 12L21.45 3.45Z",fill:"currentColor"}))}function z(e){let{title:t=R,className:l}=e;return n.createElement("svg",{className:l,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":t},n.createElement("title",null,t),n.createElement("path",{d:"M12 10.1651L3.83495 2L2 3.83495L10.1651 12L2 20.1651L3.83495 22L12 13.8349L20.1651 22L22 20.1651L13.8349 12L22 3.83495L20.1651 2L12 10.1651Z",fill:"currentColor"}))}var B="Facebook";function A(e){let{className:t}=e;return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":B,className:t},n.createElement("title",null,B),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12.0611C22 6.50451 17.5229 2 12 2C6.47715 2 2 6.50451 2 12.0611C2 17.0829 5.65686 21.2452 10.4375 22V14.9694H7.89844V12.0611H10.4375V9.84452C10.4375 7.32296 11.9304 5.93012 14.2146 5.93012C15.3087 5.93012 16.4531 6.12663 16.4531 6.12663V8.60261H15.1921C13.9499 8.60261 13.5625 9.37816 13.5625 10.1738V12.0611H16.3359L15.8926 14.9694H13.5625V22C18.3431 21.2452 22 17.0829 22 12.0611Z",fill:"currentColor"}))}var k="Google";function y(e){let{isMultiColor:t}=e;return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24","aria-label":k,fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,k),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.1 11.2273C20.1 10.5182 20.0364 9.83637 19.9182 9.18182H10.5V13.05H15.8818C15.65 14.3 14.9455 15.3591 13.8864 16.0682V18.5773H17.1182C19.0091 16.8364 20.1 14.2727 20.1 11.2273Z",fill:t?"#4285F4":"currentColor"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4998 20.9999C13.1998 20.9999 15.4635 20.1044 17.118 18.5771L13.8862 16.068C12.9907 16.668 11.8453 17.0226 10.4998 17.0226C7.89529 17.0226 5.69075 15.2635 4.90439 12.8999H1.56348V15.4908C3.20893 18.7589 6.59075 20.9999 10.4998 20.9999Z",fill:t?"#34A853":"currentColor"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.90455 12.9C4.70455 12.3 4.59091 11.6591 4.59091 11C4.59091 10.341 4.70455 9.70005 4.90455 9.10005V6.50914H1.56364C0.886364 7.85914 0.5 9.38641 0.5 11C0.5 12.6137 0.886364 14.141 1.56364 15.491L4.90455 12.9Z",fill:t?"#FBBC05":"currentColor"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4998 4.97727C11.968 4.97727 13.2862 5.48182 14.3226 6.47273L17.1908 3.60455C15.4589 1.99091 13.1953 1 10.4998 1C6.59075 1 3.20893 3.24091 1.56348 6.50909L4.90439 9.1C5.69075 6.73636 7.8953 4.97727 10.4998 4.97727Z",fill:t?"#EA4335":"currentColor"}))}var D="Menu";function S(e){let{className:t}=e;return n.createElement("svg",{className:t,width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":D,role:"img"},n.createElement("title",null,D),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 6H19V8H5V6ZM5 11H19V13H5V11ZM19 16H5V18H19V16Z",fill:"currentColor"}))}var U="Info";function _(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":U,role:"img"},n.createElement("title",null,U),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11 8V6H13V8H11ZM11 18V10H13V18H11Z",fill:"currentColor"}))}function T(e){let{className:t,title:l="Lightbulb"}=e;return n.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":l,role:"img"},n.createElement("title",null,l),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 9.5C4.5 5.36 7.86 2 12 2C16.14 2 19.5 5.36 19.5 9.5C19.5 13.32 16.84 15.36 15.73 16H8.27C7.16 15.36 4.5 13.32 4.5 9.5ZM16 19V17H8V19H16ZM12 22C13.1 22 14 21.1 14 20H10C10 21.1 10.9 22 12 22Z",fill:"currentColor"}))}var $="Lock";function I(e){let{className:t,title:l}=e;return n.createElement("svg",{className:t,width:"24",height:"24","aria-label":$,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,l||$),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 7C9.5 5.61929 10.6193 4.5 12 4.5C13.3807 4.5 14.5 5.61929 14.5 7V9H9.5V7ZM7 9V7C7 4.23858 9.23858 2 12 2C14.7614 2 17 4.23858 17 7V9H18C19.1046 9 20 9.89543 20 11V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V11C4 9.89543 4.89543 9 6 9H7Z",fill:"currentColor"}))}function j(e){let{title:t="MinusStroke",className:l}=e;return n.createElement("svg",{className:l,width:"24",height:"24","aria-label":t,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM6 11V13L18 13V11H6Z",fill:"currentColor"}))}function F(e){let{className:t,title:l}=e;return n.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":l},l&&n.createElement("title",null,l),n.createElement("path",{d:"M10.5 22C9.95 22 9.47917 21.8042 9.0875 21.4125C8.69583 21.0208 8.5 20.55 8.5 20H12.5C12.5 20.55 12.3042 21.0208 11.9125 21.4125C11.5208 21.8042 11.05 22 10.5 22ZM16.5 13V10H13.5V8H16.5V5H18.5V8H21.5V10H18.5V13H16.5ZM2.5 19V17H4.5V10C4.5 8.61667 4.91667 7.3875 5.75 6.3125C6.58333 5.2375 7.66667 4.53333 9 4.2V3.5C9 3.08333 9.14583 2.72917 9.4375 2.4375C9.72917 2.14583 10.0833 2 10.5 2C10.9167 2 11.2708 2.14583 11.5625 2.4375C11.8542 2.72917 12 3.08333 12 3.5V4.2C12.2333 4.26667 12.4625 4.3375 12.6875 4.4125C12.9125 4.4875 13.125 4.58333 13.325 4.7C13.075 4.93333 12.85 5.1875 12.65 5.4625C12.45 5.7375 12.275 6.03333 12.125 6.35C11.875 6.23333 11.6125 6.14583 11.3375 6.0875C11.0625 6.02917 10.7833 6 10.5 6C9.4 6 8.45833 6.39167 7.675 7.175C6.89167 7.95833 6.5 8.9 6.5 10V17H14.5V14.2C14.8 14.3833 15.1167 14.5333 15.45 14.65C15.7833 14.7667 16.1333 14.8583 16.5 14.925V17H18.5V19H2.5Z",fill:"currentColor"}))}function K(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,"Play"),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM9 16L16 12L9 8L9 16Z",fill:"black"}))}function N(e){let{className:t,title:l}=e,r=l||"Plus";return n.createElement("svg",{className:t,width:"24",height:"24","aria-label":r,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,r),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 3H11V11H3V13H11V21H13V13H21V11H13V3Z",fill:"currentColor"}))}function P(e){let{title:t="Plus Stroke"}=e;return n.createElement("svg",{width:"24",height:"24","aria-label":t,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11 11V6H13V11H18V13H13V18H11V13H6V11H11Z",fill:"currentColor"}))}function W(e){let{title:t="Plus Thin Stroke"}=e;return n.createElement("svg",{width:"24",height:"24","aria-label":t,role:"img",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,t),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11.5 11.5V6H12.5V11.5H18V12.5H12.5V18H11.5V12.5H6V11.5H11.5Z",fill:"currentColor"}))}function Y(e){let{className:t}=e;return n.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 24 24"},n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm-2 2a8 8 0 0 0-8 8h20a8 8 0 0 0-8-8h-4Z",clipRule:"evenodd"}))}function G(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},n.createElement("title",null,"Refresh"),n.createElement("path",{d:"M12 20C9.76667 20 7.875 19.225 6.325 17.675C4.775 16.125 4 14.2333 4 12C4 9.76667 4.775 7.875 6.325 6.325C7.875 4.775 9.76667 4 12 4C13.15 4 14.25 4.23767 15.3 4.713C16.35 5.18767 17.25 5.86667 18 6.75V4H20V11H13V9H17.2C16.6667 8.06667 15.9377 7.33333 15.013 6.8C14.0877 6.26667 13.0833 6 12 6C10.3333 6 8.91667 6.58333 7.75 7.75C6.58333 8.91667 6 10.3333 6 12C6 13.6667 6.58333 15.0833 7.75 16.25C8.91667 17.4167 10.3333 18 12 18C13.2833 18 14.4417 17.6333 15.475 16.9C16.5083 16.1667 17.2333 15.2 17.65 14H19.75C19.2833 15.7667 18.3333 17.2083 16.9 18.325C15.4667 19.4417 13.8333 20 12 20Z",fill:"black"}))}var J="Search";function O(e){let{className:t}=e;return n.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":J},n.createElement("title",null,J),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 20.1125C21 19.8689 20.9095 19.6566 20.7285 19.4756L15.7587 14.4849C16.232 13.8863 16.6009 13.2146 16.8654 12.4698C17.1299 11.7251 17.2622 10.942 17.2622 10.1206C17.2622 9.14617 17.0742 8.2239 16.6984 7.35383C16.3225 6.48375 15.8109 5.72854 15.1636 5.08817C14.5162 4.44779 13.761 3.93968 12.8979 3.56381C12.0348 3.18793 11.1091 3 10.1206 3C9.14617 3 8.2239 3.18793 7.35383 3.56381C6.48375 3.93968 5.72854 4.44779 5.08817 5.08817C4.44779 5.72854 3.93968 6.48375 3.56381 7.35383C3.18793 8.2239 3 9.14617 3 10.1206C3 11.1091 3.18793 12.0348 3.56381 12.8979C3.93968 13.761 4.44779 14.5162 5.08817 15.1636C5.72854 15.8109 6.48375 16.3225 7.35383 16.6984C8.2239 17.0742 9.14617 17.2622 10.1206 17.2622C10.942 17.2622 11.7251 17.1299 12.4698 16.8654C13.2146 16.6009 13.8863 16.232 14.4849 15.7587L19.4756 20.7285C19.5731 20.826 19.6775 20.8956 19.7889 20.9374C19.9002 20.9791 20.0046 21 20.1021 21C20.2135 21 20.3248 20.9791 20.4362 20.9374C20.5476 20.8956 20.645 20.826 20.7285 20.7285C20.9095 20.5615 21 20.3561 21 20.1125ZM5.203 12.1984C4.91762 11.551 4.77493 10.8584 4.77493 10.1206C4.77493 9.39672 4.91762 8.70764 5.203 8.05334C5.48839 7.39904 5.87121 6.83177 6.35149 6.35148C6.83177 5.8712 7.39905 5.48838 8.05335 5.20299C8.70764 4.91761 9.39673 4.77492 10.1206 4.77492C10.8585 4.77492 11.551 4.91761 12.1984 5.20299C12.8457 5.48838 13.413 5.8712 13.9002 6.35148C14.3875 6.83177 14.7703 7.39904 15.0487 8.05334C15.3271 8.70764 15.4663 9.39672 15.4663 10.1206C15.4663 10.8584 15.3271 11.551 15.0487 12.1984C14.7703 12.8457 14.3875 13.413 13.9002 13.9002C13.413 14.3874 12.8457 14.7703 12.1984 15.0487C11.551 15.3271 10.8585 15.4663 10.1206 15.4663C9.39673 15.4663 8.70764 15.3271 8.05335 15.0487C7.39905 14.7703 6.83177 14.3874 6.35149 13.9002C5.87121 13.413 5.48839 12.8457 5.203 12.1984Z",fill:"currentColor"}))}var Q="Share";function q(e){let{darkMode:t=!1}=e;return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 14 18",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":Q},n.createElement("title",null,Q),n.createElement("path",{d:"M6.55916 0.730957L2.39505 3.99223L3.01164 4.77951L6.05916 2.39274V9.99411H7.05916V2.39274L10.1067 4.77951L10.7233 3.99223L6.55916 0.730957Z",fill:t?"white":"black"}),n.createElement("path",{d:"M0 8.91551V14.808H13.1183V8.91551H12.1183V13.808H1V8.91551H0Z",fill:t?"white":"black"}))}var X="Bloomberg Terminal";function ee(e){let{className:t}=e;return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",role:"img","aria-label":X,xmlns:"http://www.w3.org/2000/svg",className:t},n.createElement("title",null,X),n.createElement("path",{d:"M12.7876 16.67L12.4287 16.6501V17.6072C12.4088 17.6271 12.2891 17.7069 11.99 17.7069C11.6909 17.7069 11.5713 17.6271 11.5513 17.6072V16.6501L11.1924 16.6899C9.43769 16.8495 8.3011 17.5075 8.3011 18.325C8.3011 19.3021 9.85643 20 11.99 20C14.1236 20 15.679 19.3021 15.679 18.325C15.679 17.4875 14.5424 16.8495 12.7876 16.67ZM11.5314 14.2223V7.77767C11.5314 7.33898 11.1725 7 10.7537 7H2.77767C2.33898 7 2 7.33898 2 7.77767V14.2223C2 14.6411 2.33898 15 2.77767 15H10.7537C11.1725 15 11.5314 14.6411 11.5314 14.2223ZM22 7.77767C22 7.35892 21.661 7 21.2223 7H13.2463C12.8275 7 12.4686 7.33898 12.4686 7.77767V14.2223C12.4686 14.6411 12.8076 15 13.2463 15H21.2223C21.6411 15 22 14.661 22 14.2223V7.77767Z",fill:"currentColor"}))}function et(e){let{className:t}=e;return n.createElement("svg",{width:"9",height:"6",viewBox:"0 0 9 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5.5L0 5.5L4.5 0.5L9 5.5Z",fill:"currentColor"}))}function el(e){let{className:t,title:l}=e;return n.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 16 16",fill:"none"},l&&n.createElement("title",null,l),n.createElement("path",{d:"M7.33333 14V10H8.66667V11.3333H14V12.6667H8.66667V14H7.33333ZM2 12.6667V11.3333H6V12.6667H2ZM4.66667 10V8.66667H2V7.33333H4.66667V6H6V10H4.66667ZM7.33333 8.66667V7.33333H14V8.66667H7.33333ZM10 6V2H11.3333V3.33333H14V4.66667H11.3333V6H10ZM2 4.66667V3.33333H8.66667V4.66667H2Z",fill:"currentColor"}))}var en="Twitter";function er(e){let{className:t}=e;return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":en,className:t},n.createElement("title",null,en),n.createElement("path",{d:"M22 5.75994C21.8663 5.96888 21.7242 6.16947 21.5654 6.37005C21.4091 6.56883 21.2417 6.75857 21.0639 6.93838C20.8884 7.11389 20.6962 7.2894 20.5207 7.43984C20.3452 7.59028 20.1446 7.74908 19.9356 7.91623V8.16696C19.9442 8.26428 19.9442 8.36216 19.9356 8.45948C19.9272 9.86509 19.6667 11.2578 19.1667 12.5715C18.6768 13.9535 17.9375 15.234 16.9854 16.3492C15.9538 17.5038 14.7003 18.439 13.2996 19.0988C11.7309 19.8304 10.0156 20.1935 8.285 20.1603C7.72589 20.157 7.16757 20.1179 6.61346 20.0433C6.06192 19.9687 5.51702 19.8514 4.9837 19.6922C4.44731 19.5412 3.92451 19.3455 3.42081 19.1072C2.92938 18.8601 2.45476 18.5809 2 18.2714H2.96949C3.44825 18.2708 3.92617 18.2316 4.39866 18.1544C4.82812 18.0913 5.25066 17.9877 5.66068 17.8452C6.09688 17.7169 6.51737 17.5403 6.91433 17.3187C7.30653 17.0994 7.67607 16.8418 8.01755 16.5497C7.14915 16.5497 6.30645 16.2551 5.62725 15.714C5.28446 15.4765 4.98721 15.1792 4.74969 14.8364C4.49845 14.4784 4.30393 14.0837 4.173 13.6663C4.30262 13.6939 4.4338 13.7134 4.56582 13.7248C4.69663 13.733 4.82782 13.733 4.95863 13.7248C5.13951 13.7368 5.321 13.7368 5.50188 13.7248C5.68528 13.6975 5.86673 13.6584 6.04513 13.6078C5.11309 13.4476 4.27506 12.9436 3.69661 12.1954C3.38066 11.8467 3.1339 11.4411 2.96949 11.0002C2.80046 10.5428 2.71552 10.0587 2.71876 9.57106L3.17008 9.78L3.61304 9.9388L4.09778 10.0224C4.25901 10.0376 4.42131 10.0376 4.58253 10.0224C4.31379 9.83314 4.06461 9.61756 3.8387 9.37883C3.60412 9.13014 3.40703 8.84859 3.25366 8.54306C3.09569 8.24515 2.96962 7.93139 2.87756 7.607C2.80195 7.29527 2.76823 6.97485 2.77727 6.65422C2.7667 6.48444 2.7667 6.31417 2.77727 6.1444C2.80462 5.961 2.8437 5.77954 2.89427 5.60115C2.94442 5.44235 3.01128 5.28355 3.06979 5.1164C3.13396 4.9455 3.21812 4.78278 3.32052 4.63165C3.8146 5.24855 4.37516 5.80912 4.99206 6.30319C5.63366 6.81165 6.32865 7.24882 7.06477 7.607C7.77495 7.99761 8.52987 8.3007 9.313 8.50963C10.1332 8.72561 10.9733 8.85723 11.8203 8.90244C11.7922 8.74483 11.7726 8.58579 11.7618 8.42605V7.94966C11.7583 7.39963 11.8634 6.85431 12.071 6.34498C12.2613 5.8622 12.5454 5.42191 12.9068 5.04954C13.2956 4.68628 13.7418 4.38977 14.2273 4.17198C14.7328 3.94918 15.2796 3.83527 15.832 3.83767C16.1136 3.83817 16.3941 3.87183 16.6678 3.93796C16.9523 4.00034 17.2317 4.08416 17.5036 4.18869C17.7621 4.2943 18.0064 4.43188 18.2307 4.59822C18.4448 4.7609 18.6485 4.93675 18.8408 5.12476C19.0612 5.09688 19.2791 5.05217 19.4927 4.99103C19.7232 4.92955 19.9472 4.84557 20.1613 4.7403C20.3702 4.65672 20.5792 4.57315 20.7881 4.4645L21.415 4.15526C21.3343 4.39055 21.2366 4.6196 21.1224 4.84059C21.0079 5.05789 20.8706 5.26241 20.7129 5.45071C20.5669 5.65022 20.3987 5.83248 20.2115 5.99396C20.0284 6.15427 19.8328 6.29961 19.6264 6.42856C19.8354 6.42856 20.0359 6.37005 20.2365 6.32827C20.4371 6.28648 20.6377 6.24469 20.8466 6.18619C21.0399 6.13416 21.2298 6.06995 21.415 5.99396L22 5.75994Z",fill:"currentColor"}))}},90512:function(e,t,l){"use strict";function n(){for(var e,t,l=0,n="",r=arguments.length;l=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(e){return e in a})||"codeship"===a.CI_NAME?1:t;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in a){var l=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return l>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:(a.TERM,t)}(e))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o("no-color")||o("no-colors")||o("color=false")?s=!1:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=!0),"FORCE_COLOR"in a&&(s=0===a.FORCE_COLOR.length||0!==parseInt(a.FORCE_COLOR,10)),e.exports={supportsColor:l,stdout:l(n.stdout),stderr:l(n.stderr)}},33645:function(e,t,r){var n=r(32289);e.exports=n},12524:function(e,t,r){e.exports=r(10519)},10519:function(e,t,r){var n=r(4099)(function e(t,r){return((r=r||{}).namespace=t,r.prod=!0,r.dev=!1,r.force||e.force)?e.yep(r):e.nope(r)});e.exports=n},4099:function(e){var t=[],r=[],n=function(){};function i(e){return!~t.indexOf(e)&&(t.push(e),!0)}function o(e){n=e}function a(e){for(var r=[],n=0;n{if(e.message instanceof Error){let t=e.message;return{...e,message:t.message,stack:t.stack}}return e instanceof Error?{...e,message:e.message,stack:e.stack}:e}),a=n.format.combine(o(),n.format.timestamp({format:"YYYY-MM-DD HH:mm:ss:ms"}),n.format.colorize({all:!1}),n.format.printf(e=>`${e.timestamp} ${e.level}: ${e.message} ${e.stack??""}`)),s=[new n.transports.Console],l=n.createLogger({level:i.env.LOG_LEVEL||"warn",levels:{error:0,warn:1,info:2,http:3,debug:4},format:a,transports:s});t.Z=l},71874:function(e,t,r){"use strict";r.d(t,{H:function(){return a}});var n=r(85893),i=r(67294);let o={threshold:0},a=(0,i.forwardRef)((e,t)=>{let{children:r,className:a,rootMargin:s,once:l=!1,onEnter:u,onIntersection:c,onLeave:f,onTransition:d,options:h,rootElement:p,threshold:m}=e,g=function({disconnectOnEnter:e,onEnter:t,onIntersection:r,onLeave:n,onTransition:a,options:s=o}){let[l,u]=(0,i.useState)(),c=(0,i.useRef)(new WeakMap),f=(0,i.useRef)(new WeakMap),d=(0,i.useCallback)(e=>u(e),[]);return(0,i.useEffect)(()=>{if(!l)return;c.current.set(l,void 0),f.current.set(l,null);let i=e=>{if(!(s?.root&&a))return;let t=f.current.get(l);t||(t=()=>{window.requestAnimationFrame(()=>{a({...e,boundingClientRect:e.target.getBoundingClientRect()})})},f.current.set(l,t),s.root.addEventListener("scroll",t))},o=()=>{if(!s?.root)return;let e=f.current.get(l);e&&(s.root.removeEventListener("scroll",e),f.current.delete(l))},u=function(e,t,r){let n=new IntersectionObserver(e,r);return n.observe(t),n}(([s])=>{let f=s.isIntersecting,d=c.current.get(l),h=f!==d;if(s.intersectionRatio>=0&&r?.(s.intersectionRatio),f&&void 0!==a&&i(s),!f&&d&&(n?.(),o()),c.current.set(l,f),h&&!(s.intersectionRatio<=0)&&f){t?.(),e&&(u.disconnect(),c.current.delete(l),o());return}},l,{...s,root:s?.root??document});return()=>{u.disconnect()}},[l]),d}({disconnectOnEnter:l,onEnter:u,onIntersection:c,onLeave:f,onTransition:d,options:{...h,root:p,rootMargin:s,threshold:m}}),y=(0,i.useCallback)(e=>{g(e),"function"!=typeof t&&null!==t&&(t.current=e)},[]);return(0,n.jsx)("div",{className:a,ref:y,"data-testid":"viewport-element",children:r})})},44409:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.isAsync)(e)?function(...t){let r=t.pop();return s(e.apply(this,t),r)}:(0,n.default)(function(t,r){var n;try{n=e.apply(this,t)}catch(e){return r(e)}if(n&&"function"==typeof n.then)return s(n,r);r(null,n)})};var n=a(r(43519)),i=a(r(3111)),o=r(28993);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return e.then(e=>{l(t,null,e)},e=>{l(t,e&&(e instanceof Error||e.message)?e:Error(e))})}function l(e,t,r){try{e(t,r)}catch(e){(0,i.default)(e=>{throw e},e)}}e.exports=t.default},71846:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(r(95616)),i=c(r(1605)),o=c(r(97388)),a=c(r(46979)),s=c(r(13362)),l=c(r(28993)),u=c(r(2795));function c(e){return e&&e.__esModule?e:{default:e}}t.default=(0,u.default)(function(e,t,r){return((0,n.default)(e)?function(e,t,r){r=(0,a.default)(r);var n=0,o=0,{length:l}=e,u=!1;function c(e,t){!1===e&&(u=!0),!0!==u&&(e?r(e):(++o===l||t===i.default)&&r(null))}for(0===l&&r(null);n=t||s||o||(s=!0,e.next().then(({value:e,done:t})=>{if(!a&&!o){if(s=!1,t){o=!0,l<=0&&n(null);return}l++,r(e,u,f),u++,c()}}).catch(d))}function f(e,t){if(l-=1,!a){if(e)return d(e);if(!1===e){o=!0,a=!0;return}if(t===i.default||o&&l<=0)return o=!0,n(null);c()}}function d(e){a||(s=!1,o=!0,n(e))}c()};var n,i=(n=r(1605))&&n.__esModule?n:{default:n};e.exports=t.default},2795:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t||(t=e.length),!t)throw Error("arity is undefined");return function(...r){return"function"==typeof r[t-1]?e.apply(this,r):new Promise((n,i)=>{r[t-1]=(e,...t)=>{if(e)return i(e);n(t.length>1?t:t[0])},e.apply(this,r)})}},e.exports=t.default},1605:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={},e.exports=t.default},56954:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=u(r(46979)),i=u(r(9733)),o=u(r(13362)),a=r(28993),s=u(r(58617)),l=u(r(1605));function u(e){return e&&e.__esModule?e:{default:e}}t.default=e=>(t,r,u)=>{if(u=(0,n.default)(u),e<=0)throw RangeError("concurrency limit cannot be less than 1");if(!t)return u(null);if((0,a.isAsyncGenerator)(t))return(0,s.default)(t,e,r,u);if((0,a.isAsyncIterable)(t))return(0,s.default)(t[Symbol.asyncIterator](),e,r,u);var c=(0,i.default)(t),f=!1,d=!1,h=0,p=!1;function m(e,t){if(!d){if(h-=1,e)f=!0,u(e);else if(!1===e)f=!0,d=!0;else{if(t===l.default||f&&h<=0)return f=!0,u(null);p||g()}}}function g(){for(p=!0;h=0&&e.length%1==0},e.exports=t.default},9733:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,n.default)(e))return t=-1,r=e.length,function(){return++t{var o=(0,n.default)(t)?[]:{};e(t,(e,t,r)=>{(0,i.default)(e)((e,...n)=>{n.length<2&&([n]=n),o[t]=n,r(e)})},e=>r(e,o))},3),e.exports=t.default},3111:function(e,t,r){"use strict";var n,i=r(34155);Object.defineProperty(t,"__esModule",{value:!0}),t.fallback=l,t.wrap=u;var o=t.hasQueueMicrotask="function"==typeof queueMicrotask&&queueMicrotask,a=t.hasSetImmediate="function"==typeof setImmediate&&setImmediate,s=t.hasNextTick="object"==typeof i&&"function"==typeof i.nextTick;function l(e){setTimeout(e,0)}function u(e){return(t,...r)=>e(()=>t(...r))}n=o?queueMicrotask:a?setImmediate:s?i.nextTick:l,t.default=u(n)},36529:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(t,r,n)=>e(t,n)},e.exports=t.default},28993:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=t.isAsyncGenerator=t.isAsync=void 0;var n,i=(n=r(44409))&&n.__esModule?n:{default:n};function o(e){return"AsyncFunction"===e[Symbol.toStringTag]}t.default=function(e){if("function"!=typeof e)throw Error("expected a function");return o(e)?(0,i.default)(e):e},t.isAsync=o,t.isAsyncGenerator=function(e){return"AsyncGenerator"===e[Symbol.toStringTag]},t.isAsyncIterable=function(e){return"function"==typeof e[Symbol.asyncIterator]}},48415:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(i.default,e,t)};var n=o(r(73409)),i=o(r(20667));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},5239:function(e){"use strict";let{entries:t,setPrototypeOf:r,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:o}=Object,{freeze:a,seal:s,create:l}=Object,{apply:u,construct:c}="undefined"!=typeof Reflect&&Reflect;a||(a=function(e){return e}),s||(s=function(e){return e}),u||(u=function(e,t,r){return e.apply(t,r)}),c||(c=function(e,t){return new e(...t)});let f=x(Array.prototype.forEach),d=x(Array.prototype.lastIndexOf),h=x(Array.prototype.pop),p=x(Array.prototype.push),m=x(Array.prototype.splice),g=x(String.prototype.toLowerCase),y=x(String.prototype.toString),b=x(String.prototype.match),_=x(String.prototype.replace),v=x(String.prototype.indexOf),w=x(String.prototype.trim),E=x(Object.prototype.hasOwnProperty),S=x(RegExp.prototype.test),k=($=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r1?r-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:g;r&&r(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){let e=i(r);e!==r&&(n(t)||(t[o]=e),r=e)}e[r]=!0}return e}function T(e){let r=l(null);for(let[n,i]of t(e))E(e,n)&&(Array.isArray(i)?r[n]=function(e){for(let t=0;t/gm),H=s(/\$\{[\w\W]*/gm),Z=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),W=s(/^aria-[\-\w]+$/),G=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=s(/^(?:\w+script|data):/i),q=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=s(/^html$/i);var $,K=Object.freeze({__proto__:null,ARIA_ATTR:W,ATTR_WHITESPACE:q,CUSTOM_ELEMENT:s(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:Z,DOCTYPE_NAME:V,ERB_EXPR:U,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:Y,MUSTACHE_EXPR:B,TMPLIT_EXPR:H});let X={element:1,text:3,progressingInstruction:7,comment:8,document:9},Q=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},J=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var ee=function e(){let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.2.6",i.removed=[],!n||!n.document||n.document.nodeType!==X.document||!n.Element)return i.isSupported=!1,i;let{document:o}=n,s=o,u=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:x,Node:B,Element:U,NodeFilter:H,NamedNodeMap:Z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:W,DOMParser:Y,trustedTypes:q}=n,$=U.prototype,ee=R($,"cloneNode"),et=R($,"remove"),er=R($,"nextSibling"),en=R($,"childNodes"),ei=R($,"parentNode");if("function"==typeof x){let e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let eo="",{implementation:ea,createNodeIterator:es,createDocumentFragment:el,getElementsByTagName:eu}=o,{importNode:ec}=s,ef=J();i.isSupported="function"==typeof t&&"function"==typeof ei&&ea&&void 0!==ea.createHTMLDocument;let{MUSTACHE_EXPR:ed,ERB_EXPR:eh,TMPLIT_EXPR:ep,DATA_ATTR:em,ARIA_ATTR:eg,IS_SCRIPT_OR_DATA:ey,ATTR_WHITESPACE:eb,CUSTOM_ELEMENT:e_}=K,{IS_ALLOWED_URI:ev}=K,ew=null,eE=O({},[...M,...N,...P,...j,...L]),eS=null,ek=O({},[...D,...I,...z,...F]),ex=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eO=null,eT=null,eR=!0,eM=!0,eN=!1,eP=!0,eC=!1,ej=!0,eA=!1,eL=!1,eD=!1,eI=!1,ez=!1,eF=!1,eB=!0,eU=!1,eH=!0,eZ=!1,eW={},eG=null,eY=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eq=null,eV=O({},["audio","video","img","source","image","track"]),e$=null,eK=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eX="http://www.w3.org/1998/Math/MathML",eQ="http://www.w3.org/2000/svg",eJ="http://www.w3.org/1999/xhtml",e0=eJ,e1=!1,e2=null,e3=O({},[eX,eQ,eJ],y),e5=O({},["mi","mo","mn","ms","mtext"]),e6=O({},["annotation-xml"]),e4=O({},["title","style","font","a","script"]),e8=null,e9=["application/xhtml+xml","text/html"],e7=null,te=null,tt=o.createElement("form"),tr=function(e){return e instanceof RegExp||e instanceof Function},tn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=T(e),e7="application/xhtml+xml"===(e8=-1===e9.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?y:g,ew=E(e,"ALLOWED_TAGS")?O({},e.ALLOWED_TAGS,e7):eE,eS=E(e,"ALLOWED_ATTR")?O({},e.ALLOWED_ATTR,e7):ek,e2=E(e,"ALLOWED_NAMESPACES")?O({},e.ALLOWED_NAMESPACES,y):e3,e$=E(e,"ADD_URI_SAFE_ATTR")?O(T(eK),e.ADD_URI_SAFE_ATTR,e7):eK,eq=E(e,"ADD_DATA_URI_TAGS")?O(T(eV),e.ADD_DATA_URI_TAGS,e7):eV,eG=E(e,"FORBID_CONTENTS")?O({},e.FORBID_CONTENTS,e7):eY,eO=E(e,"FORBID_TAGS")?O({},e.FORBID_TAGS,e7):T({}),eT=E(e,"FORBID_ATTR")?O({},e.FORBID_ATTR,e7):T({}),eW=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,eR=!1!==e.ALLOW_ARIA_ATTR,eM=!1!==e.ALLOW_DATA_ATTR,eN=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eP=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eC=e.SAFE_FOR_TEMPLATES||!1,ej=!1!==e.SAFE_FOR_XML,eA=e.WHOLE_DOCUMENT||!1,eI=e.RETURN_DOM||!1,ez=e.RETURN_DOM_FRAGMENT||!1,eF=e.RETURN_TRUSTED_TYPE||!1,eD=e.FORCE_BODY||!1,eB=!1!==e.SANITIZE_DOM,eU=e.SANITIZE_NAMED_PROPS||!1,eH=!1!==e.KEEP_CONTENT,eZ=e.IN_PLACE||!1,ev=e.ALLOWED_URI_REGEXP||G,e0=e.NAMESPACE||eJ,e5=e.MATHML_TEXT_INTEGRATION_POINTS||e5,e6=e.HTML_INTEGRATION_POINTS||e6,ex=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ex.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ex.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ex.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eC&&(eM=!1),ez&&(eI=!0),eW&&(ew=O({},L),eS=[],!0===eW.html&&(O(ew,M),O(eS,D)),!0===eW.svg&&(O(ew,N),O(eS,I),O(eS,F)),!0===eW.svgFilters&&(O(ew,P),O(eS,I),O(eS,F)),!0===eW.mathMl&&(O(ew,j),O(eS,z),O(eS,F))),e.ADD_TAGS&&(ew===eE&&(ew=T(ew)),O(ew,e.ADD_TAGS,e7)),e.ADD_ATTR&&(eS===ek&&(eS=T(eS)),O(eS,e.ADD_ATTR,e7)),e.ADD_URI_SAFE_ATTR&&O(e$,e.ADD_URI_SAFE_ATTR,e7),e.FORBID_CONTENTS&&(eG===eY&&(eG=T(eG)),O(eG,e.FORBID_CONTENTS,e7)),eH&&(ew["#text"]=!0),eA&&O(ew,["html","head","body"]),ew.table&&(O(ew,["tbody"]),delete eO.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw k('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw k('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');eo=(r=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===r&&(r=Q(q,u)),null!==r&&"string"==typeof eo&&(eo=r.createHTML(""));a&&a(e),te=e}},ti=O({},[...N,...P,...C]),to=O({},[...j,...A]),ta=function(e){let t=ei(e);t&&t.tagName||(t={namespaceURI:e0,tagName:"template"});let r=g(e.tagName),n=g(t.tagName);return!!e2[e.namespaceURI]&&(e.namespaceURI===eQ?t.namespaceURI===eJ?"svg"===r:t.namespaceURI===eX?"svg"===r&&("annotation-xml"===n||e5[n]):!!ti[r]:e.namespaceURI===eX?t.namespaceURI===eJ?"math"===r:t.namespaceURI===eQ?"math"===r&&e6[n]:!!to[r]:e.namespaceURI===eJ?(t.namespaceURI!==eQ||!!e6[n])&&(t.namespaceURI!==eX||!!e5[n])&&!to[r]&&(e4[r]||!ti[r]):"application/xhtml+xml"===e8&&!!e2[e.namespaceURI])},ts=function(e){p(i.removed,{element:e});try{ei(e).removeChild(e)}catch(t){et(e)}},tl=function(e,t){try{p(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e){if(eI||ez)try{ts(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},tu=function(e){let t=null,n=null;if(eD)e=""+e;else{let t=b(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===e8&&e0===eJ&&(e=''+e+"");let i=r?r.createHTML(e):e;if(e0===eJ)try{t=new Y().parseFromString(i,e8)}catch(e){}if(!t||!t.documentElement){t=ea.createDocument(e0,"template",null);try{t.documentElement.innerHTML=e1?eo:i}catch(e){}}let a=t.body||t.documentElement;return(e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),e0===eJ)?eu.call(t,eA?"html":"body")[0]:eA?t.documentElement:a},tc=function(e){return es.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},tf=function(e){return e instanceof W&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof Z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},td=function(e){return"function"==typeof B&&e instanceof B};function th(e,t,r){f(e,e=>{e.call(i,t,r,te)})}let tp=function(e){let t=null;if(th(ef.beforeSanitizeElements,e,null),tf(e))return ts(e),!0;let r=e7(e.nodeName);if(th(ef.uponSanitizeElement,e,{tagName:r,allowedTags:ew}),ej&&e.hasChildNodes()&&!td(e.firstElementChild)&&S(/<[/\w!]/g,e.innerHTML)&&S(/<[/\w!]/g,e.textContent)||e.nodeType===X.progressingInstruction||ej&&e.nodeType===X.comment&&S(/<[/\w]/g,e.data))return ts(e),!0;if(!ew[r]||eO[r]){if(!eO[r]&&tg(r)&&(ex.tagNameCheck instanceof RegExp&&S(ex.tagNameCheck,r)||ex.tagNameCheck instanceof Function&&ex.tagNameCheck(r)))return!1;if(eH&&!eG[r]){let t=ei(e)||e.parentNode,r=en(e)||e.childNodes;if(r&&t){let n=r.length;for(let i=n-1;i>=0;--i){let n=ee(r[i],!0);n.__removalCount=(e.__removalCount||0)+1,t.insertBefore(n,er(e))}}}return ts(e),!0}return e instanceof U&&!ta(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&S(/<\/no(script|embed|frames)/i,e.innerHTML)?(ts(e),!0):(eC&&e.nodeType===X.text&&(t=e.textContent,f([ed,eh,ep],e=>{t=_(t,e," ")}),e.textContent!==t&&(p(i.removed,{element:e.cloneNode()}),e.textContent=t)),th(ef.afterSanitizeElements,e,null),!1)},tm=function(e,t,r){if(eB&&("id"===t||"name"===t)&&(r in o||r in tt))return!1;if(eM&&!eT[t]&&S(em,t));else if(eR&&S(eg,t));else if(!eS[t]||eT[t]){if(!(tg(e)&&(ex.tagNameCheck instanceof RegExp&&S(ex.tagNameCheck,e)||ex.tagNameCheck instanceof Function&&ex.tagNameCheck(e))&&(ex.attributeNameCheck instanceof RegExp&&S(ex.attributeNameCheck,t)||ex.attributeNameCheck instanceof Function&&ex.attributeNameCheck(t))||"is"===t&&ex.allowCustomizedBuiltInElements&&(ex.tagNameCheck instanceof RegExp&&S(ex.tagNameCheck,r)||ex.tagNameCheck instanceof Function&&ex.tagNameCheck(r))))return!1}else if(e$[t]);else if(S(ev,_(r,eb,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===v(r,"data:")&&eq[e]);else if(eN&&!S(ey,_(r,eb,"")));else if(r)return!1;return!0},tg=function(e){return"annotation-xml"!==e&&b(e,e_)},ty=function(e){th(ef.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||tf(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eS,forceKeepAttr:void 0},o=t.length;for(;o--;){let{name:a,namespaceURI:s,value:l}=t[o],u=e7(a),c="value"===a?l:w(l);if(n.attrName=u,n.attrValue=c,n.keepAttr=!0,n.forceKeepAttr=void 0,th(ef.uponSanitizeAttribute,e,n),c=n.attrValue,eU&&("id"===u||"name"===u)&&(tl(a,e),c="user-content-"+c),ej&&S(/((--!?|])>)|<\/(style|title)/i,c)){tl(a,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr||!eP&&S(/\/>/i,c)){tl(a,e);continue}eC&&f([ed,eh,ep],e=>{c=_(c,e," ")});let d=e7(e.nodeName);if(!tm(d,u,c)){tl(a,e);continue}if(r&&"object"==typeof q&&"function"==typeof q.getAttributeType){if(s);else switch(q.getAttributeType(d,u)){case"TrustedHTML":c=r.createHTML(c);break;case"TrustedScriptURL":c=r.createScriptURL(c)}}if(c!==l)try{s?e.setAttributeNS(s,a,c):e.setAttribute(a,c),tf(e)?ts(e):h(i.removed)}catch(t){tl(a,e)}}th(ef.afterSanitizeAttributes,e,null)},tb=function e(t){let r=null,n=tc(t);for(th(ef.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)th(ef.uponSanitizeShadowNode,r,null),tp(r),ty(r),r.content instanceof c&&e(r.content);th(ef.afterSanitizeShadowDOM,t,null)};return i.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,a=null,l=null;if((e1=!e)&&(e=""),"string"!=typeof e&&!td(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw k("dirty is not a string, aborting")}else throw k("toString is not a function")}if(!i.isSupported)return e;if(eL||tn(t),i.removed=[],"string"==typeof e&&(eZ=!1),eZ){if(e.nodeName){let t=e7(e.nodeName);if(!ew[t]||eO[t])throw k("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof B)(o=(n=tu("")).ownerDocument.importNode(e,!0)).nodeType===X.element&&"BODY"===o.nodeName?n=o:"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!eI&&!eC&&!eA&&-1===e.indexOf("<"))return r&&eF?r.createHTML(e):e;if(!(n=tu(e)))return eI?null:eF?eo:""}n&&eD&&ts(n.firstChild);let u=tc(eZ?e:n);for(;a=u.nextNode();)tp(a),ty(a),a.content instanceof c&&tb(a.content);if(eZ)return e;if(eI){if(ez)for(l=el.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(eS.shadowroot||eS.shadowrootmode)&&(l=ec.call(s,l,!0)),l}let d=eA?n.outerHTML:n.innerHTML;return eA&&ew["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(V,n.ownerDocument.doctype.name)&&(d="\n"+d),eC&&f([ed,eh,ep],e=>{d=_(d,e," ")}),r&&eF?r.createHTML(d):d},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tn(e),eL=!0},i.clearConfig=function(){te=null,eL=!1},i.isValidAttribute=function(e,t,r){return te||tn({}),tm(e7(e),e7(t),r)},i.addHook=function(e,t){"function"==typeof t&&p(ef[e],t)},i.removeHook=function(e,t){if(void 0!==t){let r=d(ef[e],t);return -1===r?void 0:m(ef[e],r,1)[0]}return h(ef[e])},i.removeHooks=function(e){ef[e]=[]},i.removeAllHooks=function(){ef=J()},i}();e.exports=ee},19432:function(e,t,r){"use strict";r.r(t),r.d(t,{assign:function(){return c},defaultI18n:function(){return p},format:function(){return R},parse:function(){return M},setGlobalDateI18n:function(){return g},setGlobalDateMasks:function(){return T}});var n=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,i="\\d\\d?",o="\\d\\d",a="[^\\s]+",s=/\[([^]*?)\]/gm;function l(e,t){for(var r=[],n=0,i=e.length;n-1?n:null}};function c(e){for(var t=[],r=1;r3?0:(e-e%10!=10?1:0)*e%10]}},m=c({},p),g=function(e){return m=c(m,e)},y=function(e){return e.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},b=function(e,t){for(void 0===t&&(t=2),e=String(e);e.lengthe.getHours()?t.amPm[0]:t.amPm[1]},A:function(e,t){return 12>e.getHours()?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+b(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+b(Math.floor(Math.abs(t)/60),2)+":"+b(Math.abs(t)%60,2)}},v=function(e){return+e-1},w=[null,i],E=[null,a],S=["isPm",a,function(e,t){var r=e.toLowerCase();return r===t.amPm[0]?0:r===t.amPm[1]?1:null}],k=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(e){var t=(e+"").match(/([+-]|\d\d)/gi);if(t){var r=60*+t[1]+parseInt(t[2],10);return"+"===t[0]?r:-r}return 0}],x={D:["day",i],DD:["day",o],Do:["day",i+a,function(e){return parseInt(e,10)}],M:["month",i,v],MM:["month",o,v],YY:["year",o,function(e){var t=+(""+new Date().getFullYear()).substr(0,2);return+(""+(+e>68?t-1:t)+e)}],h:["hour",i,void 0,"isPm"],hh:["hour",o,void 0,"isPm"],H:["hour",i],HH:["hour",o],m:["minute",i],mm:["minute",o],s:["second",i],ss:["second",o],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(e){return 100*+e}],SS:["millisecond",o,function(e){return 10*+e}],SSS:["millisecond","\\d{3}"],d:w,dd:w,ddd:E,dddd:E,MMM:["month",a,u("monthNamesShort")],MMMM:["month",a,u("monthNames")],a:S,A:S,ZZ:k,Z:k},O={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},T=function(e){return c(O,e)},R=function(e,t,r){if(void 0===t&&(t=O.default),void 0===r&&(r={}),"number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw Error("Invalid Date pass to format");t=O[t]||t;var i=[];t=t.replace(s,function(e,t){return i.push(t),"@@@"});var o=c(c({},m),r);return(t=t.replace(n,function(t){return _[t](e,o)})).replace(/@@@/g,function(){return i.shift()})};function M(e,t,r){if(void 0===r&&(r={}),"string"!=typeof t)throw Error("Invalid format in fecha parse");if(t=O[t]||t,e.length>1e3)return null;var i,o={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},a=[],l=[],u=t.replace(s,function(e,t){return l.push(y(t)),"@@@"}),f={},d={};u=y(u).replace(n,function(e){var t=x[e],r=t[0],n=t[1],i=t[3];if(f[r])throw Error("Invalid format. "+r+" specified twice in format");return f[r]=!0,i&&(d[i]=!0),a.push(t),"("+n+")"}),Object.keys(d).forEach(function(e){if(!f[e])throw Error("Invalid format. "+e+" is required in specified format")}),u=u.replace(/@@@/g,function(){return l.shift()});var h=e.match(RegExp(u,"i"));if(!h)return null;for(var p=c(c({},m),r),g=1;g11||o.month<0||o.day>31||o.day<1||o.hour>23||o.hour<0||o.minute>59||o.minute<0||o.second>59||o.second<0)return null;return i}t.default={format:R,parse:M,defaultI18n:p,setGlobalDateI18n:g,setGlobalDateMasks:T}},32296:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){if("string"==typeof e.displayName&&e.constructor.name)return e.displayName;if("string"==typeof e.name&&e.name)return e.name;if("object"==typeof e&&e.constructor&&"string"==typeof e.constructor.name)return e.constructor.name;var r=e.toString(),n=t.call(e).slice(8,-1);return(r="Function"===n?r.substring(r.indexOf("(")+1,r.indexOf(")")):n)||"anonymous"}},24970:function(e){"use strict";let t=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;t.writable=e=>t(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,t.readable=e=>t(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,t.duplex=e=>t.writable(e)&&t.readable(e),t.transform=e=>t.duplex(e)&&"function"==typeof e._transform,e.exports=t},29238:function(e,t,r){e.exports=window.DOMPurify||(window.DOMPurify=r(5239).default||r(5239))},36894:function(e,t,r){"use strict";var n=r(58287);e.exports=n(function(e){return e.message=" ".concat(e.message),e})},6850:function(e,t,r){"use strict";var n=t.format=r(58287);t.levels=r(47371),Object.defineProperty(n,"align",{value:r(36894)}),Object.defineProperty(n,"cli",{value:r(79008)}),Object.defineProperty(n,"colorize",{value:r(52046)}),Object.defineProperty(n,"combine",{value:r(21145)}),Object.defineProperty(n,"errors",{value:r(2657)}),Object.defineProperty(n,"json",{value:r(93048)}),Object.defineProperty(n,"label",{value:r(44403)}),Object.defineProperty(n,"logstash",{value:r(49660)}),Object.defineProperty(n,"metadata",{value:r(42883)}),Object.defineProperty(n,"ms",{value:r(33584)}),Object.defineProperty(n,"padLevels",{value:r(82886)}),Object.defineProperty(n,"prettyPrint",{value:r(28703)}),Object.defineProperty(n,"printf",{value:r(82361)}),Object.defineProperty(n,"simple",{value:r(82167)}),Object.defineProperty(n,"splat",{value:r(67729)}),Object.defineProperty(n,"timestamp",{value:r(7271)}),Object.defineProperty(n,"uncolorize",{value:r(39729)})},79008:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,o,a=r(52046).Colorizer,s=r(82886).Padder,l=r(15396),u=l.configs,c=l.MESSAGE,f=(i=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),t.levels||(t.levels=u.cli.levels),this.colorizer=new a(t),this.padder=new s(t),this.options=t},o=[{key:"transform",value:function(e,t){return this.colorizer.transform(this.padder.transform(e,t),t),e[c]="".concat(e.level,":").concat(e.message),e}}],function(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e.colors&&this.addColors(e.colors),this.options=e}return e=[{key:"addColors",value:function(e){return r.addColors(e)}},{key:"colorize",value:function(e,t,n){if(void 0===n&&(n=t),!Array.isArray(r.allColors[e]))return o[r.allColors[e]](n);for(var i=0,a=r.allColors[e].length;i2)throw new a(e);function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=e}function r(e){return new t(e)}return t.prototype.transform=e,r.Format=t,r}},93048:function(e,t,r){"use strict";var n=r(58287),i=r(15396).MESSAGE,o=r(87668);function a(e,t){return"bigint"==typeof t?t.toString():t}e.exports=n(function(e,t){var r=o.configure(t);return e[i]=r(e,t.replacer||a,t.space),e})},44403:function(e,t,r){"use strict";var n=r(58287);e.exports=n(function(e,t){return t.message?e.message="[".concat(t.label,"] ").concat(e.message):e.label=t.label,e})},47371:function(e,t,r){"use strict";var n=r(52046).Colorizer;e.exports=function(e){return n.addColors(e.colors||e),e}},49660:function(e,t,r){"use strict";var n=r(58287),i=r(15396).MESSAGE,o=r(87668);e.exports=n(function(e){var t={};return e.message&&(t["@message"]=e.message,delete e.message),e.timestamp&&(t["@timestamp"]=e.timestamp,delete e.timestamp),t["@fields"]=e,e[i]=o(t),e})},42883:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=r(58287);e.exports=i(function(e){var t,r,i,o,a,s,l,u,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f="metadata";c.key&&(f=c.key);var d=[];return(c.fillExcept||c.fillWith||(d.push("level"),d.push("message")),c.fillExcept&&(d=c.fillExcept),d.length>0)?(r=d,i=f,o=r.reduce(function(t,r){return t[r]=e[r],delete e[r],t},{}),a=Object.keys(e).reduce(function(t,r){return t[r]=e[r],delete e[r],t},{}),Object.assign(e,o,(s={},(t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(l=i,"string"),(l="symbol"==n(t)?t:t+"")in s)?Object.defineProperty(s,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):s[l]=a,s)),e):(c.fillWith&&(u=c.fillWith,e[f]=u.reduce(function(t,r){return t[r]=e[r],delete e[r],t},{})),e)})},33584:function(e,t,r){"use strict";var n=void 0,i=r(58287),o=r(57824);e.exports=i(function(e){var t=+new Date;return n.diff=t-(n.prevTime||t),n.prevTime=t,e.ms="+".concat(o(n.diff)),e})},82886:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==arguments[0]?arguments[0]:{levels:s.npm.levels};!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),this.paddings=r.paddingForLevels(e.levels,e.filler),this.options=e}return e=[{key:"transform",value:function(e,t){return e.message="".concat(this.paddings[e[l]]).concat(e.message),e[u]&&(e[u]="".concat(this.paddings[e[l]]).concat(e[u])),e}}],t=[{key:"getLongestLevel",value:function(e){var t=Object.keys(e).map(function(e){return e.length});return Math.max.apply(Math,function(e){if(Array.isArray(e))return i(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return i(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},{key:"paddingForLevel",value:function(e,t,r){var n=r+1-e.length,i=Math.floor(n/t.length);return"".concat(t).concat(t.repeat(i)).slice(0,n)}},{key:"paddingForLevels",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",n=r.getLongestLevel(e);return Object.keys(e).reduce(function(e,i){return e[i]=r.paddingForLevel(i,t,n),e},{})}}],e&&o(r.prototype,e),t&&o(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();e.exports=function(e){return new c(e)},e.exports.Padder=e.exports.Format=c},28703:function(e,t,r){"use strict";var n=r(89539).inspect,i=r(58287),o=r(15396),a=o.LEVEL,s=o.MESSAGE,l=o.SPLAT;e.exports=i(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e);return delete r[a],delete r[s],delete r[l],e[s]=n(r,!1,t.depth||null,t.colorize),e})},82361:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,o,a=r(15396).MESSAGE,s=(i=function e(t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this.template=t},o=[{key:"transform",value:function(e){return e[a]=this.template(e),e}}],function(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);r1?r.splice(0):r,o=i.length;if(o)for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:{};return t.format&&(e.timestamp="function"==typeof t.format?t.format():n.format(new Date,t.format)),e.timestamp||(e.timestamp=new Date().toISOString()),t.alias&&(e[t.alias]=e.timestamp),e})},39729:function(e,t,r){"use strict";var n=r(33645),i=r(58287),o=r(15396).MESSAGE;e.exports=i(function(e,t){return!1!==t.level&&(e.level=n.strip(e.level)),!1!==t.message&&(e.message=n.strip(String(e.message))),!1!==t.raw&&e[o]&&(e[o]=n.strip(String(e[o]))),e})},79235:function(e){"use strict";class t extends Error{constructor(e){super(`Format functions must be synchronous taking a two arguments: (info, opts) +Found: ${e.toString().split("\n")[0]} +`),Error.captureStackTrace(this,t)}}e.exports=e=>{if(e.length>2)throw new t(e);function r(e={}){this.options=e}function n(e){return new r(e)}return r.prototype.transform=e,n.Format=r,n}},13922:function(e,t,r){"use strict";let n=r(79235),{MESSAGE:i}=r(15396),o=r(87668);function a(e,t){return"bigint"==typeof t?t.toString():t}e.exports=n((e,t)=>{let r=o.configure(t);return e[i]=r(e,t.replacer||a,t.space),e})},30087:function(e,t,r){"use strict";r.d(t,{x:function(){return a}});var n=r(67294),i=r(77536),o=r(68187);r(38539);let a=n.forwardRef(function(e,t){let{className:r,name:a="InBodyAd",...s}=e;return n.createElement(o.r,{ref:t,className:(0,i.Sh)("media-ui-InBodyAds_inBodyAd-mz0YfknFCIM-",{className:r}),name:a,adType:"in-body",ariaLabel:"In-article advertisement",...s})})},27606:function(e,t,r){"use strict";r.d(t,{d:function(){return m}});var n=r(67294),i=r(96701),o=r(25434),a=r(77536),s=r(83682),l=r(60006),u=r(70390),c=r(54483),f=r.n(c),d=r(73935),h=r(67917);function p(e){let{children:t}=e;return h.sk?null:(0,d.createPortal)(t,document.body)}r(33974);let m=n.forwardRef(function(e,t){let{children:r,open:c=!1,name:d="drawer",onClose:h}=e,m=(0,o.f)(d),g=(0,a.Sh)(["media-ui-Drawer_base-OMyCh7D-kpY-"],e),y=(0,n.useRef)(null),b=(0,s.H)(y,t);return n.createElement(p,null,n.createElement(i.Z,{in:c,timeout:300,mountOnEnter:!0,nodeRef:y,classNames:{enter:"media-ui-Drawer_enter-sYbklEO8tyk-",enterActive:"media-ui-Drawer_enter-active-gk4621elygM-",exit:"media-ui-Drawer_exit-oPeMhsEbL5Y-",exitActive:"media-ui-Drawer_exit-active-QrTiMyZzx1A-"},unmountOnExit:!0},n.createElement("div",{className:g,ref:b,"data-component":m},n.createElement("div",{className:"overlay"}),n.createElement(f(),{active:c,focusTrapOptions:{fallbackFocus:".main",clickOutsideDeactivates:h,escapeDeactivates:h}},n.createElement("div",{className:"main",role:"dialog","aria-labelledby":"dialog_label","aria-modal":"true"},r,n.createElement(l.h,{className:"close-button",onClick:h,title:"Close menu",size:"small"},n.createElement(u.n$,null)))))))});m.Header=function(e){let{children:t,name:r="drawer-header",...i}=e;return n.createElement("div",{className:(0,a.Sh)(["media-ui-Drawer_header-s830oNhRdZE-"],i),"data-component":(0,o.f)(r),id:"dialog-label"},t)},m.Header.displayName="Drawer.Header",m.Content=function(e){let{children:t,name:r="drawer-content",...i}=e;return n.createElement("div",{className:(0,a.Sh)(["media-ui-Drawer_content-jZzp04L7Gao-"],i),"data-component":(0,o.f)(r)},t)},m.Content.displayName="Drawer.Content",m.Button=function(e){let{children:t,name:r="drawer-button",className:i,...s}=e;return n.createElement("button",{className:(0,a.Sh)(["media-ui-Drawer_button-Yf1U53WnCsA-"],{className:i,...s}),"data-component":(0,o.f)(r),...s},t)},m.Button.displayName="Drawer.Button"},74116:function(e,t,r){"use strict";r.d(t,{O:function(){return c}});var n=r(67294),i=r(67673),o=r(25434),a=r(77536),s=r(16562);r(19740);var l={terminalTout:"media-ui-TerminalTout_terminalTout-jMmQ--E35FQ-",background:"media-ui-TerminalTout_background-ugfAG8JrlcE-",cta:"media-ui-TerminalTout_cta-MhehFIQemMA-",icon:"media-ui-TerminalTout_icon-UNnzMeAfRHw-",centerAligned:"media-ui-TerminalTout_centerAligned-dU4kQ27OR90-",info:"media-ui-TerminalTout_info-7hWexZP6x-U-",highlight:"media-ui-TerminalTout_highlight-LKP-y7t--IQ-"};let u={en:"https://www.bloomberg.com/professional/solution/bloomberg-terminal-learn-more/?utm_source=bbg&utm_medium=intpro&utm_campaign=trmnl&utm_content=web_dotcom&tactic=794999",ja:"https://about.bloomberg.co.jp/solution/bloomberg-terminal/"},c=n.forwardRef(function(e,t){let{languageCode:r,name:c="TerminalTout",centerAligned:f=!1}=e,d=u[null!=r?r:"en"],[h]=(0,o.f)(c);return n.createElement("a",{href:d,target:"_blank",rel:"noreferrer",className:(0,a.Sh)([l.terminalTout,f&&l.centerAligned],e),ref:t,"data-component":h},n.createElement("div",{className:l.background},n.createElement("div",{className:l.info},n.createElement(s.j,{id:"media-ui-core_beforeItsHereItsOnTheBloombergTerminal",defaultMessage:"Before it’s here, it’s on the Bloomberg Terminal",values:{span:e=>n.createElement("span",{className:l.highlight},e)}})),n.createElement("div",{className:l.cta},n.createElement(i.oI,{className:l.icon})," ",n.createElement(s.j,{id:"media-ui-core_learnMore",defaultMessage:"LEARN MORE"}))))})},53633:function(e,t,r){"use strict";r.d(t,{P:function(){return h}});var n=r(67294),i=r(77536),o=r(33617),a=r(25434),s=r(9339),l=r(70390),u=r(58783),c=r(62299);r(98646);var f={wrapper:"media-ui-OutlinedDropdown_wrapper-jDVzlgd6BVg-","input-container":"media-ui-OutlinedDropdown_input-container--d6o57YImSo-","icon-button":"media-ui-OutlinedDropdown_icon-button-KLjKLzHAMZs-",error:"media-ui-OutlinedDropdown_error-ddrIvhkkooE-",chevron:"media-ui-OutlinedDropdown_chevron-1pMsIxL3WwY-",open:"media-ui-OutlinedDropdown_open-chpaPyMcCZw-",menu:"media-ui-OutlinedDropdown_menu-S8x6K0Uz8jw-","menu-open":"media-ui-OutlinedDropdown_menu-open-8HIWJAg-PKg-",item:"media-ui-OutlinedDropdown_item-0N0q4FaBwJA-",small:"media-ui-OutlinedDropdown_small-D1-NcdsQHrs-",empty:"media-ui-OutlinedDropdown_empty-TsBom1hnVW8-"};let d=n.forwardRef(function(e,t){let{disabled:r,label:a,name:s,options:u,placeholder:d="",noOptionsText:h="No options available",open:p,renderProps:m,selectedItem:g,setOpen:y,setSelectedItem:b,setTempValue:_,filterOptions:v,size:w,tempValue:E,inputProps:S,labelProps:k,required:x=!1,unstyled:O=!1,error:T,helperText:R,id:M}=e,{getInputProps:N,getLabelProps:P,getRootProps:C,getToggleButtonProps:j,getMenuProps:A,getItemProps:L,highlightedIndex:D,inputValue:I}=m,z=n.useMemo(()=>u.filter(e=>!!g&&((null==g?void 0:g.displayValue)===I||(null==g?void 0:g.value)===I)||!I||(e.displayValue||e.value).toLowerCase().includes(I.toLowerCase())),[p,u,I,g]),F=v?v(I):z,B={...A(),"aria-labelledby":"".concat(M,"-menu")};return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,i.Sh)([f["input-container"]],{unstyled:O}),ref:t},n.createElement(o.z,{unstyled:O,disabled:r,label:a,id:M,size:w,name:"".concat(s,"-input"),placeholder:d,value:N().value||"",required:x,error:T,helperText:R,labelProps:{...P(),...k},inputProps:{...S,autoComplete:"off","aria-labelledby":"".concat(M,"-label"),onBlur:e=>{e.persist();let{onBlur:t}=N();t&&t(e),(null==S?void 0:S.onBlur)&&S.onBlur(e)},onChange:e=>{let{onChange:t}=N();e.persist(),_(e.target.value),t&&t(e),y(!0),(null==S?void 0:S.onChange)&&S.onChange(e)},onFocus:e=>{y(!0),(null==S?void 0:S.onFocus)&&S.onFocus(e)},onKeyDown:e=>{let{onKeyDown:t}=N();t&&t(e),"Enter"===e.key&&(E||b(null)),"Escape"===e.key&&y(!1),(null==S?void 0:S.onKeyDown)&&S.onKeyDown(e)}},...C({},{suppressRefError:!0})}),n.createElement("button",{"aria-label":"Toggle Menu",type:"button",disabled:r,className:(0,i.Sh)([f["icon-button"],{[f.error]:T}],{unstyled:O}),...j(),onClick:e=>{y(e=>!e),j().onClick(e)}},n.createElement("span",{className:(0,i.Sh)([f.chevron,{[f.open]:p}],{unstyled:O})},n.createElement(l._M,null)))),n.createElement("ul",{className:(0,i.Sh)([f.menu,{[f["menu-open"]]:p,open:p,closed:!p}],e),...B},p&&0===F.length&&h&&n.createElement("li",{className:(0,i.Sh)([f.item,f.empty,{[f.small]:"small"===w}],{unstyled:O})},h),F.length>0&&F.map((e,t)=>n.createElement(c.Q,{size:w,isSelected:e.value===(null==g?void 0:g.value),isHighlighted:t===D,key:"".concat(e.value).concat(t),displayValue:e.displayValue,value:e.value,...L({item:e,index:t})}))))}),h=n.forwardRef(function(e,t){var r;let{disabled:o=!1,name:l,id:c,inputProps:h,labelProps:p,noOptionsText:m,options:g=[],onChange:y,onTextChange:b,filterOptions:_,placeholder:v="",label:w="",value:E,defaultValue:S,required:k,size:x="default",error:O,helperText:T}=e,[R,M]=n.useState(!1),N=n.useRef((0,i.Mc)()),P=c||(null==h?void 0:h.id)||l||w||N.current,[C,j]=n.useState((null===(r=E||S)||void 0===r?void 0:r.value)||""),[A,L]=n.useState(E||S||null),D=l||"OutlinedDropdown",[I]=(0,a.f)(D),z=n.useCallback(e=>{y&&y(e),L(e),j((null==e?void 0:e.value)||""),M(!1)},[y]),F=n.useCallback(e=>{(e.type===u.ZP.stateChangeTypes.clickItem||e.type===u.ZP.stateChangeTypes.mouseUp||e.type===u.ZP.stateChangeTypes.blurButton||e.type===u.ZP.stateChangeTypes.blurInput)&&M(!1)},[b]),B=n.useCallback(e=>{b&&b(e)},[b]);return n.createElement("div",{ref:t,"data-component":I,id:"select-box-".concat(w),className:(0,i.Sh)([f.wrapper],e)},n.createElement(u.ZP,{inputId:P,labelId:"".concat(P,"-label"),menuId:"".concat(P,"-menu"),onChange:z,isOpen:R,initialInputValue:(null==S?void 0:S.displayValue)||(null==S?void 0:S.value),onInputValueChange:B,inputValue:(null==E?void 0:E.displayValue)||(null==E?void 0:E.value),onStateChange:F,itemToString:function(e){return(null==e?void 0:e.displayValue)||(null==e?void 0:e.value)||""}},t=>n.createElement(d,{size:x,disabled:o,renderProps:t,name:D,label:w,id:P,placeholder:v,options:g,selectedItem:A,setSelectedItem:L,setOpen:M,open:R,noOptionsText:m,tempValue:C,setTempValue:j,filterOptions:_,unstyled:e.unstyled,inputProps:h,labelProps:p,required:k,error:O,helperText:void 0,...t.getRootProps()})),T&&n.createElement(s.p,{text:T,error:O}))})},36672:function(e,t,r){"use strict";r.d(t,{b:function(){return u}});var n=r(67294),i=r(25434),o=r(77536);r(25965);var a={sparklineContainer:"media-ui-Sparkline_sparklineContainer-nhtZf2tc8Ao-",emptySparklineContainer:"media-ui-Sparkline_emptySparklineContainer-fOe7BTjNcFA-",sparklineMarker:"media-ui-Sparkline_sparklineMarker-4guyQDKYF-M-",sparklineLine:"media-ui-Sparkline_sparklineLine-kKdRKzmzeZ4-",useThickerLine:"media-ui-Sparkline_useThickerLine-hdgpo5LX3jQ-",useThinnerLine:"media-ui-Sparkline_useThinnerLine-xqtpFPaQVXU-",sparklineFill:"media-ui-Sparkline_sparklineFill-VcOJeKIaxzA-",sparklineReference:"media-ui-Sparkline_sparklineReference-6DowYUMyQW0-",useLongerDashes:"media-ui-Sparkline_useLongerDashes-iBS8FPfAW3E-",useLighterReference:"media-ui-Sparkline_useLighterReference-yF4IdiarKn4-",positive:"media-ui-Sparkline_positive-hiNE6HIsu6Q-",negative:"media-ui-Sparkline_negative-LAkAaDKssE0-",neutral:"media-ui-Sparkline_neutral-p0RWiImweP8-",gradient:"media-ui-Sparkline_gradient-SWn9-FBx67g-"};let s=(e,t,r,n,i)=>(t-2*i)/(r-n||2)*(r===n?1:r-e),l=(e,t,r,n,i,o,a)=>{let s=e.length,l=e.slice(Math.max(0,s-(t||s))),u=2*a,c=(o-u)/(r-n||2),f=(i-u)/((t||s)-(s>1?1:0)),d=e=>r===n?1:r-e;return l.map((e,t)=>({x:t*f+a,y:d(e)*c+a}))},u=(0,n.forwardRef)(function(e,t){let{priceSet:r=[],yesterdayPrice:u,limit:c=39,width:f=240,height:d=60,margin:h=2,svgWidth:p=140,svgHeight:m=45,withGradient:g=!0,withReference:y=!0,useThickerLine:b=!1,useThinnerLine:_=!1,useLongerDashes:v=!1,useLighterReference:w=!1,removeSparkLineMarker:E=!1,useGradualFade:S=!1,name:k="Sparkline",percentChange:x}=e,O=(0,n.useMemo)(()=>Math.floor(2e7*Math.random()).toString(16),[]),[T]=(0,i.f)(k);if((null==r?void 0:r.length)===0)return n.createElement("div",{className:(0,o.Sh)([a.emptySparklineContainer],e),ref:t,"data-component":T});let R=Math.max(...r,u),M=Math.min(...r,u),N=(0,o.Mg)(void 0!==x?x:r[r.length-1]-u),P=l(r,c,R,M,f,d,h),C=P[0],j=P[P.length-1],A=P.map(e=>[e.x,e.y]).flat(),L=[-1,null==C?void 0:C.y,-1,d-h,h,d-h].concat(A,[null==j?void 0:j.x,d-h,h,d-h,h,null==C?void 0:C.y]),D=s(u,d,R,M,h),I=(0,o.Sh)([a[N],a.sparklineContainer],e),z=S?"0%":"80%",F=S?"90%":"100%";return n.createElement("div",{className:I,ref:t,"data-component":T},n.createElement("svg",{viewBox:"0 0 ".concat(f," ").concat(d),preserveAspectRatio:"none",width:p,height:m},g&&n.createElement("defs",null,n.createElement("linearGradient",{id:"positive-gradient-".concat(O),x1:"0%",y1:"0%",x2:"0%",y2:"100%",className:(0,o.RD)([a.gradient,a.positive])},n.createElement("stop",{offset:z,stopColor:"currentColor",stopOpacity:"0.3"}),n.createElement("stop",{offset:F,stopColor:"currentColor",stopOpacity:"0"})),n.createElement("linearGradient",{id:"negative-gradient-".concat(O),x1:"0%",y1:"0%",x2:"0%",y2:"100%",className:(0,o.RD)([a.gradient,a.negative])},n.createElement("stop",{offset:z,stopColor:"currentColor",stopOpacity:"0.3"}),n.createElement("stop",{offset:F,stopColor:"currentColor",stopOpacity:"0"})),n.createElement("linearGradient",{id:"neutral-gradient-".concat(O),x1:"0%",y1:"0%",x2:"0%",y2:"100%",className:(0,o.RD)([a.gradient,a.neutral])},n.createElement("stop",{offset:z,stopColor:"currentColor",stopOpacity:"0.3"}),n.createElement("stop",{offset:F,stopColor:"currentColor",stopOpacity:"0"}))),y&&n.createElement("line",{className:(0,o.Sh)([a.sparklineReference,v&&a.useLongerDashes,w&&a.useLighterReference]),x1:null==C?void 0:C.x,y1:D+h,x2:f,y2:D+h}),n.createElement("g",null,g&&n.createElement("polyline",{className:a.sparklineFill,points:L.join(" "),fill:"url(#".concat(N,"-gradient-").concat(O,")")}),n.createElement("polyline",{className:(0,o.Sh)([a.sparklineLine,b&&a.useThickerLine,_&&a.useThinnerLine]),points:A.join(" ")})),!E&&n.createElement("rect",{className:a.sparklineMarker,x:((null==j?void 0:j.x)||NaN)-3,y:((null==j?void 0:j.y)||NaN)-3})))})},36993:function(e,t,r){"use strict";r.d(t,{l:function(){return f}});var n=r(67294),i=r(25434),o=r(77536),a=r(30310),s=r(64057),l=r(98279),u=r(83683),c=r(36672);r(53597);let f=n.forwardRef(function(e,t){let{name:r="SparklineCard",directionBy:f="default",unstyled:d}=e,h=(0,i.f)(r),p=(0,o.Sh)(["media-ui-SparklineCard_wrapper-NjUSqP0P-ms-"],{...e,unstyled:d,name:r});return n.createElement("div",{className:p,ref:t,"data-component":h},n.createElement(s.R,{size:"large",securityName:e.securityName,unstyled:e.unstyled}),n.createElement("div",{className:"media-ui-SparklineCard_priceChange-azquEDGqV9w-"},n.createElement(u.l,{price:e.price,currency:e.currency,unstyled:e.unstyled}),n.createElement(a.R,{variant:l.$e.refresh2024,percentChange:e.percentChange,unstyled:e.unstyled})),n.createElement(c.b,{priceSet:e.priceSet,removeSparkLineMarker:!0,yesterdayPrice:e.yesterdayPrice,withReference:!1,useThinnerLine:!0,useGradualFade:e.useGradualFade,unstyled:e.unstyled,percentChange:"percentChange"===f?e.percentChange:void 0}))})},47715:function(e,t,r){var n=r(48764).Buffer,i=r(34155);!function(){"use strict";var t={742:function(e,t,r){var o=r(491),a=r(562),s=r(450),l=r(324),u=r(320);for(var c in u)t[c]=u[c];function f(e){if("number"!=typeof e||et.UNZIP)throw TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7,f.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,o(this.init_done,"close before init"),o(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?s.deflateEnd(this.strm):(this.mode===t.INFLATE||this.mode===t.GUNZIP||this.mode===t.INFLATERAW||this.mode===t.UNZIP)&&l.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null},f.prototype.write=function(e,t,r,n,i,o,a){return this._write(!0,e,t,r,n,i,o,a)},f.prototype.writeSync=function(e,t,r,n,i,o,a){return this._write(!1,e,t,r,n,i,o,a)},f.prototype._write=function(e,r,a,s,l,u,c,f){if(o.equal(arguments.length,8),o(this.init_done,"write before init"),o(this.mode!==t.NONE,"already finalized"),o.equal(!1,this.write_in_progress,"write already in progress"),o.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,o.equal(!1,void 0===r,"must provide flush value"),this.write_in_progress=!0,r!==t.Z_NO_FLUSH&&r!==t.Z_PARTIAL_FLUSH&&r!==t.Z_SYNC_FLUSH&&r!==t.Z_FULL_FLUSH&&r!==t.Z_FINISH&&r!==t.Z_BLOCK)throw Error("Invalid flush value");if(null==a&&(a=n.alloc(0),l=0,s=0),this.strm.avail_in=l,this.strm.input=a,this.strm.next_in=s,this.strm.avail_out=f,this.strm.output=u,this.strm.next_out=c,this.flush=r,!e)return(this._process(),this._checkError())?this._afterSync():void 0;var d=this;return i.nextTick(function(){d._process(),d._after()}),this},f.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},f.prototype._process=function(){var e=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===e)break;if(31===this.strm.input[e]){if(this.gzip_id_bytes_read=1,e++,1===this.strm.avail_in)break}else{this.mode=t.INFLATE;break}case 1:if(null===e)break;139===this.strm.input[e]?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw Error("invalid number of gzip magic number bytes read")}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:for(this.err=l.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=l.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=l.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=l.inflate(this.strm,this.flush);break;default:throw Error("Unknown mode "+this.mode)}},f.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===t.Z_FINISH)return this._error("unexpected end of file"),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},f.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},f.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},f.prototype.init=function(e,r,n,i,a){o(4==arguments.length||5==arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),o(e>=8&&e<=15,"invalid windowBits"),o(r>=-1&&r<=9,"invalid compression level"),o(n>=1&&n<=9,"invalid memlevel"),o(i===t.Z_FILTERED||i===t.Z_HUFFMAN_ONLY||i===t.Z_RLE||i===t.Z_FIXED||i===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,e,n,i,a),this._setDictionary()},f.prototype.params=function(){throw Error("deflateParams Not supported")},f.prototype.reset=function(){this._reset(),this._setDictionary()},f.prototype._init=function(e,r,n,i,o){switch(this.level=e,this.windowBits=r,this.memLevel=n,this.strategy=i,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,(this.mode===t.GZIP||this.mode===t.GUNZIP)&&(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),(this.mode===t.DEFLATERAW||this.mode===t.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=l.inflateInit2(this.strm,this.windowBits);break;default:throw Error("Unknown mode "+this.mode)}this.err!==t.Z_OK&&this._error("Init error"),this.dictionary=o,this.write_in_progress=!1,this.init_done=!0},f.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=s.deflateSetDictionary(this.strm,this.dictionary)}this.err!==t.Z_OK&&this._error("Failed to set dictionary")}},f.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=s.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=l.inflateReset(this.strm)}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=f},23:function(e,t,r){var n=r(300).Buffer,o=r(781).Transform,a=r(742),s=r(837),l=r(491).ok,u=r(300).kMaxLength,c="Cannot create final Buffer. It would be larger than 0x"+u.toString(16)+" bytes";a.Z_MIN_WINDOWBITS=8,a.Z_MAX_WINDOWBITS=15,a.Z_DEFAULT_WINDOWBITS=15,a.Z_MIN_CHUNK=64,a.Z_MAX_CHUNK=1/0,a.Z_DEFAULT_CHUNK=16384,a.Z_MIN_MEMLEVEL=1,a.Z_MAX_MEMLEVEL=9,a.Z_DEFAULT_MEMLEVEL=8,a.Z_MIN_LEVEL=-1,a.Z_MAX_LEVEL=9,a.Z_DEFAULT_LEVEL=a.Z_DEFAULT_COMPRESSION;for(var f=Object.keys(a),d=0;d=u?a=RangeError(c):t=n.concat(i,o),i=[],e.close(),r(a,t)}e.on("error",function(t){e.removeListener("end",s),e.removeListener("readable",a),r(t)}),e.on("end",s),e.end(t),a()}function _(e,t){if("string"==typeof t&&(t=n.from(t)),!n.isBuffer(t))throw TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(t,r)}function v(e){if(!(this instanceof v))return new v(e);R.call(this,e,a.DEFLATE)}function w(e){if(!(this instanceof w))return new w(e);R.call(this,e,a.INFLATE)}function E(e){if(!(this instanceof E))return new E(e);R.call(this,e,a.GZIP)}function S(e){if(!(this instanceof S))return new S(e);R.call(this,e,a.GUNZIP)}function k(e){if(!(this instanceof k))return new k(e);R.call(this,e,a.DEFLATERAW)}function x(e){if(!(this instanceof x))return new x(e);R.call(this,e,a.INFLATERAW)}function O(e){if(!(this instanceof O))return new O(e);R.call(this,e,a.UNZIP)}function T(e){return e===a.Z_NO_FLUSH||e===a.Z_PARTIAL_FLUSH||e===a.Z_SYNC_FLUSH||e===a.Z_FULL_FLUSH||e===a.Z_FINISH||e===a.Z_BLOCK}function R(e,r){var i=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||t.Z_DEFAULT_CHUNK,o.call(this,e),e.flush&&!T(e.flush))throw Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!T(e.finishFlush))throw Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||a.Z_NO_FLUSH,this._finishFlushFlag=void 0!==e.finishFlush?e.finishFlush:a.Z_FINISH,e.chunkSize&&(e.chunkSizet.Z_MAX_CHUNK))throw Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBitst.Z_MAX_WINDOWBITS))throw Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.levelt.Z_MAX_LEVEL))throw Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevelt.Z_MAX_MEMLEVEL))throw Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=t.Z_FILTERED&&e.strategy!=t.Z_HUFFMAN_ONLY&&e.strategy!=t.Z_RLE&&e.strategy!=t.Z_FIXED&&e.strategy!=t.Z_DEFAULT_STRATEGY)throw Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!n.isBuffer(e.dictionary))throw Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(r);var s=this;this._hadError=!1,this._handle.onerror=function(e,r){M(s),s._hadError=!0;var n=Error(e);n.errno=r,n.code=t.codes[r],s.emit("error",n)};var l=t.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(l=e.level);var u=t.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(u=e.strategy),this._handle.init(e.windowBits||t.Z_DEFAULT_WINDOWBITS,l,e.memLevel||t.Z_DEFAULT_MEMLEVEL,u,e.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=u,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!i._handle},configurable:!0,enumerable:!0})}function M(e,t){t&&i.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}function N(e){e.emit("close")}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(p),writable:!1}),t.Deflate=v,t.Inflate=w,t.Gzip=E,t.Gunzip=S,t.DeflateRaw=k,t.InflateRaw=x,t.Unzip=O,t.createDeflate=function(e){return new v(e)},t.createInflate=function(e){return new w(e)},t.createDeflateRaw=function(e){return new k(e)},t.createInflateRaw=function(e){return new x(e)},t.createGzip=function(e){return new E(e)},t.createGunzip=function(e){return new S(e)},t.createUnzip=function(e){return new O(e)},t.deflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new v(t),e,r)},t.deflateSync=function(e,t){return _(new v(t),e)},t.gzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new E(t),e,r)},t.gzipSync=function(e,t){return _(new E(t),e)},t.deflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new k(t),e,r)},t.deflateRawSync=function(e,t){return _(new k(t),e)},t.unzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new O(t),e,r)},t.unzipSync=function(e,t){return _(new O(t),e)},t.inflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new w(t),e,r)},t.inflateSync=function(e,t){return _(new w(t),e)},t.gunzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new S(t),e,r)},t.gunzipSync=function(e,t){return _(new S(t),e)},t.inflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),b(new x(t),e,r)},t.inflateRawSync=function(e,t){return _(new x(t),e)},s.inherits(R,o),R.prototype.params=function(e,r,n){if(et.Z_MAX_LEVEL)throw RangeError("Invalid compression level: "+e);if(r!=t.Z_FILTERED&&r!=t.Z_HUFFMAN_ONLY&&r!=t.Z_RLE&&r!=t.Z_FIXED&&r!=t.Z_DEFAULT_STRATEGY)throw TypeError("Invalid strategy: "+r);if(this._level!==e||this._strategy!==r){var o=this;this.flush(a.Z_SYNC_FLUSH,function(){l(o._handle,"zlib binding closed"),o._handle.params(e,r),!o._hadError&&(o._level=e,o._strategy=r,n&&n())})}else i.nextTick(n)},R.prototype.reset=function(){return l(this._handle,"zlib binding closed"),this._handle.reset()},R.prototype._flush=function(e){this._transform(n.alloc(0),"",e)},R.prototype.flush=function(e,t){var r=this,o=this._writableState;"function"!=typeof e&&(void 0!==e||t)||(t=e,e=a.Z_FULL_FLUSH),o.ended?t&&i.nextTick(t):o.ending?t&&this.once("end",t):o.needDrain?t&&this.once("drain",function(){return r.flush(e,t)}):(this._flushFlag=e,this.write(n.alloc(0),"",t))},R.prototype.close=function(e){M(this,e),i.nextTick(N,this)},R.prototype._transform=function(e,t,r){var i,o=this._writableState,s=(o.ending||o.ended)&&(!e||o.length===e.length);return null===e||n.isBuffer(e)?this._handle?void(s?i=this._finishFlushFlag:(i=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),this._processChunk(e,i,r)):r(Error("zlib binding closed")):r(Error("invalid input"))},R.prototype._processChunk=function(e,t,r){var i=e&&e.length,o=this._chunkSize-this._offset,a=0,s=this,f="function"==typeof r;if(!f){var d,h=[],p=0;this.on("error",function(e){d=e}),l(this._handle,"zlib binding closed");do var m=this._handle.writeSync(t,e,a,i,this._buffer,this._offset,o);while(!this._hadError&&b(m[0],m[1]));if(this._hadError)throw d;if(p>=u)throw M(this),RangeError(c);var g=n.concat(h,p);return M(this),g}l(this._handle,"zlib binding closed");var y=this._handle.write(t,e,a,i,this._buffer,this._offset,o);function b(u,c){if(this&&(this.buffer=null,this.callback=null),!s._hadError){var d=o-c;if(l(d>=0,"have should not go down"),d>0){var m=s._buffer.slice(s._offset,s._offset+d);s._offset+=d,f?s.push(m):(h.push(m),p+=m.length)}if((0===c||s._offset>=s._chunkSize)&&(o=s._chunkSize,s._offset=0,s._buffer=n.allocUnsafe(s._chunkSize)),0===c){if(a+=i-u,i=u,!f)return!0;var g=s._handle.write(t,e,a,i,s._buffer,s._offset,s._chunkSize);return g.callback=b,void(g.buffer=e)}if(!f)return!1;r()}}y.buffer=e,y.callback=b},s.inherits(v,R),s.inherits(w,R),s.inherits(E,R),s.inherits(S,R),s.inherits(k,R),s.inherits(x,R),s.inherits(O,R)},380:function(e,t){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw TypeError(r+"must be non-object");for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray){e.set(t.subarray(r,r+n),i);return}for(var o=0;o>>16&65535|0,a=0;0!==r;){a=r>2e3?2e3:r,r-=a;do o=o+(i=i+t[n++]|0)|0;while(--a);i%=65521,o%=65521}return i|o<<16|0}},320:function(e){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},307:function(e){var t=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,r,n,i){var o=i+n;e^=-1;for(var a=i;a>>8^t[(e^r[a])&255];return -1^e}},450:function(e,t,r){var n,i=r(380),o=r(842),a=r(496),s=r(307),l=r(31);function u(e,t){return e.msg=l[t],t}function c(e){return(e<<1)-(e>4?9:0)}function f(e){for(var t=e.length;--t>=0;)e[t]=0}function d(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function h(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,d(e.strm)}function p(e,t){e.pending_buf[e.pending++]=t}function m(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function g(e,t){var r,n,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,f=e.prev,d=e.strstart+258,h=u[o+a-1],p=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(r=t)+a]!==p||u[r+a-1]!==h||u[r]!==u[o]||u[++r]!==u[o+1])continue;o+=2,r++;do;while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&oa){if(e.match_start=t,a=n,n>=s)break;h=u[o+a-1],p=u[o+a]}}while((t=f[t&c])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function y(e){var t,r,n,o,l,u=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=u+(u-262)){i.arraySet(e.window,e.window,u,u,0),e.match_start-=u,e.strstart-=u,e.block_start-=u,t=r=e.hash_size;do n=e.head[--t],e.head[t]=n>=u?n-u:0;while(--r);t=r=u;do n=e.prev[--t],e.prev[t]=n>=u?n-u:0;while(--r);o+=u}if(0===e.strm.avail_in)break;if(r=function(e,t,r,n){var o=e.avail_in;return(o>n&&(o=n),0===o)?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,r),1===e.state.wrap?e.adler=a(e.adler,t,o,r):2===e.state.wrap&&(e.adler=s(e.adler,t,o,r)),e.next_in+=o,e.total_in+=o,o)}(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=r,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3){if(n=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<15&&(s=2,n-=16),o<1||o>9||8!==r||n<8||n>15||t<0||t>9||a<0||a>4)return u(e,-2);8===n&&(n=9);var l=new w;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,h(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-262&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:(e.strstart>e.block_start&&(h(e,!1),e.strm.avail_out),1)}),new v(4,4,8,4,b),new v(4,5,16,8,b),new v(4,6,32,32,b),new v(4,4,16,16,_),new v(8,16,32,32,_),new v(8,16,128,128,_),new v(8,32,128,256,_),new v(32,128,258,1024,_),new v(32,258,258,4096,_)],t.deflateInit=function(e,t){return k(e,t,8,15,8,0)},t.deflateInit2=k,t.deflateReset=S,t.deflateResetKeep=E,t.deflateSetHeader=function(e,t){return e&&e.state&&2===e.state.wrap?(e.state.gzhead=t,0):-2},t.deflate=function(e,t){if(!e||!e.state||t>5||t<0)return e?u(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return u(e,0===e.avail_out?-5:-2);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status){if(2===i.wrap)e.adler=0,p(i,31),p(i,139),p(i,8),i.gzhead?(p(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,3),i.status=113);else{var r,i,a,l,g=8+(i.w_bits-8<<4)<<8;g|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(g|=32),g+=31-g%31,i.status=113,m(i,g),0!==i.strstart&&(m(i,e.adler>>>16),m(i,65535&e.adler)),e.adler=1}}if(69===i.status){if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),d(e),a=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73}if(73===i.status){if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),d(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindexa&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91}if(91===i.status){if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),d(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindexa&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=103)}else i.status=103}if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&d(e),i.pending+2<=i.pending_buf_size&&(p(i,255&e.adler),p(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(d(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&c(t)<=c(r)&&4!==t)return u(e,-5);if(666===i.status&&0!==e.avail_in)return u(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var b=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,a,s=e.window;;){if(e.lookahead<=258){if(y(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=e.strstart+258;do;while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&ie.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(h(e,!1),0===e.strm.avail_out))return 1}return(e.insert=0,4===t)?(h(e,!0),0===e.strm.avail_out)?3:4:e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if((3===b||4===b)&&(i.status=666),1===b||3===b)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===b&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(f(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),d(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&e.adler),p(i,e.adler>>8&255),p(i,e.adler>>16&255),p(i,e.adler>>24&255),p(i,255&e.total_in),p(i,e.total_in>>8&255),p(i,e.total_in>>16&255),p(i,e.total_in>>24&255)):(m(i,e.adler>>>16),m(i,65535&e.adler)),d(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?u(e,-2):(e.state=null,113===t?u(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var r,n,o,s,l,u,c,d,h=t.length;if(!e||!e.state||2===(s=(r=e.state).wrap)||1===s&&42!==r.status||r.lookahead)return -2;for(1===s&&(e.adler=a(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===s&&(f(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new i.Buf8(r.w_size),i.arraySet(d,t,h-r.w_size,r.w_size,0),t=d,h=r.w_size),l=e.avail_in,u=e.next_in,c=e.input,e.avail_in=h,e.next_in=0,e.input=t,y(r);r.lookahead>=3;){n=r.strstart,o=r.lookahead-2;do r.ins_h=(r.ins_h<>>=v=_>>>24,p-=v,0==(v=_>>>16&255))O[o++]=65535&_;else if(16&v)for(w=65535&_,(v&=15)&&(p>>=v,p-=v),p<15&&(h+=x[n++]<>>=v=_>>>24,p-=v,16&(v=_>>>16&255)){if(E=65535&_,p<(v&=15)&&(h+=x[n++]<l){e.msg="invalid distance too far back",r.mode=30;break e}if(h>>>=v,p-=v,E>(v=o-a)){if((v=E-v)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,k=d,0===f){if(S+=u-v,v2;)O[o++]=k[S++],O[o++]=k[S++],O[o++]=k[S++],w-=3;w&&(O[o++]=k[S++],w>1&&(O[o++]=k[S++]))}else{S=o-E;do O[o++]=O[S++],O[o++]=O[S++],O[o++]=O[S++],w-=3;while(w>2);w&&(O[o++]=O[S++],w>1&&(O[o++]=O[S++]))}}else if((64&v)==0){_=g[(65535&_)+(h&(1<>3,p-=w<<3,h&=(1<>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new o.Buf32(852),t.distcode=t.distdyn=new o.Buf32(592),t.sane=1,t.back=-1,0):-2}function h(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):-2}function p(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,h(e)):-2}function m(e,t){var r,n;return e?(n=new f,e.state=n,n.window=null,0!==(r=p(e,t))&&(e.state=null),r):-2}var g=!0;function y(e,t,r,n){var i,a=e.state;return null===a.window&&(a.wsize=1<=a.wsize?(o.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),o.arraySet(a.window,t,r-n,i,a.wnext),(n-=i)?(o.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave>>8&255,r.check=s(r.check,I,2,0),_=0,v=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&_)<<8)+(_>>8))%31){e.msg="incorrect header check",r.mode=30;break}if((15&_)!=8){e.msg="unknown compression method",r.mode=30;break}if(_>>>=4,v-=4,C=(15&_)+8,0===r.wbits)r.wbits=C;else if(C>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(I[0]=255&_,I[1]=_>>>8&255,r.check=s(r.check,I,2,0)),_=0,v=0,r.mode=3;case 3:for(;v<32;){if(0===m)break e;m--,_+=f[h++]<>>8&255,I[2]=_>>>16&255,I[3]=_>>>24&255,r.check=s(r.check,I,4,0)),_=0,v=0,r.mode=4;case 4:for(;v<16;){if(0===m)break e;m--,_+=f[h++]<>8),512&r.flags&&(I[0]=255&_,I[1]=_>>>8&255,r.check=s(r.check,I,2,0)),_=0,v=0,r.mode=5;case 5:if(1024&r.flags){for(;v<16;){if(0===m)break e;m--,_+=f[h++]<>>8&255,r.check=s(r.check,I,2,0)),_=0,v=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((S=r.length)>m&&(S=m),S&&(r.head&&(C=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),o.arraySet(r.head.extra,f,h,S,C)),512&r.flags&&(r.check=s(r.check,f,S,h)),m-=S,h+=S,r.length-=S),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===m)break e;S=0;do C=f[h+S++],r.head&&C&&r.length<65536&&(r.head.name+=String.fromCharCode(C));while(C&&S>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;v<32;){if(0===m)break e;m--,_+=f[h++]<>>=7&v,v-=7&v,r.mode=27;break}for(;v<3;){if(0===m)break e;m--,_+=f[h++]<>>=1)){case 0:r.mode=14;break;case 1:if(function(e){if(g){var t;for(n=new o.Buf32(512),i=new o.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(u(1,e.lens,0,288,n,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;u(2,e.lens,0,32,i,0,e.work,{bits:5}),g=!1}e.lencode=n,e.lenbits=9,e.distcode=i,e.distbits=5}(r),r.mode=20,6===t){_>>>=2,v-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}_>>>=2,v-=2;break;case 14:for(_>>>=7&v,v-=7&v;v<32;){if(0===m)break e;m--,_+=f[h++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&_,_=0,v=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(S=r.length){if(S>m&&(S=m),S>b&&(S=b),0===S)break e;o.arraySet(d,f,h,S,p),m-=S,h+=S,b-=S,p+=S,r.length-=S;break}r.mode=12;break;case 17:for(;v<14;){if(0===m)break e;m--,_+=f[h++]<>>=5,v-=5,r.ndist=(31&_)+1,_>>>=5,v-=5,r.ncode=(15&_)+4,_>>>=4,v-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,v-=3}for(;r.have<19;)r.lens[z[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,A={bits:r.lenbits},j=u(0,r.lens,0,19,r.lencode,0,r.work,A),r.lenbits=A.bits,j){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>24,T=D>>>16&255,R=65535&D,!(O<=v);){if(0===m)break e;m--,_+=f[h++]<>>=O,v-=O,r.lens[r.have++]=R;else{if(16===R){for(L=O+2;v>>=O,v-=O,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}C=r.lens[r.have-1],S=3+(3&_),_>>>=2,v-=2}else if(17===R){for(L=O+3;v>>=O,v-=O,C=0,S=3+(7&_),_>>>=3,v-=3}else{for(L=O+7;v>>=O,v-=O,C=0,S=11+(127&_),_>>>=7,v-=7}if(r.have+S>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=C}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,A={bits:r.lenbits},j=u(1,r.lens,0,r.nlen,r.lencode,0,r.work,A),r.lenbits=A.bits,j){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,A={bits:r.distbits},j=u(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,A),r.distbits=A.bits,j){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(m>=6&&b>=258){e.next_out=p,e.avail_out=b,e.next_in=h,e.avail_in=m,r.hold=_,r.bits=v,l(e,E),p=e.next_out,d=e.output,b=e.avail_out,h=e.next_in,f=e.input,m=e.avail_in,_=r.hold,v=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;O=(D=r.lencode[_&(1<>>24,T=D>>>16&255,R=65535&D,!(O<=v);){if(0===m)break e;m--,_+=f[h++]<>M)])>>>24,T=D>>>16&255,R=65535&D,!(M+O<=v);){if(0===m)break e;m--,_+=f[h++]<>>=M,v-=M,r.back+=M}if(_>>>=O,v-=O,r.back+=O,r.length=R,0===T){r.mode=26;break}if(32&T){r.back=-1,r.mode=12;break}if(64&T){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&T,r.mode=22;case 22:if(r.extra){for(L=r.extra;v>>=r.extra,v-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;O=(D=r.distcode[_&(1<>>24,T=D>>>16&255,R=65535&D,!(O<=v);){if(0===m)break e;m--,_+=f[h++]<>M)])>>>24,T=D>>>16&255,R=65535&D,!(M+O<=v);){if(0===m)break e;m--,_+=f[h++]<>>=M,v-=M,r.back+=M}if(_>>>=O,v-=O,r.back+=O,64&T){e.msg="invalid distance code",r.mode=30;break}r.offset=R,r.extra=15&T,r.mode=24;case 24:if(r.extra){for(L=r.extra;v>>=r.extra,v-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===b)break e;if(S=E-b,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}S>r.wnext?(S-=r.wnext,k=r.wsize-S):k=r.wnext-S,S>r.length&&(S=r.length),x=r.window}else x=d,k=p-r.offset,S=r.length;S>b&&(S=b),b-=S,r.length-=S;do d[p++]=x[k++];while(--S);0===r.length&&(r.mode=21);break;case 26:if(0===b)break e;d[p++]=r.length,b--,r.mode=21;break;case 27:if(r.wrap){for(;v<32;){if(0===m)break e;m--,_|=f[h++]<=1&&0===L[O];O--);if(T>O&&(T=O),0===O)return u[c++]=20971520,u[c++]=20971520,d.bits=1,0;for(x=1;x0&&(0===e||1!==O))return -1;for(S=1,D[1]=0;S<15;S++)D[S+1]=D[S]+L[S];for(k=0;k852||2===e&&P>592)return 1;for(;;){_=S-M,f[k]b?(v=I[z+f[k]],w=j[A+f[k]]):(v=96,w=0),h=1<>M)+(p-=h)]=_<<24|v<<16|w|0;while(0!==p);for(h=1<>=1;if(0!==h?(C&=h-1,C+=h):C=0,k++,0==--L[S]){if(S===O)break;S=t[r+f[k]]}if(S>T&&(C&g)!==m){for(0===M&&(M=T),y+=x,N=1<<(R=S-M);R+M852||2===e&&P>592)return 1;u[m=C&g]=T<<24|R<<16|y-c|0}}return 0!==C&&(u[y+C]=S-M<<24|4194304),d.bits=T,0}},31:function(e){e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},842:function(e,t,r){var n,i,o,a=r(380);function s(e){for(var t=e.length;--t>=0;)e[t]=0}var l=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],u=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d=Array(576);s(d);var h=Array(60);s(h);var p=Array(512);s(p);var m=Array(256);s(m);var g=Array(29);s(g);var y=Array(30);function b(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function _(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function v(e){return e<256?p[e]:p[256+(e>>>7)]}function w(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function E(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function x(e,t,r){var n,i,o=Array(16),a=0;for(n=1;n<=15;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=k(o[s]++,s))}}function O(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function T(e){e.bi_valid>8?w(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function R(e,t,r,n){var i=2*t,o=2*r;return e[i]>1;r>=1;r--)M(e,o,r);i=l;do r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],M(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,M(e,o,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,a,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(o=l[2*l[2*(n=e.heap[r])+1]+1]+1)>p&&(o=p,m++),l[2*n+1]=o,!(n>u)&&(e.bl_count[o]++,a=0,n>=h&&(a=d[n-h]),s=l[2*n],e.opt_len+=s*(o+a),f&&(e.static_len+=s*(c[2*n+1]+a)));if(0!==m){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--)for(n=e.bl_count[o];0!==n;)!((i=e.heap[--r])>u)&&(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),n--)}}(e,t),x(o,u,e.bl_count)}function C(e,t,r){var n,i,o=-1,a=t[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),t[(r+1)*2+1]=65535,n=0;n<=r;n++)i=a,a=t[(n+1)*2+1],++s>=7;a<30;a++)for(e=0,y[a]=s<<7;e<1<0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),P(e,e.l_desc),P(e,e.d_desc),a=function(e){var t;for(C(e,e.dyn_ltree,e.l_desc.max_code),C(e,e.dyn_dtree,e.d_desc.max_code),P(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*f[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?L(e,t,r,n):4===e.strategy||o===i?(E(e,2+(n?1:0),3),N(e,d,h)):(E(e,4+(n?1:0),3),function(e,t,r,n){var i;for(E(e,t-257,5),E(e,r-1,5),E(e,n-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[(m[r]+256+1)*2]++,e.dyn_dtree[2*v(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){E(e,2,3),S(e,256,d),16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},562:function(e){e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},491:function(e){e.exports=r(69282)},300:function(e){e.exports=r(48764)},781:function(e){e.exports=r(79681)},837:function(e){e.exports=r(89539)}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}},i=!0;try{t[e](n,n.exports,a),i=!1}finally{i&&delete o[e]}return n.exports}a.ab="//";var s=a(23);e.exports=s}()},10777:function(){},23270:function(){},55865:function(){},72388:function(){},37261:function(){},93289:function(){},73997:function(){},25576:function(){},35683:function(){},18011:function(){},54743:function(){},91763:function(){},16205:function(){},63610:function(){},51075:function(){},73699:function(){},64707:function(){},91489:function(){},91091:function(){},38539:function(){},33974:function(){},19740:function(){},98646:function(){},25965:function(){},53597:function(){},74943:function(e){e.exports={core:"typography_core___PiUD",coreHeadline:"typography_coreHeadline__iR1us",coreHeadlineLg:"typography_coreHeadlineLg__4pD50 typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineMd:"typography_coreHeadlineMd__VL3H_ typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineSm:"typography_coreHeadlineSm__9qq05 typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineXl:"typography_coreHeadlineXl__7GZ3g typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineXs:"typography_coreHeadlineXs__1HRyf typography_core___PiUD typography_coreHeadline__iR1us",coreHeadlineXxs:"typography_coreHeadlineXxs__15mdH typography_core___PiUD typography_coreHeadline__iR1us",coreShortText:"typography_coreShortText__1G9y1",coreShortTextMd:"typography_coreShortTextMd__gVP5F typography_core___PiUD typography_coreShortText__1G9y1",coreShortTextSm:"typography_coreShortTextSm__wawsT typography_core___PiUD typography_coreShortText__1G9y1",coreShortTextXs:"typography_coreShortTextXs__L4gUR typography_core___PiUD typography_coreShortText__1G9y1",coreShortTextXxs:"typography_coreShortTextXxs__b8YXl typography_core___PiUD typography_coreShortText__1G9y1",coreParagraph:"typography_coreParagraph__P_KwK",coreParagraphMd:"typography_coreParagraphMd__QOyPx typography_core___PiUD typography_coreParagraph__P_KwK",coreParagraphSm:"typography_coreParagraphSm__8_os_ typography_core___PiUD typography_coreParagraph__P_KwK",coreParagraphXs:"typography_coreParagraphXs__fpk8d typography_core___PiUD typography_coreParagraph__P_KwK",coreParagraphXxs:"typography_coreParagraphXxs__wcE7E typography_core___PiUD typography_coreParagraph__P_KwK",articleHeadline:"typography_articleHeadline__rSLf2",articleHeadlineLg:"typography_articleHeadlineLg__J4FhV typography_articleHeadline__rSLf2",articleHeadlineMd:"typography_articleHeadlineMd__6_Fnp typography_articleHeadline__rSLf2",articleHeadlineSm:"typography_articleHeadlineSm__VYjpe typography_articleHeadline__rSLf2",articleHeadlineXl:"typography_articleHeadlineXl__THpmD typography_articleHeadline__rSLf2",articleHeadlineXs:"typography_articleHeadlineXs__3r4_I typography_articleHeadline__rSLf2",articleHeadlineXxl:"typography_articleHeadlineXxl__lx2bS typography_articleHeadline__rSLf2",articleDek:"typography_articleDek__KFY65",articleBody:"typography_articleBody__3UcBa",articleLabelBase:"typography_articleLabelBase__Yv37a",articleLabel:"typography_articleLabel__tmNTX typography_articleLabelBase__Yv37a",articleLabelCaps:"typography_articleLabelCaps__IQAHl typography_articleLabelBase__Yv37a",articleLabelMd:"typography_articleLabelMd__CU6xM typography_articleLabelBase__Yv37a",articleLabelCapsMd:"typography_articleLabelCapsMd__aL6TQ typography_articleLabelCaps__IQAHl typography_articleLabelBase__Yv37a typography_articleLabelMd__CU6xM typography_articleLabelBase__Yv37a"}},73461:function(e){var t;"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),(t={}).endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"},e.exports=t},33138:function(e,t,r){"use strict";var n=r(32296);e.exports=function(e){var t,r=0;function i(){return r||(r=1,t=e.apply(this,arguments),e=null),t}return i.displayName=n(e),i}},94281:function(e){"use strict";var t={};function r(e,r,n){n||(n=Error);var i=function(e){function t(t,n,i){return e.call(this,"string"==typeof r?r:r(t,n,i))||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(n);i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return(e=e.map(function(e){return String(e)}),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){if("string"==typeof t&&(i="not ",t.substr(0,i.length)===i)?(l="must not be",t=t.replace(/^not /,"")):l="must be",o=" argument",(void 0===a||a>e.length)&&(a=e.length),e.substring(a-o.length,a)===o)u="The ".concat(e," ").concat(l," ").concat(n(t,"type"));else{var i,o,a,s,l,u,c=("number"!=typeof s&&(s=0),s+1>e.length||-1===e.indexOf(".",s))?"argument":"property";u='The "'.concat(e,'" ').concat(c," ").concat(l," ").concat(n(t,"type"))}return u+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},56753:function(e,t,r){"use strict";var n=r(34155),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var o=r(79481),a=r(64229);r(35717)(c,o);for(var s=i(a.prototype),l=0;l0){if("string"==typeof t||h.objectMode||Object.getPrototypeOf(t)===f.prototype||(u=t,t=f.from(u)),n)h.endEmitted?E(e,new w):T(e,h,t,!0);else if(h.ended)E(e,new _);else{if(h.destroyed)return!1;h.reading=!1,h.decoder&&!r?(t=h.decoder.write(t),h.objectMode||0!==t.length?T(e,h,t,!1):P(e,h)):T(e,h,t,!1)}}else n||(h.reading=!1,P(e,h))}return!h.ended&&(h.lengtht.highWaterMark){var r;t.highWaterMark=((r=e)>=1073741824?r=1073741824:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function M(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,l.nextTick(N,e))}function N(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function P(e,t){t.readingMore||(t.readingMore=!0,l.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function A(e){i("readable nexttick read 0"),e.read(0)}function L(e,t){i("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(i("flow",t.flowing);t.flowing&&null!==e.read(););}function I(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function z(e){var t=e._readableState;i("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,l.nextTick(F,t,e))}function F(e,t){if(i("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function B(e,t){for(var r=0,n=e.length;r=r.highWaterMark:r.length>0)||r.ended))return i("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?z(this):M(this),null;if(0===(e=R(e,r))&&r.ended)return 0===r.length&&z(this),null;var o=r.needReadable;return i("need readable",o),(0===r.length||r.length-e0?I(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&z(this)),null!==t&&this.emit("data",t),t},x.prototype._read=function(e){E(this,new v("_read()"))},x.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,i("pipe count=%d opts=%j",n.pipesCount,t);var o=t&&!1===t.end||e===l.stdout||e===l.stderr?m:a;function a(){i("onend"),e.end()}n.endEmitted?l.nextTick(o):r.once("end",o),e.on("unpipe",function t(o,l){i("onunpipe"),o===r&&l&&!1===l.hasUnpiped&&(l.hasUnpiped=!0,i("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",t),r.removeListener("end",a),r.removeListener("end",m),r.removeListener("data",f),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s())});var s=function(){var e=r._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&u(r,"data")&&(e.flowing=!0,D(r))};e.on("drain",s);var c=!1;function f(t){i("ondata");var o=e.write(t);i("dest.write",o),!1===o&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==B(n.pipes,e))&&!c&&(i("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function d(t){i("onerror",t),m(),e.removeListener("error",d),0===u(e,"error")&&E(e,t)}function h(){e.removeListener("finish",p),m()}function p(){i("onfinish"),e.removeListener("close",h),m()}function m(){i("unpipe"),r.unpipe(e)}return r.on("data",f),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",r),n.flowing||(i("pipe resume"),r.resume()),e},x.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,i("on readable",n.length,n.reading),n.length?M(this):n.reading||l.nextTick(A,this)),r},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(e,t){var r=c.prototype.removeListener.call(this,e,t);return"readable"===e&&l.nextTick(j,this),r},x.prototype.removeAllListeners=function(e){var t=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&l.nextTick(j,this),t},x.prototype.resume=function(){var e=this._readableState;return e.flowing||(i("resume"),e.flowing=!e.readableListening,e.resumeScheduled||(e.resumeScheduled=!0,l.nextTick(L,this,e))),e.paused=!1,this},x.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",function(){if(i("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){i("wrapped data"),r.decoder&&(o=r.decoder.write(o)),(!r.objectMode||null!=o)&&(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var a=0;a-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(e,t,r){r(new m("_write()"))},x.prototype._writev=null,x.prototype.end=function(e,t,r){var n,i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(n=r,i.ending=!0,P(this,i),n&&(i.finished?o.nextTick(n):this.once("finish",n)),i.ended=!0,this.writable=!1),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),x.prototype.destroy=f.destroy,x.prototype._undestroy=f.undestroy,x.prototype._destroy=function(e,t){t(e)}},45850:function(e,t,r){"use strict";var n,i=r(34155);function o(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(8610),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var r=e[h].read();null!==r&&(e[f]=null,e[s]=null,e[l]=null,t(p(r,!1)))}}function g(e){i.nextTick(m,e)}var y=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((o(n={get stream(){return this[h]},next:function(){var e,t,r=this,n=this[u];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise(function(e,t){i.nextTick(function(){r[u]?t(r[u]):e(p(void 0,!0))})});var o=this[f];if(o)t=new Promise((e=this,function(t,r){o.then(function(){if(e[c]){t(p(void 0,!0));return}e[d](t,r)},r)}));else{var a=this[h].read();if(null!==a)return Promise.resolve(p(a,!1));t=new Promise(this[d])}return this[f]=t,t}},Symbol.asyncIterator,function(){return this}),o(n,"return",function(){var e=this;return new Promise(function(t,r){e[h].destroy(null,function(e){if(e){r(e);return}t(p(void 0,!0))})})}),n),y);e.exports=function(e){var t,r=Object.create(b,(o(t={},h,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var n=r[h].read();n?(r[f]=null,r[s]=null,r[l]=null,e(p(n,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[f]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[f]=null,r[s]=null,r[l]=null,t(e)),r[u]=e;return}var n=r[s];null!==n&&(r[f]=null,r[s]=null,r[l]=null,n(p(void 0,!0))),r[c]=!0}),e.on("readable",g.bind(null,r)),r}},57327:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,r,n=a.allocUnsafe(e>>>0),i=this.head,o=0;i;)t=i.data,r=o,a.prototype.copy.call(t,n,r),o+=i.data.length,i=i.next;return n}},{key:"consume",value:function(e,t){var r;return ei.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:l,value:function(e,t){return s(this,i(i({},t),{},{depth:0,customInspect:!1}))}}],function(e,t){for(var r=0;r0,u=s=function(e){t||(t=e),e&&h.forEach(l),g||(h.forEach(l),d(t))},f=!1,s=function(){f||(f=!0,u.apply(void 0,arguments))},p=!1,e.on("close",function(){p=!0}),void 0===n&&(n=r(8610)),n(e,{readable:g,writable:o},function(e){if(e)return s(e);p=!0,s()}),m=!1,function(t){if(!p&&!m){if(m=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();s(t||new a("pipe"))}}});return c.reduce(u)}},82457:function(e,t,r){"use strict";var n=r(94281).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=null!=t.highWaterMark?t.highWaterMark:i?t[r]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},22503:function(e,t,r){e.exports=r(17187).EventEmitter},88473:function(e,t,r){(t=e.exports=r(79481)).Stream=t,t.Readable=t,t.Writable=r(64229),t.Duplex=r(56753),t.Transform=r(74605),t.PassThrough=r(82725),t.finished=r(8610),t.pipeline=r(59946)},89509:function(e,t,r){var n=r(48764),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},87668:function(e,t){"use strict";let{hasOwnProperty:r}=Object.prototype,n=d();n.configure=d,n.stringify=n,n.default=n,t.stringify=n,t.configure=d,e.exports=n;let i=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function o(e){return e.length<5e3&&!i.test(e)?`"${e}"`:JSON.stringify(e)}function a(e,t){if(e.length>200||t)return e.sort(t);for(let t=1;tr;)e[n]=e[n-1],n--;e[n]=r}return e}let s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function l(e){return void 0!==s.call(e)&&0!==e.length}function u(e,t,r){e.length= 1`)}return void 0===n?1/0:n}function f(e){return 1===e?"1 item":`${e} items`}function d(e){let t=function(e){if(r.call(e,"strict")){let t=e.strict;if("boolean"!=typeof t)throw TypeError('The "strict" argument must be of type boolean');if(t)return e=>{let t=`Object can not safely be stringified. Received type ${typeof e}`;throw"function"!=typeof e&&(t+=` (${e.toString()})`),Error(t)}}}(e={...e});!t||(void 0===e.bigint&&(e.bigint=!1),"circularValue"in e||(e.circularValue=Error));let n=function(e){if(r.call(e,"circularValue")){let t=e.circularValue;if("string"==typeof t)return`"${t}"`;if(null==t)return t;if(t===Error||t===TypeError)return{toString(){throw TypeError("Converting circular structure to JSON")}};throw TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return'"[Circular]"'}(e),i=function(e,t){let n;if(r.call(e,t)&&"boolean"!=typeof(n=e[t]))throw TypeError(`The "${t}" argument must be of type boolean`);return void 0===n||n}(e,"bigint"),s=function(e){let t;if(r.call(e,"deterministic")&&"boolean"!=typeof(t=e.deterministic)&&"function"!=typeof t)throw TypeError('The "deterministic" argument must be of type boolean or comparator function');return void 0===t||t}(e),d="function"==typeof s?s:void 0,h=c(e,"maximumDepth"),p=c(e,"maximumBreadth");return function(e,r,c){if(arguments.length>1){let m="";if("number"==typeof c?m=" ".repeat(Math.min(c,10)):"string"==typeof c&&(m=c.slice(0,10)),null!=r){if("function"==typeof r)return function e(r,u,c,m,g,y){let b=u[r];switch("object"==typeof b&&null!==b&&"function"==typeof b.toJSON&&(b=b.toJSON(r)),typeof(b=m.call(u,r,b))){case"string":return o(b);case"object":{if(null===b)return"null";if(-1!==c.indexOf(b))return n;let t="",r=",",i=y;if(Array.isArray(b)){if(0===b.length)return"[]";if(hp){let e=b.length-p-1;t+=`${r}"... ${f(e)} not stringified"`}return""!==g&&(t+=` +${i}`),c.pop(),`[${t}]`}let u=Object.keys(b),_=u.length;if(0===_)return"{}";if(hp&&(t+=`${w}"...":${v}"${f(_-p)} not stringified"`,w=r),""!==g&&w.length>1&&(t=` +${y}${t} +${i}`),c.pop(),`{${t}}`}case"number":return isFinite(b)?String(b):t?t(b):"null";case"boolean":return!0===b?"true":"false";case"undefined":return;case"bigint":if(i)return String(b);default:return t?t(b):void 0}}("",{"":e},[],r,m,"");if(Array.isArray(r))return function e(r,a,s,l,u,c){switch("object"==typeof a&&null!==a&&"function"==typeof a.toJSON&&(a=a.toJSON(r)),typeof a){case"string":return o(a);case"object":{if(null===a)return"null";if(-1!==s.indexOf(a))return n;let t=c,r="",i=",";if(Array.isArray(a)){if(0===a.length)return"[]";if(hp){let e=a.length-p-1;r+=`${i}"... ${f(e)} not stringified"`}return""!==u&&(r+=` +${t}`),s.pop(),`[${r}]`}s.push(a);let d="";""!==u&&(c+=u,i=`, +${c}`,d=" ");let m="";for(let t of l){let n=e(t,a[t],s,l,u,c);void 0!==n&&(r+=`${m}${o(t)}:${d}${n}`,m=i)}return""!==u&&m.length>1&&(r=` +${c}${r} +${t}`),s.pop(),`{${r}}`}case"number":return isFinite(a)?String(a):t?t(a):"null";case"boolean":return!0===a?"true":"false";case"undefined":return;case"bigint":if(i)return String(a);default:return t?t(a):void 0}}("",e,[],function(e){let t=new Set;for(let r of e)("string"==typeof r||"number"==typeof r)&&t.add(String(r));return t}(r),m,"")}if(0!==m.length)return function e(r,c,m,g,y){switch(typeof c){case"string":return o(c);case"object":{if(null===c)return"null";if("function"==typeof c.toJSON){if("object"!=typeof(c=c.toJSON(r)))return e(r,c,m,g,y);if(null===c)return"null"}if(-1!==m.indexOf(c))return n;let t=y;if(Array.isArray(c)){if(0===c.length)return"[]";if(hp){let e=c.length-p-1;r+=`${n}"... ${f(e)} not stringified"`}return r+=` +${t}`,m.pop(),`[${r}]`}let i=Object.keys(c),b=i.length;if(0===b)return"{}";if(hp&&(v+=`${w}"...": "${f(b-p)} not stringified"`,w=_),""!==w&&(v=` +${y}${v} +${t}`),m.pop(),`{${v}}`}case"number":return isFinite(c)?String(c):t?t(c):"null";case"boolean":return!0===c?"true":"false";case"undefined":return;case"bigint":if(i)return String(c);default:return t?t(c):void 0}}("",e,[],m,"")}return function e(r,c,m){switch(typeof c){case"string":return o(c);case"object":{if(null===c)return"null";if("function"==typeof c.toJSON){if("object"!=typeof(c=c.toJSON(r)))return e(r,c,m);if(null===c)return"null"}if(-1!==m.indexOf(c))return n;let t="",i=void 0!==c.length;if(i&&Array.isArray(c)){if(0===c.length)return"[]";if(hp){let e=c.length-p-1;t+=`,"... ${f(e)} not stringified"`}return m.pop(),`[${t}]`}let g=Object.keys(c),y=g.length;if(0===y)return"{}";if(hp&&(t+=`${b}"...":"${f(y-p)} not stringified"`),m.pop(),`{${t}}`}case"number":return isFinite(c)?String(c):t?t(c):"null";case"boolean":return!0===c?"true":"false";case"undefined":return;case"bigint":if(i)return String(c);default:return t?t(c):void 0}}("",e,[])}}},77911:function(e,t){function r(e){for(var t in e)this[t]=e[t]}t.get=function(e){var r=Error.stackTraceLimit;Error.stackTraceLimit=1/0;var n={},i=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t},Error.captureStackTrace(n,e||t.get);var o=n.stack;return Error.prepareStackTrace=i,Error.stackTraceLimit=r,o},t.parse=function(e){if(!e.stack)return[];var t=this;return e.stack.split("\n").slice(1).map(function(e){if(e.match(/^\s*[-]{4,}$/))return t._createParsedCallSite({fileName:e,lineNumber:null,functionName:null,typeName:null,methodName:null,columnNumber:null,native:null});var r=e.match(/at (?:(.+)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/);if(r){var n=null,i=null,o=null,a=null,s=null,l="native"===r[5];if(r[1]){var u=(o=r[1]).lastIndexOf(".");if("."==o[u-1]&&u--,u>0){n=o.substr(0,u),i=o.substr(u+1);var c=n.indexOf(".Module");c>0&&(o=o.substr(c+1),n=n.substr(0,c))}a=null}i&&(a=n,s=i),""===i&&(s=null,o=null);var f={fileName:r[2]||null,lineNumber:parseInt(r[3],10)||null,functionName:o,typeName:a,methodName:s,columnNumber:parseInt(r[4],10)||null,native:l};return t._createParsedCallSite(f)}}).filter(function(e){return!!e})},["this","typeName","functionName","methodName","fileName","lineNumber","columnNumber","function","evalOrigin"].forEach(function(e){r.prototype[e]=null,r.prototype["get"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}}),["topLevel","eval","native","constructor"].forEach(function(e){r.prototype[e]=!1,r.prototype["is"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}}),t._createParsedCallSite=function(e){return new r(e)}},32553:function(e,t,r){"use strict";var n=r(89509).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:this.write=d,this.end=h;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(i>0&&(e.lastNeed=i-1),i):--n=0?(i>0&&(e.lastNeed=i-2),i):--n=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},9273:function(e,t){"use strict";t.levels={error:0,warn:1,help:2,data:3,info:4,debug:5,prompt:6,verbose:7,input:8,silly:9},t.colors={error:"red",warn:"yellow",help:"cyan",data:"grey",info:"green",debug:"blue",prompt:"grey",verbose:"cyan",input:"grey",silly:"magenta"}},85243:function(e,t,r){"use strict";Object.defineProperty(t,"cli",{value:r(9273)}),Object.defineProperty(t,"npm",{value:r(2459)}),Object.defineProperty(t,"syslog",{value:r(51945)})},2459:function(e,t){"use strict";t.levels={error:0,warn:1,info:2,http:3,verbose:4,debug:5,silly:6},t.colors={error:"red",warn:"yellow",info:"green",http:"green",verbose:"cyan",debug:"blue",silly:"magenta"}},51945:function(e,t){"use strict";t.levels={emerg:0,alert:1,crit:2,error:3,warning:4,notice:5,info:6,debug:7},t.colors={emerg:"red",alert:"yellow",crit:"red",error:"red",warning:"red",notice:"yellow",info:"green",debug:"blue"}},15396:function(e,t,r){"use strict";Object.defineProperty(t,"LEVEL",{value:Symbol.for("level")}),Object.defineProperty(t,"MESSAGE",{value:Symbol.for("message")}),Object.defineProperty(t,"SPLAT",{value:Symbol.for("splat")}),Object.defineProperty(t,"configs",{value:r(85243)})},94927:function(e,t,r){e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}};function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},94307:function(e,t,r){"use strict";e.exports=r(79428),e.exports.LegacyTransportStream=r(15686)},15686:function(e,t,r){"use strict";var n=r(89539),i=r(15396).LEVEL,o=r(79428),a=e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(o.call(this,e),!e.transport||"function"!=typeof e.transport.log)throw Error("Invalid transport, must be an object with a log method.");this.transport=e.transport,this.level=this.level||e.transport.level,this.handleExceptions=this.handleExceptions||e.transport.handleExceptions,this._deprecated(),this.transport.__winstonError||(this.transport.__winstonError=(function(e){this.emit("error",e,this.transport)}).bind(this),this.transport.on("error",this.transport.__winstonError))};n.inherits(a,o),a.prototype._write=function(e,t,r){if(this.silent||!0===e.exception&&!this.handleExceptions)return r(null);(!this.level||this.levels[this.level]>=this.levels[e[i]])&&this.transport.log(e[i],e.message,e,this._nop),r(null)},a.prototype._writev=function(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};i.call(this,{objectMode:!0,highWaterMark:t.highWaterMark}),this.format=t.format,this.level=t.level,this.handleExceptions=t.handleExceptions,this.handleRejections=t.handleRejections,this.silent=t.silent,t.log&&(this.log=t.log),t.logv&&(this.logv=t.logv),t.close&&(this.close=t.close),this.once("pipe",function(t){e.levels=t.levels,e.parent=t}),this.once("unpipe",function(t){t===e.parent&&(e.parent=null,e.close&&e.close())})};n.inherits(a,i),a.prototype._write=function(e,t,r){if(this.silent||!0===e.exception&&!this.handleExceptions)return r(null);var n=this.level||this.parent&&this.parent.level;if(!n||this.levels[n]>=this.levels[e[o]]){if(e&&!this.format)return this.log(e,r);var i=void 0,a=void 0;try{a=this.format.transform(Object.assign({},e),this.format.options)}catch(e){i=e}if(i||!a){if(r(),i)throw i;return}return this.log(a,r)}return this._writableState.sync=!1,r(null)},a.prototype._writev=function(e,t){if(this.logv){var r=e.filter(this._accept,this);return r.length?this.logv(r,t):t(null)}for(var n=0;n=this.levels[t[o]])&&(!!this.handleExceptions||!0!==t.exception)},a.prototype._nop=function(){}},54201:function(e,t,r){"use strict";let n=r(89539),{LEVEL:i}=r(15396),o=r(51746),a=e.exports=function(e={}){if(o.call(this,e),!e.transport||"function"!=typeof e.transport.log)throw Error("Invalid transport, must be an object with a log method.");this.transport=e.transport,this.level=this.level||e.transport.level,this.handleExceptions=this.handleExceptions||e.transport.handleExceptions,this._deprecated(),this.transport.__winstonError||(this.transport.__winstonError=(function(e){this.emit("error",e,this.transport)}).bind(this),this.transport.on("error",this.transport.__winstonError))};n.inherits(a,o),a.prototype._write=function(e,t,r){if(this.silent||!0===e.exception&&!this.handleExceptions)return r(null);(!this.level||this.levels[this.level]>=this.levels[e[i]])&&this.transport.log(e[i],e.message,e,this._nop),r(null)},a.prototype._writev=function(e,t){for(let t=0;t{this.levels=e.levels,this.parent=e}),this.once("unpipe",e=>{e===this.parent&&(this.parent=null,this.close&&this.close())})};n.inherits(a,i),a.prototype._write=function(e,t,r){if(this.silent||!0===e.exception&&!this.handleExceptions)return r(null);let n=this.level||this.parent&&this.parent.level;if(!n||this.levels[n]>=this.levels[e[o]]){let t,n;if(e&&!this.format)return this.log(e,r);try{n=this.format.transform(Object.assign({},e),this.format.options)}catch(e){t=e}if(t||!n){if(r(),t)throw t;return}return this.log(n,r)}return this._writableState.sync=!1,r(null)},a.prototype._writev=function(e,t){if(this.logv){let r=e.filter(this._accept,this);return r.length?this.logv(r,t):t(null)}for(let r=0;r=this.levels[t[o]])&&(!!this.handleExceptions||!0!==t.exception)},a.prototype._nop=function(){}},15832:function(e,t,r){"use strict";var n=r(6850),i=r(23221).warn;t.version=r(12561).version,t.transports=r(50557),t.config=r(8953),t.addColors=n.levels,t.format=n.format,t.createLogger=r(53040),t.Logger=r(47803),t.ExceptionHandler=r(69796),t.RejectionHandler=r(74841),t.Container=r(75100),t.Transport=r(94307),t.loggers=new t.Container;var o=t.createLogger();Object.keys(t.config.npm.levels).concat(["log","query","stream","add","remove","clear","profile","startTimer","handleExceptions","unhandleExceptions","handleRejections","unhandleRejections","configure","child"]).forEach(function(e){return t[e]=function(){return o[e].apply(o,arguments)}}),Object.defineProperty(t,"level",{get:function(){return o.level},set:function(e){o.level=e}}),Object.defineProperty(t,"exceptions",{get:function(){return o.exceptions}}),Object.defineProperty(t,"rejections",{get:function(){return o.rejections}}),["exitOnError"].forEach(function(e){Object.defineProperty(t,e,{get:function(){return o[e]},set:function(t){o[e]=t}})}),Object.defineProperty(t,"default",{get:function(){return{exceptionHandlers:o.exceptionHandlers,rejectionHandlers:o.rejectionHandlers,transports:o.transports}}}),i.deprecated(t,"setLevels"),i.forFunctions(t,"useFormat",["cli"]),i.forProperties(t,"useFormat",["padLevels","stripColors"]),i.forFunctions(t,"deprecated",["addRewriter","addFilter","clone","extend"]),i.forProperties(t,"deprecated",["emitErrs","levelLength"])},23221:function(e,t,r){"use strict";var n=r(89539).format;t.warn={deprecated:function(e){return function(){throw Error(n("{ %s } was removed in winston@3.0.0.",e))}},useFormat:function(e){return function(){throw Error([n("{ %s } was removed in winston@3.0.0.",e),"Use a custom winston.format = winston.format(function) instead."].join("\n"))}},forFunctions:function(e,r,n){n.forEach(function(n){e[n]=t.warn[r](n)})},forProperties:function(e,r,n){n.forEach(function(n){var i=t.warn[r](n);Object.defineProperty(e,n,{get:i,set:i})})}}},8953:function(e,t,r){"use strict";var n=r(6850),i=r(15396).configs;t.cli=n.levels(i.cli),t.npm=n.levels(i.npm),t.syslog=n.levels(i.syslog),t.addColors=n.levels},75100:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i,o,a=r(53040);e.exports=(i=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this.loggers=new Map,this.options=t},o=[{key:"add",value:function(e,t){var r=this;if(!this.loggers.has(e)){var n=(t=Object.assign({},t||this.options)).transports||this.options.transports;n?t.transports=Array.isArray(n)?n.slice():[n]:t.transports=[];var i=a(t);i.on("close",function(){return r._delete(e)}),this.loggers.set(e,i)}return this.loggers.get(e)}},{key:"get",value:function(e,t){return this.add(e,t)}},{key:"has",value:function(e){return!!this.loggers.has(e)}},{key:"close",value:function(e){var t=this;if(e)return this._removeLogger(e);this.loggers.forEach(function(e,r){return t._removeLogger(r)})}},{key:"_removeLogger",value:function(e){this.loggers.has(e)&&(this.loggers.get(e).close(),this._delete(e))}},{key:"_delete",value:function(e){this.loggers.delete(e)}}],function(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};e.levels=e.levels||l.npm.levels;var t=function(e){function t(e){var r,a;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),r=t,a=[e],r=o(r),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(r,a||[],o(this).constructor):r.apply(this,a))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(u),r=new t(e);return Object.keys(e.levels).forEach(function(e){if(c('Define prototype method for "%s"',e),"log"===e){console.warn('Level "log" not defined: conflicts with the method "log". Use a different level name.');return}t.prototype[e]=function(){for(var t=this||r,n=arguments.length,i=Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},n=t.silent,i=t.format,o=t.defaultMeta,a=t.levels,s=t.level,l=t.exitOnError,u=t.transports,c=t.colors,f=t.emitErrs,d=t.formatters,h=t.padLevels,p=t.rewriters,m=t.stripColors,g=t.exceptionHandlers,_=t.rejectionHandlers;if(this.transports.length&&this.clear(),this.silent=n,this.format=i||this.format||r(13922)(),this.defaultMeta=o||null,this.levels=a||this.levels||E.npm.levels,this.level=void 0===s?"info":s,this.exceptions&&this.exceptions.unhandle(),this.rejections&&this.rejections.unhandle(),this.exceptions=new y(this),this.rejections=new b(this),this.profilers={},this.exitOnError=void 0===l||l,u&&(u=Array.isArray(u)?u:[u]).forEach(function(t){return e.add(t)}),c||f||d||h||p||m)throw Error("{ colors, emitErrs, formatters, padLevels, rewriters, stripColors } were removed in winston@3.0.0.\nUse a custom winston.format(function) instead.\nSee: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md");g&&this.exceptions.handle(g),_&&this.rejections.handle(_)}},{key:"isLevelEnabled",value:function(e){var t=this,r=x(this.levels,e);if(null===r)return!1;var n=x(this.levels,this.level);return null!==n&&(this.transports&&0!==this.transports.length?-1!==this.transports.findIndex(function(e){var i=x(t.levels,e.level);return null===i&&(i=n),i>=r}):n>=r)}},{key:"log",value:function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),a=2;a2?new _({transport:e}):e;if(!t._writableState||!t._writableState.objectMode)throw Error("Transports must WritableStreams in objectMode. Set { objectMode: true }.");return this._onEvent("error",t),this._onEvent("warn",t),this.pipe(t),e.handleExceptions&&this.exceptions.handle(),e.handleRejections&&this.rejections.handle(),this}},{key:"remove",value:function(e){if(!e)return this;var t=e;return(!g(e)||e.log.length>2)&&(t=this.transports.filter(function(t){return t.transport===e})[0]),t&&this.unpipe(t),this}},{key:"clear",value:function(){return this.unpipe(),this}},{key:"close",value:function(){return this.exceptions.unhandle(),this.rejections.unhandle(),this.clear(),this.emit("close"),this}},{key:"setLevels",value:function(){w.deprecated("setLevels")}},{key:"query",value:function(e,t){"function"==typeof e&&(t=e,e={});var r={},n=Object.assign({},(e=e||{}).query||{});d(this.transports.filter(function(e){return!!e.query}),function(t,i){var o;o=function(e,n){i&&((n=e||n)&&(r[t.name]=n),i()),i=null},e.query&&"function"==typeof t.formatQuery&&(e.query=t.formatQuery(n)),t.query(e,function(r,n){if(r)return o(r);"function"==typeof t.formatResults&&(n=t.formatResults(n,e.format)),o(null,n)})},function(){return t(null,r)})}},{key:"stream",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new c,r=[];return t._streams=r,t.destroy=function(){for(var e=r.length;e--;)r[e].destroy()},this.transports.filter(function(e){return!!e.stream}).forEach(function(n){var i=n.stream(e);i&&(r.push(i),i.on("log",function(e){e.transport=e.transport||[],e.transport.push(n.name),t.emit("log",e)}),i.on("error",function(e){e.transport=e.transport||[],e.transport.push(n.name),t.emit("error",e)}))}),t}},{key:"startTimer",value:function(){return new v(this)}},{key:"profile",value:function(e){var t=Date.now();if(this.profilers[e]){var r=this.profilers[e];delete this.profilers[e];for(var n=arguments.length,o=Array(n>1?n-1:0),a=1;ae.start)&&(t?t(null,c):u.emit("line",c)),d++,c=""),setTimeout(n,1e3);var a=l.write(r.slice(0,o));t||u.emit("data",a);for(var s=(a=(c+a).split(/\n+/)).length-1,h=0;he.start)&&(t?t(null,a[h]):u.emit("line",a[h])),d++;return c=a[s],f+=o,n()})}()}),t)?u.destroy:u}},93739:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var s=r(73461),l=r(15396),u=l.LEVEL,c=l.MESSAGE,f=r(94307);e.exports=function(e){var t;function r(){var e,t,a,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e=r,t=[l],e=o(e),(a=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(e,t||[],o(this).constructor):e.apply(this,t))).name=l.name||"console",a.stderrLevels=a._stringArrayToSet(l.stderrLevels),a.consoleWarnLevels=a._stringArrayToSet(l.consoleWarnLevels),a.eol="string"==typeof l.eol?l.eol:s.EOL,a.forceConsole=l.forceConsole||!1,a._consoleLog=console.log.bind(console),a._consoleWarn=console.warn.bind(console),a._consoleError=console.error.bind(console),a.setMaxListeners(30),a}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(r,e),t=[{key:"log",value:function(e,t){var r=this;if(setImmediate(function(){return r.emit("logged",e)}),this.stderrLevels[e[u]]){console._stderr&&!this.forceConsole?console._stderr.write("".concat(e[c]).concat(this.eol)):this._consoleError(e[c]),t&&t();return}if(this.consoleWarnLevels[e[u]]){console._stderr&&!this.forceConsole?console._stderr.write("".concat(e[c]).concat(this.eol)):this._consoleWarn(e[c]),t&&t();return}console._stdout&&!this.forceConsole?console._stdout.write("".concat(e[c]).concat(this.eol)):this._consoleLog(e[c]),t&&t()}},{key:"_stringArrayToSet",value:function(e,t){if(!e)return{};if(t=t||"Cannot make set from type other than Array of string elements",!Array.isArray(e))throw Error(t);return e.reduce(function(e,r){if("string"!=typeof r)throw Error(t);return e[r]=!0,e},{})}}],function(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};function l(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n1&&void 0!==arguments[1]?arguments[1]:function(){};if(this.silent)return r(),!0;if(this._drain){this._stream.once("drain",function(){t._drain=!1,t.log(e,r)});return}if(this._rotate){this._stream.once("rotate",function(){t._rotate=!1,t.log(e,r)});return}if(this.lazy){if(!this._fileExist){this._opening||this.open(),this.once("open",function(){t._fileExist=!0,t.log(e,r)});return}if(this._needsNewFile(this._pendingSize)){this._dest.once("close",function(){t._opening||t.open(),t.once("open",function(){t.log(e,r)})});return}}var i="".concat(e[d]).concat(this.eol),o=n.byteLength(i);this._pendingSize+=o,this._opening&&!this.rotatedWhileOpening&&this._needsNewFile(this._size+this._pendingSize)&&(this.rotatedWhileOpening=!0);var a=this._stream.write(i,(function(){var t=this;if(this._size+=o,this._pendingSize-=o,y("logged %s %s",this._size,i),this.emit("logged",e),!this._rotate&&!this._opening&&this._needsNewFile()){if(this.lazy){this._endStream(function(){t.emit("fileclosed")});return}this._rotate=!0,this._endStream(function(){return t._rotateFile()})}}).bind(this));return a?r():(this._drain=!0,this._stream.once("drain",function(){t._drain=!1,r()})),y("written",a,this._drain),this.finishIfEnding(),a}},{key:"query",value:function(e,t){"function"==typeof e&&(t=e,e={}),(r=(r=e)||{}).rows=r.rows||r.limit||10,r.start=r.start||0,r.until=r.until||new Date,"object"!==i(r.until)&&(r.until=new Date(r.until)),r.from=r.from||r.until-864e5,"object"!==i(r.from)&&(r.from=new Date(r.from)),r.order=r.order||"desc",e=r;var r,n=u.join(this.dirname,this.filename),o="",a=[],s=0,c=l.createReadStream(n,{encoding:"utf8"});function f(t,r){try{var n=JSON.parse(t);(function(t){if(t&&"object"===i(t)){var r=new Date(t.timestamp);if((!e.from||!(re.until))&&(!e.level||e.level===t.level))return!0}})(n)&&function(t){if(e.rows&&a.length>=e.rows&&"desc"!==e.order){c.readable&&c.destroy();return}e.fields&&(t=e.fields.reduce(function(e,r){return e[r]=t[r],e},{})),"desc"===e.order&&a.length>=e.rows&&a.shift(),a.push(t)}(n)}catch(e){r||c.emit("error",e)}}c.on("error",function(e){if(c.readable&&c.destroy(),t)return"ENOENT"!==e.code?t(e):t(null,a)}),c.on("data",function(t){for(var r=(t=(o+t).split(/\n+/)).length-1,n=0;n=e.start)&&f(t[n]),s++;o=t[r]}),c.on("close",function(){o&&f(o,!0),"desc"===e.order&&(a=a.reverse()),t&&t(null,a)})}},{key:"stream",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=u.join(this.dirname,this.filename),r=new p,n={file:t,start:e.start};return r.destroy=_(n,function(e,t){if(e)return r.emit("error",e);try{r.emit("data",t),t=JSON.parse(t),r.emit("log",t)}catch(e){r.emit("error",e)}}),r}},{key:"open",value:function(){var e=this;this.filename&&(this._opening||(this._opening=!0,this.stat(function(t,r){if(t)return e.emit("error",t);y("stat done: %s { size: %s }",e.filename,r),e._size=r,e._dest=e._createStream(e._stream),e._opening=!1,e.once("open",function(){e._stream.emit("rotate")||(e._rotate=!1)})})))}},{key:"stat",value:function(e){var t=this,r=this._getFile(),n=u.join(this.dirname,r);l.stat(n,function(i,o){return i&&"ENOENT"===i.code?(y("ENOENT\xa0ok",n),t.filename=r,e(null,0)):i?(y("err ".concat(i.code," ").concat(n)),e(i)):!o||t._needsNewFile(o.size)?t._incFile(function(){return t.stat(e)}):void(t.filename=r,e(null,o.size))})}},{key:"close",value:function(e){var t=this;this._stream&&this._stream.end(function(){e&&e(),t.emit("flush"),t.emit("closed")})}},{key:"_needsNewFile",value:function(e){return e=e||this._size,this.maxsize&&e>=this.maxsize}},{key:"_onError",value:function(e){this.emit("error",e)}},{key:"_setupStream",value:function(e){return e.on("error",this._onError),e}},{key:"_cleanupStream",value:function(e){return e.removeListener("error",this._onError),e.destroy(),e}},{key:"_rotateFile",value:function(){var e=this;this._incFile(function(){return e.open()})}},{key:"_endStream",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};this._dest?(this._stream.unpipe(this._dest),this._dest.end(function(){e._cleanupStream(e._dest),t()})):t()}},{key:"_createStream",value:function(e){var t=this,r=u.join(this.dirname,this.filename);y("create stream start",r,this.options);var n=l.createWriteStream(r,this.options).on("error",function(e){return y(e)}).on("close",function(){return y("close",n.path,n.bytesWritten)}).on("open",function(){y("file open ok",r),t.emit("open",r),e.pipe(n),t.rotatedWhileOpening&&(t._stream=new m,t._stream.setMaxListeners(30),t._rotateFile(),t.rotatedWhileOpening=!1,t._cleanupStream(n),e.end())});return y("create stream ok",r),n}},{key:"_incFile",value:function(e){y("_incFile",this.filename);var t=u.extname(this._basename),r=u.basename(this._basename,t),n=[];this.zippedArchive&&n.push((function(e){var n=this._created>0&&!this.tailable?this._created:"";this._compressFile(u.join(this.dirname,"".concat(r).concat(n).concat(t)),u.join(this.dirname,"".concat(r).concat(n).concat(t,".gz")),e)}).bind(this)),n.push((function(e){this.tailable?this._checkMaxFilesTailable(t,r,e):(this._created+=1,this._checkMaxFilesIncrementing(t,r,e))}).bind(this)),c(n,e)}},{key:"_getFile",value:function(){var e=u.extname(this._basename),t=u.basename(this._basename,e),r=this.rotationFormat?this.rotationFormat():this._created;return!this.tailable&&this._created?"".concat(t).concat(r).concat(e):"".concat(t).concat(e)}},{key:"_checkMaxFilesIncrementing",value:function(e,t,r){if(!this.maxFiles||this._created1;a--)i.push((function(r,n){var i=this,a="".concat(t).concat(r-1).concat(e).concat(o),s=u.join(this.dirname,a);l.exists(s,function(c){if(!c)return n(null);a="".concat(t).concat(r).concat(e).concat(o),l.rename(s,u.join(i.dirname,a),n)})}).bind(this,a));c(i,function(){l.rename(u.join(n.dirname,"".concat(t).concat(e).concat(o)),u.join(n.dirname,"".concat(t,"1").concat(e).concat(o)),r)})}}},{key:"_compressFile",value:function(e,t,r){l.access(e,l.F_OK,function(n){if(n)return r();var i=f.createGzip(),o=l.createReadStream(e),a=l.createWriteStream(t);a.on("finish",function(){l.unlink(e,r)}),o.pipe(i).pipe(a)})}},{key:"_createLogDirIfNotExist",value:function(e){l.existsSync(e)||l.mkdirSync(e,{recursive:!0})}}],function(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e=r,t=[o],e=u(e),(n=function(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,l()?Reflect.construct(e,t||[],u(this).constructor):e.apply(this,t))).options=o,n.name=o.name||"http",n.ssl=!!o.ssl,n.host=o.host||"localhost",n.port=o.port,n.auth=o.auth,n.path=o.path||"",n.maximumDepth=o.maximumDepth,n.agent=o.agent,n.headers=o.headers||{},n.headers["content-type"]="application/json",n.batch=o.batch||!1,n.batchInterval=o.batchInterval||5e3,n.batchCount=o.batchCount||10,n.batchOptions=[],n.batchTimeoutID=-1,n.batchCallback={},n.port||(n.port=n.ssl?443:80),n}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(r,e),t=[{key:"log",value:function(e,t){var r=this;this._request(e,null,null,function(t,n){n&&200!==n.statusCode&&(t=Error("Invalid HTTP Status Code: ".concat(n.statusCode))),t?r.emit("warn",t):r.emit("logged",e)}),t&&setImmediate(t)}},{key:"query",value:function(e,t){"function"==typeof e&&(t=e,e={});var r=(e={method:"query",params:this.normalizeQuery(e)}).params.auth||null;delete e.params.auth;var n=e.params.path||null;delete e.params.path,this._request(e,r,n,function(e,r,n){if(r&&200!==r.statusCode&&(e=Error("Invalid HTTP Status Code: ".concat(r.statusCode))),e)return t(e);if("string"==typeof n)try{n=JSON.parse(n)}catch(e){return t(e)}t(null,n)})}},{key:"stream",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new h,r=(e={method:"stream",params:e}).params.path||null;delete e.params.path;var n=e.params.auth||null;delete e.params.auth;var i="",o=this._request(e,n,r);return t.destroy=function(){return o.destroy()},o.on("data",function(e){for(var r=(e=(i+e).split(/\n+/)).length-1,n=0;n0&&(clearTimeout(this.batchTimeoutID),this.batchTimeoutID=-1);var n=this.batchOptions.slice();this.batchOptions=[],this._doRequest(n,e,t,r)}},{key:"_doRequest",value:function(e,t,r,i){var o=Object.assign({},this.headers);r&&r.bearer&&(o.Authorization="Bearer ".concat(r.bearer));var s=(this.ssl?d:f).request(a(a({},this.options),{},{method:"POST",host:this.host,port:this.port,path:"/".concat(i.replace(/^\//,"")),headers:o,auth:r&&r.username&&r.password?"".concat(r.username,":").concat(r.password):"",agent:this.agent}));s.on("error",t),s.on("response",function(e){return e.on("end",function(){return t(null,e)}).resume()});var l=m(a({},this.maximumDepth&&{maximumDepth:this.maximumDepth}));s.end(n.from(l(e,this.options.replacer),"utf8"))}}],function(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e=r,t=[l],e=o(e),a=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i()?Reflect.construct(e,t||[],o(this).constructor):e.apply(this,t)),!l.stream||!s(l.stream))throw Error("options.stream is required.");return a._stream=l.stream,a._stream.setMaxListeners(1/0),a.isObjectMode=l.stream._writableState.objectMode,a.eol="string"==typeof l.eol?l.eol:u.EOL,a}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(r,e),t=[{key:"log",value:function(e,t){var r=this;if(setImmediate(function(){return r.emit("logged",e)}),this.isObjectMode){this._stream.write(e),t&&t();return}this._stream.write("".concat(e[l]).concat(this.eol)),t&&t()}}],function(e,t){for(var r=0;r{if(this.#n&&this.hasListeners()){let t=this.#t.variables,r=this.#t.context;e?.type==="success"?(this.#n.onSuccess?.(e.data,t,r),this.#n.onSettled?.(e.data,null,t,r)):e?.type==="error"&&(this.#n.onError?.(e.error,t,r),this.#n.onSettled?.(void 0,e.error,t,r))}this.listeners.forEach(e=>{e(this.#t)})})}},u=r(30202);function c(e,t){let r=(0,u.NL)(t),[i]=n.useState(()=>new l(r,e));n.useEffect(()=>{i.setOptions(e)},[i,e]);let a=n.useSyncExternalStore(n.useCallback(e=>i.subscribe(o.Vr.batchCalls(e)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=n.useCallback((e,t)=>{i.mutate(e,t).catch(s.ZT)},[i]);if(a.error&&(0,s.L3)(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:c,mutateAsync:a.mutate}}},95866:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(83642),i=r(97580),o=r(53669),a=r(35871),s=r(81395);function l(e,t,r){if("string"==typeof e&&!e.match(o.Z)){var l=n(r);return l.timeZone=t,(0,i.Z)(e,l)}var u=(0,i.Z)(e,r),c=(0,s.Z)(u.getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()).getTime(),f=(0,a.Z)(t,new Date(c));return new Date(c+f)}},119:function(e,t,r){"use strict";let n,i,o,a,s,l,u,c,f,d,h,p,m,g,y,b,_,v,w,E,S,k,x,O,T,R;r.d(t,{lr:function(){return M},Sp:function(){return N}});var M={};r.r(M),r.d(M,{Component:function(){return eL},WithTracking:function(){return eD},useCarouselPaginationControls:function(){return ej}});var N={};r.r(N),r.d(N,{w:function(){return eF}});var P=r(85893),C=r(67294);class j{static getInstance(){return j.instance||new j}registerTracking(e){e&&e.addEventListener("click",()=>{let t=j.instance.getParent(e);(function(e,t){let r=t.dataset,n=e.dataset;return t.ariaLabel?r.role?!!n.component&&!!n.trackingId||(console.error("Parent is missing expected dataset attribute: data-component"),!1):(console.error("Child is missing expected dataset attribute: data-role"),!1):(console.error("Child is missing expected attribute: aria-label"),!1)})(t,e)||console.error("There was a problem creating your event. Please confirm integration.");let r=function(e,t){let r=t.dataset,n=e.dataset,i={event:"intercom_click",eventCategory:n.trackingId,eventAction:"".concat(n.component,"_").concat(r.role,"_click"),eventLabel:t.ariaLabel};return A(i)?i:void 0}(t,e);j.instance.trackEvent(r)})}registerComponent(e){e&&j.instance.elements.set(e.id,e)}trackEvent(e){if(!window.dataLayer){console.error("window.dataLayer is not defined",e);return}if(!A(e)){console.error("Invalid parameters passed to Tracker.trackEvent. Event will not fire.");return}window.dataLayer.push(e)}getParent(e){let t=[...j.instance.elements.entries()].find(t=>{let[r,n]=t;return n.contains(e)});if(!t)throw Error("No parent found for element ".concat(e));return t[1]}constructor(){this.elements=new Map,j.instance=this}}function A(e){if(!e)return!1;let{event:t,eventAction:r,eventLabel:n,eventCategory:i}=e;return!!t&&!!i&&!!r&&!!n||(console.error("Invalid tracking config, you are missing required properties. [event, eventCategory, eventLabel and eventAction are required]"),!1)}let L=(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"add-circle-fill",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m5 11h-4v4h-2v-4H7v-2h4V7h2v4h4z"}))}),D=((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"arrow-down",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"m21.887 8-10 10-10-10 1.776-1.775 8.224 8.225 8.226-8.225z"}))},(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"check-circle-fill",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}))})),I=(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"chevron-left",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"m14 18-6-6 6-6 1.4 1.4-4.6 4.6 4.6 4.6z"}))}),z=(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"chevron-right",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"M13.2 12 8.6 7.4 10 6l6 6-6 6-1.4-1.4z"}))}),F=(0,C.forwardRef)((e,t)=>{let{title:r,titleId:n,...i}=e;return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","data-phx-icon":"play",viewBox:"0 0 24 24",ref:t,"aria-labelledby":n,...i},r?C.createElement("title",{id:n},r):null,C.createElement("path",{d:"M6.5 19V5l11 7z"}))});var B=r(93967),U=((n=U||{}).articleBottom1="articleBottom1",n.articleBottom2="articleBottom2",n.articleRightRail1="articleRightRail1",n.articleRightRail2="articleRightRail2",n.articleRightRail3="articleRightRail3",n),H=((i=H||{}).article="article",i.homepage="homepage",i);function Z(e){let t=new Date,r=new Date(e);return Math.abs(t.getTime()-r.getTime())}function W(e){if(!e.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/)||Number.isNaN(Date.parse(e)))return console.error('Error in getStringifiedElapsedTime: timestamp "'.concat(e,'" is not a valid format.')),null;let t=Z(e)/1e3,r=t/60,n=r/60;if(n>=1){let e=Math.round(n);return"".concat(e," ").concat(e>1?"hrs":"hr")}if(r>=1){let e=Math.round(r);return"".concat(e," ").concat(e>1?"mins":"min")}return"".concat(Math.round(t)," secs")}r(93289);var G={eyebrowContainer:"intercom-eyebrow_eyebrowContainer-uDuWZCR3a8Y-"},Y=((o=Y||{})["opinion-blue"]="opinion-blue",o.red="red",o);let q=e=>{let{timeInMilliseconds:t,prefix:r}=e;return(0,P.jsxs)("time",{className:G.duration,children:[r," (",Math.floor(t/6e4)%60,":",(Math.floor(t/1e3)%60).toString().padStart(2,"0"),")"]})};function V(e){let{duration:t,text:r,url:n}=e;return r||t?(0,P.jsxs)("div",{className:B(G.eyebrowContainer),children:[t&&(0,P.jsx)(q,{...t}),r&&!t&&r]}):(console.error(" cannot render without text or duration"),null)}q.displayName="Eyebrow.Duration",V.displayName="Eyebrow.Component";let $=/-999x-999/;function K(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:19,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return $.test(e)?e.replace(/^http:\/\//,"//").replace(/^\/\//,"https://").replace(/.webp/,".gif"):e.replace(/^http:\/\//,"//").replace(/^\/\//,"https://").replace(/(\/)(-*\d+x-*\d+)(.\w+)$/,"$1".concat(t,"x").concat(r,"$3").concat(n?" ".concat(i?"".concat(i,"x"):"".concat(t,"w")):""))}r(35683);var X={linkedImage:"intercom-image_linkedImage-OoAeD5Xjcf0-",image:"intercom-image_image--zFBE4i3jFM-"};let Q=e=>{let{alt:t="",assetUrl:r,tabletBreakpoint:n=759,desktopMaxWidth:i=1200,mobileMaxWidth:o=600,aspectRatio:a,style:s={},isLazy:l=!1}=e,{mobile:u,desktop:c}=function(e){let{mobileMaxWidth:t,desktopMaxWidth:r,aspectRatio:n,assetUrl:i}=e;return/^.*\.(gif)/.test(i)?(console.error(".gif passed into getImageSrcSets, cannot create srcsets",i),{mobile:"",desktop:""}):{mobile:[1,2].map(e=>{let r=t*e;return K(i,r,n?Math.round(r/n):-1,!0,e)}).join(", "),desktop:[1,2].map(e=>{let t=r*e;return K(i,t,n?Math.round(t/n):-1,!0,e)}).join(", ")}}({assetUrl:r,desktopMaxWidth:i,mobileMaxWidth:o,aspectRatio:a}),f=function(e){let{width:t,aspectRatio:r}=e;return r?Math.round(t/r):-1}({width:o,aspectRatio:a});return(0,P.jsxs)("picture",{className:X.imageContainer,children:[(0,P.jsx)("source",{media:"screen and (max-width: ".concat(n,"px)"),srcSet:u}),(0,P.jsx)("source",{media:"screen and (min-width: ".concat(n,"px)"),srcSet:c}),(0,P.jsx)("img",{className:X.image,style:s,src:function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:19,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return null===(t=K(e,r,n,i,o))||void 0===t?void 0:t.replace(/.webp/,".jpg")}(r,o,f),loading:l?"lazy":"eager",alt:t})]})};Q.displayName="Image.Picture";let J=e=>(0,P.jsx)("a",{className:X.linkedImage,href:e.linkToUrl,children:(0,P.jsx)(Q,{...e})});J.displayName="Image.Link";let ee=e=>e.assetUrl?e.linkToUrl?(0,P.jsx)(J,{...e}):(0,P.jsx)(Q,{...e}):null;ee.displayName="Image.Component",r(10777);let et=()=>(0,P.jsx)("div",{className:"intercom-big-card_playIcon-TUQ5B3Z-3Gk-",children:(0,P.jsx)(F,{"aria-label":"Play Icon"})});var er=r(61465);let en=()=>{},ei={borderStyle:{type:"enum",values:["none","full","top","bottom"],default:"none"},appearance:{type:"enum",values:["inherit","light","dark"],default:"inherit"},accentColor:{type:"enum",values:["none","gray","red","blue","green"],default:"none"},radius:{type:"enum",values:["none","small","medium","large","full"],default:"medium"},scaling:{type:"enum",values:["90%","95%","100%","105%","110%"],default:"100%"}},eo=C.createContext(void 0),ea=C.forwardRef((e,t)=>{var r,n,i,o,a;let s=C.useContext(eo),{asChild:l,isRoot:u,borderStyle:c=null!==(r=null==s?void 0:s.borderStyle)&&void 0!==r?r:ei.borderStyle.default,appearance:f=null!==(n=null==s?void 0:s.appearance)&&void 0!==n?n:ei.appearance.default,accentColor:d=null!==(i=null==s?void 0:s.accentColor)&&void 0!==i?i:ei.accentColor.default,radius:h=null!==(o=null==s?void 0:s.radius)&&void 0!==o?o:ei.radius.default,scaling:p=null!==(a=null==s?void 0:s.scaling)&&void 0!==a?a:ei.scaling.default,onBorderStyleChange:m=en,onAppearanceChange:g=en,onAccentColorChange:y=en,onRadiusChange:b=en,onScalingChange:_=en,...v}=e,w=l?er.g7:"div";return(0,P.jsx)(eo.Provider,{value:C.useMemo(()=>({borderStyle:c,appearance:f,accentColor:d,radius:h,scaling:p,onBorderStyleChange:m,onAppearanceChange:g,onAccentColorChange:y,onRadiusChange:b,onScalingChange:_}),[c,f,d,h,p,m,g,y,b,_]),children:(0,P.jsx)(w,{"data-is-root-theme":u?"true":"false","data-accent-color":d,"data-radius":h,"data-scaling":p,"data-border-style":c,ref:t,...v,className:B("intercom-themes",{light:"light"===f,dark:"dark"===f},v.className)})})});ea.displayName="ThemeImpl";let es=C.forwardRef((e,t)=>{let{borderStyle:r=ei.borderStyle.default,appearance:n=ei.appearance.default,accentColor:i=ei.accentColor.default,radius:o=ei.radius.default,scaling:a=ei.scaling.default,...s}=e,[l,u]=C.useState(r);C.useEffect(()=>u(l),[l]);let[c,f]=C.useState(n);C.useEffect(()=>f(n),[n]);let[d,h]=C.useState(i);C.useEffect(()=>h(i),[i]);let[p,m]=C.useState(o);C.useEffect(()=>m(o),[o]);let[g,y]=C.useState(a);return C.useEffect(()=>y(a),[a]),(0,P.jsx)(ea,{...s,ref:t,isRoot:!0,borderStyle:l,appearance:c,accentColor:d,radius:p,scaling:g,onBorderStyleChange:u,onAppearanceChange:f,onAccentColorChange:h,onRadiusChange:m,onScalingChange:y})});es.displayName="ThemeRoot",C.forwardRef((e,t)=>void 0===C.useContext(eo)?(0,P.jsx)(es,{...e,ref:t}):(0,P.jsx)(ea,{...e,ref:t})).displayName="Theme",r(23270);r(37261),r(91763);r(55865);let el=e=>{if(864e5>Z(e))return"".concat(W(e)," ago");let t=new Date(e);return"".concat(t.toLocaleString("default",{month:"long"})," ").concat(t.getDate())},eu=()=>(0,P.jsx)("div",{className:"intercom-card_playIcon-eJLi0eiyLxs-",children:(0,P.jsx)(F,{"aria-label":"Play Icon"})});var ec="u">typeof globalThis?globalThis:window;function ef(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ed=NaN,eh=/^\s+|\s+$/g,ep=/^[-+]0x[0-9a-f]+$/i,em=/^0b[01]+$/i,eg=/^0o[0-7]+$/i,ey=parseInt,eb="object"==typeof ec&&ec&&ec.Object===Object&&ec,e_="object"==typeof self&&self&&self.Object===Object&&self,ev=eb||e_||Function("return this")(),ew=Object.prototype.toString,eE=Math.max,eS=Math.min,ek=function(){return ev.Date.now()};function ex(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eO(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==ew.call(t))return ed;if(ex(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=ex(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(eh,"");var n=em.test(e);return n||eg.test(e)?ey(e.slice(2),n?2:8):ep.test(e)?ed:+e}var eT=ef(function(e,t,r){var n,i,o,a,s,l,u=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function h(t){var r=n,o=i;return n=i=void 0,u=t,a=e.apply(o,r)}function p(e){var r=e-l,n=e-u;return void 0===l||r>=t||r<0||f&&n>=o}function m(){var e,r,n,i=ek();if(p(i))return g(i);s=setTimeout(m,(e=i-l,r=i-u,n=t-e,f?eS(n,o-r):n))}function g(e){return s=void 0,d&&n?h(e):(n=i=void 0,a)}function y(){var e,r=ek(),o=p(r);if(n=arguments,i=this,l=r,o){if(void 0===s)return u=e=l,s=setTimeout(m,t),c?h(e):a;if(f)return s=setTimeout(m,t),h(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=eO(t)||0,ex(r)&&(c=!!r.leading,o=(f="maxWait"in r)?eE(eO(r.maxWait)||0,t):o,d="trailing"in r?!!r.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=l=i=s=void 0},y.flush=function(){return void 0===s?a:g(ek())},y});let eR=e=>{},eM=function(e){let{onChildAdded:t=eR,onChildRemoved:r=eR,onObserve:n=eR,onUnobserve:i=eR}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{childList:!0,subtree:!0},a=(0,C.useRef)(null);return(0,C.useEffect)(()=>e?(a.current=new MutationObserver(e=>{e.forEach(n=>{"childList"===n.type&&(n.removedNodes.length>0&&r({removedNodes:n.removedNodes,mutations:e,mutation:n}),n.addedNodes.length>0&&t({addedNodes:n.addedNodes,mutations:e,mutation:n}))})}),a.current.observe(e,o),n({element:e}),()=>{a.current.disconnect(),i({element:e})}):()=>{},[e,t,r,n,i]),a},eN=e=>{},eP=function(e){let{onResize:t=eN,onObserve:r=eN,onUnobserve:n=eN}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(0,C.useRef)(null);return(0,C.useEffect)(()=>e?(i.current=new ResizeObserver(e=>{t({entries:e})}),i.current.observe(e),r({element:e}),()=>{i.current.unobserve(e),i.current.disconnect(),n({element:e})}):()=>{},[e,t,r,n,i]),i};r(72388);var eC={carouselContainer:"intercom-carousel_carouselContainer-Dr5zyNcxSmM-",header:"intercom-carousel_header-J7MIvKDcZao-",iterableComponentsContainer:"intercom-carousel_iterableComponentsContainer-DQkh-K22P0c-",iterableComponent:"intercom-carousel_iterableComponent-fGdW6sySG8w-",navigation:"intercom-carousel_navigation-Rv00WsZ5-hw-",circleButtons:"intercom-carousel_circleButtons-vEbGOl6-GwI-",circleButton:"intercom-carousel_circleButton-wbda16bCeIY-",current:"intercom-carousel_current-9sYpaRhLm8Q-",forwardBackwardButtons:"intercom-carousel_forwardBackwardButtons-D7QPPx4GO1w-",backward:"intercom-carousel_backward-ut4q7dsqtCY-",forward:"intercom-carousel_forward-QNzK1zGM2Lo-",navButton:"intercom-carousel_navButton-zyir6hzxvE0-",navButtonIcon:"intercom-carousel_navButtonIcon-1aMnWGXR5ys-"};let ej=()=>{let[e,t]=(0,C.useState)(0);return{controlledPageIndex:e,setControlledPageIndex:t}},eA=(e,t)=>{let[r,n]=(0,C.useState)(null==e?void 0:e.scrollWidth),[i,o]=(0,C.useState)(null==e?void 0:e.clientWidth),a=(0,C.useMemo)(()=>r-i-Math.abs(t),[r,i,t]),s=(0,C.useCallback)(eT(()=>{e&&(n(e.scrollWidth),o(e.clientWidth))},100),[e,t]);return eM(e,{onChildAdded:s,onChildRemoved:s}),eP(e,{onResize:s,onObserve:s}),{remainingX:a}};function eL(e){let{IterableComponent:t,componentPropsList:r,disableMouseDragScroll:n=!1,tileProperties:i,paginationProperties:o,title:a,adRenderers:s=[],setControlledPageIndex:l,controlledPageIndex:u,tracker:c}=e,[f,d]=(0,C.useState)(null),h=(0,C.useRef)(0),[p,m]=function(e){let{defaultValue:t,externalValue:r,setExternalValue:n}=e,[i,o]=(0,C.useState)(t),a=(0,C.useCallback)(e=>{o(e),n(e)},[o,n]);return(0,C.useLayoutEffect)(()=>{n&&r!==i&&o(r)},[r,n,o]),n?[r,a]:[i,o]}({defaultValue:0,externalValue:u,setExternalValue:l}),[g,y]=(0,C.useState)(0),[b,_]=(0,C.useState)(0),[v,w]=(0,C.useState)(0),[E,S]=(0,C.useState)(1),k=(0,C.useRef)(null),[x,O]=(0,C.useState)(!1),T=r.length+s.length,R=(0,C.useCallback)(e=>{f!==e&&d(e)},[d,f]),M=e.numberOfColumns||T,N=T-E+1,{remainingX:j}=eA(f,v);E&&(N=(null==o?void 0:o.fullWidth)?Math.ceil(T/E):T-E+1);let A=r.map((e,r)=>(0,P.jsx)(t,{...e},r));s.forEach(e=>{e.adPosition>0?A.splice(e.adPosition-1,0,e.adRenderer()):console.error("Invalid ad rendering position. adPosition must be >= 1")});let L=(0,C.useCallback)(e=>{let{updatedTileWidth:t}=e;f&&(y((null==i?void 0:i.width)||t),_((null==i?void 0:i.gap)||parseInt(f.style.gap,10)||0),t+b!==0&&S(Math.floor(f.clientWidth/(t+b))))},[f,b,null==i?void 0:i.gap,null==i?void 0:i.width]);!function(e,t){let r=null==e?void 0:e.children[0],n=eP(r,{onResize:(0,C.useCallback)(e=>{let{entries:r}=e;t({updatedTileWidth:r[0].contentRect.width})},[t])}),i=(0,C.useCallback)(eT(()=>{n.current.unobserve(r);let t=null==e?void 0:e.children[0];n.current.observe(t)},100),[e,r]);eP(e,{onResize:(0,C.useCallback)(e=>{var r,n;let{entries:i}=e;t({updatedTileWidth:null===(n=i[0].target.children)||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:r.getBoundingClientRect().width})},[t]),onObserve:(0,C.useCallback)(()=>{t({updatedTileWidth:null==e?void 0:e.children[0].getBoundingClientRect().width})},[t,e])}),eM(e,{onChildAdded:i,onChildRemoved:i})}(f,L);let D=(0,C.useCallback)(e=>{m(e)},[p]),F=()=>{m(e=>Math.min(e+1,N-1))},U=()=>{m(e=>Math.max(e-1,0))},H=(0,C.useCallback)(()=>{if(!f)return;let e=h.current;if(e===p)return;let t=f.scrollWidth,r=f.clientWidth,n=(null==o?void 0:o.fullWidth)?e{H(),h.current=p},[p,H]),!t)return console.error("No IterableComponent found for Carousel"),null;if(!(null==r?void 0:r.length))return console.error("No props passed in for components in Carousel"),null;let Z=(0,C.useCallback)(e=>{O(!0),k.current=e.clientX},[x]),W=(0,C.useCallback)(e=>{if(!x||null===k.current)return;let t=e.clientX-k.current;t<-50&&F(),t>50&&U(),O(!1),k.current=null},[x]);return(0,C.useEffect)(()=>(x&&!n&&window.addEventListener("mouseup",W),()=>{window.removeEventListener("mouseup",W)}),[x]),(0,P.jsxs)("div",{className:eC.carouselContainer,onMouseDown:n?void 0:Z,children:[a&&(0,P.jsx)("div",{className:eC.header,children:(0,P.jsx)("h3",{className:eC.title,children:a})}),(0,P.jsx)("ul",{className:eC.iterableComponentsContainer,ref:R,style:{gap:(null==i?void 0:i.gap)?"".concat(i.gap,"px"):0},children:Array(M).fill(!0).map((e,t)=>(0,P.jsx)("li",{className:eC.iterableComponent,style:{width:(null==i?void 0:i.width)?"".concat(i.width,"px"):"100%"},children:A[t]},t))}),(0,P.jsxs)("div",{className:eC.navigation,children:[(0,P.jsx)("div",{className:eC.circleButtons,children:Array(Math.max(N,0)).fill(!0).map((e,t)=>(0,P.jsx)("span",{"data-testid":"nav button ".concat(t),className:B(eC.circleButton,{[eC.current]:p===t}),onClick:()=>D(t),"data-role":"nav_button","aria-label":"button_".concat(t),ref:null==c?void 0:c.registerTracking},"".concat(a,"-page-").concat(t)))}),(0,P.jsxs)("div",{className:eC.forwardBackwardButtons,children:[(0,P.jsx)("button",{className:eC.navButton,disabled:0===v,onClick:()=>U(),"data-role":"arrow","aria-label":"Previous",ref:null==c?void 0:c.registerTracking,children:(0,P.jsx)(I,{className:eC.navButtonIcon})}),(0,P.jsx)("button",{className:eC.navButton,disabled:0===j,onClick:()=>F(),ref:null==c?void 0:c.registerTracking,"data-role":"arrow","aria-label":"Next",children:(0,P.jsx)(z,{className:eC.navButtonIcon})})]})]})]})}function eD(e){let t=(0,C.useId)(),r=e.trackingId.length?j.getInstance():void 0;return(0,P.jsx)("div",{id:t,"data-component":"carousel","data-tracking-id":e.trackingId,ref:null==r?void 0:r.registerComponent,children:(0,P.jsx)(eL,{...e,tracker:r})})}eL.displayName="Carousel.Component",r(54743);r(73997);r(25576),r(51075);let eI=e=>864e5>Z(e)?"".concat(W(e)):new Date(e).toLocaleString("default",{day:"numeric",month:"long",year:"numeric"});r(18011);var ez=((a=ez||{}).left="left",a.right="right",a);function eF(e){let{text:t,onClick:r=()=>{},isDisabled:n=!1,isSelected:i=!1}=e,o=B("intercom-select-tag_selectTagContainer-ySEIRso9NPE-",{"intercom-select-tag_selected-WH9zArs3xv4-":i});return(0,P.jsxs)("button",{"aria-pressed":i,className:o,disabled:n,onClick:()=>{r()},type:"button",children:[i?(0,P.jsx)(D,{}):(0,P.jsx)(L,{}),(0,P.jsx)("span",{className:"intercom-select-tag_text-BY6zYvwm6Cg-",children:t})]})}r(16205),eF.displayName="SelectTag.Component",r(63610);var eB=((s=eB||{}).getPersonById="getPersonById",s.getStories="getStories",s.getStoryBySlug="getStoryBySlug",s.getStoryById="getStoryById",s.getImages="getImages",s.getAudios="getAudios",s.getVideos="getVideos",s.getImagesBulk="getImagesBulk",s.getSecurities="getSecurities",s.getNewsletters="getNewsletters",s.getNiCodeStories="getNiCodeStories",s.getUserAuthors="getUserAuthors",s.getUserNewsletters="getUserNewsletters",s.getUserTopics="getUserTopics",s.getUserSecurities="getUserSecurities",s.getTopMovingSecurities="getTopMovingSecurities",s.getPopularResources="getPopularResources",s.getPopularEntities="getPopularEntities",s.getRecommended="getRecommended",s.getRelated="getRelated",s.getRecommendedPopular="getRecommendedPopular",s.getUserBookmarks="getUserBookmarks",s.getUserProfile="getUserProfile",s.getBio="getBio",s.getCompaniesPublic="getCompaniesPublic",s.getCompaniesPrivate="getCompaniesPrivate",s.getSrchDataSecurities="getSrchDataSecurities",s);r(57121),r(82463),r(25321);var eU={exports:{}},eH=r(83300);eU.exports,function(e,t){let r=eH.default||eH,n=function(e,t){return/^\/\//.test(e)&&(e="https:"+e),r.call(this,e,t)};n.ponyfill=!0,e.exports=t=n,t.fetch=n,t.Headers=eH.Headers,t.Request=eH.Request,t.Response=eH.Response,t.default=n}(eU,eU.exports),ef(eU.exports);var eZ=((l=eZ||{}).DS003="DS003",l.DS520="DS520",l.PR005="PR005",l.PR051="PR051",l.DS001="DS001",l.UTIME="UTIME",l.DS458="DS458",l.PR006="PR006",l.PR061="PR061",l.PR007="PR007",l.PR008="PR008",l.PR070="PR070",l.DS002="DS002",l.PR052="PR052",l.PR013="PR013",l),eW=((u=eW||{}).companyName="companyName",u.name="name",u.price="price",u.id="id",u.lastUpdateUTC="lastUpdateUTC",u.isoCountry="isoCountry",u.open="open",u.high="high",u.low="low",u.volume="volume",u.absoluteChange="absoluteChange",u.percentChange1Day="percentChange1Day",u.percentChange1Month="percentChange1Month",u.percentChange1Year="percentChange1Year",u.exchange="exchange",u),eG=((c=eG||{}).PERCENT_UP="PERCENT_UP",c.PERCENT_DOWN="PERCENT_DOWN",c.VOLUME="VOLUME",c),eY=((f=eY||{}).gadfly="gadfly",f.quicktake="quicktake",f.bbiz="bbiz",f.bpol="bpol",f.cybersecurity="cybersecurity",f["climate-changed"]="climate-changed",f.businessweek="businessweek",f["special-issue"]="special-issue",f["new-economy-forum"]="new-economy-forum",f.markets="markets",f.bloomberg_app="bloomberg_app",f.bview="bview",f.business_week_app="business_week_app",f.technology="technology",f.pursuits="pursuits",f.btv="btv",f.apple_news="apple_news",f.cojp="cojp",f.sponsored="sponsored",f.feeds="feeds",f.socialflow="socialflow",f.tictoc="tictoc",f.hyperdrive="hyperdrive",f.prognosis="prognosis",f.green="green",f.screentime="screentime",f.citylab="citylab",f.wealth="wealth",f.equality="equality",f.syndication="syndication",f.newsletters="newsletters",f.economics="economics",f.crypto="crypto",f["markets-magazine"]="markets-magazine",f.industries="industries",f["work-shift"]="work-shift",f["weekend-edition"]="weekend-edition",f),eq=((d=eq||{}).article="article",d.audio="audio",d.photo="photo",d.breaking_news="breaking_news",d.data_article="data_article",d.slideshow="slideshow",d.impact_scorecard="impact_scorecard",d.interactive="interactive",d.feature="feature",d.quicktake="quicktake",d.video="video",d.letter="letter",d.newsletter_campaign="newsletter_campaign",d.author_session="author_session",d.storythread="storythread",d.liveblog="liveblog",d.explainers="explainers",d),eV=((h=eV||{}).bview="bview",h.gadfly="gadfly",h.quicktake="quicktake",h.bbiz="bbiz",h.bpol="bpol",h.businessweek="businessweek",h.markets="markets",h.technology="technology",h.pursuits="pursuits",h.cojp="cojp",h.sponsored="sponsored",h.green="green",h.citylab="citylab",h.wealth="wealth",h.equality="equality",h.economics="economics",h.industries="industries",h.crypto="crypto",h["work-shift"]="work-shift",h["markets-magazine"]="markets-magazine",h),e$=((p=e$||{}).en="en",p.ja="ja",p),eK=((m=eK||{}).AVMM="AVMM",m.BMMR="BMMR",m.OOYALA="OOYALA",m),eX=((g=eX||{}).minute="minute",g.hour="hour",g.week="week",g.month="month",g.year="year",g);eY.markets,eY.economics,eY.technology,eY.bpol,eY.crypto,eY.green,r(91489),r(73699),r(91091),r(64707);var eQ=((y=eQ||{}).article="article",y.breaking_news="breaking_news",y.data_article="data_article",y.slideshow="slideshow",y.impact_scorecard="impact_scorecard",y.interactive="interactive",y.feature="feature",y.quicktake="quicktake",y.video="video",y.letter="letter",y.newsletter_campaign="newsletter_campaign",y.author_session="author_session",y.liveblog="liveblog",y),eJ=((b=eJ||{}).Business="BBIZ",b.Businessweek="BUSINESSWEEK",b.Citylab="CITYLAB",b.Cojp="COJP",b.Crypto="CRYPTO",b.Economics="ECONOMICS",b.Equality="EQUALITY",b.Gadfly="GADFLY",b.Green="GREEN",b.Industries="INDUSTRIES",b.Markets="MARKETS",b.MarketsMagazine="MARKETS_MAGAZINE",b.Politics="BPOL",b.Pursuits="PURSUITS",b.Quicktake="QUICKTAKE",b.Sponsored="SPONSORED",b.Technology="TECHNOLOGY",b.View="VIEW",b.Wealth="WEALTH",b.WorkShift="WORK_SHIFT",b),e0=((_=e0||{}).Article="ARTICLE",_.Audio="AUDIO",_.Video="VIDEO",_),e1=((v=e1||{}).PublishedDate="PUBLISHED_DATE",v.SavedDate="SAVED_DATE",v),e2=((w=e2||{}).Asc="ASC",w.Desc="DESC",w),e3=((E=e3||{}).ENGAGEMENT_PREFERENCES="ENGAGEMENT_PREFERENCES",E),e5=((S=e5||{}).FOLLOW="FOLLOW",S),e6=((k=e6||{}).TOPIC="Topic",k),e4=((x=e4||{}).HOME_FEED="HOME_FEED",x),e8=r(30096),e9=((O=e9||{}).Story="Story",O.Video="Video",O.Interactive="Interactive",O.Company="Company",O.Topic="Topic",O.Feature="Feature",O.Author="Author",O.Person="Person",O.Section="Section",O.Ni="Ni",O.Wire="Wire",O.Newsletter="Newsletter",O.Quicktake="Quicktake",O.Currency="Currency",O.Region="Region",O.Event="Event",O.External="External",O.Slideshow="Slideshow",O.Dataarticle="Dataarticle",O.Category="Category",O.Tracker="Tracker",O.Index="Index",O.Country="Country",O.Organization="Organization",O.City="City",O.Commodity="Commodity",O.Fund="Fund",O.Classification="Classification",O.Series="Series",O.Location="Location",O),e7=((T=e7||{}).VIEW="VIEW",T.SHARE="SHARE",T.MERGE="MERGE",T.QUEUE="QUEUE",T.INFO_UPDATE="INFO_UPDATE",T);let{fetchWithProxy:te}=e8;r(27044);var tt=((R=tt||{}).WHITELISTED="WHITELISTED",R.PUBLIC_COMPANY_EXECUTIVE="PUBLIC_COMPANY_EXECUTIVE",R.TERMINAL_USER_AND_EXECUTIVE="TERMINAL_USER_AND_EXECUTIVE",R);r(34155),r(34155),r(34155),r(34155),r(34155),r(34155),r(34155),r(34155),r(34155)},12561:function(e){"use strict";e.exports={version:"3.17.0"}}}]); \ No newline at end of file diff --git a/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/[[...slug]]-494e2a109e041a93_05Q6.js b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/[[...slug]]-494e2a109e041a93_05Q6.js new file mode 100644 index 0000000..9373410 --- /dev/null +++ b/European, Middle Eastern & African Stocks - Bloomberg - Bloomberg Markets_files/[[...slug]]-494e2a109e041a93_05Q6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3059],{7134:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/section-front/[[...slug]]",function(){return n(89816)}])},89816:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return a3},default:function(){return a4}});var r,a,i,s,o=n(85893),l=n(67294),c=n(41762),d=n(87183),u=n(30087),m=n(74116),p=n(59628),h=n(53867),_=n(74943),g=n.n(_),f=n(28551),v=n.n(f),x=n(40281),y=n(77536),j=n(86896),k=n(43593),b=n.n(k),C=n(41664),w=n.n(C),N=n(25215),T=n.n(N),S=n(34093),M=n(8985),I=n(69298),D=n(13519),R=n(30939),P=n(11529),L=n(99464),A=n(59223);let E=e=>{if("number"==typeof e)return e;if("string"==typeof e){let t=e.trim();if("n/a"===t.toLowerCase())return Number.POSITIVE_INFINITY;let n=Number(t.replace(/,/g,""));return Number.isFinite(n)?n:Number.POSITIVE_INFINITY}return Number.POSITIVE_INFINITY},F=e=>{if("string"!=typeof e)return NaN;let t=e.trim().match(/^(\d{1,2}):(\d{2})\s*(AM|PM)$/i);if(!t)return NaN;let n=parseInt(t[1],10),r=parseInt(t[2],10);return n%=12,"PM"===t[3].toUpperCase()&&(n+=12),60*n+r};function B(e){let{columns:t,rows:n,className:r,sectionHeader:a,sectionUrl:i,subtitle:s,title:c,disclaimer:d}=e,[u,m]=(0,l.useState)(!1),[p,_]=(0,l.useState)({key:null,direction:null});(0,l.useEffect)(()=>{m(!0)},[]);let f=(0,l.useCallback)(e=>{let t=e.id;return"number"==typeof t?t:t?String(t):JSON.stringify(e)},[]),v=(0,l.useCallback)(e=>{let n=t.find(t=>t.key===e);if(n){let e="sort_by_".concat(n.key.toString().toLowerCase().replace(/ /g,"_"));(0,h.uH)("TableSort",e,"click","Market Data")}_(t=>t.key!==e?{key:e,direction:"asc"}:"asc"===t.direction?{key:e,direction:"desc"}:"desc"===t.direction?{key:e,direction:"asc"}:{key:null,direction:null}),(0,L.f)("SectionFrontTableSortClick",{columnName:e})},[t]),x=(0,l.useMemo)(()=>{var e,r,a;if(!u)return n;let{key:i,direction:s}=p;if(!i||!s)return n;let o=t.find(e=>e.key===i),l=null==o?void 0:null===(e=o.options)||void 0===e?void 0:e.columnType,c=null!==(a=null==o?void 0:null===(r=o.options)||void 0===r?void 0:r.backupKey)&&void 0!==a?a:i;return[...n].sort((e,t)=>{let n;let r=e[c],a=t[c];if(null===r)return 1;if(null===a)return -1;if("number"===l)n=E(r)-E(a);else if("time"===l)n=F(r)-F(a);else if("currency"===l){let r=e.id,a=t.id;n=String(r).localeCompare(String(a))}else n="number"==typeof r&&"number"==typeof a?r-a:String(r).localeCompare(String(a));return"asc"===s?n:-n})},[t,u,n,p]);return(0,o.jsxs)("div",{className:T().sectionFrontTable,children:[c&&(0,o.jsx)("div",{className:T().titleContainer,children:(0,o.jsxs)("div",{className:T().titleWrapper,children:[(0,o.jsx)("h2",{className:(0,y.Sh)([T().title,g().coreHeadlineSm]),children:i?(0,o.jsx)(w(),{className:T().sectionLink,href:i,children:(0,o.jsx)(A.oZ,{value:c})}):(0,o.jsx)("span",{children:(0,o.jsx)(A.oZ,{value:c})})})," ",(0,o.jsx)("h5",{className:T().subtitle,children:(0,o.jsx)(A.oZ,{value:s})})]})}),a,(0,o.jsx)("div",{className:T().scroll,children:(0,o.jsxs)(S.Z,{className:(0,y.Sh)([r,T().table]),children:[(0,o.jsx)(I.Z,{className:T().header,children:t.map((e,t)=>{var n;return(0,o.jsx)(M.Z,{column:e,className:0===t?(0,y.RD)([T().stickyCol,(null===(n=e.options)||void 0===n?void 0:n.disableQuickAdd)?T().quickAddAbsent:T().quickAddPresent]):void 0,sortState:p.key===e.key?p.direction:null,onSort:e.allowSorting?()=>v(e.key):void 0,children:(0,o.jsxs)("span",{className:g().coreShortTextXs,children:[(0,o.jsx)(A.oZ,{value:e.title})," "]})},e.key)})}),(0,o.jsx)(D.Z,{children:x.map(e=>(0,o.jsx)(R.Z,{rowData:e,columns:t,className:T().row,children:t.map((t,n)=>{var r;return(0,o.jsx)(P.Z,{rowData:e,column:t,className:0===n?(0,y.RD)([T().stickyCol,(null===(r=t.options)||void 0===r?void 0:r.disableQuickAdd)&&T().quickAddAbsent]):void 0},t.key)})},f(e)))})]})}),d&&(0,o.jsx)("div",{className:T().sectionNote,children:(0,o.jsx)("div",{className:T().tableDisclaimer,children:d})})]})}var V=n(86354),H=n.n(V),W=n(36136),O=n(50797);let U=(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(O.jU,{id:"disclaimerWebsiteIsForInfo",defaultMessage:"Learn more about Bloomberg",values:{webUrl:(0,o.jsx)(W.r,{className:H().disclaimerLink,href:"https://www.bloomberg.com/professional/products/indices/fx-findings-reference-rates/#overview",children:(0,o.jsx)(O.jU,{id:"bloombergFixingsAndRefere_2",defaultMessage:"Bloomberg Fixings and Reference Rates"})})}})}),z=(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(O.jU,{id:"currencyRatesAreRepresent",defaultMessage:"Learn more about Bloomberg",values:{webUrlDisclaimer:(0,o.jsx)(W.r,{className:H().disclaimerLink,href:"https://www.bloomberg.com/notices/jp/financial-data/",children:(0,o.jsx)(O.jU,{id:"detailsAndDisclaimer",defaultMessage:"Bloomberg Disclaimer"})})}})}),G=(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(O.jU,{id:"disclaimerFxRatesMajorCurrEx",defaultMessage:"Foreign exchange rates of major world currencies. Compare key cross rates and currency exchange rates of U.S. Dollars, Euros, British Pounds, and others."})}),Z=(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(O.jU,{id:"disclaimerLearnAboutFixedInc",defaultMessage:"Learn more about Bloomberg",values:{webUrl:(0,o.jsx)(W.r,{className:H().disclaimerLink,href:"http://www.bloombergindices.com",children:"bloombergindices.com"})}})}),Y=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("p",{children:(0,o.jsx)(O.jU,{id:"disclaimerLearnAboutFixedInc",defaultMessage:"Learn more about Bloomberg",values:{webUrl:(0,o.jsx)(W.r,{className:H().disclaimerLink,href:"http://www.bloombergindices.com",children:"bloombergindices.com"})}})}),(0,o.jsx)("p",{children:(0,o.jsx)(O.jU,{id:"unlessIndicatedOtherwiseI",defaultMessage:"Learn more about Bloomberg",values:{timeZone:"ET"}})})]}),q=(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(O.jU,{id:"unlessIndicatedOtherwiseI",defaultMessage:"Bloomberg Disclaimer"})}),K={currencies:{top:U,bottom:z},"cross-rates":{top:U,bottom:G},"rates-bonds":{top:{"rates-bonds":Z,"bloomberg-fixed-income-indices":Y},bottom:{"bloomberg-fixed-income-indices":q}},"consumer-interest-rates":{top:(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(O.jU,{id:"unlessIndicatedOtherwiseI",defaultMessage:"Bloomberg Disclaimer",values:{timeZone:"ET"}})}),bottom:(0,o.jsxs)(o.Fragment,{children:["Source:"," ",(0,o.jsx)(W.r,{className:H().disclaimerLink,href:"http://www.bankrate.com/blm",children:"Bankrate.com"})]})},"fx-fixings":{top:U,bottom:(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(O.jU,{id:"disclaimerWebBfixBisl",defaultMessage:"For general questions and information regarding BFIX email: bfixinquiry@bloomberg.net",values:{bfixEmail:(0,o.jsx)(W.r,{className:H().disclaimerLink,href:"mailto:bfixinquiry@bloomberg.net",children:"bfixinquiry@bloomberg.net"}),bfixMethodUrl:(0,o.jsx)(W.r,{className:H().disclaimerLink,href:"https://assets.bbhub.io/professional/sites/10/BFIX-Methodology-March-2024.pdf",children:(0,o.jsx)(O.jU,{id:"bfixMethodology",defaultMessage:"BFIX Methodology"})}),benchmarkRegUrl:(0,o.jsx)(W.r,{className:H().disclaimerLink,href:"https://www.bloomberg.com/professional/product/indices/benchmark-regulation-resources/",children:(0,o.jsx)(O.jU,{id:"disclaimerBfixRegPageUrl",defaultMessage:"benchmark regulation resources page"})})}})})}},J=(e,t,n)=>{let r=K[e];if(!r)return null;let a=r[n];return t&&a&&!l.isValidElement(a)&&(a=a[t]),a||null};function X(e){let{sectionFrontName:t,selectedTab:n,variant:r}=e,a=J(t,n,r);if(!a)return null;let i=(0,y.RD)({[H().bottomDisclaimer]:"bottom"===r,[H().topDisclaimer]:"top"===r});return(0,o.jsx)("div",{className:H().sectionNote,children:(0,o.jsx)("div",{className:i,children:a})})}var Q=n(12860),$=n(30310),ee=n(98279),et=n(31361),en=n(70390),er=n(56253),ea=n(6304);n(16677);let ei={"GT10:GOV":"rates-bonds/government-bonds/us","GTGBP10Y:GOV":"rates-bonds/government-bonds/uk","GTDEM10Y:GOV":"rates-bonds/government-bonds/germany","GTJPY10Y:GOV":"rates-bonds/government-bonds/japan","GTAUD10Y:GOV":"rates-bonds/government-bonds/australia"};var es=n(89584);es.go.En,es.go.Ja;var eo=n(50710);let el=l.memo(e=>{let{width:t="80px",height:n="16px"}=e;return(0,o.jsx)("div",{"data-sectionFront-cellState":"loading",style:{width:t,height:n},children:(0,o.jsx)(er.V.Line,{})})});function ec(e,t,n){var r;return null!==(r=e[t])&&void 0!==r?r:n}function ed(e,t){var n,r;let a=null===(n=e.options)||void 0===n?void 0:n.precision;return"number"==typeof a&&a>=0?null===(r=e.options)||void 0===r?void 0:r.precision:t}el.displayName="PlaceholderCell";let eu=(e,t)=>{(0,h.uH)("Watchlist",t,e,"Watchlist")},em=e=>{var t,n,r,a;let{security:i,column:s}=e,l=!!(null!==(a=null===(t=(0,et.useFeatureGate)("watchlist_paywall"))||void 0===t?void 0:t.value)&&void 0!==a&&a),{id:c,name:d,longName:u}=i,m="/quote/".concat(c),{isJapanese:p}=(0,eo.b)();return(0,o.jsxs)("div",{className:b().displayIdContainer,children:[!p&&(0,o.jsx)(Q.Z,{ticker:c,variant:"icon",className:b().quickAdd,trackClick:eu,disabled:!l}),(0,o.jsxs)(w(),{className:b().displayId,href:m,target:"_blank",children:[(0,o.jsx)("div",{className:b().stockId,children:c}),(0,o.jsx)("div",{className:(0,y.RD)([b().stockName,{[b().regionEconomiesName]:null==s?void 0:null===(n=s.options)||void 0===n?void 0:n.showFullTickerName}]),children:(null==s?void 0:null===(r=s.options)||void 0===r?void 0:r.showFullTickerName)?u:d})]})]})},ep=e=>{var t,n;let{security:r}=e,a=!!(null!==(n=null===(t=(0,et.useFeatureGate)("watchlist_paywall"))||void 0===t?void 0:t.value)&&void 0!==n&&n),{id:i,securityName:s,longName:l}=r,c="/quote/".concat(i),d=l||s,{isJapanese:u}=(0,eo.b)();return(0,o.jsxs)("div",{className:b().displayIdContainer,children:[!u&&(0,o.jsx)(Q.Z,{ticker:i,variant:"icon",className:b().quickAdd,disabled:!a}),(0,o.jsxs)(w(),{className:b().displayId,href:c,target:"_blank",children:[(0,o.jsx)("div",{className:b().stockId,children:i}),(0,o.jsx)("div",{className:b().stockName,title:d,children:d})]})]})},eh=(e,t)=>{var n;let r=ed(t,2),a=ec(e,(null===(n=t.options)||void 0===n?void 0:n.backupKey)||t.key),i=(0,ea.Bw)(a,r);return(0,o.jsx)("span",{className:b().stockValue,children:i})},e_=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short"}),eg=new Intl.DateTimeFormat("ja-JP",{year:"numeric",month:"short"}),ef=e=>{let{locale:t,commodityContractDate:n}=e;if(!n)return(0,o.jsx)("span",{children:"N/A"});let r=new Date(n),a=t===es.go.Ja?eg.format(r):e_.format(r);return(0,o.jsxs)("span",{suppressHydrationWarning:!0,children:[" ",a," "]})},ev=(e,t)=>{let n=ec(e,t.key);return(0,o.jsx)($.R,{percentChange:n,priceChange:n,hidePercentChange:!0,variant:ee.$e.refresh2024})},ex=(e,t)=>{let n=ec(e,t.key);return(0,o.jsx)($.R,{percentChange:n,className:"sectionFront",variant:ee.$e.refresh2024})},ey=(e,t)=>{var n,r;let a=ed(t,0),i=ec(e,(null===(n=t.options)||void 0===n?void 0:n.backupKey)||t.key),s=i?i*((null===(r=t.options)||void 0===r?void 0:r.multiplier)||1):i,l=(0,ea.X6)(s,a),c=(0,y.Mg)(-s);return(0,o.jsx)("span",{className:(0,y.RD)([b().yieldValue,{[b().positive]:"positive"===c,[b().negative]:"negative"===c}]),children:l})},ej=(e,t)=>{var n;let r=ed(t,2),a=ec(e,(null===(n=t.options)||void 0===n?void 0:n.backupKey)||t.key),i=(0,ea.Bw)(a,r);return(0,o.jsxs)("span",{className:b().stockValue,children:[i,"%"]})},ek={country:e=>{let{id:t,countryName:n}=e,r=function(e){let t=ei[e]||"";return"/markets/".concat(t)}(t);return r?(0,o.jsx)(w(),{className:b().displayId,href:r,children:(0,o.jsxs)("div",{className:(0,y.RD)([b().stockName,b().entityName]),children:[(0,o.jsx)("span",{children:n}),(0,o.jsx)(en._Q,{})]})}):(0,o.jsx)("span",{className:(0,y.RD)([b().stockName,b().entityName]),children:n})},coupon:eh,commodityContractDate:e=>ef(e),crossRate:eh,crossRateName:e=>(0,o.jsx)("span",{className:(0,y.RD)([b().stockName,b().crossRate]),children:e.name}),currency:e=>{var t,n;let r=!!(null!==(n=null===(t=(0,et.useFeatureGate)("watchlist_paywall"))||void 0===t?void 0:t.value)&&void 0!==n&&n),{id:a}=e,i="/quote/".concat(a),[s]=a.split(":"),l="".concat(s.slice(0,3),"-").concat(s.slice(3,6)),{isJapanese:c}=(0,eo.b)();return(0,o.jsxs)("div",{className:b().currencyIdContainer,children:[!c&&(0,o.jsx)(Q.Z,{ticker:a,variant:"icon",className:b().quickAdd,trackClick:eu,disabled:!r}),(0,o.jsx)(w(),{className:b().displayId,href:i,target:"_blank",children:(0,o.jsx)("div",{className:b().stockName,children:l})})]})},highPrice:eh,id:(e,t)=>(0,o.jsx)(em,{security:e,column:t}),interestRate:e=>{let{securityName:t,thirdPartyUrl:n}=e;return n?(0,o.jsx)(w(),{className:b().displayId,href:n,children:(0,o.jsx)("div",{className:(0,y.RD)([b().stockName,b().entityName,b().consumerInterestRate]),children:t})}):(0,o.jsx)("span",{className:(0,y.RD)([b().stockName,b().entityName,b().consumerInterestRate]),children:t})},interestRatePrice:ej,interestRatePrice1MonthAgo:ej,lastUpdatedTime:e=>(0,o.jsx)("span",{suppressHydrationWarning:!0,className:b().stockTime,children:e.lastUpdatedTime||"--"}),lowPrice:eh,municipalYield:ej,municipalYieldChange1Day:ey,municipalYieldChange1Month:ey,municipalYieldChange1Year:ey,name:e=>(0,o.jsx)("span",{className:(0,y.RD)([b().stockName,g().coreShortTextMd]),children:e.name}),percentChange1Day:ex,price:eh,priceChange1Day:ev,percentChange1Month:ev,percentChange1Year:ex,rate:(e,t)=>{var n;let r=ed(t,2),a=ec(e,(null===(n=t.options)||void 0===n?void 0:n.backupKey)||t.key),i=(0,ea.Bw)(a,r)||"--";return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{"data-sectionFront-cellState":"success",className:b().stockValue,children:i}),(0,o.jsx)(el,{})]})},ratePrice:eh,ratePrice1YearAgo:eh,securityName:e=>(0,o.jsx)(ep,{security:e}),yield:(e,t)=>{let n=ed(t,2),r=ec(e,t.key),a=(0,ea.C1)(r,n);return(0,o.jsx)("span",{className:b().stockValue,children:a})},yieldChange1Day:ey,yieldChange1Month:ey,yieldChange1Year:ey},eb=(e,t)=>e.map(e=>{var n,r;return{title:e.title,key:e.key,align:e.align,renderer:ek[e.key],options:{...e.options,disableQuickAdd:(null===(n=e.options)||void 0===n?void 0:n.disableQuickAdd)||!!t},allowSorting:(null===(r=e.options)||void 0===r?void 0:r.disableSorting)!==!0}});var eC=n(53633),ew=n(96521),eN=n.n(ew),eT=n(48523),eS=n(34117),eM=n(95866),eI=n(49681);let eD=(0,l.memo)(eC.P),[eR]=eI.jD;function eP(e){let{onBfixDateChange:t}=e,{isJapanese:n}=(0,eo.b)(),[r,a]=(0,l.useState)(new Date),[i,s]=(0,l.useState)(eR),c=(0,l.useCallback)(e=>{e&&s(e)},[s]),d=(0,l.useCallback)(e=>{e&&a(e)},[a]);(0,l.useEffect)(()=>{t({bfixDateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"09:30:00",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Asia/Shanghai";return(function(e,t,n){let r=(0,eS.Z)(e,"yyyy-MM-dd"),a="".concat(r,"T").concat(t,":00");return(0,eM.Z)(a,n)})(e,t,n).toISOString().replace(".000Z","Z")}(r,i.time,i.timezone)})},[t,r,i]);let u=new Date;return(0,o.jsxs)("div",{className:eN().bfixHeader,children:[(0,o.jsx)("div",{className:eN().wrapper,children:(0,o.jsx)(eD,{className:eN().regionDropdown,onChange:c,inputProps:{autocomplete:"off"},options:eI.jD,size:"small",value:i})}),(0,o.jsx)("div",{className:eN().wrapper,children:(0,o.jsx)(eT.Z,{className:eN().datePicker,label:"",isJapanese:n,maxDate:u,native:!1,value:r.getTime(),onChange:d,variant:"refresh-2025"})})]})}var eL=n(33934),eA=n(8457);async function eE(e,t,n){let r=(0,eA.z)({pathname:"/bazaar/api/section-front/sections",searchParams:{sectionFrontName:e,tabIdentifier:t,locale:n},trailingSlash:!1});try{let e=await fetch(r,{credentials:"same-origin"});if(!e.ok)return null;return e.json()}catch(n){throw(0,L.H)(Error("Error refreshing SectionFront data"),{sectionFront:e,sectionFrontTab:t,errorMsg:JSON.stringify(n)}),n}}let eF=(e,t,n)=>(0,eL.a)({queryKey:["sectionFrontName",e,t,n],queryFn:()=>eE(e,t,n),refetchInterval:eI.ap,enabled:!1});async function eB(e){let t=(0,eA.z)({pathname:"/bazaar/api/section-front/bfix-rates",searchParams:{dateString:e},trailingSlash:!1});try{let e=await fetch(t,{credentials:"same-origin"});if(!e.ok)return null;return e.json()}catch(t){throw(0,L.H)(Error("Error fetching bfix data"),{dateString:e,errorMsg:JSON.stringify(t)}),t}}let eV=e=>(0,eL.a)({queryKey:["bfixRatesData",e],queryFn:()=>e?eB(e):Promise.resolve([]),refetchInterval:eI.ap,enabled:!!e});function eH(){return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(u.x,{className:b().inBodyAd,positionIncrement:1,hideEmptyAd:!0})})}function eW(e){let{sectionFrontPage:t}=e,{sectionFrontTab:n}=t,{isJapanese:r}=(0,eo.b)(),[a,i]=(0,l.useState)(void 0),{locale:s}=(0,j.Z)(),{data:c=[]}=eF(null==t?void 0:t.sectionFrontName,null==n?void 0:n.identifier,s),{data:d=[],status:u}=eV(null==a?void 0:a.bfixDateString),m=(0,l.useMemo)(()=>{let e=(null==c?void 0:c.length)?c:(null==n?void 0:n.sections)||[];return"fx-fixings"===n.identifier&&(null==d?void 0:d.length)?e.map(e=>((null==d?void 0:d.length)&&(e.securities=d),e)):e},[c,null==n?void 0:n.sections,n.identifier,d]),p="fx-fixings"===t.sectionFrontName?(0,o.jsx)(eP,{onBfixDateChange:i}):null,h=(0,y.RD)([b().sectionFront,{[b().loading]:"pending"===u}]);return(0,o.jsxs)("div",{className:h,children:[m.map((e,t)=>{var n;return(0,o.jsxs)("div",{className:b().section,children:[(0,o.jsx)(B,{columns:eb(e.columns,r),rows:e.securities,maxColumnsOnMobile:null!==(n=e.maxColumnsOnMobile)&&void 0!==n?n:3,sectionHeader:p,sectionUrl:e.url,subtitle:e.subtitle,title:e.title,disclaimer:e.disclaimer}),0===t&&(0,o.jsx)(eH,{})]},t)}),(0,o.jsx)(X,{sectionFrontName:t.sectionFrontName,selectedTab:n.identifier,variant:"bottom"})]})}var eO=n(28715),eU=n.n(eO),ez=n(77339),eG=n(78426),eZ=n.n(eG),eY=n(91949),eq=n(7029),eK=n(36993),eJ=n(99533),eX=n.n(eJ),eQ=n(82642);let e$=e=>{let t=e.sort().join(",");return(0,eL.a)({queryKey:["tim-sparkline-bulk",t],queryFn:()=>(0,eQ.q)(e),enabled:e.length>0,staleTime:eI.ap,refetchInterval:eI.ap})},e0=(0,l.createContext)(void 0);e0.displayName="TodayInMarketsContext";let e1=e=>{let{categories:t,children:n}=e,[r,a]=(0,l.useState)(t),[i,s]=(0,l.useState)(t[0]),[c,d]=(0,l.useState)(void 0),u=(0,l.useCallback)(e=>{s(r.find(t=>t.id===e)||r[0])},[r]),m=(0,l.useCallback)(e=>{d(e)},[]),p=(0,l.useCallback)(e=>{a(t=>e.map(e=>{let n=t.find(t=>t.id===e.id);if(!n)return{...e};let r=new Map;return n.dataItems.forEach(e=>r.set(e.id,e)),n.dataItems=e.dataItems.map(e=>{let t=r.get(e.id);return t?{...e,priceMovements:t.priceMovements||[],priceSet:t.priceSet||[]}:{...e}}),{...n}}))},[]),h=(0,l.useCallback)((e,t)=>{if(!(null==t?void 0:t.length))return;let n=new Map;t.forEach(e=>n.set(e.id,e.series)),a(t=>{let r=t.find(t=>t.id===e);return r?(r.dataItems=r.dataItems.map(e=>{let t=n.get(e.id),r=null==t?void 0:t.map(e=>null==e?void 0:e.value);return{...e,priceMovements:t||[],priceSet:r||[]}}),[...t]):t})},[]);return(0,o.jsx)(e0.Provider,{value:{categories:r,selectedCategory:i,activeTicker:c,onCategoryChange:u,updateActiveTicker:m,updateCategories:p,updateCategoryWithSparklineData:h},children:n})};function e8(){let e=(0,l.useContext)(e0);if(!e)throw Error("useTodayInMarkets must be used within TodayInMarketsContextProvider");return e}let e2=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder}),(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder}),(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder}),(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder}),(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder}),(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder}),(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder}),(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder}),(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder}),(0,o.jsx)(er.V.Image,{className:eX().todayInMarketsSparklineCardsPlaceholder})]});var e3=n(88345),e4=n.n(e3),e7=n(32689);let e6=e=>{let{placeholder:t,errorMessage:n,onRetryClick:r}=e;return(0,o.jsxs)("div",{className:e4().placeholderWithError,children:[(0,o.jsx)("div",{className:e4().placeholderContainer,children:t}),(0,o.jsx)("div",{className:e4().errorContainer,children:(0,o.jsx)(e7.Z,{text:n,variant:"lineBreak",title:"",actionIcon:(0,o.jsx)(en.hY,{}),actionText:"Retry",onActionClick:r})})]})};var e9=n(94996);let e5=l.memo(eK.l);function te(e){let{enableFocusEvents:t=!1}=e,{activeTicker:n,selectedCategory:r,updateActiveTicker:a,updateCategoryWithSparklineData:i}=e8(),s=(0,O.Q)(),c=(0,e9.Z)(),d=(0,l.useMemo)(()=>r.dataItems.map(e=>e),[r.dataItems]),u=(0,l.useMemo)(()=>d.map(e=>e.id),[d]),{status:m,refetch:p,data:_=[]}=e$(u);(0,l.useEffect)(()=>{i(r.id,_)},[_,r.id,i]);let g=(0,l.useCallback)(e=>{(0,h.uH)("Market_Data","tile_click_tim","click","Market Data"),(0,L.f)("todayInMarketsSparklineClick",{ticker:e.id}),c.open("/quote/".concat(e.id),"_blank")},[]),f=(0,l.useCallback)(e=>{a(e.id)},[a]),v=(0,l.useCallback)(()=>{a(void 0)},[a]);return"pending"===m?(0,o.jsx)(e2,{}):"error"===m?((0,L.H)(Error("TodayInMarkets Sparkline Fetch Error"),{selectedCategory:null==r?void 0:r.id,sparklineTickers:u.join(",")}),(0,o.jsx)(e6,{placeholder:(0,o.jsx)("div",{className:eX().todayInMarketsErrorWrapper,children:(0,o.jsx)(e2,{})}),errorMessage:s({id:"errMarketData",defaultMessage:"There was an error loading market data."}),onRetryClick:()=>p({throwOnError:!0})})):(0,o.jsx)(o.Fragment,{children:d.map((e,r)=>{let a=(0,y.RD)([eX().todayInMarketsSparklineCardContainer,{[eX().active]:t&&e.id===n}]);return(0,o.jsx)("div",{className:a,onClick:()=>g(e),...t&&{onMouseMove:()=>f(e),onMouseLeave:()=>v()},children:(0,o.jsx)(e5,{className:eX().todayInMarketsSparklineCard,currency:e.currency,percentChange:e.percentChange,price:e.price,priceSet:e.priceSet,securityName:e.id,yesterdayPrice:e.yesterdayPrice,directionBy:"percentChange",useGradualFade:!0})},r)})})}function tt(e){let{onChange:t,selectedOption:n}=e,{categories:r}=e8(),a=(0,O.Q)(),i=(0,l.useMemo)(()=>{var e,t;return null!==(t=null===(e=r.find(e=>e.id===n))||void 0===e?void 0:e.label)&&void 0!==t?t:r[0].label},[r]),s=(0,l.useMemo)(()=>r.map(e=>({displayValue:a(e.label),value:e.id})),[r]);return(0,o.jsxs)("div",{className:eZ().dropDownContainer,children:[(0,o.jsx)(eY.K,{selectedItemOverride:{displayValue:a(i),value:n},onSelect:e=>{(null==e?void 0:e.value)&&t(e.value)},options:s,className:(0,y.RD)([eZ().cardsDropdown,g().coreShortTextSm])}),(0,o.jsx)(eq.iR,{shadow:!1,children:(0,o.jsx)(te,{})})]})}var tn=n(11934);function tr(e){let{onChange:t,selectedOption:n}=e,{categories:r}=e8(),a=(0,O.Q)(),i=r.map(e=>e.id),s=(0,l.useCallback)((e,n)=>{if(null===n)return;let r=i[n];null==t||t(r)},[i,t]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(tn.mQ,{size:"default",variant:"basic",className:eZ().tabContainer,onTabSwitch:s,children:r.map(e=>(0,o.jsx)(tn.OK,{title:a(e.label),isDefault:n===e.id,className:g().coreShortTextSm,children:" "},e.id))}),(0,o.jsx)("div",{className:eZ().tabSliderContainer,children:(0,o.jsx)(eq.iR,{shadow:!1,children:(0,o.jsx)(te,{})})})]})}function ta(e){let{onChange:t,selectedOption:n}=e,r=(0,O.Q)(),{categories:a}=e8(),i=a.map(e=>e.id),s=(0,l.useCallback)((e,n)=>{if(null===n)return;let r=i[n];null==t||t(r)},[i,t]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(tn.mQ,{size:"default",variant:"basic",className:eZ().tabContainer,onTabSwitch:s,children:a.map(e=>(0,o.jsx)(tn.OK,{title:r(e.label),isDefault:n===e.id,children:""},e.id))}),(0,o.jsx)("div",{className:eZ().tabGridContainer,children:(0,o.jsx)(te,{enableFocusEvents:!0})})]})}let ti=new Set(["LB1:IND","RBATCTR:IND"]),ts={stocks:{id:"indices",label:{id:"popularIndices",defaultMessage:"Popular Indices"}},"rates-bonds":{id:"ratesAndBonds",label:{id:"popularRatesAndBonds",defaultMessage:"Popular Rates & Bonds"}},currencies:{id:"currencies",label:{id:"popularCurrencies",defaultMessage:"Popular Currencies"}},commodities:{id:"commodities",label:{id:"popularCommodities",defaultMessage:"Popular Commodities"}},topPerformers:{id:"topPerformers",label:{id:"topPerformers",defaultMessage:"Top Performers"}},underPerformers:{id:"underPerformers",label:{id:"underPerformers",defaultMessage:"Under Performers"}}};function to(e,t){var n;let r=e.flatMap(e=>e.securities||[]).filter(e=>!ti.has(e.id)&&(void 0!==e.highPrice||void 0!==e.lowPrice)).map(e=>{var t;return{id:e.id,currency:null!==(t=e.issuedCurrency)&&void 0!==t?t:"USD",percentChange:e.percentChange1Day,priceChange1Day:e.priceChange1Day,price:e.price,priceSet:[],priceMovements:[],yesterdayPrice:e.previousClosingPriceOneTradingDayAgo,volume:e.volume,highPrice:e.highPrice,lowPrice:e.lowPrice,previousClosingPriceOneTradingDayAgo:e.previousClosingPriceOneTradingDayAgo,volatility:(e.highPrice-e.lowPrice)/e.previousClosingPriceOneTradingDayAgo}}),a=r.sort((e,t)=>t.percentChange-e.percentChange).slice(0,10),i=r.sort((e,t)=>e.percentChange-t.percentChange).slice(0,10),s=r.sort((e,t)=>t.volume-e.volume).slice(0,10);return[{...null!==(n=ts[t])&&void 0!==n?n:ts.stocks,dataItems:s},{...ts.topPerformers,dataItems:a},{...ts.underPerformers,dataItems:i}]}let tl="persistedWrappedWatchlist",tc="isOpenTodayInMarkets";function td(e){let{sectionFrontName:t,sectionFrontTabIdentifier:n}=e,{locale:r}=(0,j.Z)(),{pagePreference:a,updatePagePreference:i}=(0,x.V)(),{breakpoints:{tablet:s,smallDesktop:c,largeDesktop:d}}=(0,l.useContext)(ez.sG),{updateCategories:u,selectedCategory:m,onCategoryChange:p,categories:_}=e8(),{data:g}=eF(t,n,r),f=(0,l.useMemo)(()=>"".concat(t,":").concat("todayInMarketsTab"),[t]),v=(0,l.useMemo)(()=>a[f]||m.id,[a,m.id]);(0,l.useEffect)(()=>{p(v)},[p,v]);let y=(0,l.useCallback)(e=>{var t,n;let r=null!==(n=null===(t=_.find(t=>t.id===e))||void 0===t?void 0:t.label.defaultMessage)&&void 0!==n?n:e,a="".concat(null==r?void 0:r.toLowerCase().replace(/ /g,"_"),"_tim");(0,h.uH)("Market_Data",a,"click","Market Data"),i(f,e),p(e),(0,L.f)("todayInMarketsTabChange",{tabName:r})},[p]);(0,l.useEffect)(()=>{(null==g?void 0:g.length)&&u(to(g,t))},[u,g,t]);let k=(0,l.useMemo)(()=>!s&&!c&&!d,[s,c,d]),b=(0,l.useMemo)(()=>c||d,[c,d]);return k?(0,o.jsx)("div",{className:eZ().todayInMarketsCategoriesContainer,children:(0,o.jsx)(tt,{onChange:y,selectedOption:v})}):b?(0,o.jsx)("div",{className:eZ().todayInMarketsCategoriesContainer,children:(0,o.jsx)(ta,{onChange:y,selectedOption:v})}):(0,o.jsx)("div",{className:eZ().todayInMarketsCategoriesContainer,children:(0,o.jsx)(tr,{onChange:y,selectedOption:v})})}var tu=n(24214),tm=n.n(tu),tp=n(72016),th=n(15509),t_=n(78528);function tg(){let{activeTicker:e,selectedCategory:t,updateActiveTicker:n}=e8(),[r,a]=(0,l.useState)(350),i=(0,l.useRef)(null),{breakpoints:{smallDesktop:s,largeDesktop:c}}=(0,l.useContext)(ez.sG),d=(0,l.useMemo)(()=>!!(s||c),[s,c]),u=(0,l.useMemo)(()=>c?326:s?459:326,[s,c]),m=(0,l.useMemo)(()=>{var e;return(null==t?void 0:null===(e=t.dataItems)||void 0===e?void 0:e.length)?t.dataItems.map(e=>{let t=e.percentChange||0,n=(0,th.xr)(t),r=(0,th.ik)(t);return{...e,severity:n,trend:r,label:e.id,size:1,marketData:{PX_LAST:e.price,CHG_PCT_1D:t,CHG_NET_1D:e.priceChange1Day,CRNCY:e.currency},shares:{number:0}}}):[]},[t]),p=(0,e9.Z)();(0,l.useEffect)(()=>{if(s||c){a(350);return}let e=i.current;if(!e)return;let t=new ResizeObserver(e=>{for(let r of e){var t,n;let e=(null===(n=r.contentBoxSize)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.inlineSize)||r.contentRect.width;if(0===e)return;a(e)}});return t.observe(e),()=>{t.disconnect()}},[s,c]);let _=(0,l.useCallback)(e=>{(0,h.uH)("Market_Data","heatmap_click_tim","click","Market Data"),(0,L.f)("todayInMarketsHeatmapClick",{ticker:e.data.id}),p.open("/quote/".concat(e.data.id),"_blank")},[]),g=(0,l.useCallback)(e=>{(0,h.uH)("Market_Data","heatmap_hover_tim","click","Market Data"),n(e.data.id)},[n]),f=(0,l.useCallback)(e=>{n(void 0)},[n]);return(0,o.jsx)("div",{ref:i,className:tm().todayInMarketsHeatmapContainer,children:(0,o.jsx)(tp.Z,{width:r,height:u,tilesData:m,activeTileLabel:e,onTileClick:_,onTileFocus:g,onTileBlur:f,enableTileFocusEvents:d,renderHoverContent:e=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:(0,y.RD)(tm().hoverContent,tm().tickerSymbol),children:e.data.id}),(0,o.jsxs)("div",{className:tm().hoverContent,children:[(0,t_.j)(e.data.currency||"")," ",(0,ea.Bw)(e.data.price)]}),Number.isFinite(e.data.percentChange)&&Number.isFinite(e.data.priceChange1Day)&&(0,o.jsx)("div",{className:tm().hoverContent,children:(0,o.jsx)($.R,{name:"change",className:"pb-0.5",percentChange:e.data.percentChange,priceChange:e.data.priceChange1Day,size:"large",variant:ee.$e.refresh2024})})]})})})}var tf=n(40836);let tv=(0,l.memo)(function(){return(0,o.jsx)("section",{className:eU().placeholderContainer,children:(0,o.jsx)(er.V,{children:(0,o.jsxs)("div",{children:[Array.from(Array(10).keys()).map((e,t)=>(0,o.jsx)("div",{className:eU().placeholderRow,children:(0,o.jsx)(er.V.Line,{})},t)),Array.from(Array(10).keys()).map((e,t)=>(0,o.jsx)("div",{className:(0,y.RD)([eU().placeholderRow,eU().desktopHiddenRow]),children:(0,o.jsx)(er.V.Line,{})},"mobile-tablet-".concat(t)))]})})})});function tx(e){let{sectionFrontName:t,sectionFrontTab:n}=e,{pagePreference:r,updatePagePreference:a}=(0,x.V)(),i=(0,l.useMemo)(()=>{var e;return null===(e=r[tc])||void 0===e||e},[r]),[s,c]=(0,l.useState)(!0),[d,u]=(0,l.useState)(!0),m=(0,tf.O)();(0,l.useEffect)(()=>{(0,h.uH)("Market_Data","tim_surfaces","uiaction","Market Data")},[]);let p=(0,l.useRef)(null),_=(0,l.useMemo)(()=>{var e;return(null===(e=n.sections)||void 0===e?void 0:e.length)?to(n.sections,t):[]},[n,t]),f=(0,l.useCallback)(e=>{p.current&&(clearTimeout(p.current),p.current=null),p.current=setTimeout(()=>{c(e),p.current=null},eI.DN)},[p.current]);(0,l.useEffect)(()=>{u(i),f(i)},[i]);let v=(0,l.useCallback)(()=>{d?(u(!1),(0,h.uH)("Market_Data","hide_tim","click","Market Data"),(0,L.f)("todayInMarketsToggle",{action:"chevron_close"}),a(tc,!1),f(!1)):(c(!0),(0,h.uH)("Market_Data","show_tim","click","Market Data"),(0,L.f)("todayInMarketsToggle",{action:"chevron_open"}),a(tc,!0),requestAnimationFrame(()=>u(!0)))},[d]);(0,l.useEffect)(()=>()=>{p.current&&clearTimeout(p.current)},[]);let j=(0,y.RD)([eU().showHideToggle,{[eU().open]:d,[eU().close]:!d}]),k=(0,y.RD)([eU().sectionWrapper,{[eU().open]:d,[eU().close]:!d}]);return(null==_?void 0:_.length)?(0,o.jsx)(e1,{categories:_,children:(0,o.jsxs)("div",{className:eU().todayInMarkets,children:[(0,o.jsx)("button",{onClick:v,"aria-label":"toggle today in markets",children:(0,o.jsxs)("div",{className:eU().collapsibleContainer,children:[(0,o.jsx)("h2",{className:(0,y.RD)([eU().sectionTitle,g().coreHeadlineSm]),children:(0,o.jsx)(O.jU,{id:"todayInTheMarkets",defaultMessage:"Today in the Markets"})}),(0,o.jsx)("div",{className:j,role:"icon-button",children:(0,o.jsx)("span",{className:eU().chevronIcon,children:(0,o.jsx)(en._M,{})})})]})}),(0,o.jsx)("div",{className:k,children:s&&(0,o.jsx)("div",{className:eU().sectionContainer,children:m?(0,o.jsx)(tv,{}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(td,{sectionFrontName:t,sectionFrontTabIdentifier:null==n?void 0:n.identifier}),(0,o.jsx)(tg,{})]})})})]})}):null}var ty=n(90148),tj=n.n(ty),tk=n(76813),tb=n(46021),tC=n.n(tb),tw=n(44277),tN=n.n(tw);let tT="Watchlist Performance";function tS(e){let{watchlistOptions:t,selectedWatchlistOption:n,onWatchlistChange:r}=e,a="/markets/watchlist?watchlist=".concat(null==n?void 0:n.value),i=e=>{(0,h.uH)("watchlistTabSwitch","dropdown_switch","click","watchlist"),e&&r&&(r(e),(0,L.f)("wrappedWatchlistChange"))},s=()=>{(0,L.f)("wrappedGoToWatchlist")};return(0,o.jsxs)("div",{className:tN().headingContainer,children:[(0,o.jsxs)("div",{className:tN().mobileHeader,children:[(0,o.jsxs)("div",{className:tN().mobileTopRow,children:[(0,o.jsx)("div",{className:tN().headingTitle,children:tT}),(0,o.jsxs)("a",{className:tN().yourWatchlistMobile,href:a,onClick:s,rel:"noopener noreferrer",children:[(0,o.jsx)("span",{className:tN().watchlistWrapText,children:"Go to Watchlist"}),(0,o.jsx)("span",{className:tN().inlineIcon,children:(0,o.jsx)(en._Q,{})})]})]}),(0,o.jsx)(eY.K,{className:tN().watchlistViewDropdown,onSelect:i,selectedItemOverride:n,options:t})]}),(0,o.jsxs)("div",{className:tN().desktopHeader,children:[(0,o.jsxs)("div",{className:tN().desktopHeaderMain,children:[(0,o.jsx)("div",{className:tN().headingTitle,children:tT}),(0,o.jsx)(eY.K,{className:tN().watchlistViewDropdown,onSelect:i,selectedItemOverride:n,options:t})]}),(0,o.jsxs)("a",{className:tN().yourWatchlist,href:a,onClick:s,target:"_blank",rel:"noopener noreferrer",children:["View Your Watchlist",(0,o.jsx)(en._Q,{})]})]})]})}let tM="Watchlist Performance",tI="/markets/watchlist",tD={value:"placeholder_option",displayValue:"Select Watchlist"};function tR(){return(0,o.jsxs)("div",{className:tN().headingContainer,children:[(0,o.jsxs)("div",{className:tN().mobileHeader,children:[(0,o.jsxs)("div",{className:tN().mobileTopRow,children:[(0,o.jsx)("div",{className:tN().headingTitle,children:tM}),(0,o.jsxs)("a",{className:tN().yourWatchlistMobile,href:tI,children:[(0,o.jsx)("span",{className:tN().watchlistWrapText,children:"Go to Watchlist"}),(0,o.jsx)("span",{className:tN().inlineIcon,children:(0,o.jsx)(en._Q,{})})]})]}),(0,o.jsx)("div",{className:tN().watchlistViewDropdown,children:(0,o.jsx)(eY.K,{className:tN().watchlistViewDropdown,selectedItemOverride:tD,options:[],onSelect:()=>{}})})]}),(0,o.jsxs)("div",{className:tN().desktopHeader,children:[(0,o.jsxs)("div",{className:tN().desktopHeaderMain,children:[(0,o.jsx)("div",{className:tN().headingTitle,children:tM}),(0,o.jsx)("div",{className:tN().watchlistViewDropdown,children:(0,o.jsx)(eY.K,{className:tN().watchlistViewDropdown,selectedItemOverride:tD,options:[],onSelect:()=>{}})})]}),(0,o.jsxs)("a",{className:tN().yourWatchlist,href:tI,children:["View Your Watchlist",(0,o.jsx)(en._Q,{})]})]})]})}var tP=n(61362);function tL(e){let{loadingState:t,watchlistOptions:n,selectedWatchlistOption:r,onWatchlistChange:a,onRefresh:i}=e;return t===tP.Vu.LOADING?(0,o.jsx)(tR,{}):t===tP.Vu.FAILED?(0,o.jsx)(e7.Z,{text:tP.tj,variant:"lineBreak",title:"",actionIcon:(0,o.jsx)(en.hY,{}),actionText:"Refresh",onActionClick:i}):(0,o.jsx)(tS,{watchlistOptions:n,selectedWatchlistOption:r,onWatchlistChange:a})}var tA=n(13302),tE=n.n(tA);function tF(){return(0,o.jsx)("div",{className:tE().metricContainerPlaceholder,children:(0,o.jsx)(er.V.Line,{})})}function tB(){return(0,o.jsxs)("div",{className:tE().snapshot,children:[(0,o.jsx)("div",{className:tE().snapshotTitle,children:"Daily Snapshot"}),(0,o.jsxs)("div",{className:tE().snapshotGrid,children:[(0,o.jsxs)("div",{className:tE().snapshotGridRow,children:[(0,o.jsx)(tF,{}),(0,o.jsx)(tF,{})]}),(0,o.jsxs)("div",{className:tE().snapshotGridRow,children:[(0,o.jsx)(tF,{}),(0,o.jsx)(tF,{})]})]})]})}var tV=n(18864),tH=n.n(tV);function tW(){return(0,o.jsx)("div",{className:tH().topMoverPillPlaceholder,children:(0,o.jsx)(er.V.Line,{})})}function tO(){return(0,o.jsxs)("div",{className:tH().topMoversBox,children:[(0,o.jsx)("div",{className:tH().topMoversTitle,children:"Top Movers"}),(0,o.jsx)("div",{className:tH().topMoversGrid,children:Array.from({length:6}).map((e,t)=>(0,o.jsx)(tW,{},t))})]})}var tU=n(83248),tz=n.n(tU);function tG(){return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:tz().performanceChartTitle,children:"Performance Chart"}),(0,o.jsx)("div",{className:tz().performanceChartPlaceholder,children:(0,o.jsx)(er.V.Image,{})})]})}function tZ(){return(0,o.jsxs)("div",{className:tC().mainContent,children:[(0,o.jsxs)("div",{className:tC().snapshotAndMoversSection,children:[(0,o.jsx)("div",{className:tC().snapshotWrapper,children:(0,o.jsx)(tB,{})}),(0,o.jsx)("div",{className:tC().verticalDivider,role:"separator"}),(0,o.jsx)("div",{className:tC().moversSection,children:(0,o.jsx)(tO,{})})]}),(0,o.jsx)("div",{className:tC().horizontalDivider,role:"separator"}),(0,o.jsx)("div",{className:tC().chartSection,children:(0,o.jsx)(tG,{})})]})}var tY=n(83683);let tq="Total Gain / Loss";function tK(e){let{title:t,value:n,percentChange:r,showSign:a=!1}=e;return(0,o.jsxs)("div",{className:tE().metricContainer,children:[(0,o.jsx)("p",{className:tE().metricTitle,children:t}),(0,o.jsx)("span",{className:tE().priceDisplay,children:(0,o.jsxs)("div",{className:tE().watchlistSnapshotMetrics,children:[(0,o.jsxs)("div",{className:tE().metricValueWrapper,children:[a&&n>=0&&(0,o.jsx)("span",{className:tE().price,children:"+"}),(0,o.jsx)(tY.l,{price:n,size:"large",className:tE().metricValue})]}),(r||0!==r)&&(0,o.jsx)($.R,{className:tE().change,name:"change",percentChange:r,size:"large",variant:ee.$e.refresh2024})]})})]})}function tJ(e){let{todayGainLoss:t,totalGainLoss:n,totalValue:r,totalCost:a}=e,{breakpoints:{tablet:i,smallDesktop:s,largeDesktop:c}}=(0,l.useContext)(ez.sG),d=!i&&!s&&!c;return(0,o.jsxs)("div",{className:tE().snapshot,children:[(0,o.jsx)("div",{className:tE().snapshotTitle,children:"Daily Snapshot"}),(0,o.jsxs)("div",{className:tE().snapshotGrid,children:[(0,o.jsxs)("div",{className:tE().snapshotGridRow,children:[(0,o.jsx)(tK,{title:"Today’s Gain / Loss",value:t.value,percentChange:t.percentChange,showSign:!0}),(0,o.jsx)(tK,{title:d?tq:"Value",value:d?n.value:r.value,percentChange:d?n.percentChange:0})]}),(0,o.jsxs)("div",{className:tE().snapshotGridRow,children:[(0,o.jsx)(tK,{title:d?"Value":tq,value:d?r.value:n.value,percentChange:d?0:n.percentChange,showSign:!0}),(0,o.jsx)(tK,{title:"Cost",value:a.value,percentChange:0})]})]})]})}function tX(e){let{movers:t,currency:n,hasLots:r}=e,a=[...t].sort((e,t)=>Math.abs(t.percentChange)-Math.abs(e.percentChange)),i=(0,e9.Z)(),s=(0,l.useCallback)(e=>{(0,h.uH)("Watchlist","top_movers_pill","click","Watchlist"),(0,L.f)("wrappedTopMoverClick",{ticker:e}),i.open("/quote/".concat(e),"_blank","noopener,noreferrer")},[]);return(0,o.jsxs)("div",{className:tH().topMoversBox,children:[(0,o.jsx)("div",{className:tH().topMoversTitle,children:"Top Movers"}),(0,o.jsx)("div",{className:tH().topMoversGrid,children:a.map((e,t)=>{let n=(0,y.RD)([tH().topMoverPill,{[tH().showPositiveSign]:e.value>=0&&r}]);return(0,o.jsx)(ee.EK,{onClick:s,lines:ee.xh.two,percentChange:e.percentChange,price:e.value,size:ee.$u.default,ticker:e.ticker,variant:ee.$e.refresh2024,className:n,currency:e.issuedCurrency,showCurrency:!r},e.ticker)})})]})}var tQ=n(64190),t$=n(7160),t0=n(74773);function t1(e){let{chartData:t,chartCaption:n}=e,[r,a]=(0,l.useState)([]),[i,s]=(0,l.useState)(void 0),c=(0,tf.r)(),d=(0,l.useMemo)(()=>t.map((e,t)=>{var n,r;return{...e,id:String(e.id),color:(0,t0.Dv)(t),countryCode:null!==(n=e.countryCode)&&void 0!==n?n:"",exchangeCode:null!==(r=e.exchangeCode)&&void 0!==r?r:""}}),[t]);(0,l.useEffect)(()=>{a(d.map(e=>({id:e.id,name:e.id,color:e.color,checked:!0})))},[d]);let u=(0,l.useCallback)((e,t)=>{t?(0,h.uH)("quote_add_compare","add-compare","click","Watchlist Performance Module"):(0,h.uH)("quote_remove_compare","remove-compare","click","Watchlist Performance Module"),a(n=>{let r=n.map(n=>n.id===e?{...n,checked:t}:n);return 0===r.filter(e=>e.checked).length?n:r}),(0,L.f)("watchlistWrappedTickerChange",{tickerId:e,isChecked:t})},[]),m=(0,l.useCallback)(e=>{a(t=>t.filter(t=>t.id!==e))},[]),p=(0,l.useMemo)(()=>(0,t0._V)(r,d).map(e=>({...e,id:String(e.id)})),[r,d]),_=1===p.length?"price":"percentage",g=1===p.length;return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:tz().performanceChartTitle,children:"Performance Chart"}),(0,o.jsx)(tQ.U,{tickerSnapshots:p,renderMode:_,showGradient:g,pricePrecision:2,enableDragInteraction:!0,handleChartHoverInteraction:s,width:830,height:420,...!c&&{xAxisTickSize:4,yAxisTickSize:4},showPreviousPrice:!0,xAxisInterval:"hour"}),n&&(0,o.jsx)("div",{className:tz().caption,children:"".concat(n)}),(0,o.jsx)("div",{className:tz().legendWrapper,children:(0,o.jsx)(t$.Z,{className:tz().customLegendWrapper,hoveredDataPoint:i,tickerLegendData:r,handleTickerSelectionChange:u,handleTickerRemoval:m})})]})}function t8(){return(0,o.jsx)("div",{className:tC().noTickersViewContainer,children:(0,o.jsx)(e7.Z,{className:tC().noTickersNotification,text:"Add tickers to your watchlist to see your assets’ daily performance.",variant:"lineBreak",title:"",actionText:"Go to Watchlist",onActionClick:()=>{window.location.href="/markets/watchlist"}})})}function t2(e){let{loadingState:t,wrappedWatchlist:n,onRetry:r}=e;if(t===tP.Vu.LOADING)return(0,o.jsx)(tZ,{});if(t===tP.Vu.FAILED)return(0,o.jsx)(e6,{errorMessage:"There was an error loading watchlist wrapped data.",placeholder:(0,o.jsx)(tZ,{}),onRetryClick:r});if(t===tP.Vu.EMPTY)return(0,o.jsx)("div",{children:"No wrapped watchlist data available."});if(t===tP.Vu.COMPLETE){var a,i,s;let e=!!(null==n?void 0:null===(a=n.totalValue)||void 0===a?void 0:a.value)&&!!(null==n?void 0:null===(i=n.totalCost)||void 0===i?void 0:i.value);if(e&&(0,h.uH)("watchlistPresence","user_with_lots","watchlist","uiaction"),!((null!==(s=null==n?void 0:n.topMovers.length)&&void 0!==s?s:0)>0))return(0,o.jsx)(t8,{});if(n)return(0,o.jsxs)("div",{className:tC().mainContent,children:[(0,o.jsxs)("div",{className:tC().snapshotAndMoversSection,children:[(0,o.jsx)("div",{className:tC().snapshotWrapper,children:(0,o.jsx)(tJ,{todayGainLoss:n.todayGainLoss,totalGainLoss:n.totalGainLoss,totalValue:n.totalValue,totalCost:n.totalCost})}),(0,o.jsx)("div",{className:tC().verticalDivider,role:"separator"}),(0,o.jsx)("div",{className:tC().moversSection,children:(0,o.jsx)(tX,{movers:n.topMovers,currency:n.currency,hasLots:e})})]}),(0,o.jsx)("div",{className:tC().horizontalDivider,role:"separator"}),(0,o.jsx)("div",{className:tC().chartSection,children:(0,o.jsx)(t1,{chartData:n.chartData,chartCaption:e?"Performance weighted by your shares":""})})]})}return null}var t3=n(44014),t4=n(25022);let t7=n(48189).ff.getInstance();async function t6(e,t){return await t7.getWrappedWatchlist(e,Number(t))}var t9=n(92950),t5=n(51656);let ne=()=>(0,o.jsxs)("div",{className:tC().bundle,children:[(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Image,{className:tC().bundleImage}),(0,o.jsxs)("div",{className:tC().bundleTickers,children:[(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{})]}),(0,o.jsx)("div",{className:tC().bundleButton,children:(0,o.jsx)(er.V.Line,{})})]}),nt=(0,l.memo)(function(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:tC().bundleHeader,children:[(0,o.jsx)("div",{className:tC().subscriberOnly,children:(0,o.jsx)(er.V.Line,{})}),(0,o.jsx)("div",{className:tC().topLiner,children:(0,o.jsx)(er.V.Line,{})}),(0,o.jsx)("div",{className:tC().subLiner,children:(0,o.jsx)(er.V.Line,{})})]}),(0,o.jsxs)("div",{className:tC().bundlesContainer,children:[(0,o.jsx)(ne,{}),(0,o.jsx)(ne,{}),(0,o.jsx)(ne,{})]})]})}),nn=(0,l.memo)(function(){return(0,o.jsx)("section",{className:tC().placeholderContainer,children:(0,o.jsx)(er.V,{children:(0,o.jsx)("div",{children:Array.from(Array(20).keys()).map((e,t)=>(0,o.jsx)("div",{className:tC().placeholderRow,children:(0,o.jsx)(er.V.Line,{})},t))})})})}),nr=e=>{let{useGeneric:t=!0}=e,{session:n}=(0,p.useRegUIClient)(),r=(0,l.useMemo)(()=>!!(null==n?void 0:n.isLoggedIn),[null==n?void 0:n.isLoggedIn]);return t?(0,o.jsx)(nn,{}):r?(0,o.jsxs)("section",{className:tC().placeholderContainer,children:[(0,o.jsx)(tR,{}),(0,o.jsx)(tZ,{})]}):(0,o.jsx)("section",{className:(0,y.RD)([tC().placeholderContainer,tC().bundleContainer]),children:(0,o.jsx)(nt,{})})};function na(e){var t,n,r,a;let{onBgChange:i}=e,[s,c]=(0,l.useState)(tP.Vu.INITIAL),[d,u]=(0,l.useState)(tP.Vu.INITIAL),[m,_]=(0,l.useState)(),[g,f]=(0,l.useState)([]),[v,y]=(0,l.useState)(),j=(0,l.useRef)(!1),{session:k}=(0,p.useRegUIClient)(),b=null!==(r=null==k?void 0:null===(t=k.userInfo)||void 0===t?void 0:t.userId)&&void 0!==r?r:"",{selectedPortfolio:C,upsertPortfolio:w,updateSelectedPortfolio:N}=(0,t4.eP)(),{pagePreference:T,updatePagePreference:S}=(0,x.V)(),M=(0,l.useMemo)(()=>T[tl]||null,[T]),I=!!(null!==(a=null===(n=(0,et.useFeatureGate)("watchlist_paywall"))||void 0===n?void 0:n.value)&&void 0!==a&&a),D=(0,l.useCallback)(e=>{let t=e.value;y(e),S(tl,t),u(tP.Vu.LOADING),t6(b,Number(t)).then(e=>{_(e),u(tP.Vu.COMPLETE)}).catch(e=>{console.error("Failed to fetch wrapped watchlist",e),u(tP.Vu.FAILED),(0,L.H)(Error("Watchlist Wrapped Fetch Failed"),{errorMessage:JSON.stringify(e)})})},[b,t6]),R=(0,l.useCallback)(()=>{v&&(u(tP.Vu.LOADING),t6(b,Number(v.value)).then(e=>{_(e),u(tP.Vu.COMPLETE)}).catch(e=>{console.error("Failed to refresh wrapped watchlist",e),u(tP.Vu.FAILED),(0,L.H)(Error("Watchlist Wrapped Refresh Failed"),{errorMessage:JSON.stringify(e)})}))},[b,v,t6]),P=(0,l.useCallback)(e=>{if(!b){(0,L.H)(Error("Watchlist Wrapped BconnectId is null"));return}c(tP.Vu.LOADING),(0,t3.ue)({bconnectId:b}).then(t=>{let{portInfos:n,port:r}=t.data;N(r);let a=n.map(e=>({value:String(e.id),displayValue:e.name||"Unnamed Watchlist",isDefault:e.isDefault}));f(a);let i=null!=e?e:M,s=(i?a.find(e=>e.value===i):void 0)||a.find(e=>e.isDefault);s&&(y(s),D(s)),c(tP.Vu.COMPLETE)}).catch(e=>{console.error("Portfolio fetch error",e),c(404===e.status?tP.Vu.EMPTY:tP.Vu.FAILED),(0,L.H)(Error("Watchlist Wrapped Portfolio Fetch Error"),{errorMessage:JSON.stringify(e)})})},[b,D,N]);return((0,l.useEffect)(()=>{if((null==k?void 0:k.isRegUIClientLoaded)&&!(null==k?void 0:k.isLoggedIn))return;let e=window.sessionStorage.getItem("createBundleAfterLogin"),t=e?JSON.parse(e):null;(null==t?void 0:t.shouldCreate)?(c(tP.Vu.LOADING),(0,t5.$)(t.bundlePortfolio,b).then(e=>{w(e),c(tP.Vu.COMPLETE);let t=String(e.portInfo.id);S(tl,t),P(t)}).catch(e=>{c(tP.Vu.FAILED),console.error("[BUNDLE] Error Saving",e),(0,L.H)(Error("Watchlist Wrapped Bundle Save Error"),{errorMessage:JSON.stringify(e)})}),window.sessionStorage.removeItem("createBundleAfterLogin")):P()},[null==k?void 0:k.isLoggedIn,null==k?void 0:k.isRegUIClientLoaded]),(0,l.useEffect)(()=>{if(!(null==k?void 0:k.isRegUIClientLoaded))return;let e=!(null==k?void 0:k.isLoggedIn)||s===tP.Vu.EMPTY;null==i||i(e)},[null==k?void 0:k.isRegUIClientLoaded,null==k?void 0:k.isLoggedIn,s,i]),(0,l.useEffect)(()=>{s===tP.Vu.EMPTY&&C&&!j.current&&(j.current=!0,P())},[C,s,P]),(null==k?void 0:k.isRegUIClientLoaded)!==!0||d===tP.Vu.LOADING||s===tP.Vu.LOADING)?(0,o.jsx)(nr,{}):(null==k?void 0:k.isLoggedIn)&&(!I||(null==k?void 0:k.isBBGSubscriber))&&s!==tP.Vu.EMPTY?((0,h.uH)("watchlistPresence","user_with_watchlist","watchlist","uiaction"),(0,o.jsxs)("div",{className:tC().root,children:[(0,o.jsx)(tL,{loadingState:s,watchlistOptions:g,selectedWatchlistOption:v,onWatchlistChange:D,onRefresh:P}),s!==tP.Vu.FAILED&&(0,o.jsx)(t2,{loadingState:d,wrappedWatchlist:m,onRetry:R})]})):((0,h.uH)("watchlistPresence","user_without_watchlist","watchlist","uiaction"),(0,o.jsx)(t9.ZP,{variant:"wrapped"}))}var ni=n(71874);let ns=(0,l.memo)(function(e){let{children:t,placeholder:n,rootMargin:r="200px",onEnterDelay:a=250}=e,[i,s]=(0,l.useState)(!1),c=(0,l.useCallback)(()=>{setTimeout(()=>s(!0),a)},[a]);return(0,o.jsx)(ni.H,{onEnter:c,rootMargin:r,children:i?t:n})});function no(){let[e,t]=(0,l.useState)(!1),n=(0,y.RD)({[tj().bundlesBg]:e});return(0,o.jsx)(tk.j,{className:n,children:(0,o.jsx)(ns,{placeholder:(0,o.jsx)(nr,{}),onEnterDelay:0,children:(0,o.jsx)(na,{onBgChange:t})})})}var nl=n(31364),nc=n.n(nl),nd=n(96172);async function nu(e){let t=await fetch("/lineup-next/api/newsletter/".concat(e));if(!t.ok)throw Error("Error when fetching from api/newsletter: ".concat(await t.text()));return await t.json()}let nm=/^.*\.(gif)/,np=/-999x-999/,nh=/<([^<>])+(\/)?>/g,n_=/\s+/g;function ng(e,t){return t?Math.round(e/t):-1}function nf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:19,r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;return np.test(e)?e.replace(/^http:\/\//,"//").replace(/^\/\//,"https://").replace(/.webp/,".gif"):e.replace(/^http:\/\//,"//").replace(/^\/\//,"https://").replace(/(\/)(-*\d+x-*\d+)(.\w+)$/,"$1".concat(t,"x").concat(n,"$3").concat(r?" ".concat(a?"".concat(a,"x"):"".concat(t,"w")):""))}var nv=n(86281),nx=n.n(nv),ny=n(52644),nj=n.n(ny);function nk(){return(0,o.jsxs)("div",{className:nj().playIcon,"data-component":"play-icon",children:[(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",className:nj().rightTriangle,children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3635 8.99987L6.09082 13.3635L6.09082 4.63623L13.3635 8.99987Z",fill:"white"})}),(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:nj().circle,children:(0,o.jsx)("circle",{cx:"12",cy:"12",r:"11",fill:"black",fillOpacity:"0.3",stroke:"white",strokeWidth:"2"})})]})}let nb=eI.aA,nC=nb/2;function nw(e){var t;let{altFallback:n,aspectRatio:r,contentType:a,image:i,isLazy:s=!0,className:l,desktopMaxWidth:c=nb,mobileMaxWidth:d=nC,showCaption:u=!1}=e,{baseUrl:m="",alt:p,credit:h}=i||{},_={"--aspect-ratio":r&&Number(null==r?void 0:r.toFixed(2))},{mobile:g,desktop:f}=function(e){let{mobileMaxWidth:t,desktopMaxWidth:n,aspectRatio:r,baseUrl:a}=e;if(!nm.test(a))return{mobile:[1,2].map(e=>{let n=t*e,i=ng(n,r);return nf(a,n,i,!0,e)}).join(", "),desktop:[1,2].map(e=>{let t=n*e,i=ng(t,r);return nf(a,t,i,!0,e)}).join(", ")}}({baseUrl:m,desktopMaxWidth:c,mobileMaxWidth:d,aspectRatio:r})||{},v=ng(d,r),x=(t=h||"")?t.replace(/ /gi," "):"";return(0,o.jsxs)("figure",{"data-component":"lazy-image",className:l,children:[(0,o.jsxs)("picture",{className:nx().lazy,style:_,children:["relatedWithPlayIcon"===a&&(0,o.jsx)(nk,{}),(0,o.jsx)("source",{media:"screen and (max-width: 759px)",srcSet:null!=g?g:""}),(0,o.jsx)("source",{media:"screen and (min-width: 759px)",srcSet:null!=f?f:""}),(0,o.jsx)("img",{src:function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:19,a=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return null===(t=nf(e,n,r,a,i))||void 0===t?void 0:t.replace(/.webp/,".jpg")}(m,d,v),"data-component":"image",alt:p||n,loading:s?"lazy":"eager"})]}),u&&!!h&&(0,o.jsx)("figcaption",{className:nx().caption,"data-component":"lazy-image-caption",children:x.replace(nh," ").replace(n_," ").trim()})]})}var nN=n(68098),nT=n.n(nN);let nS=e=>{let t=String(e);return(t=(t=(t=(t=t.replace(/: Markets Wrap/,"")).replace(/\(Audio\)/i,"")).replace(/\(video\)/i,"")).replace(/\(podcasts?\)/i,"")).replace(/\s+/g," ")};function nM(e){let{url:t,children:n,forceLinking:r}=e;return t&&r?(0,o.jsx)("a",{href:t,children:n}):(0,o.jsx)("span",{children:n})}var nI=function(e){let{text:t,url:n,className:r,preamble:a,forceLinking:i,size:s=nd.T6.LARGE}=e;return(0,o.jsx)("div",{className:(0,y.RD)(nT().headline,{[nT().forceLinking]:!!i,[nT().extraLarge]:s===nd.T6.EXTRA_LARGE,[nT().large]:s===nd.T6.LARGE,[nT().small]:s===nd.T6.SMALL,[nT().fullZone]:s===nd.T6.FULL_ZONE,[nT().medium]:s===nd.T6.MEDIUM},r),"data-component":"headline","data-testid":"headline",children:(0,o.jsxs)(nM,{url:n,forceLinking:i,children:[a,nS(t)]})})},nD=n(29238),nR=n(2499),nP=n.n(nR);function nL(e){let{className:t,summary:n="",removeSummaryBottomMargin:r}=e;return(null==n?void 0:n.length)?(0,o.jsx)("section",{className:(0,y.RD)(nP().summary,{[nP().bottomMargin]:!r},t),"data-component":"summary",dangerouslySetInnerHTML:{__html:(0,nD.sanitize)(n)}}):null}let nA=()=>(0,o.jsxs)("section",{className:nc().newsletter,children:[(0,o.jsxs)("div",{className:nc().container,children:[(0,o.jsx)(er.V.Image,{className:nc().image}),(0,o.jsxs)("div",{className:nc().contentContainer,children:[(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{}),(0,o.jsx)(er.V.Line,{})]})]}),(0,o.jsx)("div",{className:nc().contentContainer,children:(0,o.jsx)(er.V.Line,{})})]});var nE=n(24847),nF=n(71717),nB=n(3631),nV=n(30202),nH=n(98029),nW=n(86971),nO=n.n(nW);let nU=/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/;async function nz(e){let t="".concat("https://login.bloomberg.com","/api/newsletters/subscription?").concat(new URLSearchParams({email:e}).toString()),n=await fetch(t,{method:"GET",credentials:"include",headers:{Accept:"*/*","Content-Type":"application/json"}});if(!n||!n.ok)throw Error("[newsletter][fetchNewsletterSubscriptions] Request to fetch newsletter subscriptions failed with status ".concat(n.status));try{let{isSubscriber:e,lists:t}=await n.json();return{isSubscriber:!!e,userNewsletterLists:t}}catch(e){throw Error("[newsletter] [fetchNewsletterSubscriptions] Parsing Json failed: ".concat(e))}}var nG=n(83524);let nZ=l.memo(e=>{let{isOpen:t}=e;return(0,o.jsx)(nG.x,{className:nO().toast,open:t,text:(0,o.jsxs)("p",{children:["You're signed up! Check your inbox for confirmation or"," ",(0,o.jsx)("a",{href:"/newsletters",target:"_blank",rel:"noopener",className:"underline",children:"browse all newsletters"}),"."]})})});nZ.displayName="SuccessToast";var nY=n(7438),nq=n(75197);let nK=l.memo(e=>{let{onClick:t,onSubscriberOnlyClick:n,isSignedUp:r,isSubscriberOnly:a,isUserSubscriber:i,isPending:s}=e;return a&&!i?(0,o.jsx)(nY.z,{disabled:s,className:nO().newsletterButton,colorMode:"dark",Icon:(0,o.jsx)(en.HE,{}),iconPosition:"left",onClick:n,version:"phoenix",children:"Subscribe"}):(0,o.jsx)(nq.I,{disabled:s,className:(0,y.RD)(nO().newsletterButton,{[nO().signedUp]:r}),withIcon:!0,onToggle:i?n:t,inactiveText:"Sign Up",activeText:"Signed Up",active:r})});nK.displayName="SuccessToast";let nJ="".concat("https://login.bloomberg.com","/api/newsletters/subscribe"),nX=["US","GB","FR","BR","CA"],nQ=e=>{var t,n;let{id:r,countryCode:a,isSubscriberOnly:i=!1,listId:s}=e,{session:c}=(0,p.useRegUIClient)(),d=(0,nV.NL)(),[u,m]=(0,l.useState)(""),[_,g]=(0,l.useState)(nX.includes(a)),[f,v]=(0,l.useState)(""),[x,j]=(0,l.useState)(!1),k=(null==c?void 0:null===(n=c.userInfo)||void 0===n?void 0:null===(t=n.user)||void 0===t?void 0:t.email)||"",b=null==c?void 0:c.isBBGSubscriber,{data:C}=(0,eL.a)({queryKey:["newsletterSubscriptions",k],queryFn:()=>nz(k),enabled:!!k,staleTime:eI.no});(0,l.useEffect)(()=>{var e;let t=!!s&&(null==C?void 0:null===(e=C.userNewsletterLists)||void 0===e?void 0:e.includes(s));t&&(0,h.uH)("Market_Data","user_signedup_for_markets_daily","uiaction","Market Data"),j(!!t)},[s,C]);let w=(0,nH.D)({mutationFn:e=>{let{email:t,optIn:n}=e;return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new URL(e);return r.search=new URLSearchParams(t).toString(),fetch(r,{method:"post",body:JSON.stringify(n),headers:{"Content-Type":"application/json"},credentials:"include"}).then(e=>e.text())}(nJ,{sourcePage:"HUB Page"},{email:t,listId:s,optIn:n})},onSuccess:()=>{var e;j(!0),null===(e=window.dataLayer)||void 0===e||e.push({event:"newsletter_signup",newsletterSignupIds:s}),d.invalidateQueries({queryKey:["newsletterSubscriptions",k]})}}),N=(0,l.useCallback)(()=>{(0,h.uH)("Market_Data","markets_daily_signup","click","Market Data"),v("");let e=k||u;if((0,L.f)("marketsNewsLetterSubscriberClick"),!function(e){let t=0===e.trim().length;return e?[nU.test(e),t]:[!1,t]}(e)[0]){v("Invalid email address, please try again");return}w.mutate({email:e,optIn:_?"true":"false"})},[k,u,_,w]),T=(0,l.useCallback)(()=>{if((0,h.uH)("Market_Data","markets_daily_signup","click","Market Data"),(0,L.f)("marketsNewsLetterSubscriberOnlyClick"),!k||!b){window.open("https://www.bloomberg.com/subscriptions","_blank","noopener,noreferrer");return}N()},[k,b,N]);if(!s)return(0,L.H)(Error("No listId provided for NewsletterForm with id ".concat(r,"."))),null;let S=!x&&!k;return(0,o.jsxs)(o.Fragment,{children:[w.isError&&(0,o.jsx)(nE.Z,{title:"Sorry, something went wrong. Please try again.",text:"Please try again.",variant:"error"}),S&&!i&&(0,o.jsx)(nF.U,{id:"form-for-".concat(r),type:"email",placeholder:"Enter your email",className:(0,y.RD)(nO().email,{[nO().error]:!!f}),onChange:e=>m(e.target.value),helperText:f,error:!!f,size:"small"}),S&&(0,o.jsx)(nB.Kw,{checkboxProps:{id:"privacy-checkbox-".concat(r)},includeTextInHitArea:!0,checked:_,onChange:()=>g(e=>!e),className:nO().checkbox,countryCode:a}),(0,o.jsx)(nK,{onClick:N,onSubscriberOnlyClick:T,isSignedUp:x,isSubscriberOnly:i,isUserSubscriber:b,isPending:w.isPending}),S&&(0,o.jsx)(nB.ue,{countryCode:a,className:nO().disclaimer}),(0,o.jsx)(nZ,{isOpen:w.isSuccess})]})};(r=i||(i={})).Default="card.default",r.Mobile="card.mobile",r.Standalone="card.standalone";let n$=e=>{var t,n;let r=null==e?void 0:null===(t=e.images)||void 0===t?void 0:t.find(e=>{var t;return null==e?void 0:null===(t=e.placement)||void 0===t?void 0:t.includes("card.mobile")}),a=null==e?void 0:null===(n=e.images)||void 0===n?void 0:n.find(e=>{var t;return null==e?void 0:null===(t=e.placement)||void 0===t?void 0:t.includes("card.default")});return r||a};function n0(e){var t;let{id:n,countryCode:r,embedUrl:a=""}=e,{status:i,data:s,refetch:l}=(0,eL.a)({queryKey:["newsletter",a],queryFn:()=>nu(a),enabled:a.length>1});if("pending"===i)return(0,o.jsx)(nA,{});if("error"===i)return(0,o.jsx)("div",{className:nc().newsletter,children:(0,o.jsx)(e6,{errorMessage:"There was an error retrieving newsletter data.",placeholder:(0,o.jsx)(nA,{}),onRetryClick:()=>l({throwOnError:!0})})});let c=n$(s),d=null!==(t=e.title)&&void 0!==t?t:s.title,u=null==s?void 0:s.description,m=null==s?void 0:s.signUpList,p=null==s?void 0:s.sampleUrl,h=(null==s?void 0:s.subscriptionType)==="subscriberOnly";return(0,o.jsxs)("section",{className:nc().newsletter,children:[(0,o.jsxs)("div",{className:nc().container,children:[(0,o.jsx)(nw,{image:c,desktopMaxWidth:141,mobileMaxWidth:96,className:nc().image,aspectRatio:1}),(0,o.jsxs)("div",{className:nc().contentContainer,children:[h&&(0,o.jsx)("p",{className:nc().subscriberOnlyLabel,children:"Subscriber Only"}),d?(0,o.jsx)(nI,{text:d,size:nd.T6.SMALL}):null,(0,o.jsx)(nL,{summary:u,removeSummaryBottomMargin:!0}),p?(0,o.jsx)("a",{target:"_blank",href:null==s?void 0:s.sampleUrl,className:nc().previewButton,children:"Preview"}):null]})]}),(0,o.jsx)(nQ,{countryCode:r,isSubscriberOnly:h,listId:m,id:n})]})}var n1=n(1013),n8=n.n(n1),n2=n(90512),n3=n(31955),n4=n(73935),n7=n(119);let n6="show_topic_picker",n9="Choose up to 12 markets topics to track the latest news.";(a=s||(s={})).topic="Topic",a.country="Country",a.region="Region",a.classification="Classification",a.location="Location";let n5={"private-credit":{name:"Private Credit",tagType:"Topic"},"global-trade":{name:"Trade",tagType:"Topic"},"investment-banking":{name:"Investment Banks",tagType:"Topic"},mergers:{name:"Deals",tagType:"Topic"},inflation:{name:"Inflation",tagType:"Topic"},"artificial-intelligence":{name:"AI",tagType:"Topic"},cryptocurrency:{name:"Crypto",tagType:"Topic"},"monetary-policy":{name:"Monetary Policy",tagType:"Topic"},currency:{name:"Currencies",tagType:"Topic"},"hedge-funds":{name:"Hedge Funds",tagType:"Topic"},"private-equity":{name:"Private Equity",tagType:"Topic"},startups:{name:"Startups",tagType:"Topic"},technology:{name:"Tech",tagType:"Classification"},taxes:{name:"Taxes",tagType:"Topic"},CA:{name:"Canada",tagType:"Country"},"latin-america":{name:"Latin America",tagType:"Location"},Asia:{name:"Asia",tagType:"Region"},Europe:{name:"Europe",tagType:"Region"},GB:{name:"UK",tagType:"Country"},Middleeast:{name:"Middle East",tagType:"Region"},Africa:{name:"Africa",tagType:"Region"},IN:{name:"India",tagType:"Country"},CN:{name:"China",tagType:"Country"},"energy-industry":{name:"Energy",tagType:"Topic"},"property-market":{name:"Property",tagType:"Topic"},automotive:{name:"Automotive",tagType:"Topic"},"aerospace-industry":{name:"Aerospace",tagType:"Topic"},entertainment:{name:"Entertainment",tagType:"Topic"},pharmaceutical:{name:"Pharmaceuticals",tagType:"Topic"}};n5.cryptocurrency,n5.entertainment,n5.retail;let re=[{title:"Recommended",items:{"private-credit":{label:n5["private-credit"].name},"hedge-funds":{label:n5["hedge-funds"].name},mergers:{label:n5.mergers.name},"investment-banking":{label:n5["investment-banking"].name},"private-equity":{label:n5["private-equity"].name},inflation:{label:n5.inflation.name},"global-trade":{label:n5["global-trade"].name},"artificial-intelligence":{label:n5["artificial-intelligence"].name},cryptocurrency:{label:n5.cryptocurrency.name},startups:{label:n5.startups.name},taxes:{label:n5.taxes.name},"monetary-policy":{label:n5["monetary-policy"].name},currency:{label:n5.currency.name}}},{title:"Regions",items:{CN:{label:n5.CN.name},CA:{label:n5.CA.name},"latin-america":{label:n5["latin-america"].name},Europe:{label:n5.Europe.name},GB:{label:n5.GB.name},Asia:{label:n5.Asia.name},Africa:{label:n5.Africa.name},Middleeast:{label:n5.Middleeast.name},IN:{label:n5.IN.name}}},{title:"Sectors",items:{automotive:{label:n5.automotive.name},"energy-industry":{label:n5["energy-industry"].name},pharmaceutical:{label:n5.pharmaceutical.name},"property-market":{label:n5["property-market"].name},entertainment:{label:n5.entertainment.name},"aerospace-industry":{label:n5["aerospace-industry"].name}}}];var rt=n(74386),rn=n.n(rt);let rr=e=>{let{onClick:t}=e;return(0,o.jsx)(nY.z,{appearance:"outline",size:"small",iconPosition:"right",colorMode:"light",className:rn().hideButton,onClick:t,version:"phoenix",children:(0,o.jsx)(en.KW,{})})},ra=l.forwardRef((e,t)=>{let{onClick:n}=e;return(0,o.jsx)(nY.z,{appearance:"outline",size:"small",iconPosition:"right",colorMode:"dark",onClick:n,ref:t,children:(0,o.jsx)(en.KW,{})})});ra.displayName="ShowButton";var ri=n(30686),rs=n(90354);let ro=(e,t)=>{var n,r;return null===(r=window)||void 0===r?void 0:null===(n=r.dataLayer)||void 0===n?void 0:n.push({event:"lineup_module_click",eventCategory:"topic_module",eventAction:e,eventLabel:t})},rl=(e,t,n)=>{var r,a;return null===(a=window)||void 0===a?void 0:null===(r=a.dataLayer)||void 0===r?void 0:r.push({event:"lineup_module_click",eventCategory:"hp_modules_click",eventAction:e,eventLabel:t,storyIndex:n})};var rc=n(96341),rd=n.n(rc),ru=n(76751),rm=n.n(ru);let rp=e=>{let{headlines:t}=e,{markup:n,web:r}=t;return(null==n?void 0:n.web)?n.web:r},rh=e=>{let{headlines:t}=e,n=rp({headlines:t});return rm()(n.replace(/<[^>]*>?/g,""))},r_=["opinion","view","gadfly","bview"],rg=(e,t)=>!!(t&&r_.includes(t)||e&&r_.includes(e)),rf=e=>{var t,n;let{story:r,index:a,topicName:i}=e,{primarySite:s,franchise:l}=r,c=rg(s,l),d={alt:null===(t=r.image)||void 0===t?void 0:t.description,baseUrl:null===(n=r.image)||void 0===n?void 0:n.baseUrl},u=rh({headlines:r.headlines});return(0,o.jsx)("article",{className:rd().listItem,children:(0,o.jsxs)("a",{href:r.url,title:u,className:(0,y.Sh)([rd().listItemContainer,rd().right]),onClick:()=>{rl("topicModule","[".concat(i,"] ").concat(u),a)},children:[(0,o.jsxs)("div",{className:(0,y.Sh)([rd().mainColumn,c?rd().eyeBrowItem:rd().noEyeBrowItem]),children:[c&&(0,o.jsx)("div",{className:rd().opinionEyebrow,children:"Opinion"}),(0,o.jsx)(ri.xv,{color:"gray-1000",fontSize:16,fontWeight:"medium",lineHeight:120,children:u})]}),(0,o.jsx)("div",{className:rd().rightColumn,children:r.image&&(0,o.jsx)(nw,{image:d,aspectRatio:1.5,desktopMaxWidth:150,mobileMaxWidth:150,isLazy:!1,className:rd().topicItemImage})})]})})},rv=l.forwardRef((e,t)=>{let{onClick:n}=e;return(0,o.jsx)("button",{className:rd().followContainer,onClick:n,ref:t,children:(0,o.jsx)("p",{className:rd().text,children:"Follow"})})});rv.displayName="FollowButton";let rx=e=>{let{stories:t,topic:n,numberOfRows:r,rootRef:a,isSignedIn:i,followTopicCallback:s}=e,{client:c}=(0,p.useRegUIClient)(),d=(0,l.useRef)(null),[u,m]=(0,l.useState)(!1),[h,_]=(0,l.useState)("bottom-start"),g=(0,l.useCallback)(()=>{if(!i){if(ro("open","subscribe_tout"),m(!0),!d.current||!(null==a?void 0:a.current))return;let e=d.current.getBoundingClientRect(),t=null==a?void 0:a.current.getBoundingClientRect();_(e.right>t.right-250?"bottom-end":"bottom-start");return}ro("follow","".concat(n.id,"_storypanel")),s(n.id,!0)},[s,n.id,i]),f=(0,l.useCallback)(()=>{ro("close","subscribe_tout"),m(!1)},[]);return(0,o.jsxs)("div",{className:rd().singleTopicStories,children:[(0,o.jsxs)("div",{className:rd().singleTopicPanelHeader,children:[(0,o.jsx)("div",{className:rd().singleTopicName,children:n5[n.id].name}),!n.isFollowedByUser&&(0,o.jsx)(rv,{onClick:g,ref:d})]}),(0,o.jsx)("div",{className:rd().stories,children:(0,o.jsx)(ri.aV,{children:null==t?void 0:t.filter(Boolean).slice(0,r).map((e,t)=>(0,o.jsx)(ri.aV.Item,{children:(0,o.jsx)(rf,{story:e,index:t,topicName:n.name})},e.id||t))})}),u&&c&&(0,o.jsx)(rs.Y,{anchorElementRef:d,client:c,inSource:"homepage-topic-module",onExit:f,placement:h,children:"Sign in to follow topics and surface the content most relevant to you"})]})},ry=e=>{let{numRows:t,itemIdx:n}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(ri.kC,{gap:16,children:[(0,o.jsx)(ri.xv,{asChild:!0,fontSize:16,lineHeight:120,children:(0,o.jsx)(ri.Od,{className:rd().topicsStoriesTextSkeleton,variant:"line",numRows:3,rowGap:6})}),(0,o.jsx)(ri.Od,{variant:"box",width:100,aspectRatio:"3 / 2"})]}),n{let{numberOfRows:t,length:n}=e;return(0,o.jsx)(ri.kC,{gap:16,children:Array.from({length:n}).map((e,n)=>(0,o.jsx)(ri.kC,{direction:"column",asChild:!0,gap:4,children:(0,o.jsxs)(ri.Zb,{className:rd().topicsStoriesCard,children:[(0,o.jsx)(ri.xv,{asChild:!0,fontSize:18,children:(0,o.jsx)(ri.Od,{variant:"line"})}),Array.from({length:t}).map((e,n)=>(0,o.jsx)(ry,{itemIdx:n,numRows:t},n))]})},n))})});rj.displayName="SingleTopicStoriesLoading";var rk=n(60006),rb=n(67397),rC=n.n(rb);let rw=()=>{},rN=(e,t)=>(0,h.uH)("lineup_module_click",t,e,"topic_module");var rT=e=>{let{description:t,label:n,selected:r,itemGroups:a,onClose:i=rw,onSelect:s=rw,onUnselect:c=rw,isSignedIn:d}=e,u=(0,l.useRef)(null),[m,h]=(0,l.useState)(!1),{client:_}=(0,p.useRegUIClient)(),g=(0,l.useMemo)(()=>Object.keys(r).length,[r]),f=(0,l.useCallback)(()=>{i()},[i]),v=(0,l.useCallback)((e,t)=>{if(!d){h(!0),rN("open","subscribe_tout");return}t?c(e):s(e)},[d,s,c]),x=(0,l.useCallback)(()=>{rN("close","subscribe_tout"),h(!1)},[h]);return(0,o.jsxs)("div",{className:rC().tagPicker,ref:u,children:[(0,o.jsxs)("div",{className:rC().headerContainer,children:[(0,o.jsxs)("div",{className:rC().labelContainer,children:[(0,o.jsx)(en.KW,{className:rC().icon}),(0,o.jsx)("span",{className:rC().label,children:n})]}),(0,o.jsx)(rk.h,{className:rC().exit,onClick:f,Icon:(0,o.jsx)(en.n$,{}),version:"phoenix"})]}),(0,o.jsx)("p",{className:rC().description,children:t}),(0,o.jsx)("div",{className:rC().divider}),a.map((e,t)=>{let{title:n,items:i}=e;return(0,o.jsxs)("div",{className:rC().groupContainer,children:[(0,o.jsx)("p",{className:rC().groupTitle,children:n}),(0,o.jsx)("div",{className:rC().tagContainer,children:Object.entries(i).map(e=>{var t;let[n,{label:a}]=e,i=null!==(t=r[n])&&void 0!==t&&t;return(0,o.jsx)("div",{className:i?void 0:rC().unselectedTag,children:(0,o.jsx)(n7.Sp.w,{onClick:()=>v(n,i),text:a,isSelected:i,isDisabled:!i&&g>=12})},n)})}),t{let{type:t,props:n}=e;switch(t){case rS.LoadingTopicCard:return(0,o.jsx)(rj,{numberOfRows:5,length:1});case rS.TopicCard:return(0,o.jsx)(rx,{rootRef:n.rootRef,topic:n.topic,stories:n.stories,followTopicCallback:n.followTopicCallback,numberOfRows:5,isSignedIn:n.isSignedIn})}return null};var rI=n(10097),rD=n(28876);let rR=e=>{var t,n;return("object"==typeof(null==e?void 0:e.args)&&"string"==typeof(null==e?void 0:null===(t=e.args)||void 0===t?void 0:t.exclude)?null==e?void 0:null===(n=e.args)||void 0===n?void 0:n.exclude:"").split(";").map(e=>e.split("|")[1]).filter(Boolean).join(",")},rP=e=>({id:e,name:"",isFollowedByUser:!0}),rL=(e,t)=>e.map(e=>e.id===t.id?t:e),rA=(e,t)=>[t,...e.filter(e=>e.id!==t.id)].splice(0,12),rE=e=>e.reduce((e,t)=>({...e,[t.id]:!0}),{}),rF=e=>e.filter(e=>e.isFollowedByUser),rB=e=>rE(rF(e)),rV=e=>e.map(e=>{let{name:t,assetID:n}=e;return{id:n,name:t,isFollowedByUser:!1}}),rH=e=>e.filter(e=>n5[e.id]),rW=e=>rH(e.map(e=>{let{resource:t}=e;return{name:t.name,id:t.id,isFollowedByUser:!0}})),rO=e=>{let{limit:t}=e;return rD.Z.getRecommendedTPR({resourceTypes:"topic",limit:t})},rU=()=>rD.Z.getUserTopics(),rz=async e=>e?Array.from([...rH(rV(await rO({limit:50}))),...Object.keys(n5).map(e=>({id:e,name:n5[e].name,isFollowedByUser:!1}))].reduce((e,t)=>e.has(t.id)?e:e.set(t.id,t),new Map).values()).slice(0,e):[],rG=e=>{let{refrenceList:t,listToDedupe:n,key:r="id"}=e,a=new Set(t.map(e=>e[r]));return n.filter(e=>!a.has(e[r]))},rZ=async e=>{let{bconnectId:t}=e,n=[];if(t)try{n=await rU().then(rW)}catch(n){let e=Error("[getTopics] - failed to fetch user topics: ".concat(n));(0,L.H)(e,{bconnectId:t}),rI.Z.error(e)}let r=[];try{r=await rz(Math.max(0,8-n.length))}catch(t){let e=Error("[getTopics] - failed to fetch backfilled topics: ".concat(t));(0,L.H)(e),rI.Z.error(e)}let a=rG({refrenceList:n,listToDedupe:r,key:"id"});return n.concat(a).slice(0,20)};var rY=n(21589),rq=n.n(rY),rK=n(76268);async function rJ(e,t){let n=await fetch("/lineup-next/api/topicsStories?".concat((0,rK.stringifyParams)(e)),{signal:t});if(!n.ok)throw Error("Error when fetching from api/topicStories: ".concat(e));return await n.json()}let rX=e=>{let{bconnectId:t,storyIdsToExclude:n,storyLimit:r=5}=e,[a,i]=(0,l.useState)(!0),[s,o]=(0,l.useState)(),[c,d]=(0,l.useState)(),[u,m]=(0,l.useState)([]),[p,h]=(0,l.useState)({});(0,l.useEffect)(()=>{rZ({bconnectId:t}).then(e=>m(e)).catch(e=>o(e))},[t]);let _=(0,l.useMemo)(()=>u.map(e=>e.id),[u]);return(0,l.useEffect)(()=>{if(!u.length)return;let e=new AbortController;return(async()=>{try{let t=await rJ({topicIds:_,storyLimit:r,storyIdsToExclude:n,dedupeEnabled:!0},e.signal);i(!1),h(t)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name){console.log("Fetch aborted - safe to ignore");return}d(e)}})(),()=>{e.abort()}},[n,_]),{topicsError:s,topicsStoriesError:c,isLoading:a,setTopics:m,topics:u,topicsStories:p}},rQ=()=>{var e,t,n;let r=null!==(n=null===(t=(0,p.useRegUIClient)().session)||void 0===t?void 0:null===(e=t.userInfo)||void 0===e?void 0:e.userId)&&void 0!==n?n:"",a=!!r,i=(0,l.useRef)(null),[s,c]=(0,l.useState)(!0),d=n7.lr.useCarouselPaginationControls(),{setControlledPageIndex:u}=d;(0,l.useEffect)(()=>{let e=n3.Z.get(n6);e&&c("true"===e)},[]);let{topicsError:m,topicsStoriesError:h,isLoading:_,setTopics:g,topics:f,topicsStories:v}=rX({bconnectId:r,storyIdsToExclude:""}),x=(0,l.useCallback)(async(e,t)=>{if((0,L.f)("followTopic",{topicId:e}),r){(0,n4.flushSync)(()=>{g(n=>t?rL(n,rP(e)):rA(n,rP(e)))});try{await rD.Z.followTopic({topicId:e})&&ro("follow","".concat(e,"_topicpanel"))}catch(t){console.warn(t),ro("unsuccessful follow","".concat(e,"_topicpanel")),(0,L.H)(Error("[followTopic] - error following topic"),{bconnectId:r,topicId:e}),(0,n4.flushSync)(()=>g(t=>t.map(t=>t.id===e?{...t,isFollowedByUser:!1}:t)))}}},[r,g]),y=(0,l.useCallback)(async e=>{if((0,L.f)("unFollowTopic",{topicId:e}),r){(0,n4.flushSync)(()=>g(t=>t.filter(t=>t.id!==e)));try{await rD.Z.deleteTopic({topicId:e})&&ro("unfollow","".concat(e,"_topicpanel"))}catch(t){console.warn(t),ro("unsuccessful unfollow","".concat(e,"_topicpanel")),(0,n4.flushSync)(()=>g(t=>rA(t,rP(e))))}}},[r,g]),j=(0,l.useCallback)(()=>{ro("toggle_topic_picker","picker_open"),n3.Z.set(n6,"true",{expires:365}),c(!0)},[c]),k=(0,l.useCallback)(()=>{ro("toggle_topic_picker","picker_close"),n3.Z.set(n6,"false",{expires:365}),u(0),c(!1)},[c]),b=(0,l.useMemo)(()=>f.map(e=>v[e.id]?{type:rS.TopicCard,props:{topic:e,stories:v[e.id],rootRef:i,followTopicCallback:x,isSignedIn:a}}:{type:rS.LoadingTopicCard,props:{}}),[f,v,x,a]),C=(0,l.useMemo)(()=>b,[b]);return(m&&console.warn("[UserTopicsStoriesDesktop] An error occurred fetching topics: ".concat(m)),h&&console.warn("[UserTopicsStoriesDesktop] An error occurred fetching topicsStories: ".concat(h)),_)?(0,o.jsx)("div",{className:rq().loadingContainer,children:(0,o.jsx)(rj,{numberOfRows:5,length:3})}):v&&f?(0,o.jsxs)("div",{className:rq().userTopicsStoriesDesktop,ref:i,style:{"--carousel-card-width":"".concat(312,"px")},children:[(0,o.jsxs)("div",{className:rq().header,children:[(0,o.jsx)("h3",{className:rq().title,children:"Market News"}),s?(0,o.jsx)(rr,{onClick:k}):(0,o.jsx)(ra,{onClick:j})]}),(0,o.jsxs)("div",{className:rq().flexContainer,children:[(0,o.jsx)("div",{className:(0,n2.W)(rq().tagPickerContainer,!s&&rq().pickerClosedPicker),children:(0,o.jsx)(rT,{onUnselect:y,onSelect:x,selected:rB(f),label:"Follow Topics",description:n9,itemGroups:re,isSignedIn:a})}),(0,o.jsx)("div",{className:(0,n2.W)(rq().carouselContainer,!s&&rq().pickerClosedCarousel),children:(0,o.jsx)(n7.lr.WithTracking,{IterableComponent:rM,componentPropsList:C,tileProperties:{gap:12,width:300},trackingId:"[lineup]topic_module",paginationProperties:{fullWidth:!0},...d})})]})]}):null};var r$=n(72202),r0=n.n(r$),r1=n(27606),r8=n(62139),r2=n(70264),r3=n.n(r2);let r4=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[t,n]=(0,l.useState)(e);return(0,l.useMemo)(()=>({showDrawerTopicsPanel:t,setShowDrawerTopicsPanel:n}),[t,n])},r7=e=>{let{drawerTogglePickerHook:t,topics:n,followTopicCallback:r,unfollowTopicCallback:a,onClose:i,isSignedIn:s}=e,[c,d]=(0,l.useState)(!1),u=(0,l.useCallback)(()=>{t.setShowDrawerTopicsPanel(!1),i()},[t]),m=(0,l.useCallback)(e=>{d(!0),r(e.toString())},[r]),p=(0,l.useCallback)(e=>{d(!0),a(e.toString())},[d,a]);(0,l.useEffect)(()=>{t.showDrawerTopicsPanel||d(!1)},[t]);let h=function(e){let t=(0,l.useRef)(null),n=(0,l.useRef)(e);return(0,l.useLayoutEffect)(()=>{n.current=e},[e]),(0,l.useEffect)(()=>{let e=e=>{if(!t.current||!e.target)return;let r=t.current;r&&!r.contains(e.target)&&n.current(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[]),t}(u);return(0,o.jsxs)(r1.d,{open:t.showDrawerTopicsPanel,children:[(0,o.jsx)("div",{className:(0,y.RD)([r3().togglePickerDrawerContainer,{[r3().togglePickerDrawerContainerMaxHeight]:!c}]),ref:h,children:(0,o.jsx)(rT,{onClose:u,onUnselect:p,onSelect:m,selected:rB(n),label:"Follow Topics",description:n9,itemGroups:re,isSignedIn:s})}),c?(0,o.jsx)("div",{className:r3().togglePickerFooter,children:(0,o.jsx)(r8.U,{className:r3().doneButton,colorMode:"dark",size:"default",onClick:u,children:"Done"})}):null]})},r6=e=>{var t,n,r;let{autofillData:a}=e,{client:i}=(0,p.useRegUIClient)(),s=null!==(r=null===(n=(0,p.useRegUIClient)().session)||void 0===n?void 0:null===(t=n.userInfo)||void 0===t?void 0:t.userId)&&void 0!==r?r:"",c=!!s,d=(0,l.useRef)(null),[u,m]=(0,l.useState)(!1),h=r4(),{setShowDrawerTopicsPanel:_,showDrawerTopicsPanel:g}=h;(0,l.useEffect)(()=>{document.body.style.overflowY=g?"hidden":"auto"},[g]);let{topicsError:f,topicsStoriesError:v,isLoading:x,setTopics:y,topics:j,topicsStories:k}=rX({bconnectId:s,storyIdsToExclude:a?rR(a):""}),b=(0,l.useCallback)(async(e,t)=>{if((0,L.f)("followTopic",{topicId:e}),s){(0,n4.flushSync)(()=>{y(n=>t?rL(n,rP(e)):rA(n,rP(e)))});try{await rD.Z.followTopic({topicId:e})&&ro("follow","".concat(e,"_topicpanel"))}catch(t){console.warn(t),ro("unsuccessful follow","".concat(e,"_topicpanel")),(0,L.H)(Error("[followTopic] - error following topic"),{bconnectId:s,topicId:e}),(0,n4.flushSync)(()=>y(t=>t.map(t=>t.id===e?{...t,isFollowedByUser:!1}:t)))}}},[s,y]),C=(0,l.useCallback)(async e=>{if((0,L.f)("unFollowTopic",{topicId:e}),s){(0,n4.flushSync)(()=>y(t=>t.filter(t=>t.id!==e)));try{await rD.Z.deleteTopic({topicId:e})&&ro("unfollow","".concat(e,"_topicpanel"))}catch(t){console.warn(t),ro("unsuccessful unfollow","".concat(e,"_topicpanel")),(0,n4.flushSync)(()=>y(t=>rA(t,rP(e))))}}},[s,y]),w=(0,l.useCallback)(()=>{s?(ro("toggle_topic_picker","picker_open"),_(!0)):m(!0)},[_,s]),N=(0,l.useCallback)(()=>{ro("toggle_topic_picker","picker_close"),_(!1)},[_]),T=(0,l.useCallback)(()=>{ro("toggle_topic_picker","picker_close")},[]),S=(0,l.useCallback)(()=>{m(!1)},[m]),M=(0,l.useMemo)(()=>j.map(e=>k[e.id]?{type:rS.TopicCard,props:{topic:e,stories:k[e.id],followTopicCallback:b,isSignedIn:c}}:{type:rS.LoadingTopicCard,props:{}}),[j,k,b,c]);return(f&&console.error("[UserTopicsStoriesMobile] An error occurred fetching topics: ".concat(f)),v&&console.error("[UserTopicsStoriesMobile] An error occurred fetching topicsStories: ".concat(v)),x)?(0,o.jsx)("div",{className:r0().loadingContainer,children:(0,o.jsx)(rj,{numberOfRows:5,length:2})}):k&&j?(0,o.jsxs)("div",{className:r0().userTopicsStoriesMobile,children:[(0,o.jsxs)("div",{className:r0().header,children:[(0,o.jsx)("h3",{className:r0().title,children:"Market News"}),g?(0,o.jsx)(rr,{onClick:N}):(0,o.jsx)(ra,{onClick:w,ref:d}),u&&(0,o.jsx)(rs.Y,{anchorElementRef:d,client:i,inSource:"homepage-topic-module",onExit:S,children:"Sign in to follow topics and surface the content most relevant to you"})]}),(0,o.jsx)("div",{className:r0().mobileCarouselContainer,children:(0,o.jsx)(n7.lr.WithTracking,{IterableComponent:rM,componentPropsList:M,tileProperties:{gap:12,width:300},trackingId:"[lineup]topic_module",disableMouseDragScroll:!0})}),(0,o.jsx)(r7,{drawerTogglePickerHook:h,topics:j,unfollowTopicCallback:C,followTopicCallback:b,onClose:T,isSignedIn:c})]}):null};function r9(){let{breakpoints:{smallDesktop:e,largeDesktop:t}}=(0,l.useContext)(ez.sG);return(0,o.jsx)("div",{className:n8().UserModulesTopicStories,children:(0,o.jsx)("div",{className:n8().topicStoriesContainer,children:e||t?(0,o.jsx)(rQ,{}):(0,o.jsx)(r6,{})})})}var r5=n(72314),ae=n.n(r5);let at=new Set(["currencies","rates-bonds"]);function an(e){let{sectionTab:t,isFirstSection:n}=e,r=(0,l.useCallback)(()=>{(0,h.uH)(t.identifier.toLocaleLowerCase().replace(/\s/g,"_")),(0,L.f)("mktDataPageNavClick",{pageName:t.identifier})},[t.identifier]);return(0,o.jsx)("li",{className:(0,y.RD)(t.hrefPath&&ae().link,n||at.has(t.identifier)?ae().firstLink:null),children:(0,o.jsx)(w(),{href:t.hrefPath,onClick:r,children:(0,o.jsx)(A.oZ,{value:t.title})},t.identifier||t.hrefPath)},t.identifier)}function ar(e){let{sectionFrontName:t,sectionTitle:n,activeTab:r,headerTabs:a}=e;return(0,o.jsxs)("div",{className:ae().sectionFrontNav,children:[(0,o.jsx)("h1",{className:(0,y.RD)([g().articleHeadlineXxl,ae().sectionTitle]),children:(0,o.jsx)(A.oZ,{value:n})}),(0,o.jsx)("hr",{className:ae().separator}),(null==a?void 0:a.length)>0&&(0,o.jsx)("ul",{className:(0,y.RD)([ae().links,g().coreShortTextSm]),children:a.map((e,n)=>r!==e.identifier?(0,o.jsx)(an,{sectionTab:e,sectionFrontName:t,isFirstSection:0===n},e.identifier||e.hrefPath):null)}),(0,o.jsx)(X,{sectionFrontName:t,selectedTab:r,variant:"top"})]})}var aa=n(11465),ai=n(20703),as=n.n(ai),ao=n(36251),al=n(70962),ac=n.n(al),ad=n(94950),au=n.n(ad);let am=()=>(0,o.jsx)("div",{className:au().comparisonChartPlaceholder,children:(0,o.jsx)(er.V.Line,{})}),ap=e=>{let{rows:t=0}=e;return(0,o.jsx)("div",{className:au().legendsPlaceholder,children:Array.from({length:t}).map((e,t)=>(0,o.jsx)(er.V.Line,{},"legend-".concat(t)))})},ah="Asia/Tokyo",a_=new Intl.DateTimeFormat(es.go.Ja,{hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:ah}),ag=new Intl.DateTimeFormat(es.go.Ja,{month:"short",day:"2-digit",timeZone:ah}),af=new Intl.DateTimeFormat(es.go.Ja,{year:"numeric",month:"short",day:"2-digit",timeZone:ah});function av(e){let{isLoading:t=!1,isError:n=!1,refetchData:r,tickerChartData:a,selectedTab:i,tickersArr:s,tickerLegends:c,handleTickerRemoval:d,handleTickerSelectionChange:u}=e,[m,p]=(0,l.useState)(void 0),{locale:h}=(0,eo.b)(),_=(0,tf.r)(),{chartWidth:g,legendPlaceholderRows:f}=(0,l.useMemo)(()=>({chartWidth:_?353:618,legendPlaceholderRows:_?s.length:1}),[_,s]),v=1===a.length,x=(0,l.useMemo)(()=>"5Y"===i?"month":"1D"===i?"hour":"day",[i]),y=(0,l.useMemo)(()=>1===a.length?[{...a[0],color:"black"}]:a,[a]),j=(0,l.useCallback)(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(h===es.go.Ja&&n){let n;switch(t){case"hour":n=a_.format(new Date(e));break;case"month":n=af.format(new Date(e));break;default:n=ag.format(new Date(e))}return n}return(0,ao.CX)(e,t,n)},[h]);return t?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(am,{}),(0,o.jsx)(ap,{rows:f})]}):n?((0,L.H)(Error("CompareBenchmarks fetch error"),{selectedTimeFrame:i,tickers:s.join(",")}),(0,o.jsx)(e6,{errorMessage:"There was an error loading market data.",placeholder:(0,o.jsx)(am,{}),onRetryClick:r})):(0,o.jsxs)("div",{children:[(0,o.jsx)(tQ.U,{tickerSnapshots:y,renderMode:v?"price":"percentage",showGradient:v,pricePrecision:2,enableDragInteraction:!1,xAxisInterval:x,xAxisTickSize:4,yAxisTickSize:4,handleChartHoverInteraction:p,width:g,height:220,formatXAxisLabel:j}),(0,o.jsx)(t$.Z,{className:ac().tickerChartLegend,allowFirstTickerRemoval:!0,enableTickerRemoval:!0,hoveredDataPoint:m,tickerLegendData:c,handleTickerSelectionChange:u,handleTickerRemoval:d})]})}var ax=n(19381),ay=n.n(ax),aj=n(84034);function ak(e){let{disabled:t,onAddTicker:n}=e,{countryCode:r,searchClientURL:a}=(0,x.V)(),i=(0,O.Q)(),s={addComparison:i({id:"addAComparison",defaultMessage:"Add a comparison"}),deleteComparison:i({id:"deleteOneAddComparison",defaultMessage:"Delete one to add a new comparison"})};return(0,o.jsx)("div",{className:ay().searchDropdownContainer,children:(0,o.jsx)(aj.Z,{disabled:t,countryCode:r,searchURL:a,onChange:n,className:g().coreParagraphSm,placeholder:t?s.deleteComparison:s.addComparison})})}var ab=n(29007),aC=n.n(ab);let aw={"1M":"1m","6M":"6m",YTD:"ytd","1Y":"1y","5Y":"5y"};function aN(e){let{selected:t,onChange:n}=e,r=(0,O.Q)(),a=(0,l.useMemo)(()=>eI.V$.map(e=>{var t;let n=r({id:null!==(t=aw[e])&&void 0!==t?t:"",defaultMessage:e});return{type:e,text:n}}),[r]);return(0,o.jsx)(tn.mQ,{className:aC().tabs,size:"small",variant:"gliding",onTabSwitch:n,width:"calc(".concat(100,"% / ").concat(5,")"),children:a.map(e=>{let{type:n,text:r}=e;return(0,o.jsx)(tn.OK,{title:r,isActive:t===n,children:(0,o.jsx)(o.Fragment,{})},n)})})}var aT=n(92138);let aS=e=>e.map((e,t)=>{var n;let{id:r,series:a}=e;return{id:r,priceMovements:null!==(n=a.map(e=>{let{date:t,value:n}=e;return{dateTime:t,value:n}}))&&void 0!==n?n:[],color:(0,t0.Dv)(t)}}),aM=(e,t)=>{let n=e.sort().join(",");return(0,eL.a)({queryKey:["benchmark-comparisons",n,t],queryFn:()=>{var n;return null!==(n=(0,aT.D)(e,t))&&void 0!==n?n:[]},enabled:e.length>0,staleTime:eI.ap,refetchInterval:eI.ap,select:e=>aS(e)})},aI={0:"1M",1:"6M",2:"YTD",3:"1Y",4:"5Y"};function aD(e){let{defaultTickers:t=[]}=e,[n,r]=(0,aa._)("compareBenchmarkChartTabs","1M"),[a,i]=(0,l.useState)(t.reduce((e,t)=>({...e,[t]:!0}),{})),s=(0,l.useMemo)(()=>Object.keys(a),[a]),{data:c=[],status:d,refetch:u}=aM(s,n),{tickerChartData:m,tickerLegends:p}=(0,l.useMemo)(()=>({tickerChartData:c.filter(e=>a[e.id]),tickerLegends:c.map((e,t)=>({id:e.id,name:e.id,color:(0,t0.Dv)(t),checked:!!a[e.id]}))}),[c,a]),_=(0,l.useCallback)((e,t)=>{if(void 0===t)return;let n=aI[t];r(n),(0,L.f)("benchmarkComparisonTimeRangeChange",{timeRange:n})},[r]),f=(0,l.useCallback)((e,t)=>{if(!(null==e?void 0:e.value))return;let n=e.value;(0,h.uH)("quote_add_compare","add-compare-from-db","click","Compare to Benchmarks Module"),(0,h.uH)("quote_add_compared_security",n,"click","Compare to Benchmarks Module"),i(e=>({...e,[n]:!0})),t.setState({inputValue:"",selectedItem:{subText:"",value:"",optionId:""}}),(0,L.f)("benchmarkComparisonAddTicker",{ticker:n})},[i]),v=(0,l.useCallback)((e,t)=>{t?(0,h.uH)("quote_add_compare","add-compare","click","Compare to Benchmarks Module"):(0,h.uH)("quote_remove_compare","remove-compare","click","Compare to Benchmarks Module"),i(n=>({...n,[e]:t}))},[i]),x=(0,l.useCallback)(e=>{(0,h.uH)("quote_remove_compare","remove-compare-from-db","click","Compare to Benchmarks Module"),i(t=>{let{[e]:n,...r}=t;return r}),(0,L.f)("benchmarkComparisonRemoveTicker",{ticker:e})},[i]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:(0,y.RD)([as().sectionTitle,g().coreHeadlineSm]),children:(0,o.jsx)(O.jU,{id:"compareToBenchmarks",defaultMessage:"Compare to Benchmarks"})}),(0,o.jsxs)("div",{className:as().chartContainer,children:[(0,o.jsxs)("div",{className:as().chartControls,children:[(0,o.jsx)(ak,{disabled:s.length>=5,onAddTicker:f}),(0,o.jsx)(aN,{selected:n,onChange:_})]}),(0,o.jsx)(av,{tickerChartData:m,selectedTab:n,isLoading:"pending"===d,isError:"error"===d,refetchData:u,tickerLegends:p,tickersArr:s,handleTickerSelectionChange:v,handleTickerRemoval:x})]})]})}var aR=n(16147),aP=n.n(aR);let aL={stocks:"Stocks",currencies:"Currencies","fx-fixings":"Currencies","cross-rates":"Currencies","rates-bonds":"Bonds","consumer-interest-rates":"Bonds",commodities:"Commodities",energy:"Commodities",regions:"Stocks"},aA=/
  • (.*?)<\/li>/g,aE=async e=>{let t=await fetch("/bazaar/api/markets-wrap/markets-wrap-news");if(!t.ok)return console.error("Failed to fetch Markets Wrap news:",t.status),null;let n=await t.json(),r=function(e,t){let n;let r=function(e){let t=aL[e];return t?new RegExp("

    ".concat(t,"<\\/h3>\\s*