diff --git a/.dashboard.js b/.dashboard.js index 0e48fee..e66cef5 100644 --- a/.dashboard.js +++ b/.dashboard.js @@ -41,7 +41,8 @@ const customTab = { title: 'Custom', event: overview.event, panels: customPanels, - charts: [overview.chart('http_reqs'), durationChart] + charts: [overview.chart('http_reqs'), durationChart], + description: 'Example of customizing the display of metrics.' } // add custom tab to configuration diff --git a/README.md b/README.md index e1fc42e..7bbfd53 100644 --- a/README.md +++ b/README.md @@ -12,20 +12,45 @@ By using **xk6-dashboard** output extension you can access metrics from [k6](htt **Screenshots** *Overview* + +The overview tabs provides an overview of the most important metrics of the test run. Graphs plot the value of metrics over time. + ![k6 dashboard overview snapshot](screenshot/k6-dashboard-overview-snapshot.png) *Overview Cumulative* ![k6 dashboard overview cumulative](screenshot/k6-dashboard-overview-cumulative.png) *Timings* + +The timings tabs provides an overview of test run HTTP timing metrics. Graphs plot the value of metrics over time. + ![k6 dashboard timings snapshot](screenshot/k6-dashboard-timings-snapshot.png) *Timings Cumulative* ![k6 dashboard timings cumulative](screenshot/k6-dashboard-timings-cumulative.png) *Custom Tab* + +Example of customizing the display of metrics. + ![k6 dashboard custom](screenshot/k6-dashboard-custom.png) +*Summary Tab* + +Summary tab contains a summary of the test run metrics. The tables contains the aggregated values of the metrics for the entire test run. + +![k6 dashboard summary](screenshot/k6-dashboard-summary.png) + +**Report** + +The report tab contains a test run report in a printable (or saveable to PDF) format. + +*Report Tab* +![k6 dashboard report](screenshot/k6-dashboard-report.png) + +*Report PDF* + +See [sample PDF report](screenshot/k6-dashboard-report.pdf) **Table of Contents** @@ -198,7 +223,8 @@ const customTab = { title: 'Custom', event: overview.event, panels: customPanels, - charts: [overview.chart('http_reqs'), durationChart] + charts: [overview.chart('http_reqs'), durationChart], + description: 'Example of customizing the display of metrics.' } // add custom tab to configuration diff --git a/dashboard/extension_test.go b/dashboard/extension_test.go index f52cf31..a61175e 100644 --- a/dashboard/extension_test.go +++ b/dashboard/extension_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + package dashboard import ( diff --git a/dashboard/helper_test.go b/dashboard/helper_test.go index 5f8095c..2919e15 100644 --- a/dashboard/helper_test.go +++ b/dashboard/helper_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + package dashboard import ( diff --git a/dashboard/meter_test.go b/dashboard/meter_test.go index 8993176..8ba9e79 100644 --- a/dashboard/meter_test.go +++ b/dashboard/meter_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + package dashboard import ( diff --git a/dashboard/options_test.go b/dashboard/options_test.go index 15cf62d..919ed9b 100644 --- a/dashboard/options_test.go +++ b/dashboard/options_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + package dashboard import ( diff --git a/dashboard/registry_test.go b/dashboard/registry_test.go index 5e46d7a..61df877 100644 --- a/dashboard/registry_test.go +++ b/dashboard/registry_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + package dashboard import ( diff --git a/dashboard/sse.go b/dashboard/sse.go index d756c88..439b09e 100644 --- a/dashboard/sse.go +++ b/dashboard/sse.go @@ -50,5 +50,7 @@ func (esrc *eventSource) ServeHTTP(res http.ResponseWriter, req *http.Request) { values.Add("stream", esrc.channel) req.URL.RawQuery = values.Encode() + res.Header().Set("Access-Control-Allow-Origin", "*") + esrc.Server.ServeHTTP(res, req) } diff --git a/dashboard/sse_test.go b/dashboard/sse_test.go index 8816f64..053e049 100644 --- a/dashboard/sse_test.go +++ b/dashboard/sse_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + package dashboard import ( diff --git a/dashboard/web_test.go b/dashboard/web_test.go index 97b6a5e..ee28b63 100644 --- a/dashboard/web_test.go +++ b/dashboard/web_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + package dashboard import ( diff --git a/magefiles/magefile.go b/magefiles/magefile.go index af7c238..9e5fba8 100644 --- a/magefiles/magefile.go +++ b/magefiles/magefile.go @@ -148,6 +148,7 @@ func Exif() error { `exiftool -ext png -overwrite_original -XMP:Subject+="k6 dashboard xk6" -Title="k6 dashboard screenshot" -Description="Screenshot of xk6-dashboard extension that enables creating web based metrics dashboard for k6." -Author="Ivan SZKIBA" screenshot`, `exiftool -all= -overwrite_original -ext png .github`, `exiftool -ext png -overwrite_original -XMP:Subject+="k6 dashboard xk6" -Title="k6 dashboard screenshot" -Description="Screenshot of xk6-dashboard extension that enables creating web based metrics dashboard for k6." -Author="Ivan SZKIBA" .github`, + `exiftool -ext pdf -overwrite_original -Subject+="k6 dashboard report" -Title="k6 dashboard report" -Description="Example report of xk6-dashboard extension that enables creating web based metrics dashboard for k6." -Author="Ivan SZKIBA" screenshot`, ) } diff --git a/screenshot/k6-dashboard-custom.png b/screenshot/k6-dashboard-custom.png index 2632fdd..f60d862 100644 Binary files a/screenshot/k6-dashboard-custom.png and b/screenshot/k6-dashboard-custom.png differ diff --git a/screenshot/k6-dashboard-overview-cumulative.png b/screenshot/k6-dashboard-overview-cumulative.png index 99a674b..c3656f2 100644 Binary files a/screenshot/k6-dashboard-overview-cumulative.png and b/screenshot/k6-dashboard-overview-cumulative.png differ diff --git a/screenshot/k6-dashboard-overview-snapshot.png b/screenshot/k6-dashboard-overview-snapshot.png index 42c4fac..f56a4f3 100644 Binary files a/screenshot/k6-dashboard-overview-snapshot.png and b/screenshot/k6-dashboard-overview-snapshot.png differ diff --git a/screenshot/k6-dashboard-report.pdf b/screenshot/k6-dashboard-report.pdf new file mode 100644 index 0000000..71a3187 Binary files /dev/null and b/screenshot/k6-dashboard-report.pdf differ diff --git a/screenshot/k6-dashboard-report.png b/screenshot/k6-dashboard-report.png new file mode 100644 index 0000000..49b0b4d Binary files /dev/null and b/screenshot/k6-dashboard-report.png differ diff --git a/screenshot/k6-dashboard-summary.png b/screenshot/k6-dashboard-summary.png new file mode 100644 index 0000000..dda2127 Binary files /dev/null and b/screenshot/k6-dashboard-summary.png differ diff --git a/screenshot/k6-dashboard-timings-cumulative.png b/screenshot/k6-dashboard-timings-cumulative.png index e61a2a4..3ea1fa2 100644 Binary files a/screenshot/k6-dashboard-timings-cumulative.png and b/screenshot/k6-dashboard-timings-cumulative.png differ diff --git a/screenshot/k6-dashboard-timings-snapshot.png b/screenshot/k6-dashboard-timings-snapshot.png index 7b15988..3e30f28 100644 Binary files a/screenshot/k6-dashboard-timings-snapshot.png and b/screenshot/k6-dashboard-timings-snapshot.png differ diff --git a/ui/assets/ui/dist/assets/index-5c1d0d38.css b/ui/assets/ui/dist/assets/index-5c1d0d38.css deleted file mode 100644 index 80a8d59..0000000 --- a/ui/assets/ui/dist/assets/index-5c1d0d38.css +++ /dev/null @@ -1 +0,0 @@ -.summary-panel .u-title{font-size:1.5rem;font-weight:500!important;white-space:nowrap}.summary-panel .MuiCardContent-root{padding:5px;padding-bottom:5px!important}.uplot,.uplot *,.uplot *:before,.uplot *:after{box-sizing:border-box}.uplot{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5;width:min-content}.u-title{text-align:center;font-size:18px;font-weight:700}.u-wrap{position:relative;user-select:none}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{display:block;position:relative;width:100%;height:100%}.u-axis{position:absolute}.u-legend{font-size:14px;margin:auto;text-align:center}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:rgba(0,0,0,.07);position:absolute;pointer-events:none}.u-cursor-x,.u-cursor-y{position:absolute;left:0;top:0;pointer-events:none;will-change:transform;z-index:100}.u-hz .u-cursor-x,.u-vt .u-cursor-y{height:100%;border-right:1px dashed #607D8B}.u-hz .u-cursor-y,.u-vt .u-cursor-x{width:100%;border-bottom:1px dashed #607D8B}.u-cursor-pt{position:absolute;top:0;left:0;border-radius:50%;border:0 solid;pointer-events:none;will-change:transform;z-index:100;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}.u-title,.u-label{font-weight:300!important}body{margin:0;background-color:#f7f7f7} diff --git a/ui/assets/ui/dist/assets/index-d1d2aca3.css b/ui/assets/ui/dist/assets/index-d1d2aca3.css new file mode 100644 index 0000000..1f876c4 --- /dev/null +++ b/ui/assets/ui/dist/assets/index-d1d2aca3.css @@ -0,0 +1 @@ +@media print{.Dashboard>:first-child{display:none!important}}.MuiToolbar-root{min-height:unset!important}@media print{.Header{display:none!important}}@media print{.MuiFab-root{display:none!important}.Report h2{page-break-before:always}.Report .PageHeader+h2{page-break-before:avoid!important}.PageHeader{position:fixed;top:0;right:0;font-size:medium!important;color:gray}.FabBox{display:none!important}}.FabBox{float:right}.Report{min-width:1024px;max-width:1280px;align-items:center;margin-left:auto;margin-right:auto}@media screen{.Report{max-width:1152px;box-shadow:2px 2px 2px gray;border:1px solid lightgray}.PageHeader{display:none}}.Dashboard>:last-child .Report{background-color:#fff!important}thead tr th{font-weight:700!important}tbody tr :first-child{font-weight:500!important}.MuiTable-root th,.MuiTable-root td{padding:8px}table.MuiTable-root caption{display:table-caption;text-align:center;caption-side:top;font-weight:700;background-color:#7b65fa20;border-bottom:1px solid #7b65fa;padding:8px}@media print{table.MuiTable-root caption{background-color:unset;border-bottom:1px solid lightgrey!important}}.u-title,.u-label{font-weight:300!important}.uplot,.uplot *,.uplot *:before,.uplot *:after{box-sizing:border-box}.uplot{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5;width:min-content}.u-title{text-align:center;font-size:18px;font-weight:700}.u-wrap{position:relative;user-select:none}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{display:block;position:relative;width:100%;height:100%}.u-axis{position:absolute}.u-legend{font-size:14px;margin:auto;text-align:center}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:rgba(0,0,0,.07);position:absolute;pointer-events:none}.u-cursor-x,.u-cursor-y{position:absolute;left:0;top:0;pointer-events:none;will-change:transform;z-index:100}.u-hz .u-cursor-x,.u-vt .u-cursor-y{height:100%;border-right:1px dashed #607D8B}.u-hz .u-cursor-y,.u-vt .u-cursor-x{width:100%;border-bottom:1px dashed #607D8B}.u-cursor-pt{position:absolute;top:0;left:0;border-radius:50%;border:0 solid;pointer-events:none;will-change:transform;z-index:100;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}.summary-panel .u-title{font-size:1.5rem;font-weight:500!important;white-space:nowrap}.summary-panel .MuiCardContent-root{padding:5px;padding-bottom:5px!important}body{margin:0}@media screen{body{background-color:#f7f7f7}}.uplot{margin-left:auto;margin-right:auto} diff --git a/ui/assets/ui/dist/assets/index-d4905b62.js b/ui/assets/ui/dist/assets/index-d4905b62.js deleted file mode 100644 index d58d6fe..0000000 --- a/ui/assets/ui/dist/assets/index-d4905b62.js +++ /dev/null @@ -1,145 +0,0 @@ -function yw(e,t){for(var n=0;nr[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();var co=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function og(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vw(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var o=[null];o.push.apply(o,arguments);var l=Function.bind.apply(t,o);return new l}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Q={},ww={get exports(){return Q},set exports(e){Q=e}},ju={},N={},Sw={get exports(){return N},set exports(e){N=e}},me={};/** - * @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 ns=Symbol.for("react.element"),xw=Symbol.for("react.portal"),kw=Symbol.for("react.fragment"),_w=Symbol.for("react.strict_mode"),Ew=Symbol.for("react.profiler"),Cw=Symbol.for("react.provider"),bw=Symbol.for("react.context"),Tw=Symbol.for("react.forward_ref"),Pw=Symbol.for("react.suspense"),Mw=Symbol.for("react.memo"),Rw=Symbol.for("react.lazy"),vh=Symbol.iterator;function $w(e){return e===null||typeof e!="object"?null:(e=vh&&e[vh]||e["@@iterator"],typeof e=="function"?e:null)}var lg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ig=Object.assign,sg={};function zl(e,t,n){this.props=e,this.context=t,this.refs=sg,this.updater=n||lg}zl.prototype.isReactComponent={};zl.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")};zl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ug(){}ug.prototype=zl.prototype;function gd(e,t,n){this.props=e,this.context=t,this.refs=sg,this.updater=n||lg}var yd=gd.prototype=new ug;yd.constructor=gd;ig(yd,zl.prototype);yd.isPureReactComponent=!0;var wh=Array.isArray,ag=Object.prototype.hasOwnProperty,vd={current:null},cg={key:!0,ref:!0,__self:!0,__source:!0};function fg(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)ag.call(t,r)&&!cg.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,U=D[te];if(0>>1;teo(ce,V))Leo(Ct,ce)?(D[te]=Ct,D[Le]=V,te=Le):(D[te]=ce,D[X]=V,te=X);else if(Leo(Ct,V))D[te]=Ct,D[Le]=V,te=Le;else break e}}return G}function o(D,G){var V=D.sortIndex-G.sortIndex;return V!==0?V:D.id-G.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var a=[],s=[],f=1,p=null,c=3,m=!1,v=!1,h=!1,_=typeof setTimeout=="function"?setTimeout:null,w=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 S(D){for(var G=n(s);G!==null;){if(G.callback===null)r(s);else if(G.startTime<=D)r(s),G.sortIndex=G.expirationTime,t(a,G);else break;G=n(s)}}function E(D){if(h=!1,S(D),!v)if(n(a)!==null)v=!0,le(C);else{var G=n(s);G!==null&&ee(E,G.startTime-D)}}function C(D,G){v=!1,h&&(h=!1,w(M),M=-1),m=!0;var V=c;try{for(S(G),p=n(a);p!==null&&(!(p.expirationTime>G)||D&&!z());){var te=p.callback;if(typeof te=="function"){p.callback=null,c=p.priorityLevel;var U=te(p.expirationTime<=G);G=e.unstable_now(),typeof U=="function"?p.callback=U:p===n(a)&&r(a),S(G)}else r(a);p=n(a)}if(p!==null)var ge=!0;else{var X=n(s);X!==null&&ee(E,X.startTime-G),ge=!1}return ge}finally{p=null,c=V,m=!1}}var P=!1,b=null,M=-1,$=5,R=-1;function z(){return!(e.unstable_now()-R<$)}function F(){if(b!==null){var D=e.unstable_now();R=D;var G=!0;try{G=b(!0,D)}finally{G?H():(P=!1,b=null)}}else P=!1}var H;if(typeof g=="function")H=function(){g(F)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,ne=q.port2;q.port1.onmessage=F,H=function(){ne.postMessage(null)}}else H=function(){_(F,0)};function le(D){b=D,P||(P=!0,H())}function ee(D,G){M=_(function(){D(e.unstable_now())},G)}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(D){D.callback=null},e.unstable_continueExecution=function(){v||m||(v=!0,le(C))},e.unstable_forceFrameRate=function(D){0>D||125te?(D.sortIndex=V,t(s,D),n(a)===null&&D===n(s)&&(h?(w(M),M=-1):h=!0,ee(E,V-te))):(D.sortIndex=U,t(a,D),v||m||(v=!0,le(C))),D},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(D){var G=c;return function(){var V=c;c=G;try{return D.apply(this,arguments)}finally{c=V}}}})(pg);(function(e){e.exports=pg})(Uw);/** - * @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 hg=N,yn=rf;function B(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),of=Object.prototype.hasOwnProperty,Vw=/^[: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]*$/,kh={},_h={};function Hw(e){return of.call(_h,e)?!0:of.call(kh,e)?!1:Vw.test(e)?_h[e]=!0:(kh[e]=!0,!1)}function Kw(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 Gw(e,t,n,r){if(t===null||typeof t>"u"||Kw(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 Qt(e,t,n,r,o,l,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=i}var zt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){zt[e]=new Qt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];zt[t]=new Qt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){zt[e]=new Qt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){zt[e]=new Qt(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){zt[e]=new Qt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){zt[e]=new Qt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){zt[e]=new Qt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){zt[e]=new Qt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){zt[e]=new Qt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Sd=/[\-:]([a-z])/g;function xd(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(Sd,xd);zt[t]=new Qt(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(Sd,xd);zt[t]=new Qt(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(Sd,xd);zt[t]=new Qt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){zt[e]=new Qt(e,1,!1,e.toLowerCase(),null,!1,!1)});zt.xlinkHref=new Qt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){zt[e]=new Qt(e,1,!1,e.toLowerCase(),null,!0,!0)});function kd(e,t,n,r){var o=zt.hasOwnProperty(t)?zt[t]:null;(o!==null?o.type!==0:r||!(2u||o[i]!==l[u]){var a=` -`+o[i].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=i&&0<=u);break}}}finally{wc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?di(e):""}function Yw(e){switch(e.tag){case 5:return di(e.type);case 16:return di("Lazy");case 13:return di("Suspense");case 19:return di("SuspenseList");case 0:case 2:case 15:return e=Sc(e.type,!1),e;case 11:return e=Sc(e.type.render,!1),e;case 1:return e=Sc(e.type,!0),e;default:return""}}function af(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 Zo:return"Fragment";case Xo:return"Portal";case lf:return"Profiler";case _d:return"StrictMode";case sf:return"Suspense";case uf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yg:return(e.displayName||"Context")+".Consumer";case gg:return(e._context.displayName||"Context")+".Provider";case Ed:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cd:return t=e.displayName||null,t!==null?t:af(e.type)||"Memo";case $r:t=e._payload,e=e._init;try{return af(e(t))}catch{}}return null}function Qw(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 af(t);case 8:return t===_d?"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 Kr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function wg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Xw(e){var t=wg(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 o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _s(e){e._valueTracker||(e._valueTracker=Xw(e))}function Sg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=wg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function su(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 cf(e,t){var n=t.checked;return Je({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ch(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Kr(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 xg(e,t){t=t.checked,t!=null&&kd(e,"checked",t,!1)}function ff(e,t){xg(e,t);var n=Kr(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")?df(e,t.type,n):t.hasOwnProperty("defaultValue")&&df(e,t.type,Kr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function bh(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 df(e,t,n){(t!=="number"||su(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var pi=Array.isArray;function ul(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Es.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ni(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var wi={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},Zw=["Webkit","ms","Moz","O"];Object.keys(wi).forEach(function(e){Zw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wi[t]=wi[e]})});function Cg(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||wi.hasOwnProperty(e)&&wi[e]?(""+t).trim():t+"px"}function bg(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Cg(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var qw=Je({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 mf(e,t){if(t){if(qw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(B(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(B(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(B(61))}if(t.style!=null&&typeof t.style!="object")throw Error(B(62))}}function gf(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 yf=null;function bd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vf=null,al=null,cl=null;function Mh(e){if(e=ls(e)){if(typeof vf!="function")throw Error(B(280));var t=e.stateNode;t&&(t=Ku(t),vf(e.stateNode,e.type,t))}}function Tg(e){al?cl?cl.push(e):cl=[e]:al=e}function Pg(){if(al){var e=al,t=cl;if(cl=al=null,Mh(e),t)for(e=0;e>>=0,e===0?32:31-(aS(e)/cS|0)|0}var Cs=64,bs=4194304;function hi(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 fu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~o;u!==0?r=hi(u):(l&=i,l!==0&&(r=hi(l)))}else i=n&~o,i!==0?r=hi(i):l!==0&&(r=hi(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function rs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Hn(t),e[t]=n}function hS(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=xi),Fh=String.fromCharCode(32),Bh=!1;function Yg(e,t){switch(e){case"keyup":return WS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qo=!1;function VS(e,t){switch(e){case"compositionend":return Qg(t);case"keypress":return t.which!==32?null:(Bh=!0,Fh);case"textInput":return e=t.data,e===Fh&&Bh?null:e;default:return null}}function HS(e,t){if(qo)return e==="compositionend"||!zd&&Yg(e,t)?(e=Kg(),Gs=$d=Ar=null,qo=!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)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=Uh(n)}}function Jg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ey(){for(var e=window,t=su();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=su(e.document)}return t}function Ad(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 ex(e){var t=ey(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Jg(n.ownerDocument.documentElement,n)){if(r!==null&&Ad(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 o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=Vh(n,l);var i=Vh(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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=document.documentMode,Jo=null,Ef=null,_i=null,Cf=!1;function Hh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Cf||Jo==null||Jo!==su(r)||(r=Jo,"selectionStart"in r&&Ad(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}),_i&&Bi(_i,r)||(_i=r,r=hu(Ef,"onSelect"),0nl||(e.current=$f[nl],$f[nl]=null,nl--)}function je(e,t){nl++,$f[nl]=e.current,e.current=t}var Gr={},Ut=Qr(Gr),ln=Qr(!1),So=Gr;function wl(e,t){var n=e.type.contextTypes;if(!n)return Gr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function sn(e){return e=e.childContextTypes,e!=null}function gu(){Ge(ln),Ge(Ut)}function qh(e,t,n){if(Ut.current!==Gr)throw Error(B(168));je(Ut,t),je(ln,n)}function ay(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(B(108,Qw(e)||"Unknown",o));return Je({},n,r)}function yu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gr,So=Ut.current,je(Ut,e),je(ln,ln.current),!0}function Jh(e,t,n){var r=e.stateNode;if(!r)throw Error(B(169));n?(e=ay(e,t,So),r.__reactInternalMemoizedMergedChildContext=e,Ge(ln),Ge(Ut),je(Ut,e)):Ge(ln),je(ln,n)}var pr=null,Gu=!1,zc=!1;function cy(e){pr===null?pr=[e]:pr.push(e)}function dx(e){Gu=!0,cy(e)}function Xr(){if(!zc&&pr!==null){zc=!0;var e=0,t=Me;try{var n=pr;for(Me=1;e>=i,o-=i,mr=1<<32-Hn(t)+o|n<M?($=b,b=null):$=b.sibling;var R=c(w,b,S[M],E);if(R===null){b===null&&(b=$);break}e&&b&&R.alternate===null&&t(w,b),g=l(R,g,M),P===null?C=R:P.sibling=R,P=R,b=$}if(M===S.length)return n(w,b),Xe&&oo(w,M),C;if(b===null){for(;MM?($=b,b=null):$=b.sibling;var z=c(w,b,R.value,E);if(z===null){b===null&&(b=$);break}e&&b&&z.alternate===null&&t(w,b),g=l(z,g,M),P===null?C=z:P.sibling=z,P=z,b=$}if(R.done)return n(w,b),Xe&&oo(w,M),C;if(b===null){for(;!R.done;M++,R=S.next())R=p(w,R.value,E),R!==null&&(g=l(R,g,M),P===null?C=R:P.sibling=R,P=R);return Xe&&oo(w,M),C}for(b=r(w,b);!R.done;M++,R=S.next())R=m(b,w,M,R.value,E),R!==null&&(e&&R.alternate!==null&&b.delete(R.key===null?M:R.key),g=l(R,g,M),P===null?C=R:P.sibling=R,P=R);return e&&b.forEach(function(F){return t(w,F)}),Xe&&oo(w,M),C}function _(w,g,S,E){if(typeof S=="object"&&S!==null&&S.type===Zo&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case ks:e:{for(var C=S.key,P=g;P!==null;){if(P.key===C){if(C=S.type,C===Zo){if(P.tag===7){n(w,P.sibling),g=o(P,S.props.children),g.return=w,w=g;break e}}else if(P.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===$r&&im(C)===P.type){n(w,P.sibling),g=o(P,S.props),g.ref=ri(w,P,S),g.return=w,w=g;break e}n(w,P);break}else t(w,P);P=P.sibling}S.type===Zo?(g=vo(S.props.children,w.mode,E,S.key),g.return=w,w=g):(E=tu(S.type,S.key,S.props,null,w.mode,E),E.ref=ri(w,g,S),E.return=w,w=E)}return i(w);case Xo:e:{for(P=S.key;g!==null;){if(g.key===P)if(g.tag===4&&g.stateNode.containerInfo===S.containerInfo&&g.stateNode.implementation===S.implementation){n(w,g.sibling),g=o(g,S.children||[]),g.return=w,w=g;break e}else{n(w,g);break}else t(w,g);g=g.sibling}g=Wc(S,w.mode,E),g.return=w,w=g}return i(w);case $r:return P=S._init,_(w,g,P(S._payload),E)}if(pi(S))return v(w,g,S,E);if(ql(S))return h(w,g,S,E);Ns(w,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,g!==null&&g.tag===6?(n(w,g.sibling),g=o(g,S),g.return=w,w=g):(n(w,g),g=jc(S,w.mode,E),g.return=w,w=g),i(w)):n(w,g)}return _}var xl=vy(!0),wy=vy(!1),is={},sr=Qr(is),Ui=Qr(is),Vi=Qr(is);function ho(e){if(e===is)throw Error(B(174));return e}function Vd(e,t){switch(je(Vi,t),je(Ui,e),je(sr,is),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:hf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=hf(t,e)}Ge(sr),je(sr,t)}function kl(){Ge(sr),Ge(Ui),Ge(Vi)}function Sy(e){ho(Vi.current);var t=ho(sr.current),n=hf(t,e.type);t!==n&&(je(Ui,e),je(sr,n))}function Hd(e){Ui.current===e&&(Ge(sr),Ge(Ui))}var Ze=Qr(0);function _u(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 Ac=[];function Kd(){for(var e=0;en?n:4,e(!0);var r=Lc.transition;Lc.transition={};try{e(!1),t()}finally{Me=n,Lc.transition=r}}function Ly(){return On().memoizedState}function gx(e,t,n){var r=Vr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Dy(e))Fy(t,n);else if(n=hy(e,t,n,r),n!==null){var o=Gt();Kn(n,e,r,o),By(n,t,r)}}function yx(e,t,n){var r=Vr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Dy(e))Fy(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,u=l(i,n);if(o.hasEagerState=!0,o.eagerState=u,Gn(u,i)){var a=t.interleaved;a===null?(o.next=o,Wd(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=hy(e,t,o,r),n!==null&&(o=Gt(),Kn(n,e,r,o),By(n,t,r))}}function Dy(e){var t=e.alternate;return e===qe||t!==null&&t===qe}function Fy(e,t){Ei=Eu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function By(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pd(e,n)}}var Cu={readContext:$n,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useInsertionEffect:Ft,useLayoutEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useMutableSource:Ft,useSyncExternalStore:Ft,useId:Ft,unstable_isNewReconciler:!1},vx={readContext:$n,useCallback:function(e,t){return tr().memoizedState=[e,t===void 0?null:t],e},useContext:$n,useEffect:um,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Zs(4194308,4,$y.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Zs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Zs(4,2,e,t)},useMemo:function(e,t){var n=tr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tr();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=gx.bind(null,qe,e),[r.memoizedState,e]},useRef:function(e){var t=tr();return e={current:e},t.memoizedState=e},useState:sm,useDebugValue:Zd,useDeferredValue:function(e){return tr().memoizedState=e},useTransition:function(){var e=sm(!1),t=e[0];return e=mx.bind(null,e[1]),tr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=qe,o=tr();if(Xe){if(n===void 0)throw Error(B(407));n=n()}else{if(n=t(),kt===null)throw Error(B(349));ko&30||_y(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,um(Cy.bind(null,r,l,e),[e]),r.flags|=2048,Gi(9,Ey.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=tr(),t=kt.identifierPrefix;if(Xe){var n=gr,r=mr;n=(r&~(1<<32-Hn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[or]=t,e[Wi]=r,Yy(e,t,!1,!1),t.stateNode=e;e:{switch(i=gf(n,r),n){case"dialog":Ke("cancel",e),Ke("close",e),o=r;break;case"iframe":case"object":case"embed":Ke("load",e),o=r;break;case"video":case"audio":for(o=0;oEl&&(t.flags|=128,r=!0,oi(l,!1),t.lanes=4194304)}else{if(!r)if(e=_u(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),oi(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!Xe)return Bt(t),null}else 2*lt()-l.renderingStartTime>El&&n!==1073741824&&(t.flags|=128,r=!0,oi(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=lt(),t.sibling=null,n=Ze.current,je(Ze,r?n&1|2:n&1),t):(Bt(t),null);case 22:case 23:return rp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?dn&1073741824&&(Bt(t),t.subtreeFlags&6&&(t.flags|=8192)):Bt(t),null;case 24:return null;case 25:return null}throw Error(B(156,t.tag))}function bx(e,t){switch(Dd(t),t.tag){case 1:return sn(t.type)&&gu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return kl(),Ge(ln),Ge(Ut),Kd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Hd(t),null;case 13:if(Ge(Ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(B(340));Sl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(Ze),null;case 4:return kl(),null;case 10:return jd(t.type._context),null;case 22:case 23:return rp(),null;case 24:return null;default:return null}}var As=!1,Wt=!1,Tx=typeof WeakSet=="function"?WeakSet:Set,Z=null;function il(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){nt(e,t,r)}else n.current=null}function Uf(e,t,n){try{n()}catch(r){nt(e,t,r)}}var ym=!1;function Px(e,t){if(bf=du,e=ey(),Ad(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 o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,u=-1,a=-1,s=0,f=0,p=e,c=null;t:for(;;){for(var m;p!==n||o!==0&&p.nodeType!==3||(u=i+o),p!==l||r!==0&&p.nodeType!==3||(a=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(m=p.firstChild)!==null;)c=p,p=m;for(;;){if(p===e)break t;if(c===n&&++s===o&&(u=i),c===l&&++f===r&&(a=i),(m=p.nextSibling)!==null)break;p=c,c=p.parentNode}p=m}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Tf={focusedElem:e,selectionRange:n},du=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var h=v.memoizedProps,_=v.memoizedState,w=t.stateNode,g=w.getSnapshotBeforeUpdate(t.elementType===t.type?h:Wn(t.type,h),_);w.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(B(163))}}catch(E){nt(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return v=ym,ym=!1,v}function Ci(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&Uf(t,n,l)}o=o.next}while(o!==r)}}function Xu(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 Vf(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 Zy(e){var t=e.alternate;t!==null&&(e.alternate=null,Zy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[or],delete t[Wi],delete t[Rf],delete t[cx],delete t[fx])),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 qy(e){return e.tag===5||e.tag===3||e.tag===4}function vm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qy(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 Hf(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=mu));else if(r!==4&&(e=e.child,e!==null))for(Hf(e,t,n),e=e.sibling;e!==null;)Hf(e,t,n),e=e.sibling}function Kf(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(Kf(e,t,n),e=e.sibling;e!==null;)Kf(e,t,n),e=e.sibling}var Rt=null,Un=!1;function Mr(e,t,n){for(n=n.child;n!==null;)Jy(e,t,n),n=n.sibling}function Jy(e,t,n){if(ir&&typeof ir.onCommitFiberUnmount=="function")try{ir.onCommitFiberUnmount(Wu,n)}catch{}switch(n.tag){case 5:Wt||il(n,t);case 6:var r=Rt,o=Un;Rt=null,Mr(e,t,n),Rt=r,Un=o,Rt!==null&&(Un?(e=Rt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Rt.removeChild(n.stateNode));break;case 18:Rt!==null&&(Un?(e=Rt,n=n.stateNode,e.nodeType===8?Nc(e.parentNode,n):e.nodeType===1&&Nc(e,n),Di(e)):Nc(Rt,n.stateNode));break;case 4:r=Rt,o=Un,Rt=n.stateNode.containerInfo,Un=!0,Mr(e,t,n),Rt=r,Un=o;break;case 0:case 11:case 14:case 15:if(!Wt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&Uf(n,t,i),o=o.next}while(o!==r)}Mr(e,t,n);break;case 1:if(!Wt&&(il(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){nt(n,t,u)}Mr(e,t,n);break;case 21:Mr(e,t,n);break;case 22:n.mode&1?(Wt=(r=Wt)||n.memoizedState!==null,Mr(e,t,n),Wt=r):Mr(e,t,n);break;default:Mr(e,t,n)}}function wm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Tx),t.forEach(function(r){var o=Dx.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function jn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=lt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Rx(r/1960))-r,10e?16:e,Lr===null)var r=!1;else{if(e=Lr,Lr=null,Pu=0,Se&6)throw Error(B(331));var o=Se;for(Se|=4,Z=e.current;Z!==null;){var l=Z,i=l.child;if(Z.flags&16){var u=l.deletions;if(u!==null){for(var a=0;alt()-tp?yo(e,0):ep|=n),un(e,t)}function s1(e,t){t===0&&(e.mode&1?(t=bs,bs<<=1,!(bs&130023424)&&(bs=4194304)):t=1);var n=Gt();e=_r(e,t),e!==null&&(rs(e,t,n),un(e,n))}function Lx(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),s1(e,n)}function Dx(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(B(314))}r!==null&&r.delete(t),s1(e,n)}var u1;u1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ln.current)on=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return on=!1,Ex(e,t,n);on=!!(e.flags&131072)}else on=!1,Xe&&t.flags&1048576&&fy(t,wu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qs(e,t),e=t.pendingProps;var o=wl(t,Ut.current);dl(t,n),o=Yd(null,t,r,e,o,n);var l=Qd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,sn(r)?(l=!0,yu(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ud(t),o.updater=Yu,t.stateNode=o,o._reactInternals=t,Lf(t,r,e,n),t=Bf(null,t,r,!0,l,n)):(t.tag=0,Xe&&l&&Ld(t),Ht(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qs(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Bx(r),e=Wn(r,e),o){case 0:t=Ff(null,t,r,e,n);break e;case 1:t=hm(null,t,r,e,n);break e;case 11:t=dm(null,t,r,e,n);break e;case 14:t=pm(null,t,r,Wn(r.type,e),n);break e}throw Error(B(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Wn(r,o),Ff(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Wn(r,o),hm(e,t,r,o,n);case 3:e:{if(Hy(t),e===null)throw Error(B(387));r=t.pendingProps,l=t.memoizedState,o=l.element,my(e,t),ku(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=_l(Error(B(423)),t),t=mm(e,t,r,n,o);break e}else if(r!==o){o=_l(Error(B(424)),t),t=mm(e,t,r,n,o);break e}else for(hn=jr(t.stateNode.containerInfo.firstChild),mn=t,Xe=!0,Vn=null,n=wy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Sl(),r===o){t=Er(e,t,n);break e}Ht(e,t,r,n)}t=t.child}return t;case 5:return Sy(t),e===null&&Nf(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Pf(r,o)?i=null:l!==null&&Pf(r,l)&&(t.flags|=32),Vy(e,t),Ht(e,t,i,n),t.child;case 6:return e===null&&Nf(t),null;case 13:return Ky(e,t,n);case 4:return Vd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=xl(t,null,r,n):Ht(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Wn(r,o),dm(e,t,r,o,n);case 7:return Ht(e,t,t.pendingProps,n),t.child;case 8:return Ht(e,t,t.pendingProps.children,n),t.child;case 12:return Ht(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,je(Su,r._currentValue),r._currentValue=i,l!==null)if(Gn(l.value,i)){if(l.children===o.children&&!ln.current){t=Er(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var u=l.dependencies;if(u!==null){i=l.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(l.tag===1){a=yr(-1,n&-n),a.tag=2;var s=l.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?a.next=a:(a.next=f.next,f.next=a),s.pending=a}}l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),zf(l.return,n,t),u.lanes|=n;break}a=a.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(B(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),zf(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}Ht(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,dl(t,n),o=$n(o),r=r(o),t.flags|=1,Ht(e,t,r,n),t.child;case 14:return r=t.type,o=Wn(r,t.pendingProps),o=Wn(r.type,o),pm(e,t,r,o,n);case 15:return Wy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Wn(r,o),qs(e,t),t.tag=1,sn(r)?(e=!0,yu(t)):e=!1,dl(t,n),yy(t,r,o),Lf(t,r,o,n),Bf(null,t,r,!0,e,n);case 19:return Gy(e,t,n);case 22:return Uy(e,t,n)}throw Error(B(156,t.tag))};function a1(e,t){return Ag(e,t)}function Fx(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 Pn(e,t,n,r){return new Fx(e,t,n,r)}function lp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Bx(e){if(typeof e=="function")return lp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ed)return 11;if(e===Cd)return 14}return 2}function Hr(e,t){var n=e.alternate;return n===null?(n=Pn(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 tu(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")lp(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Zo:return vo(n.children,o,l,t);case _d:i=8,o|=8;break;case lf:return e=Pn(12,n,t,o|2),e.elementType=lf,e.lanes=l,e;case sf:return e=Pn(13,n,t,o),e.elementType=sf,e.lanes=l,e;case uf:return e=Pn(19,n,t,o),e.elementType=uf,e.lanes=l,e;case vg:return qu(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gg:i=10;break e;case yg:i=9;break e;case Ed:i=11;break e;case Cd:i=14;break e;case $r:i=16,r=null;break e}throw Error(B(130,e==null?e:typeof e,""))}return t=Pn(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function vo(e,t,n,r){return e=Pn(7,e,r,t),e.lanes=n,e}function qu(e,t,n,r){return e=Pn(22,e,r,t),e.elementType=vg,e.lanes=n,e.stateNode={isHidden:!1},e}function jc(e,t,n){return e=Pn(6,e,null,t),e.lanes=n,e}function Wc(e,t,n){return t=Pn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ix(e,t,n,r,o){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=kc(0),this.expirationTimes=kc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ip(e,t,n,r,o,l,i,u,a){return e=new Ix(e,t,n,u,a),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Pn(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ud(l),e}function jx(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=wn})(Ww);var Tm=nf;tf.createRoot=Tm.createRoot,tf.hydrateRoot=Tm.hydrateRoot;function Kx(e){if(Array.isArray(e))return e}function Gx(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,l,i,u=[],a=!0,s=!1;try{if(l=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=l.call(n)).done)&&(u.push(r.value),u.length!==t);a=!0);}catch(f){s=!0,o=f}finally{try{if(!a&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return u}}function Pm(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&(n[o]=e[o]);return n}function Xx(e,t){if(e==null)return{};var n=Ae(e,t),r,o;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var Zx=function(t){var n={source:null,listenersByName:new Map};return{addEventListener:function(o,l){if(n.listenersByName.size||(n.source=t()),!n.source)throw new Error("The source doesn't exist");var i=n.listenersByName.get(o)||new Set;i.add(l),n.listenersByName.set(o,i),n.source.addEventListener(o,l)},removeEventListener:function(o,l){if(!n.source)throw new Error("The source doesn't exist");var i=n.listenersByName.get(o)||new Set;i.delete(l),i.size||n.listenersByName.delete(o),n.source.removeEventListener(o,l),n.listenersByName.size||(n.source.close(),n.source=null)}}},qx=["children"],cp=N.createContext(null);cp.Consumer;var Jx=function(t){return"source"in t},e2=function(t){return function(){return new window.EventSource(t)}},t2=function(t){var n=t.children,r=Xx(t,qx),o=N.useState(function(){return Zx(Jx(r)?r.source:e2(r.endpoint))}),l=p1(o,1),i=l[0];return N.createElement(cp.Provider,{value:i},n)};function n2(e,t,n){var r=n||{},o=r.stateReducer,l=o===void 0?function(h,_){return _.data}:o,i=r.parser,u=i===void 0?function(h){return JSON.parse(h)}:i,a=r.context,s=a===void 0?cp:a,f=N.useContext(s),p=N.useReducer(l,t),c=p1(p,2),m=c[0],v=c[1];if(!f)throw new Error("Could not find an SSE context; You have to wrap useSSE() in a .");return N.useEffect(function(){var h=function(w){var g=u(w.data);v({event:w,data:g})};return f.addEventListener(e,h),function(){f.removeEventListener(e,h)}},[]),m}const r2={black:"#000",white:"#fff"},Qi=r2,o2={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Io=o2,l2={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},jo=l2,i2={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Wo=i2,s2={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Uo=s2,u2={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Vo=u2,a2={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ii=a2,c2={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},f2=c2;function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=h1(e[n])}),t}function vr(e,t,n={clone:!0}){const r=n.clone?W({},e):e;return so(e)&&so(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(so(t[o])&&o in e&&so(e[o])?r[o]=vr(e[o],t[o],n):n.clone?r[o]=so(t[o])?h1(t[o]):t[o]:r[o]=t[o])}),r}var Pi={},d2={get exports(){return Pi},set exports(e){Pi=e}},p2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",h2=p2,m2=h2;function m1(){}function g1(){}g1.resetWarningCache=m1;var g2=function(){function e(r,o,l,i,u,a){if(a!==m2){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:g1,resetWarningCache:m1};return n.PropTypes=n,n};d2.exports=g2();function Cl(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{e.apply(this,o)};clearTimeout(n),n=setTimeout(l,t)}return r.clear=()=>{clearTimeout(n)},r}function v1(e){return e&&e.ownerDocument||document}function w1(e){return v1(e).defaultView||window}function S2(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const x2=typeof window<"u"?N.useLayoutEffect:N.useEffect,k2=x2;function mo(e){const t=N.useRef(e);return k2(()=>{t.current=e}),N.useCallback((...n)=>(0,t.current)(...n),[])}function Rm(...e){return N.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{S2(n,t)})},e)}let pa=!0,qf=!1,$m;const _2={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function E2(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&_2[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function C2(e){e.metaKey||e.altKey||e.ctrlKey||(pa=!0)}function Uc(){pa=!1}function b2(){this.visibilityState==="hidden"&&qf&&(pa=!0)}function T2(e){e.addEventListener("keydown",C2,!0),e.addEventListener("mousedown",Uc,!0),e.addEventListener("pointerdown",Uc,!0),e.addEventListener("touchstart",Uc,!0),e.addEventListener("visibilitychange",b2,!0)}function P2(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return pa||E2(t)}function M2(){const e=N.useCallback(o=>{o!=null&&T2(o.ownerDocument)},[]),t=N.useRef(!1);function n(){return t.current?(qf=!0,window.clearTimeout($m),$m=window.setTimeout(()=>{qf=!1},100),t.current=!1,!0):!1}function r(o){return P2(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}let Ho;function S1(){if(Ho)return Ho;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Ho="reverse",e.scrollLeft>0?Ho="default":(e.scrollLeft=1,e.scrollLeft===0&&(Ho="negative")),document.body.removeChild(e),Ho}function Om(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(S1()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function x1(e,t){const n=W({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=W({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},l=t[r];n[r]={},!l||!Object.keys(l)?n[r]=o:!o||!Object.keys(o)?n[r]=l:(n[r]=W({},l),Object.keys(o).forEach(i=>{n[r][i]=x1(o[i],l[i])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Yn(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((l,i)=>{if(i){const u=t(i);u!==""&&l.push(u),n&&n[i]&&l.push(n[i])}return l},[]).join(" ")}),r}const Nm=e=>e,R2=()=>{let e=Nm;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Nm}}},$2=R2(),k1=$2,O2={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function zn(e,t,n="Mui"){const r=O2[t];return r?`${n}-${r}`:`${k1.generate(e)}-${t}`}function An(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=zn(e,o,n)}),r}function _1(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var N2=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,z2=_1(function(e){return N2.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function A2(e){if(e.sheet)return e.sheet;for(var t=0;t0?$t(Dl,--an):0,bl--,at===10&&(bl=1,ma--),at}function gn(){return at=an2||Zi(at)>3?"":" "}function G2(e,t){for(;--t&&gn()&&!(at<48||at>102||at>57&&at<65||at>70&&at<97););return ss(e,nu()+(t<6&&ur()==32&&gn()==32))}function ed(e){for(;gn();)switch(at){case e:return an;case 34:case 39:e!==34&&e!==39&&ed(at);break;case 40:e===41&&ed(e);break;case 92:gn();break}return an}function Y2(e,t){for(;gn()&&e+at!==47+10;)if(e+at===42+42&&ur()===47)break;return"/*"+ss(t,an-1)+"*"+ha(e===47?e:gn())}function Q2(e){for(;!Zi(ur());)gn();return ss(e,an)}function X2(e){return M1(ou("",null,null,null,[""],e=P1(e),0,[0],e))}function ou(e,t,n,r,o,l,i,u,a){for(var s=0,f=0,p=i,c=0,m=0,v=0,h=1,_=1,w=1,g=0,S="",E=o,C=l,P=r,b=S;_;)switch(v=g,g=gn()){case 40:if(v!=108&&$t(b,p-1)==58){Jf(b+=Te(ru(g),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:b+=ru(g);break;case 9:case 10:case 13:case 32:b+=K2(v);break;case 92:b+=G2(nu()-1,7);continue;case 47:switch(ur()){case 42:case 47:Fs(Z2(Y2(gn(),nu()),t,n),a);break;default:b+="/"}break;case 123*h:u[s++]=nr(b)*w;case 125*h:case 59:case 0:switch(g){case 0:case 125:_=0;case 59+f:m>0&&nr(b)-p&&Fs(m>32?Am(b+";",r,n,p-1):Am(Te(b," ","")+";",r,n,p-2),a);break;case 59:b+=";";default:if(Fs(P=zm(b,t,n,s,f,o,u,S,E=[],C=[],p),l),g===123)if(f===0)ou(b,t,P,P,E,l,p,u,C);else switch(c===99&&$t(b,3)===110?100:c){case 100:case 109:case 115:ou(e,P,P,r&&Fs(zm(e,P,P,0,0,o,u,S,o,E=[],p),C),o,C,p,u,r?E:C);break;default:ou(b,P,P,P,[""],C,0,u,C)}}s=f=m=0,h=w=1,S=b="",p=i;break;case 58:p=1+nr(b),m=v;default:if(h<1){if(g==123)--h;else if(g==125&&h++==0&&H2()==125)continue}switch(b+=ha(g),g*h){case 38:w=f>0?1:(b+="\f",-1);break;case 44:u[s++]=(nr(b)-1)*w,w=1;break;case 64:ur()===45&&(b+=ru(gn())),c=ur(),f=p=nr(S=b+=Q2(nu())),g++;break;case 45:v===45&&nr(b)==2&&(h=0)}}return l}function zm(e,t,n,r,o,l,i,u,a,s,f){for(var p=o-1,c=o===0?l:[""],m=mp(c),v=0,h=0,_=0;v0?c[w]+" "+g:Te(g,/&\f/g,c[w])))&&(a[_++]=S);return ga(e,t,n,o===0?pp:u,a,s,f)}function Z2(e,t,n){return ga(e,t,n,E1,ha(V2()),Xi(e,2,-2),0)}function Am(e,t,n,r){return ga(e,t,n,hp,Xi(e,0,r),Xi(e,r+1,-1),r)}function hl(e,t){for(var n="",r=mp(e),o=0;o6)switch($t(e,t+1)){case 109:if($t(e,t+4)!==45)break;case 102:return Te(e,/(.+:)(.+)-([^]+)/,"$1"+ke+"$2-$3$1"+$u+($t(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jf(e,"stretch")?R1(Te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if($t(e,t+1)!==115)break;case 6444:switch($t(e,nr(e)-3-(~Jf(e,"!important")&&10))){case 107:return Te(e,":",":"+ke)+e;case 101:return Te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ke+($t(e,14)===45?"inline-":"")+"box$3$1"+ke+"$2$3$1"+It+"$2box$3")+e}break;case 5936:switch($t(e,t+11)){case 114:return ke+e+It+Te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ke+e+It+Te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ke+e+It+Te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ke+e+It+e+e}return e}var ik=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case hp:t.return=R1(t.value,t.length);break;case C1:return hl([si(t,{value:Te(t.value,"@","@"+ke)})],o);case pp:if(t.length)return U2(t.props,function(l){switch(W2(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hl([si(t,{props:[Te(l,/:(read-\w+)/,":"+$u+"$1")]})],o);case"::placeholder":return hl([si(t,{props:[Te(l,/:(plac\w+)/,":"+ke+"input-$1")]}),si(t,{props:[Te(l,/:(plac\w+)/,":"+$u+"$1")]}),si(t,{props:[Te(l,/:(plac\w+)/,It+"input-$1")]})],o)}return""})}},sk=[ik],uk=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var _=h.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||sk,l={},i,u=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var _=h.getAttribute("data-emotion").split(" "),w=1;w<_.length;w++)l[_[w]]=!0;u.push(h)});var a,s=[ok,lk];{var f,p=[q2,ek(function(h){f.insert(h)})],c=J2(s.concat(o,p)),m=function(_){return hl(X2(_),c)};a=function(_,w,g,S){f=g,m(_?_+"{"+w.styles+"}":w.styles),S&&(v.inserted[w.name]=!0)}}var v={key:n,sheet:new D2({key:n,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:l,registered:{},insert:a};return v.sheet.hydrate(u),v},td={},ak={get exports(){return td},set exports(e){td=e}},$e={};/** @license React v16.13.1 - * react-is.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 Et=typeof Symbol=="function"&&Symbol.for,gp=Et?Symbol.for("react.element"):60103,yp=Et?Symbol.for("react.portal"):60106,ya=Et?Symbol.for("react.fragment"):60107,va=Et?Symbol.for("react.strict_mode"):60108,wa=Et?Symbol.for("react.profiler"):60114,Sa=Et?Symbol.for("react.provider"):60109,xa=Et?Symbol.for("react.context"):60110,vp=Et?Symbol.for("react.async_mode"):60111,ka=Et?Symbol.for("react.concurrent_mode"):60111,_a=Et?Symbol.for("react.forward_ref"):60112,Ea=Et?Symbol.for("react.suspense"):60113,ck=Et?Symbol.for("react.suspense_list"):60120,Ca=Et?Symbol.for("react.memo"):60115,ba=Et?Symbol.for("react.lazy"):60116,fk=Et?Symbol.for("react.block"):60121,dk=Et?Symbol.for("react.fundamental"):60117,pk=Et?Symbol.for("react.responder"):60118,hk=Et?Symbol.for("react.scope"):60119;function xn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case gp:switch(e=e.type,e){case vp:case ka:case ya:case wa:case va:case Ea:return e;default:switch(e=e&&e.$$typeof,e){case xa:case _a:case ba:case Ca:case Sa:return e;default:return t}}case yp:return t}}}function $1(e){return xn(e)===ka}$e.AsyncMode=vp;$e.ConcurrentMode=ka;$e.ContextConsumer=xa;$e.ContextProvider=Sa;$e.Element=gp;$e.ForwardRef=_a;$e.Fragment=ya;$e.Lazy=ba;$e.Memo=Ca;$e.Portal=yp;$e.Profiler=wa;$e.StrictMode=va;$e.Suspense=Ea;$e.isAsyncMode=function(e){return $1(e)||xn(e)===vp};$e.isConcurrentMode=$1;$e.isContextConsumer=function(e){return xn(e)===xa};$e.isContextProvider=function(e){return xn(e)===Sa};$e.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===gp};$e.isForwardRef=function(e){return xn(e)===_a};$e.isFragment=function(e){return xn(e)===ya};$e.isLazy=function(e){return xn(e)===ba};$e.isMemo=function(e){return xn(e)===Ca};$e.isPortal=function(e){return xn(e)===yp};$e.isProfiler=function(e){return xn(e)===wa};$e.isStrictMode=function(e){return xn(e)===va};$e.isSuspense=function(e){return xn(e)===Ea};$e.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ya||e===ka||e===wa||e===va||e===Ea||e===ck||typeof e=="object"&&e!==null&&(e.$$typeof===ba||e.$$typeof===Ca||e.$$typeof===Sa||e.$$typeof===xa||e.$$typeof===_a||e.$$typeof===dk||e.$$typeof===pk||e.$$typeof===hk||e.$$typeof===fk)};$e.typeOf=xn;(function(e){e.exports=$e})(ak);var O1=td,mk={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gk={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},N1={};N1[O1.ForwardRef]=mk;N1[O1.Memo]=gk;var yk=!0;function vk(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var z1=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||yk===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},wk=function(t,n,r){z1(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var l=n;do t.insert(n===l?"."+o:"",l,t.sheet,!0),l=l.next;while(l!==void 0)}};function Sk(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var xk={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},kk=/[A-Z]|^ms/g,_k=/_EMO_([^_]+?)_([^]*?)_EMO_/g,A1=function(t){return t.charCodeAt(1)===45},Dm=function(t){return t!=null&&typeof t!="boolean"},Vc=_1(function(e){return A1(e)?e:e.replace(kk,"-$&").toLowerCase()}),Fm=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(_k,function(r,o,l){return rr={name:o,styles:l,next:rr},o})}return xk[t]!==1&&!A1(t)&&typeof n=="number"&&n!==0?n+"px":n};function qi(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return rr={name:n.name,styles:n.styles,next:rr},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)rr={name:r.name,styles:r.styles,next:rr},r=r.next;var o=n.styles+";";return o}return Ek(e,t,n)}case"function":{if(e!==void 0){var l=rr,i=n(e);return rr=l,qi(e,t,i)}break}}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function Ek(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Rk:$k},jm=function(t,n,r){var o;if(n){var l=n.shouldForwardProp;o=t.__emotion_forwardProp&&l?function(i){return t.__emotion_forwardProp(i)&&l(i)}:l}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Ok=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return z1(n,r,o),Tk(function(){return wk(n,r,o)}),null},Nk=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,l,i;n!==void 0&&(l=n.label,i=n.target);var u=jm(t,n,r),a=u||Im(o),s=!a("as");return function(){var f=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&p.push("label:"+l+";"),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{p.push(f[0][0]);for(var c=f.length,m=1;m{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Mi(e,t){return t?vr(e,t,{clone:!1}):e}const Sp={xs:0,sm:600,md:900,lg:1200,xl:1536},Wm={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Sp[e]}px)`};function vn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const l=r.breakpoints||Wm;return t.reduce((i,u,a)=>(i[l.up(l.keys[a])]=n(t[a]),i),{})}if(typeof t=="object"){const l=r.breakpoints||Wm;return Object.keys(t).reduce((i,u)=>{if(Object.keys(l.values||Sp).indexOf(u)!==-1){const a=l.up(u);i[a]=n(t[u],u)}else{const a=u;i[a]=t[a]}return i},{})}return n(t)}function Fk(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const l=e.up(o);return r[l]={},r},{}))||{}}function Bk(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ik(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,l)=>{l{e[o]!=null&&(n[o]=!0)}),n}function Ta({values:e,breakpoints:t,base:n}){const r=n||Ik(e,t),o=Object.keys(r);if(o.length===0)return e;let l;return o.reduce((i,u,a)=>(Array.isArray(e)?(i[u]=e[a]!=null?e[a]:e[l],l=a):typeof e=="object"?(i[u]=e[u]!=null?e[u]:e[l],l=u):i[u]=e,i),{})}function Pa(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,l)=>o&&o[l]?o[l]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ou(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Pa(e,n)||r,t&&(o=t(o,r,e)),o}function Pe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,l=i=>{if(i[t]==null)return null;const u=i[t],a=i.theme,s=Pa(a,r)||{};return vn(i,u,p=>{let c=Ou(s,o,p);return p===c&&typeof p=="string"&&(c=Ou(s,o,`${t}${p==="default"?"":_t(p)}`,p)),n===!1?c:{[n]:c}})};return l.propTypes={},l.filterProps=[t],l}function Ma(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(l=>{r[l]=o}),r),{}),n=r=>Object.keys(r).reduce((o,l)=>t[l]?Mi(o,t[l](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function jk(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Wk={m:"margin",p:"padding"},Uk={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Um={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Vk=jk(e=>{if(e.length>2)if(Um[e])e=Um[e];else return[e];const[t,n]=e.split(""),r=Wk[t],o=Uk[n]||"";return Array.isArray(o)?o.map(l=>r+l):[r+o]}),xp=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],kp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...xp,...kp];function us(e,t,n,r){var o;const l=(o=Pa(e,t,!1))!=null?o:n;return typeof l=="number"?i=>typeof i=="string"?i:l*i:Array.isArray(l)?i=>typeof i=="string"?i:l[i]:typeof l=="function"?l:()=>{}}function I1(e){return us(e,"spacing",8)}function as(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function Hk(e,t){return n=>e.reduce((r,o)=>(r[o]=as(t,n),r),{})}function Kk(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Vk(n),l=Hk(o,r),i=e[n];return vn(e,i,l)}function j1(e,t){const n=I1(e.theme);return Object.keys(e).map(r=>Kk(e,t,r,n)).reduce(Mi,{})}function et(e){return j1(e,xp)}et.propTypes={};et.filterProps=xp;function tt(e){return j1(e,kp)}tt.propTypes={};tt.filterProps=kp;function lr(e){return typeof e!="number"?e:`${e}px solid`}const Gk=Pe({prop:"border",themeKey:"borders",transform:lr}),Yk=Pe({prop:"borderTop",themeKey:"borders",transform:lr}),Qk=Pe({prop:"borderRight",themeKey:"borders",transform:lr}),Xk=Pe({prop:"borderBottom",themeKey:"borders",transform:lr}),Zk=Pe({prop:"borderLeft",themeKey:"borders",transform:lr}),qk=Pe({prop:"borderColor",themeKey:"palette"}),Jk=Pe({prop:"borderTopColor",themeKey:"palette"}),e_=Pe({prop:"borderRightColor",themeKey:"palette"}),t_=Pe({prop:"borderBottomColor",themeKey:"palette"}),n_=Pe({prop:"borderLeftColor",themeKey:"palette"}),Ra=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=us(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:as(t,r)});return vn(e,e.borderRadius,n)}return null};Ra.propTypes={};Ra.filterProps=["borderRadius"];Ma(Gk,Yk,Qk,Xk,Zk,qk,Jk,e_,t_,n_,Ra);const $a=e=>{if(e.gap!==void 0&&e.gap!==null){const t=us(e.theme,"spacing",8),n=r=>({gap:as(t,r)});return vn(e,e.gap,n)}return null};$a.propTypes={};$a.filterProps=["gap"];const Oa=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=us(e.theme,"spacing",8),n=r=>({columnGap:as(t,r)});return vn(e,e.columnGap,n)}return null};Oa.propTypes={};Oa.filterProps=["columnGap"];const Na=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=us(e.theme,"spacing",8),n=r=>({rowGap:as(t,r)});return vn(e,e.rowGap,n)}return null};Na.propTypes={};Na.filterProps=["rowGap"];const r_=Pe({prop:"gridColumn"}),o_=Pe({prop:"gridRow"}),l_=Pe({prop:"gridAutoFlow"}),i_=Pe({prop:"gridAutoColumns"}),s_=Pe({prop:"gridAutoRows"}),u_=Pe({prop:"gridTemplateColumns"}),a_=Pe({prop:"gridTemplateRows"}),c_=Pe({prop:"gridTemplateAreas"}),f_=Pe({prop:"gridArea"});Ma($a,Oa,Na,r_,o_,l_,i_,s_,u_,a_,c_,f_);function ml(e,t){return t==="grey"?t:e}const d_=Pe({prop:"color",themeKey:"palette",transform:ml}),p_=Pe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ml}),h_=Pe({prop:"backgroundColor",themeKey:"palette",transform:ml});Ma(d_,p_,h_);function pn(e){return e<=1&&e!==0?`${e*100}%`:e}const m_=Pe({prop:"width",transform:pn}),_p=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o,l;return{maxWidth:((r=e.theme)==null||(o=r.breakpoints)==null||(l=o.values)==null?void 0:l[n])||Sp[n]||pn(n)}};return vn(e,e.maxWidth,t)}return null};_p.filterProps=["maxWidth"];const g_=Pe({prop:"minWidth",transform:pn}),y_=Pe({prop:"height",transform:pn}),v_=Pe({prop:"maxHeight",transform:pn}),w_=Pe({prop:"minHeight",transform:pn});Pe({prop:"size",cssProperty:"width",transform:pn});Pe({prop:"size",cssProperty:"height",transform:pn});const S_=Pe({prop:"boxSizing"});Ma(m_,_p,g_,y_,v_,w_,S_);const Hc=e=>t=>{if(t[e]!==void 0&&t[e]!==null){const n=r=>{var o,l;let i=(o=t.theme.typography)==null?void 0:o[`${e}${t[e]==="default"||t[e]===e?"":_t((l=t[e])==null?void 0:l.toString())}`];if(!i){var u,a;i=(u=t.theme.typography)==null||(a=u[r])==null?void 0:a[e]}return i||(i=r),{[e]:i}};return vn(t,t[e],n)}return null},x_={border:{themeKey:"borders",transform:lr},borderTop:{themeKey:"borders",transform:lr},borderRight:{themeKey:"borders",transform:lr},borderBottom:{themeKey:"borders",transform:lr},borderLeft:{themeKey:"borders",transform:lr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ra},color:{themeKey:"palette",transform:ml},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ml},backgroundColor:{themeKey:"palette",transform:ml},p:{style:tt},pt:{style:tt},pr:{style:tt},pb:{style:tt},pl:{style:tt},px:{style:tt},py:{style:tt},padding:{style:tt},paddingTop:{style:tt},paddingRight:{style:tt},paddingBottom:{style:tt},paddingLeft:{style:tt},paddingX:{style:tt},paddingY:{style:tt},paddingInline:{style:tt},paddingInlineStart:{style:tt},paddingInlineEnd:{style:tt},paddingBlock:{style:tt},paddingBlockStart:{style:tt},paddingBlockEnd:{style:tt},m:{style:et},mt:{style:et},mr:{style:et},mb:{style:et},ml:{style:et},mx:{style:et},my:{style:et},margin:{style:et},marginTop:{style:et},marginRight:{style:et},marginBottom:{style:et},marginLeft:{style:et},marginX:{style:et},marginY:{style:et},marginInline:{style:et},marginInlineStart:{style:et},marginInlineEnd:{style:et},marginBlock:{style:et},marginBlockStart:{style:et},marginBlockEnd:{style:et},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:$a},rowGap:{style:Na},columnGap:{style:Oa},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:pn},maxWidth:{style:_p},minWidth:{transform:pn},height:{transform:pn},maxHeight:{transform:pn},minHeight:{transform:pn},boxSizing:{},fontFamily:{themeKey:"typography",style:Hc("fontFamily")},fontSize:{themeKey:"typography",style:Hc("fontSize")},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography",style:Hc("fontWeight")},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},za=x_;function k_(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function __(e,t){return typeof e=="function"?e(t):e}function E_(){function e(n,r,o,l){const i={[n]:r,theme:o},u=l[n];if(!u)return{[n]:r};const{cssProperty:a=n,themeKey:s,transform:f,style:p}=u;if(r==null)return null;const c=Pa(o,s)||{};return p?p(i):vn(i,r,v=>{let h=Ou(c,f,v);return v===h&&typeof v=="string"&&(h=Ou(c,f,`${n}${v==="default"?"":_t(v)}`,v)),a===!1?h:{[a]:h}})}function t(n){var r;const{sx:o,theme:l={}}=n||{};if(!o)return null;const i=(r=l.unstable_sxConfig)!=null?r:za;function u(a){let s=a;if(typeof a=="function")s=a(l);else if(typeof a!="object")return a;if(!s)return null;const f=Fk(l.breakpoints),p=Object.keys(f);let c=f;return Object.keys(s).forEach(m=>{const v=__(s[m],l);if(v!=null)if(typeof v=="object")if(i[m])c=Mi(c,e(m,v,l,i));else{const h=vn({theme:l},v,_=>({[m]:_}));k_(h,v)?c[m]=t({sx:v,theme:l}):c=Mi(c,h)}else c=Mi(c,e(m,v,l,i))}),Bk(p,c)}return Array.isArray(o)?o.map(u):u(o)}return t}const W1=E_();W1.filterProps=["sx"];const Aa=W1,C_=["sx"],b_=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:za;return Object.keys(e).forEach(l=>{o[l]?r.systemProps[l]=e[l]:r.otherProps[l]=e[l]}),r};function Ep(e){const{sx:t}=e,n=Ae(e,C_),{systemProps:r,otherProps:o}=b_(n);let l;return Array.isArray(t)?l=[r,...t]:typeof t=="function"?l=(...i)=>{const u=t(...i);return so(u)?W({},r,u):r}:l=W({},r,t),W({},o,{sx:l})}function U1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>W({},n,{[r.key]:r.val}),{})};function M_(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Ae(e,T_),l=P_(t),i=Object.keys(l);function u(c){return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${n})`}function a(c){return`@media (max-width:${(typeof t[c]=="number"?t[c]:c)-r/100}${n})`}function s(c,m){const v=i.indexOf(m);return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${n}) and (max-width:${(v!==-1&&typeof t[i[v]]=="number"?t[i[v]]:m)-r/100}${n})`}function f(c){return i.indexOf(c)+1(r.length===0?[1]:r).map(l=>{const i=t(l);return typeof i=="number"?`${i}px`:i}).join(" ");return n.mui=!0,n}const N_=["breakpoints","palette","spacing","shape"];function Cp(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:l={}}=e,i=Ae(e,N_),u=M_(n),a=O_(o);let s=vr({breakpoints:u,direction:"ltr",components:{},palette:W({mode:"light"},r),spacing:a,shape:W({},$_,l)},i);return s=t.reduce((f,p)=>vr(f,p),s),s.unstable_sxConfig=W({},za,i==null?void 0:i.unstable_sxConfig),s.unstable_sx=function(p){return Aa({sx:p,theme:this})},s}const z_=N.createContext(null),V1=z_;function H1(){return N.useContext(V1)}const A_=typeof Symbol=="function"&&Symbol.for,L_=A_?Symbol.for("mui.nested"):"__THEME_NESTED__";function D_(e,t){return typeof t=="function"?t(e):W({},e,t)}function F_(e){const{children:t,theme:n}=e,r=H1(),o=N.useMemo(()=>{const l=r===null?n:D_(r,n);return l!=null&&(l[L_]=r!==null),l},[n,r]);return Q.jsx(V1.Provider,{value:o,children:t})}function B_(e){return Object.keys(e).length===0}function I_(e=null){const t=H1();return!t||B_(t)?e:t}const j_=Cp();function La(e=j_){return I_(e)}const W_=["className","component"];function U_(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r}=e,o=B1("div",{shouldForwardProp:i=>i!=="theme"&&i!=="sx"&&i!=="as"})(Aa);return N.forwardRef(function(u,a){const s=La(t),f=Ep(u),{className:p,component:c="div"}=f,m=Ae(f,W_);return Q.jsx(o,W({as:c,ref:a,className:Ie(p,r?r(n):n),theme:s},m))})}const V_=["variant"];function Vm(e){return e.length===0}function K1(e){const{variant:t}=e,n=Ae(e,V_);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=Vm(r)?e[o]:_t(e[o]):r+=`${Vm(r)?o:_t(o)}${_t(e[o].toString())}`}),r}const H_=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],K_=["theme"],G_=["theme"];function ui(e){return Object.keys(e).length===0}function Y_(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Q_=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,X_=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const l=K1(o.props);r[l]=o.style}),r},Z_=(e,t,n,r)=>{var o,l;const{ownerState:i={}}=e,u=[],a=n==null||(o=n.components)==null||(l=o[r])==null?void 0:l.variants;return a&&a.forEach(s=>{let f=!0;Object.keys(s.props).forEach(p=>{i[p]!==s.props[p]&&e[p]!==s.props[p]&&(f=!1)}),f&&u.push(t[K1(s.props)])}),u};function lu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const q_=Cp();function J_(e={}){const{defaultTheme:t=q_,rootShouldForwardProp:n=lu,slotShouldForwardProp:r=lu}=e,o=l=>{const i=ui(l.theme)?t:l.theme;return Aa(W({},l,{theme:i}))};return o.__mui_systemSx=!0,(l,i={})=>{Dk(l,S=>S.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:u,slot:a,skipVariantsResolver:s,skipSx:f,overridesResolver:p}=i,c=Ae(i,H_),m=s!==void 0?s:a&&a!=="Root"||!1,v=f||!1;let h,_=lu;a==="Root"?_=n:a?_=r:Y_(l)&&(_=void 0);const w=B1(l,W({shouldForwardProp:_,label:h},c)),g=(S,...E)=>{const C=E?E.map($=>typeof $=="function"&&$.__emotion_real!==$?R=>{let{theme:z}=R,F=Ae(R,K_);return $(W({theme:ui(z)?t:z},F))}:$):[];let P=S;u&&p&&C.push($=>{const R=ui($.theme)?t:$.theme,z=Q_(u,R);if(z){const F={};return Object.entries(z).forEach(([H,q])=>{F[H]=typeof q=="function"?q(W({},$,{theme:R})):q}),p($,F)}return null}),u&&!m&&C.push($=>{const R=ui($.theme)?t:$.theme;return Z_($,X_(u,R),R,u)}),v||C.push(o);const b=C.length-E.length;if(Array.isArray(S)&&b>0){const $=new Array(b).fill("");P=[...S,...$],P.raw=[...S.raw,...$]}else typeof S=="function"&&S.__emotion_real!==S&&(P=$=>{let{theme:R}=$,z=Ae($,G_);return S(W({theme:ui(R)?t:R},z))});return w(P,...C)};return w.withConfig&&(g.withConfig=w.withConfig),g}}function eE(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:x1(t.components[n].defaultProps,r)}function tE({props:e,name:t,defaultTheme:n}){const r=La(n);return eE({theme:r,name:t,props:e})}function bp(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function nE(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Co(e){if(e.type)return e;if(e.charAt(0)==="#")return Co(nE(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Cl(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(Cl(10,o))}else r=r.split(",");return r=r.map(l=>parseFloat(l)),{type:n,values:r,colorSpace:o}}function Da(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,l)=>l<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function rE(e){e=Co(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),i=(s,f=(s+n/30)%12)=>o-l*Math.max(Math.min(f-3,9-f,1),-1);let u="rgb";const a=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(u+="a",a.push(t[3])),Da({type:u,values:a})}function Hm(e){e=Co(e);let t=e.type==="hsl"||e.type==="hsla"?Co(rE(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function oE(e,t){const n=Hm(e),r=Hm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Km(e,t){return e=Co(e),t=bp(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Da(e)}function lE(e,t){if(e=Co(e),t=bp(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Da(e)}function iE(e,t){if(e=Co(e),t=bp(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Da(e)}const sE={};function uE(e){const t=La();return Q.jsx(F1.Provider,{value:typeof t=="object"?t:sE,children:e.children})}function aE(e){const{children:t,theme:n}=e;return Q.jsx(F_,{theme:n,children:Q.jsx(uE,{children:t})})}function cE(e,t){return W({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const fE=["mode","contrastThreshold","tonalOffset"],Gm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Qi.white,default:Qi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Kc={text:{primary:Qi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Qi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ym(e,t,n,r){const o=r.light||r,l=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=iE(e.main,o):t==="dark"&&(e.dark=lE(e.main,l)))}function dE(e="light"){return e==="dark"?{main:Wo[200],light:Wo[50],dark:Wo[400]}:{main:Wo[700],light:Wo[400],dark:Wo[800]}}function pE(e="light"){return e==="dark"?{main:jo[200],light:jo[50],dark:jo[400]}:{main:jo[500],light:jo[300],dark:jo[700]}}function hE(e="light"){return e==="dark"?{main:Io[500],light:Io[300],dark:Io[700]}:{main:Io[700],light:Io[400],dark:Io[800]}}function mE(e="light"){return e==="dark"?{main:Uo[400],light:Uo[300],dark:Uo[700]}:{main:Uo[700],light:Uo[500],dark:Uo[900]}}function gE(e="light"){return e==="dark"?{main:Vo[400],light:Vo[300],dark:Vo[700]}:{main:Vo[800],light:Vo[500],dark:Vo[900]}}function yE(e="light"){return e==="dark"?{main:ii[400],light:ii[300],dark:ii[700]}:{main:"#ed6c02",light:ii[500],dark:ii[900]}}function vE(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Ae(e,fE),l=e.primary||dE(t),i=e.secondary||pE(t),u=e.error||hE(t),a=e.info||mE(t),s=e.success||gE(t),f=e.warning||yE(t);function p(h){return oE(h,Kc.text.primary)>=n?Kc.text.primary:Gm.text.primary}const c=({color:h,name:_,mainShade:w=500,lightShade:g=300,darkShade:S=700})=>{if(h=W({},h),!h.main&&h[w]&&(h.main=h[w]),!h.hasOwnProperty("main"))throw new Error(Cl(11,_?` (${_})`:"",w));if(typeof h.main!="string")throw new Error(Cl(12,_?` (${_})`:"",JSON.stringify(h.main)));return Ym(h,"light",g,r),Ym(h,"dark",S,r),h.contrastText||(h.contrastText=p(h.main)),h},m={dark:Kc,light:Gm};return vr(W({common:W({},Qi),mode:t,primary:c({color:l,name:"primary"}),secondary:c({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:c({color:u,name:"error"}),warning:c({color:f,name:"warning"}),info:c({color:a,name:"info"}),success:c({color:s,name:"success"}),grey:f2,contrastThreshold:n,getContrastText:p,augmentColor:c,tonalOffset:r},m[t]),o)}const wE=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function SE(e){return Math.round(e*1e5)/1e5}const Qm={textTransform:"uppercase"},Xm='"Roboto", "Helvetica", "Arial", sans-serif';function xE(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Xm,fontSize:o=14,fontWeightLight:l=300,fontWeightRegular:i=400,fontWeightMedium:u=500,fontWeightBold:a=700,htmlFontSize:s=16,allVariants:f,pxToRem:p}=n,c=Ae(n,wE),m=o/14,v=p||(w=>`${w/s*m}rem`),h=(w,g,S,E,C)=>W({fontFamily:r,fontWeight:w,fontSize:v(g),lineHeight:S},r===Xm?{letterSpacing:`${SE(E/g)}em`}:{},C,f),_={h1:h(l,96,1.167,-1.5),h2:h(l,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(u,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(u,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(u,14,1.75,.4,Qm),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Qm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return vr(W({htmlFontSize:s,pxToRem:v,fontFamily:r,fontSize:o,fontWeightLight:l,fontWeightRegular:i,fontWeightMedium:u,fontWeightBold:a},_),c,{clone:!1})}const kE=.2,_E=.14,EE=.12;function Ye(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${kE})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_E})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${EE})`].join(",")}const CE=["none",Ye(0,2,1,-1,0,1,1,0,0,1,3,0),Ye(0,3,1,-2,0,2,2,0,0,1,5,0),Ye(0,3,3,-2,0,3,4,0,0,1,8,0),Ye(0,2,4,-1,0,4,5,0,0,1,10,0),Ye(0,3,5,-1,0,5,8,0,0,1,14,0),Ye(0,3,5,-1,0,6,10,0,0,1,18,0),Ye(0,4,5,-2,0,7,10,1,0,2,16,1),Ye(0,5,5,-3,0,8,10,1,0,3,14,2),Ye(0,5,6,-3,0,9,12,1,0,3,16,2),Ye(0,6,6,-3,0,10,14,1,0,4,18,3),Ye(0,6,7,-4,0,11,15,1,0,4,20,3),Ye(0,7,8,-4,0,12,17,2,0,5,22,4),Ye(0,7,8,-4,0,13,19,2,0,5,24,4),Ye(0,7,9,-4,0,14,21,2,0,5,26,4),Ye(0,8,9,-5,0,15,22,2,0,6,28,5),Ye(0,8,10,-5,0,16,24,2,0,6,30,5),Ye(0,8,11,-5,0,17,26,2,0,6,32,5),Ye(0,9,11,-5,0,18,28,2,0,7,34,6),Ye(0,9,12,-6,0,19,29,2,0,7,36,6),Ye(0,10,13,-6,0,20,31,3,0,8,38,7),Ye(0,10,13,-6,0,21,33,3,0,8,40,7),Ye(0,10,14,-6,0,22,35,3,0,8,42,7),Ye(0,11,14,-7,0,23,36,3,0,9,44,8),Ye(0,11,15,-7,0,24,38,3,0,9,46,8)],bE=CE,TE=["duration","easing","delay"],PE={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ME={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Zm(e){return`${Math.round(e)}ms`}function RE(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function $E(e){const t=W({},PE,e.easing),n=W({},ME,e.duration);return W({getAutoHeightDuration:RE,create:(o=["all"],l={})=>{const{duration:i=n.standard,easing:u=t.easeInOut,delay:a=0}=l;return Ae(l,TE),(Array.isArray(o)?o:[o]).map(s=>`${s} ${typeof i=="string"?i:Zm(i)} ${u} ${typeof a=="string"?a:Zm(a)}`).join(",")}},e,{easing:t,duration:n})}const OE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},NE=OE,zE=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Tp(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:l={}}=e,i=Ae(e,zE);if(e.vars)throw new Error(Cl(18));const u=vE(r),a=Cp(e);let s=vr(a,{mixins:cE(a.breakpoints,n),palette:u,shadows:bE.slice(),typography:xE(u,l),transitions:$E(o),zIndex:W({},NE)});return s=vr(s,i),s=t.reduce((f,p)=>vr(f,p),s),s.unstable_sxConfig=W({},za,i==null?void 0:i.unstable_sxConfig),s.unstable_sx=function(p){return Aa({sx:p,theme:this})},s}const AE=Tp(),Pp=AE;function Fa(){return La(Pp)}function Ln({props:e,name:t}){return tE({props:e,name:t,defaultTheme:Pp})}const LE=e=>lu(e)&&e!=="classes",DE=J_({defaultTheme:Pp,rootShouldForwardProp:LE}),At=DE,FE=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},qm=FE;function BE(e){return zn("MuiSvgIcon",e)}An("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const IE=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],jE=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${_t(t)}`,`fontSize${_t(n)}`]};return Yn(o,BE,r)},WE=At("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${_t(n.color)}`],t[`fontSize${_t(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,l,i,u,a,s,f,p,c,m,v,h,_,w,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(l=o.duration)==null?void 0:l.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(u=i.pxToRem)==null?void 0:u.call(i,20))||"1.25rem",medium:((a=e.typography)==null||(s=a.pxToRem)==null?void 0:s.call(a,24))||"1.5rem",large:((f=e.typography)==null||(p=f.pxToRem)==null?void 0:p.call(f,35))||"2.1875rem"}[t.fontSize],color:(c=(m=(e.vars||e).palette)==null||(v=m[t.color])==null?void 0:v.main)!=null?c:{action:(h=(e.vars||e).palette)==null||(_=h.action)==null?void 0:_.active,disabled:(w=(e.vars||e).palette)==null||(g=w.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),G1=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiSvgIcon"}),{children:o,className:l,color:i="inherit",component:u="svg",fontSize:a="medium",htmlColor:s,inheritViewBox:f=!1,titleAccess:p,viewBox:c="0 0 24 24"}=r,m=Ae(r,IE),v=W({},r,{color:i,component:u,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:c}),h={};f||(h.viewBox=c);const _=jE(v);return Q.jsxs(WE,W({as:u,className:Ie(_.root,l),focusable:"false",color:s,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:n},h,m,{ownerState:v,children:[o,p?Q.jsx("title",{children:p}):null]}))});G1.muiName="SvgIcon";const Jm=G1;function Y1(e,t){function n(r,o){return Q.jsx(Jm,W({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=Jm.muiName,N.memo(N.forwardRef(n))}function rd(e,t){return rd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},rd(e,t)}function UE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,rd(e,t)}const e0=hr.createContext(null);function VE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mp(e,t){var n=function(l){return t&&N.isValidElement(l)?t(l):l},r=Object.create(null);return e&&N.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function HE(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),o=[];for(var l in e)l in t?o.length&&(r[l]=o,o=[]):o.push(l);var i,u={};for(var a in t){if(r[a])for(i=0;i{const{square:t,elevation:n,variant:r,classes:o}=e,l={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Yn(l,ZE,o)},eC=At("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return W({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&W({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Km("#fff",qm(t.elevation))}, ${Km("#fff",qm(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),tC=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiPaper"}),{className:o,component:l="div",elevation:i=1,square:u=!1,variant:a="elevation"}=r,s=Ae(r,qE),f=W({},r,{component:l,elevation:i,square:u,variant:a}),p=JE(f);return Q.jsx(eC,W({as:l,ownerState:f,className:Ie(p.root,o),ref:n},s))}),Q1=tC;function nC(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:l,rippleSize:i,in:u,onExited:a,timeout:s}=e,[f,p]=N.useState(!1),c=Ie(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:i,height:i,top:-(i/2)+l,left:-(i/2)+o},v=Ie(n.child,f&&n.childLeaving,r&&n.childPulsate);return!u&&!f&&p(!0),N.useEffect(()=>{if(!u&&a!=null){const h=setTimeout(a,s);return()=>{clearTimeout(h)}}},[a,u,s]),Q.jsx("span",{className:c,style:m,children:Q.jsx("span",{className:v})})}const rC=An("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Cn=rC,oC=["center","classes","className"];let Ba=e=>e,t0,n0,r0,o0;const od=550,lC=80,iC=wp(t0||(t0=Ba` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),sC=wp(n0||(n0=Ba` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),uC=wp(r0||(r0=Ba` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),aC=At("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),cC=At(nC,{name:"MuiTouchRipple",slot:"Ripple"})(o0||(o0=Ba` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),Cn.rippleVisible,iC,od,({theme:e})=>e.transitions.easing.easeInOut,Cn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Cn.child,Cn.childLeaving,sC,od,({theme:e})=>e.transitions.easing.easeInOut,Cn.childPulsate,uC,({theme:e})=>e.transitions.easing.easeInOut),fC=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:l={},className:i}=r,u=Ae(r,oC),[a,s]=N.useState([]),f=N.useRef(0),p=N.useRef(null);N.useEffect(()=>{p.current&&(p.current(),p.current=null)},[a]);const c=N.useRef(!1),m=N.useRef(null),v=N.useRef(null),h=N.useRef(null);N.useEffect(()=>()=>{clearTimeout(m.current)},[]);const _=N.useCallback(E=>{const{pulsate:C,rippleX:P,rippleY:b,rippleSize:M,cb:$}=E;s(R=>[...R,Q.jsx(cC,{classes:{ripple:Ie(l.ripple,Cn.ripple),rippleVisible:Ie(l.rippleVisible,Cn.rippleVisible),ripplePulsate:Ie(l.ripplePulsate,Cn.ripplePulsate),child:Ie(l.child,Cn.child),childLeaving:Ie(l.childLeaving,Cn.childLeaving),childPulsate:Ie(l.childPulsate,Cn.childPulsate)},timeout:od,pulsate:C,rippleX:P,rippleY:b,rippleSize:M},f.current)]),f.current+=1,p.current=$},[l]),w=N.useCallback((E={},C={},P=()=>{})=>{const{pulsate:b=!1,center:M=o||C.pulsate,fakeElement:$=!1}=C;if((E==null?void 0:E.type)==="mousedown"&&c.current){c.current=!1;return}(E==null?void 0:E.type)==="touchstart"&&(c.current=!0);const R=$?null:h.current,z=R?R.getBoundingClientRect():{width:0,height:0,left:0,top:0};let F,H,q;if(M||E===void 0||E.clientX===0&&E.clientY===0||!E.clientX&&!E.touches)F=Math.round(z.width/2),H=Math.round(z.height/2);else{const{clientX:ne,clientY:le}=E.touches&&E.touches.length>0?E.touches[0]:E;F=Math.round(ne-z.left),H=Math.round(le-z.top)}if(M)q=Math.sqrt((2*z.width**2+z.height**2)/3),q%2===0&&(q+=1);else{const ne=Math.max(Math.abs((R?R.clientWidth:0)-F),F)*2+2,le=Math.max(Math.abs((R?R.clientHeight:0)-H),H)*2+2;q=Math.sqrt(ne**2+le**2)}E!=null&&E.touches?v.current===null&&(v.current=()=>{_({pulsate:b,rippleX:F,rippleY:H,rippleSize:q,cb:P})},m.current=setTimeout(()=>{v.current&&(v.current(),v.current=null)},lC)):_({pulsate:b,rippleX:F,rippleY:H,rippleSize:q,cb:P})},[o,_]),g=N.useCallback(()=>{w({},{pulsate:!0})},[w]),S=N.useCallback((E,C)=>{if(clearTimeout(m.current),(E==null?void 0:E.type)==="touchend"&&v.current){v.current(),v.current=null,m.current=setTimeout(()=>{S(E,C)});return}v.current=null,s(P=>P.length>0?P.slice(1):P),p.current=C},[]);return N.useImperativeHandle(n,()=>({pulsate:g,start:w,stop:S}),[g,w,S]),Q.jsx(aC,W({className:Ie(Cn.root,l.root,i),ref:h},u,{children:Q.jsx(XE,{component:null,exit:!0,children:a})}))}),dC=fC;function pC(e){return zn("MuiButtonBase",e)}const hC=An("MuiButtonBase",["root","disabled","focusVisible"]),mC=hC,gC=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],yC=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Yn({root:["root",t&&"disabled",n&&"focusVisible"]},pC,o);return n&&r&&(i.root+=` ${r}`),i},vC=At("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${mC.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),wC=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:l=!1,children:i,className:u,component:a="button",disabled:s=!1,disableRipple:f=!1,disableTouchRipple:p=!1,focusRipple:c=!1,LinkComponent:m="a",onBlur:v,onClick:h,onContextMenu:_,onDragLeave:w,onFocus:g,onFocusVisible:S,onKeyDown:E,onKeyUp:C,onMouseDown:P,onMouseLeave:b,onMouseUp:M,onTouchEnd:$,onTouchMove:R,onTouchStart:z,tabIndex:F=0,TouchRippleProps:H,touchRippleRef:q,type:ne}=r,le=Ae(r,gC),ee=N.useRef(null),D=N.useRef(null),G=Rm(D,q),{isFocusVisibleRef:V,onFocus:te,onBlur:U,ref:ge}=M2(),[X,ce]=N.useState(!1);s&&X&&ce(!1),N.useImperativeHandle(o,()=>({focusVisible:()=>{ce(!0),ee.current.focus()}}),[]);const[Le,Ct]=N.useState(!1);N.useEffect(()=>{Ct(!0)},[]);const Xt=Le&&!f&&!s;N.useEffect(()=>{X&&c&&!f&&Le&&D.current.pulsate()},[f,c,X,Le]);function we(L,oe,ue=p){return mo(ze=>(oe&&oe(ze),!ue&&D.current&&D.current[L](ze),!0))}const Lt=we("start",P),Qn=we("stop",_),Zt=we("stop",w),cn=we("stop",M),Xn=we("stop",L=>{X&&L.preventDefault(),b&&b(L)}),qt=we("start",z),Jt=we("stop",$),ar=we("stop",R),Dn=we("stop",L=>{U(L),V.current===!1&&ce(!1),v&&v(L)},!1),_n=mo(L=>{ee.current||(ee.current=L.currentTarget),te(L),V.current===!0&&(ce(!0),S&&S(L)),g&&g(L)}),de=()=>{const L=ee.current;return a&&a!=="button"&&!(L.tagName==="A"&&L.href)},ie=N.useRef(!1),se=mo(L=>{c&&!ie.current&&X&&D.current&&L.key===" "&&(ie.current=!0,D.current.stop(L,()=>{D.current.start(L)})),L.target===L.currentTarget&&de()&&L.key===" "&&L.preventDefault(),E&&E(L),L.target===L.currentTarget&&de()&&L.key==="Enter"&&!s&&(L.preventDefault(),h&&h(L))}),Oe=mo(L=>{c&&L.key===" "&&D.current&&X&&!L.defaultPrevented&&(ie.current=!1,D.current.stop(L,()=>{D.current.pulsate(L)})),C&&C(L),h&&L.target===L.currentTarget&&de()&&L.key===" "&&!L.defaultPrevented&&h(L)});let De=a;De==="button"&&(le.href||le.to)&&(De=m);const Fe={};De==="button"?(Fe.type=ne===void 0?"button":ne,Fe.disabled=s):(!le.href&&!le.to&&(Fe.role="button"),s&&(Fe["aria-disabled"]=s));const dt=Rm(n,ge,ee),We=W({},r,{centerRipple:l,component:a,disabled:s,disableRipple:f,disableTouchRipple:p,focusRipple:c,tabIndex:F,focusVisible:X}),K=yC(We);return Q.jsxs(vC,W({as:De,className:Ie(K.root,u),ownerState:We,onBlur:Dn,onClick:h,onContextMenu:Qn,onFocus:_n,onKeyDown:se,onKeyUp:Oe,onMouseDown:Lt,onMouseLeave:Xn,onMouseUp:cn,onDragLeave:Zt,onTouchEnd:Jt,onTouchMove:ar,onTouchStart:qt,ref:dt,tabIndex:s?-1:F,type:ne},Fe,le,{children:[i,Xt?Q.jsx(dC,W({ref:G,center:l},H)):null]}))}),X1=wC;function SC(e){return zn("MuiTypography",e)}An("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const xC=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],kC=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:l,classes:i}=e,u={root:["root",l,e.align!=="inherit"&&`align${_t(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Yn(u,SC,i)},_C=At("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${_t(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>W({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),l0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},EC={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},CC=e=>EC[e]||e,bC=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiTypography"}),o=CC(r.color),l=Ep(W({},r,{color:o})),{align:i="inherit",className:u,component:a,gutterBottom:s=!1,noWrap:f=!1,paragraph:p=!1,variant:c="body1",variantMapping:m=l0}=l,v=Ae(l,xC),h=W({},l,{align:i,color:o,className:u,component:a,gutterBottom:s,noWrap:f,paragraph:p,variant:c,variantMapping:m}),_=a||(p?"p":m[c]||l0[c])||"span",w=kC(h);return Q.jsx(_C,W({as:_,ref:n,ownerState:h,className:Ie(w.root,u)},v))}),$p=bC;function TC(e){return zn("MuiAppBar",e)}An("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const PC=["className","color","enableColorOnDark","position"],MC=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${_t(t)}`,`position${_t(n)}`]};return Yn(o,TC,r)},Bs=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,RC=At(Q1,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${_t(n.position)}`],t[`color${_t(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return W({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&W({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&W({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&W({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Bs(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Bs(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Bs(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Bs(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),$C=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiAppBar"}),{className:o,color:l="primary",enableColorOnDark:i=!1,position:u="fixed"}=r,a=Ae(r,PC),s=W({},r,{color:l,position:u,enableColorOnDark:i}),f=MC(s);return Q.jsx(RC,W({square:!0,component:"header",ownerState:s,elevation:4,className:Ie(f.root,o,u==="fixed"&&"mui-fixed"),ref:n},a))}),OC=$C,NC=Tp(),zC=U_({defaultTheme:NC,defaultClassName:"MuiBox-root",generateClassName:k1.generate}),Op=zC;function AC(e){return zn("MuiCard",e)}An("MuiCard",["root"]);const LC=["className","raised"],DC=e=>{const{classes:t}=e;return Yn({root:["root"]},AC,t)},FC=At(Q1,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),BC=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiCard"}),{className:o,raised:l=!1}=r,i=Ae(r,LC),u=W({},r,{raised:l}),a=DC(u);return Q.jsx(FC,W({className:Ie(a.root,o),elevation:l?8:void 0,ref:n,ownerState:u},i))}),Z1=BC;function IC(e){return zn("MuiCardContent",e)}An("MuiCardContent",["root"]);const jC=["className","component"],WC=e=>{const{classes:t}=e;return Yn({root:["root"]},IC,t)},UC=At("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),VC=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiCardContent"}),{className:o,component:l="div"}=r,i=Ae(r,jC),u=W({},r,{component:l}),a=WC(u);return Q.jsx(UC,W({as:l,className:Ie(a.root,o),ownerState:u,ref:n},i))}),HC=VC,KC=N.createContext(),i0=KC;function GC(e){return zn("MuiGrid",e)}const YC=[0,1,2,3,4,5,6,7,8,9,10],QC=["column-reverse","column","row-reverse","row"],XC=["nowrap","wrap-reverse","wrap"],ai=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],ZC=An("MuiGrid",["root","container","item","zeroMinWidth",...YC.map(e=>`spacing-xs-${e}`),...QC.map(e=>`direction-xs-${e}`),...XC.map(e=>`wrap-xs-${e}`),...ai.map(e=>`grid-xs-${e}`),...ai.map(e=>`grid-sm-${e}`),...ai.map(e=>`grid-md-${e}`),...ai.map(e=>`grid-lg-${e}`),...ai.map(e=>`grid-xl-${e}`)]),Ji=ZC,qC=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function gl(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function JC({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,o)=>{let l={};if(t[o]&&(n=t[o]),!n)return r;if(n===!0)l={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")l={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Ta({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof i=="object"?i[o]:i;if(u==null)return r;const a=`${Math.round(n/u*1e8)/1e6}%`;let s={};if(t.container&&t.item&&t.columnSpacing!==0){const f=e.spacing(t.columnSpacing);if(f!=="0px"){const p=`calc(${a} + ${gl(f)})`;s={flexBasis:p,maxWidth:p}}}l=W({flexBasis:a,flexGrow:0,maxWidth:a},s)}return e.breakpoints.values[o]===0?Object.assign(r,l):r[e.breakpoints.up(o)]=l,r},{})}function eb({theme:e,ownerState:t}){const n=Ta({values:t.direction,breakpoints:e.breakpoints.values});return vn({theme:e},n,r=>{const o={flexDirection:r};return r.indexOf("column")===0&&(o[`& > .${Ji.item}`]={maxWidth:"none"}),o})}function q1({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(o=>{n===""&&t[o]!==0&&(n=o)});const r=Object.keys(e).sort((o,l)=>e[o]-e[l]);return r.slice(0,r.indexOf(n))}function tb({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&r!==0){const l=Ta({values:r,breakpoints:e.breakpoints.values});let i;typeof l=="object"&&(i=q1({breakpoints:e.breakpoints.values,values:l})),o=vn({theme:e},l,(u,a)=>{var s;const f=e.spacing(u);return f!=="0px"?{marginTop:`-${gl(f)}`,[`& > .${Ji.item}`]:{paddingTop:gl(f)}}:(s=i)!=null&&s.includes(a)?{}:{marginTop:0,[`& > .${Ji.item}`]:{paddingTop:0}}})}return o}function nb({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&r!==0){const l=Ta({values:r,breakpoints:e.breakpoints.values});let i;typeof l=="object"&&(i=q1({breakpoints:e.breakpoints.values,values:l})),o=vn({theme:e},l,(u,a)=>{var s;const f=e.spacing(u);return f!=="0px"?{width:`calc(100% + ${gl(f)})`,marginLeft:`-${gl(f)}`,[`& > .${Ji.item}`]:{paddingLeft:gl(f)}}:(s=i)!=null&&s.includes(a)?{}:{width:"100%",marginLeft:0,[`& > .${Ji.item}`]:{paddingLeft:0}}})}return o}function rb(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(o=>{const l=e[o];Number(l)>0&&r.push(n[`spacing-${o}-${String(l)}`])}),r}const ob=At("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:l,spacing:i,wrap:u,zeroMinWidth:a,breakpoints:s}=n;let f=[];r&&(f=rb(i,s,t));const p=[];return s.forEach(c=>{const m=n[c];m&&p.push(t[`grid-${c}-${String(m)}`])}),[t.root,r&&t.container,l&&t.item,a&&t.zeroMinWidth,...f,o!=="row"&&t[`direction-xs-${String(o)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...p]}})(({ownerState:e})=>W({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),eb,tb,nb,JC);function lb(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const o=e[r];if(Number(o)>0){const l=`spacing-${r}-${String(o)}`;n.push(l)}}),n}const ib=e=>{const{classes:t,container:n,direction:r,item:o,spacing:l,wrap:i,zeroMinWidth:u,breakpoints:a}=e;let s=[];n&&(s=lb(l,a));const f=[];a.forEach(c=>{const m=e[c];m&&f.push(`grid-${c}-${String(m)}`)});const p={root:["root",n&&"container",o&&"item",u&&"zeroMinWidth",...s,r!=="row"&&`direction-xs-${String(r)}`,i!=="wrap"&&`wrap-xs-${String(i)}`,...f]};return Yn(p,GC,t)},sb=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiGrid"}),{breakpoints:o}=Fa(),l=Ep(r),{className:i,columns:u,columnSpacing:a,component:s="div",container:f=!1,direction:p="row",item:c=!1,rowSpacing:m,spacing:v=0,wrap:h="wrap",zeroMinWidth:_=!1}=l,w=Ae(l,qC),g=m||v,S=a||v,E=N.useContext(i0),C=f?u||12:E,P={},b=W({},w);o.keys.forEach(R=>{w[R]!=null&&(P[R]=w[R],delete b[R])});const M=W({},l,{columns:C,container:f,direction:p,item:c,rowSpacing:g,columnSpacing:S,wrap:h,zeroMinWidth:_,spacing:v},P,{breakpoints:o.keys}),$=ib(M);return Q.jsx(i0.Provider,{value:C,children:Q.jsx(ob,W({ownerState:M,className:Ie($.root,i),as:s,ref:n},b))})}),Nu=sb;function ub(e){return zn("MuiTab",e)}const ab=An("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),ro=ab,cb=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],fb=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:l,label:i,selected:u,disabled:a}=e,s={root:["root",l&&i&&"labelIcon",`textColor${_t(n)}`,r&&"fullWidth",o&&"wrapped",u&&"selected",a&&"disabled"],iconWrapper:["iconWrapper"]};return Yn(s,ub,t)},db=At(X1,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${_t(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>W({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${ro.iconWrapper}`]:W({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${ro.selected}`]:{opacity:1},[`&.${ro.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ro.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${ro.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ro.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${ro.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),pb=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiTab"}),{className:o,disabled:l=!1,disableFocusRipple:i=!1,fullWidth:u,icon:a,iconPosition:s="top",indicator:f,label:p,onChange:c,onClick:m,onFocus:v,selected:h,selectionFollowsFocus:_,textColor:w="inherit",value:g,wrapped:S=!1}=r,E=Ae(r,cb),C=W({},r,{disabled:l,disableFocusRipple:i,selected:h,icon:!!a,iconPosition:s,label:!!p,fullWidth:u,textColor:w,wrapped:S}),P=fb(C),b=a&&p&&N.isValidElement(a)?N.cloneElement(a,{className:Ie(P.iconWrapper,a.props.className)}):a,M=R=>{!h&&c&&c(R,g),m&&m(R)},$=R=>{_&&!h&&c&&c(R,g),v&&v(R)};return Q.jsxs(db,W({focusRipple:!i,className:Ie(P.root,o),ref:n,role:"tab","aria-selected":h,disabled:l,onClick:M,onFocus:$,ownerState:C,tabIndex:h?0:-1},E,{children:[s==="top"||s==="start"?Q.jsxs(N.Fragment,{children:[b,p]}):Q.jsxs(N.Fragment,{children:[p,b]}),f]}))}),hb=pb,mb=Y1(Q.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),gb=Y1(Q.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function yb(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function vb(e,t,n,r={},o=()=>{}){const{ease:l=yb,duration:i=300}=r;let u=null;const a=t[e];let s=!1;const f=()=>{s=!0},p=c=>{if(s){o(new Error("Animation cancelled"));return}u===null&&(u=c);const m=Math.min(1,(c-u)/i);if(t[e]=l(m)*(n-a)+a,m>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(p)};return a===n?(o(new Error("Element already at target position")),f):(requestAnimationFrame(p),f)}const wb=["onChange"],Sb={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function xb(e){const{onChange:t}=e,n=Ae(e,wb),r=N.useRef(),o=N.useRef(null),l=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return N.useEffect(()=>{const i=Zf(()=>{const a=r.current;l(),a!==r.current&&t(r.current)}),u=w1(o.current);return u.addEventListener("resize",i),()=>{i.clear(),u.removeEventListener("resize",i)}},[t]),N.useEffect(()=>{l(),t(r.current)},[t]),Q.jsx("div",W({style:Sb,ref:o},n))}function kb(e){return zn("MuiTabScrollButton",e)}const _b=An("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Eb=_b;var s0,u0;const Cb=["className","direction","orientation","disabled"],bb=e=>{const{classes:t,orientation:n,disabled:r}=e;return Yn({root:["root",n,r&&"disabled"]},kb,t)},Tb=At(X1,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>W({width:40,flexShrink:0,opacity:.8,[`&.${Eb.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),Pb=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiTabScrollButton"}),{className:o,direction:l}=r,i=Ae(r,Cb),a=Fa().direction==="rtl",s=W({isRtl:a},r),f=bb(s);return Q.jsx(Tb,W({component:"div",className:Ie(f.root,o),ref:n,role:null,ownerState:s,tabIndex:null},i,{children:l==="left"?s0||(s0=Q.jsx(mb,{fontSize:"small"})):u0||(u0=Q.jsx(gb,{fontSize:"small"}))}))}),Mb=Pb;function Rb(e){return zn("MuiTabs",e)}const $b=An("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Gc=$b,Ob=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],a0=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,c0=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Is=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const l=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||l)o=n(e,o);else{o.focus();return}}},Nb=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:l,centered:i,scrollButtonsHideMobile:u,classes:a}=e;return Yn({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",l&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},Rb,a)},zb=At("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Gc.scrollButtons}`]:t.scrollButtons},{[`& .${Gc.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>W({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Gc.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),Ab=At("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>W({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),Lb=At("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>W({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Db=At("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>W({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Fb=At(xb,{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),f0={},Bb=N.forwardRef(function(t,n){const r=Ln({props:t,name:"MuiTabs"}),o=Fa(),l=o.direction==="rtl",{"aria-label":i,"aria-labelledby":u,action:a,centered:s=!1,children:f,className:p,component:c="div",allowScrollButtonsMobile:m=!1,indicatorColor:v="primary",onChange:h,orientation:_="horizontal",ScrollButtonComponent:w=Mb,scrollButtons:g="auto",selectionFollowsFocus:S,TabIndicatorProps:E={},TabScrollButtonProps:C={},textColor:P="primary",value:b,variant:M="standard",visibleScrollbar:$=!1}=r,R=Ae(r,Ob),z=M==="scrollable",F=_==="vertical",H=F?"scrollTop":"scrollLeft",q=F?"top":"left",ne=F?"bottom":"right",le=F?"clientHeight":"clientWidth",ee=F?"height":"width",D=W({},r,{component:c,allowScrollButtonsMobile:m,indicatorColor:v,orientation:_,vertical:F,scrollButtons:g,textColor:P,variant:M,visibleScrollbar:$,fixed:!z,hideScrollbar:z&&!$,scrollableX:z&&!F,scrollableY:z&&F,centered:s&&!z,scrollButtonsHideMobile:!m}),G=Nb(D),[V,te]=N.useState(!1),[U,ge]=N.useState(f0),[X,ce]=N.useState({start:!1,end:!1}),[Le,Ct]=N.useState({overflow:"hidden",scrollbarWidth:0}),Xt=new Map,we=N.useRef(null),Lt=N.useRef(null),Qn=()=>{const K=we.current;let L;if(K){const ue=K.getBoundingClientRect();L={clientWidth:K.clientWidth,scrollLeft:K.scrollLeft,scrollTop:K.scrollTop,scrollLeftNormalized:Om(K,o.direction),scrollWidth:K.scrollWidth,top:ue.top,bottom:ue.bottom,left:ue.left,right:ue.right}}let oe;if(K&&b!==!1){const ue=Lt.current.children;if(ue.length>0){const ze=ue[Xt.get(b)];oe=ze?ze.getBoundingClientRect():null}}return{tabsMeta:L,tabMeta:oe}},Zt=mo(()=>{const{tabsMeta:K,tabMeta:L}=Qn();let oe=0,ue;if(F)ue="top",L&&K&&(oe=L.top-K.top+K.scrollTop);else if(ue=l?"right":"left",L&&K){const Ue=l?K.scrollLeftNormalized+K.clientWidth-K.scrollWidth:K.scrollLeft;oe=(l?-1:1)*(L[ue]-K[ue]+Ue)}const ze={[ue]:oe,[ee]:L?L[ee]:0};if(isNaN(U[ue])||isNaN(U[ee]))ge(ze);else{const Ue=Math.abs(U[ue]-ze[ue]),Zn=Math.abs(U[ee]-ze[ee]);(Ue>=1||Zn>=1)&&ge(ze)}}),cn=(K,{animation:L=!0}={})=>{L?vb(H,we.current,K,{duration:o.transitions.duration.standard}):we.current[H]=K},Xn=K=>{let L=we.current[H];F?L+=K:(L+=K*(l?-1:1),L*=l&&S1()==="reverse"?-1:1),cn(L)},qt=()=>{const K=we.current[le];let L=0;const oe=Array.from(Lt.current.children);for(let ue=0;ueK){ue===0&&(L=K);break}L+=ze[le]}return L},Jt=()=>{Xn(-1*qt())},ar=()=>{Xn(qt())},Dn=N.useCallback(K=>{Ct({overflow:null,scrollbarWidth:K})},[]),_n=()=>{const K={};K.scrollbarSizeListener=z?Q.jsx(Fb,{onChange:Dn,className:Ie(G.scrollableX,G.hideScrollbar)}):null;const L=X.start||X.end,oe=z&&(g==="auto"&&L||g===!0);return K.scrollButtonStart=oe?Q.jsx(w,W({orientation:_,direction:l?"right":"left",onClick:Jt,disabled:!X.start},C,{className:Ie(G.scrollButtons,C.className)})):null,K.scrollButtonEnd=oe?Q.jsx(w,W({orientation:_,direction:l?"left":"right",onClick:ar,disabled:!X.end},C,{className:Ie(G.scrollButtons,C.className)})):null,K},de=mo(K=>{const{tabsMeta:L,tabMeta:oe}=Qn();if(!(!oe||!L)){if(oe[q]L[ne]){const ue=L[H]+(oe[ne]-L[ne]);cn(ue,{animation:K})}}}),ie=mo(()=>{if(z&&g!==!1){const{scrollTop:K,scrollHeight:L,clientHeight:oe,scrollWidth:ue,clientWidth:ze}=we.current;let Ue,Zn;if(F)Ue=K>1,Zn=K1,Zn=l?Zr>1:Zr{const K=Zf(()=>{we.current&&(Zt(),ie())}),L=w1(we.current);L.addEventListener("resize",K);let oe;return typeof ResizeObserver<"u"&&(oe=new ResizeObserver(K),Array.from(Lt.current.children).forEach(ue=>{oe.observe(ue)})),()=>{K.clear(),L.removeEventListener("resize",K),oe&&oe.disconnect()}},[Zt,ie]);const se=N.useMemo(()=>Zf(()=>{ie()}),[ie]);N.useEffect(()=>()=>{se.clear()},[se]),N.useEffect(()=>{te(!0)},[]),N.useEffect(()=>{Zt(),ie()}),N.useEffect(()=>{de(f0!==U)},[de,U]),N.useImperativeHandle(a,()=>({updateIndicator:Zt,updateScrollButtons:ie}),[Zt,ie]);const Oe=Q.jsx(Db,W({},E,{className:Ie(G.indicator,E.className),ownerState:D,style:W({},U,E.style)}));let De=0;const Fe=N.Children.map(f,K=>{if(!N.isValidElement(K))return null;const L=K.props.value===void 0?De:K.props.value;Xt.set(L,De);const oe=L===b;return De+=1,N.cloneElement(K,W({fullWidth:M==="fullWidth",indicator:oe&&!V&&Oe,selected:oe,selectionFollowsFocus:S,onChange:h,textColor:P,value:L},De===1&&b===!1&&!K.props.tabIndex?{tabIndex:0}:{}))}),dt=K=>{const L=Lt.current,oe=v1(L).activeElement;if(oe.getAttribute("role")!=="tab")return;let ze=_==="horizontal"?"ArrowLeft":"ArrowUp",Ue=_==="horizontal"?"ArrowRight":"ArrowDown";switch(_==="horizontal"&&l&&(ze="ArrowRight",Ue="ArrowLeft"),K.key){case ze:K.preventDefault(),Is(L,oe,c0);break;case Ue:K.preventDefault(),Is(L,oe,a0);break;case"Home":K.preventDefault(),Is(L,null,a0);break;case"End":K.preventDefault(),Is(L,null,c0);break}},We=_n();return Q.jsxs(zb,W({className:Ie(G.root,p),ownerState:D,ref:n,as:c},R,{children:[We.scrollButtonStart,We.scrollbarSizeListener,Q.jsxs(Ab,{className:G.scroller,ownerState:D,style:{overflow:Le.overflow,[F?`margin${l?"Left":"Right"}`:"marginBottom"]:$?void 0:-Le.scrollbarWidth},ref:we,onScroll:se,children:[Q.jsx(Lb,{"aria-label":i,"aria-labelledby":u,"aria-orientation":_==="vertical"?"vertical":null,className:G.flexContainer,ownerState:D,onKeyDown:dt,ref:Lt,role:"tablist",children:Fe}),V&&Oe]}),We.scrollButtonEnd]}))}),Ib=Bb;function Np(e,t,n){if(typeof t!="number")throw new TypeError("Expected value to be a number");if(n===Number.POSITIVE_INFINITY)return t;if(!Number.isInteger(n))throw new TypeError("Expected precision to be an integer");const r=e==="round"&&t<0;r&&(t=Math.abs(t));const o=10**n;let l=Math[e]((t*o).toPrecision(15))/o;return r&&(l=-l),l}const jb=Np.bind(void 0,"round");Np.bind(void 0,"ceil");Np.bind(void 0,"floor");const Yo="time",d0="type";class Tl{constructor({capacity:t=1e4,values:n={},progress:r=0,lastEventId:o=0}={}){this.capacity=t,this.values=n,this.length=n[Yo]?n[Yo].length:0,this.progress=r,this.lastEventId=o}_filterDuplicate(t){const n=this.values[Yo],r=t[Yo];return!r||!Array.isArray(n)||n.length==0?!1:n.slice(-1)==r}pushOne(t,n){this.values.hasOwnProperty(t)||(this.values[t]=Array(this.length)),this.values[t].push(jb(n,4)),this.length==this.capacity&&this.values[t].shift()}push(t){if(!this._filterDuplicate(t)){for(const n in t){if(n==Yo){this.pushOne(n,Math.floor(t[n].sample.value/1e3)),this.progress=t[n].sample.pct;continue}const r=t[n].hasOwnProperty(d0)?`_${t[n][d0]}`:"";for(const o in t[n].sample)this.pushOne(n+r+"_"+o,t[n].sample[o])}this.lengtho?r=new Tl:r=new Tl(t),r.push(n.data),r.lastEventId=o,r}}function Wb(e){return n2(e,new Tl,{parser:JSON.parse,stateReducer:Tl.reducer})}const Ia=hr.createContext(new Tl);Ia.displayName="Metrics";const Yc=["#7b65fa","#65d1fa","#af8b47","#fa7765","#4792af","#af5347","#4f5aaf","#9e65fa","#d95f02","#1b9e77","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"];class es{constructor(t,n){this.data=es.buildData(t,n),this.series=es.buildSeries(this.data,n)}static buildData(t,n){const r=t.values;let o=[],l=r[Yo];if(!Array.isArray(l))return o;o.push(l);for(var i in n){if(!Array.isArray(r[i])){o.push(Array(l.length));continue}o.push(r[i])}return o}static buildSeries(t,n){const r=[{}],o=Object.keys(n);for(var l=0;ll&&Array.isArray(t[l+1])})}return r}}var ld={},Ub={get exports(){return ld},set exports(e){ld=e}};const Vb=!0,ft="u-",Hb="uplot",Kb=ft+"hz",Gb=ft+"vt",Yb=ft+"title",Qb=ft+"wrap",Xb=ft+"under",Zb=ft+"over",qb=ft+"axis",uo=ft+"off",Jb=ft+"select",eT=ft+"cursor-x",tT=ft+"cursor-y",nT=ft+"cursor-pt",rT=ft+"legend",oT=ft+"live",lT=ft+"inline",iT=ft+"thead",sT=ft+"series",uT=ft+"marker",p0=ft+"label",aT=ft+"value",gi="width",yi="height",ci="top",h0="bottom",Ko="left",Qc="right",zp="#000",m0=zp+"0",g0="mousemove",y0="mousedown",Xc="mouseup",v0="mouseenter",w0="mouseleave",S0="dblclick",cT="resize",fT="scroll",x0="change",zu="dppxchange",Ap="--",Fl=typeof window<"u",id=Fl?document:null,yl=Fl?window:null,dT=Fl?navigator:null;let xe,js;function sd(){let e=devicePixelRatio;xe!=e&&(xe=e,js&&ad(x0,js,sd),js=matchMedia(`(min-resolution: ${xe-.001}dppx) and (max-resolution: ${xe+.001}dppx)`),Dr(x0,js,sd),yl.dispatchEvent(new CustomEvent(zu)))}function fn(e,t){if(t!=null){let n=e.classList;!n.contains(t)&&n.add(t)}}function ud(e,t){let n=e.classList;n.contains(t)&&n.remove(t)}function Qe(e,t,n){e.style[t]=n+"px"}function fr(e,t,n,r){let o=id.createElement(e);return t!=null&&fn(o,t),n!=null&&n.insertBefore(o,r),o}function En(e,t){return fr("div",e,t)}const k0=new WeakMap;function Go(e,t,n,r,o){let l="translate("+t+"px,"+n+"px)",i=k0.get(e);l!=i&&(e.style.transform=l,k0.set(e,l),t<0||n<0||t>r||n>o?fn(e,uo):ud(e,uo))}const _0=new WeakMap;function pT(e,t,n){let r=t+n,o=_0.get(e);r!=o&&(_0.set(e,r),e.style.background=t,e.style.borderColor=n)}const E0=new WeakMap;function hT(e,t,n,r){let o=t+""+n,l=E0.get(e);o!=l&&(E0.set(e,o),e.style.height=n+"px",e.style.width=t+"px",e.style.marginLeft=r?-t/2+"px":0,e.style.marginTop=r?-n/2+"px":0)}const Lp={passive:!0},J1={...Lp,capture:!0};function Dr(e,t,n,r){t.addEventListener(e,n,r?J1:Lp)}function ad(e,t,n,r){t.removeEventListener(e,n,r?J1:Lp)}Fl&&sd();function Rr(e,t,n,r){let o;n=n||0,r=r||t.length-1;let l=r<=2147483647;for(;r-n>1;)o=l?n+r>>1:Rn((n+r)/2),t[o]=t&&o<=n;o+=r)if(e[o]!=null)return o;return-1}function mT(e,t,n,r){let o=ve,l=-ve;if(r==1)o=e[t],l=e[n];else if(r==-1)o=e[n],l=e[t];else for(let i=t;i<=n;i++)e[i]!=null&&(o=Kt(o,e[i]),l=ht(l,e[i]));return[o,l]}function gT(e,t,n){let r=ve,o=-ve;for(let l=t;l<=n;l++)e[l]>0&&(r=Kt(r,e[l]),o=ht(o,e[l]));return[r==ve?1:r,o==-ve?10:o]}function ja(e,t,n,r){let o=T0(e),l=T0(t),i=n==10?wr:ev;e==t&&(o==-1?(e*=n,t/=n):(e/=n,t*=n));let u=o==1?Rn:Lu,a=l==1?Lu:Rn,s=u(i(jt(e))),f=a(i(jt(t))),p=Ml(n,s),c=Ml(n,f);return n==10&&(s<0&&(p=Ne(p,-s)),f<0&&(c=Ne(c,-f))),r||n==2?(e=p*o,t=c*l):(e=nv(e,p),t=$l(t,c)),[e,t]}function Dp(e,t,n,r){let o=ja(e,t,n,r);return e==0&&(o[0]=0),t==0&&(o[1]=0),o}const Fp=.1,C0={mode:3,pad:Fp},Ri={pad:0,soft:null,mode:0},yT={min:Ri,max:Ri};function Au(e,t,n,r){return Ua(n)?b0(e,t,n):(Ri.pad=n,Ri.soft=r?0:null,Ri.mode=r?3:0,b0(e,t,yT))}function _e(e,t){return e??t}function vT(e,t,n){for(t=_e(t,0),n=_e(n,e.length-1);t<=n;){if(e[t]!=null)return!0;t++}return!1}function b0(e,t,n){let r=n.min,o=n.max,l=_e(r.pad,0),i=_e(o.pad,0),u=_e(r.hard,-ve),a=_e(o.hard,ve),s=_e(r.soft,ve),f=_e(o.soft,-ve),p=_e(r.mode,0),c=_e(o.mode,0),m=t-e,v=wr(m),h=ht(jt(e),jt(t)),_=wr(h),w=jt(_-v);(m<1e-9||w>10)&&(m=0,(e==0||t==0)&&(m=1e-9,p==2&&s!=ve&&(l=0),c==2&&f!=-ve&&(i=0)));let g=m||h||1e3,S=wr(g),E=Ml(10,Rn(S)),C=g*(m==0?e==0?.1:1:l),P=Ne(nv(e-C,E/10),9),b=e>=s&&(p==1||p==3&&P<=s||p==2&&P>=s)?s:ve,M=ht(u,P=b?b:Kt(b,P)),$=g*(m==0?t==0?.1:1:i),R=Ne($l(t+$,E/10),9),z=t<=f&&(c==1||c==3&&R>=f||c==2&&R<=f)?f:-ve,F=Kt(a,R>z&&t<=z?z:ht(z,R));return M==F&&M==0&&(F=100),[M,F]}const wT=new Intl.NumberFormat(Fl?dT.language:"en-US"),Bp=e=>wT.format(e),kn=Math,iu=kn.PI,jt=kn.abs,Rn=kn.floor,Mt=kn.round,Lu=kn.ceil,Kt=kn.min,ht=kn.max,Ml=kn.pow,T0=kn.sign,wr=kn.log10,ev=kn.log2,ST=(e,t=1)=>kn.sinh(e)*t,Zc=(e,t=1)=>kn.asinh(e/t),ve=1/0;function P0(e){return(wr((e^e>>31)-(e>>31))|0)+1}function M0(e,t,n){return Kt(ht(e,t),n)}function ye(e){return typeof e=="function"?e:()=>e}const xT=()=>{},kT=e=>e,tv=(e,t)=>t,_T=e=>null,R0=e=>!0,$0=(e,t)=>e==t,Rl=e=>Ne(e,14);function io(e,t){return Rl(Ne(Rl(e/t))*t)}function $l(e,t){return Rl(Lu(Rl(e/t))*t)}function nv(e,t){return Rl(Rn(Rl(e/t))*t)}function Ne(e,t=0){if(CT(e))return e;let n=10**t,r=e*n*(1+Number.EPSILON);return Mt(r)/n}const Wa=new Map;function ET(e){return((""+e).split(".")[1]||"").length}function ts(e,t,n,r){let o=[],l=r.map(ET);for(let i=t;i=0&&i>=0?0:u)+(i>=l[s]?0:l[s]),c=Ne(f,p);o.push(c),Wa.set(c,p)}}return o}const $i={},rv=[],Ol=[null,null],ao=Array.isArray,CT=Number.isInteger,bT=e=>e===void 0;function O0(e){return typeof e=="string"}function Ua(e){let t=!1;if(e!=null){let n=e.constructor;t=n==null||n==Object}return t}function N0(e){return e!=null&&typeof e=="object"}const TT=Object.getPrototypeOf(Uint8Array);function wo(e,t=Ua){let n;if(ao(e)){let r=e.find(o=>o!=null);if(ao(r)||t(r)){n=Array(e.length);for(let o=0;ol){for(o=i-1;o>=0&&e[o]==null;)e[o--]=null;for(o=i+1;oi-u)],o=r[0].length,l=new Map;for(let i=0;i"u"?e=>Promise.resolve().then(e):queueMicrotask,ov=["January","February","March","April","May","June","July","August","September","October","November","December"],lv=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function iv(e){return e.slice(0,3)}const zT=lv.map(iv),AT=ov.map(iv),LT={MMMM:ov,MMM:AT,WWWW:lv,WWW:zT};function fi(e){return(e<10?"0":"")+e}function DT(e){return(e<10?"00":e<100?"0":"")+e}const FT={YYYY:e=>e.getFullYear(),YY:e=>(e.getFullYear()+"").slice(2),MMMM:(e,t)=>t.MMMM[e.getMonth()],MMM:(e,t)=>t.MMM[e.getMonth()],MM:e=>fi(e.getMonth()+1),M:e=>e.getMonth()+1,DD:e=>fi(e.getDate()),D:e=>e.getDate(),WWWW:(e,t)=>t.WWWW[e.getDay()],WWW:(e,t)=>t.WWW[e.getDay()],HH:e=>fi(e.getHours()),H:e=>e.getHours(),h:e=>{let t=e.getHours();return t==0?12:t>12?t-12:t},AA:e=>e.getHours()>=12?"PM":"AM",aa:e=>e.getHours()>=12?"pm":"am",a:e=>e.getHours()>=12?"p":"a",mm:e=>fi(e.getMinutes()),m:e=>e.getMinutes(),ss:e=>fi(e.getSeconds()),s:e=>e.getSeconds(),fff:e=>DT(e.getMilliseconds())};function Ip(e,t){t=t||LT;let n=[],r=/\{([a-z]+)\}|[^{]+/gi,o;for(;o=r.exec(e);)n.push(o[0][0]=="{"?FT[o[1]]:o[0]);return l=>{let i="";for(let u=0;ue%1==0,Du=[1,2,2.5,5],jT=ts(10,-16,0,Du),uv=ts(10,0,16,Du),WT=uv.filter(sv),UT=jT.concat(uv),jp=` -`,av="{YYYY}",z0=jp+av,cv="{M}/{D}",vi=jp+cv,Ws=vi+"/{YY}",fv="{aa}",VT="{h}:{mm}",Qo=VT+fv,A0=jp+Qo,L0=":{ss}",be=null;function dv(e){let t=e*1e3,n=t*60,r=n*60,o=r*24,l=o*30,i=o*365,a=(e==1?ts(10,0,3,Du).filter(sv):ts(10,-3,0,Du)).concat([t,t*5,t*10,t*15,t*30,n,n*5,n*10,n*15,n*30,r,r*2,r*3,r*4,r*6,r*8,r*12,o,o*2,o*3,o*4,o*5,o*6,o*7,o*8,o*9,o*10,o*15,l,l*2,l*3,l*4,l*6,i,i*2,i*5,i*10,i*25,i*50,i*100]);const s=[[i,av,be,be,be,be,be,be,1],[o*28,"{MMM}",z0,be,be,be,be,be,1],[o,cv,z0,be,be,be,be,be,1],[r,"{h}"+fv,Ws,be,vi,be,be,be,1],[n,Qo,Ws,be,vi,be,be,be,1],[t,L0,Ws+" "+Qo,be,vi+" "+Qo,be,A0,be,1],[e,L0+".{fff}",Ws+" "+Qo,be,vi+" "+Qo,be,A0,be,1]];function f(p){return(c,m,v,h,_,w)=>{let g=[],S=_>=i,E=_>=l&&_=o?o:_,R=Rn(v)-Rn(P),z=M+R+$l(P-M,$);g.push(z);let F=p(z),H=F.getHours()+F.getMinutes()/n+F.getSeconds()/r,q=_/r,ne=c.axes[m]._space,le=w/ne;for(;z=Ne(z+_,e==1?0:3),!(z>h);)if(q>1){let ee=Rn(Ne(H+q,6))%24,V=p(z).getHours()-ee;V>1&&(V=-1),z-=V*r,H=(H+q)%24;let te=g[g.length-1];Ne((z-te)/_,3)*le>=.7&&g.push(z)}else g.push(z)}return g}}return[a,s,f]}const[HT,KT,GT]=dv(1),[YT,QT,XT]=dv(.001);ts(2,-53,53,[1]);function D0(e,t){return e.map(n=>n.map((r,o)=>o==0||o==8||r==null?r:t(o==1||n[8]==0?r:n[1]+r)))}function F0(e,t){return(n,r,o,l,i)=>{let u=t.find(v=>i>=v[0])||t[t.length-1],a,s,f,p,c,m;return r.map(v=>{let h=e(v),_=h.getFullYear(),w=h.getMonth(),g=h.getDate(),S=h.getHours(),E=h.getMinutes(),C=h.getSeconds(),P=_!=a&&u[2]||w!=s&&u[3]||g!=f&&u[4]||S!=p&&u[5]||E!=c&&u[6]||C!=m&&u[7]||u[1];return a=_,s=w,f=g,p=S,c=E,m=C,P(h)})}}function ZT(e,t){let n=Ip(t);return(r,o,l,i,u)=>o.map(a=>n(e(a)))}function qc(e,t,n){return new Date(e,t,n)}function B0(e,t){return t(e)}const qT="{YYYY}-{MM}-{DD} {h}:{mm}{aa}";function I0(e,t){return(n,r,o,l)=>l==null?Ap:t(e(r))}function JT(e,t){let n=e.series[t];return n.width?n.stroke(e,t):n.points.width?n.points.stroke(e,t):null}function eP(e,t){return e.series[t].fill(e,t)}const tP={show:!0,live:!0,isolate:!1,mount:xT,markers:{show:!0,width:2,stroke:JT,fill:eP,dash:"solid"},idx:null,idxs:null,values:[]};function nP(e,t){let n=e.cursor.points,r=En(),o=n.size(e,t);Qe(r,gi,o),Qe(r,yi,o);let l=o/-2;Qe(r,"marginLeft",l),Qe(r,"marginTop",l);let i=n.width(e,t,o);return i&&Qe(r,"borderWidth",i),r}function rP(e,t){let n=e.series[t].points;return n._fill||n._stroke}function oP(e,t){let n=e.series[t].points;return n._stroke||n._fill}function lP(e,t){return e.series[t].points.size}function iP(e,t,n){return n}const Jc=[0,0];function sP(e,t,n){return Jc[0]=t,Jc[1]=n,Jc}function Us(e,t,n){return r=>{r.button==0&&n(r)}}function ef(e,t,n){return n}const uP={show:!0,x:!0,y:!0,lock:!1,move:sP,points:{show:nP,size:lP,width:0,stroke:oP,fill:rP},bind:{mousedown:Us,mouseup:Us,click:Us,dblclick:Us,mousemove:ef,mouseleave:ef,mouseenter:ef},drag:{setScale:!0,x:!0,y:!1,dist:0,uni:null,click:(e,t)=>{t.stopPropagation(),t.stopImmediatePropagation()},_x:!1,_y:!1},focus:{prox:-1,bias:0},left:-10,top:-10,idx:null,dataIdx:iP,idxs:null},pv={show:!0,stroke:"rgba(0,0,0,0.07)",width:2},Wp=ut({},pv,{filter:tv}),hv=ut({},Wp,{size:10}),mv=ut({},pv,{show:!1}),Up='12px system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',gv="bold "+Up,aP=1.5,j0={show:!0,scale:"x",stroke:zp,space:50,gap:5,size:50,labelGap:0,labelSize:30,labelFont:gv,side:2,grid:Wp,ticks:hv,border:mv,font:Up,rotate:0},cP="Value",fP="Time",W0={show:!0,scale:"x",auto:!1,sorted:1,min:ve,max:-ve,idxs:[]};function dP(e,t,n,r,o){return t.map(l=>l==null?"":Bp(l))}function pP(e,t,n,r,o,l,i){let u=[],a=Wa.get(o)||0;n=i?n:Ne($l(n,o),a);for(let s=n;s<=r;s=Ne(s+o,a))u.push(Object.is(s,-0)?0:s);return u}function cd(e,t,n,r,o,l,i){const u=[],a=e.scales[e.axes[t].scale].log,s=a==10?wr:ev,f=Rn(s(n));o=Ml(a,f),a==10&&f<0&&(o=Ne(o,-f));let p=n;do u.push(p),p=p+o,a==10&&(p=Ne(p,Wa.get(o))),p>=o*a&&(o=p);while(p<=r);return u}function hP(e,t,n,r,o,l,i){let a=e.scales[e.axes[t].scale].asinh,s=r>a?cd(e,t,ht(a,n),r,o):[a],f=r>=0&&n<=0?[0]:[];return(n<-a?cd(e,t,ht(a,-r),-n,o):[a]).reverse().map(c=>-c).concat(f,s)}const mP=/./,gP=/[12357]/,yP=/[125]/,vP=/1/;function wP(e,t,n,r,o){let l=e.axes[n],i=l.scale,u=e.scales[i];if(u.distr==3&&u.log==2)return t;let a=e.valToPos,s=l._space,f=a(10,i),p=a(9,i)-f>=s?mP:a(7,i)-f>=s?gP:a(5,i)-f>=s?yP:vP;return t.map(c=>u.distr==4&&c==0||p.test(c)?c:null)}function SP(e,t,n,r){return r==null?Ap:t==null?"":Bp(t)}const U0={show:!0,scale:"y",stroke:zp,space:30,gap:5,size:50,labelGap:0,labelSize:30,labelFont:gv,side:3,grid:Wp,ticks:hv,border:mv,font:Up,rotate:0};function xP(e,t){let n=3+(e||1)*2;return Ne(n*t,3)}function kP(e,t){let{scale:n,idxs:r}=e.series[0],o=e._data[0],l=e.valToPos(o[r[0]],n,!0),i=e.valToPos(o[r[1]],n,!0),u=jt(i-l),a=e.series[t],s=u/(a.points.space*xe);return r[1]-r[0]<=s}const V0={scale:null,auto:!0,sorted:0,min:ve,max:-ve},yv=(e,t,n,r,o)=>o,H0={show:!0,auto:!0,sorted:0,gaps:yv,alpha:1,facets:[ut({},V0,{scale:"x"}),ut({},V0,{scale:"y"})]},K0={scale:"y",auto:!0,sorted:0,show:!0,spanGaps:!1,gaps:yv,alpha:1,points:{show:kP,filter:null},values:null,min:ve,max:-ve,idxs:[],path:null,clip:null};function _P(e,t,n,r,o){return n/10}const vv={time:Vb,auto:!0,distr:1,log:10,asinh:1,min:null,max:null,dir:1,ori:0},EP=ut({},vv,{time:!1,ori:1}),G0={};function wv(e,t){let n=G0[e];return n||(n={key:e,plots:[],sub(r){n.plots.push(r)},unsub(r){n.plots=n.plots.filter(o=>o!=r)},pub(r,o,l,i,u,a,s){for(let f=0;f{let w=i.pxRound;const g=s.dir*(s.ori==0?1:-1),S=s.ori==0?Bl:Il;let E,C;g==1?(E=n,C=r):(E=r,C=n);let P=w(p(u[E],s,h,m)),b=w(c(a[E],f,_,v)),M=w(p(u[C],s,h,m)),$=w(c(l==1?f.max:f.min,f,_,v)),R=new Path2D(o);return S(R,M,$),S(R,P,$),S(R,P,b),R})}function Ha(e,t,n,r,o,l){let i=null;if(e.length>0){i=new Path2D;const u=t==0?Ya:Hp;let a=n;for(let f=0;fp[0]){let c=p[0]-a;c>0&&u(i,a,r,c,r+l),a=p[1]}}let s=n+o-a;s>0&&u(i,a,r,s,r+l)}return i}function bP(e,t,n){let r=e[e.length-1];r&&r[0]==t?r[1]=n:e.push([t,n])}function Vp(e,t,n,r,o,l,i){let u=[],a=e.length;for(let s=o==1?n:r;s>=n&&s<=r;s+=o)if(t[s]===null){let p=s,c=s;if(o==1)for(;++s<=r&&t[s]===null;)c=s;else for(;--s>=n&&t[s]===null;)c=s;let m=l(e[p]),v=c==p?m:l(e[c]),h=p-o;m=i<=0&&h>=0&&h=0&&w>=0&&w=m&&u.push([m,v])}return u}function Y0(e){return e==0?kT:e==1?Mt:t=>io(t,e)}function Sv(e){let t=e==0?Ka:Ga,n=e==0?(o,l,i,u,a,s)=>{o.arcTo(l,i,u,a,s)}:(o,l,i,u,a,s)=>{o.arcTo(i,l,a,u,s)},r=e==0?(o,l,i,u,a)=>{o.rect(l,i,u,a)}:(o,l,i,u,a)=>{o.rect(i,l,a,u)};return(o,l,i,u,a,s=0,f=0)=>{s==0&&f==0?r(o,l,i,u,a):(s=Kt(s,u/2,a/2),f=Kt(f,u/2,a/2),t(o,l+s,i),n(o,l+u,i,l+u,i+a,s),n(o,l+u,i+a,l,i+a,f),n(o,l,i+a,l,i,f),n(o,l,i,l+u,i,s),o.closePath())}}const Ka=(e,t,n)=>{e.moveTo(t,n)},Ga=(e,t,n)=>{e.moveTo(n,t)},Bl=(e,t,n)=>{e.lineTo(t,n)},Il=(e,t,n)=>{e.lineTo(n,t)},Ya=Sv(0),Hp=Sv(1),xv=(e,t,n,r,o,l)=>{e.arc(t,n,r,o,l)},kv=(e,t,n,r,o,l)=>{e.arc(n,t,r,o,l)},_v=(e,t,n,r,o,l,i)=>{e.bezierCurveTo(t,n,r,o,l,i)},Ev=(e,t,n,r,o,l,i)=>{e.bezierCurveTo(n,t,o,r,i,l)};function Cv(e){return(t,n,r,o,l)=>Ro(t,n,(i,u,a,s,f,p,c,m,v,h,_)=>{let{pxRound:w,points:g}=i,S,E;s.ori==0?(S=Ka,E=xv):(S=Ga,E=kv);const C=Ne(g.width*xe,3);let P=(g.size-g.width)/2*xe,b=Ne(P*2,3),M=new Path2D,$=new Path2D,{left:R,top:z,width:F,height:H}=t.bbox;Ya($,R-b,z-b,F+b*2,H+b*2);const q=ne=>{if(a[ne]!=null){let le=w(p(u[ne],s,h,m)),ee=w(c(a[ne],f,_,v));S(M,le+P,ee),E(M,le,ee,P,0,iu*2)}};if(l)l.forEach(q);else for(let ne=r;ne<=o;ne++)q(ne);return{stroke:C>0?M:null,fill:M,clip:$,flags:bo|Fu}})}function bv(e){return(t,n,r,o,l,i)=>{r!=o&&(l!=r&&i!=r&&e(t,n,r),l!=o&&i!=o&&e(t,n,o),e(t,n,i))}}const TP=bv(Bl),PP=bv(Il);function Tv(e){const t=_e(e==null?void 0:e.alignGaps,0);return(n,r,o,l)=>Ro(n,r,(i,u,a,s,f,p,c,m,v,h,_)=>{let w=i.pxRound,g=U=>w(p(U,s,h,m)),S=U=>w(c(U,f,_,v)),E,C;s.ori==0?(E=Bl,C=TP):(E=Il,C=PP);const P=s.dir*(s.ori==0?1:-1),b={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:bo},M=b.stroke;let $=ve,R=-ve,z,F,H,q=g(u[P==1?o:l]),ne=Pl(a,o,l,1*P),le=Pl(a,o,l,-1*P),ee=g(u[ne]),D=g(u[le]),G=!1;for(let U=P==1?o:l;U>=o&&U<=l;U+=P){let ge=g(u[U]),X=a[U];ge==q?X!=null?(F=S(X),$==ve&&(E(M,ge,F),z=F),$=Kt(F,$),R=ht(F,R)):X===null&&(G=!0):($!=ve&&(C(M,q,$,R,z,F),H=q),X!=null?(F=S(X),E(M,ge,F),$=R=z=F):($=ve,R=-ve,X===null&&(G=!0)),q=ge)}$!=ve&&$!=R&&H!=q&&C(M,q,$,R,z,F);let[V,te]=Va(n,r);if(i.fill!=null||V!=0){let U=b.fill=new Path2D(M),ge=i.fillTo(n,r,i.min,i.max,V),X=S(ge);E(U,D,X),E(U,ee,X)}if(!i.spanGaps){let U=[];G&&U.push(...Vp(u,a,o,l,P,g,t)),b.gaps=U=i.gaps(n,r,o,l,U),b.clip=Ha(U,s.ori,m,v,h,_)}return te!=0&&(b.band=te==2?[Sr(n,r,o,l,M,-1),Sr(n,r,o,l,M,1)]:Sr(n,r,o,l,M,te)),b})}function MP(e){const t=_e(e.align,1),n=_e(e.ascDesc,!1),r=_e(e.alignGaps,0),o=_e(e.extend,!1);return(l,i,u,a)=>Ro(l,i,(s,f,p,c,m,v,h,_,w,g,S)=>{let E=s.pxRound,{left:C,width:P}=l.bbox,b=V=>E(v(V,c,g,_)),M=V=>E(h(V,m,S,w)),$=c.ori==0?Bl:Il;const R={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:bo},z=R.stroke,F=c.dir*(c.ori==0?1:-1);u=Pl(p,u,a,1),a=Pl(p,u,a,-1);let H=M(p[F==1?u:a]),q=b(f[F==1?u:a]),ne=q,le=q;o&&t==-1&&(le=C,$(z,le,H)),$(z,q,H);for(let V=F==1?u:a;V>=u&&V<=a;V+=F){let te=p[V];if(te==null)continue;let U=b(f[V]),ge=M(te);t==1?$(z,U,H):$(z,ne,ge),$(z,U,ge),H=ge,ne=U}let ee=ne;o&&t==1&&(ee=C+P,$(z,ee,H));let[D,G]=Va(l,i);if(s.fill!=null||D!=0){let V=R.fill=new Path2D(z),te=s.fillTo(l,i,s.min,s.max,D),U=M(te);$(V,ee,U),$(V,le,U)}if(!s.spanGaps){let V=[];V.push(...Vp(f,p,u,a,F,b,r));let te=s.width*xe/2,U=n||t==1?te:-te,ge=n||t==-1?-te:te;V.forEach(X=>{X[0]+=U,X[1]+=ge}),R.gaps=V=s.gaps(l,i,u,a,V),R.clip=Ha(V,c.ori,_,w,g,S)}return G!=0&&(R.band=G==2?[Sr(l,i,u,a,z,-1),Sr(l,i,u,a,z,1)]:Sr(l,i,u,a,z,G)),R})}function RP(e){e=e||$i;const t=_e(e.size,[.6,ve,1]),n=e.align||0,r=(e.gap||0)*xe;let o=e.radius;o=o==null?[0,0]:typeof o=="number"?[o,0]:o;const l=ye(o),i=1-t[0],u=_e(t[1],ve)*xe,a=_e(t[2],1)*xe,s=_e(e.disp,$i),f=_e(e.each,m=>{}),{fill:p,stroke:c}=s;return(m,v,h,_)=>Ro(m,v,(w,g,S,E,C,P,b,M,$,R,z)=>{let F=w.pxRound,H,q;E.ori==0?[H,q]=l(m,v):[q,H]=l(m,v);const ne=E.dir*(E.ori==0?1:-1),le=C.dir*(C.ori==1?1:-1);let ee=E.ori==0?Ya:Hp,D=E.ori==0?f:(se,Oe,De,Fe,dt,We,K)=>{f(se,Oe,De,dt,Fe,K,We)},[G,V]=Va(m,v),te=C.distr==3?G==1?C.max:C.min:0,U=b(te,C,z,$),ge,X,ce=F(w.width*xe),Le=!1,Ct=null,Xt=null,we=null,Lt=null;p!=null&&(ce==0||c!=null)&&(Le=!0,Ct=p.values(m,v,h,_),Xt=new Map,new Set(Ct).forEach(se=>{se!=null&&Xt.set(se,new Path2D)}),ce>0&&(we=c.values(m,v,h,_),Lt=new Map,new Set(we).forEach(se=>{se!=null&&Lt.set(se,new Path2D)})));let{x0:Qn,size:Zt}=s;if(Qn!=null&&Zt!=null){g=Qn.values(m,v,h,_),Qn.unit==2&&(g=g.map(Oe=>m.posToVal(M+Oe*R,E.key,!0)));let se=Zt.values(m,v,h,_);Zt.unit==2?X=se[0]*R:X=P(se[0],E,R,M)-P(0,E,R,M),X=F(X-ce),ge=ne==1?-ce/2:X+ce/2}else{let se=R;if(g.length>1){let De=null;for(let Fe=0,dt=1/0;Fe=h&&se<=_;se+=ne){let Oe=S[se];if(Oe===void 0)continue;let De=E.distr!=2||s!=null?g[se]:se,Fe=P(De,E,R,M),dt=b(_e(Oe,te),C,z,$);_n!=null&&Oe!=null&&(U=b(_n[se],C,z,$));let We=F(Fe-ge),K=F(ht(dt,U)),L=F(Kt(dt,U)),oe=K-L;if(Oe!=null){let ue=Oe<0?ie:de,ze=Oe<0?de:ie;Le?(ce>0&&we[se]!=null&&ee(Lt.get(we[se]),We,L+Rn(ce/2),X,ht(0,oe-ce),ue,ze),Ct[se]!=null&&ee(Xt.get(Ct[se]),We,L+Rn(ce/2),X,ht(0,oe-ce),ue,ze)):ee(qt,We,L+Rn(ce/2),X,ht(0,oe-ce),ue,ze),D(m,v,se,We-ce/2,L,X+ce,oe)}V!=0&&(le*V==1?(K=L,L=Xn):(L=K,K=Xn),oe=K-L,ee(Jt,We-ce/2,L,X+ce,ht(0,oe),0,0))}return ce>0&&(cn.stroke=Le?Lt:qt),cn.fill=Le?Xt:qt,cn})}function $P(e,t){const n=_e(t==null?void 0:t.alignGaps,0);return(r,o,l,i)=>Ro(r,o,(u,a,s,f,p,c,m,v,h,_,w)=>{let g=u.pxRound,S=ee=>g(c(ee,f,_,v)),E=ee=>g(m(ee,p,w,h)),C,P,b;f.ori==0?(C=Ka,b=Bl,P=_v):(C=Ga,b=Il,P=Ev);const M=f.dir*(f.ori==0?1:-1);l=Pl(s,l,i,1),i=Pl(s,l,i,-1);let $=S(a[M==1?l:i]),R=$,z=[],F=[];for(let ee=M==1?l:i;ee>=l&&ee<=i;ee+=M)if(s[ee]!=null){let G=a[ee],V=S(G);z.push(R=V),F.push(E(s[ee]))}const H={stroke:e(z,F,C,b,P,g),fill:null,clip:null,band:null,gaps:null,flags:bo},q=H.stroke;let[ne,le]=Va(r,o);if(u.fill!=null||ne!=0){let ee=H.fill=new Path2D(q),D=u.fillTo(r,o,u.min,u.max,ne),G=E(D);b(ee,R,G),b(ee,$,G)}if(!u.spanGaps){let ee=[];ee.push(...Vp(a,s,l,i,M,S,n)),H.gaps=ee=u.gaps(r,o,l,i,ee),H.clip=Ha(ee,f.ori,v,h,_,w)}return le!=0&&(H.band=le==2?[Sr(r,o,l,i,q,-1),Sr(r,o,l,i,q,1)]:Sr(r,o,l,i,q,le)),H})}function OP(e){return $P(NP,e)}function NP(e,t,n,r,o,l){const i=e.length;if(i<2)return null;const u=new Path2D;if(n(u,e[0],t[0]),i==2)r(u,e[1],t[1]);else{let a=Array(i),s=Array(i-1),f=Array(i-1),p=Array(i-1);for(let c=0;c0!=s[c]>0?a[c]=0:(a[c]=3*(p[c-1]+p[c])/((2*p[c]+p[c-1])/s[c-1]+(p[c]+2*p[c-1])/s[c]),isFinite(a[c])||(a[c]=0));a[i-1]=s[i-2];for(let c=0;c{Nt.pxRatio=xe}));const zP=Tv(),AP=Cv();function X0(e,t,n,r){return(r?[e[0],e[1]].concat(e.slice(2)):[e[0]].concat(e.slice(1))).map((l,i)=>dd(l,i,t,n))}function LP(e,t){return e.map((n,r)=>r==0?null:ut({},t,n))}function dd(e,t,n,r){return ut({},t==0?n:r,e)}function Pv(e,t,n){return t==null?Ol:[t,n]}const DP=Pv;function FP(e,t,n){return t==null?Ol:Au(t,n,Fp,!0)}function Mv(e,t,n,r){return t==null?Ol:ja(t,n,e.scales[r].log,!1)}const BP=Mv;function Rv(e,t,n,r){return t==null?Ol:Dp(t,n,e.scales[r].log,!1)}const IP=Rv;function jP(e,t,n,r,o){let l=ht(P0(e),P0(t)),i=t-e,u=Rr(o/r*i,n);do{let a=n[u],s=r*a/i;if(s>=o&&l+(a<5?Wa.get(a):0)<=17)return[a,s]}while(++u(t=Mt((n=+o)*xe))+"px"),[e,t,n]}function WP(e){e.show&&[e.font,e.labelFont].forEach(t=>{let n=Ne(t[2]*xe,1);t[0]=t[0].replace(/[0-9.]+px/,n+"px"),t[1]=n})}function Nt(e,t,n){const r={mode:_e(e.mode,1)},o=r.mode;function l(d,y){return((y.distr==3?wr(d>0?d:y.clamp(r,d,y.min,y.max,y.key)):y.distr==4?Zc(d,y.asinh):d)-y._min)/(y._max-y._min)}function i(d,y,x,k){let T=l(d,y);return k+x*(y.dir==-1?1-T:T)}function u(d,y,x,k){let T=l(d,y);return k+x*(y.dir==-1?T:1-T)}function a(d,y,x,k){return y.ori==0?i(d,y,x,k):u(d,y,x,k)}r.valToPosH=i,r.valToPosV=u;let s=!1;r.status=0;const f=r.root=En(Hb);if(e.id!=null&&(f.id=e.id),fn(f,e.class),e.title){let d=En(Yb,f);d.textContent=e.title}const p=fr("canvas"),c=r.ctx=p.getContext("2d"),m=En(Qb,f);Dr("click",m,d=>{(Ve!=Oo||He!=No)&&bt.click(r,d)},!0);const v=r.under=En(Xb,m);m.appendChild(p);const h=r.over=En(Zb,m);e=wo(e);const _=+_e(e.pxAlign,1),w=Y0(_);(e.plugins||[]).forEach(d=>{d.opts&&(e=d.opts(r,e)||e)});const g=e.ms||.001,S=r.series=o==1?X0(e.series||[],W0,K0,!1):LP(e.series||[null],H0),E=r.axes=X0(e.axes||[],j0,U0,!0),C=r.scales={},P=r.bands=e.bands||[];P.forEach(d=>{d.fill=ye(d.fill||null),d.dir=_e(d.dir,-1)});const b=o==2?S[1].facets[0].scale:S[0].scale,M={axes:nw,series:Zv},$=(e.drawOrder||["axes","series"]).map(d=>M[d]);function R(d){let y=C[d];if(y==null){let x=(e.scales||$i)[d]||$i;if(x.from!=null)R(x.from),C[d]=ut({},C[x.from],x,{key:d});else{y=C[d]=ut({},d==b?vv:EP,x),y.key=d;let k=y.time,T=y.range,O=ao(T);if((d!=b||o==2&&!k)&&(O&&(T[0]==null||T[1]==null)&&(T={min:T[0]==null?C0:{mode:1,hard:T[0],soft:T[0]},max:T[1]==null?C0:{mode:1,hard:T[1],soft:T[1]}},O=!1),!O&&Ua(T))){let A=T;T=(j,Y,re)=>Y==null?Ol:Au(Y,re,A)}y.range=ye(T||(k?DP:d==b?y.distr==3?BP:y.distr==4?IP:Pv:y.distr==3?Mv:y.distr==4?Rv:FP)),y.auto=ye(O?!1:y.auto),y.clamp=ye(y.clamp||_P),y._min=y._max=null}}}R("x"),R("y"),o==1&&S.forEach(d=>{R(d.scale)}),E.forEach(d=>{R(d.scale)});for(let d in e.scales)R(d);const z=C[b],F=z.distr;let H,q;z.ori==0?(fn(f,Kb),H=i,q=u):(fn(f,Gb),H=u,q=i);const ne={};for(let d in C){let y=C[d];(y.min!=null||y.max!=null)&&(ne[d]={min:y.min,max:y.max},y.min=y.max=null)}const le=e.tzDate||(d=>new Date(Mt(d/g))),ee=e.fmtDate||Ip,D=g==1?GT(le):XT(le),G=F0(le,D0(g==1?KT:QT,ee)),V=I0(le,B0(qT,ee)),te=[],U=r.legend=ut({},tP,e.legend),ge=U.show,X=U.markers;U.idxs=te,X.width=ye(X.width),X.dash=ye(X.dash),X.stroke=ye(X.stroke),X.fill=ye(X.fill);let ce,Le=[],Ct=[],Xt,we=!1,Lt={};if(U.live){const d=S[1]?S[1].values:null;we=d!=null,Xt=we?d(r,1,0):{_:0};for(let y in Xt)Lt[y]=Ap}if(ge)if(ce=fr("table",rT,f),U.mount(r,ce),we){let d=fr("tr",iT,ce);fr("th",null,d);for(var Qn in Xt)fr("th",p0,d).textContent=Qn}else fn(ce,lT),U.live&&fn(ce,oT);const Zt={show:!0},cn={show:!1};function Xn(d,y){if(y==0&&(we||!U.live||o==2))return Ol;let x=[],k=fr("tr",sT,ce,ce.childNodes[y]);fn(k,d.class),d.show||fn(k,uo);let T=fr("th",null,k);if(X.show){let j=En(uT,T);if(y>0){let Y=X.width(r,y);Y&&(j.style.border=Y+"px "+X.dash(r,y)+" "+X.stroke(r,y)),j.style.background=X.fill(r,y)}}let O=En(p0,T);O.textContent=d.label,y>0&&(X.show||(O.style.color=d.width>0?X.stroke(r,y):X.fill(r,y)),Jt("click",T,j=>{if(ae._lock)return;let Y=S.indexOf(d);if((j.ctrlKey||j.metaKey)!=U.isolate){let re=S.some((I,J)=>J>0&&J!=Y&&I.show);S.forEach((I,J)=>{J>0&&qn(J,re?J==Y?Zt:cn:Zt,!0,Pt.setSeries)})}else qn(Y,{show:!d.show},!0,Pt.setSeries)}),jl&&Jt(v0,T,j=>{ae._lock||qn(S.indexOf(d),Ao,!0,Pt.setSeries)}));for(var A in Xt){let j=fr("td",aT,k);j.textContent="--",x.push(j)}return[k,x]}const qt=new Map;function Jt(d,y,x){const k=qt.get(y)||{},T=ae.bind[d](r,y,x);T&&(Dr(d,y,k[d]=T),qt.set(y,k))}function ar(d,y,x){const k=qt.get(y)||{};for(let T in k)(d==null||T==d)&&(ad(T,y,k[T]),delete k[T]);d==null&&qt.delete(y)}let Dn=0,_n=0,de=0,ie=0,se=0,Oe=0,De=0,Fe=0,dt=0,We=0;r.bbox={};let K=!1,L=!1,oe=!1,ue=!1,ze=!1,Ue=!1;function Zn(d,y,x){(x||d!=r.width||y!=r.height)&&Zr(d,y),Vl(!1),oe=!0,L=!0,ae.left>=0&&(ue=Ue=!0),eo()}function Zr(d,y){r.width=Dn=de=d,r.height=_n=ie=y,se=Oe=0,Uv(),Vv();let x=r.bbox;De=x.left=io(se*xe,.5),Fe=x.top=io(Oe*xe,.5),dt=x.width=io(de*xe,.5),We=x.height=io(ie*xe,.5)}const Iv=3;function jv(){let d=!1,y=0;for(;!d;){y++;let x=ew(y),k=tw(y);d=y==Iv||x&&k,d||(Zr(r.width,r.height),L=!0)}}function Wv({width:d,height:y}){Zn(d,y)}r.setSize=Wv;function Uv(){let d=!1,y=!1,x=!1,k=!1;E.forEach((T,O)=>{if(T.show&&T._show){let{side:A,_size:j}=T,Y=A%2,re=T.label!=null?T.labelSize:0,I=j+re;I>0&&(Y?(de-=I,A==3?(se+=I,k=!0):x=!0):(ie-=I,A==0?(Oe+=I,d=!0):y=!0))}}),Jr[0]=d,Jr[1]=x,Jr[2]=y,Jr[3]=k,de-=br[1]+br[3],se+=br[3],ie-=br[2]+br[0],Oe+=br[0]}function Vv(){let d=se+de,y=Oe+ie,x=se,k=Oe;function T(O,A){switch(O){case 1:return d+=A,d-A;case 2:return y+=A,y-A;case 3:return x-=A,x+A;case 0:return k-=A,k+A}}E.forEach((O,A)=>{if(O.show&&O._show){let j=O.side;O._pos=T(j,O._size),O.label!=null&&(O._lpos=T(j,O.labelSize))}})}const ae=r.cursor=ut({},uP,{drag:{y:o==2}},e.cursor);{ae.idxs=te,ae._lock=!1;let d=ae.points;d.show=ye(d.show),d.size=ye(d.size),d.stroke=ye(d.stroke),d.width=ye(d.width),d.fill=ye(d.fill)}const qr=r.focus=ut({},e.focus||{alpha:.3},ae.focus);qr.bias!=0&&(qr.prox=1e5);const jl=qr.prox>=0;let en=[null];function Hv(d,y){if(y>0){let x=ae.points.show(r,y);if(x)return fn(x,nT),fn(x,d.class),Go(x,-10,-10,de,ie),h.insertBefore(x,en[y]),x}}function Gp(d,y){if(o==1||y>0){let x=o==1&&C[d.scale].time,k=d.value;d.value=x?O0(k)?I0(le,B0(k,ee)):k||V:k||SP,d.label=d.label||(x?fP:cP)}if(y>0){d.width=d.width==null?1:d.width,d.paths=d.paths||zP||_T,d.fillTo=ye(d.fillTo||CP),d.pxAlign=+_e(d.pxAlign,_),d.pxRound=Y0(d.pxAlign),d.stroke=ye(d.stroke||null),d.fill=ye(d.fill||null),d._stroke=d._fill=d._paths=d._focus=null;let x=xP(ht(1,d.width),1),k=d.points=ut({},{size:x,width:ht(1,x*.2),stroke:d.stroke,space:x*2,paths:AP,_stroke:null,_fill:null},d.points);k.show=ye(k.show),k.filter=ye(k.filter),k.fill=ye(k.fill),k.stroke=ye(k.stroke),k.paths=ye(k.paths),k.pxAlign=d.pxAlign}if(ge){let x=Xn(d,y);Le.splice(y,0,x[0]),Ct.splice(y,0,x[1]),U.values.push(null)}if(ae.show){te.splice(y,0,null);let x=Hv(d,y);x&&en.splice(y,0,x)}Tt("addSeries",y)}function Kv(d,y){y=y??S.length,d=o==1?dd(d,y,W0,K0):dd(d,y,null,H0),S.splice(y,0,d),Gp(S[y],y)}r.addSeries=Kv;function Gv(d){if(S.splice(d,1),ge){U.values.splice(d,1),Ct.splice(d,1);let y=Le.splice(d,1)[0];ar(null,y.firstChild),y.remove()}ae.show&&(te.splice(d,1),en.length>1&&en.splice(d,1)[0].remove()),Tt("delSeries",d)}r.delSeries=Gv;const Jr=[!1,!1,!1,!1];function Yv(d,y){if(d._show=d.show,d.show){let x=d.side%2,k=C[d.scale];k==null&&(d.scale=x?S[1].scale:b,k=C[d.scale]);let T=k.time;d.size=ye(d.size),d.space=ye(d.space),d.rotate=ye(d.rotate),d.incrs=ye(d.incrs||(k.distr==2?WT:T?g==1?HT:YT:UT)),d.splits=ye(d.splits||(T&&k.distr==1?D:k.distr==3?cd:k.distr==4?hP:pP)),d.stroke=ye(d.stroke),d.grid.stroke=ye(d.grid.stroke),d.ticks.stroke=ye(d.ticks.stroke),d.border.stroke=ye(d.border.stroke);let O=d.values;d.values=ao(O)&&!ao(O[0])?ye(O):T?ao(O)?F0(le,D0(O,ee)):O0(O)?ZT(le,O):O||G:O||dP,d.filter=ye(d.filter||(k.distr>=3&&k.log==10?wP:tv)),d.font=Z0(d.font),d.labelFont=Z0(d.labelFont),d._size=d.size(r,null,y,0),d._space=d._rotate=d._incrs=d._found=d._splits=d._values=null,d._size>0&&(Jr[y]=!0,d._el=En(qb,m))}}function Wl(d,y,x,k){let[T,O,A,j]=x,Y=y%2,re=0;return Y==0&&(j||O)&&(re=y==0&&!T||y==2&&!A?Mt(j0.size/3):0),Y==1&&(T||A)&&(re=y==1&&!O||y==3&&!j?Mt(U0.size/2):0),re}const Yp=r.padding=(e.padding||[Wl,Wl,Wl,Wl]).map(d=>ye(_e(d,Wl))),br=r._padding=Yp.map((d,y)=>d(r,y,Jr,0));let gt,yt=null,vt=null;const cs=o==1?S[0].idxs:null;let Fn=null,fs=!1;function Qp(d,y){if(t=d==null?[]:wo(d,N0),o==2){gt=0;for(let x=1;x=0,Ue=!0,eo()}}r.setData=Qp;function Za(){fs=!0;let d,y;o==1&&(gt>0?(yt=cs[0]=0,vt=cs[1]=gt-1,d=t[0][yt],y=t[0][vt],F==2?(d=yt,y=vt):gt==1&&(F==3?[d,y]=ja(d,d,z.log,!1):F==4?[d,y]=Dp(d,d,z.log,!1):z.time?y=d+Mt(86400/g):[d,y]=Au(d,y,Fp,!0))):(yt=cs[0]=d=null,vt=cs[1]=y=null)),zo(b,d,y)}let ds,$o,qa,Ja,ec,tc,nc,rc,oc,Ul;function Xp(d,y,x,k,T,O){d??(d=m0),x??(x=rv),k??(k="butt"),T??(T=m0),O??(O="round"),d!=ds&&(c.strokeStyle=ds=d),T!=$o&&(c.fillStyle=$o=T),y!=qa&&(c.lineWidth=qa=y),O!=ec&&(c.lineJoin=ec=O),k!=tc&&(c.lineCap=tc=k),x!=Ja&&c.setLineDash(Ja=x)}function Zp(d,y,x,k){y!=$o&&(c.fillStyle=$o=y),d!=nc&&(c.font=nc=d),x!=rc&&(c.textAlign=rc=x),k!=oc&&(c.textBaseline=oc=k)}function lc(d,y,x,k,T=0){if(k.length>0&&d.auto(r,fs)&&(y==null||y.min==null)){let O=_e(yt,0),A=_e(vt,k.length-1),j=x.min==null?d.distr==3?gT(k,O,A):mT(k,O,A,T):[x.min,x.max];d.min=Kt(d.min,x.min=j[0]),d.max=ht(d.max,x.max=j[1])}}function Qv(){let d=wo(C,N0);for(let k in d){let T=d[k],O=ne[k];if(O!=null&&O.min!=null)ut(T,O),k==b&&Vl(!0);else if(k!=b||o==2)if(gt==0&&T.from==null){let A=T.range(r,null,null,k);T.min=A[0],T.max=A[1]}else T.min=ve,T.max=-ve}if(gt>0){S.forEach((k,T)=>{if(o==1){let O=k.scale,A=d[O],j=ne[O];if(T==0){let Y=A.range(r,A.min,A.max,O);A.min=Y[0],A.max=Y[1],yt=Rr(A.min,t[0]),vt=Rr(A.max,t[0]),vt-yt>1&&(t[0][yt]A.max&&vt--),k.min=Fn[yt],k.max=Fn[vt]}else k.show&&k.auto&&lc(A,j,k,t[T],k.sorted);k.idxs[0]=yt,k.idxs[1]=vt}else if(T>0&&k.show&&k.auto){let[O,A]=k.facets,j=O.scale,Y=A.scale,[re,I]=t[T];lc(d[j],ne[j],O,re,O.sorted),lc(d[Y],ne[Y],A,I,A.sorted),k.min=A.min,k.max=A.max}});for(let k in d){let T=d[k],O=ne[k];if(T.from==null&&(O==null||O.min==null)){let A=T.range(r,T.min==ve?null:T.min,T.max==-ve?null:T.max,k);T.min=A[0],T.max=A[1]}}}for(let k in d){let T=d[k];if(T.from!=null){let O=d[T.from];if(O.min==null)T.min=T.max=null;else{let A=T.range(r,O.min,O.max,k);T.min=A[0],T.max=A[1]}}}let y={},x=!1;for(let k in d){let T=d[k],O=C[k];if(O.min!=T.min||O.max!=T.max){O.min=T.min,O.max=T.max;let A=O.distr;O._min=A==3?wr(O.min):A==4?Zc(O.min,O.asinh):O.min,O._max=A==3?wr(O.max):A==4?Zc(O.max,O.asinh):O.max,y[k]=x=!0}}if(x){S.forEach((k,T)=>{o==2?T>0&&y.y&&(k._paths=null):y[k.scale]&&(k._paths=null)});for(let k in y)oe=!0,Tt("setScale",k);ae.show&&ae.left>=0&&(ue=Ue=!0)}for(let k in ne)ne[k]=null}function Xv(d){let y=M0(yt-1,0,gt-1),x=M0(vt+1,0,gt-1);for(;d[y]==null&&y>0;)y--;for(;d[x]==null&&x0&&(S.forEach((d,y)=>{if(y>0&&d.show&&d._paths==null){let x=o==2?[0,t[y][0].length-1]:Xv(t[y]);d._paths=d.paths(r,y,x[0],x[1])}}),S.forEach((d,y)=>{if(y>0&&d.show){Ul!=d.alpha&&(c.globalAlpha=Ul=d.alpha),qp(y,!1),d._paths&&Jp(y,!1);{qp(y,!0);let x=d._paths?d._paths.gaps:null,k=d.points.show(r,y,yt,vt,x),T=d.points.filter(r,y,k,x);(k||T)&&(d.points._paths=d.points.paths(r,y,yt,vt,T),Jp(y,!0))}Ul!=1&&(c.globalAlpha=Ul=1),Tt("drawSeries",y)}}))}function qp(d,y){let x=y?S[d].points:S[d];x._stroke=x.stroke(r,d),x._fill=x.fill(r,d)}function Jp(d,y){let x=y?S[d].points:S[d],k=x._stroke,T=x._fill,{stroke:O,fill:A,clip:j,flags:Y}=x._paths,re=null,I=Ne(x.width*xe,3),J=I%2/2;y&&T==null&&(T=I>0?"#fff":k);let fe=x.pxAlign==1;if(fe&&c.translate(J,J),!y){let rt=De,pe=Fe,Ee=dt,he=We,Ce=I*xe/2;x.min==0&&(he+=Ce),x.max==0&&(pe-=Ce,he+=Ce),re=new Path2D,re.rect(rt,pe,Ee,he)}y?ic(k,I,x.dash,x.cap,T,O,A,Y,j):qv(d,k,I,x.dash,x.cap,T,O,A,Y,re,j),fe&&c.translate(-J,-J)}function qv(d,y,x,k,T,O,A,j,Y,re,I){let J=!1;P.forEach((fe,rt)=>{if(fe.series[0]==d){let pe=S[fe.series[1]],Ee=t[fe.series[1]],he=(pe._paths||$i).band;ao(he)&&(he=fe.dir==1?he[0]:he[1]);let Ce,it=null;pe.show&&he&&vT(Ee,yt,vt)?(it=fe.fill(r,rt)||O,Ce=pe._paths.clip):he=null,ic(y,x,k,T,it,A,j,Y,re,I,Ce,he),J=!0}}),J||ic(y,x,k,T,O,A,j,Y,re,I)}const eh=bo|Fu;function ic(d,y,x,k,T,O,A,j,Y,re,I,J){Xp(d,y,x,k,T),(Y||re||J)&&(c.save(),Y&&c.clip(Y),re&&c.clip(re)),J?(j&eh)==eh?(c.clip(J),I&&c.clip(I),hs(T,A),ps(d,O,y)):j&Fu?(hs(T,A),c.clip(J),ps(d,O,y)):j&bo&&(c.save(),c.clip(J),I&&c.clip(I),hs(T,A),c.restore(),ps(d,O,y)):(hs(T,A),ps(d,O,y)),(Y||re||J)&&c.restore()}function ps(d,y,x){x>0&&(y instanceof Map?y.forEach((k,T)=>{c.strokeStyle=ds=T,c.stroke(k)}):y!=null&&d&&c.stroke(y))}function hs(d,y){y instanceof Map?y.forEach((x,k)=>{c.fillStyle=$o=k,c.fill(x)}):y!=null&&d&&c.fill(y)}function Jv(d,y,x,k){let T=E[d],O;if(k<=0)O=[0,0];else{let A=T._space=T.space(r,d,y,x,k),j=T._incrs=T.incrs(r,d,y,x,k,A);O=jP(y,x,j,k,A)}return T._found=O}function sc(d,y,x,k,T,O,A,j,Y,re){let I=A%2/2;_==1&&c.translate(I,I),Xp(j,A,Y,re,j),c.beginPath();let J,fe,rt,pe,Ee=T+(k==0||k==3?-O:O);x==0?(fe=T,pe=Ee):(J=T,rt=Ee);for(let he=0;he{if(!x.show)return;let T=C[x.scale];if(T.min==null){x._show&&(y=!1,x._show=!1,Vl(!1));return}else x._show||(y=!1,x._show=!0,Vl(!1));let O=x.side,A=O%2,{min:j,max:Y}=T,[re,I]=Jv(k,j,Y,A==0?de:ie);if(I==0)return;let J=T.distr==2,fe=x._splits=x.splits(r,k,j,Y,re,I,J),rt=T.distr==2?fe.map(Ce=>Fn[Ce]):fe,pe=T.distr==2?Fn[fe[1]]-Fn[fe[0]]:re,Ee=x._values=x.values(r,x.filter(r,rt,k,I,pe),k,I,pe);x._rotate=O==2?x.rotate(r,Ee,k,I):0;let he=x._size;x._size=Lu(x.size(r,Ee,k,d)),he!=null&&x._size!=he&&(y=!1)}),y}function tw(d){let y=!0;return Yp.forEach((x,k)=>{let T=x(r,k,Jr,d);T!=br[k]&&(y=!1),br[k]=T}),y}function nw(){for(let d=0;dFn[In]):pe,he=I.distr==2?Fn[pe[1]]-Fn[pe[0]]:Y,Ce=y.ticks,it=y.border,nn=Ce.show?Mt(Ce.size*xe):0,Be=y._rotate*-iu/180,st=w(y._pos*xe),Dt=(nn+rt)*j,ot=st+Dt;O=k==0?ot:0,T=k==1?ot:0;let Vt=y.font[0],Bn=y.align==1?Ko:y.align==2?Qc:Be>0?Ko:Be<0?Qc:k==0?"center":x==3?Qc:Ko,Pr=Be||k==1?"middle":x==2?ci:h0;Zp(Vt,A,Bn,Pr);let hh=y.font[1]*aP,Ss=pe.map(In=>w(a(In,I,J,fe))),mh=y._values;for(let In=0;In{x>0&&(y._paths=null,d&&(o==1?(y.min=null,y.max=null):y.facets.forEach(k=>{k.min=null,k.max=null})))})}let uc=!1;function eo(){uc||(NT(rw),uc=!0)}function rw(){K&&(Qv(),K=!1),oe&&(jv(),oe=!1),L&&(Qe(v,Ko,se),Qe(v,ci,Oe),Qe(v,gi,de),Qe(v,yi,ie),Qe(h,Ko,se),Qe(h,ci,Oe),Qe(h,gi,de),Qe(h,yi,ie),Qe(m,gi,Dn),Qe(m,yi,_n),p.width=Mt(Dn*xe),p.height=Mt(_n*xe),E.forEach(({_el:d,_show:y,_size:x,_pos:k,side:T})=>{if(d!=null)if(y){let O=T===3||T===0?x:0,A=T%2==1;Qe(d,A?"left":"top",k-O),Qe(d,A?"width":"height",x),Qe(d,A?"top":"left",A?Oe:se),Qe(d,A?"height":"width",A?ie:de),ud(d,uo)}else fn(d,uo)}),ds=$o=qa=ec=tc=nc=rc=oc=Ja=null,Ul=1,vs(!0),Tt("setSize"),L=!1),Dn>0&&_n>0&&(c.clearRect(0,0,p.width,p.height),Tt("drawClear"),$.forEach(d=>d()),Tt("draw")),tn.show&&ze&&(ys(tn),ze=!1),ae.show&&ue&&(no(null,!0,!1),ue=!1),U.show&&U.live&&Ue&&(dc(),Ue=!1),s||(s=!0,r.status=1,Tt("ready")),fs=!1,uc=!1}r.redraw=(d,y)=>{oe=y||!1,d!==!1?zo(b,z.min,z.max):eo()};function ac(d,y){let x=C[d];if(x.from==null){if(gt==0){let k=x.range(r,y.min,y.max,d);y.min=k[0],y.max=k[1]}if(y.min>y.max){let k=y.min;y.min=y.max,y.max=k}if(gt>1&&y.min!=null&&y.max!=null&&y.max-y.min<1e-16)return;d==b&&x.distr==2&>>0&&(y.min=Rr(y.min,t[0]),y.max=Rr(y.max,t[0]),y.min==y.max&&y.max++),ne[d]=y,K=!0,eo()}}r.setScale=ac;let cc,fc,ms,gs,th,nh,Oo,No,rh,oh,Ve,He,Tr=!1;const bt=ae.drag;let wt=bt.x,St=bt.y;ae.show&&(ae.x&&(cc=En(eT,h)),ae.y&&(fc=En(tT,h)),z.ori==0?(ms=cc,gs=fc):(ms=fc,gs=cc),Ve=ae.left,He=ae.top);const tn=r.select=ut({show:!0,over:!0,left:0,width:0,top:0,height:0},e.select),Hl=tn.show?En(Jb,tn.over?h:v):null;function ys(d,y){if(tn.show){for(let x in d)tn[x]=d[x],x in uh&&Qe(Hl,x,d[x]);y!==!1&&Tt("setSelect")}}r.setSelect=ys;function ow(d,y){let x=S[d],k=ge?Le[d]:null;x.show?k&&ud(k,uo):(k&&fn(k,uo),en.length>1&&Go(en[d],-10,-10,de,ie))}function zo(d,y,x){ac(d,{min:y,max:x})}function qn(d,y,x,k){y.focus!=null&&aw(d),y.show!=null&&S.forEach((T,O)=>{O>0&&(d==O||d==null)&&(T.show=y.show,ow(O,y.show),zo(o==2?T.facets[1].scale:T.scale,null,null),eo())}),x!==!1&&Tt("setSeries",d,y),k&&Xl("setSeries",r,d,y)}r.setSeries=qn;function lw(d,y){ut(P[d],y)}function iw(d,y){d.fill=ye(d.fill||null),d.dir=_e(d.dir,-1),y=y??P.length,P.splice(y,0,d)}function sw(d){d==null?P.length=0:P.splice(d,1)}r.addBand=iw,r.setBand=lw,r.delBand=sw;function uw(d,y){S[d].alpha=y,ae.show&&en[d]&&(en[d].style.opacity=y),ge&&Le[d]&&(Le[d].style.opacity=y)}let to,Kl,Gl;const Ao={focus:!0};function aw(d){if(d!=Gl){let y=d==null,x=qr.alpha!=1;S.forEach((k,T)=>{let O=y||T==0||T==d;k._focus=y?null:O,x&&uw(T,O?1:qr.alpha)}),Gl=d,x&&eo()}}ge&&jl&&Dr(w0,ce,d=>{ae._lock||Gl!=null&&qn(null,Ao,!0,Pt.setSeries)});function Jn(d,y,x){let k=C[y];x&&(d=d/xe-(k.ori==1?Oe:se));let T=de;k.ori==1&&(T=ie,d=T-d),k.dir==-1&&(d=T-d);let O=k._min,A=k._max,j=d/T,Y=O+(A-O)*j,re=k.distr;return re==3?Ml(10,Y):re==4?ST(Y,k.asinh):Y}function cw(d,y){let x=Jn(d,b,y);return Rr(x,t[0],yt,vt)}r.valToIdx=d=>Rr(d,t[0]),r.posToIdx=cw,r.posToVal=Jn,r.valToPos=(d,y,x)=>C[y].ori==0?i(d,C[y],x?dt:de,x?De:0):u(d,C[y],x?We:ie,x?Fe:0);function fw(d){d(r),eo()}r.batch=fw,r.setCursor=(d,y,x)=>{Ve=d.left,He=d.top,no(null,y,x)};function lh(d,y){Qe(Hl,Ko,tn.left=d),Qe(Hl,gi,tn.width=y)}function ih(d,y){Qe(Hl,ci,tn.top=d),Qe(Hl,yi,tn.height=y)}let Yl=z.ori==0?lh:ih,Ql=z.ori==1?lh:ih;function dw(){if(ge&&U.live)for(let d=o==2?1:0;d{te[k]=x}):bT(d.idx)||te.fill(d.idx),U.idx=te[0]);for(let x=0;x0||o==1&&!we)&&pw(x,te[x]);ge&&U.live&&dw(),Ue=!1,y!==!1&&Tt("setLegend")}r.setLegend=dc;function pw(d,y){let x=S[d],k=d==0&&F==2?Fn:t[d],T;we?T=x.values(r,d,y)??Lt:(T=x.value(r,y==null?null:k[y],d,y),T=T==null?Lt:{_:T}),U.values[d]=T}function no(d,y,x){rh=Ve,oh=He,[Ve,He]=ae.move(r,Ve,He),ae.show&&(ms&&Go(ms,Mt(Ve),0,de,ie),gs&&Go(gs,0,Mt(He),de,ie));let k,T=yt>vt;to=ve;let O=z.ori==0?de:ie,A=z.ori==1?de:ie;if(Ve<0||gt==0||T){k=null;for(let j=0;j0&&en.length>1&&Go(en[j],-10,-10,de,ie);jl&&qn(null,Ao,!0,d==null&&Pt.setSeries),U.live&&(te.fill(k),Ue=!0)}else{let j,Y,re;o==1&&(j=z.ori==0?Ve:He,Y=Jn(j,b),k=Rr(Y,t[0],yt,vt),re=H(t[0][k],z,O,0));for(let I=o==2?1:0;I0&&J.show){let Ce=Ee==null?-10:$l(q(Ee,o==1?C[J.scale]:C[J.facets[1].scale],A,0),1);if(jl&&Ce>=0&&o==1){let Be=jt(Ce-He),st=qr.bias;if(st!=0){let Dt=z.ori==1?Ve:He,ot=Jn(Dt,J.scale),Vt=Ee>=0?1:-1,Bn=ot>=0?1:-1;Bn==Vt&&Be=ot:Ee<=ot:st==1?Ee<=ot:Ee>=ot)&&(to=Be,Kl=I)}else Be1){pT(en[I],ae.points.fill(r,I),ae.points.stroke(r,I));let Be,st,Dt,ot,Vt=!0,Bn=ae.points.bbox;if(Bn!=null){Vt=!1;let Pr=Bn(r,I);Dt=Pr.left,ot=Pr.top,Be=Pr.width,st=Pr.height}else Dt=it,ot=nn,Be=st=ae.points.size(r,I);hT(en[I],Be,st,Vt),Go(en[I],Dt,ot,de,ie)}}}}if(ae.idx=k,ae.left=Ve,ae.top=He,Ue&&(U.idx=k,dc()),tn.show&&Tr)if(d!=null){let[j,Y]=Pt.scales,[re,I]=Pt.match,[J,fe]=d.cursor.sync.scales,rt=d.cursor.drag;if(wt=rt._x,St=rt._y,wt||St){let{left:pe,top:Ee,width:he,height:Ce}=d.select,it=d.scales[j].ori,nn=d.posToVal,Be,st,Dt,ot,Vt,Bn=j!=null&&re(j,J),Pr=Y!=null&&I(Y,fe);Bn&&wt?(it==0?(Be=pe,st=he):(Be=Ee,st=Ce),Dt=C[j],ot=H(nn(Be,J),Dt,O,0),Vt=H(nn(Be+st,J),Dt,O,0),Yl(Kt(ot,Vt),jt(Vt-ot))):Yl(0,O),Pr&&St?(it==1?(Be=pe,st=he):(Be=Ee,st=Ce),Dt=C[Y],ot=q(nn(Be,fe),Dt,A,0),Vt=q(nn(Be+st,fe),Dt,A,0),Ql(Kt(ot,Vt),jt(Vt-ot))):Ql(0,A)}else hc()}else{let j=jt(rh-th),Y=jt(oh-nh);if(z.ori==1){let fe=j;j=Y,Y=fe}wt=bt.x&&j>=bt.dist,St=bt.y&&Y>=bt.dist;let re=bt.uni;re!=null?wt&&St&&(wt=j>=re,St=Y>=re,!wt&&!St&&(Y>j?St=!0:wt=!0)):bt.x&&bt.y&&(wt||St)&&(wt=St=!0);let I,J;wt&&(z.ori==0?(I=Oo,J=Ve):(I=No,J=He),Yl(Kt(I,J),jt(J-I)),St||Ql(0,A)),St&&(z.ori==1?(I=Oo,J=Ve):(I=No,J=He),Ql(Kt(I,J),jt(J-I)),wt||Yl(0,O)),!wt&&!St&&(Yl(0,0),Ql(0,0))}if(bt._x=wt,bt._y=St,d==null){if(x){if(ph!=null){let[j,Y]=Pt.scales;Pt.values[0]=j!=null?Jn(z.ori==0?Ve:He,j):null,Pt.values[1]=Y!=null?Jn(z.ori==1?Ve:He,Y):null}Xl(g0,r,Ve,He,de,ie,k)}if(jl){let j=x&&Pt.setSeries,Y=qr.prox;Gl==null?to<=Y&&qn(Kl,Ao,!0,j):to>Y?qn(null,Ao,!0,j):Kl!=Gl&&qn(Kl,Ao,!0,j)}}y!==!1&&Tt("setCursor")}let Lo=null;function vs(d){d===!0?Lo=null:(Lo=h.getBoundingClientRect(),Tt("syncRect",Lo))}function sh(d,y,x,k,T,O,A){ae._lock||Tr&&d!=null&&d.movementX==0&&d.movementY==0||(pc(d,y,x,k,T,O,A,!1,d!=null),d!=null?no(null,!0,!0):no(y,!0,!1))}function pc(d,y,x,k,T,O,A,j,Y){if(Lo==null&&vs(!1),d!=null)x=d.clientX-Lo.left,k=d.clientY-Lo.top;else{if(x<0||k<0){Ve=-10,He=-10;return}let[re,I]=Pt.scales,J=y.cursor.sync,[fe,rt]=J.values,[pe,Ee]=J.scales,[he,Ce]=Pt.match,it=y.axes[0].side%2==1,nn=z.ori==0?de:ie,Be=z.ori==1?de:ie,st=it?O:T,Dt=it?T:O,ot=it?k:x,Vt=it?x:k;if(pe!=null?x=he(re,pe)?a(fe,C[re],nn,0):-10:x=nn*(ot/st),Ee!=null?k=Ce(I,Ee)?a(rt,C[I],Be,0):-10:k=Be*(Vt/Dt),z.ori==1){let Bn=x;x=k,k=Bn}}Y&&((x<=1||x>=de-1)&&(x=io(x,de)),(k<=1||k>=ie-1)&&(k=io(k,ie))),j?(th=x,nh=k,[Oo,No]=ae.move(r,x,k)):(Ve=x,He=k)}const uh={width:0,height:0,left:0,top:0};function hc(){ys(uh,!1)}function ah(d,y,x,k,T,O,A){Tr=!0,wt=St=bt._x=bt._y=!1,pc(d,y,x,k,T,O,A,!0,!1),d!=null&&(Jt(Xc,id,ch),Xl(y0,r,Oo,No,de,ie,null))}function ch(d,y,x,k,T,O,A){Tr=bt._x=bt._y=!1,pc(d,y,x,k,T,O,A,!1,!0);let{left:j,top:Y,width:re,height:I}=tn,J=re>0||I>0;if(J&&ys(tn),bt.setScale&&J){let fe=j,rt=re,pe=Y,Ee=I;if(z.ori==1&&(fe=Y,rt=I,pe=j,Ee=re),wt&&zo(b,Jn(fe,b),Jn(fe+rt,b)),St)for(let he in C){let Ce=C[he];he!=b&&Ce.from==null&&Ce.min!=ve&&zo(he,Jn(pe+Ee,he),Jn(pe,he))}hc()}else ae.lock&&(ae._lock=!ae._lock,ae._lock||no(null,!0,!1));d!=null&&(ar(Xc,id),Xl(Xc,r,Ve,He,de,ie,null))}function hw(d,y,x,k,T,O,A){if(!ae._lock){let j=Tr;if(Tr){let Y=!0,re=!0,I=10,J,fe;z.ori==0?(J=wt,fe=St):(J=St,fe=wt),J&&fe&&(Y=Ve<=I||Ve>=de-I,re=He<=I||He>=ie-I),J&&Y&&(Ve=Ve{qn(x,k,!0,!1)},ae.show&&(Jt(y0,h,ah),Jt(g0,h,sh),Jt(v0,h,vs),Jt(w0,h,hw),Jt(S0,h,fh),fd.add(r),r.syncRect=vs);const ws=r.hooks=e.hooks||{};function Tt(d,y,x){d in ws&&ws[d].forEach(k=>{k.call(null,r,y,x)})}(e.plugins||[]).forEach(d=>{for(let y in d.hooks)ws[y]=(ws[y]||[]).concat(d.hooks[y])});const Pt=ut({key:null,setSeries:!1,filters:{pub:R0,sub:R0},scales:[b,S[1]?S[1].scale:null],match:[$0,$0],values:[null,null]},ae.sync);ae.sync=Pt;const ph=Pt.key,mc=wv(ph);function Xl(d,y,x,k,T,O,A){Pt.filters.pub(d,y,x,k,T,O,A)&&mc.pub(d,y,x,k,T,O,A)}mc.sub(r);function mw(d,y,x,k,T,O,A){Pt.filters.sub(d,y,x,k,T,O,A)&&Do[d](null,y,x,k,T,O,A)}r.pub=mw;function gw(){mc.unsub(r),fd.delete(r),qt.clear(),ad(zu,yl,dh),f.remove(),ce==null||ce.remove(),Tt("destroy")}r.destroy=gw;function gc(){Tt("init",e,t),Qp(t||e.data,!1),ne[b]?ac(b,ne[b]):Za(),ze=tn.show,ue=Ue=!0,Zn(e.width,e.height)}return S.forEach(Gp),E.forEach(Yv),n?n instanceof HTMLElement?(n.appendChild(f),gc()):n(r,gc):gc(),r}Nt.assign=ut;Nt.fmtNum=Bp;Nt.rangeNum=Au;Nt.rangeLog=ja;Nt.rangeAsinh=Dp;Nt.orient=Ro;Nt.pxRatio=xe;Nt.join=OT;Nt.fmtDate=Ip,Nt.tzDate=IT;Nt.sync=wv;{Nt.addGap=bP,Nt.clipGaps=Ha;let e=Nt.paths={points:Cv};e.linear=Tv,e.stepped=MP,e.bars=RP,e.spline=OP}const UP=Object.freeze(Object.defineProperty({__proto__:null,default:Nt},Symbol.toStringTag,{value:"Module"})),VP=vw(UP);(function(e,t){(function(r,o){e.exports=o(N,VP)})(self,(n,r)=>(()=>{var o={"./common/index.ts":(a,s,f)=>{f.r(s),f.d(s,{dataMatch:()=>m,optionsUpdateState:()=>c});var p=function(v,h){var _={};for(var w in v)Object.prototype.hasOwnProperty.call(v,w)&&h.indexOf(w)<0&&(_[w]=v[w]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,w=Object.getOwnPropertySymbols(v);g{a.exports=n},uplot:a=>{a.exports=r}},l={};function i(a){var s=l[a];if(s!==void 0)return s.exports;var f=l[a]={exports:{}};return o[a](f,f.exports,i),f.exports}i.n=a=>{var s=a&&a.__esModule?()=>a.default:()=>a;return i.d(s,{a:s}),s},i.d=(a,s)=>{for(var f in s)i.o(s,f)&&!i.o(a,f)&&Object.defineProperty(a,f,{enumerable:!0,get:s[f]})},i.o=(a,s)=>Object.prototype.hasOwnProperty.call(a,s),i.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})};var u={};return(()=>{/*!*******************************!*\ - !*** ./react/uplot-react.tsx ***! - \*******************************/i.r(u),i.d(u,{default:()=>m});var a=i("react"),s=i.n(a),f=i("uplot"),p=i.n(f),c=i("./common/index.ts");function m(v){var h=v.options,_=v.data,w=v.target,g=v.onDelete,S=g===void 0?function(){}:g,E=v.onCreate,C=E===void 0?function(){}:E,P=v.resetScales,b=P===void 0?!0:P,M=(0,a.useRef)(null),$=(0,a.useRef)(null);function R(H){H&&(S(H),H.destroy(),M.current=null)}function z(){var H=new(p())(h,_,w||$.current);M.current=H,C(H)}(0,a.useEffect)(function(){return z(),function(){R(M.current)}},[]);var F=(0,a.useRef)({options:h,data:_,target:w}).current;return(0,a.useEffect)(function(){if(F.options!==h){var H=(0,c.optionsUpdateState)(F.options,h);!M.current||H==="create"?(R(M.current),z()):H==="update"&&M.current.setSize({width:h.width,height:h.height})}return F.data!==_&&(M.current?(0,c.dataMatch)(F.data,_)||(b?M.current.setData(_,!0):(M.current.setData(_,!1),M.current.redraw())):z()),F.target!==w&&(R(M.current),z()),function(){F.options=h,F.data=_,F.target=w}},[h,_,w,b]),w?null:s().createElement("div",{ref:$})}})(),u=u.default,u})())})(Ub);const $v=og(ld);var Ov=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,l){return o[0]===n?(r=l,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,l=this.__entries__;o0},e.prototype.connect_=function(){!pd||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),XP?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!pd||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=QP.some(function(l){return!!~r.indexOf(l)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Nv=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Nl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new l3(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Nl(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new i3(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Av=typeof WeakMap<"u"?new WeakMap:new Ov,Lv=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=ZP.getInstance(),r=new s3(t,n,this);Av.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Lv.prototype[e]=function(){var t;return(t=Av.get(this))[e].apply(t,arguments)}});var u3=function(){return typeof Bu.ResizeObserver<"u"?Bu.ResizeObserver:Lv}();function a3(e,t,n){var r=this,o=N.useRef(null),l=N.useRef(0),i=N.useRef(null),u=N.useRef([]),a=N.useRef(),s=N.useRef(),f=N.useRef(e),p=N.useRef(!0);N.useEffect(function(){f.current=e},[e]);var c=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var m=!!(n=n||{}).leading,v=!("trailing"in n)||!!n.trailing,h="maxWait"in n,_=h?Math.max(+n.maxWait||0,t):null;N.useEffect(function(){return p.current=!0,function(){p.current=!1}},[]);var w=N.useMemo(function(){var g=function(M){var $=u.current,R=a.current;return u.current=a.current=null,l.current=M,s.current=f.current.apply(R,$)},S=function(M,$){c&&cancelAnimationFrame(i.current),i.current=c?requestAnimationFrame(M):setTimeout(M,$)},E=function(M){if(!p.current)return!1;var $=M-o.current;return!o.current||$>=t||$<0||h&&M-l.current>=_},C=function(M){return i.current=null,v&&u.current?g(M):(u.current=a.current=null,s.current)},P=function M(){var $=Date.now();if(E($))return C($);if(p.current){var R=t-($-o.current),z=h?Math.min(R,_-($-l.current)):R;S(M,z)}},b=function(){var M=Date.now(),$=E(M);if(u.current=[].slice.call(arguments),a.current=r,o.current=M,$){if(!i.current&&p.current)return l.current=o.current,S(P,t),m?g(o.current):s.current;if(h)return S(P,t),g(o.current)}return i.current||S(P,t),s.current};return b.cancel=function(){i.current&&(c?cancelAnimationFrame(i.current):clearTimeout(i.current)),l.current=0,u.current=o.current=a.current=i.current=null},b.isPending=function(){return!!i.current},b.flush=function(){return i.current?C(Date.now()):s.current},b},[m,h,t,_,v,c]);return w}var Dv={},hd={};(function(e){var t=co&&co.__assign||function(){return t=Object.assign||function(c){for(var m,v=1,h=arguments.length;v"u"||c===null){var h=typeof v=="function"?v():v,_=i.errorCreator(n.NoValue,m,h);throw i.errorReporter&&i.errorReporter(n.NoValue,_,m,h),_}return c},f=function(c,m,v){var h=i.warningReporter;if(typeof c=="boolean"){if(!c){var _=typeof v=="function"?v():v;e.assert(h,"assert.soft must have warningReporter configured, see https://www.npmjs.com/package/assert-ts#configuration")(n.Condition,m,_)}return c}if(c==null){var _=typeof v=="function"?v():v;return e.assert(h,"assert.soft must have warningReporter configured, see https://www.npmjs.com/package/assert-ts#configuration")(n.NoValue,m,_),!1}return!0},p=s;p.soft=f,e.assert=p})(hd);(function(e){var t=co&&co.__createBinding||(Object.create?function(o,l,i,u){u===void 0&&(u=i),Object.defineProperty(o,u,{enumerable:!0,get:function(){return l[i]}})}:function(o,l,i,u){u===void 0&&(u=i),o[u]=l[i]}),n=co&&co.__exportStar||function(o,l){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(l,i)&&t(l,o,i)};Object.defineProperty(e,"__esModule",{value:!0});var r=hd;n(hd,e),e.default=r.assert})(Dv);const c3=e=>e==null;var J0,eg;(function(e){e.GET="get",e.POST="post",e.PUT="put",e.DELETE="delete"})(J0||(J0={})),function(e){e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NoContent=204]="NoContent",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.BadRequest=400]="BadRequest",e[e.Unauthorised=401]="Unauthorised",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"}(eg||(eg={}));const f3=e=>e;var To;(function(e){e.development="development",e.test="test",e.production="production"})(To||(To={}));const Kp=To.production||To.development;To.development;To.test;To.production;const Fv=(e,{debounceDelay:t=0,initialValues:n={width:0,height:0},transformFunc:r=f3,maxDifference:o=10}={})=>{const[{width:l,height:i},u]=N.useState({width:n.width,height:n.height}),a=N.useRef({width:n.width,height:n.height}),s=N.useCallback(r,[r]);Dv.assert(!!e,"You must pass a valid ref to useParentSize");const f=a3(c=>{u(c)},t,{leading:!0}),p=e.current;return N.useLayoutEffect(()=>{if(c3(p))return void u({width:l,height:i});const c=new u3(m=>{if(!Array.isArray(m)||m.length!==1)return;const v=m[0],h=Math.round(v.contentRect.width),_=Math.round(v.contentRect.height),w={width:h,height:_},g=Math.abs(h-a.current.width),S=Math.abs(_-a.current.height);(g>o||S>o)&&(a.current.height=_,a.current.width=h,f(w))});return requestAnimationFrame(()=>c.observe(p)),()=>{p&&(c==null||c.unobserve(p))}},[o,f,i,p,l]),N.useMemo(()=>s({width:l,height:i}),[i,s,l])};var md={},d3={get exports(){return md},set exports(e){md=e}};/*! @preserve - * numeral.js - * version : 2.0.6 - * author : Adam Draper - * license : MIT - * http://adamwdraper.github.com/Numeral-js/ - */(function(e){(function(t,n){e.exports?e.exports=n():t.numeral=n()})(co,function(){var t,n,r="2.0.6",o={},l={},i={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:i.currentLocale,zeroFormat:i.zeroFormat,nullFormat:i.nullFormat,defaultFormat:i.defaultFormat,scalePercentBy100:i.scalePercentBy100};function a(s,f){this._input=s,this._value=f}return t=function(s){var f,p,c,m;if(t.isNumeral(s))f=s.value();else if(s===0||typeof s>"u")f=0;else if(s===null||n.isNaN(s))f=null;else if(typeof s=="string")if(u.zeroFormat&&s===u.zeroFormat)f=0;else if(u.nullFormat&&s===u.nullFormat||!s.replace(/[^0-9]+/g,"").length)f=null;else{for(p in o)if(m=typeof o[p].regexps.unformat=="function"?o[p].regexps.unformat():o[p].regexps.unformat,m&&s.match(m)){c=o[p].unformat;break}c=c||t._.stringToNumber,f=c(s)}else f=Number(s)||null;return new a(s,f)},t.version=r,t.isNumeral=function(s){return s instanceof a},t._=n={numberToFormat:function(s,f,p){var c=l[t.options.currentLocale],m=!1,v=!1,h=0,_="",w=1e12,g=1e9,S=1e6,E=1e3,C="",P=!1,b,M,$,R,z,F,H;if(s=s||0,M=Math.abs(s),t._.includes(f,"(")?(m=!0,f=f.replace(/[\(|\)]/g,"")):(t._.includes(f,"+")||t._.includes(f,"-"))&&(z=t._.includes(f,"+")?f.indexOf("+"):s<0?f.indexOf("-"):-1,f=f.replace(/[\+|\-]/g,"")),t._.includes(f,"a")&&(b=f.match(/a(k|m|b|t)?/),b=b?b[1]:!1,t._.includes(f," a")&&(_=" "),f=f.replace(new RegExp(_+"a[kmbt]?"),""),M>=w&&!b||b==="t"?(_+=c.abbreviations.trillion,s=s/w):M=g&&!b||b==="b"?(_+=c.abbreviations.billion,s=s/g):M=S&&!b||b==="m"?(_+=c.abbreviations.million,s=s/S):(M=E&&!b||b==="k")&&(_+=c.abbreviations.thousand,s=s/E)),t._.includes(f,"[.]")&&(v=!0,f=f.replace("[.]",".")),$=s.toString().split(".")[0],R=f.split(".")[1],F=f.indexOf(","),h=(f.split(".")[0].split(",")[0].match(/0/g)||[]).length,R?(t._.includes(R,"[")?(R=R.replace("]",""),R=R.split("["),C=t._.toFixed(s,R[0].length+R[1].length,p,R[1].length)):C=t._.toFixed(s,R.length,p),$=C.split(".")[0],t._.includes(C,".")?C=c.delimiters.decimal+C.split(".")[1]:C="",v&&Number(C.slice(1))===0&&(C="")):$=t._.toFixed(s,0,p),_&&!b&&Number($)>=1e3&&_!==c.abbreviations.trillion)switch($=String(Number($)/1e3),_){case c.abbreviations.thousand:_=c.abbreviations.million;break;case c.abbreviations.million:_=c.abbreviations.billion;break;case c.abbreviations.billion:_=c.abbreviations.trillion;break}if(t._.includes($,"-")&&($=$.slice(1),P=!0),$.length0;q--)$="0"+$;return F>-1&&($=$.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+c.delimiters.thousands)),f.indexOf(".")===0&&($=""),H=$+C+(_||""),m?H=(m&&P?"(":"")+H+(m&&P?")":""):z>=0?H=z===0?(P?"-":"+")+H:H+(P?"-":"+"):P&&(H="-"+H),H},stringToNumber:function(s){var f=l[u.currentLocale],p=s,c={thousand:3,million:6,billion:9,trillion:12},m,v,h;if(u.zeroFormat&&s===u.zeroFormat)v=0;else if(u.nullFormat&&s===u.nullFormat||!s.replace(/[^0-9]+/g,"").length)v=null;else{v=1,f.delimiters.decimal!=="."&&(s=s.replace(/\./g,"").replace(f.delimiters.decimal,"."));for(m in c)if(h=new RegExp("[^a-zA-Z]"+f.abbreviations[m]+"(?:\\)|(\\"+f.currency.symbol+")?(?:\\))?)?$"),p.match(h)){v*=Math.pow(10,c[m]);break}v*=(s.split("-").length+Math.min(s.split("(").length-1,s.split(")").length-1))%2?1:-1,s=s.replace(/[^0-9\.]+/g,""),v*=Number(s)}return v},isNaN:function(s){return typeof s=="number"&&isNaN(s)},includes:function(s,f){return s.indexOf(f)!==-1},insert:function(s,f,p){return s.slice(0,p)+f+s.slice(p)},reduce:function(s,f){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof f!="function")throw new TypeError(f+" is not a function");var p=Object(s),c=p.length>>>0,m=0,v;if(arguments.length===3)v=arguments[2];else{for(;m=c)throw new TypeError("Reduce of empty array with no initial value");v=p[m++]}for(;mc?f:c},1)},toFixed:function(s,f,p,c){var m=s.toString().split("."),v=f-(c||0),h,_,w,g;return m.length===2?h=Math.min(Math.max(m[1].length,v),f):h=v,w=Math.pow(10,h),g=(p(s+"e+"+h)/w).toFixed(h),c>f-h&&(_=new RegExp("\\.?0{1,"+(c-(f-h))+"}$"),g=g.replace(_,"")),g}},t.options=u,t.formats=o,t.locales=l,t.locale=function(s){return s&&(u.currentLocale=s.toLowerCase()),u.currentLocale},t.localeData=function(s){if(!s)return l[u.currentLocale];if(s=s.toLowerCase(),!l[s])throw new Error("Unknown locale : "+s);return l[s]},t.reset=function(){for(var s in i)u[s]=i[s]},t.zeroFormat=function(s){u.zeroFormat=typeof s=="string"?s:null},t.nullFormat=function(s){u.nullFormat=typeof s=="string"?s:null},t.defaultFormat=function(s){u.defaultFormat=typeof s=="string"?s:"0.0"},t.register=function(s,f,p){if(f=f.toLowerCase(),this[s+"s"][f])throw new TypeError(f+" "+s+" already registered.");return this[s+"s"][f]=p,p},t.validate=function(s,f){var p,c,m,v,h,_,w,g;if(typeof s!="string"&&(s+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",s)),s=s.trim(),s.match(/^\d+$/))return!0;if(s==="")return!1;try{w=t.localeData(f)}catch{w=t.localeData(t.locale())}return m=w.currency.symbol,h=w.abbreviations,p=w.delimiters.decimal,w.delimiters.thousands==="."?c="\\.":c=w.delimiters.thousands,g=s.match(/^[^\d]+/),g!==null&&(s=s.substr(1),g[0]!==m)||(g=s.match(/[^\d]+$/),g!==null&&(s=s.slice(0,-1),g[0]!==h.thousand&&g[0]!==h.million&&g[0]!==h.billion&&g[0]!==h.trillion))?!1:(_=new RegExp(c+"{2}"),s.match(/[^\d.,]/g)?!1:(v=s.split(p),v.length>2?!1:v.length<2?!!v[0].match(/^\d+.*\d$/)&&!v[0].match(_):v[0].length===1?!!v[0].match(/^\d+$/)&&!v[0].match(_)&&!!v[1].match(/^\d+$/):!!v[0].match(/^\d+.*\d$/)&&!v[0].match(_)&&!!v[1].match(/^\d+$/)))},t.fn=a.prototype={clone:function(){return t(this)},format:function(s,f){var p=this._value,c=s||u.defaultFormat,m,v,h;if(f=f||Math.round,p===0&&u.zeroFormat!==null)v=u.zeroFormat;else if(p===null&&u.nullFormat!==null)v=u.nullFormat;else{for(m in o)if(c.match(o[m].regexps.format)){h=o[m].format;break}h=h||t._.numberToFormat,v=h(p,c,f)}return v},value:function(){return this._value},input:function(){return this._input},set:function(s){return this._value=Number(s),this},add:function(s){var f=n.correctionFactor.call(null,this._value,s);function p(c,m,v,h){return c+Math.round(f*m)}return this._value=n.reduce([this._value,s],p,0)/f,this},subtract:function(s){var f=n.correctionFactor.call(null,this._value,s);function p(c,m,v,h){return c-Math.round(f*m)}return this._value=n.reduce([s],p,Math.round(this._value*f))/f,this},multiply:function(s){function f(p,c,m,v){var h=n.correctionFactor(p,c);return Math.round(p*h)*Math.round(c*h)/Math.round(h*h)}return this._value=n.reduce([this._value,s],f,1),this},divide:function(s){function f(p,c,m,v){var h=n.correctionFactor(p,c);return Math.round(p*h)/Math.round(c*h)}return this._value=n.reduce([this._value,s],f),this},difference:function(s){return Math.abs(t(this._value).subtract(s).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(s){var f=s%10;return~~(s%100/10)===1?"th":f===1?"st":f===2?"nd":f===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(s,f,p){var c=t._.includes(f," BPS")?" ":"",m;return s=s*1e4,f=f.replace(/\s?BPS/,""),m=t._.numberToFormat(s,f,p),t._.includes(m,")")?(m=m.split(""),m.splice(-1,0,c+"BPS"),m=m.join("")):m=m+c+"BPS",m},unformat:function(s){return+(t._.stringToNumber(s)*1e-4).toFixed(15)}})}(),function(){var s={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},f={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},p=s.suffixes.concat(f.suffixes.filter(function(m){return s.suffixes.indexOf(m)<0})),c=p.join("|");c="("+c.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(c)},format:function(m,v,h){var _,w=t._.includes(v,"ib")?f:s,g=t._.includes(v," b")||t._.includes(v," ib")?" ":"",S,E,C;for(v=v.replace(/\s?i?b/,""),S=0;S<=w.suffixes.length;S++)if(E=Math.pow(w.base,S),C=Math.pow(w.base,S+1),m===null||m===0||m>=E&&m0&&(m=m/E);break}return _=t._.numberToFormat(m,v,h),_+g},unformat:function(m){var v=t._.stringToNumber(m),h,_;if(v){for(h=s.suffixes.length-1;h>=0;h--){if(t._.includes(m,s.suffixes[h])){_=Math.pow(s.base,h);break}if(t._.includes(m,f.suffixes[h])){_=Math.pow(f.base,h);break}}v*=_||1}return v}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(s,f,p){var c=t.locales[t.options.currentLocale],m={before:f.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:f.match(/([\+|\-|\)|\s|\$]*)$/)[0]},v,h,_;for(f=f.replace(/\s?\$\s?/,""),v=t._.numberToFormat(s,f,p),s>=0?(m.before=m.before.replace(/[\-\(]/,""),m.after=m.after.replace(/[\-\)]/,"")):s<0&&!t._.includes(m.before,"-")&&!t._.includes(m.before,"(")&&(m.before="-"+m.before),_=0;_=0;_--)switch(h=m.after[_],h){case"$":v=_===m.after.length-1?v+c.currency.symbol:t._.insert(v,c.currency.symbol,-(m.after.length-(1+_)));break;case" ":v=_===m.after.length-1?v+" ":t._.insert(v," ",-(m.after.length-(1+_)+c.currency.symbol.length-1));break}return v}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(s,f,p){var c,m=typeof s=="number"&&!t._.isNaN(s)?s.toExponential():"0e+0",v=m.split("e");return f=f.replace(/e[\+|\-]{1}0/,""),c=t._.numberToFormat(Number(v[0]),f,p),c+"e"+v[1]},unformat:function(s){var f=t._.includes(s,"e+")?s.split("e+"):s.split("e-"),p=Number(f[0]),c=Number(f[1]);c=t._.includes(s,"e-")?c*=-1:c;function m(v,h,_,w){var g=t._.correctionFactor(v,h),S=v*g*(h*g)/(g*g);return S}return t._.reduce([p,Math.pow(10,c)],m,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(s,f,p){var c=t.locales[t.options.currentLocale],m,v=t._.includes(f," o")?" ":"";return f=f.replace(/\s?o/,""),v+=c.ordinal(s),m=t._.numberToFormat(s,f,p),m+v}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(s,f,p){var c=t._.includes(f," %")?" ":"",m;return t.options.scalePercentBy100&&(s=s*100),f=f.replace(/\s?\%/,""),m=t._.numberToFormat(s,f,p),t._.includes(m,")")?(m=m.split(""),m.splice(-1,0,c+"%"),m=m.join("")):m=m+c+"%",m},unformat:function(s){var f=t._.stringToNumber(s);return t.options.scalePercentBy100?f*.01:f}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(s,f,p){var c=Math.floor(s/60/60),m=Math.floor((s-c*60*60)/60),v=Math.round(s-c*60*60-m*60);return c+":"+(m<10?"0"+m:m)+":"+(v<10?"0"+v:v)},unformat:function(s){var f=s.split(":"),p=0;return f.length===3?(p=p+Number(f[0])*60*60,p=p+Number(f[1])*60,p=p+Number(f[2])):f.length===2&&(p=p+Number(f[0])*60,p=p+Number(f[1])),Number(p)}})}(),t})})(d3);const tg=md,p3=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],h3=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],m3=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],g3=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],ng=(e,t,n)=>{let r=e;return typeof t=="string"||Array.isArray(t)?r=e.toLocaleString(t,n):(t===!0||n!==void 0)&&(r=e.toLocaleString(void 0,n)),r};function y3(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,...t};const n=t.bits?t.binary?g3:m3:t.binary?h3:p3,r=t.space?" ":"";if(t.signed&&e===0)return` 0${r}${n[0]}`;const o=e<0,l=o?"-":t.signed?"+":"";o&&(e=-e);let i;if(t.minimumFractionDigits!==void 0&&(i={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(i={maximumFractionDigits:t.maximumFractionDigits,...i}),e<1){const f=ng(e,t.locale,i);return l+f+r+n[0]}const u=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1);e/=(t.binary?1024:1e3)**u,i||(e=e.toPrecision(3));const a=ng(Number(e),t.locale,i),s=n[u];return l+a+r+s}function v3(e){if(typeof e!="number")throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(e*1e3)%1e3,nanoseconds:t(e*1e6)%1e3}}const w3=(e,t)=>t===1?e:`${e}s`,S3=1e-7;function x3(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const n=[],r=(i,u)=>{const a=Math.floor(i*10**u+S3);return(Math.round(a)/10**u).toFixed(u)},o=(i,u,a,s)=>{if((n.length===0||!t.colonNotation)&&i===0&&!(t.colonNotation&&a==="m"))return;s=(s||i||"0").toString();let f,p;if(t.colonNotation){f=n.length>0?":":"",p="";const c=s.includes(".")?s.split(".")[0].length:s.length,m=n.length>0?2:1;s="0".repeat(Math.max(0,m-c))+s}else f="",p=t.verbose?" "+w3(u,i):a;n.push(f+s+p)},l=v3(e);if(o(Math.trunc(l.days/365),"year","y"),o(l.days%365,"day","d"),o(l.hours,"hour","h"),o(l.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(o(l.seconds,"second","s"),t.formatSubMilliseconds)o(l.milliseconds,"millisecond","ms"),o(l.microseconds,"microsecond","µs"),o(l.nanoseconds,"nanosecond","ns");else{const i=l.milliseconds+l.microseconds/1e3+l.nanoseconds/1e6,u=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,a=i>=1?Math.round(i):Math.ceil(i),s=u?i.toFixed(u):a;o(Number.parseFloat(s),"millisecond","ms",s)}else{const i=e/1e3%60,u=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,a=r(i,u),s=t.keepDecimalsOnWholeSeconds?a:a.replace(/\.0+$/,"");o(Number.parseFloat(s),"second","s",s)}if(n.length===0)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return n[0];if(typeof t.unitCount=="number"){const i=t.colonNotation?"":" ";return n.slice(0,Math.max(t.unitCount,1)).join(i)}return t.colonNotation?n.join(""):n.join(" ")}function k3(e){return x3(e)}function rg(e){return y3(e)}function _3(e,t){switch(e){case"duration":return k3(t);case"bytes":return rg(t);case"bps":return rg(t)+"/s";case"counter":return tg(t).format("0.[0]a");case"rps":return tg(t).format("0.[00]a")+"/s";default:return isNaN(t)||t==null?"0":t.toFixed(2)}}function E3(e){const t=Fa(),n=N.useContext(Ia),r={};r[e.metric]={label:""};const o=new es(n,r),l=N.useRef(null),{width:i,height:u}=Fv(l),a=n.values[e.metric];var s=Array.isArray(a)&&a.length!=0?Number(a.slice(-1)):0;s=_3(e.format,s);let f={width:i,height:32,title:s,series:o.series,axes:[{show:!1},{show:!1}],legend:{show:!1},cursor:{show:!1}};const p=e.failure?t.palette.error.main:t.palette.primary.main;return f.series[1].points={show:!1},f.series[1].stroke=p,f.series[1].fill=p+"40",Q.jsx(Z1,{className:"summary-panel",sx:{color:p},children:Q.jsxs(HC,{children:[Q.jsx($p,{sx:{fontSize:"0.8rem"},color:"text.secondary",gutterBottom:!0,align:"center",children:e.title}),Q.jsx("div",{ref:l,children:Q.jsx($v,{options:f,data:o.data})})]})})}const C3=Nt.sync("chart");function b3(e){const t=new es(N.useContext(Ia),e.series),n=N.useRef(null),{width:r}=Fv(n);if(t.data.lengthr[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();var yo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ng(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Jw(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var o=[null];o.push.apply(o,arguments);var l=Function.bind.apply(t,o);return new l}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var $={},ex={get exports(){return $},set exports(e){$=e}},nu={},O={},tx={get exports(){return O},set exports(e){O=e}},ge={};/** + * @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 ds=Symbol.for("react.element"),nx=Symbol.for("react.portal"),rx=Symbol.for("react.fragment"),ox=Symbol.for("react.strict_mode"),lx=Symbol.for("react.profiler"),ix=Symbol.for("react.provider"),sx=Symbol.for("react.context"),ax=Symbol.for("react.forward_ref"),ux=Symbol.for("react.suspense"),cx=Symbol.for("react.memo"),fx=Symbol.for("react.lazy"),Fh=Symbol.iterator;function dx(e){return e===null||typeof e!="object"?null:(e=Fh&&e[Fh]||e["@@iterator"],typeof e=="function"?e:null)}var zg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ag=Object.assign,Lg={};function Hl(e,t,n){this.props=e,this.context=t,this.refs=Lg,this.updater=n||zg}Hl.prototype.isReactComponent={};Hl.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")};Hl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Bg(){}Bg.prototype=Hl.prototype;function zd(e,t,n){this.props=e,this.context=t,this.refs=Lg,this.updater=n||zg}var Ad=zd.prototype=new Bg;Ad.constructor=zd;Ag(Ad,Hl.prototype);Ad.isPureReactComponent=!0;var jh=Array.isArray,Fg=Object.prototype.hasOwnProperty,Ld={current:null},jg={key:!0,ref:!0,__self:!0,__source:!0};function Dg(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)Fg.call(t,r)&&!jg.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,V=j[q];if(0>>1;qo(ae,D))Ceo(kt,ae)?(j[q]=kt,j[Ce]=D,q=Ce):(j[q]=ae,j[Z]=D,q=Z);else if(Ceo(kt,D))j[q]=kt,j[Ce]=D,q=Ce;else break e}}return Y}function o(j,Y){var D=j.sortIndex-Y.sortIndex;return D!==0?D:j.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],a=[],f=1,p=null,c=3,h=!1,g=!1,m=!1,b=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(j){for(var Y=n(a);Y!==null;){if(Y.callback===null)r(a);else if(Y.startTime<=j)r(a),Y.sortIndex=Y.expirationTime,t(u,Y);else break;Y=n(a)}}function _(j){if(m=!1,x(j),!g)if(n(u)!==null)g=!0,le(C);else{var Y=n(a);Y!==null&&re(_,Y.startTime-j)}}function C(j,Y){g=!1,m&&(m=!1,w(R),R=-1),h=!0;var D=c;try{for(x(Y),p=n(u);p!==null&&(!(p.expirationTime>Y)||j&&!L());){var q=p.callback;if(typeof q=="function"){p.callback=null,c=p.priorityLevel;var V=q(p.expirationTime<=Y);Y=e.unstable_now(),typeof V=="function"?p.callback=V:p===n(u)&&r(u),x(Y)}else r(u);p=n(u)}if(p!==null)var xe=!0;else{var Z=n(a);Z!==null&&re(_,Z.startTime-Y),xe=!1}return xe}finally{p=null,c=D,h=!1}}var M=!1,E=null,R=-1,A=5,P=-1;function L(){return!(e.unstable_now()-Pj||125q?(j.sortIndex=D,t(a,j),n(u)===null&&j===n(a)&&(m?(w(R),R=-1):m=!0,re(_,D-q))):(j.sortIndex=V,t(u,j),g||h||(g=!0,le(C))),j},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(j){var Y=c;return function(){var D=c;c=Y;try{return j.apply(this,arguments)}finally{c=D}}}})(Wg);(function(e){e.exports=Wg})(_x);/** + * @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 Ug=O,Tn=wf;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xf=Object.prototype.hasOwnProperty,Cx=/^[: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]*$/,Wh={},Uh={};function Ex(e){return xf.call(Uh,e)?!0:xf.call(Wh,e)?!1:Cx.test(e)?Uh[e]=!0:(Wh[e]=!0,!1)}function Tx(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 Mx(e,t,n,r){if(t===null||typeof t>"u"||Tx(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 ln(e,t,n,r,o,l,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=i}var Vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Vt[e]=new ln(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Vt[t]=new ln(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Vt[e]=new ln(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Vt[e]=new ln(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){Vt[e]=new ln(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Vt[e]=new ln(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Vt[e]=new ln(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Vt[e]=new ln(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Vt[e]=new ln(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fd=/[\-:]([a-z])/g;function jd(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(Fd,jd);Vt[t]=new ln(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(Fd,jd);Vt[t]=new ln(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(Fd,jd);Vt[t]=new ln(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Vt[e]=new ln(e,1,!1,e.toLowerCase(),null,!1,!1)});Vt.xlinkHref=new ln("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Vt[e]=new ln(e,1,!1,e.toLowerCase(),null,!0,!0)});function Dd(e,t,n,r){var o=Vt.hasOwnProperty(t)?Vt[t]:null;(o!==null?o.type!==0:r||!(2s||o[i]!==l[s]){var u=` +`+o[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{Nc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?bi(e):""}function Px(e){switch(e.tag){case 5:return bi(e.type);case 16:return bi("Lazy");case 13:return bi("Suspense");case 19:return bi("SuspenseList");case 0:case 2:case 15:return e=zc(e.type,!1),e;case 11:return e=zc(e.type.render,!1),e;case 1:return e=zc(e.type,!0),e;default:return""}}function _f(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 ll:return"Fragment";case ol:return"Portal";case Sf:return"Profiler";case Id:return"StrictMode";case bf:return"Suspense";case kf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Gg:return(e.displayName||"Context")+".Consumer";case Vg:return(e._context.displayName||"Context")+".Provider";case Wd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ud:return t=e.displayName||null,t!==null?t:_f(e.type)||"Memo";case Lr:t=e._payload,e=e._init;try{return _f(e(t))}catch{}}return null}function Rx(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 _f(t);case 8:return t===Id?"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 qr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Yg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $x(e){var t=Yg(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 o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function As(e){e._valueTracker||(e._valueTracker=$x(e))}function Qg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Yg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Sa(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 Cf(e,t){var n=t.checked;return et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Vh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=qr(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 Xg(e,t){t=t.checked,t!=null&&Dd(e,"checked",t,!1)}function Ef(e,t){Xg(e,t);var n=qr(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")?Tf(e,t.type,n):t.hasOwnProperty("defaultValue")&&Tf(e,t.type,qr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Gh(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 Tf(e,t,n){(t!=="number"||Sa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ki=Array.isArray;function gl(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ls.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ui(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pi={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},Ox=["Webkit","ms","Moz","O"];Object.keys(Pi).forEach(function(e){Ox.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pi[t]=Pi[e]})});function e1(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pi.hasOwnProperty(e)&&Pi[e]?(""+t).trim():t+"px"}function t1(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=e1(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Nx=et({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 Rf(e,t){if(t){if(Nx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function $f(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 Of=null;function Hd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Nf=null,yl=null,vl=null;function Qh(e){if(e=ms(e)){if(typeof Nf!="function")throw Error(F(280));var t=e.stateNode;t&&(t=su(t),Nf(e.stateNode,e.type,t))}}function n1(e){yl?vl?vl.push(e):vl=[e]:yl=e}function r1(){if(yl){var e=yl,t=vl;if(vl=yl=null,Qh(e),t)for(e=0;e>>=0,e===0?32:31-(Hx(e)/Vx|0)|0}var Bs=64,Fs=4194304;function _i(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 Ca(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~o;s!==0?r=_i(s):(l&=i,l!==0&&(r=_i(l)))}else i=n&~o,i!==0?r=_i(i):l!==0&&(r=_i(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ps(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Jn(t),e[t]=n}function Qx(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=$i),om=String.fromCharCode(32),lm=!1;function k1(e,t){switch(e){case"keyup":return kS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var il=!1;function CS(e,t){switch(e){case"compositionend":return _1(t);case"keypress":return t.which!==32?null:(lm=!0,om);case"textInput":return e=t.data,e===om&&lm?null:e;default:return null}}function ES(e,t){if(il)return e==="compositionend"||!qd&&k1(e,t)?(e=S1(),ia=Qd=Dr=null,il=!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)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=um(n)}}function M1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?M1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function P1(){for(var e=window,t=Sa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Sa(e.document)}return t}function Jd(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 AS(e){var t=P1(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&M1(n.ownerDocument.documentElement,n)){if(r!==null&&Jd(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 o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=cm(n,l);var i=cm(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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=document.documentMode,sl=null,jf=null,Ni=null,Df=!1;function fm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Df||sl==null||sl!==Sa(r)||(r=sl,"selectionStart"in r&&Jd(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}),Ni&&Qi(Ni,r)||(Ni=r,r=Ma(jf,"onSelect"),0cl||(e.current=Gf[cl],Gf[cl]=null,cl--)}function je(e,t){cl++,Gf[cl]=e.current,e.current=t}var Jr={},Jt=no(Jr),pn=no(!1),Eo=Jr;function Tl(e,t){var n=e.type.contextTypes;if(!n)return Jr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function hn(e){return e=e.childContextTypes,e!=null}function Ra(){He(pn),He(Jt)}function vm(e,t,n){if(Jt.current!==Jr)throw Error(F(168));je(Jt,t),je(pn,n)}function F1(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(F(108,Rx(e)||"Unknown",o));return et({},n,r)}function $a(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jr,Eo=Jt.current,je(Jt,e),je(pn,pn.current),!0}function wm(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=F1(e,t,Eo),r.__reactInternalMemoizedMergedChildContext=e,He(pn),He(Jt),je(Jt,e)):He(pn),je(pn,n)}var vr=null,au=!1,Yc=!1;function j1(e){vr===null?vr=[e]:vr.push(e)}function KS(e){au=!0,j1(e)}function ro(){if(!Yc&&vr!==null){Yc=!0;var e=0,t=Ne;try{var n=vr;for(Ne=1;e>=i,o-=i,wr=1<<32-Jn(t)+o|n<R?(A=E,E=null):A=E.sibling;var P=c(w,E,x[R],_);if(P===null){E===null&&(E=A);break}e&&E&&P.alternate===null&&t(w,E),y=l(P,y,R),M===null?C=P:M.sibling=P,M=P,E=A}if(R===x.length)return n(w,E),Ze&&co(w,R),C;if(E===null){for(;RR?(A=E,E=null):A=E.sibling;var L=c(w,E,P.value,_);if(L===null){E===null&&(E=A);break}e&&E&&L.alternate===null&&t(w,E),y=l(L,y,R),M===null?C=L:M.sibling=L,M=L,E=A}if(P.done)return n(w,E),Ze&&co(w,R),C;if(E===null){for(;!P.done;R++,P=x.next())P=p(w,P.value,_),P!==null&&(y=l(P,y,R),M===null?C=P:M.sibling=P,M=P);return Ze&&co(w,R),C}for(E=r(w,E);!P.done;R++,P=x.next())P=h(E,w,R,P.value,_),P!==null&&(e&&P.alternate!==null&&E.delete(P.key===null?R:P.key),y=l(P,y,R),M===null?C=P:M.sibling=P,M=P);return e&&E.forEach(function(H){return t(w,H)}),Ze&&co(w,R),C}function b(w,y,x,_){if(typeof x=="object"&&x!==null&&x.type===ll&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case zs:e:{for(var C=x.key,M=y;M!==null;){if(M.key===C){if(C=x.type,C===ll){if(M.tag===7){n(w,M.sibling),y=o(M,x.props.children),y.return=w,w=y;break e}}else if(M.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Lr&&Em(C)===M.type){n(w,M.sibling),y=o(M,x.props),y.ref=pi(w,M,x),y.return=w,w=y;break e}n(w,M);break}else t(w,M);M=M.sibling}x.type===ll?(y=_o(x.props.children,w.mode,_,x.key),y.return=w,w=y):(_=ha(x.type,x.key,x.props,null,w.mode,_),_.ref=pi(w,y,x),_.return=w,w=_)}return i(w);case ol:e:{for(M=x.key;y!==null;){if(y.key===M)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){n(w,y.sibling),y=o(y,x.children||[]),y.return=w,w=y;break e}else{n(w,y);break}else t(w,y);y=y.sibling}y=nf(x,w.mode,_),y.return=w,w=y}return i(w);case Lr:return M=x._init,b(w,y,M(x._payload),_)}if(ki(x))return g(w,y,x,_);if(ai(x))return m(w,y,x,_);Vs(w,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(n(w,y.sibling),y=o(y,x),y.return=w,w=y):(n(w,y),y=tf(x,w.mode,_),y.return=w,w=y),i(w)):n(w,y)}return b}var Pl=K1(!0),Y1=K1(!1),gs={},dr=no(gs),Ji=no(gs),es=no(gs);function xo(e){if(e===gs)throw Error(F(174));return e}function ap(e,t){switch(je(es,t),je(Ji,e),je(dr,gs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Pf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Pf(t,e)}He(dr),je(dr,t)}function Rl(){He(dr),He(Ji),He(es)}function Q1(e){xo(es.current);var t=xo(dr.current),n=Pf(t,e.type);t!==n&&(je(Ji,e),je(dr,n))}function up(e){Ji.current===e&&(He(dr),He(Ji))}var qe=no(0);function Ba(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 Qc=[];function cp(){for(var e=0;en?n:4,e(!0);var r=Xc.transition;Xc.transition={};try{e(!1),t()}finally{Ne=n,Xc.transition=r}}function fy(){return In().memoizedState}function ZS(e,t,n){var r=Xr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},dy(e))py(t,n);else if(n=U1(e,t,n,r),n!==null){var o=rn();er(n,e,r,o),hy(n,t,r)}}function qS(e,t,n){var r=Xr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(dy(e))py(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,s=l(i,n);if(o.hasEagerState=!0,o.eagerState=s,tr(s,i)){var u=t.interleaved;u===null?(o.next=o,ip(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=U1(e,t,o,r),n!==null&&(o=rn(),er(n,e,r,o),hy(n,t,r))}}function dy(e){var t=e.alternate;return e===Je||t!==null&&t===Je}function py(e,t){zi=Fa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hy(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Gd(e,n)}}var ja={readContext:Dn,useCallback:Yt,useContext:Yt,useEffect:Yt,useImperativeHandle:Yt,useInsertionEffect:Yt,useLayoutEffect:Yt,useMemo:Yt,useReducer:Yt,useRef:Yt,useState:Yt,useDebugValue:Yt,useDeferredValue:Yt,useTransition:Yt,useMutableSource:Yt,useSyncExternalStore:Yt,useId:Yt,unstable_isNewReconciler:!1},JS={readContext:Dn,useCallback:function(e,t){return lr().memoizedState=[e,t===void 0?null:t],e},useContext:Dn,useEffect:Mm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ca(4194308,4,iy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ca(4194308,4,e,t)},useInsertionEffect:function(e,t){return ca(4,2,e,t)},useMemo:function(e,t){var n=lr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=lr();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=ZS.bind(null,Je,e),[r.memoizedState,e]},useRef:function(e){var t=lr();return e={current:e},t.memoizedState=e},useState:Tm,useDebugValue:mp,useDeferredValue:function(e){return lr().memoizedState=e},useTransition:function(){var e=Tm(!1),t=e[0];return e=XS.bind(null,e[1]),lr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Je,o=lr();if(Ze){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),At===null)throw Error(F(349));Mo&30||q1(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,Mm(ey.bind(null,r,l,e),[e]),r.flags|=2048,rs(9,J1.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=lr(),t=At.identifierPrefix;if(Ze){var n=xr,r=wr;n=(r&~(1<<32-Jn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ts++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[ar]=t,e[qi]=r,ky(e,t,!1,!1),t.stateNode=e;e:{switch(i=$f(n,r),n){case"dialog":Ue("cancel",e),Ue("close",e),o=r;break;case"iframe":case"object":case"embed":Ue("load",e),o=r;break;case"video":case"audio":for(o=0;oOl&&(t.flags|=128,r=!0,hi(l,!1),t.lanes=4194304)}else{if(!r)if(e=Ba(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hi(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!Ze)return Qt(t),null}else 2*st()-l.renderingStartTime>Ol&&n!==1073741824&&(t.flags|=128,r=!0,hi(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=st(),t.sibling=null,n=qe.current,je(qe,r?n&1|2:n&1),t):(Qt(t),null);case 22:case 23:return Sp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?bn&1073741824&&(Qt(t),t.subtreeFlags&6&&(t.flags|=8192)):Qt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function s2(e,t){switch(tp(t),t.tag){case 1:return hn(t.type)&&Ra(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Rl(),He(pn),He(Jt),cp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return up(t),null;case 13:if(He(qe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Ml()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return He(qe),null;case 4:return Rl(),null;case 10:return lp(t.type._context),null;case 22:case 23:return Sp(),null;case 24:return null;default:return null}}var Ks=!1,qt=!1,a2=typeof WeakSet=="function"?WeakSet:Set,Q=null;function hl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){rt(e,t,r)}else n.current=null}function od(e,t,n){try{n()}catch(r){rt(e,t,r)}}var Bm=!1;function u2(e,t){if(If=Ea,e=P1(),Jd(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 o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,a=0,f=0,p=e,c=null;t:for(;;){for(var h;p!==n||o!==0&&p.nodeType!==3||(s=i+o),p!==l||r!==0&&p.nodeType!==3||(u=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(h=p.firstChild)!==null;)c=p,p=h;for(;;){if(p===e)break t;if(c===n&&++a===o&&(s=i),c===l&&++f===r&&(u=i),(h=p.nextSibling)!==null)break;p=c,c=p.parentNode}p=h}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Wf={focusedElem:e,selectionRange:n},Ea=!1,Q=t;Q!==null;)if(t=Q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Q=e;else for(;Q!==null;){t=Q;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var m=g.memoizedProps,b=g.memoizedState,w=t.stateNode,y=w.getSnapshotBeforeUpdate(t.elementType===t.type?m:Xn(t.type,m),b);w.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(_){rt(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,Q=e;break}Q=t.return}return g=Bm,Bm=!1,g}function Ai(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&od(t,n,l)}o=o.next}while(o!==r)}}function fu(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 ld(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 Ey(e){var t=e.alternate;t!==null&&(e.alternate=null,Ey(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ar],delete t[qi],delete t[Vf],delete t[VS],delete t[GS])),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 Ty(e){return e.tag===5||e.tag===3||e.tag===4}function Fm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ty(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 id(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=Pa));else if(r!==4&&(e=e.child,e!==null))for(id(e,t,n),e=e.sibling;e!==null;)id(e,t,n),e=e.sibling}function sd(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(sd(e,t,n),e=e.sibling;e!==null;)sd(e,t,n),e=e.sibling}var It=null,Zn=!1;function zr(e,t,n){for(n=n.child;n!==null;)My(e,t,n),n=n.sibling}function My(e,t,n){if(fr&&typeof fr.onCommitFiberUnmount=="function")try{fr.onCommitFiberUnmount(ru,n)}catch{}switch(n.tag){case 5:qt||hl(n,t);case 6:var r=It,o=Zn;It=null,zr(e,t,n),It=r,Zn=o,It!==null&&(Zn?(e=It,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):It.removeChild(n.stateNode));break;case 18:It!==null&&(Zn?(e=It,n=n.stateNode,e.nodeType===8?Kc(e.parentNode,n):e.nodeType===1&&Kc(e,n),Ki(e)):Kc(It,n.stateNode));break;case 4:r=It,o=Zn,It=n.stateNode.containerInfo,Zn=!0,zr(e,t,n),It=r,Zn=o;break;case 0:case 11:case 14:case 15:if(!qt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&od(n,t,i),o=o.next}while(o!==r)}zr(e,t,n);break;case 1:if(!qt&&(hl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){rt(n,t,s)}zr(e,t,n);break;case 21:zr(e,t,n);break;case 22:n.mode&1?(qt=(r=qt)||n.memoizedState!==null,zr(e,t,n),qt=r):zr(e,t,n);break;default:zr(e,t,n)}}function jm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new a2),t.forEach(function(r){var o=v2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Qn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=st()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*f2(r/1960))-r,10e?16:e,Ir===null)var r=!1;else{if(e=Ir,Ir=null,Wa=0,be&6)throw Error(F(331));var o=be;for(be|=4,Q=e.current;Q!==null;){var l=Q,i=l.child;if(Q.flags&16){var s=l.deletions;if(s!==null){for(var u=0;ust()-wp?ko(e,0):vp|=n),mn(e,t)}function Ly(e,t){t===0&&(e.mode&1?(t=Fs,Fs<<=1,!(Fs&130023424)&&(Fs=4194304)):t=1);var n=rn();e=Tr(e,t),e!==null&&(ps(e,t,n),mn(e,n))}function y2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ly(e,n)}function v2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),Ly(e,n)}var By;By=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pn.current)dn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return dn=!1,l2(e,t,n);dn=!!(e.flags&131072)}else dn=!1,Ze&&t.flags&1048576&&D1(t,Na,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;fa(e,t),e=t.pendingProps;var o=Tl(t,Jt.current);xl(t,n),o=dp(null,t,r,e,o,n);var l=pp();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,hn(r)?(l=!0,$a(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,sp(t),o.updater=uu,t.stateNode=o,o._reactInternals=t,Zf(t,r,e,n),t=ed(null,t,r,!0,l,n)):(t.tag=0,Ze&&l&&ep(t),tn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(fa(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=x2(r),e=Xn(r,e),o){case 0:t=Jf(null,t,r,e,n);break e;case 1:t=zm(null,t,r,e,n);break e;case 11:t=Om(null,t,r,e,n);break e;case 14:t=Nm(null,t,r,Xn(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xn(r,o),Jf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xn(r,o),zm(e,t,r,o,n);case 3:e:{if(xy(t),e===null)throw Error(F(387));r=t.pendingProps,l=t.memoizedState,o=l.element,H1(e,t),La(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=$l(Error(F(423)),t),t=Am(e,t,r,n,o);break e}else if(r!==o){o=$l(Error(F(424)),t),t=Am(e,t,r,n,o);break e}else for(_n=Kr(t.stateNode.containerInfo.firstChild),Cn=t,Ze=!0,qn=null,n=Y1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ml(),r===o){t=Mr(e,t,n);break e}tn(e,t,r,n)}t=t.child}return t;case 5:return Q1(t),e===null&&Yf(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Uf(r,o)?i=null:l!==null&&Uf(r,l)&&(t.flags|=32),wy(e,t),tn(e,t,i,n),t.child;case 6:return e===null&&Yf(t),null;case 13:return Sy(e,t,n);case 4:return ap(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Pl(t,null,r,n):tn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xn(r,o),Om(e,t,r,o,n);case 7:return tn(e,t,t.pendingProps,n),t.child;case 8:return tn(e,t,t.pendingProps.children,n),t.child;case 12:return tn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,je(za,r._currentValue),r._currentValue=i,l!==null)if(tr(l.value,i)){if(l.children===o.children&&!pn.current){t=Mr(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){i=l.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=Sr(-1,n&-n),u.tag=2;var a=l.updateQueue;if(a!==null){a=a.shared;var f=a.pending;f===null?u.next=u:(u.next=f.next,f.next=u),a.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Qf(l.return,n,t),s.lanes|=n;break}u=u.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(F(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Qf(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}tn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,xl(t,n),o=Dn(o),r=r(o),t.flags|=1,tn(e,t,r,n),t.child;case 14:return r=t.type,o=Xn(r,t.pendingProps),o=Xn(r.type,o),Nm(e,t,r,o,n);case 15:return yy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xn(r,o),fa(e,t),t.tag=1,hn(r)?(e=!0,$a(t)):e=!1,xl(t,n),G1(t,r,o),Zf(t,r,o,n),ed(null,t,r,!0,e,n);case 19:return by(e,t,n);case 22:return vy(e,t,n)}throw Error(F(156,t.tag))};function Fy(e,t){return c1(e,t)}function w2(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 Bn(e,t,n,r){return new w2(e,t,n,r)}function kp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function x2(e){if(typeof e=="function")return kp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Wd)return 11;if(e===Ud)return 14}return 2}function Zr(e,t){var n=e.alternate;return n===null?(n=Bn(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 ha(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")kp(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ll:return _o(n.children,o,l,t);case Id:i=8,o|=8;break;case Sf:return e=Bn(12,n,t,o|2),e.elementType=Sf,e.lanes=l,e;case bf:return e=Bn(13,n,t,o),e.elementType=bf,e.lanes=l,e;case kf:return e=Bn(19,n,t,o),e.elementType=kf,e.lanes=l,e;case Kg:return pu(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Vg:i=10;break e;case Gg:i=9;break e;case Wd:i=11;break e;case Ud:i=14;break e;case Lr:i=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=Bn(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function _o(e,t,n,r){return e=Bn(7,e,r,t),e.lanes=n,e}function pu(e,t,n,r){return e=Bn(22,e,r,t),e.elementType=Kg,e.lanes=n,e.stateNode={isHidden:!1},e}function tf(e,t,n){return e=Bn(6,e,null,t),e.lanes=n,e}function nf(e,t,n){return t=Bn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function S2(e,t,n,r,o){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=Lc(0),this.expirationTimes=Lc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function _p(e,t,n,r,o,l,i,s,u){return e=new S2(e,t,n,s,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Bn(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},sp(l),e}function b2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Mn})(kx);var Km=vf;yf.createRoot=Km.createRoot,yf.hydrateRoot=Km.hydrateRoot;function T2(e){if(Array.isArray(e))return e}function M2(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,l,i,s=[],u=!0,a=!1;try{if(l=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=l.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(f){a=!0,o=f}finally{try{if(!u&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(a)throw o}}return s}}function Ym(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&(n[o]=e[o]);return n}function $2(e,t){if(e==null)return{};var n=we(e,t),r,o;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var O2=function(t){var n={source:null,listenersByName:new Map};return{addEventListener:function(o,l){if(n.listenersByName.size||(n.source=t()),!n.source)throw new Error("The source doesn't exist");var i=n.listenersByName.get(o)||new Set;i.add(l),n.listenersByName.set(o,i),n.source.addEventListener(o,l)},removeEventListener:function(o,l){if(!n.source)throw new Error("The source doesn't exist");var i=n.listenersByName.get(o)||new Set;i.delete(l),i.size||n.listenersByName.delete(o),n.source.removeEventListener(o,l),n.listenersByName.size||(n.source.close(),n.source=null)}}},N2=["children"],Mp=O.createContext(null);Mp.Consumer;var z2=function(t){return"source"in t},A2=function(t){return function(){return new window.EventSource(t)}},L2=function(t){var n=t.children,r=$2(t,N2),o=O.useState(function(){return O2(z2(r)?r.source:A2(r.endpoint))}),l=Wy(o,1),i=l[0];return O.createElement(Mp.Provider,{value:i},n)};function Uy(e,t,n){var r=n||{},o=r.stateReducer,l=o===void 0?function(m,b){return b.data}:o,i=r.parser,s=i===void 0?function(m){return JSON.parse(m)}:i,u=r.context,a=u===void 0?Mp:u,f=O.useContext(a),p=O.useReducer(l,t),c=Wy(p,2),h=c[0],g=c[1];if(!f)throw new Error("Could not find an SSE context; You have to wrap useSSE() in a .");return O.useEffect(function(){var m=function(w){var y=s(w.data);g({event:w,data:y})};return f.addEventListener(e,m),function(){f.removeEventListener(e,m)}},[]),h}const B2={black:"#000",white:"#fff"},ls=B2,F2={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Yo=F2,j2={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Qo=j2,D2={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Xo=D2,I2={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Zo=I2,W2={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},qo=W2,U2={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},gi=U2,H2={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},V2=H2;function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=Hy(e[n])}),t}function br(e,t,n={clone:!0}){const r=n.clone?z({},e):e;return ho(e)&&ho(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(ho(t[o])&&o in e&&ho(e[o])?r[o]=br(e[o],t[o],n):n.clone?r[o]=ho(t[o])?Hy(t[o]):t[o]:r[o]=t[o])}),r}var Fi={},G2={get exports(){return Fi},set exports(e){Fi=e}},K2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Y2=K2,Q2=Y2;function Vy(){}function Gy(){}Gy.resetWarningCache=Vy;var X2=function(){function e(r,o,l,i,s,u){if(u!==Q2){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Gy,resetWarningCache:Vy};return n.PropTypes=n,n};G2.exports=X2();function Nl(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{e.apply(this,o)};clearTimeout(n),n=setTimeout(l,t)}return r.clear=()=>{clearTimeout(n)},r}function Yy(e){return e&&e.ownerDocument||document}function Qy(e){return Yy(e).defaultView||window}function eb(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const tb=typeof window<"u"?O.useLayoutEffect:O.useEffect,Xy=tb;function So(e){const t=O.useRef(e);return Xy(()=>{t.current=e}),O.useCallback((...n)=>(0,t.current)(...n),[])}function pd(...e){return O.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{eb(n,t)})},e)}let Mu=!0,hd=!1,Xm;const nb={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function rb(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&nb[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function ob(e){e.metaKey||e.altKey||e.ctrlKey||(Mu=!0)}function rf(){Mu=!1}function lb(){this.visibilityState==="hidden"&&hd&&(Mu=!0)}function ib(e){e.addEventListener("keydown",ob,!0),e.addEventListener("mousedown",rf,!0),e.addEventListener("pointerdown",rf,!0),e.addEventListener("touchstart",rf,!0),e.addEventListener("visibilitychange",lb,!0)}function sb(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Mu||rb(t)}function ab(){const e=O.useCallback(o=>{o!=null&&ib(o.ownerDocument)},[]),t=O.useRef(!1);function n(){return t.current?(hd=!0,window.clearTimeout(Xm),Xm=window.setTimeout(()=>{hd=!1},100),t.current=!1,!0):!1}function r(o){return sb(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}let Jo;function Zy(){if(Jo)return Jo;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Jo="reverse",e.scrollLeft>0?Jo="default":(e.scrollLeft=1,e.scrollLeft===0&&(Jo="negative")),document.body.removeChild(e),Jo}function Zm(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(Zy()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function qy(e,t){const n=z({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=z({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},l=t[r];n[r]={},!l||!Object.keys(l)?n[r]=o:!o||!Object.keys(o)?n[r]=l:(n[r]=z({},l),Object.keys(o).forEach(i=>{n[r][i]=qy(o[i],l[i])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function bt(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((l,i)=>{if(i){const s=t(i);s!==""&&l.push(s),n&&n[i]&&l.push(n[i])}return l},[]).join(" ")}),r}const qm=e=>e,ub=()=>{let e=qm;return{configure(t){e=t},generate(t){return e(t)},reset(){e=qm}}},cb=ub(),Jy=cb,fb={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function mt(e,t,n="Mui"){const r=fb[t];return r?`${n}-${r}`:`${Jy.generate(e)}-${t}`}function gt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=mt(e,o,n)}),r}const zl="$$material";function ev(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var db=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,pb=ev(function(e){return db.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function hb(e){if(e.sheet)return e.sheet;for(var t=0;t0?Wt(Kl,--gn):0,Al--,pt===10&&(Al=1,Ru--),pt}function En(){return pt=gn2||ss(pt)>3?"":" "}function Tb(e,t){for(;--t&&En()&&!(pt<48||pt>102||pt>57&&pt<65||pt>70&&pt<97););return ys(e,ma()+(t<6&&pr()==32&&En()==32))}function gd(e){for(;En();)switch(pt){case e:return gn;case 34:case 39:e!==34&&e!==39&&gd(pt);break;case 40:e===41&&gd(e);break;case 92:En();break}return gn}function Mb(e,t){for(;En()&&e+pt!==47+10;)if(e+pt===42+42&&pr()===47)break;return"/*"+ys(t,gn-1)+"*"+Pu(e===47?e:En())}function Pb(e){for(;!ss(pr());)En();return ys(e,gn)}function Rb(e){return iv(ya("",null,null,null,[""],e=lv(e),0,[0],e))}function ya(e,t,n,r,o,l,i,s,u){for(var a=0,f=0,p=i,c=0,h=0,g=0,m=1,b=1,w=1,y=0,x="",_=o,C=l,M=r,E=x;b;)switch(g=y,y=En()){case 40:if(g!=108&&Wt(E,p-1)==58){md(E+=Te(ga(y),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:E+=ga(y);break;case 9:case 10:case 13:case 32:E+=Eb(g);break;case 92:E+=Tb(ma()-1,7);continue;case 47:switch(pr()){case 42:case 47:Xs($b(Mb(En(),ma()),t,n),u);break;default:E+="/"}break;case 123*m:s[a++]=ir(E)*w;case 125*m:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+f:w==-1&&(E=Te(E,/\f/g,"")),h>0&&ir(E)-p&&Xs(h>32?e0(E+";",r,n,p-1):e0(Te(E," ","")+";",r,n,p-2),u);break;case 59:E+=";";default:if(Xs(M=Jm(E,t,n,a,f,o,s,x,_=[],C=[],p),l),y===123)if(f===0)ya(E,t,M,M,_,l,p,s,C);else switch(c===99&&Wt(E,3)===110?100:c){case 100:case 108:case 109:case 115:ya(e,M,M,r&&Xs(Jm(e,M,M,0,0,o,s,x,o,_=[],p),C),o,C,p,s,r?_:C);break;default:ya(E,M,M,M,[""],C,0,s,C)}}a=f=h=0,m=w=1,x=E="",p=i;break;case 58:p=1+ir(E),h=g;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&Cb()==125)continue}switch(E+=Pu(y),y*m){case 38:w=f>0?1:(E+="\f",-1);break;case 44:s[a++]=(ir(E)-1)*w,w=1;break;case 64:pr()===45&&(E+=ga(En())),c=pr(),f=p=ir(x=E+=Pb(ma())),y++;break;case 45:g===45&&ir(E)==2&&(m=0)}}return l}function Jm(e,t,n,r,o,l,i,s,u,a,f){for(var p=o-1,c=o===0?l:[""],h=Np(c),g=0,m=0,b=0;g0?c[w]+" "+y:Te(y,/&\f/g,c[w])))&&(u[b++]=x);return $u(e,t,n,o===0?$p:s,u,a,f)}function $b(e,t,n){return $u(e,t,n,tv,Pu(_b()),is(e,2,-2),0)}function e0(e,t,n,r){return $u(e,t,n,Op,is(e,0,r),is(e,r+1,-1),r)}function bl(e,t){for(var n="",r=Np(e),o=0;o6)switch(Wt(e,t+1)){case 109:if(Wt(e,t+4)!==45)break;case 102:return Te(e,/(.+:)(.+)-([^]+)/,"$1"+Ee+"$2-$3$1"+Va+(Wt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~md(e,"stretch")?sv(Te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Wt(e,t+1)!==115)break;case 6444:switch(Wt(e,ir(e)-3-(~md(e,"!important")&&10))){case 107:return Te(e,":",":"+Ee)+e;case 101:return Te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ee+(Wt(e,14)===45?"inline-":"")+"box$3$1"+Ee+"$2$3$1"+Xt+"$2box$3")+e}break;case 5936:switch(Wt(e,t+11)){case 114:return Ee+e+Xt+Te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ee+e+Xt+Te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ee+e+Xt+Te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ee+e+Xt+e+e}return e}var Db=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Op:t.return=sv(t.value,t.length);break;case nv:return bl([yi(t,{value:Te(t.value,"@","@"+Ee)})],o);case $p:if(t.length)return kb(t.props,function(l){switch(bb(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return bl([yi(t,{props:[Te(l,/:(read-\w+)/,":"+Va+"$1")]})],o);case"::placeholder":return bl([yi(t,{props:[Te(l,/:(plac\w+)/,":"+Ee+"input-$1")]}),yi(t,{props:[Te(l,/:(plac\w+)/,":"+Va+"$1")]}),yi(t,{props:[Te(l,/:(plac\w+)/,Xt+"input-$1")]})],o)}return""})}},Ib=[Db],Wb=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var b=m.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||Ib,l={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var b=m.getAttribute("data-emotion").split(" "),w=1;w=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var tk={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},nk=/[A-Z]|^ms/g,rk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dv=function(t){return t.charCodeAt(1)===45},n0=function(t){return t!=null&&typeof t!="boolean"},of=ev(function(e){return dv(e)?e:e.replace(nk,"-$&").toLowerCase()}),r0=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(rk,function(r,o,l){return sr={name:o,styles:l,next:sr},o})}return tk[t]!==1&&!dv(t)&&typeof n=="number"&&n!==0?n+"px":n};function as(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return sr={name:n.name,styles:n.styles,next:sr},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)sr={name:r.name,styles:r.styles,next:sr},r=r.next;var o=n.styles+";";return o}return ok(e,t,n)}case"function":{if(e!==void 0){var l=sr,i=n(e);return sr=l,as(e,t,i)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function ok(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?ck:fk},i0=function(t,n,r){var o;if(n){var l=n.shouldForwardProp;o=t.__emotion_forwardProp&&l?function(i){return t.__emotion_forwardProp(i)&&l(i)}:l}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},dk=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return fv(n,r,o),sk(function(){return Jb(n,r,o)}),null},pk=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,l,i;n!==void 0&&(l=n.label,i=n.target);var s=i0(t,n,r),u=s||l0(o),a=!u("as");return function(){var f=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&p.push("label:"+l+";"),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{p.push(f[0][0]);for(var c=f.length,h=1;h{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},gk=["values","unit","step"],yk=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>z({},n,{[r.key]:r.val}),{})};function vk(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=we(e,gk),l=yk(t),i=Object.keys(l);function s(c){return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${n})`}function u(c){return`@media (max-width:${(typeof t[c]=="number"?t[c]:c)-r/100}${n})`}function a(c,h){const g=i.indexOf(h);return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${n}) and (max-width:${(g!==-1&&typeof t[i[g]]=="number"?t[i[g]]:h)-r/100}${n})`}function f(c){return i.indexOf(c)+1`@media (min-width:${jp[e]}px)`};function Wn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const l=r.breakpoints||s0;return t.reduce((i,s,u)=>(i[l.up(l.keys[u])]=n(t[u]),i),{})}if(typeof t=="object"){const l=r.breakpoints||s0;return Object.keys(t).reduce((i,s)=>{if(Object.keys(l.values||jp).indexOf(s)!==-1){const u=l.up(s);i[u]=n(t[s],s)}else{const u=s;i[u]=t[u]}return i},{})}return n(t)}function Sk(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const l=e.up(o);return r[l]={},r},{}))||{}}function bk(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function kk(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,l)=>{l{e[o]!=null&&(n[o]=!0)}),n}function Wu({values:e,breakpoints:t,base:n}){const r=n||kk(e,t),o=Object.keys(r);if(o.length===0)return e;let l;return o.reduce((i,s,u)=>(Array.isArray(e)?(i[s]=e[u]!=null?e[u]:e[l],l=u):typeof e=="object"?(i[s]=e[s]!=null?e[s]:e[l],l=s):i[s]=e,i),{})}function Uu(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,l)=>o&&o[l]?o[l]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ga(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Uu(e,n)||r,t&&(o=t(o,r,e)),o}function Oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,l=i=>{if(i[t]==null)return null;const s=i[t],u=i.theme,a=Uu(u,r)||{};return Wn(i,s,p=>{let c=Ga(a,o,p);return p===c&&typeof p=="string"&&(c=Ga(a,o,`${t}${p==="default"?"":De(p)}`,p)),n===!1?c:{[n]:c}})};return l.propTypes={},l.filterProps=[t],l}function _k(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Ck={m:"margin",p:"padding"},Ek={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},a0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Tk=_k(e=>{if(e.length>2)if(a0[e])e=a0[e];else return[e];const[t,n]=e.split(""),r=Ck[t],o=Ek[n]||"";return Array.isArray(o)?o.map(l=>r+l):[r+o]}),Dp=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ip=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Dp,...Ip];function vs(e,t,n,r){var o;const l=(o=Uu(e,t,!1))!=null?o:n;return typeof l=="number"?i=>typeof i=="string"?i:l*i:Array.isArray(l)?i=>typeof i=="string"?i:l[i]:typeof l=="function"?l:()=>{}}function gv(e){return vs(e,"spacing",8)}function ws(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function Mk(e,t){return n=>e.reduce((r,o)=>(r[o]=ws(t,n),r),{})}function Pk(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Tk(n),l=Mk(o,r),i=e[n];return Wn(e,i,l)}function yv(e,t){const n=gv(e.theme);return Object.keys(e).map(r=>Pk(e,t,r,n)).reduce(ji,{})}function tt(e){return yv(e,Dp)}tt.propTypes={};tt.filterProps=Dp;function nt(e){return yv(e,Ip)}nt.propTypes={};nt.filterProps=Ip;function Rk(e=8){if(e.mui)return e;const t=gv({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(l=>{const i=t(l);return typeof i=="number"?`${i}px`:i}).join(" ");return n.mui=!0,n}function Hu(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(l=>{r[l]=o}),r),{}),n=r=>Object.keys(r).reduce((o,l)=>t[l]?ji(o,t[l](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function ur(e){return typeof e!="number"?e:`${e}px solid`}const $k=Oe({prop:"border",themeKey:"borders",transform:ur}),Ok=Oe({prop:"borderTop",themeKey:"borders",transform:ur}),Nk=Oe({prop:"borderRight",themeKey:"borders",transform:ur}),zk=Oe({prop:"borderBottom",themeKey:"borders",transform:ur}),Ak=Oe({prop:"borderLeft",themeKey:"borders",transform:ur}),Lk=Oe({prop:"borderColor",themeKey:"palette"}),Bk=Oe({prop:"borderTopColor",themeKey:"palette"}),Fk=Oe({prop:"borderRightColor",themeKey:"palette"}),jk=Oe({prop:"borderBottomColor",themeKey:"palette"}),Dk=Oe({prop:"borderLeftColor",themeKey:"palette"}),Vu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=vs(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ws(t,r)});return Wn(e,e.borderRadius,n)}return null};Vu.propTypes={};Vu.filterProps=["borderRadius"];Hu($k,Ok,Nk,zk,Ak,Lk,Bk,Fk,jk,Dk,Vu);const Gu=e=>{if(e.gap!==void 0&&e.gap!==null){const t=vs(e.theme,"spacing",8),n=r=>({gap:ws(t,r)});return Wn(e,e.gap,n)}return null};Gu.propTypes={};Gu.filterProps=["gap"];const Ku=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=vs(e.theme,"spacing",8),n=r=>({columnGap:ws(t,r)});return Wn(e,e.columnGap,n)}return null};Ku.propTypes={};Ku.filterProps=["columnGap"];const Yu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=vs(e.theme,"spacing",8),n=r=>({rowGap:ws(t,r)});return Wn(e,e.rowGap,n)}return null};Yu.propTypes={};Yu.filterProps=["rowGap"];const Ik=Oe({prop:"gridColumn"}),Wk=Oe({prop:"gridRow"}),Uk=Oe({prop:"gridAutoFlow"}),Hk=Oe({prop:"gridAutoColumns"}),Vk=Oe({prop:"gridAutoRows"}),Gk=Oe({prop:"gridTemplateColumns"}),Kk=Oe({prop:"gridTemplateRows"}),Yk=Oe({prop:"gridTemplateAreas"}),Qk=Oe({prop:"gridArea"});Hu(Gu,Ku,Yu,Ik,Wk,Uk,Hk,Vk,Gk,Kk,Yk,Qk);function kl(e,t){return t==="grey"?t:e}const Xk=Oe({prop:"color",themeKey:"palette",transform:kl}),Zk=Oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:kl}),qk=Oe({prop:"backgroundColor",themeKey:"palette",transform:kl});Hu(Xk,Zk,qk);function kn(e){return e<=1&&e!==0?`${e*100}%`:e}const Jk=Oe({prop:"width",transform:kn}),Wp=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o,l;return{maxWidth:((r=e.theme)==null||(o=r.breakpoints)==null||(l=o.values)==null?void 0:l[n])||jp[n]||kn(n)}};return Wn(e,e.maxWidth,t)}return null};Wp.filterProps=["maxWidth"];const e_=Oe({prop:"minWidth",transform:kn}),t_=Oe({prop:"height",transform:kn}),n_=Oe({prop:"maxHeight",transform:kn}),r_=Oe({prop:"minHeight",transform:kn});Oe({prop:"size",cssProperty:"width",transform:kn});Oe({prop:"size",cssProperty:"height",transform:kn});const o_=Oe({prop:"boxSizing"});Hu(Jk,Wp,e_,t_,n_,r_,o_);const l_={border:{themeKey:"borders",transform:ur},borderTop:{themeKey:"borders",transform:ur},borderRight:{themeKey:"borders",transform:ur},borderBottom:{themeKey:"borders",transform:ur},borderLeft:{themeKey:"borders",transform:ur},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Vu},color:{themeKey:"palette",transform:kl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:kl},backgroundColor:{themeKey:"palette",transform:kl},p:{style:nt},pt:{style:nt},pr:{style:nt},pb:{style:nt},pl:{style:nt},px:{style:nt},py:{style:nt},padding:{style:nt},paddingTop:{style:nt},paddingRight:{style:nt},paddingBottom:{style:nt},paddingLeft:{style:nt},paddingX:{style:nt},paddingY:{style:nt},paddingInline:{style:nt},paddingInlineStart:{style:nt},paddingInlineEnd:{style:nt},paddingBlock:{style:nt},paddingBlockStart:{style:nt},paddingBlockEnd:{style:nt},m:{style:tt},mt:{style:tt},mr:{style:tt},mb:{style:tt},ml:{style:tt},mx:{style:tt},my:{style:tt},margin:{style:tt},marginTop:{style:tt},marginRight:{style:tt},marginBottom:{style:tt},marginLeft:{style:tt},marginX:{style:tt},marginY:{style:tt},marginInline:{style:tt},marginInlineStart:{style:tt},marginInlineEnd:{style:tt},marginBlock:{style:tt},marginBlockStart:{style:tt},marginBlockEnd:{style:tt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Gu},rowGap:{style:Yu},columnGap:{style:Ku},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:kn},maxWidth:{style:Wp},minWidth:{transform:kn},height:{transform:kn},maxHeight:{transform:kn},minHeight:{transform:kn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Qu=l_;function i_(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function s_(e,t){return typeof e=="function"?e(t):e}function a_(){function e(n,r,o,l){const i={[n]:r,theme:o},s=l[n];if(!s)return{[n]:r};const{cssProperty:u=n,themeKey:a,transform:f,style:p}=s;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const c=Uu(o,a)||{};return p?p(i):Wn(i,r,g=>{let m=Ga(c,f,g);return g===m&&typeof g=="string"&&(m=Ga(c,f,`${n}${g==="default"?"":De(g)}`,g)),u===!1?m:{[u]:m}})}function t(n){var r;const{sx:o,theme:l={}}=n||{};if(!o)return null;const i=(r=l.unstable_sxConfig)!=null?r:Qu;function s(u){let a=u;if(typeof u=="function")a=u(l);else if(typeof u!="object")return u;if(!a)return null;const f=Sk(l.breakpoints),p=Object.keys(f);let c=f;return Object.keys(a).forEach(h=>{const g=s_(a[h],l);if(g!=null)if(typeof g=="object")if(i[h])c=ji(c,e(h,g,l,i));else{const m=Wn({theme:l},g,b=>({[h]:b}));i_(m,g)?c[h]=t({sx:g,theme:l}):c=ji(c,m)}else c=ji(c,e(h,g,l,i))}),bk(p,c)}return Array.isArray(o)?o.map(s):s(o)}return t}const vv=a_();vv.filterProps=["sx"];const Xu=vv,u_=["breakpoints","palette","spacing","shape"];function Up(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:l={}}=e,i=we(e,u_),s=vk(n),u=Rk(o);let a=br({breakpoints:s,direction:"ltr",components:{},palette:z({mode:"light"},r),spacing:u,shape:z({},xk,l)},i);return a=t.reduce((f,p)=>br(f,p),a),a.unstable_sxConfig=z({},Qu,i==null?void 0:i.unstable_sxConfig),a.unstable_sx=function(p){return Xu({sx:p,theme:this})},a}function c_(e){return Object.keys(e).length===0}function wv(e=null){const t=O.useContext(Bp);return!t||c_(t)?e:t}const f_=Up();function Hp(e=f_){return wv(e)}const d_=["sx"],p_=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Qu;return Object.keys(e).forEach(l=>{o[l]?r.systemProps[l]=e[l]:r.otherProps[l]=e[l]}),r};function Vp(e){const{sx:t}=e,n=we(e,d_),{systemProps:r,otherProps:o}=p_(n);let l;return Array.isArray(t)?l=[r,...t]:typeof t=="function"?l=(...i)=>{const s=t(...i);return ho(s)?z({},r,s):r}:l=z({},r,t),z({},o,{sx:l})}function xv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(Xu);return O.forwardRef(function(u,a){const f=Hp(n),p=Vp(u),{className:c,component:h="div"}=p,g=we(p,h_);return $.jsx(l,z({as:h,ref:a,className:he(c,o?o(r):r),theme:t&&f[t]||f},g))})}const g_=["variant"];function u0(e){return e.length===0}function Sv(e){const{variant:t}=e,n=we(e,g_);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=u0(r)?e[o]:De(e[o]):r+=`${u0(r)?o:De(o)}${De(e[o].toString())}`}),r}const y_=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function v_(e){return Object.keys(e).length===0}function w_(e){return typeof e=="string"&&e.charCodeAt(0)>96}const x_=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,S_=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const l=Sv(o.props);r[l]=o.style}),r},b_=(e,t,n,r)=>{var o,l;const{ownerState:i={}}=e,s=[],u=n==null||(o=n.components)==null||(l=o[r])==null?void 0:l.variants;return u&&u.forEach(a=>{let f=!0;Object.keys(a.props).forEach(p=>{i[p]!==a.props[p]&&e[p]!==a.props[p]&&(f=!1)}),f&&s.push(t[Sv(a.props)])}),s};function va(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const k_=Up();function vi({defaultTheme:e,theme:t,themeId:n}){return v_(t)?e:t[n]||t}function __(e={}){const{themeId:t,defaultTheme:n=k_,rootShouldForwardProp:r=va,slotShouldForwardProp:o=va}=e,l=i=>Xu(z({},i,{theme:vi(z({},i,{defaultTheme:n,themeId:t}))}));return l.__mui_systemSx=!0,(i,s={})=>{mk(i,_=>_.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:u,slot:a,skipVariantsResolver:f,skipSx:p,overridesResolver:c}=s,h=we(s,y_),g=f!==void 0?f:a&&a!=="Root"||!1,m=p||!1;let b,w=va;a==="Root"?w=r:a?w=o:w_(i)&&(w=void 0);const y=mv(i,z({shouldForwardProp:w,label:b},h)),x=(_,...C)=>{const M=C?C.map(P=>typeof P=="function"&&P.__emotion_real!==P?L=>P(z({},L,{theme:vi(z({},L,{defaultTheme:n,themeId:t}))})):P):[];let E=_;u&&c&&M.push(P=>{const L=vi(z({},P,{defaultTheme:n,themeId:t})),H=x_(u,L);if(H){const U={};return Object.entries(H).forEach(([X,J])=>{U[X]=typeof J=="function"?J(z({},P,{theme:L})):J}),c(P,U)}return null}),u&&!g&&M.push(P=>{const L=vi(z({},P,{defaultTheme:n,themeId:t}));return b_(P,S_(u,L),L,u)}),m||M.push(l);const R=M.length-C.length;if(Array.isArray(_)&&R>0){const P=new Array(R).fill("");E=[..._,...P],E.raw=[..._.raw,...P]}else typeof _=="function"&&_.__emotion_real!==_&&(E=P=>_(z({},P,{theme:vi(z({},P,{defaultTheme:n,themeId:t}))})));const A=y(E,...M);return i.muiName&&(A.muiName=i.muiName),A};return y.withConfig&&(x.withConfig=y.withConfig),x}}function C_(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:qy(t.components[n].defaultProps,r)}function E_({props:e,name:t,defaultTheme:n,themeId:r}){let o=Hp(n);return r&&(o=o[r]||o),C_({theme:o,name:t,props:e})}function Gp(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function T_(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function $o(e){if(e.type)return e;if(e.charAt(0)==="#")return $o(T_(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Nl(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(Nl(10,o))}else r=r.split(",");return r=r.map(l=>parseFloat(l)),{type:n,values:r,colorSpace:o}}function Zu(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,l)=>l<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function M_(e){e=$o(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),i=(a,f=(a+n/30)%12)=>o-l*Math.max(Math.min(f-3,9-f,1),-1);let s="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Zu({type:s,values:u})}function c0(e){e=$o(e);let t=e.type==="hsl"||e.type==="hsla"?$o(M_(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function P_(e,t){const n=c0(e),r=c0(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Ll(e,t){return e=$o(e),t=Gp(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Zu(e)}function bv(e,t){if(e=$o(e),t=Gp(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Zu(e)}function kv(e,t){if(e=$o(e),t=Gp(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Zu(e)}const R_=O.createContext(null),_v=R_;function Cv(){return O.useContext(_v)}const $_=typeof Symbol=="function"&&Symbol.for,O_=$_?Symbol.for("mui.nested"):"__THEME_NESTED__";function N_(e,t){return typeof t=="function"?t(e):z({},e,t)}function z_(e){const{children:t,theme:n}=e,r=Cv(),o=O.useMemo(()=>{const l=r===null?n:N_(r,n);return l!=null&&(l[O_]=r!==null),l},[n,r]);return $.jsx(_v.Provider,{value:o,children:t})}const f0={};function d0(e,t,n,r=!1){return O.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const l=n(o),i=e?z({},t,{[e]:l}):l;return r?()=>i:i}return e?z({},t,{[e]:n}):z({},t,n)},[e,t,n,r])}function A_(e){const{children:t,theme:n,themeId:r}=e,o=wv(f0),l=Cv()||f0,i=d0(r,o,n),s=d0(r,l,n,!0);return $.jsx(z_,{theme:s,children:$.jsx(Bp.Provider,{value:i,children:t})})}function L_(e,t){return z({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const B_=["mode","contrastThreshold","tonalOffset"],p0={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ls.white,default:ls.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},lf={text:{primary:ls.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ls.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function h0(e,t,n,r){const o=r.light||r,l=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=kv(e.main,o):t==="dark"&&(e.dark=bv(e.main,l)))}function F_(e="light"){return e==="dark"?{main:Xo[200],light:Xo[50],dark:Xo[400]}:{main:Xo[700],light:Xo[400],dark:Xo[800]}}function j_(e="light"){return e==="dark"?{main:Qo[200],light:Qo[50],dark:Qo[400]}:{main:Qo[500],light:Qo[300],dark:Qo[700]}}function D_(e="light"){return e==="dark"?{main:Yo[500],light:Yo[300],dark:Yo[700]}:{main:Yo[700],light:Yo[400],dark:Yo[800]}}function I_(e="light"){return e==="dark"?{main:Zo[400],light:Zo[300],dark:Zo[700]}:{main:Zo[700],light:Zo[500],dark:Zo[900]}}function W_(e="light"){return e==="dark"?{main:qo[400],light:qo[300],dark:qo[700]}:{main:qo[800],light:qo[500],dark:qo[900]}}function U_(e="light"){return e==="dark"?{main:gi[400],light:gi[300],dark:gi[700]}:{main:"#ed6c02",light:gi[500],dark:gi[900]}}function H_(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=we(e,B_),l=e.primary||F_(t),i=e.secondary||j_(t),s=e.error||D_(t),u=e.info||I_(t),a=e.success||W_(t),f=e.warning||U_(t);function p(m){return P_(m,lf.text.primary)>=n?lf.text.primary:p0.text.primary}const c=({color:m,name:b,mainShade:w=500,lightShade:y=300,darkShade:x=700})=>{if(m=z({},m),!m.main&&m[w]&&(m.main=m[w]),!m.hasOwnProperty("main"))throw new Error(Nl(11,b?` (${b})`:"",w));if(typeof m.main!="string")throw new Error(Nl(12,b?` (${b})`:"",JSON.stringify(m.main)));return h0(m,"light",y,r),h0(m,"dark",x,r),m.contrastText||(m.contrastText=p(m.main)),m},h={dark:lf,light:p0};return br(z({common:z({},ls),mode:t,primary:c({color:l,name:"primary"}),secondary:c({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:c({color:s,name:"error"}),warning:c({color:f,name:"warning"}),info:c({color:u,name:"info"}),success:c({color:a,name:"success"}),grey:V2,contrastThreshold:n,getContrastText:p,augmentColor:c,tonalOffset:r},h[t]),o)}const V_=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function G_(e){return Math.round(e*1e5)/1e5}const m0={textTransform:"uppercase"},g0='"Roboto", "Helvetica", "Arial", sans-serif';function K_(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=g0,fontSize:o=14,fontWeightLight:l=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:a=16,allVariants:f,pxToRem:p}=n,c=we(n,V_),h=o/14,g=p||(w=>`${w/a*h}rem`),m=(w,y,x,_,C)=>z({fontFamily:r,fontWeight:w,fontSize:g(y),lineHeight:x},r===g0?{letterSpacing:`${G_(_/y)}em`}:{},C,f),b={h1:m(l,96,1.167,-1.5),h2:m(l,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(s,14,1.75,.4,m0),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,m0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return br(z({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:l,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:u},b),c,{clone:!1})}const Y_=.2,Q_=.14,X_=.12;function Qe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Y_})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Q_})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${X_})`].join(",")}const Z_=["none",Qe(0,2,1,-1,0,1,1,0,0,1,3,0),Qe(0,3,1,-2,0,2,2,0,0,1,5,0),Qe(0,3,3,-2,0,3,4,0,0,1,8,0),Qe(0,2,4,-1,0,4,5,0,0,1,10,0),Qe(0,3,5,-1,0,5,8,0,0,1,14,0),Qe(0,3,5,-1,0,6,10,0,0,1,18,0),Qe(0,4,5,-2,0,7,10,1,0,2,16,1),Qe(0,5,5,-3,0,8,10,1,0,3,14,2),Qe(0,5,6,-3,0,9,12,1,0,3,16,2),Qe(0,6,6,-3,0,10,14,1,0,4,18,3),Qe(0,6,7,-4,0,11,15,1,0,4,20,3),Qe(0,7,8,-4,0,12,17,2,0,5,22,4),Qe(0,7,8,-4,0,13,19,2,0,5,24,4),Qe(0,7,9,-4,0,14,21,2,0,5,26,4),Qe(0,8,9,-5,0,15,22,2,0,6,28,5),Qe(0,8,10,-5,0,16,24,2,0,6,30,5),Qe(0,8,11,-5,0,17,26,2,0,6,32,5),Qe(0,9,11,-5,0,18,28,2,0,7,34,6),Qe(0,9,12,-6,0,19,29,2,0,7,36,6),Qe(0,10,13,-6,0,20,31,3,0,8,38,7),Qe(0,10,13,-6,0,21,33,3,0,8,40,7),Qe(0,10,14,-6,0,22,35,3,0,8,42,7),Qe(0,11,14,-7,0,23,36,3,0,9,44,8),Qe(0,11,15,-7,0,24,38,3,0,9,46,8)],q_=Z_,J_=["duration","easing","delay"],eC={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},tC={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function y0(e){return`${Math.round(e)}ms`}function nC(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function rC(e){const t=z({},eC,e.easing),n=z({},tC,e.duration);return z({getAutoHeightDuration:nC,create:(o=["all"],l={})=>{const{duration:i=n.standard,easing:s=t.easeInOut,delay:u=0}=l;return we(l,J_),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof i=="string"?i:y0(i)} ${s} ${typeof u=="string"?u:y0(u)}`).join(",")}},e,{easing:t,duration:n})}const oC={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},lC=oC,iC=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Kp(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:l={}}=e,i=we(e,iC);if(e.vars)throw new Error(Nl(18));const s=H_(r),u=Up(e);let a=br(u,{mixins:L_(u.breakpoints,n),palette:s,shadows:q_.slice(),typography:K_(s,l),transitions:rC(o),zIndex:z({},lC)});return a=br(a,i),a=t.reduce((f,p)=>br(f,p),a),a.unstable_sxConfig=z({},Qu,i==null?void 0:i.unstable_sxConfig),a.unstable_sx=function(p){return Xu({sx:p,theme:this})},a}const sC=Kp(),Yp=sC;function qu(){const e=Hp(Yp);return e[zl]||e}function yt({props:e,name:t}){return E_({props:e,name:t,defaultTheme:Yp,themeId:zl})}const Ev=e=>va(e)&&e!=="classes",aC=__({themeId:zl,defaultTheme:Yp,rootShouldForwardProp:Ev}),Ve=aC,uC=["theme"];function cC(e){let{theme:t}=e,n=we(e,uC);const r=t[zl];return $.jsx(A_,z({},n,{themeId:r?zl:void 0,theme:r||t}))}const fC=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},v0=fC;function dC(e){return typeof e=="string"}function pC(e,t,n){return e===void 0||dC(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}function hC(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function mC(e,t){return typeof e=="function"?e(t):e}function w0(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function gC(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:l}=e;if(!t){const h=he(o==null?void 0:o.className,r==null?void 0:r.className,l,n==null?void 0:n.className),g=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=z({},n,o,r);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:void 0}}const i=hC(z({},o,r)),s=w0(r),u=w0(o),a=t(i),f=he(a==null?void 0:a.className,n==null?void 0:n.className,l,o==null?void 0:o.className,r==null?void 0:r.className),p=z({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),c=z({},a,n,u,s);return f.length>0&&(c.className=f),Object.keys(p).length>0&&(c.style=p),{props:c,internalRef:a.ref}}const yC=["elementType","externalSlotProps","ownerState"];function Ka(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,l=we(e,yC),i=mC(r,o),{props:s,internalRef:u}=gC(z({},l,{externalSlotProps:i})),a=pd(u,i==null?void 0:i.ref,(t=e.additionalProps)==null?void 0:t.ref);return pC(n,z({},s,{ref:a}),o)}function vC(e){return mt("MuiSvgIcon",e)}gt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const wC=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],xC=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${De(t)}`,`fontSize${De(n)}`]};return bt(o,vC,r)},SC=Ve("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${De(n.color)}`],t[`fontSize${De(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,l,i,s,u,a,f,p,c,h,g,m,b,w,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(l=o.duration)==null?void 0:l.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(s=i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem",medium:((u=e.typography)==null||(a=u.pxToRem)==null?void 0:a.call(u,24))||"1.5rem",large:((f=e.typography)==null||(p=f.pxToRem)==null?void 0:p.call(f,35))||"2.1875rem"}[t.fontSize],color:(c=(h=(e.vars||e).palette)==null||(g=h[t.color])==null?void 0:g.main)!=null?c:{action:(m=(e.vars||e).palette)==null||(b=m.action)==null?void 0:b.active,disabled:(w=(e.vars||e).palette)==null||(y=w.action)==null?void 0:y.disabled,inherit:void 0}[t.color]}}),Tv=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiSvgIcon"}),{children:o,className:l,color:i="inherit",component:s="svg",fontSize:u="medium",htmlColor:a,inheritViewBox:f=!1,titleAccess:p,viewBox:c="0 0 24 24"}=r,h=we(r,wC),g=z({},r,{color:i,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:c}),m={};f||(m.viewBox=c);const b=xC(g);return $.jsxs(SC,z({as:s,className:he(b.root,l),focusable:"false",color:a,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:n},m,h,{ownerState:g,children:[o,p?$.jsx("title",{children:p}):null]}))});Tv.muiName="SvgIcon";const x0=Tv;function Mv(e,t){function n(r,o){return $.jsx(x0,z({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=x0.muiName,O.memo(O.forwardRef(n))}function wd(e,t){return wd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},wd(e,t)}function bC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wd(e,t)}const S0=cr.createContext(null);function kC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qp(e,t){var n=function(l){return t&&O.isValidElement(l)?t(l):l},r=Object.create(null);return e&&O.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function _C(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),o=[];for(var l in e)l in t?o.length&&(r[l]=o,o=[]):o.push(l);var i,s={};for(var u in t){if(r[u])for(i=0;i{const{square:t,elevation:n,variant:r,classes:o}=e,l={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return bt(l,RC,o)},NC=Ve("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return z({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&z({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Ll("#fff",v0(t.elevation))}, ${Ll("#fff",v0(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),zC=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiPaper"}),{className:o,component:l="div",elevation:i=1,square:s=!1,variant:u="elevation"}=r,a=we(r,$C),f=z({},r,{component:l,elevation:i,square:s,variant:u}),p=OC(f);return $.jsx(NC,z({as:l,ownerState:f,className:he(p.root,o),ref:n},a))}),Zp=zC;function AC(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:l,rippleSize:i,in:s,onExited:u,timeout:a}=e,[f,p]=O.useState(!1),c=he(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:i,height:i,top:-(i/2)+l,left:-(i/2)+o},g=he(n.child,f&&n.childLeaving,r&&n.childPulsate);return!s&&!f&&p(!0),O.useEffect(()=>{if(!s&&u!=null){const m=setTimeout(u,a);return()=>{clearTimeout(m)}}},[u,s,a]),$.jsx("span",{className:c,style:h,children:$.jsx("span",{className:g})})}const LC=gt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),zn=LC,BC=["center","classes","className"];let Ju=e=>e,b0,k0,_0,C0;const xd=550,FC=80,jC=Fp(b0||(b0=Ju` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),DC=Fp(k0||(k0=Ju` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),IC=Fp(_0||(_0=Ju` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),WC=Ve("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),UC=Ve(AC,{name:"MuiTouchRipple",slot:"Ripple"})(C0||(C0=Ju` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),zn.rippleVisible,jC,xd,({theme:e})=>e.transitions.easing.easeInOut,zn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,zn.child,zn.childLeaving,DC,xd,({theme:e})=>e.transitions.easing.easeInOut,zn.childPulsate,IC,({theme:e})=>e.transitions.easing.easeInOut),HC=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:l={},className:i}=r,s=we(r,BC),[u,a]=O.useState([]),f=O.useRef(0),p=O.useRef(null);O.useEffect(()=>{p.current&&(p.current(),p.current=null)},[u]);const c=O.useRef(!1),h=O.useRef(null),g=O.useRef(null),m=O.useRef(null);O.useEffect(()=>()=>{clearTimeout(h.current)},[]);const b=O.useCallback(_=>{const{pulsate:C,rippleX:M,rippleY:E,rippleSize:R,cb:A}=_;a(P=>[...P,$.jsx(UC,{classes:{ripple:he(l.ripple,zn.ripple),rippleVisible:he(l.rippleVisible,zn.rippleVisible),ripplePulsate:he(l.ripplePulsate,zn.ripplePulsate),child:he(l.child,zn.child),childLeaving:he(l.childLeaving,zn.childLeaving),childPulsate:he(l.childPulsate,zn.childPulsate)},timeout:xd,pulsate:C,rippleX:M,rippleY:E,rippleSize:R},f.current)]),f.current+=1,p.current=A},[l]),w=O.useCallback((_={},C={},M=()=>{})=>{const{pulsate:E=!1,center:R=o||C.pulsate,fakeElement:A=!1}=C;if((_==null?void 0:_.type)==="mousedown"&&c.current){c.current=!1;return}(_==null?void 0:_.type)==="touchstart"&&(c.current=!0);const P=A?null:m.current,L=P?P.getBoundingClientRect():{width:0,height:0,left:0,top:0};let H,U,X;if(R||_===void 0||_.clientX===0&&_.clientY===0||!_.clientX&&!_.touches)H=Math.round(L.width/2),U=Math.round(L.height/2);else{const{clientX:J,clientY:le}=_.touches&&_.touches.length>0?_.touches[0]:_;H=Math.round(J-L.left),U=Math.round(le-L.top)}if(R)X=Math.sqrt((2*L.width**2+L.height**2)/3),X%2===0&&(X+=1);else{const J=Math.max(Math.abs((P?P.clientWidth:0)-H),H)*2+2,le=Math.max(Math.abs((P?P.clientHeight:0)-U),U)*2+2;X=Math.sqrt(J**2+le**2)}_!=null&&_.touches?g.current===null&&(g.current=()=>{b({pulsate:E,rippleX:H,rippleY:U,rippleSize:X,cb:M})},h.current=setTimeout(()=>{g.current&&(g.current(),g.current=null)},FC)):b({pulsate:E,rippleX:H,rippleY:U,rippleSize:X,cb:M})},[o,b]),y=O.useCallback(()=>{w({},{pulsate:!0})},[w]),x=O.useCallback((_,C)=>{if(clearTimeout(h.current),(_==null?void 0:_.type)==="touchend"&&g.current){g.current(),g.current=null,h.current=setTimeout(()=>{x(_,C)});return}g.current=null,a(M=>M.length>0?M.slice(1):M),p.current=C},[]);return O.useImperativeHandle(n,()=>({pulsate:y,start:w,stop:x}),[y,w,x]),$.jsx(WC,z({className:he(zn.root,l.root,i),ref:m},s,{children:$.jsx(PC,{component:null,exit:!0,children:u})}))}),VC=HC;function GC(e){return mt("MuiButtonBase",e)}const KC=gt("MuiButtonBase",["root","disabled","focusVisible"]),YC=KC,QC=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],XC=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=bt({root:["root",t&&"disabled",n&&"focusVisible"]},GC,o);return n&&r&&(i.root+=` ${r}`),i},ZC=Ve("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${YC.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),qC=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:l=!1,children:i,className:s,component:u="button",disabled:a=!1,disableRipple:f=!1,disableTouchRipple:p=!1,focusRipple:c=!1,LinkComponent:h="a",onBlur:g,onClick:m,onContextMenu:b,onDragLeave:w,onFocus:y,onFocusVisible:x,onKeyDown:_,onKeyUp:C,onMouseDown:M,onMouseLeave:E,onMouseUp:R,onTouchEnd:A,onTouchMove:P,onTouchStart:L,tabIndex:H=0,TouchRippleProps:U,touchRippleRef:X,type:J}=r,le=we(r,QC),re=O.useRef(null),j=O.useRef(null),Y=pd(j,X),{isFocusVisibleRef:D,onFocus:q,onBlur:V,ref:xe}=ab(),[Z,ae]=O.useState(!1);a&&Z&&ae(!1),O.useImperativeHandle(o,()=>({focusVisible:()=>{ae(!0),re.current.focus()}}),[]);const[Ce,kt]=O.useState(!1);O.useEffect(()=>{kt(!0)},[]);const _t=Ce&&!f&&!a;O.useEffect(()=>{Z&&c&&!f&&Ce&&j.current.pulsate()},[f,c,Z,Ce]);function Ge(te,Tt,Gt=p){return So(K=>(Tt&&Tt(K),!Gt&&j.current&&j.current[te](K),!0))}const yn=Ge("start",M),hr=Ge("stop",b),Hn=Ge("stop",w),at=Ge("stop",R),vn=Ge("stop",te=>{Z&&te.preventDefault(),E&&E(te)}),sn=Ge("start",L),Ct=Ge("stop",A),Vn=Ge("stop",P),On=Ge("stop",te=>{V(te),D.current===!1&&ae(!1),g&&g(te)},!1),wn=So(te=>{re.current||(re.current=te.currentTarget),q(te),D.current===!0&&(ae(!0),x&&x(te)),y&&y(te)}),ce=()=>{const te=re.current;return u&&u!=="button"&&!(te.tagName==="A"&&te.href)},fe=O.useRef(!1),se=So(te=>{c&&!fe.current&&Z&&j.current&&te.key===" "&&(fe.current=!0,j.current.stop(te,()=>{j.current.start(te)})),te.target===te.currentTarget&&ce()&&te.key===" "&&te.preventDefault(),_&&_(te),te.target===te.currentTarget&&ce()&&te.key==="Enter"&&!a&&(te.preventDefault(),m&&m(te))}),Be=So(te=>{c&&te.key===" "&&j.current&&Z&&!te.defaultPrevented&&(fe.current=!1,j.current.stop(te,()=>{j.current.pulsate(te)})),C&&C(te),m&&te.target===te.currentTarget&&ce()&&te.key===" "&&!te.defaultPrevented&&m(te)});let Ke=u;Ke==="button"&&(le.href||le.to)&&(Ke=h);const ke={};Ke==="button"?(ke.type=J===void 0?"button":J,ke.disabled=a):(!le.href&&!le.to&&(ke.role="button"),a&&(ke["aria-disabled"]=a));const ot=pd(n,xe,re),Ye=z({},r,{centerRipple:l,component:u,disabled:a,disableRipple:f,disableTouchRipple:p,focusRipple:c,tabIndex:H,focusVisible:Z}),Et=XC(Ye);return $.jsxs(ZC,z({as:Ke,className:he(Et.root,s),ownerState:Ye,onBlur:On,onClick:m,onContextMenu:hr,onFocus:wn,onKeyDown:se,onKeyUp:Be,onMouseDown:yn,onMouseLeave:vn,onMouseUp:at,onDragLeave:Hn,onTouchEnd:Ct,onTouchMove:Vn,onTouchStart:sn,ref:ot,tabIndex:a?-1:H,type:J},ke,le,{children:[i,_t?$.jsx(VC,z({ref:Y,center:l},U)):null]}))}),qp=qC;function JC(e){return mt("MuiTypography",e)}gt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const eE=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],tE=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:l,classes:i}=e,s={root:["root",l,e.align!=="inherit"&&`align${De(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return bt(s,JC,i)},nE=Ve("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${De(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>z({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),E0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},rE={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},oE=e=>rE[e]||e,lE=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTypography"}),o=oE(r.color),l=Vp(z({},r,{color:o})),{align:i="inherit",className:s,component:u,gutterBottom:a=!1,noWrap:f=!1,paragraph:p=!1,variant:c="body1",variantMapping:h=E0}=l,g=we(l,eE),m=z({},l,{align:i,color:o,className:s,component:u,gutterBottom:a,noWrap:f,paragraph:p,variant:c,variantMapping:h}),b=u||(p?"p":h[c]||E0[c])||"span",w=tE(m);return $.jsx(nE,z({as:b,ref:n,ownerState:m,className:he(w.root,s)},g))}),eo=lE;function iE(e){return mt("MuiAppBar",e)}gt("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const sE=["className","color","enableColorOnDark","position"],aE=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${De(t)}`,`position${De(n)}`]};return bt(o,iE,r)},Zs=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,uE=Ve(Zp,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${De(n.position)}`],t[`color${De(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return z({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&z({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&z({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&z({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Zs(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Zs(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Zs(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Zs(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),cE=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiAppBar"}),{className:o,color:l="primary",enableColorOnDark:i=!1,position:s="fixed"}=r,u=we(r,sE),a=z({},r,{color:l,position:s,enableColorOnDark:i}),f=aE(a);return $.jsx(uE,z({square:!0,component:"header",ownerState:a,elevation:4,className:he(f.root,o,s==="fixed"&&"mui-fixed"),ref:n},u))}),fE=cE,dE=Kp(),pE=m_({themeId:zl,defaultTheme:dE,defaultClassName:"MuiBox-root",generateClassName:Jy.generate}),xs=pE;function hE(e){return mt("MuiCard",e)}gt("MuiCard",["root"]);const mE=["className","raised"],gE=e=>{const{classes:t}=e;return bt({root:["root"]},hE,t)},yE=Ve(Zp,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),vE=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiCard"}),{className:o,raised:l=!1}=r,i=we(r,mE),s=z({},r,{raised:l}),u=gE(s);return $.jsx(yE,z({className:he(u.root,o),elevation:l?8:void 0,ref:n,ownerState:s},i))}),Pv=vE;function wE(e){return mt("MuiCardContent",e)}gt("MuiCardContent",["root"]);const xE=["className","component"],SE=e=>{const{classes:t}=e;return bt({root:["root"]},wE,t)},bE=Ve("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),kE=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiCardContent"}),{className:o,component:l="div"}=r,i=we(r,xE),s=z({},r,{component:l}),u=SE(s);return $.jsx(bE,z({as:l,className:he(u.root,o),ownerState:s,ref:n},i))}),_E=kE;function CE(e){return mt("MuiFab",e)}const EE=gt("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),T0=EE,TE=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],ME=e=>{const{color:t,variant:n,classes:r,size:o}=e,l={root:["root",n,`size${De(o)}`,t==="inherit"?"colorInherit":t]},i=bt(l,CE,r);return z({},r,i)},PE=Ve(qp,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>Ev(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${De(n.size)}`],n.color==="inherit"&&t.colorInherit,t[De(n.size)],t[n.color]]}})(({theme:e,ownerState:t})=>{var n,r;return z({},e.typography.button,{minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${T0.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},t.size==="small"&&{width:40,height:40},t.size==="medium"&&{width:48,height:48},t.variant==="extended"&&{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},t.variant==="extended"&&t.size==="small"&&{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34},t.variant==="extended"&&t.size==="medium"&&{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40},t.color==="inherit"&&{color:"inherit"})},({theme:e,ownerState:t})=>z({},t.color!=="inherit"&&t.color!=="default"&&(e.vars||e).palette[t.color]!=null&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}}),({theme:e})=>({[`&.${T0.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})),RE=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiFab"}),{children:o,className:l,color:i="default",component:s="button",disabled:u=!1,disableFocusRipple:a=!1,focusVisibleClassName:f,size:p="large",variant:c="circular"}=r,h=we(r,TE),g=z({},r,{color:i,component:s,disabled:u,disableFocusRipple:a,size:p,variant:c}),m=ME(g);return $.jsx(PE,z({className:he(m.root,l),component:s,disabled:u,focusRipple:!a,focusVisibleClassName:he(m.focusVisible,f),ownerState:g,ref:n},h,{classes:m,children:o}))}),$E=RE,OE=O.createContext(),M0=OE;function NE(e){return mt("MuiGrid",e)}const zE=[0,1,2,3,4,5,6,7,8,9,10],AE=["column-reverse","column","row-reverse","row"],LE=["nowrap","wrap-reverse","wrap"],wi=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],BE=gt("MuiGrid",["root","container","item","zeroMinWidth",...zE.map(e=>`spacing-xs-${e}`),...AE.map(e=>`direction-xs-${e}`),...LE.map(e=>`wrap-xs-${e}`),...wi.map(e=>`grid-xs-${e}`),...wi.map(e=>`grid-sm-${e}`),...wi.map(e=>`grid-md-${e}`),...wi.map(e=>`grid-lg-${e}`),...wi.map(e=>`grid-xl-${e}`)]),us=BE,FE=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function _l(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function jE({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,o)=>{let l={};if(t[o]&&(n=t[o]),!n)return r;if(n===!0)l={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")l={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Wu({values:t.columns,breakpoints:e.breakpoints.values}),s=typeof i=="object"?i[o]:i;if(s==null)return r;const u=`${Math.round(n/s*1e8)/1e6}%`;let a={};if(t.container&&t.item&&t.columnSpacing!==0){const f=e.spacing(t.columnSpacing);if(f!=="0px"){const p=`calc(${u} + ${_l(f)})`;a={flexBasis:p,maxWidth:p}}}l=z({flexBasis:u,flexGrow:0,maxWidth:u},a)}return e.breakpoints.values[o]===0?Object.assign(r,l):r[e.breakpoints.up(o)]=l,r},{})}function DE({theme:e,ownerState:t}){const n=Wu({values:t.direction,breakpoints:e.breakpoints.values});return Wn({theme:e},n,r=>{const o={flexDirection:r};return r.indexOf("column")===0&&(o[`& > .${us.item}`]={maxWidth:"none"}),o})}function Rv({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(o=>{n===""&&t[o]!==0&&(n=o)});const r=Object.keys(e).sort((o,l)=>e[o]-e[l]);return r.slice(0,r.indexOf(n))}function IE({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&r!==0){const l=Wu({values:r,breakpoints:e.breakpoints.values});let i;typeof l=="object"&&(i=Rv({breakpoints:e.breakpoints.values,values:l})),o=Wn({theme:e},l,(s,u)=>{var a;const f=e.spacing(s);return f!=="0px"?{marginTop:`-${_l(f)}`,[`& > .${us.item}`]:{paddingTop:_l(f)}}:(a=i)!=null&&a.includes(u)?{}:{marginTop:0,[`& > .${us.item}`]:{paddingTop:0}}})}return o}function WE({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&r!==0){const l=Wu({values:r,breakpoints:e.breakpoints.values});let i;typeof l=="object"&&(i=Rv({breakpoints:e.breakpoints.values,values:l})),o=Wn({theme:e},l,(s,u)=>{var a;const f=e.spacing(s);return f!=="0px"?{width:`calc(100% + ${_l(f)})`,marginLeft:`-${_l(f)}`,[`& > .${us.item}`]:{paddingLeft:_l(f)}}:(a=i)!=null&&a.includes(u)?{}:{width:"100%",marginLeft:0,[`& > .${us.item}`]:{paddingLeft:0}}})}return o}function UE(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(o=>{const l=e[o];Number(l)>0&&r.push(n[`spacing-${o}-${String(l)}`])}),r}const HE=Ve("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:l,spacing:i,wrap:s,zeroMinWidth:u,breakpoints:a}=n;let f=[];r&&(f=UE(i,a,t));const p=[];return a.forEach(c=>{const h=n[c];h&&p.push(t[`grid-${c}-${String(h)}`])}),[t.root,r&&t.container,l&&t.item,u&&t.zeroMinWidth,...f,o!=="row"&&t[`direction-xs-${String(o)}`],s!=="wrap"&&t[`wrap-xs-${String(s)}`],...p]}})(({ownerState:e})=>z({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),DE,IE,WE,jE);function VE(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const o=e[r];if(Number(o)>0){const l=`spacing-${r}-${String(o)}`;n.push(l)}}),n}const GE=e=>{const{classes:t,container:n,direction:r,item:o,spacing:l,wrap:i,zeroMinWidth:s,breakpoints:u}=e;let a=[];n&&(a=VE(l,u));const f=[];u.forEach(c=>{const h=e[c];h&&f.push(`grid-${c}-${String(h)}`)});const p={root:["root",n&&"container",o&&"item",s&&"zeroMinWidth",...a,r!=="row"&&`direction-xs-${String(r)}`,i!=="wrap"&&`wrap-xs-${String(i)}`,...f]};return bt(p,NE,t)},KE=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiGrid"}),{breakpoints:o}=qu(),l=Vp(r),{className:i,columns:s,columnSpacing:u,component:a="div",container:f=!1,direction:p="row",item:c=!1,rowSpacing:h,spacing:g=0,wrap:m="wrap",zeroMinWidth:b=!1}=l,w=we(l,FE),y=h||g,x=u||g,_=O.useContext(M0),C=f?s||12:_,M={},E=z({},w);o.keys.forEach(P=>{w[P]!=null&&(M[P]=w[P],delete E[P])});const R=z({},l,{columns:C,container:f,direction:p,item:c,rowSpacing:y,columnSpacing:x,wrap:m,zeroMinWidth:b,spacing:g},M,{breakpoints:o.keys}),A=GE(R);return $.jsx(M0.Provider,{value:C,children:$.jsx(HE,z({ownerState:R,className:he(A.root,i),as:a,ref:n},E))})}),dt=KE;function YE(e){return mt("MuiTab",e)}const QE=gt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),uo=QE,XE=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],ZE=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:l,label:i,selected:s,disabled:u}=e,a={root:["root",l&&i&&"labelIcon",`textColor${De(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]};return bt(a,YE,t)},qE=Ve(qp,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${De(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>z({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${uo.iconWrapper}`]:z({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${uo.selected}`]:{opacity:1},[`&.${uo.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${uo.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${uo.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${uo.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${uo.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),JE=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTab"}),{className:o,disabled:l=!1,disableFocusRipple:i=!1,fullWidth:s,icon:u,iconPosition:a="top",indicator:f,label:p,onChange:c,onClick:h,onFocus:g,selected:m,selectionFollowsFocus:b,textColor:w="inherit",value:y,wrapped:x=!1}=r,_=we(r,XE),C=z({},r,{disabled:l,disableFocusRipple:i,selected:m,icon:!!u,iconPosition:a,label:!!p,fullWidth:s,textColor:w,wrapped:x}),M=ZE(C),E=u&&p&&O.isValidElement(u)?O.cloneElement(u,{className:he(M.iconWrapper,u.props.className)}):u,R=P=>{!m&&c&&c(P,y),h&&h(P)},A=P=>{b&&!m&&c&&c(P,y),g&&g(P)};return $.jsxs(qE,z({focusRipple:!i,className:he(M.root,o),ref:n,role:"tab","aria-selected":m,disabled:l,onClick:R,onFocus:A,ownerState:C,tabIndex:m?0:-1},_,{children:[a==="top"||a==="start"?$.jsxs(O.Fragment,{children:[E,p]}):$.jsxs(O.Fragment,{children:[p,E]}),f]}))}),sf=JE,eT=O.createContext(),$v=eT;function tT(e){return mt("MuiTable",e)}gt("MuiTable",["root","stickyHeader"]);const nT=["className","component","padding","size","stickyHeader"],rT=e=>{const{classes:t,stickyHeader:n}=e;return bt({root:["root",n&&"stickyHeader"]},tT,t)},oT=Ve("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>z({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":z({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),P0="table",lT=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTable"}),{className:o,component:l=P0,padding:i="normal",size:s="medium",stickyHeader:u=!1}=r,a=we(r,nT),f=z({},r,{component:l,padding:i,size:s,stickyHeader:u}),p=rT(f),c=O.useMemo(()=>({padding:i,size:s,stickyHeader:u}),[i,s,u]);return $.jsx($v.Provider,{value:c,children:$.jsx(oT,z({as:l,role:l===P0?null:"table",ref:n,className:he(p.root,o),ownerState:f},a))})}),iT=lT,sT=O.createContext(),ec=sT;function aT(e){return mt("MuiTableBody",e)}gt("MuiTableBody",["root"]);const uT=["className","component"],cT=e=>{const{classes:t}=e;return bt({root:["root"]},aT,t)},fT=Ve("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),dT={variant:"body"},R0="tbody",pT=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTableBody"}),{className:o,component:l=R0}=r,i=we(r,uT),s=z({},r,{component:l}),u=cT(s);return $.jsx(ec.Provider,{value:dT,children:$.jsx(fT,z({className:he(u.root,o),as:l,ref:n,role:l===R0?null:"rowgroup",ownerState:s},i))})}),hT=pT;function mT(e){return mt("MuiTableCell",e)}const gT=gt("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),yT=gT,vT=["align","className","component","padding","scope","size","sortDirection","variant"],wT=e=>{const{classes:t,variant:n,align:r,padding:o,size:l,stickyHeader:i}=e,s={root:["root",n,i&&"stickyHeader",r!=="inherit"&&`align${De(r)}`,o!=="normal"&&`padding${De(o)}`,`size${De(l)}`]};return bt(s,mT,t)},xT=Ve("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${De(n.size)}`],n.padding!=="normal"&&t[`padding${De(n.padding)}`],n.align!=="inherit"&&t[`align${De(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>z({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?kv(Ll(e.palette.divider,1),.88):bv(Ll(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${yT.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),ST=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTableCell"}),{align:o="inherit",className:l,component:i,padding:s,scope:u,size:a,sortDirection:f,variant:p}=r,c=we(r,vT),h=O.useContext($v),g=O.useContext(ec),m=g&&g.variant==="head";let b;i?b=i:b=m?"th":"td";let w=u;b==="td"?w=void 0:!w&&m&&(w="col");const y=p||g&&g.variant,x=z({},r,{align:o,component:b,padding:s||(h&&h.padding?h.padding:"normal"),size:a||(h&&h.size?h.size:"medium"),sortDirection:f,stickyHeader:y==="head"&&h&&h.stickyHeader,variant:y}),_=wT(x);let C=null;return f&&(C=f==="asc"?"ascending":"descending"),$.jsx(xT,z({as:b,ref:n,className:he(_.root,l),"aria-sort":C,scope:w,ownerState:x},c))}),qs=ST;function bT(e){return mt("MuiTableContainer",e)}gt("MuiTableContainer",["root"]);const kT=["className","component"],_T=e=>{const{classes:t}=e;return bt({root:["root"]},bT,t)},CT=Ve("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),ET=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTableContainer"}),{className:o,component:l="div"}=r,i=we(r,kT),s=z({},r,{component:l}),u=_T(s);return $.jsx(CT,z({ref:n,as:l,className:he(u.root,o),ownerState:s},i))}),TT=ET;function MT(e){return mt("MuiTableHead",e)}gt("MuiTableHead",["root"]);const PT=["className","component"],RT=e=>{const{classes:t}=e;return bt({root:["root"]},MT,t)},$T=Ve("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),OT={variant:"head"},$0="thead",NT=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTableHead"}),{className:o,component:l=$0}=r,i=we(r,PT),s=z({},r,{component:l}),u=RT(s);return $.jsx(ec.Provider,{value:OT,children:$.jsx($T,z({as:l,className:he(u.root,o),ref:n,role:l===$0?null:"rowgroup",ownerState:s},i))})}),zT=NT;function AT(e){return mt("MuiToolbar",e)}gt("MuiToolbar",["root","gutters","regular","dense"]);const LT=["className","component","disableGutters","variant"],BT=e=>{const{classes:t,disableGutters:n,variant:r}=e;return bt({root:["root",!n&&"gutters",r]},AT,t)},FT=Ve("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>z({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),jT=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiToolbar"}),{className:o,component:l="div",disableGutters:i=!1,variant:s="regular"}=r,u=we(r,LT),a=z({},r,{component:l,disableGutters:i,variant:s}),f=BT(a);return $.jsx(FT,z({as:l,className:he(f.root,o),ref:n,ownerState:a},u))}),DT=jT,IT=Mv($.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),WT=Mv($.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function UT(e){return mt("MuiTableRow",e)}const HT=gt("MuiTableRow",["root","selected","hover","head","footer"]),O0=HT,VT=["className","component","hover","selected"],GT=e=>{const{classes:t,selected:n,hover:r,head:o,footer:l}=e;return bt({root:["root",n&&"selected",r&&"hover",o&&"head",l&&"footer"]},UT,t)},KT=Ve("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${O0.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${O0.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ll(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ll(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),N0="tr",YT=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTableRow"}),{className:o,component:l=N0,hover:i=!1,selected:s=!1}=r,u=we(r,VT),a=O.useContext(ec),f=z({},r,{component:l,hover:i,selected:s,head:a&&a.variant==="head",footer:a&&a.variant==="footer"}),p=GT(f);return $.jsx(KT,z({as:l,ref:n,className:he(p.root,o),role:l===N0?null:"row",ownerState:f},u))}),z0=YT;function QT(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function XT(e,t,n,r={},o=()=>{}){const{ease:l=QT,duration:i=300}=r;let s=null;const u=t[e];let a=!1;const f=()=>{a=!0},p=c=>{if(a){o(new Error("Animation cancelled"));return}s===null&&(s=c);const h=Math.min(1,(c-s)/i);if(t[e]=l(h)*(n-u)+u,h>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(p)};return u===n?(o(new Error("Element already at target position")),f):(requestAnimationFrame(p),f)}const ZT=["onChange"],qT={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function JT(e){const{onChange:t}=e,n=we(e,ZT),r=O.useRef(),o=O.useRef(null),l=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return Xy(()=>{const i=dd(()=>{const u=r.current;l(),u!==r.current&&t(r.current)}),s=Qy(o.current);return s.addEventListener("resize",i),()=>{i.clear(),s.removeEventListener("resize",i)}},[t]),O.useEffect(()=>{l(),t(r.current)},[t]),$.jsx("div",z({style:qT,ref:o},n))}function eM(e){return mt("MuiTabScrollButton",e)}const tM=gt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),nM=tM,rM=["className","slots","slotProps","direction","orientation","disabled"],oM=e=>{const{classes:t,orientation:n,disabled:r}=e;return bt({root:["root",n,r&&"disabled"]},eM,t)},lM=Ve(qp,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>z({width:40,flexShrink:0,opacity:.8,[`&.${nM.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),iM=O.forwardRef(function(t,n){var r,o;const l=yt({props:t,name:"MuiTabScrollButton"}),{className:i,slots:s={},slotProps:u={},direction:a}=l,f=we(l,rM),c=qu().direction==="rtl",h=z({isRtl:c},l),g=oM(h),m=(r=s.StartScrollButtonIcon)!=null?r:IT,b=(o=s.EndScrollButtonIcon)!=null?o:WT,w=Ka({elementType:m,externalSlotProps:u.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:h}),y=Ka({elementType:b,externalSlotProps:u.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:h});return $.jsx(lM,z({component:"div",className:he(g.root,i),ref:n,role:null,ownerState:h,tabIndex:null},f,{children:a==="left"?$.jsx(m,z({},w)):$.jsx(b,z({},y))}))}),sM=iM;function aM(e){return mt("MuiTabs",e)}const uM=gt("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),af=uM,cM=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],A0=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,L0=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Js=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const l=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||l)o=n(e,o);else{o.focus();return}}},fM=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:l,centered:i,scrollButtonsHideMobile:s,classes:u}=e;return bt({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",l&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},aM,u)},dM=Ve("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${af.scrollButtons}`]:t.scrollButtons},{[`& .${af.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>z({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${af.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),pM=Ve("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>z({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),hM=Ve("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>z({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),mM=Ve("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>z({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),gM=Ve(JT,{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),B0={},yM=O.forwardRef(function(t,n){const r=yt({props:t,name:"MuiTabs"}),o=qu(),l=o.direction==="rtl",{"aria-label":i,"aria-labelledby":s,action:u,centered:a=!1,children:f,className:p,component:c="div",allowScrollButtonsMobile:h=!1,indicatorColor:g="primary",onChange:m,orientation:b="horizontal",ScrollButtonComponent:w=sM,scrollButtons:y="auto",selectionFollowsFocus:x,slots:_={},slotProps:C={},TabIndicatorProps:M={},TabScrollButtonProps:E={},textColor:R="primary",value:A,variant:P="standard",visibleScrollbar:L=!1}=r,H=we(r,cM),U=P==="scrollable",X=b==="vertical",J=X?"scrollTop":"scrollLeft",le=X?"top":"left",re=X?"bottom":"right",j=X?"clientHeight":"clientWidth",Y=X?"height":"width",D=z({},r,{component:c,allowScrollButtonsMobile:h,indicatorColor:g,orientation:b,vertical:X,scrollButtons:y,textColor:R,variant:P,visibleScrollbar:L,fixed:!U,hideScrollbar:U&&!L,scrollableX:U&&!X,scrollableY:U&&X,centered:a&&!U,scrollButtonsHideMobile:!h}),q=fM(D),V=Ka({elementType:_.StartScrollButtonIcon,externalSlotProps:C.startScrollButtonIcon,ownerState:D}),xe=Ka({elementType:_.EndScrollButtonIcon,externalSlotProps:C.endScrollButtonIcon,ownerState:D}),[Z,ae]=O.useState(!1),[Ce,kt]=O.useState(B0),[_t,Ge]=O.useState({start:!1,end:!1}),[yn,hr]=O.useState({overflow:"hidden",scrollbarWidth:0}),Hn=new Map,at=O.useRef(null),vn=O.useRef(null),sn=()=>{const K=at.current;let ee;if(K){const Se=K.getBoundingClientRect();ee={clientWidth:K.clientWidth,scrollLeft:K.scrollLeft,scrollTop:K.scrollTop,scrollLeftNormalized:Zm(K,o.direction),scrollWidth:K.scrollWidth,top:Se.top,bottom:Se.bottom,left:Se.left,right:Se.right}}let me;if(K&&A!==!1){const Se=vn.current.children;if(Se.length>0){const Mt=Se[Hn.get(A)];me=Mt?Mt.getBoundingClientRect():null}}return{tabsMeta:ee,tabMeta:me}},Ct=So(()=>{const{tabsMeta:K,tabMeta:ee}=sn();let me=0,Se;if(X)Se="top",ee&&K&&(me=ee.top-K.top+K.scrollTop);else if(Se=l?"right":"left",ee&&K){const xn=l?K.scrollLeftNormalized+K.clientWidth-K.scrollWidth:K.scrollLeft;me=(l?-1:1)*(ee[Se]-K[Se]+xn)}const Mt={[Se]:me,[Y]:ee?ee[Y]:0};if(isNaN(Ce[Se])||isNaN(Ce[Y]))kt(Mt);else{const xn=Math.abs(Ce[Se]-Mt[Se]),Rr=Math.abs(Ce[Y]-Mt[Y]);(xn>=1||Rr>=1)&&kt(Mt)}}),Vn=(K,{animation:ee=!0}={})=>{ee?XT(J,at.current,K,{duration:o.transitions.duration.standard}):at.current[J]=K},On=K=>{let ee=at.current[J];X?ee+=K:(ee+=K*(l?-1:1),ee*=l&&Zy()==="reverse"?-1:1),Vn(ee)},wn=()=>{const K=at.current[j];let ee=0;const me=Array.from(vn.current.children);for(let Se=0;SeK){Se===0&&(ee=K);break}ee+=Mt[j]}return ee},ce=()=>{On(-1*wn())},fe=()=>{On(wn())},se=O.useCallback(K=>{hr({overflow:null,scrollbarWidth:K})},[]),Be=()=>{const K={};K.scrollbarSizeListener=U?$.jsx(gM,{onChange:se,className:he(q.scrollableX,q.hideScrollbar)}):null;const ee=_t.start||_t.end,me=U&&(y==="auto"&&ee||y===!0);return K.scrollButtonStart=me?$.jsx(w,z({slots:{StartScrollButtonIcon:_.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:V},orientation:b,direction:l?"right":"left",onClick:ce,disabled:!_t.start},E,{className:he(q.scrollButtons,E.className)})):null,K.scrollButtonEnd=me?$.jsx(w,z({slots:{EndScrollButtonIcon:_.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:xe},orientation:b,direction:l?"left":"right",onClick:fe,disabled:!_t.end},E,{className:he(q.scrollButtons,E.className)})):null,K},Ke=So(K=>{const{tabsMeta:ee,tabMeta:me}=sn();if(!(!me||!ee)){if(me[le]ee[re]){const Se=ee[J]+(me[re]-ee[re]);Vn(Se,{animation:K})}}}),ke=So(()=>{if(U&&y!==!1){const{scrollTop:K,scrollHeight:ee,clientHeight:me,scrollWidth:Se,clientWidth:Mt}=at.current;let xn,Rr;if(X)xn=K>1,Rr=K1,Rr=l?Fo>1:Fo{const K=dd(()=>{at.current&&(Ct(),ke())}),ee=Qy(at.current);ee.addEventListener("resize",K);let me;return typeof ResizeObserver<"u"&&(me=new ResizeObserver(K),Array.from(vn.current.children).forEach(Se=>{me.observe(Se)})),()=>{K.clear(),ee.removeEventListener("resize",K),me&&me.disconnect()}},[Ct,ke]);const ot=O.useMemo(()=>dd(()=>{ke()}),[ke]);O.useEffect(()=>()=>{ot.clear()},[ot]),O.useEffect(()=>{ae(!0)},[]),O.useEffect(()=>{Ct(),ke()}),O.useEffect(()=>{Ke(B0!==Ce)},[Ke,Ce]),O.useImperativeHandle(u,()=>({updateIndicator:Ct,updateScrollButtons:ke}),[Ct,ke]);const Ye=$.jsx(mM,z({},M,{className:he(q.indicator,M.className),ownerState:D,style:z({},Ce,M.style)}));let Et=0;const te=O.Children.map(f,K=>{if(!O.isValidElement(K))return null;const ee=K.props.value===void 0?Et:K.props.value;Hn.set(ee,Et);const me=ee===A;return Et+=1,O.cloneElement(K,z({fullWidth:P==="fullWidth",indicator:me&&!Z&&Ye,selected:me,selectionFollowsFocus:x,onChange:m,textColor:R,value:ee},Et===1&&A===!1&&!K.props.tabIndex?{tabIndex:0}:{}))}),Tt=K=>{const ee=vn.current,me=Yy(ee).activeElement;if(me.getAttribute("role")!=="tab")return;let Mt=b==="horizontal"?"ArrowLeft":"ArrowUp",xn=b==="horizontal"?"ArrowRight":"ArrowDown";switch(b==="horizontal"&&l&&(Mt="ArrowRight",xn="ArrowLeft"),K.key){case Mt:K.preventDefault(),Js(ee,me,L0);break;case xn:K.preventDefault(),Js(ee,me,A0);break;case"Home":K.preventDefault(),Js(ee,null,A0);break;case"End":K.preventDefault(),Js(ee,null,L0);break}},Gt=Be();return $.jsxs(dM,z({className:he(q.root,p),ownerState:D,ref:n,as:c},H,{children:[Gt.scrollButtonStart,Gt.scrollbarSizeListener,$.jsxs(pM,{className:q.scroller,ownerState:D,style:{overflow:yn.overflow,[X?`margin${l?"Left":"Right"}`:"marginBottom"]:L?void 0:-yn.scrollbarWidth},ref:at,onScroll:ot,children:[$.jsx(hM,{"aria-label":i,"aria-labelledby":s,"aria-orientation":b==="vertical"?"vertical":null,className:q.flexContainer,ownerState:D,onKeyDown:Tt,ref:vn,role:"tablist",children:te}),Z&&Ye]}),Gt.scrollButtonEnd]}))}),vM=yM;function Jp(e,t,n){if(typeof t!="number")throw new TypeError("Expected value to be a number");if(n===Number.POSITIVE_INFINITY)return t;if(!Number.isInteger(n))throw new TypeError("Expected precision to be an integer");const r=e==="round"&&t<0;r&&(t=Math.abs(t));const o=10**n;let l=Math[e]((t*o).toPrecision(15))/o;return r&&(l=-l),l}const Ov=Jp.bind(void 0,"round");Jp.bind(void 0,"ceil");Jp.bind(void 0,"floor");const nl="time",F0="type";class Bl{constructor({capacity:t=1e4,values:n={},progress:r=0,lastEventId:o=0}={}){this.capacity=t,this.values=n,this.length=n[nl]?n[nl].length:0,this.progress=r,this.lastEventId=o}_filterDuplicate(t){const n=this.values[nl],r=t[nl];return!r||!Array.isArray(n)||n.length==0?!1:n.slice(-1)==r}pushOne(t,n){this.values.hasOwnProperty(t)||(this.values[t]=Array(this.length)),this.values[t].push(Ov(n,4)),this.length==this.capacity&&this.values[t].shift()}push(t){if(!this._filterDuplicate(t)){for(const n in t){if(n==nl){this.pushOne(n,Math.floor(t[n].sample.value/1e3)),this.progress=t[n].sample.pct;continue}const r=t[n].hasOwnProperty(F0)?`_${t[n][F0]}`:"";for(const o in t[n].sample)this.pushOne(n+r+"_"+o,t[n].sample[o])}this.lengtho?r=new Bl:r=new Bl(t),r.push(n.data),r.lastEventId=o,r}}function Ya(e){return Uy(e,new Bl,{parser:JSON.parse,stateReducer:Bl.reducer})}const Ss=cr.createContext(new Bl);Ss.displayName="Metrics";function wM(e){return $.jsx("div",{className:"Header",children:$.jsx(fE,{position:"sticky",children:$.jsx(DT,{variant:"dense",children:$.jsx(eo,{variant:"h6",component:"div",align:"center",sx:{flexGrow:1},children:e.title})})})})}function xM(e){if(typeof e!="number")throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(e*1e3)%1e3,nanoseconds:t(e*1e6)%1e3}}const SM=(e,t)=>t===1?e:`${e}s`,bM=1e-7;function Nv(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const n=[],r=(i,s)=>{const u=Math.floor(i*10**s+bM);return(Math.round(u)/10**s).toFixed(s)},o=(i,s,u,a)=>{if((n.length===0||!t.colonNotation)&&i===0&&!(t.colonNotation&&u==="m"))return;a=(a||i||"0").toString();let f,p;if(t.colonNotation){f=n.length>0?":":"",p="";const c=a.includes(".")?a.split(".")[0].length:a.length,h=n.length>0?2:1;a="0".repeat(Math.max(0,h-c))+a}else f="",p=t.verbose?" "+SM(s,i):u;n.push(f+a+p)},l=xM(e);if(o(Math.trunc(l.days/365),"year","y"),o(l.days%365,"day","d"),o(l.hours,"hour","h"),o(l.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(o(l.seconds,"second","s"),t.formatSubMilliseconds)o(l.milliseconds,"millisecond","ms"),o(l.microseconds,"microsecond","µs"),o(l.nanoseconds,"nanosecond","ns");else{const i=l.milliseconds+l.microseconds/1e3+l.nanoseconds/1e6,s=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,u=i>=1?Math.round(i):Math.ceil(i),a=s?i.toFixed(s):u;o(Number.parseFloat(a),"millisecond","ms",a)}else{const i=e/1e3%60,s=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,u=r(i,s),a=t.keepDecimalsOnWholeSeconds?u:u.replace(/\.0+$/,"");o(Number.parseFloat(a),"second","s",a)}if(n.length===0)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return n[0];if(typeof t.unitCount=="number"){const i=t.colonNotation?"":" ";return n.slice(0,Math.max(t.unitCount,1)).join(i)}return t.colonNotation?n.join(""):n.join(" ")}const kM=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],_M=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],CM=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],EM=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],j0=(e,t,n)=>{let r=e;return typeof t=="string"||Array.isArray(t)?r=e.toLocaleString(t,n):(t===!0||n!==void 0)&&(r=e.toLocaleString(void 0,n)),r};function zv(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,...t};const n=t.bits?t.binary?EM:CM:t.binary?_M:kM,r=t.space?" ":"";if(t.signed&&e===0)return` 0${r}${n[0]}`;const o=e<0,l=o?"-":t.signed?"+":"";o&&(e=-e);let i;if(t.minimumFractionDigits!==void 0&&(i={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(i={maximumFractionDigits:t.maximumFractionDigits,...i}),e<1){const f=j0(e,t.locale,i);return l+f+r+n[0]}const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1);e/=(t.binary?1024:1e3)**s,i||(e=e.toPrecision(3));const u=j0(Number(e),t.locale,i),a=n[s];return l+u+r+a}let Av={};const D0=new WeakMap,I0={metric:[{from:0,to:1e3,unit:"B",long:"bytes"},{from:1e3,to:1e6,unit:"kB",long:"kilobytes"},{from:1e6,to:1e9,unit:"MB",long:"megabytes"},{from:1e9,to:1e12,unit:"GB",long:"gigabytes"},{from:1e12,to:1e15,unit:"TB",long:"terabytes"},{from:1e15,to:1e18,unit:"PB",long:"petabytes"},{from:1e18,to:1e21,unit:"EB",long:"exabytes"},{from:1e21,to:1e24,unit:"ZB",long:"zettabytes"},{from:1e24,to:1e27,unit:"YB",long:"yottabytes"}],metric_octet:[{from:0,to:1e3,unit:"o",long:"octets"},{from:1e3,to:1e6,unit:"ko",long:"kilooctets"},{from:1e6,to:1e9,unit:"Mo",long:"megaoctets"},{from:1e9,to:1e12,unit:"Go",long:"gigaoctets"},{from:1e12,to:1e15,unit:"To",long:"teraoctets"},{from:1e15,to:1e18,unit:"Po",long:"petaoctets"},{from:1e18,to:1e21,unit:"Eo",long:"exaoctets"},{from:1e21,to:1e24,unit:"Zo",long:"zettaoctets"},{from:1e24,to:1e27,unit:"Yo",long:"yottaoctets"}],iec:[{from:0,to:Math.pow(1024,1),unit:"B",long:"bytes"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"KiB",long:"kibibytes"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"MiB",long:"mebibytes"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"GiB",long:"gibibytes"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"TiB",long:"tebibytes"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"PiB",long:"pebibytes"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"EiB",long:"exbibytes"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"ZiB",long:"zebibytes"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"YiB",long:"yobibytes"}],iec_octet:[{from:0,to:Math.pow(1024,1),unit:"o",long:"octets"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"Kio",long:"kibioctets"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"Mio",long:"mebioctets"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"Gio",long:"gibioctets"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"Tio",long:"tebioctets"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"Pio",long:"pebioctets"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"Eio",long:"exbioctets"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"Zio",long:"zebioctets"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"Yio",long:"yobioctets"}]};class TM{constructor(t,n){n=Object.assign({units:"metric",precision:1,locale:void 0},Av,n),D0.set(this,n),Object.assign(I0,n.customUnits);const r=t<0?"-":"";t=Math.abs(t);const o=I0[n.units];if(o){const l=o.find(i=>t>=i.from&&tO.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 0 24 24",width:24,fill:"white",...e},O.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),O.createElement("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"}));function Lo(e){return e==null?!1:typeof e[Symbol.iterator]=="function"}const W0={trend:["avg","min","med","max","p(90)","p(95)","p(99)"],counter:["rate","count"],rate:["rate"],gauge:["value"]};function Wr(e){const{type:t,series:n}=e,r=O.useContext(tc),o=i=>(!Lo(n)||n.includes(i))&&r.values[i].type==t,l=e.plain?"div":Zp;return $.jsx(TT,{component:l,children:$.jsxs(iT,{children:[$.jsx("caption",{children:e.caption}),$.jsx(zT,{children:$.jsxs(z0,{children:[$.jsx(qs,{children:"metric"}),W0[t].map(i=>$.jsx(qs,{align:"right",children:i},"digest_"+t+"_"+i))]})}),$.jsx(hT,{children:Object.keys(r.values).filter(o).map(i=>$.jsxs(z0,{hover:!0,sx:{"&:last-child td, &:last-child th":{border:0}},children:[$.jsx(qs,{component:"th",scope:"row",children:i}),W0[t].map(s=>$.jsx(qs,{align:"right",children:r.values[i].format(s)},"digest_"+t+"_value_"+s))]},i))})]})},"digest_"+t)}const uf=["#7b65fa","#65d1fa","#af8b47","#fa7765","#4792af","#af5347","#4f5aaf","#9e65fa","#d95f02","#1b9e77","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"];class cs{constructor(t,n){this.data=cs.buildData(t,n),this.series=cs.buildSeries(this.data,n)}static buildData(t,n){const r=t.values;let o=[],l=r[nl];if(!Array.isArray(l))return o;o.push(l);for(var i in n){if(!Array.isArray(r[i])){o.push(Array(l.length));continue}o.push(r[i])}return o}static buildSeries(t,n){const r=[{}],o=Object.keys(n);for(var l=0;ll&&Array.isArray(t[l+1])})}return r}}var bd={},OM={get exports(){return bd},set exports(e){bd=e}};const NM=!0,vt="u-",zM="uplot",AM=vt+"hz",LM=vt+"vt",BM=vt+"title",FM=vt+"wrap",jM=vt+"under",DM=vt+"over",IM=vt+"axis",mo=vt+"off",WM=vt+"select",UM=vt+"cursor-x",HM=vt+"cursor-y",VM=vt+"cursor-pt",GM=vt+"legend",KM=vt+"live",YM=vt+"inline",QM=vt+"thead",XM=vt+"series",ZM=vt+"marker",U0=vt+"label",qM=vt+"value",Ei="width",Ti="height",xi="top",H0="bottom",el="left",cf="right",eh="#000",V0=eh+"0",G0="mousemove",K0="mousedown",ff="mouseup",Y0="mouseenter",Q0="mouseleave",X0="dblclick",JM="resize",eP="scroll",Z0="change",Qa="dppxchange",th="--",Yl=typeof window<"u",kd=Yl?document:null,Cl=Yl?window:null,tP=Yl?navigator:null;let _e,ea;function _d(){let e=devicePixelRatio;_e!=e&&(_e=e,ea&&Ed(Z0,ea,_d),ea=matchMedia(`(min-resolution: ${_e-.001}dppx) and (max-resolution: ${_e+.001}dppx)`),Ur(Z0,ea,_d),Cl.dispatchEvent(new CustomEvent(Qa)))}function Sn(e,t){if(t!=null){let n=e.classList;!n.contains(t)&&n.add(t)}}function Cd(e,t){let n=e.classList;n.contains(t)&&n.remove(t)}function Xe(e,t,n){e.style[t]=n+"px"}function gr(e,t,n,r){let o=kd.createElement(e);return t!=null&&Sn(o,t),n!=null&&n.insertBefore(o,r),o}function Nn(e,t){return gr("div",e,t)}const q0=new WeakMap;function tl(e,t,n,r,o){let l="translate("+t+"px,"+n+"px)",i=q0.get(e);l!=i&&(e.style.transform=l,q0.set(e,l),t<0||n<0||t>r||n>o?Sn(e,mo):Cd(e,mo))}const J0=new WeakMap;function nP(e,t,n){let r=t+n,o=J0.get(e);r!=o&&(J0.set(e,r),e.style.background=t,e.style.borderColor=n)}const eg=new WeakMap;function rP(e,t,n,r){let o=t+""+n,l=eg.get(e);o!=l&&(eg.set(e,o),e.style.height=n+"px",e.style.width=t+"px",e.style.marginLeft=r?-t/2+"px":0,e.style.marginTop=r?-n/2+"px":0)}const nh={passive:!0},jv={...nh,capture:!0};function Ur(e,t,n,r){t.addEventListener(e,n,r?jv:nh)}function Ed(e,t,n,r){t.removeEventListener(e,n,r?jv:nh)}Yl&&_d();function Ar(e,t,n,r){let o;n=n||0,r=r||t.length-1;let l=r<=2147483647;for(;r-n>1;)o=l?n+r>>1:jn((n+r)/2),t[o]=t&&o<=n;o+=r)if(e[o]!=null)return o;return-1}function oP(e,t,n,r){let o=ve,l=-ve;if(r==1)o=e[t],l=e[n];else if(r==-1)o=e[n],l=e[t];else for(let i=t;i<=n;i++)e[i]!=null&&(o=nn(o,e[i]),l=xt(l,e[i]));return[o,l]}function lP(e,t,n){let r=ve,o=-ve;for(let l=t;l<=n;l++)e[l]>0&&(r=nn(r,e[l]),o=xt(o,e[l]));return[r==ve?1:r,o==-ve?10:o]}function nc(e,t,n,r){let o=rg(e),l=rg(t),i=n==10?kr:Dv;e==t&&(o==-1?(e*=n,t/=n):(e/=n,t*=n));let s=o==1?jn:Za,u=l==1?Za:jn,a=s(i(Zt(e))),f=u(i(Zt(t))),p=jl(n,a),c=jl(n,f);return n==10&&(a<0&&(p=Le(p,-a)),f<0&&(c=Le(c,-f))),r||n==2?(e=p*o,t=c*l):(e=Wv(e,p),t=Il(t,c)),[e,t]}function rh(e,t,n,r){let o=nc(e,t,n,r);return e==0&&(o[0]=0),t==0&&(o[1]=0),o}const oh=.1,tg={mode:3,pad:oh},Di={pad:0,soft:null,mode:0},iP={min:Di,max:Di};function Xa(e,t,n,r){return oc(n)?ng(e,t,n):(Di.pad=n,Di.soft=r?0:null,Di.mode=r?3:0,ng(e,t,iP))}function Me(e,t){return e??t}function sP(e,t,n){for(t=Me(t,0),n=Me(n,e.length-1);t<=n;){if(e[t]!=null)return!0;t++}return!1}function ng(e,t,n){let r=n.min,o=n.max,l=Me(r.pad,0),i=Me(o.pad,0),s=Me(r.hard,-ve),u=Me(o.hard,ve),a=Me(r.soft,ve),f=Me(o.soft,-ve),p=Me(r.mode,0),c=Me(o.mode,0),h=t-e,g=kr(h),m=xt(Zt(e),Zt(t)),b=kr(m),w=Zt(b-g);(h<1e-9||w>10)&&(h=0,(e==0||t==0)&&(h=1e-9,p==2&&a!=ve&&(l=0),c==2&&f!=-ve&&(i=0)));let y=h||m||1e3,x=kr(y),_=jl(10,jn(x)),C=y*(h==0?e==0?.1:1:l),M=Le(Wv(e-C,_/10),9),E=e>=a&&(p==1||p==3&&M<=a||p==2&&M>=a)?a:ve,R=xt(s,M=E?E:nn(E,M)),A=y*(h==0?t==0?.1:1:i),P=Le(Il(t+A,_/10),9),L=t<=f&&(c==1||c==3&&P>=f||c==2&&P<=f)?f:-ve,H=nn(u,P>L&&t<=L?L:xt(L,P));return R==H&&R==0&&(H=100),[R,H]}const aP=new Intl.NumberFormat(Yl?tP.language:"en-US"),lh=e=>aP.format(e),$n=Math,wa=$n.PI,Zt=$n.abs,jn=$n.floor,Dt=$n.round,Za=$n.ceil,nn=$n.min,xt=$n.max,jl=$n.pow,rg=$n.sign,kr=$n.log10,Dv=$n.log2,uP=(e,t=1)=>$n.sinh(e)*t,df=(e,t=1)=>$n.asinh(e/t),ve=1/0;function og(e){return(kr((e^e>>31)-(e>>31))|0)+1}function lg(e,t,n){return nn(xt(e,t),n)}function ye(e){return typeof e=="function"?e:()=>e}const cP=()=>{},fP=e=>e,Iv=(e,t)=>t,dP=e=>null,ig=e=>!0,sg=(e,t)=>e==t,Dl=e=>Le(e,14);function po(e,t){return Dl(Le(Dl(e/t))*t)}function Il(e,t){return Dl(Za(Dl(e/t))*t)}function Wv(e,t){return Dl(jn(Dl(e/t))*t)}function Le(e,t=0){if(hP(e))return e;let n=10**t,r=e*n*(1+Number.EPSILON);return Dt(r)/n}const rc=new Map;function pP(e){return((""+e).split(".")[1]||"").length}function fs(e,t,n,r){let o=[],l=r.map(pP);for(let i=t;i=0&&i>=0?0:s)+(i>=l[a]?0:l[a]),c=Le(f,p);o.push(c),rc.set(c,p)}}return o}const Ii={},Uv=[],Wl=[null,null],go=Array.isArray,hP=Number.isInteger,mP=e=>e===void 0;function ag(e){return typeof e=="string"}function oc(e){let t=!1;if(e!=null){let n=e.constructor;t=n==null||n==Object}return t}function ug(e){return e!=null&&typeof e=="object"}const gP=Object.getPrototypeOf(Uint8Array);function Co(e,t=oc){let n;if(go(e)){let r=e.find(o=>o!=null);if(go(r)||t(r)){n=Array(e.length);for(let o=0;ol){for(o=i-1;o>=0&&e[o]==null;)e[o--]=null;for(o=i+1;oi-s)],o=r[0].length,l=new Map;for(let i=0;i"u"?e=>Promise.resolve().then(e):queueMicrotask,Hv=["January","February","March","April","May","June","July","August","September","October","November","December"],Vv=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function Gv(e){return e.slice(0,3)}const kP=Vv.map(Gv),_P=Hv.map(Gv),CP={MMMM:Hv,MMM:_P,WWWW:Vv,WWW:kP};function Si(e){return(e<10?"0":"")+e}function EP(e){return(e<10?"00":e<100?"0":"")+e}const TP={YYYY:e=>e.getFullYear(),YY:e=>(e.getFullYear()+"").slice(2),MMMM:(e,t)=>t.MMMM[e.getMonth()],MMM:(e,t)=>t.MMM[e.getMonth()],MM:e=>Si(e.getMonth()+1),M:e=>e.getMonth()+1,DD:e=>Si(e.getDate()),D:e=>e.getDate(),WWWW:(e,t)=>t.WWWW[e.getDay()],WWW:(e,t)=>t.WWW[e.getDay()],HH:e=>Si(e.getHours()),H:e=>e.getHours(),h:e=>{let t=e.getHours();return t==0?12:t>12?t-12:t},AA:e=>e.getHours()>=12?"PM":"AM",aa:e=>e.getHours()>=12?"pm":"am",a:e=>e.getHours()>=12?"p":"a",mm:e=>Si(e.getMinutes()),m:e=>e.getMinutes(),ss:e=>Si(e.getSeconds()),s:e=>e.getSeconds(),fff:e=>EP(e.getMilliseconds())};function ih(e,t){t=t||CP;let n=[],r=/\{([a-z]+)\}|[^{]+/gi,o;for(;o=r.exec(e);)n.push(o[0][0]=="{"?TP[o[1]]:o[0]);return l=>{let i="";for(let s=0;se%1==0,qa=[1,2,2.5,5],RP=fs(10,-16,0,qa),Yv=fs(10,0,16,qa),$P=Yv.filter(Kv),OP=RP.concat(Yv),sh=` +`,Qv="{YYYY}",cg=sh+Qv,Xv="{M}/{D}",Mi=sh+Xv,ta=Mi+"/{YY}",Zv="{aa}",NP="{h}:{mm}",rl=NP+Zv,fg=sh+rl,dg=":{ss}",$e=null;function qv(e){let t=e*1e3,n=t*60,r=n*60,o=r*24,l=o*30,i=o*365,u=(e==1?fs(10,0,3,qa).filter(Kv):fs(10,-3,0,qa)).concat([t,t*5,t*10,t*15,t*30,n,n*5,n*10,n*15,n*30,r,r*2,r*3,r*4,r*6,r*8,r*12,o,o*2,o*3,o*4,o*5,o*6,o*7,o*8,o*9,o*10,o*15,l,l*2,l*3,l*4,l*6,i,i*2,i*5,i*10,i*25,i*50,i*100]);const a=[[i,Qv,$e,$e,$e,$e,$e,$e,1],[o*28,"{MMM}",cg,$e,$e,$e,$e,$e,1],[o,Xv,cg,$e,$e,$e,$e,$e,1],[r,"{h}"+Zv,ta,$e,Mi,$e,$e,$e,1],[n,rl,ta,$e,Mi,$e,$e,$e,1],[t,dg,ta+" "+rl,$e,Mi+" "+rl,$e,fg,$e,1],[e,dg+".{fff}",ta+" "+rl,$e,Mi+" "+rl,$e,fg,$e,1]];function f(p){return(c,h,g,m,b,w)=>{let y=[],x=b>=i,_=b>=l&&b=o?o:b,P=jn(g)-jn(M),L=R+P+Il(M-R,A);y.push(L);let H=p(L),U=H.getHours()+H.getMinutes()/n+H.getSeconds()/r,X=b/r,J=c.axes[h]._space,le=w/J;for(;L=Le(L+b,e==1?0:3),!(L>m);)if(X>1){let re=jn(Le(U+X,6))%24,D=p(L).getHours()-re;D>1&&(D=-1),L-=D*r,U=(U+X)%24;let q=y[y.length-1];Le((L-q)/b,3)*le>=.7&&y.push(L)}else y.push(L)}return y}}return[u,a,f]}const[zP,AP,LP]=qv(1),[BP,FP,jP]=qv(.001);fs(2,-53,53,[1]);function pg(e,t){return e.map(n=>n.map((r,o)=>o==0||o==8||r==null?r:t(o==1||n[8]==0?r:n[1]+r)))}function hg(e,t){return(n,r,o,l,i)=>{let s=t.find(g=>i>=g[0])||t[t.length-1],u,a,f,p,c,h;return r.map(g=>{let m=e(g),b=m.getFullYear(),w=m.getMonth(),y=m.getDate(),x=m.getHours(),_=m.getMinutes(),C=m.getSeconds(),M=b!=u&&s[2]||w!=a&&s[3]||y!=f&&s[4]||x!=p&&s[5]||_!=c&&s[6]||C!=h&&s[7]||s[1];return u=b,a=w,f=y,p=x,c=_,h=C,M(m)})}}function DP(e,t){let n=ih(t);return(r,o,l,i,s)=>o.map(u=>n(e(u)))}function pf(e,t,n){return new Date(e,t,n)}function mg(e,t){return t(e)}const IP="{YYYY}-{MM}-{DD} {h}:{mm}{aa}";function gg(e,t){return(n,r,o,l)=>l==null?th:t(e(r))}function WP(e,t){let n=e.series[t];return n.width?n.stroke(e,t):n.points.width?n.points.stroke(e,t):null}function UP(e,t){return e.series[t].fill(e,t)}const HP={show:!0,live:!0,isolate:!1,mount:cP,markers:{show:!0,width:2,stroke:WP,fill:UP,dash:"solid"},idx:null,idxs:null,values:[]};function VP(e,t){let n=e.cursor.points,r=Nn(),o=n.size(e,t);Xe(r,Ei,o),Xe(r,Ti,o);let l=o/-2;Xe(r,"marginLeft",l),Xe(r,"marginTop",l);let i=n.width(e,t,o);return i&&Xe(r,"borderWidth",i),r}function GP(e,t){let n=e.series[t].points;return n._fill||n._stroke}function KP(e,t){let n=e.series[t].points;return n._stroke||n._fill}function YP(e,t){return e.series[t].points.size}function QP(e,t,n){return n}const hf=[0,0];function XP(e,t,n){return hf[0]=t,hf[1]=n,hf}function na(e,t,n){return r=>{r.button==0&&n(r)}}function mf(e,t,n){return n}const ZP={show:!0,x:!0,y:!0,lock:!1,move:XP,points:{show:VP,size:YP,width:0,stroke:KP,fill:GP},bind:{mousedown:na,mouseup:na,click:na,dblclick:na,mousemove:mf,mouseleave:mf,mouseenter:mf},drag:{setScale:!0,x:!0,y:!1,dist:0,uni:null,click:(e,t)=>{t.stopPropagation(),t.stopImmediatePropagation()},_x:!1,_y:!1},focus:{prox:-1,bias:0},left:-10,top:-10,idx:null,dataIdx:QP,idxs:null},Jv={show:!0,stroke:"rgba(0,0,0,0.07)",width:2},ah=ft({},Jv,{filter:Iv}),ew=ft({},ah,{size:10}),tw=ft({},Jv,{show:!1}),uh='12px system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',nw="bold "+uh,qP=1.5,yg={show:!0,scale:"x",stroke:eh,space:50,gap:5,size:50,labelGap:0,labelSize:30,labelFont:nw,side:2,grid:ah,ticks:ew,border:tw,font:uh,rotate:0},JP="Value",e3="Time",vg={show:!0,scale:"x",auto:!1,sorted:1,min:ve,max:-ve,idxs:[]};function t3(e,t,n,r,o){return t.map(l=>l==null?"":lh(l))}function n3(e,t,n,r,o,l,i){let s=[],u=rc.get(o)||0;n=i?n:Le(Il(n,o),u);for(let a=n;a<=r;a=Le(a+o,u))s.push(Object.is(a,-0)?0:a);return s}function Td(e,t,n,r,o,l,i){const s=[],u=e.scales[e.axes[t].scale].log,a=u==10?kr:Dv,f=jn(a(n));o=jl(u,f),u==10&&f<0&&(o=Le(o,-f));let p=n;do s.push(p),p=p+o,u==10&&(p=Le(p,rc.get(o))),p>=o*u&&(o=p);while(p<=r);return s}function r3(e,t,n,r,o,l,i){let u=e.scales[e.axes[t].scale].asinh,a=r>u?Td(e,t,xt(u,n),r,o):[u],f=r>=0&&n<=0?[0]:[];return(n<-u?Td(e,t,xt(u,-r),-n,o):[u]).reverse().map(c=>-c).concat(f,a)}const o3=/./,l3=/[12357]/,i3=/[125]/,s3=/1/;function a3(e,t,n,r,o){let l=e.axes[n],i=l.scale,s=e.scales[i];if(s.distr==3&&s.log==2)return t;let u=e.valToPos,a=l._space,f=u(10,i),p=u(9,i)-f>=a?o3:u(7,i)-f>=a?l3:u(5,i)-f>=a?i3:s3;return t.map(c=>s.distr==4&&c==0||p.test(c)?c:null)}function u3(e,t,n,r){return r==null?th:t==null?"":lh(t)}const wg={show:!0,scale:"y",stroke:eh,space:30,gap:5,size:50,labelGap:0,labelSize:30,labelFont:nw,side:3,grid:ah,ticks:ew,border:tw,font:uh,rotate:0};function c3(e,t){let n=3+(e||1)*2;return Le(n*t,3)}function f3(e,t){let{scale:n,idxs:r}=e.series[0],o=e._data[0],l=e.valToPos(o[r[0]],n,!0),i=e.valToPos(o[r[1]],n,!0),s=Zt(i-l),u=e.series[t],a=s/(u.points.space*_e);return r[1]-r[0]<=a}const xg={scale:null,auto:!0,sorted:0,min:ve,max:-ve},rw=(e,t,n,r,o)=>o,Sg={show:!0,auto:!0,sorted:0,gaps:rw,alpha:1,facets:[ft({},xg,{scale:"x"}),ft({},xg,{scale:"y"})]},bg={scale:"y",auto:!0,sorted:0,show:!0,spanGaps:!1,gaps:rw,alpha:1,points:{show:f3,filter:null},values:null,min:ve,max:-ve,idxs:[],path:null,clip:null};function d3(e,t,n,r,o){return n/10}const ow={time:NM,auto:!0,distr:1,log:10,asinh:1,min:null,max:null,dir:1,ori:0},p3=ft({},ow,{time:!1,ori:1}),kg={};function lw(e,t){let n=kg[e];return n||(n={key:e,plots:[],sub(r){n.plots.push(r)},unsub(r){n.plots=n.plots.filter(o=>o!=r)},pub(r,o,l,i,s,u,a){for(let f=0;f{let w=i.pxRound;const y=a.dir*(a.ori==0?1:-1),x=a.ori==0?Ql:Xl;let _,C;y==1?(_=n,C=r):(_=r,C=n);let M=w(p(s[_],a,m,h)),E=w(c(u[_],f,b,g)),R=w(p(s[C],a,m,h)),A=w(c(l==1?f.max:f.min,f,b,g)),P=new Path2D(o);return x(P,R,A),x(P,M,A),x(P,M,E),P})}function ic(e,t,n,r,o,l){let i=null;if(e.length>0){i=new Path2D;const s=t==0?uc:fh;let u=n;for(let f=0;fp[0]){let c=p[0]-u;c>0&&s(i,u,r,c,r+l),u=p[1]}}let a=n+o-u;a>0&&s(i,u,r,a,r+l)}return i}function m3(e,t,n){let r=e[e.length-1];r&&r[0]==t?r[1]=n:e.push([t,n])}function ch(e,t,n,r,o,l,i){let s=[],u=e.length;for(let a=o==1?n:r;a>=n&&a<=r;a+=o)if(t[a]===null){let p=a,c=a;if(o==1)for(;++a<=r&&t[a]===null;)c=a;else for(;--a>=n&&t[a]===null;)c=a;let h=l(e[p]),g=c==p?h:l(e[c]),m=p-o;h=i<=0&&m>=0&&m=0&&w>=0&&w=h&&s.push([h,g])}return s}function _g(e){return e==0?fP:e==1?Dt:t=>po(t,e)}function iw(e){let t=e==0?sc:ac,n=e==0?(o,l,i,s,u,a)=>{o.arcTo(l,i,s,u,a)}:(o,l,i,s,u,a)=>{o.arcTo(i,l,u,s,a)},r=e==0?(o,l,i,s,u)=>{o.rect(l,i,s,u)}:(o,l,i,s,u)=>{o.rect(i,l,u,s)};return(o,l,i,s,u,a=0,f=0)=>{a==0&&f==0?r(o,l,i,s,u):(a=nn(a,s/2,u/2),f=nn(f,s/2,u/2),t(o,l+a,i),n(o,l+s,i,l+s,i+u,a),n(o,l+s,i+u,l,i+u,f),n(o,l,i+u,l,i,f),n(o,l,i,l+s,i,a),o.closePath())}}const sc=(e,t,n)=>{e.moveTo(t,n)},ac=(e,t,n)=>{e.moveTo(n,t)},Ql=(e,t,n)=>{e.lineTo(t,n)},Xl=(e,t,n)=>{e.lineTo(n,t)},uc=iw(0),fh=iw(1),sw=(e,t,n,r,o,l)=>{e.arc(t,n,r,o,l)},aw=(e,t,n,r,o,l)=>{e.arc(n,t,r,o,l)},uw=(e,t,n,r,o,l,i)=>{e.bezierCurveTo(t,n,r,o,l,i)},cw=(e,t,n,r,o,l,i)=>{e.bezierCurveTo(n,t,o,r,i,l)};function fw(e){return(t,n,r,o,l)=>Bo(t,n,(i,s,u,a,f,p,c,h,g,m,b)=>{let{pxRound:w,points:y}=i,x,_;a.ori==0?(x=sc,_=sw):(x=ac,_=aw);const C=Le(y.width*_e,3);let M=(y.size-y.width)/2*_e,E=Le(M*2,3),R=new Path2D,A=new Path2D,{left:P,top:L,width:H,height:U}=t.bbox;uc(A,P-E,L-E,H+E*2,U+E*2);const X=J=>{if(u[J]!=null){let le=w(p(s[J],a,m,h)),re=w(c(u[J],f,b,g));x(R,le+M,re),_(R,le,re,M,0,wa*2)}};if(l)l.forEach(X);else for(let J=r;J<=o;J++)X(J);return{stroke:C>0?R:null,fill:R,clip:A,flags:Oo|Ja}})}function dw(e){return(t,n,r,o,l,i)=>{r!=o&&(l!=r&&i!=r&&e(t,n,r),l!=o&&i!=o&&e(t,n,o),e(t,n,i))}}const g3=dw(Ql),y3=dw(Xl);function pw(e){const t=Me(e==null?void 0:e.alignGaps,0);return(n,r,o,l)=>Bo(n,r,(i,s,u,a,f,p,c,h,g,m,b)=>{let w=i.pxRound,y=V=>w(p(V,a,m,h)),x=V=>w(c(V,f,b,g)),_,C;a.ori==0?(_=Ql,C=g3):(_=Xl,C=y3);const M=a.dir*(a.ori==0?1:-1),E={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:Oo},R=E.stroke;let A=ve,P=-ve,L,H,U,X=y(s[M==1?o:l]),J=Fl(u,o,l,1*M),le=Fl(u,o,l,-1*M),re=y(s[J]),j=y(s[le]),Y=!1;for(let V=M==1?o:l;V>=o&&V<=l;V+=M){let xe=y(s[V]),Z=u[V];xe==X?Z!=null?(H=x(Z),A==ve&&(_(R,xe,H),L=H),A=nn(H,A),P=xt(H,P)):Z===null&&(Y=!0):(A!=ve&&(C(R,X,A,P,L,H),U=X),Z!=null?(H=x(Z),_(R,xe,H),A=P=L=H):(A=ve,P=-ve,Z===null&&(Y=!0)),X=xe)}A!=ve&&A!=P&&U!=X&&C(R,X,A,P,L,H);let[D,q]=lc(n,r);if(i.fill!=null||D!=0){let V=E.fill=new Path2D(R),xe=i.fillTo(n,r,i.min,i.max,D),Z=x(xe);_(V,j,Z),_(V,re,Z)}if(!i.spanGaps){let V=[];Y&&V.push(...ch(s,u,o,l,M,y,t)),E.gaps=V=i.gaps(n,r,o,l,V),E.clip=ic(V,a.ori,h,g,m,b)}return q!=0&&(E.band=q==2?[_r(n,r,o,l,R,-1),_r(n,r,o,l,R,1)]:_r(n,r,o,l,R,q)),E})}function v3(e){const t=Me(e.align,1),n=Me(e.ascDesc,!1),r=Me(e.alignGaps,0),o=Me(e.extend,!1);return(l,i,s,u)=>Bo(l,i,(a,f,p,c,h,g,m,b,w,y,x)=>{let _=a.pxRound,{left:C,width:M}=l.bbox,E=D=>_(g(D,c,y,b)),R=D=>_(m(D,h,x,w)),A=c.ori==0?Ql:Xl;const P={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:Oo},L=P.stroke,H=c.dir*(c.ori==0?1:-1);s=Fl(p,s,u,1),u=Fl(p,s,u,-1);let U=R(p[H==1?s:u]),X=E(f[H==1?s:u]),J=X,le=X;o&&t==-1&&(le=C,A(L,le,U)),A(L,X,U);for(let D=H==1?s:u;D>=s&&D<=u;D+=H){let q=p[D];if(q==null)continue;let V=E(f[D]),xe=R(q);t==1?A(L,V,U):A(L,J,xe),A(L,V,xe),U=xe,J=V}let re=J;o&&t==1&&(re=C+M,A(L,re,U));let[j,Y]=lc(l,i);if(a.fill!=null||j!=0){let D=P.fill=new Path2D(L),q=a.fillTo(l,i,a.min,a.max,j),V=R(q);A(D,re,V),A(D,le,V)}if(!a.spanGaps){let D=[];D.push(...ch(f,p,s,u,H,E,r));let q=a.width*_e/2,V=n||t==1?q:-q,xe=n||t==-1?-q:q;D.forEach(Z=>{Z[0]+=V,Z[1]+=xe}),P.gaps=D=a.gaps(l,i,s,u,D),P.clip=ic(D,c.ori,b,w,y,x)}return Y!=0&&(P.band=Y==2?[_r(l,i,s,u,L,-1),_r(l,i,s,u,L,1)]:_r(l,i,s,u,L,Y)),P})}function w3(e){e=e||Ii;const t=Me(e.size,[.6,ve,1]),n=e.align||0,r=(e.gap||0)*_e;let o=e.radius;o=o==null?[0,0]:typeof o=="number"?[o,0]:o;const l=ye(o),i=1-t[0],s=Me(t[1],ve)*_e,u=Me(t[2],1)*_e,a=Me(e.disp,Ii),f=Me(e.each,h=>{}),{fill:p,stroke:c}=a;return(h,g,m,b)=>Bo(h,g,(w,y,x,_,C,M,E,R,A,P,L)=>{let H=w.pxRound,U,X;_.ori==0?[U,X]=l(h,g):[X,U]=l(h,g);const J=_.dir*(_.ori==0?1:-1),le=C.dir*(C.ori==1?1:-1);let re=_.ori==0?uc:fh,j=_.ori==0?f:(se,Be,Ke,ke,ot,Ye,Et)=>{f(se,Be,Ke,ot,ke,Et,Ye)},[Y,D]=lc(h,g),q=C.distr==3?Y==1?C.max:C.min:0,V=E(q,C,L,A),xe,Z,ae=H(w.width*_e),Ce=!1,kt=null,_t=null,Ge=null,yn=null;p!=null&&(ae==0||c!=null)&&(Ce=!0,kt=p.values(h,g,m,b),_t=new Map,new Set(kt).forEach(se=>{se!=null&&_t.set(se,new Path2D)}),ae>0&&(Ge=c.values(h,g,m,b),yn=new Map,new Set(Ge).forEach(se=>{se!=null&&yn.set(se,new Path2D)})));let{x0:hr,size:Hn}=a;if(hr!=null&&Hn!=null){y=hr.values(h,g,m,b),hr.unit==2&&(y=y.map(Be=>h.posToVal(R+Be*P,_.key,!0)));let se=Hn.values(h,g,m,b);Hn.unit==2?Z=se[0]*P:Z=M(se[0],_,P,R)-M(0,_,P,R),Z=H(Z-ae),xe=J==1?-ae/2:Z+ae/2}else{let se=P;if(y.length>1){let Ke=null;for(let ke=0,ot=1/0;ke=m&&se<=b;se+=J){let Be=x[se];if(Be===void 0)continue;let Ke=_.distr!=2||a!=null?y[se]:se,ke=M(Ke,_,P,R),ot=E(Me(Be,q),C,L,A);wn!=null&&Be!=null&&(V=E(wn[se],C,L,A));let Ye=H(ke-xe),Et=H(xt(ot,V)),te=H(nn(ot,V)),Tt=Et-te;if(Be!=null){let Gt=Be<0?fe:ce,K=Be<0?ce:fe;Ce?(ae>0&&Ge[se]!=null&&re(yn.get(Ge[se]),Ye,te+jn(ae/2),Z,xt(0,Tt-ae),Gt,K),kt[se]!=null&&re(_t.get(kt[se]),Ye,te+jn(ae/2),Z,xt(0,Tt-ae),Gt,K)):re(sn,Ye,te+jn(ae/2),Z,xt(0,Tt-ae),Gt,K),j(h,g,se,Ye-ae/2,te,Z+ae,Tt)}D!=0&&(le*D==1?(Et=te,te=vn):(te=Et,Et=vn),Tt=Et-te,re(Ct,Ye-ae/2,te,Z+ae,xt(0,Tt),0,0))}return ae>0&&(at.stroke=Ce?yn:sn),at.fill=Ce?_t:sn,at})}function x3(e,t){const n=Me(t==null?void 0:t.alignGaps,0);return(r,o,l,i)=>Bo(r,o,(s,u,a,f,p,c,h,g,m,b,w)=>{let y=s.pxRound,x=re=>y(c(re,f,b,g)),_=re=>y(h(re,p,w,m)),C,M,E;f.ori==0?(C=sc,E=Ql,M=uw):(C=ac,E=Xl,M=cw);const R=f.dir*(f.ori==0?1:-1);l=Fl(a,l,i,1),i=Fl(a,l,i,-1);let A=x(u[R==1?l:i]),P=A,L=[],H=[];for(let re=R==1?l:i;re>=l&&re<=i;re+=R)if(a[re]!=null){let Y=u[re],D=x(Y);L.push(P=D),H.push(_(a[re]))}const U={stroke:e(L,H,C,E,M,y),fill:null,clip:null,band:null,gaps:null,flags:Oo},X=U.stroke;let[J,le]=lc(r,o);if(s.fill!=null||J!=0){let re=U.fill=new Path2D(X),j=s.fillTo(r,o,s.min,s.max,J),Y=_(j);E(re,P,Y),E(re,A,Y)}if(!s.spanGaps){let re=[];re.push(...ch(u,a,l,i,R,x,n)),U.gaps=re=s.gaps(r,o,l,i,re),U.clip=ic(re,f.ori,g,m,b,w)}return le!=0&&(U.band=le==2?[_r(r,o,l,i,X,-1),_r(r,o,l,i,X,1)]:_r(r,o,l,i,X,le)),U})}function S3(e){return x3(b3,e)}function b3(e,t,n,r,o,l){const i=e.length;if(i<2)return null;const s=new Path2D;if(n(s,e[0],t[0]),i==2)r(s,e[1],t[1]);else{let u=Array(i),a=Array(i-1),f=Array(i-1),p=Array(i-1);for(let c=0;c0!=a[c]>0?u[c]=0:(u[c]=3*(p[c-1]+p[c])/((2*p[c]+p[c-1])/a[c-1]+(p[c]+2*p[c-1])/a[c]),isFinite(u[c])||(u[c]=0));u[i-1]=a[i-2];for(let c=0;c{Ht.pxRatio=_e}));const k3=pw(),_3=fw();function Eg(e,t,n,r){return(r?[e[0],e[1]].concat(e.slice(2)):[e[0]].concat(e.slice(1))).map((l,i)=>Pd(l,i,t,n))}function C3(e,t){return e.map((n,r)=>r==0?null:ft({},t,n))}function Pd(e,t,n,r){return ft({},t==0?n:r,e)}function hw(e,t,n){return t==null?Wl:[t,n]}const E3=hw;function T3(e,t,n){return t==null?Wl:Xa(t,n,oh,!0)}function mw(e,t,n,r){return t==null?Wl:nc(t,n,e.scales[r].log,!1)}const M3=mw;function gw(e,t,n,r){return t==null?Wl:rh(t,n,e.scales[r].log,!1)}const P3=gw;function R3(e,t,n,r,o){let l=xt(og(e),og(t)),i=t-e,s=Ar(o/r*i,n);do{let u=n[s],a=r*u/i;if(a>=o&&l+(u<5?rc.get(u):0)<=17)return[u,a]}while(++s(t=Dt((n=+o)*_e))+"px"),[e,t,n]}function $3(e){e.show&&[e.font,e.labelFont].forEach(t=>{let n=Le(t[2]*_e,1);t[0]=t[0].replace(/[0-9.]+px/,n+"px"),t[1]=n})}function Ht(e,t,n){const r={mode:Me(e.mode,1)},o=r.mode;function l(d,v){return((v.distr==3?kr(d>0?d:v.clamp(r,d,v.min,v.max,v.key)):v.distr==4?df(d,v.asinh):d)-v._min)/(v._max-v._min)}function i(d,v,S,k){let T=l(d,v);return k+S*(v.dir==-1?1-T:T)}function s(d,v,S,k){let T=l(d,v);return k+S*(v.dir==-1?T:1-T)}function u(d,v,S,k){return v.ori==0?i(d,v,S,k):s(d,v,S,k)}r.valToPosH=i,r.valToPosV=s;let a=!1;r.status=0;const f=r.root=Nn(zM);if(e.id!=null&&(f.id=e.id),Sn(f,e.class),e.title){let d=Nn(BM,f);d.textContent=e.title}const p=gr("canvas"),c=r.ctx=p.getContext("2d"),h=Nn(FM,f);Ur("click",h,d=>{(Ie!=Do||We!=Io)&&Bt.click(r,d)},!0);const g=r.under=Nn(jM,h);h.appendChild(p);const m=r.over=Nn(DM,h);e=Co(e);const b=+Me(e.pxAlign,1),w=_g(b);(e.plugins||[]).forEach(d=>{d.opts&&(e=d.opts(r,e)||e)});const y=e.ms||.001,x=r.series=o==1?Eg(e.series||[],vg,bg,!1):C3(e.series||[null],Sg),_=r.axes=Eg(e.axes||[],yg,wg,!0),C=r.scales={},M=r.bands=e.bands||[];M.forEach(d=>{d.fill=ye(d.fill||null),d.dir=Me(d.dir,-1)});const E=o==2?x[1].facets[0].scale:x[0].scale,R={axes:Bw,series:Ow},A=(e.drawOrder||["axes","series"]).map(d=>R[d]);function P(d){let v=C[d];if(v==null){let S=(e.scales||Ii)[d]||Ii;if(S.from!=null)P(S.from),C[d]=ft({},C[S.from],S,{key:d});else{v=C[d]=ft({},d==E?ow:p3,S),v.key=d;let k=v.time,T=v.range,N=go(T);if((d!=E||o==2&&!k)&&(N&&(T[0]==null||T[1]==null)&&(T={min:T[0]==null?tg:{mode:1,hard:T[0],soft:T[0]},max:T[1]==null?tg:{mode:1,hard:T[1],soft:T[1]}},N=!1),!N&&oc(T))){let B=T;T=(W,G,oe)=>G==null?Wl:Xa(G,oe,B)}v.range=ye(T||(k?E3:d==E?v.distr==3?M3:v.distr==4?P3:hw:v.distr==3?mw:v.distr==4?gw:T3)),v.auto=ye(N?!1:v.auto),v.clamp=ye(v.clamp||d3),v._min=v._max=null}}}P("x"),P("y"),o==1&&x.forEach(d=>{P(d.scale)}),_.forEach(d=>{P(d.scale)});for(let d in e.scales)P(d);const L=C[E],H=L.distr;let U,X;L.ori==0?(Sn(f,AM),U=i,X=s):(Sn(f,LM),U=s,X=i);const J={};for(let d in C){let v=C[d];(v.min!=null||v.max!=null)&&(J[d]={min:v.min,max:v.max},v.min=v.max=null)}const le=e.tzDate||(d=>new Date(Dt(d/y))),re=e.fmtDate||ih,j=y==1?LP(le):jP(le),Y=hg(le,pg(y==1?AP:FP,re)),D=gg(le,mg(IP,re)),q=[],V=r.legend=ft({},HP,e.legend),xe=V.show,Z=V.markers;V.idxs=q,Z.width=ye(Z.width),Z.dash=ye(Z.dash),Z.stroke=ye(Z.stroke),Z.fill=ye(Z.fill);let ae,Ce=[],kt=[],_t,Ge=!1,yn={};if(V.live){const d=x[1]?x[1].values:null;Ge=d!=null,_t=Ge?d(r,1,0):{_:0};for(let v in _t)yn[v]=th}if(xe)if(ae=gr("table",GM,f),V.mount(r,ae),Ge){let d=gr("tr",QM,ae);gr("th",null,d);for(var hr in _t)gr("th",U0,d).textContent=hr}else Sn(ae,YM),V.live&&Sn(ae,KM);const Hn={show:!0},at={show:!1};function vn(d,v){if(v==0&&(Ge||!V.live||o==2))return Wl;let S=[],k=gr("tr",XM,ae,ae.childNodes[v]);Sn(k,d.class),d.show||Sn(k,mo);let T=gr("th",null,k);if(Z.show){let W=Nn(ZM,T);if(v>0){let G=Z.width(r,v);G&&(W.style.border=G+"px "+Z.dash(r,v)+" "+Z.stroke(r,v)),W.style.background=Z.fill(r,v)}}let N=Nn(U0,T);N.textContent=d.label,v>0&&(Z.show||(N.style.color=d.width>0?Z.stroke(r,v):Z.fill(r,v)),Ct("click",T,W=>{if(ie._lock)return;let G=x.indexOf(d);if((W.ctrlKey||W.metaKey)!=V.isolate){let oe=x.some((I,ne)=>ne>0&&ne!=G&&I.show);x.forEach((I,ne)=>{ne>0&&nr(ne,oe?ne==G?Hn:at:Hn,!0,jt.setSeries)})}else nr(G,{show:!d.show},!0,jt.setSeries)}),Zl&&Ct(Y0,T,W=>{ie._lock||nr(x.indexOf(d),Uo,!0,jt.setSeries)}));for(var B in _t){let W=gr("td",qM,k);W.textContent="--",S.push(W)}return[k,S]}const sn=new Map;function Ct(d,v,S){const k=sn.get(v)||{},T=ie.bind[d](r,v,S);T&&(Ur(d,v,k[d]=T),sn.set(v,k))}function Vn(d,v,S){const k=sn.get(v)||{};for(let T in k)(d==null||T==d)&&(Ed(T,v,k[T]),delete k[T]);d==null&&sn.delete(v)}let On=0,wn=0,ce=0,fe=0,se=0,Be=0,Ke=0,ke=0,ot=0,Ye=0;r.bbox={};let Et=!1,te=!1,Tt=!1,Gt=!1,K=!1,ee=!1;function me(d,v,S){(S||d!=r.width||v!=r.height)&&Se(d,v),ei(!1),Tt=!0,te=!0,ie.left>=0&&(Gt=ee=!0),io()}function Se(d,v){r.width=On=ce=d,r.height=wn=fe=v,se=Be=0,Fo(),Cw();let S=r.bbox;Ke=S.left=po(se*_e,.5),ke=S.top=po(Be*_e,.5),ot=S.width=po(ce*_e,.5),Ye=S.height=po(fe*_e,.5)}const Mt=3;function xn(){let d=!1,v=0;for(;!d;){v++;let S=Aw(v),k=Lw(v);d=v==Mt||S&&k,d||(Se(r.width,r.height),te=!0)}}function Rr({width:d,height:v}){me(d,v)}r.setSize=Rr;function Fo(){let d=!1,v=!1,S=!1,k=!1;_.forEach((T,N)=>{if(T.show&&T._show){let{side:B,_size:W}=T,G=B%2,oe=T.label!=null?T.labelSize:0,I=W+oe;I>0&&(G?(ce-=I,B==3?(se+=I,k=!0):S=!0):(fe-=I,B==0?(Be+=I,d=!0):v=!0))}}),lo[0]=d,lo[1]=S,lo[2]=v,lo[3]=k,ce-=$r[1]+$r[3],se+=$r[3],fe-=$r[2]+$r[0],Be+=$r[0]}function Cw(){let d=se+ce,v=Be+fe,S=se,k=Be;function T(N,B){switch(N){case 1:return d+=B,d-B;case 2:return v+=B,v-B;case 3:return S-=B,S+B;case 0:return k-=B,k+B}}_.forEach((N,B)=>{if(N.show&&N._show){let W=N.side;N._pos=T(W,N._size),N.label!=null&&(N._lpos=T(W,N.labelSize))}})}const ie=r.cursor=ft({},ZP,{drag:{y:o==2}},e.cursor);{ie.idxs=q,ie._lock=!1;let d=ie.points;d.show=ye(d.show),d.size=ye(d.size),d.stroke=ye(d.stroke),d.width=ye(d.width),d.fill=ye(d.fill)}const oo=r.focus=ft({},e.focus||{alpha:.3},ie.focus);oo.bias!=0&&(oo.prox=1e5);const Zl=oo.prox>=0;let an=[null];function Ew(d,v){if(v>0){let S=ie.points.show(r,v);if(S)return Sn(S,VM),Sn(S,d.class),tl(S,-10,-10,ce,fe),m.insertBefore(S,an[v]),S}}function ph(d,v){if(o==1||v>0){let S=o==1&&C[d.scale].time,k=d.value;d.value=S?ag(k)?gg(le,mg(k,re)):k||D:k||u3,d.label=d.label||(S?e3:JP)}if(v>0){d.width=d.width==null?1:d.width,d.paths=d.paths||k3||dP,d.fillTo=ye(d.fillTo||h3),d.pxAlign=+Me(d.pxAlign,b),d.pxRound=_g(d.pxAlign),d.stroke=ye(d.stroke||null),d.fill=ye(d.fill||null),d._stroke=d._fill=d._paths=d._focus=null;let S=c3(xt(1,d.width),1),k=d.points=ft({},{size:S,width:xt(1,S*.2),stroke:d.stroke,space:S*2,paths:_3,_stroke:null,_fill:null},d.points);k.show=ye(k.show),k.filter=ye(k.filter),k.fill=ye(k.fill),k.stroke=ye(k.stroke),k.paths=ye(k.paths),k.pxAlign=d.pxAlign}if(xe){let S=vn(d,v);Ce.splice(v,0,S[0]),kt.splice(v,0,S[1]),V.values.push(null)}if(ie.show){q.splice(v,0,null);let S=Ew(d,v);S&&an.splice(v,0,S)}Ft("addSeries",v)}function Tw(d,v){v=v??x.length,d=o==1?Pd(d,v,vg,bg):Pd(d,v,null,Sg),x.splice(v,0,d),ph(x[v],v)}r.addSeries=Tw;function Mw(d){if(x.splice(d,1),xe){V.values.splice(d,1),kt.splice(d,1);let v=Ce.splice(d,1)[0];Vn(null,v.firstChild),v.remove()}ie.show&&(q.splice(d,1),an.length>1&&an.splice(d,1)[0].remove()),Ft("delSeries",d)}r.delSeries=Mw;const lo=[!1,!1,!1,!1];function Pw(d,v){if(d._show=d.show,d.show){let S=d.side%2,k=C[d.scale];k==null&&(d.scale=S?x[1].scale:E,k=C[d.scale]);let T=k.time;d.size=ye(d.size),d.space=ye(d.space),d.rotate=ye(d.rotate),d.incrs=ye(d.incrs||(k.distr==2?$P:T?y==1?zP:BP:OP)),d.splits=ye(d.splits||(T&&k.distr==1?j:k.distr==3?Td:k.distr==4?r3:n3)),d.stroke=ye(d.stroke),d.grid.stroke=ye(d.grid.stroke),d.ticks.stroke=ye(d.ticks.stroke),d.border.stroke=ye(d.border.stroke);let N=d.values;d.values=go(N)&&!go(N[0])?ye(N):T?go(N)?hg(le,pg(N,re)):ag(N)?DP(le,N):N||Y:N||t3,d.filter=ye(d.filter||(k.distr>=3&&k.log==10?a3:Iv)),d.font=Tg(d.font),d.labelFont=Tg(d.labelFont),d._size=d.size(r,null,v,0),d._space=d._rotate=d._incrs=d._found=d._splits=d._values=null,d._size>0&&(lo[v]=!0,d._el=Nn(IM,h))}}function ql(d,v,S,k){let[T,N,B,W]=S,G=v%2,oe=0;return G==0&&(W||N)&&(oe=v==0&&!T||v==2&&!B?Dt(yg.size/3):0),G==1&&(T||B)&&(oe=v==1&&!N||v==3&&!W?Dt(wg.size/2):0),oe}const hh=r.padding=(e.padding||[ql,ql,ql,ql]).map(d=>ye(Me(d,ql))),$r=r._padding=hh.map((d,v)=>d(r,v,lo,0));let Pt,Rt=null,$t=null;const bs=o==1?x[0].idxs:null;let Gn=null,ks=!1;function mh(d,v){if(t=d==null?[]:Co(d,ug),o==2){Pt=0;for(let S=1;S=0,ee=!0,io()}}r.setData=mh;function fc(){ks=!0;let d,v;o==1&&(Pt>0?(Rt=bs[0]=0,$t=bs[1]=Pt-1,d=t[0][Rt],v=t[0][$t],H==2?(d=Rt,v=$t):Pt==1&&(H==3?[d,v]=nc(d,d,L.log,!1):H==4?[d,v]=rh(d,d,L.log,!1):L.time?v=d+Dt(86400/y):[d,v]=Xa(d,v,oh,!0))):(Rt=bs[0]=d=null,$t=bs[1]=v=null)),Wo(E,d,v)}let _s,jo,dc,pc,hc,mc,gc,yc,vc,Jl;function gh(d,v,S,k,T,N){d??(d=V0),S??(S=Uv),k??(k="butt"),T??(T=V0),N??(N="round"),d!=_s&&(c.strokeStyle=_s=d),T!=jo&&(c.fillStyle=jo=T),v!=dc&&(c.lineWidth=dc=v),N!=hc&&(c.lineJoin=hc=N),k!=mc&&(c.lineCap=mc=k),S!=pc&&c.setLineDash(pc=S)}function yh(d,v,S,k){v!=jo&&(c.fillStyle=jo=v),d!=gc&&(c.font=gc=d),S!=yc&&(c.textAlign=yc=S),k!=vc&&(c.textBaseline=vc=k)}function wc(d,v,S,k,T=0){if(k.length>0&&d.auto(r,ks)&&(v==null||v.min==null)){let N=Me(Rt,0),B=Me($t,k.length-1),W=S.min==null?d.distr==3?lP(k,N,B):oP(k,N,B,T):[S.min,S.max];d.min=nn(d.min,S.min=W[0]),d.max=xt(d.max,S.max=W[1])}}function Rw(){let d=Co(C,ug);for(let k in d){let T=d[k],N=J[k];if(N!=null&&N.min!=null)ft(T,N),k==E&&ei(!0);else if(k!=E||o==2)if(Pt==0&&T.from==null){let B=T.range(r,null,null,k);T.min=B[0],T.max=B[1]}else T.min=ve,T.max=-ve}if(Pt>0){x.forEach((k,T)=>{if(o==1){let N=k.scale,B=d[N],W=J[N];if(T==0){let G=B.range(r,B.min,B.max,N);B.min=G[0],B.max=G[1],Rt=Ar(B.min,t[0]),$t=Ar(B.max,t[0]),$t-Rt>1&&(t[0][Rt]B.max&&$t--),k.min=Gn[Rt],k.max=Gn[$t]}else k.show&&k.auto&&wc(B,W,k,t[T],k.sorted);k.idxs[0]=Rt,k.idxs[1]=$t}else if(T>0&&k.show&&k.auto){let[N,B]=k.facets,W=N.scale,G=B.scale,[oe,I]=t[T];wc(d[W],J[W],N,oe,N.sorted),wc(d[G],J[G],B,I,B.sorted),k.min=B.min,k.max=B.max}});for(let k in d){let T=d[k],N=J[k];if(T.from==null&&(N==null||N.min==null)){let B=T.range(r,T.min==ve?null:T.min,T.max==-ve?null:T.max,k);T.min=B[0],T.max=B[1]}}}for(let k in d){let T=d[k];if(T.from!=null){let N=d[T.from];if(N.min==null)T.min=T.max=null;else{let B=T.range(r,N.min,N.max,k);T.min=B[0],T.max=B[1]}}}let v={},S=!1;for(let k in d){let T=d[k],N=C[k];if(N.min!=T.min||N.max!=T.max){N.min=T.min,N.max=T.max;let B=N.distr;N._min=B==3?kr(N.min):B==4?df(N.min,N.asinh):N.min,N._max=B==3?kr(N.max):B==4?df(N.max,N.asinh):N.max,v[k]=S=!0}}if(S){x.forEach((k,T)=>{o==2?T>0&&v.y&&(k._paths=null):v[k.scale]&&(k._paths=null)});for(let k in v)Tt=!0,Ft("setScale",k);ie.show&&ie.left>=0&&(Gt=ee=!0)}for(let k in J)J[k]=null}function $w(d){let v=lg(Rt-1,0,Pt-1),S=lg($t+1,0,Pt-1);for(;d[v]==null&&v>0;)v--;for(;d[S]==null&&S0&&(x.forEach((d,v)=>{if(v>0&&d.show&&d._paths==null){let S=o==2?[0,t[v][0].length-1]:$w(t[v]);d._paths=d.paths(r,v,S[0],S[1])}}),x.forEach((d,v)=>{if(v>0&&d.show){Jl!=d.alpha&&(c.globalAlpha=Jl=d.alpha),vh(v,!1),d._paths&&wh(v,!1);{vh(v,!0);let S=d._paths?d._paths.gaps:null,k=d.points.show(r,v,Rt,$t,S),T=d.points.filter(r,v,k,S);(k||T)&&(d.points._paths=d.points.paths(r,v,Rt,$t,T),wh(v,!0))}Jl!=1&&(c.globalAlpha=Jl=1),Ft("drawSeries",v)}}))}function vh(d,v){let S=v?x[d].points:x[d];S._stroke=S.stroke(r,d),S._fill=S.fill(r,d)}function wh(d,v){let S=v?x[d].points:x[d],k=S._stroke,T=S._fill,{stroke:N,fill:B,clip:W,flags:G}=S._paths,oe=null,I=Le(S.width*_e,3),ne=I%2/2;v&&T==null&&(T=I>0?"#fff":k);let ue=S.pxAlign==1;if(ue&&c.translate(ne,ne),!v){let lt=Ke,de=ke,Pe=ot,pe=Ye,Re=I*_e/2;S.min==0&&(pe+=Re),S.max==0&&(de-=Re,pe+=Re),oe=new Path2D,oe.rect(lt,de,Pe,pe)}v?xc(k,I,S.dash,S.cap,T,N,B,G,W):Nw(d,k,I,S.dash,S.cap,T,N,B,G,oe,W),ue&&c.translate(-ne,-ne)}function Nw(d,v,S,k,T,N,B,W,G,oe,I){let ne=!1;M.forEach((ue,lt)=>{if(ue.series[0]==d){let de=x[ue.series[1]],Pe=t[ue.series[1]],pe=(de._paths||Ii).band;go(pe)&&(pe=ue.dir==1?pe[0]:pe[1]);let Re,ut=null;de.show&&pe&&sP(Pe,Rt,$t)?(ut=ue.fill(r,lt)||N,Re=de._paths.clip):pe=null,xc(v,S,k,T,ut,B,W,G,oe,I,Re,pe),ne=!0}}),ne||xc(v,S,k,T,N,B,W,G,oe,I)}const xh=Oo|Ja;function xc(d,v,S,k,T,N,B,W,G,oe,I,ne){gh(d,v,S,k,T),(G||oe||ne)&&(c.save(),G&&c.clip(G),oe&&c.clip(oe)),ne?(W&xh)==xh?(c.clip(ne),I&&c.clip(I),Es(T,B),Cs(d,N,v)):W&Ja?(Es(T,B),c.clip(ne),Cs(d,N,v)):W&Oo&&(c.save(),c.clip(ne),I&&c.clip(I),Es(T,B),c.restore(),Cs(d,N,v)):(Es(T,B),Cs(d,N,v)),(G||oe||ne)&&c.restore()}function Cs(d,v,S){S>0&&(v instanceof Map?v.forEach((k,T)=>{c.strokeStyle=_s=T,c.stroke(k)}):v!=null&&d&&c.stroke(v))}function Es(d,v){v instanceof Map?v.forEach((S,k)=>{c.fillStyle=jo=k,c.fill(S)}):v!=null&&d&&c.fill(v)}function zw(d,v,S,k){let T=_[d],N;if(k<=0)N=[0,0];else{let B=T._space=T.space(r,d,v,S,k),W=T._incrs=T.incrs(r,d,v,S,k,B);N=R3(v,S,W,k,B)}return T._found=N}function Sc(d,v,S,k,T,N,B,W,G,oe){let I=B%2/2;b==1&&c.translate(I,I),gh(W,B,G,oe,W),c.beginPath();let ne,ue,lt,de,Pe=T+(k==0||k==3?-N:N);S==0?(ue=T,de=Pe):(ne=T,lt=Pe);for(let pe=0;pe{if(!S.show)return;let T=C[S.scale];if(T.min==null){S._show&&(v=!1,S._show=!1,ei(!1));return}else S._show||(v=!1,S._show=!0,ei(!1));let N=S.side,B=N%2,{min:W,max:G}=T,[oe,I]=zw(k,W,G,B==0?ce:fe);if(I==0)return;let ne=T.distr==2,ue=S._splits=S.splits(r,k,W,G,oe,I,ne),lt=T.distr==2?ue.map(Re=>Gn[Re]):ue,de=T.distr==2?Gn[ue[1]]-Gn[ue[0]]:oe,Pe=S._values=S.values(r,S.filter(r,lt,k,I,de),k,I,de);S._rotate=N==2?S.rotate(r,Pe,k,I):0;let pe=S._size;S._size=Za(S.size(r,Pe,k,d)),pe!=null&&S._size!=pe&&(v=!1)}),v}function Lw(d){let v=!0;return hh.forEach((S,k)=>{let T=S(r,k,lo,d);T!=$r[k]&&(v=!1),$r[k]=T}),v}function Bw(){for(let d=0;d<_.length;d++){let v=_[d];if(!v.show||!v._show)continue;let S=v.side,k=S%2,T,N,B=v.stroke(r,d),W=S==0||S==3?-1:1;if(v.label){let Yn=v.labelGap*W,mr=Dt((v._lpos+Yn)*_e);yh(v.labelFont[0],B,"center",S==2?xi:H0),c.save(),k==1?(T=N=0,c.translate(mr,Dt(ke+Ye/2)),c.rotate((S==3?-wa:wa)/2)):(T=Dt(Ke+ot/2),N=mr),c.fillText(v.label,T,N),c.restore()}let[G,oe]=v._found;if(oe==0)continue;let I=C[v.scale],ne=k==0?ot:Ye,ue=k==0?Ke:ke,lt=Dt(v.gap*_e),de=v._splits,Pe=I.distr==2?de.map(Yn=>Gn[Yn]):de,pe=I.distr==2?Gn[de[1]]-Gn[de[0]]:G,Re=v.ticks,ut=v.border,cn=Re.show?Dt(Re.size*_e):0,Fe=v._rotate*-wa/180,ct=w(v._pos*_e),Kt=(cn+lt)*W,it=ct+Kt;N=k==0?it:0,T=k==1?it:0;let en=v.font[0],Kn=v.align==1?el:v.align==2?cf:Fe>0?el:Fe<0?cf:k==0?"center":S==3?cf:el,Nr=Fe||k==1?"middle":S==2?xi:H0;yh(en,B,Kn,Nr);let zh=v.font[1]*qP,Os=de.map(Yn=>w(u(Yn,I,ne,ue))),Ah=v._values;for(let Yn=0;Yn{S>0&&(v._paths=null,d&&(o==1?(v.min=null,v.max=null):v.facets.forEach(k=>{k.min=null,k.max=null})))})}let bc=!1;function io(){bc||(bP(Fw),bc=!0)}function Fw(){Et&&(Rw(),Et=!1),Tt&&(xn(),Tt=!1),te&&(Xe(g,el,se),Xe(g,xi,Be),Xe(g,Ei,ce),Xe(g,Ti,fe),Xe(m,el,se),Xe(m,xi,Be),Xe(m,Ei,ce),Xe(m,Ti,fe),Xe(h,Ei,On),Xe(h,Ti,wn),p.width=Dt(On*_e),p.height=Dt(wn*_e),_.forEach(({_el:d,_show:v,_size:S,_pos:k,side:T})=>{if(d!=null)if(v){let N=T===3||T===0?S:0,B=T%2==1;Xe(d,B?"left":"top",k-N),Xe(d,B?"width":"height",S),Xe(d,B?"top":"left",B?Be:se),Xe(d,B?"height":"width",B?fe:ce),Cd(d,mo)}else Sn(d,mo)}),_s=jo=dc=hc=mc=gc=yc=vc=pc=null,Jl=1,Rs(!0),Ft("setSize"),te=!1),On>0&&wn>0&&(c.clearRect(0,0,p.width,p.height),Ft("drawClear"),A.forEach(d=>d()),Ft("draw")),un.show&&K&&(Ps(un),K=!1),ie.show&&Gt&&(ao(null,!0,!1),Gt=!1),V.show&&V.live&&ee&&(Ec(),ee=!1),a||(a=!0,r.status=1,Ft("ready")),ks=!1,bc=!1}r.redraw=(d,v)=>{Tt=v||!1,d!==!1?Wo(E,L.min,L.max):io()};function kc(d,v){let S=C[d];if(S.from==null){if(Pt==0){let k=S.range(r,v.min,v.max,d);v.min=k[0],v.max=k[1]}if(v.min>v.max){let k=v.min;v.min=v.max,v.max=k}if(Pt>1&&v.min!=null&&v.max!=null&&v.max-v.min<1e-16)return;d==E&&S.distr==2&&Pt>0&&(v.min=Ar(v.min,t[0]),v.max=Ar(v.max,t[0]),v.min==v.max&&v.max++),J[d]=v,Et=!0,io()}}r.setScale=kc;let _c,Cc,Ts,Ms,Sh,bh,Do,Io,kh,_h,Ie,We,Or=!1;const Bt=ie.drag;let Ot=Bt.x,Nt=Bt.y;ie.show&&(ie.x&&(_c=Nn(UM,m)),ie.y&&(Cc=Nn(HM,m)),L.ori==0?(Ts=_c,Ms=Cc):(Ts=Cc,Ms=_c),Ie=ie.left,We=ie.top);const un=r.select=ft({show:!0,over:!0,left:0,width:0,top:0,height:0},e.select),ti=un.show?Nn(WM,un.over?m:g):null;function Ps(d,v){if(un.show){for(let S in d)un[S]=d[S],S in Mh&&Xe(ti,S,d[S]);v!==!1&&Ft("setSelect")}}r.setSelect=Ps;function jw(d,v){let S=x[d],k=xe?Ce[d]:null;S.show?k&&Cd(k,mo):(k&&Sn(k,mo),an.length>1&&tl(an[d],-10,-10,ce,fe))}function Wo(d,v,S){kc(d,{min:v,max:S})}function nr(d,v,S,k){v.focus!=null&&Hw(d),v.show!=null&&x.forEach((T,N)=>{N>0&&(d==N||d==null)&&(T.show=v.show,jw(N,v.show),Wo(o==2?T.facets[1].scale:T.scale,null,null),io())}),S!==!1&&Ft("setSeries",d,v),k&&ii("setSeries",r,d,v)}r.setSeries=nr;function Dw(d,v){ft(M[d],v)}function Iw(d,v){d.fill=ye(d.fill||null),d.dir=Me(d.dir,-1),v=v??M.length,M.splice(v,0,d)}function Ww(d){d==null?M.length=0:M.splice(d,1)}r.addBand=Iw,r.setBand=Dw,r.delBand=Ww;function Uw(d,v){x[d].alpha=v,ie.show&&an[d]&&(an[d].style.opacity=v),xe&&Ce[d]&&(Ce[d].style.opacity=v)}let so,ni,ri;const Uo={focus:!0};function Hw(d){if(d!=ri){let v=d==null,S=oo.alpha!=1;x.forEach((k,T)=>{let N=v||T==0||T==d;k._focus=v?null:N,S&&Uw(T,N?1:oo.alpha)}),ri=d,S&&io()}}xe&&Zl&&Ur(Q0,ae,d=>{ie._lock||ri!=null&&nr(null,Uo,!0,jt.setSeries)});function rr(d,v,S){let k=C[v];S&&(d=d/_e-(k.ori==1?Be:se));let T=ce;k.ori==1&&(T=fe,d=T-d),k.dir==-1&&(d=T-d);let N=k._min,B=k._max,W=d/T,G=N+(B-N)*W,oe=k.distr;return oe==3?jl(10,G):oe==4?uP(G,k.asinh):G}function Vw(d,v){let S=rr(d,E,v);return Ar(S,t[0],Rt,$t)}r.valToIdx=d=>Ar(d,t[0]),r.posToIdx=Vw,r.posToVal=rr,r.valToPos=(d,v,S)=>C[v].ori==0?i(d,C[v],S?ot:ce,S?Ke:0):s(d,C[v],S?Ye:fe,S?ke:0);function Gw(d){d(r),io()}r.batch=Gw,r.setCursor=(d,v,S)=>{Ie=d.left,We=d.top,ao(null,v,S)};function Ch(d,v){Xe(ti,el,un.left=d),Xe(ti,Ei,un.width=v)}function Eh(d,v){Xe(ti,xi,un.top=d),Xe(ti,Ti,un.height=v)}let oi=L.ori==0?Ch:Eh,li=L.ori==1?Ch:Eh;function Kw(){if(xe&&V.live)for(let d=o==2?1:0;d{q[k]=S}):mP(d.idx)||q.fill(d.idx),V.idx=q[0]);for(let S=0;S0||o==1&&!Ge)&&Yw(S,q[S]);xe&&V.live&&Kw(),ee=!1,v!==!1&&Ft("setLegend")}r.setLegend=Ec;function Yw(d,v){let S=x[d],k=d==0&&H==2?Gn:t[d],T;Ge?T=S.values(r,d,v)??yn:(T=S.value(r,v==null?null:k[v],d,v),T=T==null?yn:{_:T}),V.values[d]=T}function ao(d,v,S){kh=Ie,_h=We,[Ie,We]=ie.move(r,Ie,We),ie.show&&(Ts&&tl(Ts,Dt(Ie),0,ce,fe),Ms&&tl(Ms,0,Dt(We),ce,fe));let k,T=Rt>$t;so=ve;let N=L.ori==0?ce:fe,B=L.ori==1?ce:fe;if(Ie<0||Pt==0||T){k=null;for(let W=0;W0&&an.length>1&&tl(an[W],-10,-10,ce,fe);Zl&&nr(null,Uo,!0,d==null&&jt.setSeries),V.live&&(q.fill(k),ee=!0)}else{let W,G,oe;o==1&&(W=L.ori==0?Ie:We,G=rr(W,E),k=Ar(G,t[0],Rt,$t),oe=U(t[0][k],L,N,0));for(let I=o==2?1:0;I0&&ne.show){let Re=Pe==null?-10:Il(X(Pe,o==1?C[ne.scale]:C[ne.facets[1].scale],B,0),1);if(Zl&&Re>=0&&o==1){let Fe=Zt(Re-We),ct=oo.bias;if(ct!=0){let Kt=L.ori==1?Ie:We,it=rr(Kt,ne.scale),en=Pe>=0?1:-1,Kn=it>=0?1:-1;Kn==en&&Fe=it:Pe<=it:ct==1?Pe<=it:Pe>=it)&&(so=Fe,ni=I)}else Fe1){nP(an[I],ie.points.fill(r,I),ie.points.stroke(r,I));let Fe,ct,Kt,it,en=!0,Kn=ie.points.bbox;if(Kn!=null){en=!1;let Nr=Kn(r,I);Kt=Nr.left,it=Nr.top,Fe=Nr.width,ct=Nr.height}else Kt=ut,it=cn,Fe=ct=ie.points.size(r,I);rP(an[I],Fe,ct,en),tl(an[I],Kt,it,ce,fe)}}}}if(ie.idx=k,ie.left=Ie,ie.top=We,ee&&(V.idx=k,Ec()),un.show&&Or)if(d!=null){let[W,G]=jt.scales,[oe,I]=jt.match,[ne,ue]=d.cursor.sync.scales,lt=d.cursor.drag;if(Ot=lt._x,Nt=lt._y,Ot||Nt){let{left:de,top:Pe,width:pe,height:Re}=d.select,ut=d.scales[W].ori,cn=d.posToVal,Fe,ct,Kt,it,en,Kn=W!=null&&oe(W,ne),Nr=G!=null&&I(G,ue);Kn&&Ot?(ut==0?(Fe=de,ct=pe):(Fe=Pe,ct=Re),Kt=C[W],it=U(cn(Fe,ne),Kt,N,0),en=U(cn(Fe+ct,ne),Kt,N,0),oi(nn(it,en),Zt(en-it))):oi(0,N),Nr&&Nt?(ut==1?(Fe=de,ct=pe):(Fe=Pe,ct=Re),Kt=C[G],it=X(cn(Fe,ue),Kt,B,0),en=X(cn(Fe+ct,ue),Kt,B,0),li(nn(it,en),Zt(en-it))):li(0,B)}else Mc()}else{let W=Zt(kh-Sh),G=Zt(_h-bh);if(L.ori==1){let ue=W;W=G,G=ue}Ot=Bt.x&&W>=Bt.dist,Nt=Bt.y&&G>=Bt.dist;let oe=Bt.uni;oe!=null?Ot&&Nt&&(Ot=W>=oe,Nt=G>=oe,!Ot&&!Nt&&(G>W?Nt=!0:Ot=!0)):Bt.x&&Bt.y&&(Ot||Nt)&&(Ot=Nt=!0);let I,ne;Ot&&(L.ori==0?(I=Do,ne=Ie):(I=Io,ne=We),oi(nn(I,ne),Zt(ne-I)),Nt||li(0,B)),Nt&&(L.ori==1?(I=Do,ne=Ie):(I=Io,ne=We),li(nn(I,ne),Zt(ne-I)),Ot||oi(0,N)),!Ot&&!Nt&&(oi(0,0),li(0,0))}if(Bt._x=Ot,Bt._y=Nt,d==null){if(S){if(Nh!=null){let[W,G]=jt.scales;jt.values[0]=W!=null?rr(L.ori==0?Ie:We,W):null,jt.values[1]=G!=null?rr(L.ori==1?Ie:We,G):null}ii(G0,r,Ie,We,ce,fe,k)}if(Zl){let W=S&&jt.setSeries,G=oo.prox;ri==null?so<=G&&nr(ni,Uo,!0,W):so>G?nr(null,Uo,!0,W):ni!=ri&&nr(ni,Uo,!0,W)}}v!==!1&&Ft("setCursor")}let Ho=null;function Rs(d){d===!0?Ho=null:(Ho=m.getBoundingClientRect(),Ft("syncRect",Ho))}function Th(d,v,S,k,T,N,B){ie._lock||Or&&d!=null&&d.movementX==0&&d.movementY==0||(Tc(d,v,S,k,T,N,B,!1,d!=null),d!=null?ao(null,!0,!0):ao(v,!0,!1))}function Tc(d,v,S,k,T,N,B,W,G){if(Ho==null&&Rs(!1),d!=null)S=d.clientX-Ho.left,k=d.clientY-Ho.top;else{if(S<0||k<0){Ie=-10,We=-10;return}let[oe,I]=jt.scales,ne=v.cursor.sync,[ue,lt]=ne.values,[de,Pe]=ne.scales,[pe,Re]=jt.match,ut=v.axes[0].side%2==1,cn=L.ori==0?ce:fe,Fe=L.ori==1?ce:fe,ct=ut?N:T,Kt=ut?T:N,it=ut?k:S,en=ut?S:k;if(de!=null?S=pe(oe,de)?u(ue,C[oe],cn,0):-10:S=cn*(it/ct),Pe!=null?k=Re(I,Pe)?u(lt,C[I],Fe,0):-10:k=Fe*(en/Kt),L.ori==1){let Kn=S;S=k,k=Kn}}G&&((S<=1||S>=ce-1)&&(S=po(S,ce)),(k<=1||k>=fe-1)&&(k=po(k,fe))),W?(Sh=S,bh=k,[Do,Io]=ie.move(r,S,k)):(Ie=S,We=k)}const Mh={width:0,height:0,left:0,top:0};function Mc(){Ps(Mh,!1)}function Ph(d,v,S,k,T,N,B){Or=!0,Ot=Nt=Bt._x=Bt._y=!1,Tc(d,v,S,k,T,N,B,!0,!1),d!=null&&(Ct(ff,kd,Rh),ii(K0,r,Do,Io,ce,fe,null))}function Rh(d,v,S,k,T,N,B){Or=Bt._x=Bt._y=!1,Tc(d,v,S,k,T,N,B,!1,!0);let{left:W,top:G,width:oe,height:I}=un,ne=oe>0||I>0;if(ne&&Ps(un),Bt.setScale&&ne){let ue=W,lt=oe,de=G,Pe=I;if(L.ori==1&&(ue=G,lt=I,de=W,Pe=oe),Ot&&Wo(E,rr(ue,E),rr(ue+lt,E)),Nt)for(let pe in C){let Re=C[pe];pe!=E&&Re.from==null&&Re.min!=ve&&Wo(pe,rr(de+Pe,pe),rr(de,pe))}Mc()}else ie.lock&&(ie._lock=!ie._lock,ie._lock||ao(null,!0,!1));d!=null&&(Vn(ff,kd),ii(ff,r,Ie,We,ce,fe,null))}function Qw(d,v,S,k,T,N,B){if(!ie._lock){let W=Or;if(Or){let G=!0,oe=!0,I=10,ne,ue;L.ori==0?(ne=Ot,ue=Nt):(ne=Nt,ue=Ot),ne&&ue&&(G=Ie<=I||Ie>=ce-I,oe=We<=I||We>=fe-I),ne&&G&&(Ie=Ie{nr(S,k,!0,!1)},ie.show&&(Ct(K0,m,Ph),Ct(G0,m,Th),Ct(Y0,m,Rs),Ct(Q0,m,Qw),Ct(X0,m,$h),Md.add(r),r.syncRect=Rs);const $s=r.hooks=e.hooks||{};function Ft(d,v,S){d in $s&&$s[d].forEach(k=>{k.call(null,r,v,S)})}(e.plugins||[]).forEach(d=>{for(let v in d.hooks)$s[v]=($s[v]||[]).concat(d.hooks[v])});const jt=ft({key:null,setSeries:!1,filters:{pub:ig,sub:ig},scales:[E,x[1]?x[1].scale:null],match:[sg,sg],values:[null,null]},ie.sync);ie.sync=jt;const Nh=jt.key,Pc=lw(Nh);function ii(d,v,S,k,T,N,B){jt.filters.pub(d,v,S,k,T,N,B)&&Pc.pub(d,v,S,k,T,N,B)}Pc.sub(r);function Xw(d,v,S,k,T,N,B){jt.filters.sub(d,v,S,k,T,N,B)&&Vo[d](null,v,S,k,T,N,B)}r.pub=Xw;function Zw(){Pc.unsub(r),Md.delete(r),sn.clear(),Ed(Qa,Cl,Oh),f.remove(),ae==null||ae.remove(),Ft("destroy")}r.destroy=Zw;function Rc(){Ft("init",e,t),mh(t||e.data,!1),J[E]?kc(E,J[E]):fc(),K=un.show,Gt=ee=!0,me(e.width,e.height)}return x.forEach(ph),_.forEach(Pw),n?n instanceof HTMLElement?(n.appendChild(f),Rc()):n(r,Rc):Rc(),r}Ht.assign=ft;Ht.fmtNum=lh;Ht.rangeNum=Xa;Ht.rangeLog=nc;Ht.rangeAsinh=rh;Ht.orient=Bo;Ht.pxRatio=_e;Ht.join=SP;Ht.fmtDate=ih,Ht.tzDate=PP;Ht.sync=lw;{Ht.addGap=m3,Ht.clipGaps=ic;let e=Ht.paths={points:fw};e.linear=pw,e.stepped=v3,e.bars=w3,e.spline=S3}const O3=Object.freeze(Object.defineProperty({__proto__:null,default:Ht},Symbol.toStringTag,{value:"Module"})),N3=Jw(O3);(function(e,t){(function(r,o){e.exports=o(O,N3)})(self,(n,r)=>(()=>{var o={"./common/index.ts":(u,a,f)=>{f.r(a),f.d(a,{dataMatch:()=>h,optionsUpdateState:()=>c});var p=function(g,m){var b={};for(var w in g)Object.prototype.hasOwnProperty.call(g,w)&&m.indexOf(w)<0&&(b[w]=g[w]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,w=Object.getOwnPropertySymbols(g);y{u.exports=n},uplot:u=>{u.exports=r}},l={};function i(u){var a=l[u];if(a!==void 0)return a.exports;var f=l[u]={exports:{}};return o[u](f,f.exports,i),f.exports}i.n=u=>{var a=u&&u.__esModule?()=>u.default:()=>u;return i.d(a,{a}),a},i.d=(u,a)=>{for(var f in a)i.o(a,f)&&!i.o(u,f)&&Object.defineProperty(u,f,{enumerable:!0,get:a[f]})},i.o=(u,a)=>Object.prototype.hasOwnProperty.call(u,a),i.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var s={};return(()=>{/*!*******************************!*\ + !*** ./react/uplot-react.tsx ***! + \*******************************/i.r(s),i.d(s,{default:()=>h});var u=i("react"),a=i.n(u),f=i("uplot"),p=i.n(f),c=i("./common/index.ts");function h(g){var m=g.options,b=g.data,w=g.target,y=g.onDelete,x=y===void 0?function(){}:y,_=g.onCreate,C=_===void 0?function(){}:_,M=g.resetScales,E=M===void 0?!0:M,R=(0,u.useRef)(null),A=(0,u.useRef)(null);function P(U){U&&(x(U),U.destroy(),R.current=null)}function L(){var U=new(p())(m,b,w||A.current);R.current=U,C(U)}(0,u.useEffect)(function(){return L(),function(){P(R.current)}},[]);var H=(0,u.useRef)({options:m,data:b,target:w}).current;return(0,u.useEffect)(function(){if(H.options!==m){var U=(0,c.optionsUpdateState)(H.options,m);!R.current||U==="create"?(P(R.current),L()):U==="update"&&R.current.setSize({width:m.width,height:m.height})}return H.data!==b&&(R.current?(0,c.dataMatch)(H.data,b)||(E?R.current.setData(b,!0):(R.current.setData(b,!1),R.current.redraw())):L()),H.target!==w&&(P(R.current),L()),function(){H.options=m,H.data=b,H.target=w}},[m,b,w,E]),w?null:a().createElement("div",{ref:A})}})(),s=s.default,s})())})(OM);const Rd=Ng(bd);var yw=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,l){return o[0]===n?(r=l,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,l=this.__entries__;o0},e.prototype.connect_=function(){!$d||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),j3?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!$d||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=F3.some(function(l){return!!~r.indexOf(l)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),vw=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Ul(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new Y3(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Ul(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new Q3(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),xw=typeof WeakMap<"u"?new WeakMap:new yw,Sw=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=D3.getInstance(),r=new X3(t,n,this);xw.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Sw.prototype[e]=function(){var t;return(t=xw.get(this))[e].apply(t,arguments)}});var Z3=function(){return typeof eu.ResizeObserver<"u"?eu.ResizeObserver:Sw}();function q3(e,t,n){var r=this,o=O.useRef(null),l=O.useRef(0),i=O.useRef(null),s=O.useRef([]),u=O.useRef(),a=O.useRef(),f=O.useRef(e),p=O.useRef(!0);O.useEffect(function(){f.current=e},[e]);var c=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var h=!!(n=n||{}).leading,g=!("trailing"in n)||!!n.trailing,m="maxWait"in n,b=m?Math.max(+n.maxWait||0,t):null;O.useEffect(function(){return p.current=!0,function(){p.current=!1}},[]);var w=O.useMemo(function(){var y=function(R){var A=s.current,P=u.current;return s.current=u.current=null,l.current=R,a.current=f.current.apply(P,A)},x=function(R,A){c&&cancelAnimationFrame(i.current),i.current=c?requestAnimationFrame(R):setTimeout(R,A)},_=function(R){if(!p.current)return!1;var A=R-o.current;return!o.current||A>=t||A<0||m&&R-l.current>=b},C=function(R){return i.current=null,g&&s.current?y(R):(s.current=u.current=null,a.current)},M=function R(){var A=Date.now();if(_(A))return C(A);if(p.current){var P=t-(A-o.current),L=m?Math.min(P,b-(A-l.current)):P;x(R,L)}},E=function(){var R=Date.now(),A=_(R);if(s.current=[].slice.call(arguments),u.current=r,o.current=R,A){if(!i.current&&p.current)return l.current=o.current,x(M,t),h?y(o.current):a.current;if(m)return x(M,t),y(o.current)}return i.current||x(M,t),a.current};return E.cancel=function(){i.current&&(c?cancelAnimationFrame(i.current):clearTimeout(i.current)),l.current=0,s.current=o.current=u.current=i.current=null},E.isPending=function(){return!!i.current},E.flush=function(){return i.current?C(Date.now()):a.current},E},[h,m,t,b,g,c]);return w}var bw={},Od={};(function(e){var t=yo&&yo.__assign||function(){return t=Object.assign||function(c){for(var h,g=1,m=arguments.length;g"u"||c===null){var m=typeof g=="function"?g():g,b=i.errorCreator(n.NoValue,h,m);throw i.errorReporter&&i.errorReporter(n.NoValue,b,h,m),b}return c},f=function(c,h,g){var m=i.warningReporter;if(typeof c=="boolean"){if(!c){var b=typeof g=="function"?g():g;e.assert(m,"assert.soft must have warningReporter configured, see https://www.npmjs.com/package/assert-ts#configuration")(n.Condition,h,b)}return c}if(c==null){var b=typeof g=="function"?g():g;return e.assert(m,"assert.soft must have warningReporter configured, see https://www.npmjs.com/package/assert-ts#configuration")(n.NoValue,h,b),!1}return!0},p=a;p.soft=f,e.assert=p})(Od);(function(e){var t=yo&&yo.__createBinding||(Object.create?function(o,l,i,s){s===void 0&&(s=i),Object.defineProperty(o,s,{enumerable:!0,get:function(){return l[i]}})}:function(o,l,i,s){s===void 0&&(s=i),o[s]=l[i]}),n=yo&&yo.__exportStar||function(o,l){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(l,i)&&t(l,o,i)};Object.defineProperty(e,"__esModule",{value:!0});var r=Od;n(Od,e),e.default=r.assert})(bw);const J3=e=>e==null;var Pg,Rg;(function(e){e.GET="get",e.POST="post",e.PUT="put",e.DELETE="delete"})(Pg||(Pg={})),function(e){e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NoContent=204]="NoContent",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.BadRequest=400]="BadRequest",e[e.Unauthorised=401]="Unauthorised",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"}(Rg||(Rg={}));const eR=e=>e;var No;(function(e){e.development="development",e.test="test",e.production="production"})(No||(No={}));const dh=No.production||No.development;No.development;No.test;No.production;const kw=(e,{debounceDelay:t=0,initialValues:n={width:0,height:0},transformFunc:r=eR,maxDifference:o=10}={})=>{const[{width:l,height:i},s]=O.useState({width:n.width,height:n.height}),u=O.useRef({width:n.width,height:n.height}),a=O.useCallback(r,[r]);bw.assert(!!e,"You must pass a valid ref to useParentSize");const f=q3(c=>{s(c)},t,{leading:!0}),p=e.current;return O.useLayoutEffect(()=>{if(J3(p))return void s({width:l,height:i});const c=new Z3(h=>{if(!Array.isArray(h)||h.length!==1)return;const g=h[0],m=Math.round(g.contentRect.width),b=Math.round(g.contentRect.height),w={width:m,height:b},y=Math.abs(m-u.current.width),x=Math.abs(b-u.current.height);(y>o||x>o)&&(u.current.height=b,u.current.width=m,f(w))});return requestAnimationFrame(()=>c.observe(p)),()=>{p&&(c==null||c.unobserve(p))}},[o,f,i,p,l]),O.useMemo(()=>a({width:l,height:i}),[i,a,l])},tR=Ht.sync("chart");function _w(e){const t=new cs(O.useContext(Ss),e.series),n=O.useRef(null),{width:r}=kw(n);if(t.data.length :not(style)":{m:1}},children:$.jsx($E,{color:"primary","aria-label":"Print",size:"small",onClick:window.print,children:$.jsx($M,{})})}),$.jsxs("div",{className:"Report",children:[$.jsx(eo,{className:"PageHeader",component:"div",children:"k6 report"}),nR(e.tabs),$.jsx(lR,{title:"Summary",description:"This section provides a summary of the test run metrics. The tables contains the aggregated values of the metrics for the entire test run."})]})]})}function sR(e){return $.jsx($.Fragment,{children:$.jsx("div",{className:"Summary",children:$.jsx(tc.Provider,{value:Fv(),children:$.jsxs(dt,{container:!0,spacing:3,columns:12,children:[$.jsx(dt,{item:!0,xs:12,children:$.jsx(Wr,{type:"trend",caption:"Trends"})},"trends"),$.jsx(dt,{item:!0,xs:7,children:$.jsx(Wr,{type:"counter",caption:"Counters"})},"counters"),$.jsx(dt,{item:!0,xs:5,children:$.jsxs(dt,{container:!0,spacing:3,columns:1,children:[$.jsx(dt,{item:!0,xs:1,children:$.jsx(Wr,{type:"rate",caption:"Rates"})},"rates"),$.jsx(dt,{item:!0,xs:1,children:$.jsx(Wr,{type:"gauge",caption:"Gauges"})},"gauges")]})})]})},"summary")})})}var Nd={},aR={get exports(){return Nd},set exports(e){Nd=e}};/*! @preserve + * numeral.js + * version : 2.0.6 + * author : Adam Draper + * license : MIT + * http://adamwdraper.github.com/Numeral-js/ + */(function(e){(function(t,n){e.exports?e.exports=n():t.numeral=n()})(yo,function(){var t,n,r="2.0.6",o={},l={},i={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},s={currentLocale:i.currentLocale,zeroFormat:i.zeroFormat,nullFormat:i.nullFormat,defaultFormat:i.defaultFormat,scalePercentBy100:i.scalePercentBy100};function u(a,f){this._input=a,this._value=f}return t=function(a){var f,p,c,h;if(t.isNumeral(a))f=a.value();else if(a===0||typeof a>"u")f=0;else if(a===null||n.isNaN(a))f=null;else if(typeof a=="string")if(s.zeroFormat&&a===s.zeroFormat)f=0;else if(s.nullFormat&&a===s.nullFormat||!a.replace(/[^0-9]+/g,"").length)f=null;else{for(p in o)if(h=typeof o[p].regexps.unformat=="function"?o[p].regexps.unformat():o[p].regexps.unformat,h&&a.match(h)){c=o[p].unformat;break}c=c||t._.stringToNumber,f=c(a)}else f=Number(a)||null;return new u(a,f)},t.version=r,t.isNumeral=function(a){return a instanceof u},t._=n={numberToFormat:function(a,f,p){var c=l[t.options.currentLocale],h=!1,g=!1,m=0,b="",w=1e12,y=1e9,x=1e6,_=1e3,C="",M=!1,E,R,A,P,L,H,U;if(a=a||0,R=Math.abs(a),t._.includes(f,"(")?(h=!0,f=f.replace(/[\(|\)]/g,"")):(t._.includes(f,"+")||t._.includes(f,"-"))&&(L=t._.includes(f,"+")?f.indexOf("+"):a<0?f.indexOf("-"):-1,f=f.replace(/[\+|\-]/g,"")),t._.includes(f,"a")&&(E=f.match(/a(k|m|b|t)?/),E=E?E[1]:!1,t._.includes(f," a")&&(b=" "),f=f.replace(new RegExp(b+"a[kmbt]?"),""),R>=w&&!E||E==="t"?(b+=c.abbreviations.trillion,a=a/w):R=y&&!E||E==="b"?(b+=c.abbreviations.billion,a=a/y):R=x&&!E||E==="m"?(b+=c.abbreviations.million,a=a/x):(R=_&&!E||E==="k")&&(b+=c.abbreviations.thousand,a=a/_)),t._.includes(f,"[.]")&&(g=!0,f=f.replace("[.]",".")),A=a.toString().split(".")[0],P=f.split(".")[1],H=f.indexOf(","),m=(f.split(".")[0].split(",")[0].match(/0/g)||[]).length,P?(t._.includes(P,"[")?(P=P.replace("]",""),P=P.split("["),C=t._.toFixed(a,P[0].length+P[1].length,p,P[1].length)):C=t._.toFixed(a,P.length,p),A=C.split(".")[0],t._.includes(C,".")?C=c.delimiters.decimal+C.split(".")[1]:C="",g&&Number(C.slice(1))===0&&(C="")):A=t._.toFixed(a,0,p),b&&!E&&Number(A)>=1e3&&b!==c.abbreviations.trillion)switch(A=String(Number(A)/1e3),b){case c.abbreviations.thousand:b=c.abbreviations.million;break;case c.abbreviations.million:b=c.abbreviations.billion;break;case c.abbreviations.billion:b=c.abbreviations.trillion;break}if(t._.includes(A,"-")&&(A=A.slice(1),M=!0),A.length0;X--)A="0"+A;return H>-1&&(A=A.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+c.delimiters.thousands)),f.indexOf(".")===0&&(A=""),U=A+C+(b||""),h?U=(h&&M?"(":"")+U+(h&&M?")":""):L>=0?U=L===0?(M?"-":"+")+U:U+(M?"-":"+"):M&&(U="-"+U),U},stringToNumber:function(a){var f=l[s.currentLocale],p=a,c={thousand:3,million:6,billion:9,trillion:12},h,g,m;if(s.zeroFormat&&a===s.zeroFormat)g=0;else if(s.nullFormat&&a===s.nullFormat||!a.replace(/[^0-9]+/g,"").length)g=null;else{g=1,f.delimiters.decimal!=="."&&(a=a.replace(/\./g,"").replace(f.delimiters.decimal,"."));for(h in c)if(m=new RegExp("[^a-zA-Z]"+f.abbreviations[h]+"(?:\\)|(\\"+f.currency.symbol+")?(?:\\))?)?$"),p.match(m)){g*=Math.pow(10,c[h]);break}g*=(a.split("-").length+Math.min(a.split("(").length-1,a.split(")").length-1))%2?1:-1,a=a.replace(/[^0-9\.]+/g,""),g*=Number(a)}return g},isNaN:function(a){return typeof a=="number"&&isNaN(a)},includes:function(a,f){return a.indexOf(f)!==-1},insert:function(a,f,p){return a.slice(0,p)+f+a.slice(p)},reduce:function(a,f){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof f!="function")throw new TypeError(f+" is not a function");var p=Object(a),c=p.length>>>0,h=0,g;if(arguments.length===3)g=arguments[2];else{for(;h=c)throw new TypeError("Reduce of empty array with no initial value");g=p[h++]}for(;hc?f:c},1)},toFixed:function(a,f,p,c){var h=a.toString().split("."),g=f-(c||0),m,b,w,y;return h.length===2?m=Math.min(Math.max(h[1].length,g),f):m=g,w=Math.pow(10,m),y=(p(a+"e+"+m)/w).toFixed(m),c>f-m&&(b=new RegExp("\\.?0{1,"+(c-(f-m))+"}$"),y=y.replace(b,"")),y}},t.options=s,t.formats=o,t.locales=l,t.locale=function(a){return a&&(s.currentLocale=a.toLowerCase()),s.currentLocale},t.localeData=function(a){if(!a)return l[s.currentLocale];if(a=a.toLowerCase(),!l[a])throw new Error("Unknown locale : "+a);return l[a]},t.reset=function(){for(var a in i)s[a]=i[a]},t.zeroFormat=function(a){s.zeroFormat=typeof a=="string"?a:null},t.nullFormat=function(a){s.nullFormat=typeof a=="string"?a:null},t.defaultFormat=function(a){s.defaultFormat=typeof a=="string"?a:"0.0"},t.register=function(a,f,p){if(f=f.toLowerCase(),this[a+"s"][f])throw new TypeError(f+" "+a+" already registered.");return this[a+"s"][f]=p,p},t.validate=function(a,f){var p,c,h,g,m,b,w,y;if(typeof a!="string"&&(a+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",a)),a=a.trim(),a.match(/^\d+$/))return!0;if(a==="")return!1;try{w=t.localeData(f)}catch{w=t.localeData(t.locale())}return h=w.currency.symbol,m=w.abbreviations,p=w.delimiters.decimal,w.delimiters.thousands==="."?c="\\.":c=w.delimiters.thousands,y=a.match(/^[^\d]+/),y!==null&&(a=a.substr(1),y[0]!==h)||(y=a.match(/[^\d]+$/),y!==null&&(a=a.slice(0,-1),y[0]!==m.thousand&&y[0]!==m.million&&y[0]!==m.billion&&y[0]!==m.trillion))?!1:(b=new RegExp(c+"{2}"),a.match(/[^\d.,]/g)?!1:(g=a.split(p),g.length>2?!1:g.length<2?!!g[0].match(/^\d+.*\d$/)&&!g[0].match(b):g[0].length===1?!!g[0].match(/^\d+$/)&&!g[0].match(b)&&!!g[1].match(/^\d+$/):!!g[0].match(/^\d+.*\d$/)&&!g[0].match(b)&&!!g[1].match(/^\d+$/)))},t.fn=u.prototype={clone:function(){return t(this)},format:function(a,f){var p=this._value,c=a||s.defaultFormat,h,g,m;if(f=f||Math.round,p===0&&s.zeroFormat!==null)g=s.zeroFormat;else if(p===null&&s.nullFormat!==null)g=s.nullFormat;else{for(h in o)if(c.match(o[h].regexps.format)){m=o[h].format;break}m=m||t._.numberToFormat,g=m(p,c,f)}return g},value:function(){return this._value},input:function(){return this._input},set:function(a){return this._value=Number(a),this},add:function(a){var f=n.correctionFactor.call(null,this._value,a);function p(c,h,g,m){return c+Math.round(f*h)}return this._value=n.reduce([this._value,a],p,0)/f,this},subtract:function(a){var f=n.correctionFactor.call(null,this._value,a);function p(c,h,g,m){return c-Math.round(f*h)}return this._value=n.reduce([a],p,Math.round(this._value*f))/f,this},multiply:function(a){function f(p,c,h,g){var m=n.correctionFactor(p,c);return Math.round(p*m)*Math.round(c*m)/Math.round(m*m)}return this._value=n.reduce([this._value,a],f,1),this},divide:function(a){function f(p,c,h,g){var m=n.correctionFactor(p,c);return Math.round(p*m)/Math.round(c*m)}return this._value=n.reduce([this._value,a],f),this},difference:function(a){return Math.abs(t(this._value).subtract(a).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var f=a%10;return~~(a%100/10)===1?"th":f===1?"st":f===2?"nd":f===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(a,f,p){var c=t._.includes(f," BPS")?" ":"",h;return a=a*1e4,f=f.replace(/\s?BPS/,""),h=t._.numberToFormat(a,f,p),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,c+"BPS"),h=h.join("")):h=h+c+"BPS",h},unformat:function(a){return+(t._.stringToNumber(a)*1e-4).toFixed(15)}})}(),function(){var a={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},f={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},p=a.suffixes.concat(f.suffixes.filter(function(h){return a.suffixes.indexOf(h)<0})),c=p.join("|");c="("+c.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(c)},format:function(h,g,m){var b,w=t._.includes(g,"ib")?f:a,y=t._.includes(g," b")||t._.includes(g," ib")?" ":"",x,_,C;for(g=g.replace(/\s?i?b/,""),x=0;x<=w.suffixes.length;x++)if(_=Math.pow(w.base,x),C=Math.pow(w.base,x+1),h===null||h===0||h>=_&&h0&&(h=h/_);break}return b=t._.numberToFormat(h,g,m),b+y},unformat:function(h){var g=t._.stringToNumber(h),m,b;if(g){for(m=a.suffixes.length-1;m>=0;m--){if(t._.includes(h,a.suffixes[m])){b=Math.pow(a.base,m);break}if(t._.includes(h,f.suffixes[m])){b=Math.pow(f.base,m);break}}g*=b||1}return g}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(a,f,p){var c=t.locales[t.options.currentLocale],h={before:f.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:f.match(/([\+|\-|\)|\s|\$]*)$/)[0]},g,m,b;for(f=f.replace(/\s?\$\s?/,""),g=t._.numberToFormat(a,f,p),a>=0?(h.before=h.before.replace(/[\-\(]/,""),h.after=h.after.replace(/[\-\)]/,"")):a<0&&!t._.includes(h.before,"-")&&!t._.includes(h.before,"(")&&(h.before="-"+h.before),b=0;b=0;b--)switch(m=h.after[b],m){case"$":g=b===h.after.length-1?g+c.currency.symbol:t._.insert(g,c.currency.symbol,-(h.after.length-(1+b)));break;case" ":g=b===h.after.length-1?g+" ":t._.insert(g," ",-(h.after.length-(1+b)+c.currency.symbol.length-1));break}return g}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(a,f,p){var c,h=typeof a=="number"&&!t._.isNaN(a)?a.toExponential():"0e+0",g=h.split("e");return f=f.replace(/e[\+|\-]{1}0/,""),c=t._.numberToFormat(Number(g[0]),f,p),c+"e"+g[1]},unformat:function(a){var f=t._.includes(a,"e+")?a.split("e+"):a.split("e-"),p=Number(f[0]),c=Number(f[1]);c=t._.includes(a,"e-")?c*=-1:c;function h(g,m,b,w){var y=t._.correctionFactor(g,m),x=g*y*(m*y)/(y*y);return x}return t._.reduce([p,Math.pow(10,c)],h,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(a,f,p){var c=t.locales[t.options.currentLocale],h,g=t._.includes(f," o")?" ":"";return f=f.replace(/\s?o/,""),g+=c.ordinal(a),h=t._.numberToFormat(a,f,p),h+g}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(a,f,p){var c=t._.includes(f," %")?" ":"",h;return t.options.scalePercentBy100&&(a=a*100),f=f.replace(/\s?\%/,""),h=t._.numberToFormat(a,f,p),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,c+"%"),h=h.join("")):h=h+c+"%",h},unformat:function(a){var f=t._.stringToNumber(a);return t.options.scalePercentBy100?f*.01:f}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(a,f,p){var c=Math.floor(a/60/60),h=Math.floor((a-c*60*60)/60),g=Math.round(a-c*60*60-h*60);return c+":"+(h<10?"0"+h:h)+":"+(g<10?"0"+g:g)},unformat:function(a){var f=a.split(":"),p=0;return f.length===3?(p=p+Number(f[0])*60*60,p=p+Number(f[1])*60,p=p+Number(f[2])):f.length===2&&(p=p+Number(f[0])*60,p=p+Number(f[1])),Number(p)}})}(),t})})(aR);const $g=Nd;function uR(e){return Nv(e)}function Og(e){return zv(e)}function cR(e,t){switch(e){case"duration":return uR(t);case"bytes":return Og(t);case"bps":return Og(t)+"/s";case"counter":return $g(t).format("0.[0]a");case"rps":return $g(t).format("0.[00]a")+"/s";default:return isNaN(t)||t==null?"0":t.toFixed(2)}}function fR(e){const t=qu(),n=O.useContext(Ss),r={};r[e.metric]={label:""};const o=new cs(n,r),l=O.useRef(null),{width:i,height:s}=kw(l),u=n.values[e.metric];var a=Array.isArray(u)&&u.length!=0?Number(u.slice(-1)):0;a=cR(e.format,a);let f={width:i,height:32,title:a,series:o.series,axes:[{show:!1},{show:!1}],legend:{show:!1},cursor:{show:!1}};const p=e.failure?t.palette.error.main:t.palette.primary.main;return f.series[1].points={show:!1},f.series[1].stroke=p,f.series[1].fill=p+"40",$.jsx(Pv,{className:"summary-panel",sx:{color:p},children:$.jsxs(_E,{children:[$.jsx(eo,{sx:{fontSize:"0.8rem"},color:"text.secondary",gutterBottom:!0,align:"center",children:e.title}),$.jsx("div",{ref:l,children:$.jsx(Rd,{options:f,data:o.data})})]})})}function dR(e){const t=[];if(!Lo(e))return t;for(const n of e)t.push($.jsx(dt,{item:!0,xs:1,children:fR(n)},n.title));return t}function pR(e){const t=[];if(!Lo(e))return t;for(const n of e)t.push($.jsx(dt,{item:!0,lg:6,xs:12,children:_w(n)},n.title));return t}function hR(e){return $.jsxs($.Fragment,{children:[$.jsx(xs,{children:$.jsx(dt,{container:!0,spacing:1,marginBottom:1,columns:6,children:dR(e.panels)})}),$.jsx(dt,{container:!0,spacing:1,children:pR(e.charts)})]})}function xa(e){const{children:t,value:n,index:r,...o}=e;return $.jsx(eo,{component:"div",role:"tabpanel",hidden:n!==r,id:`scrollable-auto-tabpanel-${r}`,"aria-labelledby":`scrollable-auto-tab-${r}`,...o,children:$.jsx(xs,{p:3,children:t})})}xa.propTypes={children:Fi.PropTypes.node,index:Fi.PropTypes.any.isRequired,value:Fi.PropTypes.any.isRequired};function gf(e){return{id:`scrollable-auto-tab-${e}`,"aria-controls":`scrollable-auto-tabpanel-${e}`}}function mR(e,t){const n=[];if(!Lo(e))return n;let r={snapshot:Ya("snapshot"),cumulative:Ya("cumulative")};for(let l=0;l \ No newline at end of file diff --git a/ui/assets/ui/dist/boot.js b/ui/assets/ui/dist/boot.js index 42d1a20..3dd7dbf 100644 --- a/ui/assets/ui/dist/boot.js +++ b/ui/assets/ui/dist/boot.js @@ -84,21 +84,27 @@ const overviewCharts = [ } ] -function suffix(event) { +function suffix (event) { return event == 'snapshot' ? '' : ' (cum)' } -function tabOverview(event) { +function reportable (event) { + return event == 'snapshot' +} + +function tabOverview (event) { return { id: `overview_${event}`, title: `Overview${suffix(event)}`, event: event, panels: overviewPanels, - charts: overviewCharts + charts: overviewCharts, + description: + 'This section provides an overview of the most important metrics of the test run. Graphs plot the value of metrics over time.' } } -function chartTimings(metric, title) { +function chartTimings (metric, title) { return { id: metric, title: title, @@ -108,11 +114,11 @@ function chartTimings(metric, title) { [`${metric}_trend_p(95)`]: { label: 'p(95)' } }, axes: [{}, {}, { side: 1 }], - height: 224, + height: 224 } } -function tabTimings(event) { +function tabTimings (event) { return { id: `timings_${event}`, title: `Timings${suffix(event)}`, @@ -123,14 +129,22 @@ function tabTimings(event) { chartTimings('http_req_tls_handshaking', 'TLS handshaking (ms)'), chartTimings('http_req_sending', 'Request Sending (ms)'), chartTimings('http_req_connecting', 'Request Connecting (ms)'), - chartTimings('http_req_receiving', 'Request Receiving (ms)'), + chartTimings('http_req_receiving', 'Request Receiving (ms)') ], + report: reportable(event), + description: + 'This section provides an overview of test run HTTP timing metrics. Graphs plot the value of metrics over time.' } } const defaultConfig = { title: 'k6 dashboard', - tabs: [tabOverview('snapshot'), tabOverview('cumulative'), tabTimings('snapshot'), tabTimings('cumulative')], + tabs: [ + tabOverview('snapshot'), + tabOverview('cumulative'), + tabTimings('snapshot'), + tabTimings('cumulative'), + ], tab (id) { let tab = null @@ -170,4 +184,3 @@ const defaultConfig = { } window.defaultConfig = defaultConfig - diff --git a/ui/assets/ui/dist/index.html b/ui/assets/ui/dist/index.html index e1f220d..a5ef5a7 100644 --- a/ui/assets/ui/dist/index.html +++ b/ui/assets/ui/dist/index.html @@ -14,8 +14,8 @@ k6 dashboard - - + +
diff --git a/ui/assets/ui/package.json b/ui/assets/ui/package.json index 0cf945b..7b64ae2 100644 --- a/ui/assets/ui/package.json +++ b/ui/assets/ui/package.json @@ -10,9 +10,11 @@ }, "dependencies": { "@cutting/use-get-parent-size": "^1.26.2", - "@emotion/react": "^11.10.6", - "@emotion/styled": "^11.10.6", - "@mui/material": "^5.11.13", + "@emotion/react": "^11.11.0", + "@emotion/styled": "^11.11.0", + "@mui/material": "^5.13.0", + "byte-size": "^8.1.1", + "humanize-duration": "^3.28.0", "numeral": "^2.0.6", "pretty-bytes": "^6.1.0", "pretty-ms": "^8.0.0", @@ -21,7 +23,8 @@ "react-hooks-sse": "^2.1.0", "round-to": "^6.0.0", "uplot": "^1.6.24", - "uplot-react": "^1.1.4" + "uplot-react": "^1.1.4", + "vite-plugin-svgr": "^3.2.0" }, "devDependencies": { "@types/react": "^18.0.27", diff --git a/ui/assets/ui/public/boot.js b/ui/assets/ui/public/boot.js index 42d1a20..3dd7dbf 100644 --- a/ui/assets/ui/public/boot.js +++ b/ui/assets/ui/public/boot.js @@ -84,21 +84,27 @@ const overviewCharts = [ } ] -function suffix(event) { +function suffix (event) { return event == 'snapshot' ? '' : ' (cum)' } -function tabOverview(event) { +function reportable (event) { + return event == 'snapshot' +} + +function tabOverview (event) { return { id: `overview_${event}`, title: `Overview${suffix(event)}`, event: event, panels: overviewPanels, - charts: overviewCharts + charts: overviewCharts, + description: + 'This section provides an overview of the most important metrics of the test run. Graphs plot the value of metrics over time.' } } -function chartTimings(metric, title) { +function chartTimings (metric, title) { return { id: metric, title: title, @@ -108,11 +114,11 @@ function chartTimings(metric, title) { [`${metric}_trend_p(95)`]: { label: 'p(95)' } }, axes: [{}, {}, { side: 1 }], - height: 224, + height: 224 } } -function tabTimings(event) { +function tabTimings (event) { return { id: `timings_${event}`, title: `Timings${suffix(event)}`, @@ -123,14 +129,22 @@ function tabTimings(event) { chartTimings('http_req_tls_handshaking', 'TLS handshaking (ms)'), chartTimings('http_req_sending', 'Request Sending (ms)'), chartTimings('http_req_connecting', 'Request Connecting (ms)'), - chartTimings('http_req_receiving', 'Request Receiving (ms)'), + chartTimings('http_req_receiving', 'Request Receiving (ms)') ], + report: reportable(event), + description: + 'This section provides an overview of test run HTTP timing metrics. Graphs plot the value of metrics over time.' } } const defaultConfig = { title: 'k6 dashboard', - tabs: [tabOverview('snapshot'), tabOverview('cumulative'), tabTimings('snapshot'), tabTimings('cumulative')], + tabs: [ + tabOverview('snapshot'), + tabOverview('cumulative'), + tabTimings('snapshot'), + tabTimings('cumulative'), + ], tab (id) { let tab = null @@ -170,4 +184,3 @@ const defaultConfig = { } window.defaultConfig = defaultConfig - diff --git a/ui/assets/ui/src/Chart.jsx b/ui/assets/ui/src/Chart.jsx index 23e3d2f..e95c3fa 100644 --- a/ui/assets/ui/src/Chart.jsx +++ b/ui/assets/ui/src/Chart.jsx @@ -24,7 +24,7 @@ function Chart(props) { } let options = { - width: width, + width: props.width || width, height: props.height || 250, title: props.title, cursor: { @@ -37,6 +37,12 @@ function Chart(props) { options.axes = props.axes } + if (props.plain) { + options.cursor.show = false + + return + } + return ( diff --git a/ui/assets/ui/src/Dashboard.css b/ui/assets/ui/src/Dashboard.css new file mode 100644 index 0000000..0c6133d --- /dev/null +++ b/ui/assets/ui/src/Dashboard.css @@ -0,0 +1,11 @@ +/* + * SPDX-FileCopyrightText: 2023 Iván Szkiba + * + * SPDX-License-Identifier: MIT + */ + +@media print { + .Dashboard> :first-child { + display: none !important; + } +} \ No newline at end of file diff --git a/ui/assets/ui/src/App.jsx b/ui/assets/ui/src/Dashboard.jsx similarity index 66% rename from ui/assets/ui/src/App.jsx rename to ui/assets/ui/src/Dashboard.jsx index 2bd1938..3ef5ddf 100644 --- a/ui/assets/ui/src/App.jsx +++ b/ui/assets/ui/src/Dashboard.jsx @@ -3,21 +3,18 @@ // SPDX-License-Identifier: MIT import React from 'react'; -import './App.css' +import './Dashboard.css' import { MetricsContext, useEvent } from './metrics'; -import { Grid, AppBar, Typography, Tabs, Tab, Box } from '@mui/material' +import { Grid, Typography, Tabs, Tab, Box } from '@mui/material' import { PropTypes } from 'prop-types'; +import Header from './Header' +import Report from './Report' +import Summary from './Summary' + import { Panel } from './Panel'; import { Chart } from './Chart'; - -function iterable(input) { - if (input === null || input === undefined) { - return false - } - - return typeof input[Symbol.iterator] === 'function' -} +import { iterable } from './util'; function panels(conf) { const all = [] @@ -104,9 +101,11 @@ function tabContents(conf, value) { return all } + let ctx = { snapshot: useEvent('snapshot'), cumulative: useEvent('cumulative') } + for (let i = 0; i < conf.length; i++) { all.push( - + @@ -114,6 +113,22 @@ function tabContents(conf, value) { ) } + let idx = conf.length + + all.push( + + + + ) + + idx++ + + all.push( + + + + ) + return all } @@ -130,10 +145,22 @@ function tabs(conf) { ) } + let idx = conf.length + + all.push( + + ) + + idx++ + + all.push( + + ) + return all } -function App(props) { +function Dashboard(props) { const [value, setValue] = React.useState(0); function handleChange(event, newValue) { @@ -141,18 +168,18 @@ function App(props) { } return ( -
- - {props.title} - - - - {tabs(props.tabs)} - - - {tabContents(props.tabs, value)} -
+ <> +
+
+ + + {tabs(props.tabs)} + + + {tabContents(props.tabs, value)} +
+ ) } -export default App +export default Dashboard diff --git a/ui/assets/ui/src/Digest.css b/ui/assets/ui/src/Digest.css new file mode 100644 index 0000000..462ff4d --- /dev/null +++ b/ui/assets/ui/src/Digest.css @@ -0,0 +1,35 @@ +/* + * SPDX-FileCopyrightText: 2023 Iván Szkiba + * + * SPDX-License-Identifier: MIT + */ + +thead tr th { + font-weight: 700 !important; +} + +tbody tr :first-child { + font-weight: 500 !important; +} + +.MuiTable-root th, +.MuiTable-root td { + padding: 8px; +} + +table.MuiTable-root caption { + display: table-caption; + text-align: center; + caption-side: top; + font-weight: 700; + background-color: #7b65fa20; + border-bottom: 1px solid #7b65fa; + padding: 8px; +} + +@media print { + table.MuiTable-root caption { + background-color: unset; + border-bottom: 1px solid lightgrey !important; + } +} \ No newline at end of file diff --git a/ui/assets/ui/src/Digest.jsx b/ui/assets/ui/src/Digest.jsx new file mode 100644 index 0000000..6de0437 --- /dev/null +++ b/ui/assets/ui/src/Digest.jsx @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + +import { useContext } from 'react' +import './Digest.css' + +import { Table, TableContainer, TableCell, TableHead, TableRow, TableBody, Paper } from '@mui/material' +import { SummaryContext } from './summary'; +import { iterable } from './util'; + +const propertyNames = { + 'trend': ["avg", "min", "med", "max", "p(90)", "p(95)", "p(99)"], + 'counter': ["rate", "count"], + 'rate': ["rate"], + 'gauge': ["value"] +} + +export function Digest(props) { + const { type, series } = props + + const summary = useContext(SummaryContext) + + const filter = (key) => (!iterable(series) || series.includes(key)) && (summary.values[key].type == type) + + const component = props.plain ? "div" : Paper + + return ( + + + + + + + metric + { + propertyNames[type].map((name) => ({name})) + } + + + + { + Object.keys(summary.values).filter(filter).map(key => ( + + {key} + { + propertyNames[type].map((name) => ( + + { + summary.values[key].format(name) + } + + )) + } + + )) + } + +
{props.caption}
+
+ ) +} diff --git a/ui/assets/ui/src/Header.css b/ui/assets/ui/src/Header.css new file mode 100644 index 0000000..14be018 --- /dev/null +++ b/ui/assets/ui/src/Header.css @@ -0,0 +1,15 @@ +/* + * SPDX-FileCopyrightText: 2023 Iván Szkiba + * + * SPDX-License-Identifier: MIT + */ + +.MuiToolbar-root { + min-height: unset !important; +} + +@media print { + .Header { + display: none !important; + } +} \ No newline at end of file diff --git a/ui/assets/ui/src/Header.jsx b/ui/assets/ui/src/Header.jsx new file mode 100644 index 0000000..327ac1c --- /dev/null +++ b/ui/assets/ui/src/Header.jsx @@ -0,0 +1,20 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + +import React from 'react'; + +import './Header.css' +import { AppBar, Typography, Toolbar, Button } from '@mui/material' + +export default function Header(props) { + return ( +
+ + + {props.title} + + +
+ ) +} diff --git a/ui/assets/ui/src/Report.css b/ui/assets/ui/src/Report.css new file mode 100644 index 0000000..66fe198 --- /dev/null +++ b/ui/assets/ui/src/Report.css @@ -0,0 +1,60 @@ +/* + * SPDX-FileCopyrightText: 2023 Iván Szkiba + * + * SPDX-License-Identifier: MIT + */ + +@media print { + .MuiFab-root { + display: none !important; + } + + .Report h2 { + page-break-before: always; + } + + .Report .PageHeader+h2 { + page-break-before: avoid !important; + } + + .PageHeader { + position: fixed; + top: 0; + right: 0; + font-size: medium !important; + color: gray; + } + + .FabBox { + display: none !important; + } +} + +.FabBox { + float: right; +} + +.Report { + min-width: 1024px; + max-width: 1280px; + align-items: center; + margin-left: auto; + margin-right: auto; +} + + +@media screen { + .Report { + max-width: 1152px; + box-shadow: 2px 2px 2px gray; + border: 1px solid lightgray; + } + + .PageHeader { + display: none; + } +} + +.Dashboard> :last-child .Report { + background-color: #ffffff !important; +} \ No newline at end of file diff --git a/ui/assets/ui/src/Report.jsx b/ui/assets/ui/src/Report.jsx new file mode 100644 index 0000000..cdb8fe0 --- /dev/null +++ b/ui/assets/ui/src/Report.jsx @@ -0,0 +1,112 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + +import React from 'react'; + +import './Report.css' + +import { MetricsContext, useEvent } from './metrics'; +import { SummaryContext, useSummary } from './summary'; +import { Grid, Fab, Typography, Box } from '@mui/material' +import { ReactComponent as PrintIcon } from './icons/print.svg' + +import { Digest } from './Digest'; + +import { Chart } from './Chart'; +import { iterable } from './util'; + +function reportSections(conf) { + const all = [] + + if (!iterable(conf)) { + return all + } + + let ctx = { snapshot: useEvent('snapshot'), cumulative: useEvent('cumulative') } + + for (let i = 0; i < conf.length; i++) { + if (conf[i].event != 'snapshot') { + continue + } + + all.push( + + + + ) + } + + return all +} + +function charts(conf) { + const all = [] + + if (!iterable(conf)) { + return all + } + + for (const chart of conf) { + let c = { ...chart, width: 480, height: 240, plain: true } + all.push( + {Chart(c)} + ) + } + + return all +} + +function ReportSection(props) { + return ( + <> + {props.title} + {props.description} + + {charts(props.charts)} + + + ) +} + +function SummarySection(props) { + return ( + <> + {props.title} + {props.description} + + + + + + + + + + + + + + + + ) +} + + +function Report(props) { + return ( + <> + :not(style)': { m: 1 } }}> + + +
+ k6 report + + {reportSections(props.tabs)} + +
+ + ) +} + +export default Report diff --git a/ui/assets/ui/src/App.css b/ui/assets/ui/src/Summary.css similarity index 100% rename from ui/assets/ui/src/App.css rename to ui/assets/ui/src/Summary.css diff --git a/ui/assets/ui/src/Summary.jsx b/ui/assets/ui/src/Summary.jsx new file mode 100644 index 0000000..8791a82 --- /dev/null +++ b/ui/assets/ui/src/Summary.jsx @@ -0,0 +1,33 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + +import React from 'react'; + +import './Summary.css' +import { Grid } from '@mui/material' + +import { SummaryContext, useSummary } from './summary'; +import { Digest } from './Digest'; + +export default function SummaryTab(props) { + return ( + <> +
+ + + + + + + + + + + + +
+ + ) +} + diff --git a/ui/assets/ui/src/icons/download.svg b/ui/assets/ui/src/icons/download.svg new file mode 100644 index 0000000..fdd54a2 --- /dev/null +++ b/ui/assets/ui/src/icons/download.svg @@ -0,0 +1 @@ + diff --git a/ui/assets/ui/src/icons/open.svg b/ui/assets/ui/src/icons/open.svg new file mode 100644 index 0000000..6ade7e3 --- /dev/null +++ b/ui/assets/ui/src/icons/open.svg @@ -0,0 +1 @@ + diff --git a/ui/assets/ui/src/icons/print.svg b/ui/assets/ui/src/icons/print.svg new file mode 100644 index 0000000..324cce2 --- /dev/null +++ b/ui/assets/ui/src/icons/print.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/assets/ui/src/index.css b/ui/assets/ui/src/index.css index ebb5ac2..cb3fb7b 100644 --- a/ui/assets/ui/src/index.css +++ b/ui/assets/ui/src/index.css @@ -6,5 +6,15 @@ body { margin: 0; - background-color: #f7f7f7; +} + +@media screen { + body { + background-color: #f7f7f7; + } +} + +.uplot { + margin-left: auto; + margin-right: auto; } \ No newline at end of file diff --git a/ui/assets/ui/src/main.jsx b/ui/assets/ui/src/main.jsx index f62c9a6..de0250e 100644 --- a/ui/assets/ui/src/main.jsx +++ b/ui/assets/ui/src/main.jsx @@ -6,7 +6,7 @@ import React from 'react' import ReactDOM from 'react-dom/client' import { SSEProvider } from 'react-hooks-sse'; import { ThemeProvider, createTheme } from '@mui/material' -import App from './App' +import Dashboard from './Dashboard' import './index.css' const base = new URLSearchParams(window.location.search).get("endpoint") || "http://localhost:5665/"; @@ -27,7 +27,7 @@ ReactDOM.createRoot(document.getElementById('root')).render( - + , diff --git a/ui/assets/ui/src/summary.js b/ui/assets/ui/src/summary.js new file mode 100644 index 0000000..cbf7bc6 --- /dev/null +++ b/ui/assets/ui/src/summary.js @@ -0,0 +1,109 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + +import React from 'react' +import { useSSE } from 'react-hooks-sse' +import prettyMilliseconds from 'pretty-ms' +import prettyBytes from 'pretty-bytes' +import byteSize from 'byte-size' +import { roundTo } from 'round-to' + +const propTime = 'time' + +class Summary { + constructor () { + this.values = {} + this.time = 0 + this.progress = 0 + } + + update (data) { + let values = {} + let progress = 0 + let time = 0 + + for (const key in data) { + if (key == propTime) { + time = Math.floor(data[key].sample.value / 1000) + progress = data[key].sample.pct + + continue + } + + values[key] = data[key] + values[key].format = format + + for (const prop in values[key].sample) { + let value = values[key].sample[prop] + if (Number.isInteger(value)) { + continue + } + + values[key].sample[prop] = parseFloat(value.toFixed(4)) + } + } + + this.values = values + this.time = time + this.progress = progress + } + + static reducer (state, action) { + const newState = new Summary() + + newState.update(action.data) + + return newState + } +} + +const customUnits = { + simple: [ + { from: 0, to: 1e3, unit: ' ', long: ' ' }, + { from: 1e3, to: 1e6, unit: 'k', long: 'kilo' }, + { from: 1e6, to: 1e9, unit: 'M', long: 'mega' }, + { from: 1e9, to: 1e12, unit: 'G', long: 'giga' }, + { from: 1e12, to: 1e15, unit: 'T', long: 'tera' }, + { from: 1e15, to: 1e18, unit: 'P', long: 'peta' }, + { from: 1e18, to: 1e21, unit: 'E', long: 'exa' }, + { from: 1e21, to: 1e24, unit: 'Z', long: 'zetta' }, + { from: 1e24, to: 1e27, unit: 'Y', long: 'yotta' } + ] +} + +function format (prop) { + if (this.contains == 'time') { + return prettyMilliseconds(this.sample[prop], { + formatSubMilliseconds: true, + compact: true + }) + } + + if (this.contains == 'data') { + let str = prettyBytes(this.sample[prop]) + + return prop == 'rate' ? str + '/s' : str + } + + const { value, unit } = byteSize(this.sample[prop], { + customUnits, + units: 'simple' + }) + + let str = `${roundTo(parseFloat(value), 2)} ${unit}` + + return prop == 'rate' ? str + '/s' : str +} + +function useSummary () { + return useSSE('cumulative', new Summary(), { + parser: JSON.parse, + stateReducer: Summary.reducer + }) +} + +const SummaryContext = React.createContext(new Summary()) +SummaryContext.displayName = 'Summary' + +export { SummaryContext, useSummary } diff --git a/ui/assets/ui/src/util.js b/ui/assets/ui/src/util.js new file mode 100644 index 0000000..450354f --- /dev/null +++ b/ui/assets/ui/src/util.js @@ -0,0 +1,11 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + +export function iterable (input) { + if (input === null || input === undefined) { + return false + } + + return typeof input[Symbol.iterator] === 'function' +} diff --git a/ui/assets/ui/vite.config.js b/ui/assets/ui/vite.config.js index 16a3423..2be594f 100644 --- a/ui/assets/ui/vite.config.js +++ b/ui/assets/ui/vite.config.js @@ -4,9 +4,10 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react-swc' +import svgr from "vite-plugin-svgr"; export default defineConfig({ - plugins: [react()], + plugins: [svgr(),react()], build: { chunkSizeWarningLimit: 1024 }, base: '' }) diff --git a/ui/assets/ui/yarn.lock b/ui/assets/ui/yarn.lock index 206dc25..5cbc4fa 100644 --- a/ui/assets/ui/yarn.lock +++ b/ui/assets/ui/yarn.lock @@ -2,6 +2,14 @@ # yarn lockfile v1 +"@ampproject/remapping@^2.2.0": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" + integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + "@babel/code-frame@^7.0.0": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" @@ -9,6 +17,80 @@ dependencies: "@babel/highlight" "^7.18.6" +"@babel/code-frame@^7.18.6", "@babel/code-frame@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" + integrity sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/compat-data@^7.21.5": + version "7.21.7" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.7.tgz#61caffb60776e49a57ba61a88f02bedd8714f6bc" + integrity sha512-KYMqFYTaenzMK4yUtf4EW9wc4N9ef80FsbMtkwool5zpwl4YrT1SdWYSTRcT94KO4hannogdS+LxY7L+arP3gA== + +"@babel/core@^7.21.3": + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.8.tgz#2a8c7f0f53d60100ba4c32470ba0281c92aa9aa4" + integrity sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.21.4" + "@babel/generator" "^7.21.5" + "@babel/helper-compilation-targets" "^7.21.5" + "@babel/helper-module-transforms" "^7.21.5" + "@babel/helpers" "^7.21.5" + "@babel/parser" "^7.21.8" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.0" + +"@babel/generator@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.5.tgz#c0c0e5449504c7b7de8236d99338c3e2a340745f" + integrity sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w== + dependencies: + "@babel/types" "^7.21.5" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + +"@babel/helper-compilation-targets@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.5.tgz#631e6cc784c7b660417421349aac304c94115366" + integrity sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w== + dependencies: + "@babel/compat-data" "^7.21.5" + "@babel/helper-validator-option" "^7.21.0" + browserslist "^4.21.3" + lru-cache "^5.1.1" + semver "^6.3.0" + +"@babel/helper-environment-visitor@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz#c769afefd41d171836f7cb63e295bedf689d48ba" + integrity sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ== + +"@babel/helper-function-name@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz#d552829b10ea9f120969304023cd0645fa00b1b4" + integrity sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg== + dependencies: + "@babel/template" "^7.20.7" + "@babel/types" "^7.21.0" + +"@babel/helper-hoist-variables@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" + integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== + dependencies: + "@babel/types" "^7.18.6" + "@babel/helper-module-imports@^7.16.7": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" @@ -16,16 +98,70 @@ dependencies: "@babel/types" "^7.18.6" +"@babel/helper-module-imports@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz#ac88b2f76093637489e718a90cec6cf8a9b029af" + integrity sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg== + dependencies: + "@babel/types" "^7.21.4" + +"@babel/helper-module-transforms@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.5.tgz#d937c82e9af68d31ab49039136a222b17ac0b420" + integrity sha512-bI2Z9zBGY2q5yMHoBvJ2a9iX3ZOAzJPm7Q8Yz6YeoUjU/Cvhmi2G4QyTNyPBqqXSgTjUxRg3L0xV45HvkNWWBw== + dependencies: + "@babel/helper-environment-visitor" "^7.21.5" + "@babel/helper-module-imports" "^7.21.4" + "@babel/helper-simple-access" "^7.21.5" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" + +"@babel/helper-simple-access@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.21.5.tgz#d697a7971a5c39eac32c7e63c0921c06c8a249ee" + integrity sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg== + dependencies: + "@babel/types" "^7.21.5" + +"@babel/helper-split-export-declaration@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" + integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== + dependencies: + "@babel/types" "^7.18.6" + "@babel/helper-string-parser@^7.19.4": version "7.19.4" resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== +"@babel/helper-string-parser@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz#2b3eea65443c6bdc31c22d037c65f6d323b6b2bd" + integrity sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w== + "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== +"@babel/helper-validator-option@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" + integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== + +"@babel/helpers@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.5.tgz#5bac66e084d7a4d2d9696bdf0175a93f7fb63c08" + integrity sha512-BSY+JSlHxOmGsPTydUkPf1MdMQ3M81x5xGCOVgWM3G8XH77sJ292Y2oqcp0CbbgxhqBuI46iUz1tT7hqP7EfgA== + dependencies: + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" + "@babel/highlight@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" @@ -35,6 +171,11 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/parser@^7.20.7", "@babel/parser@^7.21.5", "@babel/parser@^7.21.8": + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.8.tgz#642af7d0333eab9c0ad70b14ac5e76dbde7bfdf8" + integrity sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA== + "@babel/runtime@^7.1.5", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.21.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.7": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" @@ -42,6 +183,31 @@ dependencies: regenerator-runtime "^0.13.11" +"@babel/template@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" + integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + +"@babel/traverse@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.5.tgz#ad22361d352a5154b498299d523cf72998a4b133" + integrity sha512-AhQoI3YjWi6u/y/ntv7k48mcrCXmus0t79J9qPNlk/lAsFlCiJ047RmbfMOawySTHtywXhbXgpx/8nXMYd+oFw== + dependencies: + "@babel/code-frame" "^7.21.4" + "@babel/generator" "^7.21.5" + "@babel/helper-environment-visitor" "^7.21.5" + "@babel/helper-function-name" "^7.21.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.21.5" + "@babel/types" "^7.21.5" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.18.6": version "7.21.3" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.3.tgz#4865a5357ce40f64e3400b0f3b737dc6d4f64d05" @@ -51,6 +217,15 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" +"@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.3", "@babel/types@^7.21.4", "@babel/types@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.5.tgz#18dfbd47c39d3904d5db3d3dc2cc80bedb60e5b6" + integrity sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q== + dependencies: + "@babel/helper-string-parser" "^7.21.5" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + "@cutting/use-get-parent-size@^1.26.2": version "1.26.2" resolved "https://registry.yarnpkg.com/@cutting/use-get-parent-size/-/use-get-parent-size-1.26.2.tgz#bc42592e798d728db6389e8ef962b6f15ef51106" @@ -68,38 +243,38 @@ dependencies: assert-ts "^0.3.4" -"@emotion/babel-plugin@^11.10.6": - version "11.10.6" - resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.10.6.tgz#a68ee4b019d661d6f37dec4b8903255766925ead" - integrity sha512-p2dAqtVrkhSa7xz1u/m9eHYdLi+en8NowrmXeF/dKtJpU8lCWli8RUAati7NcSl0afsBott48pdnANuD0wh9QQ== +"@emotion/babel-plugin@^11.11.0": + version "11.11.0" + resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz#c2d872b6a7767a9d176d007f5b31f7d504bb5d6c" + integrity sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ== dependencies: "@babel/helper-module-imports" "^7.16.7" "@babel/runtime" "^7.18.3" - "@emotion/hash" "^0.9.0" - "@emotion/memoize" "^0.8.0" - "@emotion/serialize" "^1.1.1" + "@emotion/hash" "^0.9.1" + "@emotion/memoize" "^0.8.1" + "@emotion/serialize" "^1.1.2" babel-plugin-macros "^3.1.0" convert-source-map "^1.5.0" escape-string-regexp "^4.0.0" find-root "^1.1.0" source-map "^0.5.7" - stylis "4.1.3" + stylis "4.2.0" -"@emotion/cache@^11.10.5": - version "11.10.5" - resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" - integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== +"@emotion/cache@^11.10.8", "@emotion/cache@^11.11.0": + version "11.11.0" + resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.11.0.tgz#809b33ee6b1cb1a625fef7a45bc568ccd9b8f3ff" + integrity sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ== dependencies: - "@emotion/memoize" "^0.8.0" - "@emotion/sheet" "^1.2.1" - "@emotion/utils" "^1.2.0" - "@emotion/weak-memoize" "^0.3.0" - stylis "4.1.3" + "@emotion/memoize" "^0.8.1" + "@emotion/sheet" "^1.2.2" + "@emotion/utils" "^1.2.1" + "@emotion/weak-memoize" "^0.3.1" + stylis "4.2.0" -"@emotion/hash@^0.9.0": - version "0.9.0" - resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" - integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== +"@emotion/hash@^0.9.1": + version "0.9.1" + resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.9.1.tgz#4ffb0055f7ef676ebc3a5a91fb621393294e2f43" + integrity sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ== "@emotion/is-prop-valid@^1.2.0": version "1.2.0" @@ -108,72 +283,84 @@ dependencies: "@emotion/memoize" "^0.8.0" +"@emotion/is-prop-valid@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz#23116cf1ed18bfeac910ec6436561ecb1a3885cc" + integrity sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw== + dependencies: + "@emotion/memoize" "^0.8.1" + "@emotion/memoize@^0.8.0": version "0.8.0" resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== -"@emotion/react@^11.10.6": - version "11.10.6" - resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.10.6.tgz#dbe5e650ab0f3b1d2e592e6ab1e006e75fd9ac11" - integrity sha512-6HT8jBmcSkfzO7mc+N1L9uwvOnlcGoix8Zn7srt+9ga0MjREo6lRpuVX0kzo6Jp6oTqDhREOFsygN6Ew4fEQbw== +"@emotion/memoize@^0.8.1": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.1.tgz#c1ddb040429c6d21d38cc945fe75c818cfb68e17" + integrity sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA== + +"@emotion/react@^11.11.0": + version "11.11.0" + resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.11.0.tgz#408196b7ef8729d8ad08fc061b03b046d1460e02" + integrity sha512-ZSK3ZJsNkwfjT3JpDAWJZlrGD81Z3ytNDsxw1LKq1o+xkmO5pnWfr6gmCC8gHEFf3nSSX/09YrG67jybNPxSUw== dependencies: "@babel/runtime" "^7.18.3" - "@emotion/babel-plugin" "^11.10.6" - "@emotion/cache" "^11.10.5" - "@emotion/serialize" "^1.1.1" - "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" - "@emotion/utils" "^1.2.0" - "@emotion/weak-memoize" "^0.3.0" + "@emotion/babel-plugin" "^11.11.0" + "@emotion/cache" "^11.11.0" + "@emotion/serialize" "^1.1.2" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.1" + "@emotion/utils" "^1.2.1" + "@emotion/weak-memoize" "^0.3.1" hoist-non-react-statics "^3.3.1" -"@emotion/serialize@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" - integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== +"@emotion/serialize@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.1.2.tgz#017a6e4c9b8a803bd576ff3d52a0ea6fa5a62b51" + integrity sha512-zR6a/fkFP4EAcCMQtLOhIgpprZOwNmCldtpaISpvz348+DP4Mz8ZoKaGGCQpbzepNIUWbq4w6hNZkwDyKoS+HA== dependencies: - "@emotion/hash" "^0.9.0" - "@emotion/memoize" "^0.8.0" - "@emotion/unitless" "^0.8.0" - "@emotion/utils" "^1.2.0" + "@emotion/hash" "^0.9.1" + "@emotion/memoize" "^0.8.1" + "@emotion/unitless" "^0.8.1" + "@emotion/utils" "^1.2.1" csstype "^3.0.2" -"@emotion/sheet@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" - integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== +"@emotion/sheet@^1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.2.tgz#d58e788ee27267a14342303e1abb3d508b6d0fec" + integrity sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA== -"@emotion/styled@^11.10.6": - version "11.10.6" - resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.10.6.tgz#d886afdc51ef4d66c787ebde848f3cc8b117ebba" - integrity sha512-OXtBzOmDSJo5Q0AFemHCfl+bUueT8BIcPSxu0EGTpGk6DmI5dnhSzQANm1e1ze0YZL7TDyAyy6s/b/zmGOS3Og== +"@emotion/styled@^11.11.0": + version "11.11.0" + resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.11.0.tgz#26b75e1b5a1b7a629d7c0a8b708fbf5a9cdce346" + integrity sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng== dependencies: "@babel/runtime" "^7.18.3" - "@emotion/babel-plugin" "^11.10.6" - "@emotion/is-prop-valid" "^1.2.0" - "@emotion/serialize" "^1.1.1" - "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" - "@emotion/utils" "^1.2.0" - -"@emotion/unitless@^0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" - integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== - -"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" - integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + "@emotion/babel-plugin" "^11.11.0" + "@emotion/is-prop-valid" "^1.2.1" + "@emotion/serialize" "^1.1.2" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.1" + "@emotion/utils" "^1.2.1" + +"@emotion/unitless@^0.8.1": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.8.1.tgz#182b5a4704ef8ad91bde93f7a860a88fd92c79a3" + integrity sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz#08de79f54eb3406f9daaf77c76e35313da963963" + integrity sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw== -"@emotion/utils@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" - integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== +"@emotion/utils@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.2.1.tgz#bbab58465738d31ae4cb3dbb6fc00a5991f755e4" + integrity sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg== -"@emotion/weak-memoize@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" - integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== +"@emotion/weak-memoize@^0.3.1": + version "0.3.1" + resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz#d0fce5d07b0620caa282b5131c297bb60f9d87e6" + integrity sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww== "@esbuild/android-arm64@0.16.17": version "0.16.17" @@ -285,85 +472,122 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz#c5a1a4bfe1b57f0c3e61b29883525c6da3e5c091" integrity sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q== -"@mui/base@5.0.0-alpha.121": - version "5.0.0-alpha.121" - resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.121.tgz#24a238a32fc0386efcfefaf88d80712a0e00560c" - integrity sha512-8nJRY76UqlJV+q/Yzo0tgGfPWEOa+4N9rjO81fMmcJqP0I6m54hLDXsjvMg4tvelY5eKHXUK6Tb7en+GHfTqZA== +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" + integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + +"@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/sourcemap-codec@1.4.14": + version "1.4.14" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.18" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" + integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + +"@mui/base@5.0.0-beta.0": + version "5.0.0-beta.0" + resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.0.tgz#4145f8a700e04d68d703da70d3c26c62d278f4e5" + integrity sha512-ap+juKvt8R8n3cBqd/pGtZydQ4v2I/hgJKnvJRGjpSh3RvsvnDHO4rXov8MHQlH6VqpOekwgilFLGxMZjNTucA== dependencies: "@babel/runtime" "^7.21.0" "@emotion/is-prop-valid" "^1.2.0" - "@mui/types" "^7.2.3" - "@mui/utils" "^5.11.13" - "@popperjs/core" "^2.11.6" + "@mui/types" "^7.2.4" + "@mui/utils" "^5.12.3" + "@popperjs/core" "^2.11.7" clsx "^1.2.1" prop-types "^15.8.1" react-is "^18.2.0" -"@mui/core-downloads-tracker@^5.11.13": - version "5.11.13" - resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.11.13.tgz#0419a88ae98b3eaff2a633229d23ee04c8868be1" - integrity sha512-lx+GXBR9h/ApZsEP728tl0pyZyuajto+VnBgsoAzw1d5+CbmOo8ZWieKwVUGxZlPT1wMYNUYS5NtKzCli0xYjw== +"@mui/core-downloads-tracker@^5.13.0": + version "5.13.0" + resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.13.0.tgz#cb2c732165f60533862707d9bcedfab8e6c0ff48" + integrity sha512-5nXz2k8Rv2ZjtQY6kXirJVyn2+ODaQuAJmXSJtLDUQDKWp3PFUj6j3bILqR0JGOs9R5ejgwz3crLKsl6GwjwkQ== -"@mui/material@^5.11.13": - version "5.11.13" - resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.11.13.tgz#bbbdc74a78d4a0e6257a7bca3b8fa38ac8ad3915" - integrity sha512-2CnSj43F+159LbGmTLLQs5xbGYMiYlpTByQhP7c7cMX6opbScctBFE1PuyElpAmwW8Ag9ysfZH1d1MFAmJQkjg== +"@mui/material@^5.13.0": + version "5.13.0" + resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.13.0.tgz#23c63a9d117dca22b81bb82db6e9c4d761c8fbf1" + integrity sha512-ckS+9tCpAzpdJdaTF+btF0b6mF9wbXg/EVKtnoAWYi0UKXoXBAVvEUMNpLGA5xdpCdf+A6fPbVUEHs9TsfU+Yw== dependencies: "@babel/runtime" "^7.21.0" - "@mui/base" "5.0.0-alpha.121" - "@mui/core-downloads-tracker" "^5.11.13" - "@mui/system" "^5.11.13" - "@mui/types" "^7.2.3" - "@mui/utils" "^5.11.13" - "@types/react-transition-group" "^4.4.5" + "@mui/base" "5.0.0-beta.0" + "@mui/core-downloads-tracker" "^5.13.0" + "@mui/system" "^5.12.3" + "@mui/types" "^7.2.4" + "@mui/utils" "^5.12.3" + "@types/react-transition-group" "^4.4.6" clsx "^1.2.1" - csstype "^3.1.1" + csstype "^3.1.2" prop-types "^15.8.1" react-is "^18.2.0" react-transition-group "^4.4.5" -"@mui/private-theming@^5.11.13": - version "5.11.13" - resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.11.13.tgz#7841acc7e0d85e3aad223b1a0fad11be9349ef01" - integrity sha512-PJnYNKzW5LIx3R+Zsp6WZVPs6w5sEKJ7mgLNnUXuYB1zo5aX71FVLtV7geyPXRcaN2tsoRNK7h444ED0t7cIjA== +"@mui/private-theming@^5.12.3": + version "5.12.3" + resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.12.3.tgz#f5e4704e25d9d91b906561cae573cda8f3801e10" + integrity sha512-o1e7Z1Bp27n4x2iUHhegV4/Jp6H3T6iBKHJdLivS5GbwsuAE/5l4SnZ+7+K+e5u9TuhwcAKZLkjvqzkDe8zqfA== dependencies: "@babel/runtime" "^7.21.0" - "@mui/utils" "^5.11.13" + "@mui/utils" "^5.12.3" prop-types "^15.8.1" -"@mui/styled-engine@^5.11.11": - version "5.11.11" - resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.11.11.tgz#9084c331fdcff2210ec33adf37f34e94d67202e4" - integrity sha512-wV0UgW4lN5FkDBXefN8eTYeuE9sjyQdg5h94vtwZCUamGQEzmCOtir4AakgmbWMy0x8OLjdEUESn9wnf5J9MOg== +"@mui/styled-engine@^5.12.3": + version "5.12.3" + resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.12.3.tgz#3307643d52c81947a624cdd0437536cc8109c4f0" + integrity sha512-AhZtiRyT8Bjr7fufxE/mLS+QJ3LxwX1kghIcM2B2dvJzSSg9rnIuXDXM959QfUVIM3C8U4x3mgVoPFMQJvc4/g== dependencies: "@babel/runtime" "^7.21.0" - "@emotion/cache" "^11.10.5" - csstype "^3.1.1" + "@emotion/cache" "^11.10.8" + csstype "^3.1.2" prop-types "^15.8.1" -"@mui/system@^5.11.13": - version "5.11.13" - resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.11.13.tgz#67941e401d2dde8ac6c078738dbecd193ed9074f" - integrity sha512-OWP0Alp6C8ufnGm9+CZcl3d+OoRXL2PnrRT5ohaMLxvGL9OfNcL2t4JOjMmA0k1UAGd6E/Ygbu5lEPrZSDlvCg== +"@mui/system@^5.12.3": + version "5.12.3" + resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.12.3.tgz#306b3cdffa3046067640219c1e5dd7e3dae38ff9" + integrity sha512-JB/6sypHqeJCqwldWeQ1MKkijH829EcZAKKizxbU2MJdxGG5KSwZvTBa5D9qiJUA1hJFYYupjiuy9ZdJt6rV6w== dependencies: "@babel/runtime" "^7.21.0" - "@mui/private-theming" "^5.11.13" - "@mui/styled-engine" "^5.11.11" - "@mui/types" "^7.2.3" - "@mui/utils" "^5.11.13" + "@mui/private-theming" "^5.12.3" + "@mui/styled-engine" "^5.12.3" + "@mui/types" "^7.2.4" + "@mui/utils" "^5.12.3" clsx "^1.2.1" - csstype "^3.1.1" + csstype "^3.1.2" prop-types "^15.8.1" -"@mui/types@^7.2.3": - version "7.2.3" - resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.3.tgz#06faae1c0e2f3a31c86af6f28b3a4a42143670b9" - integrity sha512-tZ+CQggbe9Ol7e/Fs5RcKwg/woU+o8DCtOnccX6KmbBc7YrfqMYEYuaIcXHuhpT880QwNkZZ3wQwvtlDFA2yOw== +"@mui/types@^7.2.4": + version "7.2.4" + resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.4.tgz#b6fade19323b754c5c6de679a38f068fd50b9328" + integrity sha512-LBcwa8rN84bKF+f5sDyku42w1NTxaPgPyYKODsh01U1fVstTClbUoSA96oyRBnSNyEiAVjKm6Gwx9vjR+xyqHA== -"@mui/utils@^5.11.13": - version "5.11.13" - resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.11.13.tgz#8d7317f221e8973200764820fa7f2a622dbc7150" - integrity sha512-5ltA58MM9euOuUcnvwFJqpLdEugc9XFsRR8Gt4zZNb31XzMfSKJPR4eumulyhsOTK1rWf7K4D63NKFPfX0AxqA== +"@mui/utils@^5.12.3": + version "5.12.3" + resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.12.3.tgz#3fa3570dac7ec66bb9cc84ab7c16ab6e1b7200f2" + integrity sha512-D/Z4Ub3MRl7HiUccid7sQYclTr24TqUAQFFlxHQF8FR177BrCTQ0JJZom7EqYjZCdXhwnSkOj2ph685MSKNtIA== dependencies: "@babel/runtime" "^7.21.0" "@types/prop-types" "^15.7.5" @@ -371,10 +595,101 @@ prop-types "^15.8.1" react-is "^18.2.0" -"@popperjs/core@^2.11.6": - version "2.11.6" - resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" - integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== +"@popperjs/core@^2.11.7": + version "2.11.7" + resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.7.tgz#ccab5c8f7dc557a52ca3288c10075c9ccd37fff7" + integrity sha512-Cr4OjIkipTtcXKjAsm8agyleBuDHvxzeBoa1v543lbv1YaIwQjESsVcmjiWiPEbC1FIeHOG/Op9kdCmAmiS3Kw== + +"@rollup/pluginutils@^5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz#012b8f53c71e4f6f9cb317e311df1404f56e7a33" + integrity sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA== + dependencies: + "@types/estree" "^1.0.0" + estree-walker "^2.0.2" + picomatch "^2.3.1" + +"@svgr/babel-plugin-add-jsx-attribute@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-7.0.0.tgz#80856c1b7a3b7422d232f6e079f0beb90c4a13e9" + integrity sha512-khWbXesWIP9v8HuKCl2NU2HNAyqpSQ/vkIl36Nbn4HIwEYSRWL0H7Gs6idJdha2DkpFDWlsqMELvoCE8lfFY6Q== + +"@svgr/babel-plugin-remove-jsx-attribute@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-7.0.0.tgz#91da77a009dc38e8d30da45d9b62ef8736f2d90a" + integrity sha512-iiZaIvb3H/c7d3TH2HBeK91uI2rMhZNwnsIrvd7ZwGLkFw6mmunOCoVnjdYua662MqGFxlN9xTq4fv9hgR4VXQ== + +"@svgr/babel-plugin-remove-jsx-empty-expression@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-7.0.0.tgz#5154ff1213509e36ab315974c8c2fd48dafb827b" + integrity sha512-sQQmyo+qegBx8DfFc04PFmIO1FP1MHI1/QEpzcIcclo5OAISsOJPW76ZIs0bDyO/DBSJEa/tDa1W26pVtt0FRw== + +"@svgr/babel-plugin-replace-jsx-attribute-value@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-7.0.0.tgz#7e72f44ee57fdbcb02fb0d4a7629466c5242725e" + integrity sha512-i6MaAqIZXDOJeikJuzocByBf8zO+meLwfQ/qMHIjCcvpnfvWf82PFvredEZElErB5glQFJa2KVKk8N2xV6tRRA== + +"@svgr/babel-plugin-svg-dynamic-title@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-7.0.0.tgz#8caf0449c678ea29be756b89960b2b16c9f33f00" + integrity sha512-BoVSh6ge3SLLpKC0pmmN9DFlqgFy4NxNgdZNLPNJWBUU7TQpDWeBuyVuDW88iXydb5Cv0ReC+ffa5h3VrKfk1w== + +"@svgr/babel-plugin-svg-em-dimensions@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-7.0.0.tgz#4db6b5af6d29e93db236b1a013fa953754071d41" + integrity sha512-tNDcBa+hYn0gO+GkP/AuNKdVtMufVhU9fdzu+vUQsR18RIJ9RWe7h/pSBY338RO08wArntwbDk5WhQBmhf2PaA== + +"@svgr/babel-plugin-transform-react-native-svg@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-7.0.0.tgz#236995e58b5e36ff06365d5310509ce5391aeec9" + integrity sha512-qw54u8ljCJYL2KtBOjI5z7Nzg8LnSvQOP5hPKj77H4VQL4+HdKbAT5pnkkZLmHKYwzsIHSYKXxHouD8zZamCFQ== + +"@svgr/babel-plugin-transform-svg-component@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-7.0.0.tgz#a9b62730acf10d22a2aa57e0f701c0ecbc270430" + integrity sha512-CcFECkDj98daOg9jE3Bh3uyD9kzevCAnZ+UtzG6+BQG/jOQ2OA3jHnX6iG4G1MCJkUQFnUvEv33NvQfqrb/F3A== + +"@svgr/babel-preset@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/babel-preset/-/babel-preset-7.0.0.tgz#55aaca4cec2ff6515a571715b6b6fa98675b66d9" + integrity sha512-EX/NHeFa30j5UjldQGVQikuuQNHUdGmbh9kEpBKofGUtF0GUPJ4T4rhoYiqDAOmBOxojyot36JIFiDUHUK1ilQ== + dependencies: + "@svgr/babel-plugin-add-jsx-attribute" "^7.0.0" + "@svgr/babel-plugin-remove-jsx-attribute" "^7.0.0" + "@svgr/babel-plugin-remove-jsx-empty-expression" "^7.0.0" + "@svgr/babel-plugin-replace-jsx-attribute-value" "^7.0.0" + "@svgr/babel-plugin-svg-dynamic-title" "^7.0.0" + "@svgr/babel-plugin-svg-em-dimensions" "^7.0.0" + "@svgr/babel-plugin-transform-react-native-svg" "^7.0.0" + "@svgr/babel-plugin-transform-svg-component" "^7.0.0" + +"@svgr/core@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/core/-/core-7.0.0.tgz#def863d2670c682615583c80b408e83c095c2233" + integrity sha512-ztAoxkaKhRVloa3XydohgQQCb0/8x9T63yXovpmHzKMkHO6pkjdsIAWKOS4bE95P/2quVh1NtjSKlMRNzSBffw== + dependencies: + "@babel/core" "^7.21.3" + "@svgr/babel-preset" "^7.0.0" + camelcase "^6.2.0" + cosmiconfig "^8.1.3" + +"@svgr/hast-util-to-babel-ast@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-7.0.0.tgz#d457dfbe74ebc1e5a6daf97ded49e9576a3a00cf" + integrity sha512-42Ej9sDDEmsJKjrfQ1PHmiDiHagh/u9AHO9QWbeNx4KmD9yS5d1XHmXUNINfUcykAU+4431Cn+k6Vn5mWBYimQ== + dependencies: + "@babel/types" "^7.21.3" + entities "^4.4.0" + +"@svgr/plugin-jsx@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@svgr/plugin-jsx/-/plugin-jsx-7.0.0.tgz#b9e0c7d05bc890d70163ac0490ba8c41f1afab90" + integrity sha512-SWlTpPQmBUtLKxXWgpv8syzqIU8XgFRvyhfkam2So8b3BE0OS0HPe5UfmlJ2KIC+a7dpuuYovPR2WAQuSyMoPw== + dependencies: + "@babel/core" "^7.21.3" + "@svgr/babel-preset" "^7.0.0" + "@svgr/hast-util-to-babel-ast" "^7.0.0" + svg-parser "^2.0.4" "@swc/core-darwin-arm64@1.3.40": version "1.3.40" @@ -442,6 +757,11 @@ "@swc/core-win32-ia32-msvc" "1.3.40" "@swc/core-win32-x64-msvc" "1.3.40" +"@types/estree@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.1.tgz#aa22750962f3bf0e79d753d3cc067f010c95f194" + integrity sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA== + "@types/parse-json@^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" @@ -466,10 +786,10 @@ dependencies: "@types/react" "*" -"@types/react-transition-group@^4.4.5": - version "4.4.5" - resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.5.tgz#aae20dcf773c5aa275d5b9f7cdbca638abc5e416" - integrity sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA== +"@types/react-transition-group@^4.4.6": + version "4.4.6" + resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.6.tgz#18187bcda5281f8e10dfc48f0943e2fdf4f75e2e" + integrity sha512-VnCdSxfcm08KjsJVQcfBmhEQAPnLB8G08hAxn39azX1qYBQ/5RVQuoHuKIcfKOdncuaUvEpFKFzEvbtIMsfVew== dependencies: "@types/react" "*" @@ -501,6 +821,11 @@ ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + assert-ts@^0.3.4: version "0.3.4" resolved "https://registry.yarnpkg.com/assert-ts/-/assert-ts-0.3.4.tgz#a452d6c9fc88e543bffded343a32deb48573ddf2" @@ -515,11 +840,36 @@ babel-plugin-macros@^3.1.0: cosmiconfig "^7.0.0" resolve "^1.19.0" +browserslist@^4.21.3: + version "4.21.5" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" + integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== + dependencies: + caniuse-lite "^1.0.30001449" + electron-to-chromium "^1.4.284" + node-releases "^2.0.8" + update-browserslist-db "^1.0.10" + +byte-size@^8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-8.1.1.tgz#3424608c62d59de5bfda05d31e0313c6174842ae" + integrity sha512-tUkzZWK0M/qdoLEqikxBWe4kumyuwjl3HO6zHTr4yEI23EojPtLYXdG1+AQY7MN0cGyNDvEaJ8wiYQm6P2bPxg== + callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== +camelcase@^6.2.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== + +caniuse-lite@^1.0.30001449: + version "1.0.30001487" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001487.tgz#d882d1a34d89c11aea53b8cdc791931bdab5fe1b" + integrity sha512-83564Z3yWGqXsh2vaH/mhXfEM0wX+NlBCm1jYHOb97TrTWJEmPTccZgeLTPBUUb0PNVo+oomb7wkimZBIERClA== + chalk@^2.0.0: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -546,7 +896,7 @@ color-name@1.1.3: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== -convert-source-map@^1.5.0: +convert-source-map@^1.5.0, convert-source-map@^1.7.0: version "1.9.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== @@ -562,11 +912,33 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" -csstype@^3.0.2, csstype@^3.1.1: +cosmiconfig@^8.1.3: + version "8.1.3" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.1.3.tgz#0e614a118fcc2d9e5afc2f87d53cd09931015689" + integrity sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw== + dependencies: + import-fresh "^3.2.1" + js-yaml "^4.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" + +csstype@^3.0.2: version "3.1.1" resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== +csstype@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b" + integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ== + +debug@^4.1.0: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + dom-helpers@^5.0.1: version "5.2.1" resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-5.2.1.tgz#d9400536b2bf8225ad98fe052e029451ac40e902" @@ -575,6 +947,16 @@ dom-helpers@^5.0.1: "@babel/runtime" "^7.8.7" csstype "^3.0.2" +electron-to-chromium@^1.4.284: + version "1.4.394" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.394.tgz#989abe104a40366755648876cde2cdeda9f31133" + integrity sha512-0IbC2cfr8w5LxTz+nmn2cJTGafsK9iauV2r5A5scfzyovqLrxuLoxOHE5OBobP3oVIggJT+0JfKnw9sm87c8Hw== + +entities@^4.4.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== + error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -610,6 +992,11 @@ esbuild@^0.16.14: "@esbuild/win32-ia32" "0.16.17" "@esbuild/win32-x64" "0.16.17" +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -620,6 +1007,11 @@ escape-string-regexp@^4.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== +estree-walker@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" + integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== + find-root@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" @@ -635,6 +1027,16 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -654,6 +1056,11 @@ hoist-non-react-statics@^3.3.1: dependencies: react-is "^16.7.0" +humanize-duration@^3.28.0: + version "3.28.0" + resolved "https://registry.yarnpkg.com/humanize-duration/-/humanize-duration-3.28.0.tgz#f79770c0bec34d3bfd4899338cc40643bc04df72" + integrity sha512-jMAxraOOmHuPbffLVDKkEKi/NeG8dMqP8lGRd6Tbf7JgAeG33jjgPWDbXXU7ypCI0o+oNKJFgbSB9FKVdWNI2A== + import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -679,11 +1086,28 @@ is-core-module@^2.9.0: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + json-parse-even-better-errors@^2.3.0: version "2.3.1" resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" @@ -696,11 +1120,28 @@ loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + nanoid@^3.3.4: version "3.3.4" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== +node-releases@^2.0.8: + version "2.0.10" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" + integrity sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w== + numeral@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/numeral/-/numeral-2.0.6.tgz#4ad080936d443c2561aed9f2197efffe25f4e506" @@ -748,6 +1189,11 @@ picocolors@^1.0.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== +picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + postcss@^8.4.21: version "8.4.21" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.21.tgz#c639b719a57efc3187b13a1d765675485f4134f4" @@ -863,6 +1309,11 @@ scheduler@^0.23.0: dependencies: loose-envify "^1.1.0" +semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + source-map-js@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" @@ -873,10 +1324,10 @@ source-map@^0.5.7: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== -stylis@4.1.3: - version "4.1.3" - resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" - integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== +stylis@4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.2.0.tgz#79daee0208964c8fe695a42fcffcac633a211a51" + integrity sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw== supports-color@^5.3.0: version "5.5.0" @@ -890,11 +1341,24 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== +svg-parser@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.4.tgz#fdc2e29e13951736140b76cb122c8ee6630eb6b5" + integrity sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ== + to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== +update-browserslist-db@^1.0.10: + version "1.0.11" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" + integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + uplot-react@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/uplot-react/-/uplot-react-1.1.4.tgz#02b9918a199da9983fc0d375fb44e443749e2ac0" @@ -910,6 +1374,15 @@ use-debounce@^9.0.3: resolved "https://registry.yarnpkg.com/use-debounce/-/use-debounce-9.0.3.tgz#bac660c19ab7b38662e08608fee23c7ad303f532" integrity sha512-FhtlbDtDXILJV7Lix5OZj5yX/fW1tzq+VrvK1fnT2bUrPOGruU9Rw8NCEn+UI9wopfERBEZAOQ8lfeCJPllgnw== +vite-plugin-svgr@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/vite-plugin-svgr/-/vite-plugin-svgr-3.2.0.tgz#920375aaf6635091c9ac8e467825f92d32544476" + integrity sha512-Uvq6niTvhqJU6ga78qLKBFJSDvxWhOnyfQSoKpDPMAGxJPo5S3+9hyjExE5YDj6Lpa4uaLkGc1cBgxXov+LjSw== + dependencies: + "@rollup/pluginutils" "^5.0.2" + "@svgr/core" "^7.0.0" + "@svgr/plugin-jsx" "^7.0.0" + vite@^4.1.0: version "4.1.4" resolved "https://registry.yarnpkg.com/vite/-/vite-4.1.4.tgz#170d93bcff97e0ebc09764c053eebe130bfe6ca0" @@ -922,6 +1395,11 @@ vite@^4.1.0: optionalDependencies: fsevents "~2.3.2" +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + yaml@^1.10.0: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" diff --git a/ui/ui.go b/ui/ui.go index 8c9c5e8..4a86c39 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + package ui import ( diff --git a/ui/ui_test.go b/ui/ui_test.go index c544dae..78b12b2 100644 --- a/ui/ui_test.go +++ b/ui/ui_test.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 Iván Szkiba +// +// SPDX-License-Identifier: MIT + package ui import (