diff options
-rw-r--r-- | assets/browser-M0K_9b-A.js (renamed from assets/browser-CZGeQ-QM.js) | 2 | ||||
-rw-r--r-- | assets/index-BEXFdVkm.css | 1 | ||||
-rw-r--r-- | assets/index-BO_Uq_O3.js | 85 | ||||
-rw-r--r-- | assets/index-RT7aBB16.css | 1 | ||||
-rw-r--r-- | assets/index-lfXooNgj.js | 84 | ||||
-rw-r--r-- | index.html | 4 |
6 files changed, 89 insertions, 88 deletions
diff --git a/assets/browser-CZGeQ-QM.js b/assets/browser-M0K_9b-A.js index a50f942..a37d218 100644 --- a/assets/browser-CZGeQ-QM.js +++ b/assets/browser-M0K_9b-A.js @@ -1 +1 @@ -import{g as a}from"./index-lfXooNgj.js";function f(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var c=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")};const i=a(c),u=f({__proto__:null,default:i},[c]);export{u as b}; +import{g as a}from"./index-BO_Uq_O3.js";function f(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var c=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")};const i=a(c),u=f({__proto__:null,default:i},[c]);export{u as b}; diff --git a/assets/index-BEXFdVkm.css b/assets/index-BEXFdVkm.css new file mode 100644 index 0000000..4517cb1 --- /dev/null +++ b/assets/index-BEXFdVkm.css @@ -0,0 +1 @@ +.Dniwja_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.Dniwja_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.Dniwja_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.Dniwja_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.Dniwja_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.Dniwja_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.Dniwja_i18nFontFamily:lang(zh-SG),.Dniwja_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.Dniwja_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.Dniwja_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.Dniwja_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.Dniwja_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.Dniwja_spectrum-FocusRing.Dniwja_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.Dniwja_spectrum-FocusRing--quiet:after{border-radius:0}.Dniwja_spectrum-FocusRing--quiet.Dniwja_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.Dniwja_spectrum-FocusRing,.Dniwja_spectrum-FocusRing-ring,.Dniwja_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.Dniwja_spectrum-FocusRing,.Dniwja_spectrum-FocusRing-ring,.Dniwja_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.Dniwja_spectrum-BaseButton{box-sizing:border-box;border-radius:var(--spectrum-button-border-radius);border-style:solid;border-width:var(--spectrum-button-border-width);--spectrum-focus-ring-border-radius: var(--spectrum-button-border-radius);--spectrum-focus-ring-border-size: var(--spectrum-button-border-width);--spectrum-focus-ring-gap: var(--spectrum-alias-focus-ring-gap, var(--spectrum-global-dimension-static-size-25));--spectrum-focus-ring-size: var(--spectrum-button-primary-focus-ring-size-key-focus, var(--spectrum-alias-focus-ring-size));text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;transition:background var(--spectrum-global-animation-duration-100, .13s) ease-out,border-color var(--spectrum-global-animation-duration-100, .13s) ease-out,color var(--spectrum-global-animation-duration-100, .13s) ease-out,box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none;cursor:default;isolation:isolate;justify-content:center;align-items:center;margin:0;line-height:1.3;text-decoration:none;display:inline-flex;position:relative;overflow:visible}button.Dniwja_spectrum-BaseButton{-webkit-appearance:button}.Dniwja_spectrum-BaseButton:focus{outline:none}.Dniwja_spectrum-BaseButton.Dniwja_focus-ring{z-index:3}.Dniwja_spectrum-BaseButton::-moz-focus-inner{border:0;margin-block:-2px;padding:0}.Dniwja_spectrum-BaseButton:disabled,.Dniwja_spectrum-BaseButton.Dniwja_is-disabled{cursor:default}.Dniwja_spectrum-BaseButton .Dniwja_spectrum-Icon{transition:background var(--spectrum-global-animation-duration-100, .13s) ease-out,fill var(--spectrum-global-animation-duration-100, .13s) ease-out;box-sizing:initial;flex-shrink:0;order:0;max-block-size:100%}.Dniwja_spectrum-Button{--spectrum-button-border-radius: var(--spectrum-button-primary-border-radius, var(--spectrum-alias-border-radius-large));--spectrum-button-border-width: var(--spectrum-button-primary-border-size, var(--spectrum-alias-border-size-thick));min-block-size:var(--spectrum-button-primary-height, var(--spectrum-alias-single-line-height));min-inline-size:var(--spectrum-button-primary-min-width);padding:var(--spectrum-global-dimension-size-50) calc(var(--spectrum-button-primary-padding-x, var(--spectrum-global-dimension-size-200)) - var(--spectrum-button-primary-border-size, var(--spectrum-alias-border-size-thick)));font-size:var(--spectrum-button-primary-text-size, var(--spectrum-alias-pill-button-text-size));font-weight:var(--spectrum-button-primary-text-font-weight, var(--spectrum-global-font-weight-bold));border-style:solid;block-size:0%;padding-block-start:calc(var(--spectrum-global-dimension-size-50) - 1px);padding-block-end:calc(var(--spectrum-global-dimension-size-50) + 1px)}.Dniwja_spectrum-Button.Dniwja_is-hovered,.Dniwja_spectrum-Button:active{box-shadow:none}.Dniwja_spectrum-Button .Dniwja_spectrum-Icon+.Dniwja_spectrum-Button-label{margin-inline-start:var(--spectrum-button-primary-text-gap, var(--spectrum-global-dimension-size-100))}.Dniwja_spectrum-Button .Dniwja_spectrum-Button-label+.Dniwja_spectrum-Icon{margin-inline-end:var(--spectrum-button-primary-text-gap, var(--spectrum-global-dimension-size-100))}.Dniwja_spectrum-Button.Dniwja_spectrum-Button--iconOnly{min-inline-size:unset;padding:var(--spectrum-global-dimension-size-65)}.Dniwja_spectrum-Button .Dniwja_spectrum-Button-circleLoader{align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.Dniwja_spectrum-Button.Dniwja_spectrum-Button--pending .Dniwja_spectrum-Button-label,.Dniwja_spectrum-Button.Dniwja_spectrum-Button--pending .Dniwja_spectrum-Icon{opacity:0}a.Dniwja_spectrum-Button,a.Dniwja_spectrum-ActionButton{-webkit-appearance:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.Dniwja_spectrum-ActionButton{block-size:var(--spectrum-actionbutton-height, var(--spectrum-alias-single-line-height));min-inline-size:var(--spectrum-actionbutton-min-width, var(--spectrum-global-dimension-size-400));--spectrum-button-border-radius: var(--spectrum-actionbutton-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-button-border-width: var(--spectrum-actionbutton-border-size, var(--spectrum-alias-border-size-thin));font-size:var(--spectrum-actionbutton-text-size, var(--spectrum-alias-font-size-default));font-weight:var(--spectrum-actionbutton-text-font-weight, var(--spectrum-alias-body-text-font-weight));padding:0;position:relative}.Dniwja_spectrum-ActionButton .Dniwja_spectrum-Icon{padding-inline-start:var(--spectrum-actionbutton-icon-padding-x, var(--spectrum-global-dimension-size-85))}.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-label{padding-inline-end:var(--spectrum-actionbutton-text-padding-x, var(--spectrum-global-dimension-size-150))}.Dniwja_spectrum-ActionButton .Dniwja_spectrum-Icon+.Dniwja_spectrum-ActionButton-label{padding-inline-start:var(--spectrum-actionbutton-icon-padding-x, var(--spectrum-global-dimension-size-85))}.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-label:not([hidden])+.Dniwja_spectrum-Icon{padding-inline-end:var(--spectrum-actionbutton-icon-padding-x, var(--spectrum-global-dimension-size-85))}.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-label:only-child,.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-hold+.Dniwja_spectrum-ActionButton-label:last-child{padding-inline-start:var(--spectrum-actionbutton-text-padding-x, var(--spectrum-global-dimension-size-150))}.Dniwja_spectrum-ActionButton .Dniwja_spectrum-Icon:only-child,.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-hold+.Dniwja_spectrum-Icon:last-child{padding-inline-end:var(--spectrum-actionbutton-icon-padding-x, var(--spectrum-global-dimension-size-85))}.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionGroup-itemIcon.Dniwja_spectrum-ActionGroup-itemIcon{padding-inline-end:0}.Dniwja_spectrum-ActionButton-hold{bottom:var(--spectrum-actionbutton-hold-icon-padding-bottom, var(--spectrum-global-dimension-size-40));position:absolute}.Dniwja_spectrum-ActionButton-hold:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-actionbutton-hold-icon-padding-right, var(--spectrum-global-dimension-size-40))}.Dniwja_spectrum-ActionButton-hold:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-actionbutton-hold-icon-padding-right, var(--spectrum-global-dimension-size-40))}.Dniwja_spectrum-ActionButton-hold:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-actionbutton-hold-icon-padding-right, var(--spectrum-global-dimension-size-40))}[dir=rtl] .Dniwja_spectrum-ActionButton-hold{transform:rotate(90deg)}.Dniwja_spectrum-ActionButton-label,.Dniwja_spectrum-Button-label{text-align:center;order:1;place-self:center;inline-size:100%}:is(.Dniwja_spectrum-ActionButton-label,.Dniwja_spectrum-Button-label):empty{display:none}.Dniwja_spectrum-ActionButton-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.Dniwja_spectrum-ActionButton--quiet{border-width:var(--spectrum-actionbutton-quiet-border-size, var(--spectrum-alias-border-size-thin));border-radius:var(--spectrum-actionbutton-quiet-border-radius, var(--spectrum-alias-border-radius-regular));font-size:var(--spectrum-actionbutton-quiet-text-size, var(--spectrum-alias-font-size-default));font-weight:var(--spectrum-actionbutton-quiet-text-font-weight, var(--spectrum-alias-body-text-font-weight))}.Dniwja_spectrum-LogicButton{block-size:var(--spectrum-logicbutton-and-height, 24px);padding:var(--spectrum-logicbutton-and-padding-x, var(--spectrum-global-dimension-size-100));--spectrum-button-border-width: var(--spectrum-logicbutton-and-border-size, var(--spectrum-alias-border-size-thick));--spectrum-button-border-radius: var(--spectrum-logicbutton-and-border-radius, var(--spectrum-alias-border-radius-regular));font-size:var(--spectrum-logicbutton-and-text-size, var(--spectrum-alias-font-size-default));font-weight:var(--spectrum-logicbutton-and-text-font-weight, var(--spectrum-global-font-weight-bold));line-height:0}.Dniwja_spectrum-FieldButton{block-size:var(--spectrum-dropdown-height, var(--spectrum-global-dimension-size-400));padding:0 var(--spectrum-dropdown-padding-x, var(--spectrum-global-dimension-size-150));font-family:inherit;font-weight:400;font-size:var(--spectrum-dropdown-text-size, var(--spectrum-alias-font-size-default));-webkit-font-smoothing:initial;cursor:default;--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);padding-block:0;padding-inline:var(--spectrum-dropdown-padding-x, var(--spectrum-global-dimension-size-150));--spectrum-button-border-width: var(--spectrum-dropdown-border-size, var(--spectrum-alias-border-size-thin));--spectrum-button-border-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));transition:background-color var(--spectrum-global-animation-duration-100, .13s),box-shadow var(--spectrum-global-animation-duration-100, .13s),border-color var(--spectrum-global-animation-duration-100, .13s);border-style:solid;outline:none;margin:0;line-height:normal;position:relative}.Dniwja_spectrum-FieldButton:disabled,.Dniwja_spectrum-FieldButton.Dniwja_is-disabled{cursor:default;border-width:0}.Dniwja_spectrum-FieldButton.Dniwja_is-open{border-width:var(--spectrum-dropdown-border-size, var(--spectrum-alias-border-size-thin))}.Dniwja_spectrum-FieldButton--quiet{--spectrum-button-border-width: 0;--spectrum-button-border-radius: var(--spectrum-fieldbutton-quiet-border-radius, 0px);--spectrum-focus-ring-size: var(--spectrum-alias-focus-ring-size, var(--spectrum-global-dimension-static-size-25));margin:0;padding:0}.Dniwja_spectrum-FieldButton--quiet:disabled.Dniwja_focus-ring,.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-disabled.Dniwja_focus-ring{box-shadow:none}.Dniwja_spectrum-ClearButton{inline-size:var(--spectrum-clearbutton-medium-width, var(--spectrum-alias-single-line-height));block-size:var(--spectrum-clearbutton-medium-height, var(--spectrum-alias-single-line-height));--spectrum-button-border-radius: 100%;--spectrum-button-border-width: 0px;border:none;margin:0;padding:0}.Dniwja_spectrum-ClearButton>.Dniwja_spectrum-Icon{margin-block:0;margin-inline:auto}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.Dniwja_spectrum-ClearButton>.Dniwja_spectrum-Icon{margin:0}}.Dniwja_spectrum-ClearButton--small{inline-size:var(--spectrum-clearbutton-small-width, var(--spectrum-global-dimension-size-300));block-size:var(--spectrum-clearbutton-small-height, var(--spectrum-global-dimension-size-300))}.Dniwja_spectrum-ClearButton{background-color:var(--spectrum-clearbutton-medium-background-color, var(--spectrum-alias-background-color-transparent));color:var(--spectrum-clearbutton-medium-icon-color, var(--spectrum-alias-icon-color))}.Dniwja_spectrum-ClearButton .Dniwja_spectrum-Icon{fill:var(--spectrum-clearbutton-medium-icon-color, var(--spectrum-alias-icon-color))}.Dniwja_spectrum-ClearButton.Dniwja_is-hovered{background-color:var(--spectrum-clearbutton-medium-background-color-hover, var(--spectrum-alias-background-color-transparent));color:var(--spectrum-clearbutton-medium-icon-color-hover, var(--spectrum-alias-icon-color-hover))}.Dniwja_spectrum-ClearButton.Dniwja_is-hovered .Dniwja_spectrum-Icon{fill:var(--spectrum-clearbutton-medium-icon-color-hover, var(--spectrum-alias-icon-color-hover))}.Dniwja_spectrum-ClearButton.Dniwja_is-active{background-color:var(--spectrum-clearbutton-medium-background-color-down, var(--spectrum-alias-background-color-transparent));color:var(--spectrum-clearbutton-medium-icon-color-down, var(--spectrum-alias-icon-color-down))}.Dniwja_spectrum-ClearButton.Dniwja_is-active .Dniwja_spectrum-Icon{fill:var(--spectrum-clearbutton-medium-icon-color-down, var(--spectrum-alias-icon-color-down))}.Dniwja_spectrum-ClearButton.Dniwja_focus-ring{background-color:var(--spectrum-clearbutton-medium-background-color-key-focus, var(--spectrum-alias-background-color-transparent));color:var(--spectrum-clearbutton-medium-icon-color-key-focus, var(--spectrum-alias-icon-color-focus))}.Dniwja_spectrum-ClearButton.Dniwja_focus-ring .Dniwja_spectrum-Icon{fill:var(--spectrum-clearbutton-medium-icon-color-key-focus, var(--spectrum-alias-icon-color-focus))}.Dniwja_spectrum-ClearButton:disabled{background-color:var(--spectrum-clearbutton-medium-background-color-disabled, var(--spectrum-alias-background-color-transparent));color:var(--spectrum-clearbutton-medium-icon-color-disabled, var(--spectrum-alias-icon-color-disabled))}.Dniwja_spectrum-ClearButton:disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-clearbutton-medium-icon-color-disabled, var(--spectrum-alias-icon-color-disabled))}.Dniwja_spectrum-ClearButton.Dniwja_is-disabled{background-color:var(--spectrum-clearbutton-medium-background-color-disabled, var(--spectrum-alias-background-color-transparent));color:var(--spectrum-clearbutton-medium-icon-color-disabled, var(--spectrum-alias-icon-color-disabled))}.Dniwja_spectrum-ClearButton.Dniwja_is-disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-clearbutton-medium-icon-color-disabled, var(--spectrum-alias-icon-color-disabled))}.Dniwja_spectrum-ClearButton--overBackground{--spectrum-clearbutton-medium-background-color: transparent;--spectrum-clearbutton-medium-background-color-hover: #ffffff1a;--spectrum-clearbutton-medium-background-color-key-focus: #ffffff1a;--spectrum-clearbutton-medium-background-color-down: #ffffff26;--spectrum-clearbutton-medium-background-color-disabled: transparent;--spectrum-clearbutton-medium-icon-color: white;--spectrum-clearbutton-medium-icon-color-hover: white;--spectrum-clearbutton-medium-icon-color-down: white;--spectrum-clearbutton-medium-icon-color-key-focus: white;--spectrum-clearbutton-medium-icon-color-disabled: #ffffff8c;--spectrum-focus-ring-color: white}.Dniwja_spectrum-Button[data-style=fill]{--spectrum-button-text-color: white;--spectrum-button-text-color-hover: var(--spectrum-button-text-color);--spectrum-button-text-color-down: var(--spectrum-button-text-color);--spectrum-button-text-color-key-focus: var(--spectrum-button-text-color);--spectrum-button-text-color-disabled: var(--spectrum-alias-text-color-disabled, var(--spectrum-global-color-gray-500));--spectrum-button-color-disabled: var(--spectrum-alias-background-color-disabled);background-color:var(--spectrum-high-contrast-button-text, var(--spectrum-button-color));color:var(--spectrum-high-contrast-button-face, var(--spectrum-button-text-color));border-color:#0000}.Dniwja_spectrum-Button[data-style=fill].Dniwja_is-hovered{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-button-color-hover));color:var(--spectrum-high-contrast-button-face, var(--spectrum-button-text-color-hover))}.Dniwja_spectrum-Button[data-style=fill].Dniwja_focus-ring{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-button-color-key-focus));color:var(--spectrum-high-contrast-button-face, var(--spectrum-button-text-color-key-focus))}.Dniwja_spectrum-Button[data-style=fill].Dniwja_is-active{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-button-color-down));color:var(--spectrum-high-contrast-button-face, var(--spectrum-button-text-color-down))}.Dniwja_spectrum-Button[data-style=fill]:disabled,.Dniwja_spectrum-Button[data-style=fill].Dniwja_is-disabled{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-button-color-disabled));color:var(--spectrum-high-contrast-gray-text, var(--spectrum-button-text-color-disabled))}.Dniwja_spectrum-Button[data-style=outline]{--spectrum-button-text-color: var(--spectrum-button-color);--spectrum-button-text-color-hover: var(--spectrum-button-color-hover);--spectrum-button-text-color-down: var(--spectrum-button-color-down);--spectrum-button-text-color-key-focus: var(--spectrum-button-color-key-focus);--spectrum-button-text-color-disabled: var(--spectrum-alias-text-color-disabled, var(--spectrum-global-color-gray-500));--spectrum-button-color-disabled: var(--spectrum-alias-background-color-disabled);border-color:var(--spectrum-high-contrast-button-text, var(--spectrum-button-color));color:var(--spectrum-high-contrast-button-text, var(--spectrum-button-text-color));background-color:#0000}.Dniwja_spectrum-Button[data-style=outline].Dniwja_is-hovered{background-color:var(--spectrum-high-contrast-transparent, var(--spectrum-button-background-color-hover));border-color:var(--spectrum-high-contrast-highlight, var(--spectrum-button-color-hover));color:var(--spectrum-high-contrast-button-text, var(--spectrum-button-text-color-hover))}.Dniwja_spectrum-Button[data-style=outline].Dniwja_focus-ring{background-color:var(--spectrum-high-contrast-transparent, var(--spectrum-button-background-color-key-focus));border-color:var(--spectrum-high-contrast-highlight, var(--spectrum-button-color-key-focus));color:var(--spectrum-high-contrast-button-text, var(--spectrum-button-text-color-key-focus))}.Dniwja_spectrum-Button[data-style=outline].Dniwja_is-active{background-color:var(--spectrum-high-contrast-transparent, var(--spectrum-button-background-color-down));border-color:var(--spectrum-high-contrast-highlight, var(--spectrum-button-color-down));color:var(--spectrum-high-contrast-button-text, var(--spectrum-button-text-color-down))}.Dniwja_spectrum-Button[data-style=outline]:disabled,.Dniwja_spectrum-Button[data-style=outline].Dniwja_is-disabled{border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-button-color-disabled));color:var(--spectrum-high-contrast-gray-text, var(--spectrum-button-text-color-disabled));background-color:#0000}.Dniwja_spectrum-Button[data-static-color=white]{--spectrum-focus-ring-color: white}.Dniwja_spectrum-Button[data-static-color=white][data-variant=accent][data-style=fill]{--spectrum-button-color: #ffffffe6;--spectrum-button-color-hover: white;--spectrum-button-color-down: white;--spectrum-button-color-key-focus: white;--spectrum-button-color-disabled: #ffffff1a;--spectrum-button-text-color: black;--spectrum-button-text-color-disabled: #ffffff8c}.Dniwja_spectrum-Button[data-static-color=white][data-variant=accent][data-style=outline]{--spectrum-button-color: #ffffffe6;--spectrum-button-color-hover: white;--spectrum-button-color-down: white;--spectrum-button-color-key-focus: white;--spectrum-button-color-disabled: #ffffff40;--spectrum-button-text-color: white;--spectrum-button-text-color-hover: white;--spectrum-button-text-color-down: white;--spectrum-button-text-color-key-focus: white;--spectrum-button-text-color-disabled: #ffffff8c;--spectrum-button-background-color-hover: #ffffff1a;--spectrum-button-background-color-down: #ffffff26;--spectrum-button-background-color-key-focus: #ffffff1a}.Dniwja_spectrum-Button[data-static-color=white][data-variant=negative][data-style=fill]{--spectrum-button-color: #ffffffe6;--spectrum-button-color-hover: white;--spectrum-button-color-down: white;--spectrum-button-color-key-focus: white;--spectrum-button-color-disabled: #ffffff1a;--spectrum-button-text-color: black;--spectrum-button-text-color-disabled: #ffffff8c}.Dniwja_spectrum-Button[data-static-color=white][data-variant=negative][data-style=outline]{--spectrum-button-color: #ffffffe6;--spectrum-button-color-hover: white;--spectrum-button-color-down: white;--spectrum-button-color-key-focus: white;--spectrum-button-color-disabled: #ffffff40;--spectrum-button-text-color: white;--spectrum-button-text-color-hover: white;--spectrum-button-text-color-down: white;--spectrum-button-text-color-key-focus: white;--spectrum-button-text-color-disabled: #ffffff8c;--spectrum-button-background-color-hover: #ffffff1a;--spectrum-button-background-color-down: #ffffff26;--spectrum-button-background-color-key-focus: #ffffff1a}.Dniwja_spectrum-Button[data-static-color=white][data-variant=primary][data-style=fill]{--spectrum-button-color: #ffffffe6;--spectrum-button-color-hover: white;--spectrum-button-color-down: white;--spectrum-button-color-key-focus: white;--spectrum-button-color-disabled: #ffffff1a;--spectrum-button-text-color: black;--spectrum-button-text-color-disabled: #ffffff8c}.Dniwja_spectrum-Button[data-static-color=white][data-variant=primary][data-style=outline]{--spectrum-button-color: #ffffffe6;--spectrum-button-color-hover: white;--spectrum-button-color-down: white;--spectrum-button-color-key-focus: white;--spectrum-button-color-disabled: #ffffff40;--spectrum-button-text-color: white;--spectrum-button-text-color-hover: white;--spectrum-button-text-color-down: white;--spectrum-button-text-color-key-focus: white;--spectrum-button-text-color-disabled: #ffffff8c;--spectrum-button-background-color-hover: #ffffff1a;--spectrum-button-background-color-down: #ffffff26;--spectrum-button-background-color-key-focus: #ffffff1a}.Dniwja_spectrum-Button[data-static-color=white][data-variant=secondary][data-style=fill]{--spectrum-button-color: #ffffff12;--spectrum-button-color-hover: #ffffff1a;--spectrum-button-color-down: #ffffff26;--spectrum-button-color-key-focus: #ffffff1a;--spectrum-button-color-disabled: #ffffff1a;--spectrum-button-text-color: white;--spectrum-button-text-color-disabled: #ffffff8c}.Dniwja_spectrum-Button[data-static-color=white][data-variant=secondary][data-style=outline]{--spectrum-button-color: #ffffff40;--spectrum-button-color-hover: #fff6;--spectrum-button-color-down: #ffffff8c;--spectrum-button-color-key-focus: #fff6;--spectrum-button-color-disabled: #ffffff40;--spectrum-button-text-color: white;--spectrum-button-text-color-hover: white;--spectrum-button-text-color-down: white;--spectrum-button-text-color-key-focus: white;--spectrum-button-text-color-disabled: #ffffff8c;--spectrum-button-background-color-hover: #ffffff1a;--spectrum-button-background-color-down: #ffffff26;--spectrum-button-background-color-key-focus: #ffffff1a}.Dniwja_spectrum-Button[data-static-color=black]{--spectrum-focus-ring-color: black}.Dniwja_spectrum-Button[data-static-color=black][data-variant=accent][data-style=fill]{--spectrum-button-color: #000000e6;--spectrum-button-color-hover: black;--spectrum-button-color-down: black;--spectrum-button-color-key-focus: black;--spectrum-button-color-disabled: #0000001a;--spectrum-button-text-color: white;--spectrum-button-text-color-disabled: #0000008c}.Dniwja_spectrum-Button[data-static-color=black][data-variant=accent][data-style=outline]{--spectrum-button-color: #000000e6;--spectrum-button-color-hover: black;--spectrum-button-color-down: black;--spectrum-button-color-key-focus: black;--spectrum-button-color-disabled: #00000040;--spectrum-button-text-color: black;--spectrum-button-text-color-hover: black;--spectrum-button-text-color-down: black;--spectrum-button-text-color-key-focus: black;--spectrum-button-text-color-disabled: #0000008c;--spectrum-button-background-color-hover: #0000001a;--spectrum-button-background-color-down: #00000026;--spectrum-button-background-color-key-focus: #0000001a}.Dniwja_spectrum-Button[data-static-color=black][data-variant=negative][data-style=fill]{--spectrum-button-color: #000000e6;--spectrum-button-color-hover: black;--spectrum-button-color-down: black;--spectrum-button-color-key-focus: black;--spectrum-button-color-disabled: #0000001a;--spectrum-button-text-color: white;--spectrum-button-text-color-disabled: #0000008c}.Dniwja_spectrum-Button[data-static-color=black][data-variant=negative][data-style=outline]{--spectrum-button-color: #000000e6;--spectrum-button-color-hover: black;--spectrum-button-color-down: black;--spectrum-button-color-key-focus: black;--spectrum-button-color-disabled: #00000040;--spectrum-button-text-color: black;--spectrum-button-text-color-hover: black;--spectrum-button-text-color-down: black;--spectrum-button-text-color-key-focus: black;--spectrum-button-text-color-disabled: #0000008c;--spectrum-button-background-color-hover: #0000001a;--spectrum-button-background-color-down: #00000026;--spectrum-button-background-color-key-focus: #0000001a}.Dniwja_spectrum-Button[data-static-color=black][data-variant=primary][data-style=fill]{--spectrum-button-color: #000000e6;--spectrum-button-color-hover: black;--spectrum-button-color-down: black;--spectrum-button-color-key-focus: black;--spectrum-button-color-disabled: #0000001a;--spectrum-button-text-color: white;--spectrum-button-text-color-disabled: #0000008c}.Dniwja_spectrum-Button[data-static-color=black][data-variant=primary][data-style=outline]{--spectrum-button-color: #000000e6;--spectrum-button-color-hover: black;--spectrum-button-color-down: black;--spectrum-button-color-key-focus: black;--spectrum-button-color-disabled: #00000040;--spectrum-button-text-color: black;--spectrum-button-text-color-hover: black;--spectrum-button-text-color-down: black;--spectrum-button-text-color-key-focus: black;--spectrum-button-text-color-disabled: #0000008c;--spectrum-button-background-color-hover: #0000001a;--spectrum-button-background-color-down: #00000026;--spectrum-button-background-color-key-focus: #0000001a}.Dniwja_spectrum-Button[data-static-color=black][data-variant=secondary][data-style=fill]{--spectrum-button-color: #00000012;--spectrum-button-color-hover: #0000001a;--spectrum-button-color-down: #00000026;--spectrum-button-color-key-focus: #0000001a;--spectrum-button-color-disabled: #0000001a;--spectrum-button-text-color: black;--spectrum-button-text-color-disabled: #0000008c}.Dniwja_spectrum-Button[data-static-color=black][data-variant=secondary][data-style=outline]{--spectrum-button-color: #00000040;--spectrum-button-color-hover: #0006;--spectrum-button-color-down: #0000008c;--spectrum-button-color-key-focus: #0006;--spectrum-button-color-disabled: #00000040;--spectrum-button-text-color: black;--spectrum-button-text-color-hover: black;--spectrum-button-text-color-down: black;--spectrum-button-text-color-key-focus: black;--spectrum-button-text-color-disabled: #0000008c;--spectrum-button-background-color-hover: #0000001a;--spectrum-button-background-color-down: #00000026;--spectrum-button-background-color-key-focus: #0000001a}.Dniwja_spectrum-Button:not([data-static-color])[data-variant=accent][data-style=fill]{--spectrum-button-color: var(--spectrum-accent-background-color-default);--spectrum-button-color-hover: var(--spectrum-accent-background-color-hover);--spectrum-button-color-down: var(--spectrum-accent-background-color-down);--spectrum-button-color-key-focus: var(--spectrum-accent-background-color-key-focus)}.Dniwja_spectrum-Button:not([data-static-color])[data-variant=accent][data-style=outline]{--spectrum-button-color: var(--spectrum-accent-color-900);--spectrum-button-color-hover: var(--spectrum-accent-color-1000);--spectrum-button-color-down: var(--spectrum-accent-color-1100);--spectrum-button-color-key-focus: var(--spectrum-accent-color-1000);--spectrum-button-background-color-hover: var(--spectrum-accent-color-200);--spectrum-button-background-color-down: var(--spectrum-accent-color-300);--spectrum-button-background-color-key-focus: var(--spectrum-accent-color-200)}.Dniwja_spectrum-Button:not([data-static-color])[data-variant=negative][data-style=fill]{--spectrum-button-color: var(--spectrum-negative-background-color-default);--spectrum-button-color-hover: var(--spectrum-negative-background-color-hover);--spectrum-button-color-down: var(--spectrum-negative-background-color-down);--spectrum-button-color-key-focus: var(--spectrum-negative-background-color-key-focus)}.Dniwja_spectrum-Button:not([data-static-color])[data-variant=negative][data-style=outline]{--spectrum-button-color: var(--spectrum-red-900);--spectrum-button-color-hover: var(--spectrum-red-1000);--spectrum-button-color-down: var(--spectrum-red-1100);--spectrum-button-color-key-focus: var(--spectrum-red-1000);--spectrum-button-background-color-hover: var(--spectrum-red-200);--spectrum-button-background-color-down: var(--spectrum-red-300);--spectrum-button-background-color-key-focus: var(--spectrum-red-200)}.Dniwja_spectrum-Button:not([data-static-color])[data-variant=primary][data-style=fill]{--spectrum-button-color: var(--spectrum-neutral-background-color-default);--spectrum-button-color-hover: var(--spectrum-neutral-background-color-hover);--spectrum-button-color-down: var(--spectrum-neutral-background-color-down);--spectrum-button-color-key-focus: var(--spectrum-neutral-background-color-key-focus)}.Dniwja_spectrum-Button:not([data-static-color])[data-variant=primary][data-style=outline]{--spectrum-button-color: var(--spectrum-gray-800);--spectrum-button-color-hover: var(--spectrum-gray-900);--spectrum-button-color-down: var(--spectrum-gray-900);--spectrum-button-color-key-focus: var(--spectrum-gray-900);--spectrum-button-background-color-hover: var(--spectrum-gray-300);--spectrum-button-background-color-down: var(--spectrum-gray-400);--spectrum-button-background-color-key-focus: var(--spectrum-gray-300)}.Dniwja_spectrum-Button:not([data-static-color])[data-variant=secondary]{--spectrum-button-text-color: var(--spectrum-gray-800);--spectrum-button-text-color-hover: var(--spectrum-gray-900);--spectrum-button-text-color-down: var(--spectrum-gray-900);--spectrum-button-text-color-key-focus: var(--spectrum-gray-900)}.Dniwja_spectrum-Button:not([data-static-color])[data-variant=secondary][data-style=fill]{--spectrum-button-color: var(--spectrum-gray-200);--spectrum-button-color-hover: var(--spectrum-gray-300);--spectrum-button-color-down: var(--spectrum-gray-400);--spectrum-button-color-key-focus: var(--spectrum-gray-300)}.Dniwja_spectrum-Button:not([data-static-color])[data-variant=secondary][data-style=outline]{--spectrum-button-color: var(--spectrum-gray-300);--spectrum-button-color-hover: var(--spectrum-gray-400);--spectrum-button-color-down: var(--spectrum-gray-500);--spectrum-button-color-key-focus: var(--spectrum-gray-400);--spectrum-button-background-color-hover: var(--spectrum-gray-300);--spectrum-button-background-color-down: var(--spectrum-gray-400);--spectrum-button-background-color-key-focus: var(--spectrum-gray-300)}@media (forced-colors: active){.Dniwja_spectrum-Button,.Dniwja_spectrum-ActionButton,.Dniwja_spectrum-FieldButton{forced-color-adjust:none;--spectrum-high-contrast-transparent: transparent;--spectrum-high-contrast-button-face: ButtonFace;--spectrum-high-contrast-button-text: ButtonText;--spectrum-high-contrast-highlight: Highlight;--spectrum-high-contrast-highlight-text: HighlightText;--spectrum-high-contrast-gray-text: GrayText}.Dniwja_spectrum-Button,.Dniwja_spectrum-ActionButton{--spectrum-high-contrast-focus-ring-color: ButtonText}.Dniwja_spectrum-FieldButton{--spectrum-high-contrast-focus-ring-color: Highlight}.Dniwja_spectrum-Button--pending.Dniwja_is-disabled{border-color:var(--spectrum-high-contrast-gray-text)}}.Dniwja_spectrum-ActionButton{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-background-color, var(--spectrum-global-color-gray-75)));border-color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-border-color, var(--spectrum-alias-border-color)));color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-text-color, var(--spectrum-alias-text-color)))}.Dniwja_spectrum-ActionButton .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-icon-color, var(--spectrum-alias-icon-color)))}.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-hold-icon-color, var(--spectrum-alias-icon-color)))}.Dniwja_spectrum-ActionButton.Dniwja_is-hovered{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-background-color-hover, var(--spectrum-global-color-gray-50)));border-color:var(--spectrum-high-contrast-highlight, var(--spectrum-actionbutton-border-color-hover, var(--spectrum-alias-border-color-hover)));color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-text-color-hover, var(--spectrum-alias-text-color-hover)))}.Dniwja_spectrum-ActionButton.Dniwja_is-hovered .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-icon-color-hover, var(--spectrum-alias-icon-color-hover)))}.Dniwja_spectrum-ActionButton.Dniwja_is-hovered .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-hold-icon-color-hover, var(--spectrum-alias-icon-color-hover))}.Dniwja_spectrum-ActionButton.Dniwja_focus-ring{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-background-color-key-focus, var(--spectrum-global-color-gray-50)));border-color:var(--spectrum-high-contrast-highlight, var(--spectrum-actionbutton-border-color-hover, var(--spectrum-alias-border-color-hover)));color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-text-color-key-focus, var(--spectrum-alias-text-color-hover)))}.Dniwja_spectrum-ActionButton.Dniwja_focus-ring .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-icon-color-key-focus, var(--spectrum-alias-icon-color-focus)))}.Dniwja_spectrum-ActionButton.Dniwja_focus-ring .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-hold-icon-color-key-focus, var(--spectrum-alias-icon-color-hover)))}.Dniwja_spectrum-ActionButton.Dniwja_is-active{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-background-color-down, var(--spectrum-global-color-gray-200)));border-color:var(--spectrum-high-contrast-highlight, var(--spectrum-actionbutton-border-color-down, var(--spectrum-alias-border-color-down)));color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-text-color-down, var(--spectrum-alias-text-color-down)))}.Dniwja_spectrum-ActionButton.Dniwja_is-active .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-hold-icon-color-down, var(--spectrum-alias-icon-color-down)))}.Dniwja_spectrum-ActionButton:disabled{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-background-color-disabled, var(--spectrum-global-color-gray-200)));border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-border-color-disabled, var(--spectrum-alias-border-color-disabled)));color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-text-color-disabled, var(--spectrum-alias-text-color-disabled)))}.Dniwja_spectrum-ActionButton:disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-icon-color-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton:disabled .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-hold-icon-color-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton.Dniwja_is-disabled{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-background-color-disabled, var(--spectrum-global-color-gray-200)));border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-border-color-disabled, var(--spectrum-alias-border-color-disabled)));color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-text-color-disabled, var(--spectrum-alias-text-color-disabled)))}.Dniwja_spectrum-ActionButton.Dniwja_is-disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-icon-color-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton.Dniwja_is-disabled .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-hold-icon-color-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-alias-toggle-color-selected));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-alias-toggle-color-selected));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-gray-50))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-gray-50))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected.Dniwja_is-hovered{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-alias-toggle-color-selected-hover));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-alias-toggle-color-selected-hover));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-gray-50))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected.Dniwja_is-hovered .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-gray-50))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected.Dniwja_focus-ring{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-alias-toggle-color-selected-key-focus));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-alias-toggle-color-selected-key-focus));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-gray-50))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected.Dniwja_focus-ring .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-gray-50))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected.Dniwja_is-active{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-alias-toggle-color-selected-down));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-alias-toggle-color-selected-down));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-gray-50))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected.Dniwja_is-active .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-gray-50))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected:disabled{background-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-background-color-selected-disabled, var(--spectrum-global-color-gray-200)));border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-border-color-selected-disabled, var(--spectrum-alias-border-color-disabled)));color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-text-color-selected-disabled, var(--spectrum-alias-text-color-disabled)))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected:disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-icon-color-selected-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected.Dniwja_is-disabled{background-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-background-color-selected-disabled, var(--spectrum-global-color-gray-200)));border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-border-color-selected-disabled, var(--spectrum-alias-border-color-disabled)));color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-text-color-selected-disabled, var(--spectrum-alias-text-color-disabled)))}.Dniwja_spectrum-ActionButton.Dniwja_is-selected.Dniwja_is-disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-icon-color-selected-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-accent-background-color-default));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-accent-background-color-default));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-text-color-selected, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-icon-color-selected, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_focus-ring{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-accent-background-color-key-focus));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-accent-background-color-hover));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-text-color-selected-key-focus, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_focus-ring .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-icon-color-selected-key-focus, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-hovered{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-accent-background-color-hover));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-accent-background-color-hover));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-text-color-selected-hover, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-hovered .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-icon-color-selected-hover, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-active{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-accent-background-color-down));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-accent-background-color-down));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-text-color-selected-down, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-active .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-icon-color-selected-down, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected:disabled{background-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-emphasized-background-color-selected-disabled, var(--spectrum-global-color-gray-200)));border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-emphasized-border-color-selected-disabled, var(--spectrum-alias-border-color-disabled)));color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-emphasized-text-color-selected-disabled, var(--spectrum-alias-text-color-disabled)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected:disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-emphasized-icon-color-selected-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-disabled{background-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-emphasized-background-color-selected-disabled, var(--spectrum-global-color-gray-200)));border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-emphasized-border-color-selected-disabled, var(--spectrum-alias-border-color-disabled)));color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-emphasized-text-color-selected-disabled, var(--spectrum-alias-text-color-disabled)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-emphasized-icon-color-selected-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-accent-background-color-default));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-accent-background-color-default));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-text-color-selected, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-icon-color-selected, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected.Dniwja_focus-ring{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-accent-background-color-key-focus));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-accent-background-color-hover));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-text-color-selected-key-focus, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected.Dniwja_focus-ring .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-icon-color-selected-key-focus, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected.Dniwja_is-hovered{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-accent-background-color-hover));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-accent-background-color-hover));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-text-color-selected-hover, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected.Dniwja_is-hovered .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-icon-color-selected-hover, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected.Dniwja_is-active{background-color:var(--spectrum-high-contrast-highlight, var(--spectrum-accent-background-color-down));border-color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-accent-background-color-down));color:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-text-color-selected-down, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected.Dniwja_is-active .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-highlight-text, var(--spectrum-actionbutton-emphasized-icon-color-selected-down, var(--spectrum-global-color-static-white)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected:disabled{background-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-emphasized-background-color-selected-disabled, var(--spectrum-global-color-gray-200)));border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-emphasized-border-color-selected-disabled, var(--spectrum-alias-border-color-disabled)));color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-emphasized-text-color-selected-disabled, var(--spectrum-alias-text-color-disabled)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected:disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-emphasized-icon-color-selected-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected.Dniwja_is-disabled{background-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-emphasized-background-color-selected-disabled, var(--spectrum-global-color-gray-200)));border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-emphasized-border-color-selected-disabled, var(--spectrum-alias-border-color-disabled)));color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-emphasized-text-color-selected-disabled, var(--spectrum-alias-text-color-disabled)))}.Dniwja_spectrum-ActionButton--emphasized.Dniwja_is-selected.Dniwja_is-disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-emphasized-icon-color-selected-disabled, var(--spectrum-alias-icon-color-disabled)))}.Dniwja_spectrum-ActionButton--quiet{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-quiet-background-color, var(--spectrum-alias-background-color-transparent)));border-color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-quiet-border-color, var(--spectrum-alias-border-color-transparent)));color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-quiet-text-color, var(--spectrum-alias-text-color)))}.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-hovered{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-quiet-background-color-hover, var(--spectrum-alias-background-color-transparent)));border-color:var(--spectrum-high-contrast-highlight, var(--spectrum-actionbutton-quiet-border-color-hover, var(--spectrum-alias-border-color-transparent)));color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-quiet-text-color-hover, var(--spectrum-alias-text-color-hover)))}.Dniwja_spectrum-ActionButton--quiet.Dniwja_focus-ring{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-quiet-background-color-key-focus, var(--spectrum-alias-background-color-transparent)));border-color:var(--spectrum-high-contrast-highlight, var(--spectrum-actionbutton-quiet-border-color-hover, var(--spectrum-alias-border-color-transparent)));color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-quiet-text-color-key-focus, var(--spectrum-alias-text-color-hover)))}.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-active{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-quiet-background-color-down, var(--spectrum-global-color-gray-300)));border-color:var(--spectrum-high-contrast-highlight, var(--spectrum-actionbutton-quiet-border-color-down, var(--spectrum-global-color-gray-300)));color:var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-quiet-text-color-down, var(--spectrum-alias-text-color-down)))}.Dniwja_spectrum-ActionButton--quiet:disabled,.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-disabled{background-color:var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-quiet-background-color-disabled, var(--spectrum-alias-background-color-transparent)));border-color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-quiet-border-color-disabled, var(--spectrum-alias-border-color-transparent)));color:var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-quiet-text-color-disabled, var(--spectrum-alias-text-color-disabled)))}.Dniwja_spectrum-ActionButton--staticWhite{mix-blend-mode:screen;--spectrum-actionbutton-static-background-color: var(--spectrum-actionbutton-static-white-background-color);--spectrum-actionbutton-static-background-color-hover: #ffffff1a;--spectrum-actionbutton-static-background-color-focus: #ffffff1a;--spectrum-actionbutton-static-background-color-active: #ffffff26;--spectrum-actionbutton-static-background-color-disabled: var(--spectrum-actionbutton-static-white-background-color-disabled);--spectrum-actionbutton-static-background-color-selected: #ffffffe6;--spectrum-actionbutton-static-background-color-selected-hover: white;--spectrum-actionbutton-static-background-color-selected-focus: white;--spectrum-actionbutton-static-background-color-selected-active: white;--spectrum-actionbutton-static-background-color-selected-disabled: #ffffff1a;--spectrum-actionbutton-static-border-color: var(--spectrum-actionbutton-static-white-border-color);--spectrum-actionbutton-static-border-color-hover: var(--spectrum-actionbutton-static-white-border-color-hover);--spectrum-actionbutton-static-border-color-active: var(--spectrum-actionbutton-static-white-border-color-down);--spectrum-actionbutton-static-border-color-selected: var(--spectrum-actionbutton-static-background-color-selected);--spectrum-actionbutton-static-border-color-focus: var(--spectrum-actionbutton-static-white-border-color-key-focus);--spectrum-actionbutton-static-border-color-disabled: var(--spectrum-actionbutton-static-white-border-color-disabled);--spectrum-actionbutton-static-border-color-selected-disabled: var(--spectrum-actionbutton-static-white-border-color-selected-disabled);--spectrum-actionbutton-static-color: white;--spectrum-actionbutton-static-color-selected: black;--spectrum-actionbutton-static-color-disabled: #ffffff8c;--spectrum-actionbutton-static-color-selected-disabled: var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticWhite.Dniwja_spectrum-ActionButton--quiet{--spectrum-actionbutton-static-border-color: transparent;--spectrum-actionbutton-static-border-color-hover: transparent;--spectrum-actionbutton-static-border-color-active: transparent;--spectrum-actionbutton-static-border-color-selected: transparent}.Dniwja_spectrum-ActionButton--staticBlack{mix-blend-mode:multiply;--spectrum-actionbutton-static-background-color: var(--spectrum-actionbutton-static-black-background-color);--spectrum-actionbutton-static-background-color-hover: #0000001a;--spectrum-actionbutton-static-background-color-focus: #0000001a;--spectrum-actionbutton-static-background-color-active: #00000026;--spectrum-actionbutton-static-background-color-selected: #000000e6;--spectrum-actionbutton-static-background-color-disabled: var(--spectrum-actionbutton-static-black-background-color-disabled);--spectrum-actionbutton-static-background-color-selected-hover: black;--spectrum-actionbutton-static-background-color-selected-focus: black;--spectrum-actionbutton-static-background-color-selected-active: black;--spectrum-actionbutton-static-background-color-selected-disabled: #0000001a;--spectrum-actionbutton-static-border-color: var(--spectrum-actionbutton-static-black-border-color);--spectrum-actionbutton-static-border-color-hover: var(--spectrum-actionbutton-static-black-border-color-hover);--spectrum-actionbutton-static-border-color-active: var(--spectrum-actionbutton-static-black-border-color-down);--spectrum-actionbutton-static-border-color-selected: var(--spectrum-actionbutton-static-background-color-selected);--spectrum-actionbutton-static-border-color-focus: var(--spectrum-actionbutton-static-black-border-color-key-focus);--spectrum-actionbutton-static-border-color-disabled: var(--spectrum-actionbutton-static-black-border-color-disabled);--spectrum-actionbutton-static-border-color-selected-disabled: var(--spectrum-actionbutton-static-black-border-color-selected-disabled);--spectrum-actionbutton-static-color: black;--spectrum-actionbutton-static-color-selected: white;--spectrum-actionbutton-static-color-disabled: #0000008c;--spectrum-actionbutton-static-color-selected-disabled: var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticBlack.Dniwja_spectrum-ActionButton--quiet{--spectrum-actionbutton-static-border-color: transparent;--spectrum-actionbutton-static-border-color-hover: transparent;--spectrum-actionbutton-static-border-color-active: transparent;--spectrum-actionbutton-static-border-color-selected: transparent}.Dniwja_spectrum-ActionButton--staticColor{background-color:var(--spectrum-actionbutton-static-background-color);border-color:var(--spectrum-actionbutton-static-border-color);color:var(--spectrum-actionbutton-static-color);--spectrum-focus-ring-color: var(--spectrum-actionbutton-static-color)}.Dniwja_spectrum-ActionButton--staticColor .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-hovered{background-color:var(--spectrum-actionbutton-static-background-color-hover);border-color:var(--spectrum-actionbutton-static-border-color-hover);color:var(--spectrum-actionbutton-static-color)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-hovered .Dniwja_spectrum-Icon,.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-hovered .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-static-color)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring{background-color:var(--spectrum-actionbutton-static-background-color-focus);border-color:var(--spectrum-actionbutton-static-border-color-focus);box-shadow:none;color:var(--spectrum-actionbutton-static-color)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring.Dniwja_is-hovered,.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring.Dniwja_is-active{border-color:var(--spectrum-actionbutton-static-border-color-focus)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring .Dniwja_spectrum-Icon,.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-static-color)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-active{background-color:var(--spectrum-actionbutton-static-background-color-active);border-color:var(--spectrum-actionbutton-static-border-color-active);color:var(--spectrum-actionbutton-static-color)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-active .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-static-color)}.Dniwja_spectrum-ActionButton--staticColor:disabled{background-color:var(--spectrum-actionbutton-static-background-color-disabled);border-color:var(--spectrum-actionbutton-static-border-color-disabled);color:var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticColor:disabled .Dniwja_spectrum-Icon,.Dniwja_spectrum-ActionButton--staticColor:disabled .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-disabled{background-color:var(--spectrum-actionbutton-static-background-color-disabled);border-color:var(--spectrum-actionbutton-static-border-color-disabled);color:var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-disabled .Dniwja_spectrum-Icon,.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-disabled .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected{background-color:var(--spectrum-actionbutton-static-background-color-selected);border-color:var(--spectrum-actionbutton-static-border-color-selected);color:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_focus-ring{background-color:var(--spectrum-actionbutton-static-background-color-selected-focus);border-color:var(--spectrum-actionbutton-static-background-color-selected-focus);color:var(--spectrum-actionbutton-static-color-selected);box-shadow:none}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_focus-ring .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-hovered{background-color:var(--spectrum-actionbutton-static-background-color-selected-hover);border-color:var(--spectrum-actionbutton-static-background-color-selected-hover);color:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-hovered .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-active{background-color:var(--spectrum-actionbutton-static-background-color-selected-hover);border-color:var(--spectrum-actionbutton-static-background-color-selected-hover);color:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-active .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected:disabled{background-color:var(--spectrum-actionbutton-static-background-color-selected-disabled);border-color:var(--spectrum-actionbutton-static-border-color-selected-disabled);color:var(--spectrum-actionbutton-static-color-selected-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected:disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected:disabled .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-disabled{background-color:var(--spectrum-actionbutton-static-background-color-selected-disabled);border-color:var(--spectrum-actionbutton-static-border-color-selected-disabled);color:var(--spectrum-actionbutton-static-color-selected-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-selected.Dniwja_is-disabled .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected{background-color:var(--spectrum-actionbutton-static-background-color-selected);border-color:var(--spectrum-actionbutton-static-border-color-selected);color:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected.Dniwja_focus-ring{background-color:var(--spectrum-actionbutton-static-background-color-selected-focus);border-color:var(--spectrum-actionbutton-static-background-color-selected-focus);color:var(--spectrum-actionbutton-static-color-selected);box-shadow:none}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected.Dniwja_focus-ring .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected.Dniwja_is-hovered{background-color:var(--spectrum-actionbutton-static-background-color-selected-hover);border-color:var(--spectrum-actionbutton-static-background-color-selected-hover);color:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected.Dniwja_is-hovered .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected.Dniwja_is-active{background-color:var(--spectrum-actionbutton-static-background-color-selected-hover);border-color:var(--spectrum-actionbutton-static-background-color-selected-hover);color:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected.Dniwja_is-active .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected:disabled{background-color:var(--spectrum-actionbutton-static-background-color-selected-disabled);border-color:var(--spectrum-actionbutton-static-border-color-selected-disabled);color:var(--spectrum-actionbutton-static-color-selected-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected:disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected:disabled .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected.Dniwja_is-disabled{background-color:var(--spectrum-actionbutton-static-background-color-selected-disabled);border-color:var(--spectrum-actionbutton-static-border-color-selected-disabled);color:var(--spectrum-actionbutton-static-color-selected-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected.Dniwja_is-disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-actionbutton-static-color-selected-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-selected.Dniwja_is-disabled .Dniwja_spectrum-ActionButton-hold{fill:var(--spectrum-actionbutton-static-color-disabled)}.Dniwja_spectrum-ActionButton--staticColor.Dniwja_spectrum-ActionButton--quiet{--spectrum-actionbutton-static-background-color: transparent;--spectrum-actionbutton-static-background-color-disabled: transparent;--spectrum-actionbutton-static-border-color: transparent;--spectrum-actionbutton-static-border-color-disabled: transparent;--spectrum-actionbutton-static-border-color-selected-hover: transparent;--spectrum-actionbutton-static-border-color-focus: transparent;--spectrum-actionbutton-static-border-color-active: transparent;--spectrum-actionbutton-static-border-color-selected-disabled: transparent}.Dniwja_spectrum-LogicButton--and{background-color:var(--spectrum-global-color-static-blue-600, #1473e6);border-color:var(--spectrum-global-color-static-blue-600, #1473e6);color:var(--spectrum-logicbutton-and-text-color, var(--spectrum-global-color-static-white))}.Dniwja_spectrum-LogicButton--and.Dniwja_is-hovered{background-color:var(--spectrum-global-color-static-blue-700, #0d66d0);border-color:var(--spectrum-global-color-static-blue-700, #0d66d0);color:var(--spectrum-logicbutton-and-text-color, var(--spectrum-global-color-static-white))}.Dniwja_spectrum-LogicButton--and:disabled,.Dniwja_spectrum-LogicButton--and.Dniwja_is-disabled{background-color:var(--spectrum-logicbutton-and-background-color-disabled, var(--spectrum-global-color-gray-200));border-color:var(--spectrum-logicbutton-and-border-color-disabled, var(--spectrum-global-color-gray-200));color:var(--spectrum-logicbutton-and-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.Dniwja_spectrum-LogicButton--or{background-color:var(--spectrum-global-color-static-magenta-500, #d83790);border-color:var(--spectrum-global-color-static-magenta-500, #d83790);color:var(--spectrum-logicbutton-or-text-color, var(--spectrum-global-color-static-white))}.Dniwja_spectrum-LogicButton--or.Dniwja_is-hovered{background-color:var(--spectrum-global-color-static-magenta-600, #ca2982);border-color:var(--spectrum-global-color-static-magenta-600, #ca2982);color:var(--spectrum-logicbutton-or-text-color, var(--spectrum-global-color-static-white))}.Dniwja_spectrum-LogicButton--or:disabled,.Dniwja_spectrum-LogicButton--or.Dniwja_is-disabled{background-color:var(--spectrum-logicbutton-and-background-color-disabled, var(--spectrum-global-color-gray-200));border-color:var(--spectrum-logicbutton-and-border-color-disabled, var(--spectrum-global-color-gray-200));color:var(--spectrum-logicbutton-and-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.Dniwja_spectrum-FieldButton{color:var(--spectrum-fieldbutton-text-color, var(--spectrum-alias-text-color));background-color:var(--spectrum-fieldbutton-background-color, var(--spectrum-global-color-gray-75));border-color:var(--spectrum-fieldbutton-border-color, var(--spectrum-alias-border-color))}.Dniwja_spectrum-FieldButton .Dniwja_spectrum-Icon{fill:var(--spectrum-fieldbutton-icon-color, var(--spectrum-alias-icon-color))}.Dniwja_spectrum-FieldButton.Dniwja_is-hovered{color:var(--spectrum-fieldbutton-text-color-hover, var(--spectrum-alias-text-color-hover));background-color:var(--spectrum-fieldbutton-background-color-hover, var(--spectrum-global-color-gray-50));border-color:var(--spectrum-fieldbutton-border-color-hover, var(--spectrum-alias-border-color-hover))}.Dniwja_spectrum-FieldButton.Dniwja_is-hovered .Dniwja_spectrum-Icon{fill:var(--spectrum-fieldbutton-icon-color-hover, var(--spectrum-alias-icon-color-hover))}.Dniwja_spectrum-FieldButton.Dniwja_is-active{background-color:var(--spectrum-fieldbutton-background-color-down, var(--spectrum-global-color-gray-200));border-color:var(--spectrum-fieldbutton-border-color-down, var(--spectrum-alias-border-color-down))}.Dniwja_spectrum-FieldButton.Dniwja_is-active .Dniwja_spectrum-Icon{fill:var(--spectrum-fieldbutton-icon-color-down, var(--spectrum-alias-icon-color-down))}.Dniwja_spectrum-FieldButton.Dniwja_is-selected{background-color:var(--spectrum-fieldbutton-background-color-down, var(--spectrum-global-color-gray-200));border-color:var(--spectrum-fieldbutton-border-color-down, var(--spectrum-alias-border-color-down))}.Dniwja_spectrum-FieldButton.Dniwja_is-selected .Dniwja_spectrum-Icon{fill:var(--spectrum-fieldbutton-icon-color-down, var(--spectrum-alias-icon-color-down))}.Dniwja_spectrum-FieldButton.Dniwja_focus-ring{background-color:var(--spectrum-fieldbutton-background-color-key-focus, var(--spectrum-global-color-gray-50));border-color:var(--spectrum-fieldbutton-border-color-key-focus, var(--spectrum-alias-border-color-focus));color:var(--spectrum-fieldbutton-text-color-key-focus, var(--spectrum-alias-text-color-hover))}.Dniwja_spectrum-FieldButton.Dniwja_focus-ring .Dniwja_spectrum-Icon{fill:var(--spectrum-fieldbutton-icon-color-key-focus, var(--spectrum-alias-icon-color-focus))}.Dniwja_spectrum-FieldButton.Dniwja_focus-ring.Dniwja_is-placeholder{fill:var(--spectrum-fieldbutton-placeholder-text-color-key-focus, var(--spectrum-alias-placeholder-text-color-hover))}.Dniwja_spectrum-FieldButton.Dniwja_is-focused{background-color:var(--spectrum-fieldbutton-background-color-key-focus, var(--spectrum-global-color-gray-50));border-color:var(--spectrum-fieldbutton-border-color-key-focus, var(--spectrum-alias-border-color-focus));color:var(--spectrum-fieldbutton-text-color-key-focus, var(--spectrum-alias-text-color-hover))}.Dniwja_spectrum-FieldButton.Dniwja_is-focused .Dniwja_spectrum-Icon{fill:var(--spectrum-fieldbutton-icon-color-key-focus, var(--spectrum-alias-icon-color-focus))}.Dniwja_spectrum-FieldButton.Dniwja_is-focused.Dniwja_is-placeholder{fill:var(--spectrum-fieldbutton-placeholder-text-color-key-focus, var(--spectrum-alias-placeholder-text-color-hover))}.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid{border-color:var(--spectrum-fieldbutton-border-color-error, var(--spectrum-global-color-red-500))}.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-hovered{border-color:var(--spectrum-fieldbutton-border-color-error-hover, var(--spectrum-global-color-red-600))}.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-active,.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-selected{border-color:var(--spectrum-fieldbutton-border-color-error-down, var(--spectrum-global-color-red-600))}.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_focus-ring,.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-focused{border-color:var(--spectrum-fieldbutton-border-color-error-key-focus, var(--spectrum-alias-border-color-focus))}.Dniwja_spectrum-FieldButton:disabled{background-color:var(--spectrum-fieldbutton-background-color-disabled, var(--spectrum-global-color-gray-200));color:var(--spectrum-fieldbutton-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.Dniwja_spectrum-FieldButton:disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-fieldbutton-icon-color-disabled, var(--spectrum-alias-icon-color-disabled))}.Dniwja_spectrum-FieldButton.Dniwja_is-disabled{background-color:var(--spectrum-fieldbutton-background-color-disabled, var(--spectrum-global-color-gray-200));color:var(--spectrum-fieldbutton-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.Dniwja_spectrum-FieldButton.Dniwja_is-disabled .Dniwja_spectrum-Icon{fill:var(--spectrum-fieldbutton-icon-color-disabled, var(--spectrum-alias-icon-color-disabled))}.Dniwja_spectrum-FieldButton--quiet{color:var(--spectrum-fieldbutton-text-color, var(--spectrum-alias-text-color));border-color:var(--spectrum-fieldbutton-quiet-border-color, var(--spectrum-alias-border-color-transparent));background-color:var(--spectrum-fieldbutton-quiet-background-color, var(--spectrum-alias-background-color-transparent))}.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-hovered{background-color:var(--spectrum-fieldbutton-quiet-background-color-hover, var(--spectrum-alias-background-color-transparent));color:var(--spectrum-fieldbutton-text-color-hover, var(--spectrum-alias-text-color-hover))}.Dniwja_spectrum-FieldButton--quiet.Dniwja_focus-ring{background-color:var(--spectrum-fieldbutton-quiet-background-color-key-focus, var(--spectrum-alias-background-color-transparent))}.Dniwja_spectrum-FieldButton--quiet.Dniwja_focus-ring.Dniwja_is-placeholder{color:var(--spectrum-fieldbutton-quiet-placeholder-text-color-key-focus, var(--spectrum-alias-placeholder-text-color-hover))}.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-focused{background-color:var(--spectrum-fieldbutton-quiet-background-color-key-focus, var(--spectrum-alias-background-color-transparent))}.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-focused.Dniwja_is-placeholder{color:var(--spectrum-fieldbutton-quiet-placeholder-text-color-key-focus, var(--spectrum-alias-placeholder-text-color-hover))}.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-active{background-color:var(--spectrum-fieldbutton-quiet-background-color-down, var(--spectrum-alias-background-color-transparent));border-color:var(--spectrum-fieldbutton-quiet-border-color-down, var(--spectrum-alias-border-color-transparent))}.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-active.Dniwja_focus-ring,.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-active.Dniwja_is-focused{background-color:var(--spectrum-fieldbutton-quiet-background-color-key-focus, var(--spectrum-alias-background-color-transparent))}.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-selected{background-color:var(--spectrum-fieldbutton-quiet-background-color-down, var(--spectrum-alias-background-color-transparent));border-color:var(--spectrum-fieldbutton-quiet-border-color-down, var(--spectrum-alias-border-color-transparent))}.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-selected.Dniwja_focus-ring,.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-selected.Dniwja_is-focused{background-color:var(--spectrum-fieldbutton-quiet-background-color-key-focus, var(--spectrum-alias-background-color-transparent))}.Dniwja_spectrum-FieldButton--quiet:disabled,.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-disabled{background-color:var(--spectrum-fieldbutton-quiet-background-color-disabled, var(--spectrum-alias-background-color-transparent));color:var(--spectrum-fieldbutton-text-color-disabled, var(--spectrum-alias-text-color-disabled))}@media (forced-colors: active){.Dniwja_spectrum-ActionButton,.Dniwja_spectrum-ClearButton,.Dniwja_spectrum-LogicButton,.Dniwja_spectrum-FieldButton{forced-color-adjust:none;--spectrum-clearbutton-medium-icon-color: ButtonText;--spectrum-clearbutton-medium-icon-color-disabled: GrayText;--spectrum-clearbutton-medium-icon-color-down: Highlight;--spectrum-clearbutton-medium-icon-color-hover: Highlight;--spectrum-clearbutton-medium-icon-color-key-focus: Highlight;--spectrum-fieldbutton-background-color: ButtonFace;--spectrum-fieldbutton-background-color-disabled: ButtonFace;--spectrum-fieldbutton-background-color-down: ButtonFace;--spectrum-fieldbutton-background-color-hover: ButtonFace;--spectrum-fieldbutton-background-color-key-focus: ButtonFace;--spectrum-fieldbutton-border-color: ButtonText;--spectrum-fieldbutton-border-color-down: Highlight;--spectrum-fieldbutton-border-color-error: ButtonText;--spectrum-fieldbutton-border-color-error-down: Highlight;--spectrum-fieldbutton-border-color-error-hover: Highlight;--spectrum-fieldbutton-border-color-error-key-focus: Highlight;--spectrum-fieldbutton-border-color-hover: Highlight;--spectrum-fieldbutton-border-color-key-focus: Highlight;--spectrum-fieldbutton-icon-color-disabled: GrayText;--spectrum-fieldbutton-placeholder-text-color-key-focus: ButtonText;--spectrum-fieldbutton-quiet-background-color: ButtonFace;--spectrum-fieldbutton-quiet-background-color-disabled: ButtonFace;--spectrum-fieldbutton-quiet-background-color-down: ButtonFace;--spectrum-fieldbutton-quiet-background-color-hover: ButtonFace;--spectrum-fieldbutton-quiet-background-color-key-focus: ButtonFace;--spectrum-fieldbutton-quiet-border-color: ButtonFace;--spectrum-fieldbutton-quiet-border-color-down: Highlight;--spectrum-fieldbutton-quiet-placeholder-text-color-key-focus: ButtonText;--spectrum-fieldbutton-text-color: ButtonText;--spectrum-fieldbutton-text-color-disabled: GrayText;--spectrum-fieldbutton-text-color-hover: ButtonText;--spectrum-fieldbutton-text-color-key-focus: ButtonText;--spectrum-logicbutton-and-background-color: ButtonFace;--spectrum-logicbutton-and-background-color-disabled: ButtonFace;--spectrum-logicbutton-and-background-color-hover: ButtonFace;--spectrum-logicbutton-and-border-color: ButtonText;--spectrum-logicbutton-and-border-color-disabled: GrayText;--spectrum-logicbutton-and-border-color-hover: Highlight;--spectrum-logicbutton-and-text-color: ButtonText;--spectrum-logicbutton-and-text-color-disabled: GrayText;--spectrum-logicbutton-or-background-color: ButtonFace;--spectrum-logicbutton-or-background-color-hover: ButtonFace;--spectrum-logicbutton-or-border-color: ButtonText;--spectrum-logicbutton-or-border-color-hover: Highlight;--spectrum-logicbutton-or-text-color: ButtonText;--spectrum-button-primary-focus-ring-color-key-focus: CanvasText;--spectrum-button-primary-focus-ring-size-key-focus: 3px;--spectrum-dropdown-border-color-key-focus: Highlight}.Dniwja_spectrum-Button--overBackground{--spectrum-button-over-background-color: ButtonText}.Dniwja_spectrum-ActionButton--staticColor,.Dniwja_spectrum-ActionButton--staticWhite,.Dniwja_spectrum-ActionButton--staticBlack,.Dniwja_spectrum-ActionButton--staticWhite.Dniwja_spectrum-ActionButton--quiet,.Dniwja_spectrum-ActionButton--staticBlack.Dniwja_spectrum-ActionButton--quiet{mix-blend-mode:normal;--spectrum-actionbutton-static-background-color: ButtonFace;--spectrum-actionbutton-static-background-color-disabled: var(--spectrum-high-contrast-transparent);--spectrum-actionbutton-static-background-color-selected-disabled: GrayText;--spectrum-actionbutton-static-background-color-hover: ButtonFace;--spectrum-actionbutton-static-background-color-focus: ButtonFace;--spectrum-actionbutton-static-background-color-active: ButtonFace;--spectrum-actionbutton-static-background-color-selected: Highlight;--spectrum-actionbutton-static-background-color-selected-hover: Highlight;--spectrum-actionbutton-static-background-color-selected-focus: Highlight;--spectrum-actionbutton-static-background-color-selected-active: Highlight;--spectrum-actionbutton-static-border-color: ButtonText;--spectrum-actionbutton-static-border-color-hover: Highlight;--spectrum-actionbutton-static-border-color-active: ButtonText;--spectrum-actionbutton-static-border-color-focus: CanvasText;--spectrum-actionbutton-static-border-color-disabled: GrayText;--spectrum-actionbutton-static-border-color-selected-disabled: GrayText;--spectrum-actionbutton-static-color: ButtonText;--spectrum-actionbutton-static-color-selected: HighlightText;--spectrum-actionbutton-static-color-disabled: GrayText;--spectrum-actionbutton-static-color-selected-disabled: ButtonFace}}.JuTe6q_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.JuTe6q_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.JuTe6q_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.JuTe6q_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.JuTe6q_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.JuTe6q_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.JuTe6q_i18nFontFamily:lang(zh-SG),.JuTe6q_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.JuTe6q_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.JuTe6q_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.JuTe6q_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.JuTe6q_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.JuTe6q_spectrum-FocusRing.JuTe6q_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.JuTe6q_spectrum-FocusRing--quiet:after{border-radius:0}.JuTe6q_spectrum-FocusRing--quiet.JuTe6q_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.JuTe6q_spectrum-FocusRing,.JuTe6q_spectrum-FocusRing-ring,.JuTe6q_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.JuTe6q_spectrum-FocusRing,.JuTe6q_spectrum-FocusRing-ring,.JuTe6q_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.JuTe6q_spectrum{background-color:var(--spectrum-alias-background-color-default, var(--spectrum-global-color-gray-100));-webkit-tap-highlight-color:#0000}._5QszkG_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}._5QszkG_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}._5QszkG_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}._5QszkG_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}._5QszkG_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}._5QszkG_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}._5QszkG_i18nFontFamily:lang(zh-SG),._5QszkG_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}._5QszkG_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}._5QszkG_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}._5QszkG_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}._5QszkG_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}._5QszkG_spectrum-FocusRing._5QszkG_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}._5QszkG_spectrum-FocusRing--quiet:after{border-radius:0}._5QszkG_spectrum-FocusRing--quiet._5QszkG_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){._5QszkG_spectrum-FocusRing,._5QszkG_spectrum-FocusRing-ring,._5QszkG_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(._5QszkG_spectrum-FocusRing,._5QszkG_spectrum-FocusRing-ring,._5QszkG_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}._5QszkG_spectrum{font-size:var(--spectrum-alias-font-size-default, var(--spectrum-global-dimension-font-size-100));color:var(--spectrum-body-text-color, var(--spectrum-alias-text-color))}._5QszkG_spectrum,._5QszkG_spectrum-Body{font-size:var(--spectrum-body-4-text-size, var(--spectrum-alias-font-size-default));font-weight:var(--spectrum-body-4-text-font-weight, var(--spectrum-alias-body-text-font-weight));line-height:var(--spectrum-body-4-text-line-height, var(--spectrum-alias-body-text-line-height));font-style:var(--spectrum-body-4-text-font-style, var(--spectrum-global-font-style-regular))}._5QszkG_spectrum-Body--italic{font-style:var(--spectrum-body-4-emphasis-text-font-style, var(--spectrum-global-font-style-italic))}.yxBNXG_spectrum-Icon,.yxBNXG_spectrum-UIIcon{color:inherit;fill:currentColor;pointer-events:none;display:inline-block}:is(.yxBNXG_spectrum-Icon,.yxBNXG_spectrum-UIIcon):not(:root){overflow:hidden}@media (forced-colors: active){.yxBNXG_spectrum-Icon,.yxBNXG_spectrum-UIIcon{forced-color-adjust:auto}}.yxBNXG_spectrum-Icon--sizeXXS,.yxBNXG_spectrum-Icon--sizeXXS img,.yxBNXG_spectrum-Icon--sizeXXS svg{block-size:calc(var(--spectrum-alias-workflow-icon-size, var(--spectrum-global-dimension-size-225)) / 2);inline-size:calc(var(--spectrum-alias-workflow-icon-size, var(--spectrum-global-dimension-size-225)) / 2)}.yxBNXG_spectrum-Icon--sizeXS,.yxBNXG_spectrum-Icon--sizeXS img,.yxBNXG_spectrum-Icon--sizeXS svg{block-size:calc(var(--spectrum-global-dimension-size-300) / 2);inline-size:calc(var(--spectrum-global-dimension-size-300) / 2)}.yxBNXG_spectrum-Icon--sizeS,.yxBNXG_spectrum-Icon--sizeS img,.yxBNXG_spectrum-Icon--sizeS svg{block-size:var(--spectrum-alias-workflow-icon-size, var(--spectrum-global-dimension-size-225));inline-size:var(--spectrum-alias-workflow-icon-size, var(--spectrum-global-dimension-size-225))}.yxBNXG_spectrum-Icon--sizeM,.yxBNXG_spectrum-Icon--sizeM img,.yxBNXG_spectrum-Icon--sizeM svg{block-size:var(--spectrum-global-dimension-size-300);inline-size:var(--spectrum-global-dimension-size-300)}.yxBNXG_spectrum-Icon--sizeL,.yxBNXG_spectrum-Icon--sizeL img,.yxBNXG_spectrum-Icon--sizeL svg{block-size:calc(var(--spectrum-alias-workflow-icon-size, var(--spectrum-global-dimension-size-225)) * 2);inline-size:calc(var(--spectrum-alias-workflow-icon-size, var(--spectrum-global-dimension-size-225)) * 2)}.yxBNXG_spectrum-Icon--sizeXL,.yxBNXG_spectrum-Icon--sizeXL img,.yxBNXG_spectrum-Icon--sizeXL svg{block-size:calc(var(--spectrum-global-dimension-size-300) * 2);inline-size:calc(var(--spectrum-global-dimension-size-300) * 2)}.yxBNXG_spectrum-Icon--sizeXXL,.yxBNXG_spectrum-Icon--sizeXXL img,.yxBNXG_spectrum-Icon--sizeXXL svg{block-size:calc(var(--spectrum-global-dimension-size-300) * 3);inline-size:calc(var(--spectrum-global-dimension-size-300) * 3)}.yxBNXG_spectrum--medium .yxBNXG_spectrum-UIIcon--large{display:none}.yxBNXG_spectrum--medium .yxBNXG_spectrum-UIIcon--medium{display:inline}.yxBNXG_spectrum--large .yxBNXG_spectrum-UIIcon--medium{display:none}.yxBNXG_spectrum--large .yxBNXG_spectrum-UIIcon--large{display:inline}.yxBNXG_spectrum--large{--ui-icon-large-display: block;--ui-icon-medium-display: none}.yxBNXG_spectrum--medium{--ui-icon-medium-display: block;--ui-icon-large-display: none}.yxBNXG_spectrum-UIIcon--large{display:var(--ui-icon-large-display)}.yxBNXG_spectrum-UIIcon--medium{display:var(--ui-icon-medium-display)}.yxBNXG_spectrum-UIIcon-AlertMedium{inline-size:var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225));block-size:var(--spectrum-icon-alert-medium-height, var(--spectrum-global-dimension-size-225))}.yxBNXG_spectrum-UIIcon-AlertSmall{inline-size:var(--spectrum-icon-alert-small-width, var(--spectrum-global-dimension-size-175));block-size:var(--spectrum-icon-alert-small-height, var(--spectrum-global-dimension-size-175))}.yxBNXG_spectrum-UIIcon-ArrowDownSmall{inline-size:var(--spectrum-icon-arrow-down-small-width, var(--spectrum-global-dimension-size-100));block-size:var(--spectrum-icon-arrow-down-small-height)}.yxBNXG_spectrum-UIIcon-ArrowLeftMedium{inline-size:var(--spectrum-icon-arrow-left-medium-width, var(--spectrum-global-dimension-size-175));block-size:var(--spectrum-icon-arrow-left-medium-height)}.yxBNXG_spectrum-UIIcon-Asterisk{inline-size:var(--spectrum-fieldlabel-asterisk-size, var(--spectrum-global-dimension-size-100));block-size:var(--spectrum-fieldlabel-asterisk-size, var(--spectrum-global-dimension-size-100))}.yxBNXG_spectrum-UIIcon-CheckmarkMedium{inline-size:var(--spectrum-icon-checkmark-medium-width);block-size:var(--spectrum-icon-checkmark-medium-height)}.yxBNXG_spectrum-UIIcon-CheckmarkSmall{inline-size:var(--spectrum-icon-checkmark-small-width);block-size:var(--spectrum-icon-checkmark-small-height)}.yxBNXG_spectrum-UIIcon-ChevronDownMedium{inline-size:var(--spectrum-icon-chevron-down-medium-width);block-size:var(--spectrum-icon-chevron-down-medium-height, var(--spectrum-global-dimension-size-75))}.yxBNXG_spectrum-UIIcon-ChevronDownSmall{inline-size:var(--spectrum-icon-chevron-down-small-width, var(--spectrum-global-dimension-size-100));block-size:var(--spectrum-icon-chevron-down-small-height, var(--spectrum-global-dimension-size-75))}.yxBNXG_spectrum-UIIcon-ChevronLeftLarge{inline-size:var(--spectrum-icon-chevron-left-large-width);block-size:var(--spectrum-icon-chevron-left-large-height, var(--spectrum-global-dimension-size-200))}.yxBNXG_spectrum-UIIcon-ChevronLeftMedium{inline-size:var(--spectrum-icon-chevron-left-medium-width, var(--spectrum-global-dimension-size-75));block-size:var(--spectrum-icon-chevron-left-medium-height)}.yxBNXG_spectrum-UIIcon-ChevronRightLarge{inline-size:var(--spectrum-icon-chevron-right-large-width);block-size:var(--spectrum-icon-chevron-right-large-height, var(--spectrum-global-dimension-size-200))}.yxBNXG_spectrum-UIIcon-ChevronRightMedium{inline-size:var(--spectrum-icon-chevron-right-medium-width, var(--spectrum-global-dimension-size-75));block-size:var(--spectrum-icon-chevron-right-medium-height)}.yxBNXG_spectrum-UIIcon-ChevronRightSmall{inline-size:var(--spectrum-icon-chevron-right-small-width, var(--spectrum-global-dimension-size-75));block-size:var(--spectrum-icon-chevron-right-small-height, var(--spectrum-global-dimension-size-100))}.yxBNXG_spectrum-UIIcon-ChevronUpSmall{inline-size:var(--spectrum-icon-chevron-up-small-width, var(--spectrum-global-dimension-size-100));block-size:var(--spectrum-icon-chevron-up-small-height, var(--spectrum-global-dimension-size-75))}.yxBNXG_spectrum-UIIcon-CornerTriangle{inline-size:var(--spectrum-icon-cornertriangle-width, var(--spectrum-global-dimension-size-65));block-size:var(--spectrum-icon-cornertriangle-height, var(--spectrum-global-dimension-size-65))}.yxBNXG_spectrum-UIIcon-CrossLarge{inline-size:var(--spectrum-icon-cross-large-width);block-size:var(--spectrum-icon-cross-large-height)}.yxBNXG_spectrum-UIIcon-CrossMedium{inline-size:var(--spectrum-icon-cross-medium-width, var(--spectrum-global-dimension-size-100));block-size:var(--spectrum-icon-cross-medium-height, var(--spectrum-global-dimension-size-100))}.yxBNXG_spectrum-UIIcon-CrossSmall{inline-size:var(--spectrum-icon-cross-small-width, var(--spectrum-global-dimension-size-100));block-size:var(--spectrum-icon-cross-small-height, var(--spectrum-global-dimension-size-100))}.yxBNXG_spectrum-UIIcon-DashSmall{inline-size:var(--spectrum-icon-dash-small-width);block-size:var(--spectrum-icon-dash-small-height)}.yxBNXG_spectrum-UIIcon-DoubleGripper{inline-size:var(--spectrum-icon-doublegripper-width, var(--spectrum-global-dimension-size-200));block-size:var(--spectrum-icon-doublegripper-height, var(--spectrum-global-dimension-size-50))}.yxBNXG_spectrum-UIIcon-FolderBreadcrumb{inline-size:var(--spectrum-icon-folderbreadcrumb-width, var(--spectrum-global-dimension-size-225));block-size:var(--spectrum-icon-folderbreadcrumb-height, var(--spectrum-global-dimension-size-225))}.yxBNXG_spectrum-UIIcon-HelpMedium{inline-size:var(--spectrum-icon-info-medium-width, var(--spectrum-global-dimension-size-225));block-size:var(--spectrum-icon-info-medium-height, var(--spectrum-global-dimension-size-225))}.yxBNXG_spectrum-UIIcon-HelpSmall{inline-size:var(--spectrum-icon-info-small-width, var(--spectrum-global-dimension-size-175));block-size:var(--spectrum-icon-info-small-height, var(--spectrum-global-dimension-size-175))}.yxBNXG_spectrum-UIIcon-InfoMedium{inline-size:var(--spectrum-icon-info-medium-width, var(--spectrum-global-dimension-size-225));block-size:var(--spectrum-icon-info-medium-height, var(--spectrum-global-dimension-size-225))}.yxBNXG_spectrum-UIIcon-InfoSmall{inline-size:var(--spectrum-icon-info-small-width, var(--spectrum-global-dimension-size-175));block-size:var(--spectrum-icon-info-small-height, var(--spectrum-global-dimension-size-175))}.yxBNXG_spectrum-UIIcon-ListGripper{inline-size:var(--spectrum-global-dimension-size-65);block-size:var(--spectrum-global-dimension-size-150)}.yxBNXG_spectrum-UIIcon-Magnifier{inline-size:var(--spectrum-icon-magnifier-width, var(--spectrum-global-dimension-size-200));block-size:var(--spectrum-icon-magnifier-height, var(--spectrum-global-dimension-size-200))}.yxBNXG_spectrum-UIIcon-SkipLeft{inline-size:var(--spectrum-icon-skip-left-width);block-size:var(--spectrum-icon-skip-left-height)}.yxBNXG_spectrum-UIIcon-SkipRight{inline-size:var(--spectrum-icon-skip-right-width);block-size:var(--spectrum-icon-skip-right-height)}.yxBNXG_spectrum-UIIcon-Star{inline-size:var(--spectrum-icon-star-width, var(--spectrum-global-dimension-size-225));block-size:var(--spectrum-icon-star-height, var(--spectrum-global-dimension-size-225))}.yxBNXG_spectrum-UIIcon-StarOutline{inline-size:var(--spectrum-icon-star-outline-width, var(--spectrum-global-dimension-size-225));block-size:var(--spectrum-icon-star-outline-height, var(--spectrum-global-dimension-size-225))}.yxBNXG_spectrum-UIIcon-SuccessMedium{inline-size:var(--spectrum-icon-success-medium-width, var(--spectrum-global-dimension-size-225));block-size:var(--spectrum-icon-success-medium-height, var(--spectrum-global-dimension-size-225))}.yxBNXG_spectrum-UIIcon-SuccessSmall{inline-size:var(--spectrum-icon-success-small-width, var(--spectrum-global-dimension-size-175));block-size:var(--spectrum-icon-success-small-height, var(--spectrum-global-dimension-size-175))}.yxBNXG_spectrum-UIIcon-TripleGripper{inline-size:var(--spectrum-icon-triplegripper-width);block-size:var(--spectrum-icon-triplegripper-height, var(--spectrum-global-dimension-size-85))}.OhnpTq_spectrum-Popover.OhnpTq_react-spectrum-Popover{visibility:visible}.OhnpTq_spectrum-Popover .OhnpTq_spectrum-Dialog-content{max-height:initial}.OhnpTq_spectrum-Modal-wrapper.OhnpTq_react-spectrum-Modal-wrapper,.OhnpTq_spectrum-Modal.OhnpTq_react-spectrum-Modal,.OhnpTq_spectrum-Tray.OhnpTq_react-spectrum-Tray{visibility:visible}.cH0MeW_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.cH0MeW_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.cH0MeW_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.cH0MeW_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.cH0MeW_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.cH0MeW_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.cH0MeW_i18nFontFamily:lang(zh-SG),.cH0MeW_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.cH0MeW_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.cH0MeW_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.cH0MeW_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.cH0MeW_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.cH0MeW_spectrum-FocusRing.cH0MeW_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.cH0MeW_spectrum-FocusRing--quiet:after{border-radius:0}.cH0MeW_spectrum-FocusRing--quiet.cH0MeW_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.cH0MeW_spectrum-FocusRing,.cH0MeW_spectrum-FocusRing-ring,.cH0MeW_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.cH0MeW_spectrum-FocusRing,.cH0MeW_spectrum-FocusRing-ring,.cH0MeW_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.cH0MeW_spectrum-overlay{visibility:hidden;opacity:0;transition:transform var(--spectrum-global-animation-duration-100, .13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100, .13s) ease-in-out,visibility 0s linear var(--spectrum-global-animation-duration-100, .13s);pointer-events:none}.cH0MeW_spectrum-overlay--open{visibility:visible;opacity:.9999;pointer-events:auto;transition-delay:0s}.cH0MeW_spectrum-overlay--bottom--open{transform:translateY(var(--spectrum-overlay-positive-transform-distance))}.cH0MeW_spectrum-overlay--top--open{transform:translateY(var(--spectrum-overlay-negative-transform-distance))}.cH0MeW_spectrum-overlay--right--open{transform:translate(var(--spectrum-overlay-positive-transform-distance))}.cH0MeW_spectrum-overlay--left--open{transform:translate(var(--spectrum-overlay-negative-transform-distance))}.cH0MeW_spectrum-Popover{box-sizing:border-box;min-width:var(--spectrum-global-dimension-size-400);min-height:var(--spectrum-global-dimension-size-400);border-style:solid;border-width:var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin));border-radius:var(--spectrum-popover-border-radius, var(--spectrum-alias-border-radius-regular));outline:none;flex-direction:column;display:inline-flex;position:absolute;overflow:hidden}.cH0MeW_spectrum-Popover--withTip{overflow:visible}.cH0MeW_spectrum-Popover-tip{--spectrum-popover-tip-size: var(--spectrum-popover-tip-width, var(--spectrum-global-dimension-size-250));--spectrum-popover-tip-borderWidth: var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin));position:absolute;-webkit-transform:translate(0)}.cH0MeW_spectrum-Popover-tip .cH0MeW_spectrum-Popover-tip-triangle{stroke-linecap:square;stroke-linejoin:miter;stroke-width:var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin))}.cH0MeW_spectrum-Popover--dialog{min-width:270px;padding:30px 29px}.cH0MeW_spectrum-Popover--left.cH0MeW_spectrum-Popover--withTip{margin-right:13px}.cH0MeW_spectrum-Popover--left .cH0MeW_spectrum-Popover-tip{left:100%}.cH0MeW_spectrum-Popover--right.cH0MeW_spectrum-Popover--withTip{margin-left:13px}.cH0MeW_spectrum-Popover--right .cH0MeW_spectrum-Popover-tip{right:100%;transform:scaleX(-1)}:is(.cH0MeW_spectrum-Popover--left,.cH0MeW_spectrum-Popover--right) .cH0MeW_spectrum-Popover-tip{margin-top:calc(var(--spectrum-global-dimension-size-150) * -1);top:50%}.cH0MeW_spectrum-Popover--bottom.cH0MeW_spectrum-Popover--withTip{margin-top:13px}.cH0MeW_spectrum-Popover--bottom .cH0MeW_spectrum-Popover-tip{bottom:100%;transform:scaleY(-1)}.cH0MeW_spectrum-Popover--top.cH0MeW_spectrum-Popover--withTip{margin-bottom:13px}.cH0MeW_spectrum-Popover--top .cH0MeW_spectrum-Popover-tip{top:100%}:is(.cH0MeW_spectrum-Popover--bottom,.cH0MeW_spectrum-Popover--top) .cH0MeW_spectrum-Popover-tip{margin-left:calc(var(--spectrum-global-dimension-size-150) * -1);left:50%}.cH0MeW_spectrum-Popover{background-color:var(--spectrum-popover-background-color, var(--spectrum-global-color-gray-50));border-color:var(--spectrum-popover-border-color, var(--spectrum-alias-border-color-dark));-webkit-filter:drop-shadow(0 var(--spectrum-popover-shadow-offset-y, var(--spectrum-alias-dropshadow-offset-y)) var(--spectrum-popover-shadow-blur, var(--spectrum-alias-dropshadow-blur)) var(--spectrum-popover-shadow-color, var(--spectrum-alias-dropshadow-color)));will-change:filter;clip-path:inset(-30px)}.cH0MeW_spectrum-Popover .cH0MeW_spectrum-Popover-tip .cH0MeW_spectrum-Popover-tip-triangle{fill:var(--spectrum-popover-background-color, var(--spectrum-global-color-gray-50));stroke:var(--spectrum-popover-border-color, var(--spectrum-alias-border-color-dark))}@media (forced-colors: active){.cH0MeW_spectrum-Popover{--spectrum-popover-background-color: Canvas;--spectrum-popover-border-color: CanvasText}}.F-oYUa_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.F-oYUa_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.F-oYUa_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.F-oYUa_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.F-oYUa_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.F-oYUa_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.F-oYUa_i18nFontFamily:lang(zh-SG),.F-oYUa_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.F-oYUa_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.F-oYUa_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.F-oYUa_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.F-oYUa_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.F-oYUa_spectrum-FocusRing.F-oYUa_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.F-oYUa_spectrum-FocusRing--quiet:after{border-radius:0}.F-oYUa_spectrum-FocusRing--quiet.F-oYUa_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.F-oYUa_spectrum-FocusRing,.F-oYUa_spectrum-FocusRing-ring,.F-oYUa_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.F-oYUa_spectrum-FocusRing,.F-oYUa_spectrum-FocusRing-ring,.F-oYUa_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.F-oYUa_spectrum-overlay{visibility:hidden;opacity:0;transition:transform var(--spectrum-global-animation-duration-100, .13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100, .13s) ease-in-out,visibility 0s linear var(--spectrum-global-animation-duration-100, .13s);pointer-events:none}.F-oYUa_spectrum-overlay--open{visibility:visible;opacity:.9999;pointer-events:auto;transition-delay:0s}.F-oYUa_spectrum-overlay--bottom--open{transform:translateY(var(--spectrum-overlay-positive-transform-distance))}.F-oYUa_spectrum-overlay--top--open{transform:translateY(var(--spectrum-overlay-negative-transform-distance))}.F-oYUa_spectrum-overlay--right--open{transform:translate(var(--spectrum-overlay-positive-transform-distance))}.F-oYUa_spectrum-overlay--left--open{transform:translate(var(--spectrum-overlay-negative-transform-distance))}.F-oYUa_spectrum-Underlay{z-index:1;transition:opacity var(--spectrum-dialog-background-exit-animation-duration, var(--spectrum-global-animation-duration-300)) cubic-bezier(.5,0,1,1) var(--spectrum-dialog-background-exit-animation-delay, var(--spectrum-global-animation-duration-200)),visibility 0s linear calc(var(--spectrum-dialog-background-exit-animation-delay, var(--spectrum-global-animation-duration-200)) + var(--spectrum-dialog-background-exit-animation-duration, var(--spectrum-global-animation-duration-300)));position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}.F-oYUa_spectrum-Underlay.F-oYUa_spectrum-Underlay--transparent{background:none;transition:none}.F-oYUa_is-open{transition:opacity var(--spectrum-dialog-background-entry-animation-duration, var(--spectrum-global-animation-duration-600)) cubic-bezier(0,0,.4,1) 0s}.F-oYUa_spectrum-Underlay{background:var(--spectrum-dialog-underlay-background-color, var(--spectrum-alias-background-color-modal-overlay))}._0YML2q_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}._0YML2q_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}._0YML2q_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}._0YML2q_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}._0YML2q_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}._0YML2q_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}._0YML2q_i18nFontFamily:lang(zh-SG),._0YML2q_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}._0YML2q_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}._0YML2q_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}._0YML2q_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}._0YML2q_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}._0YML2q_spectrum-FocusRing._0YML2q_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}._0YML2q_spectrum-FocusRing--quiet:after{border-radius:0}._0YML2q_spectrum-FocusRing--quiet._0YML2q_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){._0YML2q_spectrum-FocusRing,._0YML2q_spectrum-FocusRing-ring,._0YML2q_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(._0YML2q_spectrum-FocusRing,._0YML2q_spectrum-FocusRing-ring,._0YML2q_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}._0YML2q_spectrum-overlay{visibility:hidden;opacity:0;transition:transform var(--spectrum-global-animation-duration-100, .13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100, .13s) ease-in-out,visibility 0s linear var(--spectrum-global-animation-duration-100, .13s);pointer-events:none}._0YML2q_spectrum-overlay--open{visibility:visible;opacity:.9999;pointer-events:auto;transition-delay:0s}._0YML2q_spectrum-overlay--bottom--open{transform:translateY(var(--spectrum-overlay-positive-transform-distance))}._0YML2q_spectrum-overlay--top--open{transform:translateY(var(--spectrum-overlay-negative-transform-distance))}._0YML2q_spectrum-overlay--right--open{transform:translate(var(--spectrum-overlay-positive-transform-distance))}._0YML2q_spectrum-overlay--left--open{transform:translate(var(--spectrum-overlay-negative-transform-distance))}._0YML2q_spectrum-Modal-wrapper{box-sizing:border-box;height:var(--spectrum-visual-viewport-height);visibility:hidden;pointer-events:none;z-index:2;transition:visibility 0s linear var(--spectrum-global-animation-duration-100, .13s);justify-content:center;align-items:center;width:100vw;display:flex;position:fixed;top:0;left:0}._0YML2q_spectrum-Modal-wrapper._0YML2q_is-open{visibility:visible}._0YML2q_spectrum-Modal{transform:translateY(var(--spectrum-dialog-entry-animation-distance, var(--spectrum-global-dimension-size-250)));z-index:2;max-height:calc(var(--spectrum-visual-viewport-height) * .9);min-width:var(--spectrum-dialog-min-width, var(--spectrum-global-dimension-static-size-3600));border-radius:var(--spectrum-dialog-border-radius, var(--spectrum-global-dimension-size-50));border-width:var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin));pointer-events:auto;transition:opacity var(--spectrum-dialog-exit-animation-duration, var(--spectrum-global-animation-duration-100)) cubic-bezier(.5,0,1,1) 0s,visibility 0s linear calc(0s + var(--spectrum-dialog-exit-animation-duration, var(--spectrum-global-animation-duration-100))),transform 0s linear calc(0s + var(--spectrum-dialog-exit-animation-duration, var(--spectrum-global-animation-duration-100)));outline:none;max-width:90vw}._0YML2q_is-open{transition:transform var(--spectrum-dialog-entry-animation-duration, var(--spectrum-global-animation-duration-500)) cubic-bezier(0,0,.4,1) var(--spectrum-dialog-entry-animation-delay, var(--spectrum-global-animation-duration-200)),opacity var(--spectrum-dialog-entry-animation-duration, var(--spectrum-global-animation-duration-500)) cubic-bezier(0,0,.4,1) var(--spectrum-dialog-entry-animation-delay, var(--spectrum-global-animation-duration-200));transform:translateY(0)}@media only screen and (device-width <= 400px),only screen and (device-height <= 350px){._0YML2q_spectrum-Modal--responsive{border-radius:0;width:100%;max-width:100%;height:100%;max-height:100%}._0YML2q_spectrum-Modal-wrapper ._0YML2q_spectrum-Modal--responsive{margin-top:0}}._0YML2q_spectrum-Modal--fullscreen{width:calc(100% - 80px);max-width:none;height:calc(100% - 80px);max-height:none;position:fixed;top:40px;right:40px;bottom:40px;left:40px}._0YML2q_spectrum-Modal--fullscreenTakeover{box-sizing:border-box;border:none;border-radius:0;max-width:none;max-height:none;position:fixed;top:0;right:0;bottom:0;left:0;transform:none}._0YML2q_spectrum-Modal--fullscreenTakeover._0YML2q_is-open{transform:none}@media (forced-colors: active){._0YML2q_spectrum-Modal:not(._0YML2q_spectrum-Modal--fullscreenTakeover){border-style:solid}}._0YML2q_spectrum-Modal{background:var(--spectrum-dialog-background-color, var(--spectrum-alias-background-color-default));border-color:var(--spectrum-alias-border-color-transparent, transparent)}.UuxJvG_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.UuxJvG_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.UuxJvG_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.UuxJvG_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.UuxJvG_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.UuxJvG_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.UuxJvG_i18nFontFamily:lang(zh-SG),.UuxJvG_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.UuxJvG_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.UuxJvG_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.UuxJvG_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.UuxJvG_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.UuxJvG_spectrum-FocusRing.UuxJvG_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.UuxJvG_spectrum-FocusRing--quiet:after{border-radius:0}.UuxJvG_spectrum-FocusRing--quiet.UuxJvG_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.UuxJvG_spectrum-FocusRing,.UuxJvG_spectrum-FocusRing-ring,.UuxJvG_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.UuxJvG_spectrum-FocusRing,.UuxJvG_spectrum-FocusRing-ring,.UuxJvG_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.UuxJvG_spectrum-overlay{visibility:hidden;opacity:0;transition:transform var(--spectrum-global-animation-duration-100, .13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100, .13s) ease-in-out,visibility 0s linear var(--spectrum-global-animation-duration-100, .13s);pointer-events:none}.UuxJvG_spectrum-overlay--open{visibility:visible;opacity:.9999;pointer-events:auto;transition-delay:0s}.UuxJvG_spectrum-overlay--bottom--open{transform:translateY(var(--spectrum-overlay-positive-transform-distance))}.UuxJvG_spectrum-overlay--top--open{transform:translateY(var(--spectrum-overlay-negative-transform-distance))}.UuxJvG_spectrum-overlay--right--open{transform:translate(var(--spectrum-overlay-positive-transform-distance))}.UuxJvG_spectrum-overlay--left--open{transform:translate(var(--spectrum-overlay-negative-transform-distance))}.UuxJvG_spectrum-Tray-wrapper{pointer-events:none;z-index:2;justify-content:center;width:100%;height:100vh;display:flex;position:fixed;top:0}.UuxJvG_spectrum-Tray-wrapper:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.UuxJvG_spectrum-Tray-wrapper:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.UuxJvG_spectrum-Tray-wrapper:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.UuxJvG_spectrum-Tray{--spectrum-tray-margin-top: 64px;--spectrum-tray-max-width: 450px;width:var(--spectrum-tray-width, 100%);max-width:var(--spectrum-tray-max-width, 375px);min-height:var(--spectrum-tray-min-height, var(--spectrum-global-dimension-static-size-800));max-height:calc(var(--spectrum-visual-viewport-height) - var(--spectrum-tray-margin-top));padding-bottom:max(calc(100vh - var(--spectrum-visual-viewport-height)),env(safe-area-inset-bottom));border-radius:var(--spectrum-tray-full-width-border-radius, var(--spectrum-alias-border-radius-regular)) var(--spectrum-tray-full-width-border-radius, var(--spectrum-alias-border-radius-regular)) var(--spectrum-tray-border-radius, 0px) var(--spectrum-tray-border-radius, 0px);transition:opacity var(--spectrum-dialog-exit-animation-duration, var(--spectrum-global-animation-duration-100)) cubic-bezier(.5,0,1,1) 0s,transform var(--spectrum-dialog-exit-animation-duration, var(--spectrum-global-animation-duration-100)) cubic-bezier(.5,0,1,1) 0s;outline:none;flex-direction:column;display:flex;position:absolute;bottom:0;overflow:hidden auto;transform:translateY(100%)}.UuxJvG_is-open{transition:transform var(--spectrum-dialog-entry-animation-duration, var(--spectrum-global-animation-duration-500)) cubic-bezier(0,0,.4,1) var(--spectrum-dialog-entry-animation-delay, var(--spectrum-global-animation-duration-200)),opacity var(--spectrum-dialog-entry-animation-duration, var(--spectrum-global-animation-duration-500)) cubic-bezier(0,0,.4,1) var(--spectrum-dialog-entry-animation-delay, var(--spectrum-global-animation-duration-200));transform:translateY(0)}.UuxJvG_spectrum-Tray--fixedHeight{height:calc(var(--spectrum-visual-viewport-height) - var(--spectrum-tray-margin-top));top:var(--spectrum-tray-margin-top)}@media (width <= 450px){.UuxJvG_spectrum-Tray{border-radius:var(--spectrum-tray-border-radius, 0px)}}@media (forced-colors: active){.UuxJvG_spectrum-Tray{border-width:var(--spectrum-alias-border-size-thin, var(--spectrum-global-dimension-static-size-10));border-style:solid solid none}}.UuxJvG_spectrum-Tray{background-color:var(--spectrum-tray-background-color)}.NW91UW_flex-container,.NW91UW_flex{display:flex}.NW91UW_flex-gap{--gap: 0px;--column-gap: var(--gap);--row-gap: var(--gap);margin:calc(var(--row-gap) / -2) calc(var(--column-gap) / -2);width:calc(100% + calc(var(--column-gap) + 1px));height:calc(100% + var(--row-gap))}.NW91UW_flex-container .NW91UW_flex-gap>*{margin:calc(var(--row-gap) / 2) calc(var(--column-gap) / 2)}.EuwYBq_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.EuwYBq_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.EuwYBq_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.EuwYBq_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.EuwYBq_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.EuwYBq_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.EuwYBq_i18nFontFamily:lang(zh-SG),.EuwYBq_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.EuwYBq_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.EuwYBq_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.EuwYBq_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.EuwYBq_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.EuwYBq_spectrum-FocusRing.EuwYBq_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.EuwYBq_spectrum-FocusRing--quiet:after{border-radius:0}.EuwYBq_spectrum-FocusRing--quiet.EuwYBq_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.EuwYBq_spectrum-FocusRing,.EuwYBq_spectrum-FocusRing-ring,.EuwYBq_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.EuwYBq_spectrum-FocusRing,.EuwYBq_spectrum-FocusRing-ring,.EuwYBq_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.EuwYBq_spectrum-Calendar{isolation:isolate;display:block}.EuwYBq_spectrum-Calendar--padded{margin:32px 24px}.EuwYBq_spectrum-Calendar-header{gap:var(--spectrum-global-dimension-size-300);grid-auto-columns:1fr;grid-auto-flow:column;width:100%;display:grid}.EuwYBq_spectrum-Calendar-monthHeader{min-width:calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7);max-width:calc((var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7) + (var(--spectrum-calendar-day-padding, 4px) * 12));padding:0 var(--spectrum-global-dimension-size-40);box-sizing:border-box;grid-template-columns:minmax(auto,1fr) auto minmax(auto,1fr);grid-template-areas:"EuwYBq_prev EuwYBq_title EuwYBq_next";align-content:start;width:100%;display:grid}.EuwYBq_spectrum-Calendar-title{font-size:var(--spectrum-calendar-title-text-size, var(--spectrum-global-dimension-font-size-300));font-weight:700;line-height:var(--spectrum-calendar-title-height, var(--spectrum-global-dimension-static-size-400));margin:0 var(--spectrum-global-dimension-size-75);text-align:center;white-space:nowrap;text-overflow:ellipsis;grid-area:EuwYBq_title;overflow:hidden}.EuwYBq_spectrum-Calendar-prevMonth{grid-area:EuwYBq_prev;justify-self:start}.EuwYBq_spectrum-Calendar-nextMonth{grid-area:EuwYBq_next;justify-self:end}.EuwYBq_spectrum-Calendar-months{gap:var(--spectrum-global-dimension-size-300);grid-auto-columns:1fr;grid-auto-flow:column;align-items:start;display:grid}.EuwYBq_spectrum-Calendar-dayOfWeek{font-size:var(--spectrum-calendar-day-title-text-size, var(--spectrum-global-dimension-font-size-50));font-weight:var(--spectrum-calendar-day-title-text-font-weight, var(--spectrum-global-font-weight-medium));text-transform:uppercase;cursor:default;flex-direction:column;justify-content:flex-end;width:100%;height:100%;display:flex;border-bottom:none!important;text-decoration:none!important}.EuwYBq_spectrum-Calendar-dayOfWeek[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.EuwYBq_spectrum-Calendar-body{outline:none}.EuwYBq_spectrum-Calendar-table{table-layout:fixed;min-width:calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7);max-width:calc((var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7) + (var(--spectrum-calendar-day-padding, 4px) * 12));border-collapse:collapse;border-spacing:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.EuwYBq_spectrum-Calendar-tableCell{text-align:center;box-sizing:content-box;height:var(--spectrum-calendar-day-height, var(--spectrum-global-dimension-size-400));width:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));padding:0;padding:var(--spectrum-calendar-day-padding, 4px) 0;position:relative}.EuwYBq_spectrum-Calendar-tableCell:focus{outline:0}.EuwYBq_spectrum-Calendar-date{box-sizing:border-box;height:var(--spectrum-calendar-day-height, var(--spectrum-global-dimension-size-400));margin:var(--spectrum-calendar-day-padding, 4px) 0;border-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));font-size:var(--spectrum-calendar-day-text-size, var(--spectrum-alias-font-size-default));line-height:var(--spectrum-calendar-day-height, var(--spectrum-global-dimension-size-400));white-space:nowrap;cursor:default;--margin: calc((100% - var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400))) / 2);width:100%;display:block;position:absolute;top:0;left:0}.EuwYBq_spectrum-Calendar-date .EuwYBq_spectrum-Calendar-dateText{width:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));margin:0 auto;margin-inline-start:auto;margin-inline-end:var(--margin);display:block}.EuwYBq_spectrum-Calendar-date:focus{outline:0}.EuwYBq_spectrum-Calendar-date:lang(ja),.EuwYBq_spectrum-Calendar-date:lang(zh),.EuwYBq_spectrum-Calendar-date:lang(ko){font-size:var(--spectrum-calendar-day-text-size-han, var(--spectrum-global-dimension-font-size-50))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled{cursor:default;pointer-events:none}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable .EuwYBq_spectrum-Calendar-dateText span{position:relative}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable .EuwYBq_spectrum-Calendar-dateText span:after{content:"";background:currentColor;border-radius:1px;height:2px;position:absolute;top:50%;left:-4px;right:-4px;transform:rotate(-16deg)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-outsideMonth{visibility:hidden}.EuwYBq_spectrum-Calendar-date:before{border-radius:calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) + var(--spectrum-alias-focus-ring-gap, var(--spectrum-global-dimension-static-size-25)));content:"";top:calc(50% - calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) / 2));left:calc(50% - calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) / 2));width:calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) + var(--spectrum-alias-focus-ring-gap, var(--spectrum-global-dimension-static-size-25)) * 2);height:calc(var(--spectrum-calendar-day-height, var(--spectrum-global-dimension-size-400)) + var(--spectrum-alias-focus-ring-gap, var(--spectrum-global-dimension-static-size-25)) * 2);transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;margin:0;display:block;position:absolute;transform:translate(0)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-focused:before{margin:calc(var(--spectrum-alias-focus-ring-gap, var(--spectrum-global-dimension-static-size-25)) * -1)}.EuwYBq_spectrum-Calendar-date:after{top:calc(50% - calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) / 2));left:calc(50% - calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) / 2));height:var(--spectrum-calendar-day-height, var(--spectrum-global-dimension-size-400));width:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));content:"";z-index:-1;display:block;position:absolute}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection{margin:var(--spectrum-calendar-day-padding, 4px) 0;line-height:var(--spectrum-calendar-day-height, var(--spectrum-global-dimension-size-400));border-width:0;border-radius:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start{width:calc(100% - var(--margin))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:after,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText{margin-inline-start:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));left:auto;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start{width:calc(100% - var(--margin))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start .EuwYBq_spectrum-Calendar-dateText:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start .EuwYBq_spectrum-Calendar-dateText:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start .EuwYBq_spectrum-Calendar-dateText:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:after,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start .EuwYBq_spectrum-Calendar-dateText{margin-inline-start:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));left:auto;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end{width:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:auto;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:auto;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:after,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText{margin-inline-end:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));left:0;right:var(--margin)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));right:0;left:var(--margin)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-end:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));right:0;left:var(--margin)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end{width:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:auto;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:auto;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:after,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText{margin-inline-end:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-right-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));left:0;right:var(--margin)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));right:0;left:var(--margin)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-bottom-left-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));right:0;left:var(--margin)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-selection-end{width:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));margin-inline-start:auto;margin-inline-end:var(--margin);left:0;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-selection-end:after,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-selection-end .EuwYBq_spectrum-Calendar-dateText{margin-inline-start:auto;margin-inline-end:var(--margin)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-range-end{width:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));margin-inline-start:auto;margin-inline-end:var(--margin);left:0;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-range-end:after,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-start.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText{margin-inline-start:auto;margin-inline-end:var(--margin)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end.EuwYBq_is-range-start{width:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));margin-inline-start:auto;margin-inline-end:var(--margin);left:0;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end.EuwYBq_is-range-start:after,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-selection-end.EuwYBq_is-range-start .EuwYBq_spectrum-Calendar-dateText{margin-inline-start:auto;margin-inline-end:var(--margin)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start.EuwYBq_is-range-end{width:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));border-radius:var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400));margin-inline-start:auto;margin-inline-end:var(--margin);left:0;right:0}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start.EuwYBq_is-range-end:after,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-range-start.EuwYBq_is-range-end .EuwYBq_spectrum-Calendar-dateText{margin-inline-start:auto;margin-inline-end:var(--margin)}.EuwYBq_spectrum-Calendar-prevMonth,.EuwYBq_spectrum-Calendar-nextMonth{color:var(--spectrum-calendar-button-icon-color, var(--spectrum-global-color-gray-700))}.EuwYBq_spectrum-Calendar-dayOfWeek{color:var(--spectrum-calendar-day-title-text-color, var(--spectrum-global-color-gray-700))}.EuwYBq_spectrum-Calendar-date{--spectrum-calendar-day-background-color-cap-selected: var(--spectrum-accent-background-color-default);--spectrum-calendar-day-background-color-cap-selected-hover: var(--spectrum-accent-background-color-hover);--spectrum-calendar-day-background-color-cap-selected-down: var(--spectrum-accent-background-color-down);--spectrum-calendar-day-background-color-cap-invalid-selected: var(--spectrum-negative-background-color-default);--spectrum-calendar-day-background-color-cap-invalid-selected-hover: var(--spectrum-negative-background-color-hover);--spectrum-calendar-day-background-color-cap-invalid-selected-down: var(--spectrum-negative-background-color-down);--spectrum-calendar-day-background-color-selected-hover: var(--spectrum-alias-highlight-selected);--spectrum-calendar-day-background-color-invalid-selected: var(--spectrum-alias-highlight-invalid);--spectrum-calendar-day-text-color-disabled: var(--spectrum-alias-text-color-disabled, var(--spectrum-global-color-gray-500));--spectrum-calendar-day-text-color-cap-selected: white;--spectrum-calendar-day-text-color-cap-selected-hover: white;--spectrum-calendar-day-today-background-color: var(--spectrum-global-color-gray-300);--spectrum-calendar-day-today-background-color-hover: var(--spectrum-global-color-gray-400);--spectrum-calendar-day-today-background-color-down: var(--spectrum-global-color-gray-500);--background: transparent}.EuwYBq_spectrum-Calendar-date:after{background:var(--background)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection{background:var(--spectrum-calendar-day-background-color-selected, var(--spectrum-alias-highlight-selected))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection.EuwYBq_is-invalid{background:var(--spectrum-calendar-day-background-color-invalid-selected)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-today{color:var(--spectrum-calendar-day-today-text-color, var(--spectrum-global-color-gray-800));border-color:var(--spectrum-calendar-day-today-background-color);--background: var(--spectrum-calendar-day-today-background-color)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-selected:not(.EuwYBq_is-range-selection){color:var(--spectrum-calendar-day-text-color-cap-selected, var(--spectrum-global-color-gray-900));--background: var(--spectrum-calendar-day-background-color-cap-selected, var(--spectrum-alias-highlight-selected-hover))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-selected:not(.EuwYBq_is-range-selection).EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-cap-invalid-selected)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-selection-start{color:var(--spectrum-calendar-day-text-color-cap-selected, var(--spectrum-global-color-gray-900));--background: var(--spectrum-calendar-day-background-color-cap-selected, var(--spectrum-alias-highlight-selected-hover))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-selection-start.EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-cap-invalid-selected)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-selection-end{color:var(--spectrum-calendar-day-text-color-cap-selected, var(--spectrum-global-color-gray-900));--background: var(--spectrum-calendar-day-background-color-cap-selected, var(--spectrum-alias-highlight-selected-hover))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-selection-end.EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-cap-invalid-selected)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered{color:var(--spectrum-calendar-day-text-color-hover, var(--spectrum-global-color-gray-900));--background: var(--spectrum-calendar-day-background-color-hover, var(--spectrum-alias-highlight-hover))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-range-selection{color:var(--spectrum-calendar-day-text-color-selected-hover, var(--spectrum-global-color-gray-900));--background: var(--spectrum-calendar-day-background-color-selected-hover, var(--spectrum-alias-highlight-selected-hover))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-range-selection.EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-invalid-selected)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-today{--background: var(--spectrum-calendar-day-today-background-color-hover)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-selected:not(.EuwYBq_is-range-selection){color:var(--spectrum-calendar-day-text-color-cap-selected-hover);--background: var(--spectrum-calendar-day-background-color-cap-selected-hover)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-selected:not(.EuwYBq_is-range-selection).EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-cap-invalid-selected-hover)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-selection-start{color:var(--spectrum-calendar-day-text-color-cap-selected-hover);--background: var(--spectrum-calendar-day-background-color-cap-selected-hover)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-selection-start.EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-cap-invalid-selected-hover)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-selection-end{color:var(--spectrum-calendar-day-text-color-cap-selected-hover);--background: var(--spectrum-calendar-day-background-color-cap-selected-hover)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-selection-end.EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-cap-invalid-selected-hover)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed{color:var(--spectrum-calendar-day-text-color-hover, var(--spectrum-global-color-gray-900));--background: var(--spectrum-calendar-day-background-color-down, var(--spectrum-alias-highlight-active))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed.EuwYBq_is-range-selection{color:var(--spectrum-calendar-day-text-color-selected-hover, var(--spectrum-global-color-gray-900));--background: var(--spectrum-calendar-day-background-color-selected-hover, var(--spectrum-alias-highlight-selected-hover))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed.EuwYBq_is-range-selection.EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-invalid-selected)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed.EuwYBq_is-today{--background: var(--spectrum-calendar-day-today-background-color-down)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed.EuwYBq_is-selected:not(.EuwYBq_is-range-selection){color:var(--spectrum-calendar-day-text-color-cap-selected-hover);--background: var(--spectrum-calendar-day-background-color-cap-selected-down)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed.EuwYBq_is-selected:not(.EuwYBq_is-range-selection).EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-cap-invalid-selected-down)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed.EuwYBq_is-selection-start{color:var(--spectrum-calendar-day-text-color-cap-selected-hover);--background: var(--spectrum-calendar-day-background-color-cap-selected-down)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed.EuwYBq_is-selection-start.EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-cap-invalid-selected-down)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed.EuwYBq_is-selection-end{color:var(--spectrum-calendar-day-text-color-cap-selected-hover);--background: var(--spectrum-calendar-day-background-color-cap-selected-down)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-pressed.EuwYBq_is-selection-end.EuwYBq_is-invalid{--background: var(--spectrum-calendar-day-background-color-cap-invalid-selected-down)}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-focused:before{box-shadow:0 0 0 var(--spectrum-calendar-day-border-size-key-focus, 2px) var(--spectrum-calendar-day-border-color-key-focus, var(--spectrum-alias-focus-color))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-today{--background: var(--spectrum-calendar-day-background-color-disabled, transparent);color:var(--spectrum-calendar-day-text-color-disabled, var(--spectrum-global-color-gray-500))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-selected{color:var(--spectrum-calendar-day-text-color-disabled, var(--spectrum-global-color-gray-500))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable:not(.EuwYBq_is-selected),.EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable:not(.EuwYBq_is-selected).EuwYBq_is-today{--background: transparent}@media (forced-colors: active){.EuwYBq_spectrum-Calendar-date{color:canvastext;forced-color-adjust:none;--spectrum-calendar-button-icon-color: ButtonText;--spectrum-calendar-day-background-color-cap-selected: Highlight;--spectrum-calendar-day-background-color-cap-invalid-selected: Highlight;--spectrum-calendar-day-background-color-cap-invalid-selected-down: Highlight;--spectrum-calendar-day-background-color-cap-invalid-selected-hover: Highlight;--spectrum-calendar-day-background-color-cap-selected-down: Highlight;--spectrum-calendar-day-background-color-cap-selected-hover: Highlight;--spectrum-calendar-day-background-color-disabled: ButtonFace;--spectrum-calendar-day-background-color-down: ButtonFace;--spectrum-calendar-day-background-color-hover: ButtonFace;--spectrum-calendar-day-background-color-invalid-selected: Highlight;--spectrum-calendar-day-background-color-selected-hover: Highlight;--spectrum-calendar-day-background-color-selected: Highlight;--spectrum-calendar-day-border-color-key-focus: ButtonText;--spectrum-calendar-day-text-color-cap-selected: HighlightText;--spectrum-calendar-day-text-color-cap-selected-hover: HighlightText;--spectrum-calendar-day-text-color-disabled: GrayText;--spectrum-calendar-day-text-color-hover: ButtonText;--spectrum-calendar-day-text-color-selected-hover: HighlightText;--spectrum-calendar-day-title-text-color: CanvasText;--spectrum-calendar-day-today-background-color: ButtonText;--spectrum-calendar-day-today-background-color-down: ButtonText;--spectrum-calendar-day-today-background-color-hover: ButtonText;--spectrum-calendar-day-today-text-color: ButtonFace}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-range-selection{color:highlighttext}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-range-selection,.EuwYBq_spectrum-Calendar-date.EuwYBq_is-disabled.EuwYBq_is-selected{color:highlighttext;background:highlight}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-unavailable.EuwYBq_is-today{color:var(--spectrum-calendar-day-text-color-hover, var(--spectrum-global-color-gray-900))}.EuwYBq_spectrum-Calendar-date.EuwYBq_is-hovered.EuwYBq_is-today{color:var(--spectrum-calendar-day-today-text-color, var(--spectrum-global-color-gray-800))}}.a1Qy2q_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.a1Qy2q_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.a1Qy2q_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.a1Qy2q_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.a1Qy2q_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.a1Qy2q_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.a1Qy2q_i18nFontFamily:lang(zh-SG),.a1Qy2q_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.a1Qy2q_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.a1Qy2q_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.a1Qy2q_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.a1Qy2q_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.a1Qy2q_spectrum-FocusRing.a1Qy2q_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.a1Qy2q_spectrum-FocusRing--quiet:after{border-radius:0}.a1Qy2q_spectrum-FocusRing--quiet.a1Qy2q_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.a1Qy2q_spectrum-FocusRing,.a1Qy2q_spectrum-FocusRing-ring,.a1Qy2q_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.a1Qy2q_spectrum-FocusRing,.a1Qy2q_spectrum-FocusRing-ring,.a1Qy2q_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.a1Qy2q_spectrum-HelpText{text-align:start;font-size:var(--spectrum-global-dimension-font-size-75);display:flex}.a1Qy2q_spectrum-HelpText .a1Qy2q_spectrum-HelpText-validationIcon{padding-block:var(--spectrum-global-dimension-size-40) var(--spectrum-global-dimension-size-40);flex-shrink:0;margin-inline-end:var(--spectrum-global-dimension-size-100)}.a1Qy2q_spectrum-HelpText .a1Qy2q_spectrum-HelpText-text{padding-block:var(--spectrum-global-dimension-static-size-50, 4px) var(--spectrum-global-dimension-size-115);line-height:var(--spectrum-global-font-line-height-small, 1.3);text-transform:none;letter-spacing:var(--spectrum-global-font-letter-spacing-none, 0);flex:1;margin-inline-end:var(--spectrum-global-dimension-size-100)}.a1Qy2q_spectrum-HelpText.a1Qy2q_is-disabled{cursor:default}.a1Qy2q_spectrum-HelpText--neutral .a1Qy2q_spectrum-HelpText-text{color:var(--spectrum-alias-label-text-color, var(--spectrum-global-color-gray-700))}.a1Qy2q_spectrum-HelpText--neutral.a1Qy2q_is-disabled .a1Qy2q_spectrum-HelpText-text{color:var(--spectrum-alias-text-color-disabled, var(--spectrum-global-color-gray-500))}.a1Qy2q_spectrum-HelpText--negative .a1Qy2q_spectrum-HelpText-validationIcon,.a1Qy2q_spectrum-HelpText--negative .a1Qy2q_spectrum-HelpText-text{color:var(--spectrum-semantic-negative-color-text-small, var(--spectrum-global-color-red-600))}.A-HlBa_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.A-HlBa_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.A-HlBa_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.A-HlBa_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.A-HlBa_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.A-HlBa_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.A-HlBa_i18nFontFamily:lang(zh-SG),.A-HlBa_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.A-HlBa_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.A-HlBa_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.A-HlBa_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.A-HlBa_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.A-HlBa_spectrum-FocusRing.A-HlBa_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.A-HlBa_spectrum-FocusRing--quiet:after{border-radius:0}.A-HlBa_spectrum-FocusRing--quiet.A-HlBa_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.A-HlBa_spectrum-FocusRing,.A-HlBa_spectrum-FocusRing-ring,.A-HlBa_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.A-HlBa_spectrum-FocusRing,.A-HlBa_spectrum-FocusRing-ring,.A-HlBa_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.A-HlBa_spectrum-FieldLabel{box-sizing:border-box;padding:var(--spectrum-fieldlabel-padding-top, var(--spectrum-global-dimension-size-50)) 0 var(--spectrum-fieldlabel-padding-bottom, var(--spectrum-global-dimension-size-65));font-size:var(--spectrum-fieldlabel-text-size, var(--spectrum-global-dimension-font-size-75));font-weight:var(--spectrum-fieldlabel-text-font-weight, var(--spectrum-global-font-weight-regular));line-height:var(--spectrum-fieldlabel-text-line-height, var(--spectrum-global-font-line-height-small));vertical-align:top;-webkit-font-smoothing:subpixel-antialiased;-moz-osx-font-smoothing:auto;font-smoothing:subpixel-antialiased;text-align:start;cursor:default;flex:none;display:flex}.A-HlBa_spectrum-FieldLabel--positionSide{padding-top:var(--spectrum-fieldlabel-side-padding-top, var(--spectrum-global-dimension-size-100));padding-inline-end:var(--spectrum-fieldlabel-side-padding-x, var(--spectrum-global-dimension-size-100));display:inline-flex}.A-HlBa_spectrum-FieldLabel-requiredIcon{margin-top:var(--spectrum-fieldlabel-asterisk-margin-y, var(--spectrum-global-dimension-size-50));margin-inline-end:0;margin-bottom:0;margin-inline-start:var(--spectrum-fieldlabel-asterisk-gap, var(--spectrum-global-dimension-size-25))}.A-HlBa_spectrum-FieldLabel--alignEnd{text-align:end;justify-content:flex-end}.A-HlBa_spectrum-Field{--spectrum-field-default-width: var(--spectrum-alias-single-line-width, var(--spectrum-global-dimension-size-2400));height:-moz-max-content;height:max-content}.A-HlBa_spectrum-Field .A-HlBa_spectrum-Field-contextualHelp{margin-inline-start:var(--spectrum-global-dimension-size-50);margin-top:var(--spectrum-global-dimension-size-25);grid-area:A-HlBa_contextualHelp}.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionTop){width:var(--spectrum-field-default-width);grid-template:"A-HlBa_label A-HlBa_contextualHelp ." "A-HlBa_field A-HlBa_field A-HlBa_field" 1fr "A-HlBa_helpText A-HlBa_helpText A-HlBa_helpText" / auto auto minmax(0,1fr);align-content:start;display:inline-grid}.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionTop) .A-HlBa_spectrum-Field-field{grid-area:A-HlBa_field;width:100%}.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionTop).A-HlBa_spectrum-Field--alignEnd{grid-template-columns:1fr auto 0}.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionTop) .A-HlBa_spectrum-FieldLabel{grid-area:A-HlBa_label}.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide){align-items:flex-start;display:inline-flex}.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide) .A-HlBa_spectrum-Field-wrapper{width:var(--spectrum-field-default-width);flex:1;min-width:0;height:100%}.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide) .A-HlBa_spectrum-Field-wrapper .A-HlBa_spectrum-Field-field{width:100%}.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide) .A-HlBa_spectrum-Field-field{flex:1;min-width:0}.A-HlBa_spectrum-Field:where(.A-HlBa_spectrum-Field--positionSide) .A-HlBa_spectrum-Field-contextualHelp{margin-top:var(--spectrum-global-dimension-size-65);margin-inline-end:var(--spectrum-fieldlabel-side-padding-x, var(--spectrum-global-dimension-size-100))}.A-HlBa_spectrum-Field.A-HlBa_spectrum-Field--hasContextualHelp .A-HlBa_spectrum-FieldLabel{padding-inline-end:0}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide{border-collapse:separate;border-spacing:0 var(--spectrum-global-dimension-size-300);margin:calc(var(--spectrum-global-dimension-size-250) * -1) 0;text-align:start;display:table}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field{width:100%;display:table-row}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field:not(.A-HlBa_spectrum-Field--hasContextualHelp) .A-HlBa_spectrum-FieldLabel,.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field.A-HlBa_spectrum-Field--hasContextualHelp .A-HlBa_spectrum-Field-labelCell{display:table-cell}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field .A-HlBa_spectrum-Field-labelCell{vertical-align:top}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field.A-HlBa_spectrum-Field--alignEnd .A-HlBa_spectrum-Field-labelCell{text-align:end}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field .A-HlBa_spectrum-Field-labelWrapper{display:inline-flex}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field .A-HlBa_spectrum-Field-labelWrapper .A-HlBa_spectrum-FieldLabel{flex:1}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field-wrapper{width:100%}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionSide .A-HlBa_spectrum-Field-field{min-width:var(--spectrum-alias-single-line-width, var(--spectrum-global-dimension-size-2400));width:auto}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionTop{min-width:var(--spectrum-alias-single-line-width, var(--spectrum-global-dimension-size-2400));flex-direction:column;margin:0;display:flex}.A-HlBa_spectrum-Form.A-HlBa_spectrum-Form--positionTop>*{margin-top:var(--spectrum-global-dimension-size-100);width:100%}.A-HlBa_spectrum-LabeledValue.A-HlBa_spectrum-Field--positionSide{align-items:baseline}.A-HlBa_spectrum-LabeledValue.A-HlBa_spectrum-Field--positionSide .A-HlBa_spectrum-Field-contextualHelp{top:var(--spectrum-global-dimension-size-40);margin-top:var(--spectrum-global-dimension-size-65);position:relative}.A-HlBa_spectrum-LabeledValue.A-HlBa_spectrum-Field--positionTop{width:unset}.A-HlBa_spectrum-LabeledValue .A-HlBa_spectrum-FieldLabel.A-HlBa_spectrum-FieldLabel{padding-top:0}.A-HlBa_spectrum-LabeledValue .A-HlBa_spectrum-Field-wrapper.A-HlBa_spectrum-Field-wrapper{width:unset}.A-HlBa_spectrum-LabeledValue .A-HlBa_spectrum-Field-field{word-break:break-word;overflow:hidden}.A-HlBa_spectrum-LabeledValue .A-HlBa_spectrum-Field-contextualHelp{margin-top:calc(-1 * var(--spectrum-global-dimension-size-25))}.A-HlBa_spectrum-FieldLabel,.A-HlBa_spectrum-Form-itemLabel{color:var(--spectrum-fieldlabel-text-color, var(--spectrum-alias-label-text-color))}:is(.A-HlBa_spectrum-FieldLabel,.A-HlBa_spectrum-Form-itemLabel).A-HlBa_is-disabled{color:var(--spectrum-fieldlabel-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.h_OVWW_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.h_OVWW_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.h_OVWW_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.h_OVWW_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.h_OVWW_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.h_OVWW_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.h_OVWW_i18nFontFamily:lang(zh-SG),.h_OVWW_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.h_OVWW_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.h_OVWW_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.h_OVWW_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.h_OVWW_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.h_OVWW_spectrum-FocusRing.h_OVWW_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.h_OVWW_spectrum-FocusRing--quiet:after{border-radius:0}.h_OVWW_spectrum-FocusRing--quiet.h_OVWW_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.h_OVWW_spectrum-FocusRing,.h_OVWW_spectrum-FocusRing-ring,.h_OVWW_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.h_OVWW_spectrum-FocusRing,.h_OVWW_spectrum-FocusRing-ring,.h_OVWW_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.h_OVWW_spectrum-overlay{visibility:hidden;opacity:0;transition:transform var(--spectrum-global-animation-duration-100, .13s) ease-in-out,opacity var(--spectrum-global-animation-duration-100, .13s) ease-in-out,visibility 0s linear var(--spectrum-global-animation-duration-100, .13s);pointer-events:none}.h_OVWW_spectrum-overlay--open{visibility:visible;opacity:.9999;pointer-events:auto;transition-delay:0s}.h_OVWW_spectrum-overlay--bottom--open{transform:translateY(var(--spectrum-overlay-positive-transform-distance))}.h_OVWW_spectrum-overlay--top--open{transform:translateY(var(--spectrum-overlay-negative-transform-distance))}.h_OVWW_spectrum-overlay--right--open{transform:translate(var(--spectrum-overlay-positive-transform-distance))}.h_OVWW_spectrum-overlay--left--open{transform:translate(var(--spectrum-overlay-negative-transform-distance))}.h_OVWW_spectrum-Dialog{box-sizing:border-box;min-width:var(--spectrum-dialog-min-width, var(--spectrum-global-dimension-static-size-3600));max-height:inherit;--spectrum-dialog-padding-x: var(--spectrum-dialog-padding);--spectrum-dialog-padding-y: var(--spectrum-dialog-padding);--spectrum-dialog-border-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));border-radius:var(--spectrum-dialog-border-radius, var(--spectrum-global-dimension-size-50));outline:none;width:-moz-fit-content;width:fit-content;max-width:100%;display:flex;overflow:hidden}.h_OVWW_spectrum-Dialog--small{width:400px}.h_OVWW_spectrum-Dialog--medium{width:480px}.h_OVWW_spectrum-Dialog--large{width:640px}.h_OVWW_spectrum-Dialog-hero{height:var(--spectrum-global-dimension-size-1600);border-top-left-radius:var(--spectrum-dialog-border-radius, var(--spectrum-global-dimension-size-50));border-top-right-radius:var(--spectrum-dialog-border-radius, var(--spectrum-global-dimension-size-50));background-position:center;background-size:cover;grid-area:h_OVWW_hero;overflow:hidden}.h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-grid{grid-template-columns:var(--spectrum-dialog-padding-x) auto 1fr auto minmax(0,auto) var(--spectrum-dialog-padding-x);grid-template-rows:auto var(--spectrum-dialog-padding-y) auto auto 1fr auto var(--spectrum-dialog-padding-y);grid-template-areas:"h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero" ". . . . . ." ". h_OVWW_heading h_OVWW_header h_OVWW_header h_OVWW_typeIcon ." ". h_OVWW_divider h_OVWW_divider h_OVWW_divider h_OVWW_divider ." ". h_OVWW_content h_OVWW_content h_OVWW_content h_OVWW_content ." ". h_OVWW_footer h_OVWW_footer h_OVWW_buttonGroup h_OVWW_buttonGroup ." ". . . . . .";width:100%;display:grid}.h_OVWW_spectrum-Dialog-heading{font-size:var(--spectrum-dialog-title-text-size);font-weight:var(--spectrum-dialog-title-text-font-weight, var(--spectrum-global-font-weight-bold));line-height:var(--spectrum-dialog-title-text-line-height, var(--spectrum-alias-heading-text-line-height));outline:none;grid-area:h_OVWW_heading;margin:0;padding-inline-end:var(--spectrum-global-dimension-size-200)}.h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader{grid-area:h_OVWW_heading-start / h_OVWW_heading-start / h_OVWW_header-end / h_OVWW_header-end;padding-inline-end:0}.h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon{grid-area:h_OVWW_heading-start / h_OVWW_heading-start / h_OVWW_typeIcon-end / h_OVWW_typeIcon-end;padding-inline-end:0}.h_OVWW_spectrum-Dialog-header{box-sizing:border-box;outline:none;grid-area:h_OVWW_header;justify-content:flex-end;align-items:center;min-width:-moz-fit-content;min-width:fit-content;display:flex}.h_OVWW_spectrum-Dialog-header.h_OVWW_spectrum-Dialog-header--noTypeIcon{grid-area:h_OVWW_header-start / h_OVWW_header-start / h_OVWW_typeIcon-end / h_OVWW_typeIcon-end;padding-inline-end:0}.h_OVWW_spectrum-Dialog-typeIcon{grid-area:h_OVWW_typeIcon}.h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-divider{margin-top:var(--spectrum-dialog-rule-margin-top, var(--spectrum-global-dimension-static-size-150));margin-bottom:var(--spectrum-dialog-rule-margin-bottom, var(--spectrum-global-dimension-static-size-200));grid-area:h_OVWW_divider;width:100%}.h_OVWW_spectrum-Dialog--noDivider .h_OVWW_spectrum-Dialog-divider{display:none}.h_OVWW_spectrum-Dialog-content{box-sizing:border-box;-webkit-overflow-scrolling:touch;font-size:var(--spectrum-dialog-content-text-size);font-weight:var(--spectrum-dialog-content-text-font-weight, var(--spectrum-global-font-weight-regular));line-height:var(--spectrum-dialog-content-text-line-height, var(--spectrum-alias-body-text-line-height));padding:calc(var(--spectrum-global-dimension-size-25) * 2);margin:calc(var(--spectrum-global-dimension-size-25) * -2);min-height:var(--spectrum-alias-single-line-height, var(--spectrum-global-dimension-size-400));outline:none;grid-area:h_OVWW_content;overflow-y:auto}.h_OVWW_spectrum-Dialog-footer{outline:none;flex-wrap:wrap;grid-area:h_OVWW_footer;padding-block-start:var(--spectrum-global-dimension-static-size-500, 40px);display:flex}.h_OVWW_spectrum-Dialog-footer>*,.h_OVWW_spectrum-Dialog-footer>.h_OVWW_spectrum-Button+.h_OVWW_spectrum-Button{margin-bottom:0}.h_OVWW_spectrum-Dialog-buttonGroup{grid-area:h_OVWW_buttonGroup;justify-content:flex-end;max-width:100%;padding-block-start:var(--spectrum-global-dimension-static-size-500, 40px);padding-inline-start:var(--spectrum-global-dimension-size-200);display:flex}.h_OVWW_spectrum-Dialog-buttonGroup.h_OVWW_spectrum-Dialog-buttonGroup--noFooter{grid-area:h_OVWW_footer-start / h_OVWW_footer-start / h_OVWW_buttonGroup-end / h_OVWW_buttonGroup-end}.h_OVWW_spectrum-Dialog.h_OVWW_spectrum-Dialog--dismissable .h_OVWW_spectrum-Dialog-grid{grid-template-columns:var(--spectrum-dialog-padding-x) auto 1fr auto minmax(0,auto) minmax(0,var(--spectrum-global-dimension-size-400)) var(--spectrum-dialog-padding-x);grid-template-rows:auto var(--spectrum-dialog-padding-y) auto auto 1fr auto var(--spectrum-dialog-padding-y);grid-template-areas:"h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero" ". . . . . h_OVWW_closeButton h_OVWW_closeButton" ". h_OVWW_heading h_OVWW_header h_OVWW_header h_OVWW_typeIcon h_OVWW_closeButton h_OVWW_closeButton" ". h_OVWW_divider h_OVWW_divider h_OVWW_divider h_OVWW_divider h_OVWW_divider ." ". h_OVWW_content h_OVWW_content h_OVWW_content h_OVWW_content h_OVWW_content ." ". h_OVWW_footer h_OVWW_footer h_OVWW_buttonGroup h_OVWW_buttonGroup h_OVWW_buttonGroup ." ". . . . . . ."}.h_OVWW_spectrum-Dialog.h_OVWW_spectrum-Dialog--dismissable .h_OVWW_spectrum-Dialog-grid .h_OVWW_spectrum-Dialog-buttonGroup{display:none}.h_OVWW_spectrum-Dialog.h_OVWW_spectrum-Dialog--dismissable .h_OVWW_spectrum-Dialog-grid .h_OVWW_spectrum-Dialog-footer{grid-area:h_OVWW_footer / h_OVWW_footer / h_OVWW_buttonGroup / h_OVWW_buttonGroup}.h_OVWW_spectrum-Dialog.h_OVWW_spectrum-Dialog--dismissable .h_OVWW_spectrum-Dialog-closeButton{grid-area:h_OVWW_closeButton;place-self:flex-start end;margin-block-start:calc(26px - var(--spectrum-global-dimension-size-175));margin-inline-end:calc(26px - var(--spectrum-global-dimension-size-175))}.h_OVWW_spectrum-Dialog--error{width:480px}.h_OVWW_spectrum-Dialog--fullscreen{width:100%;height:100%}.h_OVWW_spectrum-Dialog--fullscreenTakeover{border-style:none;border-radius:0;width:100%;height:100%}.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover{max-width:none;max-height:none}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover).h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-grid{grid-template-columns:var(--spectrum-dialog-padding-x) 1fr auto auto var(--spectrum-dialog-padding-x);grid-template-rows:var(--spectrum-dialog-padding-y) auto auto 1fr var(--spectrum-dialog-padding-y);grid-template-areas:". . . . ." ". h_OVWW_heading h_OVWW_header h_OVWW_buttonGroup ." ". h_OVWW_divider h_OVWW_divider h_OVWW_divider ." ". h_OVWW_content h_OVWW_content h_OVWW_content ." ". . . . .";display:grid}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading{font-size:28px}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader,:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon{grid-area:h_OVWW_heading-start / h_OVWW_heading-start / h_OVWW_header-end / h_OVWW_header-end;padding-inline-end:0}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-header.h_OVWW_spectrum-Dialog-header--noTypeIcon{grid-area:h_OVWW_header;padding-inline-end:0}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-content{max-height:none}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-footer,:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-buttonGroup{padding-block-start:0}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-footer,:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-typeIcon,:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-closeButton{display:none}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-buttonGroup{grid-area:h_OVWW_buttonGroup}@media screen and (width <= 700px){.h_OVWW_spectrum-Dialog{--spectrum-dialog-padding: var(--spectrum-global-dimension-static-size-300, 24px)}.h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-grid{grid-template-columns:var(--spectrum-dialog-padding-x) auto 1fr auto minmax(0,auto) var(--spectrum-dialog-padding-x);grid-template-rows:auto var(--spectrum-dialog-padding-y) auto auto auto 1fr auto var(--spectrum-dialog-padding-y);grid-template-areas:"h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero" ". . . . . ." ". h_OVWW_heading h_OVWW_heading h_OVWW_heading h_OVWW_typeIcon ." ". h_OVWW_header h_OVWW_header h_OVWW_header h_OVWW_header ." ". h_OVWW_divider h_OVWW_divider h_OVWW_divider h_OVWW_divider ." ". h_OVWW_content h_OVWW_content h_OVWW_content h_OVWW_content ." ". h_OVWW_footer h_OVWW_footer h_OVWW_buttonGroup h_OVWW_buttonGroup ." ". . . . . ."}.h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader{grid-area:h_OVWW_heading}.h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noTypeIcon.h_OVWW_spectrum-Dialog-heading--noTypeIcon{grid-area:h_OVWW_heading-start / h_OVWW_heading-start / h_OVWW_typeIcon-end / h_OVWW_typeIcon-end}.h_OVWW_spectrum-Dialog-header.h_OVWW_spectrum-Dialog-header--noTypeIcon{grid-area:h_OVWW_header}.h_OVWW_spectrum-Dialog.h_OVWW_spectrum-Dialog--dismissable .h_OVWW_spectrum-Dialog-grid{grid-template-columns:var(--spectrum-dialog-padding-x) auto 1fr auto minmax(0,auto) minmax(0,var(--spectrum-global-dimension-size-400)) var(--spectrum-dialog-padding-x);grid-template-rows:auto var(--spectrum-dialog-padding-y) auto auto auto 1fr auto var(--spectrum-dialog-padding-y);grid-template-areas:"h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero" ". . . . . h_OVWW_closeButton h_OVWW_closeButton" ". h_OVWW_heading h_OVWW_heading h_OVWW_heading h_OVWW_typeIcon h_OVWW_closeButton h_OVWW_closeButton" ". h_OVWW_header h_OVWW_header h_OVWW_header h_OVWW_header h_OVWW_header ." ". h_OVWW_divider h_OVWW_divider h_OVWW_divider h_OVWW_divider h_OVWW_divider ." ". h_OVWW_content h_OVWW_content h_OVWW_content h_OVWW_content h_OVWW_content ." ". h_OVWW_footer h_OVWW_footer h_OVWW_buttonGroup h_OVWW_buttonGroup h_OVWW_buttonGroup ." ". . . . . . ."}.h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-header{justify-content:flex-start}.h_OVWW_spectrum-Dialog-footer{min-width:-moz-fit-content;min-width:fit-content}.h_OVWW_spectrum-Dialog-buttonGroup{min-width:0}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover).h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-grid{grid-template-columns:var(--spectrum-dialog-padding-x) 1fr var(--spectrum-dialog-padding-x);grid-template-rows:var(--spectrum-dialog-padding-y) auto auto auto 1fr auto var(--spectrum-dialog-padding-y);grid-template-areas:". . ." ". h_OVWW_heading ." ". h_OVWW_header ." ". h_OVWW_divider ." ". h_OVWW_content ." ". h_OVWW_buttonGroup ." ". . .";display:grid}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader,:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noTypeIcon,:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon{grid-area:h_OVWW_heading}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-header.h_OVWW_spectrum-Dialog-header--noTypeIcon{grid-area:h_OVWW_header}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-buttonGroup{padding-block-start:var(--spectrum-global-dimension-static-size-500, 40px)}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading{font-size:var(--spectrum-dialog-title-text-size)}}@media screen and (height <= 400px){.h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-grid{border-top-left-radius:var(--spectrum-dialog-border-radius, var(--spectrum-global-dimension-size-50));border-top-right-radius:var(--spectrum-dialog-border-radius, var(--spectrum-global-dimension-size-50));grid-template-columns:var(--spectrum-dialog-padding-x) auto 1fr auto minmax(0,auto) var(--spectrum-dialog-padding-x);grid-template-rows:auto var(--spectrum-dialog-padding-y) auto auto auto 1fr auto auto var(--spectrum-dialog-padding-y);grid-template-areas:"h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero h_OVWW_hero" ". . . . . ." ". h_OVWW_heading h_OVWW_heading h_OVWW_heading h_OVWW_typeIcon ." ". h_OVWW_header h_OVWW_header h_OVWW_header h_OVWW_header ." ". h_OVWW_divider h_OVWW_divider h_OVWW_divider h_OVWW_divider ." ". h_OVWW_content h_OVWW_content h_OVWW_content h_OVWW_content ." ". h_OVWW_footer h_OVWW_footer h_OVWW_footer h_OVWW_footer ." ". h_OVWW_buttonGroup h_OVWW_buttonGroup h_OVWW_buttonGroup h_OVWW_buttonGroup ." ". . . . . .";overflow-y:auto}.h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader{grid-area:h_OVWW_heading;padding-inline-end:0}.h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noTypeIcon.h_OVWW_spectrum-Dialog-heading--noTypeIcon{grid-area:h_OVWW_heading-start / h_OVWW_heading-start / h_OVWW_typeIcon-end / h_OVWW_typeIcon-end;padding-inline-end:0}.h_OVWW_spectrum-Dialog-header.h_OVWW_spectrum-Dialog-header--noTypeIcon{grid-area:h_OVWW_header;padding-inline-end:0}.h_OVWW_spectrum-Dialog-content{height:-moz-min-content;height:min-content;display:inline-table;overflow-y:visible}.h_OVWW_spectrum-Dialog-footer+.h_OVWW_spectrum-Dialog-buttonGroup{padding-block-start:calc(var(--spectrum-global-dimension-size-25) * 2)}}@media screen and (height <= 400px) and (width <= 700px){:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover).h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-grid{grid-template-columns:var(--spectrum-dialog-padding-x) 1fr var(--spectrum-dialog-padding-x);grid-template-rows:var(--spectrum-dialog-padding-y) auto auto auto 1fr auto var(--spectrum-dialog-padding-y);grid-template-areas:". . ." ". h_OVWW_heading ." ". h_OVWW_header ." ". h_OVWW_divider ." ". h_OVWW_content ." ". h_OVWW_buttonGroup ." ". . .";display:grid}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader,:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noTypeIcon,:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon{grid-area:h_OVWW_heading}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-header.h_OVWW_spectrum-Dialog-header--noTypeIcon{grid-area:h_OVWW_header}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-buttonGroup{padding-block-start:var(--spectrum-global-dimension-static-size-500, 40px)}:is(.h_OVWW_spectrum-Dialog--fullscreen,.h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading{font-size:var(--spectrum-dialog-title-text-size)}}.h_OVWW_spectrum-Dialog-heading{color:var(--spectrum-dialog-title-text-color, var(--spectrum-global-color-gray-900))}.h_OVWW_spectrum-Dialog-content{color:var(--spectrum-dialog-content-text-color, var(--spectrum-global-color-gray-800))}.h_OVWW_spectrum-Dialog-typeIcon{color:var(--spectrum-dialog-icon-color, var(--spectrum-global-color-gray-900))}.h_OVWW_spectrum-Dialog--error .h_OVWW_spectrum-Dialog-typeIcon{color:var(--spectrum-dialog-error-icon-color, var(--spectrum-semantic-negative-color-icon))}.h_OVWW_spectrum-Dialog--warning .h_OVWW_spectrum-Dialog-typeIcon{color:var(--spectrum-semantic-notice-color-icon, var(--spectrum-global-color-orange-600))}._2n04KW_react-spectrum-Datepicker-fieldWrapper._2n04KW_react-spectrum-Datepicker-fieldWrapper._2n04KW_react-spectrum-Datepicker-fieldWrapper{min-width:var(--spectrum-global-dimension-size-2000);width:auto;max-width:100%}._2n04KW_react-spectrum-Datepicker-startField{width:auto;padding-inline-end:var(--spectrum-global-dimension-size-100)}._2n04KW_react-spectrum-Datepicker-endField{flex:1;width:auto;padding-inline-start:var(--spectrum-global-dimension-size-100)}._2n04KW_react-spectrum-Datepicker-field~._2n04KW_react-spectrum-Datepicker-endField>._2n04KW_react-spectrum-Datepicker-input{border-inline-start-width:0}._2n04KW_react-spectrum-Datepicker-field~._2n04KW_react-spectrum-Datepicker-endField>._2n04KW_react-spectrum-Datepicker-input:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:0;border-bottom-left-radius:0}._2n04KW_react-spectrum-Datepicker-field~._2n04KW_react-spectrum-Datepicker-endField>._2n04KW_react-spectrum-Datepicker-input:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:0;border-bottom-right-radius:0}._2n04KW_react-spectrum-Datepicker-field~._2n04KW_react-spectrum-Datepicker-endField>._2n04KW_react-spectrum-Datepicker-input:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:0;border-bottom-right-radius:0}._2n04KW_react-spectrum-Datepicker-field._2n04KW_react-spectrum-Datepicker-field{width:auto}._2n04KW_react-spectrum-Datepicker-field ._2n04KW_react-spectrum-DateField-Input{line-height:var(--spectrum-body-4-text-line-height, var(--spectrum-alias-body-text-line-height))}._2n04KW_react-spectrum-DateField._2n04KW_react-spectrum-DateField._2n04KW_react-spectrum-DateField._2n04KW_react-spectrum-DateField{min-width:var(--spectrum-global-dimension-size-2000)}._2n04KW_react-spectrum-TimeField._2n04KW_react-spectrum-TimeField._2n04KW_react-spectrum-TimeField._2n04KW_react-spectrum-TimeField{min-width:var(--spectrum-global-dimension-size-1250)}._2n04KW_react-spectrum-TimeField-fieldWrapper._2n04KW_react-spectrum-TimeField-fieldWrapper._2n04KW_react-spectrum-TimeField-fieldWrapper{min-width:var(--spectrum-global-dimension-size-1250);width:auto}._2n04KW_react-spectrum-Datepicker-input._2n04KW_react-spectrum-Datepicker-input._2n04KW_react-spectrum-Datepicker-input{cursor:text;padding-inline-end:calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) + var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225)) + var(--spectrum-textfield-icon-margin-left, var(--spectrum-global-dimension-size-150)))}._2n04KW_react-spectrum-Datepicker-inputContents{scrollbar-width:none;-ms-overflow-style:none;align-items:center;height:100%;display:flex;overflow-x:auto}._2n04KW_react-spectrum-Datepicker-inputContents::-webkit-scrollbar{width:0;height:0;display:none}._2n04KW_react-spectrum-Datepicker-rangeDash:before{content:"–"}._2n04KW_react-spectrum-Datepicker-segments{align-items:center;display:flex}._2n04KW_react-spectrum-Datepicker-literal{white-space:pre;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--spectrum-textfield-text-color, var(--spectrum-alias-text-color))}._2n04KW_react-spectrum-DatePicker-cell{border-radius:var(--spectrum-alias-border-radius-small, var(--spectrum-global-dimension-size-25));font-variant-numeric:tabular-nums;text-align:end;box-sizing:content-box;white-space:nowrap;color:var(--spectrum-textfield-text-color, var(--spectrum-alias-text-color));background:none;border:none;padding:0 2px}._2n04KW_react-spectrum-DatePicker-cell::-moz-selection{background:none}._2n04KW_react-spectrum-DatePicker-cell::selection{background:none}._2n04KW_react-spectrum-DatePicker-placeholder{text-align:center;visibility:hidden;pointer-events:none;width:100%;height:0;font-style:italic;display:block}._2n04KW_react-spectrum-DatePicker-cell._2n04KW_is-placeholder{color:var(--spectrum-gray-600)}._2n04KW_react-spectrum-DatePicker-cell._2n04KW_is-placeholder ._2n04KW_react-spectrum-DatePicker-placeholder{visibility:visible;height:auto}._2n04KW_react-spectrum-DatePicker-cell._2n04KW_is-placeholder~._2n04KW_react-spectrum-Datepicker-literal{color:var(--spectrum-global-color-gray-600)}._2n04KW_react-spectrum-DatePicker-cell._2n04KW_is-read-only{color:var(--spectrum-global-color-gray-700)}._2n04KW_react-spectrum-DatePicker-cell:focus{background-color:var(--spectrum-accent-background-color-default);color:#fff;caret-color:#0000;outline:none}._2n04KW_react-spectrum-Datepicker-dialog._2n04KW_react-spectrum-Datepicker-dialog{width:auto}._2n04KW_react-spectrum-Datepicker-dialogContent{flex-direction:column;display:flex}._2n04KW_react-spectrum-Datepicker-dialogContent ._2n04KW_react-spectrum-Datepicker-calendar._2n04KW_is-invalid{display:contents}._2n04KW_react-spectrum-Datepicker-dialogContent .spectrum-Calendar-helpText{margin:var(--spectrum-global-dimension-size-200) var(--spectrum-calendar-day-padding, 4px) 0 var(--spectrum-calendar-day-padding, 4px);order:10}@media (width <= 700px){._2n04KW_react-spectrum-Datepicker-dialog{--spectrum-dialog-padding-x: 8px}._2n04KW_react-spectrum-Datepicker-dialog ._2n04KW_react-spectrum-Datepicker-dialogContent{max-width:calc((var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7) + (var(--spectrum-calendar-day-padding, 4px) * 12));margin:0 auto}}._2n04KW_react-spectrum-Datepicker-timeFields{min-width:calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7);max-width:calc((var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7) + (var(--spectrum-calendar-day-padding, 4px) * 12));padding:0 var(--spectrum-calendar-day-padding, 4px);box-sizing:border-box;width:100%}@media (forced-colors: active){._2n04KW_react-spectrum-DatePicker-cell:focus{forced-color-adjust:none;color:highlighttext;background-color:highlight}._2n04KW_react-spectrum-DatePicker-cell._2n04KW_is-read-only{color:buttontext}._2n04KW_react-spectrum-DatePicker-cell._2n04KW_is-read-only:focus{color:highlighttext}._2n04KW_react-spectrum-DatePicker-cell._2n04KW_is-placeholder{color:buttontext}._2n04KW_react-spectrum-DatePicker-cell._2n04KW_is-placeholder:focus{color:highlighttext}}.YO3Nla_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.YO3Nla_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.YO3Nla_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.YO3Nla_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.YO3Nla_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.YO3Nla_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.YO3Nla_i18nFontFamily:lang(zh-SG),.YO3Nla_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.YO3Nla_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.YO3Nla_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.YO3Nla_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.YO3Nla_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.YO3Nla_spectrum-FocusRing.YO3Nla_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.YO3Nla_spectrum-FocusRing--quiet:after{border-radius:0}.YO3Nla_spectrum-FocusRing--quiet.YO3Nla_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.YO3Nla_spectrum-FocusRing,.YO3Nla_spectrum-FocusRing-ring,.YO3Nla_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.YO3Nla_spectrum-FocusRing,.YO3Nla_spectrum-FocusRing-ring,.YO3Nla_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.YO3Nla_spectrum-Textfield{min-width:var(--spectrum-textfield-min-width, var(--spectrum-global-dimension-size-600));width:var(--spectrum-alias-single-line-width, var(--spectrum-global-dimension-size-2400));display:inline-flex;position:relative}.YO3Nla_spectrum-Textfield.YO3Nla_spectrum-Textfield--quiet.YO3Nla_spectrum-Textfield--multiline .YO3Nla_spectrum-Textfield-input{height:var(--spectrum-textfield-height, var(--spectrum-alias-single-line-height));min-height:var(--spectrum-textfield-height, var(--spectrum-alias-single-line-height));overflow-x:hidden}.YO3Nla_spectrum-Textfield-input{box-sizing:border-box;border:var(--spectrum-alias-input-border-size) solid;border-radius:var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));padding:3px var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) 5px calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) - 1px);text-indent:0;height:var(--spectrum-textfield-height, var(--spectrum-alias-single-line-height));vertical-align:top;font-size:var(--spectrum-textfield-text-size, var(--spectrum-alias-font-size-default));line-height:var(--spectrum-textfield-height, var(--spectrum-alias-single-line-height));text-overflow:ellipsis;transition:border-color var(--spectrum-global-animation-duration-100, .13s) ease-in-out,box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-in-out;-webkit-appearance:none;-moz-appearance:textfield;outline:none;inline-size:100%;margin:0;overflow:visible}.YO3Nla_spectrum-Textfield-input::-moz-placeholder{font-weight:var(--spectrum-textfield-placeholder-text-font-weight, var(--spectrum-global-font-weight-regular));font-style:var(--spectrum-textfield-placeholder-text-font-style, var(--spectrum-global-font-style-italic));font-synthesis:none;-moz-transition:color var(--spectrum-global-animation-duration-100, .13s) ease-in-out;transition:color var(--spectrum-global-animation-duration-100, .13s) ease-in-out;opacity:1}.YO3Nla_spectrum-Textfield-input::placeholder,.YO3Nla_spectrum-Textfield-input.YO3Nla_is-placeholder{font-weight:var(--spectrum-textfield-placeholder-text-font-weight, var(--spectrum-global-font-weight-regular));font-style:var(--spectrum-textfield-placeholder-text-font-style, var(--spectrum-global-font-style-italic));font-synthesis:none;transition:color var(--spectrum-global-animation-duration-100, .13s) ease-in-out;opacity:1}.YO3Nla_spectrum-Textfield-input::-moz-placeholder{font-weight:var(--spectrum-textfield-placeholder-text-font-weight, var(--spectrum-global-font-weight-regular));font-style:var(--spectrum-textfield-placeholder-text-font-style, var(--spectrum-global-font-style-italic));-moz-transition:color var(--spectrum-global-animation-duration-100, .13s) ease-in-out;transition:color var(--spectrum-global-animation-duration-100, .13s) ease-in-out;opacity:1}.YO3Nla_spectrum-Textfield-input:lang(ja)::placeholder,.YO3Nla_spectrum-Textfield-input:lang(ja).YO3Nla_is-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input:lang(ja)::-moz-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input:lang(zh)::placeholder,.YO3Nla_spectrum-Textfield-input:lang(zh).YO3Nla_is-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input:lang(zh)::-moz-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input:lang(ko)::placeholder,.YO3Nla_spectrum-Textfield-input:lang(ko).YO3Nla_is-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input:lang(ko)::-moz-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input:lang(ar)::placeholder,.YO3Nla_spectrum-Textfield-input:lang(ar).YO3Nla_is-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input:lang(ar)::-moz-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input:lang(he)::placeholder,.YO3Nla_spectrum-Textfield-input:lang(he).YO3Nla_is-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input:lang(he)::-moz-placeholder{font-style:normal}.YO3Nla_spectrum-Textfield-input.YO3Nla_is-hovered::-moz-placeholder{font-weight:var(--spectrum-textfield-placeholder-text-font-weight, var(--spectrum-global-font-weight-regular))}.YO3Nla_spectrum-Textfield-input.YO3Nla_is-hovered::placeholder{font-weight:var(--spectrum-textfield-placeholder-text-font-weight, var(--spectrum-global-font-weight-regular))}.YO3Nla_spectrum-Textfield-input:disabled{resize:none;opacity:1}.YO3Nla_spectrum-Textfield-input:disabled::-moz-placeholder{font-weight:var(--spectrum-textfield-placeholder-text-font-weight, var(--spectrum-global-font-weight-regular))}.YO3Nla_spectrum-Textfield-input:disabled::placeholder,.YO3Nla_spectrum-Textfield-input:disabled.YO3Nla_is-placeholder{font-weight:var(--spectrum-textfield-placeholder-text-font-weight, var(--spectrum-global-font-weight-regular))}.YO3Nla_spectrum-Textfield-input::-ms-clear{width:0;height:0}.YO3Nla_spectrum-Textfield-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.YO3Nla_spectrum-Textfield-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.YO3Nla_spectrum-Textfield-input:-moz-ui-invalid{box-shadow:none}.YO3Nla_spectrum-Textfield--multiline .YO3Nla_spectrum-Textfield-input{min-height:var(--spectrum-global-dimension-size-700);padding:3px var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) 5px calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) - 1px);resize:none;height:auto;overflow:auto}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input{border-width:0 0 var(--spectrum-alias-input-border-size) 0;border-radius:0;padding-inline-start:var(--spectrum-textfield-quiet-padding-x, 0);padding-inline-end:var(--spectrum-textfield-quiet-padding-x, 0)}.YO3Nla_spectrum-Textfield--valid .YO3Nla_spectrum-Textfield-input{padding-inline-end:calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) + var(--spectrum-icon-checkmark-medium-width) + var(--spectrum-textfield-icon-margin-left, var(--spectrum-global-dimension-size-150)))}.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-input,.YO3Nla_spectrum-Textfield--loadable .YO3Nla_spectrum-Textfield-input{padding-inline-end:calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) + var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225)) + var(--spectrum-textfield-icon-margin-left, var(--spectrum-global-dimension-size-150)))}.YO3Nla_spectrum-Textfield-wrapper.YO3Nla_spectrum-Textfield-wrapper--quiet{grid-template-rows:auto}.YO3Nla_spectrum-Textfield-wrapper .YO3Nla_spectrum-Textfield--multiline{flex:auto;min-height:0}.YO3Nla_spectrum-Textfield-wrapper .YO3Nla_spectrum-Textfield--multiline .YO3Nla_spectrum-Textfield-input{line-height:var(--spectrum-textfield-text-line-height, var(--spectrum-alias-body-text-line-height))}.YO3Nla_spectrum-Textfield-wrapper .YO3Nla_spectrum-Textfield--multiline.YO3Nla_spectrum-Textfield--quiet{flex:0 auto;max-height:100%}.YO3Nla_spectrum-Textfield-wrapper .YO3Nla_spectrum-Textfield--multiline.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input{max-height:100%}.YO3Nla_spectrum-Textfield-validationIcon{pointer-events:all;transition:color var(--spectrum-global-animation-duration-100, .13s) ease-in-out;padding-inline-end:calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) / 2);position:absolute}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-validationIcon{padding-inline-end:0}.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-validationIcon{width:var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225));height:var(--spectrum-icon-alert-medium-height, var(--spectrum-global-dimension-size-225));top:calc(calc(var(--spectrum-textfield-icon-frame) / 2) - calc(var(--spectrum-icon-alert-medium-height, var(--spectrum-global-dimension-size-225)) / 2))}.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-validationIcon:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(calc(var(--spectrum-textfield-icon-frame) / 2) - calc(var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225)) / 2))}.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-validationIcon:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(calc(var(--spectrum-textfield-icon-frame) / 2) - calc(var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225)) / 2))}.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-validationIcon:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(calc(var(--spectrum-textfield-icon-frame) / 2) - calc(var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225)) / 2))}.YO3Nla_spectrum-Textfield--valid .YO3Nla_spectrum-Textfield-validationIcon{width:var(--spectrum-icon-checkmark-medium-width);height:var(--spectrum-icon-checkmark-medium-height);top:calc(calc(var(--spectrum-textfield-icon-frame) / 2) - calc(var(--spectrum-icon-checkmark-medium-height) / 2))}.YO3Nla_spectrum-Textfield--valid .YO3Nla_spectrum-Textfield-validationIcon:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-global-dimension-size-150)}.YO3Nla_spectrum-Textfield--valid .YO3Nla_spectrum-Textfield-validationIcon:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-global-dimension-size-150)}.YO3Nla_spectrum-Textfield--valid .YO3Nla_spectrum-Textfield-validationIcon:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-global-dimension-size-150)}.YO3Nla_spectrum-Textfield .YO3Nla_spectrum-Textfield-icon{height:var(--spectrum-icon-info-medium-height, var(--spectrum-global-dimension-size-225));width:var(--spectrum-icon-info-medium-width, var(--spectrum-global-dimension-size-225));top:var(--spectrum-global-dimension-size-85);transition:fill var(--spectrum-global-animation-duration-100, .13s) ease-in-out;display:block;position:absolute}.YO3Nla_spectrum-Textfield .YO3Nla_spectrum-Textfield-icon:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:var(--spectrum-global-dimension-size-150)}.YO3Nla_spectrum-Textfield .YO3Nla_spectrum-Textfield-icon:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--spectrum-global-dimension-size-150)}.YO3Nla_spectrum-Textfield .YO3Nla_spectrum-Textfield-icon:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--spectrum-global-dimension-size-150)}.YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield-inputIcon{padding-inline-start:calc(var(--spectrum-global-dimension-size-150) + var(--spectrum-global-dimension-size-225) + var(--spectrum-global-dimension-size-65))}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield-inputIcon{padding-inline-start:calc(var(--spectrum-global-dimension-size-100) + var(--spectrum-icon-info-medium-width, var(--spectrum-global-dimension-size-225)))}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield-inputIcon~.YO3Nla_spectrum-Textfield-icon:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield-inputIcon~.YO3Nla_spectrum-Textfield-icon:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield-inputIcon~.YO3Nla_spectrum-Textfield-icon:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield-inputIcon.YO3Nla_spectrum-Textfield--multiline{height:var(--spectrum-textfield-height, var(--spectrum-alias-single-line-height));min-height:var(--spectrum-textfield-height, var(--spectrum-alias-single-line-height))}.YO3Nla_spectrum-Textfield--loadable .YO3Nla_spectrum-Textfield-circleLoader{top:calc(calc(var(--spectrum-textfield-icon-frame) / 2) - calc(var(--spectrum-loader-circle-small-width, var(--spectrum-global-dimension-static-size-200)) / 2));position:absolute}.YO3Nla_spectrum-Textfield--loadable .YO3Nla_spectrum-Textfield-circleLoader:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:calc(calc(calc(var(--spectrum-textfield-icon-frame) / 2) - calc(var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225)) / 2)) + calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) / 2))}.YO3Nla_spectrum-Textfield--loadable .YO3Nla_spectrum-Textfield-circleLoader:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(calc(calc(var(--spectrum-textfield-icon-frame) / 2) - calc(var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225)) / 2)) + calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) / 2))}.YO3Nla_spectrum-Textfield--loadable .YO3Nla_spectrum-Textfield-circleLoader:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:calc(calc(calc(var(--spectrum-textfield-icon-frame) / 2) - calc(var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225)) / 2)) + calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) / 2))}.YO3Nla_spectrum-Textfield--quiet:is(.YO3Nla_spectrum-Textfield--loadable .YO3Nla_spectrum-Textfield-circleLoader){padding-inline-end:0}.YO3Nla_spectrum-Textfield-input{background-color:var(--spectrum-textfield-background-color, var(--spectrum-global-color-gray-50));border-color:var(--spectrum-textfield-border-color, var(--spectrum-alias-border-color));color:var(--spectrum-textfield-text-color, var(--spectrum-alias-text-color))}.YO3Nla_spectrum-Textfield-input::-moz-placeholder{color:var(--spectrum-textfield-placeholder-text-color, var(--spectrum-alias-placeholder-text-color))}.YO3Nla_spectrum-Textfield-input::placeholder,.YO3Nla_spectrum-Textfield-input.YO3Nla_is-placeholder{color:var(--spectrum-textfield-placeholder-text-color, var(--spectrum-alias-placeholder-text-color))}.YO3Nla_spectrum-Textfield-input.YO3Nla_is-hovered{border-color:var(--spectrum-textfield-border-color-hover, var(--spectrum-alias-border-color-hover));box-shadow:none}.YO3Nla_spectrum-Textfield-input.YO3Nla_is-hovered::-moz-placeholder{color:var(--spectrum-textfield-placeholder-text-color-hover, var(--spectrum-alias-placeholder-text-color-hover))}.YO3Nla_spectrum-Textfield-input.YO3Nla_is-hovered::placeholder,.YO3Nla_spectrum-Textfield-input.YO3Nla_is-hovered.YO3Nla_is-placeholder{color:var(--spectrum-textfield-placeholder-text-color-hover, var(--spectrum-alias-placeholder-text-color-hover))}.YO3Nla_spectrum-Textfield-input:active{background-color:var(--spectrum-textfield-background-color-down, var(--spectrum-global-color-gray-50));border-color:var(--spectrum-textfield-border-color-down, var(--spectrum-alias-border-color-mouse-focus));color:var(--spectrum-textfield-text-color-down, var(--spectrum-alias-text-color-down))}.YO3Nla_spectrum-Textfield-input:active::-moz-placeholder{color:var(--spectrum-textfield-placeholder-text-color-down, var(--spectrum-alias-placeholder-text-color-down))}.YO3Nla_spectrum-Textfield-input:active::placeholder,.YO3Nla_spectrum-Textfield-input:active.YO3Nla_is-placeholder{color:var(--spectrum-textfield-placeholder-text-color-down, var(--spectrum-alias-placeholder-text-color-down))}.YO3Nla_spectrum-Textfield-input:focus,.YO3Nla_spectrum-Textfield-input.YO3Nla_is-focused{border-color:var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.YO3Nla_spectrum-Textfield-input.YO3Nla_focus-ring:not(:active){border-color:var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus));box-shadow:0 0 0 1px var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.YO3Nla_spectrum-Textfield-input[disabled]{background-color:var(--spectrum-textfield-background-color-disabled, var(--spectrum-global-color-gray-200));border-color:var(--spectrum-textfield-border-color-disabled, var(--spectrum-alias-border-color-transparent));color:var(--spectrum-textfield-text-color-disabled, var(--spectrum-alias-text-color-disabled));-webkit-text-fill-color:var(--spectrum-textfield-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.YO3Nla_spectrum-Textfield-input[disabled]::-moz-placeholder{color:var(--spectrum-textfield-placeholder-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.YO3Nla_spectrum-Textfield-input[disabled]::placeholder,.YO3Nla_spectrum-Textfield-input[disabled].YO3Nla_is-placeholder{color:var(--spectrum-textfield-placeholder-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.YO3Nla_spectrum-Textfield-input[disabled]~.YO3Nla_spectrum-Textfield-icon{fill:var(--spectrum-textfield-icon-color-disabled, var(--spectrum-global-color-gray-500))}.YO3Nla_spectrum-Textfield-input.YO3Nla_is-disabled{background-color:var(--spectrum-textfield-background-color-disabled, var(--spectrum-global-color-gray-200));border-color:var(--spectrum-textfield-border-color-disabled, var(--spectrum-alias-border-color-transparent));color:var(--spectrum-textfield-text-color-disabled, var(--spectrum-alias-text-color-disabled));-webkit-text-fill-color:var(--spectrum-textfield-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.YO3Nla_spectrum-Textfield-input.YO3Nla_is-disabled::-moz-placeholder{color:var(--spectrum-textfield-placeholder-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.YO3Nla_spectrum-Textfield-input.YO3Nla_is-disabled::placeholder,.YO3Nla_spectrum-Textfield-input.YO3Nla_is-disabled.YO3Nla_is-placeholder{color:var(--spectrum-textfield-placeholder-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.YO3Nla_spectrum-Textfield-input.YO3Nla_is-disabled~.YO3Nla_spectrum-Textfield-icon{fill:var(--spectrum-textfield-icon-color-disabled, var(--spectrum-global-color-gray-500))}.YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield--invalid{border-color:var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default))}.YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield--invalid.YO3Nla_is-hovered,.YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield--invalid:active,.YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield--invalid:focus,.YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield--invalid.YO3Nla_is-focused{border-color:var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.YO3Nla_spectrum-Textfield-input.YO3Nla_spectrum-Textfield--invalid.YO3Nla_focus-ring:not(:active){border-color:var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus));box-shadow:0 0 0 1px var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input{background-color:var(--spectrum-textfield-quiet-background-color, var(--spectrum-alias-background-color-transparent));border-color:var(--spectrum-textfield-quiet-border-color, var(--spectrum-alias-border-color))}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_is-hovered{border-color:var(--spectrum-textfield-quiet-border-color-hover, var(--spectrum-alias-border-color-hover))}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input:active{border-color:var(--spectrum-textfield-quiet-border-color-down, var(--spectrum-alias-border-color-mouse-focus))}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input:focus,.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_is-focused{border-color:var(--spectrum-textfield-quiet-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_focus-ring:not(:active){border-color:var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus));box-shadow:0 1px 0 var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input:disabled,.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_is-disabled{background-color:var(--spectrum-textfield-quiet-background-color-disabled, var(--spectrum-alias-background-color-transparent));border-color:var(--spectrum-textfield-quiet-border-color-disabled, var(--spectrum-alias-border-color-mid))}.YO3Nla_spectrum-Textfield.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-input{border-color:var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default))}.YO3Nla_spectrum-Textfield.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-input.YO3Nla_is-hovered{border-color:var(--spectrum-textfield-border-color-error-hover, var(--spectrum-semantic-negative-color-state-hover))}.YO3Nla_spectrum-Textfield.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-input:active{border-color:var(--spectrum-textfield-border-color-error-down, var(--spectrum-semantic-negative-color-state-down))}.YO3Nla_spectrum-Textfield.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-input:focus,.YO3Nla_spectrum-Textfield.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-input.YO3Nla_is-focused{border-color:var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.YO3Nla_spectrum-Textfield.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-input.YO3Nla_focus-ring:not(:active){border-color:var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus));box-shadow:0 0 0 1px var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.YO3Nla_spectrum-Textfield--quiet.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-input.YO3Nla_focus-ring:not(:active){box-shadow:0 1px 0 var(--spectrum-textfield-quiet-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.YO3Nla_spectrum-Textfield--valid .YO3Nla_spectrum-Textfield-validationIcon{fill:var(--spectrum-alert-success-icon-color, var(--spectrum-semantic-positive-color-icon))}.YO3Nla_spectrum-Textfield--invalid .YO3Nla_spectrum-Textfield-validationIcon{fill:var(--spectrum-alert-error-icon-color, var(--spectrum-semantic-negative-color-icon))}@media (forced-colors: active){.YO3Nla_spectrum-Textfield-input{--spectrum-textfield-border-color: CanvasText;--spectrum-textfield-text-color-disabled: GrayText;--spectrum-textfield-border-color-disabled: GrayText;--spectrum-textfield-quiet-border-color-disabled: GrayText;--spectrum-textfield-quiet-border-color-key-focus: Highlight;--spectrum-textfield-border-color-key-focus: Highlight;--spectrum-textfield-placeholder-text-color: GrayText;--spectrum-textfield-placeholder-text-color-hover: GrayText;--spectrum-high-contrast-focus-ring-color: Highlight}.YO3Nla_spectrum-Textfield-input.YO3Nla_focus-ring{outline:2px solid var(--spectrum-high-contrast-focus-ring-color)}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_focus-ring{forced-color-adjust:none;box-shadow:0 1px 0 0 var(--spectrum-textfield-quiet-border-color-key-focus, var(--spectrum-alias-border-color-focus));outline:0}.YO3Nla_spectrum-Textfield--quiet .YO3Nla_spectrum-Textfield-input.YO3Nla_focus-ring .YO3Nla_spectrum-Textfield-input{border-color:var(--spectrum-textfield-quiet-border-color-key-focus, var(--spectrum-alias-border-color-focus))}}.ZTA2ya_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.ZTA2ya_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.ZTA2ya_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.ZTA2ya_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.ZTA2ya_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.ZTA2ya_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.ZTA2ya_i18nFontFamily:lang(zh-SG),.ZTA2ya_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.ZTA2ya_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.ZTA2ya_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.ZTA2ya_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size: 0px;--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)))}.ZTA2ya_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1 * var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out,margin var(--spectrum-global-animation-duration-100, .13s) ease-out;display:block;position:absolute;top:0;right:0;bottom:0;left:0}.ZTA2ya_spectrum-FocusRing.ZTA2ya_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color)}.ZTA2ya_spectrum-FocusRing--quiet:after{border-radius:0}.ZTA2ya_spectrum-FocusRing--quiet.ZTA2ya_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;box-shadow:0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color)}@media (forced-colors: active){.ZTA2ya_spectrum-FocusRing,.ZTA2ya_spectrum-FocusRing-ring,.ZTA2ya_spectrum-FocusRing--quiet{--spectrum-high-contrast-focus-ring-color: Highlight}:is(.ZTA2ya_spectrum-FocusRing,.ZTA2ya_spectrum-FocusRing-ring,.ZTA2ya_spectrum-FocusRing--quiet):after{forced-color-adjust:none}}.ZTA2ya_spectrum-InputGroup{min-width:calc(2.5 * var(--spectrum-dropdown-height, var(--spectrum-global-dimension-size-400)));border-radius:var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));flex-flow:row;block-size:-moz-max-content;block-size:max-content;display:inline-flex;position:relative}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton{padding:var(--spectrum-combobox-fieldbutton-inset);inline-size:var(--spectrum-global-dimension-size-400);--spectrum-alias-input-focusring-gap: calc(-1 * var(--spectrum-alias-input-border-size));background-clip:content-box;border-width:0;flex-shrink:0;position:relative}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:var(--spectrum-combobox-fieldbutton-start-border-radius);border-top-right-radius:var(--spectrum-combobox-fieldbutton-end-border-radius);border-bottom-right-radius:var(--spectrum-combobox-fieldbutton-end-border-radius);border-bottom-left-radius:var(--spectrum-combobox-fieldbutton-start-border-radius)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--spectrum-combobox-fieldbutton-start-border-radius);border-top-left-radius:var(--spectrum-combobox-fieldbutton-end-border-radius);border-bottom-left-radius:var(--spectrum-combobox-fieldbutton-end-border-radius);border-bottom-right-radius:var(--spectrum-combobox-fieldbutton-start-border-radius)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--spectrum-combobox-fieldbutton-start-border-radius);border-top-left-radius:var(--spectrum-combobox-fieldbutton-end-border-radius);border-bottom-left-radius:var(--spectrum-combobox-fieldbutton-end-border-radius);border-bottom-right-radius:var(--spectrum-combobox-fieldbutton-start-border-radius)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:before{content:"";border-radius:var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));border:var(--spectrum-alias-input-border-size) solid;border-inline-start-width:var(--spectrum-combobox-fieldbutton-border-left-width);z-index:-1;transition:inherit;position:absolute;top:0;right:0;bottom:0;left:0}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{border-top-left-radius:var(--spectrum-combobox-fieldbutton-border-top-left-radius, 0);border-bottom-left-radius:var(--spectrum-combobox-fieldbutton-border-bottom-left-radius, 0)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{border-top-right-radius:var(--spectrum-combobox-fieldbutton-border-top-left-radius, 0);border-bottom-right-radius:var(--spectrum-combobox-fieldbutton-border-bottom-left-radius, 0)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{border-top-right-radius:var(--spectrum-combobox-fieldbutton-border-top-left-radius, 0);border-bottom-right-radius:var(--spectrum-combobox-fieldbutton-border-bottom-left-radius, 0)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:after{border-radius:var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50))}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{border-top-left-radius:var(--spectrum-combobox-fieldbutton-focus-ring-border-radius);border-bottom-left-radius:var(--spectrum-combobox-fieldbutton-focus-ring-border-radius)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{border-top-right-radius:var(--spectrum-combobox-fieldbutton-focus-ring-border-radius);border-bottom-right-radius:var(--spectrum-combobox-fieldbutton-focus-ring-border-radius)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{border-top-right-radius:var(--spectrum-combobox-fieldbutton-focus-ring-border-radius);border-bottom-right-radius:var(--spectrum-combobox-fieldbutton-focus-ring-border-radius)}.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-disabled:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_spectrum-InputGroup--quiet) .ZTA2ya_spectrum-FieldButton{border-width:0;padding:0}.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-disabled:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_spectrum-InputGroup--quiet) .ZTA2ya_spectrum-FieldButton:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:var(--spectrum-combobox-fieldbutton-border-top-left-radius, 0);border-bottom-left-radius:var(--spectrum-combobox-fieldbutton-border-bottom-left-radius, 0)}.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-disabled:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_spectrum-InputGroup--quiet) .ZTA2ya_spectrum-FieldButton:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--spectrum-combobox-fieldbutton-border-top-left-radius, 0);border-bottom-right-radius:var(--spectrum-combobox-fieldbutton-border-bottom-left-radius, 0)}.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-disabled:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_spectrum-InputGroup--quiet) .ZTA2ya_spectrum-FieldButton:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--spectrum-combobox-fieldbutton-border-top-left-radius, 0);border-bottom-right-radius:var(--spectrum-combobox-fieldbutton-border-bottom-left-radius, 0)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-validationIcon{padding-inline-end:0}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-validationIcon:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-global-dimension-size-100)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-validationIcon:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-global-dimension-size-100)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-validationIcon:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-global-dimension-size-100)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-circleLoader{padding-inline-end:0}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-circleLoader:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-global-dimension-size-100)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-circleLoader:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-global-dimension-size-100)}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-circleLoader:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-global-dimension-size-100)}.ZTA2ya_spectrum-InputGroup-field{flex:auto}.ZTA2ya_spectrum-InputGroup-input.ZTA2ya_spectrum-InputGroup-input{border-inline-end-style:none}.ZTA2ya_spectrum-InputGroup-input.ZTA2ya_spectrum-InputGroup-input:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-right-radius:var(--spectrum-combobox-textfield-border-top-right-radius, 0);border-bottom-right-radius:var(--spectrum-combobox-textfield-border-bottom-right-radius, 0)}.ZTA2ya_spectrum-InputGroup-input.ZTA2ya_spectrum-InputGroup-input:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:var(--spectrum-combobox-textfield-border-top-right-radius, 0);border-bottom-left-radius:var(--spectrum-combobox-textfield-border-bottom-right-radius, 0)}.ZTA2ya_spectrum-InputGroup-input.ZTA2ya_spectrum-InputGroup-input:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:var(--spectrum-combobox-textfield-border-top-right-radius, 0);border-bottom-left-radius:var(--spectrum-combobox-textfield-border-bottom-right-radius, 0)}.ZTA2ya_spectrum-InputGroup--quiet{min-width:calc(2 * var(--spectrum-dropdown-height, var(--spectrum-global-dimension-size-400)));border-radius:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton{inline-size:auto;padding-inline-start:var(--spectrum-global-dimension-size-130);padding-inline-end:0;position:relative}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:before{border-width:0;border-inline-start-width:0;border-bottom:var(--spectrum-alias-input-border-size) solid;border-radius:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:after{content:"";block-size:100%;inline-size:10px;position:absolute}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{right:-10px}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:-10px}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:-10px}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-icon:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-icon:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-icon:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-disabled .ZTA2ya_spectrum-FieldButton{border-radius:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-validationIcon{padding-inline-end:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-validationIcon:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-validationIcon:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-validationIcon:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-circleLoader{padding-inline-end:0}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-circleLoader:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spectrum-global-dimension-size-10)}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-circleLoader:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-global-dimension-size-10)}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-field .ZTA2ya_spectrum-InputGroup-input-circleLoader:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spectrum-global-dimension-size-10)}.ZTA2ya_spectrum-InputGroup-popover--quiet{--spectrum-dropdown-quiet-offset: calc(var(--spectrum-dropdown-quiet-popover-offset-x, var(--spectrum-global-dimension-size-150)) + var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin)));margin-inline-start:calc(var(--spectrum-dropdown-quiet-offset) * -1)}.ZTA2ya_spectrum-Datepicker--range{border-radius:var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--quiet,.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton{border-radius:0}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-Datepicker--datetimeRange .ZTA2ya_spectrum-InputGroup-field{width:calc(calc(var(--spectrum-global-dimension-size-1600) - 2 * var(--spectrum-global-dimension-size-150)) + var(--spectrum-global-dimension-size-700) - var(--spectrum-global-dimension-static-font-size-100, 14px) / 2);min-width:calc(calc(var(--spectrum-global-dimension-size-1600) - 2 * var(--spectrum-global-dimension-size-150)) + var(--spectrum-global-dimension-size-700) - var(--spectrum-global-dimension-static-font-size-100, 14px) / 2)}.ZTA2ya_spectrum-Datepicker--range .ZTA2ya_spectrum-InputGroup-field{width:calc(var(--spectrum-global-dimension-size-1600) - 2 * var(--spectrum-global-dimension-size-150));min-width:calc(var(--spectrum-global-dimension-size-1600) - 2 * var(--spectrum-global-dimension-size-150));flex:initial}.ZTA2ya_spectrum-Datepicker--range .ZTA2ya_spectrum-Datepicker-startField .ZTA2ya_spectrum-InputGroup-field{border-inline-end:0;padding-inline-end:var(--spectrum-global-dimension-size-150)}.ZTA2ya_spectrum-Datepicker--range .ZTA2ya_spectrum-Datepicker-startField svg{display:none}.ZTA2ya_spectrum-Datepicker--range .ZTA2ya_spectrum-Datepicker-endField .ZTA2ya_spectrum-InputGroup-input{border-inline-start:0;border-radius:0;flex:1;padding-inline-start:var(--spectrum-global-dimension-size-150)}.ZTA2ya_spectrum-Datepicker--range .ZTA2ya_spectrum-Datepicker--rangeDash{line-height:calc(var(--spectrum-textfield-height, var(--spectrum-alias-single-line-height)) - var(--spectrum-global-dimension-size-100));flex:initial;z-index:1;width:0;padding-top:0}.ZTA2ya_spectrum-Datepicker--range .ZTA2ya_spectrum-Datepicker--rangeDash:before{content:"–";margin:0 calc(-.5 * var(--spectrum-global-dimension-static-font-size-100, 14px));text-align:center;vertical-align:middle;width:var(--spectrum-global-dimension-static-font-size-100, 14px);display:inline-block;overflow:hidden}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_is-focused .ZTA2ya_spectrum-Datepicker-focusRing{border-radius:var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-focused .ZTA2ya_spectrum-Datepicker-focusRing{border-radius:0;top:auto}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-Datepicker--rangeDash:before{margin-inline-start:calc(-.5 * var(--spectrum-global-dimension-static-font-size-100, 14px))}.ZTA2ya_spectrum-InputGroup{--spectrum-inputgroup-border-color-focus: var(--spectrum-alias-input-border-color-key-focus);background:var(--spectrum-textfield-background-color, var(--spectrum-global-color-gray-50))}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton:before{border-color:var(--spectrum-textfield-border-color, var(--spectrum-alias-border-color))}.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-focused:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_is-disabled) .ZTA2ya_spectrum-InputGroup-input,.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-focused:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_is-disabled) .ZTA2ya_spectrum-FieldButton:before{border-color:var(--spectrum-textfield-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-hovered:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_is-focused):not(.ZTA2ya_is-disabled) .ZTA2ya_spectrum-InputGroup-input,.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-hovered:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_is-focused):not(.ZTA2ya_is-disabled) .ZTA2ya_spectrum-FieldButton:before{border-color:var(--spectrum-textfield-border-color-hover, var(--spectrum-alias-border-color-hover))}.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-InputGroup-input{border-color:var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default))}.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_is-hovered .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_is-hovered .ZTA2ya_spectrum-InputGroup-input{border-color:var(--spectrum-textfield-border-color-error-hover, var(--spectrum-semantic-negative-color-state-hover))}.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid:active .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid:active .ZTA2ya_spectrum-InputGroup-input{border-color:var(--spectrum-textfield-border-color-error-down, var(--spectrum-semantic-negative-color-state-down))}.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-disabled:not(.ZTA2ya_spectrum-InputGroup--quiet) .ZTA2ya_spectrum-FieldButton:before{border-color:#0000}.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-focused .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-focused .ZTA2ya_spectrum-InputGroup-input,.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-focused.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-focused.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-InputGroup-input{border-color:var(--spectrum-inputgroup-border-color-focus)}.ZTA2ya_spectrum-InputGroup.ZTA2ya_focus-ring:not(.ZTA2ya_spectrum-InputGroup--quiet) .ZTA2ya_spectrum-FieldButton{z-index:1}.ZTA2ya_spectrum-InputGroup--quiet{background:none}.ZTA2ya_spectrum-InputGroup--quiet:not(.ZTA2ya_is-disabled) .ZTA2ya_spectrum-FieldButton:disabled:before,.ZTA2ya_spectrum-InputGroup--quiet:not(.ZTA2ya_is-disabled) .ZTA2ya_spectrum-FieldButton:disabled.ZTA2ya_is-hovered:before,.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton.ZTA2ya_is-hovered:before,.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:focus:before,.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:active:before,.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton.ZTA2ya_is-selected:before,.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton.ZTA2ya_spectrum-FieldButton--invalid:before{border-color:var(--spectrum-textfield-quiet-border-color, var(--spectrum-alias-border-color))}.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:disabled:before,.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:disabled.ZTA2ya_is-hovered:before,.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-disabled .ZTA2ya_spectrum-FieldButton:before{border-color:var(--spectrum-textfield-quiet-border-color-disabled, var(--spectrum-alias-border-color-mid))}.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-hovered:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_is-focused):not(.ZTA2ya_is-disabled) .ZTA2ya_spectrum-FieldButton:before{border-color:var(--spectrum-textfield-quiet-border-color-hover, var(--spectrum-alias-border-color-hover))}.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-InputGroup-input{border-color:var(--spectrum-textfield-border-color-error, var(--spectrum-semantic-negative-color-default))}.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_is-hovered .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_is-hovered .ZTA2ya_spectrum-InputGroup-input{border-color:var(--spectrum-textfield-border-color-error-hover, var(--spectrum-semantic-negative-color-state-hover))}.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid:active .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_spectrum-InputGroup.ZTA2ya_spectrum-InputGroup--invalid:active .ZTA2ya_spectrum-InputGroup-input{border-color:var(--spectrum-textfield-border-color-error-down, var(--spectrum-semantic-negative-color-state-down))}.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-focused .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-focused.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-focused.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-InputGroup-input{border-color:var(--spectrum-textfield-quiet-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_focus-ring .ZTA2ya_spectrum-InputGroup-input{box-shadow:none!important}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_is-disabled .ZTA2ya_spectrum-Datepicker--rangeDash{color:var(--spectrum-textfield-text-color-disabled, var(--spectrum-alias-text-color-disabled))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_focus-ring{box-shadow:0 0 0 1px var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_focus-ring.ZTA2ya_spectrum-InputGroup--invalid,.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_focus-ring.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton{box-shadow:0 0 0 1px var(--spectrum-textfield-quiet-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-InputGroup-input{border-color:var(--spectrum-dropdown-border-color-error, var(--spectrum-global-color-red-500))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_focus-ring .ZTA2ya_spectrum-FieldButton{box-shadow:0 0 0 1px var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_focus-ring .ZTA2ya_spectrum-FieldButton:before{border-color:var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton:before{border-color:var(--spectrum-dropdown-border-color-error, var(--spectrum-global-color-red-500))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton.ZTA2ya_spectrum-FieldButton--invalid.ZTA2ya_focus-ring{border-color:var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus));box-shadow:0 0 0 1px var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-focused{box-shadow:0 1px 0 0 var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-focused.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton{box-shadow:none}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-focused.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton:before{border-color:var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-focused.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton.ZTA2ya_spectrum-FieldButton--invalid.ZTA2ya_focus-ring{box-shadow:0 2px 0 0 var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus))}.ZTA2ya_spectrum-Datepicker--range.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-focused.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_focus-ring{box-shadow:0 0 0 1px var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus))}@media (forced-colors: active){.ZTA2ya_spectrum-InputGroup{--spectrum-dropdown-border-color-error: Highlight;--spectrum-dropdown-border-color-key-focus: Highlight;--spectrum-textfield-border-color-error: Highlight;--spectrum-textfield-border-color-error-hover: Highlight;--spectrum-textfield-border-color-hover: Highlight;--spectrum-textfield-border-color-key-focus: Highlight;--spectrum-textfield-quiet-border-color: ButtonText;--spectrum-textfield-quiet-border-color-disabled: GrayText;--spectrum-textfield-quiet-border-color-hover: Highlight;--spectrum-textfield-quiet-border-color-key-focus: Highlight;--spectrum-textfield-text-color-disabled: GrayText;--spectrum-inputgroup-border-color-focus: Highlight;forced-color-adjust:none}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-InputGroup-input{forced-color-adjust:auto;--spectrum-textfield-border-color: ButtonText;--spectrum-textfield-background-color-disabled: Canvas}.ZTA2ya_spectrum-InputGroup .ZTA2ya_spectrum-FieldButton{forced-color-adjust:auto;--spectrum-fieldbutton-background-color: Canvas;--spectrum-fieldbutton-quiet-background-color: Canvas;--spectrum-fieldbutton-icon-color: ButtonText;--spectrum-fieldbutton-background-color-down: Canvas;--spectrum-fieldbutton-quiet-background-color-down: Canvas;--spectrum-fieldbutton-icon-color-down: ButtonText;--spectrum-fieldbutton-background-color-disabled: Canvas;--spectrum-fieldbutton-quiet-background-color-disabled: Canvas;--spectrum-fieldbutton-background-color-hover: Canvas;--spectrum-fieldbutton-quiet-background-color-hover: Canvas;--spectrum-fieldbutton-icon-color-hover: ButtonText;background-clip:unset}.ZTA2ya_spectrum-InputGroup.ZTA2ya_is-disabled:not(.ZTA2ya_spectrum-InputGroup--invalid):not(.ZTA2ya_spectrum-InputGroup--quiet) .ZTA2ya_spectrum-FieldButton:before{border-color:graytext}.ZTA2ya_spectrum-InputGroup--quiet:not(.ZTA2ya_is-disabled) .ZTA2ya_spectrum-FieldButton:disabled:before,.ZTA2ya_spectrum-InputGroup--quiet:not(.ZTA2ya_is-disabled) .ZTA2ya_spectrum-FieldButton:disabled.ZTA2ya_is-hovered:before{border-color:var(--spectrum-textfield-quiet-border-color, var(--spectrum-alias-border-color))}.ZTA2ya_spectrum-InputGroup--quiet.ZTA2ya_is-disabled .ZTA2ya_spectrum-FieldButton:before{border-color:graytext}.ZTA2ya_spectrum-InputGroup--invalid .ZTA2ya_spectrum-FieldButton:before{border-color:highlight}.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_is-disabled:not(.ZTA2ya_spectrum-InputGroup--quiet) .ZTA2ya_spectrum-InputGroup-input,.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_is-disabled.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-InputGroup-input,.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_is-disabled.ZTA2ya_spectrum-InputGroup--quiet .ZTA2ya_spectrum-FieldButton:before,.ZTA2ya_spectrum-InputGroup--invalid.ZTA2ya_is-disabled:not(.ZTA2ya_spectrum-InputGroup--quiet) .ZTA2ya_spectrum-FieldButton:before{border-color:graytext}.ZTA2ya_spectrum-InputGroup.ZTA2ya_focus-ring:not(.ZTA2ya_spectrum-InputGroup--quiet){outline:2px solid highlight}.ZTA2ya_spectrum-InputGroup.ZTA2ya_focus-ring.ZTA2ya_spectrum-InputGroup--quiet{box-shadow:0 2px 0 0 var(--spectrum-dropdown-border-color-key-focus, var(--spectrum-alias-border-color-focus))}}.gP7gvq_spectrum--darkest{--spectrum-global-color-status: Verified;--spectrum-global-color-version: 5.1;--spectrum-gray-50: #000;--spectrum-gray-75: #0e0e0e;--spectrum-gray-100: #1d1d1d;--spectrum-gray-200: #303030;--spectrum-gray-300: #4b4b4b;--spectrum-gray-400: #6a6a6a;--spectrum-gray-500: #8d8d8d;--spectrum-gray-600: #b0b0b0;--spectrum-gray-700: #d0d0d0;--spectrum-gray-800: #ebebeb;--spectrum-gray-900: #fff;--spectrum-red-100: #570000;--spectrum-red-200: #6e0000;--spectrum-red-300: #8a0000;--spectrum-red-400: #a70000;--spectrum-red-500: #c40706;--spectrum-red-600: #dd2118;--spectrum-red-700: #ee4331;--spectrum-red-800: #f9634c;--spectrum-red-900: #ff816b;--spectrum-red-1000: #ff9e8c;--spectrum-red-1100: #ffb7a9;--spectrum-red-1200: #ffcdc3;--spectrum-red-1300: #ffdfd9;--spectrum-red-1400: #ffedea;--spectrum-orange-100: #481801;--spectrum-orange-200: #5c2000;--spectrum-orange-300: #732b00;--spectrum-orange-400: #8a3700;--spectrum-orange-500: #a24400;--spectrum-orange-600: #ba5200;--spectrum-orange-700: #d26200;--spectrum-orange-800: #e87400;--spectrum-orange-900: #f98917;--spectrum-orange-1000: #ffa23b;--spectrum-orange-1100: #ffbc66;--spectrum-orange-1200: #fdd291;--spectrum-orange-1300: #ffe2b5;--spectrum-orange-1400: #ffefd5;--spectrum-yellow-100: #352400;--spectrum-yellow-200: #442f00;--spectrum-yellow-300: #563e00;--spectrum-yellow-400: #674d00;--spectrum-yellow-500: #7a5c00;--spectrum-yellow-600: #8d6c00;--spectrum-yellow-700: #a17e00;--spectrum-yellow-800: #b49000;--spectrum-yellow-900: #c7a200;--spectrum-yellow-1000: #d8b500;--spectrum-yellow-1100: #e9c700;--spectrum-yellow-1200: #f7d804;--spectrum-yellow-1300: #f9e961;--spectrum-yellow-1400: #fcf3aa;--spectrum-chartreuse-100: #202b00;--spectrum-chartreuse-200: #2a3800;--spectrum-chartreuse-300: #364800;--spectrum-chartreuse-400: #425800;--spectrum-chartreuse-500: #4f6900;--spectrum-chartreuse-600: #5d7b00;--spectrum-chartreuse-700: #6b8e00;--spectrum-chartreuse-800: #7aa100;--spectrum-chartreuse-900: #8ab403;--spectrum-chartreuse-1000: #9ac60b;--spectrum-chartreuse-1100: #aad816;--spectrum-chartreuse-1200: #bbe829;--spectrum-chartreuse-1300: #cdf648;--spectrum-chartreuse-1400: #e1fd84;--spectrum-celery-100: #002f07;--spectrum-celery-200: #003d09;--spectrum-celery-300: #004d0c;--spectrum-celery-400: #005f0f;--spectrum-celery-500: #00710f;--spectrum-celery-600: #00840f;--spectrum-celery-700: #009714;--spectrum-celery-800: #0dab25;--spectrum-celery-900: #2dbf3a;--spectrum-celery-1000: #50d052;--spectrum-celery-1100: #73e06b;--spectrum-celery-1200: #93ed83;--spectrum-celery-1300: #b4f7a2;--spectrum-celery-1400: #d5fcca;--spectrum-green-100: #0a2c1c;--spectrum-green-200: #073b24;--spectrum-green-300: #004c2e;--spectrum-green-400: #005d39;--spectrum-green-500: #006f45;--spectrum-green-600: #008252;--spectrum-green-700: #009562;--spectrum-green-800: #1ca872;--spectrum-green-900: #34bb84;--spectrum-green-1000: #4bcd95;--spectrum-green-1100: #67dea8;--spectrum-green-1200: #89ecbc;--spectrum-green-1300: #b1f4d1;--spectrum-green-1400: #d6f9e4;--spectrum-seafoam-100: #122b2a;--spectrum-seafoam-200: #133937;--spectrum-seafoam-300: #104946;--spectrum-seafoam-400: #035b58;--spectrum-seafoam-500: #006c68;--spectrum-seafoam-600: #007f79;--spectrum-seafoam-700: #00928c;--spectrum-seafoam-800: #00a59f;--spectrum-seafoam-900: #1ab9b2;--spectrum-seafoam-1000: #42cac3;--spectrum-seafoam-1100: #66dad3;--spectrum-seafoam-1200: #8be8e1;--spectrum-seafoam-1300: #b3f2ed;--spectrum-seafoam-1400: #d7f8f4;--spectrum-cyan-100: #002944;--spectrum-cyan-200: #003658;--spectrum-cyan-300: #00456c;--spectrum-cyan-400: #005680;--spectrum-cyan-500: #006793;--spectrum-cyan-600: #0079a7;--spectrum-cyan-700: #008cba;--spectrum-cyan-800: #04a0cd;--spectrum-cyan-900: #17b4dd;--spectrum-cyan-1000: #39c7ea;--spectrum-cyan-1100: #60d8f3;--spectrum-cyan-1200: #86e6fa;--spectrum-cyan-1300: #aaf2ff;--spectrum-cyan-1400: #cef9ff;--spectrum-blue-100: #002651;--spectrum-blue-200: #00326a;--spectrum-blue-300: #004087;--spectrum-blue-400: #004ea6;--spectrum-blue-500: #005cc8;--spectrum-blue-600: #066ce7;--spectrum-blue-700: #1d80f5;--spectrum-blue-800: #4096f3;--spectrum-blue-900: #5eaaf7;--spectrum-blue-1000: #7cbdfa;--spectrum-blue-1100: #98cefd;--spectrum-blue-1200: #b3defe;--spectrum-blue-1300: #ceeaff;--spectrum-blue-1400: #e3f3ff;--spectrum-indigo-100: #1a1d61;--spectrum-indigo-200: #23277d;--spectrum-indigo-300: #2e329e;--spectrum-indigo-400: #3a3fbd;--spectrum-indigo-500: #494ed8;--spectrum-indigo-600: #5a60eb;--spectrum-indigo-700: #6e73f6;--spectrum-indigo-800: #8488fd;--spectrum-indigo-900: #999dff;--spectrum-indigo-1000: #aeb1ff;--spectrum-indigo-1100: #c2c4ff;--spectrum-indigo-1200: #d4d5ff;--spectrum-indigo-1300: #e3e4ff;--spectrum-indigo-1400: #f0f0ff;--spectrum-purple-100: #321068;--spectrum-purple-200: #430d8c;--spectrum-purple-300: #5610ad;--spectrum-purple-400: #6a1dc8;--spectrum-purple-500: #7e31de;--spectrum-purple-600: #9146ec;--spectrum-purple-700: #a25ef6;--spectrum-purple-800: #b277fa;--spectrum-purple-900: #c08ffc;--spectrum-purple-1000: #cea6fd;--spectrum-purple-1100: #dbbcfe;--spectrum-purple-1200: #e6cfff;--spectrum-purple-1300: #f0e0ff;--spectrum-purple-1400: #f8edff;--spectrum-fuchsia-100: #460e44;--spectrum-fuchsia-200: #5d095c;--spectrum-fuchsia-300: #780078;--spectrum-fuchsia-400: #920093;--spectrum-fuchsia-500: #a913aa;--spectrum-fuchsia-600: #bf2bbf;--spectrum-fuchsia-700: #d341d5;--spectrum-fuchsia-800: #e45be5;--spectrum-fuchsia-900: #ef78ee;--spectrum-fuchsia-1000: #f695f3;--spectrum-fuchsia-1100: #fbaff6;--spectrum-fuchsia-1200: #fec7f8;--spectrum-fuchsia-1300: #ffdcfa;--spectrum-fuchsia-1400: #ffebfc;--spectrum-magenta-100: #530329;--spectrum-magenta-200: #6a0034;--spectrum-magenta-300: #850041;--spectrum-magenta-400: #a1004e;--spectrum-magenta-500: #ba165d;--spectrum-magenta-600: #d12b72;--spectrum-magenta-700: #e34589;--spectrum-magenta-800: #f1619c;--spectrum-magenta-900: #fc7cad;--spectrum-magenta-1000: #ff98bf;--spectrum-magenta-1100: #ffb3cf;--spectrum-magenta-1200: #ffcadd;--spectrum-magenta-1300: #ffdde9;--spectrum-magenta-1400: #ffecf3;--spectrum-legacy-color-celery-400: var(--spectrum-celery-800);--spectrum-legacy-color-celery-500: var(--spectrum-celery-900);--spectrum-legacy-color-celery-600: var(--spectrum-celery-1000);--spectrum-legacy-color-celery-700: var(--spectrum-celery-1100);--spectrum-legacy-color-chartreuse-400: var(--spectrum-chartreuse-900);--spectrum-legacy-color-chartreuse-500: var(--spectrum-chartreuse-1000);--spectrum-legacy-color-chartreuse-600: var(--spectrum-chartreuse-1100);--spectrum-legacy-color-chartreuse-700: var(--spectrum-chartreuse-1200);--spectrum-legacy-color-yellow-400: var(--spectrum-yellow-1000);--spectrum-legacy-color-yellow-500: var(--spectrum-yellow-1100);--spectrum-legacy-color-yellow-600: var(--spectrum-yellow-1200);--spectrum-legacy-color-yellow-700: var(--spectrum-yellow-1300);--spectrum-legacy-color-magenta-400: var(--spectrum-magenta-600);--spectrum-legacy-color-magenta-500: var(--spectrum-magenta-700);--spectrum-legacy-color-magenta-600: var(--spectrum-magenta-800);--spectrum-legacy-color-magenta-700: var(--spectrum-magenta-900);--spectrum-legacy-color-fuchsia-400: var(--spectrum-fuchsia-600);--spectrum-legacy-color-fuchsia-500: var(--spectrum-fuchsia-700);--spectrum-legacy-color-fuchsia-600: var(--spectrum-fuchsia-800);--spectrum-legacy-color-fuchsia-700: var(--spectrum-fuchsia-900);--spectrum-legacy-color-purple-400: var(--spectrum-purple-600);--spectrum-legacy-color-purple-500: var(--spectrum-purple-700);--spectrum-legacy-color-purple-600: var(--spectrum-purple-800);--spectrum-legacy-color-purple-700: var(--spectrum-purple-900);--spectrum-legacy-color-indigo-400: var(--spectrum-indigo-600);--spectrum-legacy-color-indigo-500: var(--spectrum-indigo-700);--spectrum-legacy-color-indigo-600: var(--spectrum-indigo-800);--spectrum-legacy-color-indigo-700: var(--spectrum-indigo-900);--spectrum-legacy-color-red-400: var(--spectrum-red-600);--spectrum-legacy-color-red-500: var(--spectrum-red-700);--spectrum-legacy-color-red-600: var(--spectrum-red-800);--spectrum-legacy-color-red-700: var(--spectrum-red-900);--spectrum-legacy-color-orange-400: var(--spectrum-orange-800);--spectrum-legacy-color-orange-500: var(--spectrum-orange-900);--spectrum-legacy-color-orange-600: var(--spectrum-orange-1000);--spectrum-legacy-color-orange-700: var(--spectrum-orange-1100);--spectrum-legacy-color-green-400: var(--spectrum-green-700);--spectrum-legacy-color-green-500: var(--spectrum-green-800);--spectrum-legacy-color-green-600: var(--spectrum-green-900);--spectrum-legacy-color-green-700: var(--spectrum-green-1000);--spectrum-legacy-color-blue-400: var(--spectrum-blue-700);--spectrum-legacy-color-blue-500: var(--spectrum-blue-800);--spectrum-legacy-color-blue-600: var(--spectrum-blue-900);--spectrum-legacy-color-blue-700: var(--spectrum-blue-1000);--spectrum-alias-background-color-modal-overlay: #0009;--spectrum-alias-dropshadow-color: #000c;--spectrum-alias-background-color-hover-overlay: #ffffff14;--spectrum-alias-highlight-hover: #ffffff14;--spectrum-alias-highlight-active: #efefef26;--spectrum-alias-highlight-selected: #4096f333;--spectrum-alias-highlight-selected-hover: #4096f34d;--spectrum-alias-highlight-invalid: #dd211826;--spectrum-alias-text-highlight-color: #4096f34d;--spectrum-alias-background-color-quickactions: #1d1d1de6;--spectrum-alias-radial-reaction-color-default: #ebebeb99;--spectrum-alias-pasteboard-background-color: var(--spectrum-global-color-gray-50);--spectrum-alias-appframe-border-color: var(--spectrum-global-color-gray-50);--spectrum-alias-appframe-separator-color: var(--spectrum-global-color-gray-50);--spectrum-colorarea-border-color: #efefef1a;--spectrum-colorarea-border-color-hover: #efefef1a;--spectrum-colorarea-border-color-down: #efefef1a;--spectrum-colorarea-border-color-key-focus: #efefef1a;--spectrum-colorslider-border-color: #efefef1a;--spectrum-colorslider-border-color-hover: #efefef1a;--spectrum-colorslider-border-color-down: #efefef1a;--spectrum-colorslider-border-color-key-focus: #efefef1a;--spectrum-colorslider-vertical-border-color: #efefef1a;--spectrum-colorslider-vertical-border-color-hover: #efefef1a;--spectrum-colorslider-vertical-border-color-down: #efefef1a;--spectrum-colorslider-vertical-border-color-key-focus: #efefef1a;--spectrum-colorwheel-border-color: #efefef1a;--spectrum-colorwheel-border-color-hover: #efefef1a;--spectrum-colorwheel-border-color-down: #efefef1a;--spectrum-colorwheel-border-color-key-focus: #efefef1a;--spectrum-miller-column-item-background-color-selected: #2680eb1a;--spectrum-miller-column-item-background-color-selected-hover: #2680eb33;--spectrum-tabs-compact-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-compact-vertical-rule-color: var(--spectrum-global-color-gray-200);--spectrum-tabs-compact-vertical-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-compact-vertical-emphasized-rule-color: var(--spectrum-global-color-gray-200);--spectrum-tabs-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-quiet-compact-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-quiet-compact-vertical-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-quiet-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-quiet-vertical-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-well-background-color: #ebebeb05;--spectrum-well-border-color: #efefef0d;--spectrum-tray-background-color: var(--spectrum-global-color-gray-100);--spectrum-accent-background-color-default: var(--spectrum-accent-color-600);--spectrum-accent-background-color-hover: var(--spectrum-accent-color-500);--spectrum-accent-background-color-down: var(--spectrum-accent-color-400);--spectrum-accent-background-color-key-focus: var(--spectrum-accent-color-500);--spectrum-neutral-background-color-default: var(--spectrum-gray-400);--spectrum-neutral-background-color-hover: var(--spectrum-gray-300);--spectrum-neutral-background-color-down: var(--spectrum-gray-200);--spectrum-neutral-background-color-key-focus: var(--spectrum-gray-300);--spectrum-neutral-subdued-background-color-default: var(--spectrum-gray-400);--spectrum-neutral-subdued-background-color-hover: var(--spectrum-gray-300);--spectrum-neutral-subdued-background-color-down: var(--spectrum-gray-200);--spectrum-neutral-subdued-background-color-key-focus: var(--spectrum-gray-300);--spectrum-negative-background-color-default: var(--spectrum-red-600);--spectrum-negative-background-color-hover: var(--spectrum-red-500);--spectrum-negative-background-color-down: var(--spectrum-red-400);--spectrum-negative-background-color-key-focus: var(--spectrum-red-500);--spectrum-positive-background-color-default: var(--spectrum-green-600);--spectrum-positive-background-color-hover: var(--spectrum-green-500);--spectrum-positive-background-color-down: var(--spectrum-green-400);--spectrum-positive-background-color-key-focus: var(--spectrum-green-500);--spectrum-informative-background-color-default: var(--spectrum-blue-600);--spectrum-informative-background-color-hover: var(--spectrum-blue-500);--spectrum-informative-background-color-down: var(--spectrum-blue-400);--spectrum-informative-background-color-key-focus: var(--spectrum-blue-500);--spectrum-gray-background-color-default: var(--spectrum-gray-700);--spectrum-red-background-color-default: var(--spectrum-red-700);--spectrum-orange-background-color-default: var(--spectrum-orange-800);--spectrum-yellow-background-color-default: var(--spectrum-yellow-1000);--spectrum-chartreuse-background-color-default: var(--spectrum-chartreuse-900);--spectrum-celery-background-color-default: var(--spectrum-celery-800);--spectrum-green-background-color-default: var(--spectrum-green-700);--spectrum-seafoam-background-color-default: var(--spectrum-seafoam-700);--spectrum-cyan-background-color-default: var(--spectrum-cyan-700);--spectrum-blue-background-color-default: var(--spectrum-blue-700);--spectrum-indigo-background-color-default: var(--spectrum-indigo-700);--spectrum-purple-background-color-default: var(--spectrum-purple-700);--spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-700);--spectrum-magenta-background-color-default: var(--spectrum-magenta-700);--spectrum-negative-visual-color: var(--spectrum-red-700);--spectrum-positive-visual-color: var(--spectrum-green-800);--spectrum-notice-visual-color: var(--spectrum-orange-900);--spectrum-informative-visual-color: var(--spectrum-blue-900);--spectrum-gray-visual-color: var(--spectrum-gray-600);--spectrum-red-visual-color: var(--spectrum-red-700);--spectrum-orange-visual-color: var(--spectrum-orange-900);--spectrum-yellow-visual-color: var(--spectrum-yellow-1100);--spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-900);--spectrum-celery-visual-color: var(--spectrum-celery-800);--spectrum-green-visual-color: var(--spectrum-green-800);--spectrum-seafoam-visual-color: var(--spectrum-seafoam-800);--spectrum-cyan-visual-color: var(--spectrum-cyan-900);--spectrum-blue-visual-color: var(--spectrum-blue-900);--spectrum-indigo-visual-color: var(--spectrum-indigo-900);--spectrum-purple-visual-color: var(--spectrum-purple-900);--spectrum-fuchsia-visual-color: var(--spectrum-fuchsia-900);--spectrum-magenta-visual-color: var(--spectrum-magenta-900)}.zA6MfG_spectrum{--spectrum-global-animation-duration-0: 0s;--spectrum-global-animation-duration-100: .13s;--spectrum-global-animation-duration-200: .16s;--spectrum-global-animation-duration-300: .19s;--spectrum-global-animation-duration-400: .22s;--spectrum-global-animation-duration-500: .25s;--spectrum-global-animation-duration-600: .3s;--spectrum-global-animation-duration-700: .35s;--spectrum-global-animation-duration-800: .4s;--spectrum-global-animation-duration-900: .45s;--spectrum-global-animation-duration-1000: .5s;--spectrum-global-animation-duration-2000: 1s;--spectrum-global-animation-duration-4000: 2s;--spectrum-global-animation-ease-in-out: cubic-bezier(.45, 0, .4, 1);--spectrum-global-animation-ease-in: cubic-bezier(.5, 0, 1, 1);--spectrum-global-animation-ease-out: cubic-bezier(0, 0, .4, 1);--spectrum-global-animation-linear: cubic-bezier(0, 0, 1, 1);--spectrum-global-color-status: Verified;--spectrum-global-color-version: 5.1;--spectrum-global-color-static-black: #000;--spectrum-global-color-static-white: #fff;--spectrum-global-color-static-blue: #0057bf;--spectrum-global-color-static-gray-50: #fff;--spectrum-global-color-static-gray-75: #fff;--spectrum-global-color-static-gray-100: #fff;--spectrum-global-color-static-gray-200: #ebebeb;--spectrum-global-color-static-gray-300: #d9d9d9;--spectrum-global-color-static-gray-400: #b3b3b3;--spectrum-global-color-static-gray-500: #929292;--spectrum-global-color-static-gray-600: #6e6e6e;--spectrum-global-color-static-gray-700: #474747;--spectrum-global-color-static-gray-800: #222;--spectrum-global-color-static-gray-900: #000;--spectrum-global-color-static-blue-200: #82c1fb;--spectrum-global-color-static-blue-300: #62adf7;--spectrum-global-color-static-blue-400: #4297f4;--spectrum-global-color-static-blue-500: #1b7ff5;--spectrum-global-color-static-blue-600: #0469e3;--spectrum-global-color-static-blue-700: #0057be;--spectrum-global-color-static-blue-800: #004899;--spectrum-global-color-static-red-400: #ed4030;--spectrum-global-color-static-red-500: #d91c15;--spectrum-global-color-static-red-600: #bb0202;--spectrum-global-color-static-red-700: #9a0000;--spectrum-global-color-static-orange-400: #fa8b1a;--spectrum-global-color-static-orange-500: #e97500;--spectrum-global-color-static-orange-600: #d16100;--spectrum-global-color-static-orange-700: #b65000;--spectrum-global-color-static-green-400: #1da973;--spectrum-global-color-static-green-500: #009461;--spectrum-global-color-static-green-600: #007e50;--spectrum-global-color-static-green-700: #006941;--spectrum-global-color-static-celery-200: #7ee572;--spectrum-global-color-static-celery-300: #57d456;--spectrum-global-color-static-celery-400: #30c13d;--spectrum-global-color-static-celery-500: #0fac26;--spectrum-global-color-static-celery-600: #009614;--spectrum-global-color-static-celery-700: #00800f;--spectrum-global-color-static-chartreuse-300: #b0de1b;--spectrum-global-color-static-chartreuse-400: #9dcb0d;--spectrum-global-color-static-chartreuse-500: #8bb604;--spectrum-global-color-static-chartreuse-600: #7aa200;--spectrum-global-color-static-chartreuse-700: #6a8d00;--spectrum-global-color-static-yellow-200: #faed7b;--spectrum-global-color-static-yellow-300: #fae017;--spectrum-global-color-static-yellow-400: #eecd00;--spectrum-global-color-static-yellow-500: #ddb900;--spectrum-global-color-static-yellow-600: #c9a400;--spectrum-global-color-static-yellow-700: #b59000;--spectrum-global-color-static-magenta-200: #fd7faf;--spectrum-global-color-static-magenta-300: #f2629d;--spectrum-global-color-static-magenta-400: #e24487;--spectrum-global-color-static-magenta-500: #cd286f;--spectrum-global-color-static-magenta-600: #b30f59;--spectrum-global-color-static-magenta-700: #950048;--spectrum-global-color-static-fuchsia-400: #e45de6;--spectrum-global-color-static-fuchsia-500: #d33fd4;--spectrum-global-color-static-fuchsia-600: #bc27bb;--spectrum-global-color-static-fuchsia-700: #a30aa3;--spectrum-global-color-static-purple-400: #b279fa;--spectrum-global-color-static-purple-500: #a15df6;--spectrum-global-color-static-purple-600: #8e43ea;--spectrum-global-color-static-purple-700: #782bd8;--spectrum-global-color-static-purple-800: #6217be;--spectrum-global-color-static-indigo-200: #b2b5ff;--spectrum-global-color-static-indigo-300: #9b9fff;--spectrum-global-color-static-indigo-400: #8489fd;--spectrum-global-color-static-indigo-500: #6d73f6;--spectrum-global-color-static-indigo-600: #575de8;--spectrum-global-color-static-indigo-700: #444ad0;--spectrum-global-color-static-seafoam-200: #4bcec7;--spectrum-global-color-static-seafoam-300: #20bbb4;--spectrum-global-color-static-seafoam-400: #00a6a0;--spectrum-global-color-static-seafoam-500: #00918b;--spectrum-global-color-static-seafoam-600: #007c76;--spectrum-global-color-static-seafoam-700: #006763;--spectrum-global-color-opacity-100: 1;--spectrum-global-color-opacity-90: .9;--spectrum-global-color-opacity-80: .8;--spectrum-global-color-opacity-60: .6;--spectrum-global-color-opacity-50: .5;--spectrum-global-color-opacity-42: .42;--spectrum-global-color-opacity-40: .4;--spectrum-global-color-opacity-30: .3;--spectrum-global-color-opacity-25: .25;--spectrum-global-color-opacity-20: .2;--spectrum-global-color-opacity-15: .15;--spectrum-global-color-opacity-10: .1;--spectrum-global-color-opacity-8: .08;--spectrum-global-color-opacity-7: .07;--spectrum-global-color-opacity-6: .06;--spectrum-global-color-opacity-5: .05;--spectrum-global-color-opacity-4: .04;--spectrum-global-color-celery-400: var(--spectrum-celery-600);--spectrum-global-color-celery-500: var(--spectrum-celery-700);--spectrum-global-color-celery-600: var(--spectrum-celery-800);--spectrum-global-color-celery-700: var(--spectrum-celery-900);--spectrum-global-color-chartreuse-400: var(--spectrum-chartreuse-500);--spectrum-global-color-chartreuse-500: var(--spectrum-chartreuse-600);--spectrum-global-color-chartreuse-600: var(--spectrum-chartreuse-700);--spectrum-global-color-chartreuse-700: var(--spectrum-chartreuse-800);--spectrum-global-color-yellow-400: var(--spectrum-yellow-400);--spectrum-global-color-yellow-500: var(--spectrum-yellow-500);--spectrum-global-color-yellow-600: var(--spectrum-yellow-600);--spectrum-global-color-yellow-700: var(--spectrum-yellow-700);--spectrum-global-color-magenta-400: var(--spectrum-magenta-800);--spectrum-global-color-magenta-500: var(--spectrum-magenta-900);--spectrum-global-color-magenta-600: var(--spectrum-magenta-1000);--spectrum-global-color-magenta-700: var(--spectrum-magenta-1100);--spectrum-global-color-fuchsia-400: var(--spectrum-fuchsia-800);--spectrum-global-color-fuchsia-500: var(--spectrum-fuchsia-900);--spectrum-global-color-fuchsia-600: var(--spectrum-fuchsia-1000);--spectrum-global-color-fuchsia-700: var(--spectrum-fuchsia-1100);--spectrum-global-color-purple-400: var(--spectrum-purple-800);--spectrum-global-color-purple-500: var(--spectrum-purple-900);--spectrum-global-color-purple-600: var(--spectrum-purple-1000);--spectrum-global-color-purple-700: var(--spectrum-purple-1100);--spectrum-global-color-indigo-400: var(--spectrum-indigo-800);--spectrum-global-color-indigo-500: var(--spectrum-indigo-900);--spectrum-global-color-indigo-600: var(--spectrum-indigo-1000);--spectrum-global-color-indigo-700: var(--spectrum-indigo-1100);--spectrum-global-color-seafoam-400: var(--spectrum-seafoam-700);--spectrum-global-color-seafoam-500: var(--spectrum-seafoam-800);--spectrum-global-color-seafoam-600: var(--spectrum-seafoam-900);--spectrum-global-color-seafoam-700: var(--spectrum-seafoam-1000);--spectrum-global-color-red-400: var(--spectrum-red-800);--spectrum-global-color-red-500: var(--spectrum-red-900);--spectrum-global-color-red-600: var(--spectrum-red-1000);--spectrum-global-color-red-700: var(--spectrum-red-1100);--spectrum-global-color-orange-400: var(--spectrum-orange-600);--spectrum-global-color-orange-500: var(--spectrum-orange-700);--spectrum-global-color-orange-600: var(--spectrum-orange-800);--spectrum-global-color-orange-700: var(--spectrum-orange-900);--spectrum-global-color-green-400: var(--spectrum-green-800);--spectrum-global-color-green-500: var(--spectrum-green-900);--spectrum-global-color-green-600: var(--spectrum-green-1000);--spectrum-global-color-green-700: var(--spectrum-green-1100);--spectrum-global-color-blue-400: var(--spectrum-blue-800);--spectrum-global-color-blue-500: var(--spectrum-blue-900);--spectrum-global-color-blue-600: var(--spectrum-blue-1000);--spectrum-global-color-blue-700: var(--spectrum-blue-1100);--spectrum-global-color-gray-50: var(--spectrum-gray-50);--spectrum-global-color-gray-75: var(--spectrum-gray-75);--spectrum-global-color-gray-100: var(--spectrum-gray-100);--spectrum-global-color-gray-200: var(--spectrum-gray-200);--spectrum-global-color-gray-300: var(--spectrum-gray-300);--spectrum-global-color-gray-400: var(--spectrum-gray-400);--spectrum-global-color-gray-500: var(--spectrum-gray-500);--spectrum-global-color-gray-600: var(--spectrum-gray-600);--spectrum-global-color-gray-700: var(--spectrum-gray-700);--spectrum-global-color-gray-800: var(--spectrum-gray-800);--spectrum-global-color-gray-900: var(--spectrum-gray-900);--spectrum-accent-color-100: var(--spectrum-blue-100);--spectrum-accent-color-200: var(--spectrum-blue-200);--spectrum-accent-color-300: var(--spectrum-blue-300);--spectrum-accent-color-400: var(--spectrum-blue-400);--spectrum-accent-color-500: var(--spectrum-blue-500);--spectrum-accent-color-600: var(--spectrum-blue-600);--spectrum-accent-color-700: var(--spectrum-blue-700);--spectrum-accent-color-800: var(--spectrum-blue-800);--spectrum-accent-color-900: var(--spectrum-blue-900);--spectrum-accent-color-1000: var(--spectrum-blue-1000);--spectrum-accent-color-1100: var(--spectrum-blue-1100);--spectrum-accent-color-1200: var(--spectrum-blue-1200);--spectrum-accent-color-1300: var(--spectrum-blue-1300);--spectrum-accent-color-1400: var(--spectrum-blue-1400);--spectrum-semantic-negative-color-background: var(--spectrum-negative-background-color-default);--spectrum-semantic-negative-color-default: var(--spectrum-red-900);--spectrum-semantic-negative-color-state-hover: var(--spectrum-red-1000);--spectrum-semantic-negative-color-dark: var(--spectrum-red-1000);--spectrum-semantic-negative-color-border: var(--spectrum-red-800);--spectrum-semantic-negative-color-icon: var(--spectrum-negative-visual-color);--spectrum-semantic-negative-color-status: var(--spectrum-negative-visual-color);--spectrum-semantic-negative-color-text-large: var(--spectrum-red-900);--spectrum-semantic-negative-color-text-small: var(--spectrum-red-900);--spectrum-semantic-negative-color-state-down: var(--spectrum-red-1100);--spectrum-semantic-negative-color-state-focus: var(--spectrum-red-1000);--spectrum-semantic-notice-color-background: var(--spectrum-global-color-static-orange-600, #da7b11);--spectrum-semantic-notice-color-default: var(--spectrum-orange-700);--spectrum-semantic-notice-color-dark: var(--spectrum-orange-800);--spectrum-semantic-notice-color-border: var(--spectrum-orange-600);--spectrum-semantic-notice-color-icon: var(--spectrum-notice-visual-color);--spectrum-semantic-notice-color-status: var(--spectrum-notice-visual-color);--spectrum-semantic-notice-color-text-large: var(--spectrum-orange-700);--spectrum-semantic-notice-color-text-small: var(--spectrum-orange-800);--spectrum-semantic-notice-color-state-down: var(--spectrum-orange-900);--spectrum-semantic-notice-color-state-focus: var(--spectrum-orange-600);--spectrum-semantic-positive-color-background: var(--spectrum-positive-background-color-default);--spectrum-semantic-positive-color-default: var(--spectrum-green-900);--spectrum-semantic-positive-color-dark: var(--spectrum-green-1000);--spectrum-semantic-positive-color-border: var(--spectrum-green-800);--spectrum-semantic-positive-color-icon: var(--spectrum-positive-visual-color);--spectrum-semantic-positive-color-status: var(--spectrum-positive-visual-color);--spectrum-semantic-positive-color-text-large: var(--spectrum-green-900);--spectrum-semantic-positive-color-text-small: var(--spectrum-green-1000);--spectrum-semantic-positive-color-state-down: var(--spectrum-green-1100);--spectrum-semantic-positive-color-state-focus: var(--spectrum-green-800);--spectrum-semantic-informative-color-background: var(--spectrum-informative-background-color-default);--spectrum-semantic-informative-color-default: var(--spectrum-blue-900);--spectrum-semantic-informative-color-dark: var(--spectrum-blue-1000);--spectrum-semantic-informative-color-border: var(--spectrum-blue-800);--spectrum-semantic-informative-color-icon: var(--spectrum-informative-visual-color);--spectrum-semantic-informative-color-status: var(--spectrum-informative-visual-color);--spectrum-semantic-informative-color-text-large: var(--spectrum-blue-900);--spectrum-semantic-informative-color-text-small: var(--spectrum-blue-1000);--spectrum-semantic-informative-color-state-down: var(--spectrum-blue-1100);--spectrum-semantic-informative-color-state-focus: var(--spectrum-blue-800);--spectrum-semantic-cta-color-background-default: var(--spectrum-accent-background-color-default);--spectrum-semantic-cta-color-background-hover: var(--spectrum-accent-background-color-hover);--spectrum-semantic-cta-color-background-down: var(--spectrum-accent-background-color-down);--spectrum-semantic-cta-color-background-key-focus: var(--spectrum-accent-background-color-key-focus);--spectrum-semantic-background-color-key-focus: var(--spectrum-global-color-static-blue-600, #1473e6);--spectrum-semantic-neutral-color-background: var(--spectrum-neutral-subdued-background-color-default);--spectrum-semantic-presence-color-1: var(--spectrum-global-color-static-red-500, #e34850);--spectrum-semantic-presence-color-2: var(--spectrum-global-color-static-orange-400, #f29423);--spectrum-semantic-presence-color-3: var(--spectrum-global-color-static-yellow-400, #edcc00);--spectrum-semantic-presence-color-4: #4bcca2;--spectrum-semantic-presence-color-5: #00c7ff;--spectrum-semantic-presence-color-6: #008cb8;--spectrum-semantic-presence-color-7: #7e4bf3;--spectrum-semantic-presence-color-8: var(--spectrum-global-color-static-fuchsia-600, #b130bd);--spectrum-global-dimension-static-size-0: 0px;--spectrum-global-dimension-static-size-10: 1px;--spectrum-global-dimension-static-size-25: 2px;--spectrum-global-dimension-static-size-50: 4px;--spectrum-global-dimension-static-size-40: 3px;--spectrum-global-dimension-static-size-65: 5px;--spectrum-global-dimension-static-size-100: 8px;--spectrum-global-dimension-static-size-115: 9px;--spectrum-global-dimension-static-size-125: 10px;--spectrum-global-dimension-static-size-130: 11px;--spectrum-global-dimension-static-size-150: 12px;--spectrum-global-dimension-static-size-160: 13px;--spectrum-global-dimension-static-size-175: 14px;--spectrum-global-dimension-static-size-200: 16px;--spectrum-global-dimension-static-size-225: 18px;--spectrum-global-dimension-static-size-250: 20px;--spectrum-global-dimension-static-size-300: 24px;--spectrum-global-dimension-static-size-400: 32px;--spectrum-global-dimension-static-size-450: 36px;--spectrum-global-dimension-static-size-500: 40px;--spectrum-global-dimension-static-size-550: 44px;--spectrum-global-dimension-static-size-600: 48px;--spectrum-global-dimension-static-size-700: 56px;--spectrum-global-dimension-static-size-800: 64px;--spectrum-global-dimension-static-size-900: 72px;--spectrum-global-dimension-static-size-1000: 80px;--spectrum-global-dimension-static-size-1200: 96px;--spectrum-global-dimension-static-size-1700: 136px;--spectrum-global-dimension-static-size-2400: 192px;--spectrum-global-dimension-static-size-2600: 208px;--spectrum-global-dimension-static-size-3400: 272px;--spectrum-global-dimension-static-size-3600: 288px;--spectrum-global-dimension-static-size-4600: 368px;--spectrum-global-dimension-static-size-5000: 400px;--spectrum-global-dimension-static-size-6000: 480px;--spectrum-global-dimension-static-font-size-50: 11px;--spectrum-global-dimension-static-font-size-75: 12px;--spectrum-global-dimension-static-font-size-100: 14px;--spectrum-global-dimension-static-font-size-150: 15px;--spectrum-global-dimension-static-font-size-200: 16px;--spectrum-global-dimension-static-font-size-300: 18px;--spectrum-global-dimension-static-font-size-400: 20px;--spectrum-global-dimension-static-font-size-500: 22px;--spectrum-global-dimension-static-font-size-600: 25px;--spectrum-global-dimension-static-font-size-700: 28px;--spectrum-global-dimension-static-font-size-800: 32px;--spectrum-global-dimension-static-font-size-900: 36px;--spectrum-global-dimension-static-font-size-1000: 40px;--spectrum-global-dimension-static-percent-50: 50%;--spectrum-global-dimension-static-percent-100: 100%;--spectrum-global-dimension-static-breakpoint-xsmall: 304px;--spectrum-global-dimension-static-breakpoint-small: 768px;--spectrum-global-dimension-static-breakpoint-medium: 1280px;--spectrum-global-dimension-static-breakpoint-large: 1768px;--spectrum-global-dimension-static-breakpoint-xlarge: 2160px;--spectrum-global-dimension-static-grid-columns: 12;--spectrum-global-dimension-static-grid-fluid-width: 100%;--spectrum-global-dimension-static-grid-fixed-max-width: 1280px;--spectrum-global-font-family-base: adobe-clean, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;--spectrum-global-font-family-serif: adobe-clean-serif, "Source Serif Pro", Georgia, serif;--spectrum-global-font-family-code: "Source Code Pro", Monaco, monospace;--spectrum-global-font-weight-thin: 100;--spectrum-global-font-weight-ultra-light: 200;--spectrum-global-font-weight-light: 300;--spectrum-global-font-weight-regular: 400;--spectrum-global-font-weight-medium: 500;--spectrum-global-font-weight-semi-bold: 600;--spectrum-global-font-weight-bold: 700;--spectrum-global-font-weight-extra-bold: 800;--spectrum-global-font-weight-black: 900;--spectrum-global-font-style-regular: normal;--spectrum-global-font-style-italic: italic;--spectrum-global-font-letter-spacing-none: 0;--spectrum-global-font-letter-spacing-small: .0125em;--spectrum-global-font-letter-spacing-han: .05em;--spectrum-global-font-letter-spacing-medium: .06em;--spectrum-global-font-line-height-large: 1.7;--spectrum-global-font-line-height-medium: 1.5;--spectrum-global-font-line-height-small: 1.3;--spectrum-global-font-multiplier-25: .25em;--spectrum-global-font-multiplier-75: .75em;--spectrum-alias-border-size-thin: var(--spectrum-global-dimension-static-size-10, 1px);--spectrum-alias-border-size-thick: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-alias-border-size-thicker: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-alias-border-size-thickest: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-alias-input-border-size: var(--spectrum-global-dimension-static-size-10, 1px);--spectrum-alias-border-offset-thin: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-alias-border-offset-thick: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-alias-border-offset-thicker: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-alias-border-offset-thickest: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-alias-grid-baseline: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-alias-grid-gutter-xsmall: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-alias-grid-gutter-small: var(--spectrum-global-dimension-static-size-300, 24px);--spectrum-alias-grid-gutter-medium: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-alias-grid-gutter-large: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-alias-grid-gutter-xlarge: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-alias-grid-margin-xsmall: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-alias-grid-margin-small: var(--spectrum-global-dimension-static-size-300, 24px);--spectrum-alias-grid-margin-medium: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-alias-grid-margin-large: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-alias-grid-margin-xlarge: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-alias-grid-layout-region-margin-bottom-xsmall: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-alias-grid-layout-region-margin-bottom-small: var(--spectrum-global-dimension-static-size-300, 24px);--spectrum-alias-grid-layout-region-margin-bottom-medium: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-alias-grid-layout-region-margin-bottom-large: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-alias-grid-layout-region-margin-bottom-xlarge: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-alias-radial-reaction-size-default: var(--spectrum-global-dimension-static-size-550, 44px);--spectrum-alias-font-family-ar: var(--spectrum-global-font-font-family-ar);--spectrum-alias-font-family-he: var(--spectrum-global-font-font-family-he);--spectrum-alias-font-family-zh: var(--spectrum-global-font-font-family-zh);--spectrum-alias-font-family-zhhans: var(--spectrum-global-font-font-family-zhhans);--spectrum-alias-font-family-ko: var(--spectrum-global-font-font-family-ko);--spectrum-alias-font-family-ja: var(--spectrum-global-font-font-family-ja);--spectrum-alias-font-family-condensed: var(--spectrum-global-font-font-family-condensed);--spectrum-alias-line-height-body: var(--spectrum-global-font-line-height-medium, 1.5);--spectrum-alias-line-height-title: var(--spectrum-global-font-line-height-small, 1.3);--spectrum-alias-body-han-text-line-height: var(--spectrum-global-font-line-height-large, 1.7);--spectrum-alias-body-text-font-family: var(--spectrum-global-font-family-base, adobe-clean, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif);--spectrum-alias-body-text-line-height: var(--spectrum-global-font-line-height-medium, 1.5);--spectrum-alias-body-text-font-weight: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-body-text-font-weight-strong: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-button-text-line-height: var(--spectrum-global-font-line-height-small, 1.3);--spectrum-alias-heading-han-text-line-height: var(--spectrum-global-font-line-height-medium, 1.5);--spectrum-alias-heading-text-line-height: var(--spectrum-global-font-line-height-small, 1.3);--spectrum-alias-heading-text-font-weight-regular: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-heading-text-font-weight-regular-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-heading-text-font-weight-quiet: var(--spectrum-global-font-weight-light, 300);--spectrum-alias-heading-text-font-weight-quiet-strong: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-heading-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-heading-text-font-weight-strong-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-subheading-text-font-weight: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-subheading-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-detail-text-font-weight: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-detail-text-font-weight-light: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-detail-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-serif-text-font-family: var(--spectrum-global-font-family-serif, adobe-clean-serif, "Source Serif Pro", Georgia, serif);--spectrum-alias-article-text-font-family: var(--spectrum-global-font-family-serif, adobe-clean-serif, "Source Serif Pro", Georgia, serif);--spectrum-alias-article-body-text-font-weight: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-article-body-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-article-heading-text-font-weight: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-article-heading-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-article-heading-text-font-weight-quiet: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-article-heading-text-font-weight-quiet-strong: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-article-subheading-text-font-weight: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-article-subheading-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-article-detail-text-font-weight: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-article-detail-text-font-weight-strong: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-code-text-font-family: var(--spectrum-global-font-family-code, "Source Code Pro", Monaco, monospace);--spectrum-alias-han-heading-text-font-weight-regular: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-han-heading-text-font-weight-regular-emphasis: var(--spectrum-global-font-weight-extra-bold, 800);--spectrum-alias-han-heading-text-font-weight-regular-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-han-heading-text-font-weight-quiet: var(--spectrum-global-font-weight-light, 300);--spectrum-alias-han-heading-text-font-weight-quiet-emphasis: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-han-heading-text-font-weight-quiet-strong: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-han-heading-text-font-weight-light: var(--spectrum-global-font-weight-light, 300);--spectrum-alias-han-heading-text-font-weight-light-emphasis: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-han-heading-text-font-weight-light-strong: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-han-heading-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-han-heading-text-font-weight-strong-emphasis: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-han-heading-text-font-weight-strong-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-han-heading-text-font-weight-heavy: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-han-heading-text-font-weight-heavy-emphasis: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-han-heading-text-font-weight-heavy-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-han-body-text-font-weight-regular: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-han-body-text-font-weight-emphasis: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-han-body-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-han-subheading-text-font-weight-regular: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-han-subheading-text-font-weight-emphasis: var(--spectrum-global-font-weight-extra-bold, 800);--spectrum-alias-han-subheading-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-han-detail-text-font-weight: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-han-detail-text-font-weight-emphasis: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-han-detail-text-font-weight-strong: var(--spectrum-global-font-weight-black, 900);--spectrum-alias-code-text-font-weight-regular: var(--spectrum-global-font-weight-regular, 400);--spectrum-alias-code-text-font-weight-strong: var(--spectrum-global-font-weight-bold, 700);--spectrum-alias-code-text-line-height: var(--spectrum-global-font-line-height-medium, 1.5);--spectrum-alias-heading-margin-bottom: var(--spectrum-global-font-multiplier-25, .25em);--spectrum-alias-body-margin-bottom: var(--spectrum-global-font-multiplier-75, .75em);--spectrum-alias-focus-ring-gap: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-alias-input-focusring-gap: var(--spectrum-global-dimension-static-size-0, 0px);--spectrum-alias-focus-ring-size: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-alias-input-focusring-size: var(--spectrum-global-dimension-static-size-10, 1px);--spectrum-alias-loupe-entry-animation-duration: var(--spectrum-global-animation-duration-300, .19s);--spectrum-alias-loupe-exit-animation-duration: var(--spectrum-global-animation-duration-300, .19s)}.zA6MfG_spectrum--medium,.zA6MfG_spectrum--large{--spectrum-alias-dropshadow-blur: var(--spectrum-global-dimension-size-50);--spectrum-alias-dropshadow-offset-y: var(--spectrum-global-dimension-size-10);--spectrum-alias-font-size-default: var(--spectrum-global-dimension-font-size-100);--spectrum-alias-line-height-small: var(--spectrum-global-dimension-size-200);--spectrum-alias-line-height-medium: var(--spectrum-global-dimension-size-250);--spectrum-alias-line-height-large: var(--spectrum-global-dimension-size-300);--spectrum-alias-line-height-xlarge: var(--spectrum-global-dimension-size-400);--spectrum-alias-line-height-xxlarge: var(--spectrum-global-dimension-size-600);--spectrum-alias-layout-label-gap-size: var(--spectrum-global-dimension-size-100);--spectrum-alias-pill-button-text-size: var(--spectrum-global-dimension-font-size-100);--spectrum-alias-pill-button-text-baseline: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-alias-border-radius-xsmall: var(--spectrum-global-dimension-size-10);--spectrum-alias-border-radius-small: var(--spectrum-global-dimension-size-25);--spectrum-alias-border-radius-regular: var(--spectrum-global-dimension-size-50);--spectrum-alias-border-radius-medium: var(--spectrum-global-dimension-size-100);--spectrum-alias-border-radius-large: var(--spectrum-global-dimension-size-200);--spectrum-alias-single-line-height: var(--spectrum-global-dimension-size-400);--spectrum-alias-single-line-width: var(--spectrum-global-dimension-size-2400);--spectrum-alias-workflow-icon-size: var(--spectrum-global-dimension-size-225);--spectrum-alias-heading-display1-text-size: var(--spectrum-global-dimension-font-size-1300);--spectrum-alias-heading-xxxl-text-size: var(--spectrum-global-dimension-font-size-1300);--spectrum-alias-heading-han-display1-text-size: var(--spectrum-global-dimension-font-size-1300);--spectrum-alias-heading-han-xxxl-text-size: var(--spectrum-global-dimension-font-size-1300);--spectrum-alias-heading-han-display1-margin-top: var(--spectrum-global-dimension-font-size-1200);--spectrum-alias-heading-han-xxxl-margin-top: var(--spectrum-global-dimension-font-size-1200);--spectrum-alias-heading-display1-margin-top: var(--spectrum-global-dimension-font-size-1200);--spectrum-alias-heading-xxxl-margin-top: var(--spectrum-global-dimension-font-size-1200);--spectrum-alias-heading-display2-text-size: var(--spectrum-global-dimension-font-size-1100);--spectrum-alias-heading-xxl-text-size: var(--spectrum-global-dimension-font-size-1100);--spectrum-alias-heading-display2-margin-top: var(--spectrum-global-dimension-font-size-900);--spectrum-alias-heading-xxl-margin-top: var(--spectrum-global-dimension-font-size-900);--spectrum-alias-heading-han-display2-text-size: var(--spectrum-global-dimension-font-size-900);--spectrum-alias-heading-han-xxl-text-size: var(--spectrum-global-dimension-font-size-900);--spectrum-alias-heading-han-display2-margin-top: var(--spectrum-global-dimension-font-size-800);--spectrum-alias-heading-han-xxl-margin-top: var(--spectrum-global-dimension-font-size-800);--spectrum-alias-heading1-text-size: var(--spectrum-global-dimension-font-size-900);--spectrum-alias-heading-xl-text-size: var(--spectrum-global-dimension-font-size-900);--spectrum-alias-heading1-margin-top: var(--spectrum-global-dimension-font-size-800);--spectrum-alias-heading-xl-margin-top: var(--spectrum-global-dimension-font-size-800);--spectrum-alias-heading1-han-text-size: var(--spectrum-global-dimension-font-size-800);--spectrum-alias-heading-han-xl-text-size: var(--spectrum-global-dimension-font-size-800);--spectrum-alias-heading1-han-margin-top: var(--spectrum-global-dimension-font-size-700);--spectrum-alias-heading-han-xl-margin-top: var(--spectrum-global-dimension-font-size-700);--spectrum-alias-heading2-text-size: var(--spectrum-global-dimension-font-size-700);--spectrum-alias-heading-l-text-size: var(--spectrum-global-dimension-font-size-700);--spectrum-alias-heading2-margin-top: var(--spectrum-global-dimension-font-size-600);--spectrum-alias-heading-l-margin-top: var(--spectrum-global-dimension-font-size-600);--spectrum-alias-heading2-han-text-size: var(--spectrum-global-dimension-font-size-600);--spectrum-alias-heading-han-l-text-size: var(--spectrum-global-dimension-font-size-600);--spectrum-alias-heading2-han-margin-top: var(--spectrum-global-dimension-font-size-500);--spectrum-alias-heading-han-l-margin-top: var(--spectrum-global-dimension-font-size-500);--spectrum-alias-heading3-text-size: var(--spectrum-global-dimension-font-size-500);--spectrum-alias-heading-m-text-size: var(--spectrum-global-dimension-font-size-500);--spectrum-alias-heading3-margin-top: var(--spectrum-global-dimension-font-size-400);--spectrum-alias-heading-m-margin-top: var(--spectrum-global-dimension-font-size-400);--spectrum-alias-heading3-han-text-size: var(--spectrum-global-dimension-font-size-400);--spectrum-alias-heading-han-m-text-size: var(--spectrum-global-dimension-font-size-400);--spectrum-alias-heading3-han-margin-top: var(--spectrum-global-dimension-font-size-300);--spectrum-alias-heading-han-m-margin-top: var(--spectrum-global-dimension-font-size-300);--spectrum-alias-heading4-text-size: var(--spectrum-global-dimension-font-size-300);--spectrum-alias-heading-s-text-size: var(--spectrum-global-dimension-font-size-300);--spectrum-alias-heading4-margin-top: var(--spectrum-global-dimension-font-size-200);--spectrum-alias-heading-s-margin-top: var(--spectrum-global-dimension-font-size-200);--spectrum-alias-heading5-text-size: var(--spectrum-global-dimension-font-size-200);--spectrum-alias-heading-xs-text-size: var(--spectrum-global-dimension-font-size-200);--spectrum-alias-heading5-margin-top: var(--spectrum-global-dimension-font-size-100);--spectrum-alias-heading-xs-margin-top: var(--spectrum-global-dimension-font-size-100);--spectrum-alias-heading6-text-size: var(--spectrum-global-dimension-font-size-100);--spectrum-alias-heading-xxs-text-size: var(--spectrum-global-dimension-font-size-100);--spectrum-alias-heading6-margin-top: var(--spectrum-global-dimension-font-size-75);--spectrum-alias-heading-xxs-margin-top: var(--spectrum-global-dimension-font-size-75);--spectrum-alias-avatar-size-50: var(--spectrum-global-dimension-size-200);--spectrum-alias-avatar-size-75: var(--spectrum-global-dimension-size-225);--spectrum-alias-avatar-size-200: var(--spectrum-global-dimension-size-275);--spectrum-alias-avatar-size-300: var(--spectrum-global-dimension-size-325);--spectrum-alias-avatar-size-500: var(--spectrum-global-dimension-size-400);--spectrum-alias-avatar-size-700: var(--spectrum-global-dimension-size-500)}.zA6MfG_spectrum--darkest,.zA6MfG_spectrum--dark,.zA6MfG_spectrum--light,.zA6MfG_spectrum--lightest{--spectrum-alias-background-color-default: var(--spectrum-gray-100);--spectrum-alias-background-color-disabled: var(--spectrum-gray-200);--spectrum-alias-background-color-transparent: transparent;--spectrum-alias-background-color-label-gray: #707070;--spectrum-alias-background-color-quickactions-overlay: #0003;--spectrum-alias-placeholder-text-color: var(--spectrum-gray-800);--spectrum-alias-placeholder-text-color-hover: var(--spectrum-gray-900);--spectrum-alias-placeholder-text-color-down: var(--spectrum-gray-900);--spectrum-alias-placeholder-text-color-selected: var(--spectrum-gray-800);--spectrum-alias-label-text-color: var(--spectrum-gray-700);--spectrum-alias-text-color: var(--spectrum-gray-800);--spectrum-alias-text-color-hover: var(--spectrum-gray-900);--spectrum-alias-text-color-down: var(--spectrum-gray-900);--spectrum-alias-text-color-key-focus: var(--spectrum-blue-1000);--spectrum-alias-text-color-mouse-focus: var(--spectrum-blue-1000);--spectrum-alias-text-color-disabled: var(--spectrum-gray-400);--spectrum-alias-text-color-invalid: var(--spectrum-red-900);--spectrum-alias-text-color-selected: var(--spectrum-blue-1000);--spectrum-alias-text-color-selected-neutral: var(--spectrum-gray-900);--spectrum-alias-title-text-color: var(--spectrum-gray-900);--spectrum-alias-heading-text-color: var(--spectrum-gray-900);--spectrum-alias-border-color: var(--spectrum-gray-500);--spectrum-alias-border-color-hover: var(--spectrum-gray-600);--spectrum-alias-border-color-down: var(--spectrum-gray-600);--spectrum-alias-border-color-focus: var(--spectrum-blue-800);--spectrum-alias-input-border-color-key-focus: var(--spectrum-alias-border-color-focus, var(--spectrum-global-color-blue-400));--spectrum-alias-border-color-mouse-focus: var(--spectrum-blue-900);--spectrum-alias-border-color-disabled: var(--spectrum-gray-200);--spectrum-alias-border-color-extralight: var(--spectrum-gray-100);--spectrum-alias-border-color-light: var(--spectrum-gray-200);--spectrum-alias-border-color-mid: var(--spectrum-gray-300);--spectrum-alias-border-color-dark: var(--spectrum-gray-400);--spectrum-alias-border-color-transparent: transparent;--spectrum-alias-border-color-translucent-dark: #0000000d;--spectrum-alias-border-color-translucent-darker: #0000001a;--spectrum-alias-focus-color: var(--spectrum-blue-800);--spectrum-alias-focus-ring-color: var(--spectrum-alias-focus-color, var(--spectrum-global-color-blue-400));--spectrum-alias-track-color-default: var(--spectrum-gray-300);--spectrum-alias-track-color-disabled: var(--spectrum-gray-300);--spectrum-alias-track-color-over-background: #fff3;--spectrum-alias-icon-color: var(--spectrum-gray-700);--spectrum-alias-icon-color-over-background: var(--spectrum-global-color-static-white, #fff);--spectrum-alias-icon-color-hover: var(--spectrum-gray-900);--spectrum-alias-icon-color-down: var(--spectrum-gray-900);--spectrum-alias-icon-color-focus: var(--spectrum-gray-900);--spectrum-alias-icon-color-disabled: var(--spectrum-gray-400);--spectrum-alias-icon-color-selected-neutral: var(--spectrum-gray-900);--spectrum-alias-icon-color-selected: var(--spectrum-blue-900);--spectrum-alias-icon-color-selected-hover: var(--spectrum-blue-1000);--spectrum-alias-icon-color-selected-down: var(--spectrum-blue-1100);--spectrum-alias-icon-color-selected-focus: var(--spectrum-blue-1000);--spectrum-alias-icon-color-error: var(--spectrum-red-800);--spectrum-alias-toolbar-background-color: var(--spectrum-gray-100);--spectrum-alias-colorhandle-outer-border-color: #0000006b;--spectrum-alias-categorical-color-1: var(--spectrum-global-color-static-seafoam-200, #26c0c7);--spectrum-alias-categorical-color-2: var(--spectrum-global-color-static-indigo-700, #5151d3);--spectrum-alias-categorical-color-3: var(--spectrum-global-color-static-orange-500, #e68619);--spectrum-alias-categorical-color-4: var(--spectrum-global-color-static-magenta-500, #d83790);--spectrum-alias-categorical-color-5: var(--spectrum-global-color-static-indigo-200, #9090fa);--spectrum-alias-categorical-color-6: var(--spectrum-global-color-static-celery-200, #58e06f);--spectrum-alias-categorical-color-7: var(--spectrum-global-color-static-blue-500, #2680eb);--spectrum-alias-categorical-color-8: var(--spectrum-global-color-static-purple-800, #6f38b1);--spectrum-alias-categorical-color-9: var(--spectrum-global-color-static-yellow-500, #dfbf00);--spectrum-alias-categorical-color-10: var(--spectrum-global-color-static-orange-700, #cb6f10);--spectrum-alias-categorical-color-11: var(--spectrum-global-color-static-green-600, #268e6c);--spectrum-alias-categorical-color-12: var(--spectrum-global-color-static-chartreuse-300, #9bec54);--spectrum-alias-categorical-color-13: var(--spectrum-global-color-static-blue-200, #5aa9fa);--spectrum-alias-categorical-color-14: var(--spectrum-global-color-static-fuchsia-500, #c038cc);--spectrum-alias-categorical-color-15: var(--spectrum-global-color-static-magenta-200, #f56bb7);--spectrum-alias-categorical-color-16: var(--spectrum-global-color-static-yellow-200, #ffe22e);--spectrum-alias-toggle-color-default: var(--spectrum-gray-600);--spectrum-alias-toggle-color-hover: var(--spectrum-gray-700);--spectrum-alias-toggle-color-key-focus: var(--spectrum-gray-700);--spectrum-alias-toggle-color-selected: var(--spectrum-gray-700);--spectrum-alias-toggle-color-selected-hover: var(--spectrum-gray-800);--spectrum-alias-toggle-color-selected-key-focus: var(--spectrum-gray-800);--spectrum-alias-toggle-color-selected-down: var(--spectrum-gray-900);--spectrum-actionbutton-background-color-disabled: transparent;--spectrum-actionbutton-border-color-disabled: var(--spectrum-gray-300);--spectrum-actionbutton-quiet-background-color-hover: var(--spectrum-gray-200);--spectrum-actionbutton-quiet-background-color-key-focus: var(--spectrum-gray-200);--spectrum-actionbutton-quiet-background-color-down: var(--spectrum-gray-300);--spectrum-actionbutton-static-black-border-color: #0006;--spectrum-actionbutton-static-black-border-color-hover: #0000008c;--spectrum-actionbutton-static-black-border-color-key-focus: #0000008c;--spectrum-actionbutton-static-black-border-color-down: #000000b3;--spectrum-actionbutton-static-black-border-color-disabled: #00000040;--spectrum-actionbutton-static-black-border-color-selected-disabled: #0000001a;--spectrum-actionbutton-static-black-background-color: transparent;--spectrum-actionbutton-static-black-background-color-disabled: transparent;--spectrum-actionbutton-static-white-border-color: #fff6;--spectrum-actionbutton-static-white-border-color-hover: #ffffff8c;--spectrum-actionbutton-static-white-border-color-key-focus: #ffffff8c;--spectrum-actionbutton-static-white-border-color-down: #ffffffb3;--spectrum-actionbutton-static-white-border-color-disabled: #ffffff40;--spectrum-actionbutton-static-white-border-color-selected-disabled: #ffffff1a;--spectrum-actionbutton-static-white-background-color: transparent;--spectrum-actionbutton-static-white-background-color-disabled: transparent;--spectrum-combobox-fieldbutton-inset: 0;--spectrum-combobox-fieldbutton-border-left-width: var(--spectrum-alias-input-border-size);--spectrum-combobox-fieldbutton-focus-ring-border-radius: var(--spectrum-combobox-fieldbutton-border-top-left-radius, 0);--spectrum-combobox-fieldbutton-start-border-radius: 0;--spectrum-combobox-fieldbutton-end-border-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));--spectrum-actiongroup-compact-button-gap: calc(-1 * var(--spectrum-actionbutton-border-size, var(--spectrum-alias-border-size-thin)));--spectrum-alias-neutral-background-color: var(--spectrum-neutral-subdued-background-color-default);--spectrum-breadcrumb-separator-icon-position-adjustment: var(--spectrum-global-dimension-size-10)}.HAZavG_spectrum--large{--spectrum-global-dimension-scale-factor: 1.25;--spectrum-global-dimension-size-0: 0px;--spectrum-global-dimension-size-10: 1px;--spectrum-global-dimension-size-25: 2px;--spectrum-global-dimension-size-40: 4px;--spectrum-global-dimension-size-50: 5px;--spectrum-global-dimension-size-65: 6px;--spectrum-global-dimension-size-75: 8px;--spectrum-global-dimension-size-85: 9px;--spectrum-global-dimension-size-100: 10px;--spectrum-global-dimension-size-115: 11px;--spectrum-global-dimension-size-125: 13px;--spectrum-global-dimension-size-130: 14px;--spectrum-global-dimension-size-150: 15px;--spectrum-global-dimension-size-160: 16px;--spectrum-global-dimension-size-175: 18px;--spectrum-global-dimension-size-200: 20px;--spectrum-global-dimension-size-225: 22px;--spectrum-global-dimension-size-250: 25px;--spectrum-global-dimension-size-275: 28px;--spectrum-global-dimension-size-300: 30px;--spectrum-global-dimension-size-325: 32px;--spectrum-global-dimension-size-350: 35px;--spectrum-global-dimension-size-400: 40px;--spectrum-global-dimension-size-450: 45px;--spectrum-global-dimension-size-500: 50px;--spectrum-global-dimension-size-550: 56px;--spectrum-global-dimension-size-600: 60px;--spectrum-global-dimension-size-675: 68px;--spectrum-global-dimension-size-700: 70px;--spectrum-global-dimension-size-800: 80px;--spectrum-global-dimension-size-900: 90px;--spectrum-global-dimension-size-1000: 100px;--spectrum-global-dimension-size-1200: 120px;--spectrum-global-dimension-size-1250: 125px;--spectrum-global-dimension-size-1600: 160px;--spectrum-global-dimension-size-1700: 170px;--spectrum-global-dimension-size-2000: 200px;--spectrum-global-dimension-size-2400: 240px;--spectrum-global-dimension-size-3000: 300px;--spectrum-global-dimension-size-3400: 340px;--spectrum-global-dimension-size-3600: 360px;--spectrum-global-dimension-size-4600: 460px;--spectrum-global-dimension-size-5000: 500px;--spectrum-global-dimension-size-6000: 600px;--spectrum-global-dimension-font-size-25: 12px;--spectrum-global-dimension-font-size-50: 13px;--spectrum-global-dimension-font-size-75: 15px;--spectrum-global-dimension-font-size-100: 17px;--spectrum-global-dimension-font-size-150: 18px;--spectrum-global-dimension-font-size-200: 19px;--spectrum-global-dimension-font-size-300: 22px;--spectrum-global-dimension-font-size-400: 24px;--spectrum-global-dimension-font-size-500: 27px;--spectrum-global-dimension-font-size-600: 31px;--spectrum-global-dimension-font-size-700: 34px;--spectrum-global-dimension-font-size-800: 39px;--spectrum-global-dimension-font-size-900: 44px;--spectrum-global-dimension-font-size-1000: 49px;--spectrum-global-dimension-font-size-1100: 55px;--spectrum-global-dimension-font-size-1200: 62px;--spectrum-global-dimension-font-size-1300: 70px;--spectrum-alias-avatar-size-100: 26px;--spectrum-alias-avatar-size-400: 36px;--spectrum-alias-avatar-size-600: 46px;--spectrum-actionbutton-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-actionbutton-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-actionbutton-emphasized-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-actionbutton-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-actionbutton-quiet-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-actionbutton-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-actionbutton-quiet-emphasized-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-actionbutton-quiet-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-barloader-large-border-radius: 4px;--spectrum-barloader-large-indeterminate-border-radius: 4px;--spectrum-barloader-large-over-background-border-radius: 4px;--spectrum-barloader-small-border-radius: 3px;--spectrum-barloader-small-indeterminate-border-radius: 3px;--spectrum-barloader-small-over-background-border-radius: 3px;--spectrum-breadcrumb-compact-item-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-breadcrumb-compact-button-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-breadcrumb-item-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-breadcrumb-button-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-breadcrumb-multiline-item-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-breadcrumb-multiline-button-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-cta-text-padding-bottom: var(--spectrum-global-dimension-size-100);--spectrum-button-cta-min-width: 90px;--spectrum-button-cta-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-cta-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-over-background-text-padding-bottom: var(--spectrum-global-dimension-size-100);--spectrum-button-over-background-min-width: 90px;--spectrum-button-over-background-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-over-background-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-primary-text-padding-bottom: var(--spectrum-global-dimension-size-100);--spectrum-button-primary-min-width: 90px;--spectrum-button-primary-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-primary-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-quiet-over-background-text-padding-bottom: var(--spectrum-global-dimension-size-100);--spectrum-button-quiet-over-background-min-width: 90px;--spectrum-button-quiet-over-background-touch-hit-x: var(--spectrum-global-dimension-static-size-250, 20px);--spectrum-button-quiet-over-background-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-quiet-over-background-cursor-hit-x: var(--spectrum-global-dimension-static-size-250, 20px);--spectrum-button-quiet-primary-text-padding-bottom: var(--spectrum-global-dimension-size-100);--spectrum-button-quiet-primary-min-width: 90px;--spectrum-button-quiet-primary-touch-hit-x: var(--spectrum-global-dimension-static-size-250, 20px);--spectrum-button-quiet-primary-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-quiet-primary-cursor-hit-x: var(--spectrum-global-dimension-static-size-250, 20px);--spectrum-button-quiet-secondary-text-padding-bottom: var(--spectrum-global-dimension-size-100);--spectrum-button-quiet-secondary-min-width: 90px;--spectrum-button-quiet-secondary-touch-hit-x: var(--spectrum-global-dimension-static-size-250, 20px);--spectrum-button-quiet-secondary-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-quiet-secondary-cursor-hit-x: var(--spectrum-global-dimension-static-size-250, 20px);--spectrum-button-quiet-warning-text-padding-bottom: var(--spectrum-global-dimension-size-100);--spectrum-button-quiet-warning-min-width: 90px;--spectrum-button-quiet-warning-touch-hit-x: var(--spectrum-global-dimension-static-size-250, 20px);--spectrum-button-quiet-warning-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-quiet-warning-cursor-hit-x: var(--spectrum-global-dimension-static-size-250, 20px);--spectrum-button-secondary-text-padding-bottom: var(--spectrum-global-dimension-size-100);--spectrum-button-secondary-min-width: 90px;--spectrum-button-secondary-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-secondary-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-warning-text-padding-bottom: var(--spectrum-global-dimension-size-100);--spectrum-button-warning-min-width: 90px;--spectrum-button-warning-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-button-warning-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-checkbox-text-gap-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-text-gap-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-text-gap-error-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-checkbox-emphasized-text-gap-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-emphasized-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-emphasized-text-gap-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-emphasized-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-emphasized-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-emphasized-text-gap-error-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-checkbox-quiet-text-gap-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-quiet-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-quiet-text-gap-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-quiet-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-quiet-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-quiet-text-gap-error-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-checkbox-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-circleloader-medium-border-size: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-circleloader-medium-over-background-border-size: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-circleloader-small-border-size: 3px;--spectrum-circleloader-small-over-background-border-size: 3px;--spectrum-colorhandle-loupe-margin: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-colorloupe-colorhandle-gap: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-colorslider-touch-hit-y: var(--spectrum-global-dimension-size-85);--spectrum-colorslider-vertical-touch-hit-x: var(--spectrum-global-dimension-size-85);--spectrum-colorwheel-min-size: var(--spectrum-global-dimension-static-size-2600, 208px);--spectrum-colorwheel-touch-hit-outer: var(--spectrum-global-dimension-size-85);--spectrum-colorwheel-touch-hit-inner: var(--spectrum-global-dimension-size-85);--spectrum-cyclebutton-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-cyclebutton-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-dialog-confirm-max-width: var(--spectrum-global-dimension-static-size-5000, 400px);--spectrum-dialog-confirm-title-text-size: var(--spectrum-global-dimension-font-size-200);--spectrum-dialog-confirm-description-text-size: var(--spectrum-global-dimension-font-size-75);--spectrum-dialog-confirm-padding: var(--spectrum-global-dimension-static-size-300, 24px);--spectrum-dialog-confirm-description-margin-bottom: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dialog-max-width: var(--spectrum-global-dimension-static-size-5000, 400px);--spectrum-dialog-title-text-size: var(--spectrum-global-dimension-font-size-200);--spectrum-dialog-content-text-size: var(--spectrum-global-dimension-font-size-75);--spectrum-dialog-padding: var(--spectrum-global-dimension-static-size-300, 24px);--spectrum-dialog-content-margin-bottom: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dialog-destructive-max-width: var(--spectrum-global-dimension-static-size-5000, 400px);--spectrum-dialog-destructive-title-text-size: var(--spectrum-global-dimension-font-size-200);--spectrum-dialog-destructive-description-text-size: var(--spectrum-global-dimension-font-size-75);--spectrum-dialog-destructive-padding: var(--spectrum-global-dimension-static-size-300, 24px);--spectrum-dialog-destructive-description-margin-bottom: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dialog-error-max-width: var(--spectrum-global-dimension-static-size-5000, 400px);--spectrum-dialog-error-title-text-size: var(--spectrum-global-dimension-font-size-200);--spectrum-dialog-error-description-text-size: var(--spectrum-global-dimension-font-size-75);--spectrum-dialog-error-padding: var(--spectrum-global-dimension-static-size-300, 24px);--spectrum-dialog-error-description-margin-bottom: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dialog-info-max-width: var(--spectrum-global-dimension-static-size-5000, 400px);--spectrum-dialog-info-title-text-size: var(--spectrum-global-dimension-font-size-200);--spectrum-dialog-info-description-text-size: var(--spectrum-global-dimension-font-size-75);--spectrum-dialog-info-padding: var(--spectrum-global-dimension-static-size-300, 24px);--spectrum-dialog-info-description-margin-bottom: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dropdown-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-dropdown-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-dropdown-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-dropdown-thumbnail-small-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-dropdown-thumbnail-small-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-fieldbutton-quiet-min-width: var(--spectrum-global-dimension-size-200);--spectrum-icon-arrow-down-small-height: 12px;--spectrum-icon-arrow-left-medium-height: 12px;--spectrum-icon-checkmark-medium-width: 16px;--spectrum-icon-checkmark-medium-height: 16px;--spectrum-icon-checkmark-small-width: 12px;--spectrum-icon-checkmark-small-height: 12px;--spectrum-icon-chevron-down-medium-width: 12px;--spectrum-icon-chevron-left-large-width: 16px;--spectrum-icon-chevron-left-medium-height: 12px;--spectrum-icon-chevron-right-large-width: 16px;--spectrum-icon-chevron-right-medium-height: 12px;--spectrum-icon-cross-large-width: 16px;--spectrum-icon-cross-large-height: 16px;--spectrum-icon-dash-small-width: 12px;--spectrum-icon-dash-small-height: 12px;--spectrum-icon-skip-left-width: 10px;--spectrum-icon-skip-left-height: 12px;--spectrum-icon-skip-right-width: 10px;--spectrum-icon-skip-right-height: 12px;--spectrum-icon-triplegripper-width: 12px;--spectrum-listitem-option-icon-size: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-listitem-option-icon-margin-top: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-listitem-option-height: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-listitem-option-icon-padding-y: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-listitem-thumbnail-option-icon-margin-top: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-listitem-thumbnail-option-icon-padding-y: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-selectlist-thumbnail-small-option-icon-margin-top: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-selectlist-thumbnail-small-option-icon-padding-y: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-selectlist-option-icon-size: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-selectlist-option-icon-padding-y: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-selectlist-option-icon-margin-top: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-selectlist-option-height: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-selectlist-option-padding-height: var(--spectrum-global-dimension-static-size-160, 13px);--spectrum-selectlist-thumbnail-option-icon-padding-y: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-loader-bar-large-border-radius: 4px;--spectrum-loader-bar-large-over-background-border-radius: 4px;--spectrum-loader-bar-small-border-radius: 3px;--spectrum-loader-bar-small-over-background-border-radius: 3px;--spectrum-loader-circle-medium-border-size: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-loader-circle-medium-over-background-border-size: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-loader-circle-small-border-size: 3px;--spectrum-loader-circle-small-over-background-border-size: 3px;--spectrum-meter-large-border-radius: 4px;--spectrum-meter-small-border-radius: 3px;--spectrum-pagination-page-button-line-height: 32px;--spectrum-overlay-positive-transform-distance: 8px;--spectrum-overlay-negative-transform-distance: -8px;--spectrum-picker-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-picker-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-picker-quiet-min-width: var(--spectrum-global-dimension-size-200);--spectrum-picker-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-picker-thumbnail-small-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-picker-thumbnail-small-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-progressbar-large-border-radius: 4px;--spectrum-progressbar-large-indeterminate-border-radius: 4px;--spectrum-progressbar-large-over-background-border-radius: 4px;--spectrum-progressbar-small-border-radius: 3px;--spectrum-progressbar-small-indeterminate-border-radius: 3px;--spectrum-progressbar-small-over-background-border-radius: 3px;--spectrum-progresscircle-medium-border-size: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-progresscircle-medium-over-background-border-size: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-progresscircle-small-border-size: 3px;--spectrum-progresscircle-small-indeterminate-border-size: 3px;--spectrum-progresscircle-small-over-background-border-size: 3px;--spectrum-progresscircle-medium-indeterminate-border-size: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-radio-text-gap-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-margin-bottom: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-radio-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-radio-emphasized-text-gap-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-emphasized-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-emphasized-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-emphasized-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-emphasized-margin-bottom: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-radio-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-radio-quiet-text-gap-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-quiet-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-quiet-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-quiet-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-radio-quiet-margin-bottom: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-radio-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-rating-icon-width: 30px;--spectrum-rating-indicator-width: 20px;--spectrum-rating-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-rating-emphasized-icon-width: 30px;--spectrum-rating-emphasized-indicator-width: 20px;--spectrum-rating-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-rating-quiet-icon-width: 30px;--spectrum-rating-quiet-indicator-width: 20px;--spectrum-rating-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-search-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-search-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-search-icon-frame: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-search-quiet-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-search-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-search-quiet-icon-frame: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-sidenav-item-touch-hit-bottom: 3px;--spectrum-sidenav-multilevel-item-touch-hit-bottom: 3px;--spectrum-slider-track-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-slider-handle-touch-hit-x: var(--spectrum-global-dimension-static-size-175, 14px);--spectrum-slider-handle-touch-hit-y: var(--spectrum-global-dimension-static-size-175, 14px);--spectrum-slider-editable-track-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-slider-editable-handle-touch-hit-x: var(--spectrum-global-dimension-static-size-175, 14px);--spectrum-slider-editable-handle-touch-hit-y: var(--spectrum-global-dimension-static-size-175, 14px);--spectrum-slider-fill-track-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-slider-fill-handle-touch-hit-x: var(--spectrum-global-dimension-static-size-175, 14px);--spectrum-slider-fill-handle-touch-hit-y: var(--spectrum-global-dimension-static-size-175, 14px);--spectrum-switch-focus-ring-border-radius-key-focus: var(--spectrum-global-dimension-static-size-160, 13px);--spectrum-switch-text-gap-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-track-width: var(--spectrum-global-dimension-static-size-450, 36px);--spectrum-switch-handle-border-radius: 9px;--spectrum-switch-handle-transform-x-ltr: 18px;--spectrum-switch-handle-transform-x-rtl: -18px;--spectrum-switch-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-switch-emphasized-focus-ring-border-radius-key-focus: var(--spectrum-global-dimension-static-size-160, 13px);--spectrum-switch-emphasized-text-gap-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-emphasized-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-emphasized-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-emphasized-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-emphasized-track-width: var(--spectrum-global-dimension-static-size-450, 36px);--spectrum-switch-emphasized-handle-border-radius: 9px;--spectrum-switch-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-switch-quiet-focus-ring-border-radius-key-focus: var(--spectrum-global-dimension-static-size-160, 13px);--spectrum-switch-quiet-text-gap-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-quiet-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-quiet-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-quiet-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-switch-quiet-track-width: var(--spectrum-global-dimension-static-size-450, 36px);--spectrum-switch-quiet-handle-border-radius: 9px;--spectrum-switch-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-tabs-compact-focus-ring-border-radius: 6px;--spectrum-tabs-compact-margin-left: -11px;--spectrum-tabs-compact-margin-right: -11px;--spectrum-tabs-compact-vertical-focus-ring-border-radius: 6px;--spectrum-tabs-compact-vertical-emphasized-focus-ring-border-radius: 6px;--spectrum-tabs-baseline: var(--spectrum-global-dimension-size-250);--spectrum-tabs-focus-ring-border-radius: 6px;--spectrum-tabs-margin-left: -11px;--spectrum-tabs-margin-right: -11px;--spectrum-tabs-emphasized-baseline: var(--spectrum-global-dimension-size-250);--spectrum-tabs-emphasized-focus-ring-border-radius: 6px;--spectrum-tabs-emphasized-margin-left: -11px;--spectrum-tabs-emphasized-margin-right: -11px;--spectrum-tabs-quiet-baseline: var(--spectrum-global-dimension-size-250);--spectrum-tabs-quiet-focus-ring-border-radius: 6px;--spectrum-tabs-quiet-margin-left: -11px;--spectrum-tabs-quiet-margin-right: -11px;--spectrum-tabs-quiet-compact-focus-ring-border-radius: 6px;--spectrum-tabs-quiet-compact-margin-left: -11px;--spectrum-tabs-quiet-compact-margin-right: -11px;--spectrum-tabs-quiet-compact-emphasized-focus-ring-border-radius: 6px;--spectrum-tabs-quiet-compact-emphasized-margin-left: -11px;--spectrum-tabs-quiet-compact-emphasized-margin-right: -11px;--spectrum-tabs-quiet-compact-vertical-focus-ring-border-radius: 6px;--spectrum-tabs-quiet-compact-vertical-emphasized-focus-ring-border-radius: 6px;--spectrum-tabs-quiet-emphasized-baseline: var(--spectrum-global-dimension-size-250);--spectrum-tabs-quiet-emphasized-focus-ring-border-radius: 6px;--spectrum-tabs-quiet-emphasized-margin-left: -11px;--spectrum-tabs-quiet-emphasized-margin-right: -11px;--spectrum-tabs-quiet-vertical-baseline: var(--spectrum-global-dimension-size-250);--spectrum-tabs-quiet-vertical-focus-ring-border-radius: 6px;--spectrum-tabs-quiet-vertical-emphasized-baseline: var(--spectrum-global-dimension-size-250);--spectrum-tabs-quiet-vertical-emphasized-focus-ring-border-radius: 6px;--spectrum-tabs-vertical-baseline: var(--spectrum-global-dimension-size-250);--spectrum-tabs-vertical-focus-ring-border-radius: 6px;--spectrum-textarea-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-textarea-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-textarea-icon-frame: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-textarea-quiet-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-textarea-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-textarea-quiet-icon-frame: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-textfield-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-textfield-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-textfield-icon-frame: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-textfield-quiet-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-textfield-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-textfield-quiet-icon-frame: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-tool-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-tool-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-tool-high-emphasis-touch-hit-x: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-tool-high-emphasis-touch-hit-y: var(--spectrum-global-dimension-static-size-50, 4px);--spectrum-tooltip-padding-bottom: 6px;--spectrum-tooltip-content-max-width: var(--spectrum-global-dimension-size-2000);--spectrum-tooltip-info-padding-bottom: 6px;--spectrum-tooltip-info-content-max-width: 126px;--spectrum-tooltip-negative-padding-bottom: 6px;--spectrum-tooltip-negative-content-max-width: 126px;--spectrum-tooltip-positive-padding-bottom: 6px;--spectrum-tooltip-positive-content-max-width: 126px}.PFjRbG_spectrum--light{--spectrum-global-color-status: Verified;--spectrum-global-color-version: 5.1;--spectrum-gray-50: #fff;--spectrum-gray-75: #fdfdfd;--spectrum-gray-100: #f8f8f8;--spectrum-gray-200: #e6e6e6;--spectrum-gray-300: #d5d5d5;--spectrum-gray-400: #b1b1b1;--spectrum-gray-500: #909090;--spectrum-gray-600: #6d6d6d;--spectrum-gray-700: #464646;--spectrum-gray-800: #222;--spectrum-gray-900: #000;--spectrum-red-100: #ffebe7;--spectrum-red-200: #ffddd6;--spectrum-red-300: #ffcdc3;--spectrum-red-400: #ffb7a9;--spectrum-red-500: #ff9b88;--spectrum-red-600: #ff7c65;--spectrum-red-700: #f75c46;--spectrum-red-800: #ea3829;--spectrum-red-900: #d31510;--spectrum-red-1000: #b40000;--spectrum-red-1100: #930000;--spectrum-red-1200: #740000;--spectrum-red-1300: #590000;--spectrum-red-1400: #430000;--spectrum-orange-100: #ffeccc;--spectrum-orange-200: #ffdfad;--spectrum-orange-300: #fdd291;--spectrum-orange-400: #ffbb63;--spectrum-orange-500: #ffa037;--spectrum-orange-600: #f68511;--spectrum-orange-700: #e46f00;--spectrum-orange-800: #cb5d00;--spectrum-orange-900: #b14c00;--spectrum-orange-1000: #953d00;--spectrum-orange-1100: #7a2f00;--spectrum-orange-1200: #612300;--spectrum-orange-1300: #491901;--spectrum-orange-1400: #351201;--spectrum-yellow-100: #fbf198;--spectrum-yellow-200: #f8e750;--spectrum-yellow-300: #f8d904;--spectrum-yellow-400: #e8c600;--spectrum-yellow-500: #d7b300;--spectrum-yellow-600: #c49f00;--spectrum-yellow-700: #b08c00;--spectrum-yellow-800: #9b7800;--spectrum-yellow-900: #856600;--spectrum-yellow-1000: #705300;--spectrum-yellow-1100: #5b4300;--spectrum-yellow-1200: #483300;--spectrum-yellow-1300: #362500;--spectrum-yellow-1400: #281a00;--spectrum-chartreuse-100: #dbfc6e;--spectrum-chartreuse-200: #cbf443;--spectrum-chartreuse-300: #bce92a;--spectrum-chartreuse-400: #aad816;--spectrum-chartreuse-500: #98c50a;--spectrum-chartreuse-600: #87b103;--spectrum-chartreuse-700: #769c00;--spectrum-chartreuse-800: #678800;--spectrum-chartreuse-900: #577400;--spectrum-chartreuse-1000: #486000;--spectrum-chartreuse-1100: #3a4d00;--spectrum-chartreuse-1200: #2c3b00;--spectrum-chartreuse-1300: #212c00;--spectrum-chartreuse-1400: #181f00;--spectrum-celery-100: #cdfcbf;--spectrum-celery-200: #aef69d;--spectrum-celery-300: #96ee85;--spectrum-celery-400: #72e06a;--spectrum-celery-500: #4ecf50;--spectrum-celery-600: #27bb36;--spectrum-celery-700: #07a721;--spectrum-celery-800: #009112;--spectrum-celery-900: #007c0f;--spectrum-celery-1000: #00670f;--spectrum-celery-1100: #00530d;--spectrum-celery-1200: #00400a;--spectrum-celery-1300: #003007;--spectrum-celery-1400: #002205;--spectrum-green-100: #cef8e0;--spectrum-green-200: #adf4ce;--spectrum-green-300: #89ecbc;--spectrum-green-400: #67dea8;--spectrum-green-500: #49cc93;--spectrum-green-600: #2fb880;--spectrum-green-700: #15a46e;--spectrum-green-800: #008f5d;--spectrum-green-900: #007a4d;--spectrum-green-1000: #00653e;--spectrum-green-1100: #005132;--spectrum-green-1200: #053f27;--spectrum-green-1300: #0a2e1d;--spectrum-green-1400: #0a2015;--spectrum-seafoam-100: #cef7f3;--spectrum-seafoam-200: #aaf1ea;--spectrum-seafoam-300: #8ce9e2;--spectrum-seafoam-400: #65dad2;--spectrum-seafoam-500: #3fc9c1;--spectrum-seafoam-600: #0fb5ae;--spectrum-seafoam-700: #00a19a;--spectrum-seafoam-800: #008c87;--spectrum-seafoam-900: #007772;--spectrum-seafoam-1000: #00635f;--spectrum-seafoam-1100: #0c4f4c;--spectrum-seafoam-1200: #123c3a;--spectrum-seafoam-1300: #122c2b;--spectrum-seafoam-1400: #0f1f1e;--spectrum-cyan-100: #c5f8ff;--spectrum-cyan-200: #a4f0ff;--spectrum-cyan-300: #88e7fa;--spectrum-cyan-400: #60d8f3;--spectrum-cyan-500: #33c5e8;--spectrum-cyan-600: #12b0da;--spectrum-cyan-700: #019cc8;--spectrum-cyan-800: #0086b4;--spectrum-cyan-900: #00719f;--spectrum-cyan-1000: #005d89;--spectrum-cyan-1100: #004a73;--spectrum-cyan-1200: #00395d;--spectrum-cyan-1300: #002a46;--spectrum-cyan-1400: #001e33;--spectrum-blue-100: #e0f2ff;--spectrum-blue-200: #cae8ff;--spectrum-blue-300: #b5deff;--spectrum-blue-400: #96cefd;--spectrum-blue-500: #78bbfa;--spectrum-blue-600: #59a7f6;--spectrum-blue-700: #3892f3;--spectrum-blue-800: #147af3;--spectrum-blue-900: #0265dc;--spectrum-blue-1000: #0054b6;--spectrum-blue-1100: #004491;--spectrum-blue-1200: #003571;--spectrum-blue-1300: #002754;--spectrum-blue-1400: #001c3c;--spectrum-indigo-100: #edeeff;--spectrum-indigo-200: #e0e2ff;--spectrum-indigo-300: #d3d5ff;--spectrum-indigo-400: #c1c4ff;--spectrum-indigo-500: #acafff;--spectrum-indigo-600: #9599ff;--spectrum-indigo-700: #7e84fc;--spectrum-indigo-800: #686df4;--spectrum-indigo-900: #5258e4;--spectrum-indigo-1000: #4046ca;--spectrum-indigo-1100: #3236a8;--spectrum-indigo-1200: #262986;--spectrum-indigo-1300: #1b1e64;--spectrum-indigo-1400: #141648;--spectrum-purple-100: #f6ebff;--spectrum-purple-200: #edf;--spectrum-purple-300: #e6d0ff;--spectrum-purple-400: #dbbbfe;--spectrum-purple-500: #cca4fd;--spectrum-purple-600: #bd8bfc;--spectrum-purple-700: #ae72f9;--spectrum-purple-800: #9d57f4;--spectrum-purple-900: #893de7;--spectrum-purple-1000: #7326d3;--spectrum-purple-1100: #5d13b7;--spectrum-purple-1200: #470c94;--spectrum-purple-1300: #33106a;--spectrum-purple-1400: #230f49;--spectrum-fuchsia-100: #ffe9fc;--spectrum-fuchsia-200: #ffdafa;--spectrum-fuchsia-300: #fec7f8;--spectrum-fuchsia-400: #fbaef6;--spectrum-fuchsia-500: #f592f3;--spectrum-fuchsia-600: #ed74ed;--spectrum-fuchsia-700: #e055e2;--spectrum-fuchsia-800: #cd3ace;--spectrum-fuchsia-900: #b622b7;--spectrum-fuchsia-1000: #9d039e;--spectrum-fuchsia-1100: #800081;--spectrum-fuchsia-1200: #640664;--spectrum-fuchsia-1300: #470e46;--spectrum-fuchsia-1400: #320d31;--spectrum-magenta-100: #ffeaf1;--spectrum-magenta-200: #ffdce8;--spectrum-magenta-300: #ffcadd;--spectrum-magenta-400: #ffb2ce;--spectrum-magenta-500: #ff95bd;--spectrum-magenta-600: #fa77aa;--spectrum-magenta-700: #ef5a98;--spectrum-magenta-800: #de3d82;--spectrum-magenta-900: #c82269;--spectrum-magenta-1000: #ad0955;--spectrum-magenta-1100: #8e0045;--spectrum-magenta-1200: #700037;--spectrum-magenta-1300: #54032a;--spectrum-magenta-1400: #3c061d;--spectrum-alias-background-color-modal-overlay: #0006;--spectrum-alias-dropshadow-color: #00000026;--spectrum-alias-background-color-hover-overlay: #0000000a;--spectrum-alias-highlight-hover: #0000000f;--spectrum-alias-highlight-active: #2c2c2c1a;--spectrum-alias-highlight-selected: #0265dc1a;--spectrum-alias-highlight-selected-hover: #0265dc33;--spectrum-alias-highlight-invalid: #d3151026;--spectrum-alias-text-highlight-color: #0265dc33;--spectrum-alias-background-color-quickactions: #f8f8f8e6;--spectrum-alias-radial-reaction-color-default: #2229;--spectrum-alias-pasteboard-background-color: var(--spectrum-global-color-gray-300);--spectrum-alias-appframe-border-color: var(--spectrum-global-color-gray-300);--spectrum-alias-appframe-separator-color: var(--spectrum-global-color-gray-300);--spectrum-colorarea-border-color: #2c2c2c1a;--spectrum-colorarea-border-color-hover: #2c2c2c1a;--spectrum-colorarea-border-color-down: #2c2c2c1a;--spectrum-colorarea-border-color-key-focus: #2c2c2c1a;--spectrum-colorslider-border-color: #2c2c2c1a;--spectrum-colorslider-border-color-hover: #2c2c2c1a;--spectrum-colorslider-border-color-down: #2c2c2c1a;--spectrum-colorslider-border-color-key-focus: #2c2c2c1a;--spectrum-colorslider-vertical-border-color: #2c2c2c1a;--spectrum-colorslider-vertical-border-color-hover: #2c2c2c1a;--spectrum-colorslider-vertical-border-color-down: #2c2c2c1a;--spectrum-colorslider-vertical-border-color-key-focus: #2c2c2c1a;--spectrum-colorwheel-border-color: #2c2c2c1a;--spectrum-colorwheel-border-color-hover: #2c2c2c1a;--spectrum-colorwheel-border-color-down: #2c2c2c1a;--spectrum-colorwheel-border-color-key-focus: #2c2c2c1a;--spectrum-miller-column-item-background-color-selected: #1473e61a;--spectrum-miller-column-item-background-color-selected-hover: #1473e633;--spectrum-tabs-compact-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-compact-vertical-rule-color: var(--spectrum-global-color-gray-200);--spectrum-tabs-compact-vertical-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-compact-vertical-emphasized-rule-color: var(--spectrum-global-color-gray-200);--spectrum-tabs-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-quiet-compact-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-quiet-compact-vertical-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-quiet-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-tabs-quiet-vertical-emphasized-selection-indicator-color: var(--spectrum-global-color-blue-500);--spectrum-well-background-color: #22222205;--spectrum-well-border-color: #0000000d;--spectrum-tray-background-color: var(--spectrum-global-color-gray-50);--spectrum-accent-background-color-default: var(--spectrum-accent-color-900);--spectrum-accent-background-color-hover: var(--spectrum-accent-color-1000);--spectrum-accent-background-color-down: var(--spectrum-accent-color-1100);--spectrum-accent-background-color-key-focus: var(--spectrum-accent-color-1000);--spectrum-neutral-background-color-default: var(--spectrum-gray-800);--spectrum-neutral-background-color-hover: var(--spectrum-gray-900);--spectrum-neutral-background-color-down: var(--spectrum-gray-900);--spectrum-neutral-background-color-key-focus: var(--spectrum-gray-900);--spectrum-neutral-subdued-background-color-default: var(--spectrum-gray-600);--spectrum-neutral-subdued-background-color-hover: var(--spectrum-gray-700);--spectrum-neutral-subdued-background-color-down: var(--spectrum-gray-800);--spectrum-neutral-subdued-background-color-key-focus: var(--spectrum-gray-700);--spectrum-negative-background-color-default: var(--spectrum-red-900);--spectrum-negative-background-color-hover: var(--spectrum-red-1000);--spectrum-negative-background-color-down: var(--spectrum-red-1100);--spectrum-negative-background-color-key-focus: var(--spectrum-red-1000);--spectrum-positive-background-color-default: var(--spectrum-green-900);--spectrum-positive-background-color-hover: var(--spectrum-green-1000);--spectrum-positive-background-color-down: var(--spectrum-green-1100);--spectrum-positive-background-color-key-focus: var(--spectrum-green-1000);--spectrum-informative-background-color-default: var(--spectrum-blue-900);--spectrum-informative-background-color-hover: var(--spectrum-blue-1000);--spectrum-informative-background-color-down: var(--spectrum-blue-1100);--spectrum-informative-background-color-key-focus: var(--spectrum-blue-1000);--spectrum-gray-background-color-default: var(--spectrum-gray-700);--spectrum-red-background-color-default: var(--spectrum-red-600);--spectrum-orange-background-color-default: var(--spectrum-orange-600);--spectrum-yellow-background-color-default: var(--spectrum-yellow-400);--spectrum-chartreuse-background-color-default: var(--spectrum-chartreuse-500);--spectrum-celery-background-color-default: var(--spectrum-celery-600);--spectrum-green-background-color-default: var(--spectrum-green-900);--spectrum-seafoam-background-color-default: var(--spectrum-seafoam-900);--spectrum-cyan-background-color-default: var(--spectrum-cyan-900);--spectrum-blue-background-color-default: var(--spectrum-blue-900);--spectrum-indigo-background-color-default: var(--spectrum-indigo-900);--spectrum-purple-background-color-default: var(--spectrum-purple-900);--spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-900);--spectrum-magenta-background-color-default: var(--spectrum-magenta-900);--spectrum-negative-visual-color: var(--spectrum-red-800);--spectrum-positive-visual-color: var(--spectrum-green-700);--spectrum-notice-visual-color: var(--spectrum-orange-700);--spectrum-informative-visual-color: var(--spectrum-blue-800);--spectrum-gray-visual-color: var(--spectrum-gray-500);--spectrum-red-visual-color: var(--spectrum-red-800);--spectrum-orange-visual-color: var(--spectrum-orange-700);--spectrum-yellow-visual-color: var(--spectrum-yellow-600);--spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-600);--spectrum-celery-visual-color: var(--spectrum-celery-700);--spectrum-green-visual-color: var(--spectrum-green-700);--spectrum-seafoam-visual-color: var(--spectrum-seafoam-700);--spectrum-cyan-visual-color: var(--spectrum-cyan-600);--spectrum-blue-visual-color: var(--spectrum-blue-800);--spectrum-indigo-visual-color: var(--spectrum-indigo-800);--spectrum-purple-visual-color: var(--spectrum-purple-800);--spectrum-fuchsia-visual-color: var(--spectrum-fuchsia-800);--spectrum-magenta-visual-color: var(--spectrum-magenta-800)}.xSyFOq_spectrum--medium{--spectrum-global-dimension-scale-factor: 1;--spectrum-global-dimension-size-0: 0px;--spectrum-global-dimension-size-10: 1px;--spectrum-global-dimension-size-25: 2px;--spectrum-global-dimension-size-40: 3px;--spectrum-global-dimension-size-50: 4px;--spectrum-global-dimension-size-65: 5px;--spectrum-global-dimension-size-75: 6px;--spectrum-global-dimension-size-85: 7px;--spectrum-global-dimension-size-100: 8px;--spectrum-global-dimension-size-115: 9px;--spectrum-global-dimension-size-125: 10px;--spectrum-global-dimension-size-130: 11px;--spectrum-global-dimension-size-150: 12px;--spectrum-global-dimension-size-160: 13px;--spectrum-global-dimension-size-175: 14px;--spectrum-global-dimension-size-200: 16px;--spectrum-global-dimension-size-225: 18px;--spectrum-global-dimension-size-250: 20px;--spectrum-global-dimension-size-275: 22px;--spectrum-global-dimension-size-300: 24px;--spectrum-global-dimension-size-325: 26px;--spectrum-global-dimension-size-350: 28px;--spectrum-global-dimension-size-400: 32px;--spectrum-global-dimension-size-450: 36px;--spectrum-global-dimension-size-500: 40px;--spectrum-global-dimension-size-550: 44px;--spectrum-global-dimension-size-600: 48px;--spectrum-global-dimension-size-675: 54px;--spectrum-global-dimension-size-700: 56px;--spectrum-global-dimension-size-800: 64px;--spectrum-global-dimension-size-900: 72px;--spectrum-global-dimension-size-1000: 80px;--spectrum-global-dimension-size-1200: 96px;--spectrum-global-dimension-size-1250: 100px;--spectrum-global-dimension-size-1600: 128px;--spectrum-global-dimension-size-1700: 136px;--spectrum-global-dimension-size-2000: 160px;--spectrum-global-dimension-size-2400: 192px;--spectrum-global-dimension-size-3000: 240px;--spectrum-global-dimension-size-3400: 272px;--spectrum-global-dimension-size-3600: 288px;--spectrum-global-dimension-size-4600: 368px;--spectrum-global-dimension-size-5000: 400px;--spectrum-global-dimension-size-6000: 480px;--spectrum-global-dimension-font-size-25: 10px;--spectrum-global-dimension-font-size-50: 11px;--spectrum-global-dimension-font-size-75: 12px;--spectrum-global-dimension-font-size-100: 14px;--spectrum-global-dimension-font-size-150: 15px;--spectrum-global-dimension-font-size-200: 16px;--spectrum-global-dimension-font-size-300: 18px;--spectrum-global-dimension-font-size-400: 20px;--spectrum-global-dimension-font-size-500: 22px;--spectrum-global-dimension-font-size-600: 25px;--spectrum-global-dimension-font-size-700: 28px;--spectrum-global-dimension-font-size-800: 32px;--spectrum-global-dimension-font-size-900: 36px;--spectrum-global-dimension-font-size-1000: 40px;--spectrum-global-dimension-font-size-1100: 45px;--spectrum-global-dimension-font-size-1200: 50px;--spectrum-global-dimension-font-size-1300: 60px;--spectrum-alias-avatar-size-100: var(--spectrum-global-dimension-size-250);--spectrum-alias-avatar-size-400: var(--spectrum-global-dimension-size-350);--spectrum-alias-avatar-size-600: var(--spectrum-global-dimension-size-450);--spectrum-actionbutton-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-actionbutton-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-actionbutton-emphasized-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-actionbutton-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-actionbutton-quiet-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-actionbutton-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-actionbutton-quiet-emphasized-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-actionbutton-quiet-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-barloader-large-border-radius: 3px;--spectrum-barloader-large-indeterminate-border-radius: 3px;--spectrum-barloader-large-over-background-border-radius: 3px;--spectrum-barloader-small-border-radius: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-barloader-small-indeterminate-border-radius: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-barloader-small-over-background-border-radius: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-breadcrumb-compact-item-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-breadcrumb-compact-button-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-breadcrumb-item-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-breadcrumb-button-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-breadcrumb-multiline-item-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-breadcrumb-multiline-button-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-cta-text-padding-bottom: var(--spectrum-global-dimension-size-85);--spectrum-button-cta-min-width: var(--spectrum-global-dimension-size-900);--spectrum-button-cta-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-cta-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-over-background-text-padding-bottom: var(--spectrum-global-dimension-size-85);--spectrum-button-over-background-min-width: var(--spectrum-global-dimension-size-900);--spectrum-button-over-background-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-over-background-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-primary-text-padding-bottom: var(--spectrum-global-dimension-size-85);--spectrum-button-primary-min-width: var(--spectrum-global-dimension-size-900);--spectrum-button-primary-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-primary-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-quiet-over-background-text-padding-bottom: var(--spectrum-global-dimension-size-85);--spectrum-button-quiet-over-background-min-width: var(--spectrum-global-dimension-size-900);--spectrum-button-quiet-over-background-touch-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-button-quiet-over-background-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-quiet-over-background-cursor-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-button-quiet-primary-text-padding-bottom: var(--spectrum-global-dimension-size-85);--spectrum-button-quiet-primary-min-width: var(--spectrum-global-dimension-size-900);--spectrum-button-quiet-primary-touch-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-button-quiet-primary-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-quiet-primary-cursor-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-button-quiet-secondary-text-padding-bottom: var(--spectrum-global-dimension-size-85);--spectrum-button-quiet-secondary-min-width: var(--spectrum-global-dimension-size-900);--spectrum-button-quiet-secondary-touch-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-button-quiet-secondary-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-quiet-secondary-cursor-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-button-quiet-warning-text-padding-bottom: var(--spectrum-global-dimension-size-85);--spectrum-button-quiet-warning-min-width: var(--spectrum-global-dimension-size-900);--spectrum-button-quiet-warning-touch-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-button-quiet-warning-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-quiet-warning-cursor-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-button-secondary-text-padding-bottom: var(--spectrum-global-dimension-size-85);--spectrum-button-secondary-min-width: var(--spectrum-global-dimension-size-900);--spectrum-button-secondary-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-secondary-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-warning-text-padding-bottom: var(--spectrum-global-dimension-size-85);--spectrum-button-warning-min-width: var(--spectrum-global-dimension-size-900);--spectrum-button-warning-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-button-warning-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-checkbox-text-gap-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-text-gap-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-text-gap-error-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-checkbox-emphasized-text-gap-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-emphasized-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-emphasized-text-gap-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-emphasized-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-emphasized-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-emphasized-text-gap-error-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-checkbox-quiet-text-gap-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-quiet-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-quiet-text-gap-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-quiet-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-quiet-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-quiet-text-gap-error-indeterminate-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-checkbox-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-circleloader-medium-border-size: 3px;--spectrum-circleloader-medium-over-background-border-size: 3px;--spectrum-circleloader-small-border-size: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-circleloader-small-over-background-border-size: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-colorhandle-loupe-margin: var(--spectrum-global-dimension-static-size-125, 10px);--spectrum-colorloupe-colorhandle-gap: var(--spectrum-global-dimension-static-size-125, 10px);--spectrum-colorslider-touch-hit-y: var(--spectrum-global-dimension-size-150);--spectrum-colorslider-vertical-touch-hit-x: var(--spectrum-global-dimension-size-150);--spectrum-colorwheel-min-size: var(--spectrum-global-dimension-size-2400);--spectrum-colorwheel-touch-hit-outer: var(--spectrum-global-dimension-size-150);--spectrum-colorwheel-touch-hit-inner: var(--spectrum-global-dimension-size-150);--spectrum-cyclebutton-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-cyclebutton-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-dialog-confirm-max-width: var(--spectrum-global-dimension-static-size-6000, 480px);--spectrum-dialog-confirm-title-text-size: var(--spectrum-global-dimension-font-size-300);--spectrum-dialog-confirm-description-text-size: var(--spectrum-global-dimension-font-size-100);--spectrum-dialog-confirm-padding: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dialog-confirm-description-margin-bottom: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-dialog-max-width: var(--spectrum-global-dimension-static-size-6000, 480px);--spectrum-dialog-title-text-size: var(--spectrum-global-dimension-font-size-300);--spectrum-dialog-content-text-size: var(--spectrum-global-dimension-font-size-100);--spectrum-dialog-padding: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dialog-content-margin-bottom: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-dialog-destructive-max-width: var(--spectrum-global-dimension-static-size-6000, 480px);--spectrum-dialog-destructive-title-text-size: var(--spectrum-global-dimension-font-size-300);--spectrum-dialog-destructive-description-text-size: var(--spectrum-global-dimension-font-size-100);--spectrum-dialog-destructive-padding: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dialog-destructive-description-margin-bottom: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-dialog-error-max-width: var(--spectrum-global-dimension-static-size-6000, 480px);--spectrum-dialog-error-title-text-size: var(--spectrum-global-dimension-font-size-300);--spectrum-dialog-error-description-text-size: var(--spectrum-global-dimension-font-size-100);--spectrum-dialog-error-padding: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dialog-error-description-margin-bottom: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-dialog-info-max-width: var(--spectrum-global-dimension-static-size-6000, 480px);--spectrum-dialog-info-title-text-size: var(--spectrum-global-dimension-font-size-300);--spectrum-dialog-info-description-text-size: var(--spectrum-global-dimension-font-size-100);--spectrum-dialog-info-padding: var(--spectrum-global-dimension-static-size-500, 40px);--spectrum-dialog-info-description-margin-bottom: var(--spectrum-global-dimension-static-size-600, 48px);--spectrum-dropdown-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-dropdown-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-dropdown-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-dropdown-thumbnail-small-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-dropdown-thumbnail-small-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-fieldbutton-quiet-min-width: var(--spectrum-global-dimension-size-225);--spectrum-icon-arrow-down-small-height: var(--spectrum-global-dimension-size-125);--spectrum-icon-arrow-left-medium-height: var(--spectrum-global-dimension-size-125);--spectrum-icon-checkmark-medium-width: var(--spectrum-global-dimension-size-150);--spectrum-icon-checkmark-medium-height: var(--spectrum-global-dimension-size-150);--spectrum-icon-checkmark-small-width: var(--spectrum-global-dimension-size-125);--spectrum-icon-checkmark-small-height: var(--spectrum-global-dimension-size-125);--spectrum-icon-chevron-down-medium-width: var(--spectrum-global-dimension-size-125);--spectrum-icon-chevron-left-large-width: var(--spectrum-global-dimension-size-150);--spectrum-icon-chevron-left-medium-height: var(--spectrum-global-dimension-size-125);--spectrum-icon-chevron-right-large-width: var(--spectrum-global-dimension-size-150);--spectrum-icon-chevron-right-medium-height: var(--spectrum-global-dimension-size-125);--spectrum-icon-cross-large-width: var(--spectrum-global-dimension-size-150);--spectrum-icon-cross-large-height: var(--spectrum-global-dimension-size-150);--spectrum-icon-dash-small-width: var(--spectrum-global-dimension-size-125);--spectrum-icon-dash-small-height: var(--spectrum-global-dimension-size-125);--spectrum-icon-skip-left-width: 9px;--spectrum-icon-skip-left-height: var(--spectrum-global-dimension-size-125);--spectrum-icon-skip-right-width: 9px;--spectrum-icon-skip-right-height: var(--spectrum-global-dimension-size-125);--spectrum-icon-triplegripper-width: var(--spectrum-global-dimension-size-125);--spectrum-listitem-option-icon-size: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-listitem-option-icon-margin-top: var(--spectrum-global-dimension-static-size-65, 5px);--spectrum-listitem-option-height: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-listitem-option-icon-padding-y: var(--spectrum-global-dimension-static-size-125, 10px);--spectrum-listitem-thumbnail-option-icon-margin-top: var(--spectrum-global-dimension-static-size-65, 5px);--spectrum-listitem-thumbnail-option-icon-padding-y: var(--spectrum-global-dimension-static-size-125, 10px);--spectrum-selectlist-thumbnail-small-option-icon-margin-top: var(--spectrum-global-dimension-static-size-65, 5px);--spectrum-selectlist-thumbnail-small-option-icon-padding-y: var(--spectrum-global-dimension-static-size-125, 10px);--spectrum-selectlist-option-icon-size: var(--spectrum-global-dimension-static-size-150, 12px);--spectrum-selectlist-option-icon-padding-y: var(--spectrum-global-dimension-static-size-125, 10px);--spectrum-selectlist-option-icon-margin-top: var(--spectrum-global-dimension-static-size-65, 5px);--spectrum-selectlist-option-height: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-selectlist-option-padding-height: 7px;--spectrum-selectlist-thumbnail-option-icon-padding-y: var(--spectrum-global-dimension-static-size-125, 10px);--spectrum-loader-bar-large-border-radius: 3px;--spectrum-loader-bar-large-over-background-border-radius: 3px;--spectrum-loader-bar-small-border-radius: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-loader-bar-small-over-background-border-radius: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-loader-circle-medium-border-size: 3px;--spectrum-loader-circle-medium-over-background-border-size: 3px;--spectrum-loader-circle-small-border-size: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-loader-circle-small-over-background-border-size: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-meter-large-border-radius: 3px;--spectrum-meter-small-border-radius: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-pagination-page-button-line-height: 26px;--spectrum-overlay-positive-transform-distance: 6px;--spectrum-overlay-negative-transform-distance: -6px;--spectrum-picker-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-picker-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-picker-quiet-min-width: var(--spectrum-global-dimension-size-225);--spectrum-picker-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-picker-thumbnail-small-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-picker-thumbnail-small-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-progressbar-large-border-radius: 3px;--spectrum-progressbar-large-indeterminate-border-radius: 3px;--spectrum-progressbar-large-over-background-border-radius: 3px;--spectrum-progressbar-small-border-radius: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-progressbar-small-indeterminate-border-radius: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-progressbar-small-over-background-border-radius: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-progresscircle-medium-border-size: 3px;--spectrum-progresscircle-medium-over-background-border-size: 3px;--spectrum-progresscircle-small-border-size: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-progresscircle-small-indeterminate-border-size: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-progresscircle-small-over-background-border-size: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-progresscircle-medium-indeterminate-border-size: 3px;--spectrum-radio-text-gap-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-margin-bottom: 0px;--spectrum-radio-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-radio-emphasized-text-gap-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-emphasized-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-emphasized-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-emphasized-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-emphasized-margin-bottom: 0px;--spectrum-radio-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-radio-quiet-text-gap-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-quiet-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-quiet-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-quiet-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-radio-quiet-margin-bottom: 0px;--spectrum-radio-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-rating-icon-width: 24px;--spectrum-rating-indicator-width: 16px;--spectrum-rating-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-rating-emphasized-icon-width: 24px;--spectrum-rating-emphasized-indicator-width: 16px;--spectrum-rating-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-rating-quiet-icon-width: 24px;--spectrum-rating-quiet-indicator-width: 16px;--spectrum-rating-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-search-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-search-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-search-icon-frame: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-search-quiet-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-search-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-search-quiet-icon-frame: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-sidenav-item-touch-hit-bottom: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-sidenav-multilevel-item-touch-hit-bottom: var(--spectrum-global-dimension-static-size-25, 2px);--spectrum-slider-track-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-slider-handle-touch-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-slider-handle-touch-hit-y: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-slider-editable-track-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-slider-editable-handle-touch-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-slider-editable-handle-touch-hit-y: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-slider-fill-track-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-slider-fill-handle-touch-hit-x: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-slider-fill-handle-touch-hit-y: var(--spectrum-global-dimension-static-size-200, 16px);--spectrum-switch-focus-ring-border-radius-key-focus: var(--spectrum-global-dimension-static-size-130, 11px);--spectrum-switch-text-gap-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-track-width: 26px;--spectrum-switch-handle-border-radius: 7px;--spectrum-switch-handle-transform-x-ltr: 12px;--spectrum-switch-handle-transform-x-rtl: -12px;--spectrum-switch-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-switch-emphasized-focus-ring-border-radius-key-focus: var(--spectrum-global-dimension-static-size-130, 11px);--spectrum-switch-emphasized-text-gap-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-emphasized-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-emphasized-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-emphasized-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-emphasized-track-width: 26px;--spectrum-switch-emphasized-handle-border-radius: 7px;--spectrum-switch-emphasized-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-switch-quiet-focus-ring-border-radius-key-focus: var(--spectrum-global-dimension-static-size-130, 11px);--spectrum-switch-quiet-text-gap-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-quiet-text-gap-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-quiet-text-gap-error-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-quiet-text-gap-error-selected-key-focus: var(--spectrum-global-dimension-static-size-115, 9px);--spectrum-switch-quiet-track-width: 26px;--spectrum-switch-quiet-handle-border-radius: 7px;--spectrum-switch-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-tabs-compact-focus-ring-border-radius: 5px;--spectrum-tabs-compact-margin-left: -8px;--spectrum-tabs-compact-margin-right: -8px;--spectrum-tabs-compact-vertical-focus-ring-border-radius: 5px;--spectrum-tabs-compact-vertical-emphasized-focus-ring-border-radius: 5px;--spectrum-tabs-baseline: var(--spectrum-global-dimension-size-225);--spectrum-tabs-focus-ring-border-radius: 5px;--spectrum-tabs-margin-left: -8px;--spectrum-tabs-margin-right: -8px;--spectrum-tabs-emphasized-baseline: var(--spectrum-global-dimension-size-225);--spectrum-tabs-emphasized-focus-ring-border-radius: 5px;--spectrum-tabs-emphasized-margin-left: -8px;--spectrum-tabs-emphasized-margin-right: -8px;--spectrum-tabs-quiet-baseline: var(--spectrum-global-dimension-size-225);--spectrum-tabs-quiet-focus-ring-border-radius: 5px;--spectrum-tabs-quiet-margin-left: -8px;--spectrum-tabs-quiet-margin-right: -8px;--spectrum-tabs-quiet-compact-focus-ring-border-radius: 5px;--spectrum-tabs-quiet-compact-margin-left: -8px;--spectrum-tabs-quiet-compact-margin-right: -8px;--spectrum-tabs-quiet-compact-emphasized-focus-ring-border-radius: 5px;--spectrum-tabs-quiet-compact-emphasized-margin-left: -8px;--spectrum-tabs-quiet-compact-emphasized-margin-right: -8px;--spectrum-tabs-quiet-compact-vertical-focus-ring-border-radius: 5px;--spectrum-tabs-quiet-compact-vertical-emphasized-focus-ring-border-radius: 5px;--spectrum-tabs-quiet-emphasized-baseline: var(--spectrum-global-dimension-size-225);--spectrum-tabs-quiet-emphasized-focus-ring-border-radius: 5px;--spectrum-tabs-quiet-emphasized-margin-left: -8px;--spectrum-tabs-quiet-emphasized-margin-right: -8px;--spectrum-tabs-quiet-vertical-baseline: var(--spectrum-global-dimension-size-225);--spectrum-tabs-quiet-vertical-focus-ring-border-radius: 5px;--spectrum-tabs-quiet-vertical-emphasized-baseline: var(--spectrum-global-dimension-size-225);--spectrum-tabs-quiet-vertical-emphasized-focus-ring-border-radius: 5px;--spectrum-tabs-vertical-baseline: var(--spectrum-global-dimension-size-225);--spectrum-tabs-vertical-focus-ring-border-radius: 5px;--spectrum-textarea-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-textarea-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-textarea-icon-frame: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-textarea-quiet-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-textarea-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-textarea-quiet-icon-frame: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-textfield-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-textfield-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-textfield-icon-frame: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-textfield-quiet-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-textfield-quiet-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-textfield-quiet-icon-frame: var(--spectrum-global-dimension-static-size-400, 32px);--spectrum-tool-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-tool-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-tool-high-emphasis-touch-hit-x: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-tool-high-emphasis-touch-hit-y: var(--spectrum-global-dimension-static-size-100, 8px);--spectrum-tooltip-padding-bottom: 5px;--spectrum-tooltip-content-max-width: var(--spectrum-global-dimension-size-2000);--spectrum-tooltip-info-padding-bottom: 5px;--spectrum-tooltip-info-content-max-width: 101px;--spectrum-tooltip-negative-padding-bottom: 5px;--spectrum-tooltip-negative-content-max-width: 101px;--spectrum-tooltip-positive-padding-bottom: 5px;--spectrum-tooltip-positive-content-max-width: 101px}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}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,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color: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:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--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: rgb(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: rgb(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: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.relative{position:relative}.m-auto{margin:auto}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-7{margin-left:1.75rem;margin-right:1.75rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-2{margin-bottom:.5rem}.mb-5{margin-bottom:1.25rem}.ml-auto{margin-left:auto}.mr-4{margin-right:1rem}.mr-auto{margin-right:auto}.mt-2{margin-top:.5rem}.block{display:block}.flex{display:flex}.grid{display:grid}.contents{display:contents}.h-full{height:100%}.h-screen{height:100vh}.w-1\/2{width:50%}.w-full{width:100%}.w-screen{width:100vw}.min-w-\[240px\]{min-width:240px}.min-w-full{min-width:100%}.max-w-\[20rem\]{max-width:20rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.place-items-center{place-items:center}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-7{gap:1.75rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.overflow-y-auto{overflow-y:auto}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-clip-border{background-clip:border-box}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.text-center{text-align:center}.text-start{text-align:start}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-normal{letter-spacing:0em}.tracking-wide{letter-spacing:.025em}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px 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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-none{outline:2px solid transparent;outline-offset:2px}.filter{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)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}@media (prefers-color-scheme: dark){.dark\:border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}} diff --git a/assets/index-BO_Uq_O3.js b/assets/index-BO_Uq_O3.js new file mode 100644 index 0000000..5b47457 --- /dev/null +++ b/assets/index-BO_Uq_O3.js @@ -0,0 +1,85 @@ +var iR=Object.defineProperty;var aR=(e,t,n)=>t in e?iR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var j=(e,t,n)=>(aR(e,typeof t!="symbol"?t+"":t,n),n);function sR(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();function ow(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lw={exports:{}},Yd={},uw={exports:{}},ie={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var _l=Symbol.for("react.element"),oR=Symbol.for("react.portal"),lR=Symbol.for("react.fragment"),uR=Symbol.for("react.strict_mode"),cR=Symbol.for("react.profiler"),dR=Symbol.for("react.provider"),fR=Symbol.for("react.context"),hR=Symbol.for("react.forward_ref"),pR=Symbol.for("react.suspense"),mR=Symbol.for("react.memo"),gR=Symbol.for("react.lazy"),j$=Symbol.iterator;function vR(e){return e===null||typeof e!="object"?null:(e=j$&&e[j$]||e["@@iterator"],typeof e=="function"?e:null)}var cw={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},dw=Object.assign,fw={};function _s(e,t,n){this.props=e,this.context=t,this.refs=fw,this.updater=n||cw}_s.prototype.isReactComponent={};_s.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};_s.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hw(){}hw.prototype=_s.prototype;function Z3(e,t,n){this.props=e,this.context=t,this.refs=fw,this.updater=n||cw}var X3=Z3.prototype=new hw;X3.constructor=Z3;dw(X3,_s.prototype);X3.isPureReactComponent=!0;var z$=Array.isArray,pw=Object.prototype.hasOwnProperty,Q3={current:null},mw={key:!0,ref:!0,__self:!0,__source:!0};function gw(e,t,n){var r,i={},a=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(a=""+t.key),t)pw.call(t,r)&&!mw.hasOwnProperty(r)&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var l=Array(o),u=0;u<o;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return{$$typeof:_l,type:e,key:a,ref:s,props:i,_owner:Q3.current}}function bR(e,t){return{$$typeof:_l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function J3(e){return typeof e=="object"&&e!==null&&e.$$typeof===_l}function yR(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var V$=/\/+/g;function jf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yR(""+e.key):t.toString(36)}function ju(e,t,n,r,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case _l:case oR:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+jf(s,0):r,z$(i)?(n="",e!=null&&(n=e.replace(V$,"$&/")+"/"),ju(i,t,n,"",function(u){return u})):i!=null&&(J3(i)&&(i=bR(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(V$,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",z$(e))for(var o=0;o<e.length;o++){a=e[o];var l=r+jf(a,o);s+=ju(a,t,n,l,i)}else if(l=vR(e),typeof l=="function")for(e=l.call(e),o=0;!(a=e.next()).done;)a=a.value,l=r+jf(a,o++),s+=ju(a,t,n,l,i);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function jl(e,t,n){if(e==null)return e;var r=[],i=0;return ju(e,r,"","",function(a){return t.call(n,a,i++)}),r}function $R(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ft={current:null},zu={transition:null},xR={ReactCurrentDispatcher:Ft,ReactCurrentBatchConfig:zu,ReactCurrentOwner:Q3};function vw(){throw Error("act(...) is not supported in production builds of React.")}ie.Children={map:jl,forEach:function(e,t,n){jl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return jl(e,function(){t++}),t},toArray:function(e){return jl(e,function(t){return t})||[]},only:function(e){if(!J3(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ie.Component=_s;ie.Fragment=lR;ie.Profiler=cR;ie.PureComponent=Z3;ie.StrictMode=uR;ie.Suspense=pR;ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xR;ie.act=vw;ie.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=dw({},e.props),i=e.key,a=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,s=Q3.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(l in t)pw.call(t,l)&&!mw.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&o!==void 0?o[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){o=Array(l);for(var u=0;u<l;u++)o[u]=arguments[u+2];r.children=o}return{$$typeof:_l,type:e.type,key:i,ref:a,props:r,_owner:s}};ie.createContext=function(e){return e={$$typeof:fR,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:dR,_context:e},e.Consumer=e};ie.createElement=gw;ie.createFactory=function(e){var t=gw.bind(null,e);return t.type=e,t};ie.createRef=function(){return{current:null}};ie.forwardRef=function(e){return{$$typeof:hR,render:e}};ie.isValidElement=J3;ie.lazy=function(e){return{$$typeof:gR,_payload:{_status:-1,_result:e},_init:$R}};ie.memo=function(e,t){return{$$typeof:mR,type:e,compare:t===void 0?null:t}};ie.startTransition=function(e){var t=zu.transition;zu.transition={};try{e()}finally{zu.transition=t}};ie.unstable_act=vw;ie.useCallback=function(e,t){return Ft.current.useCallback(e,t)};ie.useContext=function(e){return Ft.current.useContext(e)};ie.useDebugValue=function(){};ie.useDeferredValue=function(e){return Ft.current.useDeferredValue(e)};ie.useEffect=function(e,t){return Ft.current.useEffect(e,t)};ie.useId=function(){return Ft.current.useId()};ie.useImperativeHandle=function(e,t,n){return Ft.current.useImperativeHandle(e,t,n)};ie.useInsertionEffect=function(e,t){return Ft.current.useInsertionEffect(e,t)};ie.useLayoutEffect=function(e,t){return Ft.current.useLayoutEffect(e,t)};ie.useMemo=function(e,t){return Ft.current.useMemo(e,t)};ie.useReducer=function(e,t,n){return Ft.current.useReducer(e,t,n)};ie.useRef=function(e){return Ft.current.useRef(e)};ie.useState=function(e){return Ft.current.useState(e)};ie.useSyncExternalStore=function(e,t,n){return Ft.current.useSyncExternalStore(e,t,n)};ie.useTransition=function(){return Ft.current.useTransition()};ie.version="18.3.1";uw.exports=ie;var y=uw.exports;const _=ow(y),wR=sR({__proto__:null,default:_},[y]);/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var DR=y,_R=Symbol.for("react.element"),ER=Symbol.for("react.fragment"),SR=Object.prototype.hasOwnProperty,CR=DR.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kR={key:!0,ref:!0,__self:!0,__source:!0};function bw(e,t,n){var r,i={},a=null,s=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)SR.call(t,r)&&!kR.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:_R,type:e,key:a,ref:s,props:i,_owner:CR.current}}Yd.Fragment=ER;Yd.jsx=bw;Yd.jsxs=bw;lw.exports=Yd;var I=lw.exports,pp={},yw={exports:{}},un={},$w={exports:{}},xw={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */(function(e){function t(F,B){var N=F.length;F.push(B);e:for(;0<N;){var X=N-1>>>1,Q=F[X];if(0<i(Q,B))F[X]=B,F[N]=Q,N=X;else break e}}function n(F){return F.length===0?null:F[0]}function r(F){if(F.length===0)return null;var B=F[0],N=F.pop();if(N!==B){F[0]=N;e:for(var X=0,Q=F.length,je=Q>>>1;X<je;){var $e=2*(X+1)-1,lt=F[$e],xe=$e+1,W=F[xe];if(0>i(lt,N))xe<Q&&0>i(W,lt)?(F[X]=W,F[xe]=N,X=xe):(F[X]=lt,F[$e]=N,X=$e);else if(xe<Q&&0>i(W,N))F[X]=W,F[xe]=N,X=xe;else break e}}return B}function i(F,B){var N=F.sortIndex-B.sortIndex;return N!==0?N:F.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,o=s.now();e.unstable_now=function(){return s.now()-o}}var l=[],u=[],c=1,d=null,f=3,h=!1,p=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(F){for(var B=n(u);B!==null;){if(B.callback===null)r(u);else if(B.startTime<=F)r(u),B.sortIndex=B.expirationTime,t(l,B);else break;B=n(u)}}function w(F){if(g=!1,$(F),!p)if(n(l)!==null)p=!0,O(D);else{var B=n(u);B!==null&&C(w,B.startTime-F)}}function D(F,B){p=!1,g&&(g=!1,v(x),x=-1),h=!0;var N=f;try{for($(B),d=n(l);d!==null&&(!(d.expirationTime>B)||F&&!E());){var X=d.callback;if(typeof X=="function"){d.callback=null,f=d.priorityLevel;var Q=X(d.expirationTime<=B);B=e.unstable_now(),typeof Q=="function"?d.callback=Q:d===n(l)&&r(l),$(B)}else r(l);d=n(l)}if(d!==null)var je=!0;else{var $e=n(u);$e!==null&&C(w,$e.startTime-B),je=!1}return je}finally{d=null,f=N,h=!1}}var S=!1,k=null,x=-1,T=5,P=-1;function E(){return!(e.unstable_now()-P<T)}function A(){if(k!==null){var F=e.unstable_now();P=F;var B=!0;try{B=k(!0,F)}finally{B?R():(S=!1,k=null)}}else S=!1}var R;if(typeof m=="function")R=function(){m(A)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,z=M.port2;M.port1.onmessage=A,R=function(){z.postMessage(null)}}else R=function(){b(A,0)};function O(F){k=F,S||(S=!0,R())}function C(F,B){x=b(function(){F(e.unstable_now())},B)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(F){F.callback=null},e.unstable_continueExecution=function(){p||h||(p=!0,O(D))},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(F){switch(f){case 1:case 2:case 3:var B=3;break;default:B=f}var N=f;f=B;try{return F()}finally{f=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(F,B){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var N=f;f=F;try{return B()}finally{f=N}},e.unstable_scheduleCallback=function(F,B,N){var X=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?X+N:X):N=X,F){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=N+Q,F={id:c++,callback:B,priorityLevel:F,startTime:N,expirationTime:Q,sortIndex:-1},N>X?(F.sortIndex=N,t(u,F),n(l)===null&&F===n(u)&&(g?(v(x),x=-1):g=!0,C(w,N-X))):(F.sortIndex=Q,t(l,F),p||h||(p=!0,O(D))),F},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(F){var B=f;return function(){var N=f;f=B;try{return F.apply(this,arguments)}finally{f=N}}}})(xw);$w.exports=xw;var PR=$w.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var TR=y,on=PR;function L(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ww=new Set,Lo={};function oa(e,t){cs(e,t),cs(e+"Capture",t)}function cs(e,t){for(Lo[e]=t,e=0;e<t.length;e++)ww.add(t[e])}var vr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mp=Object.prototype.hasOwnProperty,RR=/^[: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][: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]*$/,W$={},U$={};function MR(e){return mp.call(U$,e)?!0:mp.call(W$,e)?!1:RR.test(e)?U$[e]=!0:(W$[e]=!0,!1)}function AR(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function FR(e,t,n,r){if(t===null||typeof t>"u"||AR(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ot(e,t,n,r,i,a,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){gt[e]=new Ot(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];gt[t]=new Ot(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){gt[e]=new Ot(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){gt[e]=new Ot(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".split(" ").forEach(function(e){gt[e]=new Ot(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){gt[e]=new Ot(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){gt[e]=new Ot(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){gt[e]=new Ot(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){gt[e]=new Ot(e,5,!1,e.toLowerCase(),null,!1,!1)});var ey=/[\-:]([a-z])/g;function ty(e){return 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".split(" ").forEach(function(e){var t=e.replace(ey,ty);gt[t]=new Ot(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ey,ty);gt[t]=new Ot(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ey,ty);gt[t]=new Ot(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){gt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!1,!1)});gt.xlinkHref=new Ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){gt[e]=new Ot(e,1,!1,e.toLowerCase(),null,!0,!0)});function ny(e,t,n,r){var i=gt.hasOwnProperty(t)?gt[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(FR(t,n,i,r)&&(n=null),r||i===null?MR(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var xr=TR.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,zl=Symbol.for("react.element"),Aa=Symbol.for("react.portal"),Fa=Symbol.for("react.fragment"),ry=Symbol.for("react.strict_mode"),gp=Symbol.for("react.profiler"),Dw=Symbol.for("react.provider"),_w=Symbol.for("react.context"),iy=Symbol.for("react.forward_ref"),vp=Symbol.for("react.suspense"),bp=Symbol.for("react.suspense_list"),ay=Symbol.for("react.memo"),Mr=Symbol.for("react.lazy"),Ew=Symbol.for("react.offscreen"),H$=Symbol.iterator;function As(e){return e===null||typeof e!="object"?null:(e=H$&&e[H$]||e["@@iterator"],typeof e=="function"?e:null)}var Ne=Object.assign,zf;function no(e){if(zf===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);zf=t&&t[1]||""}return` +`+zf+e}var Vf=!1;function Wf(e,t){if(!e||Vf)return"";Vf=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` +`),a=r.stack.split(` +`),s=i.length-1,o=a.length-1;1<=s&&0<=o&&i[s]!==a[o];)o--;for(;1<=s&&0<=o;s--,o--)if(i[s]!==a[o]){if(s!==1||o!==1)do if(s--,o--,0>o||i[s]!==a[o]){var l=` +`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=o);break}}}finally{Vf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?no(e):""}function OR(e){switch(e.tag){case 5:return no(e.type);case 16:return no("Lazy");case 13:return no("Suspense");case 19:return no("SuspenseList");case 0:case 2:case 15:return e=Wf(e.type,!1),e;case 11:return e=Wf(e.type.render,!1),e;case 1:return e=Wf(e.type,!0),e;default:return""}}function yp(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fa:return"Fragment";case Aa:return"Portal";case gp:return"Profiler";case ry:return"StrictMode";case vp:return"Suspense";case bp:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _w:return(e.displayName||"Context")+".Consumer";case Dw:return(e._context.displayName||"Context")+".Provider";case iy:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ay:return t=e.displayName||null,t!==null?t:yp(e.type)||"Memo";case Mr:t=e._payload,e=e._init;try{return yp(e(t))}catch{}}return null}function BR(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return yp(t);case 8:return t===ry?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ri(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Sw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function IR(e){var t=Sw(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,a.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vl(e){e._valueTracker||(e._valueTracker=IR(e))}function Cw(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Sw(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function cc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function $p(e,t){var n=t.checked;return Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function K$(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ri(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function kw(e,t){t=t.checked,t!=null&&ny(e,"checked",t,!1)}function xp(e,t){kw(e,t);var n=ri(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?wp(e,t.type,n):t.hasOwnProperty("defaultValue")&&wp(e,t.type,ri(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Y$(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function wp(e,t,n){(t!=="number"||cc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ro=Array.isArray;function qa(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ri(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Dp(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(L(91));return Ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function q$(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(L(92));if(ro(n)){if(1<n.length)throw Error(L(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ri(n)}}function Pw(e,t){var n=ri(t.value),r=ri(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function G$(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Tw(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function _p(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Tw(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Wl,Rw=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Wl=Wl||document.createElement("div"),Wl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Wl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function No(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},LR=["Webkit","ms","Moz","O"];Object.keys(yo).forEach(function(e){LR.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),yo[t]=yo[e]})});function Mw(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||yo.hasOwnProperty(e)&&yo[e]?(""+t).trim():t+"px"}function Aw(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Mw(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var NR=Ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ep(e,t){if(t){if(NR[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function Sp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Cp=null;function sy(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kp=null,Ga=null,Za=null;function Z$(e){if(e=Cl(e)){if(typeof kp!="function")throw Error(L(280));var t=e.stateNode;t&&(t=Qd(t),kp(e.stateNode,e.type,t))}}function Fw(e){Ga?Za?Za.push(e):Za=[e]:Ga=e}function Ow(){if(Ga){var e=Ga,t=Za;if(Za=Ga=null,Z$(e),t)for(e=0;e<t.length;e++)Z$(t[e])}}function Bw(e,t){return e(t)}function Iw(){}var Uf=!1;function Lw(e,t,n){if(Uf)return e(t,n);Uf=!0;try{return Bw(e,t,n)}finally{Uf=!1,(Ga!==null||Za!==null)&&(Iw(),Ow())}}function jo(e,t){var n=e.stateNode;if(n===null)return null;var r=Qd(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(L(231,t,typeof n));return n}var Pp=!1;if(vr)try{var Fs={};Object.defineProperty(Fs,"passive",{get:function(){Pp=!0}}),window.addEventListener("test",Fs,Fs),window.removeEventListener("test",Fs,Fs)}catch{Pp=!1}function jR(e,t,n,r,i,a,s,o,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var $o=!1,dc=null,fc=!1,Tp=null,zR={onError:function(e){$o=!0,dc=e}};function VR(e,t,n,r,i,a,s,o,l){$o=!1,dc=null,jR.apply(zR,arguments)}function WR(e,t,n,r,i,a,s,o,l){if(VR.apply(this,arguments),$o){if($o){var u=dc;$o=!1,dc=null}else throw Error(L(198));fc||(fc=!0,Tp=u)}}function la(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Nw(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function X$(e){if(la(e)!==e)throw Error(L(188))}function UR(e){var t=e.alternate;if(!t){if(t=la(e),t===null)throw Error(L(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return X$(i),e;if(a===r)return X$(i),t;a=a.sibling}throw Error(L(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,o=i.child;o;){if(o===n){s=!0,n=i,r=a;break}if(o===r){s=!0,r=i,n=a;break}o=o.sibling}if(!s){for(o=a.child;o;){if(o===n){s=!0,n=a,r=i;break}if(o===r){s=!0,r=a,n=i;break}o=o.sibling}if(!s)throw Error(L(189))}}if(n.alternate!==r)throw Error(L(190))}if(n.tag!==3)throw Error(L(188));return n.stateNode.current===n?e:t}function jw(e){return e=UR(e),e!==null?zw(e):null}function zw(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=zw(e);if(t!==null)return t;e=e.sibling}return null}var Vw=on.unstable_scheduleCallback,Q$=on.unstable_cancelCallback,HR=on.unstable_shouldYield,KR=on.unstable_requestPaint,Ye=on.unstable_now,YR=on.unstable_getCurrentPriorityLevel,oy=on.unstable_ImmediatePriority,Ww=on.unstable_UserBlockingPriority,hc=on.unstable_NormalPriority,qR=on.unstable_LowPriority,Uw=on.unstable_IdlePriority,qd=null,Kn=null;function GR(e){if(Kn&&typeof Kn.onCommitFiberRoot=="function")try{Kn.onCommitFiberRoot(qd,e,void 0,(e.current.flags&128)===128)}catch{}}var An=Math.clz32?Math.clz32:QR,ZR=Math.log,XR=Math.LN2;function QR(e){return e>>>=0,e===0?32:31-(ZR(e)/XR|0)|0}var Ul=64,Hl=4194304;function io(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,s=n&268435455;if(s!==0){var o=s&~i;o!==0?r=io(o):(a&=s,a!==0&&(r=io(a)))}else s=n&~i,s!==0?r=io(s):a!==0&&(r=io(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-An(t),i=1<<n,r|=e[n],t&=~i;return r}function JR(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function eM(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-An(a),o=1<<s,l=i[s];l===-1?(!(o&n)||o&r)&&(i[s]=JR(o,t)):l<=t&&(e.expiredLanes|=o),a&=~o}}function Rp(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Hw(){var e=Ul;return Ul<<=1,!(Ul&4194240)&&(Ul=64),e}function Hf(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function El(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-An(t),e[t]=n}function tM(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-An(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function ly(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-An(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ge=0;function Kw(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Yw,uy,qw,Gw,Zw,Mp=!1,Kl=[],Yr=null,qr=null,Gr=null,zo=new Map,Vo=new Map,Br=[],nM="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function J$(e,t){switch(e){case"focusin":case"focusout":Yr=null;break;case"dragenter":case"dragleave":qr=null;break;case"mouseover":case"mouseout":Gr=null;break;case"pointerover":case"pointerout":zo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vo.delete(t.pointerId)}}function Os(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Cl(t),t!==null&&uy(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function rM(e,t,n,r,i){switch(t){case"focusin":return Yr=Os(Yr,e,t,n,r,i),!0;case"dragenter":return qr=Os(qr,e,t,n,r,i),!0;case"mouseover":return Gr=Os(Gr,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return zo.set(a,Os(zo.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Vo.set(a,Os(Vo.get(a)||null,e,t,n,r,i)),!0}return!1}function Xw(e){var t=Bi(e.target);if(t!==null){var n=la(t);if(n!==null){if(t=n.tag,t===13){if(t=Nw(n),t!==null){e.blockedOn=t,Zw(e.priority,function(){qw(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Vu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ap(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Cp=r,n.target.dispatchEvent(r),Cp=null}else return t=Cl(n),t!==null&&uy(t),e.blockedOn=n,!1;t.shift()}return!0}function ex(e,t,n){Vu(e)&&n.delete(t)}function iM(){Mp=!1,Yr!==null&&Vu(Yr)&&(Yr=null),qr!==null&&Vu(qr)&&(qr=null),Gr!==null&&Vu(Gr)&&(Gr=null),zo.forEach(ex),Vo.forEach(ex)}function Bs(e,t){e.blockedOn===t&&(e.blockedOn=null,Mp||(Mp=!0,on.unstable_scheduleCallback(on.unstable_NormalPriority,iM)))}function Wo(e){function t(i){return Bs(i,e)}if(0<Kl.length){Bs(Kl[0],e);for(var n=1;n<Kl.length;n++){var r=Kl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Yr!==null&&Bs(Yr,e),qr!==null&&Bs(qr,e),Gr!==null&&Bs(Gr,e),zo.forEach(t),Vo.forEach(t),n=0;n<Br.length;n++)r=Br[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Br.length&&(n=Br[0],n.blockedOn===null);)Xw(n),n.blockedOn===null&&Br.shift()}var Xa=xr.ReactCurrentBatchConfig,mc=!0;function aM(e,t,n,r){var i=ge,a=Xa.transition;Xa.transition=null;try{ge=1,cy(e,t,n,r)}finally{ge=i,Xa.transition=a}}function sM(e,t,n,r){var i=ge,a=Xa.transition;Xa.transition=null;try{ge=4,cy(e,t,n,r)}finally{ge=i,Xa.transition=a}}function cy(e,t,n,r){if(mc){var i=Ap(e,t,n,r);if(i===null)th(e,t,r,gc,n),J$(e,r);else if(rM(i,e,t,n,r))r.stopPropagation();else if(J$(e,r),t&4&&-1<nM.indexOf(e)){for(;i!==null;){var a=Cl(i);if(a!==null&&Yw(a),a=Ap(e,t,n,r),a===null&&th(e,t,r,gc,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else th(e,t,r,null,n)}}var gc=null;function Ap(e,t,n,r){if(gc=null,e=sy(r),e=Bi(e),e!==null)if(t=la(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Nw(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return gc=e,null}function Qw(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(YR()){case oy:return 1;case Ww:return 4;case hc:case qR:return 16;case Uw:return 536870912;default:return 16}default:return 16}}var Nr=null,dy=null,Wu=null;function Jw(){if(Wu)return Wu;var e,t=dy,n=t.length,r,i="value"in Nr?Nr.value:Nr.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[a-r];r++);return Wu=i.slice(e,1<r?1-r:void 0)}function Uu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Yl(){return!0}function tx(){return!1}function cn(e){function t(n,r,i,a,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=a,this.target=s,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(a):a[o]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Yl:tx,this.isPropagationStopped=tx,this}return Ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Yl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Yl)},persist:function(){},isPersistent:Yl}),t}var Es={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fy=cn(Es),Sl=Ne({},Es,{view:0,detail:0}),oM=cn(Sl),Kf,Yf,Is,Gd=Ne({},Sl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Is&&(Is&&e.type==="mousemove"?(Kf=e.screenX-Is.screenX,Yf=e.screenY-Is.screenY):Yf=Kf=0,Is=e),Kf)},movementY:function(e){return"movementY"in e?e.movementY:Yf}}),nx=cn(Gd),lM=Ne({},Gd,{dataTransfer:0}),uM=cn(lM),cM=Ne({},Sl,{relatedTarget:0}),qf=cn(cM),dM=Ne({},Es,{animationName:0,elapsedTime:0,pseudoElement:0}),fM=cn(dM),hM=Ne({},Es,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pM=cn(hM),mM=Ne({},Es,{data:0}),rx=cn(mM),gM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vM={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},bM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yM(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=bM[e])?!!t[e]:!1}function hy(){return yM}var $M=Ne({},Sl,{key:function(e){if(e.key){var t=gM[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Uu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?vM[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hy,charCode:function(e){return e.type==="keypress"?Uu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Uu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xM=cn($M),wM=Ne({},Gd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ix=cn(wM),DM=Ne({},Sl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hy}),_M=cn(DM),EM=Ne({},Es,{propertyName:0,elapsedTime:0,pseudoElement:0}),SM=cn(EM),CM=Ne({},Gd,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),kM=cn(CM),PM=[9,13,27,32],py=vr&&"CompositionEvent"in window,xo=null;vr&&"documentMode"in document&&(xo=document.documentMode);var TM=vr&&"TextEvent"in window&&!xo,eD=vr&&(!py||xo&&8<xo&&11>=xo),ax=" ",sx=!1;function tD(e,t){switch(e){case"keyup":return PM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nD(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Oa=!1;function RM(e,t){switch(e){case"compositionend":return nD(t);case"keypress":return t.which!==32?null:(sx=!0,ax);case"textInput":return e=t.data,e===ax&&sx?null:e;default:return null}}function MM(e,t){if(Oa)return e==="compositionend"||!py&&tD(e,t)?(e=Jw(),Wu=dy=Nr=null,Oa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return eD&&t.locale!=="ko"?null:t.data;default:return null}}var AM={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ox(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!AM[e.type]:t==="textarea"}function rD(e,t,n,r){Fw(r),t=vc(t,"onChange"),0<t.length&&(n=new fy("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var wo=null,Uo=null;function FM(e){pD(e,0)}function Zd(e){var t=La(e);if(Cw(t))return e}function OM(e,t){if(e==="change")return t}var iD=!1;if(vr){var Gf;if(vr){var Zf="oninput"in document;if(!Zf){var lx=document.createElement("div");lx.setAttribute("oninput","return;"),Zf=typeof lx.oninput=="function"}Gf=Zf}else Gf=!1;iD=Gf&&(!document.documentMode||9<document.documentMode)}function ux(){wo&&(wo.detachEvent("onpropertychange",aD),Uo=wo=null)}function aD(e){if(e.propertyName==="value"&&Zd(Uo)){var t=[];rD(t,Uo,e,sy(e)),Lw(FM,t)}}function BM(e,t,n){e==="focusin"?(ux(),wo=t,Uo=n,wo.attachEvent("onpropertychange",aD)):e==="focusout"&&ux()}function IM(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zd(Uo)}function LM(e,t){if(e==="click")return Zd(t)}function NM(e,t){if(e==="input"||e==="change")return Zd(t)}function jM(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bn=typeof Object.is=="function"?Object.is:jM;function Ho(e,t){if(Bn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!mp.call(t,i)||!Bn(e[i],t[i]))return!1}return!0}function cx(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dx(e,t){var n=cx(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=cx(n)}}function sD(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sD(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function oD(){for(var e=window,t=cc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=cc(e.document)}return t}function my(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function zM(e){var t=oD(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sD(n.ownerDocument.documentElement,n)){if(r!==null&&my(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=dx(n,a);var s=dx(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var VM=vr&&"documentMode"in document&&11>=document.documentMode,Ba=null,Fp=null,Do=null,Op=!1;function fx(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Op||Ba==null||Ba!==cc(r)||(r=Ba,"selectionStart"in r&&my(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Do&&Ho(Do,r)||(Do=r,r=vc(Fp,"onSelect"),0<r.length&&(t=new fy("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ba)))}function ql(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ia={animationend:ql("Animation","AnimationEnd"),animationiteration:ql("Animation","AnimationIteration"),animationstart:ql("Animation","AnimationStart"),transitionend:ql("Transition","TransitionEnd")},Xf={},lD={};vr&&(lD=document.createElement("div").style,"AnimationEvent"in window||(delete Ia.animationend.animation,delete Ia.animationiteration.animation,delete Ia.animationstart.animation),"TransitionEvent"in window||delete Ia.transitionend.transition);function Xd(e){if(Xf[e])return Xf[e];if(!Ia[e])return e;var t=Ia[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in lD)return Xf[e]=t[n];return e}var uD=Xd("animationend"),cD=Xd("animationiteration"),dD=Xd("animationstart"),fD=Xd("transitionend"),hD=new Map,hx="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ci(e,t){hD.set(e,t),oa(t,[e])}for(var Qf=0;Qf<hx.length;Qf++){var Jf=hx[Qf],WM=Jf.toLowerCase(),UM=Jf[0].toUpperCase()+Jf.slice(1);ci(WM,"on"+UM)}ci(uD,"onAnimationEnd");ci(cD,"onAnimationIteration");ci(dD,"onAnimationStart");ci("dblclick","onDoubleClick");ci("focusin","onFocus");ci("focusout","onBlur");ci(fD,"onTransitionEnd");cs("onMouseEnter",["mouseout","mouseover"]);cs("onMouseLeave",["mouseout","mouseover"]);cs("onPointerEnter",["pointerout","pointerover"]);cs("onPointerLeave",["pointerout","pointerover"]);oa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));oa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));oa("onBeforeInput",["compositionend","keypress","textInput","paste"]);oa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));oa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));oa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ao="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),HM=new Set("cancel close invalid load scroll toggle".split(" ").concat(ao));function px(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,WR(r,t,void 0,e),e.currentTarget=null}function pD(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var s=r.length-1;0<=s;s--){var o=r[s],l=o.instance,u=o.currentTarget;if(o=o.listener,l!==a&&i.isPropagationStopped())break e;px(i,o,u),a=l}else for(s=0;s<r.length;s++){if(o=r[s],l=o.instance,u=o.currentTarget,o=o.listener,l!==a&&i.isPropagationStopped())break e;px(i,o,u),a=l}}}if(fc)throw e=Tp,fc=!1,Tp=null,e}function ke(e,t){var n=t[jp];n===void 0&&(n=t[jp]=new Set);var r=e+"__bubble";n.has(r)||(mD(t,e,2,!1),n.add(r))}function eh(e,t,n){var r=0;t&&(r|=4),mD(n,e,r,t)}var Gl="_reactListening"+Math.random().toString(36).slice(2);function Ko(e){if(!e[Gl]){e[Gl]=!0,ww.forEach(function(n){n!=="selectionchange"&&(HM.has(n)||eh(n,!1,e),eh(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Gl]||(t[Gl]=!0,eh("selectionchange",!1,t))}}function mD(e,t,n,r){switch(Qw(t)){case 1:var i=aM;break;case 4:i=sM;break;default:i=cy}n=i.bind(null,t,n,e),i=void 0,!Pp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function th(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var o=r.stateNode.containerInfo;if(o===i||o.nodeType===8&&o.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;o!==null;){if(s=Bi(o),s===null)return;if(l=s.tag,l===5||l===6){r=a=s;continue e}o=o.parentNode}}r=r.return}Lw(function(){var u=a,c=sy(n),d=[];e:{var f=hD.get(e);if(f!==void 0){var h=fy,p=e;switch(e){case"keypress":if(Uu(n)===0)break e;case"keydown":case"keyup":h=xM;break;case"focusin":p="focus",h=qf;break;case"focusout":p="blur",h=qf;break;case"beforeblur":case"afterblur":h=qf;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=nx;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=uM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=_M;break;case uD:case cD:case dD:h=fM;break;case fD:h=SM;break;case"scroll":h=oM;break;case"wheel":h=kM;break;case"copy":case"cut":case"paste":h=pM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=ix}var g=(t&4)!==0,b=!g&&e==="scroll",v=g?f!==null?f+"Capture":null:f;g=[];for(var m=u,$;m!==null;){$=m;var w=$.stateNode;if($.tag===5&&w!==null&&($=w,v!==null&&(w=jo(m,v),w!=null&&g.push(Yo(m,w,$)))),b)break;m=m.return}0<g.length&&(f=new h(f,p,null,n,c),d.push({event:f,listeners:g}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==Cp&&(p=n.relatedTarget||n.fromElement)&&(Bi(p)||p[br]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(p=n.relatedTarget||n.toElement,h=u,p=p?Bi(p):null,p!==null&&(b=la(p),p!==b||p.tag!==5&&p.tag!==6)&&(p=null)):(h=null,p=u),h!==p)){if(g=nx,w="onMouseLeave",v="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(g=ix,w="onPointerLeave",v="onPointerEnter",m="pointer"),b=h==null?f:La(h),$=p==null?f:La(p),f=new g(w,m+"leave",h,n,c),f.target=b,f.relatedTarget=$,w=null,Bi(c)===u&&(g=new g(v,m+"enter",p,n,c),g.target=$,g.relatedTarget=b,w=g),b=w,h&&p)t:{for(g=h,v=p,m=0,$=g;$;$=va($))m++;for($=0,w=v;w;w=va(w))$++;for(;0<m-$;)g=va(g),m--;for(;0<$-m;)v=va(v),$--;for(;m--;){if(g===v||v!==null&&g===v.alternate)break t;g=va(g),v=va(v)}g=null}else g=null;h!==null&&mx(d,f,h,g,!1),p!==null&&b!==null&&mx(d,b,p,g,!0)}}e:{if(f=u?La(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var D=OM;else if(ox(f))if(iD)D=NM;else{D=IM;var S=BM}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(D=LM);if(D&&(D=D(e,u))){rD(d,D,n,c);break e}S&&S(e,f,u),e==="focusout"&&(S=f._wrapperState)&&S.controlled&&f.type==="number"&&wp(f,"number",f.value)}switch(S=u?La(u):window,e){case"focusin":(ox(S)||S.contentEditable==="true")&&(Ba=S,Fp=u,Do=null);break;case"focusout":Do=Fp=Ba=null;break;case"mousedown":Op=!0;break;case"contextmenu":case"mouseup":case"dragend":Op=!1,fx(d,n,c);break;case"selectionchange":if(VM)break;case"keydown":case"keyup":fx(d,n,c)}var k;if(py)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else Oa?tD(e,n)&&(x="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(x="onCompositionStart");x&&(eD&&n.locale!=="ko"&&(Oa||x!=="onCompositionStart"?x==="onCompositionEnd"&&Oa&&(k=Jw()):(Nr=c,dy="value"in Nr?Nr.value:Nr.textContent,Oa=!0)),S=vc(u,x),0<S.length&&(x=new rx(x,e,null,n,c),d.push({event:x,listeners:S}),k?x.data=k:(k=nD(n),k!==null&&(x.data=k)))),(k=TM?RM(e,n):MM(e,n))&&(u=vc(u,"onBeforeInput"),0<u.length&&(c=new rx("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=k))}pD(d,t)})}function Yo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vc(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=jo(e,n),a!=null&&r.unshift(Yo(e,a,i)),a=jo(e,t),a!=null&&r.push(Yo(e,a,i))),e=e.return}return r}function va(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function mx(e,t,n,r,i){for(var a=t._reactName,s=[];n!==null&&n!==r;){var o=n,l=o.alternate,u=o.stateNode;if(l!==null&&l===r)break;o.tag===5&&u!==null&&(o=u,i?(l=jo(n,a),l!=null&&s.unshift(Yo(n,l,o))):i||(l=jo(n,a),l!=null&&s.push(Yo(n,l,o)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var KM=/\r\n?/g,YM=/\u0000|\uFFFD/g;function gx(e){return(typeof e=="string"?e:""+e).replace(KM,` +`).replace(YM,"")}function Zl(e,t,n){if(t=gx(t),gx(e)!==t&&n)throw Error(L(425))}function bc(){}var Bp=null,Ip=null;function Lp(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Np=typeof setTimeout=="function"?setTimeout:void 0,qM=typeof clearTimeout=="function"?clearTimeout:void 0,vx=typeof Promise=="function"?Promise:void 0,GM=typeof queueMicrotask=="function"?queueMicrotask:typeof vx<"u"?function(e){return vx.resolve(null).then(e).catch(ZM)}:Np;function ZM(e){setTimeout(function(){throw e})}function nh(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Wo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Wo(t)}function Zr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function bx(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ss=Math.random().toString(36).slice(2),Un="__reactFiber$"+Ss,qo="__reactProps$"+Ss,br="__reactContainer$"+Ss,jp="__reactEvents$"+Ss,XM="__reactListeners$"+Ss,QM="__reactHandles$"+Ss;function Bi(e){var t=e[Un];if(t)return t;for(var n=e.parentNode;n;){if(t=n[br]||n[Un]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=bx(e);e!==null;){if(n=e[Un])return n;e=bx(e)}return t}e=n,n=e.parentNode}return null}function Cl(e){return e=e[Un]||e[br],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function La(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(L(33))}function Qd(e){return e[qo]||null}var zp=[],Na=-1;function di(e){return{current:e}}function Pe(e){0>Na||(e.current=zp[Na],zp[Na]=null,Na--)}function Ee(e,t){Na++,zp[Na]=e.current,e.current=t}var ii={},kt=di(ii),Yt=di(!1),qi=ii;function ds(e,t){var n=e.type.contextTypes;if(!n)return ii;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function qt(e){return e=e.childContextTypes,e!=null}function yc(){Pe(Yt),Pe(kt)}function yx(e,t,n){if(kt.current!==ii)throw Error(L(168));Ee(kt,t),Ee(Yt,n)}function gD(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(L(108,BR(e)||"Unknown",i));return Ne({},n,r)}function $c(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ii,qi=kt.current,Ee(kt,e),Ee(Yt,Yt.current),!0}function $x(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=gD(e,t,qi),r.__reactInternalMemoizedMergedChildContext=e,Pe(Yt),Pe(kt),Ee(kt,e)):Pe(Yt),Ee(Yt,n)}var sr=null,Jd=!1,rh=!1;function vD(e){sr===null?sr=[e]:sr.push(e)}function JM(e){Jd=!0,vD(e)}function fi(){if(!rh&&sr!==null){rh=!0;var e=0,t=ge;try{var n=sr;for(ge=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}sr=null,Jd=!1}catch(i){throw sr!==null&&(sr=sr.slice(e+1)),Vw(oy,fi),i}finally{ge=t,rh=!1}}return null}var ja=[],za=0,xc=null,wc=0,gn=[],vn=0,Gi=null,ur=1,cr="";function Ei(e,t){ja[za++]=wc,ja[za++]=xc,xc=e,wc=t}function bD(e,t,n){gn[vn++]=ur,gn[vn++]=cr,gn[vn++]=Gi,Gi=e;var r=ur;e=cr;var i=32-An(r)-1;r&=~(1<<i),n+=1;var a=32-An(t)+i;if(30<a){var s=i-i%5;a=(r&(1<<s)-1).toString(32),r>>=s,i-=s,ur=1<<32-An(t)+i|n<<i|r,cr=a+e}else ur=1<<a|n<<i|r,cr=e}function gy(e){e.return!==null&&(Ei(e,1),bD(e,1,0))}function vy(e){for(;e===xc;)xc=ja[--za],ja[za]=null,wc=ja[--za],ja[za]=null;for(;e===Gi;)Gi=gn[--vn],gn[vn]=null,cr=gn[--vn],gn[vn]=null,ur=gn[--vn],gn[vn]=null}var sn=null,rn=null,Fe=!1,Tn=null;function yD(e,t){var n=yn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function xx(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,sn=e,rn=Zr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,sn=e,rn=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Gi!==null?{id:ur,overflow:cr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=yn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,sn=e,rn=null,!0):!1;default:return!1}}function Vp(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Wp(e){if(Fe){var t=rn;if(t){var n=t;if(!xx(e,t)){if(Vp(e))throw Error(L(418));t=Zr(n.nextSibling);var r=sn;t&&xx(e,t)?yD(r,n):(e.flags=e.flags&-4097|2,Fe=!1,sn=e)}}else{if(Vp(e))throw Error(L(418));e.flags=e.flags&-4097|2,Fe=!1,sn=e}}}function wx(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;sn=e}function Xl(e){if(e!==sn)return!1;if(!Fe)return wx(e),Fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Lp(e.type,e.memoizedProps)),t&&(t=rn)){if(Vp(e))throw $D(),Error(L(418));for(;t;)yD(e,t),t=Zr(t.nextSibling)}if(wx(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(L(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){rn=Zr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}rn=null}}else rn=sn?Zr(e.stateNode.nextSibling):null;return!0}function $D(){for(var e=rn;e;)e=Zr(e.nextSibling)}function fs(){rn=sn=null,Fe=!1}function by(e){Tn===null?Tn=[e]:Tn.push(e)}var eA=xr.ReactCurrentBatchConfig;function Ls(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(L(309));var r=n.stateNode}if(!r)throw Error(L(147,e));var i=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(s){var o=i.refs;s===null?delete o[a]:o[a]=s},t._stringRef=a,t)}if(typeof e!="string")throw Error(L(284));if(!n._owner)throw Error(L(290,e))}return e}function Ql(e,t){throw e=Object.prototype.toString.call(t),Error(L(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Dx(e){var t=e._init;return t(e._payload)}function xD(e){function t(v,m){if(e){var $=v.deletions;$===null?(v.deletions=[m],v.flags|=16):$.push(m)}}function n(v,m){if(!e)return null;for(;m!==null;)t(v,m),m=m.sibling;return null}function r(v,m){for(v=new Map;m!==null;)m.key!==null?v.set(m.key,m):v.set(m.index,m),m=m.sibling;return v}function i(v,m){return v=ei(v,m),v.index=0,v.sibling=null,v}function a(v,m,$){return v.index=$,e?($=v.alternate,$!==null?($=$.index,$<m?(v.flags|=2,m):$):(v.flags|=2,m)):(v.flags|=1048576,m)}function s(v){return e&&v.alternate===null&&(v.flags|=2),v}function o(v,m,$,w){return m===null||m.tag!==6?(m=ch($,v.mode,w),m.return=v,m):(m=i(m,$),m.return=v,m)}function l(v,m,$,w){var D=$.type;return D===Fa?c(v,m,$.props.children,w,$.key):m!==null&&(m.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Mr&&Dx(D)===m.type)?(w=i(m,$.props),w.ref=Ls(v,m,$),w.return=v,w):(w=Xu($.type,$.key,$.props,null,v.mode,w),w.ref=Ls(v,m,$),w.return=v,w)}function u(v,m,$,w){return m===null||m.tag!==4||m.stateNode.containerInfo!==$.containerInfo||m.stateNode.implementation!==$.implementation?(m=dh($,v.mode,w),m.return=v,m):(m=i(m,$.children||[]),m.return=v,m)}function c(v,m,$,w,D){return m===null||m.tag!==7?(m=Ui($,v.mode,w,D),m.return=v,m):(m=i(m,$),m.return=v,m)}function d(v,m,$){if(typeof m=="string"&&m!==""||typeof m=="number")return m=ch(""+m,v.mode,$),m.return=v,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case zl:return $=Xu(m.type,m.key,m.props,null,v.mode,$),$.ref=Ls(v,null,m),$.return=v,$;case Aa:return m=dh(m,v.mode,$),m.return=v,m;case Mr:var w=m._init;return d(v,w(m._payload),$)}if(ro(m)||As(m))return m=Ui(m,v.mode,$,null),m.return=v,m;Ql(v,m)}return null}function f(v,m,$,w){var D=m!==null?m.key:null;if(typeof $=="string"&&$!==""||typeof $=="number")return D!==null?null:o(v,m,""+$,w);if(typeof $=="object"&&$!==null){switch($.$$typeof){case zl:return $.key===D?l(v,m,$,w):null;case Aa:return $.key===D?u(v,m,$,w):null;case Mr:return D=$._init,f(v,m,D($._payload),w)}if(ro($)||As($))return D!==null?null:c(v,m,$,w,null);Ql(v,$)}return null}function h(v,m,$,w,D){if(typeof w=="string"&&w!==""||typeof w=="number")return v=v.get($)||null,o(m,v,""+w,D);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case zl:return v=v.get(w.key===null?$:w.key)||null,l(m,v,w,D);case Aa:return v=v.get(w.key===null?$:w.key)||null,u(m,v,w,D);case Mr:var S=w._init;return h(v,m,$,S(w._payload),D)}if(ro(w)||As(w))return v=v.get($)||null,c(m,v,w,D,null);Ql(m,w)}return null}function p(v,m,$,w){for(var D=null,S=null,k=m,x=m=0,T=null;k!==null&&x<$.length;x++){k.index>x?(T=k,k=null):T=k.sibling;var P=f(v,k,$[x],w);if(P===null){k===null&&(k=T);break}e&&k&&P.alternate===null&&t(v,k),m=a(P,m,x),S===null?D=P:S.sibling=P,S=P,k=T}if(x===$.length)return n(v,k),Fe&&Ei(v,x),D;if(k===null){for(;x<$.length;x++)k=d(v,$[x],w),k!==null&&(m=a(k,m,x),S===null?D=k:S.sibling=k,S=k);return Fe&&Ei(v,x),D}for(k=r(v,k);x<$.length;x++)T=h(k,v,x,$[x],w),T!==null&&(e&&T.alternate!==null&&k.delete(T.key===null?x:T.key),m=a(T,m,x),S===null?D=T:S.sibling=T,S=T);return e&&k.forEach(function(E){return t(v,E)}),Fe&&Ei(v,x),D}function g(v,m,$,w){var D=As($);if(typeof D!="function")throw Error(L(150));if($=D.call($),$==null)throw Error(L(151));for(var S=D=null,k=m,x=m=0,T=null,P=$.next();k!==null&&!P.done;x++,P=$.next()){k.index>x?(T=k,k=null):T=k.sibling;var E=f(v,k,P.value,w);if(E===null){k===null&&(k=T);break}e&&k&&E.alternate===null&&t(v,k),m=a(E,m,x),S===null?D=E:S.sibling=E,S=E,k=T}if(P.done)return n(v,k),Fe&&Ei(v,x),D;if(k===null){for(;!P.done;x++,P=$.next())P=d(v,P.value,w),P!==null&&(m=a(P,m,x),S===null?D=P:S.sibling=P,S=P);return Fe&&Ei(v,x),D}for(k=r(v,k);!P.done;x++,P=$.next())P=h(k,v,x,P.value,w),P!==null&&(e&&P.alternate!==null&&k.delete(P.key===null?x:P.key),m=a(P,m,x),S===null?D=P:S.sibling=P,S=P);return e&&k.forEach(function(A){return t(v,A)}),Fe&&Ei(v,x),D}function b(v,m,$,w){if(typeof $=="object"&&$!==null&&$.type===Fa&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case zl:e:{for(var D=$.key,S=m;S!==null;){if(S.key===D){if(D=$.type,D===Fa){if(S.tag===7){n(v,S.sibling),m=i(S,$.props.children),m.return=v,v=m;break e}}else if(S.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Mr&&Dx(D)===S.type){n(v,S.sibling),m=i(S,$.props),m.ref=Ls(v,S,$),m.return=v,v=m;break e}n(v,S);break}else t(v,S);S=S.sibling}$.type===Fa?(m=Ui($.props.children,v.mode,w,$.key),m.return=v,v=m):(w=Xu($.type,$.key,$.props,null,v.mode,w),w.ref=Ls(v,m,$),w.return=v,v=w)}return s(v);case Aa:e:{for(S=$.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===$.containerInfo&&m.stateNode.implementation===$.implementation){n(v,m.sibling),m=i(m,$.children||[]),m.return=v,v=m;break e}else{n(v,m);break}else t(v,m);m=m.sibling}m=dh($,v.mode,w),m.return=v,v=m}return s(v);case Mr:return S=$._init,b(v,m,S($._payload),w)}if(ro($))return p(v,m,$,w);if(As($))return g(v,m,$,w);Ql(v,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,m!==null&&m.tag===6?(n(v,m.sibling),m=i(m,$),m.return=v,v=m):(n(v,m),m=ch($,v.mode,w),m.return=v,v=m),s(v)):n(v,m)}return b}var hs=xD(!0),wD=xD(!1),Dc=di(null),_c=null,Va=null,yy=null;function $y(){yy=Va=_c=null}function xy(e){var t=Dc.current;Pe(Dc),e._currentValue=t}function Up(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qa(e,t){_c=e,yy=Va=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Kt=!0),e.firstContext=null)}function wn(e){var t=e._currentValue;if(yy!==e)if(e={context:e,memoizedValue:t,next:null},Va===null){if(_c===null)throw Error(L(308));Va=e,_c.dependencies={lanes:0,firstContext:e}}else Va=Va.next=e;return t}var Ii=null;function wy(e){Ii===null?Ii=[e]:Ii.push(e)}function DD(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,wy(t)):(n.next=i.next,i.next=n),t.interleaved=n,yr(e,r)}function yr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ar=!1;function Dy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _D(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function gr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ue&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,yr(e,n)}return i=r.interleaved,i===null?(t.next=t,wy(r)):(t.next=i.next,i.next=t),r.interleaved=t,yr(e,n)}function Hu(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ly(e,n)}}function _x(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=s:a=a.next=s,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ec(e,t,n,r){var i=e.updateQueue;Ar=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,o=i.shared.pending;if(o!==null){i.shared.pending=null;var l=o,u=l.next;l.next=null,s===null?a=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,o=c.lastBaseUpdate,o!==s&&(o===null?c.firstBaseUpdate=u:o.next=u,c.lastBaseUpdate=l))}if(a!==null){var d=i.baseState;s=0,c=u=l=null,o=a;do{var f=o.lane,h=o.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,g=o;switch(f=t,h=n,g.tag){case 1:if(p=g.payload,typeof p=="function"){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=g.payload,f=typeof p=="function"?p.call(h,d,f):p,f==null)break e;d=Ne({},d,f);break e;case 2:Ar=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[o]:f.push(o))}else h={eventTime:h,lane:f,tag:o.tag,payload:o.payload,callback:o.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,s|=f;if(o=o.next,o===null){if(o=i.shared.pending,o===null)break;f=o,o=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(c===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Xi|=s,e.lanes=s,e.memoizedState=d}}function Ex(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(L(191,i));i.call(r)}}}var kl={},Yn=di(kl),Go=di(kl),Zo=di(kl);function Li(e){if(e===kl)throw Error(L(174));return e}function _y(e,t){switch(Ee(Zo,t),Ee(Go,e),Ee(Yn,kl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_p(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_p(t,e)}Pe(Yn),Ee(Yn,t)}function ps(){Pe(Yn),Pe(Go),Pe(Zo)}function ED(e){Li(Zo.current);var t=Li(Yn.current),n=_p(t,e.type);t!==n&&(Ee(Go,e),Ee(Yn,n))}function Ey(e){Go.current===e&&(Pe(Yn),Pe(Go))}var Ie=di(0);function Sc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ih=[];function Sy(){for(var e=0;e<ih.length;e++)ih[e]._workInProgressVersionPrimary=null;ih.length=0}var Ku=xr.ReactCurrentDispatcher,ah=xr.ReactCurrentBatchConfig,Zi=0,Le=null,nt=null,ct=null,Cc=!1,_o=!1,Xo=0,tA=0;function $t(){throw Error(L(321))}function Cy(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Bn(e[n],t[n]))return!1;return!0}function ky(e,t,n,r,i,a){if(Zi=a,Le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ku.current=e===null||e.memoizedState===null?aA:sA,e=n(r,i),_o){a=0;do{if(_o=!1,Xo=0,25<=a)throw Error(L(301));a+=1,ct=nt=null,t.updateQueue=null,Ku.current=oA,e=n(r,i)}while(_o)}if(Ku.current=kc,t=nt!==null&&nt.next!==null,Zi=0,ct=nt=Le=null,Cc=!1,t)throw Error(L(300));return e}function Py(){var e=Xo!==0;return Xo=0,e}function Vn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ct===null?Le.memoizedState=ct=e:ct=ct.next=e,ct}function Dn(){if(nt===null){var e=Le.alternate;e=e!==null?e.memoizedState:null}else e=nt.next;var t=ct===null?Le.memoizedState:ct.next;if(t!==null)ct=t,nt=e;else{if(e===null)throw Error(L(310));nt=e,e={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},ct===null?Le.memoizedState=ct=e:ct=ct.next=e}return ct}function Qo(e,t){return typeof t=="function"?t(e):t}function sh(e){var t=Dn(),n=t.queue;if(n===null)throw Error(L(311));n.lastRenderedReducer=e;var r=nt,i=r.baseQueue,a=n.pending;if(a!==null){if(i!==null){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(i!==null){a=i.next,r=r.baseState;var o=s=null,l=null,u=a;do{var c=u.lane;if((Zi&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(o=l=d,s=r):l=l.next=d,Le.lanes|=c,Xi|=c}u=u.next}while(u!==null&&u!==a);l===null?s=r:l.next=o,Bn(r,t.memoizedState)||(Kt=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do a=i.lane,Le.lanes|=a,Xi|=a,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function oh(e){var t=Dn(),n=t.queue;if(n===null)throw Error(L(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do a=e(a,s.action),s=s.next;while(s!==i);Bn(a,t.memoizedState)||(Kt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function SD(){}function CD(e,t){var n=Le,r=Dn(),i=t(),a=!Bn(r.memoizedState,i);if(a&&(r.memoizedState=i,Kt=!0),r=r.queue,Ty(TD.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||ct!==null&&ct.memoizedState.tag&1){if(n.flags|=2048,Jo(9,PD.bind(null,n,r,i,t),void 0,null),ft===null)throw Error(L(349));Zi&30||kD(n,t,i)}return i}function kD(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Le.updateQueue,t===null?(t={lastEffect:null,stores:null},Le.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function PD(e,t,n,r){t.value=n,t.getSnapshot=r,RD(t)&&MD(e)}function TD(e,t,n){return n(function(){RD(t)&&MD(e)})}function RD(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Bn(e,n)}catch{return!0}}function MD(e){var t=yr(e,1);t!==null&&Fn(t,e,1,-1)}function Sx(e){var t=Vn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qo,lastRenderedState:e},t.queue=e,e=e.dispatch=iA.bind(null,Le,e),[t.memoizedState,e]}function Jo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Le.updateQueue,t===null?(t={lastEffect:null,stores:null},Le.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function AD(){return Dn().memoizedState}function Yu(e,t,n,r){var i=Vn();Le.flags|=e,i.memoizedState=Jo(1|t,n,void 0,r===void 0?null:r)}function ef(e,t,n,r){var i=Dn();r=r===void 0?null:r;var a=void 0;if(nt!==null){var s=nt.memoizedState;if(a=s.destroy,r!==null&&Cy(r,s.deps)){i.memoizedState=Jo(t,n,a,r);return}}Le.flags|=e,i.memoizedState=Jo(1|t,n,a,r)}function Cx(e,t){return Yu(8390656,8,e,t)}function Ty(e,t){return ef(2048,8,e,t)}function FD(e,t){return ef(4,2,e,t)}function OD(e,t){return ef(4,4,e,t)}function BD(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ID(e,t,n){return n=n!=null?n.concat([e]):null,ef(4,4,BD.bind(null,t,e),n)}function Ry(){}function LD(e,t){var n=Dn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Cy(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ND(e,t){var n=Dn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Cy(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function jD(e,t,n){return Zi&21?(Bn(n,t)||(n=Hw(),Le.lanes|=n,Xi|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Kt=!0),e.memoizedState=n)}function nA(e,t){var n=ge;ge=n!==0&&4>n?n:4,e(!0);var r=ah.transition;ah.transition={};try{e(!1),t()}finally{ge=n,ah.transition=r}}function zD(){return Dn().memoizedState}function rA(e,t,n){var r=Jr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},VD(e))WD(t,n);else if(n=DD(e,t,n,r),n!==null){var i=Mt();Fn(n,e,r,i),UD(n,t,r)}}function iA(e,t,n){var r=Jr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(VD(e))WD(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,o=a(s,n);if(i.hasEagerState=!0,i.eagerState=o,Bn(o,s)){var l=t.interleaved;l===null?(i.next=i,wy(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=DD(e,t,i,r),n!==null&&(i=Mt(),Fn(n,e,r,i),UD(n,t,r))}}function VD(e){var t=e.alternate;return e===Le||t!==null&&t===Le}function WD(e,t){_o=Cc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function UD(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ly(e,n)}}var kc={readContext:wn,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useInsertionEffect:$t,useLayoutEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useMutableSource:$t,useSyncExternalStore:$t,useId:$t,unstable_isNewReconciler:!1},aA={readContext:wn,useCallback:function(e,t){return Vn().memoizedState=[e,t===void 0?null:t],e},useContext:wn,useEffect:Cx,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Yu(4194308,4,BD.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Yu(4194308,4,e,t)},useInsertionEffect:function(e,t){return Yu(4,2,e,t)},useMemo:function(e,t){var n=Vn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Vn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=rA.bind(null,Le,e),[r.memoizedState,e]},useRef:function(e){var t=Vn();return e={current:e},t.memoizedState=e},useState:Sx,useDebugValue:Ry,useDeferredValue:function(e){return Vn().memoizedState=e},useTransition:function(){var e=Sx(!1),t=e[0];return e=nA.bind(null,e[1]),Vn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Le,i=Vn();if(Fe){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),ft===null)throw Error(L(349));Zi&30||kD(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Cx(TD.bind(null,r,a,e),[e]),r.flags|=2048,Jo(9,PD.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Vn(),t=ft.identifierPrefix;if(Fe){var n=cr,r=ur;n=(r&~(1<<32-An(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=tA++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sA={readContext:wn,useCallback:LD,useContext:wn,useEffect:Ty,useImperativeHandle:ID,useInsertionEffect:FD,useLayoutEffect:OD,useMemo:ND,useReducer:sh,useRef:AD,useState:function(){return sh(Qo)},useDebugValue:Ry,useDeferredValue:function(e){var t=Dn();return jD(t,nt.memoizedState,e)},useTransition:function(){var e=sh(Qo)[0],t=Dn().memoizedState;return[e,t]},useMutableSource:SD,useSyncExternalStore:CD,useId:zD,unstable_isNewReconciler:!1},oA={readContext:wn,useCallback:LD,useContext:wn,useEffect:Ty,useImperativeHandle:ID,useInsertionEffect:FD,useLayoutEffect:OD,useMemo:ND,useReducer:oh,useRef:AD,useState:function(){return oh(Qo)},useDebugValue:Ry,useDeferredValue:function(e){var t=Dn();return nt===null?t.memoizedState=e:jD(t,nt.memoizedState,e)},useTransition:function(){var e=oh(Qo)[0],t=Dn().memoizedState;return[e,t]},useMutableSource:SD,useSyncExternalStore:CD,useId:zD,unstable_isNewReconciler:!1};function Cn(e,t){if(e&&e.defaultProps){t=Ne({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Hp(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ne({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var tf={isMounted:function(e){return(e=e._reactInternals)?la(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Mt(),i=Jr(e),a=gr(r,i);a.payload=t,n!=null&&(a.callback=n),t=Xr(e,a,i),t!==null&&(Fn(t,e,i,r),Hu(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Mt(),i=Jr(e),a=gr(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=Xr(e,a,i),t!==null&&(Fn(t,e,i,r),Hu(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Mt(),r=Jr(e),i=gr(n,r);i.tag=2,t!=null&&(i.callback=t),t=Xr(e,i,r),t!==null&&(Fn(t,e,r,n),Hu(t,e,r))}};function kx(e,t,n,r,i,a,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,s):t.prototype&&t.prototype.isPureReactComponent?!Ho(n,r)||!Ho(i,a):!0}function HD(e,t,n){var r=!1,i=ii,a=t.contextType;return typeof a=="object"&&a!==null?a=wn(a):(i=qt(t)?qi:kt.current,r=t.contextTypes,a=(r=r!=null)?ds(e,i):ii),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=tf,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Px(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&tf.enqueueReplaceState(t,t.state,null)}function Kp(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Dy(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=wn(a):(a=qt(t)?qi:kt.current,i.context=ds(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(Hp(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&tf.enqueueReplaceState(i,i.state,null),Ec(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function ms(e,t){try{var n="",r=t;do n+=OR(r),r=r.return;while(r);var i=n}catch(a){i=` +Error generating stack: `+a.message+` +`+a.stack}return{value:e,source:t,stack:i,digest:null}}function lh(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Yp(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var lA=typeof WeakMap=="function"?WeakMap:Map;function KD(e,t,n){n=gr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Tc||(Tc=!0,rm=r),Yp(e,t)},n}function YD(e,t,n){n=gr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Yp(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){Yp(e,t),typeof r!="function"&&(Qr===null?Qr=new Set([this]):Qr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Tx(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new lA;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=wA.bind(null,e,t,n),t.then(e,e))}function Rx(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Mx(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=gr(-1,1),t.tag=2,Xr(n,t,1))),n.lanes|=1),e)}var uA=xr.ReactCurrentOwner,Kt=!1;function Tt(e,t,n,r){t.child=e===null?wD(t,null,n,r):hs(t,e.child,n,r)}function Ax(e,t,n,r,i){n=n.render;var a=t.ref;return Qa(t,i),r=ky(e,t,n,r,a,i),n=Py(),e!==null&&!Kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$r(e,t,i)):(Fe&&n&&gy(t),t.flags|=1,Tt(e,t,r,i),t.child)}function Fx(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!Ny(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,qD(e,t,a,r,i)):(e=Xu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var s=a.memoizedProps;if(n=n.compare,n=n!==null?n:Ho,n(s,r)&&e.ref===t.ref)return $r(e,t,i)}return t.flags|=1,e=ei(a,r),e.ref=t.ref,e.return=t,t.child=e}function qD(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Ho(a,r)&&e.ref===t.ref)if(Kt=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Kt=!0);else return t.lanes=e.lanes,$r(e,t,i)}return qp(e,t,n,r,i)}function GD(e,t,n){var r=t.pendingProps,i=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ee(Ua,tn),tn|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ee(Ua,tn),tn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,Ee(Ua,tn),tn|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,Ee(Ua,tn),tn|=r;return Tt(e,t,i,n),t.child}function ZD(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function qp(e,t,n,r,i){var a=qt(n)?qi:kt.current;return a=ds(t,a),Qa(t,i),n=ky(e,t,n,r,a,i),r=Py(),e!==null&&!Kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$r(e,t,i)):(Fe&&r&&gy(t),t.flags|=1,Tt(e,t,n,i),t.child)}function Ox(e,t,n,r,i){if(qt(n)){var a=!0;$c(t)}else a=!1;if(Qa(t,i),t.stateNode===null)qu(e,t),HD(t,n,r),Kp(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,o=t.memoizedProps;s.props=o;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=wn(u):(u=qt(n)?qi:kt.current,u=ds(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(o!==r||l!==u)&&Px(t,s,r,u),Ar=!1;var f=t.memoizedState;s.state=f,Ec(t,r,s,i),l=t.memoizedState,o!==r||f!==l||Yt.current||Ar?(typeof c=="function"&&(Hp(t,n,c,r),l=t.memoizedState),(o=Ar||kx(t,n,o,r,f,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=o):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,_D(e,t),o=t.memoizedProps,u=t.type===t.elementType?o:Cn(t.type,o),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=wn(l):(l=qt(n)?qi:kt.current,l=ds(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(o!==d||f!==l)&&Px(t,s,r,l),Ar=!1,f=t.memoizedState,s.state=f,Ec(t,r,s,i);var p=t.memoizedState;o!==d||f!==p||Yt.current||Ar?(typeof h=="function"&&(Hp(t,n,h,r),p=t.memoizedState),(u=Ar||kx(t,n,u,r,f,p,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,p,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,p,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),s.props=r,s.state=p,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Gp(e,t,n,r,a,i)}function Gp(e,t,n,r,i,a){ZD(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&$x(t,n,!1),$r(e,t,a);r=t.stateNode,uA.current=t;var o=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=hs(t,e.child,null,a),t.child=hs(t,null,o,a)):Tt(e,t,o,a),t.memoizedState=r.state,i&&$x(t,n,!0),t.child}function XD(e){var t=e.stateNode;t.pendingContext?yx(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yx(e,t.context,!1),_y(e,t.containerInfo)}function Bx(e,t,n,r,i){return fs(),by(i),t.flags|=256,Tt(e,t,n,r),t.child}var Zp={dehydrated:null,treeContext:null,retryLane:0};function Xp(e){return{baseLanes:e,cachePool:null,transitions:null}}function QD(e,t,n){var r=t.pendingProps,i=Ie.current,a=!1,s=(t.flags&128)!==0,o;if((o=s)||(o=e!==null&&e.memoizedState===null?!1:(i&2)!==0),o?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Ee(Ie,i&1),e===null)return Wp(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,a?(r=t.mode,a=t.child,s={mode:"hidden",children:s},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=s):a=af(s,r,0,null),e=Ui(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Xp(n),t.memoizedState=Zp,e):My(t,s));if(i=e.memoizedState,i!==null&&(o=i.dehydrated,o!==null))return cA(e,t,s,r,o,i,n);if(a){a=r.fallback,s=t.mode,i=e.child,o=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=ei(i,l),r.subtreeFlags=i.subtreeFlags&14680064),o!==null?a=ei(o,a):(a=Ui(a,s,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,s=e.child.memoizedState,s=s===null?Xp(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=e.childLanes&~n,t.memoizedState=Zp,r}return a=e.child,e=a.sibling,r=ei(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function My(e,t){return t=af({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Jl(e,t,n,r){return r!==null&&by(r),hs(t,e.child,null,n),e=My(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function cA(e,t,n,r,i,a,s){if(n)return t.flags&256?(t.flags&=-257,r=lh(Error(L(422))),Jl(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=af({mode:"visible",children:r.children},i,0,null),a=Ui(a,i,s,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&hs(t,e.child,null,s),t.child.memoizedState=Xp(s),t.memoizedState=Zp,a);if(!(t.mode&1))return Jl(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var o=r.dgst;return r=o,a=Error(L(419)),r=lh(a,r,void 0),Jl(e,t,s,r)}if(o=(s&e.childLanes)!==0,Kt||o){if(r=ft,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,yr(e,i),Fn(r,e,i,-1))}return Ly(),r=lh(Error(L(421))),Jl(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=DA.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,rn=Zr(i.nextSibling),sn=t,Fe=!0,Tn=null,e!==null&&(gn[vn++]=ur,gn[vn++]=cr,gn[vn++]=Gi,ur=e.id,cr=e.overflow,Gi=t),t=My(t,r.children),t.flags|=4096,t)}function Ix(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Up(e.return,t,n)}function uh(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function JD(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Tt(e,t,r.children,n),r=Ie.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ix(e,n,t);else if(e.tag===19)Ix(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ee(Ie,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Sc(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),uh(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Sc(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}uh(t,!0,n,null,a);break;case"together":uh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qu(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $r(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Xi|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(L(153));if(t.child!==null){for(e=t.child,n=ei(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ei(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function dA(e,t,n){switch(t.tag){case 3:XD(t),fs();break;case 5:ED(t);break;case 1:qt(t.type)&&$c(t);break;case 4:_y(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ee(Dc,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ee(Ie,Ie.current&1),t.flags|=128,null):n&t.child.childLanes?QD(e,t,n):(Ee(Ie,Ie.current&1),e=$r(e,t,n),e!==null?e.sibling:null);Ee(Ie,Ie.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return JD(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ee(Ie,Ie.current),r)break;return null;case 22:case 23:return t.lanes=0,GD(e,t,n)}return $r(e,t,n)}var e_,Qp,t_,n_;e_=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Qp=function(){};t_=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Li(Yn.current);var a=null;switch(n){case"input":i=$p(e,i),r=$p(e,r),a=[];break;case"select":i=Ne({},i,{value:void 0}),r=Ne({},r,{value:void 0}),a=[];break;case"textarea":i=Dp(e,i),r=Dp(e,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=bc)}Ep(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var o=i[u];for(s in o)o.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Lo.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var l=r[u];if(o=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==o&&(l!=null||o!=null))if(u==="style")if(o){for(s in o)!o.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&o[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(a||(a=[]),a.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,o=o?o.__html:void 0,l!=null&&o!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Lo.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ke("scroll",e),a||o===l||(a=[])):(a=a||[]).push(u,l))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};n_=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ns(e,t){if(!Fe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function xt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function fA(e,t,n){var r=t.pendingProps;switch(vy(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xt(t),null;case 1:return qt(t.type)&&yc(),xt(t),null;case 3:return r=t.stateNode,ps(),Pe(Yt),Pe(kt),Sy(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Xl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Tn!==null&&(sm(Tn),Tn=null))),Qp(e,t),xt(t),null;case 5:Ey(t);var i=Li(Zo.current);if(n=t.type,e!==null&&t.stateNode!=null)t_(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(L(166));return xt(t),null}if(e=Li(Yn.current),Xl(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Un]=t,r[qo]=a,e=(t.mode&1)!==0,n){case"dialog":ke("cancel",r),ke("close",r);break;case"iframe":case"object":case"embed":ke("load",r);break;case"video":case"audio":for(i=0;i<ao.length;i++)ke(ao[i],r);break;case"source":ke("error",r);break;case"img":case"image":case"link":ke("error",r),ke("load",r);break;case"details":ke("toggle",r);break;case"input":K$(r,a),ke("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},ke("invalid",r);break;case"textarea":q$(r,a),ke("invalid",r)}Ep(n,a),i=null;for(var s in a)if(a.hasOwnProperty(s)){var o=a[s];s==="children"?typeof o=="string"?r.textContent!==o&&(a.suppressHydrationWarning!==!0&&Zl(r.textContent,o,e),i=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(a.suppressHydrationWarning!==!0&&Zl(r.textContent,o,e),i=["children",""+o]):Lo.hasOwnProperty(s)&&o!=null&&s==="onScroll"&&ke("scroll",r)}switch(n){case"input":Vl(r),Y$(r,a,!0);break;case"textarea":Vl(r),G$(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=bc)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Tw(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Un]=t,e[qo]=r,e_(e,t,!1,!1),t.stateNode=e;e:{switch(s=Sp(n,r),n){case"dialog":ke("cancel",e),ke("close",e),i=r;break;case"iframe":case"object":case"embed":ke("load",e),i=r;break;case"video":case"audio":for(i=0;i<ao.length;i++)ke(ao[i],e);i=r;break;case"source":ke("error",e),i=r;break;case"img":case"image":case"link":ke("error",e),ke("load",e),i=r;break;case"details":ke("toggle",e),i=r;break;case"input":K$(e,r),i=$p(e,r),ke("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Ne({},r,{value:void 0}),ke("invalid",e);break;case"textarea":q$(e,r),i=Dp(e,r),ke("invalid",e);break;default:i=r}Ep(n,i),o=i;for(a in o)if(o.hasOwnProperty(a)){var l=o[a];a==="style"?Aw(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Rw(e,l)):a==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&No(e,l):typeof l=="number"&&No(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Lo.hasOwnProperty(a)?l!=null&&a==="onScroll"&&ke("scroll",e):l!=null&&ny(e,a,l,s))}switch(n){case"input":Vl(e),Y$(e,r,!1);break;case"textarea":Vl(e),G$(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ri(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?qa(e,!!r.multiple,a,!1):r.defaultValue!=null&&qa(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=bc)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return xt(t),null;case 6:if(e&&t.stateNode!=null)n_(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(L(166));if(n=Li(Zo.current),Li(Yn.current),Xl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Un]=t,(a=r.nodeValue!==n)&&(e=sn,e!==null))switch(e.tag){case 3:Zl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Zl(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Un]=t,t.stateNode=r}return xt(t),null;case 13:if(Pe(Ie),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Fe&&rn!==null&&t.mode&1&&!(t.flags&128))$D(),fs(),t.flags|=98560,a=!1;else if(a=Xl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(L(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(L(317));a[Un]=t}else fs(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;xt(t),a=!1}else Tn!==null&&(sm(Tn),Tn=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ie.current&1?rt===0&&(rt=3):Ly())),t.updateQueue!==null&&(t.flags|=4),xt(t),null);case 4:return ps(),Qp(e,t),e===null&&Ko(t.stateNode.containerInfo),xt(t),null;case 10:return xy(t.type._context),xt(t),null;case 17:return qt(t.type)&&yc(),xt(t),null;case 19:if(Pe(Ie),a=t.memoizedState,a===null)return xt(t),null;if(r=(t.flags&128)!==0,s=a.rendering,s===null)if(r)Ns(a,!1);else{if(rt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Sc(e),s!==null){for(t.flags|=128,Ns(a,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,s=a.alternate,s===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ee(Ie,Ie.current&1|2),t.child}e=e.sibling}a.tail!==null&&Ye()>gs&&(t.flags|=128,r=!0,Ns(a,!1),t.lanes=4194304)}else{if(!r)if(e=Sc(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ns(a,!0),a.tail===null&&a.tailMode==="hidden"&&!s.alternate&&!Fe)return xt(t),null}else 2*Ye()-a.renderingStartTime>gs&&n!==1073741824&&(t.flags|=128,r=!0,Ns(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(n=a.last,n!==null?n.sibling=s:t.child=s,a.last=s)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ye(),t.sibling=null,n=Ie.current,Ee(Ie,r?n&1|2:n&1),t):(xt(t),null);case 22:case 23:return Iy(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tn&1073741824&&(xt(t),t.subtreeFlags&6&&(t.flags|=8192)):xt(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function hA(e,t){switch(vy(t),t.tag){case 1:return qt(t.type)&&yc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ps(),Pe(Yt),Pe(kt),Sy(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ey(t),null;case 13:if(Pe(Ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));fs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Pe(Ie),null;case 4:return ps(),null;case 10:return xy(t.type._context),null;case 22:case 23:return Iy(),null;case 24:return null;default:return null}}var eu=!1,Et=!1,pA=typeof WeakSet=="function"?WeakSet:Set,U=null;function Wa(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ze(e,t,r)}else n.current=null}function Jp(e,t,n){try{n()}catch(r){ze(e,t,r)}}var Lx=!1;function mA(e,t){if(Bp=mc,e=oD(),my(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var s=0,o=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||i!==0&&d.nodeType!==3||(o=s+i),d!==a||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===i&&(o=s),f===a&&++c===r&&(l=s),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=o===-1||l===-1?null:{start:o,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ip={focusedElem:e,selectionRange:n},mc=!1,U=t;U!==null;)if(t=U,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,U=e;else for(;U!==null;){t=U;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var g=p.memoizedProps,b=p.memoizedState,v=t.stateNode,m=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Cn(t.type,g),b);v.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var $=t.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(w){ze(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,U=e;break}U=t.return}return p=Lx,Lx=!1,p}function Eo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Jp(t,n,a)}i=i.next}while(i!==r)}}function nf(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function em(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function r_(e){var t=e.alternate;t!==null&&(e.alternate=null,r_(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Un],delete t[qo],delete t[jp],delete t[XM],delete t[QM])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function i_(e){return e.tag===5||e.tag===3||e.tag===4}function Nx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||i_(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function tm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=bc));else if(r!==4&&(e=e.child,e!==null))for(tm(e,t,n),e=e.sibling;e!==null;)tm(e,t,n),e=e.sibling}function nm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(nm(e,t,n),e=e.sibling;e!==null;)nm(e,t,n),e=e.sibling}var ht=null,kn=!1;function Sr(e,t,n){for(n=n.child;n!==null;)a_(e,t,n),n=n.sibling}function a_(e,t,n){if(Kn&&typeof Kn.onCommitFiberUnmount=="function")try{Kn.onCommitFiberUnmount(qd,n)}catch{}switch(n.tag){case 5:Et||Wa(n,t);case 6:var r=ht,i=kn;ht=null,Sr(e,t,n),ht=r,kn=i,ht!==null&&(kn?(e=ht,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ht.removeChild(n.stateNode));break;case 18:ht!==null&&(kn?(e=ht,n=n.stateNode,e.nodeType===8?nh(e.parentNode,n):e.nodeType===1&&nh(e,n),Wo(e)):nh(ht,n.stateNode));break;case 4:r=ht,i=kn,ht=n.stateNode.containerInfo,kn=!0,Sr(e,t,n),ht=r,kn=i;break;case 0:case 11:case 14:case 15:if(!Et&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,s=a.destroy;a=a.tag,s!==void 0&&(a&2||a&4)&&Jp(n,t,s),i=i.next}while(i!==r)}Sr(e,t,n);break;case 1:if(!Et&&(Wa(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){ze(n,t,o)}Sr(e,t,n);break;case 21:Sr(e,t,n);break;case 22:n.mode&1?(Et=(r=Et)||n.memoizedState!==null,Sr(e,t,n),Et=r):Sr(e,t,n);break;default:Sr(e,t,n)}}function jx(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new pA),t.forEach(function(r){var i=_A.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function En(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,o=s;e:for(;o!==null;){switch(o.tag){case 5:ht=o.stateNode,kn=!1;break e;case 3:ht=o.stateNode.containerInfo,kn=!0;break e;case 4:ht=o.stateNode.containerInfo,kn=!0;break e}o=o.return}if(ht===null)throw Error(L(160));a_(a,s,i),ht=null,kn=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ze(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)s_(t,e),t=t.sibling}function s_(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(En(t,e),jn(e),r&4){try{Eo(3,e,e.return),nf(3,e)}catch(g){ze(e,e.return,g)}try{Eo(5,e,e.return)}catch(g){ze(e,e.return,g)}}break;case 1:En(t,e),jn(e),r&512&&n!==null&&Wa(n,n.return);break;case 5:if(En(t,e),jn(e),r&512&&n!==null&&Wa(n,n.return),e.flags&32){var i=e.stateNode;try{No(i,"")}catch(g){ze(e,e.return,g)}}if(r&4&&(i=e.stateNode,i!=null)){var a=e.memoizedProps,s=n!==null?n.memoizedProps:a,o=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{o==="input"&&a.type==="radio"&&a.name!=null&&kw(i,a),Sp(o,s);var u=Sp(o,a);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?Aw(i,d):c==="dangerouslySetInnerHTML"?Rw(i,d):c==="children"?No(i,d):ny(i,c,d,u)}switch(o){case"input":xp(i,a);break;case"textarea":Pw(i,a);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;h!=null?qa(i,!!a.multiple,h,!1):f!==!!a.multiple&&(a.defaultValue!=null?qa(i,!!a.multiple,a.defaultValue,!0):qa(i,!!a.multiple,a.multiple?[]:"",!1))}i[qo]=a}catch(g){ze(e,e.return,g)}}break;case 6:if(En(t,e),jn(e),r&4){if(e.stateNode===null)throw Error(L(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(g){ze(e,e.return,g)}}break;case 3:if(En(t,e),jn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Wo(t.containerInfo)}catch(g){ze(e,e.return,g)}break;case 4:En(t,e),jn(e);break;case 13:En(t,e),jn(e),i=e.child,i.flags&8192&&(a=i.memoizedState!==null,i.stateNode.isHidden=a,!a||i.alternate!==null&&i.alternate.memoizedState!==null||(Oy=Ye())),r&4&&jx(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Et=(u=Et)||c,En(t,e),Et=u):En(t,e),jn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(U=e,c=e.child;c!==null;){for(d=U=c;U!==null;){switch(f=U,h=f.child,f.tag){case 0:case 11:case 14:case 15:Eo(4,f,f.return);break;case 1:Wa(f,f.return);var p=f.stateNode;if(typeof p.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,p.props=t.memoizedProps,p.state=t.memoizedState,p.componentWillUnmount()}catch(g){ze(r,n,g)}}break;case 5:Wa(f,f.return);break;case 22:if(f.memoizedState!==null){Vx(d);continue}}h!==null?(h.return=f,U=h):Vx(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{i=d.stateNode,u?(a=i.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(o=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,o.style.display=Mw("display",s))}catch(g){ze(e,e.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){ze(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:En(t,e),jn(e),r&4&&jx(e);break;case 21:break;default:En(t,e),jn(e)}}function jn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(i_(n)){var r=n;break e}n=n.return}throw Error(L(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(No(i,""),r.flags&=-33);var a=Nx(e);nm(e,a,i);break;case 3:case 4:var s=r.stateNode.containerInfo,o=Nx(e);tm(e,o,s);break;default:throw Error(L(161))}}catch(l){ze(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function gA(e,t,n){U=e,o_(e)}function o_(e,t,n){for(var r=(e.mode&1)!==0;U!==null;){var i=U,a=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||eu;if(!s){var o=i.alternate,l=o!==null&&o.memoizedState!==null||Et;o=eu;var u=Et;if(eu=s,(Et=l)&&!u)for(U=i;U!==null;)s=U,l=s.child,s.tag===22&&s.memoizedState!==null?Wx(i):l!==null?(l.return=s,U=l):Wx(i);for(;a!==null;)U=a,o_(a),a=a.sibling;U=i,eu=o,Et=u}zx(e)}else i.subtreeFlags&8772&&a!==null?(a.return=i,U=a):zx(e)}}function zx(e){for(;U!==null;){var t=U;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Et||nf(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Et)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Cn(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&Ex(t,a,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ex(t,s,n)}break;case 5:var o=t.stateNode;if(n===null&&t.flags&4){n=o;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Wo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(L(163))}Et||t.flags&512&&em(t)}catch(f){ze(t,t.return,f)}}if(t===e){U=null;break}if(n=t.sibling,n!==null){n.return=t.return,U=n;break}U=t.return}}function Vx(e){for(;U!==null;){var t=U;if(t===e){U=null;break}var n=t.sibling;if(n!==null){n.return=t.return,U=n;break}U=t.return}}function Wx(e){for(;U!==null;){var t=U;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nf(4,t)}catch(l){ze(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ze(t,i,l)}}var a=t.return;try{em(t)}catch(l){ze(t,a,l)}break;case 5:var s=t.return;try{em(t)}catch(l){ze(t,s,l)}}}catch(l){ze(t,t.return,l)}if(t===e){U=null;break}var o=t.sibling;if(o!==null){o.return=t.return,U=o;break}U=t.return}}var vA=Math.ceil,Pc=xr.ReactCurrentDispatcher,Ay=xr.ReactCurrentOwner,xn=xr.ReactCurrentBatchConfig,ue=0,ft=null,Xe=null,mt=0,tn=0,Ua=di(0),rt=0,el=null,Xi=0,rf=0,Fy=0,So=null,Wt=null,Oy=0,gs=1/0,ar=null,Tc=!1,rm=null,Qr=null,tu=!1,jr=null,Rc=0,Co=0,im=null,Gu=-1,Zu=0;function Mt(){return ue&6?Ye():Gu!==-1?Gu:Gu=Ye()}function Jr(e){return e.mode&1?ue&2&&mt!==0?mt&-mt:eA.transition!==null?(Zu===0&&(Zu=Hw()),Zu):(e=ge,e!==0||(e=window.event,e=e===void 0?16:Qw(e.type)),e):1}function Fn(e,t,n,r){if(50<Co)throw Co=0,im=null,Error(L(185));El(e,n,r),(!(ue&2)||e!==ft)&&(e===ft&&(!(ue&2)&&(rf|=n),rt===4&&Ir(e,mt)),Gt(e,r),n===1&&ue===0&&!(t.mode&1)&&(gs=Ye()+500,Jd&&fi()))}function Gt(e,t){var n=e.callbackNode;eM(e,t);var r=pc(e,e===ft?mt:0);if(r===0)n!==null&&Q$(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Q$(n),t===1)e.tag===0?JM(Ux.bind(null,e)):vD(Ux.bind(null,e)),GM(function(){!(ue&6)&&fi()}),n=null;else{switch(Kw(r)){case 1:n=oy;break;case 4:n=Ww;break;case 16:n=hc;break;case 536870912:n=Uw;break;default:n=hc}n=m_(n,l_.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function l_(e,t){if(Gu=-1,Zu=0,ue&6)throw Error(L(327));var n=e.callbackNode;if(Ja()&&e.callbackNode!==n)return null;var r=pc(e,e===ft?mt:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Mc(e,r);else{t=r;var i=ue;ue|=2;var a=c_();(ft!==e||mt!==t)&&(ar=null,gs=Ye()+500,Wi(e,t));do try{$A();break}catch(o){u_(e,o)}while(!0);$y(),Pc.current=a,ue=i,Xe!==null?t=0:(ft=null,mt=0,t=rt)}if(t!==0){if(t===2&&(i=Rp(e),i!==0&&(r=i,t=am(e,i))),t===1)throw n=el,Wi(e,0),Ir(e,r),Gt(e,Ye()),n;if(t===6)Ir(e,r);else{if(i=e.current.alternate,!(r&30)&&!bA(i)&&(t=Mc(e,r),t===2&&(a=Rp(e),a!==0&&(r=a,t=am(e,a))),t===1))throw n=el,Wi(e,0),Ir(e,r),Gt(e,Ye()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(L(345));case 2:Si(e,Wt,ar);break;case 3:if(Ir(e,r),(r&130023424)===r&&(t=Oy+500-Ye(),10<t)){if(pc(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Mt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Np(Si.bind(null,e,Wt,ar),t);break}Si(e,Wt,ar);break;case 4:if(Ir(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-An(r);a=1<<s,s=t[s],s>i&&(i=s),r&=~a}if(r=i,r=Ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vA(r/1960))-r,10<r){e.timeoutHandle=Np(Si.bind(null,e,Wt,ar),r);break}Si(e,Wt,ar);break;case 5:Si(e,Wt,ar);break;default:throw Error(L(329))}}}return Gt(e,Ye()),e.callbackNode===n?l_.bind(null,e):null}function am(e,t){var n=So;return e.current.memoizedState.isDehydrated&&(Wi(e,t).flags|=256),e=Mc(e,t),e!==2&&(t=Wt,Wt=n,t!==null&&sm(t)),e}function sm(e){Wt===null?Wt=e:Wt.push.apply(Wt,e)}function bA(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Bn(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ir(e,t){for(t&=~Fy,t&=~rf,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-An(t),r=1<<n;e[n]=-1,t&=~r}}function Ux(e){if(ue&6)throw Error(L(327));Ja();var t=pc(e,0);if(!(t&1))return Gt(e,Ye()),null;var n=Mc(e,t);if(e.tag!==0&&n===2){var r=Rp(e);r!==0&&(t=r,n=am(e,r))}if(n===1)throw n=el,Wi(e,0),Ir(e,t),Gt(e,Ye()),n;if(n===6)throw Error(L(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Si(e,Wt,ar),Gt(e,Ye()),null}function By(e,t){var n=ue;ue|=1;try{return e(t)}finally{ue=n,ue===0&&(gs=Ye()+500,Jd&&fi())}}function Qi(e){jr!==null&&jr.tag===0&&!(ue&6)&&Ja();var t=ue;ue|=1;var n=xn.transition,r=ge;try{if(xn.transition=null,ge=1,e)return e()}finally{ge=r,xn.transition=n,ue=t,!(ue&6)&&fi()}}function Iy(){tn=Ua.current,Pe(Ua)}function Wi(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,qM(n)),Xe!==null)for(n=Xe.return;n!==null;){var r=n;switch(vy(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&yc();break;case 3:ps(),Pe(Yt),Pe(kt),Sy();break;case 5:Ey(r);break;case 4:ps();break;case 13:Pe(Ie);break;case 19:Pe(Ie);break;case 10:xy(r.type._context);break;case 22:case 23:Iy()}n=n.return}if(ft=e,Xe=e=ei(e.current,null),mt=tn=t,rt=0,el=null,Fy=rf=Xi=0,Wt=So=null,Ii!==null){for(t=0;t<Ii.length;t++)if(n=Ii[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var s=a.next;a.next=i,r.next=s}n.pending=r}Ii=null}return e}function u_(e,t){do{var n=Xe;try{if($y(),Ku.current=kc,Cc){for(var r=Le.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Cc=!1}if(Zi=0,ct=nt=Le=null,_o=!1,Xo=0,Ay.current=null,n===null||n.return===null){rt=1,el=t,Xe=null;break}e:{var a=e,s=n.return,o=n,l=t;if(t=mt,o.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=o,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=Rx(s);if(h!==null){h.flags&=-257,Mx(h,s,o,a,t),h.mode&1&&Tx(a,u,t),t=h,l=u;var p=t.updateQueue;if(p===null){var g=new Set;g.add(l),t.updateQueue=g}else p.add(l);break e}else{if(!(t&1)){Tx(a,u,t),Ly();break e}l=Error(L(426))}}else if(Fe&&o.mode&1){var b=Rx(s);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Mx(b,s,o,a,t),by(ms(l,o));break e}}a=l=ms(l,o),rt!==4&&(rt=2),So===null?So=[a]:So.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var v=KD(a,l,t);_x(a,v);break e;case 1:o=l;var m=a.type,$=a.stateNode;if(!(a.flags&128)&&(typeof m.getDerivedStateFromError=="function"||$!==null&&typeof $.componentDidCatch=="function"&&(Qr===null||!Qr.has($)))){a.flags|=65536,t&=-t,a.lanes|=t;var w=YD(a,o,t);_x(a,w);break e}}a=a.return}while(a!==null)}f_(n)}catch(D){t=D,Xe===n&&n!==null&&(Xe=n=n.return);continue}break}while(!0)}function c_(){var e=Pc.current;return Pc.current=kc,e===null?kc:e}function Ly(){(rt===0||rt===3||rt===2)&&(rt=4),ft===null||!(Xi&268435455)&&!(rf&268435455)||Ir(ft,mt)}function Mc(e,t){var n=ue;ue|=2;var r=c_();(ft!==e||mt!==t)&&(ar=null,Wi(e,t));do try{yA();break}catch(i){u_(e,i)}while(!0);if($y(),ue=n,Pc.current=r,Xe!==null)throw Error(L(261));return ft=null,mt=0,rt}function yA(){for(;Xe!==null;)d_(Xe)}function $A(){for(;Xe!==null&&!HR();)d_(Xe)}function d_(e){var t=p_(e.alternate,e,tn);e.memoizedProps=e.pendingProps,t===null?f_(e):Xe=t,Ay.current=null}function f_(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=hA(n,t),n!==null){n.flags&=32767,Xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{rt=6,Xe=null;return}}else if(n=fA(n,t,tn),n!==null){Xe=n;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);rt===0&&(rt=5)}function Si(e,t,n){var r=ge,i=xn.transition;try{xn.transition=null,ge=1,xA(e,t,n,r)}finally{xn.transition=i,ge=r}return null}function xA(e,t,n,r){do Ja();while(jr!==null);if(ue&6)throw Error(L(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(L(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(tM(e,a),e===ft&&(Xe=ft=null,mt=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||tu||(tu=!0,m_(hc,function(){return Ja(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=xn.transition,xn.transition=null;var s=ge;ge=1;var o=ue;ue|=4,Ay.current=null,mA(e,n),s_(n,e),zM(Ip),mc=!!Bp,Ip=Bp=null,e.current=n,gA(n),KR(),ue=o,ge=s,xn.transition=a}else e.current=n;if(tu&&(tu=!1,jr=e,Rc=i),a=e.pendingLanes,a===0&&(Qr=null),GR(n.stateNode),Gt(e,Ye()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Tc)throw Tc=!1,e=rm,rm=null,e;return Rc&1&&e.tag!==0&&Ja(),a=e.pendingLanes,a&1?e===im?Co++:(Co=0,im=e):Co=0,fi(),null}function Ja(){if(jr!==null){var e=Kw(Rc),t=xn.transition,n=ge;try{if(xn.transition=null,ge=16>e?16:e,jr===null)var r=!1;else{if(e=jr,jr=null,Rc=0,ue&6)throw Error(L(331));var i=ue;for(ue|=4,U=e.current;U!==null;){var a=U,s=a.child;if(U.flags&16){var o=a.deletions;if(o!==null){for(var l=0;l<o.length;l++){var u=o[l];for(U=u;U!==null;){var c=U;switch(c.tag){case 0:case 11:case 15:Eo(8,c,a)}var d=c.child;if(d!==null)d.return=c,U=d;else for(;U!==null;){c=U;var f=c.sibling,h=c.return;if(r_(c),c===u){U=null;break}if(f!==null){f.return=h,U=f;break}U=h}}}var p=a.alternate;if(p!==null){var g=p.child;if(g!==null){p.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(g!==null)}}U=a}}if(a.subtreeFlags&2064&&s!==null)s.return=a,U=s;else e:for(;U!==null;){if(a=U,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Eo(9,a,a.return)}var v=a.sibling;if(v!==null){v.return=a.return,U=v;break e}U=a.return}}var m=e.current;for(U=m;U!==null;){s=U;var $=s.child;if(s.subtreeFlags&2064&&$!==null)$.return=s,U=$;else e:for(s=m;U!==null;){if(o=U,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:nf(9,o)}}catch(D){ze(o,o.return,D)}if(o===s){U=null;break e}var w=o.sibling;if(w!==null){w.return=o.return,U=w;break e}U=o.return}}if(ue=i,fi(),Kn&&typeof Kn.onPostCommitFiberRoot=="function")try{Kn.onPostCommitFiberRoot(qd,e)}catch{}r=!0}return r}finally{ge=n,xn.transition=t}}return!1}function Hx(e,t,n){t=ms(n,t),t=KD(e,t,1),e=Xr(e,t,1),t=Mt(),e!==null&&(El(e,1,t),Gt(e,t))}function ze(e,t,n){if(e.tag===3)Hx(e,e,n);else for(;t!==null;){if(t.tag===3){Hx(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Qr===null||!Qr.has(r))){e=ms(n,e),e=YD(t,e,1),t=Xr(t,e,1),e=Mt(),t!==null&&(El(t,1,e),Gt(t,e));break}}t=t.return}}function wA(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Mt(),e.pingedLanes|=e.suspendedLanes&n,ft===e&&(mt&n)===n&&(rt===4||rt===3&&(mt&130023424)===mt&&500>Ye()-Oy?Wi(e,0):Fy|=n),Gt(e,t)}function h_(e,t){t===0&&(e.mode&1?(t=Hl,Hl<<=1,!(Hl&130023424)&&(Hl=4194304)):t=1);var n=Mt();e=yr(e,t),e!==null&&(El(e,t,n),Gt(e,n))}function DA(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),h_(e,n)}function _A(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(L(314))}r!==null&&r.delete(t),h_(e,n)}var p_;p_=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Yt.current)Kt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Kt=!1,dA(e,t,n);Kt=!!(e.flags&131072)}else Kt=!1,Fe&&t.flags&1048576&&bD(t,wc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qu(e,t),e=t.pendingProps;var i=ds(t,kt.current);Qa(t,n),i=ky(null,t,r,e,i,n);var a=Py();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,qt(r)?(a=!0,$c(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Dy(t),i.updater=tf,t.stateNode=i,i._reactInternals=t,Kp(t,r,e,n),t=Gp(null,t,r,!0,a,n)):(t.tag=0,Fe&&a&&gy(t),Tt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qu(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=SA(r),e=Cn(r,e),i){case 0:t=qp(null,t,r,e,n);break e;case 1:t=Ox(null,t,r,e,n);break e;case 11:t=Ax(null,t,r,e,n);break e;case 14:t=Fx(null,t,r,Cn(r.type,e),n);break e}throw Error(L(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Cn(r,i),qp(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Cn(r,i),Ox(e,t,r,i,n);case 3:e:{if(XD(t),e===null)throw Error(L(387));r=t.pendingProps,a=t.memoizedState,i=a.element,_D(e,t),Ec(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=ms(Error(L(423)),t),t=Bx(e,t,r,n,i);break e}else if(r!==i){i=ms(Error(L(424)),t),t=Bx(e,t,r,n,i);break e}else for(rn=Zr(t.stateNode.containerInfo.firstChild),sn=t,Fe=!0,Tn=null,n=wD(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fs(),r===i){t=$r(e,t,n);break e}Tt(e,t,r,n)}t=t.child}return t;case 5:return ED(t),e===null&&Wp(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,s=i.children,Lp(r,i)?s=null:a!==null&&Lp(r,a)&&(t.flags|=32),ZD(e,t),Tt(e,t,s,n),t.child;case 6:return e===null&&Wp(t),null;case 13:return QD(e,t,n);case 4:return _y(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=hs(t,null,r,n):Tt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Cn(r,i),Ax(e,t,r,i,n);case 7:return Tt(e,t,t.pendingProps,n),t.child;case 8:return Tt(e,t,t.pendingProps.children,n),t.child;case 12:return Tt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ee(Dc,r._currentValue),r._currentValue=s,a!==null)if(Bn(a.value,s)){if(a.children===i.children&&!Yt.current){t=$r(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var o=a.dependencies;if(o!==null){s=a.child;for(var l=o.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=gr(-1,n&-n),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Up(a.return,n,t),o.lanes|=n;break}l=l.next}}else if(a.tag===10)s=a.type===t.type?null:a.child;else if(a.tag===18){if(s=a.return,s===null)throw Error(L(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Up(s,n,t),s=a.sibling}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===t){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}Tt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Qa(t,n),i=wn(i),r=r(i),t.flags|=1,Tt(e,t,r,n),t.child;case 14:return r=t.type,i=Cn(r,t.pendingProps),i=Cn(r.type,i),Fx(e,t,r,i,n);case 15:return qD(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Cn(r,i),qu(e,t),t.tag=1,qt(r)?(e=!0,$c(t)):e=!1,Qa(t,n),HD(t,r,i),Kp(t,r,i,n),Gp(null,t,r,!0,e,n);case 19:return JD(e,t,n);case 22:return GD(e,t,n)}throw Error(L(156,t.tag))};function m_(e,t){return Vw(e,t)}function EA(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(e,t,n,r){return new EA(e,t,n,r)}function Ny(e){return e=e.prototype,!(!e||!e.isReactComponent)}function SA(e){if(typeof e=="function")return Ny(e)?1:0;if(e!=null){if(e=e.$$typeof,e===iy)return 11;if(e===ay)return 14}return 2}function ei(e,t){var n=e.alternate;return n===null?(n=yn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xu(e,t,n,r,i,a){var s=2;if(r=e,typeof e=="function")Ny(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Fa:return Ui(n.children,i,a,t);case ry:s=8,i|=8;break;case gp:return e=yn(12,n,t,i|2),e.elementType=gp,e.lanes=a,e;case vp:return e=yn(13,n,t,i),e.elementType=vp,e.lanes=a,e;case bp:return e=yn(19,n,t,i),e.elementType=bp,e.lanes=a,e;case Ew:return af(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Dw:s=10;break e;case _w:s=9;break e;case iy:s=11;break e;case ay:s=14;break e;case Mr:s=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=yn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function Ui(e,t,n,r){return e=yn(7,e,r,t),e.lanes=n,e}function af(e,t,n,r){return e=yn(22,e,r,t),e.elementType=Ew,e.lanes=n,e.stateNode={isHidden:!1},e}function ch(e,t,n){return e=yn(6,e,null,t),e.lanes=n,e}function dh(e,t,n){return t=yn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function CA(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Hf(0),this.expirationTimes=Hf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hf(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function jy(e,t,n,r,i,a,s,o,l){return e=new CA(e,t,n,o,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=yn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Dy(a),e}function kA(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Aa,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function g_(e){if(!e)return ii;e=e._reactInternals;e:{if(la(e)!==e||e.tag!==1)throw Error(L(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(qt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(L(171))}if(e.tag===1){var n=e.type;if(qt(n))return gD(e,n,t)}return t}function v_(e,t,n,r,i,a,s,o,l){return e=jy(n,r,!0,e,i,a,s,o,l),e.context=g_(null),n=e.current,r=Mt(),i=Jr(n),a=gr(r,i),a.callback=t??null,Xr(n,a,i),e.current.lanes=i,El(e,i,r),Gt(e,r),e}function sf(e,t,n,r){var i=t.current,a=Mt(),s=Jr(i);return n=g_(n),t.context===null?t.context=n:t.pendingContext=n,t=gr(a,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Xr(i,t,s),e!==null&&(Fn(e,i,s,a),Hu(e,i,s)),s}function Ac(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Kx(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function zy(e,t){Kx(e,t),(e=e.alternate)&&Kx(e,t)}function PA(){return null}var b_=typeof reportError=="function"?reportError:function(e){console.error(e)};function Vy(e){this._internalRoot=e}of.prototype.render=Vy.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(L(409));sf(e,t,null,null)};of.prototype.unmount=Vy.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Qi(function(){sf(null,e,null,null)}),t[br]=null}};function of(e){this._internalRoot=e}of.prototype.unstable_scheduleHydration=function(e){if(e){var t=Gw();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Br.length&&t!==0&&t<Br[n].priority;n++);Br.splice(n,0,e),n===0&&Xw(e)}};function Wy(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function lf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Yx(){}function TA(e,t,n,r,i){if(i){if(typeof r=="function"){var a=r;r=function(){var u=Ac(s);a.call(u)}}var s=v_(t,r,e,0,null,!1,!1,"",Yx);return e._reactRootContainer=s,e[br]=s.current,Ko(e.nodeType===8?e.parentNode:e),Qi(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var o=r;r=function(){var u=Ac(l);o.call(u)}}var l=jy(e,0,!1,null,null,!1,!1,"",Yx);return e._reactRootContainer=l,e[br]=l.current,Ko(e.nodeType===8?e.parentNode:e),Qi(function(){sf(t,l,n,r)}),l}function uf(e,t,n,r,i){var a=n._reactRootContainer;if(a){var s=a;if(typeof i=="function"){var o=i;i=function(){var l=Ac(s);o.call(l)}}sf(t,s,e,i)}else s=TA(n,t,e,i,r);return Ac(s)}Yw=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=io(t.pendingLanes);n!==0&&(ly(t,n|1),Gt(t,Ye()),!(ue&6)&&(gs=Ye()+500,fi()))}break;case 13:Qi(function(){var r=yr(e,1);if(r!==null){var i=Mt();Fn(r,e,1,i)}}),zy(e,1)}};uy=function(e){if(e.tag===13){var t=yr(e,134217728);if(t!==null){var n=Mt();Fn(t,e,134217728,n)}zy(e,134217728)}};qw=function(e){if(e.tag===13){var t=Jr(e),n=yr(e,t);if(n!==null){var r=Mt();Fn(n,e,t,r)}zy(e,t)}};Gw=function(){return ge};Zw=function(e,t){var n=ge;try{return ge=e,t()}finally{ge=n}};kp=function(e,t,n){switch(t){case"input":if(xp(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Qd(r);if(!i)throw Error(L(90));Cw(r),xp(r,i)}}}break;case"textarea":Pw(e,n);break;case"select":t=n.value,t!=null&&qa(e,!!n.multiple,t,!1)}};Bw=By;Iw=Qi;var RA={usingClientEntryPoint:!1,Events:[Cl,La,Qd,Fw,Ow,By]},js={findFiberByHostInstance:Bi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},MA={bundleType:js.bundleType,version:js.version,rendererPackageName:js.rendererPackageName,rendererConfig:js.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=jw(e),e===null?null:e.stateNode},findFiberByHostInstance:js.findFiberByHostInstance||PA,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var nu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nu.isDisabled&&nu.supportsFiber)try{qd=nu.inject(MA),Kn=nu}catch{}}un.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=RA;un.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wy(t))throw Error(L(200));return kA(e,t,null,n)};un.createRoot=function(e,t){if(!Wy(e))throw Error(L(299));var n=!1,r="",i=b_;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=jy(e,1,!1,null,null,n,!1,r,i),e[br]=t.current,Ko(e.nodeType===8?e.parentNode:e),new Vy(t)};un.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(L(188)):(e=Object.keys(e).join(","),Error(L(268,e)));return e=jw(t),e=e===null?null:e.stateNode,e};un.flushSync=function(e){return Qi(e)};un.hydrate=function(e,t,n){if(!lf(t))throw Error(L(200));return uf(null,e,t,!0,n)};un.hydrateRoot=function(e,t,n){if(!Wy(e))throw Error(L(405));var r=n!=null&&n.hydratedSources||null,i=!1,a="",s=b_;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=v_(t,null,e,1,n??null,i,!1,a,s),e[br]=t.current,Ko(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new of(t)};un.render=function(e,t,n){if(!lf(t))throw Error(L(200));return uf(null,e,t,!1,n)};un.unmountComponentAtNode=function(e){if(!lf(e))throw Error(L(40));return e._reactRootContainer?(Qi(function(){uf(null,null,e,!1,function(){e._reactRootContainer=null,e[br]=null})}),!0):!1};un.unstable_batchedUpdates=By;un.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!lf(n))throw Error(L(200));if(e==null||e._reactInternals===void 0)throw Error(L(38));return uf(e,t,n,!1,r)};un.version="18.3.1-next-f1338f8080-20240426";function y_(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y_)}catch(e){console.error(e)}}y_(),yw.exports=un;var $_=yw.exports;const so=ow($_);var qx=$_;pp.createRoot=qx.createRoot,pp.hydrateRoot=qx.hydrateRoot;/** + * @remix-run/router v1.16.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function tl(){return tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tl.apply(this,arguments)}var zr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(zr||(zr={}));const Gx="popstate";function AA(e){e===void 0&&(e={});function t(r,i){let{pathname:a,search:s,hash:o}=r.location;return om("",{pathname:a,search:s,hash:o},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:w_(i)}return OA(t,n,null,e)}function at(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function x_(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function FA(){return Math.random().toString(36).substr(2,8)}function Zx(e,t){return{usr:e.state,key:e.key,idx:t}}function om(e,t,n,r){return n===void 0&&(n=null),tl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Cs(t):t,{state:n,key:t&&t.key||r||FA()})}function w_(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Cs(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function OA(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,s=i.history,o=zr.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(tl({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){o=zr.Pop;let b=c(),v=b==null?null:b-u;u=b,l&&l({action:o,location:g.location,delta:v})}function f(b,v){o=zr.Push;let m=om(g.location,b,v);u=c()+1;let $=Zx(m,u),w=g.createHref(m);try{s.pushState($,"",w)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;i.location.assign(w)}a&&l&&l({action:o,location:g.location,delta:1})}function h(b,v){o=zr.Replace;let m=om(g.location,b,v);u=c();let $=Zx(m,u),w=g.createHref(m);s.replaceState($,"",w),a&&l&&l({action:o,location:g.location,delta:0})}function p(b){let v=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof b=="string"?b:w_(b);return m=m.replace(/ $/,"%20"),at(v,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,v)}let g={get action(){return o},get location(){return e(i,s)},listen(b){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Gx,d),l=b,()=>{i.removeEventListener(Gx,d),l=null}},createHref(b){return t(i,b)},createURL:p,encodeLocation(b){let v=p(b);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:f,replace:h,go(b){return s.go(b)}};return g}var Xx;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Xx||(Xx={}));function BA(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Cs(t):t,i=E_(r.pathname||"/",n);if(i==null)return null;let a=D_(e);IA(a);let s=null;for(let o=0;s==null&&o<a.length;++o){let l=GA(i);s=KA(a[o],l)}return s}function D_(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(a,s,o)=>{let l={relativePath:o===void 0?a.path||"":o,caseSensitive:a.caseSensitive===!0,childrenIndex:s,route:a};l.relativePath.startsWith("/")&&(at(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Hi([r,l.relativePath]),c=n.concat(l);a.children&&a.children.length>0&&(at(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),D_(a.children,t,c,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:UA(u,a.index),routesMeta:c})};return e.forEach((a,s)=>{var o;if(a.path===""||!((o=a.path)!=null&&o.includes("?")))i(a,s);else for(let l of __(a.path))i(a,s,l)}),t}function __(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let s=__(r.join("/")),o=[];return o.push(...s.map(l=>l===""?a:[a,l].join("/"))),i&&o.push(...s),o.map(l=>e.startsWith("/")&&l===""?"/":l)}function IA(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:HA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const LA=/^:[\w-]+$/,NA=3,jA=2,zA=1,VA=10,WA=-2,Qx=e=>e==="*";function UA(e,t){let n=e.split("/"),r=n.length;return n.some(Qx)&&(r+=WA),t&&(r+=jA),n.filter(i=>!Qx(i)).reduce((i,a)=>i+(LA.test(a)?NA:a===""?zA:VA),r)}function HA(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function KA(e,t){let{routesMeta:n}=e,r={},i="/",a=[];for(let s=0;s<n.length;++s){let o=n[s],l=s===n.length-1,u=i==="/"?t:t.slice(i.length)||"/",c=YA({path:o.relativePath,caseSensitive:o.caseSensitive,end:l},u);if(!c)return null;Object.assign(r,c.params);let d=o.route;a.push({params:r,pathname:Hi([i,c.pathname]),pathnameBase:tF(Hi([i,c.pathnameBase])),route:d}),c.pathnameBase!=="/"&&(i=Hi([i,c.pathnameBase]))}return a}function YA(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=qA(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],s=a.replace(/(.)\/+$/,"$1"),o=i.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:h}=c;if(f==="*"){let g=o[d]||"";s=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const p=o[d];return h&&!p?u[f]=void 0:u[f]=(p||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:s,pattern:e}}function qA(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),x_(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,o,l)=>(r.push({paramName:o,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function GA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return x_(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function E_(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function ZA(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Cs(e):e;return{pathname:n?n.startsWith("/")?n:XA(n,t):t,search:nF(r),hash:rF(i)}}function XA(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function fh(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function QA(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function JA(e,t){let n=QA(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function eF(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Cs(e):(i=tl({},e),at(!i.pathname||!i.pathname.includes("?"),fh("?","pathname","search",i)),at(!i.pathname||!i.pathname.includes("#"),fh("#","pathname","hash",i)),at(!i.search||!i.search.includes("#"),fh("#","search","hash",i)));let a=e===""||i.pathname==="",s=a?"/":i.pathname,o;if(s==null)o=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}o=d>=0?t[d]:"/"}let l=ZA(i,o),u=s&&s!=="/"&&s.endsWith("/"),c=(a||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Hi=e=>e.join("/").replace(/\/\/+/g,"/"),tF=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),nF=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,rF=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function iF(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const S_=["post","put","patch","delete"];new Set(S_);const aF=["get",...S_];new Set(aF);/** + * React Router v6.23.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function nl(){return nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nl.apply(this,arguments)}const Uy=y.createContext(null),sF=y.createContext(null),cf=y.createContext(null),df=y.createContext(null),ks=y.createContext({outlet:null,matches:[],isDataRoute:!1}),C_=y.createContext(null);function ff(){return y.useContext(df)!=null}function k_(){return ff()||at(!1),y.useContext(df).location}function P_(e){y.useContext(cf).static||y.useLayoutEffect(e)}function hf(){let{isDataRoute:e}=y.useContext(ks);return e?yF():oF()}function oF(){ff()||at(!1);let e=y.useContext(Uy),{basename:t,future:n,navigator:r}=y.useContext(cf),{matches:i}=y.useContext(ks),{pathname:a}=k_(),s=JSON.stringify(JA(i,n.v7_relativeSplatPath)),o=y.useRef(!1);return P_(()=>{o.current=!0}),y.useCallback(function(u,c){if(c===void 0&&(c={}),!o.current)return;if(typeof u=="number"){r.go(u);return}let d=eF(u,JSON.parse(s),a,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Hi([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,a,e])}function lF(e,t){return uF(e,t)}function uF(e,t,n,r){ff()||at(!1);let{navigator:i}=y.useContext(cf),{matches:a}=y.useContext(ks),s=a[a.length-1],o=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=k_(),c;if(t){var d;let b=typeof t=="string"?Cs(t):t;l==="/"||(d=b.pathname)!=null&&d.startsWith(l)||at(!1),c=b}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let b=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(b.length).join("/")}let p=BA(e,{pathname:h}),g=pF(p&&p.map(b=>Object.assign({},b,{params:Object.assign({},o,b.params),pathname:Hi([l,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:Hi([l,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),a,n,r);return t&&g?y.createElement(df.Provider,{value:{location:nl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:zr.Pop}},g):g}function cF(){let e=bF(),t=iF(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:i},n):null,null)}const dF=y.createElement(cF,null);class fF extends y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?y.createElement(ks.Provider,{value:this.props.routeContext},y.createElement(C_.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function hF(e){let{routeContext:t,match:n,children:r}=e,i=y.useContext(Uy);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),y.createElement(ks.Provider,{value:t},r)}function pF(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if((a=n)!=null&&a.errors)e=n.matches;else return null}let s=e,o=(i=n)==null?void 0:i.errors;if(o!=null){let c=s.findIndex(d=>d.route.id&&(o==null?void 0:o[d.route.id])!==void 0);c>=0||at(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let d=s[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:h}=n,p=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||p){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let h,p=!1,g=null,b=null;n&&(h=o&&d.route.id?o[d.route.id]:void 0,g=d.route.errorElement||dF,l&&(u<0&&f===0?(p=!0,b=null):u===f&&(p=!0,b=d.route.hydrateFallbackElement||null)));let v=t.concat(s.slice(0,f+1)),m=()=>{let $;return h?$=g:p?$=b:d.route.Component?$=y.createElement(d.route.Component,null):d.route.element?$=d.route.element:$=c,y.createElement(hF,{match:d,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:$})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?y.createElement(fF,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:m(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):m()},null)}var T_=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(T_||{}),Fc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Fc||{});function mF(e){let t=y.useContext(Uy);return t||at(!1),t}function gF(e){let t=y.useContext(sF);return t||at(!1),t}function vF(e){let t=y.useContext(ks);return t||at(!1),t}function R_(e){let t=vF(),n=t.matches[t.matches.length-1];return n.route.id||at(!1),n.route.id}function bF(){var e;let t=y.useContext(C_),n=gF(Fc.UseRouteError),r=R_(Fc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function yF(){let{router:e}=mF(T_.UseNavigateStable),t=R_(Fc.UseNavigateStable),n=y.useRef(!1);return P_(()=>{n.current=!0}),y.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,nl({fromRouteId:t},a)))},[e,t])}function Pa(e){at(!1)}function $F(e){let{basename:t="/",children:n=null,location:r,navigationType:i=zr.Pop,navigator:a,static:s=!1,future:o}=e;ff()&&at(!1);let l=t.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:l,navigator:a,static:s,future:nl({v7_relativeSplatPath:!1},o)}),[l,o,a,s]);typeof r=="string"&&(r=Cs(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:p="default"}=r,g=y.useMemo(()=>{let b=E_(c,l);return b==null?null:{location:{pathname:b,search:d,hash:f,state:h,key:p},navigationType:i}},[l,c,d,f,h,p,i]);return g==null?null:y.createElement(cf.Provider,{value:u},y.createElement(df.Provider,{children:n,value:g}))}function xF(e){let{children:t,location:n}=e;return lF(lm(t),n)}new Promise(()=>{});function lm(e,t){t===void 0&&(t=[]);let n=[];return y.Children.forEach(e,(r,i)=>{if(!y.isValidElement(r))return;let a=[...t,i];if(r.type===y.Fragment){n.push.apply(n,lm(r.props.children,a));return}r.type!==Pa&&at(!1),!r.props.index||!r.props.children||at(!1);let s={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=lm(r.props.children,a)),n.push(s)}),n}/** + * React Router DOM v6.23.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */const wF="6";try{window.__reactRouterVersion=wF}catch{}const DF="startTransition",Jx=wR[DF];function _F(e){let{basename:t,children:n,future:r,window:i}=e,a=y.useRef();a.current==null&&(a.current=AA({window:i,v5Compat:!0}));let s=a.current,[o,l]=y.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=y.useCallback(d=>{u&&Jx?Jx(()=>l(d)):l(d)},[l,u]);return y.useLayoutEffect(()=>s.listen(c),[s,c]),y.createElement($F,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:s,future:r})}var e2;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(e2||(e2={}));var t2;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(t2||(t2={}));const EF="modulepreload",SF=function(e,t){return new URL(e,t).href},n2={},vs=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),o=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=SF(l,r),l in n2)return;n2[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!r)for(let h=a.length-1;h>=0;h--){const p=a[h];if(p.href===l&&(!u||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":EF,u||(f.as="script",f.crossOrigin=""),f.href=l,o&&f.setAttribute("nonce",o),document.head.appendChild(f),u)return new Promise((h,p)=>{f.addEventListener("load",h),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>t()).catch(a=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a})},CF=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>vs(()=>Promise.resolve().then(()=>Pl),void 0,import.meta.url).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)};class Hy extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}}class kF extends Hy{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class PF extends Hy{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class TF extends Hy{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var um;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(um||(um={}));var RF=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function o(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?a(c.value):i(c.value).then(o,l)}u((r=r.apply(e,t||[])).next())})};class MF{constructor(t,{headers:n={},customFetch:r,region:i=um.Any}={}){this.url=t,this.headers=n,this.region=i,this.fetch=CF(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t,n={}){var r;return RF(this,void 0,void 0,function*(){try{const{headers:i,method:a,body:s}=n;let o={},{region:l}=n;l||(l=this.region),l&&l!=="any"&&(o["x-region"]=l);let u;s&&(i&&!Object.prototype.hasOwnProperty.call(i,"Content-Type")||!i)&&(typeof Blob<"u"&&s instanceof Blob||s instanceof ArrayBuffer?(o["Content-Type"]="application/octet-stream",u=s):typeof s=="string"?(o["Content-Type"]="text/plain",u=s):typeof FormData<"u"&&s instanceof FormData?u=s:(o["Content-Type"]="application/json",u=JSON.stringify(s)));const c=yield this.fetch(`${this.url}/${t}`,{method:a||"POST",headers:Object.assign(Object.assign(Object.assign({},o),this.headers),i),body:u}).catch(p=>{throw new kF(p)}),d=c.headers.get("x-relay-error");if(d&&d==="true")throw new PF(c);if(!c.ok)throw new TF(c);let f=((r=c.headers.get("Content-Type"))!==null&&r!==void 0?r:"text/plain").split(";")[0].trim(),h;return f==="application/json"?h=yield c.json():f==="application/octet-stream"?h=yield c.blob():f==="text/event-stream"?h=c:f==="multipart/form-data"?h=yield c.formData():h=yield c.text(),{data:h,error:null}}catch(i){return{data:null,error:i}}})}}var AF=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},bs=AF();const FF=bs.fetch,Ky=bs.fetch.bind(bs),M_=bs.Headers,OF=bs.Request,BF=bs.Response,Pl=Object.freeze(Object.defineProperty({__proto__:null,Headers:M_,Request:OF,Response:BF,default:Ky,fetch:FF},Symbol.toStringTag,{value:"Module"}));class IF extends Error{constructor(t){super(t.message),this.name="PostgrestError",this.details=t.details,this.hint=t.hint,this.code=t.code}}class LF{constructor(t){this.shouldThrowOnError=!1,this.method=t.method,this.url=t.url,this.headers=t.headers,this.schema=t.schema,this.body=t.body,this.shouldThrowOnError=t.shouldThrowOnError,this.signal=t.signal,this.isMaybeSingle=t.isMaybeSingle,t.fetch?this.fetch=t.fetch:typeof fetch>"u"?this.fetch=Ky:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}then(t,n){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),this.method!=="GET"&&this.method!=="HEAD"&&(this.headers["Content-Type"]="application/json");const r=this.fetch;let i=r(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async a=>{var s,o,l;let u=null,c=null,d=null,f=a.status,h=a.statusText;if(a.ok){if(this.method!=="HEAD"){const v=await a.text();v===""||(this.headers.Accept==="text/csv"||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?c=v:c=JSON.parse(v))}const g=(s=this.headers.Prefer)===null||s===void 0?void 0:s.match(/count=(exact|planned|estimated)/),b=(o=a.headers.get("content-range"))===null||o===void 0?void 0:o.split("/");g&&b&&b.length>1&&(d=parseInt(b[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(c)&&(c.length>1?(u={code:"PGRST116",details:`Results contain ${c.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},c=null,d=null,f=406,h="Not Acceptable"):c.length===1?c=c[0]:c=null)}else{const g=await a.text();try{u=JSON.parse(g),Array.isArray(u)&&a.status===404&&(c=[],u=null,f=200,h="OK")}catch{a.status===404&&g===""?(f=204,h="No Content"):u={message:g}}if(u&&this.isMaybeSingle&&(!((l=u==null?void 0:u.details)===null||l===void 0)&&l.includes("0 rows"))&&(u=null,f=200,h="OK"),u&&this.shouldThrowOnError)throw new IF(u)}return{error:u,data:c,count:d,status:f,statusText:h}});return this.shouldThrowOnError||(i=i.catch(a=>{var s,o,l;return{error:{message:`${(s=a==null?void 0:a.name)!==null&&s!==void 0?s:"FetchError"}: ${a==null?void 0:a.message}`,details:`${(o=a==null?void 0:a.stack)!==null&&o!==void 0?o:""}`,hint:"",code:`${(l=a==null?void 0:a.code)!==null&&l!==void 0?l:""}`},data:null,count:null,status:0,statusText:""}})),i.then(t,n)}}class NF extends LF{select(t){let n=!1;const r=(t??"*").split("").map(i=>/\s/.test(i)&&!n?"":(i==='"'&&(n=!n),i)).join("");return this.url.searchParams.set("select",r),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(t,{ascending:n=!0,nullsFirst:r,foreignTable:i,referencedTable:a=i}={}){const s=a?`${a}.order`:"order",o=this.url.searchParams.get(s);return this.url.searchParams.set(s,`${o?`${o},`:""}${t}.${n?"asc":"desc"}${r===void 0?"":r?".nullsfirst":".nullslast"}`),this}limit(t,{foreignTable:n,referencedTable:r=n}={}){const i=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(i,`${t}`),this}range(t,n,{foreignTable:r,referencedTable:i=r}={}){const a=typeof i>"u"?"offset":`${i}.offset`,s=typeof i>"u"?"limit":`${i}.limit`;return this.url.searchParams.set(a,`${t}`),this.url.searchParams.set(s,`${n-t+1}`),this}abortSignal(t){return this.signal=t,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return this.method==="GET"?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:t=!1,verbose:n=!1,settings:r=!1,buffers:i=!1,wal:a=!1,format:s="text"}={}){var o;const l=[t?"analyze":null,n?"verbose":null,r?"settings":null,i?"buffers":null,a?"wal":null].filter(Boolean).join("|"),u=(o=this.headers.Accept)!==null&&o!==void 0?o:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${s}; for="${u}"; options=${l};`,s==="json"?this:this}rollback(){var t;return((t=this.headers.Prefer)!==null&&t!==void 0?t:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}class Ta extends NF{eq(t,n){return this.url.searchParams.append(t,`eq.${n}`),this}neq(t,n){return this.url.searchParams.append(t,`neq.${n}`),this}gt(t,n){return this.url.searchParams.append(t,`gt.${n}`),this}gte(t,n){return this.url.searchParams.append(t,`gte.${n}`),this}lt(t,n){return this.url.searchParams.append(t,`lt.${n}`),this}lte(t,n){return this.url.searchParams.append(t,`lte.${n}`),this}like(t,n){return this.url.searchParams.append(t,`like.${n}`),this}likeAllOf(t,n){return this.url.searchParams.append(t,`like(all).{${n.join(",")}}`),this}likeAnyOf(t,n){return this.url.searchParams.append(t,`like(any).{${n.join(",")}}`),this}ilike(t,n){return this.url.searchParams.append(t,`ilike.${n}`),this}ilikeAllOf(t,n){return this.url.searchParams.append(t,`ilike(all).{${n.join(",")}}`),this}ilikeAnyOf(t,n){return this.url.searchParams.append(t,`ilike(any).{${n.join(",")}}`),this}is(t,n){return this.url.searchParams.append(t,`is.${n}`),this}in(t,n){const r=Array.from(new Set(n)).map(i=>typeof i=="string"&&new RegExp("[,()]").test(i)?`"${i}"`:`${i}`).join(",");return this.url.searchParams.append(t,`in.(${r})`),this}contains(t,n){return typeof n=="string"?this.url.searchParams.append(t,`cs.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cs.{${n.join(",")}}`):this.url.searchParams.append(t,`cs.${JSON.stringify(n)}`),this}containedBy(t,n){return typeof n=="string"?this.url.searchParams.append(t,`cd.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cd.{${n.join(",")}}`):this.url.searchParams.append(t,`cd.${JSON.stringify(n)}`),this}rangeGt(t,n){return this.url.searchParams.append(t,`sr.${n}`),this}rangeGte(t,n){return this.url.searchParams.append(t,`nxl.${n}`),this}rangeLt(t,n){return this.url.searchParams.append(t,`sl.${n}`),this}rangeLte(t,n){return this.url.searchParams.append(t,`nxr.${n}`),this}rangeAdjacent(t,n){return this.url.searchParams.append(t,`adj.${n}`),this}overlaps(t,n){return typeof n=="string"?this.url.searchParams.append(t,`ov.${n}`):this.url.searchParams.append(t,`ov.{${n.join(",")}}`),this}textSearch(t,n,{config:r,type:i}={}){let a="";i==="plain"?a="pl":i==="phrase"?a="ph":i==="websearch"&&(a="w");const s=r===void 0?"":`(${r})`;return this.url.searchParams.append(t,`${a}fts${s}.${n}`),this}match(t){return Object.entries(t).forEach(([n,r])=>{this.url.searchParams.append(n,`eq.${r}`)}),this}not(t,n,r){return this.url.searchParams.append(t,`not.${n}.${r}`),this}or(t,{foreignTable:n,referencedTable:r=n}={}){const i=r?`${r}.or`:"or";return this.url.searchParams.append(i,`(${t})`),this}filter(t,n,r){return this.url.searchParams.append(t,`${n}.${r}`),this}}class jF{constructor(t,{headers:n={},schema:r,fetch:i}){this.url=t,this.headers=n,this.schema=r,this.fetch=i}select(t,{head:n=!1,count:r}={}){const i=n?"HEAD":"GET";let a=!1;const s=(t??"*").split("").map(o=>/\s/.test(o)&&!a?"":(o==='"'&&(a=!a),o)).join("");return this.url.searchParams.set("select",s),r&&(this.headers.Prefer=`count=${r}`),new Ta({method:i,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(t,{count:n,defaultToNull:r=!0}={}){const i="POST",a=[];if(this.headers.Prefer&&a.push(this.headers.Prefer),n&&a.push(`count=${n}`),r||a.push("missing=default"),this.headers.Prefer=a.join(","),Array.isArray(t)){const s=t.reduce((o,l)=>o.concat(Object.keys(l)),[]);if(s.length>0){const o=[...new Set(s)].map(l=>`"${l}"`);this.url.searchParams.set("columns",o.join(","))}}return new Ta({method:i,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}upsert(t,{onConflict:n,ignoreDuplicates:r=!1,count:i,defaultToNull:a=!0}={}){const s="POST",o=[`resolution=${r?"ignore":"merge"}-duplicates`];if(n!==void 0&&this.url.searchParams.set("on_conflict",n),this.headers.Prefer&&o.push(this.headers.Prefer),i&&o.push(`count=${i}`),a||o.push("missing=default"),this.headers.Prefer=o.join(","),Array.isArray(t)){const l=t.reduce((u,c)=>u.concat(Object.keys(c)),[]);if(l.length>0){const u=[...new Set(l)].map(c=>`"${c}"`);this.url.searchParams.set("columns",u.join(","))}}return new Ta({method:s,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}update(t,{count:n}={}){const r="PATCH",i=[];return this.headers.Prefer&&i.push(this.headers.Prefer),n&&i.push(`count=${n}`),this.headers.Prefer=i.join(","),new Ta({method:r,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:this.fetch,allowEmpty:!1})}delete({count:t}={}){const n="DELETE",r=[];return t&&r.push(`count=${t}`),this.headers.Prefer&&r.unshift(this.headers.Prefer),this.headers.Prefer=r.join(","),new Ta({method:n,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}const zF="1.15.2",VF={"X-Client-Info":`postgrest-js/${zF}`};class Yy{constructor(t,{headers:n={},schema:r,fetch:i}={}){this.url=t,this.headers=Object.assign(Object.assign({},VF),n),this.schemaName=r,this.fetch=i}from(t){const n=new URL(`${this.url}/${t}`);return new jF(n,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(t){return new Yy(this.url,{headers:this.headers,schema:t,fetch:this.fetch})}rpc(t,n={},{head:r=!1,get:i=!1,count:a}={}){let s;const o=new URL(`${this.url}/rpc/${t}`);let l;r||i?(s=r?"HEAD":"GET",Object.entries(n).filter(([c,d])=>d!==void 0).map(([c,d])=>[c,Array.isArray(d)?`{${d.join(",")}}`:`${d}`]).forEach(([c,d])=>{o.searchParams.append(c,d)})):(s="POST",l=n);const u=Object.assign({},this.headers);return a&&(u.Prefer=`count=${a}`),new Ta({method:s,url:o,headers:u,schema:this.schemaName,body:l,fetch:this.fetch,allowEmpty:!1})}}const WF="2.9.5",UF={"X-Client-Info":`realtime-js/${WF}`},HF="1.0.0",A_=1e4,KF=1e3;var es;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(es||(es={}));var Jt;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(Jt||(Jt={}));var Pn;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(Pn||(Pn={}));var cm;(function(e){e.websocket="websocket"})(cm||(cm={}));var Ai;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(Ai||(Ai={}));class F_{constructor(t,n){this.callback=t,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=t,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}class YF{constructor(){this.HEADER_LENGTH=1}decode(t,n){return t.constructor===ArrayBuffer?n(this._binaryDecode(t)):n(typeof t=="string"?JSON.parse(t):{})}_binaryDecode(t){const n=new DataView(t),r=new TextDecoder;return this._decodeBroadcast(t,n,r)}_decodeBroadcast(t,n,r){const i=n.getUint8(1),a=n.getUint8(2);let s=this.HEADER_LENGTH+2;const o=r.decode(t.slice(s,s+i));s=s+i;const l=r.decode(t.slice(s,s+a));s=s+a;const u=JSON.parse(r.decode(t.slice(s,t.byteLength)));return{ref:null,topic:o,event:l,payload:u}}}class hh{constructor(t,n,r={},i=A_){this.channel=t,this.event=n,this.payload=r,this.timeout=i,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(t){this.timeout=t,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(t){this.payload=Object.assign(Object.assign({},this.payload),t)}receive(t,n){var r;return this._hasReceived(t)&&n((r=this.receivedResp)===null||r===void 0?void 0:r.response),this.recHooks.push({status:t,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const t=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},t),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(t,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:t,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:t,response:n}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(n))}_hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}}var r2;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(r2||(r2={}));class ko{constructor(t,n){this.channel=t,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(n==null?void 0:n.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},i=>{const{onJoin:a,onLeave:s,onSync:o}=this.caller;this.joinRef=this.channel._joinRef(),this.state=ko.syncState(this.state,i,a,s),this.pendingDiffs.forEach(l=>{this.state=ko.syncDiff(this.state,l,a,s)}),this.pendingDiffs=[],o()}),this.channel._on(r.diff,{},i=>{const{onJoin:a,onLeave:s,onSync:o}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=ko.syncDiff(this.state,i,a,s),o())}),this.onJoin((i,a,s)=>{this.channel._trigger("presence",{event:"join",key:i,currentPresences:a,newPresences:s})}),this.onLeave((i,a,s)=>{this.channel._trigger("presence",{event:"leave",key:i,currentPresences:a,leftPresences:s})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(t,n,r,i){const a=this.cloneDeep(t),s=this.transformState(n),o={},l={};return this.map(a,(u,c)=>{s[u]||(l[u]=c)}),this.map(s,(u,c)=>{const d=a[u];if(d){const f=c.map(b=>b.presence_ref),h=d.map(b=>b.presence_ref),p=c.filter(b=>h.indexOf(b.presence_ref)<0),g=d.filter(b=>f.indexOf(b.presence_ref)<0);p.length>0&&(o[u]=p),g.length>0&&(l[u]=g)}else o[u]=c}),this.syncDiff(a,{joins:o,leaves:l},r,i)}static syncDiff(t,n,r,i){const{joins:a,leaves:s}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return r||(r=()=>{}),i||(i=()=>{}),this.map(a,(o,l)=>{var u;const c=(u=t[o])!==null&&u!==void 0?u:[];if(t[o]=this.cloneDeep(l),c.length>0){const d=t[o].map(h=>h.presence_ref),f=c.filter(h=>d.indexOf(h.presence_ref)<0);t[o].unshift(...f)}r(o,c,l)}),this.map(s,(o,l)=>{let u=t[o];if(!u)return;const c=l.map(d=>d.presence_ref);u=u.filter(d=>c.indexOf(d.presence_ref)<0),t[o]=u,i(o,u,l),u.length===0&&delete t[o]}),t}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static transformState(t){return t=this.cloneDeep(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const i=t[r];return"metas"in i?n[r]=i.metas.map(a=>(a.presence_ref=a.phx_ref,delete a.phx_ref,delete a.phx_ref_prev,a)):n[r]=i,n},{})}static cloneDeep(t){return JSON.parse(JSON.stringify(t))}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var we;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(we||(we={}));const i2=(e,t,n={})=>{var r;const i=(r=n.skipTypes)!==null&&r!==void 0?r:[];return Object.keys(t).reduce((a,s)=>(a[s]=qF(s,e,t,i),a),{})},qF=(e,t,n,r)=>{const i=t.find(o=>o.name===e),a=i==null?void 0:i.type,s=n[e];return a&&!r.includes(a)?O_(a,s):dm(s)},O_=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return QF(t,n)}switch(e){case we.bool:return GF(t);case we.float4:case we.float8:case we.int2:case we.int4:case we.int8:case we.numeric:case we.oid:return ZF(t);case we.json:case we.jsonb:return XF(t);case we.timestamp:return JF(t);case we.abstime:case we.date:case we.daterange:case we.int4range:case we.int8range:case we.money:case we.reltime:case we.text:case we.time:case we.timestamptz:case we.timetz:case we.tsrange:case we.tstzrange:return dm(t);default:return dm(t)}},dm=e=>e,GF=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},ZF=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},XF=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch(t){return console.log(`JSON parse error: ${t}`),e}return e},QF=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let a;const s=e.slice(1,n);try{a=JSON.parse("["+s+"]")}catch{a=s?s.split(","):[]}return a.map(o=>O_(t,o))}return e},JF=e=>typeof e=="string"?e.replace(" ","T"):e;var a2;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(a2||(a2={}));var s2;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes"})(s2||(s2={}));var o2;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(o2||(o2={}));class qy{constructor(t,n={config:{}},r){this.topic=t,this.params=n,this.socket=r,this.bindings={},this.state=Jt.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""}},n.config),this.timeout=this.socket.timeout,this.joinPush=new hh(this,Pn.join,this.params,this.timeout),this.rejoinTimer=new F_(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=Jt.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=Jt.closed,this.socket._remove(this)}),this._onError(i=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,i),this.state=Jt.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=Jt.errored,this.rejoinTimer.scheduleTimeout())}),this._on(Pn.reply,{},(i,a)=>{this._trigger(this._replyEventName(a),i)}),this.presence=new ko(this),this.broadcastEndpointURL=this._broadcastEndpointURL()}subscribe(t,n=this.timeout){var r,i;if(this.socket.isConnected()||this.socket.connect(),this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{const{config:{broadcast:a,presence:s}}=this.params;this._onError(u=>t&&t("CHANNEL_ERROR",u)),this._onClose(()=>t&&t("CLOSED"));const o={},l={broadcast:a,presence:s,postgres_changes:(i=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(u=>u.filter))!==null&&i!==void 0?i:[]};this.socket.accessToken&&(o.access_token=this.socket.accessToken),this.updateJoinPayload(Object.assign({config:l},o)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",({postgres_changes:u})=>{var c;if(this.socket.accessToken&&this.socket.setAuth(this.socket.accessToken),u===void 0){t&&t("SUBSCRIBED");return}else{const d=this.bindings.postgres_changes,f=(c=d==null?void 0:d.length)!==null&&c!==void 0?c:0,h=[];for(let p=0;p<f;p++){const g=d[p],{filter:{event:b,schema:v,table:m,filter:$}}=g,w=u&&u[p];if(w&&w.event===b&&w.schema===v&&w.table===m&&w.filter===$)h.push(Object.assign(Object.assign({},g),{id:w.id}));else{this.unsubscribe(),t&&t("CHANNEL_ERROR",new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=h,t&&t("SUBSCRIBED");return}}).receive("error",u=>{t&&t("CHANNEL_ERROR",new Error(JSON.stringify(Object.values(u).join(", ")||"error")))}).receive("timeout",()=>{t&&t("TIMED_OUT")})}return this}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,r){return this._on(t,n,r)}async send(t,n={}){var r,i;if(!this._canPush()&&t.type==="broadcast"){const{event:a,payload:s}=t,o={method:"POST",headers:{apikey:(r=this.socket.apiKey)!==null&&r!==void 0?r:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:a,payload:s}]})};try{return(await this._fetchWithTimeout(this.broadcastEndpointURL,o,(i=n.timeout)!==null&&i!==void 0?i:this.timeout)).ok?"ok":"error"}catch(l){return l.name==="AbortError"?"timed out":"error"}}else return new Promise(a=>{var s,o,l;const u=this._push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((l=(o=(s=this.params)===null||s===void 0?void 0:s.config)===null||o===void 0?void 0:o.broadcast)===null||l===void 0)&&l.ack)&&a("ok"),u.receive("ok",()=>a("ok")),u.receive("error",()=>a("error")),u.receive("timeout",()=>a("timed out"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=Jt.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(Pn.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(r=>{const i=new hh(this,Pn.leave,{},t);i.receive("ok",()=>{n(),r("ok")}).receive("timeout",()=>{n(),r("timed out")}).receive("error",()=>{r("error")}),i.send(),this._canPush()||i.trigger("ok",{})})}_broadcastEndpointURL(){let t=this.socket.endPoint;return t=t.replace(/^ws/i,"http"),t=t.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,""),t.replace(/\/+$/,"")+"/api/broadcast"}async _fetchWithTimeout(t,n,r){const i=new AbortController,a=setTimeout(()=>i.abort(),r),s=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:i.signal}));return clearTimeout(a),s}_push(t,n,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${t}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let i=new hh(this,t,n,r);return this._canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}_onMessage(t,n,r){return n}_isMember(t){return this.topic===t}_joinRef(){return this.joinPush.ref}_trigger(t,n,r){var i,a;const s=t.toLocaleLowerCase(),{close:o,error:l,leave:u,join:c}=Pn;if(r&&[o,l,u,c].indexOf(s)>=0&&r!==this._joinRef())return;let f=this._onMessage(s,n,r);if(n&&!f)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(s)?(i=this.bindings.postgres_changes)===null||i===void 0||i.filter(h=>{var p,g,b;return((p=h.filter)===null||p===void 0?void 0:p.event)==="*"||((b=(g=h.filter)===null||g===void 0?void 0:g.event)===null||b===void 0?void 0:b.toLocaleLowerCase())===s}).map(h=>h.callback(f,r)):(a=this.bindings[s])===null||a===void 0||a.filter(h=>{var p,g,b,v,m,$;if(["broadcast","presence","postgres_changes"].includes(s))if("id"in h){const w=h.id,D=(p=h.filter)===null||p===void 0?void 0:p.event;return w&&((g=n.ids)===null||g===void 0?void 0:g.includes(w))&&(D==="*"||(D==null?void 0:D.toLocaleLowerCase())===((b=n.data)===null||b===void 0?void 0:b.type.toLocaleLowerCase()))}else{const w=(m=(v=h==null?void 0:h.filter)===null||v===void 0?void 0:v.event)===null||m===void 0?void 0:m.toLocaleLowerCase();return w==="*"||w===(($=n==null?void 0:n.event)===null||$===void 0?void 0:$.toLocaleLowerCase())}else return h.type.toLocaleLowerCase()===s}).map(h=>{if(typeof f=="object"&&"ids"in f){const p=f.data,{schema:g,table:b,commit_timestamp:v,type:m,errors:$}=p;f=Object.assign(Object.assign({},{schema:g,table:b,commit_timestamp:v,eventType:m,new:{},old:{},errors:$}),this._getPayloadRecords(p))}h.callback(f,r)})}_isClosed(){return this.state===Jt.closed}_isJoined(){return this.state===Jt.joined}_isJoining(){return this.state===Jt.joining}_isLeaving(){return this.state===Jt.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,n,r){const i=t.toLocaleLowerCase(),a={type:i,filter:n,callback:r};return this.bindings[i]?this.bindings[i].push(a):this.bindings[i]=[a],this}_off(t,n){const r=t.toLocaleLowerCase();return this.bindings[r]=this.bindings[r].filter(i=>{var a;return!(((a=i.type)===null||a===void 0?void 0:a.toLocaleLowerCase())===r&&qy.isEqual(i.filter,n))}),this}static isEqual(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(t[r]!==n[r])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(t){this._on(Pn.close,{},t)}_onError(t){this._on(Pn.error,{},n=>t(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=Jt.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=i2(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=i2(t.columns,t.old_record)),n}}const eO=()=>{},tO=typeof WebSocket<"u";class nO{constructor(t,n){var r;this.accessToken=null,this.apiKey=null,this.channels=[],this.endPoint="",this.headers=UF,this.params={},this.timeout=A_,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=eO,this.conn=null,this.sendBuffer=[],this.serializer=new YF,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this._resolveFetch=a=>{let s;return a?s=a:typeof fetch>"u"?s=(...o)=>vs(()=>Promise.resolve().then(()=>Pl),void 0,import.meta.url).then(({default:l})=>l(...o)):s=fetch,(...o)=>s(...o)},this.endPoint=`${t}/${cm.websocket}`,n!=null&&n.transport?this.transport=n.transport:this.transport=null,n!=null&&n.params&&(this.params=n.params),n!=null&&n.headers&&(this.headers=Object.assign(Object.assign({},this.headers),n.headers)),n!=null&&n.timeout&&(this.timeout=n.timeout),n!=null&&n.logger&&(this.logger=n.logger),n!=null&&n.heartbeatIntervalMs&&(this.heartbeatIntervalMs=n.heartbeatIntervalMs);const i=(r=n==null?void 0:n.params)===null||r===void 0?void 0:r.apikey;i&&(this.accessToken=i,this.apiKey=i),this.reconnectAfterMs=n!=null&&n.reconnectAfterMs?n.reconnectAfterMs:a=>[1e3,2e3,5e3,1e4][a-1]||1e4,this.encode=n!=null&&n.encode?n.encode:(a,s)=>s(JSON.stringify(a)),this.decode=n!=null&&n.decode?n.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new F_(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!this.conn){if(this.transport){this.conn=new this.transport(this._endPointURL(),void 0,{headers:this.headers});return}if(tO){this.conn=new WebSocket(this._endPointURL()),this.setupConnection();return}this.conn=new rO(this._endPointURL(),void 0,{close:()=>{this.conn=null}}),vs(()=>import("./browser-M0K_9b-A.js").then(t=>t.b),[],import.meta.url).then(({default:t})=>{this.conn=new t(this._endPointURL(),void 0,{headers:this.headers}),this.setupConnection()})}}disconnect(t,n){this.conn&&(this.conn.onclose=function(){},t?this.conn.close(t,n??""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const t=await Promise.all(this.channels.map(n=>n.unsubscribe()));return this.disconnect(),t}log(t,n,r){this.logger(t,n,r)}connectionState(){switch(this.conn&&this.conn.readyState){case es.connecting:return Ai.Connecting;case es.open:return Ai.Open;case es.closing:return Ai.Closing;default:return Ai.Closed}}isConnected(){return this.connectionState()===Ai.Open}channel(t,n={config:{}}){const r=new qy(`realtime:${t}`,n,this);return this.channels.push(r),r}push(t){const{topic:n,event:r,payload:i,ref:a}=t,s=()=>{this.encode(t,o=>{var l;(l=this.conn)===null||l===void 0||l.send(o)})};this.log("push",`${n} ${r} (${a})`,i),this.isConnected()?s():this.sendBuffer.push(s)}setAuth(t){this.accessToken=t,this.channels.forEach(n=>{t&&n.updateJoinPayload({access_token:t}),n.joinedOnce&&n._isJoined()&&n._push(Pn.access_token,{access_token:t})})}_makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}_leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r._isJoined()||r._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${t}"`),n.unsubscribe())}_remove(t){this.channels=this.channels.filter(n=>n._joinRef()!==t._joinRef())}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t))}_endPointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:HF}))}_onConnMessage(t){this.decode(t.data,n=>{let{topic:r,event:i,payload:a,ref:s}=n;(s&&s===this.pendingHeartbeatRef||i===(a==null?void 0:a.type))&&(this.pendingHeartbeatRef=null),this.log("receive",`${a.status||""} ${r} ${i} ${s&&"("+s+")"||""}`,a),this.channels.filter(o=>o._isMember(r)).forEach(o=>o._trigger(i,a,s)),this.stateChangeCallbacks.message.forEach(o=>o(n))})}_onConnOpen(){this.log("transport",`connected to ${this._endPointURL()}`),this._flushSendBuffer(),this.reconnectTimer.reset(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this._sendHeartbeat(),this.heartbeatIntervalMs),this.stateChangeCallbacks.open.forEach(t=>t())}_onConnClose(t){this.log("transport","close",t),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(n=>n(t))}_onConnError(t){this.log("transport",t.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(n=>n(t))}_triggerChanError(){this.channels.forEach(t=>t._trigger(Pn.error))}_appendParams(t,n){if(Object.keys(n).length===0)return t;const r=t.match(/\?/)?"&":"?",i=new URLSearchParams(n);return`${t}${r}${i}`}_flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}_sendHeartbeat(){var t;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),(t=this.conn)===null||t===void 0||t.close(KF,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth(this.accessToken)}}}class rO{constructor(t,n,r){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=es.connecting,this.send=()=>{},this.url=null,this.url=t,this.close=r.close}}class Gy extends Error{constructor(t){super(t),this.__isStorageError=!0,this.name="StorageError"}}function _t(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}class iO extends Gy{constructor(t,n){super(t),this.name="StorageApiError",this.status=n}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class l2 extends Gy{constructor(t,n){super(t),this.name="StorageUnknownError",this.originalError=n}}var aO=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function o(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?a(c.value):i(c.value).then(o,l)}u((r=r.apply(e,t||[])).next())})};const B_=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>vs(()=>Promise.resolve().then(()=>Pl),void 0,import.meta.url).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},sO=()=>aO(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield vs(()=>Promise.resolve().then(()=>Pl),void 0,import.meta.url)).Response:Response});var Ps=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function o(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?a(c.value):i(c.value).then(o,l)}u((r=r.apply(e,t||[])).next())})};const ph=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),oO=(e,t)=>Ps(void 0,void 0,void 0,function*(){const n=yield sO();e instanceof n?e.json().then(r=>{t(new iO(ph(r),e.status||500))}).catch(r=>{t(new l2(ph(r),r))}):t(new l2(ph(e),e))}),lO=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json"},t==null?void 0:t.headers),i.body=JSON.stringify(r),Object.assign(Object.assign({},i),n))};function pf(e,t,n,r,i,a){return Ps(this,void 0,void 0,function*(){return new Promise((s,o)=>{e(n,lO(t,r,i,a)).then(l=>{if(!l.ok)throw l;return r!=null&&r.noResolveJson?l:l.json()}).then(l=>s(l)).catch(l=>oO(l,o))})})}function fm(e,t,n,r){return Ps(this,void 0,void 0,function*(){return pf(e,"GET",t,n,r)})}function Fr(e,t,n,r,i){return Ps(this,void 0,void 0,function*(){return pf(e,"POST",t,r,i,n)})}function uO(e,t,n,r,i){return Ps(this,void 0,void 0,function*(){return pf(e,"PUT",t,r,i,n)})}function I_(e,t,n,r,i){return Ps(this,void 0,void 0,function*(){return pf(e,"DELETE",t,r,i,n)})}var dn=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function o(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?a(c.value):i(c.value).then(o,l)}u((r=r.apply(e,t||[])).next())})};const cO={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},u2={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class dO{constructor(t,n={},r,i){this.url=t,this.headers=n,this.bucketId=r,this.fetch=B_(i)}uploadOrUpdate(t,n,r,i){return dn(this,void 0,void 0,function*(){try{let a;const s=Object.assign(Object.assign({},u2),i),o=Object.assign(Object.assign({},this.headers),t==="POST"&&{"x-upsert":String(s.upsert)});typeof Blob<"u"&&r instanceof Blob?(a=new FormData,a.append("cacheControl",s.cacheControl),a.append("",r)):typeof FormData<"u"&&r instanceof FormData?(a=r,a.append("cacheControl",s.cacheControl)):(a=r,o["cache-control"]=`max-age=${s.cacheControl}`,o["content-type"]=s.contentType);const l=this._removeEmptyFolders(n),u=this._getFinalPath(l),c=yield this.fetch(`${this.url}/object/${u}`,Object.assign({method:t,body:a,headers:o},s!=null&&s.duplex?{duplex:s.duplex}:{})),d=yield c.json();return c.ok?{data:{path:l,id:d.Id,fullPath:d.Key},error:null}:{data:null,error:d}}catch(a){if(_t(a))return{data:null,error:a};throw a}})}upload(t,n,r){return dn(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",t,n,r)})}uploadToSignedUrl(t,n,r,i){return dn(this,void 0,void 0,function*(){const a=this._removeEmptyFolders(t),s=this._getFinalPath(a),o=new URL(this.url+`/object/upload/sign/${s}`);o.searchParams.set("token",n);try{let l;const u=Object.assign({upsert:u2.upsert},i),c=Object.assign(Object.assign({},this.headers),{"x-upsert":String(u.upsert)});typeof Blob<"u"&&r instanceof Blob?(l=new FormData,l.append("cacheControl",u.cacheControl),l.append("",r)):typeof FormData<"u"&&r instanceof FormData?(l=r,l.append("cacheControl",u.cacheControl)):(l=r,c["cache-control"]=`max-age=${u.cacheControl}`,c["content-type"]=u.contentType);const d=yield this.fetch(o.toString(),{method:"PUT",body:l,headers:c}),f=yield d.json();return d.ok?{data:{path:a,fullPath:f.Key},error:null}:{data:null,error:f}}catch(l){if(_t(l))return{data:null,error:l};throw l}})}createSignedUploadUrl(t){return dn(this,void 0,void 0,function*(){try{let n=this._getFinalPath(t);const r=yield Fr(this.fetch,`${this.url}/object/upload/sign/${n}`,{},{headers:this.headers}),i=new URL(this.url+r.url),a=i.searchParams.get("token");if(!a)throw new Gy("No token returned by API");return{data:{signedUrl:i.toString(),path:t,token:a},error:null}}catch(n){if(_t(n))return{data:null,error:n};throw n}})}update(t,n,r){return dn(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",t,n,r)})}move(t,n){return dn(this,void 0,void 0,function*(){try{return{data:yield Fr(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n},{headers:this.headers}),error:null}}catch(r){if(_t(r))return{data:null,error:r};throw r}})}copy(t,n){return dn(this,void 0,void 0,function*(){try{return{data:{path:(yield Fr(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n},{headers:this.headers})).Key},error:null}}catch(r){if(_t(r))return{data:null,error:r};throw r}})}createSignedUrl(t,n,r){return dn(this,void 0,void 0,function*(){try{let i=this._getFinalPath(t),a=yield Fr(this.fetch,`${this.url}/object/sign/${i}`,Object.assign({expiresIn:n},r!=null&&r.transform?{transform:r.transform}:{}),{headers:this.headers});const s=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return a={signedUrl:encodeURI(`${this.url}${a.signedURL}${s}`)},{data:a,error:null}}catch(i){if(_t(i))return{data:null,error:i};throw i}})}createSignedUrls(t,n,r){return dn(this,void 0,void 0,function*(){try{const i=yield Fr(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:n,paths:t},{headers:this.headers}),a=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return{data:i.map(s=>Object.assign(Object.assign({},s),{signedUrl:s.signedURL?encodeURI(`${this.url}${s.signedURL}${a}`):null})),error:null}}catch(i){if(_t(i))return{data:null,error:i};throw i}})}download(t,n){return dn(this,void 0,void 0,function*(){const i=typeof(n==null?void 0:n.transform)<"u"?"render/image/authenticated":"object",a=this.transformOptsToQueryString((n==null?void 0:n.transform)||{}),s=a?`?${a}`:"";try{const o=this._getFinalPath(t);return{data:yield(yield fm(this.fetch,`${this.url}/${i}/${o}${s}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(o){if(_t(o))return{data:null,error:o};throw o}})}getPublicUrl(t,n){const r=this._getFinalPath(t),i=[],a=n!=null&&n.download?`download=${n.download===!0?"":n.download}`:"";a!==""&&i.push(a);const o=typeof(n==null?void 0:n.transform)<"u"?"render/image":"object",l=this.transformOptsToQueryString((n==null?void 0:n.transform)||{});l!==""&&i.push(l);let u=i.join("&");return u!==""&&(u=`?${u}`),{data:{publicUrl:encodeURI(`${this.url}/${o}/public/${r}${u}`)}}}remove(t){return dn(this,void 0,void 0,function*(){try{return{data:yield I_(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:t},{headers:this.headers}),error:null}}catch(n){if(_t(n))return{data:null,error:n};throw n}})}list(t,n,r){return dn(this,void 0,void 0,function*(){try{const i=Object.assign(Object.assign(Object.assign({},cO),n),{prefix:t||""});return{data:yield Fr(this.fetch,`${this.url}/object/list/${this.bucketId}`,i,{headers:this.headers},r),error:null}}catch(i){if(_t(i))return{data:null,error:i};throw i}})}_getFinalPath(t){return`${this.bucketId}/${t}`}_removeEmptyFolders(t){return t.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(t){const n=[];return t.width&&n.push(`width=${t.width}`),t.height&&n.push(`height=${t.height}`),t.resize&&n.push(`resize=${t.resize}`),t.format&&n.push(`format=${t.format}`),t.quality&&n.push(`quality=${t.quality}`),n.join("&")}}const fO="2.5.5",hO={"X-Client-Info":`storage-js/${fO}`};var ba=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function o(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?a(c.value):i(c.value).then(o,l)}u((r=r.apply(e,t||[])).next())})};class pO{constructor(t,n={},r){this.url=t,this.headers=Object.assign(Object.assign({},hO),n),this.fetch=B_(r)}listBuckets(){return ba(this,void 0,void 0,function*(){try{return{data:yield fm(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(t){if(_t(t))return{data:null,error:t};throw t}})}getBucket(t){return ba(this,void 0,void 0,function*(){try{return{data:yield fm(this.fetch,`${this.url}/bucket/${t}`,{headers:this.headers}),error:null}}catch(n){if(_t(n))return{data:null,error:n};throw n}})}createBucket(t,n={public:!1}){return ba(this,void 0,void 0,function*(){try{return{data:yield Fr(this.fetch,`${this.url}/bucket`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(_t(r))return{data:null,error:r};throw r}})}updateBucket(t,n){return ba(this,void 0,void 0,function*(){try{return{data:yield uO(this.fetch,`${this.url}/bucket/${t}`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(_t(r))return{data:null,error:r};throw r}})}emptyBucket(t){return ba(this,void 0,void 0,function*(){try{return{data:yield Fr(this.fetch,`${this.url}/bucket/${t}/empty`,{},{headers:this.headers}),error:null}}catch(n){if(_t(n))return{data:null,error:n};throw n}})}deleteBucket(t){return ba(this,void 0,void 0,function*(){try{return{data:yield I_(this.fetch,`${this.url}/bucket/${t}`,{},{headers:this.headers}),error:null}}catch(n){if(_t(n))return{data:null,error:n};throw n}})}}class mO extends pO{constructor(t,n={},r){super(t,n,r)}from(t){return new dO(this.url,this.headers,t,this.fetch)}}const gO="2.43.4";let oo="";typeof Deno<"u"?oo="deno":typeof document<"u"?oo="web":typeof navigator<"u"&&navigator.product==="ReactNative"?oo="react-native":oo="node";const vO={"X-Client-Info":`supabase-js-${oo}/${gO}`},bO={headers:vO},yO={schema:"public"},$O={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},xO={};var wO=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function o(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?a(c.value):i(c.value).then(o,l)}u((r=r.apply(e,t||[])).next())})};const DO=e=>{let t;return e?t=e:typeof fetch>"u"?t=Ky:t=fetch,(...n)=>t(...n)},_O=()=>typeof Headers>"u"?M_:Headers,EO=(e,t,n)=>{const r=DO(n),i=_O();return(a,s)=>wO(void 0,void 0,void 0,function*(){var o;const l=(o=yield t())!==null&&o!==void 0?o:e;let u=new i(s==null?void 0:s.headers);return u.has("apikey")||u.set("apikey",e),u.has("Authorization")||u.set("Authorization",`Bearer ${l}`),r(a,Object.assign(Object.assign({},s),{headers:u}))})};function SO(e){return e.replace(/\/$/,"")}function CO(e,t){const{db:n,auth:r,realtime:i,global:a}=e,{db:s,auth:o,realtime:l,global:u}=t;return{db:Object.assign(Object.assign({},s),n),auth:Object.assign(Object.assign({},o),r),realtime:Object.assign(Object.assign({},l),i),global:Object.assign(Object.assign({},u),a)}}const L_="2.64.2",kO="http://localhost:9999",PO="supabase.auth.token",TO={"X-Client-Info":`gotrue-js/${L_}`},c2=10,hm="X-Supabase-Api-Version",N_={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}};function RO(e){return Math.round(Date.now()/1e3)+e}function MO(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}const Sn=()=>typeof document<"u",vi={tested:!1,writable:!1},Po=()=>{if(!Sn())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(vi.tested)return vi.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),vi.tested=!0,vi.writable=!0}catch{vi.tested=!0,vi.writable=!1}return vi.writable};function mh(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((i,a)=>{t[a]=i})}catch{}return n.searchParams.forEach((r,i)=>{t[i]=r}),t}const j_=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>vs(()=>Promise.resolve().then(()=>Pl),void 0,import.meta.url).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},AO=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",z_=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},ru=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},gh=async(e,t)=>{await e.removeItem(t)};function FO(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let n="",r,i,a,s,o,l,u,c=0;for(e=e.replace("-","+").replace("_","/");c<e.length;)s=t.indexOf(e.charAt(c++)),o=t.indexOf(e.charAt(c++)),l=t.indexOf(e.charAt(c++)),u=t.indexOf(e.charAt(c++)),r=s<<2|o>>4,i=(o&15)<<4|l>>2,a=(l&3)<<6|u,n=n+String.fromCharCode(r),l!=64&&i!=0&&(n=n+String.fromCharCode(i)),u!=64&&a!=0&&(n=n+String.fromCharCode(a));return n}class mf{constructor(){this.promise=new mf.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}mf.promiseConstructor=Promise;function d2(e){const t=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i,n=e.split(".");if(n.length!==3)throw new Error("JWT is not valid: not a JWT structure");if(!t.test(n[1]))throw new Error("JWT is not valid: payload is not in base64url format");const r=n[1];return JSON.parse(FO(r))}async function OO(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function BO(e,t){return new Promise((r,i)=>{(async()=>{for(let a=0;a<1/0;a++)try{const s=await e(a);if(!t(a,null,s)){r(s);return}}catch(s){if(!t(a,s)){i(s);return}}})()})}function IO(e){return("0"+e.toString(16)).substr(-2)}function LO(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let i="";for(let a=0;a<56;a++)i+=n.charAt(Math.floor(Math.random()*r));return i}return crypto.getRandomValues(t),Array.from(t,IO).join("")}async function NO(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),i=new Uint8Array(r);return Array.from(i).map(a=>String.fromCharCode(a)).join("")}function jO(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function zO(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await NO(e);return jO(n)}async function ya(e,t,n=!1){const r=LO();let i=r;n&&(i+="/PASSWORD_RECOVERY"),await z_(e,`${t}-code-verifier`,i);const a=await zO(r);return[a,r===a?"plain":"s256"]}const VO=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function WO(e){const t=e.headers.get(hm);if(!t||!t.match(VO))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}class Zy extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}}function re(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class UO extends Zy{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function HO(e){return re(e)&&e.name==="AuthApiError"}class V_ extends Zy{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class ua extends Zy{constructor(t,n,r,i){super(t,r,i),this.name=n,this.status=r}}class bi extends ua{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}class vh extends ua{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class iu extends ua{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class au extends ua{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class f2 extends ua{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class pm extends ua{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function bh(e){return re(e)&&e.name==="AuthRetryableFetchError"}class h2 extends ua{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}}var KO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};const Ci=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),YO=[502,503,504];async function p2(e){var t;if(!AO(e))throw new pm(Ci(e),0);if(YO.includes(e.status))throw new pm(Ci(e),e.status);let n;try{n=await e.json()}catch(a){throw new V_(Ci(a),a)}let r;const i=WO(e);if(i&&i.getTime()>=N_["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new h2(Ci(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[])}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((a,s)=>a&&typeof s=="string",!0))throw new h2(Ci(n),e.status,n.weak_password.reasons);throw new UO(Ci(n),e.status||500,r)}const qO=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?i:(i.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),i.body=JSON.stringify(r),Object.assign(Object.assign({},i),n))};async function oe(e,t,n,r){var i;const a=Object.assign({},r==null?void 0:r.headers);a[hm]||(a[hm]=N_["2024-01-01"].name),r!=null&&r.jwt&&(a.Authorization=`Bearer ${r.jwt}`);const s=(i=r==null?void 0:r.query)!==null&&i!==void 0?i:{};r!=null&&r.redirectTo&&(s.redirect_to=r.redirectTo);const o=Object.keys(s).length?"?"+new URLSearchParams(s).toString():"",l=await GO(e,t,n+o,{headers:a,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(l):{data:Object.assign({},l),error:null}}async function GO(e,t,n,r,i,a){const s=qO(t,r,i,a);let o;try{o=await e(n,Object.assign({},s))}catch(l){throw console.error(l),new pm(Ci(l),0)}if(o.ok||await p2(o),r!=null&&r.noResolveJson)return o;try{return await o.json()}catch(l){await p2(l)}}function Tr(e){var t;let n=null;JO(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=RO(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function m2(e){const t=Tr(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function Lr(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function ZO(e){return{data:e,error:null}}function XO(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:a}=e,s=KO(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),o={action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:a},l=Object.assign({},s);return{data:{properties:o,user:l},error:null}}function QO(e){return e}function JO(e){return e.access_token&&e.refresh_token&&e.expires_in}var eB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};class tB{constructor({url:t="",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=j_(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(t,n="global"){try{return await oe(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(re(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await oe(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Lr})}catch(r){if(re(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=eB(t,["options"]),i=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(i.new_email=r==null?void 0:r.newEmail,delete i.newEmail),await oe(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:XO,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(re(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await oe(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:Lr})}catch(n){if(re(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,i,a,s,o,l;try{const u={nextPage:null,lastPage:0,total:0},c=await oe(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(a=(i=t==null?void 0:t.perPage)===null||i===void 0?void 0:i.toString())!==null&&a!==void 0?a:""},xform:QO});if(c.error)throw c.error;const d=await c.json(),f=(s=c.headers.get("x-total-count"))!==null&&s!==void 0?s:0,h=(l=(o=c.headers.get("link"))===null||o===void 0?void 0:o.split(","))!==null&&l!==void 0?l:[];return h.length>0&&(h.forEach(p=>{const g=parseInt(p.split(";")[0].split("=")[1].substring(0,1)),b=JSON.parse(p.split(";")[1].split("=")[1]);u[`${b}Page`]=g}),u.total=parseInt(f)),{data:Object.assign(Object.assign({},d),u),error:null}}catch(u){if(re(u))return{data:{users:[]},error:u};throw u}}async getUserById(t){try{return await oe(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:Lr})}catch(n){if(re(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){try{return await oe(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:Lr})}catch(r){if(re(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){try{return await oe(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:Lr})}catch(r){if(re(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){try{const{data:n,error:r}=await oe(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:i=>({data:{factors:i},error:null})});return{data:n,error:r}}catch(n){if(re(n))return{data:null,error:n};throw n}}async _deleteFactor(t){try{return{data:await oe(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(re(n))return{data:null,error:n};throw n}}}const nB={getItem:e=>Po()?globalThis.localStorage.getItem(e):null,setItem:(e,t)=>{Po()&&globalThis.localStorage.setItem(e,t)},removeItem:e=>{Po()&&globalThis.localStorage.removeItem(e)}};function g2(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}function rB(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}const $a={debug:!!(globalThis&&Po()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class W_ extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class iB extends W_{}async function aB(e,t,n){$a.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;return t>0&&setTimeout(()=>{r.abort(),$a.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t),await globalThis.navigator.locks.request(e,t===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},async i=>{if(i){$a.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,i.name);try{return await n()}finally{$a.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,i.name)}}else{if(t===0)throw $a.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new iB(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if($a.debug)try{const a=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(a,null," "))}catch(a){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",a)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await n()}})}rB();const sB={url:kO,storageKey:PO,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:TO,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1},zs=30*1e3,v2=3;async function b2(e,t,n){return await n()}class rl{constructor(t){var n,r;this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=rl.nextInstanceID,rl.nextInstanceID+=1,this.instanceID>0&&Sn()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const i=Object.assign(Object.assign({},sB),t);if(this.logDebugMessages=!!i.debug,typeof i.debug=="function"&&(this.logger=i.debug),this.persistSession=i.persistSession,this.storageKey=i.storageKey,this.autoRefreshToken=i.autoRefreshToken,this.admin=new tB({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=j_(i.fetch),this.lock=i.lock||b2,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,i.lock?this.lock=i.lock:Sn()&&(!((n=globalThis==null?void 0:globalThis.navigator)===null||n===void 0)&&n.locks)?this.lock=aB:this.lock=b2,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?i.storage?this.storage=i.storage:Po()?this.storage=nB:(this.memoryStorage={},this.storage=g2(this.memoryStorage)):(this.memoryStorage={},this.storage=g2(this.memoryStorage)),Sn()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(a){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",a)}(r=this.broadcastChannel)===null||r===void 0||r.addEventListener("message",async a=>{this._debug("received broadcast notification from other tab or client",a),await this._notifyAllSubscribers(a.data.event,a.data.session,!1)})}this.initialize()}_debug(...t){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${L_}) ${new Date().toISOString()}`,...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){try{const t=Sn()?await this._isPKCEFlow():!1;if(this._debug("#_initialize()","begin","is PKCE flow",t),t||this.detectSessionInUrl&&this._isImplicitGrantFlow()){const{data:n,error:r}=await this._getSessionFromURL(t);if(r)return this._debug("#_initialize()","error detecting session from URL",r),(r==null?void 0:r.message)==="Identity is already linked"||(r==null?void 0:r.message)==="Identity is already linked to another user"?{error:r}:(await this._removeSession(),{error:r});const{session:i,redirectType:a}=n;return this._debug("#_initialize()","detected session in URL",i,"redirect type",a),await this._saveSession(i),setTimeout(async()=>{a==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",i):await this._notifyAllSubscribers("SIGNED_IN",i)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(t){return re(t)?{error:t}:{error:new V_("Unexpected error during initialization",t)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,i;try{await this._removeSession();const a=await oe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(i=t==null?void 0:t.options)===null||i===void 0?void 0:i.captchaToken}},xform:Tr}),{data:s,error:o}=a;if(o||!s)return{data:{user:null,session:null},error:o};const l=s.session,u=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(a){if(re(a))return{data:{user:null,session:null},error:a};throw a}}async signUp(t){var n,r,i;try{await this._removeSession();let a;if("email"in t){const{email:c,password:d,options:f}=t;let h=null,p=null;this.flowType==="pkce"&&([h,p]=await ya(this.storage,this.storageKey)),a=await oe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:f==null?void 0:f.emailRedirectTo,body:{email:c,password:d,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:h,code_challenge_method:p},xform:Tr})}else if("phone"in t){const{phone:c,password:d,options:f}=t;a=await oe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:c,password:d,data:(r=f==null?void 0:f.data)!==null&&r!==void 0?r:{},channel:(i=f==null?void 0:f.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},xform:Tr})}else throw new iu("You must provide either an email or phone number and a password");const{data:s,error:o}=a;if(o||!s)return{data:{user:null,session:null},error:o};const l=s.session,u=s.user;return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(a){if(re(a))return{data:{user:null,session:null},error:a};throw a}}async signInWithPassword(t){try{await this._removeSession();let n;if("email"in t){const{email:a,password:s,options:o}=t;n=await oe(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:a,password:s,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},xform:m2})}else if("phone"in t){const{phone:a,password:s,options:o}=t;n=await oe(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:a,password:s,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},xform:m2})}else throw new iu("You must provide either an email or phone number and a password");const{data:r,error:i}=n;return i?{data:{user:null,session:null},error:i}:!r||!r.session||!r.user?{data:{user:null,session:null},error:new vh}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:i})}catch(n){if(re(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOAuth(t){var n,r,i,a;return await this._removeSession(),await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(i=t.options)===null||i===void 0?void 0:i.queryParams,skipBrowserRedirect:(a=t.options)===null||a===void 0?void 0:a.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(t))}async _exchangeCodeForSession(t){const n=await ru(this.storage,`${this.storageKey}-code-verifier`),[r,i]=(n??"").split("/"),{data:a,error:s}=await oe(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:Tr});return await gh(this.storage,`${this.storageKey}-code-verifier`),s?{data:{user:null,session:null,redirectType:null},error:s}:!a||!a.session||!a.user?{data:{user:null,session:null,redirectType:null},error:new vh}:(a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",a.session)),{data:Object.assign(Object.assign({},a),{redirectType:i??null}),error:s})}async signInWithIdToken(t){await this._removeSession();try{const{options:n,provider:r,token:i,access_token:a,nonce:s}=t,o=await oe(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:i,access_token:a,nonce:s,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:Tr}),{data:l,error:u}=o;return u?{data:{user:null,session:null},error:u}:!l||!l.session||!l.user?{data:{user:null,session:null},error:new vh}:(l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",l.session)),{data:l,error:u})}catch(n){if(re(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOtp(t){var n,r,i,a,s;try{if(await this._removeSession(),"email"in t){const{email:o,options:l}=t;let u=null,c=null;this.flowType==="pkce"&&([u,c]=await ya(this.storage,this.storageKey));const{error:d}=await oe(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:o,data:(n=l==null?void 0:l.data)!==null&&n!==void 0?n:{},create_user:(r=l==null?void 0:l.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},code_challenge:u,code_challenge_method:c},redirectTo:l==null?void 0:l.emailRedirectTo});return{data:{user:null,session:null},error:d}}if("phone"in t){const{phone:o,options:l}=t,{data:u,error:c}=await oe(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:o,data:(i=l==null?void 0:l.data)!==null&&i!==void 0?i:{},create_user:(a=l==null?void 0:l.shouldCreateUser)!==null&&a!==void 0?a:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},channel:(s=l==null?void 0:l.channel)!==null&&s!==void 0?s:"sms"}});return{data:{user:null,session:null,messageId:u==null?void 0:u.message_id},error:c}}throw new iu("You must provide either an email or phone number.")}catch(o){if(re(o))return{data:{user:null,session:null},error:o};throw o}}async verifyOtp(t){var n,r;try{t.type!=="email_change"&&t.type!=="phone_change"&&await this._removeSession();let i,a;"options"in t&&(i=(n=t.options)===null||n===void 0?void 0:n.redirectTo,a=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:s,error:o}=await oe(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:a}}),redirectTo:i,xform:Tr});if(o)throw o;if(!s)throw new Error("An error occurred on token verification.");const l=s.session,u=s.user;return l!=null&&l.access_token&&(await this._saveSession(l),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(i){if(re(i))return{data:{user:null,session:null},error:i};throw i}}async signInWithSSO(t){var n,r,i;try{await this._removeSession();let a=null,s=null;return this.flowType==="pkce"&&([a,s]=await ya(this.storage,this.storageKey)),await oe(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((i=t==null?void 0:t.options)===null||i===void 0)&&i.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:a,code_challenge_method:s}),headers:this.headers,xform:ZO})}catch(a){if(re(a))return{data:null,error:a};throw a}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new bi;const{error:i}=await oe(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return{data:{user:null,session:null},error:i}})}catch(t){if(re(t))return{data:{user:null,session:null},error:t};throw t}}async resend(t){try{t.type!="email_change"&&t.type!="phone_change"&&await this._removeSession();const n=`${this.url}/resend`;if("email"in t){const{email:r,type:i,options:a}=t,{error:s}=await oe(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:i,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},redirectTo:a==null?void 0:a.emailRedirectTo});return{data:{user:null,session:null},error:s}}else if("phone"in t){const{phone:r,type:i,options:a}=t,{data:s,error:o}=await oe(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:i,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}}});return{data:{user:null,session:null,messageId:s==null?void 0:s.message_id},error:o}}throw new iu("You must provide either an email or phone number and a type")}catch(n){if(re(n))return{data:{user:null,session:null},error:n};throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async n=>n))}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),i=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await i}catch{}})()),i}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const i=[...this.pendingInLock];await Promise.all(i),this.pendingInLock.splice(0,i.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await ru(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at<=Date.now()/1e3:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.storage.isServer){const s=this.suppressGetSessionWarning;t=new Proxy(t,{get(l,u,c){return!s&&u==="user"&&console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and many not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),Reflect.get(l,u,c)}})}return{data:{session:t},error:null}}const{session:i,error:a}=await this._callRefreshToken(t.refresh_token);return a?{data:{session:null},error:a}:{data:{session:i},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(t){return t?await this._getUser(t):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(t){try{return t?await oe(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:Lr}):await this._useSession(async n=>{var r,i,a;const{data:s,error:o}=n;if(o)throw o;return!(!((r=s.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new bi}:await oe(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(a=(i=s.session)===null||i===void 0?void 0:i.access_token)!==null&&a!==void 0?a:void 0,xform:Lr})})}catch(n){if(re(n))return{data:{user:null},error:n};throw n}}async updateUser(t,n={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(t,n))}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:i,error:a}=r;if(a)throw a;if(!i.session)throw new bi;const s=i.session;let o=null,l=null;this.flowType==="pkce"&&t.email!=null&&([o,l]=await ya(this.storage,this.storageKey));const{data:u,error:c}=await oe(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:o,code_challenge_method:l}),jwt:s.access_token,xform:Lr});if(c)throw c;return s.user=u.user,await this._saveSession(s),await this._notifyAllSubscribers("USER_UPDATED",s),{data:{user:s.user},error:null}})}catch(r){if(re(r))return{data:{user:null},error:r};throw r}}_decodeJWT(t){return d2(t)}async setSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new bi;const n=Date.now()/1e3;let r=n,i=!0,a=null;const s=d2(t.access_token);if(s.exp&&(r=s.exp,i=r<=n),i){const{session:o,error:l}=await this._callRefreshToken(t.refresh_token);if(l)return{data:{user:null,session:null},error:l};if(!o)return{data:{user:null,session:null},error:null};a=o}else{const{data:o,error:l}=await this._getUser(t.access_token);if(l)throw l;a={access_token:t.access_token,refresh_token:t.refresh_token,user:o.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(a),await this._notifyAllSubscribers("SIGNED_IN",a)}return{data:{user:a.user,session:a},error:null}}catch(n){if(re(n))return{data:{session:null,user:null},error:n};throw n}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:s,error:o}=n;if(o)throw o;t=(r=s.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new bi;const{session:i,error:a}=await this._callRefreshToken(t.refresh_token);return a?{data:{user:null,session:null},error:a}:i?{data:{user:i.user,session:i},error:null}:{data:{user:null,session:null},error:null}})}catch(n){if(re(n))return{data:{user:null,session:null},error:n};throw n}}async _getSessionFromURL(t){try{if(!Sn())throw new au("No browser detected.");if(this.flowType==="implicit"&&!this._isImplicitGrantFlow())throw new au("Not a valid implicit grant flow url.");if(this.flowType=="pkce"&&!t)throw new f2("Not a valid PKCE flow url.");const n=mh(window.location.href);if(t){if(!n.code)throw new f2("No code detected.");const{data:m,error:$}=await this._exchangeCodeForSession(n.code);if($)throw $;const w=new URL(window.location.href);return w.searchParams.delete("code"),window.history.replaceState(window.history.state,"",w.toString()),{data:{session:m.session,redirectType:null},error:null}}if(n.error||n.error_description||n.error_code)throw new au(n.error_description||"Error in URL with unspecified error_description",{error:n.error||"unspecified_error",code:n.error_code||"unspecified_code"});const{provider_token:r,provider_refresh_token:i,access_token:a,refresh_token:s,expires_in:o,expires_at:l,token_type:u}=n;if(!a||!o||!s||!u)throw new au("No session defined in URL");const c=Math.round(Date.now()/1e3),d=parseInt(o);let f=c+d;l&&(f=parseInt(l));const h=f-c;h*1e3<=zs&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${h}s, should have been closer to ${d}s`);const p=f-d;c-p>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",p,f,c):c-p<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clok for skew",p,f,c);const{data:g,error:b}=await this._getUser(a);if(b)throw b;const v={provider_token:r,provider_refresh_token:i,access_token:a,expires_in:d,expires_at:f,refresh_token:s,token_type:u,user:g.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:v,redirectType:n.type},error:null}}catch(n){if(re(n))return{data:{session:null,redirectType:null},error:n};throw n}}_isImplicitGrantFlow(){const t=mh(window.location.href);return!!(Sn()&&(t.access_token||t.error_description))}async _isPKCEFlow(){const t=mh(window.location.href),n=await ru(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:i,error:a}=n;if(a)return{error:a};const s=(r=i.session)===null||r===void 0?void 0:r.access_token;if(s){const{error:o}=await this.admin.signOut(s,t);if(o&&!(HO(o)&&(o.status===404||o.status===401||o.status===403)))return{error:o}}return t!=="others"&&(await this._removeSession(),await gh(this.storage,`${this.storageKey}-code-verifier`),await this._notifyAllSubscribers("SIGNED_OUT",null)),{error:null}})}onAuthStateChange(t){const n=MO(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,i;try{const{data:{session:a},error:s}=n;if(s)throw s;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",a)),this._debug("INITIAL_SESSION","callback id",t,"session",a)}catch(a){await((i=this.stateChangeEmitters.get(t))===null||i===void 0?void 0:i.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",a),console.error(a)}})}async resetPasswordForEmail(t,n={}){let r=null,i=null;this.flowType==="pkce"&&([r,i]=await ya(this.storage,this.storageKey,!0));try{return await oe(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:i,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(a){if(re(a))return{data:null,error:a};throw a}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return{data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null}}catch(n){if(re(n))return{data:null,error:n};throw n}}async linkIdentity(t){var n;try{const{data:r,error:i}=await this._useSession(async a=>{var s,o,l,u,c;const{data:d,error:f}=a;if(f)throw f;const h=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(s=t.options)===null||s===void 0?void 0:s.redirectTo,scopes:(o=t.options)===null||o===void 0?void 0:o.scopes,queryParams:(l=t.options)===null||l===void 0?void 0:l.queryParams,skipBrowserRedirect:!0});return await oe(this.fetch,"GET",h,{headers:this.headers,jwt:(c=(u=d.session)===null||u===void 0?void 0:u.access_token)!==null&&c!==void 0?c:void 0})});if(i)throw i;return Sn()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),{data:{provider:t.provider,url:r==null?void 0:r.url},error:null}}catch(r){if(re(r))return{data:{provider:t.provider,url:null},error:r};throw r}}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,i;const{data:a,error:s}=n;if(s)throw s;return await oe(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(i=(r=a.session)===null||r===void 0?void 0:r.access_token)!==null&&i!==void 0?i:void 0})})}catch(n){if(re(n))return{data:null,error:n};throw n}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await BO(async i=>(i>0&&await OO(200*Math.pow(2,i-1)),this._debug(n,"refreshing attempt",i),await oe(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:Tr})),(i,a)=>{const s=200*Math.pow(2,i);return a&&bh(a)&&Date.now()+s-r<zs})}catch(r){if(this._debug(n,"error",r),re(r))return{data:{session:null,user:null},error:r};throw r}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",r),Sn()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t;const n="#_recoverAndRefresh()";this._debug(n,"begin");try{const r=await ru(this.storage,this.storageKey);if(this._debug(n,"session from storage",r),!this._isValidSession(r)){this._debug(n,"session is not valid"),r!==null&&await this._removeSession();return}const i=Math.round(Date.now()/1e3),a=((t=r.expires_at)!==null&&t!==void 0?t:1/0)<i+c2;if(this._debug(n,`session has${a?"":" not"} expired with margin of ${c2}s`),a){if(this.autoRefreshToken&&r.refresh_token){const{error:s}=await this._callRefreshToken(r.refresh_token);s&&(console.error(s),bh(s)||(this._debug(n,"refresh failed with a non-retryable error, removing the session",s),await this._removeSession()))}}else await this._notifyAllSubscribers("SIGNED_IN",r)}catch(r){this._debug(n,"error",r),console.error(r);return}finally{this._debug(n,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new bi;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const i=`#_callRefreshToken(${t.substring(0,5)}...)`;this._debug(i,"begin");try{this.refreshingDeferred=new mf;const{data:a,error:s}=await this._refreshAccessToken(t);if(s)throw s;if(!a.session)throw new bi;await this._saveSession(a.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",a.session);const o={session:a.session,error:null};return this.refreshingDeferred.resolve(o),o}catch(a){if(this._debug(i,"error",a),re(a)){const s={session:null,error:a};return bh(a)||(await this._removeSession(),await this._notifyAllSubscribers("SIGNED_OUT",null)),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(s),s}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(a),a}finally{this.refreshingDeferred=null,this._debug(i,"end")}}async _notifyAllSubscribers(t,n,r=!0){const i=`#_notifyAllSubscribers(${t})`;this._debug(i,"begin",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const a=[],s=Array.from(this.stateChangeEmitters.values()).map(async o=>{try{await o.callback(t,n)}catch(l){a.push(l)}});if(await Promise.all(s),a.length>0){for(let o=0;o<a.length;o+=1)console.error(a[o]);throw a[0]}}finally{this._debug(i,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await z_(this.storage,this.storageKey,t)}async _removeSession(){this._debug("#_removeSession()"),await gh(this.storage,this.storageKey)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&Sn()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",t)}catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),zs);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const i=Math.floor((r.expires_at*1e3-t)/zs);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${zs}ms, refresh threshold is ${v2} ticks`),i<=v2&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t.isAcquireTimeout||t instanceof W_)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Sn()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(-1,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const i=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&i.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&i.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[a,s]=await ya(this.storage,this.storageKey),o=new URLSearchParams({code_challenge:`${encodeURIComponent(a)}`,code_challenge_method:`${encodeURIComponent(s)}`});i.push(o.toString())}if(r!=null&&r.queryParams){const a=new URLSearchParams(r.queryParams);i.push(a.toString())}return r!=null&&r.skipBrowserRedirect&&i.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${i.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:i,error:a}=n;return a?{data:null,error:a}:await oe(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(re(n))return{data:null,error:n};throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,i;const{data:a,error:s}=n;if(s)return{data:null,error:s};const{data:o,error:l}=await oe(this.fetch,"POST",`${this.url}/factors`,{body:{friendly_name:t.friendlyName,factor_type:t.factorType,issuer:t.issuer},headers:this.headers,jwt:(r=a==null?void 0:a.session)===null||r===void 0?void 0:r.access_token});return l?{data:null,error:l}:(!((i=o==null?void 0:o.totp)===null||i===void 0)&&i.qr_code&&(o.totp.qr_code=`data:image/svg+xml;utf-8,${o.totp.qr_code}`),{data:o,error:null})})}catch(n){if(re(n))return{data:null,error:n};throw n}}async _verify(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var r;const{data:i,error:a}=n;if(a)return{data:null,error:a};const{data:s,error:o}=await oe(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:{code:t.code,challenge_id:t.challengeId},headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token});return o?{data:null,error:o}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+s.expires_in},s)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",s),{data:s,error:o})})}catch(n){if(re(n))return{data:null,error:n};throw n}})}async _challenge(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var r;const{data:i,error:a}=n;return a?{data:null,error:a}:await oe(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(re(n))return{data:null,error:n};throw n}})}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?{data:null,error:r}:await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){const{data:{user:t},error:n}=await this.getUser();if(n)return{data:null,error:n};const r=(t==null?void 0:t.factors)||[],i=r.filter(a=>a.factor_type==="totp"&&a.status==="verified");return{data:{all:r,totp:i},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async t=>{var n,r;const{data:{session:i},error:a}=t;if(a)return{data:null,error:a};if(!i)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const s=this._decodeJWT(i.access_token);let o=null;s.aal&&(o=s.aal);let l=o;((r=(n=i.user.factors)===null||n===void 0?void 0:n.filter(d=>d.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(l="aal2");const c=s.amr||[];return{data:{currentLevel:o,nextLevel:l,currentAuthenticationMethods:c},error:null}}))}}rl.nextInstanceID=0;const oB=rl;class lB extends oB{constructor(t){super(t)}}var uB=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function o(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?a(c.value):i(c.value).then(o,l)}u((r=r.apply(e,t||[])).next())})};class cB{constructor(t,n,r){var i,a,s;if(this.supabaseUrl=t,this.supabaseKey=n,!t)throw new Error("supabaseUrl is required.");if(!n)throw new Error("supabaseKey is required.");const o=SO(t);this.realtimeUrl=`${o}/realtime/v1`.replace(/^http/i,"ws"),this.authUrl=`${o}/auth/v1`,this.storageUrl=`${o}/storage/v1`,this.functionsUrl=`${o}/functions/v1`;const l=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`,u={db:yO,realtime:xO,auth:Object.assign(Object.assign({},$O),{storageKey:l}),global:bO},c=CO(r??{},u);this.storageKey=(i=c.auth.storageKey)!==null&&i!==void 0?i:"",this.headers=(a=c.global.headers)!==null&&a!==void 0?a:{},this.auth=this._initSupabaseAuthClient((s=c.auth)!==null&&s!==void 0?s:{},this.headers,c.global.fetch),this.fetch=EO(n,this._getAccessToken.bind(this),c.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers},c.realtime)),this.rest=new Yy(`${o}/rest/v1`,{headers:this.headers,schema:c.db.schema,fetch:this.fetch}),this._listenForAuthEvents()}get functions(){return new MF(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new mO(this.storageUrl,this.headers,this.fetch)}from(t){return this.rest.from(t)}schema(t){return this.rest.schema(t)}rpc(t,n={},r={}){return this.rest.rpc(t,n,r)}channel(t,n={config:{}}){return this.realtime.channel(t,n)}getChannels(){return this.realtime.getChannels()}removeChannel(t){return this.realtime.removeChannel(t)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var t,n;return uB(this,void 0,void 0,function*(){const{data:r}=yield this.auth.getSession();return(n=(t=r.session)===null||t===void 0?void 0:t.access_token)!==null&&n!==void 0?n:null})}_initSupabaseAuthClient({autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:i,storageKey:a,flowType:s,debug:o},l,u){var c;const d={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new lB({url:this.authUrl,headers:Object.assign(Object.assign({},d),l),storageKey:a,autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:i,flowType:s,debug:o,fetch:u,hasCustomAuthorizationHeader:(c="Authorization"in this.headers)!==null&&c!==void 0?c:!1})}_initRealtimeClient(t){return new nO(this.realtimeUrl,Object.assign(Object.assign({},t),{params:Object.assign({apikey:this.supabaseKey},t==null?void 0:t.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((n,r)=>{this._handleTokenChanged(n,"CLIENT",r==null?void 0:r.access_token)})}_handleTokenChanged(t,n,r){(t==="TOKEN_REFRESHED"||t==="SIGNED_IN")&&this.changedAccessToken!==r?(this.realtime.setAuth(r??null),this.changedAccessToken=r):t==="SIGNED_OUT"&&(this.realtime.setAuth(this.supabaseKey),n=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const dB=(e,t,n)=>new cB(e,t,n);function ne(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var Z={};ne(Z,"focus-ring",()=>mm,e=>mm=e);ne(Z,"i18nFontFamily",()=>Oc,e=>Oc=e);ne(Z,"is-active",()=>gm,e=>gm=e);ne(Z,"is-disabled",()=>vm,e=>vm=e);ne(Z,"is-focused",()=>bm,e=>bm=e);ne(Z,"is-hovered",()=>ym,e=>ym=e);ne(Z,"is-open",()=>$m,e=>$m=e);ne(Z,"is-placeholder",()=>xm,e=>xm=e);ne(Z,"is-selected",()=>wm,e=>wm=e);ne(Z,"spectrum-BaseButton",()=>ai,e=>ai=e);ne(Z,"spectrum-FocusRing-ring",()=>Bc,e=>Bc=e);ne(Z,"spectrum-FocusRing",()=>si,e=>si=e);ne(Z,"spectrum-ActionButton",()=>Dm,e=>Dm=e);ne(Z,"spectrum-ActionButton--emphasized",()=>_m,e=>_m=e);ne(Z,"spectrum-ActionButton--quiet",()=>Em,e=>Em=e);ne(Z,"spectrum-ActionButton--staticBlack",()=>Sm,e=>Sm=e);ne(Z,"spectrum-ActionButton--staticColor",()=>Cm,e=>Cm=e);ne(Z,"spectrum-ActionButton--staticWhite",()=>km,e=>km=e);ne(Z,"spectrum-ActionButton-hold",()=>Pm,e=>Pm=e);ne(Z,"spectrum-ActionButton-label",()=>Tm,e=>Tm=e);ne(Z,"spectrum-ActionGroup-itemIcon",()=>Rm,e=>Rm=e);ne(Z,"spectrum-Button",()=>Mm,e=>Mm=e);ne(Z,"spectrum-Button--iconOnly",()=>Am,e=>Am=e);ne(Z,"spectrum-Button--overBackground",()=>Fm,e=>Fm=e);ne(Z,"spectrum-Button--pending",()=>Om,e=>Om=e);ne(Z,"spectrum-Button-circleLoader",()=>Bm,e=>Bm=e);ne(Z,"spectrum-Button-label",()=>Im,e=>Im=e);ne(Z,"spectrum-ClearButton",()=>Lm,e=>Lm=e);ne(Z,"spectrum-ClearButton--overBackground",()=>Nm,e=>Nm=e);ne(Z,"spectrum-ClearButton--small",()=>jm,e=>jm=e);ne(Z,"spectrum-FieldButton",()=>zm,e=>zm=e);ne(Z,"spectrum-FieldButton--invalid",()=>Vm,e=>Vm=e);ne(Z,"spectrum-FocusRing--quiet",()=>Ic,e=>Ic=e);ne(Z,"spectrum-FieldButton--quiet",()=>Wm,e=>Wm=e);ne(Z,"spectrum-Icon",()=>Um,e=>Um=e);ne(Z,"spectrum-LogicButton",()=>Hm,e=>Hm=e);ne(Z,"spectrum-LogicButton--and",()=>Km,e=>Km=e);ne(Z,"spectrum-LogicButton--or",()=>Ym,e=>Ym=e);var mm,Oc,gm,vm,bm,ym,$m,xm,wm,ai,Bc,si,Dm,_m,Em,Sm,Cm,km,Pm,Tm,Rm,Mm,Am,Fm,Om,Bm,Im,Lm,Nm,jm,zm,Vm,Ic,Wm,Um,Hm,Km,Ym;mm="Dniwja_focus-ring";Oc="Dniwja_i18nFontFamily";gm="Dniwja_is-active";vm="Dniwja_is-disabled";bm="Dniwja_is-focused";ym="Dniwja_is-hovered";$m="Dniwja_is-open";xm="Dniwja_is-placeholder";wm="Dniwja_is-selected";ai=`Dniwja_spectrum-BaseButton ${Oc}`;Bc="Dniwja_spectrum-FocusRing-ring";si=`Dniwja_spectrum-FocusRing ${Bc}`;Dm=`Dniwja_spectrum-ActionButton ${ai} ${si}`;_m="Dniwja_spectrum-ActionButton--emphasized";Em="Dniwja_spectrum-ActionButton--quiet";Sm="Dniwja_spectrum-ActionButton--staticBlack";Cm="Dniwja_spectrum-ActionButton--staticColor";km="Dniwja_spectrum-ActionButton--staticWhite";Pm="Dniwja_spectrum-ActionButton-hold";Tm="Dniwja_spectrum-ActionButton-label";Rm="Dniwja_spectrum-ActionGroup-itemIcon";Mm=`Dniwja_spectrum-Button ${ai} ${si}`;Am="Dniwja_spectrum-Button--iconOnly";Fm="Dniwja_spectrum-Button--overBackground";Om="Dniwja_spectrum-Button--pending";Bm="Dniwja_spectrum-Button-circleLoader";Im="Dniwja_spectrum-Button-label";Lm=`Dniwja_spectrum-ClearButton ${ai} ${si}`;Nm="Dniwja_spectrum-ClearButton--overBackground";jm="Dniwja_spectrum-ClearButton--small";zm=`Dniwja_spectrum-FieldButton ${ai} ${si}`;Vm="Dniwja_spectrum-FieldButton--invalid";Ic="Dniwja_spectrum-FocusRing--quiet";Wm=`Dniwja_spectrum-FieldButton--quiet ${Ic}`;Um="Dniwja_spectrum-Icon";Hm=`Dniwja_spectrum-LogicButton ${ai} ${si}`;Km="Dniwja_spectrum-LogicButton--and";Ym="Dniwja_spectrum-LogicButton--or";function U_(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=U_(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function gf(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=U_(e))&&(r&&(r+=" "),r+=t);return r}let su=!1;function V(e,...t){let n=[];for(let r of t)if(typeof r=="object"&&r){let i={};for(let a in r)e[a]&&(i[e[a]]=r[a]),e[a]||(i[a]=r[a]);n.push(i)}else typeof r=="string"?(e[r]&&n.push(e[r]),e[r]||n.push(r)):n.push(r);return gf(...n)}const Lc={prefix:String(Math.round(Math.random()*1e10)),current:0},H_=_.createContext(Lc),fB=_.createContext(!1);let hB=!!(typeof window<"u"&&window.document&&window.document.createElement),yh=new WeakMap;function pB(e=!1){let t=y.useContext(H_),n=y.useRef(null);if(n.current===null&&!e){var r,i;let a=(i=_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(a){let s=yh.get(a);s==null?yh.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==s.state&&(t.current=s.id,yh.delete(a))}n.current=++t.current}return n.current}function mB(e){let t=y.useContext(H_);t===Lc&&!hB&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=pB(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function gB(e){let t=_.useId(),[n]=y.useState(ca()),r=n?"react-aria":`react-aria${Lc.prefix}`;return e||`${r}-${t}`}const vB=typeof _.useId=="function"?gB:mB;function bB(){return!1}function yB(){return!0}function $B(e){return()=>{}}function ca(){return typeof _.useSyncExternalStore=="function"?_.useSyncExternalStore($B,bB,yB):y.useContext(fB)}function qm(e){let t=typeof window<"u"&&typeof window.matchMedia=="function",[n,r]=y.useState(()=>t?window.matchMedia(e).matches:!1);return y.useEffect(()=>{if(!t)return;let a=window.matchMedia(e),s=o=>{r(o.matches)};return a.addListener(s),()=>{a.removeListener(s)}},[t,e]),ca()?!1:n}function vf(e){return{UNSAFE_getDOMNode(){return e.current}}}function xB(e,t=e){return{...vf(e),focus(){t.current&&t.current.focus()}}}function In(e){let t=y.useRef(null);return y.useImperativeHandle(e,()=>vf(t)),t}function K_(e,t){let n=y.useRef(null);return y.useImperativeHandle(e,()=>xB(n,t)),n}function ou(e){return{get current(){return e.current&&e.current.UNSAFE_getDOMNode()}}}const Xy=_.createContext(null);Xy.displayName="BreakpointContext";function wB(e){let{children:t,matchedBreakpoints:n}=e;return _.createElement(Xy.Provider,{value:{matchedBreakpoints:n}},t)}function DB(e){let t=Object.entries(e).sort(([,l],[,u])=>u-l),n=t.map(([,l])=>`(min-width: ${l}px)`),r=typeof window<"u"&&typeof window.matchMedia=="function",i=()=>{let l=[];for(let u in n){let c=n[u];window.matchMedia(c).matches&&l.push(t[u][0])}return l.push("base"),l},[a,s]=y.useState(()=>r?i():["base"]);return y.useEffect(()=>{if(!r)return;let l=()=>{const u=i();s(c=>c.length!==u.length||c.some((d,f)=>d!==u[f])?[...u]:c)};return window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)}},[r]),ca()?["base"]:a}function Y_(){return y.useContext(Xy)}const _B=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),EB=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function q_(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return _B.has(n.script)}let t=e.split("-")[0];return EB.has(t)}const SB=Symbol.for("react-aria.i18n.locale");function G_(){let e=typeof window<"u"&&window[SB]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:q_(e)?"rtl":"ltr"}}let Gm=G_(),lo=new Set;function y2(){Gm=G_();for(let e of lo)e(Gm)}function Z_(){let e=ca(),[t,n]=y.useState(Gm);return y.useEffect(()=>(lo.size===0&&window.addEventListener("languagechange",y2),lo.add(n),()=>{lo.delete(n),lo.size===0&&window.removeEventListener("languagechange",y2)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const X_=_.createContext(null);function CB(e){let{locale:t,children:n}=e,r=Z_(),i=_.useMemo(()=>t?{locale:t,direction:q_(t)?"rtl":"ltr"}:r,[r,t]);return _.createElement(X_.Provider,{value:i},n)}function Qe(){let e=Z_();return y.useContext(X_)||e}const kB=Symbol.for("react-aria.i18n.locale"),PB=Symbol.for("react-aria.i18n.strings");let xa;class hi{getStringForLocale(t,n){let i=this.getStringsForLocale(n)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${n} locale`);return i}getStringsForLocale(t){let n=this.strings[t];return n||(n=TB(t,this.strings,this.defaultLocale),this.strings[t]=n),n}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let n=window[kB];if(xa===void 0){let i=window[PB];if(!i)return null;xa={};for(let a in i)xa[a]=new hi({[n]:i[a]},n)}let r=xa==null?void 0:xa[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(t,n="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=n}}function TB(e,t,n="en-US"){if(t[e])return t[e];let r=RB(e);if(t[r])return t[r];for(let i in t)if(i.startsWith(r+"-"))return t[i];return t[n]}function RB(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const $2=new Map,x2=new Map;class Q_{format(t,n){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(n,this):r}plural(t,n,r="cardinal"){let i=n["="+t];if(i)return typeof i=="function"?i():i;let a=this.locale+":"+r,s=$2.get(a);s||(s=new Intl.PluralRules(this.locale,{type:r}),$2.set(a,s));let o=s.select(t);return i=n[o]||n.other,typeof i=="function"?i():i}number(t){let n=x2.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),x2.set(this.locale,n)),n.format(t)}select(t,n){let r=t[n]||t.other;return typeof r=="function"?r():r}constructor(t,n){this.locale=t,this.strings=n}}const w2=new WeakMap;function MB(e){let t=w2.get(e);return t||(t=new hi(e),w2.set(e,t)),t}function J_(e,t){return t&&hi.getGlobalDictionaryForPackage(t)||MB(e)}function _n(e,t){let{locale:n}=Qe(),r=J_(e,t);return y.useMemo(()=>new Q_(n,r),[n,r])}function ts(e,t){return e-t*Math.floor(e/t)}const e8=1721426;function Ni(e,t,n,r){t=Tl(e,t);let i=t-1,a=-2;return n<=2?a=0:Vr(t)&&(a=-1),e8-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function Vr(e){return e%4===0&&(e%100!==0||e%400===0)}function Tl(e,t){return e==="BC"?1-t:t}function bf(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const AB={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class At{fromJulianDay(t){let n=t,r=n-e8,i=Math.floor(r/146097),a=ts(r,146097),s=Math.floor(a/36524),o=ts(a,36524),l=Math.floor(o/1461),u=ts(o,1461),c=Math.floor(u/365),d=i*400+s*100+l*4+c+(s!==4&&c!==4?1:0),[f,h]=bf(d),p=n-Ni(f,h,1,1),g=2;n<Ni(f,h,3,1)?g=0:Vr(h)&&(g=1);let b=Math.floor(((p+g)*12+373)/367),v=n-Ni(f,h,b,1)+1;return new Je(f,h,b,v)}toJulianDay(t){return Ni(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return AB[Vr(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return Vr(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const FB={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Ze(e,t){return t=Oe(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function D2(e,t){return t=Oe(t,e.calendar),e=Ji(e),t=Ji(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function Zm(e,t){return e.calendar.identifier===t.calendar.identifier&&e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function t8(e,t){return Ze(e,Rl(t))}function yf(e,t){let n=e.calendar.toJulianDay(e),r=Math.ceil(n+1-jB(t))%7;return r<0&&(r+=7),r}function n8(e){return dr(Date.now(),e)}function Rl(e){return Zt(n8(e))}function r8(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function i8(e,t){return _2(e)-_2(t)}function _2(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let $h=null;function $f(){return $h==null&&($h=new Intl.DateTimeFormat().resolvedOptions().timeZone),$h}function Ji(e){return e.subtract({days:e.day-1})}function Nc(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function OB(e){return Ji(e.subtract({months:e.month-1}))}function BB(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function IB(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function il(e,t){let n=yf(e,t);return e.subtract({days:n})}function LB(e,t){return il(e,t).add({days:6})}const E2=new Map;function NB(e){if(Intl.Locale){let n=E2.get(e);return n||(n=new Intl.Locale(e).maximize().region,n&&E2.set(e,n)),n}let t=e.split("-")[1];return t==="u"?void 0:t}function jB(e){let t=NB(e);return t&&FB[t]||0}function zB(e,t){let n=e.calendar.getDaysInMonth(e);return Math.ceil((yf(Ji(e),t)+n)/7)}function Qy(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function Jy(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function ys(e){e=Oe(e,new At);let t=Tl(e.era,e.year);return a8(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function a8(e,t,n,r,i,a,s){let o=new Date;return o.setUTCHours(r,i,a,s),o.setUTCFullYear(e,t-1,n),o.getTime()}function Xm(e,t){if(t==="UTC")return 0;if(e>0&&t===$f())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:s,second:o}=s8(e,t);return a8(n,r,i,a,s,o,0)-Math.floor(e/1e3)*1e3}const S2=new Map;function s8(e,t){let n=S2.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),S2.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let a of r)a.type!=="literal"&&(i[a.type]=a.value);return{year:i.era==="BC"||i.era==="B"?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour==="24"?0:+i.hour,minute:+i.minute,second:+i.second}}const C2=864e5;function VB(e,t,n,r){return(n===r?[n]:[n,r]).filter(a=>WB(e,t,a))}function WB(e,t,n){let r=s8(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function lr(e,t,n="compatible"){let r=Gn(e);if(t==="UTC")return ys(r);if(t===$f()&&n==="compatible"){r=Oe(r,new At);let l=new Date,u=Tl(r.era,r.year);return l.setFullYear(u,r.month-1,r.day),l.setHours(r.hour,r.minute,r.second,r.millisecond),l.getTime()}let i=ys(r),a=Xm(i-C2,t),s=Xm(i+C2,t),o=VB(r,t,i-a,i-s);if(o.length===1)return o[0];if(o.length>1)switch(n){case"compatible":case"earlier":return o[0];case"later":return o[o.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(i-a,i-s);case"compatible":case"later":return Math.max(i-a,i-s);case"reject":throw new RangeError("No such absolute time found")}}function o8(e,t,n="compatible"){return new Date(lr(e,t,n))}function dr(e,t){let n=Xm(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,s=r.getUTCDate(),o=r.getUTCHours(),l=r.getUTCMinutes(),u=r.getUTCSeconds(),c=r.getUTCMilliseconds();return new sl(i,a,s,t,n,o,l,u,c)}function Zt(e){return new Je(e.calendar,e.era,e.year,e.month,e.day)}function Gn(e,t){let n=0,r=0,i=0,a=0;if("timeZone"in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new jc(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function k2(e){return new Al(e.hour,e.minute,e.second,e.millisecond)}function Oe(e,t){if(e.calendar.identifier===t.identifier)return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,ea(r),r}function l8(e,t,n){if(e instanceof sl)return e.timeZone===t?e:HB(e,t);let r=lr(e,t,n);return dr(r,t)}function UB(e){let t=ys(e)-e.offset;return new Date(t)}function HB(e,t){let n=ys(e)-e.offset;return Oe(dr(n,t),e.calendar)}const Vs=36e5;function xf(e,t){let n=e.copy(),r="hour"in n?f8(n,t):0;Qm(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,Jm(n),u8(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,KB(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a,s;let l=(a=(s=n.calendar).isInverseEra)===null||a===void 0?void 0:a.call(s,n);n.year=i,n.month=l?1:n.calendar.getMonthsInYear(n),n.day=l?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function Qm(e,t){var n,r;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function Jm(e){for(;e.month<1;)Qm(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Qm(e,1)}function KB(e){for(;e.day<1;)e.month--,Jm(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Jm(e)}function u8(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function ea(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),u8(e)}function e$(e){let t={};for(let n in e)typeof e[n]=="number"&&(t[n]=-e[n]);return t}function c8(e,t){return xf(e,e$(t))}function t$(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),ea(n),n}function al(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),d8(n),n}function YB(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=lu(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=lu(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=lu(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=lu(e.hour,24),t}function d8(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function lu(e,t){let n=e%t;return n<0&&(n+=t),n}function f8(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,YB(e)}function h8(e,t){let n=e.copy();return f8(n,t),n}function qB(e,t){return h8(e,e$(t))}function n$(e,t,n,r){let i=e.copy();switch(t){case"era":{let o=e.calendar.getEras(),l=o.indexOf(e.era);if(l<0)throw new Error("Invalid era: "+e.era);l=fr(l,n,0,o.length-1,r==null?void 0:r.round),i.era=o[l],ea(i);break}case"year":var a,s;!((a=(s=i.calendar).isInverseEra)===null||a===void 0)&&a.call(s,i)&&(n=-n),i.year=fr(e.year,n,-1/0,9999,r==null?void 0:r.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case"month":i.month=fr(e.month,n,1,e.calendar.getMonthsInYear(e),r==null?void 0:r.round);break;case"day":i.day=fr(e.day,n,1,e.calendar.getDaysInMonth(e),r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),ea(i),i}function r$(e,t,n,r){let i=e.copy();switch(t){case"hour":{let a=e.hour,s=0,o=23;if((r==null?void 0:r.hourCycle)===12){let l=a>=12;s=l?12:0,o=l?23:11}i.hour=fr(a,n,s,o,r==null?void 0:r.round);break}case"minute":i.minute=fr(e.minute,n,0,59,r==null?void 0:r.round);break;case"second":i.second=fr(e.second,n,0,59,r==null?void 0:r.round);break;case"millisecond":i.millisecond=fr(e.millisecond,n,0,999,r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return i}function fr(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function p8(e,t){let n;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let i=xf(Gn(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=lr(i,e.timeZone)}else n=ys(e)-e.offset;n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5;let r=dr(n,e.timeZone);return Oe(r,e.calendar)}function GB(e,t){return p8(e,e$(t))}function ZB(e,t,n,r){switch(t){case"hour":{let i=0,a=23;if((r==null?void 0:r.hourCycle)===12){let p=e.hour>=12;i=p?12:0,a=p?23:11}let s=Gn(e),o=Oe(al(s,{hour:i}),new At),l=[lr(o,e.timeZone,"earlier"),lr(o,e.timeZone,"later")].filter(p=>dr(p,e.timeZone).day===o.day)[0],u=Oe(al(s,{hour:a}),new At),c=[lr(u,e.timeZone,"earlier"),lr(u,e.timeZone,"later")].filter(p=>dr(p,e.timeZone).day===u.day).pop(),d=ys(e)-e.offset,f=Math.floor(d/Vs),h=d%Vs;return d=fr(f,n,Math.floor(l/Vs),Math.floor(c/Vs),r==null?void 0:r.round)*Vs+h,Oe(dr(d,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return r$(e,t,n,r);case"era":case"year":case"month":case"day":{let i=n$(Gn(e),t,n,r),a=lr(i,e.timeZone);return Oe(dr(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function XB(e,t,n){let r=Gn(e),i=al(t$(r,t),t);if(i.compare(r)===0)return e;let a=lr(i,e.timeZone,n);return Oe(dr(a,e.timeZone),e.calendar)}function m8(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function g8(e){let t=Oe(e,new At);return`${String(t.year).padStart(4,"0")}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function v8(e){return`${g8(e)}T${m8(e)}`}function QB(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let n=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}function JB(e){return`${v8(e)}${QB(e.offset)}[${e.timeZone}]`}function eI(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ml(e,t,n){eI(e,t),t.set(e,n)}function i$(e){let t=typeof e[0]=="object"?e.shift():new At,n;if(typeof e[0]=="string")n=e.shift();else{let s=t.getEras();n=s[s.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var tI=new WeakMap;class Je{copy(){return this.era?new Je(this.calendar,this.era,this.year,this.month,this.day):new Je(this.calendar,this.year,this.month,this.day)}add(t){return xf(this,t)}subtract(t){return c8(this,t)}set(t){return t$(this,t)}cycle(t,n,r){return n$(this,t,n,r)}toDate(t){return o8(this,t)}toString(){return g8(this)}compare(t){return r8(this,t)}constructor(...t){Ml(this,tI,{writable:!0,value:void 0});let[n,r,i,a,s]=i$(t);this.calendar=n,this.era=r,this.year=i,this.month=a,this.day=s,ea(this)}}var nI=new WeakMap;class Al{copy(){return new Al(this.hour,this.minute,this.second,this.millisecond)}add(t){return h8(this,t)}subtract(t){return qB(this,t)}set(t){return al(this,t)}cycle(t,n,r){return r$(this,t,n,r)}toString(){return m8(this)}compare(t){return i8(this,t)}constructor(t=0,n=0,r=0,i=0){Ml(this,nI,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=r,this.millisecond=i,d8(this)}}var rI=new WeakMap;class jc{copy(){return this.era?new jc(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new jc(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return xf(this,t)}subtract(t){return c8(this,t)}set(t){return t$(al(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return n$(this,t,n,r);default:return r$(this,t,n,r)}}toDate(t,n){return o8(this,t,n)}toString(){return v8(this)}compare(t){let n=r8(this,t);return n===0?i8(this,Gn(t)):n}constructor(...t){Ml(this,rI,{writable:!0,value:void 0});let[n,r,i,a,s]=i$(t);this.calendar=n,this.era=r,this.year=i,this.month=a,this.day=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,ea(this)}}var iI=new WeakMap;class sl{copy(){return this.era?new sl(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new sl(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return p8(this,t)}subtract(t){return GB(this,t)}set(t,n){return XB(this,t,n)}cycle(t,n,r){return ZB(this,t,n,r)}toDate(){return UB(this)}toString(){return JB(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-l8(t,this.timeZone).toDate().getTime()}constructor(...t){Ml(this,iI,{writable:!0,value:void 0});let[n,r,i,a,s]=i$(t),o=t.shift(),l=t.shift();this.calendar=n,this.era=r,this.year=i,this.month=a,this.day=s,this.timeZone=o,this.offset=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,ea(this)}}const ns=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],aI=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Qu=[1867,1911,1925,1988,2018],Or=["meiji","taisho","showa","heisei","reiwa"];function P2(e){const t=ns.findIndex(([n,r,i])=>e.year<n||e.year===n&&e.month<r||e.year===n&&e.month===r&&e.day<i);return t===-1?ns.length-1:t===0?0:t-1}function xh(e){let t=Qu[Or.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Je(e.year+t,e.month,e.day)}class sI extends At{fromJulianDay(t){let n=super.fromJulianDay(t),r=P2(n);return new Je(this,Or[r],n.year-Qu[r],n.month,n.day)}toJulianDay(t){return super.toJulianDay(xh(t))}balanceDate(t){let n=xh(t),r=P2(n);Or[r]!==t.era&&(t.era=Or[r],t.year=n.year-Qu[r]),this.constrainDate(t)}constrainDate(t){let n=Or.indexOf(t.era),r=aI[n];if(r!=null){let[i,a,s]=r,o=i-Qu[n];t.year=Math.max(1,Math.min(o,t.year)),t.year===o&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(s,t.day)))}if(t.year===1&&n>=0){let[,i,a]=ns[n];t.month=Math.max(i,t.month),t.month===i&&(t.day=Math.max(a,t.day))}}getEras(){return Or}getYearsInEra(t){let n=Or.indexOf(t.era),r=ns[n],i=ns[n+1];if(i==null)return 9999-r[0]+1;let a=i[0]-r[0];return(t.month<i[1]||t.month===i[1]&&t.day<i[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(xh(t))}getMinimumMonthInYear(t){let n=T2(t);return n?n[1]:1}getMinimumDayInMonth(t){let n=T2(t);return n&&t.month===n[1]?n[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function T2(e){if(e.year===1){let t=Or.indexOf(e.era);return ns[t]}}const b8=-543;class oI extends At{fromJulianDay(t){let n=super.fromJulianDay(t),r=Tl(n.era,n.year);return new Je(this,r-b8,n.month,n.day)}toJulianDay(t){return super.toJulianDay(R2(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(R2(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function R2(e){let[t,n]=bf(e.year+b8);return new Je(t,n,e.month,e.day)}const zc=1911;function y8(e){return e.era==="minguo"?e.year+zc:1-e.year+zc}function M2(e){let t=e-zc;return t>0?["minguo",t]:["before_minguo",1-t]}class lI extends At{fromJulianDay(t){let n=super.fromJulianDay(t),r=Tl(n.era,n.year),[i,a]=M2(r);return new Je(this,i,a,n.month,n.day)}toJulianDay(t){return super.toJulianDay(A2(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[n,r]=M2(y8(t));t.era=n,t.year=r}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(A2(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-zc}constructor(...t){super(...t),this.identifier="roc"}}function A2(e){let[t,n]=bf(y8(e));return new Je(t,n,e.month,e.day)}const F2=1948320,O2=[0,31,62,93,124,155,186,216,246,276,306,336];class uI{fromJulianDay(t){let n=t-F2,r=1+Math.floor((33*n+3)/12053),i=365*(r-1)+Math.floor((8*r+21)/33),a=n-i,s=a<216?Math.floor(a/31):Math.floor((a-6)/30),o=a-O2[s]+1;return new Je(this,r,s+1,o)}toJulianDay(t){let n=F2-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return n+=O2[t.month-1],n+=t.day,n}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||ts(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const wh=78,B2=80;class cI extends At{fromJulianDay(t){let n=super.fromJulianDay(t),r=n.year-wh,i=t-Ni(n.era,n.year,1,1),a;i<B2?(r--,a=Vr(n.year-1)?31:30,i+=a+155+90+10):(a=Vr(n.year)?31:30,i-=B2);let s,o;if(i<a)s=1,o=i+1;else{let l=i-a;l<155?(s=Math.floor(l/31)+2,o=l%31+1):(l-=155,s=Math.floor(l/30)+7,o=l%30+1)}return new Je(this,r,s,o)}toJulianDay(t){let n=t.year+wh,[r,i]=bf(n),a,s;return Vr(i)?(a=31,s=Ni(r,i,3,21)):(a=30,s=Ni(r,i,3,22)),t.month===1?s+t.day-1:(s+=a+Math.min(t.month-2,5)*31,t.month>=8&&(s+=(t.month-7)*30),s+=t.day-1,s)}getDaysInMonth(t){return t.month===1&&Vr(t.year+wh)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const Vc=1948440,I2=1948439,pn=1300,wa=1600,dI=460322;function Wc(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function $8(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),i=Math.min(12,Math.ceil((n-(29+Wc(t,r,1,1)))/29.5)+1),a=n-Wc(t,r,i,1)+1;return new Je(e,r,i,a)}function L2(e){return(14+11*e)%30<11}class a${fromJulianDay(t){return $8(this,Vc,t)}toJulianDay(t){return Wc(Vc,t.year,t.month,t.day)}getDaysInMonth(t){let n=29+t.month%2;return t.month===12&&L2(t.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(t){return L2(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class fI extends a${fromJulianDay(t){return $8(this,I2,t)}toJulianDay(t){return Wc(I2,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const hI="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let e0,rs;function Ju(e){return dI+rs[e-pn]}function uo(e,t){let n=e-pn,r=1<<11-(t-1);return e0[n]&r?30:29}function N2(e,t){let n=Ju(e);for(let r=1;r<t;r++)n+=uo(e,r);return n}function j2(e){return rs[e+1-pn]-rs[e-pn]}class pI extends a${fromJulianDay(t){let n=t-Vc,r=Ju(pn),i=Ju(wa);if(n<r||n>i)return super.fromJulianDay(t);{let a=pn-1,s=1,o=1;for(;o>0;){a++,o=n-Ju(a)+1;let l=j2(a);if(o===l){s=12;break}else if(o<l){let u=uo(a,s);for(s=1;o>u;)o-=u,s++,u=uo(a,s);break}}return new Je(this,a,s,n-N2(a,s)+1)}}toJulianDay(t){return t.year<pn||t.year>wa?super.toJulianDay(t):Vc+N2(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<pn||t.year>wa?super.getDaysInMonth(t):uo(t.year,t.month)}getDaysInYear(t){return t.year<pn||t.year>wa?super.getDaysInYear(t):j2(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",e0||(e0=new Uint16Array(Uint8Array.from(atob(hI),t=>t.charCodeAt(0)).buffer)),!rs){rs=new Uint32Array(wa-pn+1);let t=0;for(let n=pn;n<=wa;n++){rs[n-pn]=t;for(let r=1;r<=12;r++)t+=uo(n,r)}}}}const z2=347997,x8=1080,w8=24*x8,mI=29,gI=12*x8+793,vI=mI*w8+gI;function Fi(e){return ts(e*7+1,19)<7}function ec(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return ts(3*(r+1),7)<3&&(r+=1),r}function bI(e){let t=ec(e-1),n=ec(e);return ec(e+1)-n===356?2:n-t===382?1:0}function To(e){return ec(e)+bI(e)}function D8(e){return To(e+1)-To(e)}function yI(e){let t=D8(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function uu(e,t){if(t>=6&&!Fi(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let n=yI(e);return t===2?n===2?30:29:t===3?n===0?29:30:t===6?Fi(e)?30:0:30}class $I{fromJulianDay(t){let n=t-z2,r=n*w8/vI,i=Math.floor((19*r+234)/235)+1,a=To(i),s=Math.floor(n-a);for(;s<1;)i--,a=To(i),s=Math.floor(n-a);let o=1,l=0;for(;l<s;)l+=uu(i,o),o++;o--,l-=uu(i,o);let u=s-l;return new Je(this,i,o,u)}toJulianDay(t){let n=To(t.year);for(let r=1;r<t.month;r++)n+=uu(t.year,r);return n+t.day+z2}getDaysInMonth(t){return uu(t.year,t.month)}getMonthsInYear(t){return Fi(t.year)?13:12}getDaysInYear(t){return D8(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,n){n.year!==t.year&&(Fi(n.year)&&!Fi(t.year)&&n.month>6?t.month--:!Fi(n.year)&&Fi(t.year)&&n.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const t0=1723856,V2=1824665,n0=5500;function Uc(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function s$(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-Uc(e,n,1,1))/30),i=t+1-Uc(e,n,r,1);return[n,r,i]}function _8(e){return Math.floor(e%4/3)}function E8(e,t){return t%13!==0?30:_8(e)+5}class o${fromJulianDay(t){let[n,r,i]=s$(t0,t),a="AM";return n<=0&&(a="AA",n+=n0),new Je(this,a,n,r,i)}toJulianDay(t){let n=t.year;return t.era==="AA"&&(n-=n0),Uc(t0,n,t.month,t.day)}getDaysInMonth(t){return E8(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+_8(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class xI extends o${fromJulianDay(t){let[n,r,i]=s$(t0,t);return n+=n0,new Je(this,"AA",n,r,i)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class wI extends o${fromJulianDay(t){let[n,r,i]=s$(V2,t),a="CE";return n<=0&&(a="BCE",n=1-n),new Je(this,a,n,r,i)}toJulianDay(t){let n=t.year;return t.era==="BCE"&&(n=1-n),Uc(V2,n,t.month,t.day)}getDaysInMonth(t){let n=t.year;return t.era==="BCE"&&(n=1-n),E8(n,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function S8(e){switch(e){case"buddhist":return new oI;case"ethiopic":return new o$;case"ethioaa":return new xI;case"coptic":return new wI;case"hebrew":return new $I;case"indian":return new cI;case"islamic-civil":return new a$;case"islamic-tbla":return new fI;case"islamic-umalqura":return new pI;case"japanese":return new sI;case"persian":return new uI;case"roc":return new lI;case"gregory":default:return new At}}let Dh=new Map;class ti{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(n)}`}formatRangeToParts(t,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.formatter.formatToParts(t),i=this.formatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return EI()&&(this.resolvedHourCycle||(this.resolvedHourCycle=SI(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,n={}){this.formatter=C8(t,n),this.options=n}}const DI={true:{ja:"h11"},false:{}};function C8(e,t={}){if(typeof t.hour12=="boolean"&&_I()){t={...t};let i=DI[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=i??a,delete t.hour12}let n=e+(t?Object.entries(t).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(Dh.has(n))return Dh.get(n);let r=new Intl.DateTimeFormat(e,t);return Dh.set(n,r),r}let _h=null;function _I(){return _h==null&&(_h=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),_h}let Eh=null;function EI(){return Eh==null&&(Eh=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Eh}function SI(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let n=C8(e,{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),i=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(r===0&&i===23)return"h23";if(r===24&&i===23)return"h24";if(r===0&&i===11)return"h11";if(r===12&&i===11)return"h12";throw new Error("Unexpected hour cycle result")}const he=typeof document<"u"?_.useLayoutEffect:()=>{};function pt(e){const t=y.useRef(null);return he(()=>{t.current=e},[e]),y.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}function k8(e){let[t,n]=y.useState(e),r=y.useRef(null),i=pt(()=>{if(!r.current)return;let s=r.current.next();if(s.done){r.current=null;return}t===s.value?i():n(s.value)});he(()=>{r.current&&i()});let a=pt(s=>{r.current=s(t),i()});return[t,a]}let CI=!!(typeof window<"u"&&window.document&&window.document.createElement),Hc=new Map;function Zn(e){let[t,n]=y.useState(e),r=y.useRef(null),i=vB(t),a=y.useCallback(s=>{r.current=s},[]);return CI&&Hc.set(i,a),he(()=>{let s=i;return()=>{Hc.delete(s)}},[i]),y.useEffect(()=>{let s=r.current;s&&(r.current=null,n(s))}),i}function kI(e,t){if(e===t)return e;let n=Hc.get(e);if(n)return n(t),t;let r=Hc.get(t);return r?(r(e),e):t}function Kc(e=[]){let t=Zn(),[n,r]=k8(t),i=y.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return he(i,[t,i,...e]),n}function ol(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const ye=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Rn=e=>e&&"window"in e&&e.window===e?e:ye(e).defaultView||window;function de(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let i in r){let a=t[i],s=r[i];typeof a=="function"&&typeof s=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?t[i]=ol(a,s):(i==="className"||i==="UNSAFE_className")&&typeof a=="string"&&typeof s=="string"?t[i]=gf(a,s):i==="id"&&a&&s?t.id=kI(a,s):t[i]=s!==void 0?s:a}}return t}function PI(...e){return e.length===1?e[0]:t=>{for(let n of e)typeof n=="function"?n(t):n!=null&&(n.current=t)}}const TI=new Set(["id"]),RI=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),MI=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),AI=/^(data-.*)$/;function Xt(e,t={}){let{labelable:n,isLink:r,propNames:i}=t,a={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(TI.has(s)||n&&RI.has(s)||r&&MI.has(s)||i!=null&&i.has(s)||AI.test(s))&&(a[s]=e[s]);return a}function Wr(e){if(FI())e.focus({preventScroll:!0});else{let t=OI(e);e.focus(),BI(t)}}let cu=null;function FI(){if(cu==null){cu=!1;try{document.createElement("div").focus({get preventScroll(){return cu=!0,!0}})}catch{}}return cu}function OI(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function BI(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function wf(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function l$(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function $s(){return l$(/^Mac/i)}function II(){return l$(/^iPhone/i)}function P8(){return l$(/^iPad/i)||$s()&&navigator.maxTouchPoints>1}function Df(){return II()||P8()}function T8(){return wf(/AppleWebKit/i)&&!LI()}function LI(){return wf(/Chrome/i)}function R8(){return wf(/Android/i)}function NI(){return wf(/Firefox/i)}const jI=y.createContext({isNative:!0,open:WI,useHref:e=>e});function zI(e){let{children:t,navigate:n,useHref:r}=e,i=y.useMemo(()=>({isNative:!1,open:(a,s,o,l)=>{M8(a,u=>{VI(u,s)?n(o,l):ta(u,s)})},useHref:r||(a=>a)}),[n,r]);return _.createElement(jI.Provider,{value:i},t)}function VI(e,t){let n=e.getAttribute("target");return(!n||n==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function ta(e,t,n=!0){var r,i;let{metaKey:a,ctrlKey:s,altKey:o,shiftKey:l}=t;NI()&&(!((i=window.event)===null||i===void 0||(r=i.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&($s()?a=!0:s=!0);let u=T8()&&$s()&&!P8()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:s,altKey:o,shiftKey:l}):new MouseEvent("click",{metaKey:a,ctrlKey:s,altKey:o,shiftKey:l,bubbles:!0,cancelable:!0});ta.isOpening=n,Wr(e),e.dispatchEvent(u),ta.isOpening=!1}ta.isOpening=!1;function M8(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function WI(e,t){M8(e,n=>ta(n,t))}let Ra=new Map,r0=new Set;function W2(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{if(!e(r)||!r.target)return;let i=Ra.get(r.target);i||(i=new Set,Ra.set(r.target,i),r.target.addEventListener("transitioncancel",n,{once:!0})),i.add(r.propertyName)},n=r=>{if(!e(r)||!r.target)return;let i=Ra.get(r.target);if(i&&(i.delete(r.propertyName),i.size===0&&(r.target.removeEventListener("transitioncancel",n),Ra.delete(r.target)),Ra.size===0)){for(let a of r0)a();r0.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?W2():document.addEventListener("DOMContentLoaded",W2));function A8(e){requestAnimationFrame(()=>{Ra.size===0?e():r0.add(e)})}function F8(){let e=y.useRef(new Map),t=y.useCallback((i,a,s,o)=>{let l=o!=null&&o.once?(...u)=>{e.current.delete(s),s(...u)}:s;e.current.set(s,{type:a,eventTarget:i,fn:l,options:o}),i.addEventListener(a,s,o)},[]),n=y.useCallback((i,a,s,o)=>{var l;let u=((l=e.current.get(s))===null||l===void 0?void 0:l.fn)||s;i.removeEventListener(a,u,o),e.current.delete(s)},[]),r=y.useCallback(()=>{e.current.forEach((i,a)=>{n(i.eventTarget,i.type,a,i.options)})},[n]);return y.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Fl(e,t){let{id:n,"aria-label":r,"aria-labelledby":i}=e;return n=Zn(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":i}}function UI(e){const t=y.useRef(null);return y.useMemo(()=>({get current(){return t.current},set current(n){t.current=n,typeof e=="function"?e(n):e&&(e.current=n)}}),[e])}function U2(e,t){const n=y.useRef(!0),r=y.useRef(null);y.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),y.useEffect(()=>{n.current?n.current=!1:(!r.current||t.some((i,a)=>!Object.is(i,r[a])))&&e(),r.current=t},t)}function HI(){return typeof window.ResizeObserver<"u"}function O8(e){const{ref:t,onResize:n}=e;y.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(HI()){const i=new window.ResizeObserver(a=>{a.length&&n()});return i.observe(r),()=>{r&&i.unobserve(r)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,t])}function u$(e,t){he(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function i0(e,t){let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function _f(e,t){let n=e;for(i0(n,t)&&(n=n.parentElement);n&&!i0(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function KI(e,t){const n=[];for(;e&&e!==document.documentElement;)i0(e,t)&&n.push(e),e=e.parentElement;return n}let mn=typeof document<"u"&&window.visualViewport;function B8(){let e=ca(),[t,n]=y.useState(()=>e?{width:0,height:0}:H2());return y.useEffect(()=>{let r=()=>{n(i=>{let a=H2();return a.width===i.width&&a.height===i.height?i:a})};return mn?mn.addEventListener("resize",r):window.addEventListener("resize",r),()=>{mn?mn.removeEventListener("resize",r):window.removeEventListener("resize",r)}},[]),t}function H2(){return{width:mn&&(mn==null?void 0:mn.width)||window.innerWidth,height:mn&&(mn==null?void 0:mn.height)||window.innerHeight}}let YI=0;const Sh=new Map;function c$(e){let[t,n]=y.useState();return he(()=>{if(!e)return;let r=Sh.get(e);if(r)n(r.element.id);else{let i=`react-aria-description-${YI++}`;n(i);let a=document.createElement("div");a.id=i,a.style.display="none",a.textContent=e,document.body.appendChild(a),r={refCount:0,element:a},Sh.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),Sh.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function is(e,t,n,r){let i=pt(n),a=n==null;y.useEffect(()=>{if(a||!e.current)return;let s=e.current;return s.addEventListener(t,i,r),()=>{s.removeEventListener(t,i,r)}},[e,t,r,a,i])}function qI(e,t){let n=K2(e,t,"left"),r=K2(e,t,"top"),i=t.offsetWidth,a=t.offsetHeight,s=e.scrollLeft,o=e.scrollTop,{borderTopWidth:l,borderLeftWidth:u}=getComputedStyle(e),c=e.scrollLeft+parseInt(u,10),d=e.scrollTop+parseInt(l,10),f=c+e.clientWidth,h=d+e.clientHeight;n<=s?s=n-parseInt(u,10):n+i>f&&(s+=n+i-f),r<=d?o=r-parseInt(l,10):r+a>h&&(o+=r+a-h),e.scrollLeft=s,e.scrollTop=o}function K2(e,t,n){const r=n==="left"?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[r];break}t=t.offsetParent}return i}function I8(e,t){if(document.contains(e)){let s=document.scrollingElement||document.documentElement;if(window.getComputedStyle(s).overflow==="hidden"){let l=KI(e);for(let u of l)qI(u,e)}else{var n;let{left:l,top:u}=e.getBoundingClientRect();e==null||(n=e.scrollIntoView)===null||n===void 0||n.call(e,{block:"nearest"});let{left:c,top:d}=e.getBoundingClientRect();if(Math.abs(l-c)>1||Math.abs(u-d)>1){var r,i,a;t==null||(i=t.containingElement)===null||i===void 0||(r=i.scrollIntoView)===null||r===void 0||r.call(i,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}}}function a0(e){return e.mozInputSource===0&&e.isTrusted?!0:R8()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function GI(e){return!R8()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function L8(e,t){let n=y.useRef(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function ZI(e,t,n){let r=y.useRef(t),i=pt(()=>{n&&n(r.current)});y.useEffect(()=>{var a;let s=e==null||(a=e.current)===null||a===void 0?void 0:a.form;return s==null||s.addEventListener("reset",i),()=>{s==null||s.removeEventListener("reset",i)}},[e,i])}function na(e,t,n){let[r,i]=y.useState(e||t),a=y.useRef(e!==void 0),s=e!==void 0;y.useEffect(()=>{let u=a.current;u!==s&&console.warn(`WARN: A component changed from ${u?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}.`),a.current=s},[s]);let o=s?e:r,l=y.useCallback((u,...c)=>{let d=(f,...h)=>{n&&(Object.is(o,f)||n(f,...h)),s||(o=f)};typeof u=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((h,...p)=>{let g=u(s?o:h,...p);return d(g,...c),s?h:g})):(s||i(u),d(u,...c))},[s,o,n]);return[o,l]}function s0(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function $n(e){e=L8(e??{},XI);let{locale:t}=Qe();return y.useMemo(()=>new ti(t,e),[t,e])}function XI(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n)if(t[i]!==e[i])return!1;return!0}let Ch=new Map,o0=!1;try{o0=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Yc=!1;try{Yc=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const N8={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class QI{format(t){let n="";if(!o0&&this.options.signDisplay!=null?n=eL(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!Yc){var r;let{unit:i,unitDisplay:a="short",locale:s}=this.resolvedOptions();if(!i)return n;let o=(r=N8[i])===null||r===void 0?void 0:r[a];n+=o[s]||o.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),i=this.numberFormatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!o0&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Yc&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=JI(t,n),this.options=n}}function JI(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!Yc){var r;let{unit:s,unitDisplay:o="short"}=t;if(!s)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=N8[s])===null||r===void 0)&&r[o]))throw new Error(`Unsupported unit ${s} with unitDisplay = ${o}`);t={...t,style:"decimal"}}let i=e+(t?Object.entries(t).sort((s,o)=>s[0]<o[0]?-1:1).join():"");if(Ch.has(i))return Ch.get(i);let a=new Intl.NumberFormat(e,t);return Ch.set(i,a),a}function eL(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let i=e.format(-n),a=e.format(n),s=i.replace(a,"").replace(/\u200e|\u061C/,"");return[...s].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),i.replace(a,"!!!").replace(s,"+").replace("!!!",a)}else return e.format(n)}}const tL=new RegExp("^.*\\(.*\\).*$"),nL=["latn","arab","hanidec"];class j8{parse(t){return kh(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return kh(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return kh(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const Y2=new Map;function kh(e,t,n){let r=q2(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let i of nL)if(i!==r.options.numberingSystem){let a=q2(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,t);if(a.isValidPartialNumber(n))return a}}return r}function q2(e,t){let n=e+(t?Object.entries(t).sort((i,a)=>i[0]<a[0]?-1:1).join():""),r=Y2.get(n);return r||(r=new rL(e,t),Y2.set(n,r)),r}class rL{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=du(n,this.symbols.group,"")),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,"-")),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let s=n.indexOf("-");n=n.replace("-","");let o=n.indexOf(".");o===-1&&(o=n.length),n=n.replace(".",""),o-2===0?n=`0.${n}`:o-2===-1?n=`0.0${n}`:o-2===-2?n="0.00":n=`${n.slice(0,o-2)}.${n.slice(o-2)}`,s>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var i,a;let s={...this.options,style:"decimal",minimumFractionDigits:Math.min(((i=this.options.minimumFractionDigits)!==null&&i!==void 0?i:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new j8(this.locale,s).parse(new QI(this.locale,s).format(r))}return this.options.currencySign==="accounting"&&tL.test(t)&&(r=-1*r),r}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=du(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&(t=du(t,"."," ")),t}isValidPartialNumber(t,n=-1/0,r=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=du(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,n={}){this.locale=t,this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=aL(t,this.formatter,this.options,n);var r,i;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const G2=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),iL=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function aL(e,t,n,r){var i,a,s,o;let l=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21}),u=l.formatToParts(-10000.111),c=l.formatToParts(10000.111),d=iL.map(P=>l.formatToParts(P));var f;let h=(f=(i=u.find(P=>P.type==="minusSign"))===null||i===void 0?void 0:i.value)!==null&&f!==void 0?f:"-",p=(a=c.find(P=>P.type==="plusSign"))===null||a===void 0?void 0:a.value;!p&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(p="+");let b=(s=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(P=>P.type==="decimal"))===null||s===void 0?void 0:s.value,v=(o=u.find(P=>P.type==="group"))===null||o===void 0?void 0:o.value,m=u.filter(P=>!G2.has(P.type)).map(P=>Z2(P.value)),$=d.flatMap(P=>P.filter(E=>!G2.has(E.type)).map(E=>Z2(E.value))),w=[...new Set([...m,...$])].sort((P,E)=>E.length-P.length),D=w.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${w.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),k=new Map(S.map((P,E)=>[P,E])),x=new RegExp(`[${S.join("")}]`,"g");return{minusSign:h,plusSign:p,decimal:b,group:v,literals:D,numeral:x,index:P=>String(k.get(P))}}function du(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Z2(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let Ph=new Map;function sL(e){let{locale:t}=Qe(),n=t+(e?Object.entries(e).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(Ph.has(n))return Ph.get(n);let r=new Intl.Collator(t,e);return Ph.set(n,r),r}function oL(e){let t=sL({usage:"search",...e}),n=y.useCallback((a,s)=>s.length===0?!0:(a=a.normalize("NFC"),s=s.normalize("NFC"),t.compare(a.slice(0,s.length),s)===0),[t]),r=y.useCallback((a,s)=>s.length===0?!0:(a=a.normalize("NFC"),s=s.normalize("NFC"),t.compare(a.slice(-s.length),s)===0),[t]),i=y.useCallback((a,s)=>{if(s.length===0)return!0;a=a.normalize("NFC"),s=s.normalize("NFC");let o=0,l=s.length;for(;o+l<=a.length;o++){let u=a.slice(o,o+l);if(t.compare(s,u)===0)return!0}return!1},[t]);return y.useMemo(()=>({startsWith:n,endsWith:r,contains:i}),[n,r,i])}const Ef={margin:["margin",le],marginStart:[Vt("marginLeft","marginRight"),le],marginEnd:[Vt("marginRight","marginLeft"),le],marginTop:["marginTop",le],marginBottom:["marginBottom",le],marginX:[["marginLeft","marginRight"],le],marginY:[["marginTop","marginBottom"],le],width:["width",le],height:["height",le],minWidth:["minWidth",le],minHeight:["minHeight",le],maxWidth:["maxWidth",le],maxHeight:["maxHeight",le],isHidden:["display",fL],alignSelf:["alignSelf",tt],justifySelf:["justifySelf",tt],position:["position",Rh],zIndex:["zIndex",Rh],top:["top",le],bottom:["bottom",le],start:[Vt("left","right"),le],end:[Vt("right","left"),le],left:["left",le],right:["right",le],order:["order",Rh],flex:["flex",hL],flexGrow:["flexGrow",tt],flexShrink:["flexShrink",tt],flexBasis:["flexBasis",tt],gridArea:["gridArea",tt],gridColumn:["gridColumn",tt],gridColumnEnd:["gridColumnEnd",tt],gridColumnStart:["gridColumnStart",tt],gridRow:["gridRow",tt],gridRowEnd:["gridRowEnd",tt],gridRowStart:["gridRowStart",tt]};({...Ef,borderStartWidth:Vt("borderLeftWidth","borderRightWidth"),borderEndWidth:Vt("borderRightWidth","borderLeftWidth"),borderStartColor:Vt("borderLeftColor","borderRightColor"),borderEndColor:Vt("borderRightColor","borderLeftColor"),borderTopStartRadius:Vt("borderTopLeftRadius","borderTopRightRadius"),borderTopEndRadius:Vt("borderTopRightRadius","borderTopLeftRadius"),borderBottomStartRadius:Vt("borderBottomLeftRadius","borderBottomRightRadius"),borderBottomEndRadius:Vt("borderBottomRightRadius","borderBottomLeftRadius"),paddingStart:Vt("paddingLeft","paddingRight"),paddingEnd:Vt("paddingRight","paddingLeft")});const X2={borderWidth:"borderStyle",borderLeftWidth:"borderLeftStyle",borderRightWidth:"borderRightStyle",borderTopWidth:"borderTopStyle",borderBottomWidth:"borderBottomStyle"};function Vt(e,t){return n=>n==="rtl"?t:e}const lL=/(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/,uL=/^\s*\w+\(/,cL=/(static-)?size-\d+|single-line-(height|width)/g;function le(e){if(typeof e=="number")return e+"px";if(e)return lL.test(e)?e:uL.test(e)?e.replace(cL,"var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))"):`var(--spectrum-global-dimension-${e}, var(--spectrum-alias-${e}))`}function Th(e,t){return e=d$(e,t),le(e)}function z8(e,t="default",n=5){return n>5?`var(--spectrum-${e}, var(--spectrum-semantic-${e}-color-${t}))`:`var(--spectrum-legacy-color-${e}, var(--spectrum-global-color-${e}, var(--spectrum-semantic-${e}-color-${t})))`}function dL(e,t=5){if(e)return`var(--spectrum-alias-background-color-${e}, ${z8(e,"background",t)})`}function Xn(e,t=5){if(e)return e==="default"?"var(--spectrum-alias-border-color)":`var(--spectrum-alias-border-color-${e}, ${z8(e,"border",t)})`}function Qn(e){return e&&e!=="none"?`var(--spectrum-alias-border-size-${e})`:"0"}function Jn(e){if(e)return`var(--spectrum-alias-border-radius-${e})`}function fL(e){return e?"none":void 0}function Rh(e){return e}function hL(e){return typeof e=="boolean"?e?"1":void 0:""+e}function pL(e,t,n,r){let i={};for(let a in e){let s=t[a];if(!s||e[a]==null)continue;let[o,l]=s;typeof o=="function"&&(o=o(n));let u=d$(e[a],r),c=l(u,e.colorVersion);if(Array.isArray(o))for(let d of o)i[d]=c;else i[o]=c}for(let a in X2)i[a]&&(i[X2[a]]="solid",i.boxSizing="border-box");return i}function st(e,t=Ef,n={}){let{UNSAFE_className:r,UNSAFE_style:i,...a}=e,s=Y_(),{direction:o}=Qe(),{matchedBreakpoints:l=(s==null?void 0:s.matchedBreakpoints)||["base"]}=n,u=pL(e,t,o,l),c={...i,...u};a.className&&console.warn("The className prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_className if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes."),a.style&&console.warn("The style prop is unsafe and is unsupported in React Spectrum v3. Please use style props with Spectrum variables, or UNSAFE_style if you absolutely must do something custom. Note that this may break in future versions due to DOM structure changes.");let d={style:c,className:r};return d$(e.isHidden,l)&&(d.hidden=!0),{styleProps:d}}function tt(e){return e}function d$(e,t){if(e&&typeof e=="object"&&!Array.isArray(e)){for(let n=0;n<t.length;n++){let r=t[n];if(e[r]!=null)return e[r]}return e.base}return e}let qc=_.createContext(null);function oi(e,t){let n=e.slot||t,{[n]:r={}}=y.useContext(qc)||{};return de(e,de(r,{id:e.id}))}function Sf(e){let t=y.useContext(qc)||{},{slots:n={},children:r}=e,i=y.useMemo(()=>Object.keys(t).concat(Object.keys(n)).reduce((a,s)=>({...a,[s]:de(t[s]||{},n[s]||{})}),{}),[t,n]);return _.createElement(qc.Provider,{value:i},r)}function V8(e){let{children:t,...n}=e,r=t;return _.Children.toArray(t).length<=1&&typeof t=="function"&&(r=_.cloneElement(_.Children.only(t),n)),_.createElement(qc.Provider,{value:{}},r)}function fu(e,t){let[n,r]=y.useState(!0);return he(()=>{r(!!(t.current&&t.current.querySelector(e)))},[r,e,t]),n}const mL=700;function gL(){return ca()||typeof window>"u"?!1:window.screen.width<=mL}let Ha="default",l0="",tc=new WeakMap;function Q2(e){if(Df()){if(Ha==="default"){const t=ye(e);l0=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}Ha="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(tc.set(e,e.style.userSelect),e.style.userSelect="none")}function hu(e){if(Df()){if(Ha!=="disabled")return;Ha="restoring",setTimeout(()=>{A8(()=>{if(Ha==="restoring"){const t=ye(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=l0||""),l0="",Ha="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&tc.has(e)){let t=tc.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),tc.delete(e)}}const ll=_.createContext({register:()=>{}});ll.displayName="PressResponderContext";function vL(e,t){return t.get?t.get.call(e):t.value}function W8(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function bL(e,t){var n=W8(e,t,"get");return vL(e,n)}function yL(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function J2(e,t,n){var r=W8(e,t,"set");return yL(e,r,n),n}function $L(e){let t=y.useContext(ll);if(t){let{register:n,...r}=t;e=de(r,e),n()}return u$(t,e.ref),e}var pu=new WeakMap;class mu{continuePropagation(){J2(this,pu,!1)}get shouldStopPropagation(){return bL(this,pu)}constructor(t,n,r){Ml(this,pu,{writable:!0,value:void 0}),J2(this,pu,!0),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey}}const e5=Symbol("linkClicked");function f$(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:a,isDisabled:s,isPressed:o,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:d,...f}=$L(e),[h,p]=y.useState(!1),g=y.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:v}=F8(),m=pt((x,T)=>{let P=g.current;if(s||P.didFirePressStart)return!1;let E=!0;if(P.isTriggeringEvent=!0,r){let A=new mu("pressstart",T,x);r(A),E=A.shouldStopPropagation}return n&&n(!0),P.isTriggeringEvent=!1,P.didFirePressStart=!0,p(!0),E}),$=pt((x,T,P=!0)=>{let E=g.current;if(!E.didFirePressStart)return!1;E.ignoreClickAfterPress=!0,E.didFirePressStart=!1,E.isTriggeringEvent=!0;let A=!0;if(i){let R=new mu("pressend",T,x);i(R),A=R.shouldStopPropagation}if(n&&n(!1),p(!1),t&&P&&!s){let R=new mu("press",T,x);t(R),A&&(A=R.shouldStopPropagation)}return E.isTriggeringEvent=!1,A}),w=pt((x,T)=>{let P=g.current;if(s)return!1;if(a){P.isTriggeringEvent=!0;let E=new mu("pressup",T,x);return a(E),P.isTriggeringEvent=!1,E.shouldStopPropagation}return!0}),D=pt(x=>{let T=g.current;T.isPressed&&T.target&&(T.isOverTarget&&T.pointerType!=null&&$(er(T.target,x),T.pointerType,!1),T.isPressed=!1,T.isOverTarget=!1,T.activePointerId=null,T.pointerType=null,v(),c||hu(T.target))}),S=pt(x=>{u&&D(x)}),k=y.useMemo(()=>{let x=g.current,T={onKeyDown(E){if(Mh(E.nativeEvent,E.currentTarget)&&E.currentTarget.contains(E.target)){var A;n5(E.target,E.key)&&E.preventDefault();let R=!0;if(!x.isPressed&&!E.repeat){x.target=E.currentTarget,x.isPressed=!0,R=m(E,"keyboard");let M=E.currentTarget,z=O=>{Mh(O,M)&&!O.repeat&&M.contains(O.target)&&x.target&&w(er(x.target,O),"keyboard")};b(ye(E.currentTarget),"keyup",ol(z,P),!0)}R&&E.stopPropagation(),E.metaKey&&$s()&&((A=x.metaKeyEvents)===null||A===void 0||A.set(E.key,E.nativeEvent))}else E.key==="Meta"&&(x.metaKeyEvents=new Map)},onClick(E){if(!(E&&!E.currentTarget.contains(E.target))&&E&&E.button===0&&!x.isTriggeringEvent&&!ta.isOpening){let A=!0;if(s&&E.preventDefault(),!x.ignoreClickAfterPress&&!x.ignoreEmulatedMouseEvents&&!x.isPressed&&(x.pointerType==="virtual"||a0(E.nativeEvent))){!s&&!l&&Wr(E.currentTarget);let R=m(E,"virtual"),M=w(E,"virtual"),z=$(E,"virtual");A=R&&M&&z}x.ignoreEmulatedMouseEvents=!1,x.ignoreClickAfterPress=!1,A&&E.stopPropagation()}}},P=E=>{var A;if(x.isPressed&&x.target&&Mh(E,x.target)){var R;n5(E.target,E.key)&&E.preventDefault();let z=E.target;$(er(x.target,E),"keyboard",x.target.contains(z)),v(),E.key!=="Enter"&&h$(x.target)&&x.target.contains(z)&&!E[e5]&&(E[e5]=!0,ta(x.target,E,!1)),x.isPressed=!1,(R=x.metaKeyEvents)===null||R===void 0||R.delete(E.key)}else if(E.key==="Meta"&&(!((A=x.metaKeyEvents)===null||A===void 0)&&A.size)){var M;let z=x.metaKeyEvents;x.metaKeyEvents=void 0;for(let O of z.values())(M=x.target)===null||M===void 0||M.dispatchEvent(new KeyboardEvent("keyup",O))}};if(typeof PointerEvent<"u"){T.onPointerDown=M=>{if(M.button!==0||!M.currentTarget.contains(M.target))return;if(GI(M.nativeEvent)){x.pointerType="virtual";return}Ah(M.currentTarget)&&M.preventDefault(),x.pointerType=M.pointerType;let z=!0;x.isPressed||(x.isPressed=!0,x.isOverTarget=!0,x.activePointerId=M.pointerId,x.target=M.currentTarget,!s&&!l&&Wr(M.currentTarget),c||Q2(x.target),z=m(M,x.pointerType),b(ye(M.currentTarget),"pointermove",E,!1),b(ye(M.currentTarget),"pointerup",A,!1),b(ye(M.currentTarget),"pointercancel",R,!1)),z&&M.stopPropagation()},T.onMouseDown=M=>{M.currentTarget.contains(M.target)&&M.button===0&&(Ah(M.currentTarget)&&M.preventDefault(),M.stopPropagation())},T.onPointerUp=M=>{!M.currentTarget.contains(M.target)||x.pointerType==="virtual"||M.button===0&&Da(M,M.currentTarget)&&w(M,x.pointerType||M.pointerType)};let E=M=>{M.pointerId===x.activePointerId&&(x.target&&Da(M,x.target)?!x.isOverTarget&&x.pointerType!=null&&(x.isOverTarget=!0,m(er(x.target,M),x.pointerType)):x.target&&x.isOverTarget&&x.pointerType!=null&&(x.isOverTarget=!1,$(er(x.target,M),x.pointerType,!1),S(M)))},A=M=>{M.pointerId===x.activePointerId&&x.isPressed&&M.button===0&&x.target&&(Da(M,x.target)&&x.pointerType!=null?$(er(x.target,M),x.pointerType):x.isOverTarget&&x.pointerType!=null&&$(er(x.target,M),x.pointerType,!1),x.isPressed=!1,x.isOverTarget=!1,x.activePointerId=null,x.pointerType=null,v(),c||hu(x.target))},R=M=>{D(M)};T.onDragStart=M=>{M.currentTarget.contains(M.target)&&D(M)}}else{T.onMouseDown=R=>{if(R.button!==0||!R.currentTarget.contains(R.target))return;if(Ah(R.currentTarget)&&R.preventDefault(),x.ignoreEmulatedMouseEvents){R.stopPropagation();return}x.isPressed=!0,x.isOverTarget=!0,x.target=R.currentTarget,x.pointerType=a0(R.nativeEvent)?"virtual":"mouse",!s&&!l&&Wr(R.currentTarget),m(R,x.pointerType)&&R.stopPropagation(),b(ye(R.currentTarget),"mouseup",E,!1)},T.onMouseEnter=R=>{if(!R.currentTarget.contains(R.target))return;let M=!0;x.isPressed&&!x.ignoreEmulatedMouseEvents&&x.pointerType!=null&&(x.isOverTarget=!0,M=m(R,x.pointerType)),M&&R.stopPropagation()},T.onMouseLeave=R=>{if(!R.currentTarget.contains(R.target))return;let M=!0;x.isPressed&&!x.ignoreEmulatedMouseEvents&&x.pointerType!=null&&(x.isOverTarget=!1,M=$(R,x.pointerType,!1),S(R)),M&&R.stopPropagation()},T.onMouseUp=R=>{R.currentTarget.contains(R.target)&&!x.ignoreEmulatedMouseEvents&&R.button===0&&w(R,x.pointerType||"mouse")};let E=R=>{if(R.button===0){if(x.isPressed=!1,v(),x.ignoreEmulatedMouseEvents){x.ignoreEmulatedMouseEvents=!1;return}x.target&&Da(R,x.target)&&x.pointerType!=null?$(er(x.target,R),x.pointerType):x.target&&x.isOverTarget&&x.pointerType!=null&&$(er(x.target,R),x.pointerType,!1),x.isOverTarget=!1}};T.onTouchStart=R=>{if(!R.currentTarget.contains(R.target))return;let M=xL(R.nativeEvent);if(!M)return;x.activePointerId=M.identifier,x.ignoreEmulatedMouseEvents=!0,x.isOverTarget=!0,x.isPressed=!0,x.target=R.currentTarget,x.pointerType="touch",!s&&!l&&Wr(R.currentTarget),c||Q2(x.target),m(R,x.pointerType)&&R.stopPropagation(),b(Rn(R.currentTarget),"scroll",A,!0)},T.onTouchMove=R=>{if(!R.currentTarget.contains(R.target))return;if(!x.isPressed){R.stopPropagation();return}let M=t5(R.nativeEvent,x.activePointerId),z=!0;M&&Da(M,R.currentTarget)?!x.isOverTarget&&x.pointerType!=null&&(x.isOverTarget=!0,z=m(R,x.pointerType)):x.isOverTarget&&x.pointerType!=null&&(x.isOverTarget=!1,z=$(R,x.pointerType,!1),S(R)),z&&R.stopPropagation()},T.onTouchEnd=R=>{if(!R.currentTarget.contains(R.target))return;if(!x.isPressed){R.stopPropagation();return}let M=t5(R.nativeEvent,x.activePointerId),z=!0;M&&Da(M,R.currentTarget)&&x.pointerType!=null?(w(R,x.pointerType),z=$(R,x.pointerType)):x.isOverTarget&&x.pointerType!=null&&(z=$(R,x.pointerType,!1)),z&&R.stopPropagation(),x.isPressed=!1,x.activePointerId=null,x.isOverTarget=!1,x.ignoreEmulatedMouseEvents=!0,x.target&&!c&&hu(x.target),v()},T.onTouchCancel=R=>{R.currentTarget.contains(R.target)&&(R.stopPropagation(),x.isPressed&&D(R))};let A=R=>{x.isPressed&&R.target.contains(x.target)&&D({currentTarget:x.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};T.onDragStart=R=>{R.currentTarget.contains(R.target)&&D(R)}}return T},[b,s,l,v,c,D,S,$,m,w]);return y.useEffect(()=>()=>{var x;c||hu((x=g.current.target)!==null&&x!==void 0?x:void 0)},[c]),{isPressed:o||h,pressProps:de(f,k)}}function h$(e){return e.tagName==="A"&&e.hasAttribute("href")}function Mh(e,t){const{key:n,code:r}=e,i=t,a=i.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(i instanceof Rn(i).HTMLInputElement&&!U8(i,n)||i instanceof Rn(i).HTMLTextAreaElement||i.isContentEditable)&&!((a==="link"||!a&&h$(i))&&n!=="Enter")}function xL(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function t5(e,t){const n=e.changedTouches;for(let r=0;r<n.length;r++){const i=n[r];if(i.identifier===t)return i}return null}function er(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function wL(e){let t=0,n=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?n=e.height/2:e.radiusY!==void 0&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function DL(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function Da(e,t){let n=t.getBoundingClientRect(),r=wL(e);return DL(n,r)}function Ah(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function n5(e,t){return e instanceof HTMLInputElement?!U8(e,t):e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!h$(e)}const _L=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function U8(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":_L.has(e.type)}const EL=_.forwardRef(({children:e,...t},n)=>{let r=y.useRef(!1),i=y.useContext(ll);n=UI(n||(i==null?void 0:i.ref));let a=de(i||{},{...t,ref:n,register(){r.current=!0,i&&i.register()}});return u$(i,n),y.useEffect(()=>{r.current||(console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),r.current=!0)},[]),_.createElement(ll.Provider,{value:a},e)});function SL({children:e}){let t=y.useMemo(()=>({register:()=>{}}),[]);return _.createElement(ll.Provider,{value:t},e)}class CL{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function H8(e){let t=y.useRef({isFocused:!1,observer:null});he(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=pt(r=>{e==null||e(r)});return y.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=r.target,a=s=>{t.current.isFocused=!1,i.disabled&&n(new CL("blur",s)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var s;(s=t.current.observer)===null||s===void 0||s.disconnect();let o=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:o})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:o}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[n])}function K8(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e;const a=y.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),i&&i(!1),!0},[r,i]),s=H8(a),o=y.useCallback(l=>{const u=ye(l.target);l.target===l.currentTarget&&u.activeElement===l.target&&(n&&n(l),i&&i(!0),s(l))},[i,n,s]);return{focusProps:{onFocus:!t&&(n||i||r)?o:void 0,onBlur:!t&&(r||i)?a:void 0}}}let da=null,u0=new Set,Ro=new Map,ra=!1,c0=!1;const kL={Tab:!0,Escape:!0};function Cf(e,t){for(let n of u0)n(e,t)}function PL(e){return!(e.metaKey||!$s()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Gc(e){ra=!0,PL(e)&&(da="keyboard",Cf("keyboard",e))}function bn(e){da="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(ra=!0,Cf("pointer",e))}function Y8(e){a0(e)&&(ra=!0,da="virtual")}function q8(e){e.target===window||e.target===document||(!ra&&!c0&&(da="virtual",Cf("virtual",e)),ra=!1,c0=!1)}function G8(){ra=!1,c0=!0}function d0(e){if(typeof window>"u"||Ro.get(Rn(e)))return;const t=Rn(e),n=ye(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){ra=!0,r.apply(this,arguments)},n.addEventListener("keydown",Gc,!0),n.addEventListener("keyup",Gc,!0),n.addEventListener("click",Y8,!0),t.addEventListener("focus",q8,!0),t.addEventListener("blur",G8,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",bn,!0),n.addEventListener("pointermove",bn,!0),n.addEventListener("pointerup",bn,!0)):(n.addEventListener("mousedown",bn,!0),n.addEventListener("mousemove",bn,!0),n.addEventListener("mouseup",bn,!0)),t.addEventListener("beforeunload",()=>{Z8(e)},{once:!0}),Ro.set(t,{focus:r})}const Z8=(e,t)=>{const n=Rn(e),r=ye(e);t&&r.removeEventListener("DOMContentLoaded",t),Ro.has(n)&&(n.HTMLElement.prototype.focus=Ro.get(n).focus,r.removeEventListener("keydown",Gc,!0),r.removeEventListener("keyup",Gc,!0),r.removeEventListener("click",Y8,!0),n.removeEventListener("focus",q8,!0),n.removeEventListener("blur",G8,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",bn,!0),r.removeEventListener("pointermove",bn,!0),r.removeEventListener("pointerup",bn,!0)):(r.removeEventListener("mousedown",bn,!0),r.removeEventListener("mousemove",bn,!0),r.removeEventListener("mouseup",bn,!0)),Ro.delete(n))};function TL(e){const t=ye(e);let n;return t.readyState!=="loading"?d0(e):(n=()=>{d0(e)},t.addEventListener("DOMContentLoaded",n)),()=>Z8(e,n)}typeof document<"u"&&TL();function X8(){return da!=="pointer"}function Q8(){return da}function RL(e){da=e,Cf(e,null)}const ML=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function AL(e,t,n){var r;const i=typeof window<"u"?Rn(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Rn(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,s=typeof window<"u"?Rn(n==null?void 0:n.target).HTMLElement:HTMLElement,o=typeof window<"u"?Rn(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||(n==null?void 0:n.target)instanceof i&&!ML.has(n==null||(r=n.target)===null||r===void 0?void 0:r.type)||(n==null?void 0:n.target)instanceof a||(n==null?void 0:n.target)instanceof s&&(n==null?void 0:n.target.isContentEditable),!(e&&t==="keyboard"&&n instanceof o&&!kL[n.key])}function FL(e,t,n){d0(),y.useEffect(()=>{let r=(i,a)=>{AL(!!(n!=null&&n.isTextInput),i,a)&&e(X8())};return u0.add(r),()=>{u0.delete(r)}},t)}function Ts(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,a=y.useRef({isFocusWithin:!1}),s=y.useCallback(u=>{a.current.isFocusWithin&&!u.currentTarget.contains(u.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(u),i&&i(!1))},[n,i,a]),o=H8(s),l=y.useCallback(u=>{!a.current.isFocusWithin&&document.activeElement===u.target&&(r&&r(u),i&&i(!0),a.current.isFocusWithin=!0,o(u))},[r,i,o]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let Zc=!1,Fh=0;function f0(){Zc=!0,setTimeout(()=>{Zc=!1},50)}function r5(e){e.pointerType==="touch"&&f0()}function OL(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",r5):document.addEventListener("touchend",f0),Fh++,()=>{Fh--,!(Fh>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",r5):document.removeEventListener("touchend",f0))}}function kf(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[a,s]=y.useState(!1),o=y.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;y.useEffect(OL,[]);let{hoverProps:l,triggerHoverEnd:u}=y.useMemo(()=>{let c=(h,p)=>{if(o.pointerType=p,i||p==="touch"||o.isHovered||!h.currentTarget.contains(h.target))return;o.isHovered=!0;let g=h.currentTarget;o.target=g,t&&t({type:"hoverstart",target:g,pointerType:p}),n&&n(!0),s(!0)},d=(h,p)=>{if(o.pointerType="",o.target=null,p==="touch"||!o.isHovered)return;o.isHovered=!1;let g=h.currentTarget;r&&r({type:"hoverend",target:g,pointerType:p}),n&&n(!1),s(!1)},f={};return typeof PointerEvent<"u"?(f.onPointerEnter=h=>{Zc&&h.pointerType==="mouse"||c(h,h.pointerType)},f.onPointerLeave=h=>{!i&&h.currentTarget.contains(h.target)&&d(h,h.pointerType)}):(f.onTouchStart=()=>{o.ignoreEmulatedMouseEvents=!0},f.onMouseEnter=h=>{!o.ignoreEmulatedMouseEvents&&!Zc&&c(h,"mouse"),o.ignoreEmulatedMouseEvents=!1},f.onMouseLeave=h=>{!i&&h.currentTarget.contains(h.target)&&d(h,"mouse")}),{hoverProps:f,triggerHoverEnd:d}},[t,n,r,i,o]);return y.useEffect(()=>{i&&u({currentTarget:o.target},o.pointerType)},[i]),{hoverProps:l,isHovered:a}}function BL(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:i}=e,a=y.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),s=pt(l=>{n&&gu(l,t)&&(i&&i(l),a.current.isPointerDown=!0)}),o=pt(l=>{n&&n(l)});y.useEffect(()=>{let l=a.current;if(r)return;const u=t.current,c=ye(u);if(typeof PointerEvent<"u"){let d=f=>{l.isPointerDown&&gu(f,t)&&o(f),l.isPointerDown=!1};return c.addEventListener("pointerdown",s,!0),c.addEventListener("pointerup",d,!0),()=>{c.removeEventListener("pointerdown",s,!0),c.removeEventListener("pointerup",d,!0)}}else{let d=h=>{l.ignoreEmulatedMouseEvents?l.ignoreEmulatedMouseEvents=!1:l.isPointerDown&&gu(h,t)&&o(h),l.isPointerDown=!1},f=h=>{l.ignoreEmulatedMouseEvents=!0,l.isPointerDown&&gu(h,t)&&o(h),l.isPointerDown=!1};return c.addEventListener("mousedown",s,!0),c.addEventListener("mouseup",d,!0),c.addEventListener("touchstart",s,!0),c.addEventListener("touchend",f,!0),()=>{c.removeEventListener("mousedown",s,!0),c.removeEventListener("mouseup",d,!0),c.removeEventListener("touchstart",s,!0),c.removeEventListener("touchend",f,!0)}}},[t,r,s,o])}function gu(e,t){if(e.button>0)return!1;if(e.target){const n=e.target.ownerDocument;if(!n||!n.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current&&!t.current.contains(e.target)}function i5(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(r),t&&n.stopPropagation()}}function IL(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:i5(e.onKeyDown),onKeyUp:i5(e.onKeyUp)}}}function Xc(e){const t=ye(e);if(Q8()==="virtual"){let n=t.activeElement;A8(()=>{t.activeElement===n&&e.isConnected&&Wr(e)})}else Wr(e)}function LL(e){const t=Rn(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i=n!=="none"&&r!=="hidden"&&r!=="collapse";if(i){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:s,visibility:o}=a(e);i=s!=="none"&&o!=="hidden"&&o!=="collapse"}return i}function NL(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function J8(e,t){return e.nodeName!=="#comment"&&LL(e)&&NL(e,t)&&(!e.parentElement||J8(e.parentElement,e))}const a5=_.createContext(null);let _e=null;function jL(e){let{children:t,contain:n,restoreFocus:r,autoFocus:i}=e,a=y.useRef(null),s=y.useRef(null),o=y.useRef([]),{parentNode:l}=y.useContext(a5)||{},u=y.useMemo(()=>new h0({scopeRef:o}),[o]);he(()=>{let f=l||Ge.root;if(Ge.getTreeNode(f.scopeRef)&&_e&&!Jc(_e,f.scopeRef)){let h=Ge.getTreeNode(_e);h&&(f=h)}f.addChild(u),Ge.addNode(u)},[u,l]),he(()=>{let f=Ge.getTreeNode(o);f&&(f.contain=!!n)},[n]),he(()=>{var f;let h=(f=a.current)===null||f===void 0?void 0:f.nextSibling,p=[];for(;h&&h!==s.current;)p.push(h),h=h.nextSibling;o.current=p},[t]),YL(o,r,n),UL(o,n),GL(o,r,n),KL(o,i),y.useEffect(()=>{const f=ye(o.current?o.current[0]:void 0).activeElement;let h=null;if(St(f,o.current)){for(let p of Ge.traverse())p.scopeRef&&St(f,p.scopeRef.current)&&(h=p);h===Ge.getTreeNode(o)&&(_e=h.scopeRef)}},[o]),he(()=>()=>{var f,h,p;let g=(p=(h=Ge.getTreeNode(o))===null||h===void 0||(f=h.parent)===null||f===void 0?void 0:f.scopeRef)!==null&&p!==void 0?p:null;(o===_e||Jc(o,_e))&&(!g||Ge.getTreeNode(g))&&(_e=g),Ge.removeTreeNode(o)},[o]);let c=y.useMemo(()=>zL(o),[]),d=y.useMemo(()=>({focusManager:c,parentNode:u}),[u,c]);return _.createElement(a5.Provider,{value:d},_.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,_.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:s}))}function zL(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:i,wrap:a,accept:s}=t,o=r||ye(n[0]).activeElement,l=n[0].previousElementSibling,u=ji(n),c=an(u,{tabbable:i,accept:s},n);c.currentNode=St(o,n)?o:l;let d=c.nextNode();return!d&&a&&(c.currentNode=l,d=c.nextNode()),d&&Ut(d,!0),d},focusPrevious(t={}){let n=e.current,{from:r,tabbable:i,wrap:a,accept:s}=t,o=r||ye(n[0]).activeElement,l=n[n.length-1].nextElementSibling,u=ji(n),c=an(u,{tabbable:i,accept:s},n);c.currentNode=St(o,n)?o:l;let d=c.previousNode();return!d&&a&&(c.currentNode=l,d=c.previousNode()),d&&Ut(d,!0),d},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=ji(n),s=an(a,{tabbable:r,accept:i},n);s.currentNode=n[0].previousElementSibling;let o=s.nextNode();return o&&Ut(o,!0),o},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=ji(n),s=an(a,{tabbable:r,accept:i},n);s.currentNode=n[n.length-1].nextElementSibling;let o=s.previousNode();return o&&Ut(o,!0),o}}}const p$=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],VL=p$.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";p$.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const WL=p$.join(':not([hidden]):not([tabindex="-1"]),');function ji(e){return e[0].parentElement}function co(e){let t=Ge.getTreeNode(_e);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function UL(e,t){let n=y.useRef(),r=y.useRef();he(()=>{let i=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const a=ye(i?i[0]:void 0);let s=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!co(e)||u.isComposing)return;let c=a.activeElement,d=e.current;if(!d||!St(c,d))return;let f=ji(d),h=an(f,{tabbable:!0},d);if(!c)return;h.currentNode=c;let p=u.shiftKey?h.previousNode():h.nextNode();p||(h.currentNode=u.shiftKey?d[d.length-1].nextElementSibling:d[0].previousElementSibling,p=u.shiftKey?h.previousNode():h.nextNode()),u.preventDefault(),p&&Ut(p,!0)},o=u=>{(!_e||Jc(_e,e))&&St(u.target,e.current)?(_e=e,n.current=u.target):co(e)&&!Qc(u.target,e)?n.current?n.current.focus():_e&&_e.current&&ed(_e.current):co(e)&&(n.current=u.target)},l=u=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{if(a.activeElement&&co(e)&&!Qc(a.activeElement,e))if(_e=e,a.body.contains(u.target)){var c;n.current=u.target,(c=n.current)===null||c===void 0||c.focus()}else _e.current&&ed(_e.current)})};return a.addEventListener("keydown",s,!1),a.addEventListener("focusin",o,!1),i==null||i.forEach(u=>u.addEventListener("focusin",o,!1)),i==null||i.forEach(u=>u.addEventListener("focusout",l,!1)),()=>{a.removeEventListener("keydown",s,!1),a.removeEventListener("focusin",o,!1),i==null||i.forEach(u=>u.removeEventListener("focusin",o,!1)),i==null||i.forEach(u=>u.removeEventListener("focusout",l,!1))}},[e,t]),he(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function e7(e){return Qc(e)}function St(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function Qc(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of Ge.traverse(Ge.getTreeNode(t)))if(n&&St(e,n.current))return!0;return!1}function HL(e){return Qc(e,_e)}function Jc(e,t){var n;let r=(n=Ge.getTreeNode(t))===null||n===void 0?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function Ut(e,t=!1){if(e!=null&&!t)try{Xc(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function ed(e,t=!0){let n=e[0].previousElementSibling,r=ji(e),i=an(r,{tabbable:t},e);i.currentNode=n;let a=i.nextNode();t&&!a&&(r=ji(e),i=an(r,{tabbable:!1},e),i.currentNode=n,a=i.nextNode()),Ut(a)}function KL(e,t){const n=_.useRef(t);y.useEffect(()=>{if(n.current){_e=e;const r=ye(e.current?e.current[0]:void 0);!St(r.activeElement,_e.current)&&e.current&&ed(e.current)}n.current=!1},[e])}function YL(e,t,n){he(()=>{if(t||n)return;let r=e.current;const i=ye(r?r[0]:void 0);let a=s=>{let o=s.target;St(o,e.current)?_e=e:e7(o)||(_e=null)};return i.addEventListener("focusin",a,!1),r==null||r.forEach(s=>s.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),r==null||r.forEach(s=>s.removeEventListener("focusin",a,!1))}},[e,t,n])}function qL(e){let t=Ge.getTreeNode(_e);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function GL(e,t,n){const r=y.useRef(typeof document<"u"?ye(e.current?e.current[0]:void 0).activeElement:null);he(()=>{let i=e.current;const a=ye(i?i[0]:void 0);if(!t||n)return;let s=()=>{(!_e||Jc(_e,e))&&St(a.activeElement,e.current)&&(_e=e)};return a.addEventListener("focusin",s,!1),i==null||i.forEach(o=>o.addEventListener("focusin",s,!1)),()=>{a.removeEventListener("focusin",s,!1),i==null||i.forEach(o=>o.removeEventListener("focusin",s,!1))}},[e,n]),he(()=>{const i=ye(e.current?e.current[0]:void 0);if(!t)return;let a=s=>{if(s.key!=="Tab"||s.altKey||s.ctrlKey||s.metaKey||!co(e)||s.isComposing)return;let o=i.activeElement;if(!St(o,e.current))return;let l=Ge.getTreeNode(e);if(!l)return;let u=l.nodeToRestore,c=an(i.body,{tabbable:!0});c.currentNode=o;let d=s.shiftKey?c.previousNode():c.nextNode();if((!u||!i.body.contains(u)||u===i.body)&&(u=void 0,l.nodeToRestore=void 0),(!d||!St(d,e.current))&&u){c.currentNode=u;do d=s.shiftKey?c.previousNode():c.nextNode();while(St(d,e.current));s.preventDefault(),s.stopPropagation(),d?Ut(d,!0):e7(u)?Ut(u,!0):o.blur()}};return n||i.addEventListener("keydown",a,!0),()=>{n||i.removeEventListener("keydown",a,!0)}},[e,t,n]),he(()=>{const i=ye(e.current?e.current[0]:void 0);if(!t)return;let a=Ge.getTreeNode(e);if(a){var s;return a.nodeToRestore=(s=r.current)!==null&&s!==void 0?s:void 0,()=>{let o=Ge.getTreeNode(e);if(!o)return;let l=o.nodeToRestore;if(t&&l&&(St(i.activeElement,e.current)||i.activeElement===i.body&&qL(e))){let u=Ge.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let c=u.getTreeNode(e);for(;c;){if(c.nodeToRestore&&c.nodeToRestore.isConnected){Ut(c.nodeToRestore);return}c=c.parent}for(c=u.getTreeNode(e);c;){if(c.scopeRef&&c.scopeRef.current&&Ge.getTreeNode(c.scopeRef)){ed(c.scopeRef.current,!0);return}c=c.parent}}})}}}},[e,t])}function an(e,t,n){let r=t!=null&&t.tabbable?WL:VL,i=ye(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var s;return!(t==null||(s=t.from)===null||s===void 0)&&s.contains(a)?NodeFilter.FILTER_REJECT:a.matches(r)&&J8(a)&&(!n||St(a,n))&&(!(t!=null&&t.accept)||t.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(i.currentNode=t.from),i}function Pf(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:s=t.wrap,accept:o=t.accept}=n,l=i||ye(r).activeElement,u=an(r,{tabbable:a,accept:o});r.contains(l)&&(u.currentNode=l);let c=u.nextNode();return!c&&s&&(u.currentNode=r,c=u.nextNode()),c&&Ut(c,!0),c},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:s=t.wrap,accept:o=t.accept}=n,l=i||ye(r).activeElement,u=an(r,{tabbable:a,accept:o});if(r.contains(l))u.currentNode=l;else{let d=Oh(u);return d&&Ut(d,!0),d??null}let c=u.previousNode();if(!c&&s){u.currentNode=r;let d=Oh(u);if(!d)return null;c=d}return c&&Ut(c,!0),c??null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,o=an(r,{tabbable:i,accept:a}).nextNode();return o&&Ut(o,!0),o},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,s=an(r,{tabbable:i,accept:a}),o=Oh(s);return o&&Ut(o,!0),o??null}}}function Oh(e){let t,n;do n=e.lastChild(),n&&(t=n);while(n);return t}class m${get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let i=this.fastMap.get(n??null);if(!i)return;let a=new h0({scopeRef:t});i.addChild(a),a.parent=i,this.fastMap.set(t,a),r&&(a.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let a of this.traverse())a!==n&&n.nodeToRestore&&a.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&St(a.nodeToRestore,n.scopeRef.current)&&(a.nodeToRestore=n.nodeToRestore);let i=n.children;r&&(r.removeChild(n),i.size>0&&i.forEach(a=>r&&r.addChild(a))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){var t;let n=new m$;var r;for(let i of this.traverse())n.addTreeNode(i.scopeRef,(r=(t=i.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&r!==void 0?r:null,i.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new h0({scopeRef:null}),this.fastMap.set(null,this.root)}}class h0{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Ge=new m$;function ul(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=y.useRef({isFocused:!1,isFocusVisible:t||X8()}),[a,s]=y.useState(!1),[o,l]=y.useState(()=>i.current.isFocused&&i.current.isFocusVisible),u=y.useCallback(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),c=y.useCallback(h=>{i.current.isFocused=h,s(h),u()},[u]);FL(h=>{i.current.isFocusVisible=h,u()},[],{isTextInput:n});let{focusProps:d}=K8({isDisabled:r,onFocusChange:c}),{focusWithinProps:f}=Ts({isDisabled:!r,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:o,focusProps:r?f:d}}function t7(e){let{children:t,focusClass:n,focusRingClass:r}=e,{isFocused:i,isFocusVisible:a,focusProps:s}=ul(e),o=_.Children.only(t);return _.cloneElement(o,de(o.props,{...s,className:gf({[n||""]:i,[r||""]:a})}))}let ZL=_.createContext(null);function XL(e){let t=y.useContext(ZL)||{};u$(t,e);let{ref:n,...r}=t;return r}function QL(e,t){let{focusProps:n}=K8(e),{keyboardProps:r}=IL(e),i=de(n,r),a=XL(t),s=e.isDisabled?{}:a,o=y.useRef(e.autoFocus);return y.useEffect(()=>{o.current&&t.current&&Xc(t.current),o.current=!1},[t]),{focusableProps:de({...i,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},s)}}function JL(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:a="label"}=e;t=Zn(t);let s=Zn(),o={};n?(r=r?`${s} ${r}`:s,o={id:s,htmlFor:a==="label"?t:void 0}):!r&&!i&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let l=Fl({id:t,"aria-label":i,"aria-labelledby":r});return{labelProps:o,fieldProps:l}}function n7(e){let{description:t,errorMessage:n,isInvalid:r,validationState:i}=e,{labelProps:a,fieldProps:s}=JL(e),o=Kc([!!t,!!n,r,i]),l=Kc([!!t,!!n,r,i]);return s=de(s,{"aria-describedby":[o,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:s,descriptionProps:{id:o},errorMessageProps:{id:l}}}function eN(e,t){e=oi(e,"text");let{children:n,...r}=e,{styleProps:i}=st(r),a=In(t);return _.createElement("span",{...Xt(r),...i,ref:a},n)}const tN=y.forwardRef(eN);function r7(e,t){let{elementType:n="button",isDisabled:r,onPress:i,onPressStart:a,onPressEnd:s,onPressUp:o,onPressChange:l,preventFocusOnPress:u,allowFocusWhenDisabled:c,onClick:d,href:f,target:h,rel:p,type:g="button"}=e,b;n==="button"?b={type:g,disabled:r}:b={role:"button",tabIndex:r?void 0:0,href:n==="a"&&r?void 0:f,target:n==="a"?h:void 0,type:n==="input"?g:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?p:void 0};let{pressProps:v,isPressed:m}=f$({onPressStart:a,onPressEnd:s,onPressChange:l,onPress:i,onPressUp:o,isDisabled:r,preventFocusOnPress:u,ref:t}),{focusableProps:$}=QL(e,t);c&&($.tabIndex=r?-1:$.tabIndex);let w=de($,v,Xt(e,{labelable:!0}));return{isPressed:m,buttonProps:de(b,w,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:D=>{d&&(d(D),console.warn("onClick is deprecated, please use onPress"))}})}}var i7={};i7={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var a7={};a7={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var s7={};s7={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var o7={};o7={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var l7={};l7={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var u7={};u7={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var c7={};c7={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var d7={};d7={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var f7={};f7={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var h7={};h7={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var p7={};p7={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var m7={};m7={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var g7={};g7={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var v7={};v7={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var b7={};b7={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var y7={};y7={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var $7={};$7={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var x7={};x7={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var w7={};w7={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var D7={};D7={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var _7={};_7={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var E7={};E7={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var S7={};S7={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var C7={};C7={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var k7={};k7={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var P7={};P7={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var T7={};T7={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var R7={};R7={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var M7={};M7={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var A7={};A7={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var F7={};F7={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var O7={};O7={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var B7={};B7={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var I7={};I7={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var Ol={};Ol={"ar-AE":i7,"bg-BG":a7,"cs-CZ":s7,"da-DK":o7,"de-DE":l7,"el-GR":u7,"en-US":c7,"es-ES":d7,"et-EE":f7,"fi-FI":h7,"fr-FR":p7,"he-IL":m7,"hr-HR":g7,"hu-HU":v7,"it-IT":b7,"ja-JP":y7,"ko-KR":$7,"lt-LT":x7,"lv-LV":w7,"nb-NO":D7,"nl-NL":_7,"pl-PL":E7,"pt-BR":S7,"pt-PT":C7,"ro-RO":k7,"ru-RU":P7,"sk-SK":T7,"sl-SI":R7,"sr-SP":M7,"sv-SE":A7,"tr-TR":F7,"uk-UA":O7,"zh-CN":B7,"zh-TW":I7};function L7(e){return e&&e.__esModule?e.default:e}const g$=new WeakMap;function cl(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function nN(e){let t=_n(L7(Ol),"@react-aria/calendar"),n,r;"highlightedRange"in e?{start:n,end:r}=e.highlightedRange||{}:n=r=e.value;let i=$n({weekday:"long",month:"long",year:"numeric",day:"numeric",era:cl(n)||cl(r),timeZone:e.timeZone}),a="anchorDate"in e?e.anchorDate:null;return y.useMemo(()=>{if(!a&&n&&r)if(Ze(n,r)){let s=i.format(n.toDate(e.timeZone));return t.format("selectedDateDescription",{date:s})}else{let s=m0(i,t,n,r,e.timeZone);return t.format("selectedRangeDescription",{dateRange:s})}return""},[n,r,a,e.timeZone,t,i])}function p0(e,t,n,r){let i=_n(L7(Ol),"@react-aria/calendar"),a=cl(e)||cl(t),s=$n({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n}),o=$n({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n});return y.useMemo(()=>{if(Ze(e,Ji(e))){if(Ze(t,Nc(e)))return s.format(e.toDate(n));if(Ze(t,Nc(t)))return r?m0(s,i,e,t,n):s.formatRange(e.toDate(n),t.toDate(n))}return r?m0(o,i,e,t,n):o.formatRange(e.toDate(n),t.toDate(n))},[e,t,s,o,i,n,r])}function m0(e,t,n,r,i){let a=e.formatRangeToParts(n.toDate(i),r.toDate(i)),s=-1;for(let u=0;u<a.length;u++){let c=a[u];if(c.source==="shared"&&c.type==="literal")s=u;else if(c.source==="endRange")break}let o="",l="";for(let u=0;u<a.length;u++)u<s?o+=a[u].value:u>s&&(l+=a[u].value);return t.format("dateRange",{startDate:o,endDate:l})}const N7=7e3;let Mo=null;function g0(e,t="assertive",n=N7){Mo||(Mo=new iN),Mo.announce(e,t,n)}function rN(e){Mo&&Mo.clear(e)}class iN{createLog(t){let n=document.createElement("div");return n.setAttribute("role","log"),n.setAttribute("aria-live",t),n.setAttribute("aria-relevant","additions"),n}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,n="assertive",r=N7){if(!this.node)return;let i=document.createElement("div");i.textContent=t,n==="assertive"?this.assertiveLog.appendChild(i):this.politeLog.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},r)}clear(t){this.node&&((!t||t==="assertive")&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&(this.politeLog.innerHTML=""))}constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}}function aN(e){return e&&e.__esModule?e.default:e}function sN(e,t){let n=_n(aN(Ol),"@react-aria/calendar"),r=Xt(e),i=p0(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=p0(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);U2(()=>{t.isFocused||g0(a)},[a]);let s=nN(t);U2(()=>{s&&g0(s,"polite",4e3)},[s]);let o=Kc([!!e.errorMessage,e.isInvalid,e.validationState]);g$.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:o,selectedDateDescription:s});let[l,u]=y.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&l&&(u(!1),t.setFocused(!0));let[d,f]=y.useState(!1),h=e.isDisabled||t.isPreviousVisibleRangeInvalid();h&&d&&(f(!1),t.setFocused(!0));let p=Fl({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:de(r,p,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":n.format("next"),isDisabled:c,onFocusChange:u},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":n.format("previous"),isDisabled:h,onFocusChange:f},errorMessageProps:{id:o},title:i}}function oN(e,t,n){let r=sN(e,t),i=y.useRef(!1),a=y.useRef(typeof window<"u"?window:null);return is(a,"pointerdown",o=>{i.current=o.width===0&&o.height===0}),is(a,"pointerup",o=>{if(i.current){i.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let l=o.target;n.current&&n.current.contains(document.activeElement)&&(!n.current.contains(l)||!l.closest('button, [role="button"]'))&&t.selectFocusedDate()}),r.calendarProps.onBlur=o=>{n.current&&(!o.relatedTarget||!n.current.contains(o.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},is(n,"touchmove",o=>{t.isDragging&&o.preventDefault()},{passive:!1,capture:!0}),r}function lN(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end}=e,{direction:i}=Qe(),a=h=>{switch(h.key){case"Enter":case" ":h.preventDefault(),t.selectFocusedDate();break;case"PageUp":h.preventDefault(),h.stopPropagation(),t.focusPreviousSection(h.shiftKey);break;case"PageDown":h.preventDefault(),h.stopPropagation(),t.focusNextSection(h.shiftKey);break;case"End":h.preventDefault(),h.stopPropagation(),t.focusSectionEnd();break;case"Home":h.preventDefault(),h.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":h.preventDefault(),h.stopPropagation(),i==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":h.preventDefault(),h.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":h.preventDefault(),h.stopPropagation(),i==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":h.preventDefault(),h.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(h.preventDefault(),t.setAnchorDate(null));break}},s=p0(n,r,t.timeZone,!0),{ariaLabel:o,ariaLabelledBy:l}=g$.get(t),u=Fl({"aria-label":[o,s].filter(Boolean).join(", "),"aria-labelledby":l}),c=$n({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:d}=Qe(),f=y.useMemo(()=>{let h=il(Rl(t.timeZone),d);return[...new Array(7).keys()].map(p=>{let b=h.add({days:p}).toDate(t.timeZone);return c.format(b)})},[d,t.timeZone,c]);return{gridProps:de(u,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:a,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:f}}function uN(e){return e&&e.__esModule?e.default:e}function cN(e,t,n){let{date:r,isDisabled:i}=e,{errorMessageId:a,selectedDateDescription:s}=g$.get(t),o=_n(uN(Ol),"@react-aria/calendar"),l=$n({weekday:"long",day:"numeric",month:"long",year:"numeric",era:cl(r),timeZone:t.timeZone}),u=t.isSelected(r),c=t.isCellFocused(r);i=i||t.isCellDisabled(r);let d=t.isCellUnavailable(r),f=!i&&!d,h=t.isValueInvalid&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:t.value&&Ze(t.value,r));h&&(u=!0),r=L8(r,Zm);let p=y.useMemo(()=>r.toDate(t.timeZone),[r,t.timeZone]),g=t8(r,t.timeZone),b=y.useMemo(()=>{let E="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Ze(r,t.value.start)||Ze(r,t.value.end))&&(E=s+", "),E+=l.format(p),g?E=o.format(u?"todayDateSelected":"todayDate",{date:E}):u&&(E=o.format("dateSelected",{date:E})),t.minValue&&Ze(r,t.minValue)?E+=", "+o.format("minimumDate"):t.maxValue&&Ze(r,t.maxValue)&&(E+=", "+o.format("maximumDate")),E},[l,p,o,u,g,r,t,s]),v="";"anchorDate"in t&&c&&!t.isReadOnly&&f&&(t.anchorDate?v=o.format("finishRangeSelectionPrompt"):v=o.format("startRangeSelectionPrompt"));let m=c$(v),$=y.useRef(!1),w=y.useRef(!1),D=y.useRef(null),{pressProps:S,isPressed:k}=f$({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!f||t.isReadOnly,onPressStart(E){if(t.isReadOnly){t.setFocusedDate(r);return}if("highlightedRange"in t&&!t.anchorDate&&(E.pointerType==="mouse"||E.pointerType==="touch")){if(t.highlightedRange&&!h){if(Ze(r,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setDragging(!0),w.current=!0;return}else if(Ze(r,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setDragging(!0),w.current=!0;return}}let A=()=>{t.setDragging(!0),D.current=null,t.selectDate(r),t.setFocusedDate(r),$.current=!0};E.pointerType==="touch"?D.current=setTimeout(A,200):A()}},onPressEnd(){w.current=!1,$.current=!1,clearTimeout(D.current),D.current=null},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(r),t.setFocusedDate(r))},onPressUp(E){if(!t.isReadOnly&&("anchorDate"in t&&D.current&&(t.selectDate(r),t.setFocusedDate(r)),"anchorDate"in t))if(w.current)t.setAnchorDate(r);else if(t.anchorDate&&!$.current)t.selectDate(r),t.setFocusedDate(r);else if(E.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(r);let A=r.add({days:1});t.isInvalid(A)&&(A=r.subtract({days:1})),t.isInvalid(A)||t.setFocusedDate(A)}else E.pointerType==="virtual"&&(t.selectDate(r),t.setFocusedDate(r))}}),x=null;i||(x=Ze(r,t.focusedDate)?0:-1),y.useEffect(()=>{c&&n.current&&(Wr(n.current),Q8()!=="pointer"&&document.activeElement===n.current&&I8(n.current,{containingElement:_f(n.current)}))},[c,n]);let T=$n({day:"numeric",timeZone:t.timeZone,calendar:r.calendar.identifier}),P=y.useMemo(()=>T.formatToParts(p).find(E=>E.type==="day").value,[T,p]);return{cellProps:{role:"gridcell","aria-disabled":!f||null,"aria-selected":u||null,"aria-invalid":h||null},buttonProps:de(S,{onFocus(){i||t.setFocusedDate(r)},tabIndex:x,role:"button","aria-disabled":!f||null,"aria-label":b,"aria-invalid":h||null,"aria-describedby":[h?a:null,m["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(E){"highlightDate"in t&&(E.pointerType!=="touch"||t.isDragging)&&f&&t.highlightDate(r)},onPointerDown(E){"releasePointerCapture"in E.target&&E.target.releasePointerCapture(E.pointerId)},onContextMenu(E){E.preventDefault()}}),isPressed:k,isFocused:c,isSelected:u,isDisabled:i,isUnavailable:d,isOutsideVisibleRange:r.compare(t.visibleRange.start)<0||r.compare(t.visibleRange.end)>0,isInvalid:h,formattedDate:P}}function dN(e,t,n){let{validationBehavior:r,focus:i}=e;he(()=>{if(r==="native"&&(n!=null&&n.current)){let l=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(l),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(hN(n.current))}});let a=pt(()=>{t.resetValidation()}),s=pt(l=>{var u;t.displayValidation.isInvalid||t.commitValidation();let c=n==null||(u=n.current)===null||u===void 0?void 0:u.form;if(!l.defaultPrevented&&n&&c&&pN(c)===n.current){var d;i?i():(d=n.current)===null||d===void 0||d.focus(),RL("keyboard")}l.preventDefault()}),o=pt(()=>{t.commitValidation()});y.useEffect(()=>{let l=n==null?void 0:n.current;if(!l)return;let u=l.form;return l.addEventListener("invalid",s),l.addEventListener("change",o),u==null||u.addEventListener("reset",a),()=>{l.removeEventListener("invalid",s),l.removeEventListener("change",o),u==null||u.removeEventListener("reset",a)}},[n,s,o,a,r])}function fN(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function hN(e){return{isInvalid:!e.validity.valid,validationDetails:fN(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function pN(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}const Tf={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},j7={...Tf,customError:!0,valid:!1},Oi={isInvalid:!1,validationDetails:Tf,validationErrors:[]},mN=y.createContext({}),td="__formValidationState"+Date.now();function z7(e){if(e[td]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}=e[td];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}}return gN(e)}function gN(e){let{isInvalid:t,validationState:n,name:r,value:i,builtinValidation:a,validate:s,validationBehavior:o="aria"}=e;n&&(t||(t=n==="invalid"));let l=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:j7}:null,u=y.useMemo(()=>s5(vN(s,i)),[s,i]);a!=null&&a.validationDetails.valid&&(a=null);let c=y.useContext(mN),d=y.useMemo(()=>r?Array.isArray(r)?r.flatMap(P=>v0(c[P])):v0(c[r]):[],[c,r]),[f,h]=y.useState(c),[p,g]=y.useState(!1);c!==f&&(h(c),g(!1));let b=y.useMemo(()=>s5(p?[]:d),[p,d]),v=y.useRef(Oi),[m,$]=y.useState(Oi),w=y.useRef(Oi),D=()=>{if(!S)return;k(!1);let P=u||a||v.current;Bh(P,w.current)||(w.current=P,$(P))},[S,k]=y.useState(!1);return y.useEffect(D),{realtimeValidation:l||b||u||a||Oi,displayValidation:o==="native"?l||b||m:l||b||u||a||m,updateValidation(P){o==="aria"&&!Bh(m,P)?$(P):v.current=P},resetValidation(){let P=Oi;Bh(P,w.current)||(w.current=P,$(P)),o==="native"&&k(!1),g(!0)},commitValidation(){o==="native"&&k(!0),g(!0)}}}function v0(e){return e?Array.isArray(e)?e:[e]:[]}function vN(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return v0(n)}return[]}function s5(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:j7}:null}function Bh(e,t){return e===t?!0:e&&t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((n,r)=>n===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([n,r])=>t.validationDetails[n]===r)}function nd(...e){let t=new Set,n=!1,r={...Tf};for(let s of e){var i,a;for(let o of s.validationErrors)t.add(o);n||(n=s.isInvalid);for(let o in r)(i=r)[a=o]||(i[a]=s.validationDetails[o])}return r.valid=!n,{isInvalid:n,validationErrors:[...t],validationDetails:r}}const Ka={top:"top",bottom:"top",left:"left",right:"left"},rd={top:"bottom",bottom:"top",left:"right",right:"left"},bN={top:"left",left:"top"},b0={top:"height",left:"width"},V7={width:"totalWidth",height:"totalHeight"},vu={};let Lt=typeof document<"u"&&window.visualViewport;function o5(e){let t=0,n=0,r=0,i=0,a=0,s=0,o={},l=(Lt==null?void 0:Lt.scale)>1;if(e.tagName==="BODY"){let d=document.documentElement;r=d.clientWidth,i=d.clientHeight;var u;t=(u=Lt==null?void 0:Lt.width)!==null&&u!==void 0?u:r;var c;n=(c=Lt==null?void 0:Lt.height)!==null&&c!==void 0?c:i,o.top=d.scrollTop||e.scrollTop,o.left=d.scrollLeft||e.scrollLeft,Lt&&(a=Lt.offsetTop,s=Lt.offsetLeft)}else({width:t,height:n,top:a,left:s}=as(e)),o.top=e.scrollTop,o.left=e.scrollLeft,r=t,i=n;return T8()&&(e.tagName==="BODY"||e.tagName==="HTML")&&l&&(o.top=0,o.left=0,a=Lt.pageTop,s=Lt.pageLeft),{width:t,height:n,totalWidth:r,totalHeight:i,scroll:o,top:a,left:s}}function yN(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function l5(e,t,n,r,i,a,s){let o=i.scroll[e],l=r[b0[e]],u=r.scroll[Ka[e]]+a,c=l+r.scroll[Ka[e]]-a,d=t-o+s[e]-r[Ka[e]],f=t-o+n+s[e]-r[Ka[e]];return d<u?u-d:f>c?Math.max(c-f,u-d):0}function $N(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function u5(e){if(vu[e])return vu[e];let[t,n]=e.split(" "),r=Ka[t]||"right",i=bN[r];Ka[n]||(n="center");let a=b0[r],s=b0[i];return vu[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:a,crossSize:s},vu[e]}function Ih(e,t,n,r,i,a,s,o,l,u){let{placement:c,crossPlacement:d,axis:f,crossAxis:h,size:p,crossSize:g}=r,b={};b[h]=e[h],d==="center"?b[h]+=(e[g]-n[g])/2:d!==h&&(b[h]+=e[g]-n[g]),b[h]+=a;const v=e[h]-n[g]+l+u,m=e[h]+e[g]-l-u;if(b[h]=s0(b[h],v,m),c===f){const $=o?s[p]:t[V7[p]];b[rd[f]]=Math.floor($-e[f]+i)}else b[f]=Math.floor(e[f]+e[p]+i);return b}function xN(e,t,n,r,i,a,s,o){const l=r?n.height:t[V7.height];let u=e.top!=null?n.top+e.top:n.top+(l-e.bottom-s),c=o!=="top"?Math.max(0,t.height+t.top+t.scroll.top-u-(i.top+i.bottom+a)):Math.max(0,u+s-(t.top+t.scroll.top)-(i.top+i.bottom+a));return Math.min(t.height-a*2,c)}function c5(e,t,n,r,i,a){let{placement:s,axis:o,size:l}=a;return s===o?Math.max(0,n[o]-e[o]-e.scroll[o]+t[o]-r[o]-r[rd[o]]-i):Math.max(0,e[l]+e[o]+e.scroll[o]-t[o]-n[o]-n[l]-r[o]-r[rd[o]]-i)}function wN(e,t,n,r,i,a,s,o,l,u,c,d,f,h,p,g){let b=u5(e),{size:v,crossAxis:m,crossSize:$,placement:w,crossPlacement:D}=b,S=Ih(t,o,n,b,c,d,u,f,p,g),k=c,x=c5(o,u,t,i,a+c,b);if(s&&r[v]>x){let B=u5(`${rd[w]} ${D}`),N=Ih(t,o,n,B,c,d,u,f,p,g);c5(o,u,t,i,a+c,B)>x&&(b=B,S=N,k=c)}let T="bottom";b.axis==="top"?b.placement==="top"?T="top":b.placement==="bottom"&&(T="bottom"):b.crossAxis==="top"&&(b.crossPlacement==="top"?T="bottom":b.crossPlacement==="bottom"&&(T="top"));let P=l5(m,S[m],n[$],o,l,a,u);S[m]+=P;let E=xN(S,o,u,f,i,a,n.height,T);h&&h<E&&(E=h),n.height=Math.min(n.height,E),S=Ih(t,o,n,b,k,d,u,f,p,g),P=l5(m,S[m],n[$],o,l,a,u),S[m]+=P;let A={},R=t[m]+.5*t[$]-S[m];const M=p/2+g,z=n[$]-p/2-g,O=t[m]-S[m]+p/2,C=t[m]+t[$]-S[m]-p/2,F=s0(R,O,C);return A[m]=s0(F,M,z),{position:S,maxHeight:E,arrowOffsetLeft:A.left,arrowOffsetTop:A.top,placement:b.placement}}function DN(e){let{placement:t,targetNode:n,overlayNode:r,scrollNode:i,padding:a,shouldFlip:s,boundaryElement:o,offset:l,crossOffset:u,maxHeight:c,arrowSize:d=0,arrowBoundaryOffset:f=0}=e,h=r instanceof HTMLElement?_N(r):document.documentElement,p=h===document.documentElement;const g=window.getComputedStyle(h).position;let b=!!g&&g!=="static",v=p?as(n):d5(n,h);if(!p){let{marginTop:x,marginLeft:T}=window.getComputedStyle(n);v.top+=parseInt(x,10)||0,v.left+=parseInt(T,10)||0}let m=as(r),$=$N(r);m.width+=$.left+$.right,m.height+=$.top+$.bottom;let w=yN(i),D=o5(o),S=o5(h),k=o.tagName==="BODY"?as(h):d5(h,o);return h.tagName==="HTML"&&o.tagName==="BODY"&&(S.scroll.top=0,S.scroll.left=0),wN(t,v,m,w,$,a,s,D,S,k,l,u,b,c,d,f)}function as(e){let{top:t,left:n,width:r,height:i}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:s,clientTop:o,clientLeft:l}=document.documentElement;return{top:t+a-o,left:n+s-l,width:r,height:i}}function d5(e,t){let n=window.getComputedStyle(e),r;if(n.position==="fixed"){let{top:i,left:a,width:s,height:o}=e.getBoundingClientRect();r={top:i,left:a,width:s,height:o}}else{r=as(e);let i=as(t),a=window.getComputedStyle(t);i.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=i.top,r.left-=i.left}return r.top-=parseInt(n.marginTop,10)||0,r.left-=parseInt(n.marginLeft,10)||0,r}function _N(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!f5(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!f5(t);)t=t.parentElement;return t||document.documentElement}function f5(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const W7=new WeakMap;function EN(e){let{triggerRef:t,isOpen:n,onClose:r}=e;y.useEffect(()=>{if(!n||r===null)return;let i=a=>{let s=a.target;if(!t.current||s instanceof Node&&!s.contains(t.current))return;let o=r||W7.get(t.current);o&&o()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[n,r,t])}let Ke=typeof document<"u"&&window.visualViewport;function SN(e){let{direction:t}=Qe(),{arrowSize:n=0,targetRef:r,overlayRef:i,scrollRef:a=i,placement:s="bottom",containerPadding:o=12,shouldFlip:l=!0,boundaryElement:u=typeof document<"u"?document.body:null,offset:c=0,crossOffset:d=0,shouldUpdatePosition:f=!0,isOpen:h=!0,onClose:p,maxHeight:g,arrowBoundaryOffset:b=0}=e,[v,m]=y.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),$=[f,s,i.current,r.current,a.current,o,l,u,c,d,h,t,g,b,n],w=y.useRef(Ke==null?void 0:Ke.scale);y.useEffect(()=>{h&&(w.current=Ke==null?void 0:Ke.scale)},[h]);let D=y.useCallback(()=>{if(f===!1||!h||!i.current||!r.current||!a.current||!u||(Ke==null?void 0:Ke.scale)!==w.current)return;let x=i.current;if(!g&&i.current){var T;x.style.top="0px",x.style.bottom="";var P;x.style.maxHeight=((P=(T=window.visualViewport)===null||T===void 0?void 0:T.height)!==null&&P!==void 0?P:window.innerHeight)+"px"}let E=DN({placement:kN(s,t),overlayNode:i.current,targetNode:r.current,scrollNode:a.current,padding:o,shouldFlip:l,boundaryElement:u,offset:c,crossOffset:d,maxHeight:g,arrowSize:n,arrowBoundaryOffset:b});x.style.top="",x.style.bottom="",Object.keys(E.position).forEach(A=>x.style[A]=E.position[A]+"px"),x.style.maxHeight=E.maxHeight!=null?E.maxHeight+"px":void 0,m(E)},$);he(D,$),CN(D),O8({ref:i,onResize:D});let S=y.useRef(!1);he(()=>{let x,T=()=>{S.current=!0,clearTimeout(x),x=setTimeout(()=>{S.current=!1},500),D()},P=()=>{S.current&&T()};return Ke==null||Ke.addEventListener("resize",T),Ke==null||Ke.addEventListener("scroll",P),()=>{Ke==null||Ke.removeEventListener("resize",T),Ke==null||Ke.removeEventListener("scroll",P)}},[D]);let k=y.useCallback(()=>{S.current||p()},[p,S]);return EN({triggerRef:r,isOpen:h,onClose:p&&k}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...v.position,maxHeight:v.maxHeight}},placement:v.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:v.arrowOffsetLeft,top:v.arrowOffsetTop}},updatePosition:D}}function CN(e){he(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function kN(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const tr=[];function U7(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:i,isDismissable:a=!1,isKeyboardDismissDisabled:s=!1,shouldCloseOnInteractOutside:o}=e;y.useEffect(()=>(i&&tr.push(t),()=>{let p=tr.indexOf(t);p>=0&&tr.splice(p,1)}),[i,t]);let l=()=>{tr[tr.length-1]===t&&n&&n()},u=p=>{(!o||o(p.target))&&tr[tr.length-1]===t&&(p.stopPropagation(),p.preventDefault())},c=p=>{(!o||o(p.target))&&(tr[tr.length-1]===t&&(p.stopPropagation(),p.preventDefault()),l())},d=p=>{p.key==="Escape"&&!s&&!p.nativeEvent.isComposing&&(p.stopPropagation(),p.preventDefault(),l())};BL({ref:t,onInteractOutside:a&&i?c:null,onInteractOutsideStart:u});let{focusWithinProps:f}=Ts({isDisabled:!r,onBlurWithin:p=>{!p.relatedTarget||HL(p.relatedTarget)||(!o||o(p.relatedTarget))&&n()}}),h=p=>{p.target===p.currentTarget&&p.preventDefault()};return{overlayProps:{onKeyDown:d,...f},underlayProps:{onPointerDown:h}}}function PN(e,t,n){let{type:r}=e,{isOpen:i}=t;y.useEffect(()=>{n&&n.current&&W7.set(n.current,t.close)});let a;r==="menu"?a=!0:r==="listbox"&&(a="listbox");let s=Zn();return{triggerProps:{"aria-haspopup":a,"aria-expanded":i,"aria-controls":i?s:null,onPress:t.toggle},overlayProps:{id:s}}}const Lh=typeof document<"u"&&window.visualViewport,TN=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let bu=0,Nh;function H7(e={}){let{isDisabled:t}=e;he(()=>{if(!t)return bu++,bu===1&&(Df()?Nh=MN():Nh=RN()),()=>{bu--,bu===0&&Nh()}},[t])}function RN(){return ol(Ya(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Ya(document.documentElement,"overflow","hidden"))}function MN(){let e,t,n=u=>{e=_f(u.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=Ya(e,"overscrollBehavior","contain"))},r=u=>{if(!e||e===document.documentElement||e===document.body){u.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&u.preventDefault()},i=u=>{let c=u.target;p5(c)&&c!==document.activeElement&&(u.preventDefault(),o(),c.style.transform="translateY(-2000px)",c.focus(),requestAnimationFrame(()=>{c.style.transform=""})),t&&t()},a=u=>{let c=u.target;p5(c)&&(o(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",Lh&&(Lh.height<window.innerHeight?requestAnimationFrame(()=>{h5(c)}):Lh.addEventListener("resize",()=>h5(c),{once:!0}))}))},s=null,o=()=>{if(s)return;let u=()=>{window.scrollTo(0,0)},c=window.pageXOffset,d=window.pageYOffset;s=ol(Ws(window,"scroll",u),Ya(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Ya(document.documentElement,"overflow","hidden"),Ya(document.body,"marginTop",`-${d}px`),()=>{window.scrollTo(c,d)}),window.scrollTo(0,0)},l=ol(Ws(document,"touchstart",n,{passive:!1,capture:!0}),Ws(document,"touchmove",r,{passive:!1,capture:!0}),Ws(document,"touchend",i,{passive:!1,capture:!0}),Ws(document,"focus",a,!0));return()=>{t==null||t(),s==null||s(),l()}}function Ya(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Ws(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function h5(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let n=_f(e);if(n!==document.documentElement&&n!==document.body&&n!==e){let r=n.getBoundingClientRect().top,i=e.getBoundingClientRect().top;i>r+e.clientHeight&&(n.scrollTop+=i-r)}e=n.parentElement}}function p5(e){return e instanceof HTMLInputElement&&!TN.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const y0=_.createContext(null);function AN(e){let{children:t}=e,n=y.useContext(y0),[r,i]=y.useState(0),a=y.useMemo(()=>({parent:n,modalCount:r,addModal(){i(s=>s+1),n&&n.addModal()},removeModal(){i(s=>s-1),n&&n.removeModal()}}),[n,r]);return _.createElement(y0.Provider,{value:a},t)}function FN(){let e=y.useContext(y0);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:null}}}var K7={};K7={dismiss:"تجاهل"};var Y7={};Y7={dismiss:"Отхвърляне"};var q7={};q7={dismiss:"Odstranit"};var G7={};G7={dismiss:"Luk"};var Z7={};Z7={dismiss:"Schließen"};var X7={};X7={dismiss:"Απόρριψη"};var Q7={};Q7={dismiss:"Dismiss"};var J7={};J7={dismiss:"Descartar"};var eE={};eE={dismiss:"Lõpeta"};var tE={};tE={dismiss:"Hylkää"};var nE={};nE={dismiss:"Rejeter"};var rE={};rE={dismiss:"התעלם"};var iE={};iE={dismiss:"Odbaci"};var aE={};aE={dismiss:"Elutasítás"};var sE={};sE={dismiss:"Ignora"};var oE={};oE={dismiss:"閉じる"};var lE={};lE={dismiss:"무시"};var uE={};uE={dismiss:"Atmesti"};var cE={};cE={dismiss:"Nerādīt"};var dE={};dE={dismiss:"Lukk"};var fE={};fE={dismiss:"Negeren"};var hE={};hE={dismiss:"Zignoruj"};var pE={};pE={dismiss:"Descartar"};var mE={};mE={dismiss:"Dispensar"};var gE={};gE={dismiss:"Revocare"};var vE={};vE={dismiss:"Пропустить"};var bE={};bE={dismiss:"Zrušiť"};var yE={};yE={dismiss:"Opusti"};var $E={};$E={dismiss:"Odbaci"};var xE={};xE={dismiss:"Avvisa"};var wE={};wE={dismiss:"Kapat"};var DE={};DE={dismiss:"Скасувати"};var _E={};_E={dismiss:"取消"};var EE={};EE={dismiss:"關閉"};var SE={};SE={"ar-AE":K7,"bg-BG":Y7,"cs-CZ":q7,"da-DK":G7,"de-DE":Z7,"el-GR":X7,"en-US":Q7,"es-ES":J7,"et-EE":eE,"fi-FI":tE,"fr-FR":nE,"he-IL":rE,"hr-HR":iE,"hu-HU":aE,"it-IT":sE,"ja-JP":oE,"ko-KR":lE,"lt-LT":uE,"lv-LV":cE,"nb-NO":dE,"nl-NL":fE,"pl-PL":hE,"pt-BR":pE,"pt-PT":mE,"ro-RO":gE,"ru-RU":vE,"sk-SK":bE,"sl-SI":yE,"sr-SP":$E,"sv-SE":xE,"tr-TR":wE,"uk-UA":DE,"zh-CN":_E,"zh-TW":EE};const m5={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function ON(e={}){let{style:t,isFocusable:n}=e,[r,i]=y.useState(!1),{focusWithinProps:a}=Ts({isDisabled:!n,onFocusWithinChange:o=>i(o)}),s=y.useMemo(()=>r?t:t?{...m5,...t}:m5,[r]);return{visuallyHiddenProps:{...a,style:s}}}function $0(e){let{children:t,elementType:n="div",isFocusable:r,style:i,...a}=e,{visuallyHiddenProps:s}=ON(e);return _.createElement(n,de(a,s),t)}function BN(e){return e&&e.__esModule?e.default:e}function id(e){let{onDismiss:t,...n}=e,r=_n(BN(SE),"@react-aria/overlays"),i=Fl(n,r.format("dismiss")),a=()=>{t&&t()};return _.createElement($0,null,_.createElement("button",{...i,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}let Us=new WeakMap,fn=[];function CE(e,t=document.body){let n=new Set(e),r=new Set,i=l=>{for(let f of l.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(f);let u=f=>{if(n.has(f)||r.has(f.parentElement)&&f.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let h of n)if(f.contains(h))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},c=document.createTreeWalker(l,NodeFilter.SHOW_ELEMENT,{acceptNode:u}),d=u(l);if(d===NodeFilter.FILTER_ACCEPT&&a(l),d!==NodeFilter.FILTER_REJECT){let f=c.nextNode();for(;f!=null;)a(f),f=c.nextNode()}},a=l=>{var u;let c=(u=Us.get(l))!==null&&u!==void 0?u:0;l.getAttribute("aria-hidden")==="true"&&c===0||(c===0&&l.setAttribute("aria-hidden","true"),r.add(l),Us.set(l,c+1))};fn.length&&fn[fn.length-1].disconnect(),i(t);let s=new MutationObserver(l=>{for(let u of l)if(!(u.type!=="childList"||u.addedNodes.length===0)&&![...n,...r].some(c=>c.contains(u.target))){for(let c of u.removedNodes)c instanceof Element&&(n.delete(c),r.delete(c));for(let c of u.addedNodes)(c instanceof HTMLElement||c instanceof SVGElement)&&(c.dataset.liveAnnouncer==="true"||c.dataset.reactAriaTopLayer==="true")?n.add(c):c instanceof Element&&i(c)}});s.observe(t,{childList:!0,subtree:!0});let o={observe(){s.observe(t,{childList:!0,subtree:!0})},disconnect(){s.disconnect()}};return fn.push(o),()=>{s.disconnect();for(let l of r){let u=Us.get(l);u===1?(l.removeAttribute("aria-hidden"),Us.delete(l)):Us.set(l,u-1)}o===fn[fn.length-1]?(fn.pop(),fn.length&&fn[fn.length-1].observe()):fn.splice(fn.indexOf(o),1)}}function IN(e,t){let{triggerRef:n,popoverRef:r,isNonModal:i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:s,...o}=e,{overlayProps:l,underlayProps:u}=U7({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:s},r),{overlayProps:c,arrowProps:d,placement:f}=SN({...o,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:i?t.close:null});return H7({isDisabled:i||!t.isOpen}),he(()=>{if(t.isOpen&&!i&&r.current)return CE([r.current])},[i,t.isOpen,r]),{popoverProps:de(l,c),arrowProps:d,underlayProps:u,placement:f}}const LN=y.createContext({});function NN(){var e;return(e=y.useContext(LN))!==null&&e!==void 0?e:{}}const kE=_.createContext(null);function jN(e){let t=ca(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[i,a]=y.useState(!1),s=y.useMemo(()=>({contain:i,setContain:a}),[i,a]),{getContainer:o}=NN();if(!e.portalContainer&&o&&(n=o()),!n)return null;let l=e.children;return e.disableFocusManagement||(l=_.createElement(jL,{restoreFocus:!0,contain:i&&!r},l)),l=_.createElement(kE.Provider,{value:s},_.createElement(SL,null,l)),so.createPortal(l,n)}function PE(){let e=y.useContext(kE),t=e==null?void 0:e.setContain;he(()=>{t==null||t(!0)},[t])}function TE(e,t,n){let{overlayProps:r,underlayProps:i}=U7({...e,isOpen:t.isOpen,onClose:t.close},n);return H7({isDisabled:!t.isOpen}),PE(),y.useEffect(()=>{if(t.isOpen)return CE([n.current])},[t.isOpen,n]),{modalProps:de(r),underlayProps:i}}var RE={};RE={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var ME={};ME={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var AE={};AE={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var FE={};FE={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var OE={};OE={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var BE={};BE={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var IE={};IE={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var LE={};LE={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var NE={};NE={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var jE={};jE={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var zE={};zE={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var VE={};VE={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var WE={};WE={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var UE={};UE={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var HE={};HE={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var KE={};KE={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var YE={};YE={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var qE={};qE={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var GE={};GE={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var ZE={};ZE={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var XE={};XE={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var QE={};QE={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var JE={};JE={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var e9={};e9={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var t9={};t9={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var n9={};n9={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var r9={};r9={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var i9={};i9={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var a9={};a9={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var s9={};s9={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var o9={};o9={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var l9={};l9={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var u9={};u9={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var c9={};c9={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var Rf={};Rf={"ar-AE":RE,"bg-BG":ME,"cs-CZ":AE,"da-DK":FE,"de-DE":OE,"el-GR":BE,"en-US":IE,"es-ES":LE,"et-EE":NE,"fi-FI":jE,"fr-FR":zE,"he-IL":VE,"hr-HR":WE,"hu-HU":UE,"it-IT":HE,"ja-JP":KE,"ko-KR":YE,"lt-LT":qE,"lv-LV":GE,"nb-NO":ZE,"nl-NL":XE,"pl-PL":QE,"pt-BR":JE,"pt-PT":e9,"ro-RO":t9,"ru-RU":n9,"sk-SK":r9,"sl-SI":i9,"sr-SP":a9,"sv-SE":s9,"tr-TR":o9,"uk-UA":l9,"zh-CN":u9,"zh-TW":c9};function d9(e,t,n){let{direction:r}=Qe(),i=y.useMemo(()=>Pf(t),[t]),a=l=>{if(l.currentTarget.contains(l.target)&&(l.altKey&&(l.key==="ArrowDown"||l.key==="ArrowUp")&&"setOpen"in e&&(l.preventDefault(),l.stopPropagation(),e.setOpen(!0)),!n))switch(l.key){case"ArrowLeft":l.preventDefault(),l.stopPropagation(),r==="rtl"?i.focusNext():i.focusPrevious();break;case"ArrowRight":l.preventDefault(),l.stopPropagation(),r==="rtl"?i.focusPrevious():i.focusNext();break}},s=()=>{var l;let u=(l=window.event)===null||l===void 0?void 0:l.target,c=an(t.current,{tabbable:!0});if(u&&(c.currentNode=u,u=c.previousNode()),!u){let d;do d=c.lastChild(),d&&(u=d);while(d)}for(;u!=null&&u.hasAttribute("data-placeholder");){let d=c.previousNode();if(d&&d.hasAttribute("data-placeholder"))u=d;else break}u&&u.focus()},{pressProps:o}=f$({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(l){l.pointerType==="mouse"&&s()},onPress(l){l.pointerType!=="mouse"&&s()}});return de(o,{onKeyDown:a})}function zN(e){return e&&e.__esModule?e.default:e}const f9=new WeakMap,nc="__role_"+Date.now(),h9="__focusManager_"+Date.now();function p9(e,t,n){var r;let{isInvalid:i,validationErrors:a,validationDetails:s}=t.displayValidation,{labelProps:o,fieldProps:l,descriptionProps:u,errorMessageProps:c}=n7({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||a}),d=y.useRef(null),{focusWithinProps:f}=Ts({...e,onFocusWithin(P){var E;d.current=t.value,(E=e.onFocus)===null||E===void 0||E.call(e,P)},onBlurWithin:P=>{var E;t.confirmPlaceholder(),t.value!==d.current&&t.commitValidation(),(E=e.onBlur)===null||E===void 0||E.call(e,P)},onFocusWithinChange:e.onFocusChange}),h=_n(zN(Rf),"@react-aria/datepicker"),p=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",g=t.maxGranularity==="hour"?"time":"date",b=t.value?h.format(p,{[g]:t.formatValue({month:"long"})}):"",v=c$(b),m=e[nc]==="presentation"?l["aria-describedby"]:[v["aria-describedby"],l["aria-describedby"]].filter(Boolean).join(" ")||void 0,$=e[h9],w=y.useMemo(()=>$||Pf(n),[$,n]),D=d9(t,n,e[nc]==="presentation");f9.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[o.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:m,focusManager:w});let S=y.useRef(e.autoFocus),k;e[nc]==="presentation"?k={role:"presentation"}:k=de(l,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":m}),y.useEffect(()=>{S.current&&w.focusFirst(),S.current=!1},[w]),ZI(e.inputRef,t.value,t.setValue),dN({...e,focus(){w.focusFirst()}},t,e.inputRef);let x={type:"hidden",name:e.name,value:((r=t.value)===null||r===void 0?void 0:r.toString())||""};e.validationBehavior==="native"&&(x.type="text",x.hidden=!0,x.required=e.isRequired,x.onChange=()=>{});let T=Xt(e);return{labelProps:{...o,onClick:()=>{w.focusFirst()}},fieldProps:de(T,k,D,f,{onKeyDown(P){e.onKeyDown&&e.onKeyDown(P)},onKeyUp(P){e.onKeyUp&&e.onKeyUp(P)}}),inputProps:x,descriptionProps:u,errorMessageProps:c,isInvalid:i,validationErrors:a,validationDetails:s}}function VN(e,t,n){var r;let i=p9(e,t,n);return i.inputProps.value=((r=t.timeValue)===null||r===void 0?void 0:r.toString())||"",i}function WN(e){return e&&e.__esModule?e.default:e}function m9(){let{locale:e}=Qe(),t=J_(WN(Rf),"@react-aria/datepicker");return y.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new UN(e,t)}},[e,t])}class UN{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,n){this.locale=t,this.dictionary=n}}var g9={};g9={Empty:"فارغ"};var v9={};v9={Empty:"Изпразни"};var b9={};b9={Empty:"Prázdné"};var y9={};y9={Empty:"Tom"};var $9={};$9={Empty:"Leer"};var x9={};x9={Empty:"Άδειο"};var w9={};w9={Empty:"Empty"};var D9={};D9={Empty:"Vacío"};var _9={};_9={Empty:"Tühjenda"};var E9={};E9={Empty:"Tyhjä"};var S9={};S9={Empty:"Vide"};var C9={};C9={Empty:"ריק"};var k9={};k9={Empty:"Prazno"};var P9={};P9={Empty:"Üres"};var T9={};T9={Empty:"Vuoto"};var R9={};R9={Empty:"空"};var M9={};M9={Empty:"비어 있음"};var A9={};A9={Empty:"Tuščias"};var F9={};F9={Empty:"Tukšs"};var O9={};O9={Empty:"Tom"};var B9={};B9={Empty:"Leeg"};var I9={};I9={Empty:"Pusty"};var L9={};L9={Empty:"Vazio"};var N9={};N9={Empty:"Vazio"};var j9={};j9={Empty:"Gol"};var z9={};z9={Empty:"Не заполнено"};var V9={};V9={Empty:"Prázdne"};var W9={};W9={Empty:"Prazen"};var U9={};U9={Empty:"Prazno"};var H9={};H9={Empty:"Tomt"};var K9={};K9={Empty:"Boş"};var Y9={};Y9={Empty:"Пусто"};var q9={};q9={Empty:"空"};var G9={};G9={Empty:"空白"};var Z9={};Z9={"ar-AE":g9,"bg-BG":v9,"cs-CZ":b9,"da-DK":y9,"de-DE":$9,"el-GR":x9,"en-US":w9,"es-ES":D9,"et-EE":_9,"fi-FI":E9,"fr-FR":S9,"he-IL":C9,"hr-HR":k9,"hu-HU":P9,"it-IT":T9,"ja-JP":R9,"ko-KR":M9,"lt-LT":A9,"lv-LV":F9,"nb-NO":O9,"nl-NL":B9,"pl-PL":I9,"pt-BR":L9,"pt-PT":N9,"ro-RO":j9,"ru-RU":z9,"sk-SK":V9,"sl-SI":W9,"sr-SP":U9,"sv-SE":H9,"tr-TR":K9,"uk-UA":Y9,"zh-CN":q9,"zh-TW":G9};function HN(e){return e&&e.__esModule?e.default:e}function KN(e){const t=y.useRef();let{value:n,textValue:r,minValue:i,maxValue:a,isDisabled:s,isReadOnly:o,isRequired:l,onIncrement:u,onIncrementPage:c,onDecrement:d,onDecrementPage:f,onDecrementToMin:h,onIncrementToMax:p}=e;const g=_n(HN(Z9),"@react-aria/spinbutton"),b=()=>clearTimeout(t.current);y.useEffect(()=>()=>b(),[]);let v=E=>{if(!(E.ctrlKey||E.metaKey||E.shiftKey||E.altKey||o))switch(E.key){case"PageUp":if(c){E.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":u&&(E.preventDefault(),u==null||u());break;case"PageDown":if(f){E.preventDefault(),f==null||f();break}case"ArrowDown":case"Down":d&&(E.preventDefault(),d==null||d());break;case"Home":h&&(E.preventDefault(),h==null||h());break;case"End":p&&(E.preventDefault(),p==null||p());break}},m=y.useRef(!1),$=()=>{m.current=!0},w=()=>{m.current=!1},D=r===""?g.format("Empty"):(r||`${n}`).replace("-","−");y.useEffect(()=>{m.current&&(rN("assertive"),g0(D,"assertive"))},[D]);const S=pt(E=>{b(),u==null||u(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||n===void 0||isNaN(n)||n<a)&&S(60)},E)}),k=pt(E=>{b(),d==null||d(),t.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||n===void 0||isNaN(n)||n>i)&&k(60)},E)});let x=E=>{E.preventDefault()},{addGlobalListener:T,removeAllGlobalListeners:P}=F8();return{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":D,"aria-valuemin":i,"aria-valuemax":a,"aria-disabled":s||void 0,"aria-readonly":o||void 0,"aria-required":l||void 0,onKeyDown:v,onFocus:$,onBlur:w},incrementButtonProps:{onPressStart:()=>{S(400),T(window,"contextmenu",x)},onPressEnd:()=>{b(),P()},onFocus:$,onBlur:w},decrementButtonProps:{onPressStart:()=>{k(400),T(window,"contextmenu",x)},onPressEnd:()=>{b(),P()},onFocus:$,onBlur:w}}}function YN(e,t,n){let r=y.useRef(""),{locale:i}=Qe(),a=m9(),{ariaLabel:s,ariaLabelledBy:o,ariaDescribedBy:l,focusManager:u}=f9.get(t),c=e.isPlaceholder?"":e.text,d=y.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),f=$n({month:"long",timeZone:d.timeZone}),h=$n({hour:"numeric",hour12:d.hour12,timeZone:d.timeZone});if(e.type==="month"&&!e.isPlaceholder){let C=f.format(t.dateValue);c=C!==c?`${c} – ${C}`:C}else e.type==="hour"&&!e.isPlaceholder&&(c=h.format(t.dateValue));let{spinButtonProps:p}=KN({value:e.value,textValue:c,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{r.current="",t.increment(e.type)},onDecrement:()=>{r.current="",t.decrement(e.type)},onIncrementPage:()=>{r.current="",t.incrementPage(e.type)},onDecrementPage:()=>{r.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{r.current="",t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{r.current="",t.setSegment(e.type,e.minValue)}}),g=y.useMemo(()=>new j8(i,{maximumFractionDigits:0}),[i]),b=()=>{if(e.text===e.placeholder&&u.focusPrevious(),g.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let C=e.text.slice(0,-1),F=g.parse(C);C=F===0?"":C,C.length===0||F===0?t.clearSegment(e.type):t.setSegment(e.type,F),r.current=C}else e.type==="dayPeriod"&&t.clearSegment(e.type)},v=C=>{if(C.key==="a"&&($s()?C.metaKey:C.ctrlKey)&&C.preventDefault(),!(C.ctrlKey||C.metaKey||C.shiftKey||C.altKey))switch(C.key){case"Backspace":case"Delete":C.preventDefault(),C.stopPropagation(),b();break}},{startsWith:m}=oL({sensitivity:"base"}),$=$n({hour:"numeric",hour12:!0}),w=y.useMemo(()=>{let C=new Date;return C.setHours(0),$.formatToParts(C).find(F=>F.type==="dayPeriod").value},[$]),D=y.useMemo(()=>{let C=new Date;return C.setHours(12),$.formatToParts(C).find(F=>F.type==="dayPeriod").value},[$]),S=$n({year:"numeric",era:"narrow",timeZone:"UTC"}),k=y.useMemo(()=>{if(e.type!=="era")return[];let C=Oe(new Je(1,1,1),t.calendar),F=t.calendar.getEras().map(N=>{let X=C.set({year:1,month:1,day:1,era:N}).toDate("UTC"),je=S.formatToParts(X).find($e=>$e.type==="era").value;return{era:N,formatted:je}}),B=qN(F.map(N=>N.formatted));if(B)for(let N of F)N.formatted=N.formatted.slice(B);return F},[S,t.calendar,e.type]),x=C=>{if(t.isDisabled||t.isReadOnly)return;let F=r.current+C;switch(e.type){case"dayPeriod":if(m(w,C))t.setSegment("dayPeriod",0);else if(m(D,C))t.setSegment("dayPeriod",12);else break;u.focusNext();break;case"era":{let B=k.find(N=>m(N.formatted,C));B&&(t.setSegment("era",B.era),u.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!g.isValidPartialNumber(F))return;let B=g.parse(F),N=B,X=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":B>11&&(N=g.parse(C));break;case"h12":X=!1,B>12&&(N=g.parse(C));break}e.value>=12&&B>1&&(B+=12)}else B>e.maxValue&&(N=g.parse(C));if(isNaN(B))return;let Q=N!==0||X;Q&&t.setSegment(e.type,N),+(B+"0")>e.maxValue||F.length>=String(e.maxValue).length?(r.current="",Q&&u.focusNext()):r.current=F;break}}},T=()=>{r.current="",I8(n.current,{containingElement:_f(n.current)}),window.getSelection().collapse(n.current)},P=y.useRef("");is(n,"beforeinput",C=>{switch(C.preventDefault(),C.inputType){case"deleteContentBackward":case"deleteContentForward":g.isValidPartialNumber(e.text)&&!t.isReadOnly&&b();break;case"insertCompositionText":P.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:C.data!=null&&x(C.data);break}}),is(n,"input",C=>{let{inputType:F,data:B}=C;switch(F){case"insertCompositionText":n.current.textContent=P.current,(m(w,B)||m(D,B))&&x(B);break}}),he(()=>{let C=n.current;return()=>{document.activeElement===C&&(u.focusPrevious()||u.focusNext())}},[n,u]);let E=Df()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},A=y.useMemo(()=>t.segments.find(C=>C.isEditable),[t.segments]);e!==A&&!t.isInvalid&&(l=void 0);let R=Zn(),M=!t.isDisabled&&!t.isReadOnly&&e.isEditable,z=e.type==="literal"?"":a.of(e.type),O=Fl({"aria-label":`${z}${s?`, ${s}`:""}${o?", ":""}`,"aria-labelledby":o});return e.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:de(p,O,{id:R,...E,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":l,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:M,suppressContentEditableWarning:M,spellCheck:M?"false":void 0,autoCapitalize:M?"off":void 0,autoCorrect:M?"off":void 0,[parseInt(_.version,10)>=17?"enterKeyHint":"enterkeyhint"]:M?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!M?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:v,onFocus:T,style:{caretColor:"transparent"},onPointerDown(C){C.stopPropagation()},onMouseDown(C){C.stopPropagation()}})}}function qN(e){e.sort();let t=e[0],n=e[e.length-1];for(let r=0;r<t.length;r++)if(t[r]!==n[r])return r;return 0}function GN(e){return e&&e.__esModule?e.default:e}function ZN(e,t,n){var r,i;let a=_n(GN(Rf),"@react-aria/datepicker"),{isInvalid:s,validationErrors:o,validationDetails:l}=t.displayValidation,{labelProps:u,fieldProps:c,descriptionProps:d,errorMessageProps:f}=n7({...e,labelElementType:"span",isInvalid:s,errorMessage:e.errorMessage||o}),h=c["aria-labelledby"]||c.id,{locale:p}=Qe(),g=t.formatValue(p,{month:"long"}),b=g?a.format("selectedRangeDescription",{startDate:g.start,endDate:g.end}):"",v=c$(b),m={"aria-label":a.format("startDate"),"aria-labelledby":h},$={"aria-label":a.format("endDate"),"aria-labelledby":h},w=Zn(),D=Zn(),S=d9(t,n),k=[v["aria-describedby"],c["aria-describedby"]].filter(Boolean).join(" ")||void 0,x=y.useMemo(()=>Pf(n,{accept:M=>M.id!==w}),[n,w]),T={[h9]:x,[nc]:"presentation","aria-describedby":k,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},P=Xt(e),{focusWithinProps:E}=Ts({...e,isDisabled:t.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),A=y.useRef(Oi),R=y.useRef(Oi);return{groupProps:de(P,S,c,v,E,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":k,onKeyDown(M){t.isOpen||e.onKeyDown&&e.onKeyDown(M)},onKeyUp(M){t.isOpen||e.onKeyUp&&e.onKeyUp(M)}}),labelProps:{...u,onClick:()=>{x.focusFirst()}},buttonProps:{...v,id:w,"aria-haspopup":"dialog","aria-label":a.format("calendar"),"aria-labelledby":`${w} ${h}`,"aria-describedby":k,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:D,"aria-labelledby":`${w} ${h}`},startFieldProps:{...m,...T,value:(r=t.value)===null||r===void 0?void 0:r.start,onChange:M=>t.setDateTime("start",M),autoFocus:e.autoFocus,name:e.startName,[td]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(M){A.current=M,t.updateValidation(nd(M,R.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...$,...T,value:(i=t.value)===null||i===void 0?void 0:i.end,onChange:M=>t.setDateTime("end",M),name:e.endName,[td]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(M){R.current=M,t.updateValidation(nd(A.current,M))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:d,errorMessageProps:f,calendarProps:{autoFocus:!0,value:t.dateRange,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:s,validationErrors:o,validationDetails:l}}function XN(e,t){let{role:n="dialog"}=e,r=Kc();r=e["aria-label"]?void 0:r;let i=y.useRef(!1);return y.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Xc(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(i.current=!0,t.current&&(t.current.blur(),Xc(t.current)),i.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),PE(),{dialogProps:{...Xt(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||r,onBlur:a=>{i.current&&a.stopPropagation()}},titleProps:{id:r}}}function ss(e,t,n){return t!=null&&e.compare(t)<0||n!=null&&e.compare(n)>0}function x0(e,t,n,r,i){let a={};for(let o in t)a[o]=Math.floor(t[o]/2),a[o]>0&&t[o]%2===0&&a[o]--;let s=zi(e,t,n).subtract(a);return dl(e,s,t,n,r,i)}function zi(e,t,n,r,i){let a=e;return t.years?a=OB(e):t.months?a=Ji(e):t.weeks&&(a=il(e,n)),dl(e,a,t,n,r,i)}function w0(e,t,n,r,i){let a={...t};t.days?a.days--:t.weeks?a.weeks--:t.months?a.months--:t.years&&a.years--;let s=zi(e,t,n).subtract(a);return dl(e,s,t,n,r,i)}function dl(e,t,n,r,i,a){return i&&e.compare(i)>=0&&(t=Jy(t,zi(Zt(i),n,r))),a&&e.compare(a)<=0&&(t=Qy(t,w0(Zt(a),n,r))),t}function Rr(e,t,n){return t&&(e=Jy(e,Zt(t))),n&&(e=Qy(e,Zt(n))),e}function X9(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});if(e.compare(t)>=0)return e}function QN(e){let t=y.useMemo(()=>new ti(e.locale),[e.locale]),n=y.useMemo(()=>t.resolvedOptions(),[t]),{locale:r,createCalendar:i,visibleDuration:a={months:1},minValue:s,maxValue:o,selectionAlignment:l,isDateUnavailable:u,pageBehavior:c="visible"}=e,d=y.useMemo(()=>i(n.calendar),[i,n.calendar]),[f,h]=na(e.value,e.defaultValue,e.onChange),p=y.useMemo(()=>f?Oe(Zt(f),d):null,[f,d]),g=y.useMemo(()=>f&&"timeZone"in f?f.timeZone:n.timeZone,[f,n.timeZone]),b=y.useMemo(()=>e.focusedValue?Rr(Oe(Zt(e.focusedValue),d),s,o):void 0,[e.focusedValue,d,s,o]),v=y.useMemo(()=>Rr(e.defaultFocusedValue?Oe(Zt(e.defaultFocusedValue),d):p||Oe(Rl(g),d),s,o),[e.defaultFocusedValue,p,g,d,s,o]),[m,$]=na(b,v,e.onFocusChange),[w,D]=y.useState(()=>{switch(l){case"start":return zi(m,a,r,s,o);case"end":return w0(m,a,r,s,o);case"center":default:return x0(m,a,r,s,o)}}),[S,k]=y.useState(e.autoFocus||!1),x=y.useMemo(()=>{let C={...a};return C.days?C.days--:C.days=-1,w.add(C)},[w,a]),[T,P]=y.useState(d.identifier);if(d.identifier!==T){let C=Oe(m,d);D(x0(C,a,r,s,o)),$(C),P(d.identifier)}ss(m,s,o)?$(Rr(m,s,o)):m.compare(w)<0?D(w0(m,a,r,s,o)):m.compare(x)>0&&D(zi(m,a,r,s,o));function E(C){C=Rr(C,s,o),$(C)}function A(C){if(!e.isDisabled&&!e.isReadOnly){if(C===null){h(null);return}if(C=Rr(C,s,o),C=X9(C,w,u),!C)return;C=Oe(C,(f==null?void 0:f.calendar)||new At),f&&"hour"in f?h(f.set(C)):h(C)}}let R=y.useMemo(()=>p?u&&u(p)?!0:ss(p,s,o):!1,[p,u,s,o]),M=e.isInvalid||e.validationState==="invalid"||R,z=M?"invalid":null,O=y.useMemo(()=>c==="visible"?a:jh(a),[c,a]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:p,setValue:A,visibleRange:{start:w,end:x},minValue:s,maxValue:o,focusedDate:m,timeZone:g,validationState:z,isValueInvalid:M,setFocusedDate(C){E(C),k(!0)},focusNextDay(){E(m.add({days:1}))},focusPreviousDay(){E(m.subtract({days:1}))},focusNextRow(){a.days?this.focusNextPage():(a.weeks||a.months||a.years)&&E(m.add({weeks:1}))},focusPreviousRow(){a.days?this.focusPreviousPage():(a.weeks||a.months||a.years)&&E(m.subtract({weeks:1}))},focusNextPage(){let C=w.add(O);$(Rr(m.add(O),s,o)),D(zi(dl(m,C,O,r,s,o),O,r))},focusPreviousPage(){let C=w.subtract(O);$(Rr(m.subtract(O),s,o)),D(zi(dl(m,C,O,r,s,o),O,r))},focusSectionStart(){a.days?E(w):a.weeks?E(il(m,r)):(a.months||a.years)&&E(Ji(m))},focusSectionEnd(){a.days?E(x):a.weeks?E(LB(m,r)):(a.months||a.years)&&E(Nc(m))},focusNextSection(C){if(!C&&!a.days){E(m.add(jh(a)));return}a.days?this.focusNextPage():a.weeks?E(m.add({months:1})):(a.months||a.years)&&E(m.add({years:1}))},focusPreviousSection(C){if(!C&&!a.days){E(m.subtract(jh(a)));return}a.days?this.focusPreviousPage():a.weeks?E(m.subtract({months:1})):(a.months||a.years)&&E(m.subtract({years:1}))},selectFocusedDate(){A(m)},selectDate(C){A(C)},isFocused:S,setFocused:k,isInvalid(C){return ss(C,s,o)},isSelected(C){return p!=null&&Ze(C,p)&&!this.isCellDisabled(C)&&!this.isCellUnavailable(C)},isCellFocused(C){return S&&m&&Ze(C,m)},isCellDisabled(C){return e.isDisabled||C.compare(w)<0||C.compare(x)>0||this.isInvalid(C,s,o)},isCellUnavailable(C){return e.isDateUnavailable&&e.isDateUnavailable(C)},isPreviousVisibleRangeInvalid(){let C=w.subtract({days:1});return Ze(C,w)||this.isInvalid(C,s,o)},isNextVisibleRangeInvalid(){let C=x.add({days:1});return Ze(C,x)||this.isInvalid(C,s,o)},getDatesInWeek(C,F=w){let B=F.add({weeks:C}),N=[];B=il(B,r);let X=yf(B,r);for(let Q=0;Q<X;Q++)N.push(null);for(;N.length<7;){N.push(B);let Q=B.add({days:1});if(Ze(B,Q))break;B=Q}for(;N.length<7;)N.push(null);return N}}}function jh(e){let t={...e};for(let n in e)t[n]=1;return t}function JN(e){let{value:t,defaultValue:n,onChange:r,createCalendar:i,locale:a,visibleDuration:s={months:1},minValue:o,maxValue:l,...u}=e,[c,d]=na(t,n||null,r),[f,h]=y.useState(null),p="center";if(c&&c.start&&c.end){let F=x0(Zt(c.start),s,a,o,l).add(s).subtract({days:1});c.end.compare(F)>0&&(p="start")}let g=y.useRef(null),[b,v]=y.useState(null),m=y.useMemo(()=>Jy(o,b==null?void 0:b.start),[o,b]),$=y.useMemo(()=>Qy(l,b==null?void 0:b.end),[l,b]),w=QN({...u,value:c&&c.start,createCalendar:i,locale:a,visibleDuration:s,minValue:m,maxValue:$,selectionAlignment:p}),D=C=>{C&&e.isDateUnavailable&&!e.allowsNonContiguousRanges?(g.current={start:v5(C,w,-1),end:v5(C,w,1)},v(g.current)):(g.current=null,v(null))},[S,k]=y.useState(w.visibleRange);(!Zm(w.visibleRange.start,S.start)||!Zm(w.visibleRange.end,S.end))&&(D(f),k(w.visibleRange));let x=C=>{C?(h(C),D(C)):(h(null),D(null))},T=f?zh(f,w.focusedDate):c&&zh(c.start,c.end),P=C=>{if(!e.isReadOnly&&(C=Rr(C,m,$),C=X9(C,w.visibleRange.start,e.isDateUnavailable),!!C))if(!f)x(C);else{let F=zh(f,C);d({start:g5(F.start,c==null?void 0:c.start),end:g5(F.end,c==null?void 0:c.end)}),x(null)}},[E,A]=y.useState(!1),{isDateUnavailable:R}=e,M=y.useMemo(()=>!c||f?!1:R&&(R(c.start)||R(c.end))?!0:ss(c.start,o,l)||ss(c.end,o,l),[R,c,f,o,l]),z=e.isInvalid||e.validationState==="invalid"||M;return{...w,value:c,setValue:d,anchorDate:f,setAnchorDate:x,highlightedRange:T,validationState:z?"invalid":null,isValueInvalid:z,selectFocusedDate(){P(w.focusedDate)},selectDate:P,highlightDate(C){f&&w.setFocusedDate(C)},isSelected(C){return T&&C.compare(T.start)>=0&&C.compare(T.end)<=0&&!w.isCellDisabled(C)&&!w.isCellUnavailable(C)},isInvalid(C){var F,B;return w.isInvalid(C)||ss(C,(F=g.current)===null||F===void 0?void 0:F.start,(B=g.current)===null||B===void 0?void 0:B.end)},isDragging:E,setDragging:A}}function zh(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:Zt(e),end:Zt(t)})}function g5(e,t){return e=Oe(e,(t==null?void 0:t.calendar)||new At),t&&"hour"in t?t.set(e):e}function v5(e,t,n){let r=e.add({days:n});for(;(n<0?r.compare(t.visibleRange.start)>=0:r.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(r);)r=r.add({days:n});return t.isCellUnavailable(r)?r.add({days:-n}):null}function Q9(e){let[t,n]=na(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const r=y.useCallback(()=>{n(!0)},[n]),i=y.useCallback(()=>{n(!1)},[n]),a=y.useCallback(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:i,toggle:a}}var J9={};J9={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var eS={};eS={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var tS={};tS={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var nS={};nS={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var rS={};rS={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var iS={};iS={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var aS={};aS={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var sS={};sS={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var oS={};oS={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var lS={};lS={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var uS={};uS={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var cS={};cS={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var dS={};dS={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var fS={};fS={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var hS={};hS={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var pS={};pS={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var mS={};mS={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var gS={};gS={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var vS={};vS={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var bS={};bS={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var yS={};yS={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var $S={};$S={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var xS={};xS={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var wS={};wS={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var DS={};DS={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var _S={};_S={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var ES={};ES={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var SS={};SS={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var CS={};CS={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var kS={};kS={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var PS={};PS={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var TS={};TS={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var RS={};RS={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var MS={};MS={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var AS={};AS={"ar-AE":J9,"bg-BG":eS,"cs-CZ":tS,"da-DK":nS,"de-DE":rS,"el-GR":iS,"en-US":aS,"es-ES":sS,"et-EE":oS,"fi-FI":lS,"fr-FR":uS,"he-IL":cS,"hr-HR":dS,"hu-HU":fS,"it-IT":hS,"ja-JP":pS,"ko-KR":mS,"lt-LT":gS,"lv-LV":vS,"nb-NO":bS,"nl-NL":yS,"pl-PL":$S,"pt-BR":xS,"pt-PT":wS,"ro-RO":DS,"ru-RU":_S,"sk-SK":ES,"sl-SI":SS,"sr-SP":CS,"sv-SE":kS,"tr-TR":PS,"uk-UA":TS,"zh-CN":RS,"zh-TW":MS};function ej(e){return e&&e.__esModule?e.default:e}const FS=new hi(ej(AS));function OS(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function D0(e,t,n,r,i){let a=e!=null&&n!=null&&e.compare(n)>0,s=e!=null&&t!=null&&e.compare(t)<0,o=e!=null&&(r==null?void 0:r(e))||!1,l=a||s||o,u=[];if(l){let c=OS(),d=hi.getGlobalDictionaryForPackage("@react-stately/datepicker")||FS,f=new Q_(c,d),h=new ti(c,fl({},i)),p=h.resolvedOptions().timeZone;s&&u.push(f.format("rangeUnderflow",{minValue:h.format(t.toDate(p))})),a&&u.push(f.format("rangeOverflow",{maxValue:h.format(n.toDate(p))})),o&&u.push(f.format("unavailableDate"))}return{isInvalid:l,validationErrors:u,validationDetails:{badInput:o,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:s,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!l}}}function tj(e,t,n,r,i){let a=D0(e==null?void 0:e.start,t,n,r,i),s=D0(e==null?void 0:e.end,t,n,r,i),o=nd(a,s);if(e.end!=null&&e.start!=null&&e.end.compare(e.start)<0){let l=hi.getGlobalDictionaryForPackage("@react-stately/datepicker")||FS;o=nd(o,{isInvalid:!0,validationErrors:[l.getStringForLocale("rangeReversed",OS())],validationDetails:{...Tf,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return o}const nj={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},rj={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function fl(e,t){e={...t.shouldForceLeadingZeros?rj:nj,...e};let r=t.granularity||"minute",i=Object.keys(e);var a;let s=i.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");s<0&&(s=0);let o=i.indexOf(r);if(o<0&&(o=2),s>o)throw new Error("maxGranularity must be greater than granularity");let l=i.slice(s,o+1).reduce((c,d)=>(c[d]=e[d],c),{});return t.hourCycle!=null&&(l.hour12=t.hourCycle===12),l.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(l.timeZoneName="short"),t.showEra&&s===0&&(l.era="short"),l}function yu(e){return e&&"hour"in e?e:new Al}function BS(e,t){if(e===null)return null;if(e)return Oe(e,t)}function Hs(e,t,n,r){if(e)return BS(e,n);let i=Oe(n8(r).set({hour:0,minute:0,second:0,millisecond:0}),n);return t==="year"||t==="month"||t==="day"?Zt(i):r?i:Gn(i)}function IS(e,t){let n=e&&"timeZone"in e?e.timeZone:void 0,r=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[i,a]=y.useState([r,n]);e&&(i[0]!==r||i[1]!==n)&&a([r,n]),t||(t=e?r:i[0]);let s=e?n:i[1];return[t,s]}const ij=new hi({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" 年 ",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function aj(e,t,n){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?ij.getStringForLocale(e,n):"––"}const $u={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},b5={year:5,month:2,day:7,hour:2,minute:15,second:15},sj={dayperiod:"dayPeriod"};function LS(e){let{locale:t,createCalendar:n,hideTimeZone:r,isDisabled:i,isReadOnly:a,isRequired:s,minValue:o,maxValue:l,isDateUnavailable:u}=e,c=e.value||e.defaultValue||e.placeholderValue,[d,f]=IS(c,e.granularity),h=f||"UTC";if(c&&!(d in c))throw new Error("Invalid granularity "+d+" for value "+c.toString());let p=y.useMemo(()=>new ti(t),[t]),g=y.useMemo(()=>n(p.resolvedOptions().calendar),[n,p]),[b,v]=na(e.value,e.defaultValue,e.onChange),m=y.useMemo(()=>BS(b,g),[b,g]),[$,w]=y.useState(()=>Hs(e.placeholderValue,d,g,f)),D=m||$,S=g.identifier==="gregory"&&D.era==="BC",k=y.useMemo(()=>{var W;return{granularity:d,maxGranularity:(W=e.maxGranularity)!==null&&W!==void 0?W:"year",timeZone:f,hideTimeZone:r,hourCycle:e.hourCycle,showEra:S,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,d,e.hourCycle,e.shouldForceLeadingZeros,f,r,S]),x=y.useMemo(()=>fl({},k),[k]),T=y.useMemo(()=>new ti(t,x),[t,x]),P=y.useMemo(()=>T.resolvedOptions(),[T]),E=y.useMemo(()=>T.formatToParts(new Date).filter(W=>$u[W.type]).reduce((W,Ce)=>(W[Ce.type]=!0,W),{}),[T]),[A,R]=y.useState(()=>e.value||e.defaultValue?{...E}:{}),M=y.useRef(),z=y.useRef(g.identifier);y.useEffect(()=>{g.identifier!==z.current&&(z.current=g.identifier,w(W=>Object.keys(A).length>0?Oe(W,g):Hs(e.placeholderValue,d,g,f)))},[g,d,A,f,e.placeholderValue]),b&&Object.keys(A).length<Object.keys(E).length&&(A={...E},R(A)),b==null&&Object.keys(A).length===Object.keys(E).length&&(A={},R(A),w(Hs(e.placeholderValue,d,g,f)));let O=m&&Object.keys(A).length>=Object.keys(E).length?m:$,C=W=>{if(e.isDisabled||e.isReadOnly)return;let Ce=Object.keys(A),et=Object.keys(E);W==null?(v(null),w(Hs(e.placeholderValue,d,g,f)),R({})):Ce.length>=et.length||Ce.length===et.length-1&&E.dayPeriod&&!A.dayPeriod&&M.current!=="dayPeriod"?(W=Oe(W,(c==null?void 0:c.calendar)||new At),v(W)):w(W),M.current=null},F=y.useMemo(()=>O.toDate(h),[O,h]),B=y.useMemo(()=>T.formatToParts(F).map(W=>{let Ce=$u[W.type];W.type==="era"&&g.getEras().length===1&&(Ce=!1);let et=$u[W.type]&&!A[W.type],yt=$u[W.type]?aj(W.type,W.value,t):null;return{type:sj[W.type]||W.type,text:et?yt:W.value,...oj(O,W.type,P),isPlaceholder:et,placeholder:yt,isEditable:Ce}}),[F,A,T,P,O,g,t]);E.era&&A.year&&!A.era?(A.era=!0,R({...A})):!E.era&&A.era&&(delete A.era,R({...A}));let N=W=>{A[W]=!0,W==="year"&&E.era&&(A.era=!0),R({...A})},X=(W,Ce)=>{if(A[W])C(lj(O,W,Ce,P));else{N(W);let et=Object.keys(A),yt=Object.keys(E);(et.length>=yt.length||et.length===yt.length-1&&E.dayPeriod&&!A.dayPeriod)&&C(O)}},Q=y.useMemo(()=>D0(b,o,l,u,k),[b,o,l,u,k]),je=z7({...e,value:b,builtinValidation:Q}),$e=je.displayValidation.isInvalid,lt=e.validationState||($e?"invalid":null);var xe;return{...je,value:m,dateValue:F,calendar:g,setValue:C,segments:B,dateFormatter:T,validationState:lt,isInvalid:$e,granularity:d,maxGranularity:(xe=e.maxGranularity)!==null&&xe!==void 0?xe:"year",isDisabled:i,isReadOnly:a,isRequired:s,increment(W){X(W,1)},decrement(W){X(W,-1)},incrementPage(W){X(W,b5[W]||1)},decrementPage(W){X(W,-(b5[W]||1))},setSegment(W,Ce){N(W),C(uj(O,W,Ce,P))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let W=Object.keys(A),Ce=Object.keys(E);W.length===Ce.length-1&&E.dayPeriod&&!A.dayPeriod&&(A={...E},R(A),C(O.copy()))},clearSegment(W){delete A[W],M.current=W,R({...A});let Ce=Hs(e.placeholderValue,d,g,f),et=O;if(W==="dayPeriod"&&"hour"in O&&"hour"in Ce){let yt=O.hour>=12,ut=Ce.hour>=12;yt&&!ut?et=O.set({hour:O.hour-12}):!yt&&ut&&(et=O.set({hour:O.hour+12}))}else W in O&&(et=O.set({[W]:Ce[W]}));v(null),C(et)},formatValue(W){if(!m)return"";let Ce=fl(W,k);return new ti(t,Ce).format(F)}}}function oj(e,t,n){switch(t){case"era":{let r=e.calendar.getEras();return{value:r.indexOf(e.era),minValue:0,maxValue:r.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:BB(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:IB(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(n.hour12){let r=e.hour>=12;return{value:e.hour,minValue:r?12:0,maxValue:r?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function lj(e,t,n,r){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,n,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return e.set({hour:a?i-12:i+12})}case"hour":case"minute":case"second":return e.cycle(t,n,{round:t!=="hour",hourCycle:r.hour12?12:24})}}function uj(e,t,n,r){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:n})}if("hour"in e)switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return n>=12===a?e:e.set({hour:a?i-12:i+12})}case"hour":if(r.hour12){let a=e.hour>=12;!a&&n===12&&(n=0),a&&n<12&&(n+=12)}case"minute":case"second":return e.set({[t]:n})}}function cj(e){var t,n;let r=Q9(e),[i,a]=na(e.value,e.defaultValue||null,e.onChange),[s,o]=y.useState(()=>i||{start:null,end:null});i==null&&s.start&&s.end&&(s={start:null,end:null},o(s));let l=i||s,u=O=>{o(O||{start:null,end:null}),O!=null&&O.start&&O.end?a(O):a(null)},c=(l==null?void 0:l.start)||(l==null?void 0:l.end)||e.placeholderValue,[d,f]=IS(c,e.granularity),h=d==="hour"||d==="minute"||d==="second";var p;let g=(p=e.shouldCloseOnSelect)!==null&&p!==void 0?p:!0,[b,v]=y.useState(null),[m,$]=y.useState(null);l&&l.start&&l.end&&(b=l,"hour"in l.start&&(m=l));let w=(O,C)=>{u({start:"timeZone"in C.start?C.start.set(Zt(O.start)):Gn(O.start,C.start),end:"timeZone"in C.end?C.end.set(Zt(O.end)):Gn(O.end,C.end)}),v(null),$(null),R.commitValidation()},D=O=>{let C=typeof g=="function"?g():g;h?C||O.start&&O.end&&(m!=null&&m.start)&&(m!=null&&m.end)?w(O,{start:(m==null?void 0:m.start)||yu(e.placeholderValue),end:(m==null?void 0:m.end)||yu(e.placeholderValue)}):v(O):O.start&&O.end?(u(O),R.commitValidation()):v(O),C&&r.setOpen(!1)},S=O=>{b!=null&&b.start&&(b!=null&&b.end)&&O.start&&O.end?w(b,O):$(O)},k=(l==null||(t=l.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&l.start.era==="BC"||(l==null||(n=l.end)===null||n===void 0?void 0:n.calendar.identifier)==="gregory"&&l.end.era==="BC",x=y.useMemo(()=>({granularity:d,timeZone:f,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:k}),[d,e.hourCycle,e.shouldForceLeadingZeros,f,e.hideTimeZone,k]),{minValue:T,maxValue:P,isDateUnavailable:E}=e,A=y.useMemo(()=>tj(l,T,P,E,x),[l,T,P,E,x]),R=z7({...e,value:i,name:y.useMemo(()=>[e.startName,e.endName],[e.startName,e.endName]),builtinValidation:A}),M=R.displayValidation.isInvalid,z=e.validationState||(M?"invalid":null);return{...R,value:l,setValue:u,dateRange:b,timeRange:m,granularity:d,hasTime:h,setDate(O,C){D({...b,[O]:C})},setTime(O,C){S({...m,[O]:C})},setDateTime(O,C){u({...l,[O]:C})},setDateRange:D,setTimeRange:S,...r,setOpen(O){!O&&!(l!=null&&l.start&&(l!=null&&l.end))&&(b!=null&&b.start)&&(b!=null&&b.end)&&h&&w(b,{start:(m==null?void 0:m.start)||yu(e.placeholderValue),end:(m==null?void 0:m.end)||yu(e.placeholderValue)}),r.setOpen(O)},validationState:z,isInvalid:M,formatValue(O,C){if(!l||!l.start||!l.end)return null;let F="timeZone"in l.start?l.start.timeZone:void 0,B=e.granularity||(l.start&&"minute"in l.start?"minute":"day"),N="timeZone"in l.end?l.end.timeZone:void 0,X=e.granularity||(l.end&&"minute"in l.end?"minute":"day"),Q=fl(C,{granularity:B,timeZone:F,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:l.start.calendar.identifier==="gregory"&&l.start.era==="BC"||l.end.calendar.identifier==="gregory"&&l.end.era==="BC"}),je=l.start.toDate(F||"UTC"),$e=l.end.toDate(N||"UTC"),lt=new ti(O,Q),xe;if(F===N&&B===X&&l.start.compare(l.end)!==0){try{let W=lt.formatRangeToParts(je,$e),Ce=-1;for(let ut=0;ut<W.length;ut++){let Nf=W[ut];if(Nf.source==="shared"&&Nf.type==="literal")Ce=ut;else if(Nf.source==="endRange")break}let et="",yt="";for(let ut=0;ut<W.length;ut++)ut<Ce?et+=W[ut].value:ut>Ce&&(yt+=W[ut].value);return{start:et,end:yt}}catch{}xe=lt}else{let W=fl(C,{granularity:X,timeZone:N,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});xe=new ti(O,W)}return{start:lt.format(je),end:xe.format($e)}}}}function dj(e){let{placeholderValue:t=new Al,minValue:n,maxValue:r,granularity:i,validate:a}=e,[s,o]=na(e.value,e.defaultValue,e.onChange),l=s||t,u=l&&"day"in l?l:void 0,c=e.defaultValue&&"timeZone"in e.defaultValue?e.defaultValue.timeZone:void 0,d=y.useMemo(()=>{let m=l&&"timeZone"in l?l.timeZone:void 0;return(m||c)&&t?l8(Ks(t),m||c):Ks(t)},[t,l,c]),f=y.useMemo(()=>Ks(n,u),[n,u]),h=y.useMemo(()=>Ks(r,u),[r,u]),p=y.useMemo(()=>s&&"day"in s?k2(s):s,[s]),g=y.useMemo(()=>s==null?null:Ks(s),[s]);return{...LS({...e,value:g,defaultValue:void 0,minValue:f,maxValue:h,onChange:m=>{o(u||c?m:m&&k2(m))},granularity:i||"minute",maxGranularity:"hour",placeholderValue:d,createCalendar:()=>new At,validate:y.useCallback(()=>a==null?void 0:a(s),[a,s])}),timeValue:p}}function Ks(e,t=Rl($f())){return e?"day"in e?e:Gn(t,e):null}const v$=_.createContext(null);v$.displayName="ProviderContext";function Rs(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var fa={};Rs(fa,"focus-ring",()=>_0,e=>_0=e);Rs(fa,"i18nFontFamily",()=>E0,e=>E0=e);Rs(fa,"spectrum",()=>S0,e=>S0=e);Rs(fa,"spectrum-FocusRing-ring",()=>ad,e=>ad=e);Rs(fa,"spectrum-FocusRing",()=>C0,e=>C0=e);Rs(fa,"spectrum-FocusRing--quiet",()=>k0,e=>k0=e);var _0,E0,S0,ad,C0,k0;_0="JuTe6q_focus-ring";E0="JuTe6q_i18nFontFamily";S0="JuTe6q_spectrum";ad="JuTe6q_spectrum-FocusRing-ring";C0=`JuTe6q_spectrum-FocusRing ${ad}`;k0="JuTe6q_spectrum-FocusRing--quiet";function pi(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var wr={};pi(wr,"focus-ring",()=>P0,e=>P0=e);pi(wr,"i18nFontFamily",()=>sd,e=>sd=e);pi(wr,"spectrum",()=>T0,e=>T0=e);pi(wr,"spectrum-Body",()=>R0,e=>R0=e);pi(wr,"spectrum-Body--italic",()=>M0,e=>M0=e);pi(wr,"spectrum-FocusRing-ring",()=>od,e=>od=e);pi(wr,"spectrum-FocusRing",()=>A0,e=>A0=e);pi(wr,"spectrum-FocusRing--quiet",()=>F0,e=>F0=e);var P0,sd,T0,R0,M0,od,A0,F0;P0="_5QszkG_focus-ring";sd="_5QszkG_i18nFontFamily";T0=`_5QszkG_spectrum ${sd}`;R0="_5QszkG_spectrum-Body";M0="_5QszkG_spectrum-Body--italic";od="_5QszkG_spectrum-FocusRing-ring";A0=`_5QszkG_spectrum-FocusRing ${od}`;F0="_5QszkG_spectrum-FocusRing--quiet";function fj(e,t){let n=qm("(prefers-color-scheme: dark)"),r=qm("(prefers-color-scheme: light)");return e.dark&&n?"dark":e.light&&r?"light":e.dark&&t==="dark"?"dark":e.light&&t==="light"||!e.dark||e.light?"light":"dark"}function hj(e){return qm("(any-pointer: fine)")&&e.medium?"medium":e.large?"large":"medium"}var NS={};NS=JSON.parse('{"name":"@react-spectrum/provider","version":"3.9.6","description":"Spectrum UI components in React","license":"Apache-2.0","main":"dist/main.js","module":"dist/module.js","exports":{"types":"./dist/types.d.ts","import":"./dist/import.mjs","require":"./dist/main.js"},"types":"dist/types.d.ts","source":"src/index.ts","files":["dist","src"],"sideEffects":["*.css"],"targets":{"main":{"includeNodeModules":["@adobe/spectrum-css-temp"]},"module":{"includeNodeModules":["@adobe/spectrum-css-temp"]}},"repository":{"type":"git","url":"https://github.com/adobe/react-spectrum"},"dependencies":{"@react-aria/i18n":"^3.11.0","@react-aria/overlays":"^3.22.0","@react-aria/utils":"^3.24.0","@react-spectrum/utils":"^3.11.6","@react-types/provider":"^3.8.0","@react-types/shared":"^3.23.0","@swc/helpers":"^0.5.0","clsx":"^2.0.0"},"devDependencies":{"@adobe/spectrum-css-temp":"3.0.0-alpha.1"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"},"publishConfig":{"access":"public"}}');function y5(e){return e&&e.__esModule?e.default:e}const pj={S:640,M:768,L:1024,XL:1280,XXL:1536};function mj(e,t){let n=ha(),r=n&&n.colorScheme,i=n&&n.breakpoints,{theme:a=n&&n.theme,defaultColorScheme:s}=e;if(!a)throw new Error("theme not found, the parent provider must have a theme provided");let o=fj(a,s),l=hj(a),{locale:u}=Qe(),c=!!a[r],{colorScheme:d=c?r:o,scale:f=n?n.scale:l,locale:h=n?u:null,breakpoints:p=n?i:pj,children:g,isQuiet:b,isEmphasized:v,isDisabled:m,isRequired:$,isReadOnly:w,validationState:D,router:S,...k}=e,x={version:NS.version,theme:a,breakpoints:p,colorScheme:d,scale:f,isQuiet:b,isEmphasized:v,isDisabled:m,isRequired:$,isReadOnly:w,validationState:D},T=DB(p),P={};Object.entries(x).forEach(([z,O])=>O!==void 0&&(P[z]=O));let E=Object.assign({},n,P),A=g,R=Xt(k),{styleProps:M}=st(k,void 0,{matchedBreakpoints:T});return(!n||e.locale||a!==n.theme||d!==n.colorScheme||f!==n.scale||Object.keys(R).length>0||k.UNSAFE_className||Object.keys(M.style).length>0)&&(A=_.createElement(gj,{...e,UNSAFE_style:{isolation:n?void 0:"isolate",...M.style},ref:t},A)),S&&(A=_.createElement(zI,S,A)),_.createElement(v$.Provider,{value:E},_.createElement(CB,{locale:h},_.createElement(wB,{matchedBreakpoints:T},_.createElement(AN,null,A))))}let jS=_.forwardRef(mj);const gj=_.forwardRef(function(t,n){let{children:r,...i}=t,{locale:a,direction:s}=Qe(),{theme:o,colorScheme:l,scale:u}=ha(),{modalProviderProps:c}=FN(),{styleProps:d}=st(i),f=In(n),h=Object.keys(o[l])[0],p=Object.keys(o[u])[0],g=gf(d.className,y5(fa).spectrum,y5(wr).spectrum,Object.values(o[l]),Object.values(o[u]),o.global?Object.values(o.global):null,{"react-spectrum-provider":su,spectrum:su,[h]:su,[p]:su});var b,v;let m={...d.style,colorScheme:(v=(b=t.colorScheme)!==null&&b!==void 0?b:l)!==null&&v!==void 0?v:Object.keys(o).filter(w=>w==="light"||w==="dark").join(" ")},$=y.useRef(!1);return y.useEffect(()=>{if(s&&f.current){let w=f.current.parentElement.closest("[dir]"),D=w&&w.getAttribute("dir");D&&D!==s&&!$.current&&(console.warn(`Language directions cannot be nested. ${s} inside ${D}.`),$.current=!0)}},[s,f,$]),_.createElement("div",{...Xt(i),...d,...c,className:g,style:m,lang:a,dir:s,ref:f},r)});function ha(){return y.useContext(v$)}function Bl(e){let t=ha();return t?Object.assign({},{isQuiet:t.isQuiet,isEmphasized:t.isEmphasized,isDisabled:t.isDisabled,isRequired:t.isRequired,isReadOnly:t.isReadOnly,validationState:t.validationState},e):e}var zS={};Object.defineProperty(zS,"__esModule",{value:!0});var vj=zS.CornerTriangle=VS,Vh=bj(y);function bj(e){return e&&e.__esModule?e:{default:e}}function O0(){return O0=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O0.apply(this,arguments)}function yj(e,t){if(e==null)return{};var n=$j(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $j(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function VS(e){var t=e.scale,n=t===void 0?"M":t,r=yj(e,["scale"]);return Vh.default.createElement("svg",O0({},r,r),n==="L"&&Vh.default.createElement("path",{d:"M5.74.01a.25.25 0 0 0-.177.073l-5.48 5.48a.25.25 0 0 0 .177.427h5.48a.25.25 0 0 0 .25-.25V.26a.25.25 0 0 0-.25-.25z"}),n==="M"&&Vh.default.createElement("path",{d:"M4.74.01a.25.25 0 0 0-.177.073l-4.48 4.48a.25.25 0 0 0 .177.427h4.48a.25.25 0 0 0 .25-.25V.26a.25.25 0 0 0-.25-.25z"}))}VS.displayName="CornerTriangle";function G(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var Y={};G(Y,"spectrum--large",()=>B0,e=>B0=e);G(Y,"spectrum--medium",()=>I0,e=>I0=e);G(Y,"spectrum-Icon",()=>L0,e=>L0=e);G(Y,"spectrum-Icon--sizeL",()=>N0,e=>N0=e);G(Y,"spectrum-Icon--sizeM",()=>j0,e=>j0=e);G(Y,"spectrum-Icon--sizeS",()=>z0,e=>z0=e);G(Y,"spectrum-Icon--sizeXL",()=>V0,e=>V0=e);G(Y,"spectrum-Icon--sizeXS",()=>W0,e=>W0=e);G(Y,"spectrum-Icon--sizeXXL",()=>U0,e=>U0=e);G(Y,"spectrum-Icon--sizeXXS",()=>H0,e=>H0=e);G(Y,"spectrum-UIIcon",()=>K0,e=>K0=e);G(Y,"spectrum-UIIcon--large",()=>Y0,e=>Y0=e);G(Y,"spectrum-UIIcon--medium",()=>q0,e=>q0=e);G(Y,"spectrum-UIIcon-AlertMedium",()=>G0,e=>G0=e);G(Y,"spectrum-UIIcon-AlertSmall",()=>Z0,e=>Z0=e);G(Y,"spectrum-UIIcon-ArrowDownSmall",()=>X0,e=>X0=e);G(Y,"spectrum-UIIcon-ArrowLeftMedium",()=>Q0,e=>Q0=e);G(Y,"spectrum-UIIcon-Asterisk",()=>J0,e=>J0=e);G(Y,"spectrum-UIIcon-CheckmarkMedium",()=>eg,e=>eg=e);G(Y,"spectrum-UIIcon-CheckmarkSmall",()=>tg,e=>tg=e);G(Y,"spectrum-UIIcon-ChevronDownMedium",()=>ng,e=>ng=e);G(Y,"spectrum-UIIcon-ChevronDownSmall",()=>rg,e=>rg=e);G(Y,"spectrum-UIIcon-ChevronLeftLarge",()=>ig,e=>ig=e);G(Y,"spectrum-UIIcon-ChevronLeftMedium",()=>ag,e=>ag=e);G(Y,"spectrum-UIIcon-ChevronRightLarge",()=>sg,e=>sg=e);G(Y,"spectrum-UIIcon-ChevronRightMedium",()=>og,e=>og=e);G(Y,"spectrum-UIIcon-ChevronRightSmall",()=>lg,e=>lg=e);G(Y,"spectrum-UIIcon-ChevronUpSmall",()=>ug,e=>ug=e);G(Y,"spectrum-UIIcon-CornerTriangle",()=>cg,e=>cg=e);G(Y,"spectrum-UIIcon-CrossLarge",()=>dg,e=>dg=e);G(Y,"spectrum-UIIcon-CrossMedium",()=>fg,e=>fg=e);G(Y,"spectrum-UIIcon-CrossSmall",()=>hg,e=>hg=e);G(Y,"spectrum-UIIcon-DashSmall",()=>pg,e=>pg=e);G(Y,"spectrum-UIIcon-DoubleGripper",()=>mg,e=>mg=e);G(Y,"spectrum-UIIcon-FolderBreadcrumb",()=>gg,e=>gg=e);G(Y,"spectrum-UIIcon-HelpMedium",()=>vg,e=>vg=e);G(Y,"spectrum-UIIcon-HelpSmall",()=>bg,e=>bg=e);G(Y,"spectrum-UIIcon-InfoMedium",()=>yg,e=>yg=e);G(Y,"spectrum-UIIcon-InfoSmall",()=>$g,e=>$g=e);G(Y,"spectrum-UIIcon-ListGripper",()=>xg,e=>xg=e);G(Y,"spectrum-UIIcon-Magnifier",()=>wg,e=>wg=e);G(Y,"spectrum-UIIcon-SkipLeft",()=>Dg,e=>Dg=e);G(Y,"spectrum-UIIcon-SkipRight",()=>_g,e=>_g=e);G(Y,"spectrum-UIIcon-Star",()=>Eg,e=>Eg=e);G(Y,"spectrum-UIIcon-StarOutline",()=>Sg,e=>Sg=e);G(Y,"spectrum-UIIcon-SuccessMedium",()=>Cg,e=>Cg=e);G(Y,"spectrum-UIIcon-SuccessSmall",()=>kg,e=>kg=e);G(Y,"spectrum-UIIcon-TripleGripper",()=>Pg,e=>Pg=e);var B0,I0,L0,N0,j0,z0,V0,W0,U0,H0,K0,Y0,q0,G0,Z0,X0,Q0,J0,eg,tg,ng,rg,ig,ag,sg,og,lg,ug,cg,dg,fg,hg,pg,mg,gg,vg,bg,yg,$g,xg,wg,Dg,_g,Eg,Sg,Cg,kg,Pg;B0="yxBNXG_spectrum--large";I0="yxBNXG_spectrum--medium";L0="yxBNXG_spectrum-Icon";N0="yxBNXG_spectrum-Icon--sizeL";j0="yxBNXG_spectrum-Icon--sizeM";z0="yxBNXG_spectrum-Icon--sizeS";V0="yxBNXG_spectrum-Icon--sizeXL";W0="yxBNXG_spectrum-Icon--sizeXS";U0="yxBNXG_spectrum-Icon--sizeXXL";H0="yxBNXG_spectrum-Icon--sizeXXS";K0="yxBNXG_spectrum-UIIcon";Y0="yxBNXG_spectrum-UIIcon--large";q0="yxBNXG_spectrum-UIIcon--medium";G0="yxBNXG_spectrum-UIIcon-AlertMedium";Z0="yxBNXG_spectrum-UIIcon-AlertSmall";X0="yxBNXG_spectrum-UIIcon-ArrowDownSmall";Q0="yxBNXG_spectrum-UIIcon-ArrowLeftMedium";J0="yxBNXG_spectrum-UIIcon-Asterisk";eg="yxBNXG_spectrum-UIIcon-CheckmarkMedium";tg="yxBNXG_spectrum-UIIcon-CheckmarkSmall";ng="yxBNXG_spectrum-UIIcon-ChevronDownMedium";rg="yxBNXG_spectrum-UIIcon-ChevronDownSmall";ig="yxBNXG_spectrum-UIIcon-ChevronLeftLarge";ag="yxBNXG_spectrum-UIIcon-ChevronLeftMedium";sg="yxBNXG_spectrum-UIIcon-ChevronRightLarge";og="yxBNXG_spectrum-UIIcon-ChevronRightMedium";lg="yxBNXG_spectrum-UIIcon-ChevronRightSmall";ug="yxBNXG_spectrum-UIIcon-ChevronUpSmall";cg="yxBNXG_spectrum-UIIcon-CornerTriangle";dg="yxBNXG_spectrum-UIIcon-CrossLarge";fg="yxBNXG_spectrum-UIIcon-CrossMedium";hg="yxBNXG_spectrum-UIIcon-CrossSmall";pg="yxBNXG_spectrum-UIIcon-DashSmall";mg="yxBNXG_spectrum-UIIcon-DoubleGripper";gg="yxBNXG_spectrum-UIIcon-FolderBreadcrumb";vg="yxBNXG_spectrum-UIIcon-HelpMedium";bg="yxBNXG_spectrum-UIIcon-HelpSmall";yg="yxBNXG_spectrum-UIIcon-InfoMedium";$g="yxBNXG_spectrum-UIIcon-InfoSmall";xg="yxBNXG_spectrum-UIIcon-ListGripper";wg="yxBNXG_spectrum-UIIcon-Magnifier";Dg="yxBNXG_spectrum-UIIcon-SkipLeft";_g="yxBNXG_spectrum-UIIcon-SkipRight";Eg="yxBNXG_spectrum-UIIcon-Star";Sg="yxBNXG_spectrum-UIIcon-StarOutline";Cg="yxBNXG_spectrum-UIIcon-SuccessMedium";kg="yxBNXG_spectrum-UIIcon-SuccessSmall";Pg="yxBNXG_spectrum-UIIcon-TripleGripper";function xj(e){return e&&e.__esModule?e.default:e}function wj(e){return`var(--spectrum-semantic-${e}-color-icon)`}const Dj={...Ef,color:["color",wj]};function _j(e){e=oi(e,"icon");let{children:t,size:n,"aria-label":r,"aria-hidden":i,...a}=e,{styleProps:s}=st(a,Dj),o=ha(),l="M";o!==null&&(l=o.scale==="large"?"L":"M"),i||(i=void 0);let u=n||l;return _.cloneElement(t,{...Xt(a),...s,focusable:"false","aria-label":r,"aria-hidden":r?i||void 0:!0,role:"img",className:V(xj(Y),t.props.className,"spectrum-Icon",`spectrum-Icon--size${u}`,s.className)})}function Ej(e){return e&&e.__esModule?e.default:e}function pa(e){e=oi(e,"icon");let{children:t,"aria-label":n,"aria-hidden":r,...i}=e,{styleProps:a}=st(i),s=ha(),o="M";return s!==null&&(o=s.scale==="large"?"L":"M"),r||(r=void 0),_.cloneElement(t,{...Xt(i),...a,scale:o,focusable:"false","aria-label":n,"aria-hidden":n?r||void 0:!0,role:"img",className:V(Ej(Y),t.props.className,"spectrum-Icon",{[`spectrum-UIIcon-${t.type.displayName}`]:t.type.displayName},a.className)})}function Sj(e){return _.createElement(pa,e,_.createElement(vj,null))}function Ys(e){return e&&e.__esModule?e.default:e}function Cj(e,t){e=Bl(e),e=oi(e,"actionButton");let n=oi({UNSAFE_className:V(Ys(Z),"spectrum-ActionButton-label")},"text"),{isQuiet:r,isDisabled:i,staticColor:a,children:s,autoFocus:o,holdAffordance:l,hideButtonText:u,...c}=e,d=K_(t),{buttonProps:f,isPressed:h}=r7(e,d),{hoverProps:p,isHovered:g}=kf({isDisabled:i}),{styleProps:b}=st(c),v=_.Children.toArray(e.children).every(m=>!_.isValidElement(m));return _.createElement(t7,{focusRingClass:V(Ys(Z),"focus-ring"),autoFocus:o},_.createElement("button",{...b,...de(f,p),ref:d,className:V(Ys(Z),"spectrum-ActionButton",{"spectrum-ActionButton--quiet":r,"spectrum-ActionButton--staticColor":!!a,"spectrum-ActionButton--staticWhite":a==="white","spectrum-ActionButton--staticBlack":a==="black","is-active":h,"is-disabled":i,"is-hovered":g},b.className)},l&&_.createElement(Sj,{UNSAFE_className:V(Ys(Z),"spectrum-ActionButton-hold")}),_.createElement(V8,null,_.createElement(Sf,{slots:{icon:{size:"S",UNSAFE_className:V(Ys(Z),"spectrum-Icon",{"spectrum-ActionGroup-itemIcon":u})},text:{...n}}},typeof s=="string"||v?_.createElement(tN,null,s):s))))}let Tg=_.forwardRef(Cj);function Wh(e){return e&&e.__esModule?e.default:e}function kj(e,t){e=oi(e,"button");let{isQuiet:n,isDisabled:r,validationState:i,isInvalid:a,children:s,autoFocus:o,isActive:l,focusRingClass:u,...c}=e,d=K_(t),{buttonProps:f,isPressed:h}=r7(e,d),{hoverProps:p,isHovered:g}=kf({isDisabled:r}),{styleProps:b}=st(c);return _.createElement(t7,{focusRingClass:V(Wh(Z),"focus-ring",u),autoFocus:o},_.createElement("button",{...de(f,p),ref:d,className:V(Wh(Z),"spectrum-FieldButton",{"spectrum-FieldButton--quiet":n,"is-active":l||h,"is-disabled":r,"spectrum-FieldButton--invalid":a||i==="invalid","is-hovered":g},b.className)},_.createElement(Sf,{slots:{icon:{size:"S",UNSAFE_className:V(Wh(Z),"spectrum-Icon")}}},s)))}let Pj=_.forwardRef(kj);function Rg(){return Rg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rg.apply(null,arguments)}function Tj(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Mg(e,t){return Mg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Mg(e,t)}function Rj(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mg(e,t)}const $5={disabled:!1},WS=_.createContext(null);var Mj=function(t){return t.scrollTop},fo="unmounted",ki="exited",Pi="entering",Ma="entered",Ag="exiting",Dr=function(e){Rj(t,e);function t(r,i){var a;a=e.call(this,r,i)||this;var s=i,o=s&&!s.isMounting?r.enter:r.appear,l;return a.appearStatus=null,r.in?o?(l=ki,a.appearStatus=Pi):l=Ma:r.unmountOnExit||r.mountOnEnter?l=fo:l=ki,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var s=i.in;return s&&a.status===fo?{status:ki}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var a=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==Pi&&s!==Ma&&(a=Pi):(s===Pi||s===Ma)&&(a=Ag)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,a,s,o;return a=s=o=i,i!=null&&typeof i!="number"&&(a=i.exit,s=i.enter,o=i.appear!==void 0?i.appear:s),{exit:a,enter:s,appear:o}},n.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Pi){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:so.findDOMNode(this);s&&Mj(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ki&&this.setState({status:fo})},n.performEnter=function(i){var a=this,s=this.props.enter,o=this.context?this.context.isMounting:i,l=this.props.nodeRef?[o]:[so.findDOMNode(this),o],u=l[0],c=l[1],d=this.getTimeouts(),f=o?d.appear:d.enter;if(!i&&!s||$5.disabled){this.safeSetState({status:Ma},function(){a.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Pi},function(){a.props.onEntering(u,c),a.onTransitionEnd(f,function(){a.safeSetState({status:Ma},function(){a.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,a=this.props.exit,s=this.getTimeouts(),o=this.props.nodeRef?void 0:so.findDOMNode(this);if(!a||$5.disabled){this.safeSetState({status:ki},function(){i.props.onExited(o)});return}this.props.onExit(o),this.safeSetState({status:Ag},function(){i.props.onExiting(o),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:ki},function(){i.props.onExited(o)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},n.setNextCallback=function(i){var a=this,s=!0;return this.nextCallback=function(o){s&&(s=!1,a.nextCallback=null,i(o))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,a){this.setNextCallback(a);var s=this.props.nodeRef?this.props.nodeRef.current:so.findDOMNode(this),o=i==null&&!this.props.addEndListener;if(!s||o){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===fo)return null;var a=this.props,s=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var o=Tj(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return _.createElement(WS.Provider,{value:null},typeof s=="function"?s(i,o):_.cloneElement(_.Children.only(s),o))},t}(_.Component);Dr.contextType=WS;Dr.propTypes={};function _a(){}Dr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_a,onEntering:_a,onEntered:_a,onExit:_a,onExiting:_a,onExited:_a};Dr.UNMOUNTED=fo;Dr.EXITED=ki;Dr.ENTERING=Pi;Dr.ENTERED=Ma;Dr.EXITING=Ag;const Aj={entering:!1,entered:!0};function Fj(e){return _.createElement(Dr,{timeout:{enter:0,exit:350},...e},t=>_.Children.map(e.children,n=>n&&_.cloneElement(n,{isOpen:!!Aj[t]})))}function Oj(e,t){let{children:n,isOpen:r,disableFocusManagement:i,container:a,onEnter:s,onEntering:o,onEntered:l,onExit:u,onExiting:c,onExited:d,nodeRef:f}=e,[h,p]=y.useState(!r),g=y.useCallback(()=>{p(!1),l&&l()},[l]),b=y.useCallback(()=>{p(!0),d&&d()},[d]);return r||!h?_.createElement(jN,{portalContainer:a,disableFocusManagement:i,isExiting:!r},_.createElement(jS,{ref:t,UNSAFE_style:{background:"transparent",isolation:"isolate"},isDisabled:!1},_.createElement(Fj,{in:r,appear:!0,onExit:u,onExiting:c,onExited:b,onEnter:s,onEntering:o,onEntered:g,nodeRef:f},n))):null}let b$=_.forwardRef(Oj);function _r(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var ln={};_r(ln,"react-spectrum-Modal",()=>Fg,e=>Fg=e);_r(ln,"react-spectrum-Modal-wrapper",()=>Og,e=>Og=e);_r(ln,"react-spectrum-Popover",()=>Bg,e=>Bg=e);_r(ln,"react-spectrum-Tray",()=>Ig,e=>Ig=e);_r(ln,"spectrum-Dialog-content",()=>Lg,e=>Lg=e);_r(ln,"spectrum-Modal",()=>Ng,e=>Ng=e);_r(ln,"spectrum-Modal-wrapper",()=>jg,e=>jg=e);_r(ln,"spectrum-Popover",()=>zg,e=>zg=e);_r(ln,"spectrum-Tray",()=>Vg,e=>Vg=e);var Fg,Og,Bg,Ig,Lg,Ng,jg,zg,Vg;Fg="OhnpTq_react-spectrum-Modal";Og="OhnpTq_react-spectrum-Modal-wrapper";Bg="OhnpTq_react-spectrum-Popover";Ig="OhnpTq_react-spectrum-Tray";Lg="OhnpTq_spectrum-Dialog-content";Ng="OhnpTq_spectrum-Modal";jg="OhnpTq_spectrum-Modal-wrapper";zg="OhnpTq_spectrum-Popover";Vg="OhnpTq_spectrum-Tray";function Ae(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var be={};Ae(be,"focus-ring",()=>Wg,e=>Wg=e);Ae(be,"i18nFontFamily",()=>Ug,e=>Ug=e);Ae(be,"spectrum-overlay--open",()=>ld,e=>ld=e);Ae(be,"is-open",()=>Hg,e=>Hg=e);Ae(be,"spectrum-overlay--bottom--open",()=>ud,e=>ud=e);Ae(be,"is-open--bottom",()=>Kg,e=>Kg=e);Ae(be,"spectrum-overlay--left--open",()=>cd,e=>cd=e);Ae(be,"is-open--left",()=>Yg,e=>Yg=e);Ae(be,"spectrum-overlay--right--open",()=>dd,e=>dd=e);Ae(be,"is-open--right",()=>qg,e=>qg=e);Ae(be,"spectrum-overlay--top--open",()=>fd,e=>fd=e);Ae(be,"is-open--top",()=>Gg,e=>Gg=e);Ae(be,"spectrum-FocusRing-ring",()=>hd,e=>hd=e);Ae(be,"spectrum-FocusRing",()=>Zg,e=>Zg=e);Ae(be,"spectrum-FocusRing--quiet",()=>Xg,e=>Xg=e);Ae(be,"spectrum-overlay",()=>pd,e=>pd=e);Ae(be,"spectrum-Popover",()=>Qg,e=>Qg=e);Ae(be,"spectrum-Popover--bottom",()=>Jg,e=>Jg=e);Ae(be,"spectrum-Popover--dialog",()=>ev,e=>ev=e);Ae(be,"spectrum-Popover--left",()=>tv,e=>tv=e);Ae(be,"spectrum-Popover--right",()=>nv,e=>nv=e);Ae(be,"spectrum-Popover--top",()=>rv,e=>rv=e);Ae(be,"spectrum-Popover--withTip",()=>iv,e=>iv=e);Ae(be,"spectrum-Popover-tip",()=>av,e=>av=e);Ae(be,"spectrum-Popover-tip-triangle",()=>sv,e=>sv=e);var Wg,Ug,ld,Hg,ud,Kg,cd,Yg,dd,qg,fd,Gg,hd,Zg,Xg,pd,Qg,Jg,ev,tv,nv,rv,iv,av,sv;Wg="cH0MeW_focus-ring";Ug="cH0MeW_i18nFontFamily";ld="cH0MeW_spectrum-overlay--open";Hg=`cH0MeW_is-open ${ld}`;ud="cH0MeW_spectrum-overlay--bottom--open";Kg=`cH0MeW_is-open--bottom ${ud}`;cd="cH0MeW_spectrum-overlay--left--open";Yg=`cH0MeW_is-open--left ${cd}`;dd="cH0MeW_spectrum-overlay--right--open";qg=`cH0MeW_is-open--right ${dd}`;fd="cH0MeW_spectrum-overlay--top--open";Gg=`cH0MeW_is-open--top ${fd}`;hd="cH0MeW_spectrum-FocusRing-ring";Zg=`cH0MeW_spectrum-FocusRing ${hd}`;Xg="cH0MeW_spectrum-FocusRing--quiet";pd="cH0MeW_spectrum-overlay";Qg=`cH0MeW_spectrum-Popover ${pd}`;Jg="cH0MeW_spectrum-Popover--bottom";ev="cH0MeW_spectrum-Popover--dialog";tv="cH0MeW_spectrum-Popover--left";nv="cH0MeW_spectrum-Popover--right";rv="cH0MeW_spectrum-Popover--top";iv="cH0MeW_spectrum-Popover--withTip";av="cH0MeW_spectrum-Popover-tip";sv="cH0MeW_spectrum-Popover-tip-triangle";function Qt(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var Bt={};Qt(Bt,"focus-ring",()=>ov,e=>ov=e);Qt(Bt,"i18nFontFamily",()=>lv,e=>lv=e);Qt(Bt,"spectrum-overlay--open",()=>md,e=>md=e);Qt(Bt,"is-open",()=>uv,e=>uv=e);Qt(Bt,"spectrum-FocusRing-ring",()=>gd,e=>gd=e);Qt(Bt,"spectrum-FocusRing",()=>cv,e=>cv=e);Qt(Bt,"spectrum-FocusRing--quiet",()=>dv,e=>dv=e);Qt(Bt,"spectrum-overlay",()=>vd,e=>vd=e);Qt(Bt,"spectrum-Underlay",()=>fv,e=>fv=e);Qt(Bt,"spectrum-Underlay--transparent",()=>hv,e=>hv=e);Qt(Bt,"spectrum-overlay--bottom--open",()=>pv,e=>pv=e);Qt(Bt,"spectrum-overlay--left--open",()=>mv,e=>mv=e);Qt(Bt,"spectrum-overlay--right--open",()=>gv,e=>gv=e);Qt(Bt,"spectrum-overlay--top--open",()=>vv,e=>vv=e);var ov,lv,md,uv,gd,cv,dv,vd,fv,hv,pv,mv,gv,vv;ov="F-oYUa_focus-ring";lv="F-oYUa_i18nFontFamily";md="F-oYUa_spectrum-overlay--open";uv=`F-oYUa_is-open ${md}`;gd="F-oYUa_spectrum-FocusRing-ring";cv=`F-oYUa_spectrum-FocusRing ${gd}`;dv="F-oYUa_spectrum-FocusRing--quiet";vd="F-oYUa_spectrum-overlay";fv=`F-oYUa_spectrum-Underlay ${vd}`;hv="F-oYUa_spectrum-Underlay--transparent";pv="F-oYUa_spectrum-overlay--bottom--open";mv="F-oYUa_spectrum-overlay--left--open";gv="F-oYUa_spectrum-overlay--right--open";vv="F-oYUa_spectrum-overlay--top--open";function Bj(e){return e&&e.__esModule?e.default:e}function y$({isOpen:e,isTransparent:t,...n}){return _.createElement("div",{"data-testid":"underlay",...n,className:V(Bj(Bt),"spectrum-Underlay",{"is-open":e,"spectrum-Underlay--transparent":t})})}function bd(e){return e&&e.__esModule?e.default:e}let Ij={left:"right",right:"right",top:"bottom",bottom:"bottom"};function Lj(e,t){let{children:n,state:r,...i}=e,a=In(t),s=y.useRef(null);return _.createElement(b$,{...i,isOpen:r.isOpen,nodeRef:s},_.createElement(Nj,{ref:a,...e,wrapperRef:s},n))}const Nj=y.forwardRef((e,t)=>{let{children:n,isOpen:r,hideArrow:i,isNonModal:a,enableBothDismissButtons:s,state:o,wrapperRef:l,onDismissButtonPress:u=()=>o.close()}=e,{styleProps:c}=st(e),{size:d,borderWidth:f,arrowRef:h}=zj();const p=jj(t);let g=f*Math.SQRT2,b=d+g,v=b*2,{popoverProps:m,arrowProps:$,underlayProps:w,placement:D}=IN({...e,popoverRef:t,maxHeight:null,arrowSize:i?0:v,arrowBoundaryOffset:p},o),{focusWithinProps:S}=Ts(e);return _.createElement("div",{ref:l},!a&&_.createElement(y$,{isTransparent:!0,...de(w),isOpen:r}),_.createElement("div",{...c,...de(m,S),style:{...c.style,...m.style},ref:t,className:V(bd(be),"spectrum-Popover",`spectrum-Popover--${D}`,{"spectrum-Popover--withTip":!i,"is-open":r,[`is-open--${D}`]:r},V(bd(ln),"spectrum-Popover","react-spectrum-Popover"),c.className),role:"presentation","data-testid":"popover"},(!a||s)&&_.createElement(id,{onDismiss:u}),n,i?null:_.createElement(Vj,{arrowProps:$,isLandscape:Ij[D]==="bottom",arrowRef:h,primary:b,secondary:v,borderDiagonal:g}),_.createElement(id,{onDismiss:u})))});function jj(e){let[t,n]=y.useState(0);return he(()=>{if(e.current){let r=window.getComputedStyle(e.current).borderRadius;r!==""&&n(parseInt(r,10))}},[e]),t}function zj(){let[e,t]=y.useState(20),[n,r]=y.useState(1),i=y.useRef(null);return he(()=>{if(i.current){let a=window.getComputedStyle(i.current).getPropertyValue("--spectrum-popover-tip-size");a!==""&&t(parseInt(a,10)/2);let s=window.getComputedStyle(i.current).getPropertyValue("--spectrum-popover-tip-borderWidth");s!==""&&r(parseInt(s,10))}},[]),{size:e,borderWidth:n,arrowRef:i}}function Vj(e){let{primary:t,secondary:n,isLandscape:r,arrowProps:i,borderDiagonal:a,arrowRef:s}=e,o=a/2,l=0,u=t-o,c=o,d=n/2,f=n-o,h=r?["M",c,l,"L",d,u,"L",f,l]:["M",l,c,"L",u,d,"L",l,f];return _.createElement("svg",{xmlns:"http://www.w3.org/svg/2000",width:Math.ceil(r?n:t),height:Math.ceil(r?t:n),className:V(bd(be),"spectrum-Popover-tip"),ref:s,...i},_.createElement("path",{className:V(bd(be),"spectrum-Popover-tip-triangle"),d:h.join(" ")}))}let Wj=y.forwardRef(Lj);function bt(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var ot={};bt(ot,"focus-ring",()=>bv,e=>bv=e);bt(ot,"i18nFontFamily",()=>yv,e=>yv=e);bt(ot,"spectrum-overlay--open",()=>yd,e=>yd=e);bt(ot,"is-open",()=>$v,e=>$v=e);bt(ot,"spectrum-FocusRing-ring",()=>$d,e=>$d=e);bt(ot,"spectrum-FocusRing",()=>xv,e=>xv=e);bt(ot,"spectrum-FocusRing--quiet",()=>wv,e=>wv=e);bt(ot,"spectrum-overlay",()=>xd,e=>xd=e);bt(ot,"spectrum-Modal",()=>Dv,e=>Dv=e);bt(ot,"spectrum-Modal--fullscreen",()=>_v,e=>_v=e);bt(ot,"spectrum-Modal--fullscreenTakeover",()=>Ev,e=>Ev=e);bt(ot,"spectrum-Modal--responsive",()=>Sv,e=>Sv=e);bt(ot,"spectrum-Modal-wrapper",()=>Cv,e=>Cv=e);bt(ot,"spectrum-overlay--bottom--open",()=>kv,e=>kv=e);bt(ot,"spectrum-overlay--left--open",()=>Pv,e=>Pv=e);bt(ot,"spectrum-overlay--right--open",()=>Tv,e=>Tv=e);bt(ot,"spectrum-overlay--top--open",()=>Rv,e=>Rv=e);var bv,yv,yd,$v,$d,xv,wv,xd,Dv,_v,Ev,Sv,Cv,kv,Pv,Tv,Rv;bv="_0YML2q_focus-ring";yv="_0YML2q_i18nFontFamily";yd="_0YML2q_spectrum-overlay--open";$v=`_0YML2q_is-open ${yd}`;$d="_0YML2q_spectrum-FocusRing-ring";xv=`_0YML2q_spectrum-FocusRing ${$d}`;wv="_0YML2q_spectrum-FocusRing--quiet";xd="_0YML2q_spectrum-overlay";Dv=`_0YML2q_spectrum-Modal ${xd}`;_v="_0YML2q_spectrum-Modal--fullscreen";Ev="_0YML2q_spectrum-Modal--fullscreenTakeover";Sv="_0YML2q_spectrum-Modal--responsive";Cv="_0YML2q_spectrum-Modal-wrapper";kv="_0YML2q_spectrum-overlay--bottom--open";Pv="_0YML2q_spectrum-overlay--left--open";Tv="_0YML2q_spectrum-overlay--right--open";Rv="_0YML2q_spectrum-overlay--top--open";function xu(e){return e&&e.__esModule?e.default:e}function Uj(e,t){let{children:n,state:r,...i}=e,a=In(t),s=y.useRef(null);return _.createElement(b$,{...i,isOpen:r.isOpen,nodeRef:s},_.createElement(Kj,{...e,wrapperRef:s,ref:a},n))}let Hj={fullscreen:"fullscreen",fullscreenTakeover:"fullscreenTakeover"},Kj=y.forwardRef(function(e,t){let{type:n,children:r,state:i,isOpen:a,wrapperRef:s}=e,o=Hj[n],{styleProps:l}=st(e),{modalProps:u,underlayProps:c}=TE(e,i,t),d=V(xu(ot),"spectrum-Modal-wrapper",V(xu(ln),"spectrum-Modal-wrapper","react-spectrum-Modal-wrapper")),f=V(xu(ot),"spectrum-Modal",{"is-open":a},V(xu(ln),"spectrum-Modal","react-spectrum-Modal"),{[`spectrum-Modal--${o}`]:o},l.className),p={"--spectrum-visual-viewport-height":B8().height+"px"};return _.createElement("div",{ref:s},_.createElement(y$,{...c,isOpen:a}),_.createElement("div",{className:d,style:p},_.createElement("div",{...l,...u,ref:t,className:f,"data-testid":"modal"},r)))}),Yj=y.forwardRef(Uj);function It(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var vt={};It(vt,"focus-ring",()=>Mv,e=>Mv=e);It(vt,"i18nFontFamily",()=>Av,e=>Av=e);It(vt,"spectrum-overlay--open",()=>wd,e=>wd=e);It(vt,"is-open",()=>Fv,e=>Fv=e);It(vt,"spectrum-FocusRing-ring",()=>Dd,e=>Dd=e);It(vt,"spectrum-FocusRing",()=>Ov,e=>Ov=e);It(vt,"spectrum-FocusRing--quiet",()=>Bv,e=>Bv=e);It(vt,"spectrum-overlay",()=>_d,e=>_d=e);It(vt,"spectrum-Tray",()=>Iv,e=>Iv=e);It(vt,"spectrum-Tray--fixedHeight",()=>Lv,e=>Lv=e);It(vt,"spectrum-Tray-wrapper",()=>Nv,e=>Nv=e);It(vt,"spectrum-overlay--bottom--open",()=>jv,e=>jv=e);It(vt,"spectrum-overlay--left--open",()=>zv,e=>zv=e);It(vt,"spectrum-overlay--right--open",()=>Vv,e=>Vv=e);It(vt,"spectrum-overlay--top--open",()=>Wv,e=>Wv=e);var Mv,Av,wd,Fv,Dd,Ov,Bv,_d,Iv,Lv,Nv,jv,zv,Vv,Wv;Mv="UuxJvG_focus-ring";Av="UuxJvG_i18nFontFamily";wd="UuxJvG_spectrum-overlay--open";Fv=`UuxJvG_is-open ${wd}`;Dd="UuxJvG_spectrum-FocusRing-ring";Ov=`UuxJvG_spectrum-FocusRing ${Dd}`;Bv="UuxJvG_spectrum-FocusRing--quiet";_d="UuxJvG_spectrum-overlay";Iv=`UuxJvG_spectrum-Tray ${_d}`;Lv="UuxJvG_spectrum-Tray--fixedHeight";Nv="UuxJvG_spectrum-Tray-wrapper";jv="UuxJvG_spectrum-overlay--bottom--open";zv="UuxJvG_spectrum-overlay--left--open";Vv="UuxJvG_spectrum-overlay--right--open";Wv="UuxJvG_spectrum-overlay--top--open";function Uh(e){return e&&e.__esModule?e.default:e}function qj(e,t){let{children:n,state:r,...i}=e,a=In(t),s=y.useRef(null);return _.createElement(b$,{...i,isOpen:r.isOpen,nodeRef:s},_.createElement(Gj,{...e,wrapperRef:s,ref:a},n))}let Gj=y.forwardRef(function(e,t){let{children:n,isOpen:r,isFixedHeight:i,state:a,wrapperRef:s}=e,{styleProps:o}=st(e),{modalProps:l,underlayProps:u}=TE({...e,isDismissable:!0},a,t),d={"--spectrum-visual-viewport-height":B8().height+"px"},f=V(Uh(vt),"spectrum-Tray-wrapper"),h=V(Uh(vt),"spectrum-Tray",{"is-open":r,"spectrum-Tray--fixedHeight":i},V(Uh(ln),"spectrum-Tray","react-spectrum-Tray"),o.className);return _.createElement("div",{ref:s},_.createElement(y$,{...u,isOpen:r}),_.createElement("div",{className:f,style:d},_.createElement("div",{...o,...l,className:h,ref:t,"data-testid":"tray"},_.createElement(id,{onDismiss:a.close}),n,_.createElement(id,{onDismiss:a.close}))))}),Zj=y.forwardRef(qj);var US={};Object.defineProperty(US,"__esModule",{value:!0});var Xj=US.CheckmarkMedium=HS,Hh=Qj(y);function Qj(e){return e&&e.__esModule?e:{default:e}}function Uv(){return Uv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uv.apply(this,arguments)}function Jj(e,t){if(e==null)return{};var n=ez(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ez(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function HS(e){var t=e.scale,n=t===void 0?"M":t,r=Jj(e,["scale"]);return Hh.default.createElement("svg",Uv({},r,r),n==="L"&&Hh.default.createElement("path",{d:"M6 14a1 1 0 0 1-.789-.385l-4-5a1 1 0 1 1 1.577-1.23L6 11.376l7.213-8.99a1 1 0 1 1 1.576 1.23l-8 10a1 1 0 0 1-.789.384z"}),n==="M"&&Hh.default.createElement("path",{d:"M4.5 10a1.022 1.022 0 0 1-.799-.384l-2.488-3a1 1 0 0 1 1.576-1.233L4.5 7.376l4.712-5.991a1 1 0 1 1 1.576 1.23l-5.51 7A.978.978 0 0 1 4.5 10z"}))}HS.displayName="CheckmarkMedium";function tz(e){return _.createElement(pa,e,_.createElement(Xj,null))}const nz={...Ef,autoFlow:["gridAutoFlow",tt],autoColumns:["gridAutoColumns",Ed],autoRows:["gridAutoRows",Ed],areas:["gridTemplateAreas",iz],columns:["gridTemplateColumns",x5],rows:["gridTemplateRows",x5],gap:["gap",le],rowGap:["rowGap",le],columnGap:["columnGap",le],justifyItems:["justifyItems",tt],justifyContent:["justifyContent",tt],alignItems:["alignItems",tt],alignContent:["alignContent",tt]};function rz(e,t){let{children:n,...r}=e,{styleProps:i}=st(r,nz);i.style.display="grid";let a=In(t);return _.createElement("div",{...Xt(r),...i,ref:a},n)}function iz(e){return e.map(t=>`"${t}"`).join(` +`)}function Ed(e){return/^max-content|min-content|minmax|auto|fit-content|repeat|subgrid/.test(e)?e:le(e)}function x5(e){return Array.isArray(e)?e.map(Ed).join(" "):Ed(e)}const az=y.forwardRef(rz);function $$(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var Mf={};$$(Mf,"flex",()=>Hv,e=>Hv=e);$$(Mf,"flex-container",()=>Kv,e=>Kv=e);$$(Mf,"flex-gap",()=>Yv,e=>Yv=e);var Hv,Kv,Yv;Hv="NW91UW_flex";Kv="NW91UW_flex-container";Yv="NW91UW_flex-gap";function sz(e){return e&&e.__esModule?e.default:e}const oz={direction:["flexDirection",tt],wrap:["flexWrap",uz],justifyContent:["justifyContent",Kh],alignItems:["alignItems",Kh],alignContent:["alignContent",Kh]};function lz(e,t){let{children:n,...r}=e,i=Y_(),a=(i==null?void 0:i.matchedBreakpoints)||["base"],{styleProps:s}=st(r),{styleProps:o}=st(r,oz),l=In(t),u={...s.style,...o.style};return e.gap!=null&&(u.gap=Th(e.gap,a)),e.columnGap!=null&&(u.columnGap=Th(e.columnGap,a)),e.rowGap!=null&&(u.rowGap=Th(e.rowGap,a)),_.createElement("div",{...Xt(r),className:V(sz(Mf),"flex",s.className),style:u,ref:l},n)}function Kh(e){return e==="start"?"flex-start":e==="end"?"flex-end":e}function uz(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}const KS=y.forwardRef(lz);var YS={};Object.defineProperty(YS,"__esModule",{value:!0});var cz=YS.CrossLarge=qS,Yh=dz(y);function dz(e){return e&&e.__esModule?e:{default:e}}function qv(){return qv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qv.apply(this,arguments)}function fz(e,t){if(e==null)return{};var n=hz(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hz(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function qS(e){var t=e.scale,n=t===void 0?"M":t,r=fz(e,["scale"]);return Yh.default.createElement("svg",qv({},r,r),n==="L"&&Yh.default.createElement("path",{d:"M15.697 14.283L9.414 8l6.283-6.283A1 1 0 1 0 14.283.303L8 6.586 1.717.303A1 1 0 1 0 .303 1.717L6.586 8 .303 14.283a1 1 0 1 0 1.414 1.414L8 9.414l6.283 6.283a1 1 0 1 0 1.414-1.414z"}),n==="M"&&Yh.default.createElement("path",{d:"M11.697 10.283L7.414 6l4.283-4.283A1 1 0 1 0 10.283.303L6 4.586 1.717.303A1 1 0 1 0 .303 1.717L4.586 6 .303 10.283a1 1 0 1 0 1.414 1.414L6 7.414l4.283 4.283a1 1 0 1 0 1.414-1.414z"}))}qS.displayName="CrossLarge";function pz(e){return _.createElement(pa,e,_.createElement(cz,null))}function se(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var q={};se(q,"focus-ring",()=>Gv,e=>Gv=e);se(q,"i18nFontFamily",()=>Zv,e=>Zv=e);se(q,"is-disabled",()=>Xv,e=>Xv=e);se(q,"is-focused",()=>Qv,e=>Qv=e);se(q,"is-hovered",()=>Jv,e=>Jv=e);se(q,"is-invalid",()=>e1,e=>e1=e);se(q,"is-outsideMonth",()=>t1,e=>t1=e);se(q,"is-pressed",()=>n1,e=>n1=e);se(q,"is-range-end",()=>r1,e=>r1=e);se(q,"is-range-selection",()=>i1,e=>i1=e);se(q,"is-range-start",()=>a1,e=>a1=e);se(q,"is-selected",()=>s1,e=>s1=e);se(q,"is-selection-end",()=>o1,e=>o1=e);se(q,"is-selection-start",()=>l1,e=>l1=e);se(q,"is-today",()=>u1,e=>u1=e);se(q,"is-unavailable",()=>c1,e=>c1=e);se(q,"next",()=>d1,e=>d1=e);se(q,"prev",()=>f1,e=>f1=e);se(q,"spectrum-Calendar",()=>h1,e=>h1=e);se(q,"spectrum-Calendar--padded",()=>p1,e=>p1=e);se(q,"spectrum-Calendar-body",()=>m1,e=>m1=e);se(q,"spectrum-Calendar-date",()=>g1,e=>g1=e);se(q,"spectrum-Calendar-dateText",()=>v1,e=>v1=e);se(q,"spectrum-Calendar-dayOfWeek",()=>b1,e=>b1=e);se(q,"spectrum-Calendar-header",()=>y1,e=>y1=e);se(q,"spectrum-Calendar-monthHeader",()=>$1,e=>$1=e);se(q,"spectrum-Calendar-months",()=>x1,e=>x1=e);se(q,"spectrum-Calendar-nextMonth",()=>w1,e=>w1=e);se(q,"spectrum-Calendar-prevMonth",()=>D1,e=>D1=e);se(q,"spectrum-Calendar-table",()=>_1,e=>_1=e);se(q,"spectrum-Calendar-tableCell",()=>E1,e=>E1=e);se(q,"spectrum-Calendar-title",()=>S1,e=>S1=e);se(q,"spectrum-FocusRing-ring",()=>Sd,e=>Sd=e);se(q,"spectrum-FocusRing",()=>C1,e=>C1=e);se(q,"spectrum-FocusRing--quiet",()=>k1,e=>k1=e);se(q,"title",()=>P1,e=>P1=e);var Gv,Zv,Xv,Qv,Jv,e1,t1,n1,r1,i1,a1,s1,o1,l1,u1,c1,d1,f1,h1,p1,m1,g1,v1,b1,y1,$1,x1,w1,D1,_1,E1,S1,Sd,C1,k1,P1;Gv="EuwYBq_focus-ring";Zv="EuwYBq_i18nFontFamily";Xv="EuwYBq_is-disabled";Qv="EuwYBq_is-focused";Jv="EuwYBq_is-hovered";e1="EuwYBq_is-invalid";t1="EuwYBq_is-outsideMonth";n1="EuwYBq_is-pressed";r1="EuwYBq_is-range-end";i1="EuwYBq_is-range-selection";a1="EuwYBq_is-range-start";s1="EuwYBq_is-selected";o1="EuwYBq_is-selection-end";l1="EuwYBq_is-selection-start";u1="EuwYBq_is-today";c1="EuwYBq_is-unavailable";d1="EuwYBq_next";f1="EuwYBq_prev";h1="EuwYBq_spectrum-Calendar";p1="EuwYBq_spectrum-Calendar--padded";m1="EuwYBq_spectrum-Calendar-body";g1="EuwYBq_spectrum-Calendar-date";v1="EuwYBq_spectrum-Calendar-dateText";b1="EuwYBq_spectrum-Calendar-dayOfWeek";y1="EuwYBq_spectrum-Calendar-header";$1="EuwYBq_spectrum-Calendar-monthHeader";x1="EuwYBq_spectrum-Calendar-months";w1="EuwYBq_spectrum-Calendar-nextMonth";D1="EuwYBq_spectrum-Calendar-prevMonth";_1="EuwYBq_spectrum-Calendar-table";E1="EuwYBq_spectrum-Calendar-tableCell";S1="EuwYBq_spectrum-Calendar-title";Sd="EuwYBq_spectrum-FocusRing-ring";C1=`EuwYBq_spectrum-FocusRing ${Sd}`;k1="EuwYBq_spectrum-FocusRing--quiet";P1="EuwYBq_title";function qh(e){return e&&e.__esModule?e.default:e}function mz({state:e,currentMonth:t,...n}){let r=y.useRef(),{cellProps:i,buttonProps:a,isPressed:s,isSelected:o,isDisabled:l,isFocused:u,isInvalid:c,formattedDate:d}=cN({...n,isDisabled:!D2(n.date,t)},e,r),f=e.isCellUnavailable(n.date)&&!l,h=!l&&!c&&e.isCellUnavailable(n.date.add({days:1})),p=!l&&!c&&e.isCellUnavailable(n.date.subtract({days:1})),g="highlightedRange"in e&&e.highlightedRange,b=o&&g&&Ze(n.date,g.start),v=o&&g&&Ze(n.date,g.end),{locale:m}=Qe(),$=yf(n.date,m),w=o&&(p||$===0||n.date.day===1),D=o&&(h||$===6||n.date.day===t.calendar.getDaysInMonth(t)),{focusProps:S,isFocusVisible:k}=ul(),{hoverProps:x,isHovered:T}=kf({isDisabled:l||f||e.isReadOnly});return _.createElement("td",{...i,className:V(qh(q),"spectrum-Calendar-tableCell")},_.createElement("span",{...de(a,x,S),ref:r,className:V(qh(q),"spectrum-Calendar-date",{"is-today":t8(n.date,e.timeZone),"is-selected":o,"is-focused":u&&k,"is-disabled":l&&!c,"is-unavailable":f||c&&l,"is-outsideMonth":!D2(n.date,t),"is-range-start":w,"is-range-end":D,"is-range-selection":o&&"highlightedRange"in e,"is-selection-start":b,"is-selection-end":v,"is-hovered":T,"is-pressed":s&&!e.isReadOnly,"is-invalid":c})},_.createElement("span",{className:V(qh(q),"spectrum-Calendar-dateText")},_.createElement("span",null,d))))}function Gh(e){return e&&e.__esModule?e.default:e}function gz(e){let{state:t,startDate:n}=e,{gridProps:r,headerProps:i,weekDays:a}=lN({...e,endDate:Nc(n)},t),{locale:s}=Qe(),o=zB(n,s);return _.createElement("table",{...r,className:V(Gh(q),"spectrum-Calendar-body","spectrum-Calendar-table")},_.createElement("thead",i,_.createElement("tr",null,a.map((l,u)=>_.createElement("th",{key:u,className:V(Gh(q),"spectrum-Calendar-tableCell")},_.createElement("span",{className:V(Gh(q),"spectrum-Calendar-dayOfWeek")},l))))),_.createElement("tbody",null,[...new Array(o).keys()].map(l=>_.createElement("tr",{key:l},t.getDatesInWeek(l,n).map((u,c)=>u?_.createElement(mz,{key:c,state:t,date:u,currentMonth:n}):_.createElement("td",{key:c}))))))}var GS={};GS={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"التاريخ",other:"التواريخ"})} المحدد/المحددة غير متوفرة.`};var ZS={};ZS={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Избраната дата не е налична",other:"Избраните дати не са налични"})}.`};var XS={};XS={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Vybrané datum není",other:"Vybraná data nejsou"})} k dispozici.`};var QS={};QS={invalidSelection:(e,t)=>`Valgte ${t.plural(e.selectedCount,{one:"dato",other:"datoer"})} ikke ledige.`};var JS={};JS={invalidSelection:(e,t)=>`Ausgewählte(s) ${t.plural(e.selectedCount,{one:"Datum",other:"Daten"})} nicht verfügbar.`};var eC={};eC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη",other:"Οι επιλεγμένες ημερομηνίες δεν είναι διαθέσιμες"})}.`};var tC={};tC={invalidSelection:(e,t)=>`Selected ${t.plural(e.selectedCount,{one:"date",other:"dates"})} unavailable.`};var nC={};nC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"La fecha seleccionada no está disponible",other:"Las fechas seleccionadas no están disponibles"})}.`};var rC={};rC={invalidSelection:(e,t)=>`Valitud ${t.plural(e.selectedCount,{one:"kuupäev",other:"kuupäevad"})} pole saadaval.`};var iC={};iC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Valittu päivämäärä ei ole",other:"Valitut päivämäärät eivät ole"})} saatavilla.`};var aC={};aC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"La date sélectionnée est indisponible",other:"Les dates sélectionnées sont indisponibles"})}.`};var sC={};sC={invalidSelection:(e,t)=>`נבחר ${t.plural(e.selectedCount,{one:"תאריך",other:"תאריכים"})} אינו זמין.`};var oC={};oC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Odabrani datum nije dostupan",other:"Odabrani datumi nisu dostupni"})}.`};var lC={};lC={invalidSelection:(e,t)=>`A kijelölt ${t.plural(e.selectedCount,{one:"dátum nem érhető el",other:"dátumok nem érhetőek el"})}.`};var uC={};uC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Data selezionata non disponibile",other:"Date selezionate non disponibili"})}.`};var cC={};cC={invalidSelection:(e,t)=>`選択した${t.plural(e.selectedCount,{one:"日付",other:"日付"})}は使用できません。`};var dC={};dC={invalidSelection:(e,t)=>`선택한 ${t.plural(e.selectedCount,{one:"일자를",other:"일자를"})} 사용할 수 없습니다.`};var fC={};fC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Datos",other:"Datų"})} pasirinkimas negalimas.`};var hC={};hC={invalidSelection:(e,t)=>`Atlasītais(-ie) ${t.plural(e.selectedCount,{one:"date",other:"dates"})} nav pieejams(-i).`};var pC={};pC={invalidSelection:(e,t)=>`Valgt(e) ${t.plural(e.selectedCount,{one:"dato",other:"datoer"})} er utilgjengelig.`};var mC={};mC={invalidSelection:(e,t)=>`Geselecteerde ${t.plural(e.selectedCount,{one:"datum",other:"datums"})} niet beschikbaar.`};var gC={};gC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Wybrana data jest niedostępna",other:"Wybrane daty są niedostępne"})}.`};var vC={};vC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Data",other:"Datas"})} selecionada(s) indisponível(is).`};var bC={};bC={invalidSelection:(e,t)=>`A(s) ${t.plural(e.selectedCount,{one:"data",other:"datas"})} selecionada(s) não está(ão) disponível/disponível(eis).`};var yC={};yC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Data selectată nu este disponibilă",other:"Datele selectate nu sunt disponibile"})}.`};var $C={};$C={invalidSelection:(e,t)=>`Выбранные ${t.plural(e.selectedCount,{one:"дата",other:"даты"})} недоступны.`};var xC={};xC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Vybratý dátum",other:"Vybraté dátumy"})}: nedostupné.`};var wC={};wC={invalidSelection:(e,t)=>`Izbrano ${t.plural(e.selectedCount,{one:"date",other:"dates"})} ni na voljo.`};var DC={};DC={invalidSelection:(e,t)=>`Izabrani ${t.plural(e.selectedCount,{one:"date",other:"dates"})} nije dostupan.`};var _C={};_C={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Valt datum är inte tillgängligt.",other:"Valda datum är inte tillgängliga."})}`};var EC={};EC={invalidSelection:(e,t)=>`Seçilen ${t.plural(e.selectedCount,{one:"tarih",other:"tarihler"})} müsait değil.`};var SC={};SC={invalidSelection:(e,t)=>`${t.plural(e.selectedCount,{one:"Вибрана дата недоступна",other:"Вибрані дати недоступні"})}.`};var CC={};CC={invalidSelection:(e,t)=>`选定的 ${t.plural(e.selectedCount,{one:"个日期",other:"个日期"})} 不可用。`};var kC={};kC={invalidSelection:(e,t)=>`所選的${t.plural(e.selectedCount,{one:"日期",other:"日期"})}無法使用。`};var PC={};PC={"ar-AE":GS,"bg-BG":ZS,"cs-CZ":XS,"da-DK":QS,"de-DE":JS,"el-GR":eC,"en-US":tC,"es-ES":nC,"et-EE":rC,"fi-FI":iC,"fr-FR":aC,"he-IL":sC,"hr-HR":oC,"hu-HU":lC,"it-IT":uC,"ja-JP":cC,"ko-KR":dC,"lt-LT":fC,"lv-LV":hC,"nb-NO":pC,"nl-NL":mC,"pl-PL":gC,"pt-BR":vC,"pt-PT":bC,"ro-RO":yC,"ru-RU":$C,"sk-SK":xC,"sl-SI":wC,"sr-SP":DC,"sv-SE":_C,"tr-TR":EC,"uk-UA":SC,"zh-CN":CC,"zh-TW":kC};var TC={};Object.defineProperty(TC,"__esModule",{value:!0});var vz=TC.ChevronLeftLarge=RC,Zh=bz(y);function bz(e){return e&&e.__esModule?e:{default:e}}function T1(){return T1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T1.apply(this,arguments)}function yz(e,t){if(e==null)return{};var n=$z(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $z(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function RC(e){var t=e.scale,n=t===void 0?"M":t,r=yz(e,["scale"]);return Zh.default.createElement("svg",T1({},r,r),n==="L"&&Zh.default.createElement("path",{d:"M12.109 17.853l-8.066-7.849 8.066-7.84a1.243 1.243 0 0 0 .381-.894 1.24 1.24 0 0 0-2.12-.894L1.379 9.108a1.246 1.246 0 0 0 .003 1.79l8.99 8.744a1.247 1.247 0 1 0 1.738-1.789z"}),n==="M"&&Zh.default.createElement("path",{d:"M9.605 13.843L3.55 8l6.056-5.84A1.248 1.248 0 1 0 7.876.363L.882 7.1a1.243 1.243 0 0 0 .003 1.797l6.988 6.742a1.248 1.248 0 1 0 1.732-1.796z"}))}RC.displayName="ChevronLeftLarge";function w5(e){return _.createElement(pa,e,_.createElement(vz,null))}var MC={};Object.defineProperty(MC,"__esModule",{value:!0});var xz=MC.ChevronRightLarge=AC,Xh=wz(y);function wz(e){return e&&e.__esModule?e:{default:e}}function R1(){return R1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R1.apply(this,arguments)}function Dz(e,t){if(e==null)return{};var n=_z(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _z(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function AC(e){var t=e.scale,n=t===void 0?"M":t,r=Dz(e,["scale"]);return Xh.default.createElement("svg",R1({},r,r),n==="L"&&Xh.default.createElement("path",{d:"M15 10.004a1.243 1.243 0 0 0-.38-.894L5.631.364a1.249 1.249 0 1 0-1.741 1.79l8.066 7.85-8.069 7.847a1.249 1.249 0 0 0 1.741 1.79l8.992-8.74a1.246 1.246 0 0 0 .379-.897z"}),n==="M"&&Xh.default.createElement("path",{d:"M11.5 8a1.241 1.241 0 0 0-.386-.897L4.128.36a1.248 1.248 0 1 0-1.733 1.797L8.45 8l-6.058 5.84a1.248 1.248 0 1 0 1.733 1.797L11.117 8.9A1.245 1.245 0 0 0 11.5 8z"}))}AC.displayName="ChevronRightLarge";function D5(e){return _.createElement(pa,e,_.createElement(xz,null))}function Ln(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var Rt={};Ln(Rt,"focus-ring",()=>M1,e=>M1=e);Ln(Rt,"i18nFontFamily",()=>A1,e=>A1=e);Ln(Rt,"is-disabled",()=>F1,e=>F1=e);Ln(Rt,"spectrum-FocusRing-ring",()=>Cd,e=>Cd=e);Ln(Rt,"spectrum-FocusRing",()=>O1,e=>O1=e);Ln(Rt,"spectrum-FocusRing--quiet",()=>B1,e=>B1=e);Ln(Rt,"spectrum-HelpText",()=>I1,e=>I1=e);Ln(Rt,"spectrum-HelpText--negative",()=>L1,e=>L1=e);Ln(Rt,"spectrum-HelpText--neutral",()=>N1,e=>N1=e);Ln(Rt,"spectrum-HelpText-text",()=>j1,e=>j1=e);Ln(Rt,"spectrum-HelpText-validationIcon",()=>z1,e=>z1=e);var M1,A1,F1,Cd,O1,B1,I1,L1,N1,j1,z1;M1="a1Qy2q_focus-ring";A1="a1Qy2q_i18nFontFamily";F1="a1Qy2q_is-disabled";Cd="a1Qy2q_spectrum-FocusRing-ring";O1=`a1Qy2q_spectrum-FocusRing ${Cd}`;B1="a1Qy2q_spectrum-FocusRing--quiet";I1="a1Qy2q_spectrum-HelpText";L1="a1Qy2q_spectrum-HelpText--negative";N1="a1Qy2q_spectrum-HelpText--neutral";j1="a1Qy2q_spectrum-HelpText-text";z1="a1Qy2q_spectrum-HelpText-validationIcon";var FC={};Object.defineProperty(FC,"__esModule",{value:!0});var OC=FC.AlertMedium=BC,Qh=Ez(y);function Ez(e){return e&&e.__esModule?e:{default:e}}function V1(){return V1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V1.apply(this,arguments)}function Sz(e,t){if(e==null)return{};var n=Cz(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Cz(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function BC(e){var t=e.scale,n=t===void 0?"M":t,r=Sz(e,["scale"]);return Qh.default.createElement("svg",V1({},r,r),n==="L"&&Qh.default.createElement("path",{d:"M10.563 2.206l-9.249 16.55a.5.5 0 0 0 .436.744h18.5a.5.5 0 0 0 .436-.744l-9.251-16.55a.5.5 0 0 0-.872 0zm1.436 15.044a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}),n==="M"&&Qh.default.createElement("path",{d:"M8.564 1.289L.2 16.256A.5.5 0 0 0 .636 17h16.728a.5.5 0 0 0 .436-.744L9.436 1.289a.5.5 0 0 0-.872 0zM10 14.75a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-1.5a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25zm0-3a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25v-6a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25z"}))}BC.displayName="AlertMedium";const IC=e=>_.createElement("svg",Rg({viewBox:"0 0 18 18"},e),_.createElement("path",{d:"M9 10.5a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v4.5a1 1 0 0 1-1 1Zm0 1.25A1.25 1.25 0 1 0 10.25 13 1.25 1.25 0 0 0 9 11.75Zm8.497 3.589a3.49 3.49 0 0 0 .079-3.474L12 1.815a3.385 3.385 0 0 0-5.994-.007L.416 11.88a3.485 3.485 0 0 0 .089 3.459A3.375 3.375 0 0 0 3.416 17h11.169a3.375 3.375 0 0 0 2.912-1.661ZM10.244 2.77l5.575 10.05a1.497 1.497 0 0 1-.037 1.489 1.374 1.374 0 0 1-1.197.69H3.416a1.374 1.374 0 0 1-1.197-.69 1.493 1.493 0 0 1-.046-1.474l5.593-10.08a1.386 1.386 0 0 1 2.478.015Z"}));IC.displayName=OC.displayName;function LC(e){var t;let n=ha();return _.createElement(pa,e,n!=null&&(t=n.theme)!=null&&(t=t.global)!=null&&t.express?_.createElement(IC,null):_.createElement(OC,null))}function wu(e){return e&&e.__esModule?e.default:e}function kz(e,t){let{description:n,errorMessage:r,validationState:i,isInvalid:a,isDisabled:s,showErrorIcon:o,descriptionProps:l,errorMessageProps:u}=e,c=In(t),d=r&&(a||i==="invalid"),{styleProps:f}=st(e);return _.createElement("div",{...f,className:V(wu(Rt),"spectrum-HelpText",`spectrum-HelpText--${d?"negative":"neutral"}`,{"is-disabled":s},f.className),ref:c},d?_.createElement(_.Fragment,null,o&&_.createElement(LC,{UNSAFE_className:V(wu(Rt),"spectrum-HelpText-validationIcon")}),_.createElement("div",{...u,className:V(wu(Rt),"spectrum-HelpText-text")},r)):_.createElement("div",{...l,className:V(wu(Rt),"spectrum-HelpText-text")},n))}const NC=_.forwardRef(kz);var jC={};jC={"(optional)":"(اختياري)","(required)":"(مطلوب)"};var zC={};zC={"(optional)":"(незадължително)","(required)":"(задължително)"};var VC={};VC={"(optional)":"(volitelně)","(required)":"(požadováno)"};var WC={};WC={"(optional)":"(valgfrit)","(required)":"(obligatorisk)"};var UC={};UC={"(optional)":"(optional)","(required)":"(erforderlich)"};var HC={};HC={"(optional)":"(προαιρετικό)","(required)":"(απαιτείται)"};var KC={};KC={"(required)":"(required)","(optional)":"(optional)"};var YC={};YC={"(optional)":"(opcional)","(required)":"(obligatorio)"};var qC={};qC={"(optional)":"(valikuline)","(required)":"(nõutav)"};var GC={};GC={"(optional)":"(valinnainen)","(required)":"(pakollinen)"};var ZC={};ZC={"(optional)":"(facultatif)","(required)":"(requis)"};var XC={};XC={"(optional)":"(אופציונלי)","(required)":"(נדרש)"};var QC={};QC={"(optional)":"(opcionalno)","(required)":"(obvezno)"};var JC={};JC={"(optional)":"(opcionális)","(required)":"(kötelező)"};var ek={};ek={"(optional)":"(facoltativo)","(required)":"(obbligatorio)"};var tk={};tk={"(optional)":"(オプション)","(required)":"(必須)"};var nk={};nk={"(optional)":"(선택 사항)","(required)":"(필수 사항)"};var rk={};rk={"(optional)":"(pasirenkama)","(required)":"(privaloma)"};var ik={};ik={"(optional)":"(neobligāti)","(required)":"(obligāti)"};var ak={};ak={"(optional)":"(valgfritt)","(required)":"(obligatorisk)"};var sk={};sk={"(optional)":"(optioneel)","(required)":"(vereist)"};var ok={};ok={"(optional)":"(opcjonalne)","(required)":"(wymagane)"};var lk={};lk={"(optional)":"(opcional)","(required)":"(obrigatório)"};var uk={};uk={"(optional)":"(opcional)","(required)":"(obrigatório)"};var ck={};ck={"(optional)":"(opţional)","(required)":"(obligatoriu)"};var dk={};dk={"(optional)":"(дополнительно)","(required)":"(обязательно)"};var fk={};fk={"(optional)":"(nepovinné)","(required)":"(povinné)"};var hk={};hk={"(optional)":"(opcijsko)","(required)":"(obvezno)"};var pk={};pk={"(optional)":"(opciono)","(required)":"(obavezno)"};var mk={};mk={"(optional)":"(valfritt)","(required)":"(krävs)"};var gk={};gk={"(optional)":"(isteğe bağlı)","(required)":"(gerekli)"};var vk={};vk={"(optional)":"(необов’язково)","(required)":"(обов’язково)"};var bk={};bk={"(optional)":"(可选)","(required)":"(必填)"};var yk={};yk={"(optional)":"(選填)","(required)":"(必填)"};var $k={};$k={"ar-AE":jC,"bg-BG":zC,"cs-CZ":VC,"da-DK":WC,"de-DE":UC,"el-GR":HC,"en-US":KC,"es-ES":YC,"et-EE":qC,"fi-FI":GC,"fr-FR":ZC,"he-IL":XC,"hr-HR":QC,"hu-HU":JC,"it-IT":ek,"ja-JP":tk,"ko-KR":nk,"lt-LT":rk,"lv-LV":ik,"nb-NO":ak,"nl-NL":sk,"pl-PL":ok,"pt-BR":lk,"pt-PT":uk,"ro-RO":ck,"ru-RU":dk,"sk-SK":fk,"sl-SI":hk,"sr-SP":pk,"sv-SE":mk,"tr-TR":gk,"uk-UA":vk,"zh-CN":bk,"zh-TW":yk};function ve(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var te={};ve(te,"contextualHelp",()=>W1,e=>W1=e);ve(te,"field",()=>U1,e=>U1=e);ve(te,"focus-ring",()=>H1,e=>H1=e);ve(te,"helpText",()=>K1,e=>K1=e);ve(te,"i18nFontFamily",()=>Y1,e=>Y1=e);ve(te,"is-disabled",()=>q1,e=>q1=e);ve(te,"label",()=>G1,e=>G1=e);ve(te,"spectrum-Field",()=>Z1,e=>Z1=e);ve(te,"spectrum-Field--alignEnd",()=>X1,e=>X1=e);ve(te,"spectrum-Field--hasContextualHelp",()=>Q1,e=>Q1=e);ve(te,"spectrum-Field--positionSide",()=>J1,e=>J1=e);ve(te,"spectrum-Field--positionTop",()=>e4,e=>e4=e);ve(te,"spectrum-Field-contextualHelp",()=>t4,e=>t4=e);ve(te,"spectrum-Field-field",()=>n4,e=>n4=e);ve(te,"spectrum-Field-labelCell",()=>r4,e=>r4=e);ve(te,"spectrum-Field-labelWrapper",()=>i4,e=>i4=e);ve(te,"spectrum-Field-wrapper",()=>a4,e=>a4=e);ve(te,"spectrum-FieldLabel",()=>s4,e=>s4=e);ve(te,"spectrum-FieldLabel--alignEnd",()=>o4,e=>o4=e);ve(te,"spectrum-FieldLabel--positionSide",()=>l4,e=>l4=e);ve(te,"spectrum-FieldLabel-requiredIcon",()=>u4,e=>u4=e);ve(te,"spectrum-FocusRing-ring",()=>kd,e=>kd=e);ve(te,"spectrum-FocusRing",()=>c4,e=>c4=e);ve(te,"spectrum-FocusRing--quiet",()=>d4,e=>d4=e);ve(te,"spectrum-Form",()=>f4,e=>f4=e);ve(te,"spectrum-Form--positionSide",()=>h4,e=>h4=e);ve(te,"spectrum-Form--positionTop",()=>p4,e=>p4=e);ve(te,"spectrum-Form-itemLabel",()=>m4,e=>m4=e);ve(te,"spectrum-LabeledValue",()=>g4,e=>g4=e);var W1,U1,H1,K1,Y1,q1,G1,Z1,X1,Q1,J1,e4,t4,n4,r4,i4,a4,s4,o4,l4,u4,kd,c4,d4,f4,h4,p4,m4,g4;W1="A-HlBa_contextualHelp";U1="A-HlBa_field";H1="A-HlBa_focus-ring";K1="A-HlBa_helpText";Y1="A-HlBa_i18nFontFamily";q1="A-HlBa_is-disabled";G1="A-HlBa_label";Z1="A-HlBa_spectrum-Field";X1="A-HlBa_spectrum-Field--alignEnd";Q1="A-HlBa_spectrum-Field--hasContextualHelp";J1="A-HlBa_spectrum-Field--positionSide";e4="A-HlBa_spectrum-Field--positionTop";t4="A-HlBa_spectrum-Field-contextualHelp";n4="A-HlBa_spectrum-Field-field";r4="A-HlBa_spectrum-Field-labelCell";i4="A-HlBa_spectrum-Field-labelWrapper";a4="A-HlBa_spectrum-Field-wrapper";s4="A-HlBa_spectrum-FieldLabel";o4="A-HlBa_spectrum-FieldLabel--alignEnd";l4="A-HlBa_spectrum-FieldLabel--positionSide";u4="A-HlBa_spectrum-FieldLabel-requiredIcon";kd="A-HlBa_spectrum-FocusRing-ring";c4=`A-HlBa_spectrum-FocusRing ${kd}`;d4="A-HlBa_spectrum-FocusRing--quiet";f4="A-HlBa_spectrum-Form";h4="A-HlBa_spectrum-Form--positionSide";p4="A-HlBa_spectrum-Form--positionTop";m4="A-HlBa_spectrum-Form-itemLabel";g4="A-HlBa_spectrum-LabeledValue";var xk={};Object.defineProperty(xk,"__esModule",{value:!0});var Pz=xk.Asterisk=wk,Jh=Tz(y);function Tz(e){return e&&e.__esModule?e:{default:e}}function v4(){return v4=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v4.apply(this,arguments)}function Rz(e,t){if(e==null)return{};var n=Mz(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Mz(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function wk(e){var t=e.scale,n=t===void 0?"M":t,r=Rz(e,["scale"]);return Jh.default.createElement("svg",v4({},r,r),n==="L"&&Jh.default.createElement("path",{d:"M7.867 7.872c.061.062.103.145 0 .228l-1.283.827c-.104.061-.145.02-.186-.083L4.804 6.07l-2.09 2.297c-.021.042-.083.083-.145 0l-.994-1.035c-.103-.062-.082-.124 0-.186l2.36-1.966-2.691-1.014c-.042 0-.104-.083-.062-.186l.703-1.41a.11.11 0 0 1 .187-.04L4.43 4.06l.145-3.02A.109.109 0 0 1 4.7.917l1.718.227c.104 0 .124.042.104.145l-.808 2.96 2.734-.828c.061-.042.124-.042.165.082l.27 1.532c.02.103 0 .145-.084.145l-2.856.227z"}),n==="M"&&Jh.default.createElement("path",{d:"M6.573 6.558c.056.055.092.13 0 .204l-1.148.74c-.093.056-.13.02-.167-.073L3.832 4.947l-1.87 2.055c-.02.037-.075.074-.13 0l-.889-.926c-.092-.055-.074-.111 0-.167l2.111-1.76-2.408-.906c-.037 0-.092-.074-.055-.167l.63-1.259a.097.097 0 0 1 .166-.036l2.111 1.37.13-2.704a.097.097 0 0 1 .111-.11L5.277.54c.092 0 .11.037.092.13l-.722 2.647 2.444-.74c.056-.038.111-.038.148.073l.241 1.37c.019.093 0 .13-.074.13l-2.556.204z"}))}wk.displayName="Asterisk";function Az(e){return _.createElement(pa,e,_.createElement(Pz,null))}function ep(e){return e&&e.__esModule?e.default:e}function Fz(e,t){e=Bl(e);let{children:n,labelPosition:r="top",labelAlign:i=r==="side"?"start":null,isRequired:a,necessityIndicator:s=a!=null?"icon":null,includeNecessityIndicatorInAccessibilityName:o=!1,htmlFor:l,for:u,elementType:c="label",onClick:d,...f}=e,h=In(t),{styleProps:p}=st(f),g=_n(ep($k),"@react-spectrum/label"),b=a?g.format("(required)"):g.format("(optional)"),v=_.createElement(Az,{UNSAFE_className:V(ep(te),"spectrum-FieldLabel-requiredIcon"),"aria-label":o?g.format("(required)"):void 0}),m=V(ep(te),"spectrum-FieldLabel",{"spectrum-FieldLabel--positionSide":r==="side","spectrum-FieldLabel--alignEnd":i==="end"},p.className);return _.createElement(c,{...Xt(f),...p,onClick:d,ref:h,className:m,htmlFor:c==="label"?u||l:void 0},n,(s==="label"||s==="icon"&&a)&&" ",s==="label"&&_.createElement("span",{"aria-hidden":o?void 0:a},b),s==="icon"&&a&&v)}let Oz=_.forwardRef(Fz),Bz=_.createContext(null);function x$(e){let t=y.useContext(Bz);return t?{...t,...e}:e}function yi(e){return e&&e.__esModule?e.default:e}function Iz(e,t){let n=x$(e),r=n!==e;e=n;let{label:i,labelPosition:a="top",labelAlign:s,isRequired:o,necessityIndicator:l,includeNecessityIndicatorInAccessibilityName:u,validationState:c,isInvalid:d,description:f,errorMessage:h=N=>N.validationErrors.join(" "),validationErrors:p,validationDetails:g,isDisabled:b,showErrorIcon:v,contextualHelp:m,children:$,labelProps:w={},descriptionProps:D={},errorMessageProps:S={},elementType:k,wrapperClassName:x,wrapperProps:T={},...P}=e,{styleProps:E}=st(P),A=null;typeof h=="function"?A=d!=null&&p!=null&&g!=null?h({isInvalid:d,validationErrors:p,validationDetails:g}):null:A=h;let R=!!f||A&&(d||c==="invalid"),M=Zn(),z=Zn();i&&m&&!w.id&&(w.id=z);let O=V(yi(te),"spectrum-Field",{"spectrum-Field--positionTop":a==="top","spectrum-Field--positionSide":a==="side","spectrum-Field--alignEnd":s==="end","spectrum-Field--hasContextualHelp":!!e.contextualHelp},E.className,x);$=_.cloneElement($,de($.props,{className:V(yi(te),"spectrum-Field-field")}));let C=()=>_.createElement(NC,{descriptionProps:D,errorMessageProps:S,description:f,errorMessage:A,validationState:c,isInvalid:d,isDisabled:b,showErrorIcon:v,gridArea:yi(te).helpText}),F=()=>a==="side"?_.createElement(KS,{direction:"column",UNSAFE_className:V(yi(te),"spectrum-Field-wrapper")},$,R&&C()):_.createElement(_.Fragment,null,$,R&&C()),B=_.createElement(_.Fragment,null,i&&_.createElement(Oz,{...w,labelPosition:a,labelAlign:s,isRequired:o,necessityIndicator:l,includeNecessityIndicatorInAccessibilityName:u,elementType:k},i),i&&m&&_.createElement(Sf,{slots:{actionButton:{UNSAFE_className:V(yi(te),"spectrum-Field-contextualHelp"),id:M,"aria-labelledby":w!=null&&w.id?`${w.id} ${M}`:void 0}}},m));return r&&a==="side"&&i&&m&&(B=_.createElement("div",{className:V(yi(te),"spectrum-Field-labelCell")},_.createElement("div",{className:V(yi(te),"spectrum-Field-labelWrapper")},B))),_.createElement("div",{...E,...T,ref:t,className:O},B,F())}let Dk=_.forwardRef(Iz);function Cr(e){return e&&e.__esModule?e.default:e}function Lz(e){let{state:t,calendarProps:n,nextButtonProps:r,prevButtonProps:i,errorMessageProps:a,calendarRef:s,visibleMonths:o=1}=e,{styleProps:l}=st(e),u=_n(Cr(PC),"@react-spectrum/calendar"),{direction:c}=Qe(),d=t.visibleRange.start,f=$n({month:"long",year:"numeric",era:d.calendar.identifier==="gregory"&&d.era==="BC"?"short":void 0,calendar:d.calendar.identifier,timeZone:t.timeZone}),h=[],p=[];for(let g=0;g<o;g++){let b=d.add({months:g});h.push(_.createElement("div",{key:g,className:V(Cr(q),"spectrum-Calendar-monthHeader")},g===0&&_.createElement(Tg,{...i,UNSAFE_className:V(Cr(q),"spectrum-Calendar-prevMonth"),isQuiet:!0},c==="rtl"?_.createElement(D5,null):_.createElement(w5,null)),_.createElement("h2",{"aria-hidden":!0,className:V(Cr(q),"spectrum-Calendar-title")},f.format(b.toDate(t.timeZone))),g===o-1&&_.createElement(Tg,{...r,UNSAFE_className:V(Cr(q),"spectrum-Calendar-nextMonth"),isQuiet:!0},c==="rtl"?_.createElement(w5,null):_.createElement(D5,null)))),p.push(_.createElement(gz,{...e,key:g,state:t,startDate:b}))}return _.createElement("div",{...l,...n,ref:s,className:V(Cr(q),"spectrum-Calendar",l.className)},_.createElement($0,null,_.createElement("h2",null,n["aria-label"])),_.createElement("div",{className:V(Cr(q),"spectrum-Calendar-header")},h),_.createElement("div",{className:V(Cr(q),"spectrum-Calendar-months")},p),_.createElement($0,null,_.createElement("button",{"aria-label":r["aria-label"],disabled:r.isDisabled,onClick:()=>t.focusNextPage(),tabIndex:-1})),t.isValueInvalid&&_.createElement(NC,{showErrorIcon:!0,errorMessage:e.errorMessage||u.format("invalidSelection",{selectedCount:"highlightedRange"in t?2:1}),errorMessageProps:a,isInvalid:!0,UNSAFE_className:"spectrum-Calendar-helpText"}))}function Nz(e,t){e=Bl(e);let{visibleMonths:n=1}=e;n=Math.max(n,1);let r=y.useMemo(()=>({months:n}),[n]),{locale:i}=Qe(),a=JN({...e,locale:i,visibleDuration:r,createCalendar:S8}),s=y.useRef();y.useImperativeHandle(t,()=>({...vf(s),focus(){a.setFocused(!0)}}));let{calendarProps:o,prevButtonProps:l,nextButtonProps:u,errorMessageProps:c}=oN(e,a,s);return _.createElement(Lz,{...e,visibleMonths:n,state:a,calendarRef:s,calendarProps:o,prevButtonProps:l,nextButtonProps:u,errorMessageProps:c})}const jz=_.forwardRef(Nz),_k=_.createContext(null);var Ek={};Ek={alert:"تنبيه",dismiss:"تجاهل"};var Sk={};Sk={alert:"Сигнал",dismiss:"Отхвърляне"};var Ck={};Ck={alert:"Výstraha",dismiss:"Odstranit"};var kk={};kk={alert:"Advarsel",dismiss:"Luk"};var Pk={};Pk={alert:"Warnhinweis",dismiss:"Schließen"};var Tk={};Tk={alert:"Ειδοποίηση",dismiss:"Απόρριψη"};var Rk={};Rk={dismiss:"Dismiss",alert:"Alert"};var Mk={};Mk={alert:"Alerta",dismiss:"Descartar"};var Ak={};Ak={alert:"Teade",dismiss:"Lõpeta"};var Fk={};Fk={alert:"Hälytys",dismiss:"Hylkää"};var Ok={};Ok={alert:"Alerte",dismiss:"Rejeter"};var Bk={};Bk={alert:"התראה",dismiss:"התעלם"};var Ik={};Ik={alert:"Upozorenje",dismiss:"Odbaci"};var Lk={};Lk={alert:"Figyelmeztetés",dismiss:"Elutasítás"};var Nk={};Nk={alert:"Avviso",dismiss:"Ignora"};var jk={};jk={alert:"アラート",dismiss:"閉じる"};var zk={};zk={alert:"경고",dismiss:"무시"};var Vk={};Vk={alert:"Įspėjimas",dismiss:"Atmesti"};var Wk={};Wk={alert:"Brīdinājums",dismiss:"Nerādīt"};var Uk={};Uk={alert:"Varsel",dismiss:"Lukk"};var Hk={};Hk={alert:"Melding",dismiss:"Negeren"};var Kk={};Kk={alert:"Ostrzeżenie",dismiss:"Zignoruj"};var Yk={};Yk={alert:"Alerta",dismiss:"Descartar"};var qk={};qk={alert:"Alerta",dismiss:"Dispensar"};var Gk={};Gk={alert:"Alertă",dismiss:"Revocare"};var Zk={};Zk={alert:"Предупреждение",dismiss:"Пропустить"};var Xk={};Xk={alert:"Upozornenie",dismiss:"Zrušiť"};var Qk={};Qk={alert:"Opozorilo",dismiss:"Opusti"};var Jk={};Jk={alert:"Upozorenje",dismiss:"Odbaci"};var eP={};eP={alert:"Varning",dismiss:"Avvisa"};var tP={};tP={alert:"Uyarı",dismiss:"Kapat"};var nP={};nP={alert:"Сигнал тривоги",dismiss:"Скасувати"};var rP={};rP={alert:"警报",dismiss:"取消"};var iP={};iP={alert:"警示",dismiss:"關閉"};var aP={};aP={"ar-AE":Ek,"bg-BG":Sk,"cs-CZ":Ck,"da-DK":kk,"de-DE":Pk,"el-GR":Tk,"en-US":Rk,"es-ES":Mk,"et-EE":Ak,"fi-FI":Fk,"fr-FR":Ok,"he-IL":Bk,"hr-HR":Ik,"hu-HU":Lk,"it-IT":Nk,"ja-JP":jk,"ko-KR":zk,"lt-LT":Vk,"lv-LV":Wk,"nb-NO":Uk,"nl-NL":Hk,"pl-PL":Kk,"pt-BR":Yk,"pt-PT":qk,"ro-RO":Gk,"ru-RU":Zk,"sk-SK":Xk,"sl-SI":Qk,"sr-SP":Jk,"sv-SE":eP,"tr-TR":tP,"uk-UA":nP,"zh-CN":rP,"zh-TW":iP};function K(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var H={};K(H,"buttonGroup",()=>b4,e=>b4=e);K(H,"buttonGroup-end",()=>y4,e=>y4=e);K(H,"closeButton",()=>$4,e=>$4=e);K(H,"content",()=>x4,e=>x4=e);K(H,"divider",()=>w4,e=>w4=e);K(H,"focus-ring",()=>D4,e=>D4=e);K(H,"footer",()=>_4,e=>_4=e);K(H,"footer-start",()=>E4,e=>E4=e);K(H,"header",()=>S4,e=>S4=e);K(H,"header-end",()=>C4,e=>C4=e);K(H,"header-start",()=>k4,e=>k4=e);K(H,"heading",()=>P4,e=>P4=e);K(H,"heading-start",()=>T4,e=>T4=e);K(H,"hero",()=>R4,e=>R4=e);K(H,"i18nFontFamily",()=>M4,e=>M4=e);K(H,"spectrum-Button",()=>A4,e=>A4=e);K(H,"spectrum-Dialog",()=>F4,e=>F4=e);K(H,"spectrum-Dialog--dismissable",()=>O4,e=>O4=e);K(H,"spectrum-Dialog--error",()=>B4,e=>B4=e);K(H,"spectrum-Dialog--fullscreen",()=>I4,e=>I4=e);K(H,"spectrum-Dialog--fullscreenTakeover",()=>L4,e=>L4=e);K(H,"spectrum-Dialog--large",()=>N4,e=>N4=e);K(H,"spectrum-Dialog--medium",()=>j4,e=>j4=e);K(H,"spectrum-Dialog--noDivider",()=>z4,e=>z4=e);K(H,"spectrum-Dialog--small",()=>V4,e=>V4=e);K(H,"spectrum-Dialog--warning",()=>W4,e=>W4=e);K(H,"spectrum-Dialog-buttonGroup",()=>U4,e=>U4=e);K(H,"spectrum-Dialog-buttonGroup--noFooter",()=>H4,e=>H4=e);K(H,"spectrum-Dialog-closeButton",()=>K4,e=>K4=e);K(H,"spectrum-Dialog-content",()=>Y4,e=>Y4=e);K(H,"spectrum-Dialog-divider",()=>q4,e=>q4=e);K(H,"spectrum-Dialog-footer",()=>G4,e=>G4=e);K(H,"spectrum-Dialog-grid",()=>Z4,e=>Z4=e);K(H,"spectrum-Dialog-header",()=>X4,e=>X4=e);K(H,"spectrum-Dialog-header--noTypeIcon",()=>Q4,e=>Q4=e);K(H,"spectrum-Dialog-heading",()=>J4,e=>J4=e);K(H,"spectrum-Dialog-heading--noHeader",()=>eb,e=>eb=e);K(H,"spectrum-Dialog-heading--noTypeIcon",()=>tb,e=>tb=e);K(H,"spectrum-Dialog-hero",()=>nb,e=>nb=e);K(H,"spectrum-Dialog-typeIcon",()=>rb,e=>rb=e);K(H,"spectrum-FocusRing-ring",()=>Pd,e=>Pd=e);K(H,"spectrum-FocusRing",()=>ib,e=>ib=e);K(H,"spectrum-FocusRing--quiet",()=>ab,e=>ab=e);K(H,"spectrum-overlay",()=>sb,e=>sb=e);K(H,"spectrum-overlay--bottom--open",()=>ob,e=>ob=e);K(H,"spectrum-overlay--left--open",()=>lb,e=>lb=e);K(H,"spectrum-overlay--open",()=>ub,e=>ub=e);K(H,"spectrum-overlay--right--open",()=>cb,e=>cb=e);K(H,"spectrum-overlay--top--open",()=>db,e=>db=e);K(H,"typeIcon",()=>fb,e=>fb=e);K(H,"typeIcon-end",()=>hb,e=>hb=e);var b4,y4,$4,x4,w4,D4,_4,E4,S4,C4,k4,P4,T4,R4,M4,A4,F4,O4,B4,I4,L4,N4,j4,z4,V4,W4,U4,H4,K4,Y4,q4,G4,Z4,X4,Q4,J4,eb,tb,nb,rb,Pd,ib,ab,sb,ob,lb,ub,cb,db,fb,hb;b4="h_OVWW_buttonGroup";y4="h_OVWW_buttonGroup-end";$4="h_OVWW_closeButton";x4="h_OVWW_content";w4="h_OVWW_divider";D4="h_OVWW_focus-ring";_4="h_OVWW_footer";E4="h_OVWW_footer-start";S4="h_OVWW_header";C4="h_OVWW_header-end";k4="h_OVWW_header-start";P4="h_OVWW_heading";T4="h_OVWW_heading-start";R4="h_OVWW_hero";M4="h_OVWW_i18nFontFamily";A4="h_OVWW_spectrum-Button";F4="h_OVWW_spectrum-Dialog";O4="h_OVWW_spectrum-Dialog--dismissable";B4="h_OVWW_spectrum-Dialog--error";I4="h_OVWW_spectrum-Dialog--fullscreen";L4="h_OVWW_spectrum-Dialog--fullscreenTakeover";N4="h_OVWW_spectrum-Dialog--large";j4="h_OVWW_spectrum-Dialog--medium";z4="h_OVWW_spectrum-Dialog--noDivider";V4="h_OVWW_spectrum-Dialog--small";W4="h_OVWW_spectrum-Dialog--warning";U4="h_OVWW_spectrum-Dialog-buttonGroup";H4="h_OVWW_spectrum-Dialog-buttonGroup--noFooter";K4="h_OVWW_spectrum-Dialog-closeButton";Y4="h_OVWW_spectrum-Dialog-content";q4="h_OVWW_spectrum-Dialog-divider";G4="h_OVWW_spectrum-Dialog-footer";Z4="h_OVWW_spectrum-Dialog-grid";X4="h_OVWW_spectrum-Dialog-header";Q4="h_OVWW_spectrum-Dialog-header--noTypeIcon";J4="h_OVWW_spectrum-Dialog-heading";eb="h_OVWW_spectrum-Dialog-heading--noHeader";tb="h_OVWW_spectrum-Dialog-heading--noTypeIcon";nb="h_OVWW_spectrum-Dialog-hero";rb="h_OVWW_spectrum-Dialog-typeIcon";Pd="h_OVWW_spectrum-FocusRing-ring";ib=`h_OVWW_spectrum-FocusRing ${Pd}`;ab="h_OVWW_spectrum-FocusRing--quiet";sb="h_OVWW_spectrum-overlay";ob="h_OVWW_spectrum-overlay--bottom--open";lb="h_OVWW_spectrum-overlay--left--open";ub="h_OVWW_spectrum-overlay--open";cb="h_OVWW_spectrum-overlay--right--open";db="h_OVWW_spectrum-overlay--top--open";fb="h_OVWW_typeIcon";hb="h_OVWW_typeIcon-end";function wt(e){return e&&e.__esModule?e.default:e}let _5={S:"small",M:"medium",L:"large",fullscreen:"fullscreen",fullscreenTakeover:"fullscreenTakeover"};function zz(e,t){e=oi(e,"dialog");let{type:n="modal",...r}=y.useContext(_k)||{},{children:i,isDismissable:a=r.isDismissable,onDismiss:s=r.onClose,size:o,...l}=e,u=_n(wt(aP),"@react-spectrum/dialog"),{styleProps:c}=st(l);o=n==="popover"?o||"S":o||"L";let d=In(t),f=y.useRef(null),h=_5[n]||_5[o],{dialogProps:p,titleProps:g}=XN(de(r,e),d),b=fu(`.${wt(H)["spectrum-Dialog-header"]}`,ou(f)),v=fu(`.${wt(H)["spectrum-Dialog-heading"]}`,ou(f)),m=fu(`.${wt(H)["spectrum-Dialog-footer"]}`,ou(f)),$=fu(`.${wt(H)["spectrum-Dialog-typeIcon"]}`,ou(f)),w=y.useMemo(()=>({hero:{UNSAFE_className:wt(H)["spectrum-Dialog-hero"]},heading:{UNSAFE_className:V(wt(H),"spectrum-Dialog-heading",{"spectrum-Dialog-heading--noHeader":!b,"spectrum-Dialog-heading--noTypeIcon":!$}),level:2,...g},header:{UNSAFE_className:V(wt(H),"spectrum-Dialog-header",{"spectrum-Dialog-header--noHeading":!v,"spectrum-Dialog-header--noTypeIcon":!$})},typeIcon:{UNSAFE_className:wt(H)["spectrum-Dialog-typeIcon"]},divider:{UNSAFE_className:wt(H)["spectrum-Dialog-divider"],size:"M"},content:{UNSAFE_className:wt(H)["spectrum-Dialog-content"]},footer:{UNSAFE_className:wt(H)["spectrum-Dialog-footer"]},buttonGroup:{UNSAFE_className:V(wt(H),"spectrum-Dialog-buttonGroup",{"spectrum-Dialog-buttonGroup--noFooter":!m}),align:"end"}}),[m,b,g]);return _.createElement("section",{...c,...p,className:V(wt(H),"spectrum-Dialog",{[`spectrum-Dialog--${h}`]:h,"spectrum-Dialog--dismissable":a},c.className),ref:d},_.createElement(az,{ref:f,UNSAFE_className:wt(H)["spectrum-Dialog-grid"]},_.createElement(Sf,{slots:w},i),a&&_.createElement(Tg,{UNSAFE_className:wt(H)["spectrum-Dialog-closeButton"],isQuiet:!0,"aria-label":u.format("dismiss"),onPress:s},_.createElement(pz,null))))}let Vz=_.forwardRef(zz);function Wz(e,t){e=oi(e,"content");let{children:n,...r}=e,{styleProps:i}=st(r),a=In(t);return _.createElement("section",{...Xt(r),...i,ref:a},_.createElement(V8,null,n))}const Uz=y.forwardRef(Wz);function pb(e){let{children:t,type:n="modal",mobileType:r=n==="popover"?"modal":n,hideArrow:i,targetRef:a,isDismissable:s,isKeyboardDismissDisabled:o,...l}=e;if(!Array.isArray(t)||t.length>2)throw new Error("DialogTrigger must have exactly 2 children");let[u,c]=t;gL()&&(n!=="modal"&&r==="modal"&&(s=!0),n=r);let f=Q9(e),h=y.useRef(!1);y.useEffect(()=>{h.current=f.isOpen},[f.isOpen]);let p=y.useRef(!1),g=()=>p.current=!0,b=()=>p.current=!1;if(y.useEffect(()=>()=>{(h.current||p.current)&&n!=="popover"&&n!=="tray"&&console.warn("A DialogTrigger unmounted while open. This is likely due to being placed within a trigger that unmounts or inside a conditional. Consider using a DialogContainer instead.")},[]),n==="popover")return _.createElement(Kz,{...l,state:f,targetRef:a,trigger:u,content:c,isKeyboardDismissDisabled:o,hideArrow:i});let v=()=>{switch(n){case"fullscreen":case"fullscreenTakeover":case"modal":return _.createElement(Yj,{state:f,isDismissable:n==="modal"?s:!1,type:n,isKeyboardDismissDisabled:o,onExiting:g,onExited:b},typeof c=="function"?c(f.close):c);case"tray":return _.createElement(Zj,{state:f,isKeyboardDismissDisabled:o},typeof c=="function"?c(f.close):c)}};return _.createElement(sP,{type:n,state:f,isDismissable:s,trigger:u,overlay:v()})}pb.getCollectionNode=function*(e){let[t]=_.Children.toArray(e.children),[,n]=e.children;yield{element:t,wrapper:r=>_.createElement(pb,{key:r.key,...e},r,n)}};let Hz=pb;function Kz({state:e,targetRef:t,trigger:n,content:r,hideArrow:i,...a}){let s=y.useRef(null),{triggerProps:o,overlayProps:l}=PN({type:"dialog"},e,s),u={...o,ref:t?void 0:s},c=_.createElement(Wj,{...a,hideArrow:i,triggerRef:t||s,state:e},typeof r=="function"?r(e.close):r);return _.createElement(sP,{type:"popover",state:e,triggerProps:u,dialogProps:l,trigger:n,overlay:c})}function sP({type:e,state:t,isDismissable:n,dialogProps:r={},triggerProps:i={},overlay:a,trigger:s}){let o={type:e,onClose:t.close,isDismissable:n,...r};return _.createElement(y.Fragment,null,_.createElement(EL,{...i,onPress:t.toggle,isPressed:t.isOpen&&e!=="modal"&&e!=="fullscreen"&&e!=="fullscreenTakeover"},s),_.createElement(_k.Provider,{value:o},a))}function Ue(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var ee={};Ue(ee,"is-invalid",()=>mb,e=>mb=e);Ue(ee,"is-placeholder",()=>gb,e=>gb=e);Ue(ee,"is-read-only",()=>vb,e=>vb=e);Ue(ee,"react-spectrum-DateField",()=>bb,e=>bb=e);Ue(ee,"react-spectrum-DateField-Input",()=>yb,e=>yb=e);Ue(ee,"react-spectrum-DatePicker-cell",()=>$b,e=>$b=e);Ue(ee,"react-spectrum-DatePicker-placeholder",()=>xb,e=>xb=e);Ue(ee,"react-spectrum-Datepicker-calendar",()=>wb,e=>wb=e);Ue(ee,"react-spectrum-Datepicker-dialog",()=>Db,e=>Db=e);Ue(ee,"react-spectrum-Datepicker-dialogContent",()=>_b,e=>_b=e);Ue(ee,"react-spectrum-Datepicker-endField",()=>Eb,e=>Eb=e);Ue(ee,"react-spectrum-Datepicker-field",()=>Sb,e=>Sb=e);Ue(ee,"react-spectrum-Datepicker-fieldWrapper",()=>Cb,e=>Cb=e);Ue(ee,"react-spectrum-Datepicker-input",()=>kb,e=>kb=e);Ue(ee,"react-spectrum-Datepicker-inputContents",()=>Pb,e=>Pb=e);Ue(ee,"react-spectrum-Datepicker-literal",()=>Tb,e=>Tb=e);Ue(ee,"react-spectrum-Datepicker-rangeDash",()=>Rb,e=>Rb=e);Ue(ee,"react-spectrum-Datepicker-segments",()=>Mb,e=>Mb=e);Ue(ee,"react-spectrum-Datepicker-startField",()=>Ab,e=>Ab=e);Ue(ee,"react-spectrum-Datepicker-timeFields",()=>Fb,e=>Fb=e);Ue(ee,"react-spectrum-TimeField",()=>Ob,e=>Ob=e);Ue(ee,"react-spectrum-TimeField-fieldWrapper",()=>Bb,e=>Bb=e);var mb,gb,vb,bb,yb,$b,xb,wb,Db,_b,Eb,Sb,Cb,kb,Pb,Tb,Rb,Mb,Ab,Fb,Ob,Bb;mb="_2n04KW_is-invalid";gb="_2n04KW_is-placeholder";vb="_2n04KW_is-read-only";bb="_2n04KW_react-spectrum-DateField";yb="_2n04KW_react-spectrum-DateField-Input";$b="_2n04KW_react-spectrum-DatePicker-cell";xb="_2n04KW_react-spectrum-DatePicker-placeholder";wb="_2n04KW_react-spectrum-Datepicker-calendar";Db="_2n04KW_react-spectrum-Datepicker-dialog";_b="_2n04KW_react-spectrum-Datepicker-dialogContent";Eb="_2n04KW_react-spectrum-Datepicker-endField";Sb="_2n04KW_react-spectrum-Datepicker-field";Cb="_2n04KW_react-spectrum-Datepicker-fieldWrapper";kb="_2n04KW_react-spectrum-Datepicker-input";Pb="_2n04KW_react-spectrum-Datepicker-inputContents";Tb="_2n04KW_react-spectrum-Datepicker-literal";Rb="_2n04KW_react-spectrum-Datepicker-rangeDash";Mb="_2n04KW_react-spectrum-Datepicker-segments";Ab="_2n04KW_react-spectrum-Datepicker-startField";Fb="_2n04KW_react-spectrum-Datepicker-timeFields";Ob="_2n04KW_react-spectrum-TimeField";Bb="_2n04KW_react-spectrum-TimeField-fieldWrapper";function Ib(e){return e&&e.__esModule?e.default:e}function oP({segment:e,state:t,...n}){switch(e.type){case"literal":return _.createElement(Yz,{segment:e});default:return _.createElement(qz,{segment:e,state:t,...n})}}function Yz({segment:e}){return _.createElement("span",{"aria-hidden":"true",className:V(Ib(ee),"react-spectrum-Datepicker-literal"),"data-testid":e.type==="literal"?void 0:e.type},e.text)}function qz({segment:e,state:t}){let n=y.useRef(),{segmentProps:r}=YN(e,t,n);return _.createElement("div",{...r,ref:n,className:V(Ib(ee),"react-spectrum-DatePicker-cell",{"is-placeholder":e.isPlaceholder,"is-read-only":!e.isEditable}),style:{...r.style,minWidth:e.maxValue!=null?String(e.maxValue).length+"ch":null},"data-testid":e.type},_.createElement("span",{"aria-hidden":"true",className:V(Ib(ee),"react-spectrum-DatePicker-placeholder")},e.placeholder),e.isPlaceholder?"":e.text)}function Gz(e){return e&&e.__esModule?e.default:e}function E5(e){let{isDisabled:t,isReadOnly:n,isRequired:r,inputClassName:i}=e,a=y.useRef(),{locale:s}=Qe(),o=LS({...e,locale:s,createCalendar:S8}),l=y.useRef(),{fieldProps:u,inputProps:c}=p9({...e,inputRef:l},o,a);return _.createElement("div",{...u,"data-testid":e["data-testid"],className:V(Gz(ee),"react-spectrum-Datepicker-segments",i),ref:a},o.segments.map((d,f)=>_.createElement(oP,{key:f,segment:d,state:o,isDisabled:t,isReadOnly:n,isRequired:r})),_.createElement("input",{...c,ref:l}))}function He(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var Re={};He(Re,"focus-ring",()=>Lb,e=>Lb=e);He(Re,"i18nFontFamily",()=>Td,e=>Td=e);He(Re,"is-disabled",()=>Nb,e=>Nb=e);He(Re,"is-focused",()=>jb,e=>jb=e);He(Re,"is-hovered",()=>zb,e=>zb=e);He(Re,"is-placeholder",()=>Vb,e=>Vb=e);He(Re,"spectrum-FocusRing-ring",()=>Rd,e=>Rd=e);He(Re,"spectrum-FocusRing",()=>Md,e=>Md=e);He(Re,"spectrum-FocusRing--quiet",()=>Ad,e=>Ad=e);He(Re,"spectrum-Textfield",()=>Wb,e=>Wb=e);He(Re,"spectrum-Textfield--invalid",()=>Ub,e=>Ub=e);He(Re,"spectrum-Textfield--loadable",()=>Hb,e=>Hb=e);He(Re,"spectrum-Textfield--multiline",()=>Kb,e=>Kb=e);He(Re,"spectrum-Textfield--quiet",()=>Yb,e=>Yb=e);He(Re,"spectrum-Textfield--valid",()=>qb,e=>qb=e);He(Re,"spectrum-Textfield-circleLoader",()=>Gb,e=>Gb=e);He(Re,"spectrum-Textfield-icon",()=>Zb,e=>Zb=e);He(Re,"spectrum-Textfield-input",()=>Xb,e=>Xb=e);He(Re,"spectrum-Textfield-inputIcon",()=>Qb,e=>Qb=e);He(Re,"spectrum-Textfield-validationIcon",()=>Jb,e=>Jb=e);He(Re,"spectrum-Textfield-wrapper",()=>e3,e=>e3=e);He(Re,"spectrum-Textfield-wrapper--quiet",()=>t3,e=>t3=e);var Lb,Td,Nb,jb,zb,Vb,Rd,Md,Ad,Wb,Ub,Hb,Kb,Yb,qb,Gb,Zb,Xb,Qb,Jb,e3,t3;Lb="YO3Nla_focus-ring";Td="YO3Nla_i18nFontFamily";Nb="YO3Nla_is-disabled";jb="YO3Nla_is-focused";zb="YO3Nla_is-hovered";Vb="YO3Nla_is-placeholder";Rd="YO3Nla_spectrum-FocusRing-ring";Md=`YO3Nla_spectrum-FocusRing ${Rd}`;Ad="YO3Nla_spectrum-FocusRing--quiet";Wb=`YO3Nla_spectrum-Textfield ${Md}`;Ub="YO3Nla_spectrum-Textfield--invalid";Hb="YO3Nla_spectrum-Textfield--loadable";Kb="YO3Nla_spectrum-Textfield--multiline";Yb=`YO3Nla_spectrum-Textfield--quiet ${Ad}`;qb="YO3Nla_spectrum-Textfield--valid";Gb="YO3Nla_spectrum-Textfield-circleLoader";Zb="YO3Nla_spectrum-Textfield-icon";Xb=`YO3Nla_spectrum-Textfield-input ${Td}`;Qb="YO3Nla_spectrum-Textfield-inputIcon";Jb="YO3Nla_spectrum-Textfield-validationIcon";e3="YO3Nla_spectrum-Textfield-wrapper";t3="YO3Nla_spectrum-Textfield-wrapper--quiet";function $i(e){return e&&e.__esModule?e.default:e}function Zz(e,t){let n=y.useRef(null),{isDisabled:r,isQuiet:i,inputClassName:a,validationState:s,children:o,fieldProps:l,className:u,style:c,disableFocusRing:d}=e,[f,h]=k8(!1),p=y.useCallback(()=>h(function*(k){if(n.current){if(k){if(n.current.scrollWidth>n.current.offsetWidth){let x=n.current.parentElement.offsetWidth;yield!1,n.current.parentElement.offsetWidth!==x&&(yield!0)}}else if(n.current.offsetWidth>=n.current.scrollWidth){let x=n.current.parentElement.offsetWidth;yield!0,n.current.parentElement.offsetWidth===x&&(yield!1)}}}),[n,h]);he(p,[p]),O8({ref:n,onResize:p}),is(y.useRef(typeof window<"u"?window:null),"resize",p);let{focusProps:g,isFocusVisible:b,isFocused:v}=ul({isTextInput:!0,within:!0}),m=s==="invalid"&&!r,$=V($i(Re),"spectrum-Textfield",{"spectrum-Textfield--invalid":m,"spectrum-Textfield--valid":s==="valid"&&!r,"spectrum-Textfield--quiet":i,"focus-ring":b&&!d},V($i(ee),"react-spectrum-Datepicker-field"),u),w=V($i(Re),"spectrum-Textfield-input",{"is-disabled":r,"is-focused":v},V($i(ee),"react-spectrum-DateField-Input"),f&&V($i(ee),"react-spectrum-Datepicker-input"),a),D=V($i(Re),"spectrum-Textfield-validationIcon"),S=null;return s==="invalid"&&!r?S=_.createElement(LC,{"data-testid":"invalid-icon",UNSAFE_className:D}):s==="valid"&&!r&&(S=_.createElement(tz,{"data-testid":"valid-icon",UNSAFE_className:D})),_.createElement("div",{role:"presentation",...de(l,g),className:$,style:c},_.createElement("div",{role:"presentation",className:w},_.createElement("div",{role:"presentation",className:V($i(ee),"react-spectrum-Datepicker-inputContents"),ref:PI(t,n)},o)),S)}const lP=_.forwardRef(Zz);var uP={};uP={endTime:"وقت الانتهاء",startTime:"وقت البدء",time:"الوقت"};var cP={};cP={endTime:"Краен час",startTime:"Начален час",time:"Време"};var dP={};dP={endTime:"Konečný čas",startTime:"Počáteční čas",time:"Čas"};var fP={};fP={endTime:"Sluttidspunkt",startTime:"Starttidspunkt",time:"Klokkeslæt"};var hP={};hP={endTime:"Endzeit",startTime:"Startzeit",time:"Uhrzeit"};var pP={};pP={endTime:"Χρόνος λήξης",startTime:"Ώρα έναρξης",time:"Χρόνος"};var mP={};mP={time:"Time",startTime:"Start time",endTime:"End time"};var gP={};gP={endTime:"Hora de finalización",startTime:"Hora de inicio",time:"Hora"};var vP={};vP={endTime:"Lõpuaeg",startTime:"Algusaeg",time:"Aeg"};var bP={};bP={endTime:"Päättymisaika",startTime:"Alkamisaika",time:"Aika"};var yP={};yP={endTime:"Heure de fin",startTime:"Heure de début",time:"Heure"};var $P={};$P={endTime:"שעת סיום",startTime:"שעת התחלה",time:"זמן"};var xP={};xP={endTime:"Vrijeme završetka",startTime:"Vrijeme početka",time:"Vrijeme"};var wP={};wP={endTime:"Befejezés ideje",startTime:"Kezdés ideje",time:"Idő"};var DP={};DP={endTime:"Ora di fine",startTime:"Ora di inizio",time:"Ora"};var _P={};_P={endTime:"終了時刻",startTime:"開始時刻",time:"時刻"};var EP={};EP={endTime:"종료 시간",startTime:"시작 시간",time:"시간"};var SP={};SP={endTime:"Pabaigos laikas",startTime:"Pradžios laikas",time:"Laikas"};var CP={};CP={endTime:"Beigu laiks",startTime:"Sākuma laiks",time:"Laiks"};var kP={};kP={endTime:"Sluttid",startTime:"Starttid",time:"Tid"};var PP={};PP={endTime:"Eindtijd",startTime:"Starttijd",time:"Tijd"};var TP={};TP={endTime:"Godzina końcowa",startTime:"Godzina początkowa",time:"Godzina"};var RP={};RP={endTime:"Hora final",startTime:"Hora inicial",time:"Hora"};var MP={};MP={endTime:"Terminar tempo",startTime:"Iniciar tempo",time:"Tempo"};var AP={};AP={endTime:"Ora de sfârșit",startTime:"Ora de început",time:"Ora"};var FP={};FP={endTime:"Время окончания",startTime:"Время начала",time:"Время"};var OP={};OP={endTime:"Čas ukončenia",startTime:"Čas začiatku",time:"Čas"};var BP={};BP={endTime:"Končni čas",startTime:"Začetni čas",time:"Čas"};var IP={};IP={endTime:"Završno vreme",startTime:"Početno vreme",time:"Vreme"};var LP={};LP={endTime:"Sluttid",startTime:"Starttid",time:"Tid"};var NP={};NP={endTime:"Bitiş saati",startTime:"Başlangıç saati",time:"Saat"};var jP={};jP={endTime:"Час завершення",startTime:"Час початку",time:"Час"};var zP={};zP={endTime:"结束时间",startTime:"开始时间",time:"时间"};var VP={};VP={endTime:"結束時間",startTime:"開始時間",time:"時間"};var WP={};WP={"ar-AE":uP,"bg-BG":cP,"cs-CZ":dP,"da-DK":fP,"de-DE":hP,"el-GR":pP,"en-US":mP,"es-ES":gP,"et-EE":vP,"fi-FI":bP,"fr-FR":yP,"he-IL":$P,"hr-HR":xP,"hu-HU":wP,"it-IT":DP,"ja-JP":_P,"ko-KR":EP,"lt-LT":SP,"lv-LV":CP,"nb-NO":kP,"nl-NL":PP,"pl-PL":TP,"pt-BR":RP,"pt-PT":MP,"ro-RO":AP,"ru-RU":FP,"sk-SK":OP,"sl-SI":BP,"sr-SP":IP,"sv-SE":LP,"tr-TR":NP,"uk-UA":jP,"zh-CN":zP,"zh-TW":VP};function Se(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var fe={};Se(fe,"focus-ring",()=>n3,e=>n3=e);Se(fe,"i18nFontFamily",()=>r3,e=>r3=e);Se(fe,"is-disabled",()=>i3,e=>i3=e);Se(fe,"is-focused",()=>a3,e=>a3=e);Se(fe,"is-hovered",()=>s3,e=>s3=e);Se(fe,"is-selected",()=>o3,e=>o3=e);Se(fe,"spectrum-Datepicker--datetimeRange",()=>l3,e=>l3=e);Se(fe,"spectrum-Datepicker--range",()=>u3,e=>u3=e);Se(fe,"spectrum-Datepicker--rangeDash",()=>c3,e=>c3=e);Se(fe,"spectrum-Datepicker-endField",()=>d3,e=>d3=e);Se(fe,"spectrum-Datepicker-focusRing",()=>f3,e=>f3=e);Se(fe,"spectrum-Datepicker-startField",()=>h3,e=>h3=e);Se(fe,"spectrum-FieldButton",()=>p3,e=>p3=e);Se(fe,"spectrum-FieldButton--invalid",()=>m3,e=>m3=e);Se(fe,"spectrum-FocusRing-ring",()=>Fd,e=>Fd=e);Se(fe,"spectrum-FocusRing",()=>Od,e=>Od=e);Se(fe,"spectrum-FocusRing--quiet",()=>Bd,e=>Bd=e);Se(fe,"spectrum-InputGroup",()=>g3,e=>g3=e);Se(fe,"spectrum-InputGroup--invalid",()=>v3,e=>v3=e);Se(fe,"spectrum-InputGroup--quiet",()=>b3,e=>b3=e);Se(fe,"spectrum-InputGroup-field",()=>y3,e=>y3=e);Se(fe,"spectrum-InputGroup-icon",()=>$3,e=>$3=e);Se(fe,"spectrum-InputGroup-input",()=>x3,e=>x3=e);Se(fe,"spectrum-InputGroup-input-circleLoader",()=>w3,e=>w3=e);Se(fe,"spectrum-InputGroup-input-validationIcon",()=>D3,e=>D3=e);Se(fe,"spectrum-InputGroup-popover--quiet",()=>_3,e=>_3=e);var n3,r3,i3,a3,s3,o3,l3,u3,c3,d3,f3,h3,p3,m3,Fd,Od,Bd,g3,v3,b3,y3,$3,x3,w3,D3,_3;n3="ZTA2ya_focus-ring";r3="ZTA2ya_i18nFontFamily";i3="ZTA2ya_is-disabled";a3="ZTA2ya_is-focused";s3="ZTA2ya_is-hovered";o3="ZTA2ya_is-selected";l3="ZTA2ya_spectrum-Datepicker--datetimeRange";u3="ZTA2ya_spectrum-Datepicker--range";c3="ZTA2ya_spectrum-Datepicker--rangeDash";d3="ZTA2ya_spectrum-Datepicker-endField";f3="ZTA2ya_spectrum-Datepicker-focusRing";h3="ZTA2ya_spectrum-Datepicker-startField";p3="ZTA2ya_spectrum-FieldButton";m3="ZTA2ya_spectrum-FieldButton--invalid";Fd="ZTA2ya_spectrum-FocusRing-ring";Od=`ZTA2ya_spectrum-FocusRing ${Fd}`;Bd="ZTA2ya_spectrum-FocusRing--quiet";g3=`ZTA2ya_spectrum-InputGroup ${Od}`;v3="ZTA2ya_spectrum-InputGroup--invalid";b3=`ZTA2ya_spectrum-InputGroup--quiet ${Bd}`;y3="ZTA2ya_spectrum-InputGroup-field";$3="ZTA2ya_spectrum-InputGroup-icon";x3="ZTA2ya_spectrum-InputGroup-input";w3="ZTA2ya_spectrum-InputGroup-input-circleLoader";D3="ZTA2ya_spectrum-InputGroup-input-validationIcon";_3="ZTA2ya_spectrum-InputGroup-popover--quiet";function Xz(e){let t=$n({dateStyle:"short"}),n=m9();return y.useMemo(()=>e.description?e.description:e.showFormatHelpText?t.formatToParts(new Date).map(r=>r.type==="literal"?r.value:n.of(r.type)).join(" "):"",[e.description,e.showFormatHelpText,t,n])}function Qz(e){let{scale:t}=ha(),[n,r]=y.useState(S5(t));return he(()=>{let i=()=>r(S5(t));return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[t]),Math.max(1,Math.min(n,e,3))}function S5(e){if(typeof window>"u")return 1;let t=e==="large"?336:280,n=e==="large"?30:24,r=e==="large"?32:48;return Math.floor((window.innerWidth-r*2)/(t+n))}function UP(e){let t=y.useRef();return y.useImperativeHandle(e,()=>({...vf(t),focus(){Pf(t).focusFirst({tabbable:!0})}})),t}function C5(e){return e&&e.__esModule?e.default:e}function Jz(e,t){e=Bl(e),e=x$(e);let{autoFocus:n,isDisabled:r,isReadOnly:i,isRequired:a,isQuiet:s}=e,o=UP(t),{locale:l}=Qe(),u=dj({...e,locale:l}),c=y.useRef(null),d=y.useRef(null),{labelProps:f,fieldProps:h,inputProps:p,descriptionProps:g,errorMessageProps:b,isInvalid:v,validationErrors:m,validationDetails:$}=VN({...e,inputRef:d},u,c),w=u.validationState||(v?"invalid":null);return _.createElement(Dk,{...e,ref:o,elementType:"span",labelProps:f,descriptionProps:g,errorMessageProps:b,validationState:w,isInvalid:v,validationErrors:m,validationDetails:$,wrapperClassName:V(C5(ee),"react-spectrum-TimeField-fieldWrapper")},_.createElement(lP,{ref:c,fieldProps:h,isDisabled:r,isQuiet:s,autoFocus:n,validationState:w,className:V(C5(ee),"react-spectrum-TimeField")},u.segments.map((D,S)=>_.createElement(oP,{key:S,segment:D,state:u,isDisabled:r,isReadOnly:i,isRequired:a})),_.createElement("input",{...p,ref:d})))}const k5=_.forwardRef(Jz);var HP={};Object.defineProperty(HP,"__esModule",{value:!0});var eV=HP.A4uCalendar=nV,Nt=tV(y);function tV(e){return e&&e.__esModule?e:{default:e}}function Id(){return Id=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Id.apply(this,arguments)}function nV(e){var t=Id({},e);return Nt.default.createElement("svg",Id({viewBox:"0 0 36 36"},t,t),Nt.default.createElement("path",{fillRule:"evenodd",d:"M33,6H28V3a1,1,0,0,0-1-1H25a1,1,0,0,0-1,1V6H10V3A1,1,0,0,0,9,2H7A1,1,0,0,0,6,3V6H1A1,1,0,0,0,0,7V33a1,1,0,0,0,1,1H33a1,1,0,0,0,1-1V7A1,1,0,0,0,33,6ZM32,32H2V8H6V9a1,1,0,0,0,1,1H9a1,1,0,0,0,1-1V8H24V9a1,1,0,0,0,1,1h2a1,1,0,0,0,1-1V8h4Z"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"6",y:"12",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"12",y:"12",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"18",y:"12",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"24",y:"12",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"6",y:"18",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"12",y:"18",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"18",y:"18",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"24",y:"18",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"6",y:"24",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"12",y:"24",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"18",y:"24",width:"4",height:"4"}),Nt.default.createElement("rect",{fillRule:"evenodd",x:"24",y:"24",width:"4",height:"4"}))}function rV(e){return _.createElement(_j,e,_.createElement(eV,null))}function zt(e){return e&&e.__esModule?e.default:e}function iV(e,t){var n,r;e=Bl(e),e=x$(e);let{isQuiet:i,isDisabled:a,autoFocus:s,placeholderValue:o,maxVisibleMonths:l=1,pageBehavior:u}=e,{hoverProps:c,isHovered:d}=kf({isDisabled:a}),f=y.useRef(),h=cj({...e,shouldCloseOnSelect:()=>!h.hasTime}),{labelProps:p,groupProps:g,buttonProps:b,dialogProps:v,startFieldProps:m,endFieldProps:$,descriptionProps:w,errorMessageProps:D,calendarProps:S,isInvalid:k,validationErrors:x,validationDetails:T}=ZN(e,h,f),{isOpen:P,setOpen:E}=h,{direction:A}=Qe(),R=UP(t),M=_n(zt(WP),"@react-spectrum/datepicker"),{isFocused:z,isFocusVisible:O,focusProps:C}=ul({within:!0,isTextInput:!0,autoFocus:s}),{isFocused:F,focusProps:B}=ul({within:!1,isTextInput:!1,autoFocus:s}),N=V(zt(fe),"spectrum-InputGroup",{"spectrum-InputGroup--quiet":i,"spectrum-InputGroup--invalid":k&&!a,"is-disabled":a,"is-hovered":d,"is-focused":z,"focus-ring":O&&!F}),X=V(zt(fe),"spectrum-InputGroup-input",{"is-disabled":a,"is-invalid":k&&!a}),Q=Xz(e);Q&&!e.description&&(w.id=null);let je=o,$e=je&&"hour"in je?je:null,lt=e.minValue&&"hour"in e.minValue?e.minValue:null,xe=e.maxValue&&"hour"in e.maxValue?e.maxValue:null,W=h.granularity==="hour"||h.granularity==="minute"||h.granularity==="second"?h.granularity:null,Ce=!!W,et=Qz(l),yt=h.validationState||(k?"invalid":null);return _.createElement(Dk,{...e,ref:R,elementType:"span",description:Q,labelProps:p,descriptionProps:w,errorMessageProps:D,validationState:yt,isInvalid:k,validationErrors:x,validationDetails:T,wrapperClassName:V(zt(ee),"react-spectrum-Datepicker-fieldWrapper")},_.createElement("div",{...de(g,c,C),className:N,ref:f},_.createElement(lP,{isDisabled:a,isQuiet:i,validationState:yt,className:V(zt(fe),"spectrum-InputGroup-field"),inputClassName:X,disableFocusRing:!0},_.createElement(E5,{...m,"data-testid":"start-date",isQuiet:e.isQuiet,inputClassName:V(zt(ee),"react-spectrum-Datepicker-startField")}),_.createElement(aV,null),_.createElement(E5,{...$,"data-testid":"end-date",isQuiet:e.isQuiet,inputClassName:V(zt(fe),"spectrum-Datepicker-endField",V(zt(ee),"react-spectrum-Datepicker-endField"))})),_.createElement(Hz,{type:"popover",mobileType:"tray",placement:A==="rtl"?"bottom right":"bottom left",targetRef:f,hideArrow:!0,isOpen:P,onOpenChange:E,shouldFlip:e.shouldFlip},_.createElement(Pj,{...de(b,B),UNSAFE_className:V(zt(fe),"spectrum-FieldButton"),isQuiet:i,validationState:yt},_.createElement(rV,null)),_.createElement(Vz,{UNSAFE_className:V(zt(ee),"react-spectrum-Datepicker-dialog"),...v},_.createElement(Uz,null,_.createElement("div",{className:V(zt(ee),"react-spectrum-Datepicker-dialogContent")},_.createElement(jz,{...S,visibleMonths:et,pageBehavior:u,UNSAFE_className:V(zt(ee),"react-spectrum-Datepicker-calendar",{"is-invalid":yt==="invalid"})}),Ce&&_.createElement(KS,{gap:"size-100",marginTop:"size-100",UNSAFE_className:V(zt(ee),"react-spectrum-Datepicker-timeFields")},_.createElement(k5,{label:M.format("startTime"),value:((n=h.timeRange)===null||n===void 0?void 0:n.start)||null,onChange:ut=>h.setTime("start",ut),placeholderValue:$e,granularity:W,minValue:lt,maxValue:xe,hourCycle:e.hourCycle,hideTimeZone:e.hideTimeZone,flex:!0}),_.createElement(k5,{label:M.format("endTime"),value:((r=h.timeRange)===null||r===void 0?void 0:r.end)||null,onChange:ut=>h.setTime("end",ut),placeholderValue:$e,granularity:W,minValue:lt,maxValue:xe,hourCycle:e.hourCycle,hideTimeZone:e.hideTimeZone,flex:!0}))))))))}function aV(){return _.createElement("div",{"aria-hidden":"true","data-testid":"date-range-dash",className:V(zt(ee),"react-spectrum-Datepicker-rangeDash")})}const sV=_.forwardRef(iV);function oV(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var KP={};oV(KP,"spectrum--darkest",()=>E3,e=>E3=e);var E3;E3="gP7gvq_spectrum--darkest";function ma(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var mi={};ma(mi,"spectrum",()=>S3,e=>S3=e);ma(mi,"spectrum--dark",()=>C3,e=>C3=e);ma(mi,"spectrum--darkest",()=>k3,e=>k3=e);ma(mi,"spectrum--large",()=>P3,e=>P3=e);ma(mi,"spectrum--light",()=>T3,e=>T3=e);ma(mi,"spectrum--lightest",()=>R3,e=>R3=e);ma(mi,"spectrum--medium",()=>M3,e=>M3=e);var S3,C3,k3,P3,T3,R3,M3;S3="zA6MfG_spectrum";C3="zA6MfG_spectrum--dark";k3="zA6MfG_spectrum--darkest";P3="zA6MfG_spectrum--large";T3="zA6MfG_spectrum--light";R3="zA6MfG_spectrum--lightest";M3="zA6MfG_spectrum--medium";function lV(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var YP={};lV(YP,"spectrum--large",()=>A3,e=>A3=e);var A3;A3="HAZavG_spectrum--large";function uV(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var qP={};uV(qP,"spectrum--light",()=>F3,e=>F3=e);var F3;F3="PFjRbG_spectrum--light";function cV(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var GP={};cV(GP,"spectrum--medium",()=>O3,e=>O3=e);var O3;O3="xSyFOq_spectrum--medium";function qs(e){return e&&e.__esModule?e.default:e}let dV={global:qs(mi),light:qs(qP),dark:qs(KP),medium:qs(GP),large:qs(YP)};function Ea(e){let t="flex items-center w-full p-3 leading-tight transition-all rounded-lg outline-none text-start hover:bg-blue-500";return e.name===e.currentPage&&(t+=" border-2 border-black"),I.jsxs("div",{role:"button",className:t,children:[I.jsx("div",{className:"grid mr-4 place-items-center",children:I.jsx("i",{className:e.icon})}),I.jsx("a",{href:e.href,children:e.name})]})}function ZP(e){return I.jsxs("div",{className:"relative flex h-full w-full max-w-[20rem] flex-col rounded-xl bg-white bg-clip-border text-gray-700 shadow-xl shadow-blue-gray-900/5",children:[I.jsx("div",{className:"p-4 mb-2",children:I.jsx("h5",{className:"block font-sans text-xl antialiased font-semibold leading-snug tracking-normal text-blue-gray-900",children:I.jsx("a",{href:"/",children:"fs-tracer"})})}),I.jsxs("nav",{className:"flex min-w-[240px] flex-col gap-1 font-sans text-base font-normal text-blue-gray-700",children:[I.jsx(Ea,{name:"Home",icon:"fa-solid fa-house",href:"/",currentPage:e.currentPage}),I.jsx(Ea,{name:"Recent files",icon:"fa-solid fa-folder",href:"/recent",currentPage:e.currentPage}),I.jsx(Ea,{name:"Search",icon:"fa-solid fa-magnifying-glass",href:"/search",currentPage:e.currentPage}),I.jsx(Ea,{name:"Monitoring",icon:"fa-solid fa-chart-column",href:"/monitoring",currentPage:e.currentPage}),I.jsx(Ea,{name:"Setup",icon:"fa-solid fa-gear",href:"/setup",currentPage:e.currentPage}),I.jsx(Ea,{name:"Logout",icon:"fa-solid fa-right-from-bracket",href:"/logout",currentPage:e.currentPage})]})]})}/*! + * @kurkle/color v0.3.2 + * https://github.com/kurkle/color#readme + * (c) 2023 Jukka Kurkela + * Released under the MIT License + */function Il(e){return e+.5|0}const Ur=(e,t,n)=>Math.max(Math.min(e,n),t);function ho(e){return Ur(Il(e*2.55),0,255)}function ni(e){return Ur(Il(e*255),0,255)}function or(e){return Ur(Il(e/2.55)/100,0,1)}function P5(e){return Ur(Il(e*100),0,100)}const hn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},B3=[..."0123456789ABCDEF"],fV=e=>B3[e&15],hV=e=>B3[(e&240)>>4]+B3[e&15],Du=e=>(e&240)>>4===(e&15),pV=e=>Du(e.r)&&Du(e.g)&&Du(e.b)&&Du(e.a);function mV(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&hn[e[1]]*17,g:255&hn[e[2]]*17,b:255&hn[e[3]]*17,a:t===5?hn[e[4]]*17:255}:(t===7||t===9)&&(n={r:hn[e[1]]<<4|hn[e[2]],g:hn[e[3]]<<4|hn[e[4]],b:hn[e[5]]<<4|hn[e[6]],a:t===9?hn[e[7]]<<4|hn[e[8]]:255})),n}const gV=(e,t)=>e<255?t(e):"";function vV(e){var t=pV(e)?fV:hV;return e?"#"+t(e.r)+t(e.g)+t(e.b)+gV(e.a,t):void 0}const bV=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function XP(e,t,n){const r=t*Math.min(n,1-n),i=(a,s=(a+e/30)%12)=>n-r*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function yV(e,t,n){const r=(i,a=(i+e/60)%6)=>n-n*t*Math.max(Math.min(a,4-a,1),0);return[r(5),r(3),r(1)]}function $V(e,t,n){const r=XP(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function xV(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}function w$(e){const n=e.r/255,r=e.g/255,i=e.b/255,a=Math.max(n,r,i),s=Math.min(n,r,i),o=(a+s)/2;let l,u,c;return a!==s&&(c=a-s,u=o>.5?c/(2-a-s):c/(a+s),l=xV(n,r,i,c,a),l=l*60+.5),[l|0,u||0,o]}function D$(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(ni)}function _$(e,t,n){return D$(XP,e,t,n)}function wV(e,t,n){return D$($V,e,t,n)}function DV(e,t,n){return D$(yV,e,t,n)}function QP(e){return(e%360+360)%360}function _V(e){const t=bV.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?ho(+t[5]):ni(+t[5]));const i=QP(+t[2]),a=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=wV(i,a,s):t[1]==="hsv"?r=DV(i,a,s):r=_$(i,a,s),{r:r[0],g:r[1],b:r[2],a:n}}function EV(e,t){var n=w$(e);n[0]=QP(n[0]+t),n=_$(n),e.r=n[0],e.g=n[1],e.b=n[2]}function SV(e){if(!e)return;const t=w$(e),n=t[0],r=P5(t[1]),i=P5(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${or(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const T5={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},R5={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function CV(){const e={},t=Object.keys(R5),n=Object.keys(T5);let r,i,a,s,o;for(r=0;r<t.length;r++){for(s=o=t[r],i=0;i<n.length;i++)a=n[i],o=o.replace(a,T5[a]);a=parseInt(R5[s],16),e[o]=[a>>16&255,a>>8&255,a&255]}return e}let _u;function kV(e){_u||(_u=CV(),_u.transparent=[0,0,0,0]);const t=_u[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const PV=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function TV(e){const t=PV.exec(e);let n=255,r,i,a;if(t){if(t[7]!==r){const s=+t[7];n=t[8]?ho(s):Ur(s*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?ho(r):Ur(r,0,255)),i=255&(t[4]?ho(i):Ur(i,0,255)),a=255&(t[6]?ho(a):Ur(a,0,255)),{r,g:i,b:a,a:n}}}function RV(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${or(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const tp=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Sa=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function MV(e,t,n){const r=Sa(or(e.r)),i=Sa(or(e.g)),a=Sa(or(e.b));return{r:ni(tp(r+n*(Sa(or(t.r))-r))),g:ni(tp(i+n*(Sa(or(t.g))-i))),b:ni(tp(a+n*(Sa(or(t.b))-a))),a:e.a+n*(t.a-e.a)}}function Eu(e,t,n){if(e){let r=w$(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=_$(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function JP(e,t){return e&&Object.assign(t||{},e)}function M5(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=ni(e[3]))):(t=JP(e,{r:0,g:0,b:0,a:1}),t.a=ni(t.a)),t}function AV(e){return e.charAt(0)==="r"?TV(e):_V(e)}class hl{constructor(t){if(t instanceof hl)return t;const n=typeof t;let r;n==="object"?r=M5(t):n==="string"&&(r=mV(t)||kV(t)||AV(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=JP(this._rgb);return t&&(t.a=or(t.a)),t}set rgb(t){this._rgb=M5(t)}rgbString(){return this._valid?RV(this._rgb):void 0}hexString(){return this._valid?vV(this._rgb):void 0}hslString(){return this._valid?SV(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,i=t.rgb;let a;const s=n===a?.5:n,o=2*s-1,l=r.a-i.a,u=((o*l===-1?o:(o+l)/(1+o*l))+1)/2;a=1-u,r.r=255&u*r.r+a*i.r+.5,r.g=255&u*r.g+a*i.g+.5,r.b=255&u*r.b+a*i.b+.5,r.a=s*r.a+(1-s)*i.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=MV(this._rgb,t._rgb,n)),this}clone(){return new hl(this.rgb)}alpha(t){return this._rgb.a=ni(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=Il(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Eu(this._rgb,2,t),this}darken(t){return Eu(this._rgb,2,-t),this}saturate(t){return Eu(this._rgb,1,t),this}desaturate(t){return Eu(this._rgb,1,-t),this}rotate(t){return EV(this._rgb,t),this}}/*! + * Chart.js v4.4.3 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */function nr(){}const FV=(()=>{let e=0;return()=>e++})();function ce(e){return e===null||typeof e>"u"}function Be(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function ae(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function Ve(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function en(e,t){return Ve(e)?e:t}function J(e,t){return typeof e>"u"?t:e}const OV=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,eT=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function De(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function me(e,t,n,r){let i,a,s;if(Be(e))for(a=e.length,i=0;i<a;i++)t.call(n,e[i],i);else if(ae(e))for(s=Object.keys(e),a=s.length,i=0;i<a;i++)t.call(n,e[s[i]],s[i])}function Ld(e,t){let n,r,i,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],a=t[n],i.datasetIndex!==a.datasetIndex||i.index!==a.index)return!1;return!0}function Nd(e){if(Be(e))return e.map(Nd);if(ae(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let i=0;for(;i<r;++i)t[n[i]]=Nd(e[n[i]]);return t}return e}function tT(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function BV(e,t,n,r){if(!tT(e))return;const i=t[e],a=n[e];ae(i)&&ae(a)?pl(i,a,r):t[e]=Nd(a)}function pl(e,t,n){const r=Be(t)?t:[t],i=r.length;if(!ae(e))return e;n=n||{};const a=n.merger||BV;let s;for(let o=0;o<i;++o){if(s=r[o],!ae(s))continue;const l=Object.keys(s);for(let u=0,c=l.length;u<c;++u)a(l[u],e,s,n)}return e}function Ao(e,t){return pl(e,t,{merger:IV})}function IV(e,t,n){if(!tT(e))return;const r=t[e],i=n[e];ae(r)&&ae(i)?Ao(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Nd(i))}const A5={"":e=>e,x:e=>e.x,y:e=>e.y};function LV(e){const t=e.split("."),n=[];let r="";for(const i of t)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function NV(e){const t=LV(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function li(e,t){return(A5[t]||(A5[t]=NV(t)))(e)}function E$(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ml=e=>typeof e<"u",ui=e=>typeof e=="function",F5=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function jV(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Me=Math.PI,Te=2*Me,zV=Te+Me,jd=Number.POSITIVE_INFINITY,VV=Me/180,qe=Me/2,xi=Me/4,O5=Me*2/3,Hr=Math.log10,qn=Math.sign;function Fo(e,t,n){return Math.abs(e-t)<n}function B5(e){const t=Math.round(e);e=Fo(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(Hr(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function WV(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((i,a)=>i-a).pop(),t}function xs(e){return!isNaN(parseFloat(e))&&isFinite(e)}function UV(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function nT(e,t,n){let r,i,a;for(r=0,i=e.length;r<i;r++)a=e[r][n],isNaN(a)||(t.min=Math.min(t.min,a),t.max=Math.max(t.max,a))}function Mn(e){return e*(Me/180)}function S$(e){return e*(180/Me)}function I5(e){if(!Ve(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function rT(e,t){const n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);let a=Math.atan2(r,n);return a<-.5*Me&&(a+=Te),{angle:a,distance:i}}function I3(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function HV(e,t){return(e-t+zV)%Te-Me}function nn(e){return(e%Te+Te)%Te}function gl(e,t,n,r){const i=nn(e),a=nn(t),s=nn(n),o=nn(a-i),l=nn(s-i),u=nn(i-a),c=nn(i-s);return i===a||i===s||r&&a===s||o>l&&u<c}function dt(e,t,n){return Math.max(t,Math.min(n,e))}function KV(e){return dt(e,-32768,32767)}function hr(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function C$(e,t,n){n=n||(s=>e[s]<t);let r=e.length-1,i=0,a;for(;r-i>1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}const pr=(e,t,n,r)=>C$(e,n,r?i=>{const a=e[i][t];return a<n||a===n&&e[i+1][t]===n}:i=>e[i][t]<n),YV=(e,t,n)=>C$(e,n,r=>e[r][t]>=n);function qV(e,t,n){let r=0,i=e.length;for(;r<i&&e[r]<t;)r++;for(;i>r&&e[i-1]>n;)i--;return r>0||i<e.length?e.slice(r,i):e}const iT=["push","pop","shift","splice","unshift"];function GV(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),iT.forEach(n=>{const r="_onData"+E$(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...a){const s=i.apply(this,a);return e._chartjs.listeners.forEach(o=>{typeof o[r]=="function"&&o[r](...a)}),s}})})}function L5(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(iT.forEach(a=>{delete e[a]}),delete e._chartjs)}function aT(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const sT=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function oT(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,sT.call(window,()=>{r=!1,e.apply(t,n)}))}}function ZV(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const k$=e=>e==="start"?"left":e==="end"?"right":"center",Dt=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,XV=(e,t,n,r)=>e===(r?"left":"right")?n:e==="center"?(t+n)/2:t;function lT(e,t,n){const r=t.length;let i=0,a=r;if(e._sorted){const{iScale:s,_parsed:o}=e,l=s.axis,{min:u,max:c,minDefined:d,maxDefined:f}=s.getUserBounds();d&&(i=dt(Math.min(pr(o,l,u).lo,n?r:pr(t,l,s.getPixelForValue(u)).lo),0,r-1)),f?a=dt(Math.max(pr(o,s.axis,c,!0).hi+1,n?0:pr(t,l,s.getPixelForValue(c),!0).hi+1),i,r)-i:a=r-i}return{start:i,count:a}}function uT(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}const Su=e=>e===0||e===1,N5=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Te/n)),j5=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Te/n)+1,Oo={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*qe)+1,easeOutSine:e=>Math.sin(e*qe),easeInOutSine:e=>-.5*(Math.cos(Me*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Su(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Su(e)?e:N5(e,.075,.3),easeOutElastic:e=>Su(e)?e:j5(e,.075,.3),easeInOutElastic(e){return Su(e)?e:e<.5?.5*N5(e*2,.1125,.45):.5+.5*j5(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-Oo.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?Oo.easeInBounce(e*2)*.5:Oo.easeOutBounce(e*2-1)*.5+.5};function P$(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function z5(e){return P$(e)?e:new hl(e)}function np(e){return P$(e)?e:new hl(e).saturate(.5).darken(.1).hexString()}const QV=["x","y","borderWidth","radius","tension"],JV=["color","borderColor","backgroundColor"];function eW(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:JV},numbers:{type:"number",properties:QV}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function tW(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const V5=new Map;function nW(e,t){t=t||{};const n=e+JSON.stringify(t);let r=V5.get(n);return r||(r=new Intl.NumberFormat(e,t),V5.set(n,r)),r}function Ll(e,t,n){return nW(t,n).format(e)}const cT={values(e){return Be(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let i,a=e;if(n.length>1){const u=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(u<1e-4||u>1e15)&&(i="scientific"),a=rW(e,n)}const s=Hr(Math.abs(a)),o=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:i,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(l,this.options.ticks.format),Ll(e,r,l)},logarithmic(e,t,n){if(e===0)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(Hr(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?cT.numeric.call(this,e,t,n):""}};function rW(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var Af={formatters:cT};function iW(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Af.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const ia=Object.create(null),L3=Object.create(null);function Bo(e,t){if(!t)return e;const n=t.split(".");for(let r=0,i=n.length;r<i;++r){const a=n[r];e=e[a]||(e[a]=Object.create(null))}return e}function rp(e,t,n){return typeof t=="string"?pl(Bo(e,t),n):pl(Bo(e,""),t)}class aW{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,i)=>np(i.backgroundColor),this.hoverBorderColor=(r,i)=>np(i.borderColor),this.hoverColor=(r,i)=>np(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return rp(this,t,n)}get(t){return Bo(this,t)}describe(t,n){return rp(L3,t,n)}override(t,n){return rp(ia,t,n)}route(t,n,r,i){const a=Bo(this,t),s=Bo(this,r),o="_"+n;Object.defineProperties(a,{[o]:{value:a[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[o],u=s[i];return ae(l)?Object.assign({},u,l):J(l,u)},set(l){this[o]=l}}})}apply(t){t.forEach(n=>n(this))}}var We=new aW({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[eW,tW,iW]);function sW(e){return!e||ce(e.size)||ce(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function zd(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function oW(e,t,n,r){r=r||{};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let s=0;const o=n.length;let l,u,c,d,f;for(l=0;l<o;l++)if(d=n[l],d!=null&&!Be(d))s=zd(e,i,a,s,d);else if(Be(d))for(u=0,c=d.length;u<c;u++)f=d[u],f!=null&&!Be(f)&&(s=zd(e,i,a,s,f));e.restore();const h=a.length/2;if(h>n.length){for(l=0;l<h;l++)delete i[a[l]];a.splice(0,h)}return s}function wi(e,t,n){const r=e.currentDevicePixelRatio,i=n!==0?Math.max(n/2,.5):0;return Math.round((t-i)*r)/r+i}function W5(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function N3(e,t,n,r){dT(e,t,n,r,null)}function dT(e,t,n,r,i){let a,s,o,l,u,c,d,f;const h=t.pointStyle,p=t.rotation,g=t.radius;let b=(p||0)*VV;if(h&&typeof h=="object"&&(a=h.toString(),a==="[object HTMLImageElement]"||a==="[object HTMLCanvasElement]")){e.save(),e.translate(n,r),e.rotate(b),e.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),e.restore();return}if(!(isNaN(g)||g<=0)){switch(e.beginPath(),h){default:i?e.ellipse(n,r,i/2,g,0,0,Te):e.arc(n,r,g,0,Te),e.closePath();break;case"triangle":c=i?i/2:g,e.moveTo(n+Math.sin(b)*c,r-Math.cos(b)*g),b+=O5,e.lineTo(n+Math.sin(b)*c,r-Math.cos(b)*g),b+=O5,e.lineTo(n+Math.sin(b)*c,r-Math.cos(b)*g),e.closePath();break;case"rectRounded":u=g*.516,l=g-u,s=Math.cos(b+xi)*l,d=Math.cos(b+xi)*(i?i/2-u:l),o=Math.sin(b+xi)*l,f=Math.sin(b+xi)*(i?i/2-u:l),e.arc(n-d,r-o,u,b-Me,b-qe),e.arc(n+f,r-s,u,b-qe,b),e.arc(n+d,r+o,u,b,b+qe),e.arc(n-f,r+s,u,b+qe,b+Me),e.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,c=i?i/2:l,e.rect(n-c,r-l,2*c,2*l);break}b+=xi;case"rectRot":d=Math.cos(b)*(i?i/2:g),s=Math.cos(b)*g,o=Math.sin(b)*g,f=Math.sin(b)*(i?i/2:g),e.moveTo(n-d,r-o),e.lineTo(n+f,r-s),e.lineTo(n+d,r+o),e.lineTo(n-f,r+s),e.closePath();break;case"crossRot":b+=xi;case"cross":d=Math.cos(b)*(i?i/2:g),s=Math.cos(b)*g,o=Math.sin(b)*g,f=Math.sin(b)*(i?i/2:g),e.moveTo(n-d,r-o),e.lineTo(n+d,r+o),e.moveTo(n+f,r-s),e.lineTo(n-f,r+s);break;case"star":d=Math.cos(b)*(i?i/2:g),s=Math.cos(b)*g,o=Math.sin(b)*g,f=Math.sin(b)*(i?i/2:g),e.moveTo(n-d,r-o),e.lineTo(n+d,r+o),e.moveTo(n+f,r-s),e.lineTo(n-f,r+s),b+=xi,d=Math.cos(b)*(i?i/2:g),s=Math.cos(b)*g,o=Math.sin(b)*g,f=Math.sin(b)*(i?i/2:g),e.moveTo(n-d,r-o),e.lineTo(n+d,r+o),e.moveTo(n+f,r-s),e.lineTo(n-f,r+s);break;case"line":s=i?i/2:Math.cos(b)*g,o=Math.sin(b)*g,e.moveTo(n-s,r-o),e.lineTo(n+s,r+o);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(b)*(i?i/2:g),r+Math.sin(b)*g);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function mr(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function Ff(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Of(e){e.restore()}function lW(e,t,n,r,i){if(!t)return e.lineTo(n.x,n.y);if(i==="middle"){const a=(t.x+n.x)/2;e.lineTo(a,t.y),e.lineTo(a,n.y)}else i==="after"!=!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function uW(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function cW(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),ce(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function dW(e,t,n,r,i){if(i.strikethrough||i.underline){const a=e.measureText(r),s=t-a.actualBoundingBoxLeft,o=t+a.actualBoundingBoxRight,l=n-a.actualBoundingBoxAscent,u=n+a.actualBoundingBoxDescent,c=i.strikethrough?(l+u)/2:u;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(s,c),e.lineTo(o,c),e.stroke()}}function fW(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function aa(e,t,n,r,i,a={}){const s=Be(t)?t:[t],o=a.strokeWidth>0&&a.strokeColor!=="";let l,u;for(e.save(),e.font=i.string,cW(e,a),l=0;l<s.length;++l)u=s[l],a.backdrop&&fW(e,a.backdrop),o&&(a.strokeColor&&(e.strokeStyle=a.strokeColor),ce(a.strokeWidth)||(e.lineWidth=a.strokeWidth),e.strokeText(u,n,r,a.maxWidth)),e.fillText(u,n,r,a.maxWidth),dW(e,n,r,u,a),r+=Number(i.lineHeight);e.restore()}function vl(e,t){const{x:n,y:r,w:i,h:a,radius:s}=t;e.arc(n+s.topLeft,r+s.topLeft,s.topLeft,1.5*Me,Me,!0),e.lineTo(n,r+a-s.bottomLeft),e.arc(n+s.bottomLeft,r+a-s.bottomLeft,s.bottomLeft,Me,qe,!0),e.lineTo(n+i-s.bottomRight,r+a),e.arc(n+i-s.bottomRight,r+a-s.bottomRight,s.bottomRight,qe,0,!0),e.lineTo(n+i,r+s.topRight),e.arc(n+i-s.topRight,r+s.topRight,s.topRight,0,-qe,!0),e.lineTo(n+s.topLeft,r)}const hW=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,pW=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function mW(e,t){const n=(""+e).match(hW);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const gW=e=>+e||0;function T$(e,t){const n={},r=ae(t),i=r?Object.keys(t):t,a=ae(e)?r?s=>J(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of i)n[s]=gW(a(s));return n}function fT(e){return T$(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Ki(e){return T$(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Pt(e){const t=fT(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function it(e,t){e=e||{},t=t||We.font;let n=J(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=J(e.style,t.style);r&&!(""+r).match(pW)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:J(e.family,t.family),lineHeight:mW(J(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:J(e.weight,t.weight),string:""};return i.string=sW(i),i}function po(e,t,n,r){let i,a,s;for(i=0,a=e.length;i<a;++i)if(s=e[i],s!==void 0&&s!==void 0)return s}function vW(e,t,n){const{min:r,max:i}=e,a=eT(t,(i-r)/2),s=(o,l)=>n&&o===0?0:o+l;return{min:s(r,-Math.abs(a)),max:s(i,a)}}function gi(e,t){return Object.assign(Object.create(e),t)}function R$(e,t=[""],n,r,i=()=>e[0]){const a=n||e;typeof r>"u"&&(r=gT("_fallback",e));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:o=>R$([o,...e],t,a,r)};return new Proxy(s,{deleteProperty(o,l){return delete o[l],delete o._keys,delete e[0][l],!0},get(o,l){return pT(o,l,()=>EW(l,t,e,o))},getOwnPropertyDescriptor(o,l){return Reflect.getOwnPropertyDescriptor(o._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(o,l){return H5(o).includes(l)},ownKeys(o){return H5(o)},set(o,l,u){const c=o._storage||(o._storage=i());return o[l]=c[l]=u,delete o._keys,!0}})}function ws(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:hT(e,r),setContext:a=>ws(e,a,n,r),override:a=>ws(e.override(a),t,n,r)};return new Proxy(i,{deleteProperty(a,s){return delete a[s],delete e[s],!0},get(a,s,o){return pT(a,s,()=>yW(a,s,o))},getOwnPropertyDescriptor(a,s){return a._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(a,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(a,s,o){return e[s]=o,delete a[s],!0}})}function hT(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:ui(n)?n:()=>n,isIndexable:ui(r)?r:()=>r}}const bW=(e,t)=>e?e+E$(t):t,M$=(e,t)=>ae(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function pT(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];const r=n();return e[t]=r,r}function yW(e,t,n){const{_proxy:r,_context:i,_subProxy:a,_descriptors:s}=e;let o=r[t];return ui(o)&&s.isScriptable(t)&&(o=$W(t,o,e,n)),Be(o)&&o.length&&(o=xW(t,o,e,s.isIndexable)),M$(t,o)&&(o=ws(o,i,a&&a[t],s)),o}function $W(e,t,n,r){const{_proxy:i,_context:a,_subProxy:s,_stack:o}=n;if(o.has(e))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+e);o.add(e);let l=t(a,s||r);return o.delete(e),M$(e,l)&&(l=A$(i._scopes,i,e,l)),l}function xW(e,t,n,r){const{_proxy:i,_context:a,_subProxy:s,_descriptors:o}=n;if(typeof a.index<"u"&&r(e))return t[a.index%t.length];if(ae(t[0])){const l=t,u=i._scopes.filter(c=>c!==l);t=[];for(const c of l){const d=A$(u,i,e,c);t.push(ws(d,a,s&&s[e],o))}}return t}function mT(e,t,n){return ui(e)?e(t,n):e}const wW=(e,t)=>e===!0?t:typeof e=="string"?li(t,e):void 0;function DW(e,t,n,r,i){for(const a of t){const s=wW(n,a);if(s){e.add(s);const o=mT(s._fallback,n,i);if(typeof o<"u"&&o!==n&&o!==r)return o}else if(s===!1&&typeof r<"u"&&n!==r)return null}return!1}function A$(e,t,n,r){const i=t._rootScopes,a=mT(t._fallback,n,r),s=[...e,...i],o=new Set;o.add(r);let l=U5(o,s,n,a||n,r);return l===null||typeof a<"u"&&a!==n&&(l=U5(o,s,a,l,r),l===null)?!1:R$(Array.from(o),[""],i,a,()=>_W(t,n,r))}function U5(e,t,n,r,i){for(;n;)n=DW(e,t,n,r,i);return n}function _W(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];return Be(i)&&ae(n)?n:i||{}}function EW(e,t,n,r){let i;for(const a of t)if(i=gT(bW(a,e),n),typeof i<"u")return M$(e,i)?A$(n,r,e,i):i}function gT(e,t){for(const n of t){if(!n)continue;const r=n[e];if(typeof r<"u")return r}}function H5(e){let t=e._keys;return t||(t=e._keys=SW(e._scopes)),t}function SW(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(r);return Array.from(t)}function vT(e,t,n,r){const{iScale:i}=e,{key:a="r"}=this._parsing,s=new Array(r);let o,l,u,c;for(o=0,l=r;o<l;++o)u=o+n,c=t[u],s[o]={r:i.parse(li(c,a),u)};return s}const CW=Number.EPSILON||1e-14,Ds=(e,t)=>t<e.length&&!e[t].skip&&e[t],bT=e=>e==="x"?"y":"x";function kW(e,t,n,r){const i=e.skip?t:e,a=t,s=n.skip?t:n,o=I3(a,i),l=I3(s,a);let u=o/(o+l),c=l/(o+l);u=isNaN(u)?0:u,c=isNaN(c)?0:c;const d=r*u,f=r*c;return{previous:{x:a.x-d*(s.x-i.x),y:a.y-d*(s.y-i.y)},next:{x:a.x+f*(s.x-i.x),y:a.y+f*(s.y-i.y)}}}function PW(e,t,n){const r=e.length;let i,a,s,o,l,u=Ds(e,0);for(let c=0;c<r-1;++c)if(l=u,u=Ds(e,c+1),!(!l||!u)){if(Fo(t[c],0,CW)){n[c]=n[c+1]=0;continue}i=n[c]/t[c],a=n[c+1]/t[c],o=Math.pow(i,2)+Math.pow(a,2),!(o<=9)&&(s=3/Math.sqrt(o),n[c]=i*s*t[c],n[c+1]=a*s*t[c])}}function TW(e,t,n="x"){const r=bT(n),i=e.length;let a,s,o,l=Ds(e,0);for(let u=0;u<i;++u){if(s=o,o=l,l=Ds(e,u+1),!o)continue;const c=o[n],d=o[r];s&&(a=(c-s[n])/3,o[`cp1${n}`]=c-a,o[`cp1${r}`]=d-a*t[u]),l&&(a=(l[n]-c)/3,o[`cp2${n}`]=c+a,o[`cp2${r}`]=d+a*t[u])}}function RW(e,t="x"){const n=bT(t),r=e.length,i=Array(r).fill(0),a=Array(r);let s,o,l,u=Ds(e,0);for(s=0;s<r;++s)if(o=l,l=u,u=Ds(e,s+1),!!l){if(u){const c=u[t]-l[t];i[s]=c!==0?(u[n]-l[n])/c:0}a[s]=o?u?qn(i[s-1])!==qn(i[s])?0:(i[s-1]+i[s])/2:i[s-1]:i[s]}PW(e,i,a),TW(e,a,t)}function Cu(e,t,n){return Math.max(Math.min(e,n),t)}function MW(e,t){let n,r,i,a,s,o=mr(e[0],t);for(n=0,r=e.length;n<r;++n)s=a,a=o,o=n<r-1&&mr(e[n+1],t),a&&(i=e[n],s&&(i.cp1x=Cu(i.cp1x,t.left,t.right),i.cp1y=Cu(i.cp1y,t.top,t.bottom)),o&&(i.cp2x=Cu(i.cp2x,t.left,t.right),i.cp2y=Cu(i.cp2y,t.top,t.bottom)))}function AW(e,t,n,r,i){let a,s,o,l;if(t.spanGaps&&(e=e.filter(u=>!u.skip)),t.cubicInterpolationMode==="monotone")RW(e,i);else{let u=r?e[e.length-1]:e[0];for(a=0,s=e.length;a<s;++a)o=e[a],l=kW(u,o,e[Math.min(a+1,s-(r?0:1))%s],t.tension),o.cp1x=l.previous.x,o.cp1y=l.previous.y,o.cp2x=l.next.x,o.cp2y=l.next.y,u=o}t.capBezierPoints&&MW(e,n)}function F$(){return typeof window<"u"&&typeof document<"u"}function O$(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Vd(e,t,n){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[n])):r=e,r}const Bf=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function FW(e,t){return Bf(e).getPropertyValue(t)}const OW=["top","right","bottom","left"];function Yi(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const a=OW[i];r[a]=parseFloat(e[t+"-"+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const BW=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function IW(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r;let s=!1,o,l;if(BW(i,a,e.target))o=i,l=a;else{const u=t.getBoundingClientRect();o=r.clientX-u.left,l=r.clientY-u.top,s=!0}return{x:o,y:l,box:s}}function Ti(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=Bf(n),a=i.boxSizing==="border-box",s=Yi(i,"padding"),o=Yi(i,"border","width"),{x:l,y:u,box:c}=IW(e,n),d=s.left+(c&&o.left),f=s.top+(c&&o.top);let{width:h,height:p}=t;return a&&(h-=s.width+o.width,p-=s.height+o.height),{x:Math.round((l-d)/h*n.width/r),y:Math.round((u-f)/p*n.height/r)}}function LW(e,t,n){let r,i;if(t===void 0||n===void 0){const a=e&&O$(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{const s=a.getBoundingClientRect(),o=Bf(a),l=Yi(o,"border","width"),u=Yi(o,"padding");t=s.width-u.width-l.width,n=s.height-u.height-l.height,r=Vd(o.maxWidth,a,"clientWidth"),i=Vd(o.maxHeight,a,"clientHeight")}}return{width:t,height:n,maxWidth:r||jd,maxHeight:i||jd}}const ku=e=>Math.round(e*10)/10;function NW(e,t,n,r){const i=Bf(e),a=Yi(i,"margin"),s=Vd(i.maxWidth,e,"clientWidth")||jd,o=Vd(i.maxHeight,e,"clientHeight")||jd,l=LW(e,t,n);let{width:u,height:c}=l;if(i.boxSizing==="content-box"){const f=Yi(i,"border","width"),h=Yi(i,"padding");u-=h.width+f.width,c-=h.height+f.height}return u=Math.max(0,u-a.width),c=Math.max(0,r?u/r:c-a.height),u=ku(Math.min(u,s,l.maxWidth)),c=ku(Math.min(c,o,l.maxHeight)),u&&!c&&(c=ku(u/2)),(t!==void 0||n!==void 0)&&r&&l.height&&c>l.height&&(c=l.height,u=ku(Math.floor(c*r))),{width:u,height:c}}function K5(e,t,n){const r=t||1,i=Math.floor(e.height*r),a=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||s.height!==i||s.width!==a?(e.currentDevicePixelRatio=r,s.height=i,s.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const jW=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};F$()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function Y5(e,t){const n=FW(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Ri(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function zW(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r==="middle"?n<.5?e.y:t.y:r==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function VW(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},s=Ri(e,i,n),o=Ri(i,a,n),l=Ri(a,t,n),u=Ri(s,o,n),c=Ri(o,l,n);return Ri(u,c,n)}const WW=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},UW=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function os(e,t,n){return e?WW(t,n):UW()}function yT(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function $T(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function xT(e){return e==="angle"?{between:gl,compare:HV,normalize:nn}:{between:hr,compare:(t,n)=>t-n,normalize:t=>t}}function q5({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function HW(e,t,n){const{property:r,start:i,end:a}=n,{between:s,normalize:o}=xT(r),l=t.length;let{start:u,end:c,loop:d}=e,f,h;if(d){for(u+=l,c+=l,f=0,h=l;f<h&&s(o(t[u%l][r]),i,a);++f)u--,c--;u%=l,c%=l}return c<u&&(c+=l),{start:u,end:c,loop:d,style:e.style}}function wT(e,t,n){if(!n)return[e];const{property:r,start:i,end:a}=n,s=t.length,{compare:o,between:l,normalize:u}=xT(r),{start:c,end:d,loop:f,style:h}=HW(e,t,n),p=[];let g=!1,b=null,v,m,$;const w=()=>l(i,$,v)&&o(i,$)!==0,D=()=>o(a,v)===0||l(a,$,v),S=()=>g||w(),k=()=>!g||D();for(let x=c,T=c;x<=d;++x)m=t[x%s],!m.skip&&(v=u(m[r]),v!==$&&(g=l(v,i,a),b===null&&S()&&(b=o(v,i)===0?x:T),b!==null&&k()&&(p.push(q5({start:b,end:x,loop:f,count:s,style:h})),b=null),T=x,$=v));return b!==null&&p.push(q5({start:b,end:d,loop:f,count:s,style:h})),p}function DT(e,t){const n=[],r=e.segments;for(let i=0;i<r.length;i++){const a=wT(r[i],e.points,t);a.length&&n.push(...a)}return n}function KW(e,t,n,r){let i=0,a=t-1;if(n&&!r)for(;i<t&&!e[i].skip;)i++;for(;i<t&&e[i].skip;)i++;for(i%=t,n&&(a+=i);a>i&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function YW(e,t,n,r){const i=e.length,a=[];let s=t,o=e[t],l;for(l=t+1;l<=n;++l){const u=e[l%i];u.skip||u.stop?o.skip||(r=!1,a.push({start:t%i,end:(l-1)%i,loop:r}),t=s=u.stop?l:null):(s=l,o.skip&&(t=l)),o=u}return s!==null&&a.push({start:t%i,end:s%i,loop:r}),a}function qW(e,t){const n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];const a=!!e._loop,{start:s,end:o}=KW(n,i,a,r);if(r===!0)return G5(e,[{start:s,end:o,loop:a}],n,t);const l=o<s?o+i:o,u=!!e._fullLoop&&s===0&&o===i-1;return G5(e,YW(n,s,l,u),n,t)}function G5(e,t,n,r){return!r||!r.setContext||!n?t:GW(e,t,n,r)}function GW(e,t,n,r){const i=e._chart.getContext(),a=Z5(e.options),{_datasetIndex:s,options:{spanGaps:o}}=e,l=n.length,u=[];let c=a,d=t[0].start,f=d;function h(p,g,b,v){const m=o?-1:1;if(p!==g){for(p+=l;n[p%l].skip;)p-=m;for(;n[g%l].skip;)g+=m;p%l!==g%l&&(u.push({start:p%l,end:g%l,loop:b,style:v}),c=v,d=g%l)}}for(const p of t){d=o?d:p.start;let g=n[d%l],b;for(f=d+1;f<=p.end;f++){const v=n[f%l];b=Z5(r.setContext(gi(i,{type:"segment",p0:g,p1:v,p0DataIndex:(f-1)%l,p1DataIndex:f%l,datasetIndex:s}))),ZW(b,c)&&h(d,f-1,p.loop,c),g=v,c=b}d<f-1&&h(d,f-1,p.loop,c)}return u}function Z5(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function ZW(e,t){if(!t)return!1;const n=[],r=function(i,a){return P$(a)?(n.includes(a)||n.push(a),n.indexOf(a)):a};return JSON.stringify(e,r)!==JSON.stringify(t,r)}/*! + * Chart.js v4.4.3 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */class XW{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,r,i){const a=n.listeners[i],s=n.duration;a.forEach(o=>o({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=sT.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const a=r.items;let s=a.length-1,o=!1,l;for(;s>=0;--s)l=a[s],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),o=!0):(a[s]=a[a.length-1],a.pop());o&&(i.draw(),this._notify(i,r,t,"progress")),a.length||(r.running=!1,this._notify(i,r,t,"complete"),r.initial=!1),n+=a.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var rr=new XW;const X5="transparent",QW={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=z5(e||X5),i=r.valid&&z5(t||X5);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class JW{constructor(t,n,r,i){const a=n[r];i=po([t.to,i,a,t.from]);const s=po([t.from,a,i]);this._active=!0,this._fn=t.fn||QW[t.type||typeof s],this._easing=Oo[t.easing]||Oo.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],a=r-this._start,s=this._duration-a;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=a,this._loop=!!t.loop,this._to=po([t.to,n,i,t.from]),this._from=po([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,i=this._prop,a=this._from,s=this._loop,o=this._to;let l;if(this._active=a!==o&&(s||n<r),!this._active){this._target[i]=o,this._notify(!0);return}if(n<0){this._target[i]=a;return}l=n/r%2,l=s&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(a,o,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let i=0;i<r.length;i++)r[i][n]()}}class _T{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!ae(t))return;const n=Object.keys(We.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach(i=>{const a=t[i];if(!ae(a))return;const s={};for(const o of n)s[o]=a[o];(Be(a.properties)&&a.properties||[i]).forEach(o=>{(o===i||!r.has(o))&&r.set(o,s)})})}_animateOptions(t,n){const r=n.options,i=tU(t,r);if(!i)return[];const a=this._createAnimations(i,r);return r.$shared&&eU(t.options.$animations,r).then(()=>{t.options=r},()=>{}),a}_createAnimations(t,n){const r=this._properties,i=[],a=t.$animations||(t.$animations={}),s=Object.keys(n),o=Date.now();let l;for(l=s.length-1;l>=0;--l){const u=s[l];if(u.charAt(0)==="$")continue;if(u==="options"){i.push(...this._animateOptions(t,n));continue}const c=n[u];let d=a[u];const f=r.get(u);if(d)if(f&&d.active()){d.update(f,c,o);continue}else d.cancel();if(!f||!f.duration){t[u]=c;continue}a[u]=d=new JW(f,t,u,c),i.push(d)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return rr.add(this._chart,r),!0}}function eU(e,t){const n=[],r=Object.keys(t);for(let i=0;i<r.length;i++){const a=e[r[i]];a&&a.active()&&n.push(a.wait())}return Promise.all(n)}function tU(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function Q5(e,t){const n=e&&e.options||{},r=n.reverse,i=n.min===void 0?t:0,a=n.max===void 0?t:0;return{start:r?a:i,end:r?i:a}}function nU(e,t,n){if(n===!1)return!1;const r=Q5(e,n),i=Q5(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function rU(e){let t,n,r,i;return ae(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i,disabled:e===!1}}function ET(e,t){const n=[],r=e._getSortedDatasetMetas(t);let i,a;for(i=0,a=r.length;i<a;++i)n.push(r[i].index);return n}function J5(e,t,n,r={}){const i=e.keys,a=r.mode==="single";let s,o,l,u;if(t!==null){for(s=0,o=i.length;s<o;++s){if(l=+i[s],l===n){if(r.all)continue;break}u=e.values[l],Ve(u)&&(a||t===0||qn(t)===qn(u))&&(t+=u)}return t}}function iU(e,t){const{iScale:n,vScale:r}=t,i=n.axis==="x"?"x":"y",a=r.axis==="x"?"x":"y",s=Object.keys(e),o=new Array(s.length);let l,u,c;for(l=0,u=s.length;l<u;++l)c=s[l],o[l]={[i]:c,[a]:e[c]};return o}function e6(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function aU(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function sU(e){const{min:t,max:n,minDefined:r,maxDefined:i}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}function oU(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function t6(e,t,n,r){for(const i of t.getMatchingVisibleMetas(r).reverse()){const a=e[i.index];if(n&&a>0||!n&&a<0)return i.index}return null}function n6(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:a,vScale:s,index:o}=r,l=a.axis,u=s.axis,c=aU(a,s,r),d=t.length;let f;for(let h=0;h<d;++h){const p=t[h],{[l]:g,[u]:b}=p,v=p._stacks||(p._stacks={});f=v[u]=oU(i,c,g),f[o]=b,f._top=t6(f,s,!0,r.type),f._bottom=t6(f,s,!1,r.type);const m=f._visualValues||(f._visualValues={});m[o]=b}}function ip(e,t){const n=e.scales;return Object.keys(n).filter(r=>n[r].axis===t).shift()}function lU(e,t){return gi(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function uU(e,t,n){return gi(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Gs(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const i of t){const a=i._stacks;if(!a||a[r]===void 0||a[r][n]===void 0)return;delete a[r][n],a[r]._visualValues!==void 0&&a[r]._visualValues[n]!==void 0&&delete a[r]._visualValues[n]}}}const ap=e=>e==="reset"||e==="none",r6=(e,t)=>t?e:Object.assign({},e),cU=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:ET(n,!0),values:null};class On{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=e6(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Gs(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(d,f,h,p)=>d==="x"?f:d==="r"?p:h,a=n.xAxisID=J(r.xAxisID,ip(t,"x")),s=n.yAxisID=J(r.yAxisID,ip(t,"y")),o=n.rAxisID=J(r.rAxisID,ip(t,"r")),l=n.indexAxis,u=n.iAxisID=i(l,a,s,o),c=n.vAxisID=i(l,s,a,o);n.xScale=this.getScaleForId(a),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(o),n.iScale=this.getScaleForId(u),n.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&L5(this._data,this),t._stacked&&Gs(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(ae(n)){const i=this._cachedMeta;this._data=iU(n,i)}else if(r!==n){if(r){L5(r,this);const i=this._cachedMeta;Gs(i),i._parsed=[]}n&&Object.isExtensible(n)&&GV(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const a=n._stacked;n._stacked=e6(n.vScale,n),n.stack!==r.stack&&(i=!0,Gs(n),n.stack=r.stack),this._resyncElements(t),(i||a!==n._stacked)&&n6(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:i}=this,{iScale:a,_stacked:s}=r,o=a.axis;let l=t===0&&n===i.length?!0:r._sorted,u=t>0&&r._parsed[t-1],c,d,f;if(this._parsing===!1)r._parsed=i,r._sorted=!0,f=i;else{Be(i[t])?f=this.parseArrayData(r,i,t,n):ae(i[t])?f=this.parseObjectData(r,i,t,n):f=this.parsePrimitiveData(r,i,t,n);const h=()=>d[o]===null||u&&d[o]<u[o];for(c=0;c<n;++c)r._parsed[c+t]=d=f[c],l&&(h()&&(l=!1),u=d);r._sorted=l}s&&n6(this,f)}parsePrimitiveData(t,n,r,i){const{iScale:a,vScale:s}=t,o=a.axis,l=s.axis,u=a.getLabels(),c=a===s,d=new Array(i);let f,h,p;for(f=0,h=i;f<h;++f)p=f+r,d[f]={[o]:c||a.parse(u[p],p),[l]:s.parse(n[p],p)};return d}parseArrayData(t,n,r,i){const{xScale:a,yScale:s}=t,o=new Array(i);let l,u,c,d;for(l=0,u=i;l<u;++l)c=l+r,d=n[c],o[l]={x:a.parse(d[0],c),y:s.parse(d[1],c)};return o}parseObjectData(t,n,r,i){const{xScale:a,yScale:s}=t,{xAxisKey:o="x",yAxisKey:l="y"}=this._parsing,u=new Array(i);let c,d,f,h;for(c=0,d=i;c<d;++c)f=c+r,h=n[f],u[c]={x:a.parse(li(h,o),f),y:s.parse(li(h,l),f)};return u}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,r){const i=this.chart,a=this._cachedMeta,s=n[t.axis],o={keys:ET(i,!0),values:n._stacks[t.axis]._visualValues};return J5(o,s,a.index,{mode:r})}updateRangeFromParsed(t,n,r,i){const a=r[n.axis];let s=a===null?NaN:a;const o=i&&r._stacks[n.axis];i&&o&&(i.values=o,s=J5(i,a,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,n){const r=this._cachedMeta,i=r._parsed,a=r._sorted&&t===r.iScale,s=i.length,o=this._getOtherScale(t),l=cU(n,r,this.chart),u={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=sU(o);let f,h;function p(){h=i[f];const g=h[o.axis];return!Ve(h[t.axis])||c>g||d<g}for(f=0;f<s&&!(!p()&&(this.updateRangeFromParsed(u,t,h,l),a));++f);if(a){for(f=s-1;f>=0;--f)if(!p()){this.updateRangeFromParsed(u,t,h,l);break}}return u}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let i,a,s;for(i=0,a=n.length;i<a;++i)s=n[i][t.axis],Ve(s)&&r.push(s);return r}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,r=n.iScale,i=n.vScale,a=this.getParsed(t);return{label:r?""+r.getLabelForValue(a[r.axis]):"",value:i?""+i.getLabelForValue(a[i.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=rU(J(this.options.clip,nU(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,r=this._cachedMeta,i=r.data||[],a=n.chartArea,s=[],o=this._drawStart||0,l=this._drawCount||i.length-o,u=this.options.drawActiveElementsOnTop;let c;for(r.dataset&&r.dataset.draw(t,a,o,l),c=o;c<o+l;++c){const d=i[c];d.hidden||(d.active&&u?s.push(d):d.draw(t,a))}for(c=0;c<s.length;++c)s[c].draw(t,a)}getStyle(t,n){const r=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,n,r){const i=this.getDataset();let a;if(t>=0&&t<this._cachedMeta.data.length){const s=this._cachedMeta.data[t];a=s.$context||(s.$context=uU(this.getContext(),t,s)),a.parsed=this.getParsed(t),a.raw=i.data[t],a.index=a.dataIndex=t}else a=this.$context||(this.$context=lU(this.chart.getContext(),this.index)),a.dataset=i,a.index=a.datasetIndex=this.index;return a.active=!!n,a.mode=r,a}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",r){const i=n==="active",a=this._cachedDataOpts,s=t+"-"+n,o=a[s],l=this.enableOptionSharing&&ml(r);if(o)return r6(o,l);const u=this.chart.config,c=u.datasetElementScopeKeys(this._type,t),d=i?[`${t}Hover`,"hover",t,""]:[t,""],f=u.getOptionScopes(this.getDataset(),c),h=Object.keys(We.elements[t]),p=()=>this.getContext(r,i,n),g=u.resolveNamedOptions(f,h,p,d);return g.$shared&&(g.$shared=l,a[s]=Object.freeze(r6(g,l))),g}_resolveAnimations(t,n,r){const i=this.chart,a=this._cachedDataOpts,s=`animation-${n}`,o=a[s];if(o)return o;let l;if(i.options.animation!==!1){const c=this.chart.config,d=c.datasetAnimationScopeKeys(this._type,n),f=c.getOptionScopes(this.getDataset(),d);l=c.createResolver(f,this.getContext(t,r,n))}const u=new _T(i,l&&l.animations);return l&&l._cacheable&&(a[s]=Object.freeze(u)),u}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||ap(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),i=this._sharedOptions,a=this.getSharedOptions(r),s=this.includeOptions(n,a)||a!==i;return this.updateSharedOptions(a,n,r),{sharedOptions:a,includeOptions:s}}updateElement(t,n,r,i){ap(i)?Object.assign(t,r):this._resolveAnimations(n,i).update(t,r)}updateSharedOptions(t,n,r){t&&!ap(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,i){t.active=i;const a=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(t,{options:!i&&this.getSharedOptions(a)||a})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[o,l,u]of this._syncList)this[o](l,u);this._syncList=[];const i=r.length,a=n.length,s=Math.min(a,i);s&&this.parse(0,s),a>i?this._insertElements(i,a-i,t):a<i&&this._removeElements(a,i-a)}_insertElements(t,n,r=!0){const i=this._cachedMeta,a=i.data,s=t+n;let o;const l=u=>{for(u.length+=n,o=u.length-1;o>=s;o--)u[o]=u[o-n]};for(l(a),o=t;o<s;++o)a[o]=new this.dataElementType;this._parsing&&l(i._parsed),this.parse(t,n),r&&this.updateElements(a,t,n,"reset")}updateElements(t,n,r,i){}_removeElements(t,n){const r=this._cachedMeta;if(this._parsing){const i=r._parsed.splice(t,n);r._stacked&&Gs(r,i)}r.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,r,i]=t;this[n](r,i)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}j(On,"defaults",{}),j(On,"datasetElementType",null),j(On,"dataElementType",null);function dU(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let r=[];for(let i=0,a=n.length;i<a;i++)r=r.concat(n[i].controller.getAllParsedValues(e));e._cache.$bar=aT(r.sort((i,a)=>i-a))}return e._cache.$bar}function fU(e){const t=e.iScale,n=dU(t,e.type);let r=t._length,i,a,s,o;const l=()=>{s===32767||s===-32768||(ml(o)&&(r=Math.min(r,Math.abs(s-o)||r)),o=s)};for(i=0,a=n.length;i<a;++i)s=t.getPixelForValue(n[i]),l();for(o=void 0,i=0,a=t.ticks.length;i<a;++i)s=t.getPixelForTick(i),l();return r}function hU(e,t,n,r){const i=n.barThickness;let a,s;return ce(i)?(a=t.min*n.categoryPercentage,s=n.barPercentage):(a=i*r,s=1),{chunk:a/r,ratio:s,start:t.pixels[e]-a/2}}function pU(e,t,n,r){const i=t.pixels,a=i[e];let s=e>0?i[e-1]:null,o=e<i.length-1?i[e+1]:null;const l=n.categoryPercentage;s===null&&(s=a-(o===null?t.end-t.start:o-a)),o===null&&(o=a+a-s);const u=a-(a-Math.min(s,o))/2*l;return{chunk:Math.abs(o-s)/2*l/r,ratio:n.barPercentage,start:u}}function mU(e,t,n,r){const i=n.parse(e[0],r),a=n.parse(e[1],r),s=Math.min(i,a),o=Math.max(i,a);let l=s,u=o;Math.abs(s)>Math.abs(o)&&(l=o,u=s),t[n.axis]=u,t._custom={barStart:l,barEnd:u,start:i,end:a,min:s,max:o}}function ST(e,t,n,r){return Be(e)?mU(e,t,n,r):t[n.axis]=n.parse(e,r),t}function i6(e,t,n,r){const i=e.iScale,a=e.vScale,s=i.getLabels(),o=i===a,l=[];let u,c,d,f;for(u=n,c=n+r;u<c;++u)f=t[u],d={},d[i.axis]=o||i.parse(s[u],u),l.push(ST(f,d,a,u));return l}function sp(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function gU(e,t,n){return e!==0?qn(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function vU(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(i="end",a="start"):(i="start",a="end"),{start:n,end:r,reverse:t,top:i,bottom:a}}function bU(e,t,n,r){let i=t.borderSkipped;const a={};if(!i){e.borderSkipped=a;return}if(i===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:o,reverse:l,top:u,bottom:c}=vU(e);i==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?i=u:(n._bottom||0)===r?i=c:(a[a6(c,s,o,l)]=!0,i=u)),a[a6(i,s,o,l)]=!0,e.borderSkipped=a}function a6(e,t,n,r){return r?(e=yU(e,t,n),e=s6(e,n,t)):e=s6(e,t,n),e}function yU(e,t,n){return e===t?n:e===n?t:e}function s6(e,t,n){return e==="start"?t:e==="end"?n:e}function $U(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class rc extends On{parsePrimitiveData(t,n,r,i){return i6(t,n,r,i)}parseArrayData(t,n,r,i){return i6(t,n,r,i)}parseObjectData(t,n,r,i){const{iScale:a,vScale:s}=t,{xAxisKey:o="x",yAxisKey:l="y"}=this._parsing,u=a.axis==="x"?o:l,c=s.axis==="x"?o:l,d=[];let f,h,p,g;for(f=r,h=r+i;f<h;++f)g=n[f],p={},p[a.axis]=a.parse(li(g,u),f),d.push(ST(li(g,c),p,s,f));return d}updateRangeFromParsed(t,n,r,i){super.updateRangeFromParsed(t,n,r,i);const a=r._custom;a&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,a.min),t.max=Math.max(t.max,a.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:r,vScale:i}=n,a=this.getParsed(t),s=a._custom,o=sp(s)?"["+s.start+", "+s.end+"]":""+i.getLabelForValue(a[i.axis]);return{label:""+r.getLabelForValue(a[r.axis]),value:o}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,r,i){const a=i==="reset",{index:s,_cachedMeta:{vScale:o}}=this,l=o.getBasePixel(),u=o.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:f}=this._getSharedOptions(n,i);for(let h=n;h<n+r;h++){const p=this.getParsed(h),g=a||ce(p[o.axis])?{base:l,head:l}:this._calculateBarValuePixels(h),b=this._calculateBarIndexPixels(h,c),v=(p._stacks||{})[o.axis],m={horizontal:u,base:g.base,enableBorderRadius:!v||sp(p._custom)||s===v._top||s===v._bottom,x:u?g.head:b.center,y:u?b.center:g.head,height:u?b.size:Math.abs(g.size),width:u?Math.abs(g.size):b.size};f&&(m.options=d||this.resolveDataElementOptions(h,t[h].active?"active":i));const $=m.options||t[h].options;bU(m,$,v,s),$U(m,$,c.ratio),this.updateElement(t[h],h,m,i)}}_getStacks(t,n){const{iScale:r}=this._cachedMeta,i=r.getMatchingVisibleMetas(this._type).filter(l=>l.controller.options.grouped),a=r.options.stacked,s=[],o=l=>{const u=l.controller.getParsed(n),c=u&&u[l.vScale.axis];if(ce(c)||isNaN(c))return!0};for(const l of i)if(!(n!==void 0&&o(l))&&((a===!1||s.indexOf(l.stack)===-1||a===void 0&&l.stack===void 0)&&s.push(l.stack),l.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,r){const i=this._getStacks(t,r),a=n!==void 0?i.indexOf(n):-1;return a===-1?i.length-1:a}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,i=[];let a,s;for(a=0,s=n.data.length;a<s;++a)i.push(r.getPixelForValue(this.getParsed(a)[r.axis],a));const o=t.barThickness;return{min:o||fU(n),pixels:i,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:o?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:r,index:i},options:{base:a,minBarLength:s}}=this,o=a||0,l=this.getParsed(t),u=l._custom,c=sp(u);let d=l[n.axis],f=0,h=r?this.applyStack(n,l,r):d,p,g;h!==d&&(f=h-d,h=d),c&&(d=u.barStart,h=u.barEnd-u.barStart,d!==0&&qn(d)!==qn(u.barEnd)&&(f=0),f+=d);const b=!ce(a)&&!c?a:f;let v=n.getPixelForValue(b);if(this.chart.getDataVisibility(t)?p=n.getPixelForValue(f+h):p=v,g=p-v,Math.abs(g)<s){g=gU(g,n,o)*s,d===o&&(v-=g/2);const m=n.getPixelForDecimal(0),$=n.getPixelForDecimal(1),w=Math.min(m,$),D=Math.max(m,$);v=Math.max(Math.min(v,D),w),p=v+g,r&&!c&&(l._stacks[n.axis]._visualValues[i]=n.getValueForPixel(p)-n.getValueForPixel(v))}if(v===n.getPixelForValue(o)){const m=qn(g)*n.getLineWidthForValue(o)/2;v+=m,g-=m}return{size:g,base:v,head:p,center:p+g/2}}_calculateBarIndexPixels(t,n){const r=n.scale,i=this.options,a=i.skipNull,s=J(i.maxBarThickness,1/0);let o,l;if(n.grouped){const u=a?this._getStackCount(t):n.stackCount,c=i.barThickness==="flex"?pU(t,n,i,u):hU(t,n,i,u),d=this._getStackIndex(this.index,this._cachedMeta.stack,a?t:void 0);o=c.start+c.chunk*d+c.chunk/2,l=Math.min(s,c.chunk*c.ratio)}else o=r.getPixelForValue(this.getParsed(t)[r.axis],t),l=Math.min(s,n.min*n.ratio);return{base:o-l/2,head:o+l/2,center:o,size:l}}draw(){const t=this._cachedMeta,n=t.vScale,r=t.data,i=r.length;let a=0;for(;a<i;++a)this.getParsed(a)[n.axis]!==null&&!r[a].hidden&&r[a].draw(this._ctx)}}j(rc,"id","bar"),j(rc,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),j(rc,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class ic extends On{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,n,r,i){const a=super.parsePrimitiveData(t,n,r,i);for(let s=0;s<a.length;s++)a[s]._custom=this.resolveDataElementOptions(s+r).radius;return a}parseArrayData(t,n,r,i){const a=super.parseArrayData(t,n,r,i);for(let s=0;s<a.length;s++){const o=n[r+s];a[s]._custom=J(o[2],this.resolveDataElementOptions(s+r).radius)}return a}parseObjectData(t,n,r,i){const a=super.parseObjectData(t,n,r,i);for(let s=0;s<a.length;s++){const o=n[r+s];a[s]._custom=J(o&&o.r&&+o.r,this.resolveDataElementOptions(s+r).radius)}return a}getMaxOverflow(){const t=this._cachedMeta.data;let n=0;for(let r=t.length-1;r>=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:i,yScale:a}=n,s=this.getParsed(t),o=i.getLabelForValue(s.x),l=a.getLabelForValue(s.y),u=s._custom;return{label:r[t]||"",value:"("+o+", "+l+(u?", "+u:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,r,i){const a=i==="reset",{iScale:s,vScale:o}=this._cachedMeta,{sharedOptions:l,includeOptions:u}=this._getSharedOptions(n,i),c=s.axis,d=o.axis;for(let f=n;f<n+r;f++){const h=t[f],p=!a&&this.getParsed(f),g={},b=g[c]=a?s.getPixelForDecimal(.5):s.getPixelForValue(p[c]),v=g[d]=a?o.getBasePixel():o.getPixelForValue(p[d]);g.skip=isNaN(b)||isNaN(v),u&&(g.options=l||this.resolveDataElementOptions(f,h.active?"active":i),a&&(g.options.radius=0)),this.updateElement(h,f,g,i)}}resolveDataElementOptions(t,n){const r=this.getParsed(t);let i=super.resolveDataElementOptions(t,n);i.$shared&&(i=Object.assign({},i,{$shared:!1}));const a=i.radius;return n!=="active"&&(i.radius=0),i.radius+=J(r&&r._custom,a),i}}j(ic,"id","bubble"),j(ic,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),j(ic,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});function xU(e,t,n){let r=1,i=1,a=0,s=0;if(t<Te){const o=e,l=o+t,u=Math.cos(o),c=Math.sin(o),d=Math.cos(l),f=Math.sin(l),h=($,w,D)=>gl($,o,l,!0)?1:Math.max(w,w*n,D,D*n),p=($,w,D)=>gl($,o,l,!0)?-1:Math.min(w,w*n,D,D*n),g=h(0,u,d),b=h(qe,c,f),v=p(Me,u,d),m=p(Me+qe,c,f);r=(g-v)/2,i=(b-m)/2,a=-(g+v)/2,s=-(b+m)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:s}}class Vi extends On{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let a=l=>+r[l];if(ae(r[t])){const{key:l="value"}=this._parsing;a=u=>+li(r[u],l)}let s,o;for(s=t,o=t+n;s<o;++s)i._parsed[s]=a(s)}}_getRotation(){return Mn(this.options.rotation-90)}_getCircumference(){return Mn(this.options.circumference)}_getRotationExtents(){let t=Te,n=-Te;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const i=this.chart.getDatasetMeta(r).controller,a=i._getRotation(),s=i._getCircumference();t=Math.min(t,a),n=Math.max(n,a+s)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:r}=n,i=this._cachedMeta,a=i.data,s=this.getMaxBorderWidth()+this.getMaxOffset(a)+this.options.spacing,o=Math.max((Math.min(r.width,r.height)-s)/2,0),l=Math.min(OV(this.options.cutout,o),1),u=this._getRingWeight(this.index),{circumference:c,rotation:d}=this._getRotationExtents(),{ratioX:f,ratioY:h,offsetX:p,offsetY:g}=xU(d,c,l),b=(r.width-s)/f,v=(r.height-s)/h,m=Math.max(Math.min(b,v)/2,0),$=eT(this.options.radius,m),w=Math.max($*l,0),D=($-w)/this._getVisibleDatasetWeightTotal();this.offsetX=p*$,this.offsetY=g*$,i.total=this.calculateTotal(),this.outerRadius=$-D*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-D*u,0),this.updateElements(a,0,a.length,t)}_circumference(t,n){const r=this.options,i=this._cachedMeta,a=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||i._parsed[t]===null||i.data[t].hidden?0:this.calculateCircumference(i._parsed[t]*a/Te)}updateElements(t,n,r,i){const a=i==="reset",s=this.chart,o=s.chartArea,u=s.options.animation,c=(o.left+o.right)/2,d=(o.top+o.bottom)/2,f=a&&u.animateScale,h=f?0:this.innerRadius,p=f?0:this.outerRadius,{sharedOptions:g,includeOptions:b}=this._getSharedOptions(n,i);let v=this._getRotation(),m;for(m=0;m<n;++m)v+=this._circumference(m,a);for(m=n;m<n+r;++m){const $=this._circumference(m,a),w=t[m],D={x:c+this.offsetX,y:d+this.offsetY,startAngle:v,endAngle:v+$,circumference:$,outerRadius:p,innerRadius:h};b&&(D.options=g||this.resolveDataElementOptions(m,w.active?"active":i)),v+=$,this.updateElement(w,m,D,i)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let r=0,i;for(i=0;i<n.length;i++){const a=t._parsed[i];a!==null&&!isNaN(a)&&this.chart.getDataVisibility(i)&&!n[i].hidden&&(r+=Math.abs(a))}return r}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?Te*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],a=Ll(n._parsed[t],r.options.locale);return{label:i[t]||"",value:a}}getMaxBorderWidth(t){let n=0;const r=this.chart;let i,a,s,o,l;if(!t){for(i=0,a=r.data.datasets.length;i<a;++i)if(r.isDatasetVisible(i)){s=r.getDatasetMeta(i),t=s.data,o=s.controller;break}}if(!t)return 0;for(i=0,a=t.length;i<a;++i)l=o.resolveDataElementOptions(i),l.borderAlign!=="inner"&&(n=Math.max(n,l.borderWidth||0,l.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let r=0,i=t.length;r<i;++r){const a=this.resolveDataElementOptions(r);n=Math.max(n,a.offset||0,a.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(t){return Math.max(J(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}j(Vi,"id","doughnut"),j(Vi,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),j(Vi,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),j(Vi,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:i}}=t.legend.options;return n.labels.map((a,s)=>{const l=t.getDatasetMeta(0).controller.getStyle(s);return{text:a,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}});class Io extends On{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:i=[],_dataset:a}=n,s=this.chart._animationsDisabled;let{start:o,count:l}=lT(n,i,s);this._drawStart=o,this._drawCount=l,uT(n)&&(o=0,l=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!a._decimated,r.points=i;const u=this.resolveDatasetElementOptions(t);this.options.showLine||(u.borderWidth=0),u.segment=this.options.segment,this.updateElement(r,void 0,{animated:!s,options:u},t),this.updateElements(i,o,l,t)}updateElements(t,n,r,i){const a=i==="reset",{iScale:s,vScale:o,_stacked:l,_dataset:u}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(n,i),f=s.axis,h=o.axis,{spanGaps:p,segment:g}=this.options,b=xs(p)?p:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||a||i==="none",m=n+r,$=t.length;let w=n>0&&this.getParsed(n-1);for(let D=0;D<$;++D){const S=t[D],k=v?S:{};if(D<n||D>=m){k.skip=!0;continue}const x=this.getParsed(D),T=ce(x[h]),P=k[f]=s.getPixelForValue(x[f],D),E=k[h]=a||T?o.getBasePixel():o.getPixelForValue(l?this.applyStack(o,x,l):x[h],D);k.skip=isNaN(P)||isNaN(E)||T,k.stop=D>0&&Math.abs(x[f]-w[f])>b,g&&(k.parsed=x,k.raw=u.data[D]),d&&(k.options=c||this.resolveDataElementOptions(D,S.active?"active":i)),v||this.updateElement(S,D,k,i),w=x}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return r;const a=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,a,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}j(Io,"id","line"),j(Io,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),j(Io,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class ls extends On{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],a=Ll(n._parsed[t].r,r.options.locale);return{label:i[t]||"",value:a}}parseObjectData(t,n,r,i){return vT.bind(this)(t,n,r,i)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((r,i)=>{const a=this.getParsed(i).r;!isNaN(a)&&this.chart.getDataVisibility(i)&&(a<n.min&&(n.min=a),a>n.max&&(n.max=a))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,r=t.options,i=Math.min(n.right-n.left,n.bottom-n.top),a=Math.max(i/2,0),s=Math.max(r.cutoutPercentage?a/100*r.cutoutPercentage:1,0),o=(a-s)/t.getVisibleDatasetCount();this.outerRadius=a-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,n,r,i){const a=i==="reset",s=this.chart,l=s.options.animation,u=this._cachedMeta.rScale,c=u.xCenter,d=u.yCenter,f=u.getIndexAngle(0)-.5*Me;let h=f,p;const g=360/this.countVisibleElements();for(p=0;p<n;++p)h+=this._computeAngle(p,i,g);for(p=n;p<n+r;p++){const b=t[p];let v=h,m=h+this._computeAngle(p,i,g),$=s.getDataVisibility(p)?u.getDistanceFromCenterForValue(this.getParsed(p).r):0;h=m,a&&(l.animateScale&&($=0),l.animateRotate&&(v=m=f));const w={x:c,y:d,innerRadius:0,outerRadius:$,startAngle:v,endAngle:m,options:this.resolveDataElementOptions(p,b.active?"active":i)};this.updateElement(b,p,w,i)}}countVisibleElements(){const t=this._cachedMeta;let n=0;return t.data.forEach((r,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(t,n,r){return this.chart.getDataVisibility(t)?Mn(this.resolveDataElementOptions(t,n).angle||r):0}}j(ls,"id","polarArea"),j(ls,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),j(ls,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:i}}=t.legend.options;return n.labels.map((a,s)=>{const l=t.getDatasetMeta(0).controller.getStyle(s);return{text:a,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class j3 extends Vi{}j(j3,"id","pie"),j(j3,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class ac extends On{getLabelAndValue(t){const n=this._cachedMeta.vScale,r=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(r[n.axis])}}parseObjectData(t,n,r,i){return vT.bind(this)(t,n,r,i)}update(t){const n=this._cachedMeta,r=n.dataset,i=n.data||[],a=n.iScale.getLabels();if(r.points=i,t!=="resize"){const s=this.resolveDatasetElementOptions(t);this.options.showLine||(s.borderWidth=0);const o={_loop:!0,_fullLoop:a.length===i.length,options:s};this.updateElement(r,void 0,o,t)}this.updateElements(i,0,i.length,t)}updateElements(t,n,r,i){const a=this._cachedMeta.rScale,s=i==="reset";for(let o=n;o<n+r;o++){const l=t[o],u=this.resolveDataElementOptions(o,l.active?"active":i),c=a.getPointPositionForValue(o,this.getParsed(o).r),d=s?a.xCenter:c.x,f=s?a.yCenter:c.y,h={x:d,y:f,angle:c.angle,skip:isNaN(d)||isNaN(f),options:u};this.updateElement(l,o,h,i)}}}j(ac,"id","radar"),j(ac,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),j(ac,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});class sc extends On{getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:i,yScale:a}=n,s=this.getParsed(t),o=i.getLabelForValue(s.x),l=a.getLabelForValue(s.y);return{label:r[t]||"",value:"("+o+", "+l+")"}}update(t){const n=this._cachedMeta,{data:r=[]}=n,i=this.chart._animationsDisabled;let{start:a,count:s}=lT(n,r,i);if(this._drawStart=a,this._drawCount=s,uT(n)&&(a=0,s=r.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:o,_dataset:l}=n;o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!l._decimated,o.points=r;const u=this.resolveDatasetElementOptions(t);u.segment=this.options.segment,this.updateElement(o,void 0,{animated:!i,options:u},t)}else this.datasetElementType&&(delete n.dataset,this.datasetElementType=!1);this.updateElements(r,a,s,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,n,r,i){const a=i==="reset",{iScale:s,vScale:o,_stacked:l,_dataset:u}=this._cachedMeta,c=this.resolveDataElementOptions(n,i),d=this.getSharedOptions(c),f=this.includeOptions(i,d),h=s.axis,p=o.axis,{spanGaps:g,segment:b}=this.options,v=xs(g)?g:Number.POSITIVE_INFINITY,m=this.chart._animationsDisabled||a||i==="none";let $=n>0&&this.getParsed(n-1);for(let w=n;w<n+r;++w){const D=t[w],S=this.getParsed(w),k=m?D:{},x=ce(S[p]),T=k[h]=s.getPixelForValue(S[h],w),P=k[p]=a||x?o.getBasePixel():o.getPixelForValue(l?this.applyStack(o,S,l):S[p],w);k.skip=isNaN(T)||isNaN(P)||x,k.stop=w>0&&Math.abs(S[h]-$[h])>v,b&&(k.parsed=S,k.raw=u.data[w]),f&&(k.options=d||this.resolveDataElementOptions(w,D.active?"active":i)),m||this.updateElement(D,w,k,i),$=S}this.updateSharedOptions(d,i,c)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let o=0;for(let l=n.length-1;l>=0;--l)o=Math.max(o,n[l].size(this.resolveDataElementOptions(l))/2);return o>0&&o}const r=t.dataset,i=r.options&&r.options.borderWidth||0;if(!n.length)return i;const a=n[0].size(this.resolveDataElementOptions(0)),s=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,a,s)/2}}j(sc,"id","scatter"),j(sc,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),j(sc,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var wU=Object.freeze({__proto__:null,BarController:rc,BubbleController:ic,DoughnutController:Vi,LineController:Io,PieController:j3,PolarAreaController:ls,RadarController:ac,ScatterController:sc});function Di(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class B${constructor(t){j(this,"options");this.options=t||{}}static override(t){Object.assign(B$.prototype,t)}init(){}formats(){return Di()}parse(){return Di()}format(){return Di()}add(){return Di()}diff(){return Di()}startOf(){return Di()}endOf(){return Di()}}var DU={_date:B$};function _U(e,t,n,r){const{controller:i,data:a,_sorted:s}=e,o=i._cachedMeta.iScale;if(o&&t===o.axis&&t!=="r"&&s&&a.length){const l=o._reversePixels?YV:pr;if(r){if(i._sharedOptions){const u=a[0],c=typeof u.getRange=="function"&&u.getRange(t);if(c){const d=l(a,t,n-c),f=l(a,t,n+c);return{lo:d.lo,hi:f.hi}}}}else return l(a,t,n)}return{lo:0,hi:a.length-1}}function Nl(e,t,n,r,i){const a=e.getSortedVisibleDatasetMetas(),s=n[t];for(let o=0,l=a.length;o<l;++o){const{index:u,data:c}=a[o],{lo:d,hi:f}=_U(a[o],t,s,i);for(let h=d;h<=f;++h){const p=c[h];p.skip||r(p,u,h)}}}function EU(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(r,i){const a=t?Math.abs(r.x-i.x):0,s=n?Math.abs(r.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(s,2))}}function op(e,t,n,r,i){const a=[];return!i&&!e.isPointInArea(t)||Nl(e,n,t,function(o,l,u){!i&&!mr(o,e.chartArea,0)||o.inRange(t.x,t.y,r)&&a.push({element:o,datasetIndex:l,index:u})},!0),a}function SU(e,t,n,r){let i=[];function a(s,o,l){const{startAngle:u,endAngle:c}=s.getProps(["startAngle","endAngle"],r),{angle:d}=rT(s,{x:t.x,y:t.y});gl(d,u,c)&&i.push({element:s,datasetIndex:o,index:l})}return Nl(e,n,t,a),i}function CU(e,t,n,r,i,a){let s=[];const o=EU(n);let l=Number.POSITIVE_INFINITY;function u(c,d,f){const h=c.inRange(t.x,t.y,i);if(r&&!h)return;const p=c.getCenterPoint(i);if(!(!!a||e.isPointInArea(p))&&!h)return;const b=o(t,p);b<l?(s=[{element:c,datasetIndex:d,index:f}],l=b):b===l&&s.push({element:c,datasetIndex:d,index:f})}return Nl(e,n,t,u),s}function lp(e,t,n,r,i,a){return!a&&!e.isPointInArea(t)?[]:n==="r"&&!r?SU(e,t,n,i):CU(e,t,n,r,i,a)}function o6(e,t,n,r,i){const a=[],s=n==="x"?"inXRange":"inYRange";let o=!1;return Nl(e,n,t,(l,u,c)=>{l[s](t[n],i)&&(a.push({element:l,datasetIndex:u,index:c}),o=o||l.inRange(t.x,t.y,i))}),r&&!o?[]:a}var kU={evaluateInteractionItems:Nl,modes:{index(e,t,n,r){const i=Ti(t,e),a=n.axis||"x",s=n.includeInvisible||!1,o=n.intersect?op(e,i,a,r,s):lp(e,i,a,!1,r,s),l=[];return o.length?(e.getSortedVisibleDatasetMetas().forEach(u=>{const c=o[0].index,d=u.data[c];d&&!d.skip&&l.push({element:d,datasetIndex:u.index,index:c})}),l):[]},dataset(e,t,n,r){const i=Ti(t,e),a=n.axis||"xy",s=n.includeInvisible||!1;let o=n.intersect?op(e,i,a,r,s):lp(e,i,a,!1,r,s);if(o.length>0){const l=o[0].datasetIndex,u=e.getDatasetMeta(l).data;o=[];for(let c=0;c<u.length;++c)o.push({element:u[c],datasetIndex:l,index:c})}return o},point(e,t,n,r){const i=Ti(t,e),a=n.axis||"xy",s=n.includeInvisible||!1;return op(e,i,a,r,s)},nearest(e,t,n,r){const i=Ti(t,e),a=n.axis||"xy",s=n.includeInvisible||!1;return lp(e,i,a,n.intersect,r,s)},x(e,t,n,r){const i=Ti(t,e);return o6(e,i,"x",n.intersect,r)},y(e,t,n,r){const i=Ti(t,e);return o6(e,i,"y",n.intersect,r)}}};const CT=["left","top","right","bottom"];function Zs(e,t){return e.filter(n=>n.pos===t)}function l6(e,t){return e.filter(n=>CT.indexOf(n.pos)===-1&&n.box.axis===t)}function Xs(e,t){return e.sort((n,r)=>{const i=t?r:n,a=t?n:r;return i.weight===a.weight?i.index-a.index:i.weight-a.weight})}function PU(e){const t=[];let n,r,i,a,s,o;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],{position:a,options:{stack:s,stackWeight:o=1}}=i,t.push({index:n,box:i,pos:a,horizontal:i.isHorizontal(),weight:i.weight,stack:s&&a+s,stackWeight:o});return t}function TU(e){const t={};for(const n of e){const{stack:r,pos:i,stackWeight:a}=n;if(!r||!CT.includes(i))continue;const s=t[r]||(t[r]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=a}return t}function RU(e,t){const n=TU(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t;let a,s,o;for(a=0,s=e.length;a<s;++a){o=e[a];const{fullSize:l}=o.box,u=n[o.stack],c=u&&o.stackWeight/u.weight;o.horizontal?(o.width=c?c*r:l&&t.availableWidth,o.height=i):(o.width=r,o.height=c?c*i:l&&t.availableHeight)}return n}function MU(e){const t=PU(e),n=Xs(t.filter(u=>u.box.fullSize),!0),r=Xs(Zs(t,"left"),!0),i=Xs(Zs(t,"right")),a=Xs(Zs(t,"top"),!0),s=Xs(Zs(t,"bottom")),o=l6(t,"x"),l=l6(t,"y");return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(l).concat(s).concat(o),chartArea:Zs(t,"chartArea"),vertical:r.concat(i).concat(l),horizontal:a.concat(s).concat(o)}}function u6(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function kT(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function AU(e,t,n,r){const{pos:i,box:a}=n,s=e.maxPadding;if(!ae(i)){n.size&&(e[i]-=n.size);const d=r[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?a.height:a.width),n.size=d.size/d.count,e[i]+=n.size}a.getPadding&&kT(s,a.getPadding());const o=Math.max(0,t.outerWidth-u6(s,e,"left","right")),l=Math.max(0,t.outerHeight-u6(s,e,"top","bottom")),u=o!==e.w,c=l!==e.h;return e.w=o,e.h=l,n.horizontal?{same:u,other:c}:{same:c,other:u}}function FU(e){const t=e.maxPadding;function n(r){const i=Math.max(t[r]-e[r],0);return e[r]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function OU(e,t){const n=t.maxPadding;function r(i){const a={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{a[s]=Math.max(t[s],n[s])}),a}return r(e?["left","right"]:["top","bottom"])}function mo(e,t,n,r){const i=[];let a,s,o,l,u,c;for(a=0,s=e.length,u=0;a<s;++a){o=e[a],l=o.box,l.update(o.width||t.w,o.height||t.h,OU(o.horizontal,t));const{same:d,other:f}=AU(t,n,o,r);u|=d&&i.length,c=c||f,l.fullSize||i.push(o)}return u&&mo(i,t,n,r)||c}function Pu(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function c6(e,t,n,r){const i=n.padding;let{x:a,y:s}=t;for(const o of e){const l=o.box,u=r[o.stack]||{count:1,placed:0,weight:1},c=o.stackWeight/u.weight||1;if(o.horizontal){const d=t.w*c,f=u.size||l.height;ml(u.start)&&(s=u.start),l.fullSize?Pu(l,i.left,s,n.outerWidth-i.right-i.left,f):Pu(l,t.left+u.placed,s,d,f),u.start=s,u.placed+=d,s=l.bottom}else{const d=t.h*c,f=u.size||l.width;ml(u.start)&&(a=u.start),l.fullSize?Pu(l,a,i.top,f,n.outerHeight-i.bottom-i.top):Pu(l,a,t.top+u.placed,f,d),u.start=a,u.placed+=d,a=l.right}}t.x=a,t.y=s}var Ct={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;const i=Pt(e.options.layout.padding),a=Math.max(t-i.width,0),s=Math.max(n-i.height,0),o=MU(e.boxes),l=o.vertical,u=o.horizontal;me(e.boxes,g=>{typeof g.beforeLayout=="function"&&g.beforeLayout()});const c=l.reduce((g,b)=>b.box.options&&b.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/c,hBoxMaxHeight:s/2}),f=Object.assign({},i);kT(f,Pt(r));const h=Object.assign({maxPadding:f,w:a,h:s,x:i.left,y:i.top},i),p=RU(l.concat(u),d);mo(o.fullSize,h,d,p),mo(l,h,d,p),mo(u,h,d,p)&&mo(l,h,d,p),FU(h),c6(o.leftAndTop,h,d,p),h.x+=h.w,h.y+=h.h,c6(o.rightAndBottom,h,d,p),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},me(o.chartArea,g=>{const b=g.box;Object.assign(b,e.chartArea),b.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class PT{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,i){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(t){return!0}updateConfig(t){}}class BU extends PT{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const oc="$chartjs",IU={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},d6=e=>e===null||e==="";function LU(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[oc]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",d6(i)){const a=Y5(e,"width");a!==void 0&&(e.width=a)}if(d6(r))if(e.style.height==="")e.height=e.width/(t||2);else{const a=Y5(e,"height");a!==void 0&&(e.height=a)}return e}const TT=jW?{passive:!0}:!1;function NU(e,t,n){e&&e.addEventListener(t,n,TT)}function jU(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,TT)}function zU(e,t){const n=IU[e.type]||e.type,{x:r,y:i}=Ti(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:i!==void 0?i:null}}function Wd(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function VU(e,t,n){const r=e.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||Wd(o.addedNodes,r),s=s&&!Wd(o.removedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function WU(e,t,n){const r=e.canvas,i=new MutationObserver(a=>{let s=!1;for(const o of a)s=s||Wd(o.removedNodes,r),s=s&&!Wd(o.addedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const bl=new Map;let f6=0;function RT(){const e=window.devicePixelRatio;e!==f6&&(f6=e,bl.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function UU(e,t){bl.size||window.addEventListener("resize",RT),bl.set(e,t)}function HU(e){bl.delete(e),bl.size||window.removeEventListener("resize",RT)}function KU(e,t,n){const r=e.canvas,i=r&&O$(r);if(!i)return;const a=oT((o,l)=>{const u=i.clientWidth;n(o,l),u<i.clientWidth&&n()},window),s=new ResizeObserver(o=>{const l=o[0],u=l.contentRect.width,c=l.contentRect.height;u===0&&c===0||a(u,c)});return s.observe(i),UU(e,a),s}function up(e,t,n){n&&n.disconnect(),t==="resize"&&HU(e)}function YU(e,t,n){const r=e.canvas,i=oT(a=>{e.ctx!==null&&n(zU(a,e))},e);return NU(r,t,i),i}class qU extends PT{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(LU(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[oc])return!1;const r=n[oc].initial;["height","width"].forEach(a=>{const s=r[a];ce(s)?n.removeAttribute(a):n.setAttribute(a,s)});const i=r.style||{};return Object.keys(i).forEach(a=>{n.style[a]=i[a]}),n.width=n.width,delete n[oc],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),s={attach:VU,detach:WU,resize:KU}[n]||YU;i[n]=s(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),i=r[n];if(!i)return;({attach:up,detach:up,resize:up}[n]||jU)(t,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,i){return NW(t,n,r,i)}isAttached(t){const n=t&&O$(t);return!!(n&&n.isConnected)}}function GU(e){return!F$()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?BU:qU}var Nu;let Er=(Nu=class{constructor(){j(this,"x");j(this,"y");j(this,"active",!1);j(this,"options");j(this,"$animations")}tooltipPosition(t){const{x:n,y:r}=this.getProps(["x","y"],t);return{x:n,y:r}}hasValue(){return xs(this.x)&&xs(this.y)}getProps(t,n){const r=this.$animations;if(!n||!r)return this;const i={};return t.forEach(a=>{i[a]=r[a]&&r[a].active()?r[a]._to:this[a]}),i}},j(Nu,"defaults",{}),j(Nu,"defaultRoutes"),Nu);function ZU(e,t){const n=e.options.ticks,r=XU(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?JU(t):[],s=a.length,o=a[0],l=a[s-1],u=[];if(s>i)return eH(t,u,a,s/i),u;const c=QU(a,t,i);if(s>0){let d,f;const h=s>1?Math.round((l-o)/(s-1)):null;for(Tu(t,u,c,ce(h)?0:o-h,o),d=0,f=s-1;d<f;d++)Tu(t,u,c,a[d],a[d+1]);return Tu(t,u,c,l,ce(h)?t.length:l+h),u}return Tu(t,u,c),u}function XU(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),i=e._maxLength/n;return Math.floor(Math.min(r,i))}function QU(e,t,n){const r=tH(e),i=t.length/n;if(!r)return Math.max(i,1);const a=WV(r);for(let s=0,o=a.length-1;s<o;s++){const l=a[s];if(l>i)return l}return Math.max(i,1)}function JU(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}function eH(e,t,n,r){let i=0,a=n[0],s;for(r=Math.ceil(r),s=0;s<e.length;s++)s===a&&(t.push(e[s]),i++,a=n[i*r])}function Tu(e,t,n,r,i){const a=J(r,0),s=Math.min(J(i,e.length),e.length);let o=0,l,u,c;for(n=Math.ceil(n),i&&(l=i-r,n=l/Math.floor(l/n)),c=a;c<0;)o++,c=Math.round(a+o*n);for(u=Math.max(a,0);u<s;u++)u===c&&(t.push(e[u]),o++,c=Math.round(a+o*n))}function tH(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}const nH=e=>e==="left"?"right":e==="right"?"left":e,h6=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,p6=(e,t)=>Math.min(t||e,e);function m6(e,t){const n=[],r=e.length/t,i=e.length;let a=0;for(;a<i;a+=r)n.push(e[Math.floor(a)]);return n}function rH(e,t,n){const r=e.ticks.length,i=Math.min(t,r-1),a=e._startPixel,s=e._endPixel,o=1e-6;let l=e.getPixelForTick(i),u;if(!(n&&(r===1?u=Math.max(l-a,s-l):t===0?u=(e.getPixelForTick(1)-l)/2:u=(l-e.getPixelForTick(i-1))/2,l+=i<t?u:-u,l<a-o||l>s+o)))return l}function iH(e,t){me(e,n=>{const r=n.gc,i=r.length/2;let a;if(i>t){for(a=0;a<i;++a)delete n.data[r[a]];r.splice(0,i)}})}function Qs(e){return e.drawTicks?e.tickLength:0}function g6(e,t){if(!e.display)return 0;const n=it(e.font,t),r=Pt(e.padding);return(Be(e.text)?e.text.length:1)*n.lineHeight+r.height}function aH(e,t){return gi(e,{scale:t,type:"scale"})}function sH(e,t,n){return gi(e,{tick:n,index:t,type:"tick"})}function oH(e,t,n){let r=k$(e);return(n&&t!=="right"||!n&&t==="right")&&(r=nH(r)),r}function lH(e,t,n,r){const{top:i,left:a,bottom:s,right:o,chart:l}=e,{chartArea:u,scales:c}=l;let d=0,f,h,p;const g=s-i,b=o-a;if(e.isHorizontal()){if(h=Dt(r,a,o),ae(n)){const v=Object.keys(n)[0],m=n[v];p=c[v].getPixelForValue(m)+g-t}else n==="center"?p=(u.bottom+u.top)/2+g-t:p=h6(e,n,t);f=o-a}else{if(ae(n)){const v=Object.keys(n)[0],m=n[v];h=c[v].getPixelForValue(m)-b+t}else n==="center"?h=(u.left+u.right)/2-b+t:h=h6(e,n,t);p=Dt(r,s,i),d=n==="left"?-qe:qe}return{titleX:h,titleY:p,maxWidth:f,rotation:d}}class ga extends Er{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:r,_suggestedMax:i}=this;return t=en(t,Number.POSITIVE_INFINITY),n=en(n,Number.NEGATIVE_INFINITY),r=en(r,Number.POSITIVE_INFINITY),i=en(i,Number.NEGATIVE_INFINITY),{min:en(t,r),max:en(n,i),minDefined:Ve(t),maxDefined:Ve(n)}}getMinMax(t){let{min:n,max:r,minDefined:i,maxDefined:a}=this.getUserBounds(),s;if(i&&a)return{min:n,max:r};const o=this.getMatchingVisibleMetas();for(let l=0,u=o.length;l<u;++l)s=o[l].controller.getMinMax(this,t),i||(n=Math.min(n,s.min)),a||(r=Math.max(r,s.max));return n=a&&n>r?r:n,r=i&&n>r?n:r,{min:en(n,en(r,n)),max:en(r,en(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){De(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:i,grace:a,ticks:s}=this.options,o=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=vW(this,a,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=o<this.ticks.length;this._convertTicksToLabels(l?m6(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=ZU(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,t=!t),this._startPixel=n,this._endPixel=r,this._reversePixels=t,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){De(this.options.afterUpdate,[this])}beforeSetDimensions(){De(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){De(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),De(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){De(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let r,i,a;for(r=0,i=t.length;r<i;r++)a=t[r],a.label=De(n.callback,[a.value,r,t],this)}afterTickToLabelConversion(){De(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){De(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,r=p6(this.ticks.length,t.ticks.maxTicksLimit),i=n.minRotation||0,a=n.maxRotation;let s=i,o,l,u;if(!this._isVisible()||!n.display||i>=a||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const c=this._getLabelSizes(),d=c.widest.width,f=c.highest.height,h=dt(this.chart.width-d,0,this.maxWidth);o=t.offset?this.maxWidth/r:h/(r-1),d+6>o&&(o=h/(r-(t.offset?.5:1)),l=this.maxHeight-Qs(t.grid)-n.padding-g6(t.title,this.chart.options.font),u=Math.sqrt(d*d+f*f),s=S$(Math.min(Math.asin(dt((c.highest.height+6)/o,-1,1)),Math.asin(dt(l/u,-1,1))-Math.asin(dt(f/u,-1,1)))),s=Math.max(i,Math.min(a,s))),this.labelRotation=s}afterCalculateLabelRotation(){De(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){De(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:a}}=this,s=this._isVisible(),o=this.isHorizontal();if(s){const l=g6(i,n.options.font);if(o?(t.width=this.maxWidth,t.height=Qs(a)+l):(t.height=this.maxHeight,t.width=Qs(a)+l),r.display&&this.ticks.length){const{first:u,last:c,widest:d,highest:f}=this._getLabelSizes(),h=r.padding*2,p=Mn(this.labelRotation),g=Math.cos(p),b=Math.sin(p);if(o){const v=r.mirror?0:b*d.width+g*f.height;t.height=Math.min(this.maxHeight,t.height+v+h)}else{const v=r.mirror?0:g*d.width+b*f.height;t.width=Math.min(this.maxWidth,t.width+v+h)}this._calculatePadding(u,c,b,g)}}this._handleMargins(),o?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,i){const{ticks:{align:a,padding:s},position:o}=this.options,l=this.labelRotation!==0,u=o!=="top"&&this.axis==="x";if(this.isHorizontal()){const c=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,h=0;l?u?(f=i*t.width,h=r*n.height):(f=r*t.height,h=i*n.width):a==="start"?h=n.width:a==="end"?f=t.width:a!=="inner"&&(f=t.width/2,h=n.width/2),this.paddingLeft=Math.max((f-c+s)*this.width/(this.width-c),0),this.paddingRight=Math.max((h-d+s)*this.width/(this.width-d),0)}else{let c=n.height/2,d=t.height/2;a==="start"?(c=0,d=t.height):a==="end"&&(c=n.height,d=0),this.paddingTop=c+s,this.paddingBottom=d+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){De(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n<r;n++)ce(t[n].label)&&(t.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=m6(r,n)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,r){const{ctx:i,_longestTextCache:a}=this,s=[],o=[],l=Math.floor(n/p6(n,r));let u=0,c=0,d,f,h,p,g,b,v,m,$,w,D;for(d=0;d<n;d+=l){if(p=t[d].label,g=this._resolveTickFontOptions(d),i.font=b=g.string,v=a[b]=a[b]||{data:{},gc:[]},m=g.lineHeight,$=w=0,!ce(p)&&!Be(p))$=zd(i,v.data,v.gc,$,p),w=m;else if(Be(p))for(f=0,h=p.length;f<h;++f)D=p[f],!ce(D)&&!Be(D)&&($=zd(i,v.data,v.gc,$,D),w+=m);s.push($),o.push(w),u=Math.max($,u),c=Math.max(w,c)}iH(a,n);const S=s.indexOf(u),k=o.indexOf(c),x=T=>({width:s[T]||0,height:o[T]||0});return{first:x(0),last:x(n-1),widest:x(S),highest:x(k),widths:s,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return KV(this._alignToPixels?wi(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const r=n[t];return r.$context||(r.$context=sH(this.getContext(),t,r))}return this.$context||(this.$context=aH(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=Mn(this.labelRotation),r=Math.abs(Math.cos(n)),i=Math.abs(Math.sin(n)),a=this._getLabelSizes(),s=t.autoSkipPadding||0,o=a?a.widest.width+s:0,l=a?a.highest.height+s:0;return this.isHorizontal()?l*r>o*i?o/r:l/i:l*i<o*r?l/r:o/i}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,r=this.chart,i=this.options,{grid:a,position:s,border:o}=i,l=a.offset,u=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=Qs(a),h=[],p=o.setContext(this.getContext()),g=p.display?p.width:0,b=g/2,v=function(O){return wi(r,O,g)};let m,$,w,D,S,k,x,T,P,E,A,R;if(s==="top")m=v(this.bottom),k=this.bottom-f,T=m-b,E=v(t.top)+b,R=t.bottom;else if(s==="bottom")m=v(this.top),E=t.top,R=v(t.bottom)-b,k=m+b,T=this.top+f;else if(s==="left")m=v(this.right),S=this.right-f,x=m-b,P=v(t.left)+b,A=t.right;else if(s==="right")m=v(this.left),P=t.left,A=v(t.right)-b,S=m+b,x=this.left+f;else if(n==="x"){if(s==="center")m=v((t.top+t.bottom)/2+.5);else if(ae(s)){const O=Object.keys(s)[0],C=s[O];m=v(this.chart.scales[O].getPixelForValue(C))}E=t.top,R=t.bottom,k=m+b,T=k+f}else if(n==="y"){if(s==="center")m=v((t.left+t.right)/2);else if(ae(s)){const O=Object.keys(s)[0],C=s[O];m=v(this.chart.scales[O].getPixelForValue(C))}S=m-b,x=S-f,P=t.left,A=t.right}const M=J(i.ticks.maxTicksLimit,d),z=Math.max(1,Math.ceil(d/M));for($=0;$<d;$+=z){const O=this.getContext($),C=a.setContext(O),F=o.setContext(O),B=C.lineWidth,N=C.color,X=F.dash||[],Q=F.dashOffset,je=C.tickWidth,$e=C.tickColor,lt=C.tickBorderDash||[],xe=C.tickBorderDashOffset;w=rH(this,$,l),w!==void 0&&(D=wi(r,w,B),u?S=x=P=A=D:k=T=E=R=D,h.push({tx1:S,ty1:k,tx2:x,ty2:T,x1:P,y1:E,x2:A,y2:R,width:B,color:N,borderDash:X,borderDashOffset:Q,tickWidth:je,tickColor:$e,tickBorderDash:lt,tickBorderDashOffset:xe}))}return this._ticksLength=d,this._borderValue=m,h}_computeLabelItems(t){const n=this.axis,r=this.options,{position:i,ticks:a}=r,s=this.isHorizontal(),o=this.ticks,{align:l,crossAlign:u,padding:c,mirror:d}=a,f=Qs(r.grid),h=f+c,p=d?-c:h,g=-Mn(this.labelRotation),b=[];let v,m,$,w,D,S,k,x,T,P,E,A,R="middle";if(i==="top")S=this.bottom-p,k=this._getXAxisLabelAlignment();else if(i==="bottom")S=this.top+p,k=this._getXAxisLabelAlignment();else if(i==="left"){const z=this._getYAxisLabelAlignment(f);k=z.textAlign,D=z.x}else if(i==="right"){const z=this._getYAxisLabelAlignment(f);k=z.textAlign,D=z.x}else if(n==="x"){if(i==="center")S=(t.top+t.bottom)/2+h;else if(ae(i)){const z=Object.keys(i)[0],O=i[z];S=this.chart.scales[z].getPixelForValue(O)+h}k=this._getXAxisLabelAlignment()}else if(n==="y"){if(i==="center")D=(t.left+t.right)/2-h;else if(ae(i)){const z=Object.keys(i)[0],O=i[z];D=this.chart.scales[z].getPixelForValue(O)}k=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(l==="start"?R="top":l==="end"&&(R="bottom"));const M=this._getLabelSizes();for(v=0,m=o.length;v<m;++v){$=o[v],w=$.label;const z=a.setContext(this.getContext(v));x=this.getPixelForTick(v)+a.labelOffset,T=this._resolveTickFontOptions(v),P=T.lineHeight,E=Be(w)?w.length:1;const O=E/2,C=z.color,F=z.textStrokeColor,B=z.textStrokeWidth;let N=k;s?(D=x,k==="inner"&&(v===m-1?N=this.options.reverse?"left":"right":v===0?N=this.options.reverse?"right":"left":N="center"),i==="top"?u==="near"||g!==0?A=-E*P+P/2:u==="center"?A=-M.highest.height/2-O*P+P:A=-M.highest.height+P/2:u==="near"||g!==0?A=P/2:u==="center"?A=M.highest.height/2-O*P:A=M.highest.height-E*P,d&&(A*=-1),g!==0&&!z.showLabelBackdrop&&(D+=P/2*Math.sin(g))):(S=x,A=(1-E)*P/2);let X;if(z.showLabelBackdrop){const Q=Pt(z.backdropPadding),je=M.heights[v],$e=M.widths[v];let lt=A-Q.top,xe=0-Q.left;switch(R){case"middle":lt-=je/2;break;case"bottom":lt-=je;break}switch(k){case"center":xe-=$e/2;break;case"right":xe-=$e;break;case"inner":v===m-1?xe-=$e:v>0&&(xe-=$e/2);break}X={left:xe,top:lt,width:$e+Q.width,height:je+Q.height,color:z.backdropColor}}b.push({label:w,font:T,textOffset:A,options:{rotation:g,color:C,strokeColor:F,strokeWidth:B,textAlign:N,textBaseline:R,translation:[D,S],backdrop:X}})}return b}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-Mn(this.labelRotation))return t==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:r,mirror:i,padding:a}}=this.options,s=this._getLabelSizes(),o=t+a,l=s.widest.width;let u,c;return n==="left"?i?(c=this.right+a,r==="near"?u="left":r==="center"?(u="center",c+=l/2):(u="right",c+=l)):(c=this.right-o,r==="near"?u="right":r==="center"?(u="center",c-=l/2):(u="left",c=this.left)):n==="right"?i?(c=this.left+a,r==="near"?u="right":r==="center"?(u="center",c-=l/2):(u="left",c-=l)):(c=this.left+o,r==="near"?u="left":r==="center"?(u="center",c+=l/2):(u="right",c=this.right)):u="right",{textAlign:u,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:r,top:i,width:a,height:s}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(r,i,a,s),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(a=>a.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let a,s;const o=(l,u,c)=>{!c.width||!c.color||(r.save(),r.lineWidth=c.width,r.strokeStyle=c.color,r.setLineDash(c.borderDash||[]),r.lineDashOffset=c.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(u.x,u.y),r.stroke(),r.restore())};if(n.display)for(a=0,s=i.length;a<s;++a){const l=i[a];n.drawOnChartArea&&o({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),n.drawTicks&&o({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:r,grid:i}}=this,a=r.setContext(this.getContext()),s=r.display?a.width:0;if(!s)return;const o=i.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let u,c,d,f;this.isHorizontal()?(u=wi(t,this.left,s)-s/2,c=wi(t,this.right,o)+o/2,d=f=l):(d=wi(t,this.top,s)-s/2,f=wi(t,this.bottom,o)+o/2,u=c=l),n.save(),n.lineWidth=a.width,n.strokeStyle=a.color,n.beginPath(),n.moveTo(u,d),n.lineTo(c,f),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const r=this.ctx,i=this._computeLabelArea();i&&Ff(r,i);const a=this.getLabelItems(t);for(const s of a){const o=s.options,l=s.font,u=s.label,c=s.textOffset;aa(r,u,0,c,l,o)}i&&Of(r)}drawTitle(){const{ctx:t,options:{position:n,title:r,reverse:i}}=this;if(!r.display)return;const a=it(r.font),s=Pt(r.padding),o=r.align;let l=a.lineHeight/2;n==="bottom"||n==="center"||ae(n)?(l+=s.bottom,Be(r.text)&&(l+=a.lineHeight*(r.text.length-1))):l+=s.top;const{titleX:u,titleY:c,maxWidth:d,rotation:f}=lH(this,l,n,o);aa(t,r.text,0,0,a,{color:r.color,maxWidth:d,rotation:f,textAlign:oH(o,n,i),textBaseline:"middle",translation:[u,c]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,r=J(t.grid&&t.grid.z,-1),i=J(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==ga.prototype.draw?[{z:n,draw:a=>{this.draw(a)}}]:[{z:r,draw:a=>{this.drawBackground(),this.drawGrid(a),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:a=>{this.drawLabels(a)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let a,s;for(a=0,s=n.length;a<s;++a){const o=n[a];o[r]===this.id&&(!t||o.type===t)&&i.push(o)}return i}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return it(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Ru{constructor(t,n,r){this.type=t,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let r;dH(n)&&(r=this.register(n));const i=this.items,a=t.id,s=this.scope+"."+a;if(!a)throw new Error("class does not have id: "+t);return a in i||(i[a]=t,uH(t,s,r),this.override&&We.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){const n=this.items,r=t.id,i=this.scope;r in n&&delete n[r],i&&r in We[i]&&(delete We[i][r],this.override&&delete ia[r])}}function uH(e,t,n){const r=pl(Object.create(null),[n?We.get(n):{},We.get(t),e.defaults]);We.set(t,r),e.defaultRoutes&&cH(t,e.defaultRoutes),e.descriptors&&We.describe(t,e.descriptors)}function cH(e,t){Object.keys(t).forEach(n=>{const r=n.split("."),i=r.pop(),a=[e].concat(r).join("."),s=t[n].split("."),o=s.pop(),l=s.join(".");We.route(a,i,l,o)})}function dH(e){return"id"in e&&"defaults"in e}class fH{constructor(){this.controllers=new Ru(On,"datasets",!0),this.elements=new Ru(Er,"elements"),this.plugins=new Ru(Object,"plugins"),this.scales=new Ru(ga,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(i=>{const a=r||this._getRegistryForType(i);r||a.isForType(i)||a===this.plugins&&i.id?this._exec(t,a,i):me(i,s=>{const o=r||this._getRegistryForType(s);this._exec(t,o,s)})})}_exec(t,n,r){const i=E$(t);De(r["before"+i],[],r),n[t](r),De(r["after"+i],[],r)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(t))return r}return this.plugins}_get(t,n,r){const i=n.get(t);if(i===void 0)throw new Error('"'+t+'" is not a registered '+r+".");return i}}var Wn=new fH;class hH{constructor(){this._init=[]}notify(t,n,r,i){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const a=i?this._descriptors(t).filter(i):this._descriptors(t),s=this._notify(a,t,n,r);return n==="afterDestroy"&&(this._notify(a,t,"stop"),this._notify(this._init,t,"uninstall")),s}_notify(t,n,r,i){i=i||{};for(const a of t){const s=a.plugin,o=s[r],l=[n,i,a.options];if(De(o,l,s)===!1&&i.cancelable)return!1}return!0}invalidate(){ce(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const r=t&&t.config,i=J(r.options&&r.options.plugins,{}),a=pH(r);return i===!1&&!n?[]:gH(t,a,i,n)}_notifyStateChanges(t){const n=this._oldCache||[],r=this._cache,i=(a,s)=>a.filter(o=>!s.some(l=>o.plugin.id===l.plugin.id));this._notify(i(n,r),t,"stop"),this._notify(i(r,n),t,"start")}}function pH(e){const t={},n=[],r=Object.keys(Wn.plugins.items);for(let a=0;a<r.length;a++)n.push(Wn.getPlugin(r[a]));const i=e.plugins||[];for(let a=0;a<i.length;a++){const s=i[a];n.indexOf(s)===-1&&(n.push(s),t[s.id]=!0)}return{plugins:n,localIds:t}}function mH(e,t){return!t&&e===!1?null:e===!0?{}:e}function gH(e,{plugins:t,localIds:n},r,i){const a=[],s=e.getContext();for(const o of t){const l=o.id,u=mH(r[l],i);u!==null&&a.push({plugin:o,options:vH(e.config,{plugin:o,local:n[l]},u,s)})}return a}function vH(e,{plugin:t,local:n},r,i){const a=e.pluginScopeKeys(t),s=e.getOptionScopes(r,a);return n&&t.defaults&&s.push(t.defaults),e.createResolver(s,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function z3(e,t){const n=We.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function bH(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function yH(e,t){return e===t?"_index_":"_value_"}function v6(e){if(e==="x"||e==="y"||e==="r")return e}function $H(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function V3(e,...t){if(v6(e))return e;for(const n of t){const r=n.axis||$H(n.position)||e.length>1&&v6(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function b6(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function xH(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(n.length)return b6(e,"x",n[0])||b6(e,"y",n[0])}return{}}function wH(e,t){const n=ia[e.type]||{scales:{}},r=t.scales||{},i=z3(e.type,t),a=Object.create(null);return Object.keys(r).forEach(s=>{const o=r[s];if(!ae(o))return console.error(`Invalid scale configuration for scale: ${s}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=V3(s,o,xH(s,e),We.scales[o.type]),u=yH(l,i),c=n.scales||{};a[s]=Ao(Object.create(null),[{axis:l},o,c[l],c[u]])}),e.data.datasets.forEach(s=>{const o=s.type||e.type,l=s.indexAxis||z3(o,t),c=(ia[o]||{}).scales||{};Object.keys(c).forEach(d=>{const f=bH(d,l),h=s[f+"AxisID"]||f;a[h]=a[h]||Object.create(null),Ao(a[h],[{axis:f},r[h],c[d]])})}),Object.keys(a).forEach(s=>{const o=a[s];Ao(o,[We.scales[o.type],We.scale])}),a}function MT(e){const t=e.options||(e.options={});t.plugins=J(t.plugins,{}),t.scales=wH(e,t)}function AT(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function DH(e){return e=e||{},e.data=AT(e.data),MT(e),e}const y6=new Map,FT=new Set;function Mu(e,t){let n=y6.get(e);return n||(n=t(),y6.set(e,n),FT.add(n)),n}const Js=(e,t,n)=>{const r=li(t,n);r!==void 0&&e.add(r)};class _H{constructor(t){this._config=DH(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=AT(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),MT(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Mu(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Mu(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Mu(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return Mu(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let i=r.get(t);return(!i||n)&&(i=new Map,r.set(t,i)),i}getOptionScopes(t,n,r){const{options:i,type:a}=this,s=this._cachedScopes(t,r),o=s.get(n);if(o)return o;const l=new Set;n.forEach(c=>{t&&(l.add(t),c.forEach(d=>Js(l,t,d))),c.forEach(d=>Js(l,i,d)),c.forEach(d=>Js(l,ia[a]||{},d)),c.forEach(d=>Js(l,We,d)),c.forEach(d=>Js(l,L3,d))});const u=Array.from(l);return u.length===0&&u.push(Object.create(null)),FT.has(n)&&s.set(n,u),u}chartOptionScopes(){const{options:t,type:n}=this;return[t,ia[n]||{},We.datasets[n]||{},{type:n},We,L3]}resolveNamedOptions(t,n,r,i=[""]){const a={$shared:!0},{resolver:s,subPrefixes:o}=$6(this._resolverCache,t,i);let l=s;if(SH(s,n)){a.$shared=!1,r=ui(r)?r():r;const u=this.createResolver(t,r,o);l=ws(s,r,u)}for(const u of n)a[u]=l[u];return a}createResolver(t,n,r=[""],i){const{resolver:a}=$6(this._resolverCache,t,r);return ae(n)?ws(a,n,void 0,i):a}}function $6(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let a=r.get(i);return a||(a={resolver:R$(t,n),subPrefixes:n.filter(o=>!o.toLowerCase().includes("hover"))},r.set(i,a)),a}const EH=e=>ae(e)&&Object.getOwnPropertyNames(e).some(t=>ui(e[t]));function SH(e,t){const{isScriptable:n,isIndexable:r}=hT(e);for(const i of t){const a=n(i),s=r(i),o=(s||a)&&e[i];if(a&&(ui(o)||EH(o))||s&&Be(o))return!0}return!1}var CH="4.4.3";const kH=["top","bottom","left","right","chartArea"];function x6(e,t){return e==="top"||e==="bottom"||kH.indexOf(e)===-1&&t==="x"}function w6(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function D6(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),De(n&&n.onComplete,[e],t)}function PH(e){const t=e.chart,n=t.options.animation;De(n&&n.onProgress,[e],t)}function OT(e){return F$()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const lc={},_6=e=>{const t=OT(e);return Object.values(lc).filter(n=>n.canvas===t).pop()};function TH(e,t,n){const r=Object.keys(e);for(const i of r){const a=+i;if(a>=t){const s=e[i];delete e[i],(n>0||a>t)&&(e[a+n]=s)}}}function RH(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}function Au(e,t,n){return e.options.clip?e[n]:t[n]}function MH(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:Au(n,t,"left"),right:Au(n,t,"right"),top:Au(r,t,"top"),bottom:Au(r,t,"bottom")}:t}var Pr;let Ms=(Pr=class{static register(...t){Wn.add(...t),E6()}static unregister(...t){Wn.remove(...t),E6()}constructor(t,n){const r=this.config=new _H(n),i=OT(t),a=_6(i);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||GU(i)),this.platform.updateConfig(r);const o=this.platform.acquireContext(i,s.aspectRatio),l=o&&o.canvas,u=l&&l.height,c=l&&l.width;if(this.id=FV(),this.ctx=o,this.canvas=l,this.width=c,this.height=u,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new hH,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=ZV(d=>this.update(d),s.resizeDelay||0),this._dataChanges=[],lc[this.id]=this,!o||!l){console.error("Failed to create chart: can't acquire context from the given item");return}rr.listen(this,"complete",D6),rr.listen(this,"progress",PH),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:i,_aspectRatio:a}=this;return ce(t)?n&&a?a:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Wn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():K5(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return W5(this.canvas,this.ctx),this}stop(){return rr.stop(this),this}resize(t,n){rr.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,i=this.canvas,a=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,t,n,a),o=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,K5(this,o,!0)&&(this.notifyPlugins("resize",{size:s}),De(r.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};me(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,i=Object.keys(r).reduce((s,o)=>(s[o]=!1,s),{});let a=[];n&&(a=a.concat(Object.keys(n).map(s=>{const o=n[s],l=V3(s,o),u=l==="r",c=l==="x";return{options:o,dposition:u?"chartArea":c?"bottom":"left",dtype:u?"radialLinear":c?"category":"linear"}}))),me(a,s=>{const o=s.options,l=o.id,u=V3(l,o),c=J(o.type,s.dtype);(o.position===void 0||x6(o.position,u)!==x6(s.dposition))&&(o.position=s.dposition),i[l]=!0;let d=null;if(l in r&&r[l].type===c)d=r[l];else{const f=Wn.getScale(c);d=new f({id:l,type:c,ctx:this.ctx,chart:this}),r[d.id]=d}d.init(o,t)}),me(i,(s,o)=>{s||delete r[o]}),me(r,s=>{Ct.configure(this,s,s.options),Ct.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((i,a)=>i.index-a.index),r>n){for(let i=n;i<r;++i)this._destroyDatasetMeta(i);t.splice(n,r-n)}this._sortedMetasets=t.slice(0).sort(w6("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((r,i)=>{n.filter(a=>a===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r<i;r++){const a=n[r];let s=this.getDatasetMeta(r);const o=a.type||this.config.type;if(s.type&&s.type!==o&&(this._destroyDatasetMeta(r),s=this.getDatasetMeta(r)),s.type=o,s.indexAxis=a.indexAxis||z3(o,this.options),s.order=a.order||0,s.index=r,s.label=""+a.label,s.visible=this.isDatasetVisible(r),s.controller)s.controller.updateIndex(r),s.controller.linkScales();else{const l=Wn.getController(o),{datasetElementType:u,dataElementType:c}=We.datasets[o];Object.assign(l,{dataElementType:Wn.getElement(c),datasetElementType:u&&Wn.getElement(u)}),s.controller=new l(this,r),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){me(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let u=0,c=this.data.datasets.length;u<c;u++){const{controller:d}=this.getDatasetMeta(u),f=!i&&a.indexOf(d)===-1;d.buildOrUpdateElements(f),s=Math.max(+d.getMaxOverflow(),s)}s=this._minPadding=r.layout.autoPadding?s:0,this._updateLayout(s),i||me(a,u=>{u.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(w6("z","_idx"));const{_active:o,_lastEvent:l}=this;l?this._eventHandler(l,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){me(this.scales,t=>{Ct.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!F5(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:a}of n){const s=r==="_removeElements"?-a:a;TH(t,i,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=a=>new Set(t.filter(s=>s[0]===a).map((s,o)=>o+","+s.splice(1).join(","))),i=r(0);for(let a=1;a<n;a++)if(!F5(i,r(a)))return;return Array.from(i).map(a=>a.split(",")).map(a=>({method:a[1],start:+a[2],count:+a[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Ct.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],me(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,a)=>{i._idx=a}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,ui(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const r=this.getDatasetMeta(t),i={meta:r,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",i)!==!1&&(r.controller._update(n),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(rr.has(this)?this.attached&&!rr.running(this)&&rr.start(this):(this.draw(),D6({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:r,height:i}=this._resizeBeforeDraw;this._resize(r,i),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,r=[];let i,a;for(i=0,a=n.length;i<a;++i){const s=n[i];(!t||s.visible)&&r.push(s)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,i=!r.disabled,a=MH(t,this.chartArea),s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&Ff(n,{left:r.left===!1?0:a.left-r.left,right:r.right===!1?this.width:a.right+r.right,top:r.top===!1?0:a.top-r.top,bottom:r.bottom===!1?this.height:a.bottom+r.bottom}),t.controller.draw(),i&&Of(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return mr(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,i){const a=kU.modes[n];return typeof a=="function"?a(this,t,r,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let i=r.filter(a=>a&&a._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=gi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const i=r?"show":"hide",a=this.getDatasetMeta(t),s=a.controller._resolveAnimations(void 0,i);ml(n)?(a.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(a,{visible:r}),this.update(o=>o.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),rr.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),W5(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete lc[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,r=(a,s)=>{n.addEventListener(this,a,s),t[a]=s},i=(a,s,o)=>{a.offsetX=s,a.offsetY=o,this._eventHandler(a)};me(this.options.events,a=>r(a,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(l,u)=>{n.addEventListener(this,l,u),t[l]=u},i=(l,u)=>{t[l]&&(n.removeEventListener(this,l,u),delete t[l])},a=(l,u)=>{this.canvas&&this.resize(l,u)};let s;const o=()=>{i("attach",o),this.attached=!0,this.resize(),r("resize",a),r("detach",s)};s=()=>{this.attached=!1,i("resize",a),this._stop(),this._resize(0,0),r("attach",o)},n.isAttached(this.canvas)?o():s()}unbindEvents(){me(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},me(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const i=r?"set":"remove";let a,s,o,l;for(n==="dataset"&&(a=this.getDatasetMeta(t[0].datasetIndex),a.controller["_"+i+"DatasetHoverStyle"]()),o=0,l=t.length;o<l;++o){s=t[o];const u=s&&this.getDatasetMeta(s.datasetIndex).controller;u&&u[i+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],r=t.map(({datasetIndex:a,index:s})=>{const o=this.getDatasetMeta(a);if(!o)throw new Error("No dataset found at index "+a);return{datasetIndex:a,element:o.data[s],index:s}});!Ld(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,r){const i=this.options.hover,a=(l,u)=>l.filter(c=>!u.some(d=>c.datasetIndex===d.datasetIndex&&c.index===d.index)),s=a(n,t),o=r?t:a(t,n);s.length&&this.updateHoverStyle(s,i.mode,!1),o.length&&i.mode&&this.updateHoverStyle(o,i.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const a=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(a||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:i=[],options:a}=this,s=n,o=this._getActiveElements(t,i,r,s),l=jV(t),u=RH(t,this._lastEvent,r,l);r&&(this._lastEvent=null,De(a.onHover,[t,o,this],this),l&&De(a.onClick,[t,o,this],this));const c=!Ld(o,i);return(c||n)&&(this._active=o,this._updateHoverStyles(o,i,n)),this._lastEvent=u,c}_getActiveElements(t,n,r,i){if(t.type==="mouseout")return[];if(!r)return n;const a=this.options.hover;return this.getElementsAtEventForMode(t,a.mode,a,i)}},j(Pr,"defaults",We),j(Pr,"instances",lc),j(Pr,"overrides",ia),j(Pr,"registry",Wn),j(Pr,"version",CH),j(Pr,"getChart",_6),Pr);function E6(){return me(Ms.instances,e=>e._plugins.invalidate())}function AH(e,t,n){const{startAngle:r,pixelMargin:i,x:a,y:s,outerRadius:o,innerRadius:l}=t;let u=i/o;e.beginPath(),e.arc(a,s,o,r-u,n+u),l>i?(u=i/l,e.arc(a,s,l,n+u,r-u,!0)):e.arc(a,s,i,n+qe,r-qe),e.closePath(),e.clip()}function FH(e){return T$(e,["outerStart","outerEnd","innerStart","innerEnd"])}function OH(e,t,n,r){const i=FH(e.options.borderRadius),a=(n-t)/2,s=Math.min(a,r*t/2),o=l=>{const u=(n-Math.min(a,l))*r/2;return dt(l,0,Math.min(a,u))};return{outerStart:o(i.outerStart),outerEnd:o(i.outerEnd),innerStart:dt(i.innerStart,0,s),innerEnd:dt(i.innerEnd,0,s)}}function Ca(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function Ud(e,t,n,r,i,a){const{x:s,y:o,startAngle:l,pixelMargin:u,innerRadius:c}=t,d=Math.max(t.outerRadius+r+n-u,0),f=c>0?c+r+n+u:0;let h=0;const p=i-l;if(r){const z=c>0?c-r:0,O=d>0?d-r:0,C=(z+O)/2,F=C!==0?p*C/(C+r):p;h=(p-F)/2}const g=Math.max(.001,p*d-n/Me)/d,b=(p-g)/2,v=l+b+h,m=i-b-h,{outerStart:$,outerEnd:w,innerStart:D,innerEnd:S}=OH(t,f,d,m-v),k=d-$,x=d-w,T=v+$/k,P=m-w/x,E=f+D,A=f+S,R=v+D/E,M=m-S/A;if(e.beginPath(),a){const z=(T+P)/2;if(e.arc(s,o,d,T,z),e.arc(s,o,d,z,P),w>0){const B=Ca(x,P,s,o);e.arc(B.x,B.y,w,P,m+qe)}const O=Ca(A,m,s,o);if(e.lineTo(O.x,O.y),S>0){const B=Ca(A,M,s,o);e.arc(B.x,B.y,S,m+qe,M+Math.PI)}const C=(m-S/f+(v+D/f))/2;if(e.arc(s,o,f,m-S/f,C,!0),e.arc(s,o,f,C,v+D/f,!0),D>0){const B=Ca(E,R,s,o);e.arc(B.x,B.y,D,R+Math.PI,v-qe)}const F=Ca(k,v,s,o);if(e.lineTo(F.x,F.y),$>0){const B=Ca(k,T,s,o);e.arc(B.x,B.y,$,v-qe,T)}}else{e.moveTo(s,o);const z=Math.cos(T)*d+s,O=Math.sin(T)*d+o;e.lineTo(z,O);const C=Math.cos(P)*d+s,F=Math.sin(P)*d+o;e.lineTo(C,F)}e.closePath()}function BH(e,t,n,r,i){const{fullCircles:a,startAngle:s,circumference:o}=t;let l=t.endAngle;if(a){Ud(e,t,n,r,l,i);for(let u=0;u<a;++u)e.fill();isNaN(o)||(l=s+(o%Te||Te))}return Ud(e,t,n,r,l,i),e.fill(),l}function IH(e,t,n,r,i){const{fullCircles:a,startAngle:s,circumference:o,options:l}=t,{borderWidth:u,borderJoinStyle:c,borderDash:d,borderDashOffset:f}=l,h=l.borderAlign==="inner";if(!u)return;e.setLineDash(d||[]),e.lineDashOffset=f,h?(e.lineWidth=u*2,e.lineJoin=c||"round"):(e.lineWidth=u,e.lineJoin=c||"bevel");let p=t.endAngle;if(a){Ud(e,t,n,r,p,i);for(let g=0;g<a;++g)e.stroke();isNaN(o)||(p=s+(o%Te||Te))}h&&AH(e,t,p),a||(Ud(e,t,n,r,p,i),e.stroke())}class go extends Er{constructor(n){super();j(this,"circumference");j(this,"endAngle");j(this,"fullCircles");j(this,"innerRadius");j(this,"outerRadius");j(this,"pixelMargin");j(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,r,i){const a=this.getProps(["x","y"],i),{angle:s,distance:o}=rT(a,{x:n,y:r}),{startAngle:l,endAngle:u,innerRadius:c,outerRadius:d,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),h=(this.options.spacing+this.options.borderWidth)/2,g=J(f,u-l)>=Te||gl(s,l,u),b=hr(o,c+h,d+h);return g&&b}getCenterPoint(n){const{x:r,y:i,startAngle:a,endAngle:s,innerRadius:o,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:u,spacing:c}=this.options,d=(a+s)/2,f=(o+l+c+u)/2;return{x:r+Math.cos(d)*f,y:i+Math.sin(d)*f}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:r,circumference:i}=this,a=(r.offset||0)/4,s=(r.spacing||0)/2,o=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=i>Te?Math.floor(i/Te):0,i===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const l=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(l)*a,Math.sin(l)*a);const u=1-Math.sin(Math.min(Me,i||0)),c=a*u;n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,BH(n,this,c,s,o),IH(n,this,c,s,o),n.restore()}}j(go,"id","arc"),j(go,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),j(go,"defaultRoutes",{backgroundColor:"backgroundColor"}),j(go,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function BT(e,t,n=t){e.lineCap=J(n.borderCapStyle,t.borderCapStyle),e.setLineDash(J(n.borderDash,t.borderDash)),e.lineDashOffset=J(n.borderDashOffset,t.borderDashOffset),e.lineJoin=J(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=J(n.borderWidth,t.borderWidth),e.strokeStyle=J(n.borderColor,t.borderColor)}function LH(e,t,n){e.lineTo(n.x,n.y)}function NH(e){return e.stepped?lW:e.tension||e.cubicInterpolationMode==="monotone"?uW:LH}function IT(e,t,n={}){const r=e.length,{start:i=0,end:a=r-1}=n,{start:s,end:o}=t,l=Math.max(i,s),u=Math.min(a,o),c=i<s&&a<s||i>o&&a>o;return{count:r,start:l,loop:t.loop,ilen:u<l&&!c?r+u-l:u-l}}function jH(e,t,n,r){const{points:i,options:a}=t,{count:s,start:o,loop:l,ilen:u}=IT(i,n,r),c=NH(a);let{move:d=!0,reverse:f}=r||{},h,p,g;for(h=0;h<=u;++h)p=i[(o+(f?u-h:h))%s],!p.skip&&(d?(e.moveTo(p.x,p.y),d=!1):c(e,g,p,f,a.stepped),g=p);return l&&(p=i[(o+(f?u:0))%s],c(e,g,p,f,a.stepped)),!!l}function zH(e,t,n,r){const i=t.points,{count:a,start:s,ilen:o}=IT(i,n,r),{move:l=!0,reverse:u}=r||{};let c=0,d=0,f,h,p,g,b,v;const m=w=>(s+(u?o-w:w))%a,$=()=>{g!==b&&(e.lineTo(c,b),e.lineTo(c,g),e.lineTo(c,v))};for(l&&(h=i[m(0)],e.moveTo(h.x,h.y)),f=0;f<=o;++f){if(h=i[m(f)],h.skip)continue;const w=h.x,D=h.y,S=w|0;S===p?(D<g?g=D:D>b&&(b=D),c=(d*c+w)/++d):($(),e.lineTo(w,D),p=S,d=0,g=b=D),v=D}$()}function W3(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?zH:jH}function VH(e){return e.stepped?zW:e.tension||e.cubicInterpolationMode==="monotone"?VW:Ri}function WH(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),BT(e,t.options),e.stroke(i)}function UH(e,t,n,r){const{segments:i,options:a}=t,s=W3(t);for(const o of i)BT(e,a,o.style),e.beginPath(),s(e,t,o,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const HH=typeof Path2D=="function";function KH(e,t,n,r){HH&&!t.options.segment?WH(e,t,n,r):UH(e,t,n,r)}class Hn extends Er{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;AW(this._points,r,t,i,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=qW(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,i=t[n],a=this.points,s=DT(this,{property:n,start:i,end:i});if(!s.length)return;const o=[],l=VH(r);let u,c;for(u=0,c=s.length;u<c;++u){const{start:d,end:f}=s[u],h=a[d],p=a[f];if(h===p){o.push(h);continue}const g=Math.abs((i-h[n])/(p[n]-h[n])),b=l(h,p,g,r.stepped);b[n]=t[n],o.push(b)}return o.length===1?o[0]:o}pathSegment(t,n,r){return W3(this)(t,this,n,r)}path(t,n,r){const i=this.segments,a=W3(this);let s=this._loop;n=n||0,r=r||this.points.length-n;for(const o of i)s&=a(t,this,o,{start:n,end:n+r-1});return!!s}draw(t,n,r,i){const a=this.options||{};(this.points||[]).length&&a.borderWidth&&(t.save(),KH(t,this,r,i),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}j(Hn,"id","line"),j(Hn,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),j(Hn,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),j(Hn,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"});function S6(e,t,n,r){const i=e.options,{[n]:a}=e.getProps([n],r);return Math.abs(t-a)<i.radius+i.hitRadius}class us extends Er{constructor(n){super();j(this,"parsed");j(this,"skip");j(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,i){const a=this.options,{x:s,y:o}=this.getProps(["x","y"],i);return Math.pow(n-s,2)+Math.pow(r-o,2)<Math.pow(a.hitRadius+a.radius,2)}inXRange(n,r){return S6(this,n,"x",r)}inYRange(n,r){return S6(this,n,"y",r)}getCenterPoint(n){const{x:r,y:i}=this.getProps(["x","y"],n);return{x:r,y:i}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const i=r&&n.borderWidth||0;return(r+i)*2}draw(n,r){const i=this.options;this.skip||i.radius<.1||!mr(this,r,this.size(i)/2)||(n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.fillStyle=i.backgroundColor,N3(n,i,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}j(us,"id","point"),j(us,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),j(us,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function LT(e,t){const{x:n,y:r,base:i,width:a,height:s}=e.getProps(["x","y","base","width","height"],t);let o,l,u,c,d;return e.horizontal?(d=s/2,o=Math.min(n,i),l=Math.max(n,i),u=r-d,c=r+d):(d=a/2,o=n-d,l=n+d,u=Math.min(r,i),c=Math.max(r,i)),{left:o,top:u,right:l,bottom:c}}function Kr(e,t,n,r){return e?0:dt(t,n,r)}function YH(e,t,n){const r=e.options.borderWidth,i=e.borderSkipped,a=fT(r);return{t:Kr(i.top,a.top,0,n),r:Kr(i.right,a.right,0,t),b:Kr(i.bottom,a.bottom,0,n),l:Kr(i.left,a.left,0,t)}}function qH(e,t,n){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),i=e.options.borderRadius,a=Ki(i),s=Math.min(t,n),o=e.borderSkipped,l=r||ae(i);return{topLeft:Kr(!l||o.top||o.left,a.topLeft,0,s),topRight:Kr(!l||o.top||o.right,a.topRight,0,s),bottomLeft:Kr(!l||o.bottom||o.left,a.bottomLeft,0,s),bottomRight:Kr(!l||o.bottom||o.right,a.bottomRight,0,s)}}function GH(e){const t=LT(e),n=t.right-t.left,r=t.bottom-t.top,i=YH(e,n/2,r/2),a=qH(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:a},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,a.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(i.b,i.r))}}}}function cp(e,t,n,r){const i=t===null,a=n===null,o=e&&!(i&&a)&<(e,r);return o&&(i||hr(t,o.left,o.right))&&(a||hr(n,o.top,o.bottom))}function ZH(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function XH(e,t){e.rect(t.x,t.y,t.w,t.h)}function dp(e,t,n={}){const r=e.x!==n.x?-t:0,i=e.y!==n.y?-t:0,a=(e.x+e.w!==n.x+n.w?t:0)-r,s=(e.y+e.h!==n.y+n.h?t:0)-i;return{x:e.x+r,y:e.y+i,w:e.w+a,h:e.h+s,radius:e.radius}}class uc extends Er{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:r,backgroundColor:i}}=this,{inner:a,outer:s}=GH(this),o=ZH(s.radius)?vl:XH;t.save(),(s.w!==a.w||s.h!==a.h)&&(t.beginPath(),o(t,dp(s,n,a)),t.clip(),o(t,dp(a,-n,s)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),o(t,dp(a,n)),t.fillStyle=i,t.fill(),t.restore()}inRange(t,n,r){return cp(this,t,n,r)}inXRange(t,n){return cp(this,t,null,n)}inYRange(t,n){return cp(this,null,t,n)}getCenterPoint(t){const{x:n,y:r,base:i,horizontal:a}=this.getProps(["x","y","base","horizontal"],t);return{x:a?(n+i)/2:n,y:a?r:(r+i)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}j(uc,"id","bar"),j(uc,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),j(uc,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var QH=Object.freeze({__proto__:null,ArcElement:go,BarElement:uc,LineElement:Hn,PointElement:us});const U3=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],C6=U3.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function NT(e){return U3[e%U3.length]}function jT(e){return C6[e%C6.length]}function JH(e,t){return e.borderColor=NT(t),e.backgroundColor=jT(t),++t}function eK(e,t){return e.backgroundColor=e.data.map(()=>NT(t++)),t}function tK(e,t){return e.backgroundColor=e.data.map(()=>jT(t++)),t}function nK(e){let t=0;return(n,r)=>{const i=e.getDatasetMeta(r).controller;i instanceof Vi?t=eK(n,t):i instanceof ls?t=tK(n,t):i&&(t=JH(n,t))}}function k6(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function rK(e){return e&&(e.borderColor||e.backgroundColor)}var iK={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;const{data:{datasets:r},options:i}=e.config,{elements:a}=i;if(!n.forceOverride&&(k6(r)||rK(i)||a&&k6(a)))return;const s=nK(e);r.forEach(s)}};function aK(e,t,n,r,i){const a=i.samples||r;if(a>=n)return e.slice(t,t+n);const s=[],o=(n-2)/(a-2);let l=0;const u=t+n-1;let c=t,d,f,h,p,g;for(s[l++]=e[c],d=0;d<a-2;d++){let b=0,v=0,m;const $=Math.floor((d+1)*o)+1+t,w=Math.min(Math.floor((d+2)*o)+1,n)+t,D=w-$;for(m=$;m<w;m++)b+=e[m].x,v+=e[m].y;b/=D,v/=D;const S=Math.floor(d*o)+1+t,k=Math.min(Math.floor((d+1)*o)+1,n)+t,{x,y:T}=e[c];for(h=p=-1,m=S;m<k;m++)p=.5*Math.abs((x-b)*(e[m].y-T)-(x-e[m].x)*(v-T)),p>h&&(h=p,f=e[m],g=m);s[l++]=f,c=g}return s[l++]=e[u],s}function sK(e,t,n,r){let i=0,a=0,s,o,l,u,c,d,f,h,p,g;const b=[],v=t+n-1,m=e[t].x,w=e[v].x-m;for(s=t;s<t+n;++s){o=e[s],l=(o.x-m)/w*r,u=o.y;const D=l|0;if(D===c)u<p?(p=u,d=s):u>g&&(g=u,f=s),i=(a*i+o.x)/++a;else{const S=s-1;if(!ce(d)&&!ce(f)){const k=Math.min(d,f),x=Math.max(d,f);k!==h&&k!==S&&b.push({...e[k],x:i}),x!==h&&x!==S&&b.push({...e[x],x:i})}s>0&&S!==h&&b.push(e[S]),b.push(o),c=D,a=0,p=g=u,d=f=h=s}}return b}function zT(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function P6(e){e.data.datasets.forEach(t=>{zT(t)})}function oK(e,t){const n=t.length;let r=0,i;const{iScale:a}=e,{min:s,max:o,minDefined:l,maxDefined:u}=a.getUserBounds();return l&&(r=dt(pr(t,a.axis,s).lo,0,n-1)),u?i=dt(pr(t,a.axis,o).hi+1,r,n)-r:i=n-r,{start:r,count:i}}var lK={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){P6(e);return}const r=e.width;e.data.datasets.forEach((i,a)=>{const{_data:s,indexAxis:o}=i,l=e.getDatasetMeta(a),u=s||i.data;if(po([o,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const c=e.scales[l.xAxisID];if(c.type!=="linear"&&c.type!=="time"||e.options.parsing)return;let{start:d,count:f}=oK(l,u);const h=n.threshold||4*r;if(f<=h){zT(i);return}ce(s)&&(i._data=u,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(g){this._data=g}}));let p;switch(n.algorithm){case"lttb":p=aK(u,d,f,r,n);break;case"min-max":p=sK(u,d,f,r);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}i._decimated=p})},destroy(e){P6(e)}};function uK(e,t,n){const r=e.segments,i=e.points,a=t.points,s=[];for(const o of r){let{start:l,end:u}=o;u=I$(l,u,i);const c=H3(n,i[l],i[u],o.loop);if(!t.segments){s.push({source:o,target:c,start:i[l],end:i[u]});continue}const d=DT(t,c);for(const f of d){const h=H3(n,a[f.start],a[f.end],f.loop),p=wT(o,i,h);for(const g of p)s.push({source:g,target:f,start:{[n]:T6(c,h,"start",Math.max)},end:{[n]:T6(c,h,"end",Math.min)}})}}return s}function H3(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e==="angle"&&(i=nn(i),a=nn(a)),{property:e,start:i,end:a}}function cK(e,t){const{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:s,end:o})=>{o=I$(s,o,i);const l=i[s],u=i[o];r!==null?(a.push({x:l.x,y:r}),a.push({x:u.x,y:r})):n!==null&&(a.push({x:n,y:l.y}),a.push({x:n,y:u.y}))}),a}function I$(e,t,n){for(;t>e;t--){const r=n[t];if(!isNaN(r.x)&&!isNaN(r.y))break}return t}function T6(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function VT(e,t){let n=[],r=!1;return Be(e)?(r=!0,n=e):n=cK(e,t),n.length?new Hn({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function R6(e){return e&&e.fill!==!1}function dK(e,t,n){let i=e[t].fill;const a=[t];let s;if(!n)return i;for(;i!==!1&&a.indexOf(i)===-1;){if(!Ve(i))return i;if(s=e[i],!s)return!1;if(s.visible)return i;a.push(i),i=s.fill}return!1}function fK(e,t,n){const r=gK(e);if(ae(r))return isNaN(r.value)?!1:r;let i=parseFloat(r);return Ve(i)&&Math.floor(i)===i?hK(r[0],t,i,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function hK(e,t,n,r){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=r?!1:n}function pK(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:ae(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function mK(e,t,n){let r;return e==="start"?r=n:e==="end"?r=t.options.reverse?t.min:t.max:ae(e)?r=e.value:r=t.getBaseValue(),r}function gK(e){const t=e.options,n=t.fill;let r=J(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function vK(e){const{scale:t,index:n,line:r}=e,i=[],a=r.segments,s=r.points,o=bK(t,n);o.push(VT({x:null,y:t.bottom},r));for(let l=0;l<a.length;l++){const u=a[l];for(let c=u.start;c<=u.end;c++)yK(i,s[c],o)}return new Hn({points:i,options:{}})}function bK(e,t){const n=[],r=e.getMatchingVisibleMetas("line");for(let i=0;i<r.length;i++){const a=r[i];if(a.index===t)break;a.hidden||n.unshift(a.dataset)}return n}function yK(e,t,n){const r=[];for(let i=0;i<n.length;i++){const a=n[i],{first:s,last:o,point:l}=$K(a,t,"x");if(!(!l||s&&o)){if(s)r.unshift(l);else if(e.push(l),!o)break}}e.push(...r)}function $K(e,t,n){const r=e.interpolate(t,n);if(!r)return{};const i=r[n],a=e.segments,s=e.points;let o=!1,l=!1;for(let u=0;u<a.length;u++){const c=a[u],d=s[c.start][n],f=s[c.end][n];if(hr(i,d,f)){o=i===d,l=i===f;break}}return{first:o,last:l,point:r}}class WT{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,n,r){const{x:i,y:a,radius:s}=this;return n=n||{start:0,end:Te},t.arc(i,a,s,n.end,n.start,!0),!r.bounds}interpolate(t){const{x:n,y:r,radius:i}=this,a=t.angle;return{x:n+Math.cos(a)*i,y:r+Math.sin(a)*i,angle:a}}}function xK(e){const{chart:t,fill:n,line:r}=e;if(Ve(n))return wK(t,n);if(n==="stack")return vK(e);if(n==="shape")return!0;const i=DK(e);return i instanceof WT?i:VT(i,r)}function wK(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function DK(e){return(e.scale||{}).getPointPositionForValue?EK(e):_K(e)}function _K(e){const{scale:t={},fill:n}=e,r=pK(n,t);if(Ve(r)){const i=t.isHorizontal();return{x:i?r:null,y:i?null:r}}return null}function EK(e){const{scale:t,fill:n}=e,r=t.options,i=t.getLabels().length,a=r.reverse?t.max:t.min,s=mK(n,t,a),o=[];if(r.grid.circular){const l=t.getPointPositionForValue(0,a);return new WT({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(s)})}for(let l=0;l<i;++l)o.push(t.getPointPositionForValue(l,s));return o}function fp(e,t,n){const r=xK(t),{line:i,scale:a,axis:s}=t,o=i.options,l=o.fill,u=o.backgroundColor,{above:c=u,below:d=u}=l||{};r&&i.points.length&&(Ff(e,n),SK(e,{line:i,target:r,above:c,below:d,area:n,scale:a,axis:s}),Of(e))}function SK(e,t){const{line:n,target:r,above:i,below:a,area:s,scale:o}=t,l=n._loop?"angle":t.axis;e.save(),l==="x"&&a!==i&&(M6(e,r,s.top),A6(e,{line:n,target:r,color:i,scale:o,property:l}),e.restore(),e.save(),M6(e,r,s.bottom)),A6(e,{line:n,target:r,color:a,scale:o,property:l}),e.restore()}function M6(e,t,n){const{segments:r,points:i}=t;let a=!0,s=!1;e.beginPath();for(const o of r){const{start:l,end:u}=o,c=i[l],d=i[I$(l,u,i)];a?(e.moveTo(c.x,c.y),a=!1):(e.lineTo(c.x,n),e.lineTo(c.x,c.y)),s=!!t.pathSegment(e,o,{move:s}),s?e.closePath():e.lineTo(d.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function A6(e,t){const{line:n,target:r,property:i,color:a,scale:s}=t,o=uK(n,r,i);for(const{source:l,target:u,start:c,end:d}of o){const{style:{backgroundColor:f=a}={}}=l,h=r!==!0;e.save(),e.fillStyle=f,CK(e,s,h&&H3(i,c,d)),e.beginPath();const p=!!n.pathSegment(e,l);let g;if(h){p?e.closePath():F6(e,r,d,i);const b=!!r.pathSegment(e,u,{move:p,reverse:!0});g=p&&b,g||F6(e,r,c,i)}e.closePath(),e.fill(g?"evenodd":"nonzero"),e.restore()}}function CK(e,t,n){const{top:r,bottom:i}=t.chart.chartArea,{property:a,start:s,end:o}=n||{};a==="x"&&(e.beginPath(),e.rect(s,r,o-s,i-r),e.clip())}function F6(e,t,n,r){const i=t.interpolate(n,r);i&&e.lineTo(i.x,i.y)}var kK={id:"filler",afterDatasetsUpdate(e,t,n){const r=(e.data.datasets||[]).length,i=[];let a,s,o,l;for(s=0;s<r;++s)a=e.getDatasetMeta(s),o=a.dataset,l=null,o&&o.options&&o instanceof Hn&&(l={visible:e.isDatasetVisible(s),index:s,fill:fK(o,s,r),chart:e,axis:a.controller.options.indexAxis,scale:a.vScale,line:o}),a.$filler=l,i.push(l);for(s=0;s<r;++s)l=i[s],!(!l||l.fill===!1)&&(l.fill=dK(i,s,n.propagate))},beforeDraw(e,t,n){const r=n.drawTime==="beforeDraw",i=e.getSortedVisibleDatasetMetas(),a=e.chartArea;for(let s=i.length-1;s>=0;--s){const o=i[s].$filler;o&&(o.line.updateControlPoints(a,o.axis),r&&o.fill&&fp(e.ctx,o,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=e.getSortedVisibleDatasetMetas();for(let i=r.length-1;i>=0;--i){const a=r[i].$filler;R6(a)&&fp(e.ctx,a,e.chartArea)}},beforeDatasetDraw(e,t,n){const r=t.meta.$filler;!R6(r)||n.drawTime!=="beforeDatasetDraw"||fp(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const O6=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},PK=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class B6 extends Er{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,r){this.maxWidth=t,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=De(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(r=>t.filter(r,this.chart.data))),t.sort&&(n=n.sort((r,i)=>t.sort(r,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const r=t.labels,i=it(r.font),a=i.size,s=this._computeTitleHeight(),{boxWidth:o,itemHeight:l}=O6(r,a);let u,c;n.font=i.string,this.isHorizontal()?(u=this.maxWidth,c=this._fitRows(s,a,o,l)+10):(c=this.maxHeight,u=this._fitCols(s,i,o,l)+10),this.width=Math.min(u,t.maxWidth||this.maxWidth),this.height=Math.min(c,t.maxHeight||this.maxHeight)}_fitRows(t,n,r,i){const{ctx:a,maxWidth:s,options:{labels:{padding:o}}}=this,l=this.legendHitBoxes=[],u=this.lineWidths=[0],c=i+o;let d=t;a.textAlign="left",a.textBaseline="middle";let f=-1,h=-c;return this.legendItems.forEach((p,g)=>{const b=r+n/2+a.measureText(p.text).width;(g===0||u[u.length-1]+b+2*o>s)&&(d+=c,u[u.length-(g>0?0:1)]=0,h+=c,f++),l[g]={left:0,top:h,row:f,width:b,height:i},u[u.length-1]+=b+o}),d}_fitCols(t,n,r,i){const{ctx:a,maxHeight:s,options:{labels:{padding:o}}}=this,l=this.legendHitBoxes=[],u=this.columnSizes=[],c=s-t;let d=o,f=0,h=0,p=0,g=0;return this.legendItems.forEach((b,v)=>{const{itemWidth:m,itemHeight:$}=TK(r,n,a,b,i);v>0&&h+$+2*o>c&&(d+=f+o,u.push({width:f,height:h}),p+=f+o,g++,f=h=0),l[v]={left:p,top:h,col:g,width:m,height:$},f=Math.max(f,m),h+=$+o}),d+=f,u.push({width:f,height:h}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:i},rtl:a}}=this,s=os(a,this.left,this.width);if(this.isHorizontal()){let o=0,l=Dt(r,this.left+i,this.right-this.lineWidths[o]);for(const u of n)o!==u.row&&(o=u.row,l=Dt(r,this.left+i,this.right-this.lineWidths[o])),u.top+=this.top+t+i,u.left=s.leftForLtr(s.x(l),u.width),l+=u.width+i}else{let o=0,l=Dt(r,this.top+t+i,this.bottom-this.columnSizes[o].height);for(const u of n)u.col!==o&&(o=u.col,l=Dt(r,this.top+t+i,this.bottom-this.columnSizes[o].height)),u.top=l,u.left+=this.left+i,u.left=s.leftForLtr(s.x(u.left),u.width),l+=u.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Ff(t,this),this._draw(),Of(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:r,ctx:i}=this,{align:a,labels:s}=t,o=We.color,l=os(t.rtl,this.left,this.width),u=it(s.font),{padding:c}=s,d=u.size,f=d/2;let h;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=u.string;const{boxWidth:p,boxHeight:g,itemHeight:b}=O6(s,d),v=function(S,k,x){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;i.save();const T=J(x.lineWidth,1);if(i.fillStyle=J(x.fillStyle,o),i.lineCap=J(x.lineCap,"butt"),i.lineDashOffset=J(x.lineDashOffset,0),i.lineJoin=J(x.lineJoin,"miter"),i.lineWidth=T,i.strokeStyle=J(x.strokeStyle,o),i.setLineDash(J(x.lineDash,[])),s.usePointStyle){const P={radius:g*Math.SQRT2/2,pointStyle:x.pointStyle,rotation:x.rotation,borderWidth:T},E=l.xPlus(S,p/2),A=k+f;dT(i,P,E,A,s.pointStyleWidth&&p)}else{const P=k+Math.max((d-g)/2,0),E=l.leftForLtr(S,p),A=Ki(x.borderRadius);i.beginPath(),Object.values(A).some(R=>R!==0)?vl(i,{x:E,y:P,w:p,h:g,radius:A}):i.rect(E,P,p,g),i.fill(),T!==0&&i.stroke()}i.restore()},m=function(S,k,x){aa(i,x.text,S,k+b/2,u,{strikethrough:x.hidden,textAlign:l.textAlign(x.textAlign)})},$=this.isHorizontal(),w=this._computeTitleHeight();$?h={x:Dt(a,this.left+c,this.right-r[0]),y:this.top+c+w,line:0}:h={x:this.left+c,y:Dt(a,this.top+w+c,this.bottom-n[0].height),line:0},yT(this.ctx,t.textDirection);const D=b+c;this.legendItems.forEach((S,k)=>{i.strokeStyle=S.fontColor,i.fillStyle=S.fontColor;const x=i.measureText(S.text).width,T=l.textAlign(S.textAlign||(S.textAlign=s.textAlign)),P=p+f+x;let E=h.x,A=h.y;l.setWidth(this.width),$?k>0&&E+P+c>this.right&&(A=h.y+=D,h.line++,E=h.x=Dt(a,this.left+c,this.right-r[h.line])):k>0&&A+D>this.bottom&&(E=h.x=E+n[h.line].width+c,h.line++,A=h.y=Dt(a,this.top+w+c,this.bottom-n[h.line].height));const R=l.x(E);if(v(R,A,S),E=XV(T,E+p+f,$?E+P:this.right,t.rtl),m(l.x(E),A,S),$)h.x+=P+c;else if(typeof S.text!="string"){const M=u.lineHeight;h.y+=UT(S,M)+c}else h.y+=D}),$T(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,r=it(n.font),i=Pt(n.padding);if(!n.display)return;const a=os(t.rtl,this.left,this.width),s=this.ctx,o=n.position,l=r.size/2,u=i.top+l;let c,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),c=this.top+u,d=Dt(t.align,d,this.right-f);else{const p=this.columnSizes.reduce((g,b)=>Math.max(g,b.height),0);c=u+Dt(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}const h=Dt(o,d,d+f);s.textAlign=a.textAlign(k$(o)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=r.string,aa(s,n.text,h,c,r)}_computeTitleHeight(){const t=this.options.title,n=it(t.font),r=Pt(t.padding);return t.display?n.lineHeight+r.height:0}_getLegendItemAt(t,n){let r,i,a;if(hr(t,this.left,this.right)&&hr(n,this.top,this.bottom)){for(a=this.legendHitBoxes,r=0;r<a.length;++r)if(i=a[r],hr(t,i.left,i.left+i.width)&&hr(n,i.top,i.top+i.height))return this.legendItems[r]}return null}handleEvent(t){const n=this.options;if(!AK(t.type,n))return;const r=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const i=this._hoveredItem,a=PK(i,r);i&&!a&&De(n.onLeave,[t,i,this],this),this._hoveredItem=r,r&&!a&&De(n.onHover,[t,r,this],this)}else r&&De(n.onClick,[t,r,this],this)}}function TK(e,t,n,r,i){const a=RK(r,e,t,n),s=MK(i,r,t.lineHeight);return{itemWidth:a,itemHeight:s}}function RK(e,t,n,r){let i=e.text;return i&&typeof i!="string"&&(i=i.reduce((a,s)=>a.length>s.length?a:s)),t+n.size/2+r.measureText(i).width}function MK(e,t,n){let r=e;return typeof t.text!="string"&&(r=UT(t,n)),r}function UT(e,t){const n=e.text?e.text.length:0;return t*n}function AK(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var FK={id:"legend",_element:B6,start(e,t,n){const r=e.legend=new B6({ctx:e.ctx,options:n,chart:e});Ct.configure(e,r,n),Ct.addBox(e,r)},stop(e){Ct.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;Ct.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:s,borderRadius:o}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{const u=l.controller.getStyle(n?0:void 0),c=Pt(u.borderWidth);return{text:t[l.index].label,fillStyle:u.backgroundColor,fontColor:a,hidden:!l.visible,lineCap:u.borderCapStyle,lineDash:u.borderDash,lineDashOffset:u.borderDashOffset,lineJoin:u.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:u.borderColor,pointStyle:r||u.pointStyle,rotation:u.rotation,textAlign:i||u.textAlign,borderRadius:s&&(o||u.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class L$ extends Er{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const i=Be(r.text)?r.text.length:1;this._padding=Pt(r.padding);const a=i*it(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=a:this.width=a}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:r,bottom:i,right:a,options:s}=this,o=s.align;let l=0,u,c,d;return this.isHorizontal()?(c=Dt(o,r,a),d=n+t,u=a-r):(s.position==="left"?(c=r+t,d=Dt(o,i,n),l=Me*-.5):(c=a-t,d=Dt(o,n,i),l=Me*.5),u=i-n),{titleX:c,titleY:d,maxWidth:u,rotation:l}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const r=it(n.font),a=r.lineHeight/2+this._padding.top,{titleX:s,titleY:o,maxWidth:l,rotation:u}=this._drawArgs(a);aa(t,n.text,0,0,r,{color:n.color,maxWidth:l,rotation:u,textAlign:k$(n.align),textBaseline:"middle",translation:[s,o]})}}function OK(e,t){const n=new L$({ctx:e.ctx,options:t,chart:e});Ct.configure(e,n,t),Ct.addBox(e,n),e.titleBlock=n}var BK={id:"title",_element:L$,start(e,t,n){OK(e,n)},stop(e){const t=e.titleBlock;Ct.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;Ct.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Fu=new WeakMap;var IK={id:"subtitle",start(e,t,n){const r=new L$({ctx:e.ctx,options:n,chart:e});Ct.configure(e,r,n),Ct.addBox(e,r),Fu.set(e,r)},stop(e){Ct.removeBox(e,Fu.get(e)),Fu.delete(e)},beforeUpdate(e,t,n){const r=Fu.get(e);Ct.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const vo={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;t<n;++t){const o=e[t].element;if(o&&o.hasValue()){const l=o.tooltipPosition();r.add(l.x),i+=l.y,++a}}return{x:[...r].reduce((o,l)=>o+l)/r.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=Number.POSITIVE_INFINITY,a,s,o;for(a=0,s=e.length;a<s;++a){const l=e[a].element;if(l&&l.hasValue()){const u=l.getCenterPoint(),c=I3(t,u);c<i&&(i=c,o=l)}}if(o){const l=o.tooltipPosition();n=l.x,r=l.y}return{x:n,y:r}}};function zn(e,t){return t&&(Be(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function ir(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(` +`)>-1?e.split(` +`):e}function LK(e,t){const{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:s,value:o}=a.getLabelAndValue(i);return{chart:e,label:s,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:o,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function I6(e,t){const n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:s,boxHeight:o}=t,l=it(t.bodyFont),u=it(t.titleFont),c=it(t.footerFont),d=a.length,f=i.length,h=r.length,p=Pt(t.padding);let g=p.height,b=0,v=r.reduce((w,D)=>w+D.before.length+D.lines.length+D.after.length,0);if(v+=e.beforeBody.length+e.afterBody.length,d&&(g+=d*u.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),v){const w=t.displayColors?Math.max(o,l.lineHeight):l.lineHeight;g+=h*w+(v-h)*l.lineHeight+(v-1)*t.bodySpacing}f&&(g+=t.footerMarginTop+f*c.lineHeight+(f-1)*t.footerSpacing);let m=0;const $=function(w){b=Math.max(b,n.measureText(w).width+m)};return n.save(),n.font=u.string,me(e.title,$),n.font=l.string,me(e.beforeBody.concat(e.afterBody),$),m=t.displayColors?s+2+t.boxPadding:0,me(r,w=>{me(w.before,$),me(w.lines,$),me(w.after,$)}),m=0,n.font=c.string,me(e.footer,$),n.restore(),b+=p.width,{width:b,height:g}}function NK(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}function jK(e,t,n,r){const{x:i,width:a}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&i+a+s>t.width||e==="right"&&i-a-s<0)return!0}function zK(e,t,n,r){const{x:i,width:a}=n,{width:s,chartArea:{left:o,right:l}}=e;let u="center";return r==="center"?u=i<=(o+l)/2?"left":"right":i<=a/2?u="left":i>=s-a/2&&(u="right"),jK(u,e,t,n)&&(u="center"),u}function L6(e,t,n){const r=n.yAlign||t.yAlign||NK(e,n);return{xAlign:n.xAlign||t.xAlign||zK(e,t,n,r),yAlign:r}}function VK(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function WK(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function N6(e,t,n,r){const{caretSize:i,caretPadding:a,cornerRadius:s}=e,{xAlign:o,yAlign:l}=n,u=i+a,{topLeft:c,topRight:d,bottomLeft:f,bottomRight:h}=Ki(s);let p=VK(t,o);const g=WK(t,l,u);return l==="center"?o==="left"?p+=u:o==="right"&&(p-=u):o==="left"?p-=Math.max(c,f)+i:o==="right"&&(p+=Math.max(d,h)+i),{x:dt(p,0,r.width-t.width),y:dt(g,0,r.height-t.height)}}function Ou(e,t,n){const r=Pt(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function j6(e){return zn([],ir(e))}function UK(e,t,n){return gi(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function z6(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const HT={beforeTitle:nr,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:nr,beforeBody:nr,beforeLabel:nr,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return ce(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:nr,afterBody:nr,beforeFooter:nr,footer:nr,afterFooter:nr};function jt(e,t,n,r){const i=e[t].call(n,r);return typeof i>"u"?HT[t].call(n,r):i}class K3 extends Er{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,a=new _T(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=UK(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=jt(r,"beforeTitle",this,t),a=jt(r,"title",this,t),s=jt(r,"afterTitle",this,t);let o=[];return o=zn(o,ir(i)),o=zn(o,ir(a)),o=zn(o,ir(s)),o}getBeforeBody(t,n){return j6(jt(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:r}=n,i=[];return me(t,a=>{const s={before:[],lines:[],after:[]},o=z6(r,a);zn(s.before,ir(jt(o,"beforeLabel",this,a))),zn(s.lines,jt(o,"label",this,a)),zn(s.after,ir(jt(o,"afterLabel",this,a))),i.push(s)}),i}getAfterBody(t,n){return j6(jt(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:r}=n,i=jt(r,"beforeFooter",this,t),a=jt(r,"footer",this,t),s=jt(r,"afterFooter",this,t);let o=[];return o=zn(o,ir(i)),o=zn(o,ir(a)),o=zn(o,ir(s)),o}_createItems(t){const n=this._active,r=this.chart.data,i=[],a=[],s=[];let o=[],l,u;for(l=0,u=n.length;l<u;++l)o.push(LK(this.chart,n[l]));return t.filter&&(o=o.filter((c,d,f)=>t.filter(c,d,f,r))),t.itemSort&&(o=o.sort((c,d)=>t.itemSort(c,d,r))),me(o,c=>{const d=z6(t.callbacks,c);i.push(jt(d,"labelColor",this,c)),a.push(jt(d,"labelPointStyle",this,c)),s.push(jt(d,"labelTextColor",this,c))}),this.labelColors=i,this.labelPointStyles=a,this.labelTextColors=s,this.dataPoints=o,o}update(t,n){const r=this.options.setContext(this.getContext()),i=this._active;let a,s=[];if(!i.length)this.opacity!==0&&(a={opacity:0});else{const o=vo[r.position].call(this,i,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const l=this._size=I6(this,r),u=Object.assign({},o,l),c=L6(this.chart,r,u),d=N6(r,u,c,this.chart);this.xAlign=c.xAlign,this.yAlign=c.yAlign,a={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:o.x,caretY:o.y}}this._tooltipItems=s,this.$context=void 0,a&&this._resolveAnimations().update(this,a),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,i){const a=this.getCaretPosition(t,r,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)}getCaretPosition(t,n,r){const{xAlign:i,yAlign:a}=this,{caretSize:s,cornerRadius:o}=r,{topLeft:l,topRight:u,bottomLeft:c,bottomRight:d}=Ki(o),{x:f,y:h}=t,{width:p,height:g}=n;let b,v,m,$,w,D;return a==="center"?(w=h+g/2,i==="left"?(b=f,v=b-s,$=w+s,D=w-s):(b=f+p,v=b+s,$=w-s,D=w+s),m=b):(i==="left"?v=f+Math.max(l,c)+s:i==="right"?v=f+p-Math.max(u,d)-s:v=this.caretX,a==="top"?($=h,w=$-s,b=v-s,m=v+s):($=h+g,w=$+s,b=v+s,m=v-s),D=$),{x1:b,x2:v,x3:m,y1:$,y2:w,y3:D}}drawTitle(t,n,r){const i=this.title,a=i.length;let s,o,l;if(a){const u=os(r.rtl,this.x,this.width);for(t.x=Ou(this,r.titleAlign,r),n.textAlign=u.textAlign(r.titleAlign),n.textBaseline="middle",s=it(r.titleFont),o=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,l=0;l<a;++l)n.fillText(i[l],u.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+o,l+1===a&&(t.y+=r.titleMarginBottom-o)}}_drawColorBox(t,n,r,i,a){const s=this.labelColors[r],o=this.labelPointStyles[r],{boxHeight:l,boxWidth:u}=a,c=it(a.bodyFont),d=Ou(this,"left",a),f=i.x(d),h=l<c.lineHeight?(c.lineHeight-l)/2:0,p=n.y+h;if(a.usePointStyle){const g={radius:Math.min(u,l)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},b=i.leftForLtr(f,u)+u/2,v=p+l/2;t.strokeStyle=a.multiKeyBackground,t.fillStyle=a.multiKeyBackground,N3(t,g,b,v),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,N3(t,g,b,v)}else{t.lineWidth=ae(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;const g=i.leftForLtr(f,u),b=i.leftForLtr(i.xPlus(f,1),u-2),v=Ki(s.borderRadius);Object.values(v).some(m=>m!==0)?(t.beginPath(),t.fillStyle=a.multiKeyBackground,vl(t,{x:g,y:p,w:u,h:l,radius:v}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),vl(t,{x:b,y:p+1,w:u-2,h:l-2,radius:v}),t.fill()):(t.fillStyle=a.multiKeyBackground,t.fillRect(g,p,u,l),t.strokeRect(g,p,u,l),t.fillStyle=s.backgroundColor,t.fillRect(b,p+1,u-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:i}=this,{bodySpacing:a,bodyAlign:s,displayColors:o,boxHeight:l,boxWidth:u,boxPadding:c}=r,d=it(r.bodyFont);let f=d.lineHeight,h=0;const p=os(r.rtl,this.x,this.width),g=function(x){n.fillText(x,p.x(t.x+h),t.y+f/2),t.y+=f+a},b=p.textAlign(s);let v,m,$,w,D,S,k;for(n.textAlign=s,n.textBaseline="middle",n.font=d.string,t.x=Ou(this,b,r),n.fillStyle=r.bodyColor,me(this.beforeBody,g),h=o&&b!=="right"?s==="center"?u/2+c:u+2+c:0,w=0,S=i.length;w<S;++w){for(v=i[w],m=this.labelTextColors[w],n.fillStyle=m,me(v.before,g),$=v.lines,o&&$.length&&(this._drawColorBox(n,t,w,p,r),f=Math.max(d.lineHeight,l)),D=0,k=$.length;D<k;++D)g($[D]),f=d.lineHeight;me(v.after,g)}h=0,f=d.lineHeight,me(this.afterBody,g),t.y-=a}drawFooter(t,n,r){const i=this.footer,a=i.length;let s,o;if(a){const l=os(r.rtl,this.x,this.width);for(t.x=Ou(this,r.footerAlign,r),t.y+=r.footerMarginTop,n.textAlign=l.textAlign(r.footerAlign),n.textBaseline="middle",s=it(r.footerFont),n.fillStyle=r.footerColor,n.font=s.string,o=0;o<a;++o)n.fillText(i[o],l.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+r.footerSpacing}}drawBackground(t,n,r,i){const{xAlign:a,yAlign:s}=this,{x:o,y:l}=t,{width:u,height:c}=r,{topLeft:d,topRight:f,bottomLeft:h,bottomRight:p}=Ki(i.cornerRadius);n.fillStyle=i.backgroundColor,n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.beginPath(),n.moveTo(o+d,l),s==="top"&&this.drawCaret(t,n,r,i),n.lineTo(o+u-f,l),n.quadraticCurveTo(o+u,l,o+u,l+f),s==="center"&&a==="right"&&this.drawCaret(t,n,r,i),n.lineTo(o+u,l+c-p),n.quadraticCurveTo(o+u,l+c,o+u-p,l+c),s==="bottom"&&this.drawCaret(t,n,r,i),n.lineTo(o+h,l+c),n.quadraticCurveTo(o,l+c,o,l+c-h),s==="center"&&a==="left"&&this.drawCaret(t,n,r,i),n.lineTo(o,l+d),n.quadraticCurveTo(o,l,o+d,l),n.closePath(),n.fill(),i.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,i=r&&r.x,a=r&&r.y;if(i||a){const s=vo[t.position].call(this,this._active,this._eventPosition);if(!s)return;const o=this._size=I6(this,t),l=Object.assign({},s,this._size),u=L6(n,t,l),c=N6(t,l,u,n);(i._to!==c.x||a._to!==c.y)&&(this.xAlign=u.xAlign,this.yAlign=u.yAlign,this.width=o.width,this.height=o.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},a={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=Pt(n.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&o&&(t.save(),t.globalAlpha=r,this.drawBackground(a,t,i,n),yT(t,n.textDirection),a.y+=s.top,this.drawTitle(a,t,n),this.drawBody(a,t,n),this.drawFooter(a,t,n),$T(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,i=t.map(({datasetIndex:o,index:l})=>{const u=this.chart.getDatasetMeta(o);if(!u)throw new Error("Cannot find a dataset at index "+o);return{datasetIndex:o,element:u.data[l],index:l}}),a=!Ld(r,i),s=this._positionChanged(i,n);(a||s)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,a=this._active||[],s=this._getActiveElements(t,a,n,r),o=this._positionChanged(s,t),l=n||!Ld(s,a)||o;return l&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,r,i){const a=this.options;if(t.type==="mouseout")return[];if(!i)return n.filter(o=>this.chart.data.datasets[o.datasetIndex]&&this.chart.getDatasetMeta(o.datasetIndex).controller.getParsed(o.index)!==void 0);const s=this.chart.getElementsAtEventForMode(t,a.mode,a,r);return a.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:r,caretY:i,options:a}=this,s=vo[a.position].call(this,t,n);return s!==!1&&(r!==s.x||i!==s.y)}}j(K3,"positioners",vo);var N$={id:"tooltip",_element:K3,positioners:vo,afterInit(e,t,n){n&&(e.tooltip=new K3({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:HT},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},HK=Object.freeze({__proto__:null,Colors:iK,Decimation:lK,Filler:kK,Legend:FK,SubTitle:IK,Title:BK,Tooltip:N$});const KK=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function YK(e,t,n,r){const i=e.indexOf(t);if(i===-1)return KK(e,t,n,r);const a=e.lastIndexOf(t);return i!==a?n:i}const qK=(e,t)=>e===null?null:dt(Math.round(e),0,t);function V6(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class yl extends ga{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:a}of n)r[i]===a&&r.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(ce(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:YK(r,t,J(n,t),this._addedLabels),qK(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,i=[];let a=this.getLabels();a=t===0&&n===a.length-1?a:a.slice(t,n+1),this._valueRange=Math.max(a.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=t;s<=n;s++)i.push({value:s});return i}getLabelForValue(t){return V6.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}j(yl,"id","category"),j(yl,"defaults",{ticks:{callback:V6}});function GK(e,t){const n=[],{bounds:i,step:a,min:s,max:o,precision:l,count:u,maxTicks:c,maxDigits:d,includeBounds:f}=e,h=a||1,p=c-1,{min:g,max:b}=t,v=!ce(s),m=!ce(o),$=!ce(u),w=(b-g)/(d+1);let D=B5((b-g)/p/h)*h,S,k,x,T;if(D<1e-14&&!v&&!m)return[{value:g},{value:b}];T=Math.ceil(b/D)-Math.floor(g/D),T>p&&(D=B5(T*D/p/h)*h),ce(l)||(S=Math.pow(10,l),D=Math.ceil(D*S)/S),i==="ticks"?(k=Math.floor(g/D)*D,x=Math.ceil(b/D)*D):(k=g,x=b),v&&m&&a&&UV((o-s)/a,D/1e3)?(T=Math.round(Math.min((o-s)/D,c)),D=(o-s)/T,k=s,x=o):$?(k=v?s:k,x=m?o:x,T=u-1,D=(x-k)/T):(T=(x-k)/D,Fo(T,Math.round(T),D/1e3)?T=Math.round(T):T=Math.ceil(T));const P=Math.max(I5(D),I5(k));S=Math.pow(10,ce(l)?P:l),k=Math.round(k*S)/S,x=Math.round(x*S)/S;let E=0;for(v&&(f&&k!==s?(n.push({value:s}),k<s&&E++,Fo(Math.round((k+E*D)*S)/S,s,W6(s,w,e))&&E++):k<s&&E++);E<T;++E){const A=Math.round((k+E*D)*S)/S;if(m&&A>o)break;n.push({value:A})}return m&&f&&x!==o?n.length&&Fo(n[n.length-1].value,o,W6(o,w,e))?n[n.length-1].value=o:n.push({value:o}):(!m||x===o)&&n.push({value:x}),n}function W6(e,t,{horizontal:n,minRotation:r}){const i=Mn(r),a=(n?Math.sin(i):Math.cos(i))||.001,s=.75*t*(""+e).length;return Math.min(t/a,s)}class Hd extends ga{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return ce(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:i,max:a}=this;const s=l=>i=n?i:l,o=l=>a=r?a:l;if(t){const l=qn(i),u=qn(a);l<0&&u<0?o(0):l>0&&u>0&&s(0)}if(i===a){let l=a===0?1:Math.abs(a*.05);o(a+l),t||s(i-l)}this.min=i,this.max=a}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},a=this._range||this,s=GK(i,a);return t.bounds==="ticks"&&nT(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const i=(r-n)/Math.max(t.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return Ll(t,this.chart.options.locale,this.options.ticks.format)}}class $l extends Hd{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Ve(t)?t:0,this.max=Ve(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=Mn(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,a.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}j($l,"id","linear"),j($l,"defaults",{ticks:{callback:Af.formatters.numeric}});const xl=e=>Math.floor(Hr(e)),_i=(e,t)=>Math.pow(10,xl(e)+t);function U6(e){return e/Math.pow(10,xl(e))===1}function H6(e,t,n){const r=Math.pow(10,n),i=Math.floor(e/r);return Math.ceil(t/r)-i}function ZK(e,t){const n=t-e;let r=xl(n);for(;H6(e,t,r)>10;)r++;for(;H6(e,t,r)<10;)r--;return Math.min(r,xl(e))}function XK(e,{min:t,max:n}){t=en(e.min,t);const r=[],i=xl(t);let a=ZK(t,n),s=a<0?Math.pow(10,Math.abs(a)):1;const o=Math.pow(10,a),l=i>a?Math.pow(10,i):0,u=Math.round((t-l)*s)/s,c=Math.floor((t-l)/o/10)*o*10;let d=Math.floor((u-c)/Math.pow(10,a)),f=en(e.min,Math.round((l+c+d*Math.pow(10,a))*s)/s);for(;f<n;)r.push({value:f,major:U6(f),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,s=a>=0?1:s),f=Math.round((l+c+d*Math.pow(10,a))*s)/s;const h=en(e.max,f);return r.push({value:h,major:U6(h),significand:d}),r}class Y3 extends ga{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const r=Hd.prototype.parse.apply(this,[t,n]);if(r===0){this._zero=!0;return}return Ve(r)&&r>0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Ve(t)?Math.max(0,t):null,this.max=Ve(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Ve(this._userMin)&&(this.min=t===_i(this.min,0)?_i(this.min,-1):_i(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,i=this.max;const a=o=>r=t?r:o,s=o=>i=n?i:o;r===i&&(r<=0?(a(1),s(10)):(a(_i(r,-1)),s(_i(i,1)))),r<=0&&a(_i(i,-1)),i<=0&&s(_i(r,1)),this.min=r,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=XK(n,this);return t.bounds==="ticks"&&nT(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":Ll(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Hr(t),this._valueRange=Hr(this.max)-Hr(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Hr(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}j(Y3,"id","logarithmic"),j(Y3,"defaults",{ticks:{callback:Af.formatters.logarithmic,major:{enabled:!0}}});function q3(e){const t=e.ticks;if(t.display&&e.display){const n=Pt(t.backdropPadding);return J(t.font&&t.font.size,We.font.size)+n.height}return 0}function QK(e,t,n){return n=Be(n)?n:[n],{w:oW(e,t.string,n),h:n.length*t.lineHeight}}function K6(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n,end:t}:{start:t,end:t+n}}function JK(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,s=e.options.pointLabels,o=s.centerPointLabels?Me/a:0;for(let l=0;l<a;l++){const u=s.setContext(e.getPointLabelContext(l));i[l]=u.padding;const c=e.getPointPosition(l,e.drawingArea+i[l],o),d=it(u.font),f=QK(e.ctx,d,e._pointLabels[l]);r[l]=f;const h=nn(e.getIndexAngle(l)+o),p=Math.round(S$(h)),g=K6(p,c.x,f.w,0,180),b=K6(p,c.y,f.h,90,270);eY(n,t,h,g,b)}e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=rY(e,r,i)}function eY(e,t,n,r,i){const a=Math.abs(Math.sin(n)),s=Math.abs(Math.cos(n));let o=0,l=0;r.start<t.l?(o=(t.l-r.start)/a,e.l=Math.min(e.l,t.l-o)):r.end>t.r&&(o=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+o)),i.start<t.t?(l=(t.t-i.start)/s,e.t=Math.min(e.t,t.t-l)):i.end>t.b&&(l=(i.end-t.b)/s,e.b=Math.max(e.b,t.b+l))}function tY(e,t,n){const r=e.drawingArea,{extra:i,additionalAngle:a,padding:s,size:o}=n,l=e.getPointPosition(t,r+i+s,a),u=Math.round(S$(nn(l.angle+qe))),c=sY(l.y,o.h,u),d=iY(u),f=aY(l.x,o.w,d);return{visible:!0,x:l.x,y:c,textAlign:d,left:f,top:c,right:f+o.w,bottom:c+o.h}}function nY(e,t){if(!t)return!0;const{left:n,top:r,right:i,bottom:a}=e;return!(mr({x:n,y:r},t)||mr({x:n,y:a},t)||mr({x:i,y:r},t)||mr({x:i,y:a},t))}function rY(e,t,n){const r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:s,display:o}=a.pointLabels,l={extra:q3(a)/2,additionalAngle:s?Me/i:0};let u;for(let c=0;c<i;c++){l.padding=n[c],l.size=t[c];const d=tY(e,c,l);r.push(d),o==="auto"&&(d.visible=nY(d,u),d.visible&&(u=d))}return r}function iY(e){return e===0||e===180?"center":e<180?"left":"right"}function aY(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function sY(e,t,n){return n===90||n===270?e-=t/2:(n>270||n<90)&&(e-=t),e}function oY(e,t,n){const{left:r,top:i,right:a,bottom:s}=n,{backdropColor:o}=t;if(!ce(o)){const l=Ki(t.borderRadius),u=Pt(t.backdropPadding);e.fillStyle=o;const c=r-u.left,d=i-u.top,f=a-r+u.width,h=s-i+u.height;Object.values(l).some(p=>p!==0)?(e.beginPath(),vl(e,{x:c,y:d,w:f,h,radius:l}),e.fill()):e.fillRect(c,d,f,h)}}function lY(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){const a=e._pointLabelItems[i];if(!a.visible)continue;const s=r.setContext(e.getPointLabelContext(i));oY(n,s,a);const o=it(s.font),{x:l,y:u,textAlign:c}=a;aa(n,e._pointLabels[i],l,u+o.lineHeight/2,o,{color:s.color,textAlign:c,textBaseline:"middle"})}}function KT(e,t,n,r){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,Te);else{let a=e.getPointPosition(0,t);i.moveTo(a.x,a.y);for(let s=1;s<r;s++)a=e.getPointPosition(s,t),i.lineTo(a.x,a.y)}}function uY(e,t,n,r,i){const a=e.ctx,s=t.circular,{color:o,lineWidth:l}=t;!s&&!r||!o||!l||n<0||(a.save(),a.strokeStyle=o,a.lineWidth=l,a.setLineDash(i.dash),a.lineDashOffset=i.dashOffset,a.beginPath(),KT(e,n,s,r),a.closePath(),a.stroke(),a.restore())}function cY(e,t,n){return gi(e,{label:n,index:t,type:"pointLabel"})}class bo extends Hd{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Pt(q3(this.options)/2),n=this.width=this.maxWidth-t.width,r=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+n/2+t.left),this.yCenter=Math.floor(this.top+r/2+t.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!1);this.min=Ve(t)&&!isNaN(t)?t:0,this.max=Ve(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/q3(this.options))}generateTickLabels(t){Hd.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((n,r)=>{const i=De(this.options.pointLabels.callback,[n,r],this);return i||i===0?i:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?JK(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,i))}getIndexAngle(t){const n=Te/(this._pointLabels.length||1),r=this.options.startAngle||0;return nn(t*n+Mn(r))}getDistanceFromCenterForValue(t){if(ce(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(ce(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t<n.length){const r=n[t];return cY(this.getContext(),t,r)}}getPointPosition(t,n,r=0){const i=this.getIndexAngle(t)-qe+r;return{x:Math.cos(i)*n+this.xCenter,y:Math.sin(i)*n+this.yCenter,angle:i}}getPointPositionForValue(t,n){return this.getPointPosition(t,this.getDistanceFromCenterForValue(n))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:n,top:r,right:i,bottom:a}=this._pointLabelItems[t];return{left:n,top:r,right:i,bottom:a}}drawBackground(){const{backgroundColor:t,grid:{circular:n}}=this.options;if(t){const r=this.ctx;r.save(),r.beginPath(),KT(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}drawGrid(){const t=this.ctx,n=this.options,{angleLines:r,grid:i,border:a}=n,s=this._pointLabels.length;let o,l,u;if(n.pointLabels.display&&lY(this,s),i.display&&this.ticks.forEach((c,d)=>{if(d!==0||d===0&&this.min<0){l=this.getDistanceFromCenterForValue(c.value);const f=this.getContext(d),h=i.setContext(f),p=a.setContext(f);uY(this,h,l,s,p)}}),r.display){for(t.save(),o=s-1;o>=0;o--){const c=r.setContext(this.getPointLabelContext(o)),{color:d,lineWidth:f}=c;!f||!d||(t.lineWidth=f,t.strokeStyle=d,t.setLineDash(c.borderDash),t.lineDashOffset=c.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),u=this.getPointPosition(o,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(u.x,u.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let a,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((o,l)=>{if(l===0&&this.min>=0&&!n.reverse)return;const u=r.setContext(this.getContext(l)),c=it(u.font);if(a=this.getDistanceFromCenterForValue(this.ticks[l].value),u.showLabelBackdrop){t.font=c.string,s=t.measureText(o.label).width,t.fillStyle=u.backdropColor;const d=Pt(u.backdropPadding);t.fillRect(-s/2-d.left,-a-c.size/2-d.top,s+d.width,c.size+d.height)}aa(t,o.label,0,-a,c,{color:u.color,strokeColor:u.textStrokeColor,strokeWidth:u.textStrokeWidth})}),t.restore()}drawTitle(){}}j(bo,"id","radialLinear"),j(bo,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Af.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),j(bo,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),j(bo,"descriptors",{angleLines:{_fallback:"grid"}});const If={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ht=Object.keys(If);function Y6(e,t){return e-t}function q6(e,t){if(ce(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts;let s=t;return typeof r=="function"&&(s=r(s)),Ve(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(i&&(s=i==="week"&&(xs(a)||a===!0)?n.startOf(s,"isoWeek",a):n.startOf(s,i)),+s)}function G6(e,t,n,r){const i=Ht.length;for(let a=Ht.indexOf(e);a<i-1;++a){const s=If[Ht[a]],o=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-t)/(o*s.size))<=r)return Ht[a]}return Ht[i-1]}function dY(e,t,n,r,i){for(let a=Ht.length-1;a>=Ht.indexOf(n);a--){const s=Ht[a];if(If[s].common&&e._adapter.diff(i,r,s)>=t-1)return s}return Ht[n?Ht.indexOf(n):0]}function fY(e){for(let t=Ht.indexOf(e)+1,n=Ht.length;t<n;++t)if(If[Ht[t]].common)return Ht[t]}function Z6(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:r,hi:i}=C$(n,t),a=n[r]>=t?n[r]:n[i];e[a]=!0}}function hY(e,t,n,r){const i=e._adapter,a=+i.startOf(t[0].value,r),s=t[t.length-1].value;let o,l;for(o=a;o<=s;o=+i.add(o,1,r))l=n[o],l>=0&&(t[l].major=!0);return t}function X6(e,t,n){const r=[],i={},a=t.length;let s,o;for(s=0;s<a;++s)o=t[s],i[o]=s,r.push({value:o,major:!1});return a===0||!n?r:hY(e,r,i,n)}class wl extends ga{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const r=t.time||(t.time={}),i=this._adapter=new DU._date(t.adapters.date);i.init(n),Ao(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:q6(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,r=t.time.unit||"day";let{min:i,max:a,minDefined:s,maxDefined:o}=this.getUserBounds();function l(u){!s&&!isNaN(u.min)&&(i=Math.min(i,u.min)),!o&&!isNaN(u.max)&&(a=Math.max(a,u.max))}(!s||!o)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),i=Ve(i)&&!isNaN(i)?i:+n.startOf(Date.now(),r),a=Ve(a)&&!isNaN(a)?a:+n.endOf(Date.now(),r)+1,this.min=Math.min(i,a-1),this.max=Math.max(i+1,a)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],r=t[t.length-1]),{min:n,max:r}}buildTicks(){const t=this.options,n=t.time,r=t.ticks,i=r.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const a=this.min,s=this.max,o=qV(i,a,s);return this._unit=n.unit||(r.autoSkip?G6(n.minUnit,this.min,this.max,this._getLabelCapacity(a)):dY(this,o.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:fY(this._unit),this.initOffsets(i),t.reverse&&o.reverse(),X6(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,r=0,i,a;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,a=this.getDecimalForValue(t[t.length-1]),t.length===1?r=a:r=(a-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=dt(n,0,s),r=dt(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,i=this.options,a=i.time,s=a.unit||G6(a.minUnit,n,r,this._getLabelCapacity(n)),o=J(i.ticks.stepSize,1),l=s==="week"?a.isoWeekday:!1,u=xs(l)||l===!0,c={};let d=n,f,h;if(u&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,u?"day":s),t.diff(r,n,s)>1e5*o)throw new Error(n+" and "+r+" are too far apart with stepSize of "+o+" "+s);const p=i.ticks.source==="data"&&this.getDataTimestamps();for(f=d,h=0;f<r;f=+t.add(f,o,s),h++)Z6(c,f,p);return(f===r||i.bounds==="ticks"||h===1)&&Z6(c,f,p),Object.keys(c).sort(Y6).map(g=>+g)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}format(t,n){const i=this.options.time.displayFormats,a=this._unit,s=n||i[a];return this._adapter.format(t,s)}_tickFormatFunction(t,n,r,i){const a=this.options,s=a.ticks.callback;if(s)return De(s,[t,n,r],this);const o=a.time.displayFormats,l=this._unit,u=this._majorUnit,c=l&&o[l],d=u&&o[u],f=r[n],h=u&&d&&f&&f.major;return this._adapter.format(t,i||(h?d:c))}generateTickLabels(t){let n,r,i;for(n=0,r=t.length;n<r;++n)i=t[n],i.label=this._tickFormatFunction(i.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,r=this.ctx.measureText(t).width,i=Mn(this.isHorizontal()?n.maxRotation:n.minRotation),a=Math.cos(i),s=Math.sin(i),o=this._resolveTickFontOptions(0).size;return{w:r*a+o*s,h:r*s+o*a}}_getLabelCapacity(t){const n=this.options.time,r=n.displayFormats,i=r[n.unit]||r.millisecond,a=this._tickFormatFunction(t,0,X6(this,[t],this._majorUnit),i),s=this._getLabelSize(a),o=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return o>0?o:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n<r;++n)t=t.concat(i[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,r;if(t.length)return t;const i=this.getLabels();for(n=0,r=i.length;n<r;++n)t.push(q6(this,i[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return aT(t.sort(Y6))}}j(wl,"id","time"),j(wl,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Bu(e,t,n){let r=0,i=e.length-1,a,s,o,l;n?(t>=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=pr(e,"pos",t)),{pos:a,time:o}=e[r],{pos:s,time:l}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=pr(e,"time",t)),{time:a,pos:o}=e[r],{time:s,pos:l}=e[i]);const u=s-a;return u?o+(l-o)*(t-a)/u:o}class G3 extends wl{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=Bu(n,this.min),this._tableRange=Bu(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,i=[],a=[];let s,o,l,u,c;for(s=0,o=t.length;s<o;++s)u=t[s],u>=n&&u<=r&&i.push(u);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,o=i.length;s<o;++s)c=i[s+1],l=i[s-1],u=i[s],Math.round((c+l)/2)!==u&&a.push({time:u,pos:s/(o-1)});return a}_generate(){const t=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(t)||!r.length)&&r.splice(0,0,t),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((i,a)=>i-a)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?t=this.normalize(n.concat(r)):t=n.length?n:r,t=this._cache.all=t,t}getDecimalForValue(t){return(Bu(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return Bu(this._table,r*this._tableRange+this._minPos,!0)}}j(G3,"id","timeseries"),j(G3,"defaults",wl.defaults);var pY=Object.freeze({__proto__:null,CategoryScale:yl,LinearScale:$l,LogarithmicScale:Y3,RadialLinearScale:bo,TimeScale:wl,TimeSeriesScale:G3});const mY=[wU,QH,HK,pY];Ms.register(...mY);function Nn(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function sa(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const YT=6048e5,gY=864e5;let vY={};function Lf(){return vY}function Dl(e,t){var o,l,u,c;const n=Lf(),r=(t==null?void 0:t.weekStartsOn)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,i=Nn(e),a=i.getDay(),s=(a<r?7:0)+a-r;return i.setDate(i.getDate()-s),i.setHours(0,0,0,0),i}function Kd(e){return Dl(e,{weekStartsOn:1})}function qT(e){const t=Nn(e),n=t.getFullYear(),r=sa(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const i=Kd(r),a=sa(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const s=Kd(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function Q6(e){const t=Nn(e);return t.setHours(0,0,0,0),t}function J6(e){const t=Nn(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}function bY(e,t){const n=Q6(e),r=Q6(t),i=+n-J6(n),a=+r-J6(r);return Math.round((i-a)/gY)}function yY(e){const t=qT(e),n=sa(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Kd(n)}function $Y(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function xY(e){if(!$Y(e)&&typeof e!="number")return!1;const t=Nn(e);return!isNaN(Number(t))}function wY(e){const t=Nn(e),n=sa(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const DY={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"}},_Y=(e,t,n)=>{let r;const i=DY[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function hp(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const EY={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},SY={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},CY={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},kY={date:hp({formats:EY,defaultWidth:"full"}),time:hp({formats:SY,defaultWidth:"full"}),dateTime:hp({formats:CY,defaultWidth:"full"})},PY={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},TY=(e,t,n,r)=>PY[e];function eo(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):s;i=e.formattingValues[o]||e.formattingValues[s]}else{const s=e.defaultWidth,o=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[o]||e.values[s]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const RY={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},MY={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},AY={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"]},FY={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"]},OY={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"}},BY={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"}},IY=(e,t)=>{const 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"},LY={ordinalNumber:IY,era:eo({values:RY,defaultWidth:"wide"}),quarter:eo({values:MY,defaultWidth:"wide",argumentCallback:e=>e-1}),month:eo({values:AY,defaultWidth:"wide"}),day:eo({values:FY,defaultWidth:"wide"}),dayPeriod:eo({values:OY,defaultWidth:"wide",formattingValues:BY,defaultFormattingWidth:"wide"})};function to(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const s=a[0],o=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(o)?jY(o,d=>d.test(s)):NY(o,d=>d.test(s));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(s.length);return{value:u,rest:c}}}function NY(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function jY(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function zY(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],a=t.match(e.parsePattern);if(!a)return null;let s=e.valueCallback?e.valueCallback(a[0]):a[0];s=n.valueCallback?n.valueCallback(s):s;const o=t.slice(i.length);return{value:s,rest:o}}}const VY=/^(\d+)(th|st|nd|rd)?/i,WY=/\d+/i,UY={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},HY={any:[/^b/i,/^(a|c)/i]},KY={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},YY={any:[/1/i,/2/i,/3/i,/4/i]},qY={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},GY={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]},ZY={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},XY={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]},QY={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},JY={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}},eq={ordinalNumber:zY({matchPattern:VY,parsePattern:WY,valueCallback:e=>parseInt(e,10)}),era:to({matchPatterns:UY,defaultMatchWidth:"wide",parsePatterns:HY,defaultParseWidth:"any"}),quarter:to({matchPatterns:KY,defaultMatchWidth:"wide",parsePatterns:YY,defaultParseWidth:"any",valueCallback:e=>e+1}),month:to({matchPatterns:qY,defaultMatchWidth:"wide",parsePatterns:GY,defaultParseWidth:"any"}),day:to({matchPatterns:ZY,defaultMatchWidth:"wide",parsePatterns:XY,defaultParseWidth:"any"}),dayPeriod:to({matchPatterns:QY,defaultMatchWidth:"any",parsePatterns:JY,defaultParseWidth:"any"})},tq={code:"en-US",formatDistance:_Y,formatLong:kY,formatRelative:TY,localize:LY,match:eq,options:{weekStartsOn:0,firstWeekContainsDate:1}};function nq(e){const t=Nn(e);return bY(t,wY(t))+1}function rq(e){const t=Nn(e),n=+Kd(t)-+yY(t);return Math.round(n/YT)+1}function GT(e,t){var c,d,f,h;const n=Nn(e),r=n.getFullYear(),i=Lf(),a=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??i.firstWeekContainsDate??((h=(f=i.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??1,s=sa(e,0);s.setFullYear(r+1,0,a),s.setHours(0,0,0,0);const o=Dl(s,t),l=sa(e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const u=Dl(l,t);return n.getTime()>=o.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function iq(e,t){var o,l,u,c;const n=Lf(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,i=GT(e,t),a=sa(e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),Dl(a,t)}function aq(e,t){const n=Nn(e),r=+Dl(n,t)-+iq(n,t);return Math.round(r/YT)+1}function pe(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const kr={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return pe(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):pe(n+1,2)},d(e,t){return pe(e.getDate(),t.length)},a(e,t){const 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];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return pe(e.getHours()%12||12,t.length)},H(e,t){return pe(e.getHours(),t.length)},m(e,t){return pe(e.getMinutes(),t.length)},s(e,t){return pe(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return pe(i,t.length)}},ka={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ew={G:function(e,t,n){const 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"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return kr.y(e,t)},Y:function(e,t,n,r){const i=GT(e,r),a=i>0?i:1-i;if(t==="YY"){const s=a%100;return pe(s,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):pe(a,t.length)},R:function(e,t){const n=qT(e);return pe(n,t.length)},u:function(e,t){const n=e.getFullYear();return pe(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return pe(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"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return pe(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"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return kr.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"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return pe(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"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=aq(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):pe(i,t.length)},I:function(e,t,n){const r=rq(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):pe(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):kr.d(e,t)},D:function(e,t,n){const r=nq(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):pe(r,t.length)},E:function(e,t,n){const 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"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return pe(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return pe(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return pe(i,t.length);case"io":return n.ordinalNumber(i,{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"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(r===12?i=ka.noon:r===0?i=ka.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(r>=17?i=ka.evening:r>=12?i=ka.afternoon:r>=4?i=ka.morning:i=ka.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return kr.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):kr.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):pe(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):pe(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):kr.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):kr.s(e,t)},S:function(e,t){return kr.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return nw(r);case"XXXX":case"XX":return Mi(r);case"XXXXX":case"XXX":default:return Mi(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return nw(r);case"xxxx":case"xx":return Mi(r);case"xxxxx":case"xxx":default:return Mi(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+tw(r,":");case"OOOO":default:return"GMT"+Mi(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+tw(r,":");case"zzzz":default:return"GMT"+Mi(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return pe(r,t.length)},T:function(e,t,n){const r=e.getTime();return pe(r,t.length)}};function tw(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+pe(a,2)}function nw(e,t){return e%60===0?(e>0?"-":"+")+pe(Math.abs(e)/60,2):Mi(e,t)}function Mi(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=pe(Math.trunc(r/60),2),a=pe(r%60,2);return n+i+t+a}const rw=(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"});case"PPPP":default:return t.date({width:"full"})}},ZT=(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"});case"pppp":default:return t.time({width:"full"})}},sq=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return rw(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",rw(r,t)).replace("{{time}}",ZT(i,t))},oq={p:ZT,P:sq},lq=/^D+$/,uq=/^Y+$/,cq=["D","DD","YY","YYYY"];function dq(e){return lq.test(e)}function fq(e){return uq.test(e)}function hq(e,t,n){const r=pq(e,t,n);if(console.warn(r),cq.includes(e))throw new RangeError(r)}function pq(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const mq=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,gq=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,vq=/^'([^]*?)'?$/,bq=/''/g,yq=/[a-zA-Z]/;function $q(e,t,n){var c,d,f,h;const r=Lf(),i=r.locale??tq,a=r.firstWeekContainsDate??((d=(c=r.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,s=r.weekStartsOn??((h=(f=r.locale)==null?void 0:f.options)==null?void 0:h.weekStartsOn)??0,o=Nn(e);if(!xY(o))throw new RangeError("Invalid time value");let l=t.match(gq).map(p=>{const g=p[0];if(g==="p"||g==="P"){const b=oq[g];return b(p,i.formatLong)}return p}).join("").match(mq).map(p=>{if(p==="''")return{isToken:!1,value:"'"};const g=p[0];if(g==="'")return{isToken:!1,value:xq(p)};if(ew[g])return{isToken:!0,value:p};if(g.match(yq))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:p}});i.localize.preprocessor&&(l=i.localize.preprocessor(o,l));const u={firstWeekContainsDate:a,weekStartsOn:s,locale:i};return l.map(p=>{if(!p.isToken)return p.value;const g=p.value;(fq(g)||dq(g))&&hq(g,t,String(e));const b=ew[g[0]];return b(o,g,i.localize,u)}).join("")}function xq(e){const t=e.match(vq);return t?t[1].replace(bq,"'"):e}const XT="label";function iw(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function wq(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function QT(e,t){e.labels=t}function JT(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:XT;const r=[];e.datasets=t.map(i=>{const a=e.datasets.find(s=>s[n]===i[n]);return!a||!i.data||r.includes(a)?{...i}:(r.push(a),Object.assign(a,i),a)})}function Dq(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:XT;const n={labels:[],datasets:[]};return QT(n,e.labels),JT(n,e.datasets,t),n}function _q(e,t){const{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:a,type:s,data:o,options:l,plugins:u=[],fallbackContent:c,updateMode:d,...f}=e,h=y.useRef(null),p=y.useRef(),g=()=>{h.current&&(p.current=new Ms(h.current,{type:s,data:Dq(o,a),options:l&&{...l},plugins:u}),iw(t,p.current))},b=()=>{iw(t,null),p.current&&(p.current.destroy(),p.current=null)};return y.useEffect(()=>{!i&&p.current&&l&&wq(p.current,l)},[i,l]),y.useEffect(()=>{!i&&p.current&&QT(p.current.config.data,o.labels)},[i,o.labels]),y.useEffect(()=>{!i&&p.current&&o.datasets&&JT(p.current.config.data,o.datasets,a)},[i,o.datasets]),y.useEffect(()=>{p.current&&(i?(b(),setTimeout(g)):p.current.update(d))},[i,l,o.labels,o.datasets,d]),y.useEffect(()=>{p.current&&(b(),setTimeout(g))},[s]),y.useEffect(()=>(g(),()=>b()),[]),_.createElement("canvas",Object.assign({ref:h,role:"img",height:n,width:r},f),c)}const Eq=y.forwardRef(_q);function eR(e,t){return Ms.register(t),y.forwardRef((n,r)=>_.createElement(Eq,Object.assign({},n,{ref:r,type:e})))}const Sq=eR("line",Io),Cq=eR("polarArea",ls);function tR(){return I.jsx(I.Fragment,{children:I.jsx("div",{className:"block bg-white-500 border border-gray-200 rounded-lg shadow",children:I.jsx("div",{children:"No data"})})})}Ms.register(yl,$l,us,Hn,N$);function kq(e){const t={responsive:!0,scales:{x:{grid:{display:!1}},y:{min:0,ticks:{stepSize:1,callback:function(i,a,s){return i+"wps"}},grid:{display:!1}}}},[n,r]=y.useState({labels:[],datasets:[]});return y.useEffect(()=>{(async()=>{const a=e.timeframe.end.toDate(),s=e.timeframe.start.toDate();s.setHours(s.getHours()-12);const o=12,{data:l}=await e.supabase.from("file").select("timestamp").gte("timestamp",s.toISOString()).lte("timestamp",a.toISOString());if(console.log(l),l.length===0)return;const u=new Date(s),d=(+new Date(a)-+u)/o;let f=Array(o).fill(""),h=Array(o).fill(0);for(let p=0;p<o;p++){const g=new Date(u.getTime()+p*d),b=new Date(u.getTime()+(p+1)*d);f[p]=$q(b,"MM/dd - HH:mm"),h[p]=l.filter(v=>{const m=new Date(v.timestamp);return m>=g&&m<b}).length}console.log("LABELS",f),console.log("POINTS",h),r({labels:f,datasets:[{label:"Dataset",data:h,borderColor:"rgb(53, 162, 235)",backgroundColor:"rgba(53, 162, 235, 0.5)"}]})})()},[e.timeframe]),I.jsxs("div",{children:[I.jsx("p",{className:"text-center",children:e.name}),n.datasets.length>0?I.jsx(Sq,{data:n,options:t}):I.jsx(tR,{})]})}function Pq(e){return I.jsx(I.Fragment,{children:I.jsx(sV,{"aria-label":"timeframe",value:e.timeframe,onChange:e.setTimeframe})})}function Iu(e,t){var n=e.length*t;if(e.length===0)throw new Error("quantile requires at least one data point.");if(t<0||t>1)throw new Error("quantiles must be between 0 and 1");return t===1?e[e.length-1]:t===0?e[0]:n%1!==0?e[Math.ceil(n)-1]:e.length%2===0?(e[n-1]+e[n])/2:e[n]}Ms.register(yl,$l,us,Hn,N$);function Tq(e){const t={responsive:!0},[n,r]=y.useState({labels:[],datasets:[]});return y.useEffect(()=>{(async()=>{const a=e.timeframe.end.toDate(),s=e.timeframe.start.toDate();s.setHours(s.getHours()-12);const{data:o}=await e.supabase.from("file").select("contents").gte("timestamp",s.toISOString()).lte("timestamp",a.toISOString());if(console.log("RAWDATA",o),o.length===0)return;let l=o.map(h=>h.contents.length).sort((h,p)=>h-p);console.log("TOP LENGTHS",l);let u=Iu(l,.25),c=Iu(l,.5),d=Iu(l,.75),f=Iu(l,1);console.log("p25: ",u),console.log("p50: ",c),console.log("p75: ",d),console.log("p100: ",f),r({labels:["p25","p50","p75","p100"],datasets:[{data:[u,c,d,f]}]})})()},[e.timeframe]),console.log("length: aaa",n.datasets.length),I.jsxs("div",{className:"flex-grow flex-1",children:[I.jsx("p",{className:"text-center",children:e.name}),n.datasets.length>0?I.jsx(Cq,{data:n,options:t}):I.jsx(tR,{})]})}function Rq(e){const t=hf(),[n,r]=y.useState([]);y.useEffect(()=>{e.session||t("/login")},[e.session]);const i=y.useCallback(async()=>{const{data:a,error:s}=await e.supabase.from("file").select();if(s){console.error(s);return}r(a.map(o=>o))},[e.supabase]);return y.useEffect(()=>{i()},[]),I.jsx(I.Fragment,{children:I.jsxs("div",{className:"flex h-screen",children:[I.jsx(ZP,{currentPage:"Home"}),I.jsx("main",{className:"overflow-y-auto flex flex-col flex-1 mx-5",children:I.jsxs("div",{className:"flex flex-col w-full gap-7 flex-grow",children:[I.jsx("div",{className:"flex flex-row gap-7 flex-grow",children:I.jsx("div",{className:"ml-auto mt-2",children:I.jsx(Pq,{timeframe:e.timeframe,setTimeframe:e.setTimeframe})})}),I.jsxs("div",{className:"flex flex-row gap-7 flex-grow",children:[I.jsxs("div",{className:"w-1/2 flex flex-col",children:[I.jsx("p",{className:"text-center",children:"Active hosts"}),I.jsx("div",{className:"flex-grow block bg-white-500 border border-gray-200 rounded-lg shadow",children:I.jsxs("ol",{children:[I.jsx("li",{children:"Host 1"}),I.jsx("li",{children:"Host 2"})]})})]}),I.jsx("div",{className:"w-1/2 ml-auto",children:I.jsx(kq,{name:"File writes per second",supabase:e.supabase,timeframe:e.timeframe})})]}),I.jsxs("div",{className:"flex flex-row gap-7 mb-5 flex-grow",children:[I.jsx("div",{className:"w-1/2 mr-auto",children:I.jsx(Tq,{name:"File writes size percentiles",supabase:e.supabase,timeframe:e.timeframe})}),I.jsxs("div",{className:"w-1/2 flex flex-col",children:[I.jsx("p",{className:"text-center",children:"Most edited files"}),I.jsx("div",{className:"flex-grow block bg-white-500 border border-gray-200 rounded-lg shadow",children:I.jsxs("ol",{children:[I.jsx("li",{children:"File 1"}),I.jsx("li",{children:"File 2"})]})})]})]})]})})]})})}function Mq(e={}){const{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}=e,[i,a]=y.useState(!1),s=y.useRef(n);s.current=n;const o=y.useRef(r);return o.current=r,y.useEffect(()=>{const l=document.createElement("script");return l.src="https://accounts.google.com/gsi/client",l.async=!0,l.defer=!0,l.nonce=t,l.onload=()=>{var u;a(!0),(u=s.current)===null||u===void 0||u.call(s)},l.onerror=()=>{var u;a(!1),(u=o.current)===null||u===void 0||u.call(o)},document.body.appendChild(l),()=>{document.body.removeChild(l)}},[t]),i}const nR=y.createContext(null);function Aq({clientId:e,nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r,children:i}){const a=Mq({nonce:t,onScriptLoadSuccess:n,onScriptLoadError:r}),s=y.useMemo(()=>({clientId:e,scriptLoadedSuccessfully:a}),[e,a]);return _.createElement(nR.Provider,{value:s},i)}function Fq(){const e=y.useContext(nR);if(!e)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function Oq(e){var t;return(t=e==null?void 0:e.clientId)!==null&&t!==void 0?t:e==null?void 0:e.client_id}const Bq={large:40,medium:32,small:20};function Iq({onSuccess:e,onError:t,useOneTap:n,promptMomentNotification:r,type:i="standard",theme:a="outline",size:s="large",text:o,shape:l,logo_alignment:u,width:c,locale:d,click_listener:f,containerProps:h,...p}){const g=y.useRef(null),{clientId:b,scriptLoadedSuccessfully:v}=Fq(),m=y.useRef(e);m.current=e;const $=y.useRef(t);$.current=t;const w=y.useRef(r);return w.current=r,y.useEffect(()=>{var D,S,k,x,T,P,E,A,R;if(v)return(k=(S=(D=window==null?void 0:window.google)===null||D===void 0?void 0:D.accounts)===null||S===void 0?void 0:S.id)===null||k===void 0||k.initialize({client_id:b,callback:M=>{var z;if(!(M!=null&&M.credential))return(z=$.current)===null||z===void 0?void 0:z.call($);const{credential:O,select_by:C}=M;m.current({credential:O,clientId:Oq(M),select_by:C})},...p}),(P=(T=(x=window==null?void 0:window.google)===null||x===void 0?void 0:x.accounts)===null||T===void 0?void 0:T.id)===null||P===void 0||P.renderButton(g.current,{type:i,theme:a,size:s,text:o,shape:l,logo_alignment:u,width:c,locale:d,click_listener:f}),n&&((R=(A=(E=window==null?void 0:window.google)===null||E===void 0?void 0:E.accounts)===null||A===void 0?void 0:A.id)===null||R===void 0||R.prompt(w.current)),()=>{var M,z,O;n&&((O=(z=(M=window==null?void 0:window.google)===null||M===void 0?void 0:M.accounts)===null||z===void 0?void 0:z.id)===null||O===void 0||O.cancel())}},[b,v,n,i,a,s,o,l,u,c,d]),_.createElement("div",{...h,ref:g,style:{height:Bq[s],...h==null?void 0:h.style}})}function Lq(e){const t=hf();return y.useEffect(()=>{e.supabase.auth.getSession().then(({data:{session:r}})=>{e.setSession(r),console.log("LOGIN SESSION",r)});const{data:{subscription:n}}=e.supabase.auth.onAuthStateChange((r,i)=>{e.setSession(i),console.log("SESSION CHANGE",i)});return()=>n.unsubscribe()},[e.supabase]),y.useEffect(()=>{e.session&&t("/")},[e.session]),I.jsx(I.Fragment,{children:I.jsx("div",{className:"flex flex-col items-center h-screen w-screen",children:I.jsxs("div",{className:"flex flex-row items-center gap-x-8 m-auto",children:[I.jsx("div",{children:I.jsx("h1",{className:"text-4xl text-bold font-sans antialiased text-blue-700 tracking-wide",children:"fs-tracer"})}),I.jsx("div",{className:"block max-w-sm p-6 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700",children:I.jsxs("div",{className:"mx-7 my-5",children:[I.jsx("h5",{className:"mb-2 text-2xl font-bold font-sans antialiased text-gray-900",children:"Hello!"}),I.jsxs("div",{className:"flex flex-row items-center gap-2",children:[I.jsx("span",{className:"font-normal text-gray-700 dark:text-gray-400",children:"Continue with"}),I.jsx("span",{children:I.jsx(Aq,{clientId:"952965459060-nrnrsdoq22mf646vfa72hk410pvdda5q.apps.googleusercontent.com",children:I.jsx(Iq,{onSuccess:async n=>{await e.supabase.auth.signInWithIdToken({provider:"google",token:n.credential})},onError:()=>{console.log("Login Failed")},width:7777,size:"large",type:"icon"})})})]})]})})]})})})}function Nq(e){const t=hf();return y.useEffect(()=>{(async()=>{await e.supabase.auth.signOut()})(),t("/login")},[e.session]),I.jsx(I.Fragment,{})}function jq(e){const t=hf(),[n,r]=y.useState([]),[i,a]=y.useState(0);y.useEffect(()=>{e.session||t("/login")},[e.session]);const s=y.useCallback(async()=>{console.log("FETCHIN FILES");const{data:o,error:l}=await e.supabase.from("file").select().limit(10).offset(i);if(l){console.error(l);return}console.log("FETCHED FILES"),r(o.map(u=>u))},[e.supabase]);return y.useEffect(()=>{console.log("Aaa"),s()},[i]),I.jsx(I.Fragment,{children:I.jsxs("div",{className:"flex h-screen",children:[I.jsx(ZP,{currentPage:"Recent"}),I.jsxs("main",{className:"flex-1 overflow-y-auto",children:[I.jsx("button",{onClick:()=>a(i+1),children:"clickmeforpaginate"}),I.jsx("div",{children:n.map(o=>I.jsx("div",{children:I.jsxs("p",{className:"underline",children:["file: ",o.absolute_path]})},o.id))})]})]})})}function rR(e,t){window.dispatchEvent(new StorageEvent("storage",{key:e,newValue:t}))}const aw=(e,t)=>{const n=JSON.stringify(t);window.localStorage.setItem(e,n),rR(e,n)},zq=e=>{window.localStorage.removeItem(e),rR(e,null)},sw=e=>window.localStorage.getItem(e),Vq=e=>(window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)),Wq=()=>{throw Error("useLocalStorage is a client-only hook")};function Uq(e,t){const n=()=>sw(e),r=y.useSyncExternalStore(Vq,n,Wq),i=y.useCallback(a=>{try{const s=typeof a=="function"?a(JSON.parse(r)):a;s==null?zq(e):aw(e,s)}catch(s){console.warn(s)}},[e,r]);return y.useEffect(()=>{sw(e)===null&&typeof t<"u"&&aw(e,t)},[e,t]),[r?JSON.parse(r):t,i]}const Lu=dB("https://slpoocycjgqsuoedhkbn.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InNscG9vY3ljamdxc3VvZWRoa2JuIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTUyMDU0MjUsImV4cCI6MjAzMDc4MTQyNX0.xZYRTRN65rlms1Hb96IBAQvw3EGtMzUxlGPP5TVey34");function Hq(){const[e,t]=Uq("session",null),n=Rl($f()),[r,i]=y.useState({start:n.subtract({days:7}),end:n});return I.jsx(I.Fragment,{children:I.jsx(jS,{theme:dV,children:I.jsx(_F,{basename:"/fs-tracer-frontend",children:I.jsxs(xF,{children:[I.jsx(Pa,{index:!0,element:I.jsx(Rq,{supabase:Lu,session:e,timeframe:r,setTimeframe:i})}),I.jsx(Pa,{path:"/recent",element:I.jsx(jq,{supabase:Lu,session:e,timeframe:r,setTimeframe:i})}),I.jsx(Pa,{path:"/login",element:I.jsx(Lq,{supabase:Lu,session:e,setSession:t,timeframe:r,setTimeframe:i})}),I.jsx(Pa,{path:"/logout",element:I.jsx(Nq,{supabase:Lu,session:e,setSession:t,timeframe:r,setTimeframe:i})}),I.jsx(Pa,{path:"*",element:I.jsx("p",{children:"notfound"})})]})})})})}pp.createRoot(document.getElementById("root")).render(I.jsx(_.StrictMode,{children:I.jsx(Hq,{})}));export{ow as g}; diff --git a/assets/index-RT7aBB16.css b/assets/index-RT7aBB16.css deleted file mode 100644 index 7795b12..0000000 --- a/assets/index-RT7aBB16.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}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,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color: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:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--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: rgb(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: rgb(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: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.relative{position:relative}.m-auto{margin:auto}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-7{margin-left:1.75rem;margin-right:1.75rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-2{margin-bottom:.5rem}.mb-5{margin-bottom:1.25rem}.ml-auto{margin-left:auto}.mr-4{margin-right:1rem}.mr-auto{margin-right:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.contents{display:contents}.h-full{height:100%}.h-screen{height:100vh}.w-1\/2{width:50%}.w-full{width:100%}.w-screen{width:100vw}.min-w-\[240px\]{min-width:240px}.min-w-full{min-width:100%}.max-w-\[20rem\]{max-width:20rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.place-items-center{place-items:center}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-7{gap:1.75rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.overflow-y-auto{overflow-y:auto}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-clip-border{background-clip:border-box}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.text-center{text-align:center}.text-start{text-align:start}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-normal{letter-spacing:0em}.tracking-wide{letter-spacing:.025em}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px 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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-none{outline:2px solid transparent;outline-offset:2px}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}@media (prefers-color-scheme: dark){.dark\:border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}} diff --git a/assets/index-lfXooNgj.js b/assets/index-lfXooNgj.js deleted file mode 100644 index a035353..0000000 --- a/assets/index-lfXooNgj.js +++ /dev/null @@ -1,84 +0,0 @@ -var Xm=Object.defineProperty;var Jm=(t,e,n)=>e in t?Xm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var I=(t,e,n)=>(Jm(t,typeof e!="symbol"?e+"":e,n),n);function Zm(t,e){for(var n=0;n<e.length;n++){const i=e[n];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(i,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();function e0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Lf={exports:{}},Wo={},Mf={exports:{}},N={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var es=Symbol.for("react.element"),t0=Symbol.for("react.portal"),n0=Symbol.for("react.fragment"),i0=Symbol.for("react.strict_mode"),r0=Symbol.for("react.profiler"),s0=Symbol.for("react.provider"),o0=Symbol.for("react.context"),a0=Symbol.for("react.forward_ref"),l0=Symbol.for("react.suspense"),u0=Symbol.for("react.memo"),c0=Symbol.for("react.lazy"),Ic=Symbol.iterator;function h0(t){return t===null||typeof t!="object"?null:(t=Ic&&t[Ic]||t["@@iterator"],typeof t=="function"?t:null)}var Rf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},If=Object.assign,Af={};function ji(t,e,n){this.props=t,this.context=e,this.refs=Af,this.updater=n||Rf}ji.prototype.isReactComponent={};ji.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};ji.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Df(){}Df.prototype=ji.prototype;function vu(t,e,n){this.props=t,this.context=e,this.refs=Af,this.updater=n||Rf}var _u=vu.prototype=new Df;_u.constructor=vu;If(_u,ji.prototype);_u.isPureReactComponent=!0;var Ac=Array.isArray,jf=Object.prototype.hasOwnProperty,wu={current:null},Nf={key:!0,ref:!0,__self:!0,__source:!0};function Ff(t,e,n){var i,r={},s=null,o=null;if(e!=null)for(i in e.ref!==void 0&&(o=e.ref),e.key!==void 0&&(s=""+e.key),e)jf.call(e,i)&&!Nf.hasOwnProperty(i)&&(r[i]=e[i]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}if(t&&t.defaultProps)for(i in a=t.defaultProps,a)r[i]===void 0&&(r[i]=a[i]);return{$$typeof:es,type:t,key:s,ref:o,props:r,_owner:wu.current}}function d0(t,e){return{$$typeof:es,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function xu(t){return typeof t=="object"&&t!==null&&t.$$typeof===es}function f0(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Dc=/\/+/g;function ya(t,e){return typeof t=="object"&&t!==null&&t.key!=null?f0(""+t.key):e.toString(36)}function Ks(t,e,n,i,r){var s=typeof t;(s==="undefined"||s==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case es:case t0:o=!0}}if(o)return o=t,r=r(o),t=i===""?"."+ya(o,0):i,Ac(r)?(n="",t!=null&&(n=t.replace(Dc,"$&/")+"/"),Ks(r,e,n,"",function(u){return u})):r!=null&&(xu(r)&&(r=d0(r,n+(!r.key||o&&o.key===r.key?"":(""+r.key).replace(Dc,"$&/")+"/")+t)),e.push(r)),1;if(o=0,i=i===""?".":i+":",Ac(t))for(var a=0;a<t.length;a++){s=t[a];var l=i+ya(s,a);o+=Ks(s,e,n,l,r)}else if(l=h0(t),typeof l=="function")for(t=l.call(t),a=0;!(s=t.next()).done;)s=s.value,l=i+ya(s,a++),o+=Ks(s,e,n,l,r);else if(s==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return o}function us(t,e,n){if(t==null)return t;var i=[],r=0;return Ks(t,i,"","",function(s){return e.call(n,s,r++)}),i}function p0(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Re={current:null},Ys={transition:null},g0={ReactCurrentDispatcher:Re,ReactCurrentBatchConfig:Ys,ReactCurrentOwner:wu};function zf(){throw Error("act(...) is not supported in production builds of React.")}N.Children={map:us,forEach:function(t,e,n){us(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return us(t,function(){e++}),e},toArray:function(t){return us(t,function(e){return e})||[]},only:function(t){if(!xu(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};N.Component=ji;N.Fragment=n0;N.Profiler=r0;N.PureComponent=vu;N.StrictMode=i0;N.Suspense=l0;N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=g0;N.act=zf;N.cloneElement=function(t,e,n){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var i=If({},t.props),r=t.key,s=t.ref,o=t._owner;if(e!=null){if(e.ref!==void 0&&(s=e.ref,o=wu.current),e.key!==void 0&&(r=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(l in e)jf.call(e,l)&&!Nf.hasOwnProperty(l)&&(i[l]=e[l]===void 0&&a!==void 0?a[l]:e[l])}var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];i.children=a}return{$$typeof:es,type:t.type,key:r,ref:s,props:i,_owner:o}};N.createContext=function(t){return t={$$typeof:o0,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:s0,_context:t},t.Consumer=t};N.createElement=Ff;N.createFactory=function(t){var e=Ff.bind(null,t);return e.type=t,e};N.createRef=function(){return{current:null}};N.forwardRef=function(t){return{$$typeof:a0,render:t}};N.isValidElement=xu;N.lazy=function(t){return{$$typeof:c0,_payload:{_status:-1,_result:t},_init:p0}};N.memo=function(t,e){return{$$typeof:u0,type:t,compare:e===void 0?null:e}};N.startTransition=function(t){var e=Ys.transition;Ys.transition={};try{t()}finally{Ys.transition=e}};N.unstable_act=zf;N.useCallback=function(t,e){return Re.current.useCallback(t,e)};N.useContext=function(t){return Re.current.useContext(t)};N.useDebugValue=function(){};N.useDeferredValue=function(t){return Re.current.useDeferredValue(t)};N.useEffect=function(t,e){return Re.current.useEffect(t,e)};N.useId=function(){return Re.current.useId()};N.useImperativeHandle=function(t,e,n){return Re.current.useImperativeHandle(t,e,n)};N.useInsertionEffect=function(t,e){return Re.current.useInsertionEffect(t,e)};N.useLayoutEffect=function(t,e){return Re.current.useLayoutEffect(t,e)};N.useMemo=function(t,e){return Re.current.useMemo(t,e)};N.useReducer=function(t,e,n){return Re.current.useReducer(t,e,n)};N.useRef=function(t){return Re.current.useRef(t)};N.useState=function(t){return Re.current.useState(t)};N.useSyncExternalStore=function(t,e,n){return Re.current.useSyncExternalStore(t,e,n)};N.useTransition=function(){return Re.current.useTransition()};N.version="18.3.1";Mf.exports=N;var E=Mf.exports;const Ni=e0(E),m0=Zm({__proto__:null,default:Ni},[E]);/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var y0=E,v0=Symbol.for("react.element"),_0=Symbol.for("react.fragment"),w0=Object.prototype.hasOwnProperty,x0=y0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k0={key:!0,ref:!0,__self:!0,__source:!0};function $f(t,e,n){var i,r={},s=null,o=null;n!==void 0&&(s=""+n),e.key!==void 0&&(s=""+e.key),e.ref!==void 0&&(o=e.ref);for(i in e)w0.call(e,i)&&!k0.hasOwnProperty(i)&&(r[i]=e[i]);if(t&&t.defaultProps)for(i in e=t.defaultProps,e)r[i]===void 0&&(r[i]=e[i]);return{$$typeof:v0,type:t,key:s,ref:o,props:r,_owner:x0.current}}Wo.Fragment=_0;Wo.jsx=$f;Wo.jsxs=$f;Lf.exports=Wo;var P=Lf.exports,sl={},Uf={exports:{}},qe={},Bf={exports:{}},Vf={};/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */(function(t){function e(T,R){var A=T.length;T.push(R);e:for(;0<A;){var Y=A-1>>>1,Q=T[Y];if(0<r(Q,R))T[Y]=R,T[A]=Q,A=Y;else break e}}function n(T){return T.length===0?null:T[0]}function i(T){if(T.length===0)return null;var R=T[0],A=T.pop();if(A!==R){T[0]=A;e:for(var Y=0,Q=T.length,vt=Q>>>1;Y<vt;){var Te=2*(Y+1)-1,Et=T[Te],Oe=Te+1,ls=T[Oe];if(0>r(Et,A))Oe<Q&&0>r(ls,Et)?(T[Y]=ls,T[Oe]=A,Y=Oe):(T[Y]=Et,T[Te]=A,Y=Te);else if(Oe<Q&&0>r(ls,A))T[Y]=ls,T[Oe]=A,Y=Oe;else break e}}return R}function r(T,R){var A=T.sortIndex-R.sortIndex;return A!==0?A:T.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;t.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();t.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,h=null,d=3,f=!1,m=!1,y=!1,v=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(T){for(var R=n(u);R!==null;){if(R.callback===null)i(u);else if(R.startTime<=T)i(u),R.sortIndex=R.expirationTime,e(l,R);else break;R=n(u)}}function w(T){if(y=!1,_(T),!m)if(n(l)!==null)m=!0,K(x);else{var R=n(u);R!==null&&ge(w,R.startTime-T)}}function x(T,R){m=!1,y&&(y=!1,p(S),S=-1),f=!0;var A=d;try{for(_(R),h=n(l);h!==null&&(!(h.expirationTime>R)||T&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var Q=Y(h.expirationTime<=R);R=t.unstable_now(),typeof Q=="function"?h.callback=Q:h===n(l)&&i(l),_(R)}else i(l);h=n(l)}if(h!==null)var vt=!0;else{var Te=n(u);Te!==null&&ge(w,Te.startTime-R),vt=!1}return vt}finally{h=null,d=A,f=!1}}var b=!1,k=null,S=-1,M=5,L=-1;function D(){return!(t.unstable_now()-L<M)}function B(){if(k!==null){var T=t.unstable_now();L=T;var R=!0;try{R=k(!0,T)}finally{R?ce():(b=!1,k=null)}}else b=!1}var ce;if(typeof g=="function")ce=function(){g(B)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,$=oe.port2;oe.port1.onmessage=B,ce=function(){$.postMessage(null)}}else ce=function(){v(B,0)};function K(T){k=T,b||(b=!0,ce())}function ge(T,R){S=v(function(){T(t.unstable_now())},R)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(T){T.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,K(x))},t.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<T?Math.floor(1e3/T):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return n(l)},t.unstable_next=function(T){switch(d){case 1:case 2:case 3:var R=3;break;default:R=d}var A=d;d=R;try{return T()}finally{d=A}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(T,R){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var A=d;d=T;try{return R()}finally{d=A}},t.unstable_scheduleCallback=function(T,R,A){var Y=t.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?Y+A:Y):A=Y,T){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=A+Q,T={id:c++,callback:R,priorityLevel:T,startTime:A,expirationTime:Q,sortIndex:-1},A>Y?(T.sortIndex=A,e(u,T),n(l)===null&&T===n(u)&&(y?(p(S),S=-1):y=!0,ge(w,A-Y))):(T.sortIndex=Q,e(l,T),m||f||(m=!0,K(x))),T},t.unstable_shouldYield=D,t.unstable_wrapCallback=function(T){var R=d;return function(){var A=d;d=R;try{return T.apply(this,arguments)}finally{d=A}}}})(Vf);Bf.exports=Vf;var b0=Bf.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var S0=E,Ge=b0;function C(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Hf=new Set,Or={};function Yn(t,e){Si(t,e),Si(t+"Capture",e)}function Si(t,e){for(Or[t]=e,t=0;t<e.length;t++)Hf.add(e[t])}var Nt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ol=Object.prototype.hasOwnProperty,C0=/^[: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][: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]*$/,jc={},Nc={};function E0(t){return ol.call(Nc,t)?!0:ol.call(jc,t)?!1:C0.test(t)?Nc[t]=!0:(jc[t]=!0,!1)}function P0(t,e,n,i){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function T0(t,e,n,i){if(e===null||typeof e>"u"||P0(t,e,n,i))return!0;if(i)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Ie(t,e,n,i,r,s,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=i,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=s,this.removeEmptyString=o}var ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){ke[t]=new Ie(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];ke[e]=new Ie(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){ke[t]=new Ie(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){ke[t]=new Ie(t,2,!1,t,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".split(" ").forEach(function(t){ke[t]=new Ie(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){ke[t]=new Ie(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){ke[t]=new Ie(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){ke[t]=new Ie(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){ke[t]=new Ie(t,5,!1,t.toLowerCase(),null,!1,!1)});var ku=/[\-:]([a-z])/g;function bu(t){return t[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".split(" ").forEach(function(t){var e=t.replace(ku,bu);ke[e]=new Ie(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(ku,bu);ke[e]=new Ie(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(ku,bu);ke[e]=new Ie(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){ke[t]=new Ie(t,1,!1,t.toLowerCase(),null,!1,!1)});ke.xlinkHref=new Ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){ke[t]=new Ie(t,1,!1,t.toLowerCase(),null,!0,!0)});function Su(t,e,n,i){var r=ke.hasOwnProperty(e)?ke[e]:null;(r!==null?r.type!==0:i||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(T0(e,n,r,i)&&(n=null),i||r===null?E0(e)&&(n===null?t.removeAttribute(e):t.setAttribute(e,""+n)):r.mustUseProperty?t[r.propertyName]=n===null?r.type===3?!1:"":n:(e=r.attributeName,i=r.attributeNamespace,n===null?t.removeAttribute(e):(r=r.type,n=r===3||r===4&&n===!0?"":""+n,i?t.setAttributeNS(i,e,n):t.setAttribute(e,n))))}var Ut=S0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,cs=Symbol.for("react.element"),si=Symbol.for("react.portal"),oi=Symbol.for("react.fragment"),Cu=Symbol.for("react.strict_mode"),al=Symbol.for("react.profiler"),Wf=Symbol.for("react.provider"),Kf=Symbol.for("react.context"),Eu=Symbol.for("react.forward_ref"),ll=Symbol.for("react.suspense"),ul=Symbol.for("react.suspense_list"),Pu=Symbol.for("react.memo"),Wt=Symbol.for("react.lazy"),Yf=Symbol.for("react.offscreen"),Fc=Symbol.iterator;function Vi(t){return t===null||typeof t!="object"?null:(t=Fc&&t[Fc]||t["@@iterator"],typeof t=="function"?t:null)}var ie=Object.assign,va;function ir(t){if(va===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);va=e&&e[1]||""}return` -`+va+t}var _a=!1;function wa(t,e){if(!t||_a)return"";_a=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(u){var i=u}Reflect.construct(t,[],e)}else{try{e.call()}catch(u){i=u}t.call(e.prototype)}else{try{throw Error()}catch(u){i=u}t()}}catch(u){if(u&&i&&typeof u.stack=="string"){for(var r=u.stack.split(` -`),s=i.stack.split(` -`),o=r.length-1,a=s.length-1;1<=o&&0<=a&&r[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(r[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||r[o]!==s[a]){var l=` -`+r[o].replace(" at new "," at ");return t.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",t.displayName)),l}while(1<=o&&0<=a);break}}}finally{_a=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?ir(t):""}function O0(t){switch(t.tag){case 5:return ir(t.type);case 16:return ir("Lazy");case 13:return ir("Suspense");case 19:return ir("SuspenseList");case 0:case 2:case 15:return t=wa(t.type,!1),t;case 11:return t=wa(t.type.render,!1),t;case 1:return t=wa(t.type,!0),t;default:return""}}function cl(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case oi:return"Fragment";case si:return"Portal";case al:return"Profiler";case Cu:return"StrictMode";case ll:return"Suspense";case ul:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Kf:return(t.displayName||"Context")+".Consumer";case Wf:return(t._context.displayName||"Context")+".Provider";case Eu:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Pu:return e=t.displayName||null,e!==null?e:cl(t.type)||"Memo";case Wt:e=t._payload,t=t._init;try{return cl(t(e))}catch{}}return null}function L0(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return cl(e);case 8:return e===Cu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function fn(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Gf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function M0(t){var e=Gf(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),i=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,s=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return r.call(this)},set:function(o){i=""+o,s.call(this,o)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(o){i=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function hs(t){t._valueTracker||(t._valueTracker=M0(t))}function qf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=Gf(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}function lo(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function hl(t,e){var n=e.checked;return ie({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function zc(t,e){var n=e.defaultValue==null?"":e.defaultValue,i=e.checked!=null?e.checked:e.defaultChecked;n=fn(e.value!=null?e.value:n),t._wrapperState={initialChecked:i,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function Qf(t,e){e=e.checked,e!=null&&Su(t,"checked",e,!1)}function dl(t,e){Qf(t,e);var n=fn(e.value),i=e.type;if(n!=null)i==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(i==="submit"||i==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?fl(t,e.type,n):e.hasOwnProperty("defaultValue")&&fl(t,e.type,fn(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function $c(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var i=e.type;if(!(i!=="submit"&&i!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function fl(t,e,n){(e!=="number"||lo(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var rr=Array.isArray;function yi(t,e,n,i){if(t=t.options,e){e={};for(var r=0;r<n.length;r++)e["$"+n[r]]=!0;for(n=0;n<t.length;n++)r=e.hasOwnProperty("$"+t[n].value),t[n].selected!==r&&(t[n].selected=r),r&&i&&(t[n].defaultSelected=!0)}else{for(n=""+fn(n),e=null,r=0;r<t.length;r++){if(t[r].value===n){t[r].selected=!0,i&&(t[r].defaultSelected=!0);return}e!==null||t[r].disabled||(e=t[r])}e!==null&&(e.selected=!0)}}function pl(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(C(91));return ie({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Uc(t,e){var n=e.value;if(n==null){if(n=e.children,e=e.defaultValue,n!=null){if(e!=null)throw Error(C(92));if(rr(n)){if(1<n.length)throw Error(C(93));n=n[0]}e=n}e==null&&(e=""),n=e}t._wrapperState={initialValue:fn(n)}}function Xf(t,e){var n=fn(e.value),i=fn(e.defaultValue);n!=null&&(n=""+n,n!==t.value&&(t.value=n),e.defaultValue==null&&t.defaultValue!==n&&(t.defaultValue=n)),i!=null&&(t.defaultValue=""+i)}function Bc(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function Jf(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function gl(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?Jf(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var ds,Zf=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,n,i,r){MSApp.execUnsafeLocalFunction(function(){return t(e,n,i,r)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(ds=ds||document.createElement("div"),ds.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=ds.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Lr(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var dr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},R0=["Webkit","ms","Moz","O"];Object.keys(dr).forEach(function(t){R0.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),dr[e]=dr[t]})});function ep(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||dr.hasOwnProperty(t)&&dr[t]?(""+e).trim():e+"px"}function tp(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var i=n.indexOf("--")===0,r=ep(n,e[n],i);n==="float"&&(n="cssFloat"),i?t.setProperty(n,r):t[n]=r}}var I0=ie({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ml(t,e){if(e){if(I0[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(C(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(C(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(C(61))}if(e.style!=null&&typeof e.style!="object")throw Error(C(62))}}function yl(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vl=null;function Tu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var _l=null,vi=null,_i=null;function Vc(t){if(t=is(t)){if(typeof _l!="function")throw Error(C(280));var e=t.stateNode;e&&(e=Qo(e),_l(t.stateNode,t.type,e))}}function np(t){vi?_i?_i.push(t):_i=[t]:vi=t}function ip(){if(vi){var t=vi,e=_i;if(_i=vi=null,Vc(t),e)for(t=0;t<e.length;t++)Vc(e[t])}}function rp(t,e){return t(e)}function sp(){}var xa=!1;function op(t,e,n){if(xa)return t(e,n);xa=!0;try{return rp(t,e,n)}finally{xa=!1,(vi!==null||_i!==null)&&(sp(),ip())}}function Mr(t,e){var n=t.stateNode;if(n===null)return null;var i=Qo(n);if(i===null)return null;n=i[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break e;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(C(231,e,typeof n));return n}var wl=!1;if(Nt)try{var Hi={};Object.defineProperty(Hi,"passive",{get:function(){wl=!0}}),window.addEventListener("test",Hi,Hi),window.removeEventListener("test",Hi,Hi)}catch{wl=!1}function A0(t,e,n,i,r,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{e.apply(n,u)}catch(c){this.onError(c)}}var fr=!1,uo=null,co=!1,xl=null,D0={onError:function(t){fr=!0,uo=t}};function j0(t,e,n,i,r,s,o,a,l){fr=!1,uo=null,A0.apply(D0,arguments)}function N0(t,e,n,i,r,s,o,a,l){if(j0.apply(this,arguments),fr){if(fr){var u=uo;fr=!1,uo=null}else throw Error(C(198));co||(co=!0,xl=u)}}function Gn(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function ap(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Hc(t){if(Gn(t)!==t)throw Error(C(188))}function F0(t){var e=t.alternate;if(!e){if(e=Gn(t),e===null)throw Error(C(188));return e!==t?null:t}for(var n=t,i=e;;){var r=n.return;if(r===null)break;var s=r.alternate;if(s===null){if(i=r.return,i!==null){n=i;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===n)return Hc(r),t;if(s===i)return Hc(r),e;s=s.sibling}throw Error(C(188))}if(n.return!==i.return)n=r,i=s;else{for(var o=!1,a=r.child;a;){if(a===n){o=!0,n=r,i=s;break}if(a===i){o=!0,i=r,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,i=r;break}if(a===i){o=!0,i=s,n=r;break}a=a.sibling}if(!o)throw Error(C(189))}}if(n.alternate!==i)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?t:e}function lp(t){return t=F0(t),t!==null?up(t):null}function up(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=up(t);if(e!==null)return e;t=t.sibling}return null}var cp=Ge.unstable_scheduleCallback,Wc=Ge.unstable_cancelCallback,z0=Ge.unstable_shouldYield,$0=Ge.unstable_requestPaint,ae=Ge.unstable_now,U0=Ge.unstable_getCurrentPriorityLevel,Ou=Ge.unstable_ImmediatePriority,hp=Ge.unstable_UserBlockingPriority,ho=Ge.unstable_NormalPriority,B0=Ge.unstable_LowPriority,dp=Ge.unstable_IdlePriority,Ko=null,St=null;function V0(t){if(St&&typeof St.onCommitFiberRoot=="function")try{St.onCommitFiberRoot(Ko,t,void 0,(t.current.flags&128)===128)}catch{}}var pt=Math.clz32?Math.clz32:K0,H0=Math.log,W0=Math.LN2;function K0(t){return t>>>=0,t===0?32:31-(H0(t)/W0|0)|0}var fs=64,ps=4194304;function sr(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function fo(t,e){var n=t.pendingLanes;if(n===0)return 0;var i=0,r=t.suspendedLanes,s=t.pingedLanes,o=n&268435455;if(o!==0){var a=o&~r;a!==0?i=sr(a):(s&=o,s!==0&&(i=sr(s)))}else o=n&~r,o!==0?i=sr(o):s!==0&&(i=sr(s));if(i===0)return 0;if(e!==0&&e!==i&&!(e&r)&&(r=i&-i,s=e&-e,r>=s||r===16&&(s&4194240)!==0))return e;if(i&4&&(i|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=i;0<e;)n=31-pt(e),r=1<<n,i|=t[n],e&=~r;return i}function Y0(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function G0(t,e){for(var n=t.suspendedLanes,i=t.pingedLanes,r=t.expirationTimes,s=t.pendingLanes;0<s;){var o=31-pt(s),a=1<<o,l=r[o];l===-1?(!(a&n)||a&i)&&(r[o]=Y0(a,e)):l<=e&&(t.expiredLanes|=a),s&=~a}}function kl(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function fp(){var t=fs;return fs<<=1,!(fs&4194240)&&(fs=64),t}function ka(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function ts(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-pt(e),t[e]=n}function q0(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var i=t.eventTimes;for(t=t.expirationTimes;0<n;){var r=31-pt(n),s=1<<r;e[r]=0,i[r]=-1,t[r]=-1,n&=~s}}function Lu(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var i=31-pt(n),r=1<<i;r&e|t[i]&e&&(t[i]|=e),n&=~r}}var H=0;function pp(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var gp,Mu,mp,yp,vp,bl=!1,gs=[],rn=null,sn=null,on=null,Rr=new Map,Ir=new Map,Gt=[],Q0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Kc(t,e){switch(t){case"focusin":case"focusout":rn=null;break;case"dragenter":case"dragleave":sn=null;break;case"mouseover":case"mouseout":on=null;break;case"pointerover":case"pointerout":Rr.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ir.delete(e.pointerId)}}function Wi(t,e,n,i,r,s){return t===null||t.nativeEvent!==s?(t={blockedOn:e,domEventName:n,eventSystemFlags:i,nativeEvent:s,targetContainers:[r]},e!==null&&(e=is(e),e!==null&&Mu(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,r!==null&&e.indexOf(r)===-1&&e.push(r),t)}function X0(t,e,n,i,r){switch(e){case"focusin":return rn=Wi(rn,t,e,n,i,r),!0;case"dragenter":return sn=Wi(sn,t,e,n,i,r),!0;case"mouseover":return on=Wi(on,t,e,n,i,r),!0;case"pointerover":var s=r.pointerId;return Rr.set(s,Wi(Rr.get(s)||null,t,e,n,i,r)),!0;case"gotpointercapture":return s=r.pointerId,Ir.set(s,Wi(Ir.get(s)||null,t,e,n,i,r)),!0}return!1}function _p(t){var e=Rn(t.target);if(e!==null){var n=Gn(e);if(n!==null){if(e=n.tag,e===13){if(e=ap(n),e!==null){t.blockedOn=e,vp(t.priority,function(){mp(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Gs(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Sl(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(n===null){n=t.nativeEvent;var i=new n.constructor(n.type,n);vl=i,n.target.dispatchEvent(i),vl=null}else return e=is(n),e!==null&&Mu(e),t.blockedOn=n,!1;e.shift()}return!0}function Yc(t,e,n){Gs(t)&&n.delete(e)}function J0(){bl=!1,rn!==null&&Gs(rn)&&(rn=null),sn!==null&&Gs(sn)&&(sn=null),on!==null&&Gs(on)&&(on=null),Rr.forEach(Yc),Ir.forEach(Yc)}function Ki(t,e){t.blockedOn===e&&(t.blockedOn=null,bl||(bl=!0,Ge.unstable_scheduleCallback(Ge.unstable_NormalPriority,J0)))}function Ar(t){function e(r){return Ki(r,t)}if(0<gs.length){Ki(gs[0],t);for(var n=1;n<gs.length;n++){var i=gs[n];i.blockedOn===t&&(i.blockedOn=null)}}for(rn!==null&&Ki(rn,t),sn!==null&&Ki(sn,t),on!==null&&Ki(on,t),Rr.forEach(e),Ir.forEach(e),n=0;n<Gt.length;n++)i=Gt[n],i.blockedOn===t&&(i.blockedOn=null);for(;0<Gt.length&&(n=Gt[0],n.blockedOn===null);)_p(n),n.blockedOn===null&&Gt.shift()}var wi=Ut.ReactCurrentBatchConfig,po=!0;function Z0(t,e,n,i){var r=H,s=wi.transition;wi.transition=null;try{H=1,Ru(t,e,n,i)}finally{H=r,wi.transition=s}}function ey(t,e,n,i){var r=H,s=wi.transition;wi.transition=null;try{H=4,Ru(t,e,n,i)}finally{H=r,wi.transition=s}}function Ru(t,e,n,i){if(po){var r=Sl(t,e,n,i);if(r===null)Ra(t,e,i,go,n),Kc(t,i);else if(X0(r,t,e,n,i))i.stopPropagation();else if(Kc(t,i),e&4&&-1<Q0.indexOf(t)){for(;r!==null;){var s=is(r);if(s!==null&&gp(s),s=Sl(t,e,n,i),s===null&&Ra(t,e,i,go,n),s===r)break;r=s}r!==null&&i.stopPropagation()}else Ra(t,e,i,null,n)}}var go=null;function Sl(t,e,n,i){if(go=null,t=Tu(i),t=Rn(t),t!==null)if(e=Gn(t),e===null)t=null;else if(n=e.tag,n===13){if(t=ap(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return go=t,null}function wp(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(U0()){case Ou:return 1;case hp:return 4;case ho:case B0:return 16;case dp:return 536870912;default:return 16}default:return 16}}var Xt=null,Iu=null,qs=null;function xp(){if(qs)return qs;var t,e=Iu,n=e.length,i,r="value"in Xt?Xt.value:Xt.textContent,s=r.length;for(t=0;t<n&&e[t]===r[t];t++);var o=n-t;for(i=1;i<=o&&e[n-i]===r[s-i];i++);return qs=r.slice(t,1<i?1-i:void 0)}function Qs(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function ms(){return!0}function Gc(){return!1}function Qe(t){function e(n,i,r,s,o){this._reactName=n,this._targetInst=r,this.type=i,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in t)t.hasOwnProperty(a)&&(n=t[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ms:Gc,this.isPropagationStopped=Gc,this}return ie(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ms)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ms)},persist:function(){},isPersistent:ms}),e}var Fi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Au=Qe(Fi),ns=ie({},Fi,{view:0,detail:0}),ty=Qe(ns),ba,Sa,Yi,Yo=ie({},ns,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Du,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Yi&&(Yi&&t.type==="mousemove"?(ba=t.screenX-Yi.screenX,Sa=t.screenY-Yi.screenY):Sa=ba=0,Yi=t),ba)},movementY:function(t){return"movementY"in t?t.movementY:Sa}}),qc=Qe(Yo),ny=ie({},Yo,{dataTransfer:0}),iy=Qe(ny),ry=ie({},ns,{relatedTarget:0}),Ca=Qe(ry),sy=ie({},Fi,{animationName:0,elapsedTime:0,pseudoElement:0}),oy=Qe(sy),ay=ie({},Fi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),ly=Qe(ay),uy=ie({},Fi,{data:0}),Qc=Qe(uy),cy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hy={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},dy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fy(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=dy[t])?!!e[t]:!1}function Du(){return fy}var py=ie({},ns,{key:function(t){if(t.key){var e=cy[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Qs(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?hy[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Du,charCode:function(t){return t.type==="keypress"?Qs(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Qs(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),gy=Qe(py),my=ie({},Yo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xc=Qe(my),yy=ie({},ns,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Du}),vy=Qe(yy),_y=ie({},Fi,{propertyName:0,elapsedTime:0,pseudoElement:0}),wy=Qe(_y),xy=ie({},Yo,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),ky=Qe(xy),by=[9,13,27,32],ju=Nt&&"CompositionEvent"in window,pr=null;Nt&&"documentMode"in document&&(pr=document.documentMode);var Sy=Nt&&"TextEvent"in window&&!pr,kp=Nt&&(!ju||pr&&8<pr&&11>=pr),Jc=" ",Zc=!1;function bp(t,e){switch(t){case"keyup":return by.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sp(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ai=!1;function Cy(t,e){switch(t){case"compositionend":return Sp(e);case"keypress":return e.which!==32?null:(Zc=!0,Jc);case"textInput":return t=e.data,t===Jc&&Zc?null:t;default:return null}}function Ey(t,e){if(ai)return t==="compositionend"||!ju&&bp(t,e)?(t=xp(),qs=Iu=Xt=null,ai=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return kp&&e.locale!=="ko"?null:e.data;default:return null}}var Py={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function eh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Py[t.type]:e==="textarea"}function Cp(t,e,n,i){np(i),e=mo(e,"onChange"),0<e.length&&(n=new Au("onChange","change",null,n,i),t.push({event:n,listeners:e}))}var gr=null,Dr=null;function Ty(t){jp(t,0)}function Go(t){var e=ci(t);if(qf(e))return t}function Oy(t,e){if(t==="change")return e}var Ep=!1;if(Nt){var Ea;if(Nt){var Pa="oninput"in document;if(!Pa){var th=document.createElement("div");th.setAttribute("oninput","return;"),Pa=typeof th.oninput=="function"}Ea=Pa}else Ea=!1;Ep=Ea&&(!document.documentMode||9<document.documentMode)}function nh(){gr&&(gr.detachEvent("onpropertychange",Pp),Dr=gr=null)}function Pp(t){if(t.propertyName==="value"&&Go(Dr)){var e=[];Cp(e,Dr,t,Tu(t)),op(Ty,e)}}function Ly(t,e,n){t==="focusin"?(nh(),gr=e,Dr=n,gr.attachEvent("onpropertychange",Pp)):t==="focusout"&&nh()}function My(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Go(Dr)}function Ry(t,e){if(t==="click")return Go(e)}function Iy(t,e){if(t==="input"||t==="change")return Go(e)}function Ay(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var yt=typeof Object.is=="function"?Object.is:Ay;function jr(t,e){if(yt(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var r=n[i];if(!ol.call(e,r)||!yt(t[r],e[r]))return!1}return!0}function ih(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function rh(t,e){var n=ih(t);t=0;for(var i;n;){if(n.nodeType===3){if(i=t+n.textContent.length,t<=e&&i>=e)return{node:n,offset:e-t};t=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ih(n)}}function Tp(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Tp(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Op(){for(var t=window,e=lo();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=lo(t.document)}return e}function Nu(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Dy(t){var e=Op(),n=t.focusedElem,i=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&Tp(n.ownerDocument.documentElement,n)){if(i!==null&&Nu(n)){if(e=i.start,t=i.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var r=n.textContent.length,s=Math.min(i.start,r);i=i.end===void 0?s:Math.min(i.end,r),!t.extend&&s>i&&(r=i,i=s,s=r),r=rh(n,s);var o=rh(n,i);r&&o&&(t.rangeCount!==1||t.anchorNode!==r.node||t.anchorOffset!==r.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(r.node,r.offset),t.removeAllRanges(),s>i?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<e.length;n++)t=e[n],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var jy=Nt&&"documentMode"in document&&11>=document.documentMode,li=null,Cl=null,mr=null,El=!1;function sh(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;El||li==null||li!==lo(i)||(i=li,"selectionStart"in i&&Nu(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),mr&&jr(mr,i)||(mr=i,i=mo(Cl,"onSelect"),0<i.length&&(e=new Au("onSelect","select",null,e,n),t.push({event:e,listeners:i}),e.target=li)))}function ys(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var ui={animationend:ys("Animation","AnimationEnd"),animationiteration:ys("Animation","AnimationIteration"),animationstart:ys("Animation","AnimationStart"),transitionend:ys("Transition","TransitionEnd")},Ta={},Lp={};Nt&&(Lp=document.createElement("div").style,"AnimationEvent"in window||(delete ui.animationend.animation,delete ui.animationiteration.animation,delete ui.animationstart.animation),"TransitionEvent"in window||delete ui.transitionend.transition);function qo(t){if(Ta[t])return Ta[t];if(!ui[t])return t;var e=ui[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Lp)return Ta[t]=e[n];return t}var Mp=qo("animationend"),Rp=qo("animationiteration"),Ip=qo("animationstart"),Ap=qo("transitionend"),Dp=new Map,oh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function mn(t,e){Dp.set(t,e),Yn(e,[t])}for(var Oa=0;Oa<oh.length;Oa++){var La=oh[Oa],Ny=La.toLowerCase(),Fy=La[0].toUpperCase()+La.slice(1);mn(Ny,"on"+Fy)}mn(Mp,"onAnimationEnd");mn(Rp,"onAnimationIteration");mn(Ip,"onAnimationStart");mn("dblclick","onDoubleClick");mn("focusin","onFocus");mn("focusout","onBlur");mn(Ap,"onTransitionEnd");Si("onMouseEnter",["mouseout","mouseover"]);Si("onMouseLeave",["mouseout","mouseover"]);Si("onPointerEnter",["pointerout","pointerover"]);Si("onPointerLeave",["pointerout","pointerover"]);Yn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Yn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Yn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Yn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Yn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Yn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var or="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),zy=new Set("cancel close invalid load scroll toggle".split(" ").concat(or));function ah(t,e,n){var i=t.type||"unknown-event";t.currentTarget=n,N0(i,e,void 0,t),t.currentTarget=null}function jp(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var i=t[n],r=i.event;i=i.listeners;e:{var s=void 0;if(e)for(var o=i.length-1;0<=o;o--){var a=i[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&r.isPropagationStopped())break e;ah(r,a,u),s=l}else for(o=0;o<i.length;o++){if(a=i[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&r.isPropagationStopped())break e;ah(r,a,u),s=l}}}if(co)throw t=xl,co=!1,xl=null,t}function X(t,e){var n=e[Ml];n===void 0&&(n=e[Ml]=new Set);var i=t+"__bubble";n.has(i)||(Np(e,t,2,!1),n.add(i))}function Ma(t,e,n){var i=0;e&&(i|=4),Np(n,t,i,e)}var vs="_reactListening"+Math.random().toString(36).slice(2);function Nr(t){if(!t[vs]){t[vs]=!0,Hf.forEach(function(n){n!=="selectionchange"&&(zy.has(n)||Ma(n,!1,t),Ma(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[vs]||(e[vs]=!0,Ma("selectionchange",!1,e))}}function Np(t,e,n,i){switch(wp(e)){case 1:var r=Z0;break;case 4:r=ey;break;default:r=Ru}n=r.bind(null,e,n,t),r=void 0,!wl||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(r=!0),i?r!==void 0?t.addEventListener(e,n,{capture:!0,passive:r}):t.addEventListener(e,n,!0):r!==void 0?t.addEventListener(e,n,{passive:r}):t.addEventListener(e,n,!1)}function Ra(t,e,n,i,r){var s=i;if(!(e&1)&&!(e&2)&&i!==null)e:for(;;){if(i===null)return;var o=i.tag;if(o===3||o===4){var a=i.stateNode.containerInfo;if(a===r||a.nodeType===8&&a.parentNode===r)break;if(o===4)for(o=i.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===r||l.nodeType===8&&l.parentNode===r))return;o=o.return}for(;a!==null;){if(o=Rn(a),o===null)return;if(l=o.tag,l===5||l===6){i=s=o;continue e}a=a.parentNode}}i=i.return}op(function(){var u=s,c=Tu(n),h=[];e:{var d=Dp.get(t);if(d!==void 0){var f=Au,m=t;switch(t){case"keypress":if(Qs(n)===0)break e;case"keydown":case"keyup":f=gy;break;case"focusin":m="focus",f=Ca;break;case"focusout":m="blur",f=Ca;break;case"beforeblur":case"afterblur":f=Ca;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=qc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=iy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=vy;break;case Mp:case Rp:case Ip:f=oy;break;case Ap:f=wy;break;case"scroll":f=ty;break;case"wheel":f=ky;break;case"copy":case"cut":case"paste":f=ly;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Xc}var y=(e&4)!==0,v=!y&&t==="scroll",p=y?d!==null?d+"Capture":null:d;y=[];for(var g=u,_;g!==null;){_=g;var w=_.stateNode;if(_.tag===5&&w!==null&&(_=w,p!==null&&(w=Mr(g,p),w!=null&&y.push(Fr(g,w,_)))),v)break;g=g.return}0<y.length&&(d=new f(d,m,null,n,c),h.push({event:d,listeners:y}))}}if(!(e&7)){e:{if(d=t==="mouseover"||t==="pointerover",f=t==="mouseout"||t==="pointerout",d&&n!==vl&&(m=n.relatedTarget||n.fromElement)&&(Rn(m)||m[Ft]))break e;if((f||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,f?(m=n.relatedTarget||n.toElement,f=u,m=m?Rn(m):null,m!==null&&(v=Gn(m),m!==v||m.tag!==5&&m.tag!==6)&&(m=null)):(f=null,m=u),f!==m)){if(y=qc,w="onMouseLeave",p="onMouseEnter",g="mouse",(t==="pointerout"||t==="pointerover")&&(y=Xc,w="onPointerLeave",p="onPointerEnter",g="pointer"),v=f==null?d:ci(f),_=m==null?d:ci(m),d=new y(w,g+"leave",f,n,c),d.target=v,d.relatedTarget=_,w=null,Rn(c)===u&&(y=new y(p,g+"enter",m,n,c),y.target=_,y.relatedTarget=v,w=y),v=w,f&&m)t:{for(y=f,p=m,g=0,_=y;_;_=Xn(_))g++;for(_=0,w=p;w;w=Xn(w))_++;for(;0<g-_;)y=Xn(y),g--;for(;0<_-g;)p=Xn(p),_--;for(;g--;){if(y===p||p!==null&&y===p.alternate)break t;y=Xn(y),p=Xn(p)}y=null}else y=null;f!==null&&lh(h,d,f,y,!1),m!==null&&v!==null&&lh(h,v,m,y,!0)}}e:{if(d=u?ci(u):window,f=d.nodeName&&d.nodeName.toLowerCase(),f==="select"||f==="input"&&d.type==="file")var x=Oy;else if(eh(d))if(Ep)x=Iy;else{x=My;var b=Ly}else(f=d.nodeName)&&f.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(x=Ry);if(x&&(x=x(t,u))){Cp(h,x,n,c);break e}b&&b(t,d,u),t==="focusout"&&(b=d._wrapperState)&&b.controlled&&d.type==="number"&&fl(d,"number",d.value)}switch(b=u?ci(u):window,t){case"focusin":(eh(b)||b.contentEditable==="true")&&(li=b,Cl=u,mr=null);break;case"focusout":mr=Cl=li=null;break;case"mousedown":El=!0;break;case"contextmenu":case"mouseup":case"dragend":El=!1,sh(h,n,c);break;case"selectionchange":if(jy)break;case"keydown":case"keyup":sh(h,n,c)}var k;if(ju)e:{switch(t){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else ai?bp(t,n)&&(S="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(S="onCompositionStart");S&&(kp&&n.locale!=="ko"&&(ai||S!=="onCompositionStart"?S==="onCompositionEnd"&&ai&&(k=xp()):(Xt=c,Iu="value"in Xt?Xt.value:Xt.textContent,ai=!0)),b=mo(u,S),0<b.length&&(S=new Qc(S,t,null,n,c),h.push({event:S,listeners:b}),k?S.data=k:(k=Sp(n),k!==null&&(S.data=k)))),(k=Sy?Cy(t,n):Ey(t,n))&&(u=mo(u,"onBeforeInput"),0<u.length&&(c=new Qc("onBeforeInput","beforeinput",null,n,c),h.push({event:c,listeners:u}),c.data=k))}jp(h,e)})}function Fr(t,e,n){return{instance:t,listener:e,currentTarget:n}}function mo(t,e){for(var n=e+"Capture",i=[];t!==null;){var r=t,s=r.stateNode;r.tag===5&&s!==null&&(r=s,s=Mr(t,n),s!=null&&i.unshift(Fr(t,s,r)),s=Mr(t,e),s!=null&&i.push(Fr(t,s,r))),t=t.return}return i}function Xn(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function lh(t,e,n,i,r){for(var s=e._reactName,o=[];n!==null&&n!==i;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===i)break;a.tag===5&&u!==null&&(a=u,r?(l=Mr(n,s),l!=null&&o.unshift(Fr(n,l,a))):r||(l=Mr(n,s),l!=null&&o.push(Fr(n,l,a)))),n=n.return}o.length!==0&&t.push({event:e,listeners:o})}var $y=/\r\n?/g,Uy=/\u0000|\uFFFD/g;function uh(t){return(typeof t=="string"?t:""+t).replace($y,` -`).replace(Uy,"")}function _s(t,e,n){if(e=uh(e),uh(t)!==e&&n)throw Error(C(425))}function yo(){}var Pl=null,Tl=null;function Ol(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Ll=typeof setTimeout=="function"?setTimeout:void 0,By=typeof clearTimeout=="function"?clearTimeout:void 0,ch=typeof Promise=="function"?Promise:void 0,Vy=typeof queueMicrotask=="function"?queueMicrotask:typeof ch<"u"?function(t){return ch.resolve(null).then(t).catch(Hy)}:Ll;function Hy(t){setTimeout(function(){throw t})}function Ia(t,e){var n=e,i=0;do{var r=n.nextSibling;if(t.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"){if(i===0){t.removeChild(r),Ar(e);return}i--}else n!=="$"&&n!=="$?"&&n!=="$!"||i++;n=r}while(n);Ar(e)}function an(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function hh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}var zi=Math.random().toString(36).slice(2),bt="__reactFiber$"+zi,zr="__reactProps$"+zi,Ft="__reactContainer$"+zi,Ml="__reactEvents$"+zi,Wy="__reactListeners$"+zi,Ky="__reactHandles$"+zi;function Rn(t){var e=t[bt];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Ft]||n[bt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=hh(t);t!==null;){if(n=t[bt])return n;t=hh(t)}return e}t=n,n=t.parentNode}return null}function is(t){return t=t[bt]||t[Ft],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function ci(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(C(33))}function Qo(t){return t[zr]||null}var Rl=[],hi=-1;function yn(t){return{current:t}}function Z(t){0>hi||(t.current=Rl[hi],Rl[hi]=null,hi--)}function q(t,e){hi++,Rl[hi]=t.current,t.current=e}var pn={},Pe=yn(pn),Fe=yn(!1),$n=pn;function Ci(t,e){var n=t.type.contextTypes;if(!n)return pn;var i=t.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===e)return i.__reactInternalMemoizedMaskedChildContext;var r={},s;for(s in n)r[s]=e[s];return i&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=r),r}function ze(t){return t=t.childContextTypes,t!=null}function vo(){Z(Fe),Z(Pe)}function dh(t,e,n){if(Pe.current!==pn)throw Error(C(168));q(Pe,e),q(Fe,n)}function Fp(t,e,n){var i=t.stateNode;if(e=e.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var r in i)if(!(r in e))throw Error(C(108,L0(t)||"Unknown",r));return ie({},n,i)}function _o(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||pn,$n=Pe.current,q(Pe,t),q(Fe,Fe.current),!0}function fh(t,e,n){var i=t.stateNode;if(!i)throw Error(C(169));n?(t=Fp(t,e,$n),i.__reactInternalMemoizedMergedChildContext=t,Z(Fe),Z(Pe),q(Pe,t)):Z(Fe),q(Fe,n)}var Mt=null,Xo=!1,Aa=!1;function zp(t){Mt===null?Mt=[t]:Mt.push(t)}function Yy(t){Xo=!0,zp(t)}function vn(){if(!Aa&&Mt!==null){Aa=!0;var t=0,e=H;try{var n=Mt;for(H=1;t<n.length;t++){var i=n[t];do i=i(!0);while(i!==null)}Mt=null,Xo=!1}catch(r){throw Mt!==null&&(Mt=Mt.slice(t+1)),cp(Ou,vn),r}finally{H=e,Aa=!1}}return null}var di=[],fi=0,wo=null,xo=0,Ze=[],et=0,Un=null,It=1,At="";function En(t,e){di[fi++]=xo,di[fi++]=wo,wo=t,xo=e}function $p(t,e,n){Ze[et++]=It,Ze[et++]=At,Ze[et++]=Un,Un=t;var i=It;t=At;var r=32-pt(i)-1;i&=~(1<<r),n+=1;var s=32-pt(e)+r;if(30<s){var o=r-r%5;s=(i&(1<<o)-1).toString(32),i>>=o,r-=o,It=1<<32-pt(e)+r|n<<r|i,At=s+t}else It=1<<s|n<<r|i,At=t}function Fu(t){t.return!==null&&(En(t,1),$p(t,1,0))}function zu(t){for(;t===wo;)wo=di[--fi],di[fi]=null,xo=di[--fi],di[fi]=null;for(;t===Un;)Un=Ze[--et],Ze[et]=null,At=Ze[--et],Ze[et]=null,It=Ze[--et],Ze[et]=null}var Ye=null,He=null,ee=!1,ft=null;function Up(t,e){var n=tt(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return=t,e=t.deletions,e===null?(t.deletions=[n],t.flags|=16):e.push(n)}function ph(t,e){switch(t.tag){case 5:var n=t.type;return e=e.nodeType!==1||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,Ye=t,He=an(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,Ye=t,He=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(n=Un!==null?{id:It,overflow:At}:null,t.memoizedState={dehydrated:e,treeContext:n,retryLane:1073741824},n=tt(18,null,null,0),n.stateNode=e,n.return=t,t.child=n,Ye=t,He=null,!0):!1;default:return!1}}function Il(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Al(t){if(ee){var e=He;if(e){var n=e;if(!ph(t,e)){if(Il(t))throw Error(C(418));e=an(n.nextSibling);var i=Ye;e&&ph(t,e)?Up(i,n):(t.flags=t.flags&-4097|2,ee=!1,Ye=t)}}else{if(Il(t))throw Error(C(418));t.flags=t.flags&-4097|2,ee=!1,Ye=t}}}function gh(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Ye=t}function ws(t){if(t!==Ye)return!1;if(!ee)return gh(t),ee=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!Ol(t.type,t.memoizedProps)),e&&(e=He)){if(Il(t))throw Bp(),Error(C(418));for(;e;)Up(t,e),e=an(e.nextSibling)}if(gh(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(C(317));e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"){if(e===0){He=an(t.nextSibling);break e}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++}t=t.nextSibling}He=null}}else He=Ye?an(t.stateNode.nextSibling):null;return!0}function Bp(){for(var t=He;t;)t=an(t.nextSibling)}function Ei(){He=Ye=null,ee=!1}function $u(t){ft===null?ft=[t]:ft.push(t)}var Gy=Ut.ReactCurrentBatchConfig;function Gi(t,e,n){if(t=n.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(C(309));var i=n.stateNode}if(!i)throw Error(C(147,t));var r=i,s=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===s?e.ref:(e=function(o){var a=r.refs;o===null?delete a[s]:a[s]=o},e._stringRef=s,e)}if(typeof t!="string")throw Error(C(284));if(!n._owner)throw Error(C(290,t))}return t}function xs(t,e){throw t=Object.prototype.toString.call(e),Error(C(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function mh(t){var e=t._init;return e(t._payload)}function Vp(t){function e(p,g){if(t){var _=p.deletions;_===null?(p.deletions=[g],p.flags|=16):_.push(g)}}function n(p,g){if(!t)return null;for(;g!==null;)e(p,g),g=g.sibling;return null}function i(p,g){for(p=new Map;g!==null;)g.key!==null?p.set(g.key,g):p.set(g.index,g),g=g.sibling;return p}function r(p,g){return p=hn(p,g),p.index=0,p.sibling=null,p}function s(p,g,_){return p.index=_,t?(_=p.alternate,_!==null?(_=_.index,_<g?(p.flags|=2,g):_):(p.flags|=2,g)):(p.flags|=1048576,g)}function o(p){return t&&p.alternate===null&&(p.flags|=2),p}function a(p,g,_,w){return g===null||g.tag!==6?(g=Ua(_,p.mode,w),g.return=p,g):(g=r(g,_),g.return=p,g)}function l(p,g,_,w){var x=_.type;return x===oi?c(p,g,_.props.children,w,_.key):g!==null&&(g.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Wt&&mh(x)===g.type)?(w=r(g,_.props),w.ref=Gi(p,g,_),w.return=p,w):(w=io(_.type,_.key,_.props,null,p.mode,w),w.ref=Gi(p,g,_),w.return=p,w)}function u(p,g,_,w){return g===null||g.tag!==4||g.stateNode.containerInfo!==_.containerInfo||g.stateNode.implementation!==_.implementation?(g=Ba(_,p.mode,w),g.return=p,g):(g=r(g,_.children||[]),g.return=p,g)}function c(p,g,_,w,x){return g===null||g.tag!==7?(g=Nn(_,p.mode,w,x),g.return=p,g):(g=r(g,_),g.return=p,g)}function h(p,g,_){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Ua(""+g,p.mode,_),g.return=p,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case cs:return _=io(g.type,g.key,g.props,null,p.mode,_),_.ref=Gi(p,null,g),_.return=p,_;case si:return g=Ba(g,p.mode,_),g.return=p,g;case Wt:var w=g._init;return h(p,w(g._payload),_)}if(rr(g)||Vi(g))return g=Nn(g,p.mode,_,null),g.return=p,g;xs(p,g)}return null}function d(p,g,_,w){var x=g!==null?g.key:null;if(typeof _=="string"&&_!==""||typeof _=="number")return x!==null?null:a(p,g,""+_,w);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case cs:return _.key===x?l(p,g,_,w):null;case si:return _.key===x?u(p,g,_,w):null;case Wt:return x=_._init,d(p,g,x(_._payload),w)}if(rr(_)||Vi(_))return x!==null?null:c(p,g,_,w,null);xs(p,_)}return null}function f(p,g,_,w,x){if(typeof w=="string"&&w!==""||typeof w=="number")return p=p.get(_)||null,a(g,p,""+w,x);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case cs:return p=p.get(w.key===null?_:w.key)||null,l(g,p,w,x);case si:return p=p.get(w.key===null?_:w.key)||null,u(g,p,w,x);case Wt:var b=w._init;return f(p,g,_,b(w._payload),x)}if(rr(w)||Vi(w))return p=p.get(_)||null,c(g,p,w,x,null);xs(g,w)}return null}function m(p,g,_,w){for(var x=null,b=null,k=g,S=g=0,M=null;k!==null&&S<_.length;S++){k.index>S?(M=k,k=null):M=k.sibling;var L=d(p,k,_[S],w);if(L===null){k===null&&(k=M);break}t&&k&&L.alternate===null&&e(p,k),g=s(L,g,S),b===null?x=L:b.sibling=L,b=L,k=M}if(S===_.length)return n(p,k),ee&&En(p,S),x;if(k===null){for(;S<_.length;S++)k=h(p,_[S],w),k!==null&&(g=s(k,g,S),b===null?x=k:b.sibling=k,b=k);return ee&&En(p,S),x}for(k=i(p,k);S<_.length;S++)M=f(k,p,S,_[S],w),M!==null&&(t&&M.alternate!==null&&k.delete(M.key===null?S:M.key),g=s(M,g,S),b===null?x=M:b.sibling=M,b=M);return t&&k.forEach(function(D){return e(p,D)}),ee&&En(p,S),x}function y(p,g,_,w){var x=Vi(_);if(typeof x!="function")throw Error(C(150));if(_=x.call(_),_==null)throw Error(C(151));for(var b=x=null,k=g,S=g=0,M=null,L=_.next();k!==null&&!L.done;S++,L=_.next()){k.index>S?(M=k,k=null):M=k.sibling;var D=d(p,k,L.value,w);if(D===null){k===null&&(k=M);break}t&&k&&D.alternate===null&&e(p,k),g=s(D,g,S),b===null?x=D:b.sibling=D,b=D,k=M}if(L.done)return n(p,k),ee&&En(p,S),x;if(k===null){for(;!L.done;S++,L=_.next())L=h(p,L.value,w),L!==null&&(g=s(L,g,S),b===null?x=L:b.sibling=L,b=L);return ee&&En(p,S),x}for(k=i(p,k);!L.done;S++,L=_.next())L=f(k,p,S,L.value,w),L!==null&&(t&&L.alternate!==null&&k.delete(L.key===null?S:L.key),g=s(L,g,S),b===null?x=L:b.sibling=L,b=L);return t&&k.forEach(function(B){return e(p,B)}),ee&&En(p,S),x}function v(p,g,_,w){if(typeof _=="object"&&_!==null&&_.type===oi&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case cs:e:{for(var x=_.key,b=g;b!==null;){if(b.key===x){if(x=_.type,x===oi){if(b.tag===7){n(p,b.sibling),g=r(b,_.props.children),g.return=p,p=g;break e}}else if(b.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Wt&&mh(x)===b.type){n(p,b.sibling),g=r(b,_.props),g.ref=Gi(p,b,_),g.return=p,p=g;break e}n(p,b);break}else e(p,b);b=b.sibling}_.type===oi?(g=Nn(_.props.children,p.mode,w,_.key),g.return=p,p=g):(w=io(_.type,_.key,_.props,null,p.mode,w),w.ref=Gi(p,g,_),w.return=p,p=w)}return o(p);case si:e:{for(b=_.key;g!==null;){if(g.key===b)if(g.tag===4&&g.stateNode.containerInfo===_.containerInfo&&g.stateNode.implementation===_.implementation){n(p,g.sibling),g=r(g,_.children||[]),g.return=p,p=g;break e}else{n(p,g);break}else e(p,g);g=g.sibling}g=Ba(_,p.mode,w),g.return=p,p=g}return o(p);case Wt:return b=_._init,v(p,g,b(_._payload),w)}if(rr(_))return m(p,g,_,w);if(Vi(_))return y(p,g,_,w);xs(p,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,g!==null&&g.tag===6?(n(p,g.sibling),g=r(g,_),g.return=p,p=g):(n(p,g),g=Ua(_,p.mode,w),g.return=p,p=g),o(p)):n(p,g)}return v}var Pi=Vp(!0),Hp=Vp(!1),ko=yn(null),bo=null,pi=null,Uu=null;function Bu(){Uu=pi=bo=null}function Vu(t){var e=ko.current;Z(ko),t._currentValue=e}function Dl(t,e,n){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===n)break;t=t.return}}function xi(t,e){bo=t,Uu=pi=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(Ne=!0),t.firstContext=null)}function rt(t){var e=t._currentValue;if(Uu!==t)if(t={context:t,memoizedValue:e,next:null},pi===null){if(bo===null)throw Error(C(308));pi=t,bo.dependencies={lanes:0,firstContext:t}}else pi=pi.next=t;return e}var In=null;function Hu(t){In===null?In=[t]:In.push(t)}function Wp(t,e,n,i){var r=e.interleaved;return r===null?(n.next=n,Hu(e)):(n.next=r.next,r.next=n),e.interleaved=n,zt(t,i)}function zt(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var Kt=!1;function Wu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kp(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function jt(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function ln(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,z&2){var r=i.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),i.pending=e,zt(t,n)}return r=i.interleaved,r===null?(e.next=e,Hu(i)):(e.next=r.next,r.next=e),i.interleaved=e,zt(t,n)}function Xs(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Lu(t,n)}}function yh(t,e){var n=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?r=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?r=s=e:s=s.next=e}else r=s=e;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:s,shared:i.shared,effects:i.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function So(t,e,n,i){var r=t.updateQueue;Kt=!1;var s=r.firstBaseUpdate,o=r.lastBaseUpdate,a=r.shared.pending;if(a!==null){r.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var c=t.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==o&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var h=r.baseState;o=0,c=u=l=null,a=s;do{var d=a.lane,f=a.eventTime;if((i&d)===d){c!==null&&(c=c.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var m=t,y=a;switch(d=e,f=n,y.tag){case 1:if(m=y.payload,typeof m=="function"){h=m.call(f,h,d);break e}h=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=y.payload,d=typeof m=="function"?m.call(f,h,d):m,d==null)break e;h=ie({},h,d);break e;case 2:Kt=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,d=r.effects,d===null?r.effects=[a]:d.push(a))}else f={eventTime:f,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=f,l=h):c=c.next=f,o|=d;if(a=a.next,a===null){if(a=r.shared.pending,a===null)break;d=a,a=d.next,d.next=null,r.lastBaseUpdate=d,r.shared.pending=null}}while(!0);if(c===null&&(l=h),r.baseState=l,r.firstBaseUpdate=u,r.lastBaseUpdate=c,e=r.shared.interleaved,e!==null){r=e;do o|=r.lane,r=r.next;while(r!==e)}else s===null&&(r.shared.lanes=0);Vn|=o,t.lanes=o,t.memoizedState=h}}function vh(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var i=t[e],r=i.callback;if(r!==null){if(i.callback=null,i=n,typeof r!="function")throw Error(C(191,r));r.call(i)}}}var rs={},Ct=yn(rs),$r=yn(rs),Ur=yn(rs);function An(t){if(t===rs)throw Error(C(174));return t}function Ku(t,e){switch(q(Ur,e),q($r,t),q(Ct,rs),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:gl(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=gl(e,t)}Z(Ct),q(Ct,e)}function Ti(){Z(Ct),Z($r),Z(Ur)}function Yp(t){An(Ur.current);var e=An(Ct.current),n=gl(e,t.type);e!==n&&(q($r,t),q(Ct,n))}function Yu(t){$r.current===t&&(Z(Ct),Z($r))}var te=yn(0);function Co(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Da=[];function Gu(){for(var t=0;t<Da.length;t++)Da[t]._workInProgressVersionPrimary=null;Da.length=0}var Js=Ut.ReactCurrentDispatcher,ja=Ut.ReactCurrentBatchConfig,Bn=0,ne=null,de=null,me=null,Eo=!1,yr=!1,Br=0,qy=0;function be(){throw Error(C(321))}function qu(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!yt(t[n],e[n]))return!1;return!0}function Qu(t,e,n,i,r,s){if(Bn=s,ne=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Js.current=t===null||t.memoizedState===null?Zy:ev,t=n(i,r),yr){s=0;do{if(yr=!1,Br=0,25<=s)throw Error(C(301));s+=1,me=de=null,e.updateQueue=null,Js.current=tv,t=n(i,r)}while(yr)}if(Js.current=Po,e=de!==null&&de.next!==null,Bn=0,me=de=ne=null,Eo=!1,e)throw Error(C(300));return t}function Xu(){var t=Br!==0;return Br=0,t}function xt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return me===null?ne.memoizedState=me=t:me=me.next=t,me}function st(){if(de===null){var t=ne.alternate;t=t!==null?t.memoizedState:null}else t=de.next;var e=me===null?ne.memoizedState:me.next;if(e!==null)me=e,de=t;else{if(t===null)throw Error(C(310));de=t,t={memoizedState:de.memoizedState,baseState:de.baseState,baseQueue:de.baseQueue,queue:de.queue,next:null},me===null?ne.memoizedState=me=t:me=me.next=t}return me}function Vr(t,e){return typeof e=="function"?e(t):e}function Na(t){var e=st(),n=e.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=t;var i=de,r=i.baseQueue,s=n.pending;if(s!==null){if(r!==null){var o=r.next;r.next=s.next,s.next=o}i.baseQueue=r=s,n.pending=null}if(r!==null){s=r.next,i=i.baseState;var a=o=null,l=null,u=s;do{var c=u.lane;if((Bn&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:t(i,u.action);else{var h={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=h,o=i):l=l.next=h,ne.lanes|=c,Vn|=c}u=u.next}while(u!==null&&u!==s);l===null?o=i:l.next=a,yt(i,e.memoizedState)||(Ne=!0),e.memoizedState=i,e.baseState=o,e.baseQueue=l,n.lastRenderedState=i}if(t=n.interleaved,t!==null){r=t;do s=r.lane,ne.lanes|=s,Vn|=s,r=r.next;while(r!==t)}else r===null&&(n.lanes=0);return[e.memoizedState,n.dispatch]}function Fa(t){var e=st(),n=e.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=t;var i=n.dispatch,r=n.pending,s=e.memoizedState;if(r!==null){n.pending=null;var o=r=r.next;do s=t(s,o.action),o=o.next;while(o!==r);yt(s,e.memoizedState)||(Ne=!0),e.memoizedState=s,e.baseQueue===null&&(e.baseState=s),n.lastRenderedState=s}return[s,i]}function Gp(){}function qp(t,e){var n=ne,i=st(),r=e(),s=!yt(i.memoizedState,r);if(s&&(i.memoizedState=r,Ne=!0),i=i.queue,Ju(Jp.bind(null,n,i,t),[t]),i.getSnapshot!==e||s||me!==null&&me.memoizedState.tag&1){if(n.flags|=2048,Hr(9,Xp.bind(null,n,i,r,e),void 0,null),ve===null)throw Error(C(349));Bn&30||Qp(n,e,r)}return r}function Qp(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ne.updateQueue,e===null?(e={lastEffect:null,stores:null},ne.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Xp(t,e,n,i){e.value=n,e.getSnapshot=i,Zp(e)&&eg(t)}function Jp(t,e,n){return n(function(){Zp(e)&&eg(t)})}function Zp(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!yt(t,n)}catch{return!0}}function eg(t){var e=zt(t,1);e!==null&>(e,t,1,-1)}function _h(t){var e=xt();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vr,lastRenderedState:t},e.queue=t,t=t.dispatch=Jy.bind(null,ne,t),[e.memoizedState,t]}function Hr(t,e,n,i){return t={tag:t,create:e,destroy:n,deps:i,next:null},e=ne.updateQueue,e===null?(e={lastEffect:null,stores:null},ne.updateQueue=e,e.lastEffect=t.next=t):(n=e.lastEffect,n===null?e.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,e.lastEffect=t)),t}function tg(){return st().memoizedState}function Zs(t,e,n,i){var r=xt();ne.flags|=t,r.memoizedState=Hr(1|e,n,void 0,i===void 0?null:i)}function Jo(t,e,n,i){var r=st();i=i===void 0?null:i;var s=void 0;if(de!==null){var o=de.memoizedState;if(s=o.destroy,i!==null&&qu(i,o.deps)){r.memoizedState=Hr(e,n,s,i);return}}ne.flags|=t,r.memoizedState=Hr(1|e,n,s,i)}function wh(t,e){return Zs(8390656,8,t,e)}function Ju(t,e){return Jo(2048,8,t,e)}function ng(t,e){return Jo(4,2,t,e)}function ig(t,e){return Jo(4,4,t,e)}function rg(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function sg(t,e,n){return n=n!=null?n.concat([t]):null,Jo(4,4,rg.bind(null,e,t),n)}function Zu(){}function og(t,e){var n=st();e=e===void 0?null:e;var i=n.memoizedState;return i!==null&&e!==null&&qu(e,i[1])?i[0]:(n.memoizedState=[t,e],t)}function ag(t,e){var n=st();e=e===void 0?null:e;var i=n.memoizedState;return i!==null&&e!==null&&qu(e,i[1])?i[0]:(t=t(),n.memoizedState=[t,e],t)}function lg(t,e,n){return Bn&21?(yt(n,e)||(n=fp(),ne.lanes|=n,Vn|=n,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,Ne=!0),t.memoizedState=n)}function Qy(t,e){var n=H;H=n!==0&&4>n?n:4,t(!0);var i=ja.transition;ja.transition={};try{t(!1),e()}finally{H=n,ja.transition=i}}function ug(){return st().memoizedState}function Xy(t,e,n){var i=cn(t);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},cg(t))hg(e,n);else if(n=Wp(t,e,n,i),n!==null){var r=Me();gt(n,t,i,r),dg(n,e,i)}}function Jy(t,e,n){var i=cn(t),r={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(cg(t))hg(e,r);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var o=e.lastRenderedState,a=s(o,n);if(r.hasEagerState=!0,r.eagerState=a,yt(a,o)){var l=e.interleaved;l===null?(r.next=r,Hu(e)):(r.next=l.next,l.next=r),e.interleaved=r;return}}catch{}finally{}n=Wp(t,e,r,i),n!==null&&(r=Me(),gt(n,t,i,r),dg(n,e,i))}}function cg(t){var e=t.alternate;return t===ne||e!==null&&e===ne}function hg(t,e){yr=Eo=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function dg(t,e,n){if(n&4194240){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Lu(t,n)}}var Po={readContext:rt,useCallback:be,useContext:be,useEffect:be,useImperativeHandle:be,useInsertionEffect:be,useLayoutEffect:be,useMemo:be,useReducer:be,useRef:be,useState:be,useDebugValue:be,useDeferredValue:be,useTransition:be,useMutableSource:be,useSyncExternalStore:be,useId:be,unstable_isNewReconciler:!1},Zy={readContext:rt,useCallback:function(t,e){return xt().memoizedState=[t,e===void 0?null:e],t},useContext:rt,useEffect:wh,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,Zs(4194308,4,rg.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Zs(4194308,4,t,e)},useInsertionEffect:function(t,e){return Zs(4,2,t,e)},useMemo:function(t,e){var n=xt();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var i=xt();return e=n!==void 0?n(e):e,i.memoizedState=i.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},i.queue=t,t=t.dispatch=Xy.bind(null,ne,t),[i.memoizedState,t]},useRef:function(t){var e=xt();return t={current:t},e.memoizedState=t},useState:_h,useDebugValue:Zu,useDeferredValue:function(t){return xt().memoizedState=t},useTransition:function(){var t=_h(!1),e=t[0];return t=Qy.bind(null,t[1]),xt().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var i=ne,r=xt();if(ee){if(n===void 0)throw Error(C(407));n=n()}else{if(n=e(),ve===null)throw Error(C(349));Bn&30||Qp(i,e,n)}r.memoizedState=n;var s={value:n,getSnapshot:e};return r.queue=s,wh(Jp.bind(null,i,s,t),[t]),i.flags|=2048,Hr(9,Xp.bind(null,i,s,n,e),void 0,null),n},useId:function(){var t=xt(),e=ve.identifierPrefix;if(ee){var n=At,i=It;n=(i&~(1<<32-pt(i)-1)).toString(32)+n,e=":"+e+"R"+n,n=Br++,0<n&&(e+="H"+n.toString(32)),e+=":"}else n=qy++,e=":"+e+"r"+n.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},ev={readContext:rt,useCallback:og,useContext:rt,useEffect:Ju,useImperativeHandle:sg,useInsertionEffect:ng,useLayoutEffect:ig,useMemo:ag,useReducer:Na,useRef:tg,useState:function(){return Na(Vr)},useDebugValue:Zu,useDeferredValue:function(t){var e=st();return lg(e,de.memoizedState,t)},useTransition:function(){var t=Na(Vr)[0],e=st().memoizedState;return[t,e]},useMutableSource:Gp,useSyncExternalStore:qp,useId:ug,unstable_isNewReconciler:!1},tv={readContext:rt,useCallback:og,useContext:rt,useEffect:Ju,useImperativeHandle:sg,useInsertionEffect:ng,useLayoutEffect:ig,useMemo:ag,useReducer:Fa,useRef:tg,useState:function(){return Fa(Vr)},useDebugValue:Zu,useDeferredValue:function(t){var e=st();return de===null?e.memoizedState=t:lg(e,de.memoizedState,t)},useTransition:function(){var t=Fa(Vr)[0],e=st().memoizedState;return[t,e]},useMutableSource:Gp,useSyncExternalStore:qp,useId:ug,unstable_isNewReconciler:!1};function ut(t,e){if(t&&t.defaultProps){e=ie({},e),t=t.defaultProps;for(var n in t)e[n]===void 0&&(e[n]=t[n]);return e}return e}function jl(t,e,n,i){e=t.memoizedState,n=n(i,e),n=n==null?e:ie({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Zo={isMounted:function(t){return(t=t._reactInternals)?Gn(t)===t:!1},enqueueSetState:function(t,e,n){t=t._reactInternals;var i=Me(),r=cn(t),s=jt(i,r);s.payload=e,n!=null&&(s.callback=n),e=ln(t,s,r),e!==null&&(gt(e,t,r,i),Xs(e,t,r))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var i=Me(),r=cn(t),s=jt(i,r);s.tag=1,s.payload=e,n!=null&&(s.callback=n),e=ln(t,s,r),e!==null&&(gt(e,t,r,i),Xs(e,t,r))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Me(),i=cn(t),r=jt(n,i);r.tag=2,e!=null&&(r.callback=e),e=ln(t,r,i),e!==null&&(gt(e,t,i,n),Xs(e,t,i))}};function xh(t,e,n,i,r,s,o){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(i,s,o):e.prototype&&e.prototype.isPureReactComponent?!jr(n,i)||!jr(r,s):!0}function fg(t,e,n){var i=!1,r=pn,s=e.contextType;return typeof s=="object"&&s!==null?s=rt(s):(r=ze(e)?$n:Pe.current,i=e.contextTypes,s=(i=i!=null)?Ci(t,r):pn),e=new e(n,s),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=Zo,t.stateNode=e,e._reactInternals=t,i&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=s),e}function kh(t,e,n,i){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,i),e.state!==t&&Zo.enqueueReplaceState(e,e.state,null)}function Nl(t,e,n,i){var r=t.stateNode;r.props=n,r.state=t.memoizedState,r.refs={},Wu(t);var s=e.contextType;typeof s=="object"&&s!==null?r.context=rt(s):(s=ze(e)?$n:Pe.current,r.context=Ci(t,s)),r.state=t.memoizedState,s=e.getDerivedStateFromProps,typeof s=="function"&&(jl(t,e,s,n),r.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(e=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),e!==r.state&&Zo.enqueueReplaceState(r,r.state,null),So(t,n,r,i),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308)}function Oi(t,e){try{var n="",i=e;do n+=O0(i),i=i.return;while(i);var r=n}catch(s){r=` -Error generating stack: `+s.message+` -`+s.stack}return{value:t,source:e,stack:r,digest:null}}function za(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function Fl(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var nv=typeof WeakMap=="function"?WeakMap:Map;function pg(t,e,n){n=jt(-1,n),n.tag=3,n.payload={element:null};var i=e.value;return n.callback=function(){Oo||(Oo=!0,Gl=i),Fl(t,e)},n}function gg(t,e,n){n=jt(-1,n),n.tag=3;var i=t.type.getDerivedStateFromError;if(typeof i=="function"){var r=e.value;n.payload=function(){return i(r)},n.callback=function(){Fl(t,e)}}var s=t.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Fl(t,e),typeof i!="function"&&(un===null?un=new Set([this]):un.add(this));var o=e.stack;this.componentDidCatch(e.value,{componentStack:o!==null?o:""})}),n}function bh(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new nv;var r=new Set;i.set(e,r)}else r=i.get(e),r===void 0&&(r=new Set,i.set(e,r));r.has(n)||(r.add(n),t=mv.bind(null,t,e,n),e.then(t,t))}function Sh(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function Ch(t,e,n,i,r){return t.mode&1?(t.flags|=65536,t.lanes=r,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=jt(-1,1),e.tag=2,ln(n,e,1))),n.lanes|=1),t)}var iv=Ut.ReactCurrentOwner,Ne=!1;function Le(t,e,n,i){e.child=t===null?Hp(e,null,n,i):Pi(e,t.child,n,i)}function Eh(t,e,n,i,r){n=n.render;var s=e.ref;return xi(e,r),i=Qu(t,e,n,i,s,r),n=Xu(),t!==null&&!Ne?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~r,$t(t,e,r)):(ee&&n&&Fu(e),e.flags|=1,Le(t,e,i,r),e.child)}function Ph(t,e,n,i,r){if(t===null){var s=n.type;return typeof s=="function"&&!ac(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=s,mg(t,e,s,i,r)):(t=io(n.type,null,i,e,e.mode,r),t.ref=e.ref,t.return=e,e.child=t)}if(s=t.child,!(t.lanes&r)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:jr,n(o,i)&&t.ref===e.ref)return $t(t,e,r)}return e.flags|=1,t=hn(s,i),t.ref=e.ref,t.return=e,e.child=t}function mg(t,e,n,i,r){if(t!==null){var s=t.memoizedProps;if(jr(s,i)&&t.ref===e.ref)if(Ne=!1,e.pendingProps=i=s,(t.lanes&r)!==0)t.flags&131072&&(Ne=!0);else return e.lanes=t.lanes,$t(t,e,r)}return zl(t,e,n,i,r)}function yg(t,e,n){var i=e.pendingProps,r=i.children,s=t!==null?t.memoizedState:null;if(i.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},q(mi,Ve),Ve|=n;else{if(!(n&1073741824))return t=s!==null?s.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,q(mi,Ve),Ve|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=s!==null?s.baseLanes:n,q(mi,Ve),Ve|=i}else s!==null?(i=s.baseLanes|n,e.memoizedState=null):i=n,q(mi,Ve),Ve|=i;return Le(t,e,r,n),e.child}function vg(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function zl(t,e,n,i,r){var s=ze(n)?$n:Pe.current;return s=Ci(e,s),xi(e,r),n=Qu(t,e,n,i,s,r),i=Xu(),t!==null&&!Ne?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~r,$t(t,e,r)):(ee&&i&&Fu(e),e.flags|=1,Le(t,e,n,r),e.child)}function Th(t,e,n,i,r){if(ze(n)){var s=!0;_o(e)}else s=!1;if(xi(e,r),e.stateNode===null)eo(t,e),fg(e,n,i),Nl(e,n,i,r),i=!0;else if(t===null){var o=e.stateNode,a=e.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=rt(u):(u=ze(n)?$n:Pe.current,u=Ci(e,u));var c=n.getDerivedStateFromProps,h=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";h||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==i||l!==u)&&kh(e,o,i,u),Kt=!1;var d=e.memoizedState;o.state=d,So(e,i,o,r),l=e.memoizedState,a!==i||d!==l||Fe.current||Kt?(typeof c=="function"&&(jl(e,n,c,i),l=e.memoizedState),(a=Kt||xh(e,n,a,i,d,l,u))?(h||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=l),o.props=i,o.state=l,o.context=u,i=a):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{o=e.stateNode,Kp(t,e),a=e.memoizedProps,u=e.type===e.elementType?a:ut(e.type,a),o.props=u,h=e.pendingProps,d=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=rt(l):(l=ze(n)?$n:Pe.current,l=Ci(e,l));var f=n.getDerivedStateFromProps;(c=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==h||d!==l)&&kh(e,o,i,l),Kt=!1,d=e.memoizedState,o.state=d,So(e,i,o,r);var m=e.memoizedState;a!==h||d!==m||Fe.current||Kt?(typeof f=="function"&&(jl(e,n,f,i),m=e.memoizedState),(u=Kt||xh(e,n,u,i,d,m,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(i,m,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(i,m,l)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=m),o.props=i,o.state=m,o.context=l,i=u):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),i=!1)}return $l(t,e,n,i,s,r)}function $l(t,e,n,i,r,s){vg(t,e);var o=(e.flags&128)!==0;if(!i&&!o)return r&&fh(e,n,!1),$t(t,e,s);i=e.stateNode,iv.current=e;var a=o&&typeof n.getDerivedStateFromError!="function"?null:i.render();return e.flags|=1,t!==null&&o?(e.child=Pi(e,t.child,null,s),e.child=Pi(e,null,a,s)):Le(t,e,a,s),e.memoizedState=i.state,r&&fh(e,n,!0),e.child}function _g(t){var e=t.stateNode;e.pendingContext?dh(t,e.pendingContext,e.pendingContext!==e.context):e.context&&dh(t,e.context,!1),Ku(t,e.containerInfo)}function Oh(t,e,n,i,r){return Ei(),$u(r),e.flags|=256,Le(t,e,n,i),e.child}var Ul={dehydrated:null,treeContext:null,retryLane:0};function Bl(t){return{baseLanes:t,cachePool:null,transitions:null}}function wg(t,e,n){var i=e.pendingProps,r=te.current,s=!1,o=(e.flags&128)!==0,a;if((a=o)||(a=t!==null&&t.memoizedState===null?!1:(r&2)!==0),a?(s=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(r|=1),q(te,r&1),t===null)return Al(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(o=i.children,t=i.fallback,s?(i=e.mode,s=e.child,o={mode:"hidden",children:o},!(i&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=na(o,i,0,null),t=Nn(t,i,n,null),s.return=e,t.return=e,s.sibling=t,e.child=s,e.child.memoizedState=Bl(n),e.memoizedState=Ul,t):ec(e,o));if(r=t.memoizedState,r!==null&&(a=r.dehydrated,a!==null))return rv(t,e,o,i,a,r,n);if(s){s=i.fallback,o=e.mode,r=t.child,a=r.sibling;var l={mode:"hidden",children:i.children};return!(o&1)&&e.child!==r?(i=e.child,i.childLanes=0,i.pendingProps=l,e.deletions=null):(i=hn(r,l),i.subtreeFlags=r.subtreeFlags&14680064),a!==null?s=hn(a,s):(s=Nn(s,o,n,null),s.flags|=2),s.return=e,i.return=e,i.sibling=s,e.child=i,i=s,s=e.child,o=t.child.memoizedState,o=o===null?Bl(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=t.childLanes&~n,e.memoizedState=Ul,i}return s=t.child,t=s.sibling,i=hn(s,{mode:"visible",children:i.children}),!(e.mode&1)&&(i.lanes=n),i.return=e,i.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=i,e.memoizedState=null,i}function ec(t,e){return e=na({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function ks(t,e,n,i){return i!==null&&$u(i),Pi(e,t.child,null,n),t=ec(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function rv(t,e,n,i,r,s,o){if(n)return e.flags&256?(e.flags&=-257,i=za(Error(C(422))),ks(t,e,o,i)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(s=i.fallback,r=e.mode,i=na({mode:"visible",children:i.children},r,0,null),s=Nn(s,r,o,null),s.flags|=2,i.return=e,s.return=e,i.sibling=s,e.child=i,e.mode&1&&Pi(e,t.child,null,o),e.child.memoizedState=Bl(o),e.memoizedState=Ul,s);if(!(e.mode&1))return ks(t,e,o,null);if(r.data==="$!"){if(i=r.nextSibling&&r.nextSibling.dataset,i)var a=i.dgst;return i=a,s=Error(C(419)),i=za(s,i,void 0),ks(t,e,o,i)}if(a=(o&t.childLanes)!==0,Ne||a){if(i=ve,i!==null){switch(o&-o){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=r&(i.suspendedLanes|o)?0:r,r!==0&&r!==s.retryLane&&(s.retryLane=r,zt(t,r),gt(i,t,r,-1))}return oc(),i=za(Error(C(421))),ks(t,e,o,i)}return r.data==="$?"?(e.flags|=128,e.child=t.child,e=yv.bind(null,t),r._reactRetry=e,null):(t=s.treeContext,He=an(r.nextSibling),Ye=e,ee=!0,ft=null,t!==null&&(Ze[et++]=It,Ze[et++]=At,Ze[et++]=Un,It=t.id,At=t.overflow,Un=e),e=ec(e,i.children),e.flags|=4096,e)}function Lh(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),Dl(t.return,e,n)}function $a(t,e,n,i,r){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=i,s.tail=n,s.tailMode=r)}function xg(t,e,n){var i=e.pendingProps,r=i.revealOrder,s=i.tail;if(Le(t,e,i.children,n),i=te.current,i&2)i=i&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Lh(t,n,e);else if(t.tag===19)Lh(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}i&=1}if(q(te,i),!(e.mode&1))e.memoizedState=null;else switch(r){case"forwards":for(n=e.child,r=null;n!==null;)t=n.alternate,t!==null&&Co(t)===null&&(r=n),n=n.sibling;n=r,n===null?(r=e.child,e.child=null):(r=n.sibling,n.sibling=null),$a(e,!1,r,n,s);break;case"backwards":for(n=null,r=e.child,e.child=null;r!==null;){if(t=r.alternate,t!==null&&Co(t)===null){e.child=r;break}t=r.sibling,r.sibling=n,n=r,r=t}$a(e,!0,n,null,s);break;case"together":$a(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function eo(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function $t(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Vn|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(C(153));if(e.child!==null){for(t=e.child,n=hn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=hn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function sv(t,e,n){switch(e.tag){case 3:_g(e),Ei();break;case 5:Yp(e);break;case 1:ze(e.type)&&_o(e);break;case 4:Ku(e,e.stateNode.containerInfo);break;case 10:var i=e.type._context,r=e.memoizedProps.value;q(ko,i._currentValue),i._currentValue=r;break;case 13:if(i=e.memoizedState,i!==null)return i.dehydrated!==null?(q(te,te.current&1),e.flags|=128,null):n&e.child.childLanes?wg(t,e,n):(q(te,te.current&1),t=$t(t,e,n),t!==null?t.sibling:null);q(te,te.current&1);break;case 19:if(i=(n&e.childLanes)!==0,t.flags&128){if(i)return xg(t,e,n);e.flags|=128}if(r=e.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),q(te,te.current),i)break;return null;case 22:case 23:return e.lanes=0,yg(t,e,n)}return $t(t,e,n)}var kg,Vl,bg,Sg;kg=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Vl=function(){};bg=function(t,e,n,i){var r=t.memoizedProps;if(r!==i){t=e.stateNode,An(Ct.current);var s=null;switch(n){case"input":r=hl(t,r),i=hl(t,i),s=[];break;case"select":r=ie({},r,{value:void 0}),i=ie({},i,{value:void 0}),s=[];break;case"textarea":r=pl(t,r),i=pl(t,i),s=[];break;default:typeof r.onClick!="function"&&typeof i.onClick=="function"&&(t.onclick=yo)}ml(n,i);var o;n=null;for(u in r)if(!i.hasOwnProperty(u)&&r.hasOwnProperty(u)&&r[u]!=null)if(u==="style"){var a=r[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Or.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in i){var l=i[u];if(a=r!=null?r[u]:void 0,i.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Or.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&X("scroll",t),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(e.updateQueue=u)&&(e.flags|=4)}};Sg=function(t,e,n,i){n!==i&&(e.flags|=4)};function qi(t,e){if(!ee)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null}}function Se(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var r=t.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&14680064,i|=r.flags&14680064,r.return=t,r=r.sibling;else for(r=t.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=t,r=r.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}function ov(t,e,n){var i=e.pendingProps;switch(zu(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(e),null;case 1:return ze(e.type)&&vo(),Se(e),null;case 3:return i=e.stateNode,Ti(),Z(Fe),Z(Pe),Gu(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(ws(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,ft!==null&&(Xl(ft),ft=null))),Vl(t,e),Se(e),null;case 5:Yu(e);var r=An(Ur.current);if(n=e.type,t!==null&&e.stateNode!=null)bg(t,e,n,i,r),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!i){if(e.stateNode===null)throw Error(C(166));return Se(e),null}if(t=An(Ct.current),ws(e)){i=e.stateNode,n=e.type;var s=e.memoizedProps;switch(i[bt]=e,i[zr]=s,t=(e.mode&1)!==0,n){case"dialog":X("cancel",i),X("close",i);break;case"iframe":case"object":case"embed":X("load",i);break;case"video":case"audio":for(r=0;r<or.length;r++)X(or[r],i);break;case"source":X("error",i);break;case"img":case"image":case"link":X("error",i),X("load",i);break;case"details":X("toggle",i);break;case"input":zc(i,s),X("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!s.multiple},X("invalid",i);break;case"textarea":Uc(i,s),X("invalid",i)}ml(n,s),r=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="children"?typeof a=="string"?i.textContent!==a&&(s.suppressHydrationWarning!==!0&&_s(i.textContent,a,t),r=["children",a]):typeof a=="number"&&i.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&_s(i.textContent,a,t),r=["children",""+a]):Or.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&X("scroll",i)}switch(n){case"input":hs(i),$c(i,s,!0);break;case"textarea":hs(i),Bc(i);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(i.onclick=yo)}i=r,e.updateQueue=i,i!==null&&(e.flags|=4)}else{o=r.nodeType===9?r:r.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=Jf(n)),t==="http://www.w3.org/1999/xhtml"?n==="script"?(t=o.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof i.is=="string"?t=o.createElement(n,{is:i.is}):(t=o.createElement(n),n==="select"&&(o=t,i.multiple?o.multiple=!0:i.size&&(o.size=i.size))):t=o.createElementNS(t,n),t[bt]=e,t[zr]=i,kg(t,e,!1,!1),e.stateNode=t;e:{switch(o=yl(n,i),n){case"dialog":X("cancel",t),X("close",t),r=i;break;case"iframe":case"object":case"embed":X("load",t),r=i;break;case"video":case"audio":for(r=0;r<or.length;r++)X(or[r],t);r=i;break;case"source":X("error",t),r=i;break;case"img":case"image":case"link":X("error",t),X("load",t),r=i;break;case"details":X("toggle",t),r=i;break;case"input":zc(t,i),r=hl(t,i),X("invalid",t);break;case"option":r=i;break;case"select":t._wrapperState={wasMultiple:!!i.multiple},r=ie({},i,{value:void 0}),X("invalid",t);break;case"textarea":Uc(t,i),r=pl(t,i),X("invalid",t);break;default:r=i}ml(n,r),a=r;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?tp(t,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Zf(t,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Lr(t,l):typeof l=="number"&&Lr(t,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Or.hasOwnProperty(s)?l!=null&&s==="onScroll"&&X("scroll",t):l!=null&&Su(t,s,l,o))}switch(n){case"input":hs(t),$c(t,i,!1);break;case"textarea":hs(t),Bc(t);break;case"option":i.value!=null&&t.setAttribute("value",""+fn(i.value));break;case"select":t.multiple=!!i.multiple,s=i.value,s!=null?yi(t,!!i.multiple,s,!1):i.defaultValue!=null&&yi(t,!!i.multiple,i.defaultValue,!0);break;default:typeof r.onClick=="function"&&(t.onclick=yo)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return Se(e),null;case 6:if(t&&e.stateNode!=null)Sg(t,e,t.memoizedProps,i);else{if(typeof i!="string"&&e.stateNode===null)throw Error(C(166));if(n=An(Ur.current),An(Ct.current),ws(e)){if(i=e.stateNode,n=e.memoizedProps,i[bt]=e,(s=i.nodeValue!==n)&&(t=Ye,t!==null))switch(t.tag){case 3:_s(i.nodeValue,n,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&_s(i.nodeValue,n,(t.mode&1)!==0)}s&&(e.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[bt]=e,e.stateNode=i}return Se(e),null;case 13:if(Z(te),i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(ee&&He!==null&&e.mode&1&&!(e.flags&128))Bp(),Ei(),e.flags|=98560,s=!1;else if(s=ws(e),i!==null&&i.dehydrated!==null){if(t===null){if(!s)throw Error(C(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(C(317));s[bt]=e}else Ei(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Se(e),s=!1}else ft!==null&&(Xl(ft),ft=null),s=!0;if(!s)return e.flags&65536?e:null}return e.flags&128?(e.lanes=n,e):(i=i!==null,i!==(t!==null&&t.memoizedState!==null)&&i&&(e.child.flags|=8192,e.mode&1&&(t===null||te.current&1?fe===0&&(fe=3):oc())),e.updateQueue!==null&&(e.flags|=4),Se(e),null);case 4:return Ti(),Vl(t,e),t===null&&Nr(e.stateNode.containerInfo),Se(e),null;case 10:return Vu(e.type._context),Se(e),null;case 17:return ze(e.type)&&vo(),Se(e),null;case 19:if(Z(te),s=e.memoizedState,s===null)return Se(e),null;if(i=(e.flags&128)!==0,o=s.rendering,o===null)if(i)qi(s,!1);else{if(fe!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(o=Co(t),o!==null){for(e.flags|=128,qi(s,!1),i=o.updateQueue,i!==null&&(e.updateQueue=i,e.flags|=4),e.subtreeFlags=0,i=n,n=e.child;n!==null;)s=n,t=i,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=t,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,t=o.dependencies,s.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return q(te,te.current&1|2),e.child}t=t.sibling}s.tail!==null&&ae()>Li&&(e.flags|=128,i=!0,qi(s,!1),e.lanes=4194304)}else{if(!i)if(t=Co(o),t!==null){if(e.flags|=128,i=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),qi(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!ee)return Se(e),null}else 2*ae()-s.renderingStartTime>Li&&n!==1073741824&&(e.flags|=128,i=!0,qi(s,!1),e.lanes=4194304);s.isBackwards?(o.sibling=e.child,e.child=o):(n=s.last,n!==null?n.sibling=o:e.child=o,s.last=o)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=ae(),e.sibling=null,n=te.current,q(te,i?n&1|2:n&1),e):(Se(e),null);case 22:case 23:return sc(),i=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==i&&(e.flags|=8192),i&&e.mode&1?Ve&1073741824&&(Se(e),e.subtreeFlags&6&&(e.flags|=8192)):Se(e),null;case 24:return null;case 25:return null}throw Error(C(156,e.tag))}function av(t,e){switch(zu(e),e.tag){case 1:return ze(e.type)&&vo(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ti(),Z(Fe),Z(Pe),Gu(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Yu(e),null;case 13:if(Z(te),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(C(340));Ei()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Z(te),null;case 4:return Ti(),null;case 10:return Vu(e.type._context),null;case 22:case 23:return sc(),null;case 24:return null;default:return null}}var bs=!1,Ee=!1,lv=typeof WeakSet=="function"?WeakSet:Set,O=null;function gi(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){se(t,e,i)}else n.current=null}function Hl(t,e,n){try{n()}catch(i){se(t,e,i)}}var Mh=!1;function uv(t,e){if(Pl=po,t=Op(),Nu(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var r=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,c=0,h=t,d=null;t:for(;;){for(var f;h!==n||r!==0&&h.nodeType!==3||(a=o+r),h!==s||i!==0&&h.nodeType!==3||(l=o+i),h.nodeType===3&&(o+=h.nodeValue.length),(f=h.firstChild)!==null;)d=h,h=f;for(;;){if(h===t)break t;if(d===n&&++u===r&&(a=o),d===s&&++c===i&&(l=o),(f=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=f}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Tl={focusedElem:t,selectionRange:n},po=!1,O=e;O!==null;)if(e=O,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,O=t;else for(;O!==null;){e=O;try{var m=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,v=m.memoizedState,p=e.stateNode,g=p.getSnapshotBeforeUpdate(e.elementType===e.type?y:ut(e.type,y),v);p.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var _=e.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(w){se(e,e.return,w)}if(t=e.sibling,t!==null){t.return=e.return,O=t;break}O=e.return}return m=Mh,Mh=!1,m}function vr(t,e,n){var i=e.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var r=i=i.next;do{if((r.tag&t)===t){var s=r.destroy;r.destroy=void 0,s!==void 0&&Hl(e,n,s)}r=r.next}while(r!==i)}}function ea(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var i=n.create;n.destroy=i()}n=n.next}while(n!==e)}}function Wl(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function Cg(t){var e=t.alternate;e!==null&&(t.alternate=null,Cg(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[bt],delete e[zr],delete e[Ml],delete e[Wy],delete e[Ky])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Eg(t){return t.tag===5||t.tag===3||t.tag===4}function Rh(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Eg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Kl(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=yo));else if(i!==4&&(t=t.child,t!==null))for(Kl(t,e,n),t=t.sibling;t!==null;)Kl(t,e,n),t=t.sibling}function Yl(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(i!==4&&(t=t.child,t!==null))for(Yl(t,e,n),t=t.sibling;t!==null;)Yl(t,e,n),t=t.sibling}var we=null,ct=!1;function Bt(t,e,n){for(n=n.child;n!==null;)Pg(t,e,n),n=n.sibling}function Pg(t,e,n){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(Ko,n)}catch{}switch(n.tag){case 5:Ee||gi(n,e);case 6:var i=we,r=ct;we=null,Bt(t,e,n),we=i,ct=r,we!==null&&(ct?(t=we,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):we.removeChild(n.stateNode));break;case 18:we!==null&&(ct?(t=we,n=n.stateNode,t.nodeType===8?Ia(t.parentNode,n):t.nodeType===1&&Ia(t,n),Ar(t)):Ia(we,n.stateNode));break;case 4:i=we,r=ct,we=n.stateNode.containerInfo,ct=!0,Bt(t,e,n),we=i,ct=r;break;case 0:case 11:case 14:case 15:if(!Ee&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){r=i=i.next;do{var s=r,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Hl(n,e,o),r=r.next}while(r!==i)}Bt(t,e,n);break;case 1:if(!Ee&&(gi(n,e),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(a){se(n,e,a)}Bt(t,e,n);break;case 21:Bt(t,e,n);break;case 22:n.mode&1?(Ee=(i=Ee)||n.memoizedState!==null,Bt(t,e,n),Ee=i):Bt(t,e,n);break;default:Bt(t,e,n)}}function Ih(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new lv),e.forEach(function(i){var r=vv.bind(null,t,i);n.has(i)||(n.add(i),i.then(r,r))})}}function at(t,e){var n=e.deletions;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];try{var s=t,o=e,a=o;e:for(;a!==null;){switch(a.tag){case 5:we=a.stateNode,ct=!1;break e;case 3:we=a.stateNode.containerInfo,ct=!0;break e;case 4:we=a.stateNode.containerInfo,ct=!0;break e}a=a.return}if(we===null)throw Error(C(160));Pg(s,o,r),we=null,ct=!1;var l=r.alternate;l!==null&&(l.return=null),r.return=null}catch(u){se(r,e,u)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)Tg(e,t),e=e.sibling}function Tg(t,e){var n=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(at(e,t),_t(t),i&4){try{vr(3,t,t.return),ea(3,t)}catch(y){se(t,t.return,y)}try{vr(5,t,t.return)}catch(y){se(t,t.return,y)}}break;case 1:at(e,t),_t(t),i&512&&n!==null&&gi(n,n.return);break;case 5:if(at(e,t),_t(t),i&512&&n!==null&&gi(n,n.return),t.flags&32){var r=t.stateNode;try{Lr(r,"")}catch(y){se(t,t.return,y)}}if(i&4&&(r=t.stateNode,r!=null)){var s=t.memoizedProps,o=n!==null?n.memoizedProps:s,a=t.type,l=t.updateQueue;if(t.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Qf(r,s),yl(a,o);var u=yl(a,s);for(o=0;o<l.length;o+=2){var c=l[o],h=l[o+1];c==="style"?tp(r,h):c==="dangerouslySetInnerHTML"?Zf(r,h):c==="children"?Lr(r,h):Su(r,c,h,u)}switch(a){case"input":dl(r,s);break;case"textarea":Xf(r,s);break;case"select":var d=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!s.multiple;var f=s.value;f!=null?yi(r,!!s.multiple,f,!1):d!==!!s.multiple&&(s.defaultValue!=null?yi(r,!!s.multiple,s.defaultValue,!0):yi(r,!!s.multiple,s.multiple?[]:"",!1))}r[zr]=s}catch(y){se(t,t.return,y)}}break;case 6:if(at(e,t),_t(t),i&4){if(t.stateNode===null)throw Error(C(162));r=t.stateNode,s=t.memoizedProps;try{r.nodeValue=s}catch(y){se(t,t.return,y)}}break;case 3:if(at(e,t),_t(t),i&4&&n!==null&&n.memoizedState.isDehydrated)try{Ar(e.containerInfo)}catch(y){se(t,t.return,y)}break;case 4:at(e,t),_t(t);break;case 13:at(e,t),_t(t),r=t.child,r.flags&8192&&(s=r.memoizedState!==null,r.stateNode.isHidden=s,!s||r.alternate!==null&&r.alternate.memoizedState!==null||(ic=ae())),i&4&&Ih(t);break;case 22:if(c=n!==null&&n.memoizedState!==null,t.mode&1?(Ee=(u=Ee)||c,at(e,t),Ee=u):at(e,t),_t(t),i&8192){if(u=t.memoizedState!==null,(t.stateNode.isHidden=u)&&!c&&t.mode&1)for(O=t,c=t.child;c!==null;){for(h=O=c;O!==null;){switch(d=O,f=d.child,d.tag){case 0:case 11:case 14:case 15:vr(4,d,d.return);break;case 1:gi(d,d.return);var m=d.stateNode;if(typeof m.componentWillUnmount=="function"){i=d,n=d.return;try{e=i,m.props=e.memoizedProps,m.state=e.memoizedState,m.componentWillUnmount()}catch(y){se(i,n,y)}}break;case 5:gi(d,d.return);break;case 22:if(d.memoizedState!==null){Dh(h);continue}}f!==null?(f.return=d,O=f):Dh(h)}c=c.sibling}e:for(c=null,h=t;;){if(h.tag===5){if(c===null){c=h;try{r=h.stateNode,u?(s=r.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=h.stateNode,l=h.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=ep("display",o))}catch(y){se(t,t.return,y)}}}else if(h.tag===6){if(c===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(y){se(t,t.return,y)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===t)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;c===h&&(c=null),h=h.return}c===h&&(c=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:at(e,t),_t(t),i&4&&Ih(t);break;case 21:break;default:at(e,t),_t(t)}}function _t(t){var e=t.flags;if(e&2){try{e:{for(var n=t.return;n!==null;){if(Eg(n)){var i=n;break e}n=n.return}throw Error(C(160))}switch(i.tag){case 5:var r=i.stateNode;i.flags&32&&(Lr(r,""),i.flags&=-33);var s=Rh(t);Yl(t,s,r);break;case 3:case 4:var o=i.stateNode.containerInfo,a=Rh(t);Kl(t,a,o);break;default:throw Error(C(161))}}catch(l){se(t,t.return,l)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function cv(t,e,n){O=t,Og(t)}function Og(t,e,n){for(var i=(t.mode&1)!==0;O!==null;){var r=O,s=r.child;if(r.tag===22&&i){var o=r.memoizedState!==null||bs;if(!o){var a=r.alternate,l=a!==null&&a.memoizedState!==null||Ee;a=bs;var u=Ee;if(bs=o,(Ee=l)&&!u)for(O=r;O!==null;)o=O,l=o.child,o.tag===22&&o.memoizedState!==null?jh(r):l!==null?(l.return=o,O=l):jh(r);for(;s!==null;)O=s,Og(s),s=s.sibling;O=r,bs=a,Ee=u}Ah(t)}else r.subtreeFlags&8772&&s!==null?(s.return=r,O=s):Ah(t)}}function Ah(t){for(;O!==null;){var e=O;if(e.flags&8772){var n=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:Ee||ea(5,e);break;case 1:var i=e.stateNode;if(e.flags&4&&!Ee)if(n===null)i.componentDidMount();else{var r=e.elementType===e.type?n.memoizedProps:ut(e.type,n.memoizedProps);i.componentDidUpdate(r,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var s=e.updateQueue;s!==null&&vh(e,s,i);break;case 3:var o=e.updateQueue;if(o!==null){if(n=null,e.child!==null)switch(e.child.tag){case 5:n=e.child.stateNode;break;case 1:n=e.child.stateNode}vh(e,o,n)}break;case 5:var a=e.stateNode;if(n===null&&e.flags&4){n=a;var l=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var u=e.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var h=c.dehydrated;h!==null&&Ar(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}Ee||e.flags&512&&Wl(e)}catch(d){se(e,e.return,d)}}if(e===t){O=null;break}if(n=e.sibling,n!==null){n.return=e.return,O=n;break}O=e.return}}function Dh(t){for(;O!==null;){var e=O;if(e===t){O=null;break}var n=e.sibling;if(n!==null){n.return=e.return,O=n;break}O=e.return}}function jh(t){for(;O!==null;){var e=O;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{ea(4,e)}catch(l){se(e,n,l)}break;case 1:var i=e.stateNode;if(typeof i.componentDidMount=="function"){var r=e.return;try{i.componentDidMount()}catch(l){se(e,r,l)}}var s=e.return;try{Wl(e)}catch(l){se(e,s,l)}break;case 5:var o=e.return;try{Wl(e)}catch(l){se(e,o,l)}}}catch(l){se(e,e.return,l)}if(e===t){O=null;break}var a=e.sibling;if(a!==null){a.return=e.return,O=a;break}O=e.return}}var hv=Math.ceil,To=Ut.ReactCurrentDispatcher,tc=Ut.ReactCurrentOwner,it=Ut.ReactCurrentBatchConfig,z=0,ve=null,he=null,xe=0,Ve=0,mi=yn(0),fe=0,Wr=null,Vn=0,ta=0,nc=0,_r=null,De=null,ic=0,Li=1/0,Lt=null,Oo=!1,Gl=null,un=null,Ss=!1,Jt=null,Lo=0,wr=0,ql=null,to=-1,no=0;function Me(){return z&6?ae():to!==-1?to:to=ae()}function cn(t){return t.mode&1?z&2&&xe!==0?xe&-xe:Gy.transition!==null?(no===0&&(no=fp()),no):(t=H,t!==0||(t=window.event,t=t===void 0?16:wp(t.type)),t):1}function gt(t,e,n,i){if(50<wr)throw wr=0,ql=null,Error(C(185));ts(t,n,i),(!(z&2)||t!==ve)&&(t===ve&&(!(z&2)&&(ta|=n),fe===4&&qt(t,xe)),$e(t,i),n===1&&z===0&&!(e.mode&1)&&(Li=ae()+500,Xo&&vn()))}function $e(t,e){var n=t.callbackNode;G0(t,e);var i=fo(t,t===ve?xe:0);if(i===0)n!==null&&Wc(n),t.callbackNode=null,t.callbackPriority=0;else if(e=i&-i,t.callbackPriority!==e){if(n!=null&&Wc(n),e===1)t.tag===0?Yy(Nh.bind(null,t)):zp(Nh.bind(null,t)),Vy(function(){!(z&6)&&vn()}),n=null;else{switch(pp(i)){case 1:n=Ou;break;case 4:n=hp;break;case 16:n=ho;break;case 536870912:n=dp;break;default:n=ho}n=Ng(n,Lg.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function Lg(t,e){if(to=-1,no=0,z&6)throw Error(C(327));var n=t.callbackNode;if(ki()&&t.callbackNode!==n)return null;var i=fo(t,t===ve?xe:0);if(i===0)return null;if(i&30||i&t.expiredLanes||e)e=Mo(t,i);else{e=i;var r=z;z|=2;var s=Rg();(ve!==t||xe!==e)&&(Lt=null,Li=ae()+500,jn(t,e));do try{pv();break}catch(a){Mg(t,a)}while(!0);Bu(),To.current=s,z=r,he!==null?e=0:(ve=null,xe=0,e=fe)}if(e!==0){if(e===2&&(r=kl(t),r!==0&&(i=r,e=Ql(t,r))),e===1)throw n=Wr,jn(t,0),qt(t,i),$e(t,ae()),n;if(e===6)qt(t,i);else{if(r=t.current.alternate,!(i&30)&&!dv(r)&&(e=Mo(t,i),e===2&&(s=kl(t),s!==0&&(i=s,e=Ql(t,s))),e===1))throw n=Wr,jn(t,0),qt(t,i),$e(t,ae()),n;switch(t.finishedWork=r,t.finishedLanes=i,e){case 0:case 1:throw Error(C(345));case 2:Pn(t,De,Lt);break;case 3:if(qt(t,i),(i&130023424)===i&&(e=ic+500-ae(),10<e)){if(fo(t,0)!==0)break;if(r=t.suspendedLanes,(r&i)!==i){Me(),t.pingedLanes|=t.suspendedLanes&r;break}t.timeoutHandle=Ll(Pn.bind(null,t,De,Lt),e);break}Pn(t,De,Lt);break;case 4:if(qt(t,i),(i&4194240)===i)break;for(e=t.eventTimes,r=-1;0<i;){var o=31-pt(i);s=1<<o,o=e[o],o>r&&(r=o),i&=~s}if(i=r,i=ae()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*hv(i/1960))-i,10<i){t.timeoutHandle=Ll(Pn.bind(null,t,De,Lt),i);break}Pn(t,De,Lt);break;case 5:Pn(t,De,Lt);break;default:throw Error(C(329))}}}return $e(t,ae()),t.callbackNode===n?Lg.bind(null,t):null}function Ql(t,e){var n=_r;return t.current.memoizedState.isDehydrated&&(jn(t,e).flags|=256),t=Mo(t,e),t!==2&&(e=De,De=n,e!==null&&Xl(e)),t}function Xl(t){De===null?De=t:De.push.apply(De,t)}function dv(t){for(var e=t;;){if(e.flags&16384){var n=e.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var i=0;i<n.length;i++){var r=n[i],s=r.getSnapshot;r=r.value;try{if(!yt(s(),r))return!1}catch{return!1}}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function qt(t,e){for(e&=~nc,e&=~ta,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-pt(e),i=1<<n;t[n]=-1,e&=~i}}function Nh(t){if(z&6)throw Error(C(327));ki();var e=fo(t,0);if(!(e&1))return $e(t,ae()),null;var n=Mo(t,e);if(t.tag!==0&&n===2){var i=kl(t);i!==0&&(e=i,n=Ql(t,i))}if(n===1)throw n=Wr,jn(t,0),qt(t,e),$e(t,ae()),n;if(n===6)throw Error(C(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Pn(t,De,Lt),$e(t,ae()),null}function rc(t,e){var n=z;z|=1;try{return t(e)}finally{z=n,z===0&&(Li=ae()+500,Xo&&vn())}}function Hn(t){Jt!==null&&Jt.tag===0&&!(z&6)&&ki();var e=z;z|=1;var n=it.transition,i=H;try{if(it.transition=null,H=1,t)return t()}finally{H=i,it.transition=n,z=e,!(z&6)&&vn()}}function sc(){Ve=mi.current,Z(mi)}function jn(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(n!==-1&&(t.timeoutHandle=-1,By(n)),he!==null)for(n=he.return;n!==null;){var i=n;switch(zu(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&vo();break;case 3:Ti(),Z(Fe),Z(Pe),Gu();break;case 5:Yu(i);break;case 4:Ti();break;case 13:Z(te);break;case 19:Z(te);break;case 10:Vu(i.type._context);break;case 22:case 23:sc()}n=n.return}if(ve=t,he=t=hn(t.current,null),xe=Ve=e,fe=0,Wr=null,nc=ta=Vn=0,De=_r=null,In!==null){for(e=0;e<In.length;e++)if(n=In[e],i=n.interleaved,i!==null){n.interleaved=null;var r=i.next,s=n.pending;if(s!==null){var o=s.next;s.next=r,i.next=o}n.pending=i}In=null}return t}function Mg(t,e){do{var n=he;try{if(Bu(),Js.current=Po,Eo){for(var i=ne.memoizedState;i!==null;){var r=i.queue;r!==null&&(r.pending=null),i=i.next}Eo=!1}if(Bn=0,me=de=ne=null,yr=!1,Br=0,tc.current=null,n===null||n.return===null){fe=1,Wr=e,he=null;break}e:{var s=t,o=n.return,a=n,l=e;if(e=xe,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,h=c.tag;if(!(c.mode&1)&&(h===0||h===11||h===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=Sh(o);if(f!==null){f.flags&=-257,Ch(f,o,a,s,e),f.mode&1&&bh(s,u,e),e=f,l=u;var m=e.updateQueue;if(m===null){var y=new Set;y.add(l),e.updateQueue=y}else m.add(l);break e}else{if(!(e&1)){bh(s,u,e),oc();break e}l=Error(C(426))}}else if(ee&&a.mode&1){var v=Sh(o);if(v!==null){!(v.flags&65536)&&(v.flags|=256),Ch(v,o,a,s,e),$u(Oi(l,a));break e}}s=l=Oi(l,a),fe!==4&&(fe=2),_r===null?_r=[s]:_r.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,e&=-e,s.lanes|=e;var p=pg(s,l,e);yh(s,p);break e;case 1:a=l;var g=s.type,_=s.stateNode;if(!(s.flags&128)&&(typeof g.getDerivedStateFromError=="function"||_!==null&&typeof _.componentDidCatch=="function"&&(un===null||!un.has(_)))){s.flags|=65536,e&=-e,s.lanes|=e;var w=gg(s,a,e);yh(s,w);break e}}s=s.return}while(s!==null)}Ag(n)}catch(x){e=x,he===n&&n!==null&&(he=n=n.return);continue}break}while(!0)}function Rg(){var t=To.current;return To.current=Po,t===null?Po:t}function oc(){(fe===0||fe===3||fe===2)&&(fe=4),ve===null||!(Vn&268435455)&&!(ta&268435455)||qt(ve,xe)}function Mo(t,e){var n=z;z|=2;var i=Rg();(ve!==t||xe!==e)&&(Lt=null,jn(t,e));do try{fv();break}catch(r){Mg(t,r)}while(!0);if(Bu(),z=n,To.current=i,he!==null)throw Error(C(261));return ve=null,xe=0,fe}function fv(){for(;he!==null;)Ig(he)}function pv(){for(;he!==null&&!z0();)Ig(he)}function Ig(t){var e=jg(t.alternate,t,Ve);t.memoizedProps=t.pendingProps,e===null?Ag(t):he=e,tc.current=null}function Ag(t){var e=t;do{var n=e.alternate;if(t=e.return,e.flags&32768){if(n=av(n,e),n!==null){n.flags&=32767,he=n;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{fe=6,he=null;return}}else if(n=ov(n,e,Ve),n!==null){he=n;return}if(e=e.sibling,e!==null){he=e;return}he=e=t}while(e!==null);fe===0&&(fe=5)}function Pn(t,e,n){var i=H,r=it.transition;try{it.transition=null,H=1,gv(t,e,n,i)}finally{it.transition=r,H=i}return null}function gv(t,e,n,i){do ki();while(Jt!==null);if(z&6)throw Error(C(327));n=t.finishedWork;var r=t.finishedLanes;if(n===null)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(C(177));t.callbackNode=null,t.callbackPriority=0;var s=n.lanes|n.childLanes;if(q0(t,s),t===ve&&(he=ve=null,xe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ss||(Ss=!0,Ng(ho,function(){return ki(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=it.transition,it.transition=null;var o=H;H=1;var a=z;z|=4,tc.current=null,uv(t,n),Tg(n,t),Dy(Tl),po=!!Pl,Tl=Pl=null,t.current=n,cv(n),$0(),z=a,H=o,it.transition=s}else t.current=n;if(Ss&&(Ss=!1,Jt=t,Lo=r),s=t.pendingLanes,s===0&&(un=null),V0(n.stateNode),$e(t,ae()),e!==null)for(i=t.onRecoverableError,n=0;n<e.length;n++)r=e[n],i(r.value,{componentStack:r.stack,digest:r.digest});if(Oo)throw Oo=!1,t=Gl,Gl=null,t;return Lo&1&&t.tag!==0&&ki(),s=t.pendingLanes,s&1?t===ql?wr++:(wr=0,ql=t):wr=0,vn(),null}function ki(){if(Jt!==null){var t=pp(Lo),e=it.transition,n=H;try{if(it.transition=null,H=16>t?16:t,Jt===null)var i=!1;else{if(t=Jt,Jt=null,Lo=0,z&6)throw Error(C(331));var r=z;for(z|=4,O=t.current;O!==null;){var s=O,o=s.child;if(O.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(O=u;O!==null;){var c=O;switch(c.tag){case 0:case 11:case 15:vr(8,c,s)}var h=c.child;if(h!==null)h.return=c,O=h;else for(;O!==null;){c=O;var d=c.sibling,f=c.return;if(Cg(c),c===u){O=null;break}if(d!==null){d.return=f,O=d;break}O=f}}}var m=s.alternate;if(m!==null){var y=m.child;if(y!==null){m.child=null;do{var v=y.sibling;y.sibling=null,y=v}while(y!==null)}}O=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,O=o;else e:for(;O!==null;){if(s=O,s.flags&2048)switch(s.tag){case 0:case 11:case 15:vr(9,s,s.return)}var p=s.sibling;if(p!==null){p.return=s.return,O=p;break e}O=s.return}}var g=t.current;for(O=g;O!==null;){o=O;var _=o.child;if(o.subtreeFlags&2064&&_!==null)_.return=o,O=_;else e:for(o=g;O!==null;){if(a=O,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:ea(9,a)}}catch(x){se(a,a.return,x)}if(a===o){O=null;break e}var w=a.sibling;if(w!==null){w.return=a.return,O=w;break e}O=a.return}}if(z=r,vn(),St&&typeof St.onPostCommitFiberRoot=="function")try{St.onPostCommitFiberRoot(Ko,t)}catch{}i=!0}return i}finally{H=n,it.transition=e}}return!1}function Fh(t,e,n){e=Oi(n,e),e=pg(t,e,1),t=ln(t,e,1),e=Me(),t!==null&&(ts(t,1,e),$e(t,e))}function se(t,e,n){if(t.tag===3)Fh(t,t,n);else for(;e!==null;){if(e.tag===3){Fh(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(un===null||!un.has(i))){t=Oi(n,t),t=gg(e,t,1),e=ln(e,t,1),t=Me(),e!==null&&(ts(e,1,t),$e(e,t));break}}e=e.return}}function mv(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),e=Me(),t.pingedLanes|=t.suspendedLanes&n,ve===t&&(xe&n)===n&&(fe===4||fe===3&&(xe&130023424)===xe&&500>ae()-ic?jn(t,0):nc|=n),$e(t,e)}function Dg(t,e){e===0&&(t.mode&1?(e=ps,ps<<=1,!(ps&130023424)&&(ps=4194304)):e=1);var n=Me();t=zt(t,e),t!==null&&(ts(t,e,n),$e(t,n))}function yv(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Dg(t,n)}function vv(t,e){var n=0;switch(t.tag){case 13:var i=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=t.stateNode;break;default:throw Error(C(314))}i!==null&&i.delete(e),Dg(t,n)}var jg;jg=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Fe.current)Ne=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return Ne=!1,sv(t,e,n);Ne=!!(t.flags&131072)}else Ne=!1,ee&&e.flags&1048576&&$p(e,xo,e.index);switch(e.lanes=0,e.tag){case 2:var i=e.type;eo(t,e),t=e.pendingProps;var r=Ci(e,Pe.current);xi(e,n),r=Qu(null,e,i,t,r,n);var s=Xu();return e.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,ze(i)?(s=!0,_o(e)):s=!1,e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,Wu(e),r.updater=Zo,e.stateNode=r,r._reactInternals=e,Nl(e,i,t,n),e=$l(null,e,i,!0,s,n)):(e.tag=0,ee&&s&&Fu(e),Le(null,e,r,n),e=e.child),e;case 16:i=e.elementType;e:{switch(eo(t,e),t=e.pendingProps,r=i._init,i=r(i._payload),e.type=i,r=e.tag=wv(i),t=ut(i,t),r){case 0:e=zl(null,e,i,t,n);break e;case 1:e=Th(null,e,i,t,n);break e;case 11:e=Eh(null,e,i,t,n);break e;case 14:e=Ph(null,e,i,ut(i.type,t),n);break e}throw Error(C(306,i,""))}return e;case 0:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:ut(i,r),zl(t,e,i,r,n);case 1:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:ut(i,r),Th(t,e,i,r,n);case 3:e:{if(_g(e),t===null)throw Error(C(387));i=e.pendingProps,s=e.memoizedState,r=s.element,Kp(t,e),So(e,i,null,n);var o=e.memoizedState;if(i=o.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=s,e.memoizedState=s,e.flags&256){r=Oi(Error(C(423)),e),e=Oh(t,e,i,n,r);break e}else if(i!==r){r=Oi(Error(C(424)),e),e=Oh(t,e,i,n,r);break e}else for(He=an(e.stateNode.containerInfo.firstChild),Ye=e,ee=!0,ft=null,n=Hp(e,null,i,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ei(),i===r){e=$t(t,e,n);break e}Le(t,e,i,n)}e=e.child}return e;case 5:return Yp(e),t===null&&Al(e),i=e.type,r=e.pendingProps,s=t!==null?t.memoizedProps:null,o=r.children,Ol(i,r)?o=null:s!==null&&Ol(i,s)&&(e.flags|=32),vg(t,e),Le(t,e,o,n),e.child;case 6:return t===null&&Al(e),null;case 13:return wg(t,e,n);case 4:return Ku(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=Pi(e,null,i,n):Le(t,e,i,n),e.child;case 11:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:ut(i,r),Eh(t,e,i,r,n);case 7:return Le(t,e,e.pendingProps,n),e.child;case 8:return Le(t,e,e.pendingProps.children,n),e.child;case 12:return Le(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(i=e.type._context,r=e.pendingProps,s=e.memoizedProps,o=r.value,q(ko,i._currentValue),i._currentValue=o,s!==null)if(yt(s.value,o)){if(s.children===r.children&&!Fe.current){e=$t(t,e,n);break e}}else for(s=e.child,s!==null&&(s.return=e);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===i){if(s.tag===1){l=jt(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Dl(s.return,n,e),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===e.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(C(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Dl(o,n,e),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===e){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Le(t,e,r.children,n),e=e.child}return e;case 9:return r=e.type,i=e.pendingProps.children,xi(e,n),r=rt(r),i=i(r),e.flags|=1,Le(t,e,i,n),e.child;case 14:return i=e.type,r=ut(i,e.pendingProps),r=ut(i.type,r),Ph(t,e,i,r,n);case 15:return mg(t,e,e.type,e.pendingProps,n);case 17:return i=e.type,r=e.pendingProps,r=e.elementType===i?r:ut(i,r),eo(t,e),e.tag=1,ze(i)?(t=!0,_o(e)):t=!1,xi(e,n),fg(e,i,r),Nl(e,i,r,n),$l(null,e,i,!0,t,n);case 19:return xg(t,e,n);case 22:return yg(t,e,n)}throw Error(C(156,e.tag))};function Ng(t,e){return cp(t,e)}function _v(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tt(t,e,n,i){return new _v(t,e,n,i)}function ac(t){return t=t.prototype,!(!t||!t.isReactComponent)}function wv(t){if(typeof t=="function")return ac(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Eu)return 11;if(t===Pu)return 14}return 2}function hn(t,e){var n=t.alternate;return n===null?(n=tt(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function io(t,e,n,i,r,s){var o=2;if(i=t,typeof t=="function")ac(t)&&(o=1);else if(typeof t=="string")o=5;else e:switch(t){case oi:return Nn(n.children,r,s,e);case Cu:o=8,r|=8;break;case al:return t=tt(12,n,e,r|2),t.elementType=al,t.lanes=s,t;case ll:return t=tt(13,n,e,r),t.elementType=ll,t.lanes=s,t;case ul:return t=tt(19,n,e,r),t.elementType=ul,t.lanes=s,t;case Yf:return na(n,r,s,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Wf:o=10;break e;case Kf:o=9;break e;case Eu:o=11;break e;case Pu:o=14;break e;case Wt:o=16,i=null;break e}throw Error(C(130,t==null?t:typeof t,""))}return e=tt(o,n,e,r),e.elementType=t,e.type=i,e.lanes=s,e}function Nn(t,e,n,i){return t=tt(7,t,i,e),t.lanes=n,t}function na(t,e,n,i){return t=tt(22,t,i,e),t.elementType=Yf,t.lanes=n,t.stateNode={isHidden:!1},t}function Ua(t,e,n){return t=tt(6,t,null,e),t.lanes=n,t}function Ba(t,e,n){return e=tt(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function xv(t,e,n,i,r){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ka(0),this.expirationTimes=ka(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ka(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function lc(t,e,n,i,r,s,o,a,l){return t=new xv(t,e,n,a,l),e===1?(e=1,s===!0&&(e|=8)):e=0,s=tt(3,null,null,e),t.current=s,s.stateNode=t,s.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wu(s),t}function kv(t,e,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:si,key:i==null?null:""+i,children:t,containerInfo:e,implementation:n}}function Fg(t){if(!t)return pn;t=t._reactInternals;e:{if(Gn(t)!==t||t.tag!==1)throw Error(C(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(ze(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(C(171))}if(t.tag===1){var n=t.type;if(ze(n))return Fp(t,n,e)}return e}function zg(t,e,n,i,r,s,o,a,l){return t=lc(n,i,!0,t,r,s,o,a,l),t.context=Fg(null),n=t.current,i=Me(),r=cn(n),s=jt(i,r),s.callback=e??null,ln(n,s,r),t.current.lanes=r,ts(t,r,i),$e(t,i),t}function ia(t,e,n,i){var r=e.current,s=Me(),o=cn(r);return n=Fg(n),e.context===null?e.context=n:e.pendingContext=n,e=jt(s,o),e.payload={element:t},i=i===void 0?null:i,i!==null&&(e.callback=i),t=ln(r,e,o),t!==null&&(gt(t,r,o,s),Xs(t,r,o)),o}function Ro(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function zh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function uc(t,e){zh(t,e),(t=t.alternate)&&zh(t,e)}function bv(){return null}var $g=typeof reportError=="function"?reportError:function(t){console.error(t)};function cc(t){this._internalRoot=t}ra.prototype.render=cc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(C(409));ia(t,e,null,null)};ra.prototype.unmount=cc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Hn(function(){ia(null,t,null,null)}),e[Ft]=null}};function ra(t){this._internalRoot=t}ra.prototype.unstable_scheduleHydration=function(t){if(t){var e=yp();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Gt.length&&e!==0&&e<Gt[n].priority;n++);Gt.splice(n,0,t),n===0&&_p(t)}};function hc(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function sa(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function $h(){}function Sv(t,e,n,i,r){if(r){if(typeof i=="function"){var s=i;i=function(){var u=Ro(o);s.call(u)}}var o=zg(e,i,t,0,null,!1,!1,"",$h);return t._reactRootContainer=o,t[Ft]=o.current,Nr(t.nodeType===8?t.parentNode:t),Hn(),o}for(;r=t.lastChild;)t.removeChild(r);if(typeof i=="function"){var a=i;i=function(){var u=Ro(l);a.call(u)}}var l=lc(t,0,!1,null,null,!1,!1,"",$h);return t._reactRootContainer=l,t[Ft]=l.current,Nr(t.nodeType===8?t.parentNode:t),Hn(function(){ia(e,l,n,i)}),l}function oa(t,e,n,i,r){var s=n._reactRootContainer;if(s){var o=s;if(typeof r=="function"){var a=r;r=function(){var l=Ro(o);a.call(l)}}ia(e,o,t,r)}else o=Sv(n,e,t,r,i);return Ro(o)}gp=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=sr(e.pendingLanes);n!==0&&(Lu(e,n|1),$e(e,ae()),!(z&6)&&(Li=ae()+500,vn()))}break;case 13:Hn(function(){var i=zt(t,1);if(i!==null){var r=Me();gt(i,t,1,r)}}),uc(t,1)}};Mu=function(t){if(t.tag===13){var e=zt(t,134217728);if(e!==null){var n=Me();gt(e,t,134217728,n)}uc(t,134217728)}};mp=function(t){if(t.tag===13){var e=cn(t),n=zt(t,e);if(n!==null){var i=Me();gt(n,t,e,i)}uc(t,e)}};yp=function(){return H};vp=function(t,e){var n=H;try{return H=t,e()}finally{H=n}};_l=function(t,e,n){switch(e){case"input":if(dl(t,n),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var i=n[e];if(i!==t&&i.form===t.form){var r=Qo(i);if(!r)throw Error(C(90));qf(i),dl(i,r)}}}break;case"textarea":Xf(t,n);break;case"select":e=n.value,e!=null&&yi(t,!!n.multiple,e,!1)}};rp=rc;sp=Hn;var Cv={usingClientEntryPoint:!1,Events:[is,ci,Qo,np,ip,rc]},Qi={findFiberByHostInstance:Rn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ev={bundleType:Qi.bundleType,version:Qi.version,rendererPackageName:Qi.rendererPackageName,rendererConfig:Qi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ut.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=lp(t),t===null?null:t.stateNode},findFiberByHostInstance:Qi.findFiberByHostInstance||bv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Cs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cs.isDisabled&&Cs.supportsFiber)try{Ko=Cs.inject(Ev),St=Cs}catch{}}qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Cv;qe.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!hc(e))throw Error(C(200));return kv(t,e,null,n)};qe.createRoot=function(t,e){if(!hc(t))throw Error(C(299));var n=!1,i="",r=$g;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onRecoverableError!==void 0&&(r=e.onRecoverableError)),e=lc(t,1,!1,null,null,n,!1,i,r),t[Ft]=e.current,Nr(t.nodeType===8?t.parentNode:t),new cc(e)};qe.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(C(188)):(t=Object.keys(t).join(","),Error(C(268,t)));return t=lp(e),t=t===null?null:t.stateNode,t};qe.flushSync=function(t){return Hn(t)};qe.hydrate=function(t,e,n){if(!sa(e))throw Error(C(200));return oa(null,t,e,!0,n)};qe.hydrateRoot=function(t,e,n){if(!hc(t))throw Error(C(405));var i=n!=null&&n.hydratedSources||null,r=!1,s="",o=$g;if(n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),e=zg(e,null,t,1,n??null,r,!1,s,o),t[Ft]=e.current,Nr(t),i)for(t=0;t<i.length;t++)n=i[t],r=n._getVersion,r=r(n._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[n,r]:e.mutableSourceEagerHydrationData.push(n,r);return new ra(e)};qe.render=function(t,e,n){if(!sa(e))throw Error(C(200));return oa(null,t,e,!1,n)};qe.unmountComponentAtNode=function(t){if(!sa(t))throw Error(C(40));return t._reactRootContainer?(Hn(function(){oa(null,null,t,!1,function(){t._reactRootContainer=null,t[Ft]=null})}),!0):!1};qe.unstable_batchedUpdates=rc;qe.unstable_renderSubtreeIntoContainer=function(t,e,n,i){if(!sa(n))throw Error(C(200));if(t==null||t._reactInternals===void 0)throw Error(C(38));return oa(t,e,n,!1,i)};qe.version="18.3.1-next-f1338f8080-20240426";function Ug(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ug)}catch(t){console.error(t)}}Ug(),Uf.exports=qe;var Pv=Uf.exports,Uh=Pv;sl.createRoot=Uh.createRoot,sl.hydrateRoot=Uh.hydrateRoot;/** - * @remix-run/router v1.16.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Kr(){return Kr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Kr.apply(this,arguments)}var Zt;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Zt||(Zt={}));const Bh="popstate";function Tv(t){t===void 0&&(t={});function e(i,r){let{pathname:s,search:o,hash:a}=i.location;return Jl("",{pathname:s,search:o,hash:a},r.state&&r.state.usr||null,r.state&&r.state.key||"default")}function n(i,r){return typeof r=="string"?r:Vg(r)}return Lv(e,n,null,t)}function pe(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Bg(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Ov(){return Math.random().toString(36).substr(2,8)}function Vh(t,e){return{usr:t.state,key:t.key,idx:e}}function Jl(t,e,n,i){return n===void 0&&(n=null),Kr({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?$i(e):e,{state:n,key:e&&e.key||i||Ov()})}function Vg(t){let{pathname:e="/",search:n="",hash:i=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function $i(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substr(i),t=t.substr(0,i)),t&&(e.pathname=t)}return e}function Lv(t,e,n,i){i===void 0&&(i={});let{window:r=document.defaultView,v5Compat:s=!1}=i,o=r.history,a=Zt.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(Kr({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function h(){a=Zt.Pop;let v=c(),p=v==null?null:v-u;u=v,l&&l({action:a,location:y.location,delta:p})}function d(v,p){a=Zt.Push;let g=Jl(y.location,v,p);u=c()+1;let _=Vh(g,u),w=y.createHref(g);try{o.pushState(_,"",w)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;r.location.assign(w)}s&&l&&l({action:a,location:y.location,delta:1})}function f(v,p){a=Zt.Replace;let g=Jl(y.location,v,p);u=c();let _=Vh(g,u),w=y.createHref(g);o.replaceState(_,"",w),s&&l&&l({action:a,location:y.location,delta:0})}function m(v){let p=r.location.origin!=="null"?r.location.origin:r.location.href,g=typeof v=="string"?v:Vg(v);return g=g.replace(/ $/,"%20"),pe(p,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,p)}let y={get action(){return a},get location(){return t(r,o)},listen(v){if(l)throw new Error("A history only accepts one active listener");return r.addEventListener(Bh,h),l=v,()=>{r.removeEventListener(Bh,h),l=null}},createHref(v){return e(r,v)},createURL:m,encodeLocation(v){let p=m(v);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:d,replace:f,go(v){return o.go(v)}};return y}var Hh;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Hh||(Hh={}));function Mv(t,e,n){n===void 0&&(n="/");let i=typeof e=="string"?$i(e):e,r=Kg(i.pathname||"/",n);if(r==null)return null;let s=Hg(t);Rv(s);let o=null;for(let a=0;o==null&&a<s.length;++a){let l=Hv(r);o=Uv(s[a],l)}return o}function Hg(t,e,n,i){e===void 0&&(e=[]),n===void 0&&(n=[]),i===void 0&&(i="");let r=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(pe(l.relativePath.startsWith(i),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(i.length));let u=Fn([i,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(pe(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Hg(s.children,e,c,u)),!(s.path==null&&!s.index)&&e.push({path:u,score:zv(u,s.index),routesMeta:c})};return t.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))r(s,o);else for(let l of Wg(s.path))r(s,o,l)}),e}function Wg(t){let e=t.split("/");if(e.length===0)return[];let[n,...i]=e,r=n.endsWith("?"),s=n.replace(/\?$/,"");if(i.length===0)return r?[s,""]:[s];let o=Wg(i.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),r&&a.push(...o),a.map(l=>t.startsWith("/")&&l===""?"/":l)}function Rv(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:$v(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}const Iv=/^:[\w-]+$/,Av=3,Dv=2,jv=1,Nv=10,Fv=-2,Wh=t=>t==="*";function zv(t,e){let n=t.split("/"),i=n.length;return n.some(Wh)&&(i+=Fv),e&&(i+=Dv),n.filter(r=>!Wh(r)).reduce((r,s)=>r+(Iv.test(s)?Av:s===""?jv:Nv),i)}function $v(t,e){return t.length===e.length&&t.slice(0,-1).every((i,r)=>i===e[r])?t[t.length-1]-e[e.length-1]:0}function Uv(t,e){let{routesMeta:n}=t,i={},r="/",s=[];for(let o=0;o<n.length;++o){let a=n[o],l=o===n.length-1,u=r==="/"?e:e.slice(r.length)||"/",c=Bv({path:a.relativePath,caseSensitive:a.caseSensitive,end:l},u);if(!c)return null;Object.assign(i,c.params);let h=a.route;s.push({params:i,pathname:Fn([r,c.pathname]),pathnameBase:Qv(Fn([r,c.pathnameBase])),route:h}),c.pathnameBase!=="/"&&(r=Fn([r,c.pathnameBase]))}return s}function Bv(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,i]=Vv(t.path,t.caseSensitive,t.end),r=e.match(n);if(!r)return null;let s=r[0],o=s.replace(/(.)\/+$/,"$1"),a=r.slice(1);return{params:i.reduce((u,c,h)=>{let{paramName:d,isOptional:f}=c;if(d==="*"){let y=a[h]||"";o=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const m=a[h];return f&&!m?u[d]=void 0:u[d]=(m||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:t}}function Vv(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),Bg(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let i=[],r="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(i.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(i.push({paramName:"*"}),r+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":t!==""&&t!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,e?void 0:"i"),i]}function Hv(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Bg(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function Kg(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&i!=="/"?null:t.slice(n)||"/"}function Wv(t,e){e===void 0&&(e="/");let{pathname:n,search:i="",hash:r=""}=typeof t=="string"?$i(t):t;return{pathname:n?n.startsWith("/")?n:Kv(n,e):e,search:Xv(i),hash:Jv(r)}}function Kv(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function Va(t,e,n,i){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Yv(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Gv(t,e){let n=Yv(t);return e?n.map((i,r)=>r===t.length-1?i.pathname:i.pathnameBase):n.map(i=>i.pathnameBase)}function qv(t,e,n,i){i===void 0&&(i=!1);let r;typeof t=="string"?r=$i(t):(r=Kr({},t),pe(!r.pathname||!r.pathname.includes("?"),Va("?","pathname","search",r)),pe(!r.pathname||!r.pathname.includes("#"),Va("#","pathname","hash",r)),pe(!r.search||!r.search.includes("#"),Va("#","search","hash",r)));let s=t===""||r.pathname==="",o=s?"/":r.pathname,a;if(o==null)a=n;else{let h=e.length-1;if(!i&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),h-=1;r.pathname=d.join("/")}a=h>=0?e[h]:"/"}let l=Wv(r,a),u=o&&o!=="/"&&o.endsWith("/"),c=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Fn=t=>t.join("/").replace(/\/\/+/g,"/"),Qv=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Xv=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Jv=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function Zv(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Yg=["post","put","patch","delete"];new Set(Yg);const e_=["get",...Yg];new Set(e_);/** - * React Router v6.23.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Yr(){return Yr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Yr.apply(this,arguments)}const dc=E.createContext(null),t_=E.createContext(null),aa=E.createContext(null),la=E.createContext(null),Ui=E.createContext({outlet:null,matches:[],isDataRoute:!1}),Gg=E.createContext(null);function ua(){return E.useContext(la)!=null}function qg(){return ua()||pe(!1),E.useContext(la).location}function Qg(t){E.useContext(aa).static||E.useLayoutEffect(t)}function ca(){let{isDataRoute:t}=E.useContext(Ui);return t?p_():n_()}function n_(){ua()||pe(!1);let t=E.useContext(dc),{basename:e,future:n,navigator:i}=E.useContext(aa),{matches:r}=E.useContext(Ui),{pathname:s}=qg(),o=JSON.stringify(Gv(r,n.v7_relativeSplatPath)),a=E.useRef(!1);return Qg(()=>{a.current=!0}),E.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){i.go(u);return}let h=qv(u,JSON.parse(o),s,c.relative==="path");t==null&&e!=="/"&&(h.pathname=h.pathname==="/"?e:Fn([e,h.pathname])),(c.replace?i.replace:i.push)(h,c.state,c)},[e,i,o,s,t])}function i_(t,e){return r_(t,e)}function r_(t,e,n,i){ua()||pe(!1);let{navigator:r}=E.useContext(aa),{matches:s}=E.useContext(Ui),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=qg(),c;if(e){var h;let v=typeof e=="string"?$i(e):e;l==="/"||(h=v.pathname)!=null&&h.startsWith(l)||pe(!1),c=v}else c=u;let d=c.pathname||"/",f=d;if(l!=="/"){let v=l.replace(/^\//,"").split("/");f="/"+d.replace(/^\//,"").split("/").slice(v.length).join("/")}let m=Mv(t,{pathname:f}),y=u_(m&&m.map(v=>Object.assign({},v,{params:Object.assign({},a,v.params),pathname:Fn([l,r.encodeLocation?r.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:Fn([l,r.encodeLocation?r.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),s,n,i);return e&&y?E.createElement(la.Provider,{value:{location:Yr({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Zt.Pop}},y):y}function s_(){let t=f_(),e=Zv(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},e),n?E.createElement("pre",{style:r},n):null,null)}const o_=E.createElement(s_,null);class a_ extends E.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?E.createElement(Ui.Provider,{value:this.props.routeContext},E.createElement(Gg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function l_(t){let{routeContext:e,match:n,children:i}=t,r=E.useContext(dc);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(Ui.Provider,{value:e},i)}function u_(t,e,n,i){var r;if(e===void 0&&(e=[]),n===void 0&&(n=null),i===void 0&&(i=null),t==null){var s;if((s=n)!=null&&s.errors)t=n.matches;else return null}let o=t,a=(r=n)==null?void 0:r.errors;if(a!=null){let c=o.findIndex(h=>h.route.id&&(a==null?void 0:a[h.route.id])!==void 0);c>=0||pe(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&i&&i.v7_partialHydration)for(let c=0;c<o.length;c++){let h=o[c];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=c),h.route.id){let{loaderData:d,errors:f}=n,m=h.route.loader&&d[h.route.id]===void 0&&(!f||f[h.route.id]===void 0);if(h.route.lazy||m){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,h,d)=>{let f,m=!1,y=null,v=null;n&&(f=a&&h.route.id?a[h.route.id]:void 0,y=h.route.errorElement||o_,l&&(u<0&&d===0?(m=!0,v=null):u===d&&(m=!0,v=h.route.hydrateFallbackElement||null)));let p=e.concat(o.slice(0,d+1)),g=()=>{let _;return f?_=y:m?_=v:h.route.Component?_=E.createElement(h.route.Component,null):h.route.element?_=h.route.element:_=c,E.createElement(l_,{match:h,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:_})};return n&&(h.route.ErrorBoundary||h.route.errorElement||d===0)?E.createElement(a_,{location:n.location,revalidation:n.revalidation,component:y,error:f,children:g(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):g()},null)}var Xg=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(Xg||{}),Io=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(Io||{});function c_(t){let e=E.useContext(dc);return e||pe(!1),e}function h_(t){let e=E.useContext(t_);return e||pe(!1),e}function d_(t){let e=E.useContext(Ui);return e||pe(!1),e}function Jg(t){let e=d_(),n=e.matches[e.matches.length-1];return n.route.id||pe(!1),n.route.id}function f_(){var t;let e=E.useContext(Gg),n=h_(Io.UseRouteError),i=Jg(Io.UseRouteError);return e!==void 0?e:(t=n.errors)==null?void 0:t[i]}function p_(){let{router:t}=c_(Xg.UseNavigateStable),e=Jg(Io.UseNavigateStable),n=E.useRef(!1);return Qg(()=>{n.current=!0}),E.useCallback(function(r,s){s===void 0&&(s={}),n.current&&(typeof r=="number"?t.navigate(r):t.navigate(r,Yr({fromRouteId:e},s)))},[t,e])}function ii(t){pe(!1)}function g_(t){let{basename:e="/",children:n=null,location:i,navigationType:r=Zt.Pop,navigator:s,static:o=!1,future:a}=t;ua()&&pe(!1);let l=e.replace(/^\/*/,"/"),u=E.useMemo(()=>({basename:l,navigator:s,static:o,future:Yr({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof i=="string"&&(i=$i(i));let{pathname:c="/",search:h="",hash:d="",state:f=null,key:m="default"}=i,y=E.useMemo(()=>{let v=Kg(c,l);return v==null?null:{location:{pathname:v,search:h,hash:d,state:f,key:m},navigationType:r}},[l,c,h,d,f,m,r]);return y==null?null:E.createElement(aa.Provider,{value:u},E.createElement(la.Provider,{children:n,value:y}))}function m_(t){let{children:e,location:n}=t;return i_(Zl(e),n)}new Promise(()=>{});function Zl(t,e){e===void 0&&(e=[]);let n=[];return E.Children.forEach(t,(i,r)=>{if(!E.isValidElement(i))return;let s=[...e,r];if(i.type===E.Fragment){n.push.apply(n,Zl(i.props.children,s));return}i.type!==ii&&pe(!1),!i.props.index||!i.props.children||pe(!1);let o={id:i.props.id||s.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(o.children=Zl(i.props.children,s)),n.push(o)}),n}/** - * React Router DOM v6.23.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */const y_="6";try{window.__reactRouterVersion=y_}catch{}const v_="startTransition",Kh=m0[v_];function __(t){let{basename:e,children:n,future:i,window:r}=t,s=E.useRef();s.current==null&&(s.current=Tv({window:r,v5Compat:!0}));let o=s.current,[a,l]=E.useState({action:o.action,location:o.location}),{v7_startTransition:u}=i||{},c=E.useCallback(h=>{u&&Kh?Kh(()=>l(h)):l(h)},[l,u]);return E.useLayoutEffect(()=>o.listen(c),[o,c]),E.createElement(g_,{basename:e,children:n,location:a.location,navigationType:a.action,navigator:o,future:i})}var Yh;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Yh||(Yh={}));var Gh;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Gh||(Gh={}));const w_="modulepreload",x_=function(t,e){return new URL(t,e).href},qh={},Mi=function(e,n,i){let r=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.all(n.map(l=>{if(l=x_(l,i),l in qh)return;qh[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!i)for(let f=s.length-1;f>=0;f--){const m=s[f];if(m.href===l&&(!u||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":w_,u||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((f,m)=>{d.addEventListener("load",f),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return r.then(()=>e()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},k_=t=>{let e;return t?e=t:typeof fetch>"u"?e=(...n)=>Mi(()=>Promise.resolve().then(()=>ss),void 0,import.meta.url).then(({default:i})=>i(...n)):e=fetch,(...n)=>e(...n)};class fc extends Error{constructor(e,n="FunctionsError",i){super(e),this.name=n,this.context=i}}class b_ extends fc{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}class S_ extends fc{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}class C_ extends fc{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}var eu;(function(t){t.Any="any",t.ApNortheast1="ap-northeast-1",t.ApNortheast2="ap-northeast-2",t.ApSouth1="ap-south-1",t.ApSoutheast1="ap-southeast-1",t.ApSoutheast2="ap-southeast-2",t.CaCentral1="ca-central-1",t.EuCentral1="eu-central-1",t.EuWest1="eu-west-1",t.EuWest2="eu-west-2",t.EuWest3="eu-west-3",t.SaEast1="sa-east-1",t.UsEast1="us-east-1",t.UsWest1="us-west-1",t.UsWest2="us-west-2"})(eu||(eu={}));var E_=function(t,e,n,i){function r(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(c){try{u(i.next(c))}catch(h){o(h)}}function l(c){try{u(i.throw(c))}catch(h){o(h)}}function u(c){c.done?s(c.value):r(c.value).then(a,l)}u((i=i.apply(t,e||[])).next())})};class P_{constructor(e,{headers:n={},customFetch:i,region:r=eu.Any}={}){this.url=e,this.headers=n,this.region=r,this.fetch=k_(i)}setAuth(e){this.headers.Authorization=`Bearer ${e}`}invoke(e,n={}){var i;return E_(this,void 0,void 0,function*(){try{const{headers:r,method:s,body:o}=n;let a={},{region:l}=n;l||(l=this.region),l&&l!=="any"&&(a["x-region"]=l);let u;o&&(r&&!Object.prototype.hasOwnProperty.call(r,"Content-Type")||!r)&&(typeof Blob<"u"&&o instanceof Blob||o instanceof ArrayBuffer?(a["Content-Type"]="application/octet-stream",u=o):typeof o=="string"?(a["Content-Type"]="text/plain",u=o):typeof FormData<"u"&&o instanceof FormData?u=o:(a["Content-Type"]="application/json",u=JSON.stringify(o)));const c=yield this.fetch(`${this.url}/${e}`,{method:s||"POST",headers:Object.assign(Object.assign(Object.assign({},a),this.headers),r),body:u}).catch(m=>{throw new b_(m)}),h=c.headers.get("x-relay-error");if(h&&h==="true")throw new S_(c);if(!c.ok)throw new C_(c);let d=((i=c.headers.get("Content-Type"))!==null&&i!==void 0?i:"text/plain").split(";")[0].trim(),f;return d==="application/json"?f=yield c.json():d==="application/octet-stream"?f=yield c.blob():d==="text/event-stream"?f=c:d==="multipart/form-data"?f=yield c.formData():f=yield c.text(),{data:f,error:null}}catch(r){return{data:null,error:r}}})}}var T_=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},Ri=T_();const O_=Ri.fetch,pc=Ri.fetch.bind(Ri),Zg=Ri.Headers,L_=Ri.Request,M_=Ri.Response,ss=Object.freeze(Object.defineProperty({__proto__:null,Headers:Zg,Request:L_,Response:M_,default:pc,fetch:O_},Symbol.toStringTag,{value:"Module"}));class R_ extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.code=e.code}}class I_{constructor(e){this.shouldThrowOnError=!1,this.method=e.method,this.url=e.url,this.headers=e.headers,this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=e.shouldThrowOnError,this.signal=e.signal,this.isMaybeSingle=e.isMaybeSingle,e.fetch?this.fetch=e.fetch:typeof fetch>"u"?this.fetch=pc:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}then(e,n){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),this.method!=="GET"&&this.method!=="HEAD"&&(this.headers["Content-Type"]="application/json");const i=this.fetch;let r=i(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async s=>{var o,a,l;let u=null,c=null,h=null,d=s.status,f=s.statusText;if(s.ok){if(this.method!=="HEAD"){const p=await s.text();p===""||(this.headers.Accept==="text/csv"||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?c=p:c=JSON.parse(p))}const y=(o=this.headers.Prefer)===null||o===void 0?void 0:o.match(/count=(exact|planned|estimated)/),v=(a=s.headers.get("content-range"))===null||a===void 0?void 0:a.split("/");y&&v&&v.length>1&&(h=parseInt(v[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(c)&&(c.length>1?(u={code:"PGRST116",details:`Results contain ${c.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},c=null,h=null,d=406,f="Not Acceptable"):c.length===1?c=c[0]:c=null)}else{const y=await s.text();try{u=JSON.parse(y),Array.isArray(u)&&s.status===404&&(c=[],u=null,d=200,f="OK")}catch{s.status===404&&y===""?(d=204,f="No Content"):u={message:y}}if(u&&this.isMaybeSingle&&(!((l=u==null?void 0:u.details)===null||l===void 0)&&l.includes("0 rows"))&&(u=null,d=200,f="OK"),u&&this.shouldThrowOnError)throw new R_(u)}return{error:u,data:c,count:h,status:d,statusText:f}});return this.shouldThrowOnError||(r=r.catch(s=>{var o,a,l;return{error:{message:`${(o=s==null?void 0:s.name)!==null&&o!==void 0?o:"FetchError"}: ${s==null?void 0:s.message}`,details:`${(a=s==null?void 0:s.stack)!==null&&a!==void 0?a:""}`,hint:"",code:`${(l=s==null?void 0:s.code)!==null&&l!==void 0?l:""}`},data:null,count:null,status:0,statusText:""}})),r.then(e,n)}}class A_ extends I_{select(e){let n=!1;const i=(e??"*").split("").map(r=>/\s/.test(r)&&!n?"":(r==='"'&&(n=!n),r)).join("");return this.url.searchParams.set("select",i),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(e,{ascending:n=!0,nullsFirst:i,foreignTable:r,referencedTable:s=r}={}){const o=s?`${s}.order`:"order",a=this.url.searchParams.get(o);return this.url.searchParams.set(o,`${a?`${a},`:""}${e}.${n?"asc":"desc"}${i===void 0?"":i?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:n,referencedTable:i=n}={}){const r=typeof i>"u"?"limit":`${i}.limit`;return this.url.searchParams.set(r,`${e}`),this}range(e,n,{foreignTable:i,referencedTable:r=i}={}){const s=typeof r>"u"?"offset":`${r}.offset`,o=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(s,`${e}`),this.url.searchParams.set(o,`${n-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return this.method==="GET"?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:e=!1,verbose:n=!1,settings:i=!1,buffers:r=!1,wal:s=!1,format:o="text"}={}){var a;const l=[e?"analyze":null,n?"verbose":null,i?"settings":null,r?"buffers":null,s?"wal":null].filter(Boolean).join("|"),u=(a=this.headers.Accept)!==null&&a!==void 0?a:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${o}; for="${u}"; options=${l};`,o==="json"?this:this}rollback(){var e;return((e=this.headers.Prefer)!==null&&e!==void 0?e:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}class ri extends A_{eq(e,n){return this.url.searchParams.append(e,`eq.${n}`),this}neq(e,n){return this.url.searchParams.append(e,`neq.${n}`),this}gt(e,n){return this.url.searchParams.append(e,`gt.${n}`),this}gte(e,n){return this.url.searchParams.append(e,`gte.${n}`),this}lt(e,n){return this.url.searchParams.append(e,`lt.${n}`),this}lte(e,n){return this.url.searchParams.append(e,`lte.${n}`),this}like(e,n){return this.url.searchParams.append(e,`like.${n}`),this}likeAllOf(e,n){return this.url.searchParams.append(e,`like(all).{${n.join(",")}}`),this}likeAnyOf(e,n){return this.url.searchParams.append(e,`like(any).{${n.join(",")}}`),this}ilike(e,n){return this.url.searchParams.append(e,`ilike.${n}`),this}ilikeAllOf(e,n){return this.url.searchParams.append(e,`ilike(all).{${n.join(",")}}`),this}ilikeAnyOf(e,n){return this.url.searchParams.append(e,`ilike(any).{${n.join(",")}}`),this}is(e,n){return this.url.searchParams.append(e,`is.${n}`),this}in(e,n){const i=Array.from(new Set(n)).map(r=>typeof r=="string"&&new RegExp("[,()]").test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`in.(${i})`),this}contains(e,n){return typeof n=="string"?this.url.searchParams.append(e,`cs.${n}`):Array.isArray(n)?this.url.searchParams.append(e,`cs.{${n.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(n)}`),this}containedBy(e,n){return typeof n=="string"?this.url.searchParams.append(e,`cd.${n}`):Array.isArray(n)?this.url.searchParams.append(e,`cd.{${n.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(n)}`),this}rangeGt(e,n){return this.url.searchParams.append(e,`sr.${n}`),this}rangeGte(e,n){return this.url.searchParams.append(e,`nxl.${n}`),this}rangeLt(e,n){return this.url.searchParams.append(e,`sl.${n}`),this}rangeLte(e,n){return this.url.searchParams.append(e,`nxr.${n}`),this}rangeAdjacent(e,n){return this.url.searchParams.append(e,`adj.${n}`),this}overlaps(e,n){return typeof n=="string"?this.url.searchParams.append(e,`ov.${n}`):this.url.searchParams.append(e,`ov.{${n.join(",")}}`),this}textSearch(e,n,{config:i,type:r}={}){let s="";r==="plain"?s="pl":r==="phrase"?s="ph":r==="websearch"&&(s="w");const o=i===void 0?"":`(${i})`;return this.url.searchParams.append(e,`${s}fts${o}.${n}`),this}match(e){return Object.entries(e).forEach(([n,i])=>{this.url.searchParams.append(n,`eq.${i}`)}),this}not(e,n,i){return this.url.searchParams.append(e,`not.${n}.${i}`),this}or(e,{foreignTable:n,referencedTable:i=n}={}){const r=i?`${i}.or`:"or";return this.url.searchParams.append(r,`(${e})`),this}filter(e,n,i){return this.url.searchParams.append(e,`${n}.${i}`),this}}class D_{constructor(e,{headers:n={},schema:i,fetch:r}){this.url=e,this.headers=n,this.schema=i,this.fetch=r}select(e,{head:n=!1,count:i}={}){const r=n?"HEAD":"GET";let s=!1;const o=(e??"*").split("").map(a=>/\s/.test(a)&&!s?"":(a==='"'&&(s=!s),a)).join("");return this.url.searchParams.set("select",o),i&&(this.headers.Prefer=`count=${i}`),new ri({method:r,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(e,{count:n,defaultToNull:i=!0}={}){const r="POST",s=[];if(this.headers.Prefer&&s.push(this.headers.Prefer),n&&s.push(`count=${n}`),i||s.push("missing=default"),this.headers.Prefer=s.join(","),Array.isArray(e)){const o=e.reduce((a,l)=>a.concat(Object.keys(l)),[]);if(o.length>0){const a=[...new Set(o)].map(l=>`"${l}"`);this.url.searchParams.set("columns",a.join(","))}}return new ri({method:r,url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}upsert(e,{onConflict:n,ignoreDuplicates:i=!1,count:r,defaultToNull:s=!0}={}){const o="POST",a=[`resolution=${i?"ignore":"merge"}-duplicates`];if(n!==void 0&&this.url.searchParams.set("on_conflict",n),this.headers.Prefer&&a.push(this.headers.Prefer),r&&a.push(`count=${r}`),s||a.push("missing=default"),this.headers.Prefer=a.join(","),Array.isArray(e)){const l=e.reduce((u,c)=>u.concat(Object.keys(c)),[]);if(l.length>0){const u=[...new Set(l)].map(c=>`"${c}"`);this.url.searchParams.set("columns",u.join(","))}}return new ri({method:o,url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}update(e,{count:n}={}){const i="PATCH",r=[];return this.headers.Prefer&&r.push(this.headers.Prefer),n&&r.push(`count=${n}`),this.headers.Prefer=r.join(","),new ri({method:i,url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}delete({count:e}={}){const n="DELETE",i=[];return e&&i.push(`count=${e}`),this.headers.Prefer&&i.unshift(this.headers.Prefer),this.headers.Prefer=i.join(","),new ri({method:n,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}const j_="1.15.2",N_={"X-Client-Info":`postgrest-js/${j_}`};class gc{constructor(e,{headers:n={},schema:i,fetch:r}={}){this.url=e,this.headers=Object.assign(Object.assign({},N_),n),this.schemaName=i,this.fetch=r}from(e){const n=new URL(`${this.url}/${e}`);return new D_(n,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(e){return new gc(this.url,{headers:this.headers,schema:e,fetch:this.fetch})}rpc(e,n={},{head:i=!1,get:r=!1,count:s}={}){let o;const a=new URL(`${this.url}/rpc/${e}`);let l;i||r?(o=i?"HEAD":"GET",Object.entries(n).filter(([c,h])=>h!==void 0).map(([c,h])=>[c,Array.isArray(h)?`{${h.join(",")}}`:`${h}`]).forEach(([c,h])=>{a.searchParams.append(c,h)})):(o="POST",l=n);const u=Object.assign({},this.headers);return s&&(u.Prefer=`count=${s}`),new ri({method:o,url:a,headers:u,schema:this.schemaName,body:l,fetch:this.fetch,allowEmpty:!1})}}const F_="2.9.5",z_={"X-Client-Info":`realtime-js/${F_}`},$_="1.0.0",em=1e4,U_=1e3;var bi;(function(t){t[t.connecting=0]="connecting",t[t.open=1]="open",t[t.closing=2]="closing",t[t.closed=3]="closed"})(bi||(bi={}));var Ue;(function(t){t.closed="closed",t.errored="errored",t.joined="joined",t.joining="joining",t.leaving="leaving"})(Ue||(Ue={}));var ht;(function(t){t.close="phx_close",t.error="phx_error",t.join="phx_join",t.reply="phx_reply",t.leave="phx_leave",t.access_token="access_token"})(ht||(ht={}));var tu;(function(t){t.websocket="websocket"})(tu||(tu={}));var Mn;(function(t){t.Connecting="connecting",t.Open="open",t.Closing="closing",t.Closed="closed"})(Mn||(Mn={}));class tm{constructor(e,n){this.callback=e,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=e,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}class B_{constructor(){this.HEADER_LENGTH=1}decode(e,n){return e.constructor===ArrayBuffer?n(this._binaryDecode(e)):n(typeof e=="string"?JSON.parse(e):{})}_binaryDecode(e){const n=new DataView(e),i=new TextDecoder;return this._decodeBroadcast(e,n,i)}_decodeBroadcast(e,n,i){const r=n.getUint8(1),s=n.getUint8(2);let o=this.HEADER_LENGTH+2;const a=i.decode(e.slice(o,o+r));o=o+r;const l=i.decode(e.slice(o,o+s));o=o+s;const u=JSON.parse(i.decode(e.slice(o,e.byteLength)));return{ref:null,topic:a,event:l,payload:u}}}class Ha{constructor(e,n,i={},r=em){this.channel=e,this.event=n,this.payload=i,this.timeout=r,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(e){this.timeout=e,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(e){this.payload=Object.assign(Object.assign({},this.payload),e)}receive(e,n){var i;return this._hasReceived(e)&&n((i=this.receivedResp)===null||i===void 0?void 0:i.response),this.recHooks.push({status:e,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const e=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},e),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(e,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:e,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:e,response:n}){this.recHooks.filter(i=>i.status===e).forEach(i=>i.callback(n))}_hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}}var Qh;(function(t){t.SYNC="sync",t.JOIN="join",t.LEAVE="leave"})(Qh||(Qh={}));class xr{constructor(e,n){this.channel=e,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const i=(n==null?void 0:n.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(i.state,{},r=>{const{onJoin:s,onLeave:o,onSync:a}=this.caller;this.joinRef=this.channel._joinRef(),this.state=xr.syncState(this.state,r,s,o),this.pendingDiffs.forEach(l=>{this.state=xr.syncDiff(this.state,l,s,o)}),this.pendingDiffs=[],a()}),this.channel._on(i.diff,{},r=>{const{onJoin:s,onLeave:o,onSync:a}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(r):(this.state=xr.syncDiff(this.state,r,s,o),a())}),this.onJoin((r,s,o)=>{this.channel._trigger("presence",{event:"join",key:r,currentPresences:s,newPresences:o})}),this.onLeave((r,s,o)=>{this.channel._trigger("presence",{event:"leave",key:r,currentPresences:s,leftPresences:o})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(e,n,i,r){const s=this.cloneDeep(e),o=this.transformState(n),a={},l={};return this.map(s,(u,c)=>{o[u]||(l[u]=c)}),this.map(o,(u,c)=>{const h=s[u];if(h){const d=c.map(v=>v.presence_ref),f=h.map(v=>v.presence_ref),m=c.filter(v=>f.indexOf(v.presence_ref)<0),y=h.filter(v=>d.indexOf(v.presence_ref)<0);m.length>0&&(a[u]=m),y.length>0&&(l[u]=y)}else a[u]=c}),this.syncDiff(s,{joins:a,leaves:l},i,r)}static syncDiff(e,n,i,r){const{joins:s,leaves:o}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return i||(i=()=>{}),r||(r=()=>{}),this.map(s,(a,l)=>{var u;const c=(u=e[a])!==null&&u!==void 0?u:[];if(e[a]=this.cloneDeep(l),c.length>0){const h=e[a].map(f=>f.presence_ref),d=c.filter(f=>h.indexOf(f.presence_ref)<0);e[a].unshift(...d)}i(a,c,l)}),this.map(o,(a,l)=>{let u=e[a];if(!u)return;const c=l.map(h=>h.presence_ref);u=u.filter(h=>c.indexOf(h.presence_ref)<0),e[a]=u,r(a,u,l),u.length===0&&delete e[a]}),e}static map(e,n){return Object.getOwnPropertyNames(e).map(i=>n(i,e[i]))}static transformState(e){return e=this.cloneDeep(e),Object.getOwnPropertyNames(e).reduce((n,i)=>{const r=e[i];return"metas"in r?n[i]=r.metas.map(s=>(s.presence_ref=s.phx_ref,delete s.phx_ref,delete s.phx_ref_prev,s)):n[i]=r,n},{})}static cloneDeep(e){return JSON.parse(JSON.stringify(e))}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var G;(function(t){t.abstime="abstime",t.bool="bool",t.date="date",t.daterange="daterange",t.float4="float4",t.float8="float8",t.int2="int2",t.int4="int4",t.int4range="int4range",t.int8="int8",t.int8range="int8range",t.json="json",t.jsonb="jsonb",t.money="money",t.numeric="numeric",t.oid="oid",t.reltime="reltime",t.text="text",t.time="time",t.timestamp="timestamp",t.timestamptz="timestamptz",t.timetz="timetz",t.tsrange="tsrange",t.tstzrange="tstzrange"})(G||(G={}));const Xh=(t,e,n={})=>{var i;const r=(i=n.skipTypes)!==null&&i!==void 0?i:[];return Object.keys(e).reduce((s,o)=>(s[o]=V_(o,t,e,r),s),{})},V_=(t,e,n,i)=>{const r=e.find(a=>a.name===t),s=r==null?void 0:r.type,o=n[t];return s&&!i.includes(s)?nm(s,o):nu(o)},nm=(t,e)=>{if(t.charAt(0)==="_"){const n=t.slice(1,t.length);return Y_(e,n)}switch(t){case G.bool:return H_(e);case G.float4:case G.float8:case G.int2:case G.int4:case G.int8:case G.numeric:case G.oid:return W_(e);case G.json:case G.jsonb:return K_(e);case G.timestamp:return G_(e);case G.abstime:case G.date:case G.daterange:case G.int4range:case G.int8range:case G.money:case G.reltime:case G.text:case G.time:case G.timestamptz:case G.timetz:case G.tsrange:case G.tstzrange:return nu(e);default:return nu(e)}},nu=t=>t,H_=t=>{switch(t){case"t":return!0;case"f":return!1;default:return t}},W_=t=>{if(typeof t=="string"){const e=parseFloat(t);if(!Number.isNaN(e))return e}return t},K_=t=>{if(typeof t=="string")try{return JSON.parse(t)}catch(e){return console.log(`JSON parse error: ${e}`),t}return t},Y_=(t,e)=>{if(typeof t!="string")return t;const n=t.length-1,i=t[n];if(t[0]==="{"&&i==="}"){let s;const o=t.slice(1,n);try{s=JSON.parse("["+o+"]")}catch{s=o?o.split(","):[]}return s.map(a=>nm(e,a))}return t},G_=t=>typeof t=="string"?t.replace(" ","T"):t;var Jh;(function(t){t.ALL="*",t.INSERT="INSERT",t.UPDATE="UPDATE",t.DELETE="DELETE"})(Jh||(Jh={}));var Zh;(function(t){t.BROADCAST="broadcast",t.PRESENCE="presence",t.POSTGRES_CHANGES="postgres_changes"})(Zh||(Zh={}));var ed;(function(t){t.SUBSCRIBED="SUBSCRIBED",t.TIMED_OUT="TIMED_OUT",t.CLOSED="CLOSED",t.CHANNEL_ERROR="CHANNEL_ERROR"})(ed||(ed={}));class mc{constructor(e,n={config:{}},i){this.topic=e,this.params=n,this.socket=i,this.bindings={},this.state=Ue.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=e.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""}},n.config),this.timeout=this.socket.timeout,this.joinPush=new Ha(this,ht.join,this.params,this.timeout),this.rejoinTimer=new tm(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=Ue.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=Ue.closed,this.socket._remove(this)}),this._onError(r=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,r),this.state=Ue.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=Ue.errored,this.rejoinTimer.scheduleTimeout())}),this._on(ht.reply,{},(r,s)=>{this._trigger(this._replyEventName(s),r)}),this.presence=new xr(this),this.broadcastEndpointURL=this._broadcastEndpointURL()}subscribe(e,n=this.timeout){var i,r;if(this.socket.isConnected()||this.socket.connect(),this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{const{config:{broadcast:s,presence:o}}=this.params;this._onError(u=>e&&e("CHANNEL_ERROR",u)),this._onClose(()=>e&&e("CLOSED"));const a={},l={broadcast:s,presence:o,postgres_changes:(r=(i=this.bindings.postgres_changes)===null||i===void 0?void 0:i.map(u=>u.filter))!==null&&r!==void 0?r:[]};this.socket.accessToken&&(a.access_token=this.socket.accessToken),this.updateJoinPayload(Object.assign({config:l},a)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",({postgres_changes:u})=>{var c;if(this.socket.accessToken&&this.socket.setAuth(this.socket.accessToken),u===void 0){e&&e("SUBSCRIBED");return}else{const h=this.bindings.postgres_changes,d=(c=h==null?void 0:h.length)!==null&&c!==void 0?c:0,f=[];for(let m=0;m<d;m++){const y=h[m],{filter:{event:v,schema:p,table:g,filter:_}}=y,w=u&&u[m];if(w&&w.event===v&&w.schema===p&&w.table===g&&w.filter===_)f.push(Object.assign(Object.assign({},y),{id:w.id}));else{this.unsubscribe(),e&&e("CHANNEL_ERROR",new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=f,e&&e("SUBSCRIBED");return}}).receive("error",u=>{e&&e("CHANNEL_ERROR",new Error(JSON.stringify(Object.values(u).join(", ")||"error")))}).receive("timeout",()=>{e&&e("TIMED_OUT")})}return this}presenceState(){return this.presence.state}async track(e,n={}){return await this.send({type:"presence",event:"track",payload:e},n.timeout||this.timeout)}async untrack(e={}){return await this.send({type:"presence",event:"untrack"},e)}on(e,n,i){return this._on(e,n,i)}async send(e,n={}){var i,r;if(!this._canPush()&&e.type==="broadcast"){const{event:s,payload:o}=e,a={method:"POST",headers:{apikey:(i=this.socket.apiKey)!==null&&i!==void 0?i:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:s,payload:o}]})};try{return(await this._fetchWithTimeout(this.broadcastEndpointURL,a,(r=n.timeout)!==null&&r!==void 0?r:this.timeout)).ok?"ok":"error"}catch(l){return l.name==="AbortError"?"timed out":"error"}}else return new Promise(s=>{var o,a,l;const u=this._push(e.type,e,n.timeout||this.timeout);e.type==="broadcast"&&!(!((l=(a=(o=this.params)===null||o===void 0?void 0:o.config)===null||a===void 0?void 0:a.broadcast)===null||l===void 0)&&l.ack)&&s("ok"),u.receive("ok",()=>s("ok")),u.receive("error",()=>s("error")),u.receive("timeout",()=>s("timed out"))})}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(e=this.timeout){this.state=Ue.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(ht.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(i=>{const r=new Ha(this,ht.leave,{},e);r.receive("ok",()=>{n(),i("ok")}).receive("timeout",()=>{n(),i("timed out")}).receive("error",()=>{i("error")}),r.send(),this._canPush()||r.trigger("ok",{})})}_broadcastEndpointURL(){let e=this.socket.endPoint;return e=e.replace(/^ws/i,"http"),e=e.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,""),e.replace(/\/+$/,"")+"/api/broadcast"}async _fetchWithTimeout(e,n,i){const r=new AbortController,s=setTimeout(()=>r.abort(),i),o=await this.socket.fetch(e,Object.assign(Object.assign({},n),{signal:r.signal}));return clearTimeout(s),o}_push(e,n,i=this.timeout){if(!this.joinedOnce)throw`tried to push '${e}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let r=new Ha(this,e,n,i);return this._canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}_onMessage(e,n,i){return n}_isMember(e){return this.topic===e}_joinRef(){return this.joinPush.ref}_trigger(e,n,i){var r,s;const o=e.toLocaleLowerCase(),{close:a,error:l,leave:u,join:c}=ht;if(i&&[a,l,u,c].indexOf(o)>=0&&i!==this._joinRef())return;let d=this._onMessage(o,n,i);if(n&&!d)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(o)?(r=this.bindings.postgres_changes)===null||r===void 0||r.filter(f=>{var m,y,v;return((m=f.filter)===null||m===void 0?void 0:m.event)==="*"||((v=(y=f.filter)===null||y===void 0?void 0:y.event)===null||v===void 0?void 0:v.toLocaleLowerCase())===o}).map(f=>f.callback(d,i)):(s=this.bindings[o])===null||s===void 0||s.filter(f=>{var m,y,v,p,g,_;if(["broadcast","presence","postgres_changes"].includes(o))if("id"in f){const w=f.id,x=(m=f.filter)===null||m===void 0?void 0:m.event;return w&&((y=n.ids)===null||y===void 0?void 0:y.includes(w))&&(x==="*"||(x==null?void 0:x.toLocaleLowerCase())===((v=n.data)===null||v===void 0?void 0:v.type.toLocaleLowerCase()))}else{const w=(g=(p=f==null?void 0:f.filter)===null||p===void 0?void 0:p.event)===null||g===void 0?void 0:g.toLocaleLowerCase();return w==="*"||w===((_=n==null?void 0:n.event)===null||_===void 0?void 0:_.toLocaleLowerCase())}else return f.type.toLocaleLowerCase()===o}).map(f=>{if(typeof d=="object"&&"ids"in d){const m=d.data,{schema:y,table:v,commit_timestamp:p,type:g,errors:_}=m;d=Object.assign(Object.assign({},{schema:y,table:v,commit_timestamp:p,eventType:g,new:{},old:{},errors:_}),this._getPayloadRecords(m))}f.callback(d,i)})}_isClosed(){return this.state===Ue.closed}_isJoined(){return this.state===Ue.joined}_isJoining(){return this.state===Ue.joining}_isLeaving(){return this.state===Ue.leaving}_replyEventName(e){return`chan_reply_${e}`}_on(e,n,i){const r=e.toLocaleLowerCase(),s={type:r,filter:n,callback:i};return this.bindings[r]?this.bindings[r].push(s):this.bindings[r]=[s],this}_off(e,n){const i=e.toLocaleLowerCase();return this.bindings[i]=this.bindings[i].filter(r=>{var s;return!(((s=r.type)===null||s===void 0?void 0:s.toLocaleLowerCase())===i&&mc.isEqual(r.filter,n))}),this}static isEqual(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const i in e)if(e[i]!==n[i])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(e){this._on(ht.close,{},e)}_onError(e){this._on(ht.error,{},n=>e(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(e=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=Ue.joining,this.joinPush.resend(e))}_getPayloadRecords(e){const n={new:{},old:{}};return(e.type==="INSERT"||e.type==="UPDATE")&&(n.new=Xh(e.columns,e.record)),(e.type==="UPDATE"||e.type==="DELETE")&&(n.old=Xh(e.columns,e.old_record)),n}}const q_=()=>{},Q_=typeof WebSocket<"u";class X_{constructor(e,n){var i;this.accessToken=null,this.apiKey=null,this.channels=[],this.endPoint="",this.headers=z_,this.params={},this.timeout=em,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=q_,this.conn=null,this.sendBuffer=[],this.serializer=new B_,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this._resolveFetch=s=>{let o;return s?o=s:typeof fetch>"u"?o=(...a)=>Mi(()=>Promise.resolve().then(()=>ss),void 0,import.meta.url).then(({default:l})=>l(...a)):o=fetch,(...a)=>o(...a)},this.endPoint=`${e}/${tu.websocket}`,n!=null&&n.transport?this.transport=n.transport:this.transport=null,n!=null&&n.params&&(this.params=n.params),n!=null&&n.headers&&(this.headers=Object.assign(Object.assign({},this.headers),n.headers)),n!=null&&n.timeout&&(this.timeout=n.timeout),n!=null&&n.logger&&(this.logger=n.logger),n!=null&&n.heartbeatIntervalMs&&(this.heartbeatIntervalMs=n.heartbeatIntervalMs);const r=(i=n==null?void 0:n.params)===null||i===void 0?void 0:i.apikey;r&&(this.accessToken=r,this.apiKey=r),this.reconnectAfterMs=n!=null&&n.reconnectAfterMs?n.reconnectAfterMs:s=>[1e3,2e3,5e3,1e4][s-1]||1e4,this.encode=n!=null&&n.encode?n.encode:(s,o)=>o(JSON.stringify(s)),this.decode=n!=null&&n.decode?n.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new tm(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!this.conn){if(this.transport){this.conn=new this.transport(this._endPointURL(),void 0,{headers:this.headers});return}if(Q_){this.conn=new WebSocket(this._endPointURL()),this.setupConnection();return}this.conn=new J_(this._endPointURL(),void 0,{close:()=>{this.conn=null}}),Mi(()=>import("./browser-CZGeQ-QM.js").then(e=>e.b),[],import.meta.url).then(({default:e})=>{this.conn=new e(this._endPointURL(),void 0,{headers:this.headers}),this.setupConnection()})}}disconnect(e,n){this.conn&&(this.conn.onclose=function(){},e?this.conn.close(e,n??""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}async removeChannel(e){const n=await e.unsubscribe();return this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const e=await Promise.all(this.channels.map(n=>n.unsubscribe()));return this.disconnect(),e}log(e,n,i){this.logger(e,n,i)}connectionState(){switch(this.conn&&this.conn.readyState){case bi.connecting:return Mn.Connecting;case bi.open:return Mn.Open;case bi.closing:return Mn.Closing;default:return Mn.Closed}}isConnected(){return this.connectionState()===Mn.Open}channel(e,n={config:{}}){const i=new mc(`realtime:${e}`,n,this);return this.channels.push(i),i}push(e){const{topic:n,event:i,payload:r,ref:s}=e,o=()=>{this.encode(e,a=>{var l;(l=this.conn)===null||l===void 0||l.send(a)})};this.log("push",`${n} ${i} (${s})`,r),this.isConnected()?o():this.sendBuffer.push(o)}setAuth(e){this.accessToken=e,this.channels.forEach(n=>{e&&n.updateJoinPayload({access_token:e}),n.joinedOnce&&n._isJoined()&&n._push(ht.access_token,{access_token:e})})}_makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}_leaveOpenTopic(e){let n=this.channels.find(i=>i.topic===e&&(i._isJoined()||i._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${e}"`),n.unsubscribe())}_remove(e){this.channels=this.channels.filter(n=>n._joinRef()!==e._joinRef())}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=e=>this._onConnError(e),this.conn.onmessage=e=>this._onConnMessage(e),this.conn.onclose=e=>this._onConnClose(e))}_endPointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:$_}))}_onConnMessage(e){this.decode(e.data,n=>{let{topic:i,event:r,payload:s,ref:o}=n;(o&&o===this.pendingHeartbeatRef||r===(s==null?void 0:s.type))&&(this.pendingHeartbeatRef=null),this.log("receive",`${s.status||""} ${i} ${r} ${o&&"("+o+")"||""}`,s),this.channels.filter(a=>a._isMember(i)).forEach(a=>a._trigger(r,s,o)),this.stateChangeCallbacks.message.forEach(a=>a(n))})}_onConnOpen(){this.log("transport",`connected to ${this._endPointURL()}`),this._flushSendBuffer(),this.reconnectTimer.reset(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this._sendHeartbeat(),this.heartbeatIntervalMs),this.stateChangeCallbacks.open.forEach(e=>e())}_onConnClose(e){this.log("transport","close",e),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(n=>n(e))}_onConnError(e){this.log("transport",e.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(n=>n(e))}_triggerChanError(){this.channels.forEach(e=>e._trigger(ht.error))}_appendParams(e,n){if(Object.keys(n).length===0)return e;const i=e.match(/\?/)?"&":"?",r=new URLSearchParams(n);return`${e}${i}${r}`}_flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}_sendHeartbeat(){var e;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),(e=this.conn)===null||e===void 0||e.close(U_,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth(this.accessToken)}}}class J_{constructor(e,n,i){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=bi.connecting,this.send=()=>{},this.url=null,this.url=e,this.close=i.close}}class yc extends Error{constructor(e){super(e),this.__isStorageError=!0,this.name="StorageError"}}function Ce(t){return typeof t=="object"&&t!==null&&"__isStorageError"in t}class Z_ extends yc{constructor(e,n){super(e),this.name="StorageApiError",this.status=n}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class td extends yc{constructor(e,n){super(e),this.name="StorageUnknownError",this.originalError=n}}var ew=function(t,e,n,i){function r(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(c){try{u(i.next(c))}catch(h){o(h)}}function l(c){try{u(i.throw(c))}catch(h){o(h)}}function u(c){c.done?s(c.value):r(c.value).then(a,l)}u((i=i.apply(t,e||[])).next())})};const im=t=>{let e;return t?e=t:typeof fetch>"u"?e=(...n)=>Mi(()=>Promise.resolve().then(()=>ss),void 0,import.meta.url).then(({default:i})=>i(...n)):e=fetch,(...n)=>e(...n)},tw=()=>ew(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield Mi(()=>Promise.resolve().then(()=>ss),void 0,import.meta.url)).Response:Response});var Bi=function(t,e,n,i){function r(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(c){try{u(i.next(c))}catch(h){o(h)}}function l(c){try{u(i.throw(c))}catch(h){o(h)}}function u(c){c.done?s(c.value):r(c.value).then(a,l)}u((i=i.apply(t,e||[])).next())})};const Wa=t=>t.msg||t.message||t.error_description||t.error||JSON.stringify(t),nw=(t,e)=>Bi(void 0,void 0,void 0,function*(){const n=yield tw();t instanceof n?t.json().then(i=>{e(new Z_(Wa(i),t.status||500))}).catch(i=>{e(new td(Wa(i),i))}):e(new td(Wa(t),t))}),iw=(t,e,n,i)=>{const r={method:t,headers:(e==null?void 0:e.headers)||{}};return t==="GET"?r:(r.headers=Object.assign({"Content-Type":"application/json"},e==null?void 0:e.headers),r.body=JSON.stringify(i),Object.assign(Object.assign({},r),n))};function ha(t,e,n,i,r,s){return Bi(this,void 0,void 0,function*(){return new Promise((o,a)=>{t(n,iw(e,i,r,s)).then(l=>{if(!l.ok)throw l;return i!=null&&i.noResolveJson?l:l.json()}).then(l=>o(l)).catch(l=>nw(l,a))})})}function iu(t,e,n,i){return Bi(this,void 0,void 0,function*(){return ha(t,"GET",e,n,i)})}function Yt(t,e,n,i,r){return Bi(this,void 0,void 0,function*(){return ha(t,"POST",e,i,r,n)})}function rw(t,e,n,i,r){return Bi(this,void 0,void 0,function*(){return ha(t,"PUT",e,i,r,n)})}function rm(t,e,n,i,r){return Bi(this,void 0,void 0,function*(){return ha(t,"DELETE",e,i,r,n)})}var Xe=function(t,e,n,i){function r(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(c){try{u(i.next(c))}catch(h){o(h)}}function l(c){try{u(i.throw(c))}catch(h){o(h)}}function u(c){c.done?s(c.value):r(c.value).then(a,l)}u((i=i.apply(t,e||[])).next())})};const sw={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},nd={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class ow{constructor(e,n={},i,r){this.url=e,this.headers=n,this.bucketId=i,this.fetch=im(r)}uploadOrUpdate(e,n,i,r){return Xe(this,void 0,void 0,function*(){try{let s;const o=Object.assign(Object.assign({},nd),r),a=Object.assign(Object.assign({},this.headers),e==="POST"&&{"x-upsert":String(o.upsert)});typeof Blob<"u"&&i instanceof Blob?(s=new FormData,s.append("cacheControl",o.cacheControl),s.append("",i)):typeof FormData<"u"&&i instanceof FormData?(s=i,s.append("cacheControl",o.cacheControl)):(s=i,a["cache-control"]=`max-age=${o.cacheControl}`,a["content-type"]=o.contentType);const l=this._removeEmptyFolders(n),u=this._getFinalPath(l),c=yield this.fetch(`${this.url}/object/${u}`,Object.assign({method:e,body:s,headers:a},o!=null&&o.duplex?{duplex:o.duplex}:{})),h=yield c.json();return c.ok?{data:{path:l,id:h.Id,fullPath:h.Key},error:null}:{data:null,error:h}}catch(s){if(Ce(s))return{data:null,error:s};throw s}})}upload(e,n,i){return Xe(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",e,n,i)})}uploadToSignedUrl(e,n,i,r){return Xe(this,void 0,void 0,function*(){const s=this._removeEmptyFolders(e),o=this._getFinalPath(s),a=new URL(this.url+`/object/upload/sign/${o}`);a.searchParams.set("token",n);try{let l;const u=Object.assign({upsert:nd.upsert},r),c=Object.assign(Object.assign({},this.headers),{"x-upsert":String(u.upsert)});typeof Blob<"u"&&i instanceof Blob?(l=new FormData,l.append("cacheControl",u.cacheControl),l.append("",i)):typeof FormData<"u"&&i instanceof FormData?(l=i,l.append("cacheControl",u.cacheControl)):(l=i,c["cache-control"]=`max-age=${u.cacheControl}`,c["content-type"]=u.contentType);const h=yield this.fetch(a.toString(),{method:"PUT",body:l,headers:c}),d=yield h.json();return h.ok?{data:{path:s,fullPath:d.Key},error:null}:{data:null,error:d}}catch(l){if(Ce(l))return{data:null,error:l};throw l}})}createSignedUploadUrl(e){return Xe(this,void 0,void 0,function*(){try{let n=this._getFinalPath(e);const i=yield Yt(this.fetch,`${this.url}/object/upload/sign/${n}`,{},{headers:this.headers}),r=new URL(this.url+i.url),s=r.searchParams.get("token");if(!s)throw new yc("No token returned by API");return{data:{signedUrl:r.toString(),path:e,token:s},error:null}}catch(n){if(Ce(n))return{data:null,error:n};throw n}})}update(e,n,i){return Xe(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",e,n,i)})}move(e,n){return Xe(this,void 0,void 0,function*(){try{return{data:yield Yt(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:e,destinationKey:n},{headers:this.headers}),error:null}}catch(i){if(Ce(i))return{data:null,error:i};throw i}})}copy(e,n){return Xe(this,void 0,void 0,function*(){try{return{data:{path:(yield Yt(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:e,destinationKey:n},{headers:this.headers})).Key},error:null}}catch(i){if(Ce(i))return{data:null,error:i};throw i}})}createSignedUrl(e,n,i){return Xe(this,void 0,void 0,function*(){try{let r=this._getFinalPath(e),s=yield Yt(this.fetch,`${this.url}/object/sign/${r}`,Object.assign({expiresIn:n},i!=null&&i.transform?{transform:i.transform}:{}),{headers:this.headers});const o=i!=null&&i.download?`&download=${i.download===!0?"":i.download}`:"";return s={signedUrl:encodeURI(`${this.url}${s.signedURL}${o}`)},{data:s,error:null}}catch(r){if(Ce(r))return{data:null,error:r};throw r}})}createSignedUrls(e,n,i){return Xe(this,void 0,void 0,function*(){try{const r=yield Yt(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:n,paths:e},{headers:this.headers}),s=i!=null&&i.download?`&download=${i.download===!0?"":i.download}`:"";return{data:r.map(o=>Object.assign(Object.assign({},o),{signedUrl:o.signedURL?encodeURI(`${this.url}${o.signedURL}${s}`):null})),error:null}}catch(r){if(Ce(r))return{data:null,error:r};throw r}})}download(e,n){return Xe(this,void 0,void 0,function*(){const r=typeof(n==null?void 0:n.transform)<"u"?"render/image/authenticated":"object",s=this.transformOptsToQueryString((n==null?void 0:n.transform)||{}),o=s?`?${s}`:"";try{const a=this._getFinalPath(e);return{data:yield(yield iu(this.fetch,`${this.url}/${r}/${a}${o}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(a){if(Ce(a))return{data:null,error:a};throw a}})}getPublicUrl(e,n){const i=this._getFinalPath(e),r=[],s=n!=null&&n.download?`download=${n.download===!0?"":n.download}`:"";s!==""&&r.push(s);const a=typeof(n==null?void 0:n.transform)<"u"?"render/image":"object",l=this.transformOptsToQueryString((n==null?void 0:n.transform)||{});l!==""&&r.push(l);let u=r.join("&");return u!==""&&(u=`?${u}`),{data:{publicUrl:encodeURI(`${this.url}/${a}/public/${i}${u}`)}}}remove(e){return Xe(this,void 0,void 0,function*(){try{return{data:yield rm(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:e},{headers:this.headers}),error:null}}catch(n){if(Ce(n))return{data:null,error:n};throw n}})}list(e,n,i){return Xe(this,void 0,void 0,function*(){try{const r=Object.assign(Object.assign(Object.assign({},sw),n),{prefix:e||""});return{data:yield Yt(this.fetch,`${this.url}/object/list/${this.bucketId}`,r,{headers:this.headers},i),error:null}}catch(r){if(Ce(r))return{data:null,error:r};throw r}})}_getFinalPath(e){return`${this.bucketId}/${e}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){const n=[];return e.width&&n.push(`width=${e.width}`),e.height&&n.push(`height=${e.height}`),e.resize&&n.push(`resize=${e.resize}`),e.format&&n.push(`format=${e.format}`),e.quality&&n.push(`quality=${e.quality}`),n.join("&")}}const aw="2.5.5",lw={"X-Client-Info":`storage-js/${aw}`};var Jn=function(t,e,n,i){function r(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(c){try{u(i.next(c))}catch(h){o(h)}}function l(c){try{u(i.throw(c))}catch(h){o(h)}}function u(c){c.done?s(c.value):r(c.value).then(a,l)}u((i=i.apply(t,e||[])).next())})};class uw{constructor(e,n={},i){this.url=e,this.headers=Object.assign(Object.assign({},lw),n),this.fetch=im(i)}listBuckets(){return Jn(this,void 0,void 0,function*(){try{return{data:yield iu(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(e){if(Ce(e))return{data:null,error:e};throw e}})}getBucket(e){return Jn(this,void 0,void 0,function*(){try{return{data:yield iu(this.fetch,`${this.url}/bucket/${e}`,{headers:this.headers}),error:null}}catch(n){if(Ce(n))return{data:null,error:n};throw n}})}createBucket(e,n={public:!1}){return Jn(this,void 0,void 0,function*(){try{return{data:yield Yt(this.fetch,`${this.url}/bucket`,{id:e,name:e,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(i){if(Ce(i))return{data:null,error:i};throw i}})}updateBucket(e,n){return Jn(this,void 0,void 0,function*(){try{return{data:yield rw(this.fetch,`${this.url}/bucket/${e}`,{id:e,name:e,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(i){if(Ce(i))return{data:null,error:i};throw i}})}emptyBucket(e){return Jn(this,void 0,void 0,function*(){try{return{data:yield Yt(this.fetch,`${this.url}/bucket/${e}/empty`,{},{headers:this.headers}),error:null}}catch(n){if(Ce(n))return{data:null,error:n};throw n}})}deleteBucket(e){return Jn(this,void 0,void 0,function*(){try{return{data:yield rm(this.fetch,`${this.url}/bucket/${e}`,{},{headers:this.headers}),error:null}}catch(n){if(Ce(n))return{data:null,error:n};throw n}})}}class cw extends uw{constructor(e,n={},i){super(e,n,i)}from(e){return new ow(this.url,this.headers,e,this.fetch)}}const hw="2.43.4";let ar="";typeof Deno<"u"?ar="deno":typeof document<"u"?ar="web":typeof navigator<"u"&&navigator.product==="ReactNative"?ar="react-native":ar="node";const dw={"X-Client-Info":`supabase-js-${ar}/${hw}`},fw={headers:dw},pw={schema:"public"},gw={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},mw={};var yw=function(t,e,n,i){function r(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(c){try{u(i.next(c))}catch(h){o(h)}}function l(c){try{u(i.throw(c))}catch(h){o(h)}}function u(c){c.done?s(c.value):r(c.value).then(a,l)}u((i=i.apply(t,e||[])).next())})};const vw=t=>{let e;return t?e=t:typeof fetch>"u"?e=pc:e=fetch,(...n)=>e(...n)},_w=()=>typeof Headers>"u"?Zg:Headers,ww=(t,e,n)=>{const i=vw(n),r=_w();return(s,o)=>yw(void 0,void 0,void 0,function*(){var a;const l=(a=yield e())!==null&&a!==void 0?a:t;let u=new r(o==null?void 0:o.headers);return u.has("apikey")||u.set("apikey",t),u.has("Authorization")||u.set("Authorization",`Bearer ${l}`),i(s,Object.assign(Object.assign({},o),{headers:u}))})};function xw(t){return t.replace(/\/$/,"")}function kw(t,e){const{db:n,auth:i,realtime:r,global:s}=t,{db:o,auth:a,realtime:l,global:u}=e;return{db:Object.assign(Object.assign({},o),n),auth:Object.assign(Object.assign({},a),i),realtime:Object.assign(Object.assign({},l),r),global:Object.assign(Object.assign({},u),s)}}const sm="2.64.2",bw="http://localhost:9999",Sw="supabase.auth.token",Cw={"X-Client-Info":`gotrue-js/${sm}`},id=10,ru="X-Supabase-Api-Version",om={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}};function Ew(t){return Math.round(Date.now()/1e3)+t}function Pw(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const e=Math.random()*16|0;return(t=="x"?e:e&3|8).toString(16)})}const lt=()=>typeof document<"u",wn={tested:!1,writable:!1},kr=()=>{if(!lt())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(wn.tested)return wn.writable;const t=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(t,t),globalThis.localStorage.removeItem(t),wn.tested=!0,wn.writable=!0}catch{wn.tested=!0,wn.writable=!1}return wn.writable};function Ka(t){const e={},n=new URL(t);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((r,s)=>{e[s]=r})}catch{}return n.searchParams.forEach((i,r)=>{e[r]=i}),e}const am=t=>{let e;return t?e=t:typeof fetch>"u"?e=(...n)=>Mi(()=>Promise.resolve().then(()=>ss),void 0,import.meta.url).then(({default:i})=>i(...n)):e=fetch,(...n)=>e(...n)},Tw=t=>typeof t=="object"&&t!==null&&"status"in t&&"ok"in t&&"json"in t&&typeof t.json=="function",lm=async(t,e,n)=>{await t.setItem(e,JSON.stringify(n))},Es=async(t,e)=>{const n=await t.getItem(e);if(!n)return null;try{return JSON.parse(n)}catch{return n}},Ya=async(t,e)=>{await t.removeItem(e)};function Ow(t){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let n="",i,r,s,o,a,l,u,c=0;for(t=t.replace("-","+").replace("_","/");c<t.length;)o=e.indexOf(t.charAt(c++)),a=e.indexOf(t.charAt(c++)),l=e.indexOf(t.charAt(c++)),u=e.indexOf(t.charAt(c++)),i=o<<2|a>>4,r=(a&15)<<4|l>>2,s=(l&3)<<6|u,n=n+String.fromCharCode(i),l!=64&&r!=0&&(n=n+String.fromCharCode(r)),u!=64&&s!=0&&(n=n+String.fromCharCode(s));return n}class da{constructor(){this.promise=new da.promiseConstructor((e,n)=>{this.resolve=e,this.reject=n})}}da.promiseConstructor=Promise;function rd(t){const e=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i,n=t.split(".");if(n.length!==3)throw new Error("JWT is not valid: not a JWT structure");if(!e.test(n[1]))throw new Error("JWT is not valid: payload is not in base64url format");const i=n[1];return JSON.parse(Ow(i))}async function Lw(t){return await new Promise(e=>{setTimeout(()=>e(null),t)})}function Mw(t,e){return new Promise((i,r)=>{(async()=>{for(let s=0;s<1/0;s++)try{const o=await t(s);if(!e(s,null,o)){i(o);return}}catch(o){if(!e(s,o)){r(o);return}}})()})}function Rw(t){return("0"+t.toString(16)).substr(-2)}function Iw(){const e=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",i=n.length;let r="";for(let s=0;s<56;s++)r+=n.charAt(Math.floor(Math.random()*i));return r}return crypto.getRandomValues(e),Array.from(e,Rw).join("")}async function Aw(t){const n=new TextEncoder().encode(t),i=await crypto.subtle.digest("SHA-256",n),r=new Uint8Array(i);return Array.from(r).map(s=>String.fromCharCode(s)).join("")}function Dw(t){return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function jw(t){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),t;const n=await Aw(t);return Dw(n)}async function Zn(t,e,n=!1){const i=Iw();let r=i;n&&(r+="/PASSWORD_RECOVERY"),await lm(t,`${e}-code-verifier`,r);const s=await jw(i);return[s,i===s?"plain":"s256"]}const Nw=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function Fw(t){const e=t.headers.get(ru);if(!e||!e.match(Nw))return null;try{return new Date(`${e}T00:00:00.0Z`)}catch{return null}}class vc extends Error{constructor(e,n,i){super(e),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=i}}function j(t){return typeof t=="object"&&t!==null&&"__isAuthError"in t}class zw extends vc{constructor(e,n,i){super(e,n,i),this.name="AuthApiError",this.status=n,this.code=i}}function $w(t){return j(t)&&t.name==="AuthApiError"}class um extends vc{constructor(e,n){super(e),this.name="AuthUnknownError",this.originalError=n}}class qn extends vc{constructor(e,n,i,r){super(e,i,r),this.name=n,this.status=i}}class xn extends qn{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}class Ga extends qn{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class Ps extends qn{constructor(e){super(e,"AuthInvalidCredentialsError",400,void 0)}}class Ts extends qn{constructor(e,n=null){super(e,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class sd extends qn{constructor(e,n=null){super(e,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class su extends qn{constructor(e,n){super(e,"AuthRetryableFetchError",n,void 0)}}function qa(t){return j(t)&&t.name==="AuthRetryableFetchError"}class od extends qn{constructor(e,n,i){super(e,"AuthWeakPasswordError",n,"weak_password"),this.reasons=i}}var Uw=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n};const Tn=t=>t.msg||t.message||t.error_description||t.error||JSON.stringify(t),Bw=[502,503,504];async function ad(t){var e;if(!Tw(t))throw new su(Tn(t),0);if(Bw.includes(t.status))throw new su(Tn(t),t.status);let n;try{n=await t.json()}catch(s){throw new um(Tn(s),s)}let i;const r=Fw(t);if(r&&r.getTime()>=om["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?i=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(i=n.error_code),i){if(i==="weak_password")throw new od(Tn(n),t.status,((e=n.weak_password)===null||e===void 0?void 0:e.reasons)||[])}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((s,o)=>s&&typeof o=="string",!0))throw new od(Tn(n),t.status,n.weak_password.reasons);throw new zw(Tn(n),t.status||500,i)}const Vw=(t,e,n,i)=>{const r={method:t,headers:(e==null?void 0:e.headers)||{}};return t==="GET"?r:(r.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},e==null?void 0:e.headers),r.body=JSON.stringify(i),Object.assign(Object.assign({},r),n))};async function F(t,e,n,i){var r;const s=Object.assign({},i==null?void 0:i.headers);s[ru]||(s[ru]=om["2024-01-01"].name),i!=null&&i.jwt&&(s.Authorization=`Bearer ${i.jwt}`);const o=(r=i==null?void 0:i.query)!==null&&r!==void 0?r:{};i!=null&&i.redirectTo&&(o.redirect_to=i.redirectTo);const a=Object.keys(o).length?"?"+new URLSearchParams(o).toString():"",l=await Hw(t,e,n+a,{headers:s,noResolveJson:i==null?void 0:i.noResolveJson},{},i==null?void 0:i.body);return i!=null&&i.xform?i==null?void 0:i.xform(l):{data:Object.assign({},l),error:null}}async function Hw(t,e,n,i,r,s){const o=Vw(e,i,r,s);let a;try{a=await t(n,Object.assign({},o))}catch(l){throw console.error(l),new su(Tn(l),0)}if(a.ok||await ad(a),i!=null&&i.noResolveJson)return a;try{return await a.json()}catch(l){await ad(l)}}function Ht(t){var e;let n=null;Gw(t)&&(n=Object.assign({},t),t.expires_at||(n.expires_at=Ew(t.expires_in)));const i=(e=t.user)!==null&&e!==void 0?e:t;return{data:{session:n,user:i},error:null}}function ld(t){const e=Ht(t);return!e.error&&t.weak_password&&typeof t.weak_password=="object"&&Array.isArray(t.weak_password.reasons)&&t.weak_password.reasons.length&&t.weak_password.message&&typeof t.weak_password.message=="string"&&t.weak_password.reasons.reduce((n,i)=>n&&typeof i=="string",!0)&&(e.data.weak_password=t.weak_password),e}function Qt(t){var e;return{data:{user:(e=t.user)!==null&&e!==void 0?e:t},error:null}}function Ww(t){return{data:t,error:null}}function Kw(t){const{action_link:e,email_otp:n,hashed_token:i,redirect_to:r,verification_type:s}=t,o=Uw(t,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),a={action_link:e,email_otp:n,hashed_token:i,redirect_to:r,verification_type:s},l=Object.assign({},o);return{data:{properties:a,user:l},error:null}}function Yw(t){return t}function Gw(t){return t.access_token&&t.refresh_token&&t.expires_in}var qw=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n};class Qw{constructor({url:e="",headers:n={},fetch:i}){this.url=e,this.headers=n,this.fetch=am(i),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(e,n="global"){try{return await F(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(i){if(j(i))return{data:null,error:i};throw i}}async inviteUserByEmail(e,n={}){try{return await F(this.fetch,"POST",`${this.url}/invite`,{body:{email:e,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Qt})}catch(i){if(j(i))return{data:{user:null},error:i};throw i}}async generateLink(e){try{const{options:n}=e,i=qw(e,["options"]),r=Object.assign(Object.assign({},i),n);return"newEmail"in i&&(r.new_email=i==null?void 0:i.newEmail,delete r.newEmail),await F(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:r,headers:this.headers,xform:Kw,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(j(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(e){try{return await F(this.fetch,"POST",`${this.url}/admin/users`,{body:e,headers:this.headers,xform:Qt})}catch(n){if(j(n))return{data:{user:null},error:n};throw n}}async listUsers(e){var n,i,r,s,o,a,l;try{const u={nextPage:null,lastPage:0,total:0},c=await F(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(i=(n=e==null?void 0:e.page)===null||n===void 0?void 0:n.toString())!==null&&i!==void 0?i:"",per_page:(s=(r=e==null?void 0:e.perPage)===null||r===void 0?void 0:r.toString())!==null&&s!==void 0?s:""},xform:Yw});if(c.error)throw c.error;const h=await c.json(),d=(o=c.headers.get("x-total-count"))!==null&&o!==void 0?o:0,f=(l=(a=c.headers.get("link"))===null||a===void 0?void 0:a.split(","))!==null&&l!==void 0?l:[];return f.length>0&&(f.forEach(m=>{const y=parseInt(m.split(";")[0].split("=")[1].substring(0,1)),v=JSON.parse(m.split(";")[1].split("=")[1]);u[`${v}Page`]=y}),u.total=parseInt(d)),{data:Object.assign(Object.assign({},h),u),error:null}}catch(u){if(j(u))return{data:{users:[]},error:u};throw u}}async getUserById(e){try{return await F(this.fetch,"GET",`${this.url}/admin/users/${e}`,{headers:this.headers,xform:Qt})}catch(n){if(j(n))return{data:{user:null},error:n};throw n}}async updateUserById(e,n){try{return await F(this.fetch,"PUT",`${this.url}/admin/users/${e}`,{body:n,headers:this.headers,xform:Qt})}catch(i){if(j(i))return{data:{user:null},error:i};throw i}}async deleteUser(e,n=!1){try{return await F(this.fetch,"DELETE",`${this.url}/admin/users/${e}`,{headers:this.headers,body:{should_soft_delete:n},xform:Qt})}catch(i){if(j(i))return{data:{user:null},error:i};throw i}}async _listFactors(e){try{const{data:n,error:i}=await F(this.fetch,"GET",`${this.url}/admin/users/${e.userId}/factors`,{headers:this.headers,xform:r=>({data:{factors:r},error:null})});return{data:n,error:i}}catch(n){if(j(n))return{data:null,error:n};throw n}}async _deleteFactor(e){try{return{data:await F(this.fetch,"DELETE",`${this.url}/admin/users/${e.userId}/factors/${e.id}`,{headers:this.headers}),error:null}}catch(n){if(j(n))return{data:null,error:n};throw n}}}const Xw={getItem:t=>kr()?globalThis.localStorage.getItem(t):null,setItem:(t,e)=>{kr()&&globalThis.localStorage.setItem(t,e)},removeItem:t=>{kr()&&globalThis.localStorage.removeItem(t)}};function ud(t={}){return{getItem:e=>t[e]||null,setItem:(e,n)=>{t[e]=n},removeItem:e=>{delete t[e]}}}function Jw(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}const ei={debug:!!(globalThis&&kr()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class cm extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}}class Zw extends cm{}async function ex(t,e,n){ei.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",t,e);const i=new globalThis.AbortController;return e>0&&setTimeout(()=>{i.abort(),ei.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",t)},e),await globalThis.navigator.locks.request(t,e===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:i.signal},async r=>{if(r){ei.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",t,r.name);try{return await n()}finally{ei.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",t,r.name)}}else{if(e===0)throw ei.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",t),new Zw(`Acquiring an exclusive Navigator LockManager lock "${t}" immediately failed`);if(ei.debug)try{const s=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(s,null," "))}catch(s){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",s)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await n()}})}Jw();const tx={url:bw,storageKey:Sw,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:Cw,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1},Xi=30*1e3,cd=3;async function hd(t,e,n){return await n()}class Gr{constructor(e){var n,i;this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=Gr.nextInstanceID,Gr.nextInstanceID+=1,this.instanceID>0&<()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const r=Object.assign(Object.assign({},tx),e);if(this.logDebugMessages=!!r.debug,typeof r.debug=="function"&&(this.logger=r.debug),this.persistSession=r.persistSession,this.storageKey=r.storageKey,this.autoRefreshToken=r.autoRefreshToken,this.admin=new Qw({url:r.url,headers:r.headers,fetch:r.fetch}),this.url=r.url,this.headers=r.headers,this.fetch=am(r.fetch),this.lock=r.lock||hd,this.detectSessionInUrl=r.detectSessionInUrl,this.flowType=r.flowType,this.hasCustomAuthorizationHeader=r.hasCustomAuthorizationHeader,r.lock?this.lock=r.lock:lt()&&(!((n=globalThis==null?void 0:globalThis.navigator)===null||n===void 0)&&n.locks)?this.lock=ex:this.lock=hd,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?r.storage?this.storage=r.storage:kr()?this.storage=Xw:(this.memoryStorage={},this.storage=ud(this.memoryStorage)):(this.memoryStorage={},this.storage=ud(this.memoryStorage)),lt()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(s){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",s)}(i=this.broadcastChannel)===null||i===void 0||i.addEventListener("message",async s=>{this._debug("received broadcast notification from other tab or client",s),await this._notifyAllSubscribers(s.data.event,s.data.session,!1)})}this.initialize()}_debug(...e){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${sm}) ${new Date().toISOString()}`,...e),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){try{const e=lt()?await this._isPKCEFlow():!1;if(this._debug("#_initialize()","begin","is PKCE flow",e),e||this.detectSessionInUrl&&this._isImplicitGrantFlow()){const{data:n,error:i}=await this._getSessionFromURL(e);if(i)return this._debug("#_initialize()","error detecting session from URL",i),(i==null?void 0:i.message)==="Identity is already linked"||(i==null?void 0:i.message)==="Identity is already linked to another user"?{error:i}:(await this._removeSession(),{error:i});const{session:r,redirectType:s}=n;return this._debug("#_initialize()","detected session in URL",r,"redirect type",s),await this._saveSession(r),setTimeout(async()=>{s==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",r):await this._notifyAllSubscribers("SIGNED_IN",r)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(e){return j(e)?{error:e}:{error:new um("Unexpected error during initialization",e)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(e){var n,i,r;try{await this._removeSession();const s=await F(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(i=(n=e==null?void 0:e.options)===null||n===void 0?void 0:n.data)!==null&&i!==void 0?i:{},gotrue_meta_security:{captcha_token:(r=e==null?void 0:e.options)===null||r===void 0?void 0:r.captchaToken}},xform:Ht}),{data:o,error:a}=s;if(a||!o)return{data:{user:null,session:null},error:a};const l=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(s){if(j(s))return{data:{user:null,session:null},error:s};throw s}}async signUp(e){var n,i,r;try{await this._removeSession();let s;if("email"in e){const{email:c,password:h,options:d}=e;let f=null,m=null;this.flowType==="pkce"&&([f,m]=await Zn(this.storage,this.storageKey)),s=await F(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:d==null?void 0:d.emailRedirectTo,body:{email:c,password:h,data:(n=d==null?void 0:d.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:d==null?void 0:d.captchaToken},code_challenge:f,code_challenge_method:m},xform:Ht})}else if("phone"in e){const{phone:c,password:h,options:d}=e;s=await F(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:c,password:h,data:(i=d==null?void 0:d.data)!==null&&i!==void 0?i:{},channel:(r=d==null?void 0:d.channel)!==null&&r!==void 0?r:"sms",gotrue_meta_security:{captcha_token:d==null?void 0:d.captchaToken}},xform:Ht})}else throw new Ps("You must provide either an email or phone number and a password");const{data:o,error:a}=s;if(a||!o)return{data:{user:null,session:null},error:a};const l=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(s){if(j(s))return{data:{user:null,session:null},error:s};throw s}}async signInWithPassword(e){try{await this._removeSession();let n;if("email"in e){const{email:s,password:o,options:a}=e;n=await F(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:s,password:o,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:ld})}else if("phone"in e){const{phone:s,password:o,options:a}=e;n=await F(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:s,password:o,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:ld})}else throw new Ps("You must provide either an email or phone number and a password");const{data:i,error:r}=n;return r?{data:{user:null,session:null},error:r}:!i||!i.session||!i.user?{data:{user:null,session:null},error:new Ga}:(i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",i.session)),{data:Object.assign({user:i.user,session:i.session},i.weak_password?{weakPassword:i.weak_password}:null),error:r})}catch(n){if(j(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOAuth(e){var n,i,r,s;return await this._removeSession(),await this._handleProviderSignIn(e.provider,{redirectTo:(n=e.options)===null||n===void 0?void 0:n.redirectTo,scopes:(i=e.options)===null||i===void 0?void 0:i.scopes,queryParams:(r=e.options)===null||r===void 0?void 0:r.queryParams,skipBrowserRedirect:(s=e.options)===null||s===void 0?void 0:s.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(e))}async _exchangeCodeForSession(e){const n=await Es(this.storage,`${this.storageKey}-code-verifier`),[i,r]=(n??"").split("/"),{data:s,error:o}=await F(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:e,code_verifier:i},xform:Ht});return await Ya(this.storage,`${this.storageKey}-code-verifier`),o?{data:{user:null,session:null,redirectType:null},error:o}:!s||!s.session||!s.user?{data:{user:null,session:null,redirectType:null},error:new Ga}:(s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",s.session)),{data:Object.assign(Object.assign({},s),{redirectType:r??null}),error:o})}async signInWithIdToken(e){await this._removeSession();try{const{options:n,provider:i,token:r,access_token:s,nonce:o}=e,a=await F(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:i,id_token:r,access_token:s,nonce:o,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:Ht}),{data:l,error:u}=a;return u?{data:{user:null,session:null},error:u}:!l||!l.session||!l.user?{data:{user:null,session:null},error:new Ga}:(l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",l.session)),{data:l,error:u})}catch(n){if(j(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOtp(e){var n,i,r,s,o;try{if(await this._removeSession(),"email"in e){const{email:a,options:l}=e;let u=null,c=null;this.flowType==="pkce"&&([u,c]=await Zn(this.storage,this.storageKey));const{error:h}=await F(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:a,data:(n=l==null?void 0:l.data)!==null&&n!==void 0?n:{},create_user:(i=l==null?void 0:l.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},code_challenge:u,code_challenge_method:c},redirectTo:l==null?void 0:l.emailRedirectTo});return{data:{user:null,session:null},error:h}}if("phone"in e){const{phone:a,options:l}=e,{data:u,error:c}=await F(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:a,data:(r=l==null?void 0:l.data)!==null&&r!==void 0?r:{},create_user:(s=l==null?void 0:l.shouldCreateUser)!==null&&s!==void 0?s:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},channel:(o=l==null?void 0:l.channel)!==null&&o!==void 0?o:"sms"}});return{data:{user:null,session:null,messageId:u==null?void 0:u.message_id},error:c}}throw new Ps("You must provide either an email or phone number.")}catch(a){if(j(a))return{data:{user:null,session:null},error:a};throw a}}async verifyOtp(e){var n,i;try{e.type!=="email_change"&&e.type!=="phone_change"&&await this._removeSession();let r,s;"options"in e&&(r=(n=e.options)===null||n===void 0?void 0:n.redirectTo,s=(i=e.options)===null||i===void 0?void 0:i.captchaToken);const{data:o,error:a}=await F(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:s}}),redirectTo:r,xform:Ht});if(a)throw a;if(!o)throw new Error("An error occurred on token verification.");const l=o.session,u=o.user;return l!=null&&l.access_token&&(await this._saveSession(l),await this._notifyAllSubscribers(e.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(r){if(j(r))return{data:{user:null,session:null},error:r};throw r}}async signInWithSSO(e){var n,i,r;try{await this._removeSession();let s=null,o=null;return this.flowType==="pkce"&&([s,o]=await Zn(this.storage,this.storageKey)),await F(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in e?{provider_id:e.providerId}:null),"domain"in e?{domain:e.domain}:null),{redirect_to:(i=(n=e.options)===null||n===void 0?void 0:n.redirectTo)!==null&&i!==void 0?i:void 0}),!((r=e==null?void 0:e.options)===null||r===void 0)&&r.captchaToken?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:s,code_challenge_method:o}),headers:this.headers,xform:Ww})}catch(s){if(j(s))return{data:null,error:s};throw s}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async e=>{const{data:{session:n},error:i}=e;if(i)throw i;if(!n)throw new xn;const{error:r}=await F(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return{data:{user:null,session:null},error:r}})}catch(e){if(j(e))return{data:{user:null,session:null},error:e};throw e}}async resend(e){try{e.type!="email_change"&&e.type!="phone_change"&&await this._removeSession();const n=`${this.url}/resend`;if("email"in e){const{email:i,type:r,options:s}=e,{error:o}=await F(this.fetch,"POST",n,{headers:this.headers,body:{email:i,type:r,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},redirectTo:s==null?void 0:s.emailRedirectTo});return{data:{user:null,session:null},error:o}}else if("phone"in e){const{phone:i,type:r,options:s}=e,{data:o,error:a}=await F(this.fetch,"POST",n,{headers:this.headers,body:{phone:i,type:r,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}}});return{data:{user:null,session:null,messageId:o==null?void 0:o.message_id},error:a}}throw new Ps("You must provide either an email or phone number and a type")}catch(n){if(j(n))return{data:{user:null,session:null},error:n};throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async n=>n))}async _acquireLock(e,n){this._debug("#_acquireLock","begin",e);try{if(this.lockAcquired){const i=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),r=(async()=>(await i,await n()))();return this.pendingInLock.push((async()=>{try{await r}catch{}})()),r}return await this.lock(`lock:${this.storageKey}`,e,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const i=n();for(this.pendingInLock.push((async()=>{try{await i}catch{}})()),await i;this.pendingInLock.length;){const r=[...this.pendingInLock];await Promise.all(r),this.pendingInLock.splice(0,r.length)}return await i}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(e){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await e(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let e=null;const n=await Es(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?e=n:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!e)return{data:{session:null},error:null};const i=e.expires_at?e.expires_at<=Date.now()/1e3:!1;if(this._debug("#__loadSession()",`session has${i?"":" not"} expired`,"expires_at",e.expires_at),!i){if(this.storage.isServer){const o=this.suppressGetSessionWarning;e=new Proxy(e,{get(l,u,c){return!o&&u==="user"&&console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and many not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),Reflect.get(l,u,c)}})}return{data:{session:e},error:null}}const{session:r,error:s}=await this._callRefreshToken(e.refresh_token);return s?{data:{session:null},error:s}:{data:{session:r},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(e){return e?await this._getUser(e):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(e){try{return e?await F(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:e,xform:Qt}):await this._useSession(async n=>{var i,r,s;const{data:o,error:a}=n;if(a)throw a;return!(!((i=o.session)===null||i===void 0)&&i.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new xn}:await F(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(s=(r=o.session)===null||r===void 0?void 0:r.access_token)!==null&&s!==void 0?s:void 0,xform:Qt})})}catch(n){if(j(n))return{data:{user:null},error:n};throw n}}async updateUser(e,n={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(e,n))}async _updateUser(e,n={}){try{return await this._useSession(async i=>{const{data:r,error:s}=i;if(s)throw s;if(!r.session)throw new xn;const o=r.session;let a=null,l=null;this.flowType==="pkce"&&e.email!=null&&([a,l]=await Zn(this.storage,this.storageKey));const{data:u,error:c}=await F(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:a,code_challenge_method:l}),jwt:o.access_token,xform:Qt});if(c)throw c;return o.user=u.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),{data:{user:o.user},error:null}})}catch(i){if(j(i))return{data:{user:null},error:i};throw i}}_decodeJWT(e){return rd(e)}async setSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(e))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new xn;const n=Date.now()/1e3;let i=n,r=!0,s=null;const o=rd(e.access_token);if(o.exp&&(i=o.exp,r=i<=n),r){const{session:a,error:l}=await this._callRefreshToken(e.refresh_token);if(l)return{data:{user:null,session:null},error:l};if(!a)return{data:{user:null,session:null},error:null};s=a}else{const{data:a,error:l}=await this._getUser(e.access_token);if(l)throw l;s={access_token:e.access_token,refresh_token:e.refresh_token,user:a.user,token_type:"bearer",expires_in:i-n,expires_at:i},await this._saveSession(s),await this._notifyAllSubscribers("SIGNED_IN",s)}return{data:{user:s.user,session:s},error:null}}catch(n){if(j(n))return{data:{session:null,user:null},error:n};throw n}}async refreshSession(e){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(e))}async _refreshSession(e){try{return await this._useSession(async n=>{var i;if(!e){const{data:o,error:a}=n;if(a)throw a;e=(i=o.session)!==null&&i!==void 0?i:void 0}if(!(e!=null&&e.refresh_token))throw new xn;const{session:r,error:s}=await this._callRefreshToken(e.refresh_token);return s?{data:{user:null,session:null},error:s}:r?{data:{user:r.user,session:r},error:null}:{data:{user:null,session:null},error:null}})}catch(n){if(j(n))return{data:{user:null,session:null},error:n};throw n}}async _getSessionFromURL(e){try{if(!lt())throw new Ts("No browser detected.");if(this.flowType==="implicit"&&!this._isImplicitGrantFlow())throw new Ts("Not a valid implicit grant flow url.");if(this.flowType=="pkce"&&!e)throw new sd("Not a valid PKCE flow url.");const n=Ka(window.location.href);if(e){if(!n.code)throw new sd("No code detected.");const{data:g,error:_}=await this._exchangeCodeForSession(n.code);if(_)throw _;const w=new URL(window.location.href);return w.searchParams.delete("code"),window.history.replaceState(window.history.state,"",w.toString()),{data:{session:g.session,redirectType:null},error:null}}if(n.error||n.error_description||n.error_code)throw new Ts(n.error_description||"Error in URL with unspecified error_description",{error:n.error||"unspecified_error",code:n.error_code||"unspecified_code"});const{provider_token:i,provider_refresh_token:r,access_token:s,refresh_token:o,expires_in:a,expires_at:l,token_type:u}=n;if(!s||!a||!o||!u)throw new Ts("No session defined in URL");const c=Math.round(Date.now()/1e3),h=parseInt(a);let d=c+h;l&&(d=parseInt(l));const f=d-c;f*1e3<=Xi&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${f}s, should have been closer to ${h}s`);const m=d-h;c-m>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",m,d,c):c-m<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clok for skew",m,d,c);const{data:y,error:v}=await this._getUser(s);if(v)throw v;const p={provider_token:i,provider_refresh_token:r,access_token:s,expires_in:h,expires_at:d,refresh_token:o,token_type:u,user:y.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:p,redirectType:n.type},error:null}}catch(n){if(j(n))return{data:{session:null,redirectType:null},error:n};throw n}}_isImplicitGrantFlow(){const e=Ka(window.location.href);return!!(lt()&&(e.access_token||e.error_description))}async _isPKCEFlow(){const e=Ka(window.location.href),n=await Es(this.storage,`${this.storageKey}-code-verifier`);return!!(e.code&&n)}async signOut(e={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(e))}async _signOut({scope:e}={scope:"global"}){return await this._useSession(async n=>{var i;const{data:r,error:s}=n;if(s)return{error:s};const o=(i=r.session)===null||i===void 0?void 0:i.access_token;if(o){const{error:a}=await this.admin.signOut(o,e);if(a&&!($w(a)&&(a.status===404||a.status===401||a.status===403)))return{error:a}}return e!=="others"&&(await this._removeSession(),await Ya(this.storage,`${this.storageKey}-code-verifier`),await this._notifyAllSubscribers("SIGNED_OUT",null)),{error:null}})}onAuthStateChange(e){const n=Pw(),i={id:n,callback:e,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,i),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:i}}}async _emitInitialSession(e){return await this._useSession(async n=>{var i,r;try{const{data:{session:s},error:o}=n;if(o)throw o;await((i=this.stateChangeEmitters.get(e))===null||i===void 0?void 0:i.callback("INITIAL_SESSION",s)),this._debug("INITIAL_SESSION","callback id",e,"session",s)}catch(s){await((r=this.stateChangeEmitters.get(e))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",e,"error",s),console.error(s)}})}async resetPasswordForEmail(e,n={}){let i=null,r=null;this.flowType==="pkce"&&([i,r]=await Zn(this.storage,this.storageKey,!0));try{return await F(this.fetch,"POST",`${this.url}/recover`,{body:{email:e,code_challenge:i,code_challenge_method:r,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(s){if(j(s))return{data:null,error:s};throw s}}async getUserIdentities(){var e;try{const{data:n,error:i}=await this.getUser();if(i)throw i;return{data:{identities:(e=n.user.identities)!==null&&e!==void 0?e:[]},error:null}}catch(n){if(j(n))return{data:null,error:n};throw n}}async linkIdentity(e){var n;try{const{data:i,error:r}=await this._useSession(async s=>{var o,a,l,u,c;const{data:h,error:d}=s;if(d)throw d;const f=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,e.provider,{redirectTo:(o=e.options)===null||o===void 0?void 0:o.redirectTo,scopes:(a=e.options)===null||a===void 0?void 0:a.scopes,queryParams:(l=e.options)===null||l===void 0?void 0:l.queryParams,skipBrowserRedirect:!0});return await F(this.fetch,"GET",f,{headers:this.headers,jwt:(c=(u=h.session)===null||u===void 0?void 0:u.access_token)!==null&&c!==void 0?c:void 0})});if(r)throw r;return lt()&&!(!((n=e.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(i==null?void 0:i.url),{data:{provider:e.provider,url:i==null?void 0:i.url},error:null}}catch(i){if(j(i))return{data:{provider:e.provider,url:null},error:i};throw i}}async unlinkIdentity(e){try{return await this._useSession(async n=>{var i,r;const{data:s,error:o}=n;if(o)throw o;return await F(this.fetch,"DELETE",`${this.url}/user/identities/${e.identity_id}`,{headers:this.headers,jwt:(r=(i=s.session)===null||i===void 0?void 0:i.access_token)!==null&&r!==void 0?r:void 0})})}catch(n){if(j(n))return{data:null,error:n};throw n}}async _refreshAccessToken(e){const n=`#_refreshAccessToken(${e.substring(0,5)}...)`;this._debug(n,"begin");try{const i=Date.now();return await Mw(async r=>(r>0&&await Lw(200*Math.pow(2,r-1)),this._debug(n,"refreshing attempt",r),await F(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:e},headers:this.headers,xform:Ht})),(r,s)=>{const o=200*Math.pow(2,r);return s&&qa(s)&&Date.now()+o-i<Xi})}catch(i){if(this._debug(n,"error",i),j(i))return{data:{session:null,user:null},error:i};throw i}finally{this._debug(n,"end")}}_isValidSession(e){return typeof e=="object"&&e!==null&&"access_token"in e&&"refresh_token"in e&&"expires_at"in e}async _handleProviderSignIn(e,n){const i=await this._getUrlForProvider(`${this.url}/authorize`,e,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",e,"options",n,"url",i),lt()&&!n.skipBrowserRedirect&&window.location.assign(i),{data:{provider:e,url:i},error:null}}async _recoverAndRefresh(){var e;const n="#_recoverAndRefresh()";this._debug(n,"begin");try{const i=await Es(this.storage,this.storageKey);if(this._debug(n,"session from storage",i),!this._isValidSession(i)){this._debug(n,"session is not valid"),i!==null&&await this._removeSession();return}const r=Math.round(Date.now()/1e3),s=((e=i.expires_at)!==null&&e!==void 0?e:1/0)<r+id;if(this._debug(n,`session has${s?"":" not"} expired with margin of ${id}s`),s){if(this.autoRefreshToken&&i.refresh_token){const{error:o}=await this._callRefreshToken(i.refresh_token);o&&(console.error(o),qa(o)||(this._debug(n,"refresh failed with a non-retryable error, removing the session",o),await this._removeSession()))}}else await this._notifyAllSubscribers("SIGNED_IN",i)}catch(i){this._debug(n,"error",i),console.error(i);return}finally{this._debug(n,"end")}}async _callRefreshToken(e){var n,i;if(!e)throw new xn;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const r=`#_callRefreshToken(${e.substring(0,5)}...)`;this._debug(r,"begin");try{this.refreshingDeferred=new da;const{data:s,error:o}=await this._refreshAccessToken(e);if(o)throw o;if(!s.session)throw new xn;await this._saveSession(s.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",s.session);const a={session:s.session,error:null};return this.refreshingDeferred.resolve(a),a}catch(s){if(this._debug(r,"error",s),j(s)){const o={session:null,error:s};return qa(s)||(await this._removeSession(),await this._notifyAllSubscribers("SIGNED_OUT",null)),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(o),o}throw(i=this.refreshingDeferred)===null||i===void 0||i.reject(s),s}finally{this.refreshingDeferred=null,this._debug(r,"end")}}async _notifyAllSubscribers(e,n,i=!0){const r=`#_notifyAllSubscribers(${e})`;this._debug(r,"begin",n,`broadcast = ${i}`);try{this.broadcastChannel&&i&&this.broadcastChannel.postMessage({event:e,session:n});const s=[],o=Array.from(this.stateChangeEmitters.values()).map(async a=>{try{await a.callback(e,n)}catch(l){s.push(l)}});if(await Promise.all(o),s.length>0){for(let a=0;a<s.length;a+=1)console.error(s[a]);throw s[0]}}finally{this._debug(r,"end")}}async _saveSession(e){this._debug("#_saveSession()",e),this.suppressGetSessionWarning=!0,await lm(this.storage,this.storageKey,e)}async _removeSession(){this._debug("#_removeSession()"),await Ya(this.storage,this.storageKey)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const e=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{e&<()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",e)}catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const e=setInterval(()=>this._autoRefreshTokenTick(),Xi);this.autoRefreshTicker=e,e&&typeof e=="object"&&typeof e.unref=="function"?e.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(e),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const e=Date.now();try{return await this._useSession(async n=>{const{data:{session:i}}=n;if(!i||!i.refresh_token||!i.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const r=Math.floor((i.expires_at*1e3-e)/Xi);this._debug("#_autoRefreshTokenTick()",`access token expires in ${r} ticks, a tick lasts ${Xi}ms, refresh threshold is ${cd} ticks`),r<=cd&&await this._callRefreshToken(i.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(e){if(e.isAcquireTimeout||e instanceof cm)this._debug("auto refresh token tick lock not available");else throw e}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!lt()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(e){console.error("_handleVisibilityChange",e)}}async _onVisibilityChanged(e){const n=`#_onVisibilityChanged(${e})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),e||(await this.initializePromise,await this._acquireLock(-1,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(e,n,i){const r=[`provider=${encodeURIComponent(n)}`];if(i!=null&&i.redirectTo&&r.push(`redirect_to=${encodeURIComponent(i.redirectTo)}`),i!=null&&i.scopes&&r.push(`scopes=${encodeURIComponent(i.scopes)}`),this.flowType==="pkce"){const[s,o]=await Zn(this.storage,this.storageKey),a=new URLSearchParams({code_challenge:`${encodeURIComponent(s)}`,code_challenge_method:`${encodeURIComponent(o)}`});r.push(a.toString())}if(i!=null&&i.queryParams){const s=new URLSearchParams(i.queryParams);r.push(s.toString())}return i!=null&&i.skipBrowserRedirect&&r.push(`skip_http_redirect=${i.skipBrowserRedirect}`),`${e}?${r.join("&")}`}async _unenroll(e){try{return await this._useSession(async n=>{var i;const{data:r,error:s}=n;return s?{data:null,error:s}:await F(this.fetch,"DELETE",`${this.url}/factors/${e.factorId}`,{headers:this.headers,jwt:(i=r==null?void 0:r.session)===null||i===void 0?void 0:i.access_token})})}catch(n){if(j(n))return{data:null,error:n};throw n}}async _enroll(e){try{return await this._useSession(async n=>{var i,r;const{data:s,error:o}=n;if(o)return{data:null,error:o};const{data:a,error:l}=await F(this.fetch,"POST",`${this.url}/factors`,{body:{friendly_name:e.friendlyName,factor_type:e.factorType,issuer:e.issuer},headers:this.headers,jwt:(i=s==null?void 0:s.session)===null||i===void 0?void 0:i.access_token});return l?{data:null,error:l}:(!((r=a==null?void 0:a.totp)===null||r===void 0)&&r.qr_code&&(a.totp.qr_code=`data:image/svg+xml;utf-8,${a.totp.qr_code}`),{data:a,error:null})})}catch(n){if(j(n))return{data:null,error:n};throw n}}async _verify(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var i;const{data:r,error:s}=n;if(s)return{data:null,error:s};const{data:o,error:a}=await F(this.fetch,"POST",`${this.url}/factors/${e.factorId}/verify`,{body:{code:e.code,challenge_id:e.challengeId},headers:this.headers,jwt:(i=r==null?void 0:r.session)===null||i===void 0?void 0:i.access_token});return a?{data:null,error:a}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+o.expires_in},o)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",o),{data:o,error:a})})}catch(n){if(j(n))return{data:null,error:n};throw n}})}async _challenge(e){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var i;const{data:r,error:s}=n;return s?{data:null,error:s}:await F(this.fetch,"POST",`${this.url}/factors/${e.factorId}/challenge`,{headers:this.headers,jwt:(i=r==null?void 0:r.session)===null||i===void 0?void 0:i.access_token})})}catch(n){if(j(n))return{data:null,error:n};throw n}})}async _challengeAndVerify(e){const{data:n,error:i}=await this._challenge({factorId:e.factorId});return i?{data:null,error:i}:await this._verify({factorId:e.factorId,challengeId:n.id,code:e.code})}async _listFactors(){const{data:{user:e},error:n}=await this.getUser();if(n)return{data:null,error:n};const i=(e==null?void 0:e.factors)||[],r=i.filter(s=>s.factor_type==="totp"&&s.status==="verified");return{data:{all:i,totp:r},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async e=>{var n,i;const{data:{session:r},error:s}=e;if(s)return{data:null,error:s};if(!r)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const o=this._decodeJWT(r.access_token);let a=null;o.aal&&(a=o.aal);let l=a;((i=(n=r.user.factors)===null||n===void 0?void 0:n.filter(h=>h.status==="verified"))!==null&&i!==void 0?i:[]).length>0&&(l="aal2");const c=o.amr||[];return{data:{currentLevel:a,nextLevel:l,currentAuthenticationMethods:c},error:null}}))}}Gr.nextInstanceID=0;const nx=Gr;class ix extends nx{constructor(e){super(e)}}var rx=function(t,e,n,i){function r(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(c){try{u(i.next(c))}catch(h){o(h)}}function l(c){try{u(i.throw(c))}catch(h){o(h)}}function u(c){c.done?s(c.value):r(c.value).then(a,l)}u((i=i.apply(t,e||[])).next())})};class sx{constructor(e,n,i){var r,s,o;if(this.supabaseUrl=e,this.supabaseKey=n,!e)throw new Error("supabaseUrl is required.");if(!n)throw new Error("supabaseKey is required.");const a=xw(e);this.realtimeUrl=`${a}/realtime/v1`.replace(/^http/i,"ws"),this.authUrl=`${a}/auth/v1`,this.storageUrl=`${a}/storage/v1`,this.functionsUrl=`${a}/functions/v1`;const l=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`,u={db:pw,realtime:mw,auth:Object.assign(Object.assign({},gw),{storageKey:l}),global:fw},c=kw(i??{},u);this.storageKey=(r=c.auth.storageKey)!==null&&r!==void 0?r:"",this.headers=(s=c.global.headers)!==null&&s!==void 0?s:{},this.auth=this._initSupabaseAuthClient((o=c.auth)!==null&&o!==void 0?o:{},this.headers,c.global.fetch),this.fetch=ww(n,this._getAccessToken.bind(this),c.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers},c.realtime)),this.rest=new gc(`${a}/rest/v1`,{headers:this.headers,schema:c.db.schema,fetch:this.fetch}),this._listenForAuthEvents()}get functions(){return new P_(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new cw(this.storageUrl,this.headers,this.fetch)}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,n={},i={}){return this.rest.rpc(e,n,i)}channel(e,n={config:{}}){return this.realtime.channel(e,n)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var e,n;return rx(this,void 0,void 0,function*(){const{data:i}=yield this.auth.getSession();return(n=(e=i.session)===null||e===void 0?void 0:e.access_token)!==null&&n!==void 0?n:null})}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:n,detectSessionInUrl:i,storage:r,storageKey:s,flowType:o,debug:a},l,u){var c;const h={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new ix({url:this.authUrl,headers:Object.assign(Object.assign({},h),l),storageKey:s,autoRefreshToken:e,persistSession:n,detectSessionInUrl:i,storage:r,flowType:o,debug:a,fetch:u,hasCustomAuthorizationHeader:(c="Authorization"in this.headers)!==null&&c!==void 0?c:!1})}_initRealtimeClient(e){return new X_(this.realtimeUrl,Object.assign(Object.assign({},e),{params:Object.assign({apikey:this.supabaseKey},e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((n,i)=>{this._handleTokenChanged(n,"CLIENT",i==null?void 0:i.access_token)})}_handleTokenChanged(e,n,i){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==i?(this.realtime.setAuth(i??null),this.changedAccessToken=i):e==="SIGNED_OUT"&&(this.realtime.setAuth(this.supabaseKey),n=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const ox=(t,e,n)=>new sx(t,e,n);function ti(t){let e="flex items-center w-full p-3 leading-tight transition-all rounded-lg outline-none text-start hover:bg-blue-500";return t.name===t.currentPage&&(e+=" border-2 border-black"),P.jsxs("div",{role:"button",className:e,children:[P.jsx("div",{className:"grid mr-4 place-items-center",children:P.jsx("i",{className:t.icon})}),P.jsx("a",{href:t.href,children:t.name})]})}function hm(t){return P.jsxs("div",{className:"relative flex h-full w-full max-w-[20rem] flex-col rounded-xl bg-white bg-clip-border text-gray-700 shadow-xl shadow-blue-gray-900/5",children:[P.jsx("div",{className:"p-4 mb-2",children:P.jsx("h5",{className:"block font-sans text-xl antialiased font-semibold leading-snug tracking-normal text-blue-gray-900",children:P.jsx("a",{href:"/",children:"fs-tracer"})})}),P.jsxs("nav",{className:"flex min-w-[240px] flex-col gap-1 font-sans text-base font-normal text-blue-gray-700",children:[P.jsx(ti,{name:"Home",icon:"fa-solid fa-house",href:"/",currentPage:t.currentPage}),P.jsx(ti,{name:"Recent files",icon:"fa-solid fa-folder",href:"/recent",currentPage:t.currentPage}),P.jsx(ti,{name:"Search",icon:"fa-solid fa-magnifying-glass",href:"/search",currentPage:t.currentPage}),P.jsx(ti,{name:"Monitoring",icon:"fa-solid fa-chart-column",href:"/monitoring",currentPage:t.currentPage}),P.jsx(ti,{name:"Setup",icon:"fa-solid fa-gear",href:"/setup",currentPage:t.currentPage}),P.jsx(ti,{name:"Logout",icon:"fa-solid fa-right-from-bracket",href:"/logout",currentPage:t.currentPage})]})]})}/*! - * @kurkle/color v0.3.2 - * https://github.com/kurkle/color#readme - * (c) 2023 Jukka Kurkela - * Released under the MIT License - */function os(t){return t+.5|0}const en=(t,e,n)=>Math.max(Math.min(t,n),e);function lr(t){return en(os(t*2.55),0,255)}function dn(t){return en(os(t*255),0,255)}function Rt(t){return en(os(t/2.55)/100,0,1)}function dd(t){return en(os(t*100),0,100)}const Je={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ou=[..."0123456789ABCDEF"],ax=t=>ou[t&15],lx=t=>ou[(t&240)>>4]+ou[t&15],Os=t=>(t&240)>>4===(t&15),ux=t=>Os(t.r)&&Os(t.g)&&Os(t.b)&&Os(t.a);function cx(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&Je[t[1]]*17,g:255&Je[t[2]]*17,b:255&Je[t[3]]*17,a:e===5?Je[t[4]]*17:255}:(e===7||e===9)&&(n={r:Je[t[1]]<<4|Je[t[2]],g:Je[t[3]]<<4|Je[t[4]],b:Je[t[5]]<<4|Je[t[6]],a:e===9?Je[t[7]]<<4|Je[t[8]]:255})),n}const hx=(t,e)=>t<255?e(t):"";function dx(t){var e=ux(t)?ax:lx;return t?"#"+e(t.r)+e(t.g)+e(t.b)+hx(t.a,e):void 0}const fx=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function dm(t,e,n){const i=e*Math.min(n,1-n),r=(s,o=(s+t/30)%12)=>n-i*Math.max(Math.min(o-3,9-o,1),-1);return[r(0),r(8),r(4)]}function px(t,e,n){const i=(r,s=(r+t/60)%6)=>n-n*e*Math.max(Math.min(s,4-s,1),0);return[i(5),i(3),i(1)]}function gx(t,e,n){const i=dm(t,1,.5);let r;for(e+n>1&&(r=1/(e+n),e*=r,n*=r),r=0;r<3;r++)i[r]*=1-e-n,i[r]+=e;return i}function mx(t,e,n,i,r){return t===r?(e-n)/i+(e<n?6:0):e===r?(n-t)/i+2:(t-e)/i+4}function _c(t){const n=t.r/255,i=t.g/255,r=t.b/255,s=Math.max(n,i,r),o=Math.min(n,i,r),a=(s+o)/2;let l,u,c;return s!==o&&(c=s-o,u=a>.5?c/(2-s-o):c/(s+o),l=mx(n,i,r,c,s),l=l*60+.5),[l|0,u||0,a]}function wc(t,e,n,i){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,i)).map(dn)}function xc(t,e,n){return wc(dm,t,e,n)}function yx(t,e,n){return wc(gx,t,e,n)}function vx(t,e,n){return wc(px,t,e,n)}function fm(t){return(t%360+360)%360}function _x(t){const e=fx.exec(t);let n=255,i;if(!e)return;e[5]!==i&&(n=e[6]?lr(+e[5]):dn(+e[5]));const r=fm(+e[2]),s=+e[3]/100,o=+e[4]/100;return e[1]==="hwb"?i=yx(r,s,o):e[1]==="hsv"?i=vx(r,s,o):i=xc(r,s,o),{r:i[0],g:i[1],b:i[2],a:n}}function wx(t,e){var n=_c(t);n[0]=fm(n[0]+e),n=xc(n),t.r=n[0],t.g=n[1],t.b=n[2]}function xx(t){if(!t)return;const e=_c(t),n=e[0],i=dd(e[1]),r=dd(e[2]);return t.a<255?`hsla(${n}, ${i}%, ${r}%, ${Rt(t.a)})`:`hsl(${n}, ${i}%, ${r}%)`}const fd={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},pd={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function kx(){const t={},e=Object.keys(pd),n=Object.keys(fd);let i,r,s,o,a;for(i=0;i<e.length;i++){for(o=a=e[i],r=0;r<n.length;r++)s=n[r],a=a.replace(s,fd[s]);s=parseInt(pd[o],16),t[a]=[s>>16&255,s>>8&255,s&255]}return t}let Ls;function bx(t){Ls||(Ls=kx(),Ls.transparent=[0,0,0,0]);const e=Ls[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const Sx=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Cx(t){const e=Sx.exec(t);let n=255,i,r,s;if(e){if(e[7]!==i){const o=+e[7];n=e[8]?lr(o):en(o*255,0,255)}return i=+e[1],r=+e[3],s=+e[5],i=255&(e[2]?lr(i):en(i,0,255)),r=255&(e[4]?lr(r):en(r,0,255)),s=255&(e[6]?lr(s):en(s,0,255)),{r:i,g:r,b:s,a:n}}}function Ex(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Rt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const Qa=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,ni=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Px(t,e,n){const i=ni(Rt(t.r)),r=ni(Rt(t.g)),s=ni(Rt(t.b));return{r:dn(Qa(i+n*(ni(Rt(e.r))-i))),g:dn(Qa(r+n*(ni(Rt(e.g))-r))),b:dn(Qa(s+n*(ni(Rt(e.b))-s))),a:t.a+n*(e.a-t.a)}}function Ms(t,e,n){if(t){let i=_c(t);i[e]=Math.max(0,Math.min(i[e]+i[e]*n,e===0?360:1)),i=xc(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function pm(t,e){return t&&Object.assign(e||{},t)}function gd(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=dn(t[3]))):(e=pm(t,{r:0,g:0,b:0,a:1}),e.a=dn(e.a)),e}function Tx(t){return t.charAt(0)==="r"?Cx(t):_x(t)}class qr{constructor(e){if(e instanceof qr)return e;const n=typeof e;let i;n==="object"?i=gd(e):n==="string"&&(i=cx(e)||bx(e)||Tx(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=pm(this._rgb);return e&&(e.a=Rt(e.a)),e}set rgb(e){this._rgb=gd(e)}rgbString(){return this._valid?Ex(this._rgb):void 0}hexString(){return this._valid?dx(this._rgb):void 0}hslString(){return this._valid?xx(this._rgb):void 0}mix(e,n){if(e){const i=this.rgb,r=e.rgb;let s;const o=n===s?.5:n,a=2*o-1,l=i.a-r.a,u=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;s=1-u,i.r=255&u*i.r+s*r.r+.5,i.g=255&u*i.g+s*r.g+.5,i.b=255&u*i.b+s*r.b+.5,i.a=o*i.a+(1-o)*r.a,this.rgb=i}return this}interpolate(e,n){return e&&(this._rgb=Px(this._rgb,e._rgb,n)),this}clone(){return new qr(this.rgb)}alpha(e){return this._rgb.a=dn(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=os(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Ms(this._rgb,2,e),this}darken(e){return Ms(this._rgb,2,-e),this}saturate(e){return Ms(this._rgb,1,e),this}desaturate(e){return Ms(this._rgb,1,-e),this}rotate(e){return wx(this._rgb,e),this}}/*! - * Chart.js v4.4.3 - * https://www.chartjs.org - * (c) 2024 Chart.js Contributors - * Released under the MIT License - */function Pt(){}const Ox=(()=>{let t=0;return()=>t++})();function J(t){return t===null||typeof t>"u"}function le(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function U(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function ye(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Be(t,e){return ye(t)?t:e}function W(t,e){return typeof t>"u"?e:t}const Lx=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function re(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function V(t,e,n,i){let r,s,o;if(le(t))for(s=t.length,r=0;r<s;r++)e.call(n,t[r],r);else if(U(t))for(o=Object.keys(t),s=o.length,r=0;r<s;r++)e.call(n,t[o[r]],o[r])}function Ao(t,e){let n,i,r,s;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(r=t[n],s=e[n],r.datasetIndex!==s.datasetIndex||r.index!==s.index)return!1;return!0}function Do(t){if(le(t))return t.map(Do);if(U(t)){const e=Object.create(null),n=Object.keys(t),i=n.length;let r=0;for(;r<i;++r)e[n[r]]=Do(t[n[r]]);return e}return t}function gm(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function Mx(t,e,n,i){if(!gm(t))return;const r=e[t],s=n[t];U(r)&&U(s)?Qr(r,s,i):e[t]=Do(s)}function Qr(t,e,n){const i=le(e)?e:[e],r=i.length;if(!U(t))return t;n=n||{};const s=n.merger||Mx;let o;for(let a=0;a<r;++a){if(o=i[a],!U(o))continue;const l=Object.keys(o);for(let u=0,c=l.length;u<c;++u)s(l[u],t,o,n)}return t}function br(t,e){return Qr(t,e,{merger:Rx})}function Rx(t,e,n){if(!gm(t))return;const i=e[t],r=n[t];U(i)&&U(r)?br(i,r):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Do(r))}const md={"":t=>t,x:t=>t.x,y:t=>t.y};function Ix(t){const e=t.split("."),n=[];let i="";for(const r of e)i+=r,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function Ax(t){const e=Ix(t);return n=>{for(const i of e){if(i==="")break;n=n&&n[i]}return n}}function jo(t,e){return(md[e]||(md[e]=Ax(e)))(t)}function kc(t){return t.charAt(0).toUpperCase()+t.slice(1)}const No=t=>typeof t<"u",gn=t=>typeof t=="function",yd=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function Dx(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const _e=Math.PI,mt=2*_e,jx=mt+_e,Fo=Number.POSITIVE_INFINITY,Nx=_e/180,We=_e/2,kn=_e/4,vd=_e*2/3,tn=Math.log10,Ii=Math.sign;function Sr(t,e,n){return Math.abs(t-e)<n}function _d(t){const e=Math.round(t);t=Sr(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(tn(t))),i=t/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function Fx(t){const e=[],n=Math.sqrt(t);let i;for(i=1;i<n;i++)t%i===0&&(e.push(i),e.push(t/i));return n===(n|0)&&e.push(n),e.sort((r,s)=>r-s).pop(),e}function Xr(t){return!isNaN(parseFloat(t))&&isFinite(t)}function zx(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function mm(t,e,n){let i,r,s;for(i=0,r=t.length;i<r;i++)s=t[i][n],isNaN(s)||(e.min=Math.min(e.min,s),e.max=Math.max(e.max,s))}function nn(t){return t*(_e/180)}function bc(t){return t*(180/_e)}function wd(t){if(!ye(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function $x(t,e){const n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i);let s=Math.atan2(i,n);return s<-.5*_e&&(s+=mt),{angle:s,distance:r}}function au(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ux(t,e){return(t-e+jx)%mt-_e}function dt(t){return(t%mt+mt)%mt}function ym(t,e,n,i){const r=dt(t),s=dt(e),o=dt(n),a=dt(s-r),l=dt(o-r),u=dt(r-s),c=dt(r-o);return r===s||r===o||i&&s===o||a>l&&u<c}function nt(t,e,n){return Math.max(e,Math.min(n,t))}function Bx(t){return nt(t,-32768,32767)}function Vx(t,e,n,i=1e-6){return t>=Math.min(e,n)-i&&t<=Math.max(e,n)+i}function Sc(t,e,n){n=n||(o=>t[o]<e);let i=t.length-1,r=0,s;for(;i-r>1;)s=r+i>>1,n(s)?r=s:i=s;return{lo:r,hi:i}}const Dn=(t,e,n,i)=>Sc(t,n,i?r=>{const s=t[r][e];return s<n||s===n&&t[r+1][e]===n}:r=>t[r][e]<n),Hx=(t,e,n)=>Sc(t,n,i=>t[i][e]>=n);function Wx(t,e,n){let i=0,r=t.length;for(;i<r&&t[i]<e;)i++;for(;r>i&&t[r-1]>n;)r--;return i>0||r<t.length?t.slice(i,r):t}const vm=["push","pop","shift","splice","unshift"];function Kx(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),vm.forEach(n=>{const i="_onData"+kc(n),r=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...s){const o=r.apply(this,s);return t._chartjs.listeners.forEach(a=>{typeof a[i]=="function"&&a[i](...s)}),o}})})}function xd(t,e){const n=t._chartjs;if(!n)return;const i=n.listeners,r=i.indexOf(e);r!==-1&&i.splice(r,1),!(i.length>0)&&(vm.forEach(s=>{delete t[s]}),delete t._chartjs)}function Yx(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const _m=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function wm(t,e){let n=[],i=!1;return function(...r){n=r,i||(i=!0,_m.call(window,()=>{i=!1,t.apply(e,n)}))}}function Gx(t,e){let n;return function(...i){return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}const qx=t=>t==="start"?"left":t==="end"?"right":"center",kd=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function Qx(t,e,n){const i=e.length;let r=0,s=i;if(t._sorted){const{iScale:o,_parsed:a}=t,l=o.axis,{min:u,max:c,minDefined:h,maxDefined:d}=o.getUserBounds();h&&(r=nt(Math.min(Dn(a,l,u).lo,n?i:Dn(e,l,o.getPixelForValue(u)).lo),0,i-1)),d?s=nt(Math.max(Dn(a,o.axis,c,!0).hi+1,n?0:Dn(e,l,o.getPixelForValue(c),!0).hi+1),r,i)-r:s=i-r}return{start:r,count:s}}function Xx(t){const{xScale:e,yScale:n,_scaleRanges:i}=t,r={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!i)return t._scaleRanges=r,!0;const s=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,r),s}const Rs=t=>t===0||t===1,bd=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*mt/n)),Sd=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*mt/n)+1,Cr={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*We)+1,easeOutSine:t=>Math.sin(t*We),easeInOutSine:t=>-.5*(Math.cos(_e*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Rs(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Rs(t)?t:bd(t,.075,.3),easeOutElastic:t=>Rs(t)?t:Sd(t,.075,.3),easeInOutElastic(t){return Rs(t)?t:t<.5?.5*bd(t*2,.1125,.45):.5+.5*Sd(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Cr.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Cr.easeInBounce(t*2)*.5:Cr.easeOutBounce(t*2-1)*.5+.5};function Cc(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Cd(t){return Cc(t)?t:new qr(t)}function Xa(t){return Cc(t)?t:new qr(t).saturate(.5).darken(.1).hexString()}const Jx=["x","y","borderWidth","radius","tension"],Zx=["color","borderColor","backgroundColor"];function e1(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:Zx},numbers:{type:"number",properties:Jx}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function t1(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Ed=new Map;function n1(t,e){e=e||{};const n=t+JSON.stringify(e);let i=Ed.get(n);return i||(i=new Intl.NumberFormat(t,e),Ed.set(n,i)),i}function Ec(t,e,n){return n1(e,n).format(t)}const xm={values(t){return le(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const i=this.chart.options.locale;let r,s=t;if(n.length>1){const u=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(u<1e-4||u>1e15)&&(r="scientific"),s=i1(t,n)}const o=tn(Math.abs(s)),a=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:r,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Ec(t,i,l)},logarithmic(t,e,n){if(t===0)return"0";const i=n[e].significand||t/Math.pow(10,Math.floor(tn(t)));return[1,2,3,5,10,15].includes(i)||e>.8*n.length?xm.numeric.call(this,t,e,n):""}};function i1(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var fa={formatters:xm};function r1(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:fa.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const Wn=Object.create(null),lu=Object.create(null);function Er(t,e){if(!e)return t;const n=e.split(".");for(let i=0,r=n.length;i<r;++i){const s=n[i];t=t[s]||(t[s]=Object.create(null))}return t}function Ja(t,e,n){return typeof e=="string"?Qr(Er(t,e),n):Qr(Er(t,""),e)}class s1{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,r)=>Xa(r.backgroundColor),this.hoverBorderColor=(i,r)=>Xa(r.borderColor),this.hoverColor=(i,r)=>Xa(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return Ja(this,e,n)}get(e){return Er(this,e)}describe(e,n){return Ja(lu,e,n)}override(e,n){return Ja(Wn,e,n)}route(e,n,i,r){const s=Er(this,e),o=Er(this,i),a="_"+n;Object.defineProperties(s,{[a]:{value:s[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],u=o[r];return U(l)?Object.assign({},u,l):W(l,u)},set(l){this[a]=l}}})}apply(e){e.forEach(n=>n(this))}}var ue=new s1({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[e1,t1,r1]);function o1(t){return!t||J(t.size)||J(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function zo(t,e,n,i,r){let s=e[r];return s||(s=e[r]=t.measureText(r).width,n.push(r)),s>i&&(i=s),i}function a1(t,e,n,i){i=i||{};let r=i.data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},s=i.garbageCollect=[],i.font=e),t.save(),t.font=e;let o=0;const a=n.length;let l,u,c,h,d;for(l=0;l<a;l++)if(h=n[l],h!=null&&!le(h))o=zo(t,r,s,o,h);else if(le(h))for(u=0,c=h.length;u<c;u++)d=h[u],d!=null&&!le(d)&&(o=zo(t,r,s,o,d));t.restore();const f=s.length/2;if(f>n.length){for(l=0;l<f;l++)delete r[s[l]];s.splice(0,f)}return o}function bn(t,e,n){const i=t.currentDevicePixelRatio,r=n!==0?Math.max(n/2,.5):0;return Math.round((e-r)*i)/i+r}function Pd(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function uu(t,e,n,i){l1(t,e,n,i)}function l1(t,e,n,i,r){let s,o,a,l,u,c,h,d;const f=e.pointStyle,m=e.rotation,y=e.radius;let v=(m||0)*Nx;if(f&&typeof f=="object"&&(s=f.toString(),s==="[object HTMLImageElement]"||s==="[object HTMLCanvasElement]")){t.save(),t.translate(n,i),t.rotate(v),t.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),t.restore();return}if(!(isNaN(y)||y<=0)){switch(t.beginPath(),f){default:t.arc(n,i,y,0,mt),t.closePath();break;case"triangle":c=y,t.moveTo(n+Math.sin(v)*c,i-Math.cos(v)*y),v+=vd,t.lineTo(n+Math.sin(v)*c,i-Math.cos(v)*y),v+=vd,t.lineTo(n+Math.sin(v)*c,i-Math.cos(v)*y),t.closePath();break;case"rectRounded":u=y*.516,l=y-u,o=Math.cos(v+kn)*l,h=Math.cos(v+kn)*l,a=Math.sin(v+kn)*l,d=Math.sin(v+kn)*l,t.arc(n-h,i-a,u,v-_e,v-We),t.arc(n+d,i-o,u,v-We,v),t.arc(n+h,i+a,u,v,v+We),t.arc(n-d,i+o,u,v+We,v+_e),t.closePath();break;case"rect":if(!m){l=Math.SQRT1_2*y,c=l,t.rect(n-c,i-l,2*c,2*l);break}v+=kn;case"rectRot":h=Math.cos(v)*y,o=Math.cos(v)*y,a=Math.sin(v)*y,d=Math.sin(v)*y,t.moveTo(n-h,i-a),t.lineTo(n+d,i-o),t.lineTo(n+h,i+a),t.lineTo(n-d,i+o),t.closePath();break;case"crossRot":v+=kn;case"cross":h=Math.cos(v)*y,o=Math.cos(v)*y,a=Math.sin(v)*y,d=Math.sin(v)*y,t.moveTo(n-h,i-a),t.lineTo(n+h,i+a),t.moveTo(n+d,i-o),t.lineTo(n-d,i+o);break;case"star":h=Math.cos(v)*y,o=Math.cos(v)*y,a=Math.sin(v)*y,d=Math.sin(v)*y,t.moveTo(n-h,i-a),t.lineTo(n+h,i+a),t.moveTo(n+d,i-o),t.lineTo(n-d,i+o),v+=kn,h=Math.cos(v)*y,o=Math.cos(v)*y,a=Math.sin(v)*y,d=Math.sin(v)*y,t.moveTo(n-h,i-a),t.lineTo(n+h,i+a),t.moveTo(n+d,i-o),t.lineTo(n-d,i+o);break;case"line":o=Math.cos(v)*y,a=Math.sin(v)*y,t.moveTo(n-o,i-a),t.lineTo(n+o,i+a);break;case"dash":t.moveTo(n,i),t.lineTo(n+Math.cos(v)*y,i+Math.sin(v)*y);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function Dt(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function km(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function bm(t){t.restore()}function u1(t,e,n,i,r){if(!e)return t.lineTo(n.x,n.y);if(r==="middle"){const s=(e.x+n.x)/2;t.lineTo(s,e.y),t.lineTo(s,n.y)}else r==="after"!=!!i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function c1(t,e,n,i){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(i?e.cp1x:e.cp2x,i?e.cp1y:e.cp2y,i?n.cp2x:n.cp1x,i?n.cp2y:n.cp1y,n.x,n.y)}function h1(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),J(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function d1(t,e,n,i,r){if(r.strikethrough||r.underline){const s=t.measureText(i),o=e-s.actualBoundingBoxLeft,a=e+s.actualBoundingBoxRight,l=n-s.actualBoundingBoxAscent,u=n+s.actualBoundingBoxDescent,c=r.strikethrough?(l+u)/2:u;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=r.decorationWidth||2,t.moveTo(o,c),t.lineTo(a,c),t.stroke()}}function f1(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function $o(t,e,n,i,r,s={}){const o=le(e)?e:[e],a=s.strokeWidth>0&&s.strokeColor!=="";let l,u;for(t.save(),t.font=r.string,h1(t,s),l=0;l<o.length;++l)u=o[l],s.backdrop&&f1(t,s.backdrop),a&&(s.strokeColor&&(t.strokeStyle=s.strokeColor),J(s.strokeWidth)||(t.lineWidth=s.strokeWidth),t.strokeText(u,n,i,s.maxWidth)),t.fillText(u,n,i,s.maxWidth),d1(t,n,i,u,s),i+=Number(r.lineHeight);t.restore()}function cu(t,e){const{x:n,y:i,w:r,h:s,radius:o}=e;t.arc(n+o.topLeft,i+o.topLeft,o.topLeft,1.5*_e,_e,!0),t.lineTo(n,i+s-o.bottomLeft),t.arc(n+o.bottomLeft,i+s-o.bottomLeft,o.bottomLeft,_e,We,!0),t.lineTo(n+r-o.bottomRight,i+s),t.arc(n+r-o.bottomRight,i+s-o.bottomRight,o.bottomRight,We,0,!0),t.lineTo(n+r,i+o.topRight),t.arc(n+r-o.topRight,i+o.topRight,o.topRight,0,-We,!0),t.lineTo(n+o.topLeft,i)}const p1=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,g1=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function m1(t,e){const n=(""+t).match(p1);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const y1=t=>+t||0;function Sm(t,e){const n={},i=U(e),r=i?Object.keys(e):e,s=U(t)?i?o=>W(t[o],t[e[o]]):o=>t[o]:()=>t;for(const o of r)n[o]=y1(s(o));return n}function v1(t){return Sm(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Pr(t){return Sm(t,["topLeft","topRight","bottomLeft","bottomRight"])}function ot(t){const e=v1(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ke(t,e){t=t||{},e=e||ue.font;let n=W(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let i=W(t.style,e.style);i&&!(""+i).match(g1)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const r={family:W(t.family,e.family),lineHeight:m1(W(t.lineHeight,e.lineHeight),n),size:n,style:i,weight:W(t.weight,e.weight),string:""};return r.string=o1(r),r}function Is(t,e,n,i){let r,s,o;for(r=0,s=t.length;r<s;++r)if(o=t[r],o!==void 0&&o!==void 0)return o}function _1(t,e,n){const{min:i,max:r}=t,s=Lx(e,(r-i)/2),o=(a,l)=>n&&a===0?0:a+l;return{min:o(i,-Math.abs(s)),max:o(r,s)}}function _n(t,e){return Object.assign(Object.create(t),e)}function Pc(t,e=[""],n,i,r=()=>t[0]){const s=n||t;typeof i>"u"&&(i=Tm("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:s,_fallback:i,_getTarget:r,override:a=>Pc([a,...t],e,s,i)};return new Proxy(o,{deleteProperty(a,l){return delete a[l],delete a._keys,delete t[0][l],!0},get(a,l){return Em(a,l,()=>P1(l,e,t,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(a,l){return Od(a).includes(l)},ownKeys(a){return Od(a)},set(a,l,u){const c=a._storage||(a._storage=r());return a[l]=c[l]=u,delete a._keys,!0}})}function Ai(t,e,n,i){const r={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Cm(t,i),setContext:s=>Ai(t,s,n,i),override:s=>Ai(t.override(s),e,n,i)};return new Proxy(r,{deleteProperty(s,o){return delete s[o],delete t[o],!0},get(s,o,a){return Em(s,o,()=>x1(s,o,a))},getOwnPropertyDescriptor(s,o){return s._descriptors.allKeys?Reflect.has(t,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,o)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(s,o){return Reflect.has(t,o)},ownKeys(){return Reflect.ownKeys(t)},set(s,o,a){return t[o]=a,delete s[o],!0}})}function Cm(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:i=e.indexable,_allKeys:r=e.allKeys}=t;return{allKeys:r,scriptable:n,indexable:i,isScriptable:gn(n)?n:()=>n,isIndexable:gn(i)?i:()=>i}}const w1=(t,e)=>t?t+kc(e):e,Tc=(t,e)=>U(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function Em(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const i=n();return t[e]=i,i}function x1(t,e,n){const{_proxy:i,_context:r,_subProxy:s,_descriptors:o}=t;let a=i[e];return gn(a)&&o.isScriptable(e)&&(a=k1(e,a,t,n)),le(a)&&a.length&&(a=b1(e,a,t,o.isIndexable)),Tc(e,a)&&(a=Ai(a,r,s&&s[e],o)),a}function k1(t,e,n,i){const{_proxy:r,_context:s,_subProxy:o,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t);let l=e(s,o||i);return a.delete(t),Tc(t,l)&&(l=Oc(r._scopes,r,t,l)),l}function b1(t,e,n,i){const{_proxy:r,_context:s,_subProxy:o,_descriptors:a}=n;if(typeof s.index<"u"&&i(t))return e[s.index%e.length];if(U(e[0])){const l=e,u=r._scopes.filter(c=>c!==l);e=[];for(const c of l){const h=Oc(u,r,t,c);e.push(Ai(h,s,o&&o[t],a))}}return e}function Pm(t,e,n){return gn(t)?t(e,n):t}const S1=(t,e)=>t===!0?e:typeof t=="string"?jo(e,t):void 0;function C1(t,e,n,i,r){for(const s of e){const o=S1(n,s);if(o){t.add(o);const a=Pm(o._fallback,n,r);if(typeof a<"u"&&a!==n&&a!==i)return a}else if(o===!1&&typeof i<"u"&&n!==i)return null}return!1}function Oc(t,e,n,i){const r=e._rootScopes,s=Pm(e._fallback,n,i),o=[...t,...r],a=new Set;a.add(i);let l=Td(a,o,n,s||n,i);return l===null||typeof s<"u"&&s!==n&&(l=Td(a,o,s,l,i),l===null)?!1:Pc(Array.from(a),[""],r,s,()=>E1(e,n,i))}function Td(t,e,n,i,r){for(;n;)n=C1(t,e,n,i,r);return n}function E1(t,e,n){const i=t._getTarget();e in i||(i[e]={});const r=i[e];return le(r)&&U(n)?n:r||{}}function P1(t,e,n,i){let r;for(const s of e)if(r=Tm(w1(s,t),n),typeof r<"u")return Tc(t,r)?Oc(n,i,t,r):r}function Tm(t,e){for(const n of e){if(!n)continue;const i=n[t];if(typeof i<"u")return i}}function Od(t){let e=t._keys;return e||(e=t._keys=T1(t._scopes)),e}function T1(t){const e=new Set;for(const n of t)for(const i of Object.keys(n).filter(r=>!r.startsWith("_")))e.add(i);return Array.from(e)}const O1=Number.EPSILON||1e-14,Di=(t,e)=>e<t.length&&!t[e].skip&&t[e],Om=t=>t==="x"?"y":"x";function L1(t,e,n,i){const r=t.skip?e:t,s=e,o=n.skip?e:n,a=au(s,r),l=au(o,s);let u=a/(a+l),c=l/(a+l);u=isNaN(u)?0:u,c=isNaN(c)?0:c;const h=i*u,d=i*c;return{previous:{x:s.x-h*(o.x-r.x),y:s.y-h*(o.y-r.y)},next:{x:s.x+d*(o.x-r.x),y:s.y+d*(o.y-r.y)}}}function M1(t,e,n){const i=t.length;let r,s,o,a,l,u=Di(t,0);for(let c=0;c<i-1;++c)if(l=u,u=Di(t,c+1),!(!l||!u)){if(Sr(e[c],0,O1)){n[c]=n[c+1]=0;continue}r=n[c]/e[c],s=n[c+1]/e[c],a=Math.pow(r,2)+Math.pow(s,2),!(a<=9)&&(o=3/Math.sqrt(a),n[c]=r*o*e[c],n[c+1]=s*o*e[c])}}function R1(t,e,n="x"){const i=Om(n),r=t.length;let s,o,a,l=Di(t,0);for(let u=0;u<r;++u){if(o=a,a=l,l=Di(t,u+1),!a)continue;const c=a[n],h=a[i];o&&(s=(c-o[n])/3,a[`cp1${n}`]=c-s,a[`cp1${i}`]=h-s*e[u]),l&&(s=(l[n]-c)/3,a[`cp2${n}`]=c+s,a[`cp2${i}`]=h+s*e[u])}}function I1(t,e="x"){const n=Om(e),i=t.length,r=Array(i).fill(0),s=Array(i);let o,a,l,u=Di(t,0);for(o=0;o<i;++o)if(a=l,l=u,u=Di(t,o+1),!!l){if(u){const c=u[e]-l[e];r[o]=c!==0?(u[n]-l[n])/c:0}s[o]=a?u?Ii(r[o-1])!==Ii(r[o])?0:(r[o-1]+r[o])/2:r[o-1]:r[o]}M1(t,r,s),R1(t,s,e)}function As(t,e,n){return Math.max(Math.min(t,n),e)}function A1(t,e){let n,i,r,s,o,a=Dt(t[0],e);for(n=0,i=t.length;n<i;++n)o=s,s=a,a=n<i-1&&Dt(t[n+1],e),s&&(r=t[n],o&&(r.cp1x=As(r.cp1x,e.left,e.right),r.cp1y=As(r.cp1y,e.top,e.bottom)),a&&(r.cp2x=As(r.cp2x,e.left,e.right),r.cp2y=As(r.cp2y,e.top,e.bottom)))}function D1(t,e,n,i,r){let s,o,a,l;if(e.spanGaps&&(t=t.filter(u=>!u.skip)),e.cubicInterpolationMode==="monotone")I1(t,r);else{let u=i?t[t.length-1]:t[0];for(s=0,o=t.length;s<o;++s)a=t[s],l=L1(u,a,t[Math.min(s+1,o-(i?0:1))%o],e.tension),a.cp1x=l.previous.x,a.cp1y=l.previous.y,a.cp2x=l.next.x,a.cp2y=l.next.y,u=a}e.capBezierPoints&&A1(t,n)}function Lc(){return typeof window<"u"&&typeof document<"u"}function Mc(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Uo(t,e,n){let i;return typeof t=="string"?(i=parseInt(t,10),t.indexOf("%")!==-1&&(i=i/100*e.parentNode[n])):i=t,i}const pa=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function j1(t,e){return pa(t).getPropertyValue(e)}const N1=["top","right","bottom","left"];function zn(t,e,n){const i={};n=n?"-"+n:"";for(let r=0;r<4;r++){const s=N1[r];i[s]=parseFloat(t[e+"-"+s+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const F1=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function z1(t,e){const n=t.touches,i=n&&n.length?n[0]:t,{offsetX:r,offsetY:s}=i;let o=!1,a,l;if(F1(r,s,t.target))a=r,l=s;else{const u=e.getBoundingClientRect();a=i.clientX-u.left,l=i.clientY-u.top,o=!0}return{x:a,y:l,box:o}}function On(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:i}=e,r=pa(n),s=r.boxSizing==="border-box",o=zn(r,"padding"),a=zn(r,"border","width"),{x:l,y:u,box:c}=z1(t,n),h=o.left+(c&&a.left),d=o.top+(c&&a.top);let{width:f,height:m}=e;return s&&(f-=o.width+a.width,m-=o.height+a.height),{x:Math.round((l-h)/f*n.width/i),y:Math.round((u-d)/m*n.height/i)}}function $1(t,e,n){let i,r;if(e===void 0||n===void 0){const s=t&&Mc(t);if(!s)e=t.clientWidth,n=t.clientHeight;else{const o=s.getBoundingClientRect(),a=pa(s),l=zn(a,"border","width"),u=zn(a,"padding");e=o.width-u.width-l.width,n=o.height-u.height-l.height,i=Uo(a.maxWidth,s,"clientWidth"),r=Uo(a.maxHeight,s,"clientHeight")}}return{width:e,height:n,maxWidth:i||Fo,maxHeight:r||Fo}}const Ds=t=>Math.round(t*10)/10;function U1(t,e,n,i){const r=pa(t),s=zn(r,"margin"),o=Uo(r.maxWidth,t,"clientWidth")||Fo,a=Uo(r.maxHeight,t,"clientHeight")||Fo,l=$1(t,e,n);let{width:u,height:c}=l;if(r.boxSizing==="content-box"){const d=zn(r,"border","width"),f=zn(r,"padding");u-=f.width+d.width,c-=f.height+d.height}return u=Math.max(0,u-s.width),c=Math.max(0,i?u/i:c-s.height),u=Ds(Math.min(u,o,l.maxWidth)),c=Ds(Math.min(c,a,l.maxHeight)),u&&!c&&(c=Ds(u/2)),(e!==void 0||n!==void 0)&&i&&l.height&&c>l.height&&(c=l.height,u=Ds(Math.floor(c*i))),{width:u,height:c}}function Ld(t,e,n){const i=e||1,r=Math.floor(t.height*i),s=Math.floor(t.width*i);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const o=t.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${t.height}px`,o.style.width=`${t.width}px`),t.currentDevicePixelRatio!==i||o.height!==r||o.width!==s?(t.currentDevicePixelRatio=i,o.height=r,o.width=s,t.ctx.setTransform(i,0,0,i,0,0),!0):!1}const B1=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Lc()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function Md(t,e){const n=j1(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Ln(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function V1(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:i==="middle"?n<.5?t.y:e.y:i==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function H1(t,e,n,i){const r={x:t.cp2x,y:t.cp2y},s={x:e.cp1x,y:e.cp1y},o=Ln(t,r,n),a=Ln(r,s,n),l=Ln(s,e,n),u=Ln(o,a,n),c=Ln(a,l,n);return Ln(u,c,n)}const W1=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,i){return n-i},leftForLtr(n,i){return n-i}}},K1=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Za(t,e,n){return t?W1(e,n):K1()}function Y1(t,e){let n,i;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function G1(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Lm(t){return t==="angle"?{between:ym,compare:Ux,normalize:dt}:{between:Vx,compare:(e,n)=>e-n,normalize:e=>e}}function Rd({start:t,end:e,count:n,loop:i,style:r}){return{start:t%n,end:e%n,loop:i&&(e-t+1)%n===0,style:r}}function q1(t,e,n){const{property:i,start:r,end:s}=n,{between:o,normalize:a}=Lm(i),l=e.length;let{start:u,end:c,loop:h}=t,d,f;if(h){for(u+=l,c+=l,d=0,f=l;d<f&&o(a(e[u%l][i]),r,s);++d)u--,c--;u%=l,c%=l}return c<u&&(c+=l),{start:u,end:c,loop:h,style:t.style}}function Q1(t,e,n){if(!n)return[t];const{property:i,start:r,end:s}=n,o=e.length,{compare:a,between:l,normalize:u}=Lm(i),{start:c,end:h,loop:d,style:f}=q1(t,e,n),m=[];let y=!1,v=null,p,g,_;const w=()=>l(r,_,p)&&a(r,_)!==0,x=()=>a(s,p)===0||l(s,_,p),b=()=>y||w(),k=()=>!y||x();for(let S=c,M=c;S<=h;++S)g=e[S%o],!g.skip&&(p=u(g[i]),p!==_&&(y=l(p,r,s),v===null&&b()&&(v=a(p,r)===0?S:M),v!==null&&k()&&(m.push(Rd({start:v,end:S,loop:d,count:o,style:f})),v=null),M=S,_=p));return v!==null&&m.push(Rd({start:v,end:h,loop:d,count:o,style:f})),m}function X1(t,e){const n=[],i=t.segments;for(let r=0;r<i.length;r++){const s=Q1(i[r],t.points,e);s.length&&n.push(...s)}return n}function J1(t,e,n,i){let r=0,s=e-1;if(n&&!i)for(;r<e&&!t[r].skip;)r++;for(;r<e&&t[r].skip;)r++;for(r%=e,n&&(s+=r);s>r&&t[s%e].skip;)s--;return s%=e,{start:r,end:s}}function Z1(t,e,n,i){const r=t.length,s=[];let o=e,a=t[e],l;for(l=e+1;l<=n;++l){const u=t[l%r];u.skip||u.stop?a.skip||(i=!1,s.push({start:e%r,end:(l-1)%r,loop:i}),e=o=u.stop?l:null):(o=l,a.skip&&(e=l)),a=u}return o!==null&&s.push({start:e%r,end:o%r,loop:i}),s}function ek(t,e){const n=t.points,i=t.options.spanGaps,r=n.length;if(!r)return[];const s=!!t._loop,{start:o,end:a}=J1(n,r,s,i);if(i===!0)return Id(t,[{start:o,end:a,loop:s}],n,e);const l=a<o?a+r:a,u=!!t._fullLoop&&o===0&&a===r-1;return Id(t,Z1(n,o,l,u),n,e)}function Id(t,e,n,i){return!i||!i.setContext||!n?e:tk(t,e,n,i)}function tk(t,e,n,i){const r=t._chart.getContext(),s=Ad(t.options),{_datasetIndex:o,options:{spanGaps:a}}=t,l=n.length,u=[];let c=s,h=e[0].start,d=h;function f(m,y,v,p){const g=a?-1:1;if(m!==y){for(m+=l;n[m%l].skip;)m-=g;for(;n[y%l].skip;)y+=g;m%l!==y%l&&(u.push({start:m%l,end:y%l,loop:v,style:p}),c=p,h=y%l)}}for(const m of e){h=a?h:m.start;let y=n[h%l],v;for(d=h+1;d<=m.end;d++){const p=n[d%l];v=Ad(i.setContext(_n(r,{type:"segment",p0:y,p1:p,p0DataIndex:(d-1)%l,p1DataIndex:d%l,datasetIndex:o}))),nk(v,c)&&f(h,d-1,m.loop,c),y=p,c=v}h<d-1&&f(h,d-1,m.loop,c)}return u}function Ad(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function nk(t,e){if(!e)return!1;const n=[],i=function(r,s){return Cc(s)?(n.includes(s)||n.push(s),n.indexOf(s)):s};return JSON.stringify(t,i)!==JSON.stringify(e,i)}/*! - * Chart.js v4.4.3 - * https://www.chartjs.org - * (c) 2024 Chart.js Contributors - * Released under the MIT License - */class ik{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,i,r){const s=n.listeners[r],o=n.duration;s.forEach(a=>a({chart:e,initial:n.initial,numSteps:o,currentStep:Math.min(i-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=_m.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const s=i.items;let o=s.length-1,a=!1,l;for(;o>=0;--o)l=s[o],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(e),a=!0):(s[o]=s[s.length-1],s.pop());a&&(r.draw(),this._notify(r,i,e,"progress")),s.length||(i.running=!1,this._notify(r,i,e,"complete"),i.initial=!1),n+=s.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let i=n.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,i)),i}listen(e,n,i){this._getAnims(e).listeners[n].push(i)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,r)=>Math.max(i,r._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const i=n.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Tt=new ik;const Dd="transparent",rk={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const i=Cd(t||Dd),r=i.valid&&Cd(e||Dd);return r&&r.valid?r.mix(i,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class sk{constructor(e,n,i,r){const s=n[i];r=Is([e.to,r,s,e.from]);const o=Is([e.from,s,r]);this._active=!0,this._fn=e.fn||rk[e.type||typeof o],this._easing=Cr[e.easing]||Cr.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=i,this._from=o,this._to=r,this._promises=void 0}active(){return this._active}update(e,n,i){if(this._active){this._notify(!1);const r=this._target[this._prop],s=i-this._start,o=this._duration-s;this._start=i,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=s,this._loop=!!e.loop,this._to=Is([e.to,n,r,e.from]),this._from=Is([e.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,i=this._duration,r=this._prop,s=this._from,o=this._loop,a=this._to;let l;if(this._active=s!==a&&(o||n<i),!this._active){this._target[r]=a,this._notify(!0);return}if(n<0){this._target[r]=s;return}l=n/i%2,l=o&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[r]=this._fn(s,a,l)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,i)=>{e.push({res:n,rej:i})})}_notify(e){const n=e?"res":"rej",i=this._promises||[];for(let r=0;r<i.length;r++)i[r][n]()}}class Mm{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!U(e))return;const n=Object.keys(ue.animation),i=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{const s=e[r];if(!U(s))return;const o={};for(const a of n)o[a]=s[a];(le(s.properties)&&s.properties||[r]).forEach(a=>{(a===r||!i.has(a))&&i.set(a,o)})})}_animateOptions(e,n){const i=n.options,r=ak(e,i);if(!r)return[];const s=this._createAnimations(r,i);return i.$shared&&ok(e.options.$animations,i).then(()=>{e.options=i},()=>{}),s}_createAnimations(e,n){const i=this._properties,r=[],s=e.$animations||(e.$animations={}),o=Object.keys(n),a=Date.now();let l;for(l=o.length-1;l>=0;--l){const u=o[l];if(u.charAt(0)==="$")continue;if(u==="options"){r.push(...this._animateOptions(e,n));continue}const c=n[u];let h=s[u];const d=i.get(u);if(h)if(d&&h.active()){h.update(d,c,a);continue}else h.cancel();if(!d||!d.duration){e[u]=c;continue}s[u]=h=new sk(d,e,u,c),r.push(h)}return r}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const i=this._createAnimations(e,n);if(i.length)return Tt.add(this._chart,i),!0}}function ok(t,e){const n=[],i=Object.keys(e);for(let r=0;r<i.length;r++){const s=t[i[r]];s&&s.active()&&n.push(s.wait())}return Promise.all(n)}function ak(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function jd(t,e){const n=t&&t.options||{},i=n.reverse,r=n.min===void 0?e:0,s=n.max===void 0?e:0;return{start:i?s:r,end:i?r:s}}function lk(t,e,n){if(n===!1)return!1;const i=jd(t,n),r=jd(e,n);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function uk(t){let e,n,i,r;return U(t)?(e=t.top,n=t.right,i=t.bottom,r=t.left):e=n=i=r=t,{top:e,right:n,bottom:i,left:r,disabled:t===!1}}function Rm(t,e){const n=[],i=t._getSortedDatasetMetas(e);let r,s;for(r=0,s=i.length;r<s;++r)n.push(i[r].index);return n}function Nd(t,e,n,i={}){const r=t.keys,s=i.mode==="single";let o,a,l,u;if(e!==null){for(o=0,a=r.length;o<a;++o){if(l=+r[o],l===n){if(i.all)continue;break}u=t.values[l],ye(u)&&(s||e===0||Ii(e)===Ii(u))&&(e+=u)}return e}}function ck(t,e){const{iScale:n,vScale:i}=e,r=n.axis==="x"?"x":"y",s=i.axis==="x"?"x":"y",o=Object.keys(t),a=new Array(o.length);let l,u,c;for(l=0,u=o.length;l<u;++l)c=o[l],a[l]={[r]:c,[s]:t[c]};return a}function Fd(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function hk(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function dk(t){const{min:e,max:n,minDefined:i,maxDefined:r}=t.getUserBounds();return{min:i?e:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function fk(t,e,n){const i=t[e]||(t[e]={});return i[n]||(i[n]={})}function zd(t,e,n,i){for(const r of e.getMatchingVisibleMetas(i).reverse()){const s=t[r.index];if(n&&s>0||!n&&s<0)return r.index}return null}function $d(t,e){const{chart:n,_cachedMeta:i}=t,r=n._stacks||(n._stacks={}),{iScale:s,vScale:o,index:a}=i,l=s.axis,u=o.axis,c=hk(s,o,i),h=e.length;let d;for(let f=0;f<h;++f){const m=e[f],{[l]:y,[u]:v}=m,p=m._stacks||(m._stacks={});d=p[u]=fk(r,c,y),d[a]=v,d._top=zd(d,o,!0,i.type),d._bottom=zd(d,o,!1,i.type);const g=d._visualValues||(d._visualValues={});g[a]=v}}function el(t,e){const n=t.scales;return Object.keys(n).filter(i=>n[i].axis===e).shift()}function pk(t,e){return _n(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function gk(t,e,n){return _n(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Ji(t,e){const n=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){e=e||t._parsed;for(const r of e){const s=r._stacks;if(!s||s[i]===void 0||s[i][n]===void 0)return;delete s[i][n],s[i]._visualValues!==void 0&&s[i]._visualValues[n]!==void 0&&delete s[i]._visualValues[n]}}}const tl=t=>t==="reset"||t==="none",Ud=(t,e)=>e?t:Object.assign({},t),mk=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Rm(n,!0),values:null};class Tr{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Fd(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Ji(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,i=this.getDataset(),r=(h,d,f,m)=>h==="x"?d:h==="r"?m:f,s=n.xAxisID=W(i.xAxisID,el(e,"x")),o=n.yAxisID=W(i.yAxisID,el(e,"y")),a=n.rAxisID=W(i.rAxisID,el(e,"r")),l=n.indexAxis,u=n.iAxisID=r(l,s,o,a),c=n.vAxisID=r(l,o,s,a);n.xScale=this.getScaleForId(s),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(u),n.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&xd(this._data,this),e._stacked&&Ji(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),i=this._data;if(U(n)){const r=this._cachedMeta;this._data=ck(n,r)}else if(i!==n){if(i){xd(i,this);const r=this._cachedMeta;Ji(r),r._parsed=[]}n&&Object.isExtensible(n)&&Kx(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,i=this.getDataset();let r=!1;this._dataCheck();const s=n._stacked;n._stacked=Fd(n.vScale,n),n.stack!==i.stack&&(r=!0,Ji(n),n.stack=i.stack),this._resyncElements(e),(r||s!==n._stacked)&&$d(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:i,_data:r}=this,{iScale:s,_stacked:o}=i,a=s.axis;let l=e===0&&n===r.length?!0:i._sorted,u=e>0&&i._parsed[e-1],c,h,d;if(this._parsing===!1)i._parsed=r,i._sorted=!0,d=r;else{le(r[e])?d=this.parseArrayData(i,r,e,n):U(r[e])?d=this.parseObjectData(i,r,e,n):d=this.parsePrimitiveData(i,r,e,n);const f=()=>h[a]===null||u&&h[a]<u[a];for(c=0;c<n;++c)i._parsed[c+e]=h=d[c],l&&(f()&&(l=!1),u=h);i._sorted=l}o&&$d(this,d)}parsePrimitiveData(e,n,i,r){const{iScale:s,vScale:o}=e,a=s.axis,l=o.axis,u=s.getLabels(),c=s===o,h=new Array(r);let d,f,m;for(d=0,f=r;d<f;++d)m=d+i,h[d]={[a]:c||s.parse(u[m],m),[l]:o.parse(n[m],m)};return h}parseArrayData(e,n,i,r){const{xScale:s,yScale:o}=e,a=new Array(r);let l,u,c,h;for(l=0,u=r;l<u;++l)c=l+i,h=n[c],a[l]={x:s.parse(h[0],c),y:o.parse(h[1],c)};return a}parseObjectData(e,n,i,r){const{xScale:s,yScale:o}=e,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,u=new Array(r);let c,h,d,f;for(c=0,h=r;c<h;++c)d=c+i,f=n[d],u[c]={x:s.parse(jo(f,a),d),y:o.parse(jo(f,l),d)};return u}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,i){const r=this.chart,s=this._cachedMeta,o=n[e.axis],a={keys:Rm(r,!0),values:n._stacks[e.axis]._visualValues};return Nd(a,o,s.index,{mode:i})}updateRangeFromParsed(e,n,i,r){const s=i[n.axis];let o=s===null?NaN:s;const a=r&&i._stacks[n.axis];r&&a&&(r.values=a,o=Nd(r,s,this._cachedMeta.index)),e.min=Math.min(e.min,o),e.max=Math.max(e.max,o)}getMinMax(e,n){const i=this._cachedMeta,r=i._parsed,s=i._sorted&&e===i.iScale,o=r.length,a=this._getOtherScale(e),l=mk(n,i,this.chart),u={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:h}=dk(a);let d,f;function m(){f=r[d];const y=f[a.axis];return!ye(f[e.axis])||c>y||h<y}for(d=0;d<o&&!(!m()&&(this.updateRangeFromParsed(u,e,f,l),s));++d);if(s){for(d=o-1;d>=0;--d)if(!m()){this.updateRangeFromParsed(u,e,f,l);break}}return u}getAllParsedValues(e){const n=this._cachedMeta._parsed,i=[];let r,s,o;for(r=0,s=n.length;r<s;++r)o=n[r][e.axis],ye(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,i=n.iScale,r=n.vScale,s=this.getParsed(e);return{label:i?""+i.getLabelForValue(s[i.axis]):"",value:r?""+r.getLabelForValue(s[r.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=uk(W(this.options.clip,lk(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,i=this._cachedMeta,r=i.data||[],s=n.chartArea,o=[],a=this._drawStart||0,l=this._drawCount||r.length-a,u=this.options.drawActiveElementsOnTop;let c;for(i.dataset&&i.dataset.draw(e,s,a,l),c=a;c<a+l;++c){const h=r[c];h.hidden||(h.active&&u?o.push(h):h.draw(e,s))}for(c=0;c<o.length;++c)o[c].draw(e,s)}getStyle(e,n){const i=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(e||0,i)}getContext(e,n,i){const r=this.getDataset();let s;if(e>=0&&e<this._cachedMeta.data.length){const o=this._cachedMeta.data[e];s=o.$context||(o.$context=gk(this.getContext(),e,o)),s.parsed=this.getParsed(e),s.raw=r.data[e],s.index=s.dataIndex=e}else s=this.$context||(this.$context=pk(this.chart.getContext(),this.index)),s.dataset=r,s.index=s.datasetIndex=this.index;return s.active=!!n,s.mode=i,s}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",i){const r=n==="active",s=this._cachedDataOpts,o=e+"-"+n,a=s[o],l=this.enableOptionSharing&&No(i);if(a)return Ud(a,l);const u=this.chart.config,c=u.datasetElementScopeKeys(this._type,e),h=r?[`${e}Hover`,"hover",e,""]:[e,""],d=u.getOptionScopes(this.getDataset(),c),f=Object.keys(ue.elements[e]),m=()=>this.getContext(i,r,n),y=u.resolveNamedOptions(d,f,m,h);return y.$shared&&(y.$shared=l,s[o]=Object.freeze(Ud(y,l))),y}_resolveAnimations(e,n,i){const r=this.chart,s=this._cachedDataOpts,o=`animation-${n}`,a=s[o];if(a)return a;let l;if(r.options.animation!==!1){const c=this.chart.config,h=c.datasetAnimationScopeKeys(this._type,n),d=c.getOptionScopes(this.getDataset(),h);l=c.createResolver(d,this.getContext(e,i,n))}const u=new Mm(r,l&&l.animations);return l&&l._cacheable&&(s[o]=Object.freeze(u)),u}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||tl(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const i=this.resolveDataElementOptions(e,n),r=this._sharedOptions,s=this.getSharedOptions(i),o=this.includeOptions(n,s)||s!==r;return this.updateSharedOptions(s,n,i),{sharedOptions:s,includeOptions:o}}updateElement(e,n,i,r){tl(r)?Object.assign(e,i):this._resolveAnimations(n,r).update(e,i)}updateSharedOptions(e,n,i){e&&!tl(n)&&this._resolveAnimations(void 0,n).update(e,i)}_setStyle(e,n,i,r){e.active=r;const s=this.getStyle(n,r);this._resolveAnimations(n,i,r).update(e,{options:!r&&this.getSharedOptions(s)||s})}removeHoverStyle(e,n,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,n,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,i=this._cachedMeta.data;for(const[a,l,u]of this._syncList)this[a](l,u);this._syncList=[];const r=i.length,s=n.length,o=Math.min(s,r);o&&this.parse(0,o),s>r?this._insertElements(r,s-r,e):s<r&&this._removeElements(s,r-s)}_insertElements(e,n,i=!0){const r=this._cachedMeta,s=r.data,o=e+n;let a;const l=u=>{for(u.length+=n,a=u.length-1;a>=o;a--)u[a]=u[a-n]};for(l(s),a=e;a<o;++a)s[a]=new this.dataElementType;this._parsing&&l(r._parsed),this.parse(e,n),i&&this.updateElements(s,e,n,"reset")}updateElements(e,n,i,r){}_removeElements(e,n){const i=this._cachedMeta;if(this._parsing){const r=i._parsed.splice(e,n);i._stacked&&Ji(i,r)}i.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,i,r]=e;this[n](i,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const i=arguments.length-2;i&&this._sync(["_insertElements",e,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}I(Tr,"defaults",{}),I(Tr,"datasetElementType",null),I(Tr,"dataElementType",null);class ro extends Tr{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:i,data:r=[],_dataset:s}=n,o=this.chart._animationsDisabled;let{start:a,count:l}=Qx(n,r,o);this._drawStart=a,this._drawCount=l,Xx(n)&&(a=0,l=r.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!s._decimated,i.points=r;const u=this.resolveDatasetElementOptions(e);this.options.showLine||(u.borderWidth=0),u.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:u},e),this.updateElements(r,a,l,e)}updateElements(e,n,i,r){const s=r==="reset",{iScale:o,vScale:a,_stacked:l,_dataset:u}=this._cachedMeta,{sharedOptions:c,includeOptions:h}=this._getSharedOptions(n,r),d=o.axis,f=a.axis,{spanGaps:m,segment:y}=this.options,v=Xr(m)?m:Number.POSITIVE_INFINITY,p=this.chart._animationsDisabled||s||r==="none",g=n+i,_=e.length;let w=n>0&&this.getParsed(n-1);for(let x=0;x<_;++x){const b=e[x],k=p?b:{};if(x<n||x>=g){k.skip=!0;continue}const S=this.getParsed(x),M=J(S[f]),L=k[d]=o.getPixelForValue(S[d],x),D=k[f]=s||M?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,S,l):S[f],x);k.skip=isNaN(L)||isNaN(D)||M,k.stop=x>0&&Math.abs(S[d]-w[d])>v,y&&(k.parsed=S,k.raw=u.data[x]),h&&(k.options=c||this.resolveDataElementOptions(x,b.active?"active":r)),p||this.updateElement(b,x,k,r),w=S}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,i=n.options&&n.options.borderWidth||0,r=e.data||[];if(!r.length)return i;const s=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(i,s,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}I(ro,"id","line"),I(ro,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),I(ro,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function Sn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Rc{constructor(e){I(this,"options");this.options=e||{}}static override(e){Object.assign(Rc.prototype,e)}init(){}formats(){return Sn()}parse(){return Sn()}format(){return Sn()}add(){return Sn()}diff(){return Sn()}startOf(){return Sn()}endOf(){return Sn()}}var yk={_date:Rc};function vk(t,e,n,i){const{controller:r,data:s,_sorted:o}=t,a=r._cachedMeta.iScale;if(a&&e===a.axis&&e!=="r"&&o&&s.length){const l=a._reversePixels?Hx:Dn;if(i){if(r._sharedOptions){const u=s[0],c=typeof u.getRange=="function"&&u.getRange(e);if(c){const h=l(s,e,n-c),d=l(s,e,n+c);return{lo:h.lo,hi:d.hi}}}}else return l(s,e,n)}return{lo:0,hi:s.length-1}}function as(t,e,n,i,r){const s=t.getSortedVisibleDatasetMetas(),o=n[e];for(let a=0,l=s.length;a<l;++a){const{index:u,data:c}=s[a],{lo:h,hi:d}=vk(s[a],e,o,r);for(let f=h;f<=d;++f){const m=c[f];m.skip||i(m,u,f)}}}function _k(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(i,r){const s=e?Math.abs(i.x-r.x):0,o=n?Math.abs(i.y-r.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(o,2))}}function nl(t,e,n,i,r){const s=[];return!r&&!t.isPointInArea(e)||as(t,n,e,function(a,l,u){!r&&!Dt(a,t.chartArea,0)||a.inRange(e.x,e.y,i)&&s.push({element:a,datasetIndex:l,index:u})},!0),s}function wk(t,e,n,i){let r=[];function s(o,a,l){const{startAngle:u,endAngle:c}=o.getProps(["startAngle","endAngle"],i),{angle:h}=$x(o,{x:e.x,y:e.y});ym(h,u,c)&&r.push({element:o,datasetIndex:a,index:l})}return as(t,n,e,s),r}function xk(t,e,n,i,r,s){let o=[];const a=_k(n);let l=Number.POSITIVE_INFINITY;function u(c,h,d){const f=c.inRange(e.x,e.y,r);if(i&&!f)return;const m=c.getCenterPoint(r);if(!(!!s||t.isPointInArea(m))&&!f)return;const v=a(e,m);v<l?(o=[{element:c,datasetIndex:h,index:d}],l=v):v===l&&o.push({element:c,datasetIndex:h,index:d})}return as(t,n,e,u),o}function il(t,e,n,i,r,s){return!s&&!t.isPointInArea(e)?[]:n==="r"&&!i?wk(t,e,n,r):xk(t,e,n,i,r,s)}function Bd(t,e,n,i,r){const s=[],o=n==="x"?"inXRange":"inYRange";let a=!1;return as(t,n,e,(l,u,c)=>{l[o](e[n],r)&&(s.push({element:l,datasetIndex:u,index:c}),a=a||l.inRange(e.x,e.y,r))}),i&&!a?[]:s}var kk={evaluateInteractionItems:as,modes:{index(t,e,n,i){const r=On(e,t),s=n.axis||"x",o=n.includeInvisible||!1,a=n.intersect?nl(t,r,s,i,o):il(t,r,s,!1,i,o),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(u=>{const c=a[0].index,h=u.data[c];h&&!h.skip&&l.push({element:h,datasetIndex:u.index,index:c})}),l):[]},dataset(t,e,n,i){const r=On(e,t),s=n.axis||"xy",o=n.includeInvisible||!1;let a=n.intersect?nl(t,r,s,i,o):il(t,r,s,!1,i,o);if(a.length>0){const l=a[0].datasetIndex,u=t.getDatasetMeta(l).data;a=[];for(let c=0;c<u.length;++c)a.push({element:u[c],datasetIndex:l,index:c})}return a},point(t,e,n,i){const r=On(e,t),s=n.axis||"xy",o=n.includeInvisible||!1;return nl(t,r,s,i,o)},nearest(t,e,n,i){const r=On(e,t),s=n.axis||"xy",o=n.includeInvisible||!1;return il(t,r,s,n.intersect,i,o)},x(t,e,n,i){const r=On(e,t);return Bd(t,r,"x",n.intersect,i)},y(t,e,n,i){const r=On(e,t);return Bd(t,r,"y",n.intersect,i)}}};const Im=["left","top","right","bottom"];function Zi(t,e){return t.filter(n=>n.pos===e)}function Vd(t,e){return t.filter(n=>Im.indexOf(n.pos)===-1&&n.box.axis===e)}function er(t,e){return t.sort((n,i)=>{const r=e?i:n,s=e?n:i;return r.weight===s.weight?r.index-s.index:r.weight-s.weight})}function bk(t){const e=[];let n,i,r,s,o,a;for(n=0,i=(t||[]).length;n<i;++n)r=t[n],{position:s,options:{stack:o,stackWeight:a=1}}=r,e.push({index:n,box:r,pos:s,horizontal:r.isHorizontal(),weight:r.weight,stack:o&&s+o,stackWeight:a});return e}function Sk(t){const e={};for(const n of t){const{stack:i,pos:r,stackWeight:s}=n;if(!i||!Im.includes(r))continue;const o=e[i]||(e[i]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=s}return e}function Ck(t,e){const n=Sk(t),{vBoxMaxWidth:i,hBoxMaxHeight:r}=e;let s,o,a;for(s=0,o=t.length;s<o;++s){a=t[s];const{fullSize:l}=a.box,u=n[a.stack],c=u&&a.stackWeight/u.weight;a.horizontal?(a.width=c?c*i:l&&e.availableWidth,a.height=r):(a.width=i,a.height=c?c*r:l&&e.availableHeight)}return n}function Ek(t){const e=bk(t),n=er(e.filter(u=>u.box.fullSize),!0),i=er(Zi(e,"left"),!0),r=er(Zi(e,"right")),s=er(Zi(e,"top"),!0),o=er(Zi(e,"bottom")),a=Vd(e,"x"),l=Vd(e,"y");return{fullSize:n,leftAndTop:i.concat(s),rightAndBottom:r.concat(l).concat(o).concat(a),chartArea:Zi(e,"chartArea"),vertical:i.concat(r).concat(l),horizontal:s.concat(o).concat(a)}}function Hd(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function Am(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Pk(t,e,n,i){const{pos:r,box:s}=n,o=t.maxPadding;if(!U(r)){n.size&&(t[r]-=n.size);const h=i[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?s.height:s.width),n.size=h.size/h.count,t[r]+=n.size}s.getPadding&&Am(o,s.getPadding());const a=Math.max(0,e.outerWidth-Hd(o,t,"left","right")),l=Math.max(0,e.outerHeight-Hd(o,t,"top","bottom")),u=a!==t.w,c=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:u,other:c}:{same:c,other:u}}function Tk(t){const e=t.maxPadding;function n(i){const r=Math.max(e[i]-t[i],0);return t[i]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function Ok(t,e){const n=e.maxPadding;function i(r){const s={left:0,top:0,right:0,bottom:0};return r.forEach(o=>{s[o]=Math.max(e[o],n[o])}),s}return i(t?["left","right"]:["top","bottom"])}function ur(t,e,n,i){const r=[];let s,o,a,l,u,c;for(s=0,o=t.length,u=0;s<o;++s){a=t[s],l=a.box,l.update(a.width||e.w,a.height||e.h,Ok(a.horizontal,e));const{same:h,other:d}=Pk(e,n,a,i);u|=h&&r.length,c=c||d,l.fullSize||r.push(a)}return u&&ur(r,e,n,i)||c}function js(t,e,n,i,r){t.top=n,t.left=e,t.right=e+i,t.bottom=n+r,t.width=i,t.height=r}function Wd(t,e,n,i){const r=n.padding;let{x:s,y:o}=e;for(const a of t){const l=a.box,u=i[a.stack]||{count:1,placed:0,weight:1},c=a.stackWeight/u.weight||1;if(a.horizontal){const h=e.w*c,d=u.size||l.height;No(u.start)&&(o=u.start),l.fullSize?js(l,r.left,o,n.outerWidth-r.right-r.left,d):js(l,e.left+u.placed,o,h,d),u.start=o,u.placed+=h,o=l.bottom}else{const h=e.h*c,d=u.size||l.width;No(u.start)&&(s=u.start),l.fullSize?js(l,s,r.top,d,n.outerHeight-r.bottom-r.top):js(l,s,e.top+u.placed,d,h),u.start=s,u.placed+=h,s=l.right}}e.x=s,e.y=o}var Ns={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,i){if(!t)return;const r=ot(t.options.layout.padding),s=Math.max(e-r.width,0),o=Math.max(n-r.height,0),a=Ek(t.boxes),l=a.vertical,u=a.horizontal;V(t.boxes,y=>{typeof y.beforeLayout=="function"&&y.beforeLayout()});const c=l.reduce((y,v)=>v.box.options&&v.box.options.display===!1?y:y+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:s,availableHeight:o,vBoxMaxWidth:s/2/c,hBoxMaxHeight:o/2}),d=Object.assign({},r);Am(d,ot(i));const f=Object.assign({maxPadding:d,w:s,h:o,x:r.left,y:r.top},r),m=Ck(l.concat(u),h);ur(a.fullSize,f,h,m),ur(l,f,h,m),ur(u,f,h,m)&&ur(l,f,h,m),Tk(f),Wd(a.leftAndTop,f,h,m),f.x+=f.w,f.y+=f.h,Wd(a.rightAndBottom,f,h,m),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},V(a.chartArea,y=>{const v=y.box;Object.assign(v,t.chartArea),v.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class Dm{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,i){}removeEventListener(e,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,i,r){return n=Math.max(0,n||e.width),i=i||e.height,{width:n,height:Math.max(0,r?Math.floor(n/r):i)}}isAttached(e){return!0}updateConfig(e){}}class Lk extends Dm{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const so="$chartjs",Mk={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Kd=t=>t===null||t==="";function Rk(t,e){const n=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[so]={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Kd(r)){const s=Md(t,"width");s!==void 0&&(t.width=s)}if(Kd(i))if(t.style.height==="")t.height=t.width/(e||2);else{const s=Md(t,"height");s!==void 0&&(t.height=s)}return t}const jm=B1?{passive:!0}:!1;function Ik(t,e,n){t&&t.addEventListener(e,n,jm)}function Ak(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,jm)}function Dk(t,e){const n=Mk[t.type]||t.type,{x:i,y:r}=On(t,e);return{type:n,chart:e,native:t,x:i!==void 0?i:null,y:r!==void 0?r:null}}function Bo(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function jk(t,e,n){const i=t.canvas,r=new MutationObserver(s=>{let o=!1;for(const a of s)o=o||Bo(a.addedNodes,i),o=o&&!Bo(a.removedNodes,i);o&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function Nk(t,e,n){const i=t.canvas,r=new MutationObserver(s=>{let o=!1;for(const a of s)o=o||Bo(a.removedNodes,i),o=o&&!Bo(a.addedNodes,i);o&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const Jr=new Map;let Yd=0;function Nm(){const t=window.devicePixelRatio;t!==Yd&&(Yd=t,Jr.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function Fk(t,e){Jr.size||window.addEventListener("resize",Nm),Jr.set(t,e)}function zk(t){Jr.delete(t),Jr.size||window.removeEventListener("resize",Nm)}function $k(t,e,n){const i=t.canvas,r=i&&Mc(i);if(!r)return;const s=wm((a,l)=>{const u=r.clientWidth;n(a,l),u<r.clientWidth&&n()},window),o=new ResizeObserver(a=>{const l=a[0],u=l.contentRect.width,c=l.contentRect.height;u===0&&c===0||s(u,c)});return o.observe(r),Fk(t,s),o}function rl(t,e,n){n&&n.disconnect(),e==="resize"&&zk(t)}function Uk(t,e,n){const i=t.canvas,r=wm(s=>{t.ctx!==null&&n(Dk(s,t))},t);return Ik(i,e,r),r}class Bk extends Dm{acquireContext(e,n){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(Rk(e,n),i):null}releaseContext(e){const n=e.canvas;if(!n[so])return!1;const i=n[so].initial;["height","width"].forEach(s=>{const o=i[s];J(o)?n.removeAttribute(s):n.setAttribute(s,o)});const r=i.style||{};return Object.keys(r).forEach(s=>{n.style[s]=r[s]}),n.width=n.width,delete n[so],!0}addEventListener(e,n,i){this.removeEventListener(e,n);const r=e.$proxies||(e.$proxies={}),o={attach:jk,detach:Nk,resize:$k}[n]||Uk;r[n]=o(e,n,i)}removeEventListener(e,n){const i=e.$proxies||(e.$proxies={}),r=i[n];if(!r)return;({attach:rl,detach:rl,resize:rl}[n]||Ak)(e,n,r),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,i,r){return U1(e,n,i,r)}isAttached(e){const n=e&&Mc(e);return!!(n&&n.isConnected)}}function Vk(t){return!Lc()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?Lk:Bk}class Kn{constructor(){I(this,"x");I(this,"y");I(this,"active",!1);I(this,"options");I(this,"$animations")}tooltipPosition(e){const{x:n,y:i}=this.getProps(["x","y"],e);return{x:n,y:i}}hasValue(){return Xr(this.x)&&Xr(this.y)}getProps(e,n){const i=this.$animations;if(!n||!i)return this;const r={};return e.forEach(s=>{r[s]=i[s]&&i[s].active()?i[s]._to:this[s]}),r}}I(Kn,"defaults",{}),I(Kn,"defaultRoutes");function Hk(t,e){const n=t.options.ticks,i=Wk(t),r=Math.min(n.maxTicksLimit||i,i),s=n.major.enabled?Yk(e):[],o=s.length,a=s[0],l=s[o-1],u=[];if(o>r)return Gk(e,u,s,o/r),u;const c=Kk(s,e,r);if(o>0){let h,d;const f=o>1?Math.round((l-a)/(o-1)):null;for(Fs(e,u,c,J(f)?0:a-f,a),h=0,d=o-1;h<d;h++)Fs(e,u,c,s[h],s[h+1]);return Fs(e,u,c,l,J(f)?e.length:l+f),u}return Fs(e,u,c),u}function Wk(t){const e=t.options.offset,n=t._tickSize(),i=t._length/n+(e?0:1),r=t._maxLength/n;return Math.floor(Math.min(i,r))}function Kk(t,e,n){const i=qk(t),r=e.length/n;if(!i)return Math.max(r,1);const s=Fx(i);for(let o=0,a=s.length-1;o<a;o++){const l=s[o];if(l>r)return l}return Math.max(r,1)}function Yk(t){const e=[];let n,i;for(n=0,i=t.length;n<i;n++)t[n].major&&e.push(n);return e}function Gk(t,e,n,i){let r=0,s=n[0],o;for(i=Math.ceil(i),o=0;o<t.length;o++)o===s&&(e.push(t[o]),r++,s=n[r*i])}function Fs(t,e,n,i,r){const s=W(i,0),o=Math.min(W(r,t.length),t.length);let a=0,l,u,c;for(n=Math.ceil(n),r&&(l=r-i,n=l/Math.floor(l/n)),c=s;c<0;)a++,c=Math.round(s+a*n);for(u=Math.max(s,0);u<o;u++)u===c&&(e.push(t[u]),a++,c=Math.round(s+a*n))}function qk(t){const e=t.length;let n,i;if(e<2)return!1;for(i=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==i)return!1;return i}const Qk=t=>t==="left"?"right":t==="right"?"left":t,Gd=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,qd=(t,e)=>Math.min(e||t,t);function Qd(t,e){const n=[],i=t.length/e,r=t.length;let s=0;for(;s<r;s+=i)n.push(t[Math.floor(s)]);return n}function Xk(t,e,n){const i=t.ticks.length,r=Math.min(e,i-1),s=t._startPixel,o=t._endPixel,a=1e-6;let l=t.getPixelForTick(r),u;if(!(n&&(i===1?u=Math.max(l-s,o-l):e===0?u=(t.getPixelForTick(1)-l)/2:u=(l-t.getPixelForTick(r-1))/2,l+=r<e?u:-u,l<s-a||l>o+a)))return l}function Jk(t,e){V(t,n=>{const i=n.gc,r=i.length/2;let s;if(r>e){for(s=0;s<r;++s)delete n.data[i[s]];i.splice(0,r)}})}function tr(t){return t.drawTicks?t.tickLength:0}function Xd(t,e){if(!t.display)return 0;const n=Ke(t.font,e),i=ot(t.padding);return(le(t.text)?t.text.length:1)*n.lineHeight+i.height}function Zk(t,e){return _n(t,{scale:e,type:"scale"})}function eb(t,e,n){return _n(t,{tick:n,index:e,type:"tick"})}function tb(t,e,n){let i=qx(t);return(n&&e!=="right"||!n&&e==="right")&&(i=Qk(i)),i}function nb(t,e,n,i){const{top:r,left:s,bottom:o,right:a,chart:l}=t,{chartArea:u,scales:c}=l;let h=0,d,f,m;const y=o-r,v=a-s;if(t.isHorizontal()){if(f=kd(i,s,a),U(n)){const p=Object.keys(n)[0],g=n[p];m=c[p].getPixelForValue(g)+y-e}else n==="center"?m=(u.bottom+u.top)/2+y-e:m=Gd(t,n,e);d=a-s}else{if(U(n)){const p=Object.keys(n)[0],g=n[p];f=c[p].getPixelForValue(g)-v+e}else n==="center"?f=(u.left+u.right)/2-v+e:f=Gd(t,n,e);m=kd(i,o,r),h=n==="left"?-We:We}return{titleX:f,titleY:m,maxWidth:d,rotation:h}}class Qn extends Kn{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:i,_suggestedMax:r}=this;return e=Be(e,Number.POSITIVE_INFINITY),n=Be(n,Number.NEGATIVE_INFINITY),i=Be(i,Number.POSITIVE_INFINITY),r=Be(r,Number.NEGATIVE_INFINITY),{min:Be(e,i),max:Be(n,r),minDefined:ye(e),maxDefined:ye(n)}}getMinMax(e){let{min:n,max:i,minDefined:r,maxDefined:s}=this.getUserBounds(),o;if(r&&s)return{min:n,max:i};const a=this.getMatchingVisibleMetas();for(let l=0,u=a.length;l<u;++l)o=a[l].controller.getMinMax(this,e),r||(n=Math.min(n,o.min)),s||(i=Math.max(i,o.max));return n=s&&n>i?i:n,i=r&&n>i?n:i,{min:Be(n,Be(i,n)),max:Be(i,Be(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){re(this.options.beforeUpdate,[this])}update(e,n,i){const{beginAtZero:r,grace:s,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=_1(this,s,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a<this.ticks.length;this._convertTicksToLabels(l?Qd(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||o.source==="auto")&&(this.ticks=Hk(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,i;this.isHorizontal()?(n=this.left,i=this.right):(n=this.top,i=this.bottom,e=!e),this._startPixel=n,this._endPixel=i,this._reversePixels=e,this._length=i-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){re(this.options.afterUpdate,[this])}beforeSetDimensions(){re(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){re(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),re(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){re(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let i,r,s;for(i=0,r=e.length;i<r;i++)s=e[i],s.label=re(n.callback,[s.value,i,e],this)}afterTickToLabelConversion(){re(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){re(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,i=qd(this.ticks.length,e.ticks.maxTicksLimit),r=n.minRotation||0,s=n.maxRotation;let o=r,a,l,u;if(!this._isVisible()||!n.display||r>=s||i<=1||!this.isHorizontal()){this.labelRotation=r;return}const c=this._getLabelSizes(),h=c.widest.width,d=c.highest.height,f=nt(this.chart.width-h,0,this.maxWidth);a=e.offset?this.maxWidth/i:f/(i-1),h+6>a&&(a=f/(i-(e.offset?.5:1)),l=this.maxHeight-tr(e.grid)-n.padding-Xd(e.title,this.chart.options.font),u=Math.sqrt(h*h+d*d),o=bc(Math.min(Math.asin(nt((c.highest.height+6)/a,-1,1)),Math.asin(nt(l/u,-1,1))-Math.asin(nt(d/u,-1,1)))),o=Math.max(r,Math.min(s,o))),this.labelRotation=o}afterCalculateLabelRotation(){re(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){re(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:i,title:r,grid:s}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const l=Xd(r,n.options.font);if(a?(e.width=this.maxWidth,e.height=tr(s)+l):(e.height=this.maxHeight,e.width=tr(s)+l),i.display&&this.ticks.length){const{first:u,last:c,widest:h,highest:d}=this._getLabelSizes(),f=i.padding*2,m=nn(this.labelRotation),y=Math.cos(m),v=Math.sin(m);if(a){const p=i.mirror?0:v*h.width+y*d.height;e.height=Math.min(this.maxHeight,e.height+p+f)}else{const p=i.mirror?0:y*h.width+v*d.height;e.width=Math.min(this.maxWidth,e.width+p+f)}this._calculatePadding(u,c,v,y)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,i,r){const{ticks:{align:s,padding:o},position:a}=this.options,l=this.labelRotation!==0,u=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const c=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,f=0;l?u?(d=r*e.width,f=i*n.height):(d=i*e.height,f=r*n.width):s==="start"?f=n.width:s==="end"?d=e.width:s!=="inner"&&(d=e.width/2,f=n.width/2),this.paddingLeft=Math.max((d-c+o)*this.width/(this.width-c),0),this.paddingRight=Math.max((f-h+o)*this.width/(this.width-h),0)}else{let c=n.height/2,h=e.height/2;s==="start"?(c=0,h=e.height):s==="end"&&(c=n.height,h=0),this.paddingTop=c+o,this.paddingBottom=h+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){re(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,i;for(n=0,i=e.length;n<i;n++)J(e[n].label)&&(e.splice(n,1),i--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let i=this.ticks;n<i.length&&(i=Qd(i,n)),this._labelSizes=e=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,i){const{ctx:r,_longestTextCache:s}=this,o=[],a=[],l=Math.floor(n/qd(n,i));let u=0,c=0,h,d,f,m,y,v,p,g,_,w,x;for(h=0;h<n;h+=l){if(m=e[h].label,y=this._resolveTickFontOptions(h),r.font=v=y.string,p=s[v]=s[v]||{data:{},gc:[]},g=y.lineHeight,_=w=0,!J(m)&&!le(m))_=zo(r,p.data,p.gc,_,m),w=g;else if(le(m))for(d=0,f=m.length;d<f;++d)x=m[d],!J(x)&&!le(x)&&(_=zo(r,p.data,p.gc,_,x),w+=g);o.push(_),a.push(w),u=Math.max(_,u),c=Math.max(w,c)}Jk(s,n);const b=o.indexOf(u),k=a.indexOf(c),S=M=>({width:o[M]||0,height:a[M]||0});return{first:S(0),last:S(n-1),widest:S(b),highest:S(k),widths:o,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return Bx(this._alignToPixels?bn(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const i=n[e];return i.$context||(i.$context=eb(this.getContext(),e,i))}return this.$context||(this.$context=Zk(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=nn(this.labelRotation),i=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),s=this._getLabelSizes(),o=e.autoSkipPadding||0,a=s?s.widest.width+o:0,l=s?s.highest.height+o:0;return this.isHorizontal()?l*i>a*r?a/i:l/r:l*r<a*i?l/i:a/r}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,i=this.chart,r=this.options,{grid:s,position:o,border:a}=r,l=s.offset,u=this.isHorizontal(),h=this.ticks.length+(l?1:0),d=tr(s),f=[],m=a.setContext(this.getContext()),y=m.display?m.width:0,v=y/2,p=function(K){return bn(i,K,y)};let g,_,w,x,b,k,S,M,L,D,B,ce;if(o==="top")g=p(this.bottom),k=this.bottom-d,M=g-v,D=p(e.top)+v,ce=e.bottom;else if(o==="bottom")g=p(this.top),D=e.top,ce=p(e.bottom)-v,k=g+v,M=this.top+d;else if(o==="left")g=p(this.right),b=this.right-d,S=g-v,L=p(e.left)+v,B=e.right;else if(o==="right")g=p(this.left),L=e.left,B=p(e.right)-v,b=g+v,S=this.left+d;else if(n==="x"){if(o==="center")g=p((e.top+e.bottom)/2+.5);else if(U(o)){const K=Object.keys(o)[0],ge=o[K];g=p(this.chart.scales[K].getPixelForValue(ge))}D=e.top,ce=e.bottom,k=g+v,M=k+d}else if(n==="y"){if(o==="center")g=p((e.left+e.right)/2);else if(U(o)){const K=Object.keys(o)[0],ge=o[K];g=p(this.chart.scales[K].getPixelForValue(ge))}b=g-v,S=b-d,L=e.left,B=e.right}const oe=W(r.ticks.maxTicksLimit,h),$=Math.max(1,Math.ceil(h/oe));for(_=0;_<h;_+=$){const K=this.getContext(_),ge=s.setContext(K),T=a.setContext(K),R=ge.lineWidth,A=ge.color,Y=T.dash||[],Q=T.dashOffset,vt=ge.tickWidth,Te=ge.tickColor,Et=ge.tickBorderDash||[],Oe=ge.tickBorderDashOffset;w=Xk(this,_,l),w!==void 0&&(x=bn(i,w,R),u?b=S=L=B=x:k=M=D=ce=x,f.push({tx1:b,ty1:k,tx2:S,ty2:M,x1:L,y1:D,x2:B,y2:ce,width:R,color:A,borderDash:Y,borderDashOffset:Q,tickWidth:vt,tickColor:Te,tickBorderDash:Et,tickBorderDashOffset:Oe}))}return this._ticksLength=h,this._borderValue=g,f}_computeLabelItems(e){const n=this.axis,i=this.options,{position:r,ticks:s}=i,o=this.isHorizontal(),a=this.ticks,{align:l,crossAlign:u,padding:c,mirror:h}=s,d=tr(i.grid),f=d+c,m=h?-c:f,y=-nn(this.labelRotation),v=[];let p,g,_,w,x,b,k,S,M,L,D,B,ce="middle";if(r==="top")b=this.bottom-m,k=this._getXAxisLabelAlignment();else if(r==="bottom")b=this.top+m,k=this._getXAxisLabelAlignment();else if(r==="left"){const $=this._getYAxisLabelAlignment(d);k=$.textAlign,x=$.x}else if(r==="right"){const $=this._getYAxisLabelAlignment(d);k=$.textAlign,x=$.x}else if(n==="x"){if(r==="center")b=(e.top+e.bottom)/2+f;else if(U(r)){const $=Object.keys(r)[0],K=r[$];b=this.chart.scales[$].getPixelForValue(K)+f}k=this._getXAxisLabelAlignment()}else if(n==="y"){if(r==="center")x=(e.left+e.right)/2-f;else if(U(r)){const $=Object.keys(r)[0],K=r[$];x=this.chart.scales[$].getPixelForValue(K)}k=this._getYAxisLabelAlignment(d).textAlign}n==="y"&&(l==="start"?ce="top":l==="end"&&(ce="bottom"));const oe=this._getLabelSizes();for(p=0,g=a.length;p<g;++p){_=a[p],w=_.label;const $=s.setContext(this.getContext(p));S=this.getPixelForTick(p)+s.labelOffset,M=this._resolveTickFontOptions(p),L=M.lineHeight,D=le(w)?w.length:1;const K=D/2,ge=$.color,T=$.textStrokeColor,R=$.textStrokeWidth;let A=k;o?(x=S,k==="inner"&&(p===g-1?A=this.options.reverse?"left":"right":p===0?A=this.options.reverse?"right":"left":A="center"),r==="top"?u==="near"||y!==0?B=-D*L+L/2:u==="center"?B=-oe.highest.height/2-K*L+L:B=-oe.highest.height+L/2:u==="near"||y!==0?B=L/2:u==="center"?B=oe.highest.height/2-K*L:B=oe.highest.height-D*L,h&&(B*=-1),y!==0&&!$.showLabelBackdrop&&(x+=L/2*Math.sin(y))):(b=S,B=(1-D)*L/2);let Y;if($.showLabelBackdrop){const Q=ot($.backdropPadding),vt=oe.heights[p],Te=oe.widths[p];let Et=B-Q.top,Oe=0-Q.left;switch(ce){case"middle":Et-=vt/2;break;case"bottom":Et-=vt;break}switch(k){case"center":Oe-=Te/2;break;case"right":Oe-=Te;break;case"inner":p===g-1?Oe-=Te:p>0&&(Oe-=Te/2);break}Y={left:Oe,top:Et,width:Te+Q.width,height:vt+Q.height,color:$.backdropColor}}v.push({label:w,font:M,textOffset:B,options:{rotation:y,color:ge,strokeColor:T,strokeWidth:R,textAlign:A,textBaseline:ce,translation:[x,b],backdrop:Y}})}return v}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-nn(this.labelRotation))return e==="top"?"left":"right";let r="center";return n.align==="start"?r="left":n.align==="end"?r="right":n.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:i,mirror:r,padding:s}}=this.options,o=this._getLabelSizes(),a=e+s,l=o.widest.width;let u,c;return n==="left"?r?(c=this.right+s,i==="near"?u="left":i==="center"?(u="center",c+=l/2):(u="right",c+=l)):(c=this.right-a,i==="near"?u="right":i==="center"?(u="center",c-=l/2):(u="left",c=this.left)):n==="right"?r?(c=this.left+s,i==="near"?u="right":i==="center"?(u="center",c-=l/2):(u="left",c-=l)):(c=this.left+a,i==="near"?u="left":i==="center"?(u="center",c+=l/2):(u="right",c=this.right)):u="right",{textAlign:u,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:i,top:r,width:s,height:o}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(i,r,s,o),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const r=this.ticks.findIndex(s=>s.value===e);return r>=0?n.setContext(this.getContext(r)).lineWidth:0}drawGrid(e){const n=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let s,o;const a=(l,u,c)=>{!c.width||!c.color||(i.save(),i.lineWidth=c.width,i.strokeStyle=c.color,i.setLineDash(c.borderDash||[]),i.lineDashOffset=c.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(u.x,u.y),i.stroke(),i.restore())};if(n.display)for(s=0,o=r.length;s<o;++s){const l=r[s];n.drawOnChartArea&&a({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),n.drawTicks&&a({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:i,grid:r}}=this,s=i.setContext(this.getContext()),o=i.display?s.width:0;if(!o)return;const a=r.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let u,c,h,d;this.isHorizontal()?(u=bn(e,this.left,o)-o/2,c=bn(e,this.right,a)+a/2,h=d=l):(h=bn(e,this.top,o)-o/2,d=bn(e,this.bottom,a)+a/2,u=c=l),n.save(),n.lineWidth=s.width,n.strokeStyle=s.color,n.beginPath(),n.moveTo(u,h),n.lineTo(c,d),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const i=this.ctx,r=this._computeLabelArea();r&&km(i,r);const s=this.getLabelItems(e);for(const o of s){const a=o.options,l=o.font,u=o.label,c=o.textOffset;$o(i,u,0,c,l,a)}r&&bm(i)}drawTitle(){const{ctx:e,options:{position:n,title:i,reverse:r}}=this;if(!i.display)return;const s=Ke(i.font),o=ot(i.padding),a=i.align;let l=s.lineHeight/2;n==="bottom"||n==="center"||U(n)?(l+=o.bottom,le(i.text)&&(l+=s.lineHeight*(i.text.length-1))):l+=o.top;const{titleX:u,titleY:c,maxWidth:h,rotation:d}=nb(this,l,n,a);$o(e,i.text,0,0,s,{color:i.color,maxWidth:h,rotation:d,textAlign:tb(a,n,r),textBaseline:"middle",translation:[u,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,i=W(e.grid&&e.grid.z,-1),r=W(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Qn.prototype.draw?[{z:n,draw:s=>{this.draw(s)}}]:[{z:i,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:n,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let s,o;for(s=0,o=n.length;s<o;++s){const a=n[s];a[i]===this.id&&(!e||a.type===e)&&r.push(a)}return r}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return Ke(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class zs{constructor(e,n,i){this.type=e,this.scope=n,this.override=i,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let i;sb(n)&&(i=this.register(n));const r=this.items,s=e.id,o=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+e);return s in r||(r[s]=e,ib(e,o,i),this.override&&ue.override(e.id,e.overrides)),o}get(e){return this.items[e]}unregister(e){const n=this.items,i=e.id,r=this.scope;i in n&&delete n[i],r&&i in ue[r]&&(delete ue[r][i],this.override&&delete Wn[i])}}function ib(t,e,n){const i=Qr(Object.create(null),[n?ue.get(n):{},ue.get(e),t.defaults]);ue.set(e,i),t.defaultRoutes&&rb(e,t.defaultRoutes),t.descriptors&&ue.describe(e,t.descriptors)}function rb(t,e){Object.keys(e).forEach(n=>{const i=n.split("."),r=i.pop(),s=[t].concat(i).join("."),o=e[n].split("."),a=o.pop(),l=o.join(".");ue.route(s,r,l,a)})}function sb(t){return"id"in t&&"defaults"in t}class ob{constructor(){this.controllers=new zs(Tr,"datasets",!0),this.elements=new zs(Kn,"elements"),this.plugins=new zs(Object,"plugins"),this.scales=new zs(Qn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,i){[...n].forEach(r=>{const s=i||this._getRegistryForType(r);i||s.isForType(r)||s===this.plugins&&r.id?this._exec(e,s,r):V(r,o=>{const a=i||this._getRegistryForType(o);this._exec(e,a,o)})})}_exec(e,n,i){const r=kc(e);re(i["before"+r],[],i),n[e](i),re(i["after"+r],[],i)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const i=this._typedRegistries[n];if(i.isForType(e))return i}return this.plugins}_get(e,n,i){const r=n.get(e);if(r===void 0)throw new Error('"'+e+'" is not a registered '+i+".");return r}}var kt=new ob;class ab{constructor(){this._init=[]}notify(e,n,i,r){n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const s=r?this._descriptors(e).filter(r):this._descriptors(e),o=this._notify(s,e,n,i);return n==="afterDestroy"&&(this._notify(s,e,"stop"),this._notify(this._init,e,"uninstall")),o}_notify(e,n,i,r){r=r||{};for(const s of e){const o=s.plugin,a=o[i],l=[n,r,s.options];if(re(a,l,o)===!1&&r.cancelable)return!1}return!0}invalidate(){J(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const i=e&&e.config,r=W(i.options&&i.options.plugins,{}),s=lb(i);return r===!1&&!n?[]:cb(e,s,r,n)}_notifyStateChanges(e){const n=this._oldCache||[],i=this._cache,r=(s,o)=>s.filter(a=>!o.some(l=>a.plugin.id===l.plugin.id));this._notify(r(n,i),e,"stop"),this._notify(r(i,n),e,"start")}}function lb(t){const e={},n=[],i=Object.keys(kt.plugins.items);for(let s=0;s<i.length;s++)n.push(kt.getPlugin(i[s]));const r=t.plugins||[];for(let s=0;s<r.length;s++){const o=r[s];n.indexOf(o)===-1&&(n.push(o),e[o.id]=!0)}return{plugins:n,localIds:e}}function ub(t,e){return!e&&t===!1?null:t===!0?{}:t}function cb(t,{plugins:e,localIds:n},i,r){const s=[],o=t.getContext();for(const a of e){const l=a.id,u=ub(i[l],r);u!==null&&s.push({plugin:a,options:hb(t.config,{plugin:a,local:n[l]},u,o)})}return s}function hb(t,{plugin:e,local:n},i,r){const s=t.pluginScopeKeys(e),o=t.getOptionScopes(i,s);return n&&e.defaults&&o.push(e.defaults),t.createResolver(o,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function hu(t,e){const n=ue.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function db(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function fb(t,e){return t===e?"_index_":"_value_"}function Jd(t){if(t==="x"||t==="y"||t==="r")return t}function pb(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function du(t,...e){if(Jd(t))return t;for(const n of e){const i=n.axis||pb(n.position)||t.length>1&&Jd(t[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Zd(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function gb(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(i=>i.xAxisID===t||i.yAxisID===t);if(n.length)return Zd(t,"x",n[0])||Zd(t,"y",n[0])}return{}}function mb(t,e){const n=Wn[t.type]||{scales:{}},i=e.scales||{},r=hu(t.type,e),s=Object.create(null);return Object.keys(i).forEach(o=>{const a=i[o];if(!U(a))return console.error(`Invalid scale configuration for scale: ${o}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const l=du(o,a,gb(o,t),ue.scales[a.type]),u=fb(l,r),c=n.scales||{};s[o]=br(Object.create(null),[{axis:l},a,c[l],c[u]])}),t.data.datasets.forEach(o=>{const a=o.type||t.type,l=o.indexAxis||hu(a,e),c=(Wn[a]||{}).scales||{};Object.keys(c).forEach(h=>{const d=db(h,l),f=o[d+"AxisID"]||d;s[f]=s[f]||Object.create(null),br(s[f],[{axis:d},i[f],c[h]])})}),Object.keys(s).forEach(o=>{const a=s[o];br(a,[ue.scales[a.type],ue.scale])}),s}function Fm(t){const e=t.options||(t.options={});e.plugins=W(e.plugins,{}),e.scales=mb(t,e)}function zm(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function yb(t){return t=t||{},t.data=zm(t.data),Fm(t),t}const ef=new Map,$m=new Set;function $s(t,e){let n=ef.get(t);return n||(n=e(),ef.set(t,n),$m.add(n)),n}const nr=(t,e,n)=>{const i=jo(e,n);i!==void 0&&t.add(i)};class vb{constructor(e){this._config=yb(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=zm(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Fm(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return $s(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return $s(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return $s(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,i=this.type;return $s(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const i=this._scopeCache;let r=i.get(e);return(!r||n)&&(r=new Map,i.set(e,r)),r}getOptionScopes(e,n,i){const{options:r,type:s}=this,o=this._cachedScopes(e,i),a=o.get(n);if(a)return a;const l=new Set;n.forEach(c=>{e&&(l.add(e),c.forEach(h=>nr(l,e,h))),c.forEach(h=>nr(l,r,h)),c.forEach(h=>nr(l,Wn[s]||{},h)),c.forEach(h=>nr(l,ue,h)),c.forEach(h=>nr(l,lu,h))});const u=Array.from(l);return u.length===0&&u.push(Object.create(null)),$m.has(n)&&o.set(n,u),u}chartOptionScopes(){const{options:e,type:n}=this;return[e,Wn[n]||{},ue.datasets[n]||{},{type:n},ue,lu]}resolveNamedOptions(e,n,i,r=[""]){const s={$shared:!0},{resolver:o,subPrefixes:a}=tf(this._resolverCache,e,r);let l=o;if(wb(o,n)){s.$shared=!1,i=gn(i)?i():i;const u=this.createResolver(e,i,a);l=Ai(o,i,u)}for(const u of n)s[u]=l[u];return s}createResolver(e,n,i=[""],r){const{resolver:s}=tf(this._resolverCache,e,i);return U(n)?Ai(s,n,void 0,r):s}}function tf(t,e,n){let i=t.get(e);i||(i=new Map,t.set(e,i));const r=n.join();let s=i.get(r);return s||(s={resolver:Pc(e,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(r,s)),s}const _b=t=>U(t)&&Object.getOwnPropertyNames(t).some(e=>gn(t[e]));function wb(t,e){const{isScriptable:n,isIndexable:i}=Cm(t);for(const r of e){const s=n(r),o=i(r),a=(o||s)&&t[r];if(s&&(gn(a)||_b(a))||o&&le(a))return!0}return!1}var xb="4.4.3";const kb=["top","bottom","left","right","chartArea"];function nf(t,e){return t==="top"||t==="bottom"||kb.indexOf(t)===-1&&e==="x"}function rf(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function sf(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),re(n&&n.onComplete,[t],e)}function bb(t){const e=t.chart,n=e.options.animation;re(n&&n.onProgress,[t],e)}function Um(t){return Lc()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const oo={},of=t=>{const e=Um(t);return Object.values(oo).filter(n=>n.canvas===e).pop()};function Sb(t,e,n){const i=Object.keys(t);for(const r of i){const s=+r;if(s>=e){const o=t[r];delete t[r],(n>0||s>e)&&(t[s+n]=o)}}}function Cb(t,e,n,i){return!n||t.type==="mouseout"?null:i?e:t}function Us(t,e,n){return t.options.clip?t[n]:e[n]}function Eb(t,e){const{xScale:n,yScale:i}=t;return n&&i?{left:Us(n,e,"left"),right:Us(n,e,"right"),top:Us(i,e,"top"),bottom:Us(i,e,"bottom")}:e}var Vt;let ga=(Vt=class{static register(...e){kt.add(...e),af()}static unregister(...e){kt.remove(...e),af()}constructor(e,n){const i=this.config=new vb(n),r=Um(e),s=of(r);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||Vk(r)),this.platform.updateConfig(i);const a=this.platform.acquireContext(r,o.aspectRatio),l=a&&a.canvas,u=l&&l.height,c=l&&l.width;if(this.id=Ox(),this.ctx=a,this.canvas=l,this.width=c,this.height=u,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new ab,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Gx(h=>this.update(h),o.resizeDelay||0),this._dataChanges=[],oo[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Tt.listen(this,"complete",sf),Tt.listen(this,"progress",bb),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:i,height:r,_aspectRatio:s}=this;return J(e)?n&&s?s:r?i/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return kt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Ld(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Pd(this.canvas,this.ctx),this}stop(){return Tt.stop(this),this}resize(e,n){Tt.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const i=this.options,r=this.canvas,s=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(r,e,n,s),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Ld(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),re(i.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};V(n,(i,r)=>{i.id=r})}buildOrUpdateScales(){const e=this.options,n=e.scales,i=this.scales,r=Object.keys(i).reduce((o,a)=>(o[a]=!1,o),{});let s=[];n&&(s=s.concat(Object.keys(n).map(o=>{const a=n[o],l=du(o,a),u=l==="r",c=l==="x";return{options:a,dposition:u?"chartArea":c?"bottom":"left",dtype:u?"radialLinear":c?"category":"linear"}}))),V(s,o=>{const a=o.options,l=a.id,u=du(l,a),c=W(a.type,o.dtype);(a.position===void 0||nf(a.position,u)!==nf(o.dposition))&&(a.position=o.dposition),r[l]=!0;let h=null;if(l in i&&i[l].type===c)h=i[l];else{const d=kt.getScale(c);h=new d({id:l,type:c,ctx:this.ctx,chart:this}),i[h.id]=h}h.init(a,e)}),V(r,(o,a)=>{o||delete i[a]}),V(i,o=>{Ns.configure(this,o,o.options),Ns.addBox(this,o)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,i=e.length;if(e.sort((r,s)=>r.index-s.index),i>n){for(let r=n;r<i;++r)this._destroyDatasetMeta(r);e.splice(n,i-n)}this._sortedMetasets=e.slice(0).sort(rf("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((i,r)=>{n.filter(s=>s===i._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=n.length;i<r;i++){const s=n[i];let o=this.getDatasetMeta(i);const a=s.type||this.config.type;if(o.type&&o.type!==a&&(this._destroyDatasetMeta(i),o=this.getDatasetMeta(i)),o.type=a,o.indexAxis=s.indexAxis||hu(a,this.options),o.order=s.order||0,o.index=i,o.label=""+s.label,o.visible=this.isDatasetVisible(i),o.controller)o.controller.updateIndex(i),o.controller.linkScales();else{const l=kt.getController(a),{datasetElementType:u,dataElementType:c}=ue.datasets[a];Object.assign(l,{dataElementType:kt.getElement(c),datasetElementType:u&&kt.getElement(u)}),o.controller=new l(this,i),e.push(o.controller)}}return this._updateMetasets(),e}_resetElements(){V(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let u=0,c=this.data.datasets.length;u<c;u++){const{controller:h}=this.getDatasetMeta(u),d=!r&&s.indexOf(h)===-1;h.buildOrUpdateElements(d),o=Math.max(+h.getMaxOverflow(),o)}o=this._minPadding=i.layout.autoPadding?o:0,this._updateLayout(o),r||V(s,u=>{u.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(rf("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){V(this.scales,e=>{Ns.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(e.events);(!yd(n,i)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:s}of n){const o=i==="_removeElements"?-s:s;Sb(e,r,o)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=s=>new Set(e.filter(o=>o[0]===s).map((o,a)=>a+","+o.splice(1).join(","))),r=i(0);for(let s=1;s<n;s++)if(!yd(r,i(s)))return;return Array.from(r).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Ns.update(this,this.width,this.height,e);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],V(this.boxes,r=>{i&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,s)=>{r._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n<i;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,i=this.data.datasets.length;n<i;++n)this._updateDataset(n,gn(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const i=this.getDatasetMeta(e),r={meta:i,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(i.controller._update(n),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Tt.has(this)?this.attached&&!Tt.running(this)&&Tt.start(this):(this.draw(),sf({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:i,height:r}=this._resizeBeforeDraw;this._resize(i,r),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,i=[];let r,s;for(r=0,s=n.length;r<s;++r){const o=n[r];(!e||o.visible)&&i.push(o)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,i=e._clip,r=!i.disabled,s=Eb(e,this.chartArea),o={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(r&&km(n,{left:i.left===!1?0:s.left-i.left,right:i.right===!1?this.width:s.right+i.right,top:i.top===!1?0:s.top-i.top,bottom:i.bottom===!1?this.height:s.bottom+i.bottom}),e.controller.draw(),r&&bm(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return Dt(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,i,r){const s=kk.modes[n];return typeof s=="function"?s(this,e,i,r):[]}getDatasetMeta(e){const n=this.data.datasets[e],i=this._metasets;let r=i.filter(s=>s&&s._dataset===n).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},i.push(r)),r}getContext(){return this.$context||(this.$context=_n(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const i=this.getDatasetMeta(e);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(e,n){const i=this.getDatasetMeta(e);i.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,i){const r=i?"show":"hide",s=this.getDatasetMeta(e),o=s.controller._resolveAnimations(void 0,r);No(n)?(s.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),o.update(s,{visible:i}),this.update(a=>a.datasetIndex===e?r:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Tt.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Pd(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete oo[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,i=(s,o)=>{n.addEventListener(this,s,o),e[s]=o},r=(s,o,a)=>{s.offsetX=o,s.offsetY=a,this._eventHandler(s)};V(this.options.events,s=>i(s,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,i=(l,u)=>{n.addEventListener(this,l,u),e[l]=u},r=(l,u)=>{e[l]&&(n.removeEventListener(this,l,u),delete e[l])},s=(l,u)=>{this.canvas&&this.resize(l,u)};let o;const a=()=>{r("attach",a),this.attached=!0,this.resize(),i("resize",s),i("detach",o)};o=()=>{this.attached=!1,r("resize",s),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():o()}unbindEvents(){V(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},V(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,i){const r=i?"set":"remove";let s,o,a,l;for(n==="dataset"&&(s=this.getDatasetMeta(e[0].datasetIndex),s.controller["_"+r+"DatasetHoverStyle"]()),a=0,l=e.length;a<l;++a){o=e[a];const u=o&&this.getDatasetMeta(o.datasetIndex).controller;u&&u[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],i=e.map(({datasetIndex:s,index:o})=>{const a=this.getDatasetMeta(s);if(!a)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:a.data[o],index:o}});!Ao(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(e,n,i){return this._plugins.notify(this,e,n,i)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,i){const r=this.options.hover,s=(l,u)=>l.filter(c=>!u.some(h=>c.datasetIndex===h.datasetIndex&&c.index===h.index)),o=s(n,e),a=i?e:s(e,n);o.length&&this.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(e,n){const i={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},r=o=>(o.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",i,r)===!1)return;const s=this._handleEvent(e,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(s||i.changed)&&this.render(),this}_handleEvent(e,n,i){const{_active:r=[],options:s}=this,o=n,a=this._getActiveElements(e,r,i,o),l=Dx(e),u=Cb(e,this._lastEvent,i,l);i&&(this._lastEvent=null,re(s.onHover,[e,a,this],this),l&&re(s.onClick,[e,a,this],this));const c=!Ao(a,r);return(c||n)&&(this._active=a,this._updateHoverStyles(a,r,n)),this._lastEvent=u,c}_getActiveElements(e,n,i,r){if(e.type==="mouseout")return[];if(!i)return n;const s=this.options.hover;return this.getElementsAtEventForMode(e,s.mode,s,r)}},I(Vt,"defaults",ue),I(Vt,"instances",oo),I(Vt,"overrides",Wn),I(Vt,"registry",kt),I(Vt,"version",xb),I(Vt,"getChart",of),Vt);function af(){return V(ga.instances,t=>t._plugins.invalidate())}function Bm(t,e,n=e){t.lineCap=W(n.borderCapStyle,e.borderCapStyle),t.setLineDash(W(n.borderDash,e.borderDash)),t.lineDashOffset=W(n.borderDashOffset,e.borderDashOffset),t.lineJoin=W(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=W(n.borderWidth,e.borderWidth),t.strokeStyle=W(n.borderColor,e.borderColor)}function Pb(t,e,n){t.lineTo(n.x,n.y)}function Tb(t){return t.stepped?u1:t.tension||t.cubicInterpolationMode==="monotone"?c1:Pb}function Vm(t,e,n={}){const i=t.length,{start:r=0,end:s=i-1}=n,{start:o,end:a}=e,l=Math.max(r,o),u=Math.min(s,a),c=r<o&&s<o||r>a&&s>a;return{count:i,start:l,loop:e.loop,ilen:u<l&&!c?i+u-l:u-l}}function Ob(t,e,n,i){const{points:r,options:s}=e,{count:o,start:a,loop:l,ilen:u}=Vm(r,n,i),c=Tb(s);let{move:h=!0,reverse:d}=i||{},f,m,y;for(f=0;f<=u;++f)m=r[(a+(d?u-f:f))%o],!m.skip&&(h?(t.moveTo(m.x,m.y),h=!1):c(t,y,m,d,s.stepped),y=m);return l&&(m=r[(a+(d?u:0))%o],c(t,y,m,d,s.stepped)),!!l}function Lb(t,e,n,i){const r=e.points,{count:s,start:o,ilen:a}=Vm(r,n,i),{move:l=!0,reverse:u}=i||{};let c=0,h=0,d,f,m,y,v,p;const g=w=>(o+(u?a-w:w))%s,_=()=>{y!==v&&(t.lineTo(c,v),t.lineTo(c,y),t.lineTo(c,p))};for(l&&(f=r[g(0)],t.moveTo(f.x,f.y)),d=0;d<=a;++d){if(f=r[g(d)],f.skip)continue;const w=f.x,x=f.y,b=w|0;b===m?(x<y?y=x:x>v&&(v=x),c=(h*c+w)/++h):(_(),t.lineTo(w,x),m=b,h=0,y=v=x),p=x}_()}function fu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?Lb:Ob}function Mb(t){return t.stepped?V1:t.tension||t.cubicInterpolationMode==="monotone"?H1:Ln}function Rb(t,e,n,i){let r=e._path;r||(r=e._path=new Path2D,e.path(r,n,i)&&r.closePath()),Bm(t,e.options),t.stroke(r)}function Ib(t,e,n,i){const{segments:r,options:s}=e,o=fu(e);for(const a of r)Bm(t,s,a.style),t.beginPath(),o(t,e,a,{start:n,end:n+i-1})&&t.closePath(),t.stroke()}const Ab=typeof Path2D=="function";function Db(t,e,n,i){Ab&&!e.options.segment?Rb(t,e,n,i):Ib(t,e,n,i)}class cr extends Kn{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const r=i.spanGaps?this._loop:this._fullLoop;D1(this._points,i,e,r,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=ek(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,i=e.length;return i&&n[e[i-1].end]}interpolate(e,n){const i=this.options,r=e[n],s=this.points,o=X1(this,{property:n,start:r,end:r});if(!o.length)return;const a=[],l=Mb(i);let u,c;for(u=0,c=o.length;u<c;++u){const{start:h,end:d}=o[u],f=s[h],m=s[d];if(f===m){a.push(f);continue}const y=Math.abs((r-f[n])/(m[n]-f[n])),v=l(f,m,y,i.stepped);v[n]=e[n],a.push(v)}return a.length===1?a[0]:a}pathSegment(e,n,i){return fu(this)(e,this,n,i)}path(e,n,i){const r=this.segments,s=fu(this);let o=this._loop;n=n||0,i=i||this.points.length-n;for(const a of r)o&=s(e,this,a,{start:n,end:n+i-1});return!!o}draw(e,n,i,r){const s=this.options||{};(this.points||[]).length&&s.borderWidth&&(e.save(),Db(e,this,i,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}I(cr,"id","line"),I(cr,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),I(cr,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),I(cr,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function lf(t,e,n,i){const r=t.options,{[n]:s}=t.getProps([n],i);return Math.abs(e-s)<r.radius+r.hitRadius}class ao extends Kn{constructor(n){super();I(this,"parsed");I(this,"skip");I(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,i,r){const s=this.options,{x:o,y:a}=this.getProps(["x","y"],r);return Math.pow(n-o,2)+Math.pow(i-a,2)<Math.pow(s.hitRadius+s.radius,2)}inXRange(n,i){return lf(this,n,"x",i)}inYRange(n,i){return lf(this,n,"y",i)}getCenterPoint(n){const{x:i,y:r}=this.getProps(["x","y"],n);return{x:i,y:r}}size(n){n=n||this.options||{};let i=n.radius||0;i=Math.max(i,i&&n.hoverRadius||0);const r=i&&n.borderWidth||0;return(i+r)*2}draw(n,i){const r=this.options;this.skip||r.radius<.1||!Dt(this,i,this.size(r)/2)||(n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.fillStyle=r.backgroundColor,uu(n,r,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}I(ao,"id","point"),I(ao,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),I(ao,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});const hr={average(t){if(!t.length)return!1;let e,n,i=new Set,r=0,s=0;for(e=0,n=t.length;e<n;++e){const a=t[e].element;if(a&&a.hasValue()){const l=a.tooltipPosition();i.add(l.x),r+=l.y,++s}}return{x:[...i].reduce((a,l)=>a+l)/i.size,y:r/s}},nearest(t,e){if(!t.length)return!1;let n=e.x,i=e.y,r=Number.POSITIVE_INFINITY,s,o,a;for(s=0,o=t.length;s<o;++s){const l=t[s].element;if(l&&l.hasValue()){const u=l.getCenterPoint(),c=au(e,u);c<r&&(r=c,a=l)}}if(a){const l=a.tooltipPosition();n=l.x,i=l.y}return{x:n,y:i}}};function wt(t,e){return e&&(le(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Ot(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(` -`)>-1?t.split(` -`):t}function jb(t,e){const{element:n,datasetIndex:i,index:r}=e,s=t.getDatasetMeta(i).controller,{label:o,value:a}=s.getLabelAndValue(r);return{chart:t,label:o,parsed:s.getParsed(r),raw:t.data.datasets[i].data[r],formattedValue:a,dataset:s.getDataset(),dataIndex:r,datasetIndex:i,element:n}}function uf(t,e){const n=t.chart.ctx,{body:i,footer:r,title:s}=t,{boxWidth:o,boxHeight:a}=e,l=Ke(e.bodyFont),u=Ke(e.titleFont),c=Ke(e.footerFont),h=s.length,d=r.length,f=i.length,m=ot(e.padding);let y=m.height,v=0,p=i.reduce((w,x)=>w+x.before.length+x.lines.length+x.after.length,0);if(p+=t.beforeBody.length+t.afterBody.length,h&&(y+=h*u.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),p){const w=e.displayColors?Math.max(a,l.lineHeight):l.lineHeight;y+=f*w+(p-f)*l.lineHeight+(p-1)*e.bodySpacing}d&&(y+=e.footerMarginTop+d*c.lineHeight+(d-1)*e.footerSpacing);let g=0;const _=function(w){v=Math.max(v,n.measureText(w).width+g)};return n.save(),n.font=u.string,V(t.title,_),n.font=l.string,V(t.beforeBody.concat(t.afterBody),_),g=e.displayColors?o+2+e.boxPadding:0,V(i,w=>{V(w.before,_),V(w.lines,_),V(w.after,_)}),g=0,n.font=c.string,V(t.footer,_),n.restore(),v+=m.width,{width:v,height:y}}function Nb(t,e){const{y:n,height:i}=e;return n<i/2?"top":n>t.height-i/2?"bottom":"center"}function Fb(t,e,n,i){const{x:r,width:s}=i,o=n.caretSize+n.caretPadding;if(t==="left"&&r+s+o>e.width||t==="right"&&r-s-o<0)return!0}function zb(t,e,n,i){const{x:r,width:s}=n,{width:o,chartArea:{left:a,right:l}}=t;let u="center";return i==="center"?u=r<=(a+l)/2?"left":"right":r<=s/2?u="left":r>=o-s/2&&(u="right"),Fb(u,t,e,n)&&(u="center"),u}function cf(t,e,n){const i=n.yAlign||e.yAlign||Nb(t,n);return{xAlign:n.xAlign||e.xAlign||zb(t,e,n,i),yAlign:i}}function $b(t,e){let{x:n,width:i}=t;return e==="right"?n-=i:e==="center"&&(n-=i/2),n}function Ub(t,e,n){let{y:i,height:r}=t;return e==="top"?i+=n:e==="bottom"?i-=r+n:i-=r/2,i}function hf(t,e,n,i){const{caretSize:r,caretPadding:s,cornerRadius:o}=t,{xAlign:a,yAlign:l}=n,u=r+s,{topLeft:c,topRight:h,bottomLeft:d,bottomRight:f}=Pr(o);let m=$b(e,a);const y=Ub(e,l,u);return l==="center"?a==="left"?m+=u:a==="right"&&(m-=u):a==="left"?m-=Math.max(c,d)+r:a==="right"&&(m+=Math.max(h,f)+r),{x:nt(m,0,i.width-e.width),y:nt(y,0,i.height-e.height)}}function Bs(t,e,n){const i=ot(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-i.right:t.x+i.left}function df(t){return wt([],Ot(t))}function Bb(t,e,n){return _n(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function ff(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Hm={beforeTitle:Pt,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex<i)return n[e.dataIndex]}return""},afterTitle:Pt,beforeBody:Pt,beforeLabel:Pt,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return J(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:Pt,afterBody:Pt,beforeFooter:Pt,footer:Pt,afterFooter:Pt};function Ae(t,e,n,i){const r=t[e].call(n,i);return typeof r>"u"?Hm[e].call(n,i):r}class pu extends Kn{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,i=this.options.setContext(this.getContext()),r=i.enabled&&n.options.animation&&i.animations,s=new Mm(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=Bb(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:i}=n,r=Ae(i,"beforeTitle",this,e),s=Ae(i,"title",this,e),o=Ae(i,"afterTitle",this,e);let a=[];return a=wt(a,Ot(r)),a=wt(a,Ot(s)),a=wt(a,Ot(o)),a}getBeforeBody(e,n){return df(Ae(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:i}=n,r=[];return V(e,s=>{const o={before:[],lines:[],after:[]},a=ff(i,s);wt(o.before,Ot(Ae(a,"beforeLabel",this,s))),wt(o.lines,Ae(a,"label",this,s)),wt(o.after,Ot(Ae(a,"afterLabel",this,s))),r.push(o)}),r}getAfterBody(e,n){return df(Ae(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:i}=n,r=Ae(i,"beforeFooter",this,e),s=Ae(i,"footer",this,e),o=Ae(i,"afterFooter",this,e);let a=[];return a=wt(a,Ot(r)),a=wt(a,Ot(s)),a=wt(a,Ot(o)),a}_createItems(e){const n=this._active,i=this.chart.data,r=[],s=[],o=[];let a=[],l,u;for(l=0,u=n.length;l<u;++l)a.push(jb(this.chart,n[l]));return e.filter&&(a=a.filter((c,h,d)=>e.filter(c,h,d,i))),e.itemSort&&(a=a.sort((c,h)=>e.itemSort(c,h,i))),V(a,c=>{const h=ff(e.callbacks,c);r.push(Ae(h,"labelColor",this,c)),s.push(Ae(h,"labelPointStyle",this,c)),o.push(Ae(h,"labelTextColor",this,c))}),this.labelColors=r,this.labelPointStyles=s,this.labelTextColors=o,this.dataPoints=a,a}update(e,n){const i=this.options.setContext(this.getContext()),r=this._active;let s,o=[];if(!r.length)this.opacity!==0&&(s={opacity:0});else{const a=hr[i.position].call(this,r,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const l=this._size=uf(this,i),u=Object.assign({},a,l),c=cf(this.chart,i,u),h=hf(i,u,c,this.chart);this.xAlign=c.xAlign,this.yAlign=c.yAlign,s={opacity:1,x:h.x,y:h.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=o,this.$context=void 0,s&&this._resolveAnimations().update(this,s),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,i,r){const s=this.getCaretPosition(e,i,r);n.lineTo(s.x1,s.y1),n.lineTo(s.x2,s.y2),n.lineTo(s.x3,s.y3)}getCaretPosition(e,n,i){const{xAlign:r,yAlign:s}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:l,topRight:u,bottomLeft:c,bottomRight:h}=Pr(a),{x:d,y:f}=e,{width:m,height:y}=n;let v,p,g,_,w,x;return s==="center"?(w=f+y/2,r==="left"?(v=d,p=v-o,_=w+o,x=w-o):(v=d+m,p=v+o,_=w-o,x=w+o),g=v):(r==="left"?p=d+Math.max(l,c)+o:r==="right"?p=d+m-Math.max(u,h)-o:p=this.caretX,s==="top"?(_=f,w=_-o,v=p-o,g=p+o):(_=f+y,w=_+o,v=p+o,g=p-o),x=_),{x1:v,x2:p,x3:g,y1:_,y2:w,y3:x}}drawTitle(e,n,i){const r=this.title,s=r.length;let o,a,l;if(s){const u=Za(i.rtl,this.x,this.width);for(e.x=Bs(this,i.titleAlign,i),n.textAlign=u.textAlign(i.titleAlign),n.textBaseline="middle",o=Ke(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=o.string,l=0;l<s;++l)n.fillText(r[l],u.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+a,l+1===s&&(e.y+=i.titleMarginBottom-a)}}_drawColorBox(e,n,i,r,s){const o=this.labelColors[i],a=this.labelPointStyles[i],{boxHeight:l,boxWidth:u}=s,c=Ke(s.bodyFont),h=Bs(this,"left",s),d=r.x(h),f=l<c.lineHeight?(c.lineHeight-l)/2:0,m=n.y+f;if(s.usePointStyle){const y={radius:Math.min(u,l)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},v=r.leftForLtr(d,u)+u/2,p=m+l/2;e.strokeStyle=s.multiKeyBackground,e.fillStyle=s.multiKeyBackground,uu(e,y,v,p),e.strokeStyle=o.borderColor,e.fillStyle=o.backgroundColor,uu(e,y,v,p)}else{e.lineWidth=U(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,e.strokeStyle=o.borderColor,e.setLineDash(o.borderDash||[]),e.lineDashOffset=o.borderDashOffset||0;const y=r.leftForLtr(d,u),v=r.leftForLtr(r.xPlus(d,1),u-2),p=Pr(o.borderRadius);Object.values(p).some(g=>g!==0)?(e.beginPath(),e.fillStyle=s.multiKeyBackground,cu(e,{x:y,y:m,w:u,h:l,radius:p}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),cu(e,{x:v,y:m+1,w:u-2,h:l-2,radius:p}),e.fill()):(e.fillStyle=s.multiKeyBackground,e.fillRect(y,m,u,l),e.strokeRect(y,m,u,l),e.fillStyle=o.backgroundColor,e.fillRect(v,m+1,u-2,l-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,n,i){const{body:r}=this,{bodySpacing:s,bodyAlign:o,displayColors:a,boxHeight:l,boxWidth:u,boxPadding:c}=i,h=Ke(i.bodyFont);let d=h.lineHeight,f=0;const m=Za(i.rtl,this.x,this.width),y=function(S){n.fillText(S,m.x(e.x+f),e.y+d/2),e.y+=d+s},v=m.textAlign(o);let p,g,_,w,x,b,k;for(n.textAlign=o,n.textBaseline="middle",n.font=h.string,e.x=Bs(this,v,i),n.fillStyle=i.bodyColor,V(this.beforeBody,y),f=a&&v!=="right"?o==="center"?u/2+c:u+2+c:0,w=0,b=r.length;w<b;++w){for(p=r[w],g=this.labelTextColors[w],n.fillStyle=g,V(p.before,y),_=p.lines,a&&_.length&&(this._drawColorBox(n,e,w,m,i),d=Math.max(h.lineHeight,l)),x=0,k=_.length;x<k;++x)y(_[x]),d=h.lineHeight;V(p.after,y)}f=0,d=h.lineHeight,V(this.afterBody,y),e.y-=s}drawFooter(e,n,i){const r=this.footer,s=r.length;let o,a;if(s){const l=Za(i.rtl,this.x,this.width);for(e.x=Bs(this,i.footerAlign,i),e.y+=i.footerMarginTop,n.textAlign=l.textAlign(i.footerAlign),n.textBaseline="middle",o=Ke(i.footerFont),n.fillStyle=i.footerColor,n.font=o.string,a=0;a<s;++a)n.fillText(r[a],l.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+i.footerSpacing}}drawBackground(e,n,i,r){const{xAlign:s,yAlign:o}=this,{x:a,y:l}=e,{width:u,height:c}=i,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:m}=Pr(r.cornerRadius);n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.beginPath(),n.moveTo(a+h,l),o==="top"&&this.drawCaret(e,n,i,r),n.lineTo(a+u-d,l),n.quadraticCurveTo(a+u,l,a+u,l+d),o==="center"&&s==="right"&&this.drawCaret(e,n,i,r),n.lineTo(a+u,l+c-m),n.quadraticCurveTo(a+u,l+c,a+u-m,l+c),o==="bottom"&&this.drawCaret(e,n,i,r),n.lineTo(a+f,l+c),n.quadraticCurveTo(a,l+c,a,l+c-f),o==="center"&&s==="left"&&this.drawCaret(e,n,i,r),n.lineTo(a,l+h),n.quadraticCurveTo(a,l,a+h,l),n.closePath(),n.fill(),r.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,i=this.$animations,r=i&&i.x,s=i&&i.y;if(r||s){const o=hr[e.position].call(this,this._active,this._eventPosition);if(!o)return;const a=this._size=uf(this,e),l=Object.assign({},o,this._size),u=cf(n,e,l),c=hf(e,l,u,n);(r._to!==c.x||s._to!==c.y)&&(this.xAlign=u.xAlign,this.yAlign=u.yAlign,this.width=a.width,this.height=a.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const r={width:this.width,height:this.height},s={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=ot(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(e.save(),e.globalAlpha=i,this.drawBackground(s,e,r,n),Y1(e,n.textDirection),s.y+=o.top,this.drawTitle(s,e,n),this.drawBody(s,e,n),this.drawFooter(s,e,n),G1(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const i=this._active,r=e.map(({datasetIndex:a,index:l})=>{const u=this.chart.getDatasetMeta(a);if(!u)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:u.data[l],index:l}}),s=!Ao(i,r),o=this._positionChanged(r,n);(s||o)&&(this._active=r,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,s=this._active||[],o=this._getActiveElements(e,s,n,i),a=this._positionChanged(o,e),l=n||!Ao(o,s)||a;return l&&(this._active=o,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),l}_getActiveElements(e,n,i,r){const s=this.options;if(e.type==="mouseout")return[];if(!r)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const o=this.chart.getElementsAtEventForMode(e,s.mode,s,i);return s.reverse&&o.reverse(),o}_positionChanged(e,n){const{caretX:i,caretY:r,options:s}=this,o=hr[s.position].call(this,e,n);return o!==!1&&(i!==o.x||r!==o.y)}}I(pu,"positioners",hr);var Vb={id:"tooltip",_element:pu,positioners:hr,afterInit(t,e,n){n&&(t.tooltip=new pu({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Hm},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Hb=(t,e,n,i)=>(typeof e=="string"?(n=t.push(e)-1,i.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function Wb(t,e,n,i){const r=t.indexOf(e);if(r===-1)return Hb(t,e,n,i);const s=t.lastIndexOf(e);return r!==s?n:r}const Kb=(t,e)=>t===null?null:nt(Math.round(t),0,e);function pf(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class gu extends Qn{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:r,label:s}of n)i[r]===s&&i.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(J(e))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===e?n:Wb(i,e,W(n,e),this._addedLabels),Kb(n,i.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(i=0),n||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const e=this.min,n=this.max,i=this.options.offset,r=[];let s=this.getLabels();s=e===0&&n===s.length-1?s:s.slice(e,n+1),this._valueRange=Math.max(s.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let o=e;o<=n;o++)r.push({value:o});return r}getLabelForValue(e){return pf.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}I(gu,"id","category"),I(gu,"defaults",{ticks:{callback:pf}});function Yb(t,e){const n=[],{bounds:r,step:s,min:o,max:a,precision:l,count:u,maxTicks:c,maxDigits:h,includeBounds:d}=t,f=s||1,m=c-1,{min:y,max:v}=e,p=!J(o),g=!J(a),_=!J(u),w=(v-y)/(h+1);let x=_d((v-y)/m/f)*f,b,k,S,M;if(x<1e-14&&!p&&!g)return[{value:y},{value:v}];M=Math.ceil(v/x)-Math.floor(y/x),M>m&&(x=_d(M*x/m/f)*f),J(l)||(b=Math.pow(10,l),x=Math.ceil(x*b)/b),r==="ticks"?(k=Math.floor(y/x)*x,S=Math.ceil(v/x)*x):(k=y,S=v),p&&g&&s&&zx((a-o)/s,x/1e3)?(M=Math.round(Math.min((a-o)/x,c)),x=(a-o)/M,k=o,S=a):_?(k=p?o:k,S=g?a:S,M=u-1,x=(S-k)/M):(M=(S-k)/x,Sr(M,Math.round(M),x/1e3)?M=Math.round(M):M=Math.ceil(M));const L=Math.max(wd(x),wd(k));b=Math.pow(10,J(l)?L:l),k=Math.round(k*b)/b,S=Math.round(S*b)/b;let D=0;for(p&&(d&&k!==o?(n.push({value:o}),k<o&&D++,Sr(Math.round((k+D*x)*b)/b,o,gf(o,w,t))&&D++):k<o&&D++);D<M;++D){const B=Math.round((k+D*x)*b)/b;if(g&&B>a)break;n.push({value:B})}return g&&d&&S!==a?n.length&&Sr(n[n.length-1].value,a,gf(a,w,t))?n[n.length-1].value=a:n.push({value:a}):(!g||S===a)&&n.push({value:S}),n}function gf(t,e,{horizontal:n,minRotation:i}){const r=nn(i),s=(n?Math.sin(r):Math.cos(r))||.001,o=.75*e*(""+t).length;return Math.min(e/s,o)}class Vo extends Qn{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return J(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:i}=this.getUserBounds();let{min:r,max:s}=this;const o=l=>r=n?r:l,a=l=>s=i?s:l;if(e){const l=Ii(r),u=Ii(s);l<0&&u<0?a(0):l>0&&u>0&&o(0)}if(r===s){let l=s===0?1:Math.abs(s*.05);a(s+l),e||o(r-l)}this.min=r,this.max=s}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=e,r;return i?(r=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),n=n||11),n&&(r=Math.min(n,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const r={maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},s=this._range||this,o=Yb(r,s);return e.bounds==="ticks"&&mm(o,this,"value"),e.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const e=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const r=(i-n)/Math.max(e.length-1,1)/2;n-=r,i+=r}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(e){return Ec(e,this.chart.options.locale,this.options.ticks.format)}}class mu extends Vo{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=ye(e)?e:0,this.max=ye(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,i=nn(this.options.ticks.minRotation),r=(e?Math.sin(i):Math.cos(i))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,s.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}I(mu,"id","linear"),I(mu,"defaults",{ticks:{callback:fa.formatters.numeric}});const Zr=t=>Math.floor(tn(t)),Cn=(t,e)=>Math.pow(10,Zr(t)+e);function mf(t){return t/Math.pow(10,Zr(t))===1}function yf(t,e,n){const i=Math.pow(10,n),r=Math.floor(t/i);return Math.ceil(e/i)-r}function Gb(t,e){const n=e-t;let i=Zr(n);for(;yf(t,e,i)>10;)i++;for(;yf(t,e,i)<10;)i--;return Math.min(i,Zr(t))}function qb(t,{min:e,max:n}){e=Be(t.min,e);const i=[],r=Zr(e);let s=Gb(e,n),o=s<0?Math.pow(10,Math.abs(s)):1;const a=Math.pow(10,s),l=r>s?Math.pow(10,r):0,u=Math.round((e-l)*o)/o,c=Math.floor((e-l)/a/10)*a*10;let h=Math.floor((u-c)/Math.pow(10,s)),d=Be(t.min,Math.round((l+c+h*Math.pow(10,s))*o)/o);for(;d<n;)i.push({value:d,major:mf(d),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(s++,h=2,o=s>=0?1:o),d=Math.round((l+c+h*Math.pow(10,s))*o)/o;const f=Be(t.max,d);return i.push({value:f,major:mf(f),significand:h}),i}class vf extends Qn{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const i=Vo.prototype.parse.apply(this,[e,n]);if(i===0){this._zero=!0;return}return ye(i)&&i>0?i:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=ye(e)?Math.max(0,e):null,this.max=ye(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!ye(this._userMin)&&(this.min=e===Cn(this.min,0)?Cn(this.min,-1):Cn(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let i=this.min,r=this.max;const s=a=>i=e?i:a,o=a=>r=n?r:a;i===r&&(i<=0?(s(1),o(10)):(s(Cn(i,-1)),o(Cn(r,1)))),i<=0&&s(Cn(r,-1)),r<=0&&o(Cn(i,1)),this.min=i,this.max=r}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},i=qb(n,this);return e.bounds==="ticks"&&mm(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(e){return e===void 0?"0":Ec(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=tn(e),this._valueRange=tn(this.max)-tn(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(tn(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}I(vf,"id","logarithmic"),I(vf,"defaults",{ticks:{callback:fa.formatters.logarithmic,major:{enabled:!0}}});function yu(t){const e=t.ticks;if(e.display&&t.display){const n=ot(e.backdropPadding);return W(e.font&&e.font.size,ue.font.size)+n.height}return 0}function Qb(t,e,n){return n=le(n)?n:[n],{w:a1(t,e.string,n),h:n.length*e.lineHeight}}function _f(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:t<i||t>r?{start:e-n,end:e}:{start:e,end:e+n}}function Xb(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),i=[],r=[],s=t._pointLabels.length,o=t.options.pointLabels,a=o.centerPointLabels?_e/s:0;for(let l=0;l<s;l++){const u=o.setContext(t.getPointLabelContext(l));r[l]=u.padding;const c=t.getPointPosition(l,t.drawingArea+r[l],a),h=Ke(u.font),d=Qb(t.ctx,h,t._pointLabels[l]);i[l]=d;const f=dt(t.getIndexAngle(l)+a),m=Math.round(bc(f)),y=_f(m,c.x,d.w,0,180),v=_f(m,c.y,d.h,90,270);Jb(n,e,f,y,v)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=tS(t,i,r)}function Jb(t,e,n,i,r){const s=Math.abs(Math.sin(n)),o=Math.abs(Math.cos(n));let a=0,l=0;i.start<e.l?(a=(e.l-i.start)/s,t.l=Math.min(t.l,e.l-a)):i.end>e.r&&(a=(i.end-e.r)/s,t.r=Math.max(t.r,e.r+a)),r.start<e.t?(l=(e.t-r.start)/o,t.t=Math.min(t.t,e.t-l)):r.end>e.b&&(l=(r.end-e.b)/o,t.b=Math.max(t.b,e.b+l))}function Zb(t,e,n){const i=t.drawingArea,{extra:r,additionalAngle:s,padding:o,size:a}=n,l=t.getPointPosition(e,i+r+o,s),u=Math.round(bc(dt(l.angle+We))),c=rS(l.y,a.h,u),h=nS(u),d=iS(l.x,a.w,h);return{visible:!0,x:l.x,y:c,textAlign:h,left:d,top:c,right:d+a.w,bottom:c+a.h}}function eS(t,e){if(!e)return!0;const{left:n,top:i,right:r,bottom:s}=t;return!(Dt({x:n,y:i},e)||Dt({x:n,y:s},e)||Dt({x:r,y:i},e)||Dt({x:r,y:s},e))}function tS(t,e,n){const i=[],r=t._pointLabels.length,s=t.options,{centerPointLabels:o,display:a}=s.pointLabels,l={extra:yu(s)/2,additionalAngle:o?_e/r:0};let u;for(let c=0;c<r;c++){l.padding=n[c],l.size=e[c];const h=Zb(t,c,l);i.push(h),a==="auto"&&(h.visible=eS(h,u),h.visible&&(u=h))}return i}function nS(t){return t===0||t===180?"center":t<180?"left":"right"}function iS(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function rS(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function sS(t,e,n){const{left:i,top:r,right:s,bottom:o}=n,{backdropColor:a}=e;if(!J(a)){const l=Pr(e.borderRadius),u=ot(e.backdropPadding);t.fillStyle=a;const c=i-u.left,h=r-u.top,d=s-i+u.width,f=o-r+u.height;Object.values(l).some(m=>m!==0)?(t.beginPath(),cu(t,{x:c,y:h,w:d,h:f,radius:l}),t.fill()):t.fillRect(c,h,d,f)}}function oS(t,e){const{ctx:n,options:{pointLabels:i}}=t;for(let r=e-1;r>=0;r--){const s=t._pointLabelItems[r];if(!s.visible)continue;const o=i.setContext(t.getPointLabelContext(r));sS(n,o,s);const a=Ke(o.font),{x:l,y:u,textAlign:c}=s;$o(n,t._pointLabels[r],l,u+a.lineHeight/2,a,{color:o.color,textAlign:c,textBaseline:"middle"})}}function Wm(t,e,n,i){const{ctx:r}=t;if(n)r.arc(t.xCenter,t.yCenter,e,0,mt);else{let s=t.getPointPosition(0,e);r.moveTo(s.x,s.y);for(let o=1;o<i;o++)s=t.getPointPosition(o,e),r.lineTo(s.x,s.y)}}function aS(t,e,n,i,r){const s=t.ctx,o=e.circular,{color:a,lineWidth:l}=e;!o&&!i||!a||!l||n<0||(s.save(),s.strokeStyle=a,s.lineWidth=l,s.setLineDash(r.dash),s.lineDashOffset=r.dashOffset,s.beginPath(),Wm(t,n,o,i),s.closePath(),s.stroke(),s.restore())}function lS(t,e,n){return _n(t,{label:n,index:e,type:"pointLabel"})}class Vs extends Vo{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=ot(yu(this.options)/2),n=this.width=this.maxWidth-e.width,i=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+n/2+e.left),this.yCenter=Math.floor(this.top+i/2+e.top),this.drawingArea=Math.floor(Math.min(n,i)/2)}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!1);this.min=ye(e)&&!isNaN(e)?e:0,this.max=ye(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/yu(this.options))}generateTickLabels(e){Vo.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((n,i)=>{const r=re(this.options.pointLabels.callback,[n,i],this);return r||r===0?r:""}).filter((n,i)=>this.chart.getDataVisibility(i))}fit(){const e=this.options;e.display&&e.pointLabels.display?Xb(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,i,r){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((i-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,i,r))}getIndexAngle(e){const n=mt/(this._pointLabels.length||1),i=this.options.startAngle||0;return dt(e*n+nn(i))}getDistanceFromCenterForValue(e){if(J(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(J(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e<n.length){const i=n[e];return lS(this.getContext(),e,i)}}getPointPosition(e,n,i=0){const r=this.getIndexAngle(e)-We+i;return{x:Math.cos(r)*n+this.xCenter,y:Math.sin(r)*n+this.yCenter,angle:r}}getPointPositionForValue(e,n){return this.getPointPosition(e,this.getDistanceFromCenterForValue(n))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:n,top:i,right:r,bottom:s}=this._pointLabelItems[e];return{left:n,top:i,right:r,bottom:s}}drawBackground(){const{backgroundColor:e,grid:{circular:n}}=this.options;if(e){const i=this.ctx;i.save(),i.beginPath(),Wm(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),i.closePath(),i.fillStyle=e,i.fill(),i.restore()}}drawGrid(){const e=this.ctx,n=this.options,{angleLines:i,grid:r,border:s}=n,o=this._pointLabels.length;let a,l,u;if(n.pointLabels.display&&oS(this,o),r.display&&this.ticks.forEach((c,h)=>{if(h!==0||h===0&&this.min<0){l=this.getDistanceFromCenterForValue(c.value);const d=this.getContext(h),f=r.setContext(d),m=s.setContext(d);aS(this,f,l,o,m)}}),i.display){for(e.save(),a=o-1;a>=0;a--){const c=i.setContext(this.getPointLabelContext(a)),{color:h,lineWidth:d}=c;!d||!h||(e.lineWidth=d,e.strokeStyle=h,e.setLineDash(c.borderDash),e.lineDashOffset=c.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),u=this.getPointPosition(a,l),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(u.x,u.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,i=n.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let s,o;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&this.min>=0&&!n.reverse)return;const u=i.setContext(this.getContext(l)),c=Ke(u.font);if(s=this.getDistanceFromCenterForValue(this.ticks[l].value),u.showLabelBackdrop){e.font=c.string,o=e.measureText(a.label).width,e.fillStyle=u.backdropColor;const h=ot(u.backdropPadding);e.fillRect(-o/2-h.left,-s-c.size/2-h.top,o+h.width,c.size+h.height)}$o(e,a.label,0,-s,c,{color:u.color,strokeColor:u.textStrokeColor,strokeWidth:u.textStrokeWidth})}),e.restore()}drawTitle(){}}I(Vs,"id","radialLinear"),I(Vs,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:fa.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),I(Vs,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),I(Vs,"descriptors",{angleLines:{_fallback:"grid"}});const ma={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},je=Object.keys(ma);function wf(t,e){return t-e}function xf(t,e){if(J(e))return null;const n=t._adapter,{parser:i,round:r,isoWeekday:s}=t._parseOpts;let o=e;return typeof i=="function"&&(o=i(o)),ye(o)||(o=typeof i=="string"?n.parse(o,i):n.parse(o)),o===null?null:(r&&(o=r==="week"&&(Xr(s)||s===!0)?n.startOf(o,"isoWeek",s):n.startOf(o,r)),+o)}function kf(t,e,n,i){const r=je.length;for(let s=je.indexOf(t);s<r-1;++s){const o=ma[je[s]],a=o.steps?o.steps:Number.MAX_SAFE_INTEGER;if(o.common&&Math.ceil((n-e)/(a*o.size))<=i)return je[s]}return je[r-1]}function uS(t,e,n,i,r){for(let s=je.length-1;s>=je.indexOf(n);s--){const o=je[s];if(ma[o].common&&t._adapter.diff(r,i,o)>=e-1)return o}return je[n?je.indexOf(n):0]}function cS(t){for(let e=je.indexOf(t)+1,n=je.length;e<n;++e)if(ma[je[e]].common)return je[e]}function bf(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:i,hi:r}=Sc(n,e),s=n[i]>=e?n[i]:n[r];t[s]=!0}}function hS(t,e,n,i){const r=t._adapter,s=+r.startOf(e[0].value,i),o=e[e.length-1].value;let a,l;for(a=s;a<=o;a=+r.add(a,1,i))l=n[a],l>=0&&(e[l].major=!0);return e}function Sf(t,e,n){const i=[],r={},s=e.length;let o,a;for(o=0;o<s;++o)a=e[o],r[a]=o,i.push({value:a,major:!1});return s===0||!n?i:hS(t,i,r,n)}class Ho extends Qn{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const i=e.time||(e.time={}),r=this._adapter=new yk._date(e.adapters.date);r.init(n),br(i.displayFormats,r.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:xf(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,i=e.time.unit||"day";let{min:r,max:s,minDefined:o,maxDefined:a}=this.getUserBounds();function l(u){!o&&!isNaN(u.min)&&(r=Math.min(r,u.min)),!a&&!isNaN(u.max)&&(s=Math.max(s,u.max))}(!o||!a)&&(l(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&l(this.getMinMax(!1))),r=ye(r)&&!isNaN(r)?r:+n.startOf(Date.now(),i),s=ye(s)&&!isNaN(s)?s:+n.endOf(Date.now(),i)+1,this.min=Math.min(r,s-1),this.max=Math.max(r+1,s)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],i=e[e.length-1]),{min:n,max:i}}buildTicks(){const e=this.options,n=e.time,i=e.ticks,r=i.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const s=this.min,o=this.max,a=Wx(r,s,o);return this._unit=n.unit||(i.autoSkip?kf(n.minUnit,this.min,this.max,this._getLabelCapacity(s)):uS(this,a.length,n.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:cS(this._unit),this.initOffsets(r),e.reverse&&a.reverse(),Sf(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,i=0,r,s;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),e.length===1?n=1-r:n=(this.getDecimalForValue(e[1])-r)/2,s=this.getDecimalForValue(e[e.length-1]),e.length===1?i=s:i=(s-this.getDecimalForValue(e[e.length-2]))/2);const o=e.length<3?.5:.25;n=nt(n,0,o),i=nt(i,0,o),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const e=this._adapter,n=this.min,i=this.max,r=this.options,s=r.time,o=s.unit||kf(s.minUnit,n,i,this._getLabelCapacity(n)),a=W(r.ticks.stepSize,1),l=o==="week"?s.isoWeekday:!1,u=Xr(l)||l===!0,c={};let h=n,d,f;if(u&&(h=+e.startOf(h,"isoWeek",l)),h=+e.startOf(h,u?"day":o),e.diff(i,n,o)>1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+o);const m=r.ticks.source==="data"&&this.getDataTimestamps();for(d=h,f=0;d<i;d=+e.add(d,a,o),f++)bf(c,d,m);return(d===i||r.bounds==="ticks"||f===1)&&bf(c,d,m),Object.keys(c).sort(wf).map(y=>+y)}getLabelForValue(e){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(e,i.tooltipFormat):n.format(e,i.displayFormats.datetime)}format(e,n){const r=this.options.time.displayFormats,s=this._unit,o=n||r[s];return this._adapter.format(e,o)}_tickFormatFunction(e,n,i,r){const s=this.options,o=s.ticks.callback;if(o)return re(o,[e,n,i],this);const a=s.time.displayFormats,l=this._unit,u=this._majorUnit,c=l&&a[l],h=u&&a[u],d=i[n],f=u&&h&&d&&d.major;return this._adapter.format(e,r||(f?h:c))}generateTickLabels(e){let n,i,r;for(n=0,i=e.length;n<i;++n)r=e[n],r.label=this._tickFormatFunction(r.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,i=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+i)*n.factor)}getValueForPixel(e){const n=this._offsets,i=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+i*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,i=this.ctx.measureText(e).width,r=nn(this.isHorizontal()?n.maxRotation:n.minRotation),s=Math.cos(r),o=Math.sin(r),a=this._resolveTickFontOptions(0).size;return{w:i*s+a*o,h:i*o+a*s}}_getLabelCapacity(e){const n=this.options.time,i=n.displayFormats,r=i[n.unit]||i.millisecond,s=this._tickFormatFunction(e,0,Sf(this,[e],this._majorUnit),r),o=this._getLabelSize(s),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let e=this._cache.data||[],n,i;if(e.length)return e;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(n=0,i=r.length;n<i;++n)e=e.concat(r[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,i;if(e.length)return e;const r=this.getLabels();for(n=0,i=r.length;n<i;++n)e.push(xf(this,r[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return Yx(e.sort(wf))}}I(Ho,"id","time"),I(Ho,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Hs(t,e,n){let i=0,r=t.length-1,s,o,a,l;n?(e>=t[i].pos&&e<=t[r].pos&&({lo:i,hi:r}=Dn(t,"pos",e)),{pos:s,time:a}=t[i],{pos:o,time:l}=t[r]):(e>=t[i].time&&e<=t[r].time&&({lo:i,hi:r}=Dn(t,"time",e)),{time:s,pos:a}=t[i],{time:o,pos:l}=t[r]);const u=o-s;return u?a+(l-a)*(e-s)/u:a}class Cf extends Ho{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=Hs(n,this.min),this._tableRange=Hs(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:i}=this,r=[],s=[];let o,a,l,u,c;for(o=0,a=e.length;o<a;++o)u=e[o],u>=n&&u<=i&&r.push(u);if(r.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(o=0,a=r.length;o<a;++o)c=r[o+1],l=r[o-1],u=r[o],Math.round((c+l)/2)!==u&&s.push({time:u,pos:o/(a-1)});return s}_generate(){const e=this.min,n=this.max;let i=super.getDataTimestamps();return(!i.includes(e)||!i.length)&&i.splice(0,0,e),(!i.includes(n)||i.length===1)&&i.push(n),i.sort((r,s)=>r-s)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),i=this.getLabelTimestamps();return n.length&&i.length?e=this.normalize(n.concat(i)):e=n.length?n:i,e=this._cache.all=e,e}getDecimalForValue(e){return(Hs(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,i=this.getDecimalForPixel(e)/n.factor-n.end;return Hs(this._table,i*this._tableRange+this._minPos,!0)}}I(Cf,"id","timeseries"),I(Cf,"defaults",Ho.defaults);const Km="label";function Ef(t,e){typeof t=="function"?t(e):t&&(t.current=e)}function dS(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function Ym(t,e){t.labels=e}function Gm(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Km;const i=[];t.datasets=e.map(r=>{const s=t.datasets.find(o=>o[n]===r[n]);return!s||!r.data||i.includes(s)?{...r}:(i.push(s),Object.assign(s,r),s)})}function fS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Km;const n={labels:[],datasets:[]};return Ym(n,t.labels),Gm(n,t.datasets,e),n}function pS(t,e){const{height:n=150,width:i=300,redraw:r=!1,datasetIdKey:s,type:o,data:a,options:l,plugins:u=[],fallbackContent:c,updateMode:h,...d}=t,f=E.useRef(null),m=E.useRef(),y=()=>{f.current&&(m.current=new ga(f.current,{type:o,data:fS(a,s),options:l&&{...l},plugins:u}),Ef(e,m.current))},v=()=>{Ef(e,null),m.current&&(m.current.destroy(),m.current=null)};return E.useEffect(()=>{!r&&m.current&&l&&dS(m.current,l)},[r,l]),E.useEffect(()=>{!r&&m.current&&Ym(m.current.config.data,a.labels)},[r,a.labels]),E.useEffect(()=>{!r&&m.current&&a.datasets&&Gm(m.current.config.data,a.datasets,s)},[r,a.datasets]),E.useEffect(()=>{m.current&&(r?(v(),setTimeout(y)):m.current.update(h))},[r,l,a.labels,a.datasets,h]),E.useEffect(()=>{m.current&&(v(),setTimeout(y))},[o]),E.useEffect(()=>(y(),()=>v()),[]),Ni.createElement("canvas",Object.assign({ref:f,role:"img",height:n,width:i},d),c)}const gS=E.forwardRef(pS);function mS(t,e){return ga.register(e),E.forwardRef((n,i)=>Ni.createElement(gS,Object.assign({},n,{ref:i,type:t})))}const yS=mS("line",ro);ga.register(gu,mu,ao,cr,Vb);function Pf(){const t={responsive:!0,scales:{x:{grid:{display:!1}},y:{ticks:{callback:function(i,r,s){return i+"wps"}},grid:{display:!1}}}},e=["January","February","March","April","May","June","July"],n={labels:e,datasets:[{label:"Dataset 1",data:e.map(()=>Math.random()*1e3),borderColor:"rgb(255, 99, 132)",backgroundColor:"rgba(255, 99, 132, 0.5)"},{label:"Dataset 2",data:e.map(()=>Math.random()*1e3),borderColor:"rgb(53, 162, 235)",backgroundColor:"rgba(53, 162, 235, 0.5)"}]};return P.jsxs("div",{children:[P.jsx("p",{className:"text-center",children:"File writes per second"}),P.jsx(yS,{data:n,options:t})]})}function vS(){return P.jsx(P.Fragment,{children:P.jsx("p",{children:"TODO"})})}function _S(t){const e=ca(),[n,i]=E.useState([]);E.useEffect(()=>{t.session||e("/login")},[t.session]);const r=E.useCallback(async()=>{const{data:s,error:o}=await t.supabase.from("file").select();if(o){console.error(o);return}i(s.map(a=>a))},[t.supabase]);return E.useEffect(()=>{r()},[]),P.jsx(P.Fragment,{children:P.jsxs("div",{className:"flex h-screen",children:[P.jsx(hm,{currentPage:"Home"}),P.jsx("main",{className:"overflow-y-auto flex flex-col flex-1 mx-5",children:P.jsxs("div",{className:"flex flex-col w-full gap-7 flex-grow",children:[P.jsx("div",{className:"flex flex-row gap-7 flex-grow",children:P.jsx("div",{className:"ml-auto",children:P.jsx(vS,{})})}),P.jsxs("div",{className:"flex flex-row gap-7 flex-grow",children:[P.jsxs("div",{className:"w-1/2 flex flex-col",children:[P.jsx("p",{className:"text-center",children:"Active hosts"}),P.jsx("div",{className:"flex-grow block bg-white-500 border border-gray-200 rounded-lg shadow",children:P.jsxs("ol",{children:[P.jsx("li",{children:"Host 1"}),P.jsx("li",{children:"Host 2"})]})})]}),P.jsx("div",{className:"w-1/2 ml-auto",children:P.jsx(Pf,{})})]}),P.jsxs("div",{className:"flex flex-row gap-7 mb-5 flex-grow",children:[P.jsx("div",{className:"w-1/2 mr-auto",children:P.jsx(Pf,{})}),P.jsxs("div",{className:"w-1/2 flex flex-col",children:[P.jsx("p",{className:"text-center",children:"Most edited files"}),P.jsx("div",{className:"flex-grow block bg-white-500 border border-gray-200 rounded-lg shadow",children:P.jsxs("ol",{children:[P.jsx("li",{children:"File 1"}),P.jsx("li",{children:"File 2"})]})})]})]})]})})]})})}function wS(t={}){const{nonce:e,onScriptLoadSuccess:n,onScriptLoadError:i}=t,[r,s]=E.useState(!1),o=E.useRef(n);o.current=n;const a=E.useRef(i);return a.current=i,E.useEffect(()=>{const l=document.createElement("script");return l.src="https://accounts.google.com/gsi/client",l.async=!0,l.defer=!0,l.nonce=e,l.onload=()=>{var u;s(!0),(u=o.current)===null||u===void 0||u.call(o)},l.onerror=()=>{var u;s(!1),(u=a.current)===null||u===void 0||u.call(a)},document.body.appendChild(l),()=>{document.body.removeChild(l)}},[e]),r}const qm=E.createContext(null);function xS({clientId:t,nonce:e,onScriptLoadSuccess:n,onScriptLoadError:i,children:r}){const s=wS({nonce:e,onScriptLoadSuccess:n,onScriptLoadError:i}),o=E.useMemo(()=>({clientId:t,scriptLoadedSuccessfully:s}),[t,s]);return Ni.createElement(qm.Provider,{value:o},r)}function kS(){const t=E.useContext(qm);if(!t)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return t}function bS(t){var e;return(e=t==null?void 0:t.clientId)!==null&&e!==void 0?e:t==null?void 0:t.client_id}const SS={large:40,medium:32,small:20};function CS({onSuccess:t,onError:e,useOneTap:n,promptMomentNotification:i,type:r="standard",theme:s="outline",size:o="large",text:a,shape:l,logo_alignment:u,width:c,locale:h,click_listener:d,containerProps:f,...m}){const y=E.useRef(null),{clientId:v,scriptLoadedSuccessfully:p}=kS(),g=E.useRef(t);g.current=t;const _=E.useRef(e);_.current=e;const w=E.useRef(i);return w.current=i,E.useEffect(()=>{var x,b,k,S,M,L,D,B,ce;if(p)return(k=(b=(x=window==null?void 0:window.google)===null||x===void 0?void 0:x.accounts)===null||b===void 0?void 0:b.id)===null||k===void 0||k.initialize({client_id:v,callback:oe=>{var $;if(!(oe!=null&&oe.credential))return($=_.current)===null||$===void 0?void 0:$.call(_);const{credential:K,select_by:ge}=oe;g.current({credential:K,clientId:bS(oe),select_by:ge})},...m}),(L=(M=(S=window==null?void 0:window.google)===null||S===void 0?void 0:S.accounts)===null||M===void 0?void 0:M.id)===null||L===void 0||L.renderButton(y.current,{type:r,theme:s,size:o,text:a,shape:l,logo_alignment:u,width:c,locale:h,click_listener:d}),n&&((ce=(B=(D=window==null?void 0:window.google)===null||D===void 0?void 0:D.accounts)===null||B===void 0?void 0:B.id)===null||ce===void 0||ce.prompt(w.current)),()=>{var oe,$,K;n&&((K=($=(oe=window==null?void 0:window.google)===null||oe===void 0?void 0:oe.accounts)===null||$===void 0?void 0:$.id)===null||K===void 0||K.cancel())}},[v,p,n,r,s,o,a,l,u,c,h]),Ni.createElement("div",{...f,ref:y,style:{height:SS[o],...f==null?void 0:f.style}})}function ES(t){const e=ca();return E.useEffect(()=>{t.supabase.auth.getSession().then(({data:{session:i}})=>{t.setSession(i),console.log("LOGIN SESSION",i)});const{data:{subscription:n}}=t.supabase.auth.onAuthStateChange((i,r)=>{t.setSession(r),console.log("SESSION CHANGE",r)});return()=>n.unsubscribe()},[t.supabase]),E.useEffect(()=>{t.session&&e("/")},[t.session]),P.jsx(P.Fragment,{children:P.jsx("div",{className:"flex flex-col items-center h-screen w-screen",children:P.jsxs("div",{className:"flex flex-row items-center gap-x-8 m-auto",children:[P.jsx("div",{children:P.jsx("h1",{className:"text-4xl text-bold font-sans antialiased text-blue-700 tracking-wide",children:"fs-tracer"})}),P.jsx("div",{className:"block max-w-sm p-6 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700",children:P.jsxs("div",{className:"mx-7 my-5",children:[P.jsx("h5",{className:"mb-2 text-2xl font-bold font-sans antialiased text-gray-900",children:"Hello!"}),P.jsxs("div",{className:"flex flex-row items-center gap-2",children:[P.jsx("span",{className:"font-normal text-gray-700 dark:text-gray-400",children:"Continue with"}),P.jsx("span",{children:P.jsx(xS,{clientId:"952965459060-nrnrsdoq22mf646vfa72hk410pvdda5q.apps.googleusercontent.com",children:P.jsx(CS,{onSuccess:async n=>{await t.supabase.auth.signInWithIdToken({provider:"google",token:n.credential})},onError:()=>{console.log("Login Failed")},width:7777,size:"large",type:"icon"})})})]})]})})]})})})}function PS(t){const e=ca();return E.useEffect(()=>{(async()=>{await t.supabase.auth.signOut()})(),e("/login")},[t.session]),P.jsx(P.Fragment,{})}function TS(t){const e=ca(),[n,i]=E.useState([]);E.useEffect(()=>{t.session||e("/login")},[t.session]);const r=E.useCallback(async()=>{const{data:s,error:o}=await t.supabase.from("file").select();if(o){console.error(o);return}i(s.map(a=>a))},[t.supabase]);return E.useEffect(()=>{r()},[]),P.jsx(P.Fragment,{children:P.jsxs("div",{className:"flex h-screen",children:[P.jsx(hm,{currentPage:"Recent"}),P.jsx("main",{className:"flex-1 overflow-y-auto",children:P.jsx("div",{children:n.map(s=>P.jsx("div",{children:P.jsxs("p",{className:"underline",children:["file: ",s.absolute_path]})},s.id))})})]})})}function Qm(t,e){window.dispatchEvent(new StorageEvent("storage",{key:t,newValue:e}))}const Tf=(t,e)=>{const n=JSON.stringify(e);window.localStorage.setItem(t,n),Qm(t,n)},OS=t=>{window.localStorage.removeItem(t),Qm(t,null)},Of=t=>window.localStorage.getItem(t),LS=t=>(window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)),MS=()=>{throw Error("useLocalStorage is a client-only hook")};function RS(t,e){const n=()=>Of(t),i=E.useSyncExternalStore(LS,n,MS),r=E.useCallback(s=>{try{const o=typeof s=="function"?s(JSON.parse(i)):s;o==null?OS(t):Tf(t,o)}catch(o){console.warn(o)}},[t,i]);return E.useEffect(()=>{Of(t)===null&&typeof e<"u"&&Tf(t,e)},[t,e]),[i?JSON.parse(i):e,r]}const Ws=ox("https://slpoocycjgqsuoedhkbn.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InNscG9vY3ljamdxc3VvZWRoa2JuIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTUyMDU0MjUsImV4cCI6MjAzMDc4MTQyNX0.xZYRTRN65rlms1Hb96IBAQvw3EGtMzUxlGPP5TVey34");function IS(){const[t,e]=RS("session",null);return P.jsx(P.Fragment,{children:P.jsx(__,{basename:"/fs-tracer-frontend",children:P.jsxs(m_,{children:[P.jsx(ii,{index:!0,element:P.jsx(_S,{supabase:Ws,session:t})}),P.jsx(ii,{path:"/recent",element:P.jsx(TS,{supabase:Ws,session:t})}),P.jsx(ii,{path:"/login",element:P.jsx(ES,{supabase:Ws,session:t,setSession:e})}),P.jsx(ii,{path:"/logout",element:P.jsx(PS,{supabase:Ws,session:t,setSession:e})}),P.jsx(ii,{path:"*",element:P.jsx("p",{children:"notfound"})})]})})})}sl.createRoot(document.getElementById("root")).render(P.jsx(Ni.StrictMode,{children:P.jsx(IS,{})}));export{e0 as g}; diff --git a/index.html b/index.html index be9aec2..075581b 100644 --- a/index.html +++ b/index.html @@ -32,8 +32,8 @@ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" }(window.location)) </script> <!-- End Single Page Apps for GitHub Pages --> - <script type="module" crossorigin src="./assets/index-lfXooNgj.js"></script> - <link rel="stylesheet" crossorigin href="./assets/index-RT7aBB16.css"> + <script type="module" crossorigin src="./assets/index-BO_Uq_O3.js"></script> + <link rel="stylesheet" crossorigin href="./assets/index-BEXFdVkm.css"> </head> <body> <div id="root"></div> |