arbor-dashboard 1.68.13-alpha.2 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see main.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.main=t(require("react"),require("react-dom")):e.main=t(e.react,e["react-dom"])}(self,(e,t)=>(()=>{var r,n,o={1508(e){function t(e){var r,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(r=0;r<i;r++)e[r]&&(n=t(e[r]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function r(){for(var e,r,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(r=t(e))&&(o&&(o+=" "),o+=r);return o}e.exports=r,e.exports.clsx=r},9241(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".chart-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;gap:8px;width:100%;height:100%;padding:24px}.chart-empty-state__title{margin:0;font-size:15px;font-weight:600;color:#3c3735;text-align:center}",""]);const s=a},3441(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".chart-error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;gap:8px;width:100%;height:100%;padding:24px}.chart-error-state__title{margin:0;font-size:15px;font-weight:600;color:#3c3735;text-align:center}.chart-error-state__messages{display:flex;flex-direction:column;gap:2px;text-align:center}.chart-error-state__message{margin:0;font-size:13px;color:#595350;text-align:center}",""]);const s=a},3018(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".charts-calendar{display:flex;flex-direction:column;align-items:flex-start;width:100%;max-width:100%;min-width:0;padding:40px}.charts-calendar-month-labels{display:flex;gap:4px;margin-bottom:4px}.charts-calendar-day-labels-spacer{flex:0 0 76px}.charts-calendar-month-labels-grid{display:grid;grid-auto-rows:16px;gap:2px;font-size:11px;white-space:nowrap}.charts-calendar-month-labels-grid span{text-align:center}.charts-calendar-body{display:flex;gap:4px}.charts-calendar-day-labels{flex:0 0 76px;display:flex;flex-direction:column;gap:2px;font-size:10px}.charts-calendar-day-labels span{height:20px;line-height:20px;white-space:nowrap}.charts-calendar-grid{display:grid;grid-auto-rows:20px;gap:2px}.charts-calendar-cell{width:20px;height:20px;border-radius:2px}.charts-calendar-legend{display:flex;justify-content:center;width:100%;margin-top:12px;font-size:12px}.charts-calendar-legend .chart-legend{display:flex;flex-flow:row wrap;align-items:center;height:auto;justify-content:flex-start;padding-bottom:0;margin-right:0;width:auto;max-width:none;gap:16px}.charts-calendar-legend .chart-legend-item{margin-bottom:0}.charts-calendar-tooltip{position:fixed;z-index:10;background:#fff;border:1px solid #ccc;border-radius:4px;padding:6px 8px;font-size:12px;display:flex;flex-direction:column;gap:2px;pointer-events:none;box-shadow:rgba(0,0,0,.15) 0 1px 4px}",""]);const s=a},6876(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".recharts-tooltip-wrapper{z-index:100}.chart-tooltip-content{padding:6px 10px;font-size:12px;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.15)}.chart-tooltip-content__label{margin-bottom:4px;font-weight:600;color:#1a1a1a}.chart-tooltip-content__entry{display:flex;align-items:center;gap:6px;color:#1a1a1a}.chart-tooltip-content__dot{display:inline-block;flex-shrink:0;width:8px;height:8px;border-radius:50%}",""]);const s=a},7271(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".charts-gauge{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}.charts-gauge-classic-canvas{width:auto;max-width:100%;height:100%;max-height:250px;aspect-ratio:2/1;flex:1 1 auto;min-height:0;position:relative}.charts-gauge-classic-canvas-clip{position:absolute;inset:0;overflow:hidden}.charts-gauge-classic-canvas-square{position:absolute;top:0;left:0;width:100%;aspect-ratio:1/1}.charts-gauge-classic-readout{flex:none;text-align:center;margin-top:-8px}.charts-gauge-classic-value{font-size:22px;font-weight:700}.charts-gauge-title{flex:none;margin:0;font-size:var(--font-size-gauge);font-weight:800}",""]);const s=a},7788(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".charts-heatmap{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;align-self:stretch}.charts-heatmap-body{display:flex;align-items:stretch;flex:0 1 auto;min-width:0;min-height:0}.charts-heatmap-y-axis-label{flex:0 0 24px;display:flex;align-items:center;justify-content:center;margin-right:4px}.charts-heatmap-y-axis-label span{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;font-size:12px}.charts-heatmap-grid{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.charts-heatmap-header,.charts-heatmap-row{display:flex;align-items:stretch}.charts-heatmap-header{flex:0 0 auto}.charts-heatmap-row{flex:0 1 25px;min-height:0}.charts-heatmap-row-label{flex:0 0 120px;display:flex;align-items:center;padding-right:8px;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.charts-heatmap-column-label{flex:1;text-align:center;font-size:12px;padding-bottom:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.charts-heatmap-cell{flex:1;display:flex;align-items:center;justify-content:center;font-size:11px;border:1px solid #fff;cursor:default}.charts-heatmap-legend{display:flex;flex-direction:column;align-items:flex-start;flex-shrink:0;margin:24px auto 0;width:260px;max-width:100%}.charts-heatmap-legend-title{width:100%;text-align:center;font-size:12px;margin-bottom:4px}.charts-heatmap-legend-bar-wrapper{position:relative;width:100%}.charts-heatmap-legend-bar{width:100%;height:8px;border-radius:2px}.charts-heatmap-legend-ticks{position:relative;width:100%;height:18px;margin-top:2px}.charts-heatmap-legend-tick{position:absolute;top:0;display:flex;flex-direction:column;align-items:flex-start}.charts-heatmap-legend-tick-mark{width:1px;height:4px;background:#999;transform:translateX(-50%)}.charts-heatmap-legend-tick-label{display:inline-block;font-size:10px;color:#333;margin-top:1px;white-space:nowrap}.charts-heatmap-tooltip{position:fixed;z-index:10;background:#fff;border:1px solid #ccc;border-radius:4px;padding:6px 8px;font-size:12px;display:flex;flex-direction:column;gap:2px;pointer-events:none;box-shadow:rgba(0,0,0,.15) 0 1px 4px}",""]);const s=a},8578(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".truncated-axis-tick-full{display:none}.truncated-axis-tick-tooltip{position:fixed;z-index:100;display:inline-block;background:#fff;border:1px solid #ccc;border-radius:4px;padding:2px 6px;font-size:11px;white-space:nowrap;box-shadow:0 1px 4px rgba(0,0,0,.15);pointer-events:none}@media print{.truncated-axis-tick-truncated{display:none}.truncated-axis-tick-full{display:inline}}",""]);const s=a},5913(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,'body{font-family:"PT Sans",sans-serif}.dashboard-root,.dashboard-focus-trapping-modal-container{width:100%;height:100%;--font-size-xs: 10px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-lg: 15px;--font-size-xl: 16px;--font-size-loading: 17px;--font-size-gauge: 18px;--font-size-header: 20px;--font-size-modal-title: 22px;--font-size-kpi-large: 35px}button{cursor:pointer;border:none;background:none}.dashboard{width:100%;height:100%}.dashboard-header{display:flex;margin-left:10px;margin-right:10px}.dashboard-item{border:1px solid #dfdcdb;border-radius:4px;background-color:#fff;display:flex;flex-direction:column;height:100%;overflow:hidden}.dashboard-item-loading{position:relative;height:100px;display:flex;justify-content:center;align-items:center}.dashboard-filter-panel-loading{display:flex;justify-content:center;align-items:center;min-height:48px}.dashboard-item-header{display:flex;flex-direction:row;justify-content:space-between;padding:10px;border-bottom:1px solid #eae9e9;gap:15px}.dashboard-item-header .dashboard-item-header-title{flex:1;font-size:var(--font-size-header);font-weight:bold;align-items:center;display:flex;gap:5px;color:#595350;margin:0;min-height:32px}.dashboard-chart-filter-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:4px;background-color:#f0efed;cursor:pointer}.dashboard-chart-filter-icon__active{background-color:#e7f2d3}.dashboard-chart-filter-icon__count{display:flex;justify-content:center;background:linear-gradient(145deg, #68aa22, #5e9820);border:.5px solid #a4cc7a;box-shadow:0 1px 3px rgba(0,0,0,.15),inset 0 1px 0 hsla(0,0%,100%,.2);border-radius:15px;position:relative;top:-15px;right:-17px;color:#fff;font-size:var(--font-size-sm);max-width:20px}.draggable-handle{cursor:move;width:30px;height:30px;z-index:10;border-radius:4px;display:flex;justify-content:center;align-items:center;background-color:#f0efed}.draggable-handle svg{transform:rotate(45deg)}.show-me-data-button{width:30px;height:30px;z-index:10;border-radius:4px;display:flex;justify-content:center;align-items:center;background-color:#f0efed}.chart-filter-button{width:30px;height:30px;margin-right:5px}.resize-handle{background-color:#c4c4c4}.dashboard-header__filter-panel-container{flex:auto;min-width:0;z-index:10;padding-right:5px}.dashboard-filter-panel{background:linear-gradient(145deg, #eff6d1, #e1eed3);border-radius:8px;border:.5px solid #68aa22;box-shadow:0 2px 6px rgba(0,0,0,.08),inset 0 1px 0 hsla(0,0%,100%,.3);backdrop-filter:blur(5px);display:flex;align-items:center;padding-right:10px;white-space:nowrap}.dashboard-filter-panel__inactive{background:linear-gradient(145deg, #dfdcdb, #efeeed);border:.5px solid #c7c4c3;box-shadow:0 2px 6px rgba(0,0,0,.05),inset 0 1px 0 hsla(0,0%,100%,.2)}.dashboard-filter-panel__content{border-radius:8px;padding:9px;display:flex;gap:20px;flex-flow:row nowrap;align-items:center;overflow:hidden}.dashboard-filter-panel-filters-icon{display:flex;align-items:center;background:linear-gradient(145deg, #776e6a, #595350);border-radius:15px;color:#fff !important;padding:4px 8px;box-shadow:0 1px 3px rgba(0,0,0,.12),inset 0 1px 0 hsla(0,0%,100%,.1);backdrop-filter:blur(3px);border:.5px solid #ada8a6;font-weight:500}.dashboard-filter-panel-filters-icon__active{background:linear-gradient(145deg, #68aa22, #5e9820);border:.5px solid #a4cc7a;box-shadow:0 1px 3px rgba(0,0,0,.15),inset 0 1px 0 hsla(0,0%,100%,.2)}.dashboard-filter-panel__filter{display:flex;flex-direction:column;gap:2px}.dashboard-filter-panel__filter-options{display:flex;gap:5px;flex-wrap:nowrap}.dashboard-filter-panel__filter-option{display:flex;flex-direction:row}.dashboard-filter-panel__filter-option__active{font-weight:bold;margin-right:5px}.dashboard-kpi{display:flex;flex-direction:column;flex:1;align-items:stretch;height:95%;max-height:95%;min-height:0;min-width:160px;padding:4px 6px;overflow:hidden}.dashboard-kpi-clickable{cursor:pointer}.dashboard-infopanel{display:flex;flex-direction:row;align-items:stretch;max-height:100%;flex:1;position:relative}.dashboard-infopanel__scroll-indicator{position:absolute;left:10px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:hsla(0,0%,100%,.9);border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.15);z-index:10;transition:opacity .2s ease,transform .2s ease;cursor:pointer}.dashboard-infopanel__scroll-indicator:hover{background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.2)}.dashboard-infopanel__scroll-indicator--right{left:auto;right:10px}.dashboard-infopanel__scroll-indicator .dashboard-tooltip-container{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.dashboard-infopanel__scroll-indicator .dashboard-tooltip-container>span{display:flex;align-items:center;justify-content:center}.dashboard-infopanel__scroll-indicator--hidden{opacity:0;transform:translateY(-50%) translateX(-10px)}.dashboard-infopanel__scroll-indicator--right.dashboard-infopanel__scroll-indicator--hidden{transform:translateY(-50%) translateX(10px)}.dashboard-infopanel-metrics{height:100%;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;flex:1;overflow:auto hidden;scrollbar-width:thin;gap:10px;min-height:0;padding:2px}.dashboard-infopanel-metrics::-webkit-scrollbar{height:8px}.dashboard-infopanel-metrics::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.dashboard-infopanel-metrics::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.dashboard-infopanel-metrics::-webkit-scrollbar-thumb:hover{background:#555}.kpi-card{display:flex;flex-direction:column;flex:1;height:100%;min-height:0;background:#fff;border-radius:10px;transition:border-color .2s ease;overflow:hidden}.kpi-card__hover-green-1:hover{border-color:#70cc12}.kpi-card__hover-green-2:hover{border-color:#009d00}.kpi-card__hover-green-3:hover{border-color:#aaea0f}.kpi-card__hover-green-4:hover{border-color:#005f00}.kpi-card__hover-orange-1:hover{border-color:#ffb62c}.kpi-card__hover-orange-2:hover{border-color:#f8c867}.kpi-card__hover-blue-1:hover{border-color:#50b4f4}.kpi-card__hover-blue-2:hover{border-color:#7acbff}.kpi-card__hover-purple-1:hover{border-color:#ba9eea}.kpi-card__hover-purple-2:hover{border-color:#cbaffb}.kpi-card__hover-yellow-1:hover{border-color:#ffd950}.kpi-card__hover-yellow-2:hover{border-color:#ffe790}.kpi-card__hover-teal-1:hover{border-color:#6eeae2}.kpi-card__hover-teal-2:hover{border-color:#93f8f2}.kpi-card__hover-red-1:hover{border-color:#fa6969}.kpi-card__hover-red-2:hover{border-color:#ff8b8b}.kpi-card-header{padding:10px 12px 4px;flex-shrink:0}.kpi-card>.dashboard-tooltip-container>span{width:100%}.kpi-card-title{font-family:"PT Sans",sans-serif;font-weight:600;font-size:var(--font-size-xl, 18px);color:#595959;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.kpi-card-content{display:flex;flex:1;flex-direction:column;justify-content:space-evenly;align-items:center;padding:0 10px 10px;min-height:0;overflow:hidden;container-type:size;container-name:kpi-content}.kpi-card-content>*{flex-shrink:0}.dashboard-kpi-metric-seperator{height:1px;width:calc(100% - 15px);background-color:#dfdcdb;border-radius:1px;margin:5px auto}.dashboard-kpi-metric-arrow{position:relative;display:flex;align-items:center;font-size:var(--font-size-xl, 20px);margin-top:-5px}.dashboard-kpi-metric-arrow.arrow-up svg,.dashboard-kpi-metric-arrow.arrow-down svg,.dashboard-kpi-metric-arrow.on-track svg{width:.9em !important;height:.9em !important;display:block;vertical-align:middle}.dashboard-kpi-metric-number-row{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.dashboard-kpi-metric-number-and-arrow{display:inline-flex;flex-direction:row;align-items:center;gap:8px}.dashboard-kpi-metric-number-and-arrow--no-comparator::after{content:none}.dashboard-kpi-metric-arrow-placeholder{width:.9em;height:.9em;min-width:14px;min-height:14px;flex-shrink:0;background-color:#fff}.dashboard-kpi-metric-number{font-weight:300;font-size:clamp(14px,15cqh,var(--font-size-kpi-large, 35px));color:#3c3735;position:relative;padding-bottom:2px}.dashboard-kpi-metric-number__green-1{color:#70cc12}.dashboard-kpi-metric-number__green-2{color:#009d00}.dashboard-kpi-metric-number__green-3{color:#aaea0f}.dashboard-kpi-metric-number__green-4{color:#005f00}.dashboard-kpi-metric-number__orange-1{color:#ffb62c}.dashboard-kpi-metric-number__orange-2{color:#f8c867}.dashboard-kpi-metric-number__blue-1{color:#50b4f4}.dashboard-kpi-metric-number__blue-2{color:#7acbff}.dashboard-kpi-metric-number__purple-1{color:#ba9eea}.dashboard-kpi-metric-number__purple-2{color:#cbaffb}.dashboard-kpi-metric-number__yellow-1{color:#ffd950}.dashboard-kpi-metric-number__yellow-2{color:#ffe790}.dashboard-kpi-metric-number__teal-1{color:#6eeae2}.dashboard-kpi-metric-number__teal-2{color:#93f8f2}.dashboard-kpi-metric-number__red-1{color:#fa6969}.dashboard-kpi-metric-number__red-2{color:#ff8b8b}.dashboard-kpi-metric-label{color:#595959;font-weight:500;font-size:clamp(13px,7cqh,var(--font-size-xl, 18px));font-family:"PT Sans",sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;text-align:center;max-height:1.5em;line-height:1.35;flex-shrink:0}.dashboard-filter-panel-status__inactive{font-weight:bold}.dashboard-filter-panel-status__active{font-weight:bold;color:green}.dashboard-filter-panel-edit-button{display:flex;gap:5px;color:#68aa22;margin-left:auto;cursor:pointer}.dashboard-filter-panel-edit-button-text{text-decoration:underline;font-weight:bold}.dashboard-filter-panel-edit-button-icon{width:16px;height:16px;flex:none;order:0;flex-grow:0}.dashboard-filter-panel-popup-filter-options{display:flex;flex-direction:column;gap:5px;overflow-y:auto;max-height:450px;padding-left:10px;padding-top:10px;padding-bottom:10px}.dashboard-filter-panel-popup-filter-option{display:flex;gap:10px;flex-direction:row;align-items:flex-start;padding-right:22px}.dashboard-filter-panel-popup-filter-option--error{align-items:center;color:#fa6969;display:flex;font-size:var(--font-size-sm);gap:8px;margin:0 8px 8px}.dashboard-filter-panel-popup-filter-dropdown{flex-grow:1;max-width:30%;min-width:0}.dashboard-filter-panel-popup-filter-dropdown-loading{padding-left:10px;display:flex;flex-direction:row;align-items:center;gap:8px}.loading-spinner.dashboard-filter-panel-popup-filter-dropdown-loading-spinner{flex-shrink:0;transform:scale(0.25);width:40px;height:40px;position:relative !important;top:auto !important;left:auto !important}.dashboard-filter-panel-popup-filter-dropdown-loading-text{flex-grow:1;display:flex;align-items:center;font-size:var(--font-size-md);color:#3c3735}.dashboard-filter-panel-popup-button{color:#202020;padding:5px 7px;border-radius:4px;font-weight:bold;cursor:pointer;height:30px}.dashboard-filter-panel-popup-button-container{display:flex;gap:5px;align-self:flex-end;padding:20px;border-top:1px solid #f0efed}.dashboard-filter-panel-popup-add-button{display:flex;flex-direction:row;align-items:center;color:#009d00;gap:3px;cursor:pointer;padding-left:8px;font-size:var(--font-size-md);width:fit-content}.dashboard-filter-panel-popup-filter-option-action-button{margin-left:auto;cursor:pointer;padding:0}.dashboard-filter-panel-popup-filter-option-action-button svg{margin:16px}.dashboard-filter-panel-popup-button__cancel{border:none;align-self:flex-start;background-color:#dfdcdb}.dashboard-filter-panel-popup-button__clear-all{color:#202020;border:1px solid #009d00;background-color:#fff;margin-left:auto}.dashboard-filter-panel-popup-button__save-changes{color:#fff;border:1px solid #fff;background-color:#009d00}.dashboard-filter-panel-popup-filter-option-value{padding:5px;border-radius:4px;border:1px solid gray}.dashboard-filter-panel-popup-filter-option-value__active{color:green;border:1px solid green}.dashboard-filter-panel-popup-filter-option-values{display:flex;gap:5px;flex-flow:row wrap}.dashboard-focus-trapping-modal-container{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,.5);top:0;left:0;z-index:100;display:flex;justify-content:center;align-items:center}.dashboard-focus-trapping-modal{position:fixed;width:40%;max-height:700px;background-color:#fff;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:10px;display:flex;flex-direction:column}.dashboard-focus-trapping-modal-header{max-width:100%;height:50px;border-bottom:1px solid #f0efed;display:flex;justify-content:center;align-items:center;padding:10px}.dashboard-focus-trapping-modal-title{font-size:var(--font-size-modal-title);font-weight:bold;white-space:nowrap;max-width:100%;text-overflow:ellipsis;overflow-y:clip}.dashboard-focus-trapping-modal-close-icon{position:absolute;right:22px;top:12px;cursor:pointer}.dashboard-edit-layout-button{display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg, #eff6d1, #e1eed3);border-radius:8px;border:.5px solid #68aa22;box-shadow:0 2px 6px rgba(0,0,0,.08),inset 0 1px 0 hsla(0,0%,100%,.3);backdrop-filter:blur(5px);margin-left:auto;height:100%;cursor:pointer;min-width:40px}.dashboard-edit-layout-button svg{display:block;margin:0 auto}.dashboard-chart-container{min-width:0;min-height:0;display:flex;justify-content:center;align-items:center;flex:1;padding:16px}.dashboard-chart-container--animating{overflow:hidden}.dashboard-chart{flex:5;height:100%;min-width:0;align-self:stretch}.dashboard-chart-load-more-wrapper{flex:1;display:flex;flex-direction:column;min-height:0;min-width:0}.dashboard-chart-load-more-wrapper>.dashboard-chart-container{min-height:0}.dashboard-chart-load-more-button{align-self:center;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;margin:8px 0 16px;border:1px solid #dfdcdb;border-radius:4px;background:#fff;font-size:var(--font-size-sm);cursor:pointer;color:#595350;transition:border-color .2s ease,background-color .2s ease}.dashboard-chart-load-more-button:hover{background:#efeeed}.dashboard-chart-load-more-button:focus-visible{outline:2px solid #009d00;outline-offset:2px}.line-chart-on-bar-chart{position:absolute;width:100%;height:100%;top:0}.dashboard-tooltip-container{position:relative;display:flex;align-items:center}.dashboard-tooltip{position:absolute;background-color:#202020;color:#fff;border-radius:4px;padding:8px;font-size:var(--font-size-sm);max-width:300px;width:max-content;font-weight:normal}.chart-legend{display:flex;flex-direction:column;align-items:flex-start;height:100%;justify-content:end;padding-bottom:40px;margin-right:10px;width:fit-content;max-width:20%}.chart-legend-item{display:flex;align-items:center;margin-bottom:5px;font-size:var(--font-size-sm)}.chart-legend-item .chart-legend-symbol{width:12px;height:12px;margin-right:5px;border-radius:25px;min-width:12px}.dashboard-filter-icon-tooltip-content{display:flex;flex-direction:row;gap:20px}.dashboard-filter-icon-tooltip-title{font-weight:bold;margin-bottom:5px;display:flex;align-items:center;gap:5px}.dashboard-calendar-container{width:100%;height:80%;display:flex;justify-content:center;align-items:center}.dashboard-calendar-tooltip{padding:6px 9px;background-color:#fff}.dashboard-calendar-tooltip-title{font-weight:bold;margin-bottom:5px}.dashboard-calendar-tooltip-icon{height:10px;width:10px}.dashboard-calendar-tooltip-value{display:flex;flex-direction:row;align-items:center;gap:5px}',""]);const s=a},937(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".loading-spinner{position:absolute;top:calc(50% - 25px);left:calc(50% - 25px)}.loading-spinner .loading-spinner__text{position:fixed;color:#fff;font-size:var(--font-size-loading);font-weight:300;text-align:center;width:100vw;top:calc(50vh + 60px);left:0;z-index:100000}.loading-spinner .loading-spinner__inner{position:relative;animation-name:arbor-logo-rotation;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:ease-in-out;transform-origin:25px 25px;z-index:100000}.loading-spinner .loading-spinner__circle{height:50px;width:50px;border-radius:100%;opacity:.9;animation-duration:1s;animation-direction:alternate;animation-iteration-count:infinite;animation-timing-function:ease-in-out;position:absolute}.loading-spinner .loading-spinner__circle-left{background-color:#7cb93c;animation-name:arbor-logo-left}.loading-spinner .loading-spinner__circle-top{background-color:#f7931c;animation-name:arbor-logo-top}.loading-spinner .loading-spinner__circle-right{background-color:#deee21;animation-name:arbor-logo-right}.loading-spinner .loading-spinner__circle-bottom{background-color:#afd317;animation-name:arbor-logo-bottom}.loading-spinner--hide{display:none}.loading-spinner-background{background-color:#3c3735;opacity:.6;position:fixed;width:100%;height:100%;top:0;left:0;z-index:99999}@keyframes arbor-logo-rotation{0%{rotate:0}100%{rotate:360deg}}@keyframes arbor-logo-left{0%{left:-25px}100%{left:0}}@keyframes arbor-logo-right{0%{left:25px}100%{left:0}}@keyframes arbor-logo-top{0%{top:-25px}100%{top:0}}@keyframes arbor-logo-bottom{0%{top:25px}100%{top:0}}",""]);const s=a},2473(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".loading-widget__shimmer-container{display:flex;flex-direction:column;gap:12px;width:100%;height:100%;padding:30px}.loading-widget__shimmer-bar{flex:1;min-height:0;border-radius:4px;background:linear-gradient(90deg, #ada8a6 0%, #dfdcdb 50%, #ada8a6 100%);background-size:200% 100%;animation:loading-widget__shimmer 1.5s ease-in-out infinite}.loading-widget__shimmer-bar--short{width:50%}.loading-widget__shimmer-bar--medium{width:70%}.loading-widget__shimmer-bar--long{width:95%}@keyframes loading-widget__shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}",""]);const s=a},6314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},1601(e){"use strict";e.exports=function(e){return e[1]}},8351(e,t,r){var n;!function(){"use strict";var o,i=1e9,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,l="[DecimalError] ",c=l+"Invalid argument: ",u=l+"Exponent out of range: ",d=Math.floor,f=Math.pow,p=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,h=1e7,m=d(1286742750677284.5),y={};function g(e,t){var r,n,o,i,a,l,c,u,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),s?j(t,f):t;if(c=e.d,u=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o){for(i<0?(n=c,i=-i,l=u.length):(n=u,o=a,l=c.length),i>(l=(a=Math.ceil(f/7))>l?a+1:l+1)&&(i=l,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((l=c.length)-(i=u.length)<0&&(i=l,n=u,u=c,c=n),r=0;i;)r=(c[--i]=c[i]+u[i]+r)/h|0,c[i]%=h;for(r&&(c.unshift(r),++o),l=c.length;0==c[--l];)c.pop();return t.d=c,t.e=o,s?j(t,f):t}function v(e,t,r){if(e!==~~e||e<t||e>r)throw Error(c+e)}function b(e){var t,r,n,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)(r=7-(n=e[t]+"").length)&&(i+=k(r)),i+=n;(r=7-(n=(a=e[t])+"").length)&&(i+=k(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}y.absoluteValue=y.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},y.comparedTo=y.cmp=function(e){var t,r,n,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(t=0,r=(n=i.d.length)<(o=e.d.length)?n:o;t<r;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1},y.decimalPlaces=y.dp=function(){var e=this,t=e.d.length-1,r=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},y.dividedBy=y.div=function(e){return x(this,new this.constructor(e))},y.dividedToIntegerBy=y.idiv=function(e){var t=this.constructor;return j(x(this,new t(e),0,1),t.precision)},y.equals=y.eq=function(e){return!this.cmp(e)},y.exponent=function(){return S(this)},y.greaterThan=y.gt=function(e){return this.cmp(e)>0},y.greaterThanOrEqualTo=y.gte=function(e){return this.cmp(e)>=0},y.isInteger=y.isint=function(){return this.e>this.d.length-2},y.isNegative=y.isneg=function(){return this.s<0},y.isPositive=y.ispos=function(){return this.s>0},y.isZero=function(){return 0===this.s},y.lessThan=y.lt=function(e){return this.cmp(e)<0},y.lessThanOrEqualTo=y.lte=function(e){return this.cmp(e)<1},y.logarithm=y.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(o))throw Error(l+"NaN");if(r.s<1)throw Error(l+(r.s?"NaN":"-Infinity"));return r.eq(o)?new n(0):(s=!1,t=x(P(r,a),P(e,a),a),s=!0,j(t,i))},y.minus=y.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?M(t,e):g(t,(e.s=-e.s,e))},y.modulo=y.mod=function(e){var t,r=this,n=r.constructor,o=n.precision;if(!(e=new n(e)).s)throw Error(l+"NaN");return r.s?(s=!1,t=x(r,e,0,1).times(e),s=!0,r.minus(t)):j(new n(r),o)},y.naturalExponential=y.exp=function(){return w(this)},y.naturalLogarithm=y.ln=function(){return P(this)},y.negated=y.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},y.plus=y.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?g(t,e):M(t,(e.s=-e.s,e))},y.precision=y.sd=function(e){var t,r,n,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(c+e);if(t=S(o)+1,r=7*(n=o.d.length-1)+1,n=o.d[n]){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},y.squareRoot=y.sqrt=function(){var e,t,r,n,o,i,a,c=this,u=c.constructor;if(c.s<1){if(!c.s)return new u(0);throw Error(l+"NaN")}for(e=S(c),s=!1,0==(o=Math.sqrt(+c))||o==1/0?(((t=b(c.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=d((e+1)/2)-(e<0||e%2),n=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new u(o.toString()),o=a=(r=u.precision)+3;;)if(n=(i=n).plus(x(c,i,a+2)).times(.5),b(i.d).slice(0,a)===(t=b(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(j(i,r+1,0),i.times(i).eq(c)){n=i;break}}else if("9999"!=t)break;a+=4}return s=!0,j(n,r)},y.times=y.mul=function(e){var t,r,n,o,i,a,l,c,u,d=this,f=d.constructor,p=d.d,m=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,r=d.e+e.e,(c=p.length)<(u=m.length)&&(i=p,p=m,m=i,a=c,c=u,u=a),i=[],n=a=c+u;n--;)i.push(0);for(n=u;--n>=0;){for(t=0,o=c+n;o>n;)l=i[o]+m[n]*p[o-n-1]+t,i[o--]=l%h|0,t=l/h|0;i[o]=(i[o]+t)%h|0}for(;!i[--a];)i.pop();return t?++r:i.shift(),e.d=i,e.e=r,s?j(e,f.precision):e},y.toDecimalPlaces=y.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(v(e,0,i),void 0===t?t=n.rounding:v(t,0,8),j(r,e+S(r)+1,t))},y.toExponential=function(e,t){var r,n=this,o=n.constructor;return void 0===e?r=E(n,!0):(v(e,0,i),void 0===t?t=o.rounding:v(t,0,8),r=E(n=j(new o(n),e+1,t),!0,e+1)),r},y.toFixed=function(e,t){var r,n,o=this,a=o.constructor;return void 0===e?E(o):(v(e,0,i),void 0===t?t=a.rounding:v(t,0,8),r=E((n=j(new a(o),e+S(o)+1,t)).abs(),!1,e+S(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)},y.toInteger=y.toint=function(){var e=this,t=e.constructor;return j(new t(e),S(e)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(e){var t,r,n,i,a,c,u=this,f=u.constructor,p=+(e=new f(e));if(!e.s)return new f(o);if(!(u=new f(u)).s){if(e.s<1)throw Error(l+"Infinity");return u}if(u.eq(o))return u;if(n=f.precision,e.eq(o))return j(u,n);if(c=(t=e.e)>=(r=e.d.length-1),a=u.s,c){if((r=p<0?-p:p)<=9007199254740991){for(i=new f(o),t=Math.ceil(n/7+4),s=!1;r%2&&A((i=i.times(u)).d,t),0!==(r=d(r/2));)A((u=u.times(u)).d,t);return s=!0,e.s<0?new f(o).div(i):j(i,n)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&e.d[Math.max(t,r)]?-1:1,u.s=1,s=!1,i=e.times(P(u,n+12)),s=!0,(i=w(i)).s=a,i},y.toPrecision=function(e,t){var r,n,o=this,a=o.constructor;return void 0===e?n=E(o,(r=S(o))<=a.toExpNeg||r>=a.toExpPos):(v(e,1,i),void 0===t?t=a.rounding:v(t,0,8),n=E(o=j(new a(o),e,t),e<=(r=S(o))||r<=a.toExpNeg,e)),n},y.toSignificantDigits=y.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(v(e,1,i),void 0===t?t=r.rounding:v(t,0,8)),j(new r(this),e,t)},y.toString=y.valueOf=y.val=y.toJSON=function(){var e=this,t=S(e),r=e.constructor;return E(e,t<=r.toExpNeg||t>=r.toExpPos)};var x=function(){function e(e,t){var r,n=0,o=e.length;for(e=e.slice();o--;)r=e[o]*t+n,e[o]=r%h|0,n=r/h|0;return n&&e.unshift(n),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*h+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,o,i,a){var s,c,u,d,f,p,m,y,g,v,b,x,w,O,k,P,C,M,E=n.constructor,A=n.s==o.s?1:-1,D=n.d,T=o.d;if(!n.s)return new E(n);if(!o.s)throw Error(l+"Division by zero");for(c=n.e-o.e,C=T.length,k=D.length,y=(m=new E(A)).d=[],u=0;T[u]==(D[u]||0);)++u;if(T[u]>(D[u]||0)&&--c,(x=null==i?i=E.precision:a?i+(S(n)-S(o))+1:i)<0)return new E(0);if(x=x/7+2|0,u=0,1==C)for(d=0,T=T[0],x++;(u<k||d)&&x--;u++)w=d*h+(D[u]||0),y[u]=w/T|0,d=w%T|0;else{for((d=h/(T[0]+1)|0)>1&&(T=e(T,d),D=e(D,d),C=T.length,k=D.length),O=C,v=(g=D.slice(0,C)).length;v<C;)g[v++]=0;(M=T.slice()).unshift(0),P=T[0],T[1]>=h/2&&++P;do{d=0,(s=t(T,g,C,v))<0?(b=g[0],C!=v&&(b=b*h+(g[1]||0)),(d=b/P|0)>1?(d>=h&&(d=h-1),1==(s=t(f=e(T,d),g,p=f.length,v=g.length))&&(d--,r(f,C<p?M:T,p))):(0==d&&(s=d=1),f=T.slice()),(p=f.length)<v&&f.unshift(0),r(g,f,v),-1==s&&(s=t(T,g,C,v=g.length))<1&&(d++,r(g,C<v?M:T,v)),v=g.length):0===s&&(d++,g=[0]),y[u++]=d,s&&g[0]?g[v++]=D[O]||0:(g=[D[O]],v=1)}while((O++<k||void 0!==g[0])&&x--)}return y[0]||y.shift(),m.e=c,j(m,a?i+S(m)+1:i)}}();function w(e,t){var r,n,i,a,l,c=0,d=0,p=e.constructor,h=p.precision;if(S(e)>16)throw Error(u+S(e));if(!e.s)return new p(o);for(null==t?(s=!1,l=h):l=t,a=new p(.03125);e.abs().gte(.1);)e=e.times(a),d+=5;for(l+=Math.log(f(2,d))/Math.LN10*2+5|0,r=n=i=new p(o),p.precision=l;;){if(n=j(n.times(e),l),r=r.times(++c),b((a=i.plus(x(n,r,l))).d).slice(0,l)===b(i.d).slice(0,l)){for(;d--;)i=j(i.times(i),l);return p.precision=h,null==t?(s=!0,j(i,h)):i}i=a}}function S(e){for(var t=7*e.e,r=e.d[0];r>=10;r/=10)t++;return t}function O(e,t,r){if(t>e.LN10.sd())throw s=!0,r&&(e.precision=r),Error(l+"LN10 precision limit exceeded");return j(new e(e.LN10),t)}function k(e){for(var t="";e--;)t+="0";return t}function P(e,t){var r,n,i,a,c,u,d,f,p,h=1,m=e,y=m.d,g=m.constructor,v=g.precision;if(m.s<1)throw Error(l+(m.s?"NaN":"-Infinity"));if(m.eq(o))return new g(0);if(null==t?(s=!1,f=v):f=t,m.eq(10))return null==t&&(s=!0),O(g,f);if(f+=10,g.precision=f,n=(r=b(y)).charAt(0),a=S(m),!(Math.abs(a)<15e14))return d=O(g,f+2,v).times(a+""),m=P(new g(n+"."+r.slice(1)),f-10).plus(d),g.precision=v,null==t?(s=!0,j(m,v)):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=b((m=m.times(e)).d)).charAt(0),h++;for(a=S(m),n>1?(m=new g("0."+r),a++):m=new g(n+"."+r.slice(1)),u=c=m=x(m.minus(o),m.plus(o),f),p=j(m.times(m),f),i=3;;){if(c=j(c.times(p),f),b((d=u.plus(x(c,new g(i),f))).d).slice(0,f)===b(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(O(g,f+2,v).times(a+""))),u=x(u,new g(h),f),g.precision=v,null==t?(s=!0,j(u,v)):u;u=d,i+=2}}function C(e,t){var r,n,o;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(n,o)){if(o-=n,r=r-n-1,e.e=d(r/7),e.d=[],n=(r+1)%7,r<0&&(n+=7),n<o){for(n&&e.d.push(+t.slice(0,n)),o-=7;n<o;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=o;for(;n--;)t+="0";if(e.d.push(+t),s&&(e.e>m||e.e<-m))throw Error(u+r)}else e.s=0,e.e=0,e.d=[0];return e}function j(e,t,r){var n,o,i,a,l,c,p,y,g=e.d;for(a=1,i=g[0];i>=10;i/=10)a++;if((n=t-a)<0)n+=7,o=t,p=g[y=0];else{if((y=Math.ceil((n+1)/7))>=(i=g.length))return e;for(p=i=g[y],a=1;i>=10;i/=10)a++;o=(n%=7)-7+a}if(void 0!==r&&(l=p/(i=f(10,a-o-1))%10|0,c=t<0||void 0!==g[y+1]||p%i,c=r<4?(l||c)&&(0==r||r==(e.s<0?3:2)):l>5||5==l&&(4==r||c||6==r&&(n>0?o>0?p/f(10,a-o):0:g[y-1])%10&1||r==(e.s<0?8:7))),t<1||!g[0])return c?(i=S(e),g.length=1,t=t-i-1,g[0]=f(10,(7-t%7)%7),e.e=d(-t/7)||0):(g.length=1,g[0]=e.e=e.s=0),e;if(0==n?(g.length=y,i=1,y--):(g.length=y+1,i=f(10,7-n),g[y]=o>0?(p/f(10,a-o)%f(10,o)|0)*i:0),c)for(;;){if(0==y){(g[0]+=i)==h&&(g[0]=1,++e.e);break}if(g[y]+=i,g[y]!=h)break;g[y--]=0,i=1}for(n=g.length;0===g[--n];)g.pop();if(s&&(e.e>m||e.e<-m))throw Error(u+S(e));return e}function M(e,t){var r,n,o,i,a,l,c,u,d,f,p=e.constructor,m=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),s?j(t,m):t;if(c=e.d,f=t.d,n=t.e,u=e.e,c=c.slice(),a=u-n){for((d=a<0)?(r=c,a=-a,l=f.length):(r=f,n=u,l=c.length),a>(o=Math.max(Math.ceil(m/7),l)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((d=(o=c.length)<(l=f.length))&&(l=o),o=0;o<l;o++)if(c[o]!=f[o]){d=c[o]<f[o];break}a=0}for(d&&(r=c,c=f,f=r,t.s=-t.s),l=c.length,o=f.length-l;o>0;--o)c[l++]=0;for(o=f.length;o>a;){if(c[--o]<f[o]){for(i=o;i&&0===c[--i];)c[i]=h-1;--c[i],c[o]+=h}c[o]-=f[o]}for(;0===c[--l];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(t.d=c,t.e=n,s?j(t,m):t):new p(0)}function E(e,t,r){var n,o=S(e),i=b(e.d),a=i.length;return t?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+k(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+k(-o-1)+i,r&&(n=r-a)>0&&(i+=k(n))):o>=a?(i+=k(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+k(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=k(n))),e.s<0?"-"+i:i}function A(e,t){if(e.length>t)return e.length=t,!0}function D(e){if(!e||"object"!=typeof e)throw Error(l+"Object expected");var t,r,n,o=["precision",1,i,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(n=e[r=o[t]])){if(!(d(n)===n&&n>=o[t+1]&&n<=o[t+2]))throw Error(c+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(c+r+": "+n);this[r]=new this(n)}return this}(a=function e(t){var r,n,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(c+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):C(t,e.toString())}if("string"!=typeof e)throw Error(c+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!p.test(e))throw Error(c+e);C(t,e)}if(i.prototype=y,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=D,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<o.length;)t.hasOwnProperty(n=o[r++])||(t[n]=this[n]);return i.config(t),i}(a)).default=a.Decimal=a,o=new a(1),void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},228(e){"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function i(e,t,n,i,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new o(n,i||e,a),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=new Array(i);o<i;o++)a[o]=n[o].fn;return a},s.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},s.prototype.emit=function(e,t,n,o,i,a){var s=r?r+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,o),!0;case 5:return u.fn.call(u.context,t,n,o,i),!0;case 6:return u.fn.call(u.context,t,n,o,i,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,o);break;default:if(!l)for(f=1,l=new Array(d-1);f<d;f++)l[f-1]=arguments[f];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,r){return i(this,e,t,r,!1)},s.prototype.once=function(e,t,r){return i(this,e,t,r,!0)},s.prototype.removeListener=function(e,t,n,o){var i=r?r+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var s=this._events[i];if(s.fn)s.fn!==t||o&&!s.once||n&&s.context!==n||a(this,i);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||o&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[i]=1===c.length?c[0]:c:a(this,i)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&a(this,t)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s},1548(e,t){!function(e){"use strict";function t(e){return function(t,r,n,o,i,a,s){return e(t,r,s)}}function r(e){return function(t,r,n,o){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n,o);var i=o.get(t),a=o.get(r);if(i&&a)return i===r&&a===t;o.set(t,r),o.set(r,t);var s=e(t,r,n,o);return o.delete(t),o.delete(r),s}}function n(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r}function o(e){return e.constructor===Object||null==e.constructor}function i(e){return"function"==typeof e.then}function a(e,t){return e===t||e!=e&&t!=t}var s=Object.prototype.toString;function l(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,l=e.areObjectsEqual,c=e.areRegExpsEqual,u=e.areSetsEqual,d=(0,e.createIsNestedEqual)(f);function f(e,f,p){if(e===f)return!0;if(!e||!f||"object"!=typeof e||"object"!=typeof f)return e!=e&&f!=f;if(o(e)&&o(f))return l(e,f,d,p);var h=Array.isArray(e),m=Array.isArray(f);if(h||m)return h===m&&t(e,f,d,p);var y=s.call(e);return y===s.call(f)&&("[object Date]"===y?r(e,f,d,p):"[object RegExp]"===y?c(e,f,d,p):"[object Map]"===y?n(e,f,d,p):"[object Set]"===y?u(e,f,d,p):"[object Object]"===y||"[object Arguments]"===y?!i(e)&&!i(f)&&l(e,f,d,p):("[object Boolean]"===y||"[object Number]"===y||"[object String]"===y)&&a(e.valueOf(),f.valueOf()))}return f}function c(e,t,r,n){var o=e.length;if(t.length!==o)return!1;for(;o-- >0;)if(!r(e[o],t[o],o,o,e,t,n))return!1;return!0}var u=r(c);function d(e,t){return a(e.valueOf(),t.valueOf())}function f(e,t,r,n){var o=e.size===t.size;if(!o)return!1;if(!e.size)return!0;var i={},a=0;return e.forEach(function(s,l){if(o){var c=!1,u=0;t.forEach(function(o,d){c||i[u]||!(c=r(l,d,a,u,e,t,n)&&r(s,o,l,d,e,t,n))||(i[u]=!0),u++}),a++,o=c}}),o}var p=r(f),h=Object.prototype.hasOwnProperty;function m(e,t,r,n){var o,i=Object.keys(e),a=i.length;if(Object.keys(t).length!==a)return!1;for(;a-- >0;){if("_owner"===(o=i[a])){var s=!!e.$$typeof,l=!!t.$$typeof;if((s||l)&&s!==l)return!1}if(!h.call(t,o)||!r(e[o],t[o],o,o,e,t,n))return!1}return!0}var y=r(m);function g(e,t){return e.source===t.source&&e.flags===t.flags}function v(e,t,r,n){var o=e.size===t.size;if(!o)return!1;if(!e.size)return!0;var i={};return e.forEach(function(a,s){if(o){var l=!1,c=0;t.forEach(function(o,u){l||i[c]||!(l=r(a,o,s,u,e,t,n))||(i[c]=!0),c++}),o=l}}),o}var b=r(v),x=Object.freeze({areArraysEqual:c,areDatesEqual:d,areMapsEqual:f,areObjectsEqual:m,areRegExpsEqual:g,areSetsEqual:v,createIsNestedEqual:t}),w=Object.freeze({areArraysEqual:u,areDatesEqual:d,areMapsEqual:p,areObjectsEqual:y,areRegExpsEqual:g,areSetsEqual:b,createIsNestedEqual:t}),S=l(x);var O=l(n(x,{createIsNestedEqual:function(){return a}}));var k=l(w);var P=l(n(w,{createIsNestedEqual:function(){return a}}));e.circularDeepEqual=function(e,t){return k(e,t,new WeakMap)},e.circularShallowEqual=function(e,t){return P(e,t,new WeakMap)},e.createCustomCircularEqual=function(e){var t=l(n(w,e(w)));return function(e,r,n){return void 0===n&&(n=new WeakMap),t(e,r,n)}},e.createCustomEqual=function(e){return l(n(x,e(x)))},e.deepEqual=function(e,t){return S(e,t,void 0)},e.sameValueZeroEqual=a,e.shallowEqual=function(e,t){return O(e,t,void 0)},Object.defineProperty(e,"__esModule",{value:!0})}(t)},4146(e,t,r){"use strict";var n=r(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),y=0;y<a.length;++y){var g=a[y];if(!(i[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=f(r,g);try{c(t,g,v)}catch(e){}}}}return t}},3072(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case y:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=y,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},3404(e,t,r){"use strict";e.exports=r(3072)},2694(e,t,r){"use strict";var n=r(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){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}}function t(){return e}e.isRequired=e;var r={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:i,resetWarningCache:o};return r.PropTypes=r,r}},5556(e,t,r){e.exports=r(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6027(e,t,r){"use strict";Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return u.default}}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=f(r(5556)),i=f(r(9514)),a=r(1508),s=r(1089),l=r(1726),c=r(7056),u=f(r(6888)),d=f(r(8696));function f(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(null,arguments)}function h(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class m extends n.Component{static getDerivedStateFromProps(e,t){let{position:r}=e,{prevPropsPosition:n}=t;return!r||n&&r.x===n.x&&r.y===n.y?null:((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:r,prevPropsPosition:n}),{x:r.x,y:r.y,prevPropsPosition:{...r}})}constructor(e){super(e),h(this,"onDragStart",(e,t)=>{if((0,d.default)("Draggable: onDragStart: %j",t),!1===this.props.onStart(e,(0,l.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})}),h(this,"onDrag",(e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);const r=(0,l.createDraggableData)(this,t),n={x:r.x,y:r.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=n;n.x+=this.state.slackX,n.y+=this.state.slackY;const[o,i]=(0,l.getBoundPosition)(this,n.x,n.y);n.x=o,n.y=i,n.slackX=this.state.slackX+(e-n.x),n.slackY=this.state.slackY+(t-n.y),r.x=n.x,r.y=n.y,r.deltaX=n.x-this.state.x,r.deltaY=n.y-this.state.y}if(!1===this.props.onDrag(e,r))return!1;this.setState(n)}),h(this,"onDragStop",(e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,l.createDraggableData)(this,t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);const r={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;r.x=e,r.y=t}this.setState(r)}),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){return this.props?.nodeRef?.current??i.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:r,defaultPosition:o,defaultClassName:i,defaultClassNameDragging:c,defaultClassNameDragged:d,position:f,positionOffset:h,scale:m,...y}=this.props;let g={},v=null;const b=!Boolean(f)||this.state.dragging,x=f||o,w={x:(0,l.canDragX)(this)&&b?this.state.x:x.x,y:(0,l.canDragY)(this)&&b?this.state.y:x.y};this.state.isElementSVG?v=(0,s.createSVGTransform)(w,h):g=(0,s.createCSSTransform)(w,h);const S=(0,a.clsx)(r.props.className||"",i,{[c]:this.state.dragging,[d]:this.state.dragged});return n.createElement(u.default,p({},y,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(r),{className:S,style:{...r.props.style,...g},transform:v}))}}t.default=m,h(m,"displayName","Draggable"),h(m,"propTypes",{...u.default.propTypes,axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe}),h(m,"defaultProps",{...u.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},6888(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=u(r(5556)),i=u(r(9514)),a=r(1089),s=r(1726),l=r(7056),c=u(r(8696));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f={start:"touchstart",move:"touchmove",stop:"touchend"},p={start:"mousedown",move:"mousemove",stop:"mouseup"};let h=p;class m extends n.Component{constructor(){super(...arguments),d(this,"dragging",!1),d(this,"lastX",NaN),d(this,"lastY",NaN),d(this,"touchIdentifier",null),d(this,"mounted",!1),d(this,"handleDragStart",e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:r}=t;if(this.props.disabled||!(e.target instanceof r.defaultView.Node)||this.props.handle&&!(0,a.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,a.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"!==e.type||this.props.allowMobileScroll||e.preventDefault();const n=(0,a.getTouchIdentifier)(e);this.touchIdentifier=n;const o=(0,s.getControlPosition)(e,n,this);if(null==o)return;const{x:i,y:l}=o,u=(0,s.createCoreData)(this,i,l);(0,c.default)("DraggableCore: handleDragStart: %j",u),(0,c.default)("calling",this.props.onStart),!1!==this.props.onStart(e,u)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,a.addUserSelectStyles)(r),this.dragging=!0,this.lastX=i,this.lastY=l,(0,a.addEvent)(r,h.move,this.handleDrag),(0,a.addEvent)(r,h.stop,this.handleDragStop))}),d(this,"handleDrag",e=>{const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX,t=n-this.lastY;if([e,t]=(0,s.snapToGrid)(this.props.grid,e,t),!e&&!t)return;r=this.lastX+e,n=this.lastY+t}const o=(0,s.createCoreData)(this,r,n);if((0,c.default)("DraggableCore: handleDrag: %j",o),!1!==this.props.onDrag(e,o)&&!1!==this.mounted)this.lastX=r,this.lastY=n;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}}),d(this,"handleDragStop",e=>{if(!this.dragging)return;const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX||0,t=n-this.lastY||0;[e,t]=(0,s.snapToGrid)(this.props.grid,e,t),r=this.lastX+e,n=this.lastY+t}const o=(0,s.createCoreData)(this,r,n);if(!1===this.props.onStop(e,o)||!1===this.mounted)return!1;const i=this.findDOMNode();i&&this.props.enableUserSelectHack&&(0,a.scheduleRemoveUserSelectStyles)(i.ownerDocument),(0,c.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,i&&((0,c.default)("DraggableCore: Removing handlers"),(0,a.removeEvent)(i.ownerDocument,h.move,this.handleDrag),(0,a.removeEvent)(i.ownerDocument,h.stop,this.handleDragStop))}),d(this,"onMouseDown",e=>(h=p,this.handleDragStart(e))),d(this,"onMouseUp",e=>(h=p,this.handleDragStop(e))),d(this,"onTouchStart",e=>(h=f,this.handleDragStart(e))),d(this,"onTouchEnd",e=>(h=f,this.handleDragStop(e)))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,a.addEvent)(e,f.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,a.removeEvent)(t,p.move,this.handleDrag),(0,a.removeEvent)(t,f.move,this.handleDrag),(0,a.removeEvent)(t,p.stop,this.handleDragStop),(0,a.removeEvent)(t,f.stop,this.handleDragStop),(0,a.removeEvent)(e,f.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,a.scheduleRemoveUserSelectStyles)(t)}}findDOMNode(){return this.props?.nodeRef?this.props?.nodeRef?.current:i.default.findDOMNode(this)}render(){return n.cloneElement(n.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}t.default=m,d(m,"displayName","DraggableCore"),d(m,"propTypes",{allowAnyClick:o.default.bool,allowMobileScroll:o.default.bool,children:o.default.node.isRequired,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),d(m,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},5794(e,t,r){"use strict";const{default:n,DraggableCore:o}=r(6027);e.exports=n,e.exports.default=n,e.exports.DraggableCore=o},1089(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=c,t.addEvent=function(e,t,r,n){if(!e)return;const o={capture:!0,...n};e.addEventListener?e.addEventListener(t,r,o):e.attachEvent?e.attachEvent("on"+t,r):e["on"+t]=r},t.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&c(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){const r=s(e,t,"px");return{[(0,o.browserPrefixToKey)("transform",o.default)]:r}},t.createSVGTransform=function(e,t){return s(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,n.findInArray)(e.targetTouches,e=>t===e.identifier)||e.changedTouches&&(0,n.findInArray)(e.changedTouches,e=>t===e.identifier)},t.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},t.getTranslation=s,t.innerHeight=function(e){let t=e.clientHeight;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingTop),t-=(0,n.int)(r.paddingBottom),t},t.innerWidth=function(e){let t=e.clientWidth;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingLeft),t-=(0,n.int)(r.paddingRight),t},t.matchesSelector=a,t.matchesSelectorAndParentsTo=function(e,t,r){let n=e;do{if(a(n,t))return!0;if(n===r)return!1;n=n.parentNode}while(n);return!1},t.offsetXYFromParent=function(e,t,r){const n=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect();return{x:(e.clientX+t.scrollLeft-n.left)/r,y:(e.clientY+t.scrollTop-n.top)/r}},t.outerHeight=function(e){let t=e.clientHeight;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,n.int)(r.borderTopWidth),t+=(0,n.int)(r.borderBottomWidth),t},t.outerWidth=function(e){let t=e.clientWidth;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,n.int)(r.borderLeftWidth),t+=(0,n.int)(r.borderRightWidth),t},t.removeClassName=u,t.removeEvent=function(e,t,r,n){if(!e)return;const o={capture:!0,...n};e.removeEventListener?e.removeEventListener(t,r,o):e.detachEvent?e.detachEvent("on"+t,r):e["on"+t]=null},t.scheduleRemoveUserSelectStyles=function(e){window.requestAnimationFrame?window.requestAnimationFrame(()=>{l(e)}):l(e)};var n=r(7056),o=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(3514));let i="";function a(e,t){return i||(i=(0,n.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(t){return(0,n.isFunction)(e[t])})),!!(0,n.isFunction)(e[i])&&e[i](t)}function s(e,t,r){let{x:n,y:o}=e,i=`translate(${n}${r},${o}${r})`;return t&&(i=`translate(${"string"==typeof t.x?t.x:t.x+r}, ${"string"==typeof t.y?t.y:t.y+r})`+i),i}function l(e){if(e)try{if(e.body&&u(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}}function c(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp(`(?:^|\\s)${t}(?!\\S)`))||(e.className+=` ${t}`)}function u(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(`(?:^|\\s)${t}(?!\\S)`,"g"),"")}},3514(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?`-${t.toLowerCase()}-${e}`:e},t.default=void 0,t.getPrefix=n;const r=["Moz","Webkit","O","ms"];function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const t=window.document?.documentElement?.style;if(!t)return"";if(e in t)return"";for(let n=0;n<r.length;n++)if(o(e,r[n])in t)return r[n];return""}function o(e,t){return t?`${t}${function(e){let t="",r=!0;for(let n=0;n<e.length;n++)r?(t+=e[n].toUpperCase(),r=!1):"-"===e[n]?r=!0:t+=e[n];return t}(e)}`:e}t.default=n()},8696(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},1726(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,r){const o=!(0,n.isNum)(e.lastX),a=i(e);return o?{node:a,deltaX:0,deltaY:0,lastX:t,lastY:r,x:t,y:r}:{node:a,deltaX:t-e.lastX,deltaY:r-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:r}},t.createDraggableData=function(e,t){const r=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/r,y:e.state.y+t.deltaY/r,deltaX:t.deltaX/r,deltaY:t.deltaY/r,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,r){if(!e.props.bounds)return[t,r];let{bounds:a}=e.props;a="string"==typeof a?a:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(a);const s=i(e);if("string"==typeof a){const{ownerDocument:e}=s,t=e.defaultView;let r;if(r="parent"===a?s.parentNode:s.getRootNode().querySelector(a),!(r instanceof t.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');const i=r,l=t.getComputedStyle(s),c=t.getComputedStyle(i);a={left:-s.offsetLeft+(0,n.int)(c.paddingLeft)+(0,n.int)(l.marginLeft),top:-s.offsetTop+(0,n.int)(c.paddingTop)+(0,n.int)(l.marginTop),right:(0,o.innerWidth)(i)-(0,o.outerWidth)(s)-s.offsetLeft+(0,n.int)(c.paddingRight)-(0,n.int)(l.marginRight),bottom:(0,o.innerHeight)(i)-(0,o.outerHeight)(s)-s.offsetTop+(0,n.int)(c.paddingBottom)-(0,n.int)(l.marginBottom)}}return(0,n.isNum)(a.right)&&(t=Math.min(t,a.right)),(0,n.isNum)(a.bottom)&&(r=Math.min(r,a.bottom)),(0,n.isNum)(a.left)&&(t=Math.max(t,a.left)),(0,n.isNum)(a.top)&&(r=Math.max(r,a.top)),[t,r]},t.getControlPosition=function(e,t,r){const n="number"==typeof t?(0,o.getTouch)(e,t):null;if("number"==typeof t&&!n)return null;const a=i(r),s=r.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,o.offsetXYFromParent)(n||e,s,r.props.scale)},t.snapToGrid=function(e,t,r){return[Math.round(t/e[0])*e[0],Math.round(r/e[1])*e[1]]};var n=r(7056),o=r(1089);function i(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},7056(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,r){if(e[t])return new Error(`Invalid prop ${t} passed to ${r} - do not set this, set it on the child.`)},t.findInArray=function(e,t){for(let r=0,n=e.length;r<n;r++)if(t.apply(t,[e[r],r,e]))return e[r]},t.int=function(e){return parseInt(e,10)},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)}},6392(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=f(r(9155)),o=r(9514),i=f(r(5556)),a=r(5794),s=r(6036),l=r(8426),c=r(2134),u=r(634),d=f(r(1508));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h extends n.default.Component{constructor(){super(...arguments),p(this,"state",{resizing:null,dragging:null,className:""}),p(this,"elementRef",n.default.createRef()),p(this,"onDragStart",(e,t)=>{let{node:r}=t;const{onDragStart:n,transformScale:o}=this.props;if(!n)return;const i={top:0,left:0},{offsetParent:a}=r;if(!a)return;const s=a.getBoundingClientRect(),l=r.getBoundingClientRect(),u=l.left/o,d=s.left/o,f=l.top/o,p=s.top/o;i.left=u-d+a.scrollLeft,i.top=f-p+a.scrollTop,this.setState({dragging:i});const{x:h,y:m}=(0,c.calcXY)(this.getPositionParams(),i.top,i.left,this.props.w,this.props.h);return n.call(this,this.props.i,h,m,{e,node:r,newPosition:i})}),p(this,"onDrag",(e,t,r)=>{let{node:n,deltaX:i,deltaY:a}=t;const{onDrag:s}=this.props;if(!s)return;if(!this.state.dragging)throw new Error("onDrag called before onDragStart.");let l=this.state.dragging.top+a,u=this.state.dragging.left+i;const{isBounded:d,i:f,w:p,h,containerWidth:m}=this.props,y=this.getPositionParams();if(d){const{offsetParent:e}=n;if(e){const{margin:t,rowHeight:r}=this.props,n=e.clientHeight-(0,c.calcGridItemWHPx)(h,r,t[1]);l=(0,c.clamp)(l,0,n);const o=(0,c.calcGridColWidth)(y),i=m-(0,c.calcGridItemWHPx)(p,o,t[0]);u=(0,c.clamp)(u,0,i)}}const g={top:l,left:u};r?this.setState({dragging:g}):(0,o.flushSync)(()=>{this.setState({dragging:g})});const{x:v,y:b}=(0,c.calcXY)(y,l,u,p,h);return s.call(this,f,v,b,{e,node:n,newPosition:g})}),p(this,"onDragStop",(e,t)=>{let{node:r}=t;const{onDragStop:n}=this.props;if(!n)return;if(!this.state.dragging)throw new Error("onDragEnd called before onDragStart.");const{w:o,h:i,i:a}=this.props,{left:s,top:l}=this.state.dragging,u={top:l,left:s};this.setState({dragging:null});const{x:d,y:f}=(0,c.calcXY)(this.getPositionParams(),l,s,o,i);return n.call(this,a,d,f,{e,node:r,newPosition:u})}),p(this,"onResizeStop",(e,t,r)=>this.onResizeHandler(e,t,r,"onResizeStop")),p(this,"onResizeStart",(e,t,r)=>this.onResizeHandler(e,t,r,"onResizeStart")),p(this,"onResize",(e,t,r)=>this.onResizeHandler(e,t,r,"onResize"))}shouldComponentUpdate(e,t){if(this.props.children!==e.children)return!0;if(this.props.droppingPosition!==e.droppingPosition)return!0;const r=(0,c.calcGridItemPosition)(this.getPositionParams(this.props),this.props.x,this.props.y,this.props.w,this.props.h,this.state),n=(0,c.calcGridItemPosition)(this.getPositionParams(e),e.x,e.y,e.w,e.h,t);return!(0,l.fastPositionEqual)(r,n)||this.props.useCSSTransforms!==e.useCSSTransforms}componentDidMount(){this.moveDroppingItem({})}componentDidUpdate(e){this.moveDroppingItem(e)}moveDroppingItem(e){const{droppingPosition:t}=this.props;if(!t)return;const r=this.elementRef.current;if(!r)return;const n=e.droppingPosition||{left:0,top:0},{dragging:o}=this.state,i=o&&t.left!==n.left||t.top!==n.top;if(o){if(i){const e=t.left-o.left,n=t.top-o.top;this.onDrag(t.e,{node:r,deltaX:e,deltaY:n},!0)}}else this.onDragStart(t.e,{node:r,deltaX:t.left,deltaY:t.top})}getPositionParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return{cols:e.cols,containerPadding:e.containerPadding,containerWidth:e.containerWidth,margin:e.margin,maxRows:e.maxRows,rowHeight:e.rowHeight}}createStyle(e){const{usePercentages:t,containerWidth:r,useCSSTransforms:n}=this.props;let o;return n?o=(0,l.setTransform)(e):(o=(0,l.setTopLeft)(e),t&&(o.left=(0,l.perc)(e.left/r),o.width=(0,l.perc)(e.width/r))),o}mixinDraggable(e,t){return n.default.createElement(a.DraggableCore,{disabled:!t,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,handle:this.props.handle,cancel:".react-resizable-handle"+(this.props.cancel?","+this.props.cancel:""),scale:this.props.transformScale,nodeRef:this.elementRef},e)}curryResizeHandler(e,t){return(r,n)=>t(r,n,e)}mixinResizable(e,t,r){const{cols:o,minW:i,minH:a,maxW:l,maxH:u,transformScale:d,resizeHandles:f,resizeHandle:p}=this.props,h=this.getPositionParams(),m=(0,c.calcGridItemPosition)(h,0,0,o,0).width,y=(0,c.calcGridItemPosition)(h,0,0,i,a),g=(0,c.calcGridItemPosition)(h,0,0,l,u),v=[y.width,y.height],b=[Math.min(g.width,m),Math.min(g.height,1/0)];return n.default.createElement(s.Resizable,{draggableOpts:{disabled:!r},className:r?void 0:"react-resizable-hide",width:t.width,height:t.height,minConstraints:v,maxConstraints:b,onResizeStop:this.curryResizeHandler(t,this.onResizeStop),onResizeStart:this.curryResizeHandler(t,this.onResizeStart),onResize:this.curryResizeHandler(t,this.onResize),transformScale:d,resizeHandles:f,handle:p},e)}onResizeHandler(e,t,r,n){let{node:i,size:a,handle:s}=t;const u=this.props[n];if(!u)return;const{x:d,y:f,i:p,maxH:h,minH:m,containerWidth:y}=this.props,{minW:g,maxW:v}=this.props;let b=a;i&&(b=(0,l.resizeItemInDirection)(s,r,a,y),(0,o.flushSync)(()=>{this.setState({resizing:"onResizeStop"===n?null:b})}));let{w:x,h:w}=(0,c.calcWH)(this.getPositionParams(),b.width,b.height,d,f,s);x=(0,c.clamp)(x,Math.max(g,1),v),w=(0,c.clamp)(w,m,h),u.call(this,p,x,w,{e,node:i,size:b,handle:s})}render(){const{x:e,y:t,w:r,h:o,isDraggable:i,isResizable:a,droppingPosition:s,useCSSTransforms:l}=this.props,u=(0,c.calcGridItemPosition)(this.getPositionParams(),e,t,r,o,this.state),f=n.default.Children.only(this.props.children);let p=n.default.cloneElement(f,{ref:this.elementRef,className:(0,d.default)("react-grid-item",f.props.className,this.props.className,{static:this.props.static,resizing:Boolean(this.state.resizing),"react-draggable":i,"react-draggable-dragging":Boolean(this.state.dragging),dropping:Boolean(s),cssTransforms:l}),style:{...this.props.style,...f.props.style,...this.createStyle(u)}});return p=this.mixinResizable(p,u,a),p=this.mixinDraggable(p,i),p}}t.default=h,p(h,"propTypes",{children:i.default.element,cols:i.default.number.isRequired,containerWidth:i.default.number.isRequired,rowHeight:i.default.number.isRequired,margin:i.default.array.isRequired,maxRows:i.default.number.isRequired,containerPadding:i.default.array.isRequired,x:i.default.number.isRequired,y:i.default.number.isRequired,w:i.default.number.isRequired,h:i.default.number.isRequired,minW:function(e,t){const r=e[t];return"number"!=typeof r?new Error("minWidth not Number"):r>e.w||r>e.maxW?new Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(e,t){const r=e[t];return"number"!=typeof r?new Error("maxWidth not Number"):r<e.w||r<e.minW?new Error("maxWidth smaller than item width/minWidth"):void 0},minH:function(e,t){const r=e[t];return"number"!=typeof r?new Error("minHeight not Number"):r>e.h||r>e.maxH?new Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(e,t){const r=e[t];return"number"!=typeof r?new Error("maxHeight not Number"):r<e.h||r<e.minH?new Error("maxHeight smaller than item height/minHeight"):void 0},i:i.default.string.isRequired,resizeHandles:u.resizeHandleAxesType,resizeHandle:u.resizeHandleType,onDragStop:i.default.func,onDragStart:i.default.func,onDrag:i.default.func,onResizeStop:i.default.func,onResizeStart:i.default.func,onResize:i.default.func,isDraggable:i.default.bool.isRequired,isResizable:i.default.bool.isRequired,isBounded:i.default.bool.isRequired,static:i.default.bool,useCSSTransforms:i.default.bool.isRequired,transformScale:i.default.number,className:i.default.string,handle:i.default.string,cancel:i.default.string,droppingPosition:i.default.shape({e:i.default.object.isRequired,left:i.default.number.isRequired,top:i.default.number.isRequired})}),p(h,"defaultProps",{className:"",cancel:"",handle:"",minH:1,minW:1,maxH:1/0,maxW:1/0,transformScale:1})},9742(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=r(1548),i=u(r(1508)),a=r(8426),s=r(2134),l=u(r(6392)),c=u(r(634));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f="react-grid-layout";let p=!1;try{p=/firefox/i.test(navigator.userAgent)}catch(e){}class h extends n.Component{constructor(){super(...arguments),d(this,"state",{activeDrag:null,layout:(0,a.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.props.cols,(0,a.compactType)(this.props),this.props.allowOverlap),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null,resizing:!1,droppingDOMNode:null,children:[]}),d(this,"dragEnterCounter",0),d(this,"onDragStart",(e,t,r,n)=>{let{e:o,node:i}=n;const{layout:s}=this.state,l=(0,a.getLayoutItem)(s,e);if(!l)return;const c={w:l.w,h:l.h,x:l.x,y:l.y,placeholder:!0,i:e};return this.setState({oldDragItem:(0,a.cloneLayoutItem)(l),oldLayout:s,activeDrag:c}),this.props.onDragStart(s,l,l,null,o,i)}),d(this,"onDrag",(e,t,r,n)=>{let{e:o,node:i}=n;const{oldDragItem:s}=this.state;let{layout:l}=this.state;const{cols:c,allowOverlap:u,preventCollision:d}=this.props,f=(0,a.getLayoutItem)(l,e);if(!f)return;const p={w:f.w,h:f.h,x:f.x,y:f.y,placeholder:!0,i:e};l=(0,a.moveElement)(l,f,t,r,!0,d,(0,a.compactType)(this.props),c,u),this.props.onDrag(l,s,f,p,o,i),this.setState({layout:u?l:(0,a.compact)(l,(0,a.compactType)(this.props),c),activeDrag:p})}),d(this,"onDragStop",(e,t,r,n)=>{let{e:o,node:i}=n;if(!this.state.activeDrag)return;const{oldDragItem:s}=this.state;let{layout:l}=this.state;const{cols:c,preventCollision:u,allowOverlap:d}=this.props,f=(0,a.getLayoutItem)(l,e);if(!f)return;l=(0,a.moveElement)(l,f,t,r,!0,u,(0,a.compactType)(this.props),c,d);const p=d?l:(0,a.compact)(l,(0,a.compactType)(this.props),c);this.props.onDragStop(p,s,f,null,o,i);const{oldLayout:h}=this.state;this.setState({activeDrag:null,layout:p,oldDragItem:null,oldLayout:null}),this.onLayoutMaybeChanged(p,h)}),d(this,"onResizeStart",(e,t,r,n)=>{let{e:o,node:i}=n;const{layout:s}=this.state,l=(0,a.getLayoutItem)(s,e);l&&(this.setState({oldResizeItem:(0,a.cloneLayoutItem)(l),oldLayout:this.state.layout,resizing:!0}),this.props.onResizeStart(s,l,l,null,o,i))}),d(this,"onResize",(e,t,r,n)=>{let{e:o,node:i,size:s,handle:l}=n;const{oldResizeItem:c}=this.state,{layout:u}=this.state,{cols:d,preventCollision:f,allowOverlap:p}=this.props;let h,m,y,g=!1;const[v,b]=(0,a.withLayoutItem)(u,e,e=>{let n;return m=e.x,y=e.y,-1!==["sw","w","nw","n","ne"].indexOf(l)&&(-1!==["sw","nw","w"].indexOf(l)&&(m=e.x+(e.w-t),t=e.x!==m&&m<0?e.w:t,m=m<0?0:m),-1!==["ne","n","nw"].indexOf(l)&&(y=e.y+(e.h-r),r=e.y!==y&&y<0?e.h:r,y=y<0?0:y),g=!0),f&&!p&&(n=(0,a.getAllCollisions)(u,{...e,w:t,h:r,x:m,y}).filter(t=>t.i!==e.i).length>0,n&&(y=e.y,r=e.h,m=e.x,t=e.w,g=!1)),e.w=t,e.h=r,e});if(!b)return;if(h=v,g){const e=!0;h=(0,a.moveElement)(v,b,m,y,e,this.props.preventCollision,(0,a.compactType)(this.props),d,p)}const x={w:b.w,h:b.h,x:b.x,y:b.y,static:!0,i:e};this.props.onResize(h,c,b,x,o,i),this.setState({layout:p?h:(0,a.compact)(h,(0,a.compactType)(this.props),d),activeDrag:x})}),d(this,"onResizeStop",(e,t,r,n)=>{let{e:o,node:i}=n;const{layout:s,oldResizeItem:l}=this.state,{cols:c,allowOverlap:u}=this.props,d=(0,a.getLayoutItem)(s,e),f=u?s:(0,a.compact)(s,(0,a.compactType)(this.props),c);this.props.onResizeStop(f,l,d,null,o,i);const{oldLayout:p}=this.state;this.setState({activeDrag:null,layout:f,oldResizeItem:null,oldLayout:null,resizing:!1}),this.onLayoutMaybeChanged(f,p)}),d(this,"onDragOver",e=>{if(e.preventDefault(),e.stopPropagation(),p&&!e.nativeEvent.target?.classList.contains(f))return!1;const{droppingItem:t,onDropDragOver:r,margin:o,cols:i,rowHeight:a,maxRows:l,width:c,containerPadding:u,transformScale:d}=this.props,h=r?.(e);if(!1===h)return this.state.droppingDOMNode&&this.removeDroppingPlaceholder(),!1;const m={...t,...h},{layout:y}=this.state,g=e.currentTarget.getBoundingClientRect(),v=e.clientX-g.left,b=e.clientY-g.top,x={left:v/d,top:b/d,e};if(this.state.droppingDOMNode){if(this.state.droppingPosition){const{left:e,top:t}=this.state.droppingPosition;(e!=v||t!=b)&&this.setState({droppingPosition:x})}}else{const e={cols:i,margin:o,maxRows:l,rowHeight:a,containerWidth:c,containerPadding:u||o},t=(0,s.calcXY)(e,b,v,m.w,m.h);this.setState({droppingDOMNode:n.createElement("div",{key:m.i}),droppingPosition:x,layout:[...y,{...m,x:t.x,y:t.y,static:!1,isDraggable:!0}]})}}),d(this,"removeDroppingPlaceholder",()=>{const{droppingItem:e,cols:t}=this.props,{layout:r}=this.state,n=(0,a.compact)(r.filter(t=>t.i!==e.i),(0,a.compactType)(this.props),t,this.props.allowOverlap);this.setState({layout:n,droppingDOMNode:null,activeDrag:null,droppingPosition:void 0})}),d(this,"onDragLeave",e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter--,0===this.dragEnterCounter&&this.removeDroppingPlaceholder()}),d(this,"onDragEnter",e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter++}),d(this,"onDrop",e=>{e.preventDefault(),e.stopPropagation();const{droppingItem:t}=this.props,{layout:r}=this.state,n=r.find(e=>e.i===t.i);this.dragEnterCounter=0,this.removeDroppingPlaceholder(),this.props.onDrop(r,n,e)})}componentDidMount(){this.setState({mounted:!0}),this.onLayoutMaybeChanged(this.state.layout,this.props.layout)}static getDerivedStateFromProps(e,t){let r;return t.activeDrag?null:((0,o.deepEqual)(e.layout,t.propsLayout)&&e.compactType===t.compactType?(0,a.childrenEqual)(e.children,t.children)||(r=t.layout):r=e.layout,r?{layout:(0,a.synchronizeLayoutWithChildren)(r,e.children,e.cols,(0,a.compactType)(e),e.allowOverlap),compactType:e.compactType,children:e.children,propsLayout:e.layout}:null)}shouldComponentUpdate(e,t){return this.props.children!==e.children||!(0,a.fastRGLPropsEqual)(this.props,e,o.deepEqual)||this.state.activeDrag!==t.activeDrag||this.state.mounted!==t.mounted||this.state.droppingPosition!==t.droppingPosition}componentDidUpdate(e,t){if(!this.state.activeDrag){const e=this.state.layout,r=t.layout;this.onLayoutMaybeChanged(e,r)}}containerHeight(){if(!this.props.autoSize)return;const e=(0,a.bottom)(this.state.layout),t=this.props.containerPadding?this.props.containerPadding[1]:this.props.margin[1];return e*this.props.rowHeight+(e-1)*this.props.margin[1]+2*t+"px"}onLayoutMaybeChanged(e,t){t||(t=this.state.layout),(0,o.deepEqual)(t,e)||this.props.onLayoutChange(e)}placeholder(){const{activeDrag:e}=this.state;if(!e)return null;const{width:t,cols:r,margin:o,containerPadding:i,rowHeight:a,maxRows:s,useCSSTransforms:c,transformScale:u}=this.props;return n.createElement(l.default,{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,className:"react-grid-placeholder "+(this.state.resizing?"placeholder-resizing":""),containerWidth:t,cols:r,margin:o,containerPadding:i||o,maxRows:s,rowHeight:a,isDraggable:!1,isResizable:!1,isBounded:!1,useCSSTransforms:c,transformScale:u},n.createElement("div",null))}processGridItem(e,t){if(!e||!e.key)return;const r=(0,a.getLayoutItem)(this.state.layout,String(e.key));if(!r)return null;const{width:o,cols:i,margin:s,containerPadding:c,rowHeight:u,maxRows:d,isDraggable:f,isResizable:p,isBounded:h,useCSSTransforms:m,transformScale:y,draggableCancel:g,draggableHandle:v,resizeHandles:b,resizeHandle:x}=this.props,{mounted:w,droppingPosition:S}=this.state,O="boolean"==typeof r.isDraggable?r.isDraggable:!r.static&&f,k="boolean"==typeof r.isResizable?r.isResizable:!r.static&&p,P=r.resizeHandles||b,C=O&&h&&!1!==r.isBounded;return n.createElement(l.default,{containerWidth:o,cols:i,margin:s,containerPadding:c||s,maxRows:d,rowHeight:u,cancel:g,handle:v,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:O,isResizable:k,isBounded:C,useCSSTransforms:m&&w,usePercentages:!w,transformScale:y,w:r.w,h:r.h,x:r.x,y:r.y,i:r.i,minH:r.minH,minW:r.minW,maxH:r.maxH,maxW:r.maxW,static:r.static,droppingPosition:t?S:void 0,resizeHandles:P,resizeHandle:x},e)}render(){const{className:e,style:t,isDroppable:r,innerRef:o}=this.props,s=(0,i.default)(f,e),l={height:this.containerHeight(),...t};return n.createElement("div",{ref:o,className:s,style:l,onDrop:r?this.onDrop:a.noop,onDragLeave:r?this.onDragLeave:a.noop,onDragEnter:r?this.onDragEnter:a.noop,onDragOver:r?this.onDragOver:a.noop},n.Children.map(this.props.children,e=>this.processGridItem(e)),r&&this.state.droppingDOMNode&&this.processGridItem(this.state.droppingDOMNode,!0),this.placeholder())}}t.default=h,d(h,"displayName","ReactGridLayout"),d(h,"propTypes",c.default),d(h,"defaultProps",{autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isBounded:!1,isDraggable:!0,isResizable:!0,allowOverlap:!1,isDroppable:!1,useCSSTransforms:!0,transformScale:1,verticalCompact:!0,compactType:"vertical",preventCollision:!1,droppingItem:{i:"__dropping-elem__",h:1,w:1},resizeHandles:["se"],onLayoutChange:a.noop,onDragStart:a.noop,onDrag:a.noop,onDragStop:a.noop,onResizeStart:a.noop,onResize:a.noop,onResizeStop:a.noop,onDrop:a.noop,onDropDragOver:a.noop})},634(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandleType=t.resizeHandleAxesType=t.default=void 0;var n=i(r(5556)),o=i(r(9155));function i(e){return e&&e.__esModule?e:{default:e}}const a=t.resizeHandleAxesType=n.default.arrayOf(n.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),s=t.resizeHandleType=n.default.oneOfType([n.default.node,n.default.func]);t.default={className:n.default.string,style:n.default.object,width:n.default.number,autoSize:n.default.bool,cols:n.default.number,draggableCancel:n.default.string,draggableHandle:n.default.string,verticalCompact:function(e){e.verticalCompact},compactType:n.default.oneOf(["vertical","horizontal"]),layout:function(e){var t=e.layout;void 0!==t&&r(8426).validateLayout(t,"layout")},margin:n.default.arrayOf(n.default.number),containerPadding:n.default.arrayOf(n.default.number),rowHeight:n.default.number,maxRows:n.default.number,isBounded:n.default.bool,isDraggable:n.default.bool,isResizable:n.default.bool,allowOverlap:n.default.bool,preventCollision:n.default.bool,useCSSTransforms:n.default.bool,transformScale:n.default.number,isDroppable:n.default.bool,resizeHandles:a,resizeHandle:s,onLayoutChange:n.default.func,onDragStart:n.default.func,onDrag:n.default.func,onDragStop:n.default.func,onResizeStart:n.default.func,onResize:n.default.func,onResizeStop:n.default.func,onDrop:n.default.func,droppingItem:n.default.shape({i:n.default.string.isRequired,w:n.default.number.isRequired,h:n.default.number.isRequired}),children:function(e,t){const r=e[t],n={};o.default.Children.forEach(r,function(e){if(null!=e?.key){if(n[e.key])throw new Error('Duplicate child key "'+e.key+'" found! This will cause problems in ReactGridLayout.');n[e.key]=!0}})},innerRef:n.default.any}},9864(e,t,r){"use strict";t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=c(r(5556)),i=r(1548),a=r(8426),s=r(3108),l=c(r(9742));function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(null,arguments)}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=e=>Object.prototype.toString.call(e);function p(e,t){return null==e?null:Array.isArray(e)?e:e[t]}class h extends n.Component{constructor(){super(...arguments),d(this,"state",this.generateInitialState()),d(this,"onLayoutChange",e=>{this.props.onLayoutChange(e,{...this.props.layouts,[this.state.breakpoint]:e})})}generateInitialState(){const{width:e,breakpoints:t,layouts:r,cols:n}=this.props,o=(0,s.getBreakpointFromWidth)(t,e),i=(0,s.getColsFromBreakpoint)(o,n),a=!1===this.props.verticalCompact?null:this.props.compactType;return{layout:(0,s.findOrGenerateResponsiveLayout)(r,t,o,o,i,a),breakpoint:o,cols:i}}static getDerivedStateFromProps(e,t){if(!(0,i.deepEqual)(e.layouts,t.layouts)){const{breakpoint:r,cols:n}=t;return{layout:(0,s.findOrGenerateResponsiveLayout)(e.layouts,e.breakpoints,r,r,n,e.compactType),layouts:e.layouts}}return null}componentDidUpdate(e){this.props.width==e.width&&this.props.breakpoint===e.breakpoint&&(0,i.deepEqual)(this.props.breakpoints,e.breakpoints)&&(0,i.deepEqual)(this.props.cols,e.cols)||this.onWidthChange(e)}onWidthChange(e){const{breakpoints:t,cols:r,layouts:n,compactType:o}=this.props,i=this.props.breakpoint||(0,s.getBreakpointFromWidth)(this.props.breakpoints,this.props.width),l=this.state.breakpoint,c=(0,s.getColsFromBreakpoint)(i,r),u={...n};if(l!==i||e.breakpoints!==t||e.cols!==r){l in u||(u[l]=(0,a.cloneLayout)(this.state.layout));let e=(0,s.findOrGenerateResponsiveLayout)(u,t,i,l,c,o);e=(0,a.synchronizeLayoutWithChildren)(e,this.props.children,c,o,this.props.allowOverlap),u[i]=e,this.props.onBreakpointChange(i,c),this.props.onLayoutChange(e,u),this.setState({breakpoint:i,layout:e,cols:c})}const d=p(this.props.margin,i),f=p(this.props.containerPadding,i);this.props.onWidthChange(this.props.width,d,c,f)}render(){const{breakpoint:e,breakpoints:t,cols:r,layouts:o,margin:i,containerPadding:a,onBreakpointChange:s,onLayoutChange:c,onWidthChange:d,...f}=this.props;return n.createElement(l.default,u({},f,{margin:p(i,this.state.breakpoint),containerPadding:p(a,this.state.breakpoint),onLayoutChange:this.onLayoutChange,layout:this.state.layout,cols:this.state.cols}))}}t.default=h,d(h,"propTypes",{breakpoint:o.default.string,breakpoints:o.default.object,allowOverlap:o.default.bool,cols:o.default.object,margin:o.default.oneOfType([o.default.array,o.default.object]),containerPadding:o.default.oneOfType([o.default.array,o.default.object]),layouts(e,t){if("[object Object]"!==f(e[t]))throw new Error("Layout property must be an object. Received: "+f(e[t]));Object.keys(e[t]).forEach(t=>{if(!(t in e.breakpoints))throw new Error("Each key in layouts must align with a key in breakpoints.");(0,a.validateLayout)(e.layouts[t],"layouts."+t)})},width:o.default.number.isRequired,onBreakpointChange:o.default.func,onLayoutChange:o.default.func,onWidthChange:o.default.func}),d(h,"defaultProps",{breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:12,md:10,sm:6,xs:4,xxs:2},containerPadding:{lg:null,md:null,sm:null,xs:null,xxs:null},layouts:{},margin:[10,10],allowOverlap:!1,onBreakpointChange:a.noop,onLayoutChange:a.noop,onWidthChange:a.noop})},2134(e,t){"use strict";function r(e){const{margin:t,containerPadding:r,containerWidth:n,cols:o}=e;return(n-t[0]*(o-1)-2*r[0])/o}function n(e,t,r){return Number.isFinite(e)?Math.round(t*e+Math.max(0,e-1)*r):e}function o(e,t,r){return Math.max(Math.min(e,r),t)}Object.defineProperty(t,"__esModule",{value:!0}),t.calcGridColWidth=r,t.calcGridItemPosition=function(e,t,o,i,a,s){const{margin:l,containerPadding:c,rowHeight:u}=e,d=r(e),f={};return s&&s.resizing?(f.width=Math.round(s.resizing.width),f.height=Math.round(s.resizing.height)):(f.width=n(i,d,l[0]),f.height=n(a,u,l[1])),s&&s.dragging?(f.top=Math.round(s.dragging.top),f.left=Math.round(s.dragging.left)):s&&s.resizing&&"number"==typeof s.resizing.top&&"number"==typeof s.resizing.left?(f.top=Math.round(s.resizing.top),f.left=Math.round(s.resizing.left)):(f.top=Math.round((u+l[1])*o+c[1]),f.left=Math.round((d+l[0])*t+c[0])),f},t.calcGridItemWHPx=n,t.calcWH=function(e,t,n,i,a,s){const{margin:l,maxRows:c,cols:u,rowHeight:d}=e,f=r(e);let p=Math.round((t+l[0])/(f+l[0])),h=Math.round((n+l[1])/(d+l[1])),m=o(p,0,u-i),y=o(h,0,c-a);return-1!==["sw","w","nw"].indexOf(s)&&(m=o(p,0,u)),-1!==["nw","n","ne"].indexOf(s)&&(y=o(h,0,c)),{w:m,h:y}},t.calcXY=function(e,t,n,i,a){const{margin:s,containerPadding:l,cols:c,rowHeight:u,maxRows:d}=e,f=r(e);let p=Math.round((n-l[0])/(f+s[0])),h=Math.round((t-l[1])/(u+s[1]));return p=o(p,0,c-i),h=o(h,0,d-a),{x:p,y:h}},t.clamp=o},5001(e,t,r){"use strict";t.default=function(e){var t;return t=class extends n.Component{constructor(){super(...arguments),c(this,"state",{width:1280}),c(this,"elementRef",n.createRef()),c(this,"mounted",!1),c(this,"resizeObserver",void 0)}componentDidMount(){this.mounted=!0,this.resizeObserver=new i.default(e=>{if(this.elementRef.current instanceof HTMLElement){const t=e[0].contentRect.width;this.setState({width:t})}});const e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.observe(e)}componentWillUnmount(){this.mounted=!1;const e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.unobserve(e),this.resizeObserver.disconnect()}render(){const{measureBeforeMount:t,...r}=this.props;return t&&!this.mounted?n.createElement("div",{className:(0,a.default)(this.props.className,"react-grid-layout"),style:this.props.style,ref:this.elementRef}):n.createElement(e,l({innerRef:this.elementRef},r,this.state))}},c(t,"defaultProps",{measureBeforeMount:!1}),c(t,"propTypes",{measureBeforeMount:o.default.bool}),t};var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=s(r(5556)),i=s(r(3591)),a=s(r(1508));function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(null,arguments)}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},2590(e){e.exports=function(e,t,r){return e===t||e.className===t.className&&r(e.style,t.style)&&e.width===t.width&&e.autoSize===t.autoSize&&e.cols===t.cols&&e.draggableCancel===t.draggableCancel&&e.draggableHandle===t.draggableHandle&&r(e.verticalCompact,t.verticalCompact)&&r(e.compactType,t.compactType)&&r(e.layout,t.layout)&&r(e.margin,t.margin)&&r(e.containerPadding,t.containerPadding)&&e.rowHeight===t.rowHeight&&e.maxRows===t.maxRows&&e.isBounded===t.isBounded&&e.isDraggable===t.isDraggable&&e.isResizable===t.isResizable&&e.allowOverlap===t.allowOverlap&&e.preventCollision===t.preventCollision&&e.useCSSTransforms===t.useCSSTransforms&&e.transformScale===t.transformScale&&e.isDroppable===t.isDroppable&&r(e.resizeHandles,t.resizeHandles)&&r(e.resizeHandle,t.resizeHandle)&&e.onLayoutChange===t.onLayoutChange&&e.onDragStart===t.onDragStart&&e.onDrag===t.onDrag&&e.onDragStop===t.onDragStop&&e.onResizeStart===t.onResizeStart&&e.onResize===t.onResize&&e.onResizeStop===t.onResizeStop&&e.onDrop===t.onDrop&&r(e.droppingItem,t.droppingItem)&&r(e.innerRef,t.innerRef)}},3108(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findOrGenerateResponsiveLayout=function(e,t,r,i,a,s){if(e[r])return(0,n.cloneLayout)(e[r]);let l=e[i];const c=o(t),u=c.slice(c.indexOf(r));for(let t=0,r=u.length;t<r;t++){const r=u[t];if(e[r]){l=e[r];break}}return l=(0,n.cloneLayout)(l||[]),(0,n.compact)((0,n.correctBounds)(l,{cols:a}),s,a)},t.getBreakpointFromWidth=function(e,t){const r=o(e);let n=r[0];for(let o=1,i=r.length;o<i;o++){const i=r[o];t>e[i]&&(n=i)}return n},t.getColsFromBreakpoint=function(e,t){if(!t[e])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]},t.sortBreakpoints=o;var n=r(8426);function o(e){return Object.keys(e).sort(function(t,r){return e[t]-e[r]})}},8426(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bottom=a,t.childrenEqual=function(e,t){return(0,o.deepEqual)(i.default.Children.map(e,e=>e?.key),i.default.Children.map(t,e=>e?.key))&&(0,o.deepEqual)(i.default.Children.map(e,e=>e?.props["data-grid"]),i.default.Children.map(t,e=>e?.props["data-grid"]))},t.cloneLayout=s,t.cloneLayoutItem=c,t.collides=u,t.compact=d,t.compactItem=h,t.compactType=function(e){const{verticalCompact:t,compactType:r}=e||{};return!1===t?null:r},t.correctBounds=m,t.fastPositionEqual=function(e,t){return e.left===t.left&&e.top===t.top&&e.width===t.width&&e.height===t.height},t.fastRGLPropsEqual=void 0,t.getAllCollisions=v,t.getFirstCollision=g,t.getLayoutItem=y,t.getStatics=b,t.modifyLayout=l,t.moveElement=x,t.moveElementAwayFromCollision=w,t.noop=void 0,t.perc=function(e){return 100*e+"%"},t.resizeItemInDirection=function(e,t,r,n){const o=A[e];return o?o(t,{...t,...r},n):r},t.setTopLeft=function(e){let{top:t,left:r,width:n,height:o}=e;return{top:`${t}px`,left:`${r}px`,width:`${n}px`,height:`${o}px`,position:"absolute"}},t.setTransform=function(e){let{top:t,left:r,width:n,height:o}=e;const i=`translate(${r}px,${t}px)`;return{transform:i,WebkitTransform:i,MozTransform:i,msTransform:i,OTransform:i,width:`${n}px`,height:`${o}px`,position:"absolute"}},t.sortLayoutItems=D,t.sortLayoutItemsByColRow=I,t.sortLayoutItemsByRowCol=T,t.synchronizeLayoutWithChildren=function(e,t,r,n,o){e=e||[];const s=[];i.default.Children.forEach(t,t=>{if(null==t?.key)return;const r=y(e,String(t.key)),n=t.props["data-grid"];r&&null==n?s.push(c(r)):n?s.push(c({...n,i:t.key})):s.push(c({w:1,h:1,x:0,y:a(s),i:String(t.key)}))});const l=m(s,{cols:r});return o?l:d(l,n,r)},t.validateLayout=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout";const r=["x","y","w","h"];if(!Array.isArray(e))throw new Error(t+" must be an array!");for(let n=0,o=e.length;n<o;n++){const o=e[n];for(let e=0;e<r.length;e++){const i=r[e],a=o[i];if("number"!=typeof a||Number.isNaN(a))throw new Error(`ReactGridLayout: ${t}[${n}].${i} must be a number! Received: ${a} (${typeof a})`)}if(void 0!==o.i&&"string"!=typeof o.i)throw new Error(`ReactGridLayout: ${t}[${n}].i must be a string! Received: ${o.i} (${typeof o.i})`)}},t.withLayoutItem=function(e,t,r){let n=y(e,t);return n?(n=r(c(n)),[e=l(e,n),n]):[e,null]};var n,o=r(1548),i=(n=r(9155))&&n.__esModule?n:{default:n};function a(e){let t,r=0;for(let n=0,o=e.length;n<o;n++)t=e[n].y+e[n].h,t>r&&(r=t);return r}function s(e){const t=Array(e.length);for(let r=0,n=e.length;r<n;r++)t[r]=c(e[r]);return t}function l(e,t){const r=Array(e.length);for(let n=0,o=e.length;n<o;n++)t.i===e[n].i?r[n]=t:r[n]=e[n];return r}function c(e){return{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,minW:e.minW,maxW:e.maxW,minH:e.minH,maxH:e.maxH,moved:Boolean(e.moved),static:Boolean(e.static),isDraggable:e.isDraggable,isResizable:e.isResizable,resizeHandles:e.resizeHandles,isBounded:e.isBounded}}function u(e,t){return!(e.i===t.i||e.x+e.w<=t.x||e.x>=t.x+t.w||e.y+e.h<=t.y||e.y>=t.y+t.h)}function d(e,t,r,n){const o=b(e),i=D(e,t),a=Array(e.length);for(let s=0,l=i.length;s<l;s++){let l=c(i[s]);l.static||(l=h(o,l,t,r,i,n),o.push(l)),a[e.indexOf(i[s])]=l,l.moved=!1}return a}t.fastRGLPropsEqual=r(2590);const f={x:"w",y:"h"};function p(e,t,r,n){const o=f[n];t[n]+=1;for(let i=e.map(e=>e.i).indexOf(t.i)+1;i<e.length;i++){const a=e[i];if(!a.static){if(a.y>t.y+t.h)break;u(t,a)&&p(e,a,r+t[o],n)}}t[n]=r}function h(e,t,r,n,o,i){const s="horizontal"===r;if("vertical"===r)for(t.y=Math.min(a(e),t.y);t.y>0&&!g(e,t);)t.y--;else if(s)for(;t.x>0&&!g(e,t);)t.x--;let l;for(;(l=g(e,t))&&(null!==r||!i);)if(s?p(o,t,l.x+l.w,"x"):p(o,t,l.y+l.h,"y"),s&&t.x+t.w>n)for(t.x=n-t.w,t.y++;t.x>0&&!g(e,t);)t.x--;return t.y=Math.max(t.y,0),t.x=Math.max(t.x,0),t}function m(e,t){const r=b(e);for(let n=0,o=e.length;n<o;n++){const o=e[n];if(o.x+o.w>t.cols&&(o.x=t.cols-o.w),o.x<0&&(o.x=0,o.w=t.cols),o.static)for(;g(r,o);)o.y++;else r.push(o)}return e}function y(e,t){for(let r=0,n=e.length;r<n;r++)if(e[r].i===t)return e[r]}function g(e,t){for(let r=0,n=e.length;r<n;r++)if(u(e[r],t))return e[r]}function v(e,t){return e.filter(e=>u(e,t))}function b(e){return e.filter(e=>e.static)}function x(e,t,r,n,o,i,a,l,c){if(t.static&&!0!==t.isDraggable)return e;if(t.y===n&&t.x===r)return e;t.i,String(r),String(n),t.x,t.y;const u=t.x,d=t.y;"number"==typeof r&&(t.x=r),"number"==typeof n&&(t.y=n),t.moved=!0;let f=D(e,a);("vertical"===a&&"number"==typeof n?d>=n:"horizontal"===a&&"number"==typeof r&&u>=r)&&(f=f.reverse());const p=v(f,t),h=p.length>0;if(h&&c)return s(e);if(h&&i)return t.i,t.x=u,t.y=d,t.moved=!1,e;for(let r=0,n=p.length;r<n;r++){const n=p[r];R((t.i,t.x,t.y,n.i,n.x,n.y)),n.moved||(e=n.static?w(e,n,t,o,a,l):w(e,t,n,o,a,l))}return e}function w(e,t,r,n,o,i){const a="horizontal"===o,s="vertical"===o,l=t.static;if(n){n=!1;const c={x:a?Math.max(t.x-r.w,0):r.x,y:s?Math.max(t.y-r.h,0):r.y,w:r.w,h:r.h,i:"-1"},u=g(e,c),d=u&&u.y+u.h>t.y,f=u&&t.x+t.w>u.x;if(!u)return r.i,c.x,c.y,x(e,r,a?c.x:void 0,s?c.y:void 0,n,l,o,i);if(d&&s)return x(e,r,void 0,t.y+1,n,l,o,i);if(d&&null==o)return t.y=r.y,r.y=r.y+r.h,e;if(f&&a)return x(e,t,r.x,void 0,n,l,o,i)}const c=a?r.x+1:void 0,u=s?r.y+1:void 0;return null==c&&null==u?e:x(e,r,a?r.x+1:void 0,s?r.y+1:void 0,n,l,o,i)}const S=(e,t,r,n)=>e+r>n?t:r,O=(e,t,r)=>e<0?t:r,k=e=>Math.max(0,e),P=e=>Math.max(0,e),C=(e,t,r)=>{let{left:n,height:o,width:i}=t;const a=e.top-(o-e.height);return{left:n,width:i,height:O(a,e.height,o),top:P(a)}},j=(e,t,r)=>{let{top:n,left:o,height:i,width:a}=t;return{top:n,height:i,width:S(e.left,e.width,a,r),left:k(o)}},M=(e,t,r)=>{let{top:n,height:o,width:i}=t;const a=e.left-(i-e.width);return{height:o,width:a<0?e.width:S(e.left,e.width,i,r),top:P(n),left:k(a)}},E=(e,t,r)=>{let{top:n,left:o,height:i,width:a}=t;return{width:a,left:o,height:O(n,e.height,i),top:P(n)}},A={n:C,ne:function(){return C(arguments.length<=0?void 0:arguments[0],j(...arguments))},e:j,se:function(){return E(arguments.length<=0?void 0:arguments[0],j(...arguments))},s:E,sw:function(){return E(arguments.length<=0?void 0:arguments[0],M(...arguments))},w:M,nw:function(){return C(arguments.length<=0?void 0:arguments[0],M(...arguments))}};function D(e,t){return"horizontal"===t?I(e):"vertical"===t?T(e):e}function T(e){return e.slice(0).sort(function(e,t){return e.y>t.y||e.y===t.y&&e.x>t.x?1:e.y===t.y&&e.x===t.x?0:-1})}function I(e){return e.slice(0).sort(function(e,t){return e.x>t.x||e.x===t.x&&e.y>t.y?1:-1})}function R(){}t.noop=()=>{}},6816(e,t,r){e.exports=r(9742).default,r(8426),r(2134),e.exports.Responsive=r(9864).default,e.exports.Responsive.utils=r(3108),e.exports.WidthProvider=r(5001).default},4405(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");t.zv=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case i:case u:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case c:case p:case f:case s:return e;default:return t}}case n:return t}}}(e)===o},t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===i||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===c||e.$$typeof===m||void 0!==e.getModuleId)}},5630(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(9155)),o=r(5794),i=r(4030),a=r(8329),s=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var h=function(e){var t,r;function a(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).handleRefs={},t.lastHandleRect=null,t.slack=null,t}r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,p(t,r);var l=a.prototype;return l.componentWillUnmount=function(){this.resetData()},l.resetData=function(){this.lastHandleRect=this.slack=null},l.runConstraints=function(e,t){var r=this.props,n=r.minConstraints,o=r.maxConstraints,i=r.lockAspectRatio;if(!n&&!o&&!i)return[e,t];if(i){var a=this.props.width/this.props.height,s=e-this.props.width,l=t-this.props.height;Math.abs(s)>Math.abs(l*a)?t=e/a:e=t*a}var c=e,u=t,d=this.slack||[0,0],f=d[0],p=d[1];return e+=f,t+=p,n&&(e=Math.max(n[0],e),t=Math.max(n[1],t)),o&&(e=Math.min(o[0],e),t=Math.min(o[1],t)),this.slack=[f+(c-e),p+(u-t)],[e,t]},l.resizeHandler=function(e,t){var r=this;return function(n,o){var i=o.node,a=o.deltaX,s=o.deltaY;"onResizeStart"===e&&r.resetData();var l=("both"===r.props.axis||"x"===r.props.axis)&&"n"!==t&&"s"!==t,c=("both"===r.props.axis||"y"===r.props.axis)&&"e"!==t&&"w"!==t;if(l||c){var u=t[0],d=t[t.length-1],f=i.getBoundingClientRect();null!=r.lastHandleRect&&("w"===d&&(a+=f.left-r.lastHandleRect.left),"n"===u&&(s+=f.top-r.lastHandleRect.top)),r.lastHandleRect=f,"w"===d&&(a=-a),"n"===u&&(s=-s);var p=r.props.width+(l?a/r.props.transformScale:0),h=r.props.height+(c?s/r.props.transformScale:0),m=r.runConstraints(p,h);p=m[0],h=m[1];var y=p!==r.props.width||h!==r.props.height,g="function"==typeof r.props[e]?r.props[e]:null;g&&!("onResize"===e&&!y)&&(null==n.persist||n.persist(),g(n,{node:i,size:{width:p,height:h},handle:t})),"onResizeStop"===e&&r.resetData()}}},l.renderResizeHandle=function(e,t){var r=this.props.handle;if(!r)return n.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+e,ref:t});if("function"==typeof r)return r(e,t);var o=d({ref:t},"string"==typeof r.type?{}:{handleAxis:e});return n.cloneElement(r,o)},l.render=function(){var e=this,t=this.props,r=t.children,a=t.className,l=t.draggableOpts,u=(t.width,t.height,t.handle,t.handleSize,t.lockAspectRatio,t.axis,t.minConstraints,t.maxConstraints,t.onResize,t.onResizeStop,t.onResizeStart,t.resizeHandles),f=(t.transformScale,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,s));return(0,i.cloneElement)(r,d(d({},f),{},{className:(a?a+" ":"")+"react-resizable",children:[].concat(r.props.children,u.map(function(t){var r,i=null!=(r=e.handleRefs[t])?r:e.handleRefs[t]=n.createRef();return n.createElement(o.DraggableCore,c({},l,{nodeRef:i,key:"resizableHandle-"+t,onStop:e.resizeHandler("onResizeStop",t),onStart:e.resizeHandler("onResizeStart",t),onDrag:e.resizeHandler("onResize",t)}),e.renderResizeHandle(t,i))}))}))},a}(n.Component);t.default=h,h.propTypes=a.resizableProps,h.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},5661(e,t,r){"use strict";t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(9155)),o=l(r(5556)),i=l(r(5630)),a=r(8329),s=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var m=function(e){var t,r;function o(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).state={width:t.props.width,height:t.props.height,propsWidth:t.props.width,propsHeight:t.props.height},t.onResize=function(e,r){var n=r.size;t.props.onResize?(null==e.persist||e.persist(),t.setState(n,function(){return t.props.onResize&&t.props.onResize(e,r)})):t.setState(n)},t}return r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,h(t,r),o.getDerivedStateFromProps=function(e,t){return t.propsWidth!==e.width||t.propsHeight!==e.height?{width:e.width,height:e.height,propsWidth:e.width,propsHeight:e.height}:null},o.prototype.render=function(){var e=this.props,t=e.handle,r=e.handleSize,o=(e.onResize,e.onResizeStart),a=e.onResizeStop,l=e.draggableOpts,c=e.minConstraints,d=e.maxConstraints,p=e.lockAspectRatio,h=e.axis,m=(e.width,e.height,e.resizeHandles),y=e.style,g=e.transformScale,v=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,s);return n.createElement(i.default,{axis:h,draggableOpts:l,handle:t,handleSize:r,height:this.state.height,lockAspectRatio:p,maxConstraints:d,minConstraints:c,onResizeStart:o,onResize:this.onResize,onResizeStop:a,resizeHandles:m,transformScale:g,width:this.state.width},n.createElement("div",u({},v,{style:f(f({},y),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},o}(n.Component);t.default=m,m.propTypes=f(f({},a.resizableProps),{},{children:o.default.element})},8329(e,t,r){"use strict";t.__esModule=!0,t.resizableProps=void 0;var n,o=(n=r(5556))&&n.__esModule?n:{default:n};r(5794);var i={axis:o.default.oneOf(["both","x","y","none"]),className:o.default.string,children:o.default.element.isRequired,draggableOpts:o.default.shape({allowAnyClick:o.default.bool,cancel:o.default.string,children:o.default.node,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:o.default.node,grid:o.default.arrayOf(o.default.number),handle:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number}),height:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=t[0];return"both"===i.axis||"y"===i.axis?(n=o.default.number).isRequired.apply(n,t):o.default.number.apply(o.default,t)},handle:o.default.oneOfType([o.default.node,o.default.func]),handleSize:o.default.arrayOf(o.default.number),lockAspectRatio:o.default.bool,maxConstraints:o.default.arrayOf(o.default.number),minConstraints:o.default.arrayOf(o.default.number),onResizeStop:o.default.func,onResizeStart:o.default.func,onResize:o.default.func,resizeHandles:o.default.arrayOf(o.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:o.default.number,width:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=t[0];return"both"===i.axis||"x"===i.axis?(n=o.default.number).isRequired.apply(n,t):o.default.number.apply(o.default,t)}};t.resizableProps=i},4030(e,t,r){"use strict";t.__esModule=!0,t.cloneElement=function(e,t){return t.style&&e.props.style&&(t.style=a(a({},e.props.style),t.style)),t.className&&e.props.className&&(t.className=e.props.className+" "+t.className),o.default.cloneElement(e,t)};var n,o=(n=r(9155))&&n.__esModule?n:{default:n};function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},6036(e,t,r){"use strict";e.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},e.exports.Resizable=r(5630).default,e.exports.ResizableBox=r(5661).default},1020(e,t,r){"use strict";var n=r(9155),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,n)&&!l.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},4848(e,t,r){"use strict";e.exports=r(1020)},3591(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>O});var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),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(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e){var t=!1,r=!1,n=0;function o(){t&&(t=!1,e()),r&&s()}function i(){a(o)}function s(){var e=Date.now();if(t){if(e-n<2)return;r=!0}else t=!0,r=!1,setTimeout(i,20);n=e}return s}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(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(){o&&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(e){var t=e.propertyName,r=void 0===t?"":t;s.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+p(e["border-"+r+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return o?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return f;var n=d(e).getComputedStyle(e),o=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=e["padding-"+o];t[o]=p(i)}return t}(n),i=o.left+o.right,a=o.top+o.bottom,s=p(n.width),l=p(n.height);if("border-box"===n.boxSizing&&(Math.round(s+i)!==t&&(s-=h(n,"left","right")+i),Math.round(l+a)!==r&&(l-=h(n,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-r;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return g(o.left,o.top,s,l)}(e):f}function g(e,t,r,n){return{x:e,y:t,width:r,height:n}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),b=function(e,t){var r,n,o,i,a,s,l,c=(n=(r=t).x,o=r.y,i=r.width,a=r.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),u(l,{x:n,y:o,width:i,height:a,top:o,right:n+i,bottom:a+o,left:n}),l);u(this,{target:e,contentRect:c})},x=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new b(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,S=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 r=c.getInstance(),n=new x(t,r,this);w.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){S.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});const O=void 0!==i.ResizeObserver?i.ResizeObserver:S},5072(e){"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var f=r(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,n);n.byIndex=s,t.splice(s,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var i=n(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=r(i[a]);t[s].references--}for(var l=n(e,o),c=0;c<i.length;c++){var u=r(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},7659(e){"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},540(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056(e,t,r){"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7825(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},8493(e,t,r){"use strict";var n=r(9155),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,a=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,u=n[1];return s(function(){o.value=r,o.getSnapshot=t,c(o)&&u({inst:o})},[e,r,t]),a(function(){return c(o)&&u({inst:o}),e(function(){c(o)&&u({inst:o})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},2162(e,t,r){"use strict";var n=r(9155),o=r(9888),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=n.useRef,l=n.useEffect,c=n.useMemo,u=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!l){if(l=!0,a=e,e=n(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var r=n(e);return void 0!==o&&o(t,r)?(a=e,t):(a=e,s=r)}var a,s,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,n,o]);var p=a(e,d[0],d[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}},5160(e,t,r){"use strict";var n=r(9155);"function"==typeof Object.is&&Object.is,n.useSyncExternalStore,n.useRef,n.useEffect,n.useMemo,n.useDebugValue},9888(e,t,r){"use strict";e.exports=r(8493)},9242(e,t,r){"use strict";e.exports=r(2162)},8418(e,t,r){"use strict";r(5160)},9155(t){"use strict";t.exports=e},9514(e){"use strict";e.exports=t},6942(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,i(r)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};r=r||[null,n({}),n([]),n(n)];for(var s=2&t&&e;("object"==typeof s||"function"==typeof s)&&!~r.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0;var s={};return(()=>{"use strict";a.r(s),a.d(s,{BarChart:()=>PV,Dashboard:()=>b6,HeatMap:()=>UV,LineChart:()=>TV});var e={};a.r(e),a.d(e,{scaleBand:()=>Ex,scaleDiverging:()=>UP,scaleDivergingLog:()=>KP,scaleDivergingPow:()=>GP,scaleDivergingSqrt:()=>QP,scaleDivergingSymlog:()=>YP,scaleIdentity:()=>hS,scaleImplicit:()=>jx,scaleLinear:()=>pS,scaleLog:()=>OS,scaleOrdinal:()=>Mx,scalePoint:()=>Dx,scalePow:()=>TS,scaleQuantile:()=>VS,scaleQuantize:()=>WS,scaleRadial:()=>NS,scaleSequential:()=>LP,scaleSequentialLog:()=>BP,scaleSequentialPow:()=>VP,scaleSequentialQuantile:()=>HP,scaleSequentialSqrt:()=>WP,scaleSequentialSymlog:()=>$P,scaleSqrt:()=>IS,scaleSymlog:()=>jS,scaleThreshold:()=>HS,scaleTime:()=>NP,scaleUtc:()=>FP,tickFormat:()=>dS});var t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},r=new class{#e=t;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},n="undefined"==typeof window||"Deno"in globalThis;function o(){}function i(e){return"number"==typeof e&&e>=0&&e!==1/0}function l(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t){return"function"==typeof e?e(t):e}function u(e,t){return"function"==typeof e?e(t):e}function d(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(n){if(t.queryHash!==p(a,t.options))return!1}else if(!m(t.queryKey,a))return!1;if("all"!==r){const e=t.isActive();if("active"===r&&!e)return!1;if("inactive"===r&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function f(e,t){const{exact:r,status:n,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(h(t.options.mutationKey)!==h(i))return!1}else if(!m(t.options.mutationKey,i))return!1}return!(n&&t.state.status!==n||o&&!o(t))}function p(e,t){return(t?.queryKeyHashFn||h)(e)}function h(e){return JSON.stringify(e,(e,t)=>x(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function m(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(r=>m(e[r],t[r]))}var y=Object.prototype.hasOwnProperty;function g(e,t){if(e===t)return e;const r=b(e)&&b(t);if(!(r||x(e)&&x(t)))return t;const n=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),i=o.length,a=r?new Array(i):{};let s=0;for(let l=0;l<i;l++){const i=r?l:o[l],c=e[i],u=t[i];if(c===u){a[i]=c,(r?l<n:y.call(e,i))&&s++;continue}if(null===c||null===u||"object"!=typeof c||"object"!=typeof u){a[i]=u;continue}const d=g(c,u);a[i]=d,d===c&&s++}return n===i&&s===n?e:a}function v(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function b(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function x(e){if(!w(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!!w(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function S(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?g(e,t):t}function O(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function k(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var P=Symbol();function C(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==P?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var j=function(e){setTimeout(e,0)},M=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},o=j;const i=n=>{t?e.push(n):o(()=>{r(n)})};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{n(()=>{t.forEach(e=>{r(e)})})})})()}return a},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{o=e}}}(),E=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},A=new class extends E{#r;#n;#o;constructor(){super(),this.#o=e=>{if(!n&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#n||this.setEventListener(this.#o)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#o=e,this.#n?.(),this.#n=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#r!==e&&(this.#r=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#r?this.#r:"hidden"!==globalThis.document?.visibilityState}},D=new class extends E{#i=!0;#n;#o;constructor(){super(),this.#o=e=>{if(!n&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#n||this.setEventListener(this.#o)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#o=e,this.#n?.(),this.#n=e(this.setOnline.bind(this))}setOnline(e){this.#i!==e&&(this.#i=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#i}};function T(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}function I(e){return Math.min(1e3*2**e,3e4)}function R(e){return"online"!==(e??"online")||D.isOnline()}var N=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function F(e){let t,o=!1,i=0;const a=T(),s=()=>"pending"!==a.status,l=()=>A.isFocused()&&("always"===e.networkMode||D.isOnline())&&e.canRun(),c=()=>R(e.networkMode)&&e.canRun(),u=e=>{s()||(t?.(),a.resolve(e))},d=e=>{s()||(t?.(),a.reject(e))},f=()=>new Promise(r=>{t=e=>{(s()||l())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,s()||e.onContinue?.()}),p=()=>{if(s())return;let t;const a=0===i?e.initialPromise:void 0;try{t=a??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(u).catch(t=>{if(s())return;const a=e.retry??(n?0:3),c=e.retryDelay??I,u="function"==typeof c?c(i,t):c,h=!0===a||"number"==typeof a&&i<a||"function"==typeof a&&a(i,t);var m;!o&&h?(i++,e.onFail?.(i,t),(m=u,new Promise(e=>{r.setTimeout(e,m)})).then(()=>l()?void 0:f()).then(()=>{o?d(t):p()})):d(t)})};return{promise:a,status:()=>a.status,cancel:t=>{if(!s()){const r=new N(t);d(r),e.onCancel?.(r)}},continue:()=>(t?.(),a),cancelRetry:()=>{o=!0},continueRetry:()=>{o=!1},canStart:c,start:()=>(c()?p():f().then(p),a)}}var _=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),i(this.gcTime)&&(this.#a=r.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n?1/0:3e5))}clearGcTimeout(){this.#a&&(r.clearTimeout(this.#a),this.#a=void 0)}},z=class extends _{#s;#l;#c;#u;#d;#f;#p;constructor(e){super(),this.#p=!1,this.#f=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#c=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#s=$(this.options),this.state=e.state??this.#s,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#f,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=$(this.options);void 0!==e.data&&(this.setState(B(e.data,e.dataUpdatedAt)),this.#s=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(e,t){const r=S(this.state.data,e,this.options);return this.#h({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#h({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#d?.promise;return this.#d?.cancel(e),t?t.then(o).catch(o):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#s)}isActive(){return this.observers.some(e=>!1!==u(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===P||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===c(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!l(this.state.dataUpdatedAt,e))}onFocus(){const e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){const e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#p?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#h({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#d?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const r=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#p=!0,r.signal)})},o=()=>{const e=C(this.options,t),r=(()=>{const e={client:this.#u,queryKey:this.queryKey,meta:this.meta};return n(e),e})();return this.#p=!1,this.options.persister?this.options.persister(e,r,this):e(r)},i=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:o};return n(e),e})();this.options.behavior?.onFetch(i,this),this.#l=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===i.fetchOptions?.meta||this.#h({type:"fetch",meta:i.fetchOptions?.meta}),this.#d=F({initialPromise:t?.initialPromise,fn:i.fetchFn,onCancel:e=>{e instanceof N&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#h({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#h({type:"pause"})},onContinue:()=>{this.#h({type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0});try{const e=await this.#d.start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#c.config.onSuccess?.(e,this),this.#c.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof N){if(e.silent)return this.#d.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#h({type:"error",error:e}),this.#c.config.onError?.(e,this),this.#c.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#h(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...L(t.data,this.options),fetchMeta:e.meta??null};case"success":const r={...t,...B(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?r:void 0,r;case"error":const n=e.error;return{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),M.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:e})})}};function L(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:R(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function B(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function $(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var V=class extends E{constructor(e={}){super(),this.config=e,this.#m=new Map}#m;build(e,t,r){const n=t.queryKey,o=t.queryHash??p(n,t);let i=this.get(o);return i||(i=new z({client:e,queryKey:n,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(i)),i}add(e){this.#m.has(e.queryHash)||(this.#m.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#m.get(e.queryHash);t&&(e.destroy(),t===e&&this.#m.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#m.get(e)}getAll(){return[...this.#m.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>d(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>d(e,t)):t}notify(e){M.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){M.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){M.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},W=class extends _{#u;#y;#g;#d;constructor(e){super(),this.#u=e.client,this.mutationId=e.mutationId,this.#g=e.mutationCache,this.#y=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#y.includes(e)||(this.#y.push(e),this.clearGcTimeout(),this.#g.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#y=this.#y.filter(t=>t!==e),this.scheduleGc(),this.#g.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#y.length||("pending"===this.state.status?this.scheduleGc():this.#g.remove(this))}continue(){return this.#d?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#h({type:"continue"})},r={client:this.#u,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#d=F({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#h({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#h({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#g.canRun(this)});const n="pending"===this.state.status,o=!this.#d.canStart();try{if(n)t();else{this.#h({type:"pending",variables:e,isPaused:o}),await(this.#g.config.onMutate?.(e,this,r));const t=await(this.options.onMutate?.(e,r));t!==this.state.context&&this.#h({type:"pending",context:t,variables:e,isPaused:o})}const i=await this.#d.start();return await(this.#g.config.onSuccess?.(i,e,this.state.context,this,r)),await(this.options.onSuccess?.(i,e,this.state.context,r)),await(this.#g.config.onSettled?.(i,null,this.state.variables,this.state.context,this,r)),await(this.options.onSettled?.(i,null,e,this.state.context,r)),this.#h({type:"success",data:i}),i}catch(t){try{throw await(this.#g.config.onError?.(t,e,this.state.context,this,r)),await(this.options.onError?.(t,e,this.state.context,r)),await(this.#g.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r)),await(this.options.onSettled?.(void 0,t,e,this.state.context,r)),t}finally{this.#h({type:"error",error:t})}}finally{this.#g.runNext(this)}}#h(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),M.batch(()=>{this.#y.forEach(t=>{t.onMutationUpdate(e)}),this.#g.notify({mutation:this,type:"updated",action:e})})}},H=class extends E{constructor(e={}){super(),this.config=e,this.#v=new Set,this.#b=new Map,this.#x=0}#v;#b;#x;build(e,t,r){const n=new W({client:e,mutationCache:this,mutationId:++this.#x,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#v.add(e);const t=q(e);if("string"==typeof t){const r=this.#b.get(t);r?r.push(e):this.#b.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#v.delete(e)){const t=q(e);if("string"==typeof t){const r=this.#b.get(t);if(r)if(r.length>1){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#b.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=q(e);if("string"==typeof t){const r=this.#b.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}return!0}runNext(e){const t=q(e);if("string"==typeof t){const r=this.#b.get(t)?.find(t=>t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}return Promise.resolve()}clear(){M.batch(()=>{this.#v.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#v.clear(),this.#b.clear()})}getAll(){return Array.from(this.#v)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>f(t,e))}findAll(e={}){return this.getAll().filter(t=>f(e,t))}notify(e){M.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return M.batch(()=>Promise.all(e.map(e=>e.continue().catch(o))))}};function q(e){return e.options.scope?.id}function U(e){return{onFetch:(t,r)=>{const n=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let r=!1;const c=C(t.options,t.fetchOptions),u=async(e,n,o)=>{if(r)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const i=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:n,direction:o?"backward":"forward",meta:t.options.meta};return(e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",()=>{r=!0}),t.signal)})})(e),e})(),a=await c(i),{maxPages:s}=t.options,l=o?k:O;return{pages:l(e.pages,a,s),pageParams:l(e.pageParams,n,s)}};if(o&&i.length){const e="backward"===o,t={pages:i,pageParams:a},r=(e?Y:K)(n,t);s=await u(t,r,e)}else{const t=e??i.length;do{const e=0===l?a[0]??n.initialPageParam:K(n,s);if(l>0&&null==e)break;s=await u(s,e),l++}while(l<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=c}}}function K(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function Y(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var G=a(9155),Q=a.t(G,2),X=a.n(G);function Z(e){return e}function J(e){return{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}}function ee(e,t,r){return{dehydratedAt:Date.now(),state:{...e.state,...void 0!==e.state.data&&{data:t(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,..."pending"===e.state.status&&{promise:(()=>{const n=e.promise?.then(t).catch(e=>r(e)?Promise.reject(new Error("redacted")):Promise.reject(e));return n?.catch(o),n})()},...e.meta&&{meta:e.meta}}}function te(e){return e.state.isPaused}function re(e){return"success"===e.state.status}function ne(e){return!0}function oe(e,t={}){const r=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??te,n=e.getMutationCache().getAll().flatMap(e=>r(e)?[J(e)]:[]),o=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??re,i=t.shouldRedactErrors??e.getDefaultOptions().dehydrate?.shouldRedactErrors??ne,a=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??Z;return{mutations:n,queries:e.getQueryCache().getAll().flatMap(e=>o(e)?[ee(e,a,i)]:[])}}var ie=["added","removed","updated"];function ae(e){return ie.includes(e)}async function se({queryClient:e,persister:t,maxAge:r=864e5,buster:n="",hydrateOptions:i}){try{const a=await t.restoreClient();if(a){if(!a.timestamp)return t.removeClient();{const s=Date.now()-a.timestamp>r,l=a.buster!==n;if(s||l)return t.removeClient();!function(e,t,r){if("object"!=typeof t||null===t)return;const n=e.getMutationCache(),i=e.getQueryCache(),a=r?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??Z,s=t.mutations||[],l=t.queries||[];s.forEach(({state:t,...o})=>{n.build(e,{...e.getDefaultOptions().hydrate?.mutations,...r?.defaultOptions?.mutations,...o},t)}),l.forEach(({queryKey:t,state:n,queryHash:s,meta:l,promise:c,dehydratedAt:u})=>{const d=c?function(e){let t;if(e.then(e=>(t=e,e),o)?.catch(o),void 0!==t)return{data:t}}(c):void 0,f=void 0===n.data?d?.data:n.data,p=void 0===f?f:a(f);let h=i.get(s);const m="pending"===h?.state.status,y="fetching"===h?.state.fetchStatus;if(h){const e=d&&void 0!==u&&u>h.state.dataUpdatedAt;if(n.dataUpdatedAt>h.state.dataUpdatedAt||e){const{fetchStatus:e,...t}=n;h.setState({...t,data:p})}}else h=i.build(e,{...e.getDefaultOptions().hydrate?.queries,...r?.defaultOptions?.queries,queryKey:t,queryHash:s,meta:l},{...n,data:p,fetchStatus:"idle",status:void 0!==p?"success":n.status});c&&!m&&!y&&(void 0===u||u>h.state.dataUpdatedAt)&&h.fetch(void 0,{initialPromise:Promise.resolve(c).then(a)}).catch(o)})}(e,a.clientState,i)}}}catch(e){throw await t.removeClient(),e}}async function le({queryClient:e,persister:t,buster:r="",dehydrateOptions:n}){const o={buster:r,timestamp:Date.now(),clientState:oe(e,n)};await t.persistClient(o)}var ce=a(4848),ue=G.createContext(void 0),de=e=>{const t=G.useContext(ue);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},fe=({client:e,children:t})=>(G.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,ce.jsx)(ue.Provider,{value:e,children:t})),pe=G.createContext(!1),he=()=>G.useContext(pe),me=pe.Provider,ye=({children:e,persistOptions:t,onSuccess:r,onError:n,...o})=>{const[i,a]=G.useState(!0),s=G.useRef({persistOptions:t,onSuccess:r,onError:n}),l=G.useRef(!1);return G.useEffect(()=>{s.current={persistOptions:t,onSuccess:r,onError:n}}),G.useEffect(()=>{const e={...s.current.persistOptions,queryClient:o.client};return l.current||(l.current=!0,se(e).then(()=>s.current.onSuccess?.()).catch(()=>s.current.onError?.()).finally(()=>{a(!1)})),i?void 0:function(e){const t=e.queryClient.getQueryCache().subscribe(t=>{ae(t.type)&&le(e)}),r=e.queryClient.getMutationCache().subscribe(t=>{ae(t.type)&&le(e)});return()=>{t(),r()}}(e)},[o.client,i]),(0,ce.jsx)(fe,{...o,children:(0,ce.jsx)(me,{value:i,children:e})})},ge=a(6816),ve=a(6942),be=a.n(ve);const xe=(...e)=>e.filter((e,t,r)=>Boolean(e)&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),we=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Se=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase()))(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Oe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const ke=e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1},Pe=(0,G.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:i,iconNode:a,...s},l)=>(0,G.createElement)("svg",{ref:l,...Oe,width:t,height:t,stroke:e,strokeWidth:n?24*Number(r)/Number(t):r,className:xe("lucide",o),...!i&&!ke(s)&&{"aria-hidden":"true"},...s},[...a.map(([e,t])=>(0,G.createElement)(e,t)),...Array.isArray(i)?i:[i]])),Ce=(e,t)=>{const r=(0,G.forwardRef)(({className:r,...n},o)=>(0,G.createElement)(Pe,{ref:o,iconNode:t,className:xe(`lucide-${we(Se(e))}`,`lucide-${e}`,r),...n}));return r.displayName=Se(e),r},je=Ce("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);var Me=a(9514),Ee=a.n(Me);function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}var De=["content","side","align","offset","delay"],Te=["children"];function Ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Re(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach(function(t){Ne(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ne(e,t,r){return(t=function(e){var t=function(e){if("object"!=Ae(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Ae(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ae(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _e(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function ze(e){return function(t){var r=t.content,n=t.side,o=void 0===n?"top":n,i=t.align,a=void 0===i?"center":i,s=t.offset,l=void 0===s?8:s,c=t.delay,u=void 0===c?100:c,d=_e(t,De),f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Fe(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,G.useState)(!1),2),p=f[0],h=f[1],m=(0,G.useRef)(null),y=(0,G.useRef)(null),g=(0,G.useRef)(document.getElementById("dashboard-tooltip-portal"));g.current||(g.current=document.createElement("div"),g.current.setAttribute("id","dashboard-tooltip-portal"),document.body.appendChild(g.current));var v=(0,G.useCallback)(function(){m.current=setTimeout(function(){h(!0)},u)},[u]),b=(0,G.useCallback)(function(){m.current&&clearTimeout(m.current),h(!1)},[]);return(0,G.useEffect)(function(){return function(){m.current&&clearTimeout(m.current)}},[]),(0,G.useEffect)(function(){var e=function(){p&&h(!1)};return window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}},[p]),(0,ce.jsxs)("div",{ref:y,onMouseEnter:v,onMouseLeave:b,className:"dashboard-tooltip-container",children:[(0,ce.jsx)(e,Re({},d)),p&&(0,Me.createPortal)((0,ce.jsx)("div",{style:Re({},function(){if(!y.current)return{};var e=y.current.getBoundingClientRect(),t={};"start"===a?t["top"===o||"bottom"===o?"left":"top"]="".concat(e.left+window.scrollX,"px"):"end"===a?t["top"===o||"bottom"===o?"right":"bottom"]="".concat(window.innerWidth-e.right-window.scrollX,"px"):"top"===o||"bottom"===o?(t.left="".concat(e.left+e.width/2+window.scrollX,"px"),t.transform="translateX(-50%)"):(t.top="".concat(e.top+e.height/2+window.scrollY,"px"),t.transform="translateY(-50%)");var r={};return"top"===o?r.top="".concat(e.top-l+window.scrollY,"px"):"bottom"===o?r.top="".concat(e.bottom+l+window.scrollY,"px"):"left"===o?r.left="".concat(e.left-l+window.scrollX,"px"):"right"===o&&(r.left="".concat(e.right+l+window.scrollX,"px")),Re(Re(Re({},{position:"absolute",zIndex:100}),t),r)}()),className:"dashboard-tooltip",children:r}),g.current)]})}}var Le=ze(function(e){var t=e.children,r=_e(e,Te);return(0,ce.jsx)("span",Re(Re({},r),{},{children:t}))}),Be=class extends E{constructor(e,t){super(),this.options=t,this.#u=e,this.#w=null,this.#S=T(),this.bindMethods(),this.setOptions(t)}#u;#O=void 0;#k=void 0;#P=void 0;#C;#j;#S;#w;#M;#E;#A;#D;#T;#I;#R=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#O.addObserver(this),$e(this.#O,this.options)?this.#N():this.updateResult(),this.#F())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ve(this.#O,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ve(this.#O,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#_(),this.#z(),this.#O.removeObserver(this)}setOptions(e){const t=this.options,r=this.#O;if(this.options=this.#u.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof u(this.options.enabled,this.#O))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#L(),this.#O.setOptions(this.options),t._defaulted&&!v(this.options,t)&&this.#u.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#O,observer:this});const n=this.hasListeners();n&&We(this.#O,r,this.options,t)&&this.#N(),this.updateResult(),!n||this.#O===r&&u(this.options.enabled,this.#O)===u(t.enabled,this.#O)&&c(this.options.staleTime,this.#O)===c(t.staleTime,this.#O)||this.#B();const o=this.#$();!n||this.#O===r&&u(this.options.enabled,this.#O)===u(t.enabled,this.#O)&&o===this.#I||this.#V(o)}getOptimisticResult(e){const t=this.#u.getQueryCache().build(this.#u,e),r=this.createResult(t,e);return n=r,!v(this.getCurrentResult(),n)&&(this.#P=r,this.#j=this.options,this.#C=this.#O.state),r;var n}getCurrentResult(){return this.#P}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#S.status||this.#S.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#R.add(e)}getCurrentQuery(){return this.#O}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#u.defaultQueryOptions(e),r=this.#u.getQueryCache().build(this.#u,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#N({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#P))}#N(e){this.#L();let t=this.#O.fetch(this.options,e);return e?.throwOnError||(t=t.catch(o)),t}#B(){this.#_();const e=c(this.options.staleTime,this.#O);if(n||this.#P.isStale||!i(e))return;const t=l(this.#P.dataUpdatedAt,e)+1;this.#D=r.setTimeout(()=>{this.#P.isStale||this.updateResult()},t)}#$(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#O):this.options.refetchInterval)??!1}#V(e){this.#z(),this.#I=e,!n&&!1!==u(this.options.enabled,this.#O)&&i(this.#I)&&0!==this.#I&&(this.#T=r.setInterval(()=>{(this.options.refetchIntervalInBackground||A.isFocused())&&this.#N()},this.#I))}#F(){this.#B(),this.#V(this.#$())}#_(){this.#D&&(r.clearTimeout(this.#D),this.#D=void 0)}#z(){this.#T&&(r.clearInterval(this.#T),this.#T=void 0)}createResult(e,t){const r=this.#O,n=this.options,o=this.#P,i=this.#C,a=this.#j,s=e!==r?e.state:this.#k,{state:l}=e;let c,d={...l},f=!1;if(t._optimisticResults){const o=this.hasListeners(),i=!o&&$e(e,t),a=o&&We(e,r,t,n);(i||a)&&(d={...d,...L(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:p,errorUpdatedAt:h,status:m}=d;c=d.data;let y=!1;if(void 0!==t.placeholderData&&void 0===c&&"pending"===m){let e;o?.isPlaceholderData&&t.placeholderData===a?.placeholderData?(e=o.data,y=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#A?.state.data,this.#A):t.placeholderData,void 0!==e&&(m="success",c=S(o?.data,e,t),f=!0)}if(t.select&&void 0!==c&&!y)if(o&&c===i?.data&&t.select===this.#M)c=this.#E;else try{this.#M=t.select,c=t.select(c),c=S(o?.data,c,t),this.#E=c,this.#w=null}catch(e){this.#w=e}this.#w&&(p=this.#w,c=this.#E,h=Date.now(),m="error");const g="fetching"===d.fetchStatus,v="pending"===m,b="error"===m,x=v&&g,w=void 0!==c,O={status:m,fetchStatus:d.fetchStatus,isPending:v,isSuccess:"success"===m,isError:b,isInitialLoading:x,isLoading:x,data:c,dataUpdatedAt:d.dataUpdatedAt,error:p,errorUpdatedAt:h,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>s.dataUpdateCount||d.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!v,isLoadingError:b&&!w,isPaused:"paused"===d.fetchStatus,isPlaceholderData:f,isRefetchError:b&&w,isStale:He(e,t),refetch:this.refetch,promise:this.#S,isEnabled:!1!==u(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===O.status?e.reject(O.error):void 0!==O.data&&e.resolve(O.data)},n=()=>{const e=this.#S=O.promise=T();t(e)},o=this.#S;switch(o.status){case"pending":e.queryHash===r.queryHash&&t(o);break;case"fulfilled":"error"!==O.status&&O.data===o.value||n();break;case"rejected":"error"===O.status&&O.error===o.reason||n()}}return O}updateResult(){const e=this.#P,t=this.createResult(this.#O,this.options);this.#C=this.#O.state,this.#j=this.options,void 0!==this.#C.data&&(this.#A=this.#O),v(t,e)||(this.#P=t,this.#W({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#R.size)return!0;const n=new Set(r??this.#R);return this.options.throwOnError&&n.add("error"),Object.keys(this.#P).some(t=>{const r=t;return this.#P[r]!==e[r]&&n.has(r)})})()}))}#L(){const e=this.#u.getQueryCache().build(this.#u,this.options);if(e===this.#O)return;const t=this.#O;this.#O=e,this.#k=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#F()}#W(e){M.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#P)}),this.#u.getQueryCache().notify({query:this.#O,type:"observerResultsUpdated"})})}};function $e(e,t){return function(e,t){return!1!==u(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&Ve(e,t,t.refetchOnMount)}function Ve(e,t,r){if(!1!==u(t.enabled,e)&&"static"!==c(t.staleTime,e)){const n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&He(e,t)}return!1}function We(e,t,r,n){return(e!==t||!1===u(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&He(e,r)}function He(e,t){return!1!==u(t.enabled,e)&&e.isStaleByTime(c(t.staleTime,e))}var qe=G.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),Ue=()=>G.useContext(qe),Ke=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},Ye=e=>{G.useEffect(()=>{e.clearReset()},[e])},Ge=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(o&&void 0===e.data||function(e,t){return"function"==typeof e?e(...t):!!e}(r,[e.error,n])),Qe=e=>{if(e.suspense){const t=1e3,r=e=>"static"===e?e:Math.max(e??t,t),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>r(n(...e)):r(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,t))}},Xe=(e,t)=>e.isLoading&&e.isFetching&&!t,Ze=(e,t)=>e?.suspense&&t.isPending,Je=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function et(e,t){return function(e,t,r){const i=he(),a=Ue(),s=de(r),l=s.defaultQueryOptions(e);s.getDefaultOptions().queries?._experimental_beforeQuery?.(l),l._optimisticResults=i?"isRestoring":"optimistic",Qe(l),Ke(l,a),Ye(a);const c=!s.getQueryCache().get(l.queryHash),[u]=G.useState(()=>new t(s,l)),d=u.getOptimisticResult(l),f=!i&&!1!==e.subscribed;if(G.useSyncExternalStore(G.useCallback(e=>{const t=f?u.subscribe(M.batchCalls(e)):o;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),G.useEffect(()=>{u.setOptions(l)},[l,u]),Ze(l,d))throw Je(l,u,a);if(Ge({result:d,errorResetBoundary:a,throwOnError:l.throwOnError,query:s.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw d.error;if(s.getDefaultOptions().queries?._experimental_afterQuery?.(l,d),l.experimental_prefetchInRender&&!n&&Xe(d,i)){const e=c?Je(l,u,a):s.getQueryCache().get(l.queryHash)?.promise;e?.catch(o).finally(()=>{u.updateResult()})}return l.notifyOnChangeProps?d:u.trackResult(d)}(e,Be,t)}function tt(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var l=n&&n.prototype instanceof s?n:s,c=Object.create(l.prototype);return rt(c,"_invoke",function(r,n,o){var i,s,l,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,s=0,l=e,f.n=r,a}};function p(r,n){for(s=r,l=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];r>3?(o=h===n)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=r<2&&p<i[1])?(s=0,f.v=n,f.n=i[1]):p<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,f.n=h,s=0))}if(o||r>1)return a;throw d=!0,n}return function(o,u,h){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),s=u,l=h;(t=s<2?e:l)||!d;){i||(s?s<3?(s>1&&(f.n=-1),p(s,l)):f.n=l:f.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(d=f.n<0)?l:r.call(n,f))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(r,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(rt(t={},n,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,rt(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,rt(d,"constructor",c),rt(c,"constructor",l),l.displayName="GeneratorFunction",rt(c,o,"GeneratorFunction"),rt(d),rt(d,o,"Generator"),rt(d,n,function(){return this}),rt(d,"toString",function(){return"[object Generator]"}),(tt=function(){return{w:i,m:f}})()}function rt(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}rt=function(e,t,r,n){function i(t,r){rt(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},rt(e,t,r,n)}function nt(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function ot(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){nt(i,n,o,a,s,"next",e)}function s(e){nt(i,n,o,a,s,"throw",e)}a(void 0)})}}function it(e){return it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},it(e)}function at(e){var t={};for(var r in e)null!==e[r]&&void 0!==e[r]&&("object"===it(e[r])?t[r]=JSON.stringify(e[r]):t[r]=String(e[r]));return t}function st(e){var t={"Content-Type":"application/json"};return null!=e&&e.authToken&&(t.Authorization="Bearer ".concat(e.authToken)),null!=e&&e.cookie&&(t.Cookie=e.cookie),t}var lt=function(){var e=ot(tt().m(function e(t){var r,n,o,i,a,s,l,c=arguments;return tt().w(function(e){for(;;)switch(e.n){case 0:return r=c.length>2?c[2]:void 0,n=at((c.length>1&&void 0!==c[1]?c[1]:{})||{}),o=new URLSearchParams(n).toString(),i=o?"".concat(t,"?").concat(o):t,a=st(r),e.n=1,fetch(i,{method:"GET",headers:a,credentials:null!=r&&r.cookie?"include":"same-origin"});case 1:if((s=e.v).ok){e.n=2;break}throw l=s.statusText||"HTTP error",console.error("HTTP GET error:",l,"Status:",s.status),new Error("".concat(l," (status: ").concat(s.status,")"));case 2:return e.n=3,s.json();case 3:return e.a(2,e.v)}},e)}));return function(t){return e.apply(this,arguments)}}(),ct=function(){var e=ot(tt().m(function e(t,r,n){var o,i,a;return tt().w(function(e){for(;;)switch(e.n){case 0:return o=st(n),e.n=1,fetch(t,{method:"POST",headers:o,credentials:null!=n&&n.cookie?"include":"same-origin",body:JSON.stringify(r||{})});case 1:if((i=e.v).ok){e.n=2;break}throw a=i.statusText||"HTTP error",console.error("HTTP POST error:",a,"Status:",i.status),new Error("".concat(a," (status: ").concat(i.status,")"));case 2:return e.n=3,i.json();case 3:return e.a(2,e.v)}},e)}));return function(t,r,n){return e.apply(this,arguments)}}();function ut(e){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ut(e)}function dt(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var l=n&&n.prototype instanceof s?n:s,c=Object.create(l.prototype);return ft(c,"_invoke",function(r,n,o){var i,s,l,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,s=0,l=e,f.n=r,a}};function p(r,n){for(s=r,l=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];r>3?(o=h===n)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=r<2&&p<i[1])?(s=0,f.v=n,f.n=i[1]):p<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,f.n=h,s=0))}if(o||r>1)return a;throw d=!0,n}return function(o,u,h){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),s=u,l=h;(t=s<2?e:l)||!d;){i||(s?s<3?(s>1&&(f.n=-1),p(s,l)):f.n=l:f.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(d=f.n<0)?l:r.call(n,f))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(r,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(ft(t={},n,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,ft(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,ft(d,"constructor",c),ft(c,"constructor",l),l.displayName="GeneratorFunction",ft(c,o,"GeneratorFunction"),ft(d),ft(d,o,"Generator"),ft(d,n,function(){return this}),ft(d,"toString",function(){return"[object Generator]"}),(dt=function(){return{w:i,m:f}})()}function ft(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ft=function(e,t,r,n){function i(t,r){ft(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},ft(e,t,r,n)}function pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ht(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(r),!0).forEach(function(t){mt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function mt(e,t,r){return(t=function(e){var t=function(e){if("object"!=ut(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ut(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ut(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yt(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var gt=function(){var e,t=(e=dt().m(function e(t){var r,n,o,i,a=arguments;return dt().w(function(e){for(;;)switch(e.n){case 0:if(r=a.length>1&&void 0!==a[1]?a[1]:{},n=a.length>2?a[2]:void 0,t){e.n=1;break}throw new Error("Data URL is required to fetch filters");case 1:return e.n=2,lt(t,r,n);case 2:return o=e.v,i={filters:o.filters.map(function(e){return ht(ht({},e),{},{currentValues:e.currentValues.map(function(e){var t=String(e);return"true"===t.toLowerCase()||"false"===t.toLowerCase()?t.charAt(0).toUpperCase()+t.slice(1):t})})})},e.a(2,i)}},e)}),function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){yt(i,n,o,a,s,"next",e)}function s(e){yt(i,n,o,a,s,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}();const vt=Ce("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var xt=function(e){var t=e.onClose,r=e.title,n=e.children,o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,G.useState)(function(){return document.createElement("div")}),1)[0];return(0,G.useEffect)(function(){return document.body.appendChild(o),document.body.style.overflow="hidden",function(){document.body.style.overflow="unset",document.body.removeChild(o)}},[o]),(0,Me.createPortal)((0,ce.jsx)("div",{className:"dashboard-focus-trapping-modal-container",children:(0,ce.jsxs)("div",{className:"dashboard-focus-trapping-modal",children:[(0,ce.jsxs)("div",{className:"dashboard-focus-trapping-modal-header",children:[(0,ce.jsx)("h3",{className:"dashboard-focus-trapping-modal-title",children:r}),(0,ce.jsx)("div",{onClick:t,className:"dashboard-focus-trapping-modal-close-icon",children:(0,ce.jsx)(Le,{content:"Close",side:"left",children:(0,ce.jsx)(vt,{size:20,"aria-hidden":!0})})})]}),(0,ce.jsx)("div",{children:n})]})}),o)};const wt=G.createContext(null);function St(){return G.useContext(wt)}const Ot="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",kt=function(e){const{children:t,theme:r}=e,n=St(),o=G.useMemo(()=>{const e=null===n?{...r}:function(e,t){return"function"==typeof t?t(e):{...e,...t}}(n,r);return null!=e&&(e[Ot]=null!==n),e},[r,n]);return(0,ce.jsx)(wt.Provider,{value:o,children:t})};var Pt=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Ct=Math.abs,jt=String.fromCharCode,Mt=Object.assign;function Et(e){return e.trim()}function At(e,t,r){return e.replace(t,r)}function Dt(e,t){return e.indexOf(t)}function Tt(e,t){return 0|e.charCodeAt(t)}function It(e,t,r){return e.slice(t,r)}function Rt(e){return e.length}function Nt(e){return e.length}function Ft(e,t){return t.push(e),e}var _t=1,zt=1,Lt=0,Bt=0,$t=0,Vt="";function Wt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:_t,column:zt,length:a,return:""}}function Ht(e,t){return Mt(Wt("",null,null,"",null,null,0),e,{length:-e.length},t)}function qt(){return $t=Bt>0?Tt(Vt,--Bt):0,zt--,10===$t&&(zt=1,_t--),$t}function Ut(){return $t=Bt<Lt?Tt(Vt,Bt++):0,zt++,10===$t&&(zt=1,_t++),$t}function Kt(){return Tt(Vt,Bt)}function Yt(){return Bt}function Gt(e,t){return It(Vt,e,t)}function Qt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Xt(e){return _t=zt=1,Lt=Rt(Vt=e),Bt=0,[]}function Zt(e){return Vt="",e}function Jt(e){return Et(Gt(Bt-1,rr(91===e?e+2:40===e?e+1:e)))}function er(e){for(;($t=Kt())&&$t<33;)Ut();return Qt(e)>2||Qt($t)>3?"":" "}function tr(e,t){for(;--t&&Ut()&&!($t<48||$t>102||$t>57&&$t<65||$t>70&&$t<97););return Gt(e,Yt()+(t<6&&32==Kt()&&32==Ut()))}function rr(e){for(;Ut();)switch($t){case e:return Bt;case 34:case 39:34!==e&&39!==e&&rr($t);break;case 40:41===e&&rr(e);break;case 92:Ut()}return Bt}function nr(e,t){for(;Ut()&&e+$t!==57&&(e+$t!==84||47!==Kt()););return"/*"+Gt(t,Bt-1)+"*"+jt(47===e?e:Ut())}function or(e){for(;!Qt(Kt());)Ut();return Gt(e,Bt)}var ir="-ms-",ar="-moz-",sr="-webkit-",lr="comm",cr="rule",ur="decl",dr="@keyframes";function fr(e,t){for(var r="",n=Nt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function pr(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ur:return e.return=e.return||e.value;case lr:return"";case dr:return e.return=e.value+"{"+fr(e.children,n)+"}";case cr:e.value=e.props.join(",")}return Rt(r=fr(e.children,n))?e.return=e.value+"{"+r+"}":""}function hr(e){return Zt(mr("",null,null,null,[""],e=Xt(e),0,[0],e))}function mr(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,m=1,y=1,g=1,v=0,b="",x=o,w=i,S=n,O=b;y;)switch(h=v,v=Ut()){case 40:if(108!=h&&58==Tt(O,d-1)){-1!=Dt(O+=At(Jt(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:O+=Jt(v);break;case 9:case 10:case 13:case 32:O+=er(h);break;case 92:O+=tr(Yt()-1,7);continue;case 47:switch(Kt()){case 42:case 47:Ft(gr(nr(Ut(),Yt()),t,r),l);break;default:O+="/"}break;case 123*m:s[c++]=Rt(O)*g;case 125*m:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+u:-1==g&&(O=At(O,/\f/g,"")),p>0&&Rt(O)-d&&Ft(p>32?vr(O+";",n,r,d-1):vr(At(O," ","")+";",n,r,d-2),l);break;case 59:O+=";";default:if(Ft(S=yr(O,t,r,c,u,o,s,b,x=[],w=[],d),i),123===v)if(0===u)mr(O,t,S,S,x,i,d,s,w);else switch(99===f&&110===Tt(O,3)?100:f){case 100:case 108:case 109:case 115:mr(e,S,S,n&&Ft(yr(e,S,S,0,0,o,s,b,o,x=[],d),w),o,w,d,s,n?x:w);break;default:mr(O,S,S,S,[""],w,0,s,w)}}c=u=p=0,m=g=1,b=O="",d=a;break;case 58:d=1+Rt(O),p=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==qt())continue;switch(O+=jt(v),v*m){case 38:g=u>0?1:(O+="\f",-1);break;case 44:s[c++]=(Rt(O)-1)*g,g=1;break;case 64:45===Kt()&&(O+=Jt(Ut())),f=Kt(),u=d=Rt(b=O+=or(Yt())),v++;break;case 45:45===h&&2==Rt(O)&&(m=0)}}return i}function yr(e,t,r,n,o,i,a,s,l,c,u){for(var d=o-1,f=0===o?i:[""],p=Nt(f),h=0,m=0,y=0;h<n;++h)for(var g=0,v=It(e,d+1,d=Ct(m=a[h])),b=e;g<p;++g)(b=Et(m>0?f[g]+" "+v:At(v,/&\f/g,f[g])))&&(l[y++]=b);return Wt(e,t,r,0===o?cr:s,l,c,u)}function gr(e,t,r){return Wt(e,t,r,lr,jt($t),It(e,2,-2),0)}function vr(e,t,r,n){return Wt(e,t,r,ur,It(e,0,n),It(e,n+1,-1),n)}var br=function(e,t,r){for(var n=0,o=0;n=o,o=Kt(),38===n&&12===o&&(t[r]=1),!Qt(o);)Ut();return Gt(e,Bt)},xr=new WeakMap,wr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||xr.get(r))&&!n){xr.set(e,!0);for(var o=[],i=function(e,t){return Zt(function(e,t){var r=-1,n=44;do{switch(Qt(n)){case 0:38===n&&12===Kt()&&(t[r]=1),e[r]+=br(Bt-1,t,r);break;case 2:e[r]+=Jt(n);break;case 4:if(44===n){e[++r]=58===Kt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=jt(n)}}while(n=Ut());return e}(Xt(e),t))}(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Sr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Or(e,t){switch(function(e,t){return 45^Tt(e,0)?(((t<<2^Tt(e,0))<<2^Tt(e,1))<<2^Tt(e,2))<<2^Tt(e,3):0}(e,t)){case 5103:return sr+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return sr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return sr+e+ar+e+ir+e+e;case 6828:case 4268:return sr+e+ir+e+e;case 6165:return sr+e+ir+"flex-"+e+e;case 5187:return sr+e+At(e,/(\w+).+(:[^]+)/,sr+"box-$1$2"+ir+"flex-$1$2")+e;case 5443:return sr+e+ir+"flex-item-"+At(e,/flex-|-self/,"")+e;case 4675:return sr+e+ir+"flex-line-pack"+At(e,/align-content|flex-|-self/,"")+e;case 5548:return sr+e+ir+At(e,"shrink","negative")+e;case 5292:return sr+e+ir+At(e,"basis","preferred-size")+e;case 6060:return sr+"box-"+At(e,"-grow","")+sr+e+ir+At(e,"grow","positive")+e;case 4554:return sr+At(e,/([^-])(transform)/g,"$1"+sr+"$2")+e;case 6187:return At(At(At(e,/(zoom-|grab)/,sr+"$1"),/(image-set)/,sr+"$1"),e,"")+e;case 5495:case 3959:return At(e,/(image-set\([^]*)/,sr+"$1$`$1");case 4968:return At(At(e,/(.+:)(flex-)?(.*)/,sr+"box-pack:$3"+ir+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+sr+e+e;case 4095:case 3583:case 4068:case 2532:return At(e,/(.+)-inline(.+)/,sr+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Rt(e)-1-t>6)switch(Tt(e,t+1)){case 109:if(45!==Tt(e,t+4))break;case 102:return At(e,/(.+:)(.+)-([^]+)/,"$1"+sr+"$2-$3$1"+ar+(108==Tt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Dt(e,"stretch")?Or(At(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Tt(e,t+1))break;case 6444:switch(Tt(e,Rt(e)-3-(~Dt(e,"!important")&&10))){case 107:return At(e,":",":"+sr)+e;case 101:return At(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+sr+(45===Tt(e,14)?"inline-":"")+"box$3$1"+sr+"$2$3$1"+ir+"$2box$3")+e}break;case 5936:switch(Tt(e,t+11)){case 114:return sr+e+ir+At(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return sr+e+ir+At(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return sr+e+ir+At(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return sr+e+ir+e+e}return e}var kr=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case ur:e.return=Or(e.value,e.length);break;case dr:return fr([Ht(e,{value:At(e.value,"@","@"+sr)})],n);case cr:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return fr([Ht(e,{props:[At(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return fr([Ht(e,{props:[At(t,/:(plac\w+)/,":"+sr+"input-$1")]}),Ht(e,{props:[At(t,/:(plac\w+)/,":-moz-$1")]}),Ht(e,{props:[At(t,/:(plac\w+)/,ir+"input-$1")]})],n)}return""})}}],Pr=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var n,o,i=e.stylisPlugins||kr,a={},s=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;s.push(e)});var l,c,u,d,f=[pr,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(c=[wr,Sr].concat(i,f),u=Nt(c),function(e,t,r,n){for(var o="",i=0;i<u;i++)o+=c[i](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,function(e){fr(hr(e),p)}(e?e+"{"+t.styles+"}":t.styles),n&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new Pt({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h};function Cr(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}var jr=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},Mr=function(e,t,r){jr(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},Er={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Ar(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Dr=/[A-Z]|^ms/g,Tr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ir=function(e){return 45===e.charCodeAt(1)},Rr=function(e){return null!=e&&"boolean"!=typeof e},Nr=Ar(function(e){return Ir(e)?e:e.replace(Dr,"-$&").toLowerCase()}),Fr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Tr,function(e,t,r){return zr={name:t,styles:r,next:zr},t})}return 1===Er[e]||Ir(e)||"number"!=typeof t||0===t?t:t+"px"};function _r(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return zr={name:o.name,styles:o.styles,next:zr},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)zr={name:a.name,styles:a.styles,next:zr},a=a.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=_r(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":Rr(s)&&(n+=Nr(i)+":"+Fr(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=_r(e,t,a);switch(i){case"animation":case"animationName":n+=Nr(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)Rr(a[c])&&(n+=Nr(i)+":"+Fr(i,a[c])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=zr,l=r(e);return zr=s,_r(e,t,l)}}var c=r;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var zr,Lr=/label:\s*([^\s;{]+)\s*(;|$)/g;function Br(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";zr=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=_r(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=_r(r,t,e[a]),n&&(o+=i[a]);Lr.lastIndex=0;for(var s,l="";null!==(s=Lr.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:zr}}var $r=!!G.useInsertionEffect&&G.useInsertionEffect,Vr=$r||function(e){return e()},Wr=$r||G.useLayoutEffect,Hr=G.createContext("undefined"!=typeof HTMLElement?Pr({key:"css"}):null),qr=(Hr.Provider,function(e){return(0,G.forwardRef)(function(t,r){var n=(0,G.useContext)(Hr);return e(t,n,r)})}),Ur=G.createContext({}),Kr={}.hasOwnProperty,Yr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Gr=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return jr(t,r,n),Vr(function(){return Mr(t,r,n)}),null},Qr=qr(function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var o=e[Yr],i=[n],a="";"string"==typeof e.className?a=Cr(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Br(i,void 0,G.useContext(Ur));a+=t.key+"-"+s.name;var l={};for(var c in e)Kr.call(e,c)&&"css"!==c&&c!==Yr&&(l[c]=e[c]);return l.className=a,r&&(l.ref=r),G.createElement(G.Fragment,null,G.createElement(Gr,{cache:t,serialized:s,isStringTag:"string"==typeof o}),G.createElement(o,l))});const Xr=function(e=null){const t=G.useContext(Ur);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r},Zr=G.createContext(),Jr=()=>G.useContext(Zr)??!1,en=function({value:e,...t}){return(0,ce.jsx)(Zr.Provider,{value:e??!0,...t})};function tn(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=tn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function rn(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=tn(e))&&(n&&(n+=" "),n+=t);return n}const nn=rn;function on(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)n[i]={...e[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){n[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;n[i][t]=on(o[t],a[t],r)}}else n[i]=a;else n[i]=o||{}}else"className"===i&&r&&t.className?n.className=nn(e?.className,t?.className):"style"===i&&r&&t.style?n.style={...e?.style,...t?.style}:void 0===n[i]&&(n[i]=e[i])}return n}const an=G.createContext(void 0);const sn=function({value:e,children:t}){return(0,ce.jsx)(an.Provider,{value:e,children:t})},ln="undefined"!=typeof window?G.useLayoutEffect:G.useEffect;let cn=0;const un={...Q}.useId;function dn(e){if(void 0!==un){const t=un();return e??t}return function(e){const[t,r]=G.useState(e),n=e||t;return G.useEffect(()=>{null==t&&(cn+=1,r(`mui-${cn}`))},[t]),n}(e)}function fn(){return fn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fn.apply(null,arguments)}var pn=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,hn=Ar(function(e){return pn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),mn=function(e){return"theme"!==e},yn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?hn:mn},gn=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},vn=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return jr(t,r,n),Vr(function(){return Mr(t,r,n)}),null},bn=function e(t,r){var n,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var s=gn(t,r,i),l=s||yn(a),c=!l("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,h=1;h<p;h++)d.push(u[h],f[h])}var m=qr(function(e,t,r){var n=c&&e.as||a,i="",u=[],f=e;if(null==e.theme){for(var p in f={},e)f[p]=e[p];f.theme=G.useContext(Ur)}"string"==typeof e.className?i=Cr(t.registered,u,e.className):null!=e.className&&(i=e.className+" ");var h=Br(d.concat(u),t.registered,f);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=c&&void 0===s?yn(n):l,y={};for(var g in e)c&&"as"===g||m(g)&&(y[g]=e[g]);return y.className=i,r&&(y.ref=r),G.createElement(G.Fragment,null,G.createElement(vn,{cache:t,serialized:h,isStringTag:"string"==typeof n}),G.createElement(n,y))});return m.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=d,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,n){return e(t,fn({},r,n,{shouldForwardProp:gn(m,n,!0)})).apply(void 0,d)},m}}.bind(null);function xn(e,t){return bn(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){bn[e]=bn(e)});const wn=[];function Sn(e){return wn[0]=e,Br(wn)}a(4146);var On,kn,Pn=function(e,t){var r=arguments;if(null==t||!Kr.call(t,"css"))return G.createElement.apply(void 0,r);var n=r.length,o=new Array(n);o[0]=Qr,o[1]=function(e,t){var r={};for(var n in t)Kr.call(t,n)&&(r[n]=t[n]);return r[Yr]=e,r}(e,t);for(var i=2;i<n;i++)o[i]=r[i];return G.createElement.apply(null,o)};On=Pn||(Pn={}),kn||(kn=On.JSX||(On.JSX={}));var Cn=qr(function(e,t){var r=Br([e.styles],void 0,G.useContext(Ur)),n=G.useRef();return Wr(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),n.current=[o,i],function(){o.flush()}},[t]),Wr(function(){var e=n.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Mr(t,r.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",r,o,!1)}},[t,r.name]),null});function jn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Br(t)}function Mn(){var e=jn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function En(e){const{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,ce.jsx)(Cn,{styles:n})}var An=a(4405);function Dn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Tn(e){if(G.isValidElement(e)||(0,An.Hy)(e)||!Dn(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Tn(e[r])}),t}function In(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Dn(e)&&Dn(t)&&Object.keys(t).forEach(o=>{G.isValidElement(t[o])||(0,An.Hy)(t[o])?n[o]=t[o]:Dn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Dn(e[o])?n[o]=In(e[o],t[o],r):r.clone?n[o]=Dn(t[o])?Tn(t[o]):t[o]:n[o]=t[o]}),n}function Rn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return{keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,...o}}function Nn(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{const n=t[r];return delete e[r],e[r]=n,e},{...t}):t}const Fn={borderRadius:4},_n={xs:0,sm:600,md:900,lg:1200,xl:1536},zn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${_n[e]}px)`},Ln={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:_n[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Bn(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||zn;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){const e=n.breakpoints||zn;return Object.keys(t).reduce((o,i)=>{if(function(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}(e.keys,i)){const e=function(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}(n.containerQueries?n:Ln,i);e&&(o[e]=r(t[i],i))}else if(Object.keys(e.values||_n).includes(i))o[e.up(i)]=r(t[i],i);else{const e=i;o[e]=t[e]}return o},{})}return r(t)}function $n(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}function Vn(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Wn(e){if("string"!=typeof e)throw new Error(Vn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Hn(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function qn(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:Hn(e,r)||n,t&&(o=t(o,n,e)),o}const Un=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Hn(e.theme,n)||{};return Bn(e,i,e=>{let n=qn(a,o,e);return e===n&&"string"==typeof e&&(n=qn(a,o,`${t}${"default"===e?"":Wn(e)}`,e)),!1===r?n:{[r]:n}})};return i.propTypes={},i.filterProps=[t],i},Kn=function(e,t){return t?In(e,t,{clone:!1}):e},Yn={m:"margin",p:"padding"},Gn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Xn=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!Qn[e])return[e];e=Qn[e]}const[t,r]=e.split(""),n=Yn[t],o=Gn[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]})(t)),e[t])}(),Zn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Jn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],eo=[...Zn,...Jn];function to(e,t,r,n){const o=Hn(e,t,!0)??r;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),r=o[t];return e>=0?r:"number"==typeof r?-r:"string"==typeof r&&r.startsWith("var(")?`calc(-1 * ${r})`:`-${r}`}:"function"==typeof o?o:()=>{}}function ro(e){return to(e,"spacing",8)}function no(e,t){return"string"==typeof t||null==t?t:e(t)}function oo(e,t){const r=ro(e.theme);return Object.keys(e).map(n=>function(e,t,r,n){if(!t.includes(r))return null;const o=function(e,t){return r=>e.reduce((e,n)=>(e[n]=no(t,r),e),{})}(Xn(r),n);return Bn(e,e[r],o)}(e,t,n,r)).reduce(Kn,{})}function io(e){return oo(e,Zn)}function ao(e){return oo(e,Jn)}function so(e){return oo(e,eo)}function lo(e=8,t=ro({spacing:e})){if(e.mui)return e;const r=(...e)=>(0===e.length?[1]:e).map(e=>{const r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}io.propTypes={},io.filterProps=Zn,ao.propTypes={},ao.filterProps=Jn,so.propTypes={},so.filterProps=eo;const co=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?Kn(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};function uo(e){return"number"!=typeof e?e:`${e}px solid`}function fo(e,t){return Un({prop:e,themeKey:"borders",transform:t})}const po=fo("border",uo),ho=fo("borderTop",uo),mo=fo("borderRight",uo),yo=fo("borderBottom",uo),go=fo("borderLeft",uo),vo=fo("borderColor"),bo=fo("borderTopColor"),xo=fo("borderRightColor"),wo=fo("borderBottomColor"),So=fo("borderLeftColor"),Oo=fo("outline",uo),ko=fo("outlineColor"),Po=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=to(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:no(t,e)});return Bn(e,e.borderRadius,r)}return null};Po.propTypes={},Po.filterProps=["borderRadius"],co(po,ho,mo,yo,go,vo,bo,xo,wo,So,Po,Oo,ko);const Co=e=>{if(void 0!==e.gap&&null!==e.gap){const t=to(e.theme,"spacing",8),r=e=>({gap:no(t,e)});return Bn(e,e.gap,r)}return null};Co.propTypes={},Co.filterProps=["gap"];const jo=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=to(e.theme,"spacing",8),r=e=>({columnGap:no(t,e)});return Bn(e,e.columnGap,r)}return null};jo.propTypes={},jo.filterProps=["columnGap"];const Mo=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=to(e.theme,"spacing",8),r=e=>({rowGap:no(t,e)});return Bn(e,e.rowGap,r)}return null};function Eo(e,t){return"grey"===t?t:e}function Ao(e){return e<=1&&0!==e?100*e+"%":e}Mo.propTypes={},Mo.filterProps=["rowGap"],co(Co,jo,Mo,Un({prop:"gridColumn"}),Un({prop:"gridRow"}),Un({prop:"gridAutoFlow"}),Un({prop:"gridAutoColumns"}),Un({prop:"gridAutoRows"}),Un({prop:"gridTemplateColumns"}),Un({prop:"gridTemplateRows"}),Un({prop:"gridTemplateAreas"}),Un({prop:"gridArea"})),co(Un({prop:"color",themeKey:"palette",transform:Eo}),Un({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Eo}),Un({prop:"backgroundColor",themeKey:"palette",transform:Eo}));const Do=Un({prop:"width",transform:Ao}),To=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const r=e.theme?.breakpoints?.values?.[t]||_n[t];return r?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Ao(t)}};return Bn(e,e.maxWidth,t)}return null};To.filterProps=["maxWidth"];const Io=Un({prop:"minWidth",transform:Ao}),Ro=Un({prop:"height",transform:Ao}),No=Un({prop:"maxHeight",transform:Ao}),Fo=Un({prop:"minHeight",transform:Ao}),_o=(Un({prop:"size",cssProperty:"width",transform:Ao}),Un({prop:"size",cssProperty:"height",transform:Ao}),co(Do,To,Io,Ro,No,Fo,Un({prop:"boxSizing"})),{border:{themeKey:"borders",transform:uo},borderTop:{themeKey:"borders",transform:uo},borderRight:{themeKey:"borders",transform:uo},borderBottom:{themeKey:"borders",transform:uo},borderLeft:{themeKey:"borders",transform:uo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:uo},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Po},color:{themeKey:"palette",transform:Eo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Eo},backgroundColor:{themeKey:"palette",transform:Eo},p:{style:ao},pt:{style:ao},pr:{style:ao},pb:{style:ao},pl:{style:ao},px:{style:ao},py:{style:ao},padding:{style:ao},paddingTop:{style:ao},paddingRight:{style:ao},paddingBottom:{style:ao},paddingLeft:{style:ao},paddingX:{style:ao},paddingY:{style:ao},paddingInline:{style:ao},paddingInlineStart:{style:ao},paddingInlineEnd:{style:ao},paddingBlock:{style:ao},paddingBlockStart:{style:ao},paddingBlockEnd:{style:ao},m:{style:io},mt:{style:io},mr:{style:io},mb:{style:io},ml:{style:io},mx:{style:io},my:{style:io},margin:{style:io},marginTop:{style:io},marginRight:{style:io},marginBottom:{style:io},marginLeft:{style:io},marginX:{style:io},marginY:{style:io},marginInline:{style:io},marginInlineStart:{style:io},marginInlineEnd:{style:io},marginBlock:{style:io},marginBlockStart:{style:io},marginBlockEnd:{style:io},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:Co},rowGap:{style:Mo},columnGap:{style:jo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ao},maxWidth:{style:To},minWidth:{transform:Ao},height:{transform:Ao},maxHeight:{transform:Ao},minHeight:{transform:Ao},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),zo=_o,Lo=function(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Hn(r,s)||{};return c?c(o):Bn(o,t,t=>{let r=qn(u,l,t);return t===r&&"string"==typeof t&&(r=qn(u,l,`${e}${"default"===t?"":Wn(t)}`,t)),!1===a?r:{[a]:r}})}return function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??zo;function s(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;const s=function(e={}){const t=e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{});return t||{}}(o.breakpoints),l=Object.keys(s);let c=s;return Object.keys(n).forEach(r=>{const i=function(e,t){return"function"==typeof e?e(t):e}(n[r],o);if(null!=i)if("object"==typeof i)if(a[r])c=Kn(c,e(r,i,o,a));else{const e=Bn({theme:o},i,e=>({[r]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)}(e,i)?c=Kn(c,e):c[r]=t({sx:i,theme:o,nested:!0})}else c=Kn(c,e(r,i,o,a))}),!i&&o.modularCssLayers?{"@layer sx":Nn(o,$n(l,c))}:Nn(o,$n(l,c))}return Array.isArray(n)?n.map(s):s(n)}}();Lo.filterProps=["sx"];const Bo=Lo;function $o(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||"function"!=typeof r.getColorSchemeSelector)return{};let n=r.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}const Vo=function(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e;let s=In({breakpoints:Rn(r),direction:"ltr",components:{},palette:{mode:"light",...n},spacing:lo(o),shape:{...Fn,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{const o=t(e.breakpoints.not(...r),n);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const n={},o=e=>(r(n,e),n);return r(o),{...e,containerQueries:o}}(s),s.applyStyles=$o,s=t.reduce((e,t)=>In(e,t),s),s.unstable_sxConfig={...zo,...a?.unstable_sxConfig},s.unstable_sx=function(e){return Bo({sx:e,theme:this})},s},Wo=Vo(),Ho=function(e=Wo){return Xr(e)};function qo(e){const t=Sn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const Uo=function({styles:e,themeId:t,defaultTheme:r={}}){const n=Ho(r),o=t&&n[t]||n;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>qo("function"==typeof e?e(o):e)):qo(i)),(0,ce.jsx)(En,{styles:i})},Ko={};function Yo(e,t,r,n=!1){return G.useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof r){const i=r(o),a=e?{...t,[e]:i}:i;return n?()=>a:a}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,n])}const Go=function(e){const{children:t,theme:r,themeId:n}=e,o=Xr(Ko),i=St()||Ko,a=Yo(n,o,r),s=Yo(n,i,r,!0),l="rtl"===(n?a[n]:a).direction,c=function(e){const t=Xr(),r=dn()||"",{modularCssLayers:n}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",ln(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const n=document.createElement("style");n.setAttribute("data-mui-layer-order",r),n.textContent=o,e.prepend(n)}else e.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[o,r]),o?(0,ce.jsx)(Uo,{styles:o}):null}(a);return(0,ce.jsx)(kt,{theme:s,children:(0,ce.jsx)(Ur.Provider,{value:a,children:(0,ce.jsx)(en,{value:l,children:(0,ce.jsxs)(sn,{value:n?a[n].components:a.components,children:[c,t]})})})})},Qo="$$material";function Xo({theme:e,...t}){const r=Qo in e?e[Qo]:void 0;return(0,ce.jsx)(Go,{...t,themeId:r?Qo:void 0,theme:r||e})}const Zo="mode",Jo="color-scheme",ei="data-color-scheme";function ti(){}const ri=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(r){if("undefined"==typeof window)return;if(!t)return r;let n;try{n=t.localStorage.getItem(e)}catch{}return n||r},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return ti;const n=t=>{const n=t.newValue;t.key===e&&r(n)};return t.addEventListener("storage",n),()=>{t.removeEventListener("storage",n)}}});function ni(){}function oi(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ii(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function ai(e,t=0,r=1){return function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function si(e){if(e.type)return e;if("#"===e.charAt(0))return si(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(Vn(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(Vn(10,n))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:r,values:o,colorSpace:n}}const li=(e,t)=>{try{return(e=>{const t=si(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function ci(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function ui(e){e=si(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),ci({type:s,values:l})}function di(e){let t="hsl"===(e=si(e)).type||"hsla"===e.type?si(ui(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function fi(e,t){return e=si(e),t=ai(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,ci(e)}function pi(e,t,r){try{return fi(e,t)}catch(t){return e}}function hi(e,t){if(e=si(e),t=ai(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return ci(e)}function mi(e,t,r){try{return hi(e,t)}catch(t){return e}}function yi(e,t){if(e=si(e),t=ai(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return ci(e)}function gi(e,t,r){try{return yi(e,t)}catch(t){return e}}function vi(e,t,r){try{return function(e,t=.15){return di(e)>.5?hi(e,t):yi(e,t)}(e,t)}catch(t){return e}}const bi={black:"#000",white:"#fff"},xi={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"},wi="#f3e5f5",Si="#ce93d8",Oi="#ba68c8",ki="#ab47bc",Pi="#9c27b0",Ci="#7b1fa2",ji="#e57373",Mi="#ef5350",Ei="#f44336",Ai="#d32f2f",Di="#c62828",Ti="#ffb74d",Ii="#ffa726",Ri="#ff9800",Ni="#f57c00",Fi="#e65100",_i="#e3f2fd",zi="#90caf9",Li="#42a5f5",Bi="#1976d2",$i="#1565c0",Vi="#4fc3f7",Wi="#29b6f6",Hi="#03a9f4",qi="#0288d1",Ui="#01579b",Ki="#81c784",Yi="#66bb6a",Gi="#4caf50",Qi="#388e3c",Xi="#2e7d32",Zi="#1b5e20";function Ji(){return{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:bi.white,default:bi.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}}}const ea=Ji();function ta(){return{text:{primary:bi.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:bi.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}}}const ra=ta();function na(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=yi(e.main,o):"dark"===t&&(e.dark=hi(e.main,i)))}function oa(e,t,r,n,o){const i=o.light||o,a=o.dark||1.5*o;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:"light"===r?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*i).toFixed(0)}%)`:"dark"===r&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function ia(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||function(e="light"){return"dark"===e?{main:zi,light:_i,dark:Li}:{main:Bi,light:Li,dark:$i}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:Si,light:wi,dark:ki}:{main:Pi,light:Oi,dark:Ci}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Ei,light:ji,dark:Ai}:{main:Ai,light:Mi,dark:Di}}(t),c=e.info||function(e="light"){return"dark"===e?{main:Wi,light:Vi,dark:qi}:{main:qi,light:Hi,dark:Ui}}(t),u=e.success||function(e="light"){return"dark"===e?{main:Yi,light:Ki,dark:Qi}:{main:Xi,light:Gi,dark:Zi}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Ii,light:Ti,dark:Ni}:{main:"#ed6c02",light:Ri,dark:Fi}}(t);function f(e){if(o)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const r=di(e),n=di(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}(e,ra.text.primary)>=r?ra.text.primary:ea.text.primary;return t}const p=({color:e,name:t,mainShade:r=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(Vn(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(Vn(12,t?` (${t})`:"",JSON.stringify(e.main)));return o?(oa(o,e,"light",i,n),oa(o,e,"dark",a,n)):(na(e,"light",i,n),na(e,"dark",a,n)),e.contrastText||(e.contrastText=f(e.main)),e};let h;return"light"===t?h=Ji():"dark"===t&&(h=ta()),In({common:{...bi},mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:c,name:"info"}),success:p({color:u,name:"success"}),grey:xi,contrastThreshold:r,getContrastText:f,augmentColor:p,tonalOffset:n,...h},i)}function aa(e=""){function t(...r){if(!r.length)return"";const n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}function sa(e){const t={};return Object.entries(e).forEach(e=>{const[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}const la=(e,t,r,n=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=r:o&&"object"==typeof o&&(o[e]=r):o&&"object"==typeof o&&(o[e]||(o[e]=n.includes(e)?[]:{}),o=o[e])})};function ca(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||n&&n(e,t))){const n=`--${r?`${r}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[n]:l}),la(i,e,`var(${n})`,s),la(a,e,`var(${n}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,r=[],n=[]){Object.entries(t).forEach(([t,o])=>{(!l||l&&!l([...r,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...r,t],Array.isArray(o)?[...n,t]:n):s([...r,t],o,n))})}(e),{css:o,vars:i,varsWithDefaults:a}}function ua(e){return Math.round(1e5*e)/1e5}const da={textTransform:"uppercase"},fa='"Roboto", "Helvetica", "Arial", sans-serif';function pa(e,t){const{fontFamily:r=fa,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}="function"==typeof t?t(e):t,f=n/14,p=u||(e=>e/l*f+"rem"),h=(e,t,n,o,i)=>({fontFamily:r,fontWeight:e,fontSize:p(t),lineHeight:n,...r===fa?{letterSpacing:`${ua(o/t)}em`}:{},...i,...c}),m={h1:h(o,96,1.167,-1.5),h2:h(o,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(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,da),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,da),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return In({htmlFontSize:l,pxToRem:p,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...m},d,{clone:!1})}function ha(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const ma=["none",ha(0,2,1,-1,0,1,1,0,0,1,3,0),ha(0,3,1,-2,0,2,2,0,0,1,5,0),ha(0,3,3,-2,0,3,4,0,0,1,8,0),ha(0,2,4,-1,0,4,5,0,0,1,10,0),ha(0,3,5,-1,0,5,8,0,0,1,14,0),ha(0,3,5,-1,0,6,10,0,0,1,18,0),ha(0,4,5,-2,0,7,10,1,0,2,16,1),ha(0,5,5,-3,0,8,10,1,0,3,14,2),ha(0,5,6,-3,0,9,12,1,0,3,16,2),ha(0,6,6,-3,0,10,14,1,0,4,18,3),ha(0,6,7,-4,0,11,15,1,0,4,20,3),ha(0,7,8,-4,0,12,17,2,0,5,22,4),ha(0,7,8,-4,0,13,19,2,0,5,24,4),ha(0,7,9,-4,0,14,21,2,0,5,26,4),ha(0,8,9,-5,0,15,22,2,0,6,28,5),ha(0,8,10,-5,0,16,24,2,0,6,30,5),ha(0,8,11,-5,0,17,26,2,0,6,32,5),ha(0,9,11,-5,0,18,28,2,0,7,34,6),ha(0,9,12,-6,0,19,29,2,0,7,36,6),ha(0,10,13,-6,0,20,31,3,0,8,38,7),ha(0,10,13,-6,0,21,33,3,0,8,40,7),ha(0,10,14,-6,0,22,35,3,0,8,42,7),ha(0,11,14,-7,0,23,36,3,0,9,44,8),ha(0,11,15,-7,0,24,38,3,0,9,46,8)],ya={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)"},ga={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function va(e){return`${Math.round(e)}ms`}function ba(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function xa(e){const t={...ya,...e.easing},r={...ga,...e.duration};return{getAutoHeightDuration:ba,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0,...s}=n;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:va(o)} ${i} ${"string"==typeof a?a:va(a)}`).join(",")},...e,easing:t,duration:r}}const wa={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Sa(e){return Dn(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function Oa(e={}){const t={...e};return function e(t){const r=Object.entries(t);for(let n=0;n<r.length;n++){const[o,i]=r[n];!Sa(i)||o.startsWith("unstable_")?delete t[o]:Dn(i)&&(t[o]={...i},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function ka(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}const Pa=function(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:l,colorSpace:c,...u}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(Vn(20));const d=ia({...i,colorSpace:c}),f=Vo(e);let p=In(f,{mixins:(h=f.breakpoints,m=n,{toolbar:{minHeight:56,[h.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[h.up("sm")]:{minHeight:64}},...m}),palette:d,shadows:ma.slice(),typography:pa(d,s),transitions:xa(a),zIndex:{...wa}});var h,m,y;return p=In(p,u),p=t.reduce((e,t)=>In(e,t),p),p.unstable_sxConfig={...zo,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Bo({sx:e,theme:this})},p.toRuntimeSource=Oa,y=p,Object.assign(y,{alpha(e,t){const r=this||y;return r.colorSpace?`oklch(from ${e} l c h / ${"string"==typeof t?`calc(${t})`:t})`:r.vars?`rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof t?`calc(${t})`:t})`:fi(e,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let e=0;e<t.length;e+=1)r+=+t[e];return r})(t))},lighten(e,t){const r=this||y;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${e}, #fff ${ka(t)})`:yi(e,t)},darken(e,t){const r=this||y;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${e}, #000 ${ka(t)})`:hi(e,t)}}),p};function Ca(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const ja=[...Array(25)].map((e,t)=>{if(0===t)return"none";const r=Ca(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Ma(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function Ea(e){return"dark"===e?ja:[]}function Aa(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Da=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return(a=e.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${a?`${a}-`:""}overlays-${t}`),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}palette-AppBar-darkColor`]).forEach(e=>{o[e]=r[e],delete r[e]}),"media"===i?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:o}}:i?{[i.replace("%s",t)]:o,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...o}}}if(i&&"media"!==i)return`${n}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}var a;return n};function Ta(e,t,r){!e[t]&&r&&(e[t]=r)}function Ia(e){return"string"==typeof e&&e.startsWith("hsl")?ui(e):e}function Ra(e,t){`${t}Channel`in e||(e[`${t}Channel`]=li(Ia(e[t])))}const Na=e=>{try{return e()}catch(e){}};function Fa(e,t,r,n,o){if(!r)return;r=!0===r?{}:r;const i="dark"===o?"dark":"light";if(!n)return void(t[o]=function(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,a=ia({...t,colorSpace:o});return{palette:a,opacity:{...Ma(a.mode),...r},overlays:n||Ea(a.mode),...i}}({...r,palette:{mode:i,...r?.palette},colorSpace:e}));const{palette:a,...s}=Pa({...n,palette:{mode:i,...r?.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Ma(i),...r?.opacity},overlays:r?.overlays||Ea(i)},s}function _a(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Aa,colorSchemeSelector:l=(r.light&&r.dark?"media":void 0),rootSelector:c=":root",...u}=e,d=Object.keys(r)[0],f=n||(r.light&&"light"!==d?"light":d),p=((e="mui")=>aa(e))(i),{[f]:h,light:m,dark:y,...g}=r,v={...g};let b,x=h;if(("dark"===f&&!("dark"in r)||"light"===f&&!("light"in r))&&(x=!0),!x)throw new Error(Vn(21,f));a&&(b="oklch");const w=Fa(b,v,x,u,f);m&&!v.light&&Fa(b,v,m,void 0,"light"),y&&!v.dark&&Fa(b,v,y,void 0,"dark");let S={defaultColorScheme:f,...w,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:c,getCssVar:p,colorSchemes:v,font:{...sa(w.typography),...w.font},spacing:(O=u.spacing,"number"==typeof O?`${O}px`:"string"==typeof O||"function"==typeof O||Array.isArray(O)?O:"8px")};var O;Object.keys(S.colorSchemes).forEach(e=>{const t=S.colorSchemes[e].palette,r=e=>{const r=e.split("-"),n=r[1],o=r[2];return p(e,t[n][o])};function n(e,t,r){if(b){let n;return e===pi&&(n=`transparent ${(100*(1-r)).toFixed(0)}%`),e===mi&&(n=`#000 ${(100*r).toFixed(0)}%`),e===gi&&(n=`#fff ${(100*r).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${n})`}return e(t,r)}var o;if("light"===t.mode&&(Ta(t.common,"background","#fff"),Ta(t.common,"onBackground","#000")),"dark"===t.mode&&(Ta(t.common,"background","#000"),Ta(t.common,"onBackground","#fff")),o=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{o[e]||(o[e]={})}),"light"===t.mode){Ta(t.Alert,"errorColor",n(mi,t.error.light,.6)),Ta(t.Alert,"infoColor",n(mi,t.info.light,.6)),Ta(t.Alert,"successColor",n(mi,t.success.light,.6)),Ta(t.Alert,"warningColor",n(mi,t.warning.light,.6)),Ta(t.Alert,"errorFilledBg",r("palette-error-main")),Ta(t.Alert,"infoFilledBg",r("palette-info-main")),Ta(t.Alert,"successFilledBg",r("palette-success-main")),Ta(t.Alert,"warningFilledBg",r("palette-warning-main")),Ta(t.Alert,"errorFilledColor",Na(()=>t.getContrastText(t.error.main))),Ta(t.Alert,"infoFilledColor",Na(()=>t.getContrastText(t.info.main))),Ta(t.Alert,"successFilledColor",Na(()=>t.getContrastText(t.success.main))),Ta(t.Alert,"warningFilledColor",Na(()=>t.getContrastText(t.warning.main))),Ta(t.Alert,"errorStandardBg",n(gi,t.error.light,.9)),Ta(t.Alert,"infoStandardBg",n(gi,t.info.light,.9)),Ta(t.Alert,"successStandardBg",n(gi,t.success.light,.9)),Ta(t.Alert,"warningStandardBg",n(gi,t.warning.light,.9)),Ta(t.Alert,"errorIconColor",r("palette-error-main")),Ta(t.Alert,"infoIconColor",r("palette-info-main")),Ta(t.Alert,"successIconColor",r("palette-success-main")),Ta(t.Alert,"warningIconColor",r("palette-warning-main")),Ta(t.AppBar,"defaultBg",r("palette-grey-100")),Ta(t.Avatar,"defaultBg",r("palette-grey-400")),Ta(t.Button,"inheritContainedBg",r("palette-grey-300")),Ta(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),Ta(t.Chip,"defaultBorder",r("palette-grey-400")),Ta(t.Chip,"defaultAvatarColor",r("palette-grey-700")),Ta(t.Chip,"defaultIconColor",r("palette-grey-700")),Ta(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ta(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ta(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ta(t.LinearProgress,"primaryBg",n(gi,t.primary.main,.62)),Ta(t.LinearProgress,"secondaryBg",n(gi,t.secondary.main,.62)),Ta(t.LinearProgress,"errorBg",n(gi,t.error.main,.62)),Ta(t.LinearProgress,"infoBg",n(gi,t.info.main,.62)),Ta(t.LinearProgress,"successBg",n(gi,t.success.main,.62)),Ta(t.LinearProgress,"warningBg",n(gi,t.warning.main,.62)),Ta(t.Skeleton,"bg",b?n(pi,t.text.primary,.11):`rgba(${r("palette-text-primaryChannel")} / 0.11)`),Ta(t.Slider,"primaryTrack",n(gi,t.primary.main,.62)),Ta(t.Slider,"secondaryTrack",n(gi,t.secondary.main,.62)),Ta(t.Slider,"errorTrack",n(gi,t.error.main,.62)),Ta(t.Slider,"infoTrack",n(gi,t.info.main,.62)),Ta(t.Slider,"successTrack",n(gi,t.success.main,.62)),Ta(t.Slider,"warningTrack",n(gi,t.warning.main,.62));const e=b?n(mi,t.background.default,.6825):vi(t.background.default,.8);Ta(t.SnackbarContent,"bg",e),Ta(t.SnackbarContent,"color",Na(()=>b?ra.text.primary:t.getContrastText(e))),Ta(t.SpeedDialAction,"fabHoverBg",vi(t.background.paper,.15)),Ta(t.StepConnector,"border",r("palette-grey-400")),Ta(t.StepContent,"border",r("palette-grey-400")),Ta(t.Switch,"defaultColor",r("palette-common-white")),Ta(t.Switch,"defaultDisabledColor",r("palette-grey-100")),Ta(t.Switch,"primaryDisabledColor",n(gi,t.primary.main,.62)),Ta(t.Switch,"secondaryDisabledColor",n(gi,t.secondary.main,.62)),Ta(t.Switch,"errorDisabledColor",n(gi,t.error.main,.62)),Ta(t.Switch,"infoDisabledColor",n(gi,t.info.main,.62)),Ta(t.Switch,"successDisabledColor",n(gi,t.success.main,.62)),Ta(t.Switch,"warningDisabledColor",n(gi,t.warning.main,.62)),Ta(t.TableCell,"border",n(gi,n(pi,t.divider,1),.88)),Ta(t.Tooltip,"bg",n(pi,t.grey[700],.92))}if("dark"===t.mode){Ta(t.Alert,"errorColor",n(gi,t.error.light,.6)),Ta(t.Alert,"infoColor",n(gi,t.info.light,.6)),Ta(t.Alert,"successColor",n(gi,t.success.light,.6)),Ta(t.Alert,"warningColor",n(gi,t.warning.light,.6)),Ta(t.Alert,"errorFilledBg",r("palette-error-dark")),Ta(t.Alert,"infoFilledBg",r("palette-info-dark")),Ta(t.Alert,"successFilledBg",r("palette-success-dark")),Ta(t.Alert,"warningFilledBg",r("palette-warning-dark")),Ta(t.Alert,"errorFilledColor",Na(()=>t.getContrastText(t.error.dark))),Ta(t.Alert,"infoFilledColor",Na(()=>t.getContrastText(t.info.dark))),Ta(t.Alert,"successFilledColor",Na(()=>t.getContrastText(t.success.dark))),Ta(t.Alert,"warningFilledColor",Na(()=>t.getContrastText(t.warning.dark))),Ta(t.Alert,"errorStandardBg",n(mi,t.error.light,.9)),Ta(t.Alert,"infoStandardBg",n(mi,t.info.light,.9)),Ta(t.Alert,"successStandardBg",n(mi,t.success.light,.9)),Ta(t.Alert,"warningStandardBg",n(mi,t.warning.light,.9)),Ta(t.Alert,"errorIconColor",r("palette-error-main")),Ta(t.Alert,"infoIconColor",r("palette-info-main")),Ta(t.Alert,"successIconColor",r("palette-success-main")),Ta(t.Alert,"warningIconColor",r("palette-warning-main")),Ta(t.AppBar,"defaultBg",r("palette-grey-900")),Ta(t.AppBar,"darkBg",r("palette-background-paper")),Ta(t.AppBar,"darkColor",r("palette-text-primary")),Ta(t.Avatar,"defaultBg",r("palette-grey-600")),Ta(t.Button,"inheritContainedBg",r("palette-grey-800")),Ta(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),Ta(t.Chip,"defaultBorder",r("palette-grey-700")),Ta(t.Chip,"defaultAvatarColor",r("palette-grey-300")),Ta(t.Chip,"defaultIconColor",r("palette-grey-300")),Ta(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ta(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ta(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ta(t.LinearProgress,"primaryBg",n(mi,t.primary.main,.5)),Ta(t.LinearProgress,"secondaryBg",n(mi,t.secondary.main,.5)),Ta(t.LinearProgress,"errorBg",n(mi,t.error.main,.5)),Ta(t.LinearProgress,"infoBg",n(mi,t.info.main,.5)),Ta(t.LinearProgress,"successBg",n(mi,t.success.main,.5)),Ta(t.LinearProgress,"warningBg",n(mi,t.warning.main,.5)),Ta(t.Skeleton,"bg",b?n(pi,t.text.primary,.13):`rgba(${r("palette-text-primaryChannel")} / 0.13)`),Ta(t.Slider,"primaryTrack",n(mi,t.primary.main,.5)),Ta(t.Slider,"secondaryTrack",n(mi,t.secondary.main,.5)),Ta(t.Slider,"errorTrack",n(mi,t.error.main,.5)),Ta(t.Slider,"infoTrack",n(mi,t.info.main,.5)),Ta(t.Slider,"successTrack",n(mi,t.success.main,.5)),Ta(t.Slider,"warningTrack",n(mi,t.warning.main,.5));const e=b?n(gi,t.background.default,.985):vi(t.background.default,.98);Ta(t.SnackbarContent,"bg",e),Ta(t.SnackbarContent,"color",Na(()=>b?ea.text.primary:t.getContrastText(e))),Ta(t.SpeedDialAction,"fabHoverBg",vi(t.background.paper,.15)),Ta(t.StepConnector,"border",r("palette-grey-600")),Ta(t.StepContent,"border",r("palette-grey-600")),Ta(t.Switch,"defaultColor",r("palette-grey-300")),Ta(t.Switch,"defaultDisabledColor",r("palette-grey-600")),Ta(t.Switch,"primaryDisabledColor",n(mi,t.primary.main,.55)),Ta(t.Switch,"secondaryDisabledColor",n(mi,t.secondary.main,.55)),Ta(t.Switch,"errorDisabledColor",n(mi,t.error.main,.55)),Ta(t.Switch,"infoDisabledColor",n(mi,t.info.main,.55)),Ta(t.Switch,"successDisabledColor",n(mi,t.success.main,.55)),Ta(t.Switch,"warningDisabledColor",n(mi,t.warning.main,.55)),Ta(t.TableCell,"border",n(mi,n(pi,t.divider,1),.68)),Ta(t.Tooltip,"bg",n(pi,t.grey[700],.92))}Ra(t.background,"default"),Ra(t.background,"paper"),Ra(t.common,"background"),Ra(t.common,"onBackground"),Ra(t,"divider"),Object.keys(t).forEach(e=>{const r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&Ta(t[e],"mainChannel",li(Ia(r.main))),r.light&&Ta(t[e],"lightChannel",li(Ia(r.light))),r.dark&&Ta(t[e],"darkChannel",li(Ia(r.dark))),r.contrastText&&Ta(t[e],"contrastTextChannel",li(Ia(r.contrastText))),"text"===e&&(Ra(t[e],"primary"),Ra(t[e],"secondary")),"action"===e&&(r.active&&Ra(t[e],"active"),r.selected&&Ra(t[e],"selected")))})}),S=t.reduce((e,t)=>In(e,t),S);const k={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Da(S),enableContrastVars:a},{vars:P,generateThemeVars:C,generateStyleSheets:j}=function(e,t={}){const{getSelector:r=g,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:f}=ca(c,t);let p=f;const h={},{[l]:m,...y}=a;if(Object.entries(y||{}).forEach(([e,r])=>{const{vars:n,css:o,varsWithDefaults:i}=ca(r,t);p=In(p,i),h[e]={css:o,vars:n}}),m){const{css:e,vars:r,varsWithDefaults:n}=ca(m,t);p=In(p,n),h[l]={css:e,vars:r}}function g(t,r){let n=o;if("class"===o&&(n=".%s"),"data"===o&&(n="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(n=`[${o}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";const n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(h).forEach(([,{vars:t}])=>{e=In(e,t)}),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function s(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}s(r(void 0,{...d}),d);const{[o]:l,...c}=h;if(l){const{css:e}=l,t=a[o]?.palette?.mode,i=!n&&t?{colorScheme:t,...e}:{...e};s(r(o,{...i}),i)}return Object.entries(c).forEach(([e,{css:t}])=>{const o=a[e]?.palette?.mode,i=!n&&o?{colorScheme:o,...t}:{...t};s(r(e,{...i}),i)}),i&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}}(S,k);return S.vars=P,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=C,S.generateStyleSheets=j,S.generateSpacing=function(){return lo(u.spacing,ro(this))},S.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(l),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...zo,...u?.unstable_sxConfig},S.unstable_sx=function(e){return Bo({sx:e,theme:this})},S.toRuntimeSource=Oa,S}function za(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:ia({...!0===r?{}:r.palette,mode:t})})}function La(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=(r?void 0:{light:!0}),defaultColorScheme:i=r?.mode,...a}=e,s=i||"light",l=o?.[s],c={...o,...r?{[s]:{..."boolean"!=typeof l&&l,palette:r}}:void 0};if(!1===n){if(!("colorSchemes"in e))return Pa(e,...t);let n=r;"palette"in e||c[s]&&(!0!==c[s]?n=c[s].palette:"dark"===s&&(n={mode:"dark"}));const o=Pa({...e,palette:n},...t);return o.defaultColorScheme=s,o.colorSchemes=c,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==c.light&&c.light,palette:o.palette},za(o,"dark",c.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:o.palette},za(o,"light",c.light)),o}return r||"light"in c||"light"!==s||(c.light=!0),_a({...a,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof n&&n},...t)}const Ba="mui-color-scheme",$a="light",Va="dark",Wa="mui-mode",{CssVarsProvider:Ha,useColorScheme:qa,getInitColorSchemeScript:Ua}=function(e){const{themeId:t,theme:r={},modeStorageKey:n=Zo,colorSchemeStorageKey:o=Jo,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:s}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},c=G.createContext(void 0),u={},d={},f="string"==typeof a?a:a.light,p="string"==typeof a?a:a.dark;return{CssVarsProvider:function(e){const{children:l,theme:f,modeStorageKey:p=n,colorSchemeStorageKey:h=o,disableTransitionOnChange:m=i,storageManager:y,storageWindow:g=("undefined"==typeof window?void 0:window),documentNode:v=("undefined"==typeof document?void 0:document),colorSchemeNode:b=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:x=!1,disableStyleSheetGeneration:w=!1,defaultMode:S="system",forceThemeRerender:O=!1,noSsr:k}=e,P=G.useRef(!1),C=St(),j=G.useContext(c),M=!!j&&!x,E=G.useMemo(()=>f||("function"==typeof r?r():r),[f]),A=E[t],D=A||E,{colorSchemes:T=u,components:I=d,cssVarPrefix:R}=D,N=Object.keys(T).filter(e=>!!T[e]).join(","),F=G.useMemo(()=>N.split(","),[N]),_="string"==typeof a?a:a.light,z="string"==typeof a?a:a.dark,L=T[_]&&T[z]?S:T[D.defaultColorScheme]?.palette?.mode||D.palette?.mode,{mode:B,setMode:$,systemMode:V,lightColorScheme:W,darkColorScheme:H,colorScheme:q,setColorScheme:U}=function(e){const{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:o=[],modeStorageKey:i=Zo,colorSchemeStorageKey:a=Jo,storageWindow:s=("undefined"==typeof window?void 0:window),storageManager:l=ri,noSsr:c=!1}=e,u=o.join(","),d=o.length>1,f=G.useMemo(()=>l?.({key:i,storageWindow:s}),[l,i,s]),p=G.useMemo(()=>l?.({key:`${a}-light`,storageWindow:s}),[l,a,s]),h=G.useMemo(()=>l?.({key:`${a}-dark`,storageWindow:s}),[l,a,s]),[m,y]=G.useState(()=>{const e=f?.get(t)||t,o=p?.get(r)||r,i=h?.get(n)||n;return{mode:e,systemMode:oi(e),lightColorScheme:o,darkColorScheme:i}}),[g,v]=G.useState(c||!d);G.useEffect(()=>{v(!0)},[]);const b=function(e){return ii(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(m),x=G.useCallback(e=>{y(r=>{if(e===r.mode)return r;const n=e??t;return f?.set(n),{...r,mode:n,systemMode:oi(n)}})},[f,t]),w=G.useCallback(e=>{e?"string"==typeof e?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):y(t=>{const r={...t};return ii(t,t=>{"light"===t&&(p?.set(e),r.lightColorScheme=e),"dark"===t&&(h?.set(e),r.darkColorScheme=e)}),r}):y(t=>{const o={...t},i=null===e.light?r:e.light,a=null===e.dark?n:e.dark;return i&&(u.includes(i)?(o.lightColorScheme=i,p?.set(i)):console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`)),a&&(u.includes(a)?(o.darkColorScheme=a,h?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o}):y(e=>(p?.set(r),h?.set(n),{...e,lightColorScheme:r,darkColorScheme:n}))},[u,p,h,r,n]),S=G.useCallback(e=>{"system"===m.mode&&y(t=>{const r=e?.matches?"dark":"light";return t.systemMode===r?t:{...t,systemMode:r}})},[m.mode]),O=G.useRef(S);return O.current=S,G.useEffect(()=>{if("function"!=typeof window.matchMedia||!d)return;const e=(...e)=>O.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),G.useEffect(()=>{if(d){const e=f?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||x(e||t)})||ni,r=p?.subscribe(e=>{e&&!u.match(e)||w({light:e})})||ni,n=h?.subscribe(e=>{e&&!u.match(e)||w({dark:e})})||ni;return()=>{e(),r(),n()}}},[w,x,u,t,s,d,f,p,h]),{...m,mode:g?m.mode:void 0,systemMode:g?m.systemMode:void 0,colorScheme:g?b:void 0,setMode:x,setColorScheme:w}}({supportedColorSchemes:F,defaultLightColorScheme:_,defaultDarkColorScheme:z,modeStorageKey:p,colorSchemeStorageKey:h,defaultMode:L,storageManager:y,storageWindow:g,noSsr:k});let K=B,Y=q;M&&(K=j.mode,Y=j.colorScheme);let Q=Y||D.defaultColorScheme;D.vars&&!O&&(Q=D.defaultColorScheme);const X=G.useMemo(()=>{const e=D.generateThemeVars?.()||D.vars,t={...D,components:I,colorSchemes:T,cssVarPrefix:R,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),Q){const e=T[Q];e&&"object"==typeof e&&Object.keys(e).forEach(r=>{e[r]&&"object"==typeof e[r]?t[r]={...t[r],...e[r]}:t[r]=e[r]})}return s?s(t):t},[D,Q,I,T,R]),Z=D.colorSchemeSelector;ln(()=>{if(Y&&b&&Z&&"media"!==Z){const e=Z;let t=Z;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))b.classList.remove(...F.map(e=>t.substring(1).replace("%s",e))),b.classList.add(t.substring(1).replace("%s",Y));else{const e=t.replace("%s",Y).match(/\[([^\]]+)\]/);if(e){const[t,r]=e[1].split("=");r||F.forEach(e=>{b.removeAttribute(t.replace(Y,e))}),b.setAttribute(t,r?r.replace(/"|'/g,""):"")}else b.setAttribute(t,Y)}}},[Y,Z,b,F]),G.useEffect(()=>{let e;if(m&&P.current&&v){const t=v.createElement("style");t.appendChild(v.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),v.head.appendChild(t),window.getComputedStyle(v.body),e=setTimeout(()=>{v.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[Y,m,v]),G.useEffect(()=>(P.current=!0,()=>{P.current=!1}),[]);const J=G.useMemo(()=>({allColorSchemes:F,colorScheme:Y,darkColorScheme:H,lightColorScheme:W,mode:K,setColorScheme:U,setMode:$,systemMode:V}),[F,Y,H,W,K,U,$,V,X.colorSchemeSelector]);let ee=!0;(w||!1===D.cssVariables||M&&C?.cssVarPrefix===R)&&(ee=!1);const te=(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)(Go,{themeId:A?t:void 0,theme:X,children:l}),ee&&(0,ce.jsx)(En,{styles:X.generateStyleSheets?.()||[]})]});return M?te:(0,ce.jsx)(c.Provider,{value:J,children:te})},useColorScheme:()=>G.useContext(c)||l,getInitColorSchemeScript:e=>function(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:o=Zo,colorSchemeStorageKey:i=Jo,attribute:a=ei,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let c="",u=a;if("class"===a&&(u=".%s"),"data"===a&&(u="[data-%s]"),u.startsWith(".")){const e=u.substring(1);c+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n ${s}.classList.add('${e}'.replace('%s', colorScheme));`}const d=u.match(/\[([^[\]]+)\]/);if(d){const[e,t]=d[1].split("=");t||(c+=`${s}.removeAttribute('${e}'.replace('%s', light));\n ${s}.removeAttribute('${e}'.replace('%s', dark));`),c+=`\n ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else c+=`${s}.setAttribute('${u}', colorScheme);`;return(0,ce.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${o}') || '${t}';\n const dark = localStorage.getItem('${i}-dark') || '${n}';\n const light = localStorage.getItem('${i}-light') || '${r}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${c}\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:o,defaultLightColorScheme:f,defaultDarkColorScheme:p,modeStorageKey:n,...e})}}({themeId:Qo,theme:()=>La({cssVariables:!0}),colorSchemeStorageKey:Ba,modeStorageKey:Wa,defaultColorScheme:{light:$a,dark:Va},resolveTheme:e=>{const t={...e,typography:pa(e.palette,e.typography)};return t.unstable_sx=function(e){return Bo({sx:e,theme:this})},t}}),Ka=Ha;function Ya({theme:e,...t}){const r=G.useMemo(()=>{if("function"==typeof e)return e;const t=Qo in e?e[Qo]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return r?(0,ce.jsx)(Xo,{theme:r,...t}):(0,ce.jsx)(Ka,{theme:e,...t})}function Ga(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let e=0;e<i.length;e+=1){const n=i[e];n&&(a+=(!0===s?"":" ")+t(n),s=!1,r&&r[n]&&(a+=" "+r[n]))}n[o]=a}return n}function Qa(e){const{variants:t,...r}=e,n={variants:t,style:Sn(r),isProcessed:!0};return n.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=Sn(e.style))}),n}const Xa=Vo();function Za(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function Ja(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function es(e){return e?(t,r)=>r[e]:null}function ts(e,t,r){const n="function"==typeof t?t(e):t;if(Array.isArray(n))return n.flatMap(t=>ts(e,t,r));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=r?Ja(n.style,r):n.style;else{const{variants:e,...o}=n;t=r?Ja(Sn(o),r):o}return rs(e,n.variants,[t],r)}return n?.isProcessed?r?Ja(Sn(n.style),r):n.style:r?Ja(Sn(n),r):n}function rs(e,t,r=[],n=void 0){let o;e:for(let i=0;i<t.length;i+=1){const a=t[i];if("function"==typeof a.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(o))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Ja(Sn(a.style(o)),n):a.style(o))):r.push(n?Ja(Sn(a.style),n):a.style)}return r}function ns(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const os=La(),is=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},as=e=>is(e)&&"classes"!==e,ss=function(e={}){const{themeId:t,defaultTheme:r=Xa,rootShouldForwardProp:n=Za,slotShouldForwardProp:o=Za}=e;function i(e){!function(e,t,r){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?r:e.theme[t]||e.theme}(e,t,r)}return(e,t={})=>{!function(e){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=(e=>e.filter(e=>e!==Bo))(e.__emotion_styles))}(e);const{name:r,slot:a,skipVariantsResolver:s,skipSx:l,overridesResolver:c=es(ns(a)),...u}=t,d=r&&r.startsWith("Mui")||a?"components":"custom",f=void 0!==s?s:a&&"Root"!==a&&"root"!==a||!1,p=l||!1;let h=Za;"Root"===a||"root"===a?h=n:a?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=xn(e,{shouldForwardProp:h,label:void 0,...u}),y=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return ts(t,e,t.theme.modularCssLayers?d:void 0)};if(Dn(e)){const t=Qa(e);return function(e){return t.variants?ts(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Ja(t.style,d):t.style}}return e},g=(...t)=>{const n=[],o=t.map(y),a=[];if(n.push(i),r&&c&&a.push(function(e){const t=e.theme,n=t.components?.[r]?.styleOverrides;if(!n)return null;const o={};for(const t in n)o[t]=ts(e,n[t],e.theme.modularCssLayers?"theme":void 0);return c(e,o)}),r&&!f&&a.push(function(e){const t=e.theme,n=t?.components?.[r]?.variants;return n?rs(e,n,[],e.theme.modularCssLayers?"theme":void 0):null}),p||a.push(Bo),Array.isArray(o[0])){const e=o.shift(),t=new Array(n.length).fill(""),r=new Array(a.length).fill("");let i;i=[...t,...e,...r],i.raw=[...t,...e.raw,...r],n.unshift(i)}const s=[...n,...o,...a],l=m(...s);return e.muiName&&(l.muiName=e.muiName),l};return m.withConfig&&(g.withConfig=m.withConfig),g}}({themeId:Qo,defaultTheme:os,rootShouldForwardProp:as}),ls=ss;function cs(e){return function({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?on(o.defaultProps,n,t.components.mergeClassNameAndStyle):o.styleOverrides||o.variants?n:on(o,n,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:G.useContext(an)}})}(e)}function us(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function ds(e,t=!1){return e&&(us(e.value)&&""!==e.value||t&&us(e.defaultValue)&&""!==e.defaultValue)}const fs=Wn,ps=function(e,t){return G.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)},hs=G.createContext(void 0),ms=e=>e,ys=(()=>{let e=ms;return{configure(t){e=t},generate:t=>e(t),reset(){e=ms}}})(),gs={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function vs(e,t,r="Mui"){const n=gs[t];return n?`${r}-${n}`:`${ys.generate(e)}-${t}`}function bs(e,t,r="Mui"){const n={};return t.forEach(t=>{n[t]=vs(e,t,r)}),n}function xs(e){return vs("MuiFormControl",e)}bs("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const ws=ls("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`margin${fs(r.margin)}`],r.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Ss=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiFormControl"}),{children:n,className:o,color:i="primary",component:a="div",disabled:s=!1,error:l=!1,focused:c,fullWidth:u=!1,hiddenLabel:d=!1,margin:f="none",required:p=!1,size:h="medium",variant:m="outlined",...y}=r,g={...r,color:i,component:a,disabled:s,error:l,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:h,variant:m},v=(e=>{const{classes:t,margin:r,fullWidth:n}=e;return Ga({root:["root","none"!==r&&`margin${fs(r)}`,n&&"fullWidth"]},xs,t)})(g),[b,x]=G.useState(()=>{let e=!1;return n&&G.Children.forEach(n,t=>{if(!ps(t,["Input","Select"]))return;const r=ps(t,["Select"])?t.props.input:t;r&&r.props.startAdornment&&(e=!0)}),e}),[w,S]=G.useState(()=>{let e=!1;return n&&G.Children.forEach(n,t=>{ps(t,["Input","Select"])&&(ds(t.props,!0)||ds(t.props.inputProps,!0))&&(e=!0)}),e}),[O,k]=G.useState(!1);s&&O&&k(!1);const P=void 0===c||s?O:c;let C;G.useRef(!1);const j=G.useCallback(()=>{S(!0)},[]),M=G.useCallback(()=>{S(!1)},[]),E=G.useMemo(()=>({adornedStart:b,setAdornedStart:x,color:i,disabled:s,error:l,filled:w,focused:P,fullWidth:u,hiddenLabel:d,size:h,onBlur:()=>{k(!1)},onFocus:()=>{k(!0)},onEmpty:M,onFilled:j,registerEffect:C,required:p,variant:m}),[b,i,s,l,w,P,u,d,C,M,j,p,h,m]);return(0,ce.jsx)(hs.Provider,{value:E,children:(0,ce.jsx)(ws,{as:a,ownerState:g,className:nn(v.root,o),ref:t,...y,children:n})})}),Os=Ss;function ks({props:e,states:t,muiFormControl:r}){return t.reduce((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t),{})}function Ps(){return G.useContext(hs)}const Cs={theme:void 0},js=function(e){let t,r;return function(n){let o=t;return void 0!==o&&n.theme===r||(Cs.theme=n.theme,o=Qa(e(Cs)),t=o,r=n.theme),o}};function Ms(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}function Es(e){return vs("MuiFormLabel",e)}const As=bs("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Ds=ls("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"secondary"===r.color&&t.colorSecondary,r.filled&&t.filled]}})(js(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Ms()).map(([t])=>({props:{color:t},style:{[`&.${As.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${As.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${As.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Ts=ls("span",{name:"MuiFormLabel",slot:"Asterisk"})(js(({theme:e})=>({[`&.${As.error}`]:{color:(e.vars||e).palette.error.main}}))),Is=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiFormLabel"}),{children:n,className:o,color:i,component:a="label",disabled:s,error:l,filled:c,focused:u,required:d,...f}=r,p=ks({props:r,muiFormControl:Ps(),states:["color","required","focused","disabled","error","filled"]}),h={...r,color:p.color||"primary",component:a,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},m=(e=>{const{classes:t,color:r,focused:n,disabled:o,error:i,filled:a,required:s}=e;return Ga({root:["root",`color${fs(r)}`,o&&"disabled",i&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]},Es,t)})(h);return(0,ce.jsxs)(Ds,{as:a,ownerState:h,className:nn(m.root,o),ref:t,...f,children:[n,p.required&&(0,ce.jsxs)(Ts,{ownerState:h,"aria-hidden":!0,className:m.asterisk,children:[" ","*"]})]})});function Rs(e){return vs("MuiInputLabel",e)}bs("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Ns=ls(Is,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${As.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(js(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:r})=>"filled"===e&&t.shrink&&"small"===r,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Fs=G.forwardRef(function(e,t){const r=cs({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,margin:o,shrink:i,variant:a,className:s,...l}=r,c=Ps();let u=i;void 0===u&&c&&(u=c.filled||c.focused||c.adornedStart);const d=ks({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),f={...r,disableAnimation:n,formControl:c,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=(e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:i,variant:a,required:s}=e,l=Ga({root:["root",r&&"formControl",!i&&"animated",o&&"shrink",n&&"medium"!==n&&`size${fs(n)}`,a],asterisk:[s&&"asterisk"]},Rs,t);return{...t,...l}})(f);return(0,ce.jsx)(Ns,{"data-shrink":u,ref:t,className:nn(p.root,s),...l,ownerState:f,classes:p})});function _s(e){return parseInt(G.version,10)>=19?e?.props?.ref||null:e?.ref||null}function zs(e){return e&&e.ownerDocument||document}const Ls=zs;function Bs(...e){const t=G.useRef(void 0),r=G.useCallback(t=>{const r=e.map(e=>{if(null==e)return null;if("function"==typeof e){const r=e,n=r(t);return"function"==typeof n?n:()=>{r(null)}}return e.current=t,()=>{e.current=null}});return()=>{r.forEach(e=>e?.())}},e);return G.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}const $s=function(e){return"string"==typeof e},Vs=function(e,t,r){return void 0===e||$s(e)?t:{...t,ownerState:{...t.ownerState,...r}}},Ws=function(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r},Hs=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t},qs=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=nn(r?.className,i,o?.className,n?.className),t={...r?.style,...o?.style,...n?.style},a={...r,...o,...n};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Ws({...o,...n}),s=Hs(n),l=Hs(o),c=t(a),u=nn(c?.className,r?.className,i,o?.className,n?.className),d={...c?.style,...r?.style,...o?.style,...n?.style},f={...c,...r,...l,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}},Us=function(e,t,r){return"function"==typeof e?e(t,r):e},Ks=function(e){const{elementType:t,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:Us(r,n),{props:s,internalRef:l}=qs({...i,externalSlotProps:a}),c=Bs(l,a?.ref,e.additionalProps?.ref);return Vs(t,{...s,ref:c},n)},Ys=G.createContext({});function Gs(e){return vs("MuiList",e)}bs("MuiList",["root","padding","dense","subheader"]);const Qs=ls("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Xs=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiList"}),{children:n,className:o,component:i="ul",dense:a=!1,disablePadding:s=!1,subheader:l,...c}=r,u=G.useMemo(()=>({dense:a}),[a]),d={...r,component:i,dense:a,disablePadding:s},f=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return Ga({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},Gs,t)})(d);return(0,ce.jsx)(Ys.Provider,{value:u,children:(0,ce.jsxs)(Qs,{as:i,className:nn(f.root,o),ref:t,ownerState:d,...c,children:[l,n]})})});function Zs(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const Js=Zs,el=Bs,tl=ln;function rl(e){return zs(e).defaultView||window}const nl=rl;function ol(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function il(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function al(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join("")))}function sl(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&al(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const ll=G.forwardRef(function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:c,variant:u="selectedMenu",...d}=e,f=G.useRef(null),p=G.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});tl(()=>{n&&f.current.focus()},[n]),G.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&r){const r=`${Js(nl(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,f.current.style.width=`calc(100% + ${r})`}return f.current}}),[]);const h=el(f,t);let m=-1;G.Children.forEach(i,(e,t)=>{G.isValidElement(e)?(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))});const y=G.Children.map(i,(e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),G.cloneElement(e,t)}return e});return(0,ce.jsx)(Xs,{role:"menu",ref:h,className:a,onKeyDown:e=>{const t=f.current,r=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(c&&c(e));const n=Ls(t).activeElement;if("ArrowDown"===r)e.preventDefault(),sl(t,n,l,s,ol);else if("ArrowUp"===r)e.preventDefault(),sl(t,n,l,s,il);else if("Home"===r)e.preventDefault(),sl(t,null,l,s,ol);else if("End"===r)e.preventDefault(),sl(t,null,l,s,il);else if(1===r.length){const o=p.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const l=n&&!o.repeating&&al(n,o);o.previousKeyMatched&&(l||sl(t,n,!1,s,ol,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:n?0:-1,...d,children:y})});function cl(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(r)},n}const ul=cl,dl={};function fl(e,t){const r=G.useRef(dl);return r.current===dl&&(r.current=e(t)),r}const pl=[];class hl{static create(){return new hl}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function ml(){const e=fl(hl.create).current;var t;return t=e.disposeEffect,G.useEffect(t,pl),e}function yl(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function gl(e,t){return gl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gl(e,t)}function vl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gl(e,t)}const bl=X().createContext(null);var xl=function(e){return e.scrollTop},wl="unmounted",Sl="exited",Ol="entering",kl="entered",Pl="exiting",Cl=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Sl,n.appearStatus=Ol):o=kl:o=t.unmountOnExit||t.mountOnEnter?wl:Sl,n.state={status:o},n.nextCallback=null,n}vl(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===wl?{status:Sl}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==Ol&&r!==kl&&(t=Ol):r!==Ol&&r!==kl||(t=Pl)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ol){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:Ee().findDOMNode(this);r&&xl(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Sl&&this.setState({status:wl})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[Ee().findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;e||r?(this.props.onEnter(i,a),this.safeSetState({status:Ol},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:kl},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:kl},function(){t.props.onEntered(i)})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:Ee().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:Pl},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:Sl},function(){e.props.onExited(n)})})})):this.safeSetState({status:Sl},function(){e.props.onExited(n)})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:Ee().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===wl)return null;var t=this.props,r=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,yl(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return X().createElement(bl.Provider,{value:null},"function"==typeof r?r(e,n):X().cloneElement(X().Children.only(r),n))},t}(X().Component);function jl(){}Cl.contextType=bl,Cl.propTypes={},Cl.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jl,onEntering:jl,onEntered:jl,onExit:jl,onExiting:jl,onExited:jl},Cl.UNMOUNTED=wl,Cl.EXITED=Sl,Cl.ENTERING=Ol,Cl.ENTERED=kl,Cl.EXITING=Pl;const Ml=Cl;function El(){const e=Ho(os);return e[Qo]||e}const Al=e=>e.scrollTop;function Dl(e,t){const{timeout:r,easing:n,style:o={}}=e;return{duration:o.transitionDuration??("number"==typeof r?r:r[t.mode]||0),easing:o.transitionTimingFunction??("object"==typeof n?n[t.mode]:n),delay:o.transitionDelay}}function Tl(e){return`scale(${e}, ${e**2})`}const Il={entering:{opacity:1,transform:Tl(1)},entered:{opacity:1,transform:"none"}},Rl="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Nl=G.forwardRef(function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:c,onExit:u,onExited:d,onExiting:f,style:p,timeout:h="auto",TransitionComponent:m=Ml,...y}=e,g=ml(),v=G.useRef(),b=El(),x=G.useRef(null),w=el(x,_s(o),t),S=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},O=S(c),k=S((e,t)=>{Al(e);const{duration:r,delay:n,easing:o}=Dl({style:p,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=r,e.style.transition=[b.transitions.create("opacity",{duration:a,delay:n}),b.transitions.create("transform",{duration:Rl?a:.666*a,delay:n,easing:o})].join(","),s&&s(e,t)}),P=S(l),C=S(f),j=S(e=>{const{duration:t,delay:r,easing:n}=Dl({style:p,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:r}),b.transitions.create("transform",{duration:Rl?o:.666*o,delay:Rl?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Tl(.75),u&&u(e)}),M=S(d);return(0,ce.jsx)(m,{appear:n,in:a,nodeRef:x,onEnter:k,onEntered:P,onEntering:O,onExit:j,onExited:M,onExiting:C,addEndListener:e=>{"auto"===h&&g.start(v.current||0,e),r&&r(x.current,e)},timeout:"auto"===h?null:h,...y,children:(e,{ownerState:t,...r})=>G.cloneElement(o,{style:{opacity:0,transform:Tl(.75),visibility:"exited"!==e||a?void 0:"hidden",...Il[e],...p,...o.props.style},ref:w,...r})})});Nl&&(Nl.muiSupportAuto=!0);const Fl=Nl,_l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function zl(e){const t=[],r=[];return Array.from(e.querySelectorAll(_l)).forEach((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function Ll(){return!0}const Bl=function(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=zl,isEnabled:a=Ll,open:s}=e,l=G.useRef(!1),c=G.useRef(null),u=G.useRef(null),d=G.useRef(null),f=G.useRef(null),p=G.useRef(!1),h=G.useRef(null),m=Bs(_s(t),h),y=G.useRef(null);G.useEffect(()=>{s&&h.current&&(p.current=!r)},[r,s]),G.useEffect(()=>{if(!s||!h.current)return;const e=zs(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),p.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[s]),G.useEffect(()=>{if(!s||!h.current)return;const e=zs(h.current),t=t=>{y.current=t,!n&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(l.current=!0,u.current&&u.current.focus())},r=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==c.current&&e.activeElement!==u.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!p.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=i(h.current)),r.length>0){const e=Boolean(y.current?.shiftKey&&"Tab"===y.current?.key),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()},50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[r,n,o,a,s,i]);const g=e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0};return(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)("div",{tabIndex:s?0:-1,onFocus:g,ref:c,"data-testid":"sentinelStart"}),G.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;const r=t.props.onFocus;r&&r(e)}}),(0,ce.jsx)("div",{tabIndex:s?0:-1,onFocus:g,ref:u,"data-testid":"sentinelEnd"})]})};function $l(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const Vl=G.forwardRef(function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[i,a]=G.useState(null),s=Bs(G.isValidElement(r)?_s(r):null,t);if(ln(()=>{o||a(function(e){return"function"==typeof e?e():e}(n)||document.body)},[n,o]),ln(()=>{if(i&&!o)return $l(t,i),()=>{$l(t,null)}},[t,i,o]),o){if(G.isValidElement(r)){const e={ref:s};return G.cloneElement(r,e)}return r}return i?Me.createPortal(r,i):i});function Wl(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=i,p=u[e]||n,h=Us(d[e],o),{props:{component:m,...y},internalRef:g}=qs({className:r,...l,externalForwardedProps:"root"===e?f:void 0,externalSlotProps:h}),v=Bs(g,h?.ref,t.ref),b="root"===e?m||c:m;return[p,Vs(p,{..."root"===e&&!c&&!u[e]&&a,..."root"!==e&&!u[e]&&a,...y,...b&&!s&&{as:b},...b&&s&&{component:b},ref:v},o)]}const Hl={entering:{opacity:1},entered:{opacity:1}},ql=G.forwardRef(function(e,t){const r=El(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:s,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:h,style:m,timeout:y=n,TransitionComponent:g=Ml,...v}=e,b=G.useRef(null),x=el(b,_s(a),t),w=e=>t=>{if(e){const r=b.current;void 0===t?e(r):e(r,t)}},S=w(d),O=w((e,t)=>{Al(e);const n=Dl({style:m,timeout:y,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),c&&c(e,t)}),k=w(u),P=w(h),C=w(e=>{const t=Dl({style:m,timeout:y,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),f&&f(e)}),j=w(p);return(0,ce.jsx)(g,{appear:i,in:l,nodeRef:b,onEnter:O,onEntered:k,onEntering:S,onExit:C,onExited:j,onExiting:P,addEndListener:e=>{o&&o(b.current,e)},timeout:y,...v,children:(e,{ownerState:t,...r})=>G.cloneElement(a,{style:{opacity:0,visibility:"exited"!==e||l?void 0:"hidden",...Hl[e],...m,...a.props.style},ref:x,...r})})}),Ul=ql;function Kl(e){return vs("MuiBackdrop",e)}bs("MuiBackdrop",["root","invisible"]);const Yl=ls("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Gl=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiBackdrop"}),{children:n,className:o,component:i="div",invisible:a=!1,open:s,components:l={},componentsProps:c={},slotProps:u={},slots:d={},TransitionComponent:f,transitionDuration:p,...h}=r,m={...r,component:i,invisible:a},y=(e=>{const{classes:t,invisible:r}=e;return Ga({root:["root",r&&"invisible"]},Kl,t)})(m),g={component:i,slots:{transition:f,root:l.Root,...d},slotProps:{...c,...u}},[v,b]=Wl("root",{elementType:Yl,externalForwardedProps:g,className:nn(y.root,o),ownerState:m}),[x,w]=Wl("transition",{elementType:Ul,externalForwardedProps:g,ownerState:m});return(0,ce.jsx)(x,{in:s,timeout:p,...h,...w,children:(0,ce.jsx)(v,{"aria-hidden":!0,...b,classes:y,ref:t,children:n})})}),Ql=function(e){const t=G.useRef(e);return ln(()=>{t.current=e}),G.useRef((...e)=>(0,t.current)(...e)).current};function Xl(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}function Zl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Jl(e){return parseInt(rl(e).getComputedStyle(e).paddingRight,10)||0}function ec(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,e=>{const t=!i.includes(e),r=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&Zl(e,o)})}function tc(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}const rc=()=>{},nc=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&Zl(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);ec(t,e.mount,e.modalRef,n,!0);const o=tc(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=tc(this.containers,t=>t.modals.includes(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=zs(e);return t.body===e?rl(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=Zs(rl(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Jl(n)+e}px`;const t=zs(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Jl(t)+e}px`})}let e;if(n.parentNode instanceof DocumentFragment)e=zs(n).body;else{const t=n.parentElement,r=rl(n);e="HTML"===t?.nodeName&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=tc(this.containers,t=>t.modals.includes(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Zl(e.modalRef,t),ec(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Zl(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function oc(e){return vs("MuiModal",e)}bs("MuiModal",["root","hidden","backdrop"]);const ic=ls("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(js(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),ac=ls(Gl,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),sc=G.forwardRef(function(e,t){const r=cs({name:"MuiModal",props:e}),{BackdropComponent:n=ac,BackdropProps:o,classes:i,className:a,closeAfterTransition:s=!1,children:l,container:c,component:u,components:d={},componentsProps:f={},disableAutoFocus:p=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:m=!1,disablePortal:y=!1,disableRestoreFocus:g=!1,disableScrollLock:v=!1,hideBackdrop:b=!1,keepMounted:x=!1,onClose:w,onTransitionEnter:S,onTransitionExited:O,open:k,slotProps:P={},slots:C={},theme:j,...M}=r,E={...r,closeAfterTransition:s,disableAutoFocus:p,disableEnforceFocus:h,disableEscapeKeyDown:m,disablePortal:y,disableRestoreFocus:g,disableScrollLock:v,hideBackdrop:b,keepMounted:x},{getRootProps:A,getBackdropProps:D,getTransitionProps:T,portalRef:I,isTopModal:R,exited:N,hasTransition:F}=function(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:s,onClose:l,open:c,rootRef:u}=e,d=G.useRef({}),f=G.useRef(null),p=G.useRef(null),h=Bs(p,u),[m,y]=G.useState(!c),g=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let v=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(v=!1);const b=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),x=()=>{nc.mount(b(),{disableScrollLock:n}),p.current&&(p.current.scrollTop=0)},w=Ql(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||zs(f.current).body;nc.add(b(),e),p.current&&x()}),S=()=>nc.isTopModal(b()),O=Ql(e=>{f.current=e,e&&(c&&S()?x():p.current&&Zl(p.current,v))}),k=G.useCallback(()=>{nc.remove(b(),v)},[v]);G.useEffect(()=>()=>{k()},[k]),G.useEffect(()=>{c?w():g&&o||k()},[c,k,g,o,w]);const P=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&S()&&(r||(t.stopPropagation(),l&&l(t,"escapeKeyDown")))},C=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&l&&l(t,"backdropClick")};return{getRootProps:(t={})=>{const r=Ws(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n={...r,...t};return{role:"presentation",...n,onKeyDown:P(n),ref:h}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:C(t),open:c}},getTransitionProps:()=>({onEnter:Xl(()=>{y(!1),i&&i()},s?.props.onEnter??rc),onExited:Xl(()=>{y(!0),a&&a(),o&&k()},s?.props.onExited??rc)}),rootRef:h,portalRef:O,isTopModal:S,exited:m,hasTransition:g}}({...E,rootRef:t}),_={...E,exited:N},z=(e=>{const{open:t,exited:r,classes:n}=e;return Ga({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},oc,n)})(_),L={};if(void 0===l.props.tabIndex&&(L.tabIndex="-1"),F){const{onEnter:e,onExited:t}=T();L.onEnter=e,L.onExited=t}const B={slots:{root:d.Root,backdrop:d.Backdrop,...C},slotProps:{...f,...P}},[$,V]=Wl("root",{ref:t,elementType:ic,externalForwardedProps:{...B,...M,component:u},getSlotProps:A,ownerState:_,className:nn(a,z?.root,!_.open&&_.exited&&z?.hidden)}),[W,H]=Wl("backdrop",{ref:o?.ref,elementType:n,externalForwardedProps:B,shouldForwardComponentProp:!0,additionalProps:o,getSlotProps:e=>D({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:nn(o?.className,z?.backdrop),ownerState:_});return x||k||F&&!N?(0,ce.jsx)(Vl,{ref:I,container:c,disablePortal:y,children:(0,ce.jsxs)($,{...V,children:[!b&&n?(0,ce.jsx)(W,{...H}):null,(0,ce.jsx)(Bl,{disableEnforceFocus:h,disableAutoFocus:p,disableRestoreFocus:g,isEnabled:R,open:k,children:G.cloneElement(l,L)})]})}):null}),lc=sc;function cc(e){return vs("MuiPaper",e)}bs("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const uc=ls("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})(js(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),dc=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiPaper"}),n=El(),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation",...c}=r,u={...r,component:i,elevation:a,square:s,variant:l},d=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return Ga({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},cc,o)})(u);return(0,ce.jsx)(uc,{as:i,ownerState:u,className:nn(d.root,o),ref:t,...c,style:{..."elevation"===l&&{"--Paper-shadow":(n.vars||n).shadows[a],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[a]},...!n.vars&&"dark"===n.palette.mode&&{"--Paper-overlay":`linear-gradient(${fi("#fff",Ca(a))}, ${fi("#fff",Ca(a))})`}},...c.style}})}),fc=dc;function pc(e){return vs("MuiPopover",e)}function hc(e,t){if(!e)return t;function r(e,t){const r={};return Object.keys(t).forEach(n=>{(function(e,t){const r=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&r>=65&&r<=90&&"function"==typeof t})(n,t[n])&&"function"==typeof e[n]&&(r[n]=(...r)=>{e[n](...r),t[n](...r)})}),r}if("function"==typeof e||"function"==typeof t)return n=>{const o="function"==typeof t?t(n):t,i="function"==typeof e?e({...n,...o}):e,a=nn(n?.className,o?.className,i?.className),s=r(i,o);return{...o,...i,...s,...!!a&&{className:a},...o?.style&&i?.style&&{style:{...o.style,...i.style}},...o?.sx&&i?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(i.sx)?i.sx:[i.sx]]}}};const n=t,o=r(e,n),i=nn(n?.className,e?.className);return{...t,...e,...o,...!!i&&{className:i},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function mc(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function yc(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function gc(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function vc(e){return"function"==typeof e?e():e}bs("MuiPopover",["root","paper"]);const bc=ls(lc,{name:"MuiPopover",slot:"Root"})({}),xc=ls(fc,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),wc=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiPopover"}),{action:n,anchorEl:o,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:s="anchorEl",children:l,className:c,container:u,elevation:d=8,marginThreshold:f=16,open:p,PaperProps:h={},slots:m={},slotProps:y={},transformOrigin:g={vertical:"top",horizontal:"left"},TransitionComponent:v,transitionDuration:b="auto",TransitionProps:x={},disableScrollLock:w=!1,...S}=r,O=G.useRef(),k={...r,anchorOrigin:i,anchorReference:s,elevation:d,marginThreshold:f,transformOrigin:g,TransitionComponent:v,transitionDuration:b,TransitionProps:x},P=(e=>{const{classes:t}=e;return Ga({root:["root"],paper:["paper"]},pc,t)})(k),C=G.useCallback(()=>{if("anchorPosition"===s)return a;const e=vc(o),t=(e&&1===e.nodeType?e:Ls(O.current).body).getBoundingClientRect();return{top:t.top+mc(t,i.vertical),left:t.left+yc(t,i.horizontal)}},[o,i.horizontal,i.vertical,a,s]),j=G.useCallback(e=>({vertical:mc(e,g.vertical),horizontal:yc(e,g.horizontal)}),[g.horizontal,g.vertical]),M=G.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=j(t);if("none"===s)return{top:null,left:null,transformOrigin:gc(r)};const n=C();let i=n.top-r.vertical,a=n.left-r.horizontal;const l=i+t.height,c=a+t.width,u=nl(vc(o)),d=u.innerHeight-f,p=u.innerWidth-f;if(null!==f&&i<f){const e=i-f;i-=e,r.vertical+=e}else if(null!==f&&l>d){const e=l-d;i-=e,r.vertical+=e}if(null!==f&&a<f){const e=a-f;a-=e,r.horizontal+=e}else if(c>p){const e=c-p;a-=e,r.horizontal+=e}return{top:`${Math.round(i)}px`,left:`${Math.round(a)}px`,transformOrigin:gc(r)}},[o,s,C,j,f]),[E,A]=G.useState(p),D=G.useCallback(()=>{const e=O.current;if(!e)return;const t=M(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,A(!0)},[M]);G.useEffect(()=>(w&&window.addEventListener("scroll",D),()=>window.removeEventListener("scroll",D)),[o,w,D]),G.useEffect(()=>{p&&D()}),G.useImperativeHandle(n,()=>p?{updatePosition:()=>{D()}}:null,[p,D]),G.useEffect(()=>{if(!p)return;const e=ul(()=>{D()}),t=nl(vc(o));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[o,p,D]);let T=b;const I={slots:{transition:v,...m},slotProps:{transition:x,paper:h,...y}},[R,N]=Wl("transition",{elementType:Fl,externalForwardedProps:I,ownerState:k,getSlotProps:e=>({...e,onEntering:(t,r)=>{e.onEntering?.(t,r),D()},onExited:t=>{e.onExited?.(t),A(!1)}}),additionalProps:{appear:!0,in:p}});"auto"!==b||R.muiSupportAuto||(T=void 0);const F=u||(o?Ls(vc(o)).body:void 0),[_,{slots:z,slotProps:L,...B}]=Wl("root",{ref:t,elementType:bc,externalForwardedProps:{...I,...S},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:m.backdrop},slotProps:{backdrop:hc("function"==typeof y.backdrop?y.backdrop(k):y.backdrop,{invisible:!0})},container:F,open:p},ownerState:k,className:nn(P.root,c)}),[$,V]=Wl("paper",{ref:O,className:P.paper,elementType:xc,externalForwardedProps:I,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:E?void 0:{opacity:0}},ownerState:k});return(0,ce.jsx)(_,{...B,...!$s(_)&&{slots:z,slotProps:L,disableScrollLock:w},children:(0,ce.jsx)(R,{...N,timeout:T,children:(0,ce.jsx)($,{...V,children:l})})})}),Sc=wc;function Oc(e){return vs("MuiMenu",e)}bs("MuiMenu",["root","paper","list"]);const kc={vertical:"top",horizontal:"right"},Pc={vertical:"top",horizontal:"left"},Cc=ls(Sc,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),jc=ls(xc,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Mc=ls(ll,{name:"MuiMenu",slot:"List"})({outline:0}),Ec=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiMenu"}),{autoFocus:n=!0,children:o,className:i,disableAutoFocusItem:a=!1,MenuListProps:s={},onClose:l,open:c,PaperProps:u={},PopoverClasses:d,transitionDuration:f="auto",TransitionProps:{onEntering:p,...h}={},variant:m="selectedMenu",slots:y={},slotProps:g={},...v}=r,b=Jr(),x={...r,autoFocus:n,disableAutoFocusItem:a,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:h,variant:m},w=(e=>{const{classes:t}=e;return Ga({root:["root"],paper:["paper"],list:["list"]},Oc,t)})(x),S=n&&!a&&c,O=G.useRef(null);let k=-1;G.Children.map(o,(e,t)=>{G.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===k)&&(k=t))});const P={slots:y,slotProps:{list:s,transition:h,paper:u,...g}},C=Ks({elementType:y.root,externalSlotProps:g.root,ownerState:x,className:[w.root,i]}),[j,M]=Wl("paper",{className:w.paper,elementType:jc,externalForwardedProps:P,shouldForwardComponentProp:!0,ownerState:x}),[E,A]=Wl("list",{className:nn(w.list,s.className),elementType:Mc,shouldForwardComponentProp:!0,externalForwardedProps:P,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{"Tab"===e.key&&(e.preventDefault(),l&&l(e,"tabKeyDown"))})(t),e.onKeyDown?.(t)}}),ownerState:x}),D="function"==typeof P.slotProps.transition?P.slotProps.transition(x):P.slotProps.transition;return(0,ce.jsx)(Cc,{onClose:l,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?kc:Pc,slots:{root:y.root,paper:j,backdrop:y.backdrop,...y.transition&&{transition:y.transition}},slotProps:{root:C,paper:M,backdrop:"function"==typeof g.backdrop?g.backdrop(x):g.backdrop,transition:{...D,onEntering:(...e)=>{((e,t)=>{O.current&&O.current.adjustStyleForScrollbar(e,{direction:b?"rtl":"ltr"}),p&&p(e,t)})(...e),D?.onEntering?.(...e)}}},open:c,ref:t,transitionDuration:f,ownerState:x,...v,classes:d,children:(0,ce.jsx)(E,{actions:O,autoFocus:n&&(-1===k||a),autoFocusItem:S,variant:m,...A,children:o})})}),Ac=Ec;function Dc(e){return vs("MuiNativeSelect",e)}const Tc=bs("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Ic=ls("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Tc.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Rc=ls(Ic,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:as,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Tc.multiple}`]:t.multiple}]}})({}),Nc=ls("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Tc.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Fc=ls(Nc,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fs(r.variant)}`],r.open&&t.iconOpen]}})({}),_c=G.forwardRef(function(e,t){const{className:r,disabled:n,error:o,IconComponent:i,inputRef:a,variant:s="standard",...l}=e,c={...e,disabled:n,variant:s,error:o},u=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return Ga({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${fs(r)}`,i&&"iconOpen",n&&"disabled"]},Dc,t)})(c);return(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)(Rc,{ownerState:c,className:nn(u.select,r),disabled:n,ref:a||t,...l}),e.multiple?null:(0,ce.jsx)(Fc,{as:i,ownerState:c,className:u.icon})]})});function zc(e){const{controlled:t,default:r,name:n,state:o="value"}=e,{current:i}=G.useRef(void 0!==t),[a,s]=G.useState(r);return[i?t:a,G.useCallback(e=>{i||s(e)},[])]}const Lc=zc;function Bc(e){return vs("MuiSelect",e)}const $c=bs("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Vc;const Wc=ls(Ic,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${$c.select}`]:t.select},{[`&.${$c.select}`]:t[r.variant]},{[`&.${$c.error}`]:t.error},{[`&.${$c.multiple}`]:t.multiple}]}})({[`&.${$c.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Hc=ls(Nc,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fs(r.variant)}`],r.open&&t.iconOpen]}})({}),qc=ls("input",{shouldForwardProp:e=>is(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Uc(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Kc(e){return null==e||"string"==typeof e&&!e.trim()}const Yc=G.forwardRef(function(e,t){const{"aria-describedby":r,"aria-label":n,autoFocus:o,autoWidth:i,children:a,className:s,defaultOpen:l,defaultValue:c,disabled:u,displayEmpty:d,error:f=!1,IconComponent:p,inputRef:h,labelId:m,MenuProps:y={},multiple:g,name:v,onBlur:b,onChange:x,onClose:w,onFocus:S,onOpen:O,open:k,readOnly:P,renderValue:C,required:j,SelectDisplayProps:M={},tabIndex:E,type:A,value:D,variant:T="standard",...I}=e,[R,N]=Lc({controlled:D,default:c,name:"Select"}),[F,_]=Lc({controlled:k,default:l,name:"Select"}),z=G.useRef(null),L=G.useRef(null),[B,$]=G.useState(null),{current:V}=G.useRef(null!=k),[W,H]=G.useState(),q=el(t,h),U=G.useCallback(e=>{L.current=e,e&&$(e)},[]),K=B?.parentNode;G.useImperativeHandle(q,()=>({focus:()=>{L.current.focus()},node:z.current,value:R}),[R]),G.useEffect(()=>{l&&F&&B&&!V&&(H(i?null:K.clientWidth),L.current.focus())},[B,i]),G.useEffect(()=>{o&&L.current.focus()},[o]),G.useEffect(()=>{if(!m)return;const e=Ls(L.current).getElementById(m);if(e){const t=()=>{getSelection().isCollapsed&&L.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[m]);const Y=(e,t)=>{e?O&&O(t):w&&w(t),V||(H(i?null:K.clientWidth),_(e))},Q=G.Children.toArray(a),X=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(g){r=Array.isArray(R)?R.slice():[];const t=R.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),R!==r&&(N(r),x)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:v}}),x(o,e)}g||Y(!1,t)}},Z=null!==B&&F;let J,ee;delete I["aria-invalid"];const te=[];let re=!1,ne=!1;(ds({value:R})||d)&&(C?J=C(R):re=!0);const oe=Q.map(e=>{if(!G.isValidElement(e))return null;let t;if(g){if(!Array.isArray(R))throw new Error(Vn(2));t=R.some(t=>Uc(t,e.props.value)),t&&re&&te.push(e.props.children)}else t=Uc(R,e.props.value),t&&re&&(ee=e.props.children);return t&&(ne=!0),G.cloneElement(e,{"aria-selected":t?"true":"false",onClick:X(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});re&&(J=g?0===te.length?null:te.reduce((e,t,r)=>(e.push(t),r<te.length-1&&e.push(", "),e),[]):ee);let ie,ae=W;!i&&V&&B&&(ae=K.clientWidth),ie=void 0!==E?E:u?null:0;const se=M.id||(v?`mui-component-select-${v}`:void 0),le={...e,variant:T,value:R,open:Z,error:f},ue=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return Ga({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${fs(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},Bc,t)})(le),de={...y.PaperProps,..."function"==typeof y.slotProps?.paper?y.slotProps.paper(le):y.slotProps?.paper},fe={...y.MenuListProps,..."function"==typeof y.slotProps?.list?y.slotProps.list(le):y.slotProps?.list},pe=dn();return(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)(Wc,{as:"div",ref:U,tabIndex:ie,role:"combobox","aria-controls":Z?pe:void 0,"aria-disabled":u?"true":void 0,"aria-expanded":Z?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[m,se].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":j?"true":void 0,"aria-invalid":f?"true":void 0,onKeyDown:e=>{P||[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),Y(!0,e))},onMouseDown:u||P?null:e=>{0===e.button&&(e.preventDefault(),L.current.focus(),Y(!0,e))},onBlur:e=>{!Z&&b&&(Object.defineProperty(e,"target",{writable:!0,value:{value:R,name:v}}),b(e))},onFocus:S,...M,ownerState:le,className:nn(M.className,ue.select,s),id:se,children:Kc(J)?Vc||(Vc=(0,ce.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""})):J}),(0,ce.jsx)(qc,{"aria-invalid":f,value:Array.isArray(R)?R.join(","):R,name:v,ref:z,"aria-hidden":!0,onChange:e=>{const t=Q.find(t=>t.props.value===e.target.value);void 0!==t&&(N(t.props.value),x&&x(e,t))},tabIndex:-1,disabled:u,className:ue.nativeInput,autoFocus:o,required:j,...I,ownerState:le}),(0,ce.jsx)(Hc,{as:p,className:ue.icon,ownerState:le}),(0,ce.jsx)(Ac,{id:`menu-${v||""}`,anchorEl:K,open:Z,onClose:e=>{Y(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...y,slotProps:{...y.slotProps,list:{"aria-labelledby":m,role:"listbox","aria-multiselectable":g?"true":void 0,disableListWrap:!0,id:pe,...fe},paper:{...de,style:{minWidth:ae,...null!=de?de.style:null}}},children:oe})]})}),Gc=Yc;function Qc(e){return vs("MuiSvgIcon",e)}bs("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Xc=ls("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${fs(r.color)}`],t[`fontSize${fs(r.fontSize)}`]]}})(js(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Zc=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24",...f}=r,p=G.isValidElement(n)&&"svg"===n.type,h={...r,color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:p},m={};c||(m.viewBox=d);const y=(e=>{const{color:t,fontSize:r,classes:n}=e;return Ga({root:["root","inherit"!==t&&`color${fs(t)}`,`fontSize${fs(r)}`]},Qc,n)})(h);return(0,ce.jsxs)(Xc,{as:a,className:nn(y.root,o),focusable:"false",color:l,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t,...m,...f,...p&&n.props,ownerState:h,children:[p?n.props.children:n,u?(0,ce.jsx)("title",{children:u}):null]})});Zc.muiName="SvgIcon";const Jc=Zc;function eu(e,t){function r(t,r){return(0,ce.jsx)(Jc,{"data-testid":void 0,ref:r,...t,children:e})}return r.muiName=Jc.muiName,G.memo(G.forwardRef(r))}const tu=eu((0,ce.jsx)("path",{d:"M7 10l5 5 5-5z"}));function ru(e){return parseInt(e,10)||0}const nu={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function ou(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const iu=G.forwardRef(function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:i,value:a,...s}=e,{current:l}=G.useRef(null!=a),c=G.useRef(null),u=Bs(t,c),d=G.useRef(null),f=G.useRef(null),p=G.useCallback(()=>{const t=c.current,r=f.current;if(!t||!r)return;const i=rl(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=i.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const a=i.boxSizing,s=ru(i.paddingBottom)+ru(i.paddingTop),l=ru(i.borderBottomWidth)+ru(i.borderTopWidth),u=r.scrollHeight;r.value="x";const d=r.scrollHeight;let p=u;return o&&(p=Math.max(Number(o)*d,p)),n&&(p=Math.min(Number(n)*d,p)),p=Math.max(p,d),{outerHeightStyle:p+("border-box"===a?s+l:0),overflowing:Math.abs(p-u)<=1}},[n,o,e.placeholder]),h=Ql(()=>{const e=c.current,t=p();if(!e||!t||ou(t))return!1;const r=t.outerHeightStyle;return null!=d.current&&d.current!==r}),m=G.useCallback(()=>{const e=c.current,t=p();if(!e||!t||ou(t))return;const r=t.outerHeightStyle;d.current!==r&&(d.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""},[p]),y=G.useRef(-1);return ln(()=>{const e=cl(m),t=c?.current;if(!t)return;const r=rl(t);let n;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(()=>{h()&&(n.unobserve(t),cancelAnimationFrame(y.current),m(),y.current=requestAnimationFrame(()=>{n.observe(t)}))}),n.observe(t)),()=>{e.clear(),cancelAnimationFrame(y.current),r.removeEventListener("resize",e),n&&n.disconnect()}},[p,m,h]),ln(()=>{m()}),(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)("textarea",{value:a,onChange:e=>{l||m();const t=e.target,n=t.value.length,o=t.value.endsWith("\n"),i=t.selectionStart===n;o&&i&&t.setSelectionRange(n,n),r&&r(e)},ref:u,rows:o,style:i,...s}),(0,ce.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:{...nu,...i,paddingTop:0,paddingBottom:0}})]})}),au=iu;function su(e){const{sx:t,...r}=e,{systemProps:n,otherProps:o}=(e=>{const t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??zo;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return Dn(r)?{...n,...r}:n}:{...n,...t},{...o,sx:i}}const lu=function(e){return(0,ce.jsx)(Uo,{...e,defaultTheme:os,themeId:Qo})};function cu(e){return vs("MuiInputBase",e)}const uu=bs("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var du;const fu=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${fs(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},pu=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},hu=ls("div",{name:"MuiInputBase",slot:"Root",overridesResolver:fu})(js(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${uu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),mu=ls("input",{name:"MuiInputBase",slot:"Input",overridesResolver:pu})(js(({theme:e})=>{const t="light"===e.palette.mode,r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},n={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${uu.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${uu.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),yu=function(e){return function(t){return(0,ce.jsx)(lu,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),gu=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:o,autoFocus:i,className:a,color:s,components:l={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,error:h,fullWidth:m=!1,id:y,inputComponent:g="input",inputProps:v={},inputRef:b,margin:x,maxRows:w,minRows:S,multiline:O=!1,name:k,onBlur:P,onChange:C,onClick:j,onFocus:M,onKeyDown:E,onKeyUp:A,placeholder:D,readOnly:T,renderSuffix:I,rows:R,size:N,slotProps:F={},slots:_={},startAdornment:z,type:L="text",value:B,...$}=r,V=null!=v.value?v.value:B,{current:W}=G.useRef(null!=V),H=G.useRef(),q=G.useCallback(e=>{},[]),U=el(H,b,v.ref,q),[K,Y]=G.useState(!1),Q=Ps(),X=ks({props:r,muiFormControl:Q,states:["color","disabled","error","hiddenLabel","size","required","filled"]});X.focused=Q?Q.focused:K,G.useEffect(()=>{!Q&&d&&K&&(Y(!1),P&&P())},[Q,d,K,P]);const Z=Q&&Q.onFilled,J=Q&&Q.onEmpty,ee=G.useCallback(e=>{ds(e)?Z&&Z():J&&J()},[Z,J]);tl(()=>{W&&ee({value:V})},[V,ee,W]),G.useEffect(()=>{ee(H.current)},[]);let te=g,re=v;O&&"input"===te&&(re=R?{type:void 0,minRows:R,maxRows:R,...re}:{type:void 0,maxRows:w,minRows:S,...re},te=au),G.useEffect(()=>{Q&&Q.setAdornedStart(Boolean(z))},[Q,z]);const ne={...r,color:X.color||"primary",disabled:X.disabled,endAdornment:p,error:X.error,focused:X.focused,formControl:Q,fullWidth:m,hiddenLabel:X.hiddenLabel,multiline:O,size:X.size,startAdornment:z,type:L},oe=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:h}=e;return Ga({root:["root",`color${fs(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&`size${fs(f)}`,u&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},cu,t)})(ne),ie=_.root||l.Root||hu,ae=F.root||c.root||{},se=_.input||l.Input||mu;return re={...re,...F.input??c.input},(0,ce.jsxs)(G.Fragment,{children:[!f&&"function"==typeof yu&&(du||(du=(0,ce.jsx)(yu,{}))),(0,ce.jsxs)(ie,{...ae,ref:t,onClick:e=>{H.current&&e.currentTarget===e.target&&H.current.focus(),j&&j(e)},...$,...!$s(ie)&&{ownerState:{...ne,...ae.ownerState}},className:nn(oe.root,ae.className,a,T&&"MuiInputBase-readOnly"),children:[z,(0,ce.jsx)(hs.Provider,{value:null,children:(0,ce.jsx)(se,{"aria-invalid":X.error,"aria-describedby":n,autoComplete:o,autoFocus:i,defaultValue:u,disabled:X.disabled,id:y,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:k,placeholder:D,readOnly:T,required:X.required,rows:R,value:V,onKeyDown:E,onKeyUp:A,type:L,...re,...!$s(se)&&{as:te,ownerState:{...ne,...re.ownerState}},ref:U,className:nn(oe.input,re.className,T&&"MuiInputBase-readOnly"),onBlur:e=>{P&&P(e),v.onBlur&&v.onBlur(e),Q&&Q.onBlur?Q.onBlur(e):Y(!1)},onChange:(e,...t)=>{if(!W){const t=e.target||H.current;if(null==t)throw new Error(Vn(1));ee({value:t.value})}v.onChange&&v.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{M&&M(e),v.onFocus&&v.onFocus(e),Q&&Q.onFocus?Q.onFocus(e):Y(!0)}})}),p,I?I({...X,startAdornment:z}):null]})]})}),vu=gu;function bu(e){return vs("MuiInput",e)}const xu={...uu,...bs("MuiInput",["root","underline","input"])},wu=ls(hu,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...fu(e,t),!r.disableUnderline&&t.underline]}})(js(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${xu.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${xu.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${xu.disabled}, .${xu.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${xu.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ms()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),Su=ls(mu,{name:"MuiInput",slot:"Input",overridesResolver:pu})({}),Ou=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiInput"}),{disableUnderline:n=!1,components:o={},componentsProps:i,fullWidth:a=!1,inputComponent:s="input",multiline:l=!1,slotProps:c,slots:u={},type:d="text",...f}=r,p=(e=>{const{classes:t,disableUnderline:r}=e,n=Ga({root:["root",!r&&"underline"],input:["input"]},bu,t);return{...t,...n}})(r),h={root:{ownerState:{disableUnderline:n}}},m=c??i?In(c??i,h):h,y=u.root??o.Root??wu,g=u.input??o.Input??Su;return(0,ce.jsx)(vu,{slots:{root:y,input:g},slotProps:m,fullWidth:a,inputComponent:s,multiline:l,ref:t,type:d,...f,classes:p})});Ou.muiName="Input";const ku=Ou;function Pu(e){return vs("MuiFilledInput",e)}const Cu={...uu,...bs("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},ju=ls(hu,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...fu(e,t),!r.disableUnderline&&t.underline]}})(js(({theme:e})=>{const t="light"===e.palette.mode,r=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n}},[`&.${Cu.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n},[`&.${Cu.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Cu.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Cu.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Cu.disabled}, .${Cu.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Cu.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ms()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),Mu=ls(mu,{name:"MuiFilledInput",slot:"Input",overridesResolver:pu})(js(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Eu=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiFilledInput"}),{disableUnderline:n=!1,components:o={},componentsProps:i,fullWidth:a=!1,hiddenLabel:s,inputComponent:l="input",multiline:c=!1,slotProps:u,slots:d={},type:f="text",...p}=r,h={...r,disableUnderline:n,fullWidth:a,inputComponent:l,multiline:c,type:f},m=(e=>{const{classes:t,disableUnderline:r,startAdornment:n,endAdornment:o,size:i,hiddenLabel:a,multiline:s}=e,l=Ga({root:["root",!r&&"underline",n&&"adornedStart",o&&"adornedEnd","small"===i&&`size${fs(i)}`,a&&"hiddenLabel",s&&"multiline"],input:["input"]},Pu,t);return{...t,...l}})(r),y={root:{ownerState:h},input:{ownerState:h}},g=u??i?In(y,u??i):y,v=d.root??o.Root??ju,b=d.input??o.Input??Mu;return(0,ce.jsx)(vu,{slots:{root:v,input:b},slotProps:g,fullWidth:a,inputComponent:l,multiline:c,ref:t,type:f,...p,classes:m})});Eu.muiName="Input";const Au=Eu;var Du;const Tu=ls("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:as})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Iu=ls("legend",{name:"MuiNotchedOutlined",shouldForwardProp:as})(js(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function Ru(e){return vs("MuiOutlinedInput",e)}const Nu={...uu,...bs("MuiOutlinedInput",["root","notchedOutline","input"])},Fu=ls(hu,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:fu})(js(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Nu.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Nu.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Nu.focused} .${Nu.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Ms()).map(([t])=>({props:{color:t},style:{[`&.${Nu.focused} .${Nu.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Nu.error} .${Nu.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Nu.disabled} .${Nu.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),_u=ls(function(e){const{children:t,classes:r,className:n,label:o,notched:i,...a}=e,s=null!=o&&""!==o,l={...e,notched:i,withLabel:s};return(0,ce.jsx)(Tu,{"aria-hidden":!0,className:n,ownerState:l,...a,children:(0,ce.jsx)(Iu,{ownerState:l,children:s?(0,ce.jsx)("span",{children:o}):Du||(Du=(0,ce.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline"})(js(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),zu=ls(mu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:pu})(js(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),Lu=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiOutlinedInput"}),{components:n={},fullWidth:o=!1,inputComponent:i="input",label:a,multiline:s=!1,notched:l,slots:c={},slotProps:u={},type:d="text",...f}=r,p=(e=>{const{classes:t}=e,r=Ga({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ru,t);return{...t,...r}})(r),h=Ps(),m=ks({props:r,muiFormControl:h,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),y={...r,color:m.color||"primary",disabled:m.disabled,error:m.error,focused:m.focused,formControl:h,fullWidth:o,hiddenLabel:m.hiddenLabel,multiline:s,size:m.size,type:d},g=c.root??n.Root??Fu,v=c.input??n.Input??zu,[b,x]=Wl("notchedOutline",{elementType:_u,className:p.notchedOutline,shouldForwardComponentProp:!0,ownerState:y,externalForwardedProps:{slots:c,slotProps:u},additionalProps:{label:null!=a&&""!==a&&m.required?(0,ce.jsxs)(G.Fragment,{children:[a," ","*"]}):a}});return(0,ce.jsx)(vu,{slots:{root:g,input:v},slotProps:u,renderSuffix:e=>(0,ce.jsx)(b,{...x,notched:void 0!==l?l:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:o,inputComponent:i,multiline:s,ref:t,type:d,...f,classes:{...p,notchedOutline:null}})});Lu.muiName="Input";const Bu=Lu,$u={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>as(e)&&"variant"!==e},Vu=ls(ku,$u)(""),Wu=ls(Bu,$u)(""),Hu=ls(Au,$u)(""),qu=G.forwardRef(function(e,t){const r=cs({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:i={},className:a,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:c=tu,id:u,input:d,inputProps:f,label:p,labelId:h,MenuProps:m,multiple:y=!1,native:g=!1,onClose:v,onOpen:b,open:x,renderValue:w,SelectDisplayProps:S,variant:O="outlined",...k}=r,P=g?_c:Gc,C=ks({props:r,muiFormControl:Ps(),states:["variant","error"]}),j=C.variant||O,M={...r,variant:j,classes:i},E=(e=>{const{classes:t}=e,r=Ga({root:["root"]},Bc,t);return{...t,...r}})(M),{root:A,...D}=E,T=d||{standard:(0,ce.jsx)(Vu,{ownerState:M}),outlined:(0,ce.jsx)(Wu,{label:p,ownerState:M}),filled:(0,ce.jsx)(Hu,{ownerState:M})}[j],I=el(t,_s(T));return(0,ce.jsx)(G.Fragment,{children:G.cloneElement(T,{inputComponent:P,inputProps:{children:o,error:C.error,IconComponent:c,variant:j,type:void 0,multiple:y,...g?{id:u}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:h,MenuProps:m,onClose:v,onOpen:b,open:x,renderValue:w,SelectDisplayProps:{id:u,...S}},...f,classes:f?In(D,f.classes):D,...d?d.props.inputProps:{}},...(y&&g||l)&&"outlined"===j?{notched:!0}:{},ref:I,className:nn(T.props.className,a,E.root),...!d&&{variant:j},...k})})});qu.muiName="Select";const Uu=qu;function Ku(e){try{return e.matches(":focus-visible")}catch(e){}return!1}const Yu=Ql;class Gu{static create(){return new Gu}static use(){const e=fl(Gu.create).current,[t,r]=G.useState(!1);return e.shouldMount=t,e.setShouldMount=r,G.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function Qu(e,t){var r=Object.create(null);return e&&G.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=function(e){return t&&(0,G.isValidElement)(e)?t(e):e}(e)}),r}function Xu(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Zu(e,t,r){var n=Qu(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var c=o[l][n];s[o[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if((0,G.isValidElement)(a)){var s=i in t,l=i in n,c=t[i],u=(0,G.isValidElement)(c)&&!c.props.in;!l||s&&!u?l||!s||u?l&&s&&(0,G.isValidElement)(c)&&(o[i]=(0,G.cloneElement)(a,{onExited:r.bind(null,a),in:c.props.in,exit:Xu(a,"exit",e),enter:Xu(a,"enter",e)})):o[i]=(0,G.cloneElement)(a,{in:!1}):o[i]=(0,G.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:Xu(a,"exit",e),enter:Xu(a,"enter",e)})}}),o}var Ju=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},ed=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}vl(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,Qu(r.children,function(e){return(0,G.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:Xu(e,"appear",r),enter:Xu(e,"enter",r),exit:Xu(e,"exit",r)})})):Zu(e,o,i),firstRender:!1}},r.handleExited=function(e,t){var r=Qu(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=fn({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=yl(e,["component","childFactory"]),o=this.state.contextValue,i=Ju(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?X().createElement(bl.Provider,{value:o},i):X().createElement(bl.Provider,{value:o},X().createElement(t,n,i))},t}(X().Component);ed.propTypes={},ed.defaultProps={component:"div",childFactory:function(e){return e}};const td=ed,rd=bs("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),nd=Mn`
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.main=t(require("react"),require("react-dom")):e.main=t(e.react,e["react-dom"])}(self,(e,t)=>(()=>{var r,n,o={1508(e){function t(e){var r,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(r=0;r<i;r++)e[r]&&(n=t(e[r]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function r(){for(var e,r,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(r=t(e))&&(o&&(o+=" "),o+=r);return o}e.exports=r,e.exports.clsx=r},9241(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".chart-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;gap:8px;width:100%;height:100%;padding:24px}.chart-empty-state__title{margin:0;font-size:15px;font-weight:600;color:#3c3735;text-align:center}",""]);const s=a},3441(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".chart-error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;gap:8px;width:100%;height:100%;padding:24px}.chart-error-state__title{margin:0;font-size:15px;font-weight:600;color:#3c3735;text-align:center}.chart-error-state__messages{display:flex;flex-direction:column;gap:2px;text-align:center}.chart-error-state__message{margin:0;font-size:13px;color:#595350;text-align:center}",""]);const s=a},3018(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".charts-calendar{display:flex;flex-direction:column;align-items:flex-start;width:100%;max-width:100%;min-width:0;padding:40px}.charts-calendar-month-labels{display:flex;gap:4px;margin-bottom:4px}.charts-calendar-day-labels-spacer{flex:0 0 76px}.charts-calendar-month-labels-grid{display:grid;grid-auto-rows:16px;gap:2px;font-size:11px;white-space:nowrap}.charts-calendar-month-labels-grid span{text-align:center}.charts-calendar-body{display:flex;gap:4px}.charts-calendar-day-labels{flex:0 0 76px;display:flex;flex-direction:column;gap:2px;font-size:10px}.charts-calendar-day-labels span{height:20px;line-height:20px;white-space:nowrap}.charts-calendar-grid{display:grid;grid-auto-rows:20px;gap:2px}.charts-calendar-cell{width:20px;height:20px;border-radius:2px}.charts-calendar-legend{display:flex;justify-content:center;width:100%;margin-top:12px;font-size:12px}.charts-calendar-legend .chart-legend{display:flex;flex-flow:row wrap;align-items:center;height:auto;justify-content:flex-start;padding-bottom:0;margin-right:0;width:auto;max-width:none;gap:16px}.charts-calendar-legend .chart-legend-item{margin-bottom:0}.charts-calendar-tooltip{position:fixed;z-index:10;background:#fff;border:1px solid #ccc;border-radius:4px;padding:6px 8px;font-size:12px;display:flex;flex-direction:column;gap:2px;pointer-events:none;box-shadow:rgba(0,0,0,.15) 0 1px 4px}",""]);const s=a},6876(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".recharts-tooltip-wrapper{z-index:100}.chart-tooltip-content{padding:6px 10px;font-size:12px;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.15)}.chart-tooltip-content__label{margin-bottom:4px;font-weight:600;color:#1a1a1a}.chart-tooltip-content__entry{display:flex;align-items:center;gap:6px;color:#1a1a1a}.chart-tooltip-content__dot{display:inline-block;flex-shrink:0;width:8px;height:8px;border-radius:50%}",""]);const s=a},7271(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".charts-gauge{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}.charts-gauge-classic-canvas{width:auto;max-width:100%;height:100%;max-height:250px;aspect-ratio:2/1;flex:1 1 auto;min-height:0;position:relative}.charts-gauge-classic-canvas-clip{position:absolute;inset:0;overflow:hidden}.charts-gauge-classic-canvas-square{position:absolute;top:0;left:0;width:100%;aspect-ratio:1/1}.charts-gauge-classic-readout{flex:none;text-align:center;margin-top:-8px}.charts-gauge-classic-value{font-size:22px;font-weight:700}.charts-gauge-title{flex:none;margin:0;font-size:var(--font-size-gauge);font-weight:800}",""]);const s=a},7788(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".charts-heatmap{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;align-self:stretch}.charts-heatmap-body{display:flex;align-items:stretch;flex:0 1 auto;min-width:0;min-height:0}.charts-heatmap-y-axis-label{flex:0 0 24px;display:flex;align-items:center;justify-content:center;margin-right:4px}.charts-heatmap-y-axis-label span{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;font-size:12px}.charts-heatmap-grid{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.charts-heatmap-header,.charts-heatmap-row{display:flex;align-items:stretch}.charts-heatmap-header{flex:0 0 auto}.charts-heatmap-row{flex:0 1 25px;min-height:0}.charts-heatmap-row-label{flex:0 0 120px;display:flex;align-items:center;padding-right:8px;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.charts-heatmap-column-label{flex:1;text-align:center;font-size:12px;padding-bottom:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.charts-heatmap-cell{flex:1;display:flex;align-items:center;justify-content:center;font-size:11px;border:1px solid #fff;cursor:default}.charts-heatmap-legend{display:flex;flex-direction:column;align-items:flex-start;flex-shrink:0;margin:24px auto 0;width:260px;max-width:100%}.charts-heatmap-legend-title{width:100%;text-align:center;font-size:12px;margin-bottom:4px}.charts-heatmap-legend-bar-wrapper{position:relative;width:100%}.charts-heatmap-legend-bar{width:100%;height:8px;border-radius:2px}.charts-heatmap-legend-ticks{position:relative;width:100%;height:18px;margin-top:2px}.charts-heatmap-legend-tick{position:absolute;top:0;display:flex;flex-direction:column;align-items:flex-start}.charts-heatmap-legend-tick-mark{width:1px;height:4px;background:#999;transform:translateX(-50%)}.charts-heatmap-legend-tick-label{display:inline-block;font-size:10px;color:#333;margin-top:1px;white-space:nowrap}.charts-heatmap-tooltip{position:fixed;z-index:10;background:#fff;border:1px solid #ccc;border-radius:4px;padding:6px 8px;font-size:12px;display:flex;flex-direction:column;gap:2px;pointer-events:none;box-shadow:rgba(0,0,0,.15) 0 1px 4px}",""]);const s=a},8578(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".truncated-axis-tick-full{display:none}.truncated-axis-tick-tooltip{position:fixed;z-index:100;display:inline-block;background:#fff;border:1px solid #ccc;border-radius:4px;padding:2px 6px;font-size:11px;white-space:nowrap;box-shadow:0 1px 4px rgba(0,0,0,.15);pointer-events:none}@media print{.truncated-axis-tick-truncated{display:none}.truncated-axis-tick-full{display:inline}}",""]);const s=a},5913(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,'body{font-family:"PT Sans",sans-serif}.dashboard-root,.dashboard-focus-trapping-modal-container{width:100%;height:100%;--font-size-xs: 10px;--font-size-sm: 12px;--font-size-md: 14px;--font-size-lg: 15px;--font-size-xl: 16px;--font-size-loading: 17px;--font-size-gauge: 18px;--font-size-header: 20px;--font-size-modal-title: 22px;--font-size-kpi-large: 35px}button{cursor:pointer;border:none;background:none}.dashboard{width:100%;height:100%}.dashboard-header{display:flex;margin-left:10px;margin-right:10px}.dashboard-item{border:1px solid #dfdcdb;border-radius:4px;background-color:#fff;display:flex;flex-direction:column;height:100%;overflow:hidden}.dashboard-item-loading{position:relative;height:100px;display:flex;justify-content:center;align-items:center}.dashboard-filter-panel-loading{display:flex;justify-content:center;align-items:center;min-height:48px}.dashboard-item-header{display:flex;flex-direction:row;justify-content:space-between;padding:10px;border-bottom:1px solid #eae9e9;gap:15px}.dashboard-item-header .dashboard-item-header-title{flex:1;font-size:var(--font-size-header);font-weight:bold;align-items:center;display:flex;gap:5px;color:#595350;margin:0;min-height:32px}.dashboard-chart-filter-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:4px;background-color:#f0efed;cursor:pointer}.dashboard-chart-filter-icon__active{background-color:#e7f2d3}.dashboard-chart-filter-icon__count{display:flex;justify-content:center;background:linear-gradient(145deg, #68aa22, #5e9820);border:.5px solid #a4cc7a;box-shadow:0 1px 3px rgba(0,0,0,.15),inset 0 1px 0 hsla(0,0%,100%,.2);border-radius:15px;position:relative;top:-15px;right:-17px;color:#fff;font-size:var(--font-size-sm);max-width:20px}.draggable-handle{cursor:move;width:30px;height:30px;z-index:10;border-radius:4px;display:flex;justify-content:center;align-items:center;background-color:#f0efed}.draggable-handle svg{transform:rotate(45deg)}.show-me-data-button{width:30px;height:30px;z-index:10;border-radius:4px;display:flex;justify-content:center;align-items:center;background-color:#f0efed}.chart-filter-button{width:30px;height:30px;margin-right:5px}.resize-handle{background-color:#c4c4c4}.dashboard-header__filter-panel-container{flex:auto;min-width:0;z-index:10;padding-right:5px}.dashboard-filter-panel{background:linear-gradient(145deg, #eff6d1, #e1eed3);border-radius:8px;border:.5px solid #68aa22;box-shadow:0 2px 6px rgba(0,0,0,.08),inset 0 1px 0 hsla(0,0%,100%,.3);backdrop-filter:blur(5px);display:flex;align-items:center;padding-right:10px;white-space:nowrap}.dashboard-filter-panel__inactive{background:linear-gradient(145deg, #dfdcdb, #efeeed);border:.5px solid #c7c4c3;box-shadow:0 2px 6px rgba(0,0,0,.05),inset 0 1px 0 hsla(0,0%,100%,.2)}.dashboard-filter-panel__content{border-radius:8px;padding:9px;display:flex;gap:20px;flex-flow:row nowrap;align-items:center;overflow:hidden}.dashboard-filter-panel-filters-icon{display:flex;align-items:center;background:linear-gradient(145deg, #776e6a, #595350);border-radius:15px;color:#fff !important;padding:4px 8px;box-shadow:0 1px 3px rgba(0,0,0,.12),inset 0 1px 0 hsla(0,0%,100%,.1);backdrop-filter:blur(3px);border:.5px solid #ada8a6;font-weight:500}.dashboard-filter-panel-filters-icon__active{background:linear-gradient(145deg, #68aa22, #5e9820);border:.5px solid #a4cc7a;box-shadow:0 1px 3px rgba(0,0,0,.15),inset 0 1px 0 hsla(0,0%,100%,.2)}.dashboard-filter-panel__filter{display:flex;flex-direction:column;gap:2px}.dashboard-filter-panel__filter-options{display:flex;gap:5px;flex-wrap:nowrap}.dashboard-filter-panel__filter-option{display:flex;flex-direction:row}.dashboard-filter-panel__filter-option__active{font-weight:bold;margin-right:5px}.dashboard-kpi{display:flex;flex-direction:column;flex:1;align-items:stretch;height:95%;max-height:95%;min-height:0;min-width:160px;padding:4px 6px;overflow:hidden}.dashboard-kpi-clickable{cursor:pointer}.dashboard-infopanel{display:flex;flex-direction:row;align-items:stretch;max-height:100%;flex:1;position:relative}.dashboard-infopanel__scroll-indicator{position:absolute;left:10px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:hsla(0,0%,100%,.9);border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.15);z-index:10;transition:opacity .2s ease,transform .2s ease;cursor:pointer}.dashboard-infopanel__scroll-indicator:hover{background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.2)}.dashboard-infopanel__scroll-indicator--right{left:auto;right:10px}.dashboard-infopanel__scroll-indicator .dashboard-tooltip-container{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.dashboard-infopanel__scroll-indicator .dashboard-tooltip-container>span{display:flex;align-items:center;justify-content:center}.dashboard-infopanel__scroll-indicator--hidden{opacity:0;transform:translateY(-50%) translateX(-10px)}.dashboard-infopanel__scroll-indicator--right.dashboard-infopanel__scroll-indicator--hidden{transform:translateY(-50%) translateX(10px)}.dashboard-infopanel-metrics{height:100%;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;flex:1;overflow:auto hidden;scrollbar-width:thin;gap:10px;min-height:0;padding:2px}.dashboard-infopanel-metrics::-webkit-scrollbar{height:8px}.dashboard-infopanel-metrics::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.dashboard-infopanel-metrics::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.dashboard-infopanel-metrics::-webkit-scrollbar-thumb:hover{background:#555}.kpi-card{display:flex;flex-direction:column;flex:1;height:100%;min-height:0;background:#fff;border-radius:10px;transition:border-color .2s ease;overflow:hidden}.kpi-card__hover-green-1:hover{border-color:#70cc12}.kpi-card__hover-green-2:hover{border-color:#009d00}.kpi-card__hover-green-3:hover{border-color:#aaea0f}.kpi-card__hover-green-4:hover{border-color:#005f00}.kpi-card__hover-orange-1:hover{border-color:#ffb62c}.kpi-card__hover-orange-2:hover{border-color:#f8c867}.kpi-card__hover-blue-1:hover{border-color:#50b4f4}.kpi-card__hover-blue-2:hover{border-color:#7acbff}.kpi-card__hover-purple-1:hover{border-color:#ba9eea}.kpi-card__hover-purple-2:hover{border-color:#cbaffb}.kpi-card__hover-yellow-1:hover{border-color:#ffd950}.kpi-card__hover-yellow-2:hover{border-color:#ffe790}.kpi-card__hover-teal-1:hover{border-color:#6eeae2}.kpi-card__hover-teal-2:hover{border-color:#93f8f2}.kpi-card__hover-red-1:hover{border-color:#fa6969}.kpi-card__hover-red-2:hover{border-color:#ff8b8b}.kpi-card-header{padding:10px 12px 4px;flex-shrink:0}.kpi-card>.dashboard-tooltip-container>span{width:100%}.kpi-card-title{font-family:"PT Sans",sans-serif;font-weight:600;font-size:var(--font-size-xl, 18px);color:#595959;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.kpi-card-content{display:flex;flex:1;flex-direction:column;justify-content:space-evenly;align-items:center;padding:0 10px 10px;min-height:0;overflow:hidden;container-type:size;container-name:kpi-content}.kpi-card-content>*{flex-shrink:0}.dashboard-kpi-metric-seperator{height:1px;width:calc(100% - 15px);background-color:#dfdcdb;border-radius:1px;margin:5px auto}.dashboard-kpi-metric-arrow{position:relative;display:flex;align-items:center;font-size:var(--font-size-xl, 20px);margin-top:-5px}.dashboard-kpi-metric-arrow.arrow-up svg,.dashboard-kpi-metric-arrow.arrow-down svg,.dashboard-kpi-metric-arrow.on-track svg{width:.9em !important;height:.9em !important;display:block;vertical-align:middle}.dashboard-kpi-metric-number-row{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}.dashboard-kpi-metric-number-and-arrow{display:inline-flex;flex-direction:row;align-items:center;gap:8px}.dashboard-kpi-metric-number-and-arrow--no-comparator::after{content:none}.dashboard-kpi-metric-arrow-placeholder{width:.9em;height:.9em;min-width:14px;min-height:14px;flex-shrink:0;background-color:#fff}.dashboard-kpi-metric-number{font-weight:300;font-size:clamp(14px,15cqh,var(--font-size-kpi-large, 35px));color:#3c3735;position:relative;padding-bottom:2px}.dashboard-kpi-metric-number__green-1{color:#70cc12}.dashboard-kpi-metric-number__green-2{color:#009d00}.dashboard-kpi-metric-number__green-3{color:#aaea0f}.dashboard-kpi-metric-number__green-4{color:#005f00}.dashboard-kpi-metric-number__orange-1{color:#ffb62c}.dashboard-kpi-metric-number__orange-2{color:#f8c867}.dashboard-kpi-metric-number__blue-1{color:#50b4f4}.dashboard-kpi-metric-number__blue-2{color:#7acbff}.dashboard-kpi-metric-number__purple-1{color:#ba9eea}.dashboard-kpi-metric-number__purple-2{color:#cbaffb}.dashboard-kpi-metric-number__yellow-1{color:#ffd950}.dashboard-kpi-metric-number__yellow-2{color:#ffe790}.dashboard-kpi-metric-number__teal-1{color:#6eeae2}.dashboard-kpi-metric-number__teal-2{color:#93f8f2}.dashboard-kpi-metric-number__red-1{color:#fa6969}.dashboard-kpi-metric-number__red-2{color:#ff8b8b}.dashboard-kpi-metric-label{color:#595959;font-weight:500;font-size:clamp(13px,7cqh,var(--font-size-xl, 18px));font-family:"PT Sans",sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;text-align:center;max-height:1.5em;line-height:1.35;flex-shrink:0}.dashboard-filter-panel-status__inactive{font-weight:bold}.dashboard-filter-panel-status__active{font-weight:bold;color:green}.dashboard-filter-panel-edit-button{display:flex;gap:5px;color:#68aa22;margin-left:auto;cursor:pointer}.dashboard-filter-panel-edit-button-text{text-decoration:underline;font-weight:bold}.dashboard-filter-panel-edit-button-icon{width:16px;height:16px;flex:none;order:0;flex-grow:0}.dashboard-filter-panel-popup-filter-options{display:flex;flex-direction:column;gap:5px;overflow-y:auto;max-height:450px;padding-left:10px;padding-top:10px;padding-bottom:10px}.dashboard-filter-panel-popup-filter-option{display:flex;gap:10px;flex-direction:row;align-items:flex-start;padding-right:22px}.dashboard-filter-panel-popup-filter-option--error{align-items:center;color:#fa6969;display:flex;font-size:var(--font-size-sm);gap:8px;margin:0 8px 8px}.dashboard-filter-panel-popup-filter-dropdown{flex-grow:1;max-width:30%;min-width:0}.dashboard-filter-panel-popup-filter-dropdown-loading{padding-left:10px;display:flex;flex-direction:row;align-items:center;gap:8px}.loading-spinner.dashboard-filter-panel-popup-filter-dropdown-loading-spinner{flex-shrink:0;transform:scale(0.25);width:40px;height:40px;position:relative !important;top:auto !important;left:auto !important}.dashboard-filter-panel-popup-filter-dropdown-loading-text{flex-grow:1;display:flex;align-items:center;font-size:var(--font-size-md);color:#3c3735}.dashboard-filter-panel-popup-button{color:#202020;padding:5px 7px;border-radius:4px;font-weight:bold;cursor:pointer;height:30px}.dashboard-filter-panel-popup-button-container{display:flex;gap:5px;align-self:flex-end;padding:20px;border-top:1px solid #f0efed}.dashboard-filter-panel-popup-add-button{display:flex;flex-direction:row;align-items:center;color:#009d00;gap:3px;cursor:pointer;padding-left:8px;font-size:var(--font-size-md);width:fit-content}.dashboard-filter-panel-popup-filter-option-action-button{margin-left:auto;cursor:pointer;padding:0}.dashboard-filter-panel-popup-filter-option-action-button svg{margin:16px}.dashboard-filter-panel-popup-button__cancel{border:none;align-self:flex-start;background-color:#dfdcdb}.dashboard-filter-panel-popup-button__clear-all{color:#202020;border:1px solid #009d00;background-color:#fff;margin-left:auto}.dashboard-filter-panel-popup-button__save-changes{color:#fff;border:1px solid #fff;background-color:#009d00}.dashboard-filter-panel-popup-filter-option-value{padding:5px;border-radius:4px;border:1px solid gray}.dashboard-filter-panel-popup-filter-option-value__active{color:green;border:1px solid green}.dashboard-filter-panel-popup-filter-option-values{display:flex;gap:5px;flex-flow:row wrap}.dashboard-focus-trapping-modal-container{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,.5);top:0;left:0;z-index:100;display:flex;justify-content:center;align-items:center}.dashboard-focus-trapping-modal{position:fixed;width:40%;max-height:700px;background-color:#fff;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:10px;display:flex;flex-direction:column}.dashboard-focus-trapping-modal-header{max-width:100%;height:50px;border-bottom:1px solid #f0efed;display:flex;justify-content:center;align-items:center;padding:10px}.dashboard-focus-trapping-modal-title{font-size:var(--font-size-modal-title);font-weight:bold;white-space:nowrap;max-width:100%;text-overflow:ellipsis;overflow-y:clip}.dashboard-focus-trapping-modal-close-icon{position:absolute;right:22px;top:12px;cursor:pointer}.dashboard-edit-layout-button{display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg, #eff6d1, #e1eed3);border-radius:8px;border:.5px solid #68aa22;box-shadow:0 2px 6px rgba(0,0,0,.08),inset 0 1px 0 hsla(0,0%,100%,.3);backdrop-filter:blur(5px);margin-left:auto;height:100%;cursor:pointer;min-width:40px}.dashboard-edit-layout-button svg{display:block;margin:0 auto}.dashboard-chart-container{min-width:0;min-height:0;display:flex;justify-content:center;align-items:center;flex:1;padding:16px}.dashboard-chart-container--animating{overflow:hidden}.dashboard-chart{flex:5;height:100%;min-width:0;align-self:stretch}.dashboard-chart-load-more-wrapper{flex:1;display:flex;flex-direction:column;min-height:0;min-width:0}.dashboard-chart-load-more-wrapper>.dashboard-chart-container{min-height:0}.dashboard-chart-load-more-button{align-self:center;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;margin:8px 0 16px;border:1px solid #dfdcdb;border-radius:4px;background:#fff;font-size:var(--font-size-sm);cursor:pointer;color:#595350;transition:border-color .2s ease,background-color .2s ease}.dashboard-chart-load-more-button:hover{background:#efeeed}.dashboard-chart-load-more-button:focus-visible{outline:2px solid #009d00;outline-offset:2px}.line-chart-on-bar-chart{position:absolute;width:100%;height:100%;top:0}.dashboard-tooltip-container{position:relative;display:flex;align-items:center}.dashboard-tooltip{position:absolute;background-color:#202020;color:#fff;border-radius:4px;padding:8px;font-size:var(--font-size-sm);max-width:300px;width:max-content;font-weight:normal}.chart-legend{display:flex;flex-direction:column;align-items:flex-start;margin-right:10px;width:fit-content;max-width:20%}.chart-legend-item{display:flex;align-items:center;margin-bottom:5px;font-size:var(--font-size-sm)}.chart-legend-item .chart-legend-symbol{width:12px;height:12px;margin-right:5px;border-radius:25px;min-width:12px}.dashboard-filter-icon-tooltip-content{display:flex;flex-direction:row;gap:20px}.dashboard-filter-icon-tooltip-title{font-weight:bold;margin-bottom:5px;display:flex;align-items:center;gap:5px}.dashboard-calendar-container{width:100%;height:80%;display:flex;justify-content:center;align-items:center}.dashboard-calendar-tooltip{padding:6px 9px;background-color:#fff}.dashboard-calendar-tooltip-title{font-weight:bold;margin-bottom:5px}.dashboard-calendar-tooltip-icon{height:10px;width:10px}.dashboard-calendar-tooltip-value{display:flex;flex-direction:row;align-items:center;gap:5px}',""]);const s=a},937(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".loading-spinner{position:absolute;top:calc(50% - 25px);left:calc(50% - 25px)}.loading-spinner .loading-spinner__text{position:fixed;color:#fff;font-size:var(--font-size-loading);font-weight:300;text-align:center;width:100vw;top:calc(50vh + 60px);left:0;z-index:100000}.loading-spinner .loading-spinner__inner{position:relative;animation-name:arbor-logo-rotation;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:ease-in-out;transform-origin:25px 25px;z-index:100000}.loading-spinner .loading-spinner__circle{height:50px;width:50px;border-radius:100%;opacity:.9;animation-duration:1s;animation-direction:alternate;animation-iteration-count:infinite;animation-timing-function:ease-in-out;position:absolute}.loading-spinner .loading-spinner__circle-left{background-color:#7cb93c;animation-name:arbor-logo-left}.loading-spinner .loading-spinner__circle-top{background-color:#f7931c;animation-name:arbor-logo-top}.loading-spinner .loading-spinner__circle-right{background-color:#deee21;animation-name:arbor-logo-right}.loading-spinner .loading-spinner__circle-bottom{background-color:#afd317;animation-name:arbor-logo-bottom}.loading-spinner--hide{display:none}.loading-spinner-background{background-color:#3c3735;opacity:.6;position:fixed;width:100%;height:100%;top:0;left:0;z-index:99999}@keyframes arbor-logo-rotation{0%{rotate:0}100%{rotate:360deg}}@keyframes arbor-logo-left{0%{left:-25px}100%{left:0}}@keyframes arbor-logo-right{0%{left:25px}100%{left:0}}@keyframes arbor-logo-top{0%{top:-25px}100%{top:0}}@keyframes arbor-logo-bottom{0%{top:25px}100%{top:0}}",""]);const s=a},2473(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(1601),o=r.n(n),i=r(6314),a=r.n(i)()(o());a.push([e.id,".loading-widget__shimmer-container{display:flex;flex-direction:column;gap:12px;width:100%;height:100%;padding:30px}.loading-widget__shimmer-bar{flex:1;min-height:0;border-radius:4px;background:linear-gradient(90deg, #ada8a6 0%, #dfdcdb 50%, #ada8a6 100%);background-size:200% 100%;animation:loading-widget__shimmer 1.5s ease-in-out infinite}.loading-widget__shimmer-bar--short{width:50%}.loading-widget__shimmer-bar--medium{width:70%}.loading-widget__shimmer-bar--long{width:95%}@keyframes loading-widget__shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}",""]);const s=a},6314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},1601(e){"use strict";e.exports=function(e){return e[1]}},8351(e,t,r){var n;!function(){"use strict";var o,i=1e9,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,l="[DecimalError] ",c=l+"Invalid argument: ",u=l+"Exponent out of range: ",d=Math.floor,f=Math.pow,p=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,h=1e7,m=d(1286742750677284.5),y={};function g(e,t){var r,n,o,i,a,l,c,u,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),s?j(t,f):t;if(c=e.d,u=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o){for(i<0?(n=c,i=-i,l=u.length):(n=u,o=a,l=c.length),i>(l=(a=Math.ceil(f/7))>l?a+1:l+1)&&(i=l,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((l=c.length)-(i=u.length)<0&&(i=l,n=u,u=c,c=n),r=0;i;)r=(c[--i]=c[i]+u[i]+r)/h|0,c[i]%=h;for(r&&(c.unshift(r),++o),l=c.length;0==c[--l];)c.pop();return t.d=c,t.e=o,s?j(t,f):t}function v(e,t,r){if(e!==~~e||e<t||e>r)throw Error(c+e)}function b(e){var t,r,n,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)(r=7-(n=e[t]+"").length)&&(i+=k(r)),i+=n;(r=7-(n=(a=e[t])+"").length)&&(i+=k(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}y.absoluteValue=y.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},y.comparedTo=y.cmp=function(e){var t,r,n,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(t=0,r=(n=i.d.length)<(o=e.d.length)?n:o;t<r;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1},y.decimalPlaces=y.dp=function(){var e=this,t=e.d.length-1,r=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},y.dividedBy=y.div=function(e){return x(this,new this.constructor(e))},y.dividedToIntegerBy=y.idiv=function(e){var t=this.constructor;return j(x(this,new t(e),0,1),t.precision)},y.equals=y.eq=function(e){return!this.cmp(e)},y.exponent=function(){return S(this)},y.greaterThan=y.gt=function(e){return this.cmp(e)>0},y.greaterThanOrEqualTo=y.gte=function(e){return this.cmp(e)>=0},y.isInteger=y.isint=function(){return this.e>this.d.length-2},y.isNegative=y.isneg=function(){return this.s<0},y.isPositive=y.ispos=function(){return this.s>0},y.isZero=function(){return 0===this.s},y.lessThan=y.lt=function(e){return this.cmp(e)<0},y.lessThanOrEqualTo=y.lte=function(e){return this.cmp(e)<1},y.logarithm=y.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(o))throw Error(l+"NaN");if(r.s<1)throw Error(l+(r.s?"NaN":"-Infinity"));return r.eq(o)?new n(0):(s=!1,t=x(P(r,a),P(e,a),a),s=!0,j(t,i))},y.minus=y.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?M(t,e):g(t,(e.s=-e.s,e))},y.modulo=y.mod=function(e){var t,r=this,n=r.constructor,o=n.precision;if(!(e=new n(e)).s)throw Error(l+"NaN");return r.s?(s=!1,t=x(r,e,0,1).times(e),s=!0,r.minus(t)):j(new n(r),o)},y.naturalExponential=y.exp=function(){return w(this)},y.naturalLogarithm=y.ln=function(){return P(this)},y.negated=y.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},y.plus=y.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?g(t,e):M(t,(e.s=-e.s,e))},y.precision=y.sd=function(e){var t,r,n,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(c+e);if(t=S(o)+1,r=7*(n=o.d.length-1)+1,n=o.d[n]){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},y.squareRoot=y.sqrt=function(){var e,t,r,n,o,i,a,c=this,u=c.constructor;if(c.s<1){if(!c.s)return new u(0);throw Error(l+"NaN")}for(e=S(c),s=!1,0==(o=Math.sqrt(+c))||o==1/0?(((t=b(c.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=d((e+1)/2)-(e<0||e%2),n=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new u(o.toString()),o=a=(r=u.precision)+3;;)if(n=(i=n).plus(x(c,i,a+2)).times(.5),b(i.d).slice(0,a)===(t=b(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(j(i,r+1,0),i.times(i).eq(c)){n=i;break}}else if("9999"!=t)break;a+=4}return s=!0,j(n,r)},y.times=y.mul=function(e){var t,r,n,o,i,a,l,c,u,d=this,f=d.constructor,p=d.d,m=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,r=d.e+e.e,(c=p.length)<(u=m.length)&&(i=p,p=m,m=i,a=c,c=u,u=a),i=[],n=a=c+u;n--;)i.push(0);for(n=u;--n>=0;){for(t=0,o=c+n;o>n;)l=i[o]+m[n]*p[o-n-1]+t,i[o--]=l%h|0,t=l/h|0;i[o]=(i[o]+t)%h|0}for(;!i[--a];)i.pop();return t?++r:i.shift(),e.d=i,e.e=r,s?j(e,f.precision):e},y.toDecimalPlaces=y.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(v(e,0,i),void 0===t?t=n.rounding:v(t,0,8),j(r,e+S(r)+1,t))},y.toExponential=function(e,t){var r,n=this,o=n.constructor;return void 0===e?r=E(n,!0):(v(e,0,i),void 0===t?t=o.rounding:v(t,0,8),r=E(n=j(new o(n),e+1,t),!0,e+1)),r},y.toFixed=function(e,t){var r,n,o=this,a=o.constructor;return void 0===e?E(o):(v(e,0,i),void 0===t?t=a.rounding:v(t,0,8),r=E((n=j(new a(o),e+S(o)+1,t)).abs(),!1,e+S(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)},y.toInteger=y.toint=function(){var e=this,t=e.constructor;return j(new t(e),S(e)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(e){var t,r,n,i,a,c,u=this,f=u.constructor,p=+(e=new f(e));if(!e.s)return new f(o);if(!(u=new f(u)).s){if(e.s<1)throw Error(l+"Infinity");return u}if(u.eq(o))return u;if(n=f.precision,e.eq(o))return j(u,n);if(c=(t=e.e)>=(r=e.d.length-1),a=u.s,c){if((r=p<0?-p:p)<=9007199254740991){for(i=new f(o),t=Math.ceil(n/7+4),s=!1;r%2&&A((i=i.times(u)).d,t),0!==(r=d(r/2));)A((u=u.times(u)).d,t);return s=!0,e.s<0?new f(o).div(i):j(i,n)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&e.d[Math.max(t,r)]?-1:1,u.s=1,s=!1,i=e.times(P(u,n+12)),s=!0,(i=w(i)).s=a,i},y.toPrecision=function(e,t){var r,n,o=this,a=o.constructor;return void 0===e?n=E(o,(r=S(o))<=a.toExpNeg||r>=a.toExpPos):(v(e,1,i),void 0===t?t=a.rounding:v(t,0,8),n=E(o=j(new a(o),e,t),e<=(r=S(o))||r<=a.toExpNeg,e)),n},y.toSignificantDigits=y.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(v(e,1,i),void 0===t?t=r.rounding:v(t,0,8)),j(new r(this),e,t)},y.toString=y.valueOf=y.val=y.toJSON=function(){var e=this,t=S(e),r=e.constructor;return E(e,t<=r.toExpNeg||t>=r.toExpPos)};var x=function(){function e(e,t){var r,n=0,o=e.length;for(e=e.slice();o--;)r=e[o]*t+n,e[o]=r%h|0,n=r/h|0;return n&&e.unshift(n),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*h+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,o,i,a){var s,c,u,d,f,p,m,y,g,v,b,x,w,O,k,P,C,M,E=n.constructor,A=n.s==o.s?1:-1,D=n.d,T=o.d;if(!n.s)return new E(n);if(!o.s)throw Error(l+"Division by zero");for(c=n.e-o.e,C=T.length,k=D.length,y=(m=new E(A)).d=[],u=0;T[u]==(D[u]||0);)++u;if(T[u]>(D[u]||0)&&--c,(x=null==i?i=E.precision:a?i+(S(n)-S(o))+1:i)<0)return new E(0);if(x=x/7+2|0,u=0,1==C)for(d=0,T=T[0],x++;(u<k||d)&&x--;u++)w=d*h+(D[u]||0),y[u]=w/T|0,d=w%T|0;else{for((d=h/(T[0]+1)|0)>1&&(T=e(T,d),D=e(D,d),C=T.length,k=D.length),O=C,v=(g=D.slice(0,C)).length;v<C;)g[v++]=0;(M=T.slice()).unshift(0),P=T[0],T[1]>=h/2&&++P;do{d=0,(s=t(T,g,C,v))<0?(b=g[0],C!=v&&(b=b*h+(g[1]||0)),(d=b/P|0)>1?(d>=h&&(d=h-1),1==(s=t(f=e(T,d),g,p=f.length,v=g.length))&&(d--,r(f,C<p?M:T,p))):(0==d&&(s=d=1),f=T.slice()),(p=f.length)<v&&f.unshift(0),r(g,f,v),-1==s&&(s=t(T,g,C,v=g.length))<1&&(d++,r(g,C<v?M:T,v)),v=g.length):0===s&&(d++,g=[0]),y[u++]=d,s&&g[0]?g[v++]=D[O]||0:(g=[D[O]],v=1)}while((O++<k||void 0!==g[0])&&x--)}return y[0]||y.shift(),m.e=c,j(m,a?i+S(m)+1:i)}}();function w(e,t){var r,n,i,a,l,c=0,d=0,p=e.constructor,h=p.precision;if(S(e)>16)throw Error(u+S(e));if(!e.s)return new p(o);for(null==t?(s=!1,l=h):l=t,a=new p(.03125);e.abs().gte(.1);)e=e.times(a),d+=5;for(l+=Math.log(f(2,d))/Math.LN10*2+5|0,r=n=i=new p(o),p.precision=l;;){if(n=j(n.times(e),l),r=r.times(++c),b((a=i.plus(x(n,r,l))).d).slice(0,l)===b(i.d).slice(0,l)){for(;d--;)i=j(i.times(i),l);return p.precision=h,null==t?(s=!0,j(i,h)):i}i=a}}function S(e){for(var t=7*e.e,r=e.d[0];r>=10;r/=10)t++;return t}function O(e,t,r){if(t>e.LN10.sd())throw s=!0,r&&(e.precision=r),Error(l+"LN10 precision limit exceeded");return j(new e(e.LN10),t)}function k(e){for(var t="";e--;)t+="0";return t}function P(e,t){var r,n,i,a,c,u,d,f,p,h=1,m=e,y=m.d,g=m.constructor,v=g.precision;if(m.s<1)throw Error(l+(m.s?"NaN":"-Infinity"));if(m.eq(o))return new g(0);if(null==t?(s=!1,f=v):f=t,m.eq(10))return null==t&&(s=!0),O(g,f);if(f+=10,g.precision=f,n=(r=b(y)).charAt(0),a=S(m),!(Math.abs(a)<15e14))return d=O(g,f+2,v).times(a+""),m=P(new g(n+"."+r.slice(1)),f-10).plus(d),g.precision=v,null==t?(s=!0,j(m,v)):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=b((m=m.times(e)).d)).charAt(0),h++;for(a=S(m),n>1?(m=new g("0."+r),a++):m=new g(n+"."+r.slice(1)),u=c=m=x(m.minus(o),m.plus(o),f),p=j(m.times(m),f),i=3;;){if(c=j(c.times(p),f),b((d=u.plus(x(c,new g(i),f))).d).slice(0,f)===b(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(O(g,f+2,v).times(a+""))),u=x(u,new g(h),f),g.precision=v,null==t?(s=!0,j(u,v)):u;u=d,i+=2}}function C(e,t){var r,n,o;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(n,o)){if(o-=n,r=r-n-1,e.e=d(r/7),e.d=[],n=(r+1)%7,r<0&&(n+=7),n<o){for(n&&e.d.push(+t.slice(0,n)),o-=7;n<o;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=o;for(;n--;)t+="0";if(e.d.push(+t),s&&(e.e>m||e.e<-m))throw Error(u+r)}else e.s=0,e.e=0,e.d=[0];return e}function j(e,t,r){var n,o,i,a,l,c,p,y,g=e.d;for(a=1,i=g[0];i>=10;i/=10)a++;if((n=t-a)<0)n+=7,o=t,p=g[y=0];else{if((y=Math.ceil((n+1)/7))>=(i=g.length))return e;for(p=i=g[y],a=1;i>=10;i/=10)a++;o=(n%=7)-7+a}if(void 0!==r&&(l=p/(i=f(10,a-o-1))%10|0,c=t<0||void 0!==g[y+1]||p%i,c=r<4?(l||c)&&(0==r||r==(e.s<0?3:2)):l>5||5==l&&(4==r||c||6==r&&(n>0?o>0?p/f(10,a-o):0:g[y-1])%10&1||r==(e.s<0?8:7))),t<1||!g[0])return c?(i=S(e),g.length=1,t=t-i-1,g[0]=f(10,(7-t%7)%7),e.e=d(-t/7)||0):(g.length=1,g[0]=e.e=e.s=0),e;if(0==n?(g.length=y,i=1,y--):(g.length=y+1,i=f(10,7-n),g[y]=o>0?(p/f(10,a-o)%f(10,o)|0)*i:0),c)for(;;){if(0==y){(g[0]+=i)==h&&(g[0]=1,++e.e);break}if(g[y]+=i,g[y]!=h)break;g[y--]=0,i=1}for(n=g.length;0===g[--n];)g.pop();if(s&&(e.e>m||e.e<-m))throw Error(u+S(e));return e}function M(e,t){var r,n,o,i,a,l,c,u,d,f,p=e.constructor,m=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),s?j(t,m):t;if(c=e.d,f=t.d,n=t.e,u=e.e,c=c.slice(),a=u-n){for((d=a<0)?(r=c,a=-a,l=f.length):(r=f,n=u,l=c.length),a>(o=Math.max(Math.ceil(m/7),l)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((d=(o=c.length)<(l=f.length))&&(l=o),o=0;o<l;o++)if(c[o]!=f[o]){d=c[o]<f[o];break}a=0}for(d&&(r=c,c=f,f=r,t.s=-t.s),l=c.length,o=f.length-l;o>0;--o)c[l++]=0;for(o=f.length;o>a;){if(c[--o]<f[o]){for(i=o;i&&0===c[--i];)c[i]=h-1;--c[i],c[o]+=h}c[o]-=f[o]}for(;0===c[--l];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(t.d=c,t.e=n,s?j(t,m):t):new p(0)}function E(e,t,r){var n,o=S(e),i=b(e.d),a=i.length;return t?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+k(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+k(-o-1)+i,r&&(n=r-a)>0&&(i+=k(n))):o>=a?(i+=k(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+k(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=k(n))),e.s<0?"-"+i:i}function A(e,t){if(e.length>t)return e.length=t,!0}function D(e){if(!e||"object"!=typeof e)throw Error(l+"Object expected");var t,r,n,o=["precision",1,i,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(n=e[r=o[t]])){if(!(d(n)===n&&n>=o[t+1]&&n<=o[t+2]))throw Error(c+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(c+r+": "+n);this[r]=new this(n)}return this}(a=function e(t){var r,n,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(c+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):C(t,e.toString())}if("string"!=typeof e)throw Error(c+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!p.test(e))throw Error(c+e);C(t,e)}if(i.prototype=y,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=D,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<o.length;)t.hasOwnProperty(n=o[r++])||(t[n]=this[n]);return i.config(t),i}(a)).default=a.Decimal=a,o=new a(1),void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},228(e){"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function i(e,t,n,i,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new o(n,i||e,a),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=new Array(i);o<i;o++)a[o]=n[o].fn;return a},s.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},s.prototype.emit=function(e,t,n,o,i,a){var s=r?r+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,o),!0;case 5:return u.fn.call(u.context,t,n,o,i),!0;case 6:return u.fn.call(u.context,t,n,o,i,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,o);break;default:if(!l)for(f=1,l=new Array(d-1);f<d;f++)l[f-1]=arguments[f];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,r){return i(this,e,t,r,!1)},s.prototype.once=function(e,t,r){return i(this,e,t,r,!0)},s.prototype.removeListener=function(e,t,n,o){var i=r?r+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var s=this._events[i];if(s.fn)s.fn!==t||o&&!s.once||n&&s.context!==n||a(this,i);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||o&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[i]=1===c.length?c[0]:c:a(this,i)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&a(this,t)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s},1548(e,t){!function(e){"use strict";function t(e){return function(t,r,n,o,i,a,s){return e(t,r,s)}}function r(e){return function(t,r,n,o){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n,o);var i=o.get(t),a=o.get(r);if(i&&a)return i===r&&a===t;o.set(t,r),o.set(r,t);var s=e(t,r,n,o);return o.delete(t),o.delete(r),s}}function n(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r}function o(e){return e.constructor===Object||null==e.constructor}function i(e){return"function"==typeof e.then}function a(e,t){return e===t||e!=e&&t!=t}var s=Object.prototype.toString;function l(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,l=e.areObjectsEqual,c=e.areRegExpsEqual,u=e.areSetsEqual,d=(0,e.createIsNestedEqual)(f);function f(e,f,p){if(e===f)return!0;if(!e||!f||"object"!=typeof e||"object"!=typeof f)return e!=e&&f!=f;if(o(e)&&o(f))return l(e,f,d,p);var h=Array.isArray(e),m=Array.isArray(f);if(h||m)return h===m&&t(e,f,d,p);var y=s.call(e);return y===s.call(f)&&("[object Date]"===y?r(e,f,d,p):"[object RegExp]"===y?c(e,f,d,p):"[object Map]"===y?n(e,f,d,p):"[object Set]"===y?u(e,f,d,p):"[object Object]"===y||"[object Arguments]"===y?!i(e)&&!i(f)&&l(e,f,d,p):("[object Boolean]"===y||"[object Number]"===y||"[object String]"===y)&&a(e.valueOf(),f.valueOf()))}return f}function c(e,t,r,n){var o=e.length;if(t.length!==o)return!1;for(;o-- >0;)if(!r(e[o],t[o],o,o,e,t,n))return!1;return!0}var u=r(c);function d(e,t){return a(e.valueOf(),t.valueOf())}function f(e,t,r,n){var o=e.size===t.size;if(!o)return!1;if(!e.size)return!0;var i={},a=0;return e.forEach(function(s,l){if(o){var c=!1,u=0;t.forEach(function(o,d){c||i[u]||!(c=r(l,d,a,u,e,t,n)&&r(s,o,l,d,e,t,n))||(i[u]=!0),u++}),a++,o=c}}),o}var p=r(f),h=Object.prototype.hasOwnProperty;function m(e,t,r,n){var o,i=Object.keys(e),a=i.length;if(Object.keys(t).length!==a)return!1;for(;a-- >0;){if("_owner"===(o=i[a])){var s=!!e.$$typeof,l=!!t.$$typeof;if((s||l)&&s!==l)return!1}if(!h.call(t,o)||!r(e[o],t[o],o,o,e,t,n))return!1}return!0}var y=r(m);function g(e,t){return e.source===t.source&&e.flags===t.flags}function v(e,t,r,n){var o=e.size===t.size;if(!o)return!1;if(!e.size)return!0;var i={};return e.forEach(function(a,s){if(o){var l=!1,c=0;t.forEach(function(o,u){l||i[c]||!(l=r(a,o,s,u,e,t,n))||(i[c]=!0),c++}),o=l}}),o}var b=r(v),x=Object.freeze({areArraysEqual:c,areDatesEqual:d,areMapsEqual:f,areObjectsEqual:m,areRegExpsEqual:g,areSetsEqual:v,createIsNestedEqual:t}),w=Object.freeze({areArraysEqual:u,areDatesEqual:d,areMapsEqual:p,areObjectsEqual:y,areRegExpsEqual:g,areSetsEqual:b,createIsNestedEqual:t}),S=l(x);var O=l(n(x,{createIsNestedEqual:function(){return a}}));var k=l(w);var P=l(n(w,{createIsNestedEqual:function(){return a}}));e.circularDeepEqual=function(e,t){return k(e,t,new WeakMap)},e.circularShallowEqual=function(e,t){return P(e,t,new WeakMap)},e.createCustomCircularEqual=function(e){var t=l(n(w,e(w)));return function(e,r,n){return void 0===n&&(n=new WeakMap),t(e,r,n)}},e.createCustomEqual=function(e){return l(n(x,e(x)))},e.deepEqual=function(e,t){return S(e,t,void 0)},e.sameValueZeroEqual=a,e.shallowEqual=function(e,t){return O(e,t,void 0)},Object.defineProperty(e,"__esModule",{value:!0})}(t)},4146(e,t,r){"use strict";var n=r(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),y=0;y<a.length;++y){var g=a[y];if(!(i[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=f(r,g);try{c(t,g,v)}catch(e){}}}}return t}},3072(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case y:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=y,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},3404(e,t,r){"use strict";e.exports=r(3072)},2694(e,t,r){"use strict";var n=r(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){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}}function t(){return e}e.isRequired=e;var r={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:i,resetWarningCache:o};return r.PropTypes=r,r}},5556(e,t,r){e.exports=r(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6027(e,t,r){"use strict";Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return u.default}}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=f(r(5556)),i=f(r(9514)),a=r(1508),s=r(1089),l=r(1726),c=r(7056),u=f(r(6888)),d=f(r(8696));function f(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(null,arguments)}function h(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class m extends n.Component{static getDerivedStateFromProps(e,t){let{position:r}=e,{prevPropsPosition:n}=t;return!r||n&&r.x===n.x&&r.y===n.y?null:((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:r,prevPropsPosition:n}),{x:r.x,y:r.y,prevPropsPosition:{...r}})}constructor(e){super(e),h(this,"onDragStart",(e,t)=>{if((0,d.default)("Draggable: onDragStart: %j",t),!1===this.props.onStart(e,(0,l.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})}),h(this,"onDrag",(e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);const r=(0,l.createDraggableData)(this,t),n={x:r.x,y:r.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=n;n.x+=this.state.slackX,n.y+=this.state.slackY;const[o,i]=(0,l.getBoundPosition)(this,n.x,n.y);n.x=o,n.y=i,n.slackX=this.state.slackX+(e-n.x),n.slackY=this.state.slackY+(t-n.y),r.x=n.x,r.y=n.y,r.deltaX=n.x-this.state.x,r.deltaY=n.y-this.state.y}if(!1===this.props.onDrag(e,r))return!1;this.setState(n)}),h(this,"onDragStop",(e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,l.createDraggableData)(this,t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);const r={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;r.x=e,r.y=t}this.setState(r)}),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){return this.props?.nodeRef?.current??i.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:r,defaultPosition:o,defaultClassName:i,defaultClassNameDragging:c,defaultClassNameDragged:d,position:f,positionOffset:h,scale:m,...y}=this.props;let g={},v=null;const b=!Boolean(f)||this.state.dragging,x=f||o,w={x:(0,l.canDragX)(this)&&b?this.state.x:x.x,y:(0,l.canDragY)(this)&&b?this.state.y:x.y};this.state.isElementSVG?v=(0,s.createSVGTransform)(w,h):g=(0,s.createCSSTransform)(w,h);const S=(0,a.clsx)(r.props.className||"",i,{[c]:this.state.dragging,[d]:this.state.dragged});return n.createElement(u.default,p({},y,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(r),{className:S,style:{...r.props.style,...g},transform:v}))}}t.default=m,h(m,"displayName","Draggable"),h(m,"propTypes",{...u.default.propTypes,axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe}),h(m,"defaultProps",{...u.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},6888(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=u(r(5556)),i=u(r(9514)),a=r(1089),s=r(1726),l=r(7056),c=u(r(8696));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f={start:"touchstart",move:"touchmove",stop:"touchend"},p={start:"mousedown",move:"mousemove",stop:"mouseup"};let h=p;class m extends n.Component{constructor(){super(...arguments),d(this,"dragging",!1),d(this,"lastX",NaN),d(this,"lastY",NaN),d(this,"touchIdentifier",null),d(this,"mounted",!1),d(this,"handleDragStart",e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:r}=t;if(this.props.disabled||!(e.target instanceof r.defaultView.Node)||this.props.handle&&!(0,a.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,a.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"!==e.type||this.props.allowMobileScroll||e.preventDefault();const n=(0,a.getTouchIdentifier)(e);this.touchIdentifier=n;const o=(0,s.getControlPosition)(e,n,this);if(null==o)return;const{x:i,y:l}=o,u=(0,s.createCoreData)(this,i,l);(0,c.default)("DraggableCore: handleDragStart: %j",u),(0,c.default)("calling",this.props.onStart),!1!==this.props.onStart(e,u)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,a.addUserSelectStyles)(r),this.dragging=!0,this.lastX=i,this.lastY=l,(0,a.addEvent)(r,h.move,this.handleDrag),(0,a.addEvent)(r,h.stop,this.handleDragStop))}),d(this,"handleDrag",e=>{const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX,t=n-this.lastY;if([e,t]=(0,s.snapToGrid)(this.props.grid,e,t),!e&&!t)return;r=this.lastX+e,n=this.lastY+t}const o=(0,s.createCoreData)(this,r,n);if((0,c.default)("DraggableCore: handleDrag: %j",o),!1!==this.props.onDrag(e,o)&&!1!==this.mounted)this.lastX=r,this.lastY=n;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}}),d(this,"handleDragStop",e=>{if(!this.dragging)return;const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX||0,t=n-this.lastY||0;[e,t]=(0,s.snapToGrid)(this.props.grid,e,t),r=this.lastX+e,n=this.lastY+t}const o=(0,s.createCoreData)(this,r,n);if(!1===this.props.onStop(e,o)||!1===this.mounted)return!1;const i=this.findDOMNode();i&&this.props.enableUserSelectHack&&(0,a.scheduleRemoveUserSelectStyles)(i.ownerDocument),(0,c.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,i&&((0,c.default)("DraggableCore: Removing handlers"),(0,a.removeEvent)(i.ownerDocument,h.move,this.handleDrag),(0,a.removeEvent)(i.ownerDocument,h.stop,this.handleDragStop))}),d(this,"onMouseDown",e=>(h=p,this.handleDragStart(e))),d(this,"onMouseUp",e=>(h=p,this.handleDragStop(e))),d(this,"onTouchStart",e=>(h=f,this.handleDragStart(e))),d(this,"onTouchEnd",e=>(h=f,this.handleDragStop(e)))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,a.addEvent)(e,f.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,a.removeEvent)(t,p.move,this.handleDrag),(0,a.removeEvent)(t,f.move,this.handleDrag),(0,a.removeEvent)(t,p.stop,this.handleDragStop),(0,a.removeEvent)(t,f.stop,this.handleDragStop),(0,a.removeEvent)(e,f.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,a.scheduleRemoveUserSelectStyles)(t)}}findDOMNode(){return this.props?.nodeRef?this.props?.nodeRef?.current:i.default.findDOMNode(this)}render(){return n.cloneElement(n.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}t.default=m,d(m,"displayName","DraggableCore"),d(m,"propTypes",{allowAnyClick:o.default.bool,allowMobileScroll:o.default.bool,children:o.default.node.isRequired,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),d(m,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},5794(e,t,r){"use strict";const{default:n,DraggableCore:o}=r(6027);e.exports=n,e.exports.default=n,e.exports.DraggableCore=o},1089(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=c,t.addEvent=function(e,t,r,n){if(!e)return;const o={capture:!0,...n};e.addEventListener?e.addEventListener(t,r,o):e.attachEvent?e.attachEvent("on"+t,r):e["on"+t]=r},t.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&c(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){const r=s(e,t,"px");return{[(0,o.browserPrefixToKey)("transform",o.default)]:r}},t.createSVGTransform=function(e,t){return s(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,n.findInArray)(e.targetTouches,e=>t===e.identifier)||e.changedTouches&&(0,n.findInArray)(e.changedTouches,e=>t===e.identifier)},t.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},t.getTranslation=s,t.innerHeight=function(e){let t=e.clientHeight;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingTop),t-=(0,n.int)(r.paddingBottom),t},t.innerWidth=function(e){let t=e.clientWidth;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingLeft),t-=(0,n.int)(r.paddingRight),t},t.matchesSelector=a,t.matchesSelectorAndParentsTo=function(e,t,r){let n=e;do{if(a(n,t))return!0;if(n===r)return!1;n=n.parentNode}while(n);return!1},t.offsetXYFromParent=function(e,t,r){const n=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect();return{x:(e.clientX+t.scrollLeft-n.left)/r,y:(e.clientY+t.scrollTop-n.top)/r}},t.outerHeight=function(e){let t=e.clientHeight;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,n.int)(r.borderTopWidth),t+=(0,n.int)(r.borderBottomWidth),t},t.outerWidth=function(e){let t=e.clientWidth;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,n.int)(r.borderLeftWidth),t+=(0,n.int)(r.borderRightWidth),t},t.removeClassName=u,t.removeEvent=function(e,t,r,n){if(!e)return;const o={capture:!0,...n};e.removeEventListener?e.removeEventListener(t,r,o):e.detachEvent?e.detachEvent("on"+t,r):e["on"+t]=null},t.scheduleRemoveUserSelectStyles=function(e){window.requestAnimationFrame?window.requestAnimationFrame(()=>{l(e)}):l(e)};var n=r(7056),o=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(3514));let i="";function a(e,t){return i||(i=(0,n.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(t){return(0,n.isFunction)(e[t])})),!!(0,n.isFunction)(e[i])&&e[i](t)}function s(e,t,r){let{x:n,y:o}=e,i=`translate(${n}${r},${o}${r})`;return t&&(i=`translate(${"string"==typeof t.x?t.x:t.x+r}, ${"string"==typeof t.y?t.y:t.y+r})`+i),i}function l(e){if(e)try{if(e.body&&u(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}}function c(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp(`(?:^|\\s)${t}(?!\\S)`))||(e.className+=` ${t}`)}function u(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(`(?:^|\\s)${t}(?!\\S)`,"g"),"")}},3514(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?`-${t.toLowerCase()}-${e}`:e},t.default=void 0,t.getPrefix=n;const r=["Moz","Webkit","O","ms"];function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const t=window.document?.documentElement?.style;if(!t)return"";if(e in t)return"";for(let n=0;n<r.length;n++)if(o(e,r[n])in t)return r[n];return""}function o(e,t){return t?`${t}${function(e){let t="",r=!0;for(let n=0;n<e.length;n++)r?(t+=e[n].toUpperCase(),r=!1):"-"===e[n]?r=!0:t+=e[n];return t}(e)}`:e}t.default=n()},8696(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},1726(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,r){const o=!(0,n.isNum)(e.lastX),a=i(e);return o?{node:a,deltaX:0,deltaY:0,lastX:t,lastY:r,x:t,y:r}:{node:a,deltaX:t-e.lastX,deltaY:r-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:r}},t.createDraggableData=function(e,t){const r=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/r,y:e.state.y+t.deltaY/r,deltaX:t.deltaX/r,deltaY:t.deltaY/r,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,r){if(!e.props.bounds)return[t,r];let{bounds:a}=e.props;a="string"==typeof a?a:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(a);const s=i(e);if("string"==typeof a){const{ownerDocument:e}=s,t=e.defaultView;let r;if(r="parent"===a?s.parentNode:s.getRootNode().querySelector(a),!(r instanceof t.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');const i=r,l=t.getComputedStyle(s),c=t.getComputedStyle(i);a={left:-s.offsetLeft+(0,n.int)(c.paddingLeft)+(0,n.int)(l.marginLeft),top:-s.offsetTop+(0,n.int)(c.paddingTop)+(0,n.int)(l.marginTop),right:(0,o.innerWidth)(i)-(0,o.outerWidth)(s)-s.offsetLeft+(0,n.int)(c.paddingRight)-(0,n.int)(l.marginRight),bottom:(0,o.innerHeight)(i)-(0,o.outerHeight)(s)-s.offsetTop+(0,n.int)(c.paddingBottom)-(0,n.int)(l.marginBottom)}}return(0,n.isNum)(a.right)&&(t=Math.min(t,a.right)),(0,n.isNum)(a.bottom)&&(r=Math.min(r,a.bottom)),(0,n.isNum)(a.left)&&(t=Math.max(t,a.left)),(0,n.isNum)(a.top)&&(r=Math.max(r,a.top)),[t,r]},t.getControlPosition=function(e,t,r){const n="number"==typeof t?(0,o.getTouch)(e,t):null;if("number"==typeof t&&!n)return null;const a=i(r),s=r.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,o.offsetXYFromParent)(n||e,s,r.props.scale)},t.snapToGrid=function(e,t,r){return[Math.round(t/e[0])*e[0],Math.round(r/e[1])*e[1]]};var n=r(7056),o=r(1089);function i(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},7056(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,r){if(e[t])return new Error(`Invalid prop ${t} passed to ${r} - do not set this, set it on the child.`)},t.findInArray=function(e,t){for(let r=0,n=e.length;r<n;r++)if(t.apply(t,[e[r],r,e]))return e[r]},t.int=function(e){return parseInt(e,10)},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)}},6392(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=f(r(9155)),o=r(9514),i=f(r(5556)),a=r(5794),s=r(6036),l=r(8426),c=r(2134),u=r(634),d=f(r(1508));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h extends n.default.Component{constructor(){super(...arguments),p(this,"state",{resizing:null,dragging:null,className:""}),p(this,"elementRef",n.default.createRef()),p(this,"onDragStart",(e,t)=>{let{node:r}=t;const{onDragStart:n,transformScale:o}=this.props;if(!n)return;const i={top:0,left:0},{offsetParent:a}=r;if(!a)return;const s=a.getBoundingClientRect(),l=r.getBoundingClientRect(),u=l.left/o,d=s.left/o,f=l.top/o,p=s.top/o;i.left=u-d+a.scrollLeft,i.top=f-p+a.scrollTop,this.setState({dragging:i});const{x:h,y:m}=(0,c.calcXY)(this.getPositionParams(),i.top,i.left,this.props.w,this.props.h);return n.call(this,this.props.i,h,m,{e,node:r,newPosition:i})}),p(this,"onDrag",(e,t,r)=>{let{node:n,deltaX:i,deltaY:a}=t;const{onDrag:s}=this.props;if(!s)return;if(!this.state.dragging)throw new Error("onDrag called before onDragStart.");let l=this.state.dragging.top+a,u=this.state.dragging.left+i;const{isBounded:d,i:f,w:p,h,containerWidth:m}=this.props,y=this.getPositionParams();if(d){const{offsetParent:e}=n;if(e){const{margin:t,rowHeight:r}=this.props,n=e.clientHeight-(0,c.calcGridItemWHPx)(h,r,t[1]);l=(0,c.clamp)(l,0,n);const o=(0,c.calcGridColWidth)(y),i=m-(0,c.calcGridItemWHPx)(p,o,t[0]);u=(0,c.clamp)(u,0,i)}}const g={top:l,left:u};r?this.setState({dragging:g}):(0,o.flushSync)(()=>{this.setState({dragging:g})});const{x:v,y:b}=(0,c.calcXY)(y,l,u,p,h);return s.call(this,f,v,b,{e,node:n,newPosition:g})}),p(this,"onDragStop",(e,t)=>{let{node:r}=t;const{onDragStop:n}=this.props;if(!n)return;if(!this.state.dragging)throw new Error("onDragEnd called before onDragStart.");const{w:o,h:i,i:a}=this.props,{left:s,top:l}=this.state.dragging,u={top:l,left:s};this.setState({dragging:null});const{x:d,y:f}=(0,c.calcXY)(this.getPositionParams(),l,s,o,i);return n.call(this,a,d,f,{e,node:r,newPosition:u})}),p(this,"onResizeStop",(e,t,r)=>this.onResizeHandler(e,t,r,"onResizeStop")),p(this,"onResizeStart",(e,t,r)=>this.onResizeHandler(e,t,r,"onResizeStart")),p(this,"onResize",(e,t,r)=>this.onResizeHandler(e,t,r,"onResize"))}shouldComponentUpdate(e,t){if(this.props.children!==e.children)return!0;if(this.props.droppingPosition!==e.droppingPosition)return!0;const r=(0,c.calcGridItemPosition)(this.getPositionParams(this.props),this.props.x,this.props.y,this.props.w,this.props.h,this.state),n=(0,c.calcGridItemPosition)(this.getPositionParams(e),e.x,e.y,e.w,e.h,t);return!(0,l.fastPositionEqual)(r,n)||this.props.useCSSTransforms!==e.useCSSTransforms}componentDidMount(){this.moveDroppingItem({})}componentDidUpdate(e){this.moveDroppingItem(e)}moveDroppingItem(e){const{droppingPosition:t}=this.props;if(!t)return;const r=this.elementRef.current;if(!r)return;const n=e.droppingPosition||{left:0,top:0},{dragging:o}=this.state,i=o&&t.left!==n.left||t.top!==n.top;if(o){if(i){const e=t.left-o.left,n=t.top-o.top;this.onDrag(t.e,{node:r,deltaX:e,deltaY:n},!0)}}else this.onDragStart(t.e,{node:r,deltaX:t.left,deltaY:t.top})}getPositionParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return{cols:e.cols,containerPadding:e.containerPadding,containerWidth:e.containerWidth,margin:e.margin,maxRows:e.maxRows,rowHeight:e.rowHeight}}createStyle(e){const{usePercentages:t,containerWidth:r,useCSSTransforms:n}=this.props;let o;return n?o=(0,l.setTransform)(e):(o=(0,l.setTopLeft)(e),t&&(o.left=(0,l.perc)(e.left/r),o.width=(0,l.perc)(e.width/r))),o}mixinDraggable(e,t){return n.default.createElement(a.DraggableCore,{disabled:!t,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,handle:this.props.handle,cancel:".react-resizable-handle"+(this.props.cancel?","+this.props.cancel:""),scale:this.props.transformScale,nodeRef:this.elementRef},e)}curryResizeHandler(e,t){return(r,n)=>t(r,n,e)}mixinResizable(e,t,r){const{cols:o,minW:i,minH:a,maxW:l,maxH:u,transformScale:d,resizeHandles:f,resizeHandle:p}=this.props,h=this.getPositionParams(),m=(0,c.calcGridItemPosition)(h,0,0,o,0).width,y=(0,c.calcGridItemPosition)(h,0,0,i,a),g=(0,c.calcGridItemPosition)(h,0,0,l,u),v=[y.width,y.height],b=[Math.min(g.width,m),Math.min(g.height,1/0)];return n.default.createElement(s.Resizable,{draggableOpts:{disabled:!r},className:r?void 0:"react-resizable-hide",width:t.width,height:t.height,minConstraints:v,maxConstraints:b,onResizeStop:this.curryResizeHandler(t,this.onResizeStop),onResizeStart:this.curryResizeHandler(t,this.onResizeStart),onResize:this.curryResizeHandler(t,this.onResize),transformScale:d,resizeHandles:f,handle:p},e)}onResizeHandler(e,t,r,n){let{node:i,size:a,handle:s}=t;const u=this.props[n];if(!u)return;const{x:d,y:f,i:p,maxH:h,minH:m,containerWidth:y}=this.props,{minW:g,maxW:v}=this.props;let b=a;i&&(b=(0,l.resizeItemInDirection)(s,r,a,y),(0,o.flushSync)(()=>{this.setState({resizing:"onResizeStop"===n?null:b})}));let{w:x,h:w}=(0,c.calcWH)(this.getPositionParams(),b.width,b.height,d,f,s);x=(0,c.clamp)(x,Math.max(g,1),v),w=(0,c.clamp)(w,m,h),u.call(this,p,x,w,{e,node:i,size:b,handle:s})}render(){const{x:e,y:t,w:r,h:o,isDraggable:i,isResizable:a,droppingPosition:s,useCSSTransforms:l}=this.props,u=(0,c.calcGridItemPosition)(this.getPositionParams(),e,t,r,o,this.state),f=n.default.Children.only(this.props.children);let p=n.default.cloneElement(f,{ref:this.elementRef,className:(0,d.default)("react-grid-item",f.props.className,this.props.className,{static:this.props.static,resizing:Boolean(this.state.resizing),"react-draggable":i,"react-draggable-dragging":Boolean(this.state.dragging),dropping:Boolean(s),cssTransforms:l}),style:{...this.props.style,...f.props.style,...this.createStyle(u)}});return p=this.mixinResizable(p,u,a),p=this.mixinDraggable(p,i),p}}t.default=h,p(h,"propTypes",{children:i.default.element,cols:i.default.number.isRequired,containerWidth:i.default.number.isRequired,rowHeight:i.default.number.isRequired,margin:i.default.array.isRequired,maxRows:i.default.number.isRequired,containerPadding:i.default.array.isRequired,x:i.default.number.isRequired,y:i.default.number.isRequired,w:i.default.number.isRequired,h:i.default.number.isRequired,minW:function(e,t){const r=e[t];return"number"!=typeof r?new Error("minWidth not Number"):r>e.w||r>e.maxW?new Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(e,t){const r=e[t];return"number"!=typeof r?new Error("maxWidth not Number"):r<e.w||r<e.minW?new Error("maxWidth smaller than item width/minWidth"):void 0},minH:function(e,t){const r=e[t];return"number"!=typeof r?new Error("minHeight not Number"):r>e.h||r>e.maxH?new Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(e,t){const r=e[t];return"number"!=typeof r?new Error("maxHeight not Number"):r<e.h||r<e.minH?new Error("maxHeight smaller than item height/minHeight"):void 0},i:i.default.string.isRequired,resizeHandles:u.resizeHandleAxesType,resizeHandle:u.resizeHandleType,onDragStop:i.default.func,onDragStart:i.default.func,onDrag:i.default.func,onResizeStop:i.default.func,onResizeStart:i.default.func,onResize:i.default.func,isDraggable:i.default.bool.isRequired,isResizable:i.default.bool.isRequired,isBounded:i.default.bool.isRequired,static:i.default.bool,useCSSTransforms:i.default.bool.isRequired,transformScale:i.default.number,className:i.default.string,handle:i.default.string,cancel:i.default.string,droppingPosition:i.default.shape({e:i.default.object.isRequired,left:i.default.number.isRequired,top:i.default.number.isRequired})}),p(h,"defaultProps",{className:"",cancel:"",handle:"",minH:1,minW:1,maxH:1/0,maxW:1/0,transformScale:1})},9742(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=r(1548),i=u(r(1508)),a=r(8426),s=r(2134),l=u(r(6392)),c=u(r(634));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f="react-grid-layout";let p=!1;try{p=/firefox/i.test(navigator.userAgent)}catch(e){}class h extends n.Component{constructor(){super(...arguments),d(this,"state",{activeDrag:null,layout:(0,a.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.props.cols,(0,a.compactType)(this.props),this.props.allowOverlap),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null,resizing:!1,droppingDOMNode:null,children:[]}),d(this,"dragEnterCounter",0),d(this,"onDragStart",(e,t,r,n)=>{let{e:o,node:i}=n;const{layout:s}=this.state,l=(0,a.getLayoutItem)(s,e);if(!l)return;const c={w:l.w,h:l.h,x:l.x,y:l.y,placeholder:!0,i:e};return this.setState({oldDragItem:(0,a.cloneLayoutItem)(l),oldLayout:s,activeDrag:c}),this.props.onDragStart(s,l,l,null,o,i)}),d(this,"onDrag",(e,t,r,n)=>{let{e:o,node:i}=n;const{oldDragItem:s}=this.state;let{layout:l}=this.state;const{cols:c,allowOverlap:u,preventCollision:d}=this.props,f=(0,a.getLayoutItem)(l,e);if(!f)return;const p={w:f.w,h:f.h,x:f.x,y:f.y,placeholder:!0,i:e};l=(0,a.moveElement)(l,f,t,r,!0,d,(0,a.compactType)(this.props),c,u),this.props.onDrag(l,s,f,p,o,i),this.setState({layout:u?l:(0,a.compact)(l,(0,a.compactType)(this.props),c),activeDrag:p})}),d(this,"onDragStop",(e,t,r,n)=>{let{e:o,node:i}=n;if(!this.state.activeDrag)return;const{oldDragItem:s}=this.state;let{layout:l}=this.state;const{cols:c,preventCollision:u,allowOverlap:d}=this.props,f=(0,a.getLayoutItem)(l,e);if(!f)return;l=(0,a.moveElement)(l,f,t,r,!0,u,(0,a.compactType)(this.props),c,d);const p=d?l:(0,a.compact)(l,(0,a.compactType)(this.props),c);this.props.onDragStop(p,s,f,null,o,i);const{oldLayout:h}=this.state;this.setState({activeDrag:null,layout:p,oldDragItem:null,oldLayout:null}),this.onLayoutMaybeChanged(p,h)}),d(this,"onResizeStart",(e,t,r,n)=>{let{e:o,node:i}=n;const{layout:s}=this.state,l=(0,a.getLayoutItem)(s,e);l&&(this.setState({oldResizeItem:(0,a.cloneLayoutItem)(l),oldLayout:this.state.layout,resizing:!0}),this.props.onResizeStart(s,l,l,null,o,i))}),d(this,"onResize",(e,t,r,n)=>{let{e:o,node:i,size:s,handle:l}=n;const{oldResizeItem:c}=this.state,{layout:u}=this.state,{cols:d,preventCollision:f,allowOverlap:p}=this.props;let h,m,y,g=!1;const[v,b]=(0,a.withLayoutItem)(u,e,e=>{let n;return m=e.x,y=e.y,-1!==["sw","w","nw","n","ne"].indexOf(l)&&(-1!==["sw","nw","w"].indexOf(l)&&(m=e.x+(e.w-t),t=e.x!==m&&m<0?e.w:t,m=m<0?0:m),-1!==["ne","n","nw"].indexOf(l)&&(y=e.y+(e.h-r),r=e.y!==y&&y<0?e.h:r,y=y<0?0:y),g=!0),f&&!p&&(n=(0,a.getAllCollisions)(u,{...e,w:t,h:r,x:m,y}).filter(t=>t.i!==e.i).length>0,n&&(y=e.y,r=e.h,m=e.x,t=e.w,g=!1)),e.w=t,e.h=r,e});if(!b)return;if(h=v,g){const e=!0;h=(0,a.moveElement)(v,b,m,y,e,this.props.preventCollision,(0,a.compactType)(this.props),d,p)}const x={w:b.w,h:b.h,x:b.x,y:b.y,static:!0,i:e};this.props.onResize(h,c,b,x,o,i),this.setState({layout:p?h:(0,a.compact)(h,(0,a.compactType)(this.props),d),activeDrag:x})}),d(this,"onResizeStop",(e,t,r,n)=>{let{e:o,node:i}=n;const{layout:s,oldResizeItem:l}=this.state,{cols:c,allowOverlap:u}=this.props,d=(0,a.getLayoutItem)(s,e),f=u?s:(0,a.compact)(s,(0,a.compactType)(this.props),c);this.props.onResizeStop(f,l,d,null,o,i);const{oldLayout:p}=this.state;this.setState({activeDrag:null,layout:f,oldResizeItem:null,oldLayout:null,resizing:!1}),this.onLayoutMaybeChanged(f,p)}),d(this,"onDragOver",e=>{if(e.preventDefault(),e.stopPropagation(),p&&!e.nativeEvent.target?.classList.contains(f))return!1;const{droppingItem:t,onDropDragOver:r,margin:o,cols:i,rowHeight:a,maxRows:l,width:c,containerPadding:u,transformScale:d}=this.props,h=r?.(e);if(!1===h)return this.state.droppingDOMNode&&this.removeDroppingPlaceholder(),!1;const m={...t,...h},{layout:y}=this.state,g=e.currentTarget.getBoundingClientRect(),v=e.clientX-g.left,b=e.clientY-g.top,x={left:v/d,top:b/d,e};if(this.state.droppingDOMNode){if(this.state.droppingPosition){const{left:e,top:t}=this.state.droppingPosition;(e!=v||t!=b)&&this.setState({droppingPosition:x})}}else{const e={cols:i,margin:o,maxRows:l,rowHeight:a,containerWidth:c,containerPadding:u||o},t=(0,s.calcXY)(e,b,v,m.w,m.h);this.setState({droppingDOMNode:n.createElement("div",{key:m.i}),droppingPosition:x,layout:[...y,{...m,x:t.x,y:t.y,static:!1,isDraggable:!0}]})}}),d(this,"removeDroppingPlaceholder",()=>{const{droppingItem:e,cols:t}=this.props,{layout:r}=this.state,n=(0,a.compact)(r.filter(t=>t.i!==e.i),(0,a.compactType)(this.props),t,this.props.allowOverlap);this.setState({layout:n,droppingDOMNode:null,activeDrag:null,droppingPosition:void 0})}),d(this,"onDragLeave",e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter--,0===this.dragEnterCounter&&this.removeDroppingPlaceholder()}),d(this,"onDragEnter",e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter++}),d(this,"onDrop",e=>{e.preventDefault(),e.stopPropagation();const{droppingItem:t}=this.props,{layout:r}=this.state,n=r.find(e=>e.i===t.i);this.dragEnterCounter=0,this.removeDroppingPlaceholder(),this.props.onDrop(r,n,e)})}componentDidMount(){this.setState({mounted:!0}),this.onLayoutMaybeChanged(this.state.layout,this.props.layout)}static getDerivedStateFromProps(e,t){let r;return t.activeDrag?null:((0,o.deepEqual)(e.layout,t.propsLayout)&&e.compactType===t.compactType?(0,a.childrenEqual)(e.children,t.children)||(r=t.layout):r=e.layout,r?{layout:(0,a.synchronizeLayoutWithChildren)(r,e.children,e.cols,(0,a.compactType)(e),e.allowOverlap),compactType:e.compactType,children:e.children,propsLayout:e.layout}:null)}shouldComponentUpdate(e,t){return this.props.children!==e.children||!(0,a.fastRGLPropsEqual)(this.props,e,o.deepEqual)||this.state.activeDrag!==t.activeDrag||this.state.mounted!==t.mounted||this.state.droppingPosition!==t.droppingPosition}componentDidUpdate(e,t){if(!this.state.activeDrag){const e=this.state.layout,r=t.layout;this.onLayoutMaybeChanged(e,r)}}containerHeight(){if(!this.props.autoSize)return;const e=(0,a.bottom)(this.state.layout),t=this.props.containerPadding?this.props.containerPadding[1]:this.props.margin[1];return e*this.props.rowHeight+(e-1)*this.props.margin[1]+2*t+"px"}onLayoutMaybeChanged(e,t){t||(t=this.state.layout),(0,o.deepEqual)(t,e)||this.props.onLayoutChange(e)}placeholder(){const{activeDrag:e}=this.state;if(!e)return null;const{width:t,cols:r,margin:o,containerPadding:i,rowHeight:a,maxRows:s,useCSSTransforms:c,transformScale:u}=this.props;return n.createElement(l.default,{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,className:"react-grid-placeholder "+(this.state.resizing?"placeholder-resizing":""),containerWidth:t,cols:r,margin:o,containerPadding:i||o,maxRows:s,rowHeight:a,isDraggable:!1,isResizable:!1,isBounded:!1,useCSSTransforms:c,transformScale:u},n.createElement("div",null))}processGridItem(e,t){if(!e||!e.key)return;const r=(0,a.getLayoutItem)(this.state.layout,String(e.key));if(!r)return null;const{width:o,cols:i,margin:s,containerPadding:c,rowHeight:u,maxRows:d,isDraggable:f,isResizable:p,isBounded:h,useCSSTransforms:m,transformScale:y,draggableCancel:g,draggableHandle:v,resizeHandles:b,resizeHandle:x}=this.props,{mounted:w,droppingPosition:S}=this.state,O="boolean"==typeof r.isDraggable?r.isDraggable:!r.static&&f,k="boolean"==typeof r.isResizable?r.isResizable:!r.static&&p,P=r.resizeHandles||b,C=O&&h&&!1!==r.isBounded;return n.createElement(l.default,{containerWidth:o,cols:i,margin:s,containerPadding:c||s,maxRows:d,rowHeight:u,cancel:g,handle:v,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:O,isResizable:k,isBounded:C,useCSSTransforms:m&&w,usePercentages:!w,transformScale:y,w:r.w,h:r.h,x:r.x,y:r.y,i:r.i,minH:r.minH,minW:r.minW,maxH:r.maxH,maxW:r.maxW,static:r.static,droppingPosition:t?S:void 0,resizeHandles:P,resizeHandle:x},e)}render(){const{className:e,style:t,isDroppable:r,innerRef:o}=this.props,s=(0,i.default)(f,e),l={height:this.containerHeight(),...t};return n.createElement("div",{ref:o,className:s,style:l,onDrop:r?this.onDrop:a.noop,onDragLeave:r?this.onDragLeave:a.noop,onDragEnter:r?this.onDragEnter:a.noop,onDragOver:r?this.onDragOver:a.noop},n.Children.map(this.props.children,e=>this.processGridItem(e)),r&&this.state.droppingDOMNode&&this.processGridItem(this.state.droppingDOMNode,!0),this.placeholder())}}t.default=h,d(h,"displayName","ReactGridLayout"),d(h,"propTypes",c.default),d(h,"defaultProps",{autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isBounded:!1,isDraggable:!0,isResizable:!0,allowOverlap:!1,isDroppable:!1,useCSSTransforms:!0,transformScale:1,verticalCompact:!0,compactType:"vertical",preventCollision:!1,droppingItem:{i:"__dropping-elem__",h:1,w:1},resizeHandles:["se"],onLayoutChange:a.noop,onDragStart:a.noop,onDrag:a.noop,onDragStop:a.noop,onResizeStart:a.noop,onResize:a.noop,onResizeStop:a.noop,onDrop:a.noop,onDropDragOver:a.noop})},634(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandleType=t.resizeHandleAxesType=t.default=void 0;var n=i(r(5556)),o=i(r(9155));function i(e){return e&&e.__esModule?e:{default:e}}const a=t.resizeHandleAxesType=n.default.arrayOf(n.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),s=t.resizeHandleType=n.default.oneOfType([n.default.node,n.default.func]);t.default={className:n.default.string,style:n.default.object,width:n.default.number,autoSize:n.default.bool,cols:n.default.number,draggableCancel:n.default.string,draggableHandle:n.default.string,verticalCompact:function(e){e.verticalCompact},compactType:n.default.oneOf(["vertical","horizontal"]),layout:function(e){var t=e.layout;void 0!==t&&r(8426).validateLayout(t,"layout")},margin:n.default.arrayOf(n.default.number),containerPadding:n.default.arrayOf(n.default.number),rowHeight:n.default.number,maxRows:n.default.number,isBounded:n.default.bool,isDraggable:n.default.bool,isResizable:n.default.bool,allowOverlap:n.default.bool,preventCollision:n.default.bool,useCSSTransforms:n.default.bool,transformScale:n.default.number,isDroppable:n.default.bool,resizeHandles:a,resizeHandle:s,onLayoutChange:n.default.func,onDragStart:n.default.func,onDrag:n.default.func,onDragStop:n.default.func,onResizeStart:n.default.func,onResize:n.default.func,onResizeStop:n.default.func,onDrop:n.default.func,droppingItem:n.default.shape({i:n.default.string.isRequired,w:n.default.number.isRequired,h:n.default.number.isRequired}),children:function(e,t){const r=e[t],n={};o.default.Children.forEach(r,function(e){if(null!=e?.key){if(n[e.key])throw new Error('Duplicate child key "'+e.key+'" found! This will cause problems in ReactGridLayout.');n[e.key]=!0}})},innerRef:n.default.any}},9864(e,t,r){"use strict";t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=c(r(5556)),i=r(1548),a=r(8426),s=r(3108),l=c(r(9742));function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(null,arguments)}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=e=>Object.prototype.toString.call(e);function p(e,t){return null==e?null:Array.isArray(e)?e:e[t]}class h extends n.Component{constructor(){super(...arguments),d(this,"state",this.generateInitialState()),d(this,"onLayoutChange",e=>{this.props.onLayoutChange(e,{...this.props.layouts,[this.state.breakpoint]:e})})}generateInitialState(){const{width:e,breakpoints:t,layouts:r,cols:n}=this.props,o=(0,s.getBreakpointFromWidth)(t,e),i=(0,s.getColsFromBreakpoint)(o,n),a=!1===this.props.verticalCompact?null:this.props.compactType;return{layout:(0,s.findOrGenerateResponsiveLayout)(r,t,o,o,i,a),breakpoint:o,cols:i}}static getDerivedStateFromProps(e,t){if(!(0,i.deepEqual)(e.layouts,t.layouts)){const{breakpoint:r,cols:n}=t;return{layout:(0,s.findOrGenerateResponsiveLayout)(e.layouts,e.breakpoints,r,r,n,e.compactType),layouts:e.layouts}}return null}componentDidUpdate(e){this.props.width==e.width&&this.props.breakpoint===e.breakpoint&&(0,i.deepEqual)(this.props.breakpoints,e.breakpoints)&&(0,i.deepEqual)(this.props.cols,e.cols)||this.onWidthChange(e)}onWidthChange(e){const{breakpoints:t,cols:r,layouts:n,compactType:o}=this.props,i=this.props.breakpoint||(0,s.getBreakpointFromWidth)(this.props.breakpoints,this.props.width),l=this.state.breakpoint,c=(0,s.getColsFromBreakpoint)(i,r),u={...n};if(l!==i||e.breakpoints!==t||e.cols!==r){l in u||(u[l]=(0,a.cloneLayout)(this.state.layout));let e=(0,s.findOrGenerateResponsiveLayout)(u,t,i,l,c,o);e=(0,a.synchronizeLayoutWithChildren)(e,this.props.children,c,o,this.props.allowOverlap),u[i]=e,this.props.onBreakpointChange(i,c),this.props.onLayoutChange(e,u),this.setState({breakpoint:i,layout:e,cols:c})}const d=p(this.props.margin,i),f=p(this.props.containerPadding,i);this.props.onWidthChange(this.props.width,d,c,f)}render(){const{breakpoint:e,breakpoints:t,cols:r,layouts:o,margin:i,containerPadding:a,onBreakpointChange:s,onLayoutChange:c,onWidthChange:d,...f}=this.props;return n.createElement(l.default,u({},f,{margin:p(i,this.state.breakpoint),containerPadding:p(a,this.state.breakpoint),onLayoutChange:this.onLayoutChange,layout:this.state.layout,cols:this.state.cols}))}}t.default=h,d(h,"propTypes",{breakpoint:o.default.string,breakpoints:o.default.object,allowOverlap:o.default.bool,cols:o.default.object,margin:o.default.oneOfType([o.default.array,o.default.object]),containerPadding:o.default.oneOfType([o.default.array,o.default.object]),layouts(e,t){if("[object Object]"!==f(e[t]))throw new Error("Layout property must be an object. Received: "+f(e[t]));Object.keys(e[t]).forEach(t=>{if(!(t in e.breakpoints))throw new Error("Each key in layouts must align with a key in breakpoints.");(0,a.validateLayout)(e.layouts[t],"layouts."+t)})},width:o.default.number.isRequired,onBreakpointChange:o.default.func,onLayoutChange:o.default.func,onWidthChange:o.default.func}),d(h,"defaultProps",{breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:12,md:10,sm:6,xs:4,xxs:2},containerPadding:{lg:null,md:null,sm:null,xs:null,xxs:null},layouts:{},margin:[10,10],allowOverlap:!1,onBreakpointChange:a.noop,onLayoutChange:a.noop,onWidthChange:a.noop})},2134(e,t){"use strict";function r(e){const{margin:t,containerPadding:r,containerWidth:n,cols:o}=e;return(n-t[0]*(o-1)-2*r[0])/o}function n(e,t,r){return Number.isFinite(e)?Math.round(t*e+Math.max(0,e-1)*r):e}function o(e,t,r){return Math.max(Math.min(e,r),t)}Object.defineProperty(t,"__esModule",{value:!0}),t.calcGridColWidth=r,t.calcGridItemPosition=function(e,t,o,i,a,s){const{margin:l,containerPadding:c,rowHeight:u}=e,d=r(e),f={};return s&&s.resizing?(f.width=Math.round(s.resizing.width),f.height=Math.round(s.resizing.height)):(f.width=n(i,d,l[0]),f.height=n(a,u,l[1])),s&&s.dragging?(f.top=Math.round(s.dragging.top),f.left=Math.round(s.dragging.left)):s&&s.resizing&&"number"==typeof s.resizing.top&&"number"==typeof s.resizing.left?(f.top=Math.round(s.resizing.top),f.left=Math.round(s.resizing.left)):(f.top=Math.round((u+l[1])*o+c[1]),f.left=Math.round((d+l[0])*t+c[0])),f},t.calcGridItemWHPx=n,t.calcWH=function(e,t,n,i,a,s){const{margin:l,maxRows:c,cols:u,rowHeight:d}=e,f=r(e);let p=Math.round((t+l[0])/(f+l[0])),h=Math.round((n+l[1])/(d+l[1])),m=o(p,0,u-i),y=o(h,0,c-a);return-1!==["sw","w","nw"].indexOf(s)&&(m=o(p,0,u)),-1!==["nw","n","ne"].indexOf(s)&&(y=o(h,0,c)),{w:m,h:y}},t.calcXY=function(e,t,n,i,a){const{margin:s,containerPadding:l,cols:c,rowHeight:u,maxRows:d}=e,f=r(e);let p=Math.round((n-l[0])/(f+s[0])),h=Math.round((t-l[1])/(u+s[1]));return p=o(p,0,c-i),h=o(h,0,d-a),{x:p,y:h}},t.clamp=o},5001(e,t,r){"use strict";t.default=function(e){var t;return t=class extends n.Component{constructor(){super(...arguments),c(this,"state",{width:1280}),c(this,"elementRef",n.createRef()),c(this,"mounted",!1),c(this,"resizeObserver",void 0)}componentDidMount(){this.mounted=!0,this.resizeObserver=new i.default(e=>{if(this.elementRef.current instanceof HTMLElement){const t=e[0].contentRect.width;this.setState({width:t})}});const e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.observe(e)}componentWillUnmount(){this.mounted=!1;const e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.unobserve(e),this.resizeObserver.disconnect()}render(){const{measureBeforeMount:t,...r}=this.props;return t&&!this.mounted?n.createElement("div",{className:(0,a.default)(this.props.className,"react-grid-layout"),style:this.props.style,ref:this.elementRef}):n.createElement(e,l({innerRef:this.elementRef},r,this.state))}},c(t,"defaultProps",{measureBeforeMount:!1}),c(t,"propTypes",{measureBeforeMount:o.default.bool}),t};var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,o={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return o;if(r=t){if(r.has(e))return r.get(e);r.set(e,o)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(o,t,n):o[t]=e[t]);return o}(e)}(r(9155)),o=s(r(5556)),i=s(r(3591)),a=s(r(1508));function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(null,arguments)}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},2590(e){e.exports=function(e,t,r){return e===t||e.className===t.className&&r(e.style,t.style)&&e.width===t.width&&e.autoSize===t.autoSize&&e.cols===t.cols&&e.draggableCancel===t.draggableCancel&&e.draggableHandle===t.draggableHandle&&r(e.verticalCompact,t.verticalCompact)&&r(e.compactType,t.compactType)&&r(e.layout,t.layout)&&r(e.margin,t.margin)&&r(e.containerPadding,t.containerPadding)&&e.rowHeight===t.rowHeight&&e.maxRows===t.maxRows&&e.isBounded===t.isBounded&&e.isDraggable===t.isDraggable&&e.isResizable===t.isResizable&&e.allowOverlap===t.allowOverlap&&e.preventCollision===t.preventCollision&&e.useCSSTransforms===t.useCSSTransforms&&e.transformScale===t.transformScale&&e.isDroppable===t.isDroppable&&r(e.resizeHandles,t.resizeHandles)&&r(e.resizeHandle,t.resizeHandle)&&e.onLayoutChange===t.onLayoutChange&&e.onDragStart===t.onDragStart&&e.onDrag===t.onDrag&&e.onDragStop===t.onDragStop&&e.onResizeStart===t.onResizeStart&&e.onResize===t.onResize&&e.onResizeStop===t.onResizeStop&&e.onDrop===t.onDrop&&r(e.droppingItem,t.droppingItem)&&r(e.innerRef,t.innerRef)}},3108(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findOrGenerateResponsiveLayout=function(e,t,r,i,a,s){if(e[r])return(0,n.cloneLayout)(e[r]);let l=e[i];const c=o(t),u=c.slice(c.indexOf(r));for(let t=0,r=u.length;t<r;t++){const r=u[t];if(e[r]){l=e[r];break}}return l=(0,n.cloneLayout)(l||[]),(0,n.compact)((0,n.correctBounds)(l,{cols:a}),s,a)},t.getBreakpointFromWidth=function(e,t){const r=o(e);let n=r[0];for(let o=1,i=r.length;o<i;o++){const i=r[o];t>e[i]&&(n=i)}return n},t.getColsFromBreakpoint=function(e,t){if(!t[e])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]},t.sortBreakpoints=o;var n=r(8426);function o(e){return Object.keys(e).sort(function(t,r){return e[t]-e[r]})}},8426(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bottom=a,t.childrenEqual=function(e,t){return(0,o.deepEqual)(i.default.Children.map(e,e=>e?.key),i.default.Children.map(t,e=>e?.key))&&(0,o.deepEqual)(i.default.Children.map(e,e=>e?.props["data-grid"]),i.default.Children.map(t,e=>e?.props["data-grid"]))},t.cloneLayout=s,t.cloneLayoutItem=c,t.collides=u,t.compact=d,t.compactItem=h,t.compactType=function(e){const{verticalCompact:t,compactType:r}=e||{};return!1===t?null:r},t.correctBounds=m,t.fastPositionEqual=function(e,t){return e.left===t.left&&e.top===t.top&&e.width===t.width&&e.height===t.height},t.fastRGLPropsEqual=void 0,t.getAllCollisions=v,t.getFirstCollision=g,t.getLayoutItem=y,t.getStatics=b,t.modifyLayout=l,t.moveElement=x,t.moveElementAwayFromCollision=w,t.noop=void 0,t.perc=function(e){return 100*e+"%"},t.resizeItemInDirection=function(e,t,r,n){const o=A[e];return o?o(t,{...t,...r},n):r},t.setTopLeft=function(e){let{top:t,left:r,width:n,height:o}=e;return{top:`${t}px`,left:`${r}px`,width:`${n}px`,height:`${o}px`,position:"absolute"}},t.setTransform=function(e){let{top:t,left:r,width:n,height:o}=e;const i=`translate(${r}px,${t}px)`;return{transform:i,WebkitTransform:i,MozTransform:i,msTransform:i,OTransform:i,width:`${n}px`,height:`${o}px`,position:"absolute"}},t.sortLayoutItems=D,t.sortLayoutItemsByColRow=I,t.sortLayoutItemsByRowCol=T,t.synchronizeLayoutWithChildren=function(e,t,r,n,o){e=e||[];const s=[];i.default.Children.forEach(t,t=>{if(null==t?.key)return;const r=y(e,String(t.key)),n=t.props["data-grid"];r&&null==n?s.push(c(r)):n?s.push(c({...n,i:t.key})):s.push(c({w:1,h:1,x:0,y:a(s),i:String(t.key)}))});const l=m(s,{cols:r});return o?l:d(l,n,r)},t.validateLayout=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout";const r=["x","y","w","h"];if(!Array.isArray(e))throw new Error(t+" must be an array!");for(let n=0,o=e.length;n<o;n++){const o=e[n];for(let e=0;e<r.length;e++){const i=r[e],a=o[i];if("number"!=typeof a||Number.isNaN(a))throw new Error(`ReactGridLayout: ${t}[${n}].${i} must be a number! Received: ${a} (${typeof a})`)}if(void 0!==o.i&&"string"!=typeof o.i)throw new Error(`ReactGridLayout: ${t}[${n}].i must be a string! Received: ${o.i} (${typeof o.i})`)}},t.withLayoutItem=function(e,t,r){let n=y(e,t);return n?(n=r(c(n)),[e=l(e,n),n]):[e,null]};var n,o=r(1548),i=(n=r(9155))&&n.__esModule?n:{default:n};function a(e){let t,r=0;for(let n=0,o=e.length;n<o;n++)t=e[n].y+e[n].h,t>r&&(r=t);return r}function s(e){const t=Array(e.length);for(let r=0,n=e.length;r<n;r++)t[r]=c(e[r]);return t}function l(e,t){const r=Array(e.length);for(let n=0,o=e.length;n<o;n++)t.i===e[n].i?r[n]=t:r[n]=e[n];return r}function c(e){return{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,minW:e.minW,maxW:e.maxW,minH:e.minH,maxH:e.maxH,moved:Boolean(e.moved),static:Boolean(e.static),isDraggable:e.isDraggable,isResizable:e.isResizable,resizeHandles:e.resizeHandles,isBounded:e.isBounded}}function u(e,t){return!(e.i===t.i||e.x+e.w<=t.x||e.x>=t.x+t.w||e.y+e.h<=t.y||e.y>=t.y+t.h)}function d(e,t,r,n){const o=b(e),i=D(e,t),a=Array(e.length);for(let s=0,l=i.length;s<l;s++){let l=c(i[s]);l.static||(l=h(o,l,t,r,i,n),o.push(l)),a[e.indexOf(i[s])]=l,l.moved=!1}return a}t.fastRGLPropsEqual=r(2590);const f={x:"w",y:"h"};function p(e,t,r,n){const o=f[n];t[n]+=1;for(let i=e.map(e=>e.i).indexOf(t.i)+1;i<e.length;i++){const a=e[i];if(!a.static){if(a.y>t.y+t.h)break;u(t,a)&&p(e,a,r+t[o],n)}}t[n]=r}function h(e,t,r,n,o,i){const s="horizontal"===r;if("vertical"===r)for(t.y=Math.min(a(e),t.y);t.y>0&&!g(e,t);)t.y--;else if(s)for(;t.x>0&&!g(e,t);)t.x--;let l;for(;(l=g(e,t))&&(null!==r||!i);)if(s?p(o,t,l.x+l.w,"x"):p(o,t,l.y+l.h,"y"),s&&t.x+t.w>n)for(t.x=n-t.w,t.y++;t.x>0&&!g(e,t);)t.x--;return t.y=Math.max(t.y,0),t.x=Math.max(t.x,0),t}function m(e,t){const r=b(e);for(let n=0,o=e.length;n<o;n++){const o=e[n];if(o.x+o.w>t.cols&&(o.x=t.cols-o.w),o.x<0&&(o.x=0,o.w=t.cols),o.static)for(;g(r,o);)o.y++;else r.push(o)}return e}function y(e,t){for(let r=0,n=e.length;r<n;r++)if(e[r].i===t)return e[r]}function g(e,t){for(let r=0,n=e.length;r<n;r++)if(u(e[r],t))return e[r]}function v(e,t){return e.filter(e=>u(e,t))}function b(e){return e.filter(e=>e.static)}function x(e,t,r,n,o,i,a,l,c){if(t.static&&!0!==t.isDraggable)return e;if(t.y===n&&t.x===r)return e;t.i,String(r),String(n),t.x,t.y;const u=t.x,d=t.y;"number"==typeof r&&(t.x=r),"number"==typeof n&&(t.y=n),t.moved=!0;let f=D(e,a);("vertical"===a&&"number"==typeof n?d>=n:"horizontal"===a&&"number"==typeof r&&u>=r)&&(f=f.reverse());const p=v(f,t),h=p.length>0;if(h&&c)return s(e);if(h&&i)return t.i,t.x=u,t.y=d,t.moved=!1,e;for(let r=0,n=p.length;r<n;r++){const n=p[r];R((t.i,t.x,t.y,n.i,n.x,n.y)),n.moved||(e=n.static?w(e,n,t,o,a,l):w(e,t,n,o,a,l))}return e}function w(e,t,r,n,o,i){const a="horizontal"===o,s="vertical"===o,l=t.static;if(n){n=!1;const c={x:a?Math.max(t.x-r.w,0):r.x,y:s?Math.max(t.y-r.h,0):r.y,w:r.w,h:r.h,i:"-1"},u=g(e,c),d=u&&u.y+u.h>t.y,f=u&&t.x+t.w>u.x;if(!u)return r.i,c.x,c.y,x(e,r,a?c.x:void 0,s?c.y:void 0,n,l,o,i);if(d&&s)return x(e,r,void 0,t.y+1,n,l,o,i);if(d&&null==o)return t.y=r.y,r.y=r.y+r.h,e;if(f&&a)return x(e,t,r.x,void 0,n,l,o,i)}const c=a?r.x+1:void 0,u=s?r.y+1:void 0;return null==c&&null==u?e:x(e,r,a?r.x+1:void 0,s?r.y+1:void 0,n,l,o,i)}const S=(e,t,r,n)=>e+r>n?t:r,O=(e,t,r)=>e<0?t:r,k=e=>Math.max(0,e),P=e=>Math.max(0,e),C=(e,t,r)=>{let{left:n,height:o,width:i}=t;const a=e.top-(o-e.height);return{left:n,width:i,height:O(a,e.height,o),top:P(a)}},j=(e,t,r)=>{let{top:n,left:o,height:i,width:a}=t;return{top:n,height:i,width:S(e.left,e.width,a,r),left:k(o)}},M=(e,t,r)=>{let{top:n,height:o,width:i}=t;const a=e.left-(i-e.width);return{height:o,width:a<0?e.width:S(e.left,e.width,i,r),top:P(n),left:k(a)}},E=(e,t,r)=>{let{top:n,left:o,height:i,width:a}=t;return{width:a,left:o,height:O(n,e.height,i),top:P(n)}},A={n:C,ne:function(){return C(arguments.length<=0?void 0:arguments[0],j(...arguments))},e:j,se:function(){return E(arguments.length<=0?void 0:arguments[0],j(...arguments))},s:E,sw:function(){return E(arguments.length<=0?void 0:arguments[0],M(...arguments))},w:M,nw:function(){return C(arguments.length<=0?void 0:arguments[0],M(...arguments))}};function D(e,t){return"horizontal"===t?I(e):"vertical"===t?T(e):e}function T(e){return e.slice(0).sort(function(e,t){return e.y>t.y||e.y===t.y&&e.x>t.x?1:e.y===t.y&&e.x===t.x?0:-1})}function I(e){return e.slice(0).sort(function(e,t){return e.x>t.x||e.x===t.x&&e.y>t.y?1:-1})}function R(){}t.noop=()=>{}},6816(e,t,r){e.exports=r(9742).default,r(8426),r(2134),e.exports.Responsive=r(9864).default,e.exports.Responsive.utils=r(3108),e.exports.WidthProvider=r(5001).default},4405(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");t.zv=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case i:case u:case d:case h:return e;default:switch(e=e&&e.$$typeof){case l:case c:case p:case f:case s:return e;default:return t}}case n:return t}}}(e)===o},t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===i||e===u||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===c||e.$$typeof===m||void 0!==e.getModuleId)}},5630(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(9155)),o=r(5794),i=r(4030),a=r(8329),s=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var h=function(e){var t,r;function a(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).handleRefs={},t.lastHandleRect=null,t.slack=null,t}r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,p(t,r);var l=a.prototype;return l.componentWillUnmount=function(){this.resetData()},l.resetData=function(){this.lastHandleRect=this.slack=null},l.runConstraints=function(e,t){var r=this.props,n=r.minConstraints,o=r.maxConstraints,i=r.lockAspectRatio;if(!n&&!o&&!i)return[e,t];if(i){var a=this.props.width/this.props.height,s=e-this.props.width,l=t-this.props.height;Math.abs(s)>Math.abs(l*a)?t=e/a:e=t*a}var c=e,u=t,d=this.slack||[0,0],f=d[0],p=d[1];return e+=f,t+=p,n&&(e=Math.max(n[0],e),t=Math.max(n[1],t)),o&&(e=Math.min(o[0],e),t=Math.min(o[1],t)),this.slack=[f+(c-e),p+(u-t)],[e,t]},l.resizeHandler=function(e,t){var r=this;return function(n,o){var i=o.node,a=o.deltaX,s=o.deltaY;"onResizeStart"===e&&r.resetData();var l=("both"===r.props.axis||"x"===r.props.axis)&&"n"!==t&&"s"!==t,c=("both"===r.props.axis||"y"===r.props.axis)&&"e"!==t&&"w"!==t;if(l||c){var u=t[0],d=t[t.length-1],f=i.getBoundingClientRect();null!=r.lastHandleRect&&("w"===d&&(a+=f.left-r.lastHandleRect.left),"n"===u&&(s+=f.top-r.lastHandleRect.top)),r.lastHandleRect=f,"w"===d&&(a=-a),"n"===u&&(s=-s);var p=r.props.width+(l?a/r.props.transformScale:0),h=r.props.height+(c?s/r.props.transformScale:0),m=r.runConstraints(p,h);p=m[0],h=m[1];var y=p!==r.props.width||h!==r.props.height,g="function"==typeof r.props[e]?r.props[e]:null;g&&!("onResize"===e&&!y)&&(null==n.persist||n.persist(),g(n,{node:i,size:{width:p,height:h},handle:t})),"onResizeStop"===e&&r.resetData()}}},l.renderResizeHandle=function(e,t){var r=this.props.handle;if(!r)return n.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+e,ref:t});if("function"==typeof r)return r(e,t);var o=d({ref:t},"string"==typeof r.type?{}:{handleAxis:e});return n.cloneElement(r,o)},l.render=function(){var e=this,t=this.props,r=t.children,a=t.className,l=t.draggableOpts,u=(t.width,t.height,t.handle,t.handleSize,t.lockAspectRatio,t.axis,t.minConstraints,t.maxConstraints,t.onResize,t.onResizeStop,t.onResizeStart,t.resizeHandles),f=(t.transformScale,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,s));return(0,i.cloneElement)(r,d(d({},f),{},{className:(a?a+" ":"")+"react-resizable",children:[].concat(r.props.children,u.map(function(t){var r,i=null!=(r=e.handleRefs[t])?r:e.handleRefs[t]=n.createRef();return n.createElement(o.DraggableCore,c({},l,{nodeRef:i,key:"resizableHandle-"+t,onStop:e.resizeHandler("onResizeStop",t),onStart:e.resizeHandler("onResizeStart",t),onDrag:e.resizeHandler("onResize",t)}),e.renderResizeHandle(t,i))}))}))},a}(n.Component);t.default=h,h.propTypes=a.resizableProps,h.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},5661(e,t,r){"use strict";t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(9155)),o=l(r(5556)),i=l(r(5630)),a=r(8329),s=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var m=function(e){var t,r;function o(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).state={width:t.props.width,height:t.props.height,propsWidth:t.props.width,propsHeight:t.props.height},t.onResize=function(e,r){var n=r.size;t.props.onResize?(null==e.persist||e.persist(),t.setState(n,function(){return t.props.onResize&&t.props.onResize(e,r)})):t.setState(n)},t}return r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,h(t,r),o.getDerivedStateFromProps=function(e,t){return t.propsWidth!==e.width||t.propsHeight!==e.height?{width:e.width,height:e.height,propsWidth:e.width,propsHeight:e.height}:null},o.prototype.render=function(){var e=this.props,t=e.handle,r=e.handleSize,o=(e.onResize,e.onResizeStart),a=e.onResizeStop,l=e.draggableOpts,c=e.minConstraints,d=e.maxConstraints,p=e.lockAspectRatio,h=e.axis,m=(e.width,e.height,e.resizeHandles),y=e.style,g=e.transformScale,v=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,s);return n.createElement(i.default,{axis:h,draggableOpts:l,handle:t,handleSize:r,height:this.state.height,lockAspectRatio:p,maxConstraints:d,minConstraints:c,onResizeStart:o,onResize:this.onResize,onResizeStop:a,resizeHandles:m,transformScale:g,width:this.state.width},n.createElement("div",u({},v,{style:f(f({},y),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},o}(n.Component);t.default=m,m.propTypes=f(f({},a.resizableProps),{},{children:o.default.element})},8329(e,t,r){"use strict";t.__esModule=!0,t.resizableProps=void 0;var n,o=(n=r(5556))&&n.__esModule?n:{default:n};r(5794);var i={axis:o.default.oneOf(["both","x","y","none"]),className:o.default.string,children:o.default.element.isRequired,draggableOpts:o.default.shape({allowAnyClick:o.default.bool,cancel:o.default.string,children:o.default.node,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:o.default.node,grid:o.default.arrayOf(o.default.number),handle:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number}),height:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=t[0];return"both"===i.axis||"y"===i.axis?(n=o.default.number).isRequired.apply(n,t):o.default.number.apply(o.default,t)},handle:o.default.oneOfType([o.default.node,o.default.func]),handleSize:o.default.arrayOf(o.default.number),lockAspectRatio:o.default.bool,maxConstraints:o.default.arrayOf(o.default.number),minConstraints:o.default.arrayOf(o.default.number),onResizeStop:o.default.func,onResizeStart:o.default.func,onResize:o.default.func,resizeHandles:o.default.arrayOf(o.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:o.default.number,width:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=t[0];return"both"===i.axis||"x"===i.axis?(n=o.default.number).isRequired.apply(n,t):o.default.number.apply(o.default,t)}};t.resizableProps=i},4030(e,t,r){"use strict";t.__esModule=!0,t.cloneElement=function(e,t){return t.style&&e.props.style&&(t.style=a(a({},e.props.style),t.style)),t.className&&e.props.className&&(t.className=e.props.className+" "+t.className),o.default.cloneElement(e,t)};var n,o=(n=r(9155))&&n.__esModule?n:{default:n};function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},6036(e,t,r){"use strict";e.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},e.exports.Resizable=r(5630).default,e.exports.ResizableBox=r(5661).default},1020(e,t,r){"use strict";var n=r(9155),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,n)&&!l.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},4848(e,t,r){"use strict";e.exports=r(1020)},3591(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>O});var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),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(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e){var t=!1,r=!1,n=0;function o(){t&&(t=!1,e()),r&&s()}function i(){a(o)}function s(){var e=Date.now();if(t){if(e-n<2)return;r=!0}else t=!0,r=!1,setTimeout(i,20);n=e}return s}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(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(){o&&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(e){var t=e.propertyName,r=void 0===t?"":t;s.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+p(e["border-"+r+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return o?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return f;var n=d(e).getComputedStyle(e),o=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=e["padding-"+o];t[o]=p(i)}return t}(n),i=o.left+o.right,a=o.top+o.bottom,s=p(n.width),l=p(n.height);if("border-box"===n.boxSizing&&(Math.round(s+i)!==t&&(s-=h(n,"left","right")+i),Math.round(l+a)!==r&&(l-=h(n,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-r;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return g(o.left,o.top,s,l)}(e):f}function g(e,t,r,n){return{x:e,y:t,width:r,height:n}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),b=function(e,t){var r,n,o,i,a,s,l,c=(n=(r=t).x,o=r.y,i=r.width,a=r.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),u(l,{x:n,y:o,width:i,height:a,top:o,right:n+i,bottom:a+o,left:n}),l);u(this,{target:e,contentRect:c})},x=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new b(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,S=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 r=c.getInstance(),n=new x(t,r,this);w.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){S.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});const O=void 0!==i.ResizeObserver?i.ResizeObserver:S},5072(e){"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var f=r(d),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,n);n.byIndex=s,t.splice(s,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var i=n(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=r(i[a]);t[s].references--}for(var l=n(e,o),c=0;c<i.length;c++){var u=r(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},7659(e){"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},540(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056(e,t,r){"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7825(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},8493(e,t,r){"use strict";var n=r(9155),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,a=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,u=n[1];return s(function(){o.value=r,o.getSnapshot=t,c(o)&&u({inst:o})},[e,r,t]),a(function(){return c(o)&&u({inst:o}),e(function(){c(o)&&u({inst:o})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},2162(e,t,r){"use strict";var n=r(9155),o=r(9888),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=n.useRef,l=n.useEffect,c=n.useMemo,u=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!l){if(l=!0,a=e,e=n(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var r=n(e);return void 0!==o&&o(t,r)?(a=e,t):(a=e,s=r)}var a,s,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,n,o]);var p=a(e,d[0],d[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}},5160(e,t,r){"use strict";var n=r(9155);"function"==typeof Object.is&&Object.is,n.useSyncExternalStore,n.useRef,n.useEffect,n.useMemo,n.useDebugValue},9888(e,t,r){"use strict";e.exports=r(8493)},9242(e,t,r){"use strict";e.exports=r(2162)},8418(e,t,r){"use strict";r(5160)},9155(t){"use strict";t.exports=e},9514(e){"use strict";e.exports=t},6942(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,i(r)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};r=r||[null,n({}),n([]),n(n)];for(var s=2&t&&e;("object"==typeof s||"function"==typeof s)&&!~r.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0;var s={};return(()=>{"use strict";a.r(s),a.d(s,{BarChart:()=>PV,Dashboard:()=>b6,HeatMap:()=>UV,LineChart:()=>TV});var e={};a.r(e),a.d(e,{scaleBand:()=>Ex,scaleDiverging:()=>UP,scaleDivergingLog:()=>KP,scaleDivergingPow:()=>GP,scaleDivergingSqrt:()=>QP,scaleDivergingSymlog:()=>YP,scaleIdentity:()=>hS,scaleImplicit:()=>jx,scaleLinear:()=>pS,scaleLog:()=>OS,scaleOrdinal:()=>Mx,scalePoint:()=>Dx,scalePow:()=>TS,scaleQuantile:()=>VS,scaleQuantize:()=>WS,scaleRadial:()=>NS,scaleSequential:()=>LP,scaleSequentialLog:()=>BP,scaleSequentialPow:()=>VP,scaleSequentialQuantile:()=>HP,scaleSequentialSqrt:()=>WP,scaleSequentialSymlog:()=>$P,scaleSqrt:()=>IS,scaleSymlog:()=>jS,scaleThreshold:()=>HS,scaleTime:()=>NP,scaleUtc:()=>FP,tickFormat:()=>dS});var t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},r=new class{#e=t;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},n="undefined"==typeof window||"Deno"in globalThis;function o(){}function i(e){return"number"==typeof e&&e>=0&&e!==1/0}function l(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t){return"function"==typeof e?e(t):e}function u(e,t){return"function"==typeof e?e(t):e}function d(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(n){if(t.queryHash!==p(a,t.options))return!1}else if(!m(t.queryKey,a))return!1;if("all"!==r){const e=t.isActive();if("active"===r&&!e)return!1;if("inactive"===r&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function f(e,t){const{exact:r,status:n,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(h(t.options.mutationKey)!==h(i))return!1}else if(!m(t.options.mutationKey,i))return!1}return!(n&&t.state.status!==n||o&&!o(t))}function p(e,t){return(t?.queryKeyHashFn||h)(e)}function h(e){return JSON.stringify(e,(e,t)=>x(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function m(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(r=>m(e[r],t[r]))}var y=Object.prototype.hasOwnProperty;function g(e,t){if(e===t)return e;const r=b(e)&&b(t);if(!(r||x(e)&&x(t)))return t;const n=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),i=o.length,a=r?new Array(i):{};let s=0;for(let l=0;l<i;l++){const i=r?l:o[l],c=e[i],u=t[i];if(c===u){a[i]=c,(r?l<n:y.call(e,i))&&s++;continue}if(null===c||null===u||"object"!=typeof c||"object"!=typeof u){a[i]=u;continue}const d=g(c,u);a[i]=d,d===c&&s++}return n===i&&s===n?e:a}function v(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function b(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function x(e){if(!w(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!!w(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function S(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?g(e,t):t}function O(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function k(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var P=Symbol();function C(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==P?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var j=function(e){setTimeout(e,0)},M=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},o=j;const i=n=>{t?e.push(n):o(()=>{r(n)})};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{n(()=>{t.forEach(e=>{r(e)})})})})()}return a},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{o=e}}}(),E=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},A=new class extends E{#r;#n;#o;constructor(){super(),this.#o=e=>{if(!n&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#n||this.setEventListener(this.#o)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#o=e,this.#n?.(),this.#n=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#r!==e&&(this.#r=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#r?this.#r:"hidden"!==globalThis.document?.visibilityState}},D=new class extends E{#i=!0;#n;#o;constructor(){super(),this.#o=e=>{if(!n&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#n||this.setEventListener(this.#o)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#o=e,this.#n?.(),this.#n=e(this.setOnline.bind(this))}setOnline(e){this.#i!==e&&(this.#i=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#i}};function T(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}function I(e){return Math.min(1e3*2**e,3e4)}function R(e){return"online"!==(e??"online")||D.isOnline()}var N=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function F(e){let t,o=!1,i=0;const a=T(),s=()=>"pending"!==a.status,l=()=>A.isFocused()&&("always"===e.networkMode||D.isOnline())&&e.canRun(),c=()=>R(e.networkMode)&&e.canRun(),u=e=>{s()||(t?.(),a.resolve(e))},d=e=>{s()||(t?.(),a.reject(e))},f=()=>new Promise(r=>{t=e=>{(s()||l())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,s()||e.onContinue?.()}),p=()=>{if(s())return;let t;const a=0===i?e.initialPromise:void 0;try{t=a??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(u).catch(t=>{if(s())return;const a=e.retry??(n?0:3),c=e.retryDelay??I,u="function"==typeof c?c(i,t):c,h=!0===a||"number"==typeof a&&i<a||"function"==typeof a&&a(i,t);var m;!o&&h?(i++,e.onFail?.(i,t),(m=u,new Promise(e=>{r.setTimeout(e,m)})).then(()=>l()?void 0:f()).then(()=>{o?d(t):p()})):d(t)})};return{promise:a,status:()=>a.status,cancel:t=>{if(!s()){const r=new N(t);d(r),e.onCancel?.(r)}},continue:()=>(t?.(),a),cancelRetry:()=>{o=!0},continueRetry:()=>{o=!1},canStart:c,start:()=>(c()?p():f().then(p),a)}}var _=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),i(this.gcTime)&&(this.#a=r.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n?1/0:3e5))}clearGcTimeout(){this.#a&&(r.clearTimeout(this.#a),this.#a=void 0)}},z=class extends _{#s;#l;#c;#u;#d;#f;#p;constructor(e){super(),this.#p=!1,this.#f=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#c=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#s=$(this.options),this.state=e.state??this.#s,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#f,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=$(this.options);void 0!==e.data&&(this.setState(B(e.data,e.dataUpdatedAt)),this.#s=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(e,t){const r=S(this.state.data,e,this.options);return this.#h({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#h({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#d?.promise;return this.#d?.cancel(e),t?t.then(o).catch(o):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#s)}isActive(){return this.observers.some(e=>!1!==u(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===P||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===c(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!l(this.state.dataUpdatedAt,e))}onFocus(){const e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){const e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#p?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#h({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#d?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const r=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#p=!0,r.signal)})},o=()=>{const e=C(this.options,t),r=(()=>{const e={client:this.#u,queryKey:this.queryKey,meta:this.meta};return n(e),e})();return this.#p=!1,this.options.persister?this.options.persister(e,r,this):e(r)},i=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:o};return n(e),e})();this.options.behavior?.onFetch(i,this),this.#l=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===i.fetchOptions?.meta||this.#h({type:"fetch",meta:i.fetchOptions?.meta}),this.#d=F({initialPromise:t?.initialPromise,fn:i.fetchFn,onCancel:e=>{e instanceof N&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#h({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#h({type:"pause"})},onContinue:()=>{this.#h({type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0});try{const e=await this.#d.start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#c.config.onSuccess?.(e,this),this.#c.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof N){if(e.silent)return this.#d.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#h({type:"error",error:e}),this.#c.config.onError?.(e,this),this.#c.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#h(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...L(t.data,this.options),fetchMeta:e.meta??null};case"success":const r={...t,...B(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?r:void 0,r;case"error":const n=e.error;return{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),M.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:e})})}};function L(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:R(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function B(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function $(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var V=class extends E{constructor(e={}){super(),this.config=e,this.#m=new Map}#m;build(e,t,r){const n=t.queryKey,o=t.queryHash??p(n,t);let i=this.get(o);return i||(i=new z({client:e,queryKey:n,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(i)),i}add(e){this.#m.has(e.queryHash)||(this.#m.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#m.get(e.queryHash);t&&(e.destroy(),t===e&&this.#m.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#m.get(e)}getAll(){return[...this.#m.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>d(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>d(e,t)):t}notify(e){M.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){M.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){M.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},W=class extends _{#u;#y;#g;#d;constructor(e){super(),this.#u=e.client,this.mutationId=e.mutationId,this.#g=e.mutationCache,this.#y=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#y.includes(e)||(this.#y.push(e),this.clearGcTimeout(),this.#g.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#y=this.#y.filter(t=>t!==e),this.scheduleGc(),this.#g.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#y.length||("pending"===this.state.status?this.scheduleGc():this.#g.remove(this))}continue(){return this.#d?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#h({type:"continue"})},r={client:this.#u,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#d=F({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#h({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#h({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#g.canRun(this)});const n="pending"===this.state.status,o=!this.#d.canStart();try{if(n)t();else{this.#h({type:"pending",variables:e,isPaused:o}),await(this.#g.config.onMutate?.(e,this,r));const t=await(this.options.onMutate?.(e,r));t!==this.state.context&&this.#h({type:"pending",context:t,variables:e,isPaused:o})}const i=await this.#d.start();return await(this.#g.config.onSuccess?.(i,e,this.state.context,this,r)),await(this.options.onSuccess?.(i,e,this.state.context,r)),await(this.#g.config.onSettled?.(i,null,this.state.variables,this.state.context,this,r)),await(this.options.onSettled?.(i,null,e,this.state.context,r)),this.#h({type:"success",data:i}),i}catch(t){try{throw await(this.#g.config.onError?.(t,e,this.state.context,this,r)),await(this.options.onError?.(t,e,this.state.context,r)),await(this.#g.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r)),await(this.options.onSettled?.(void 0,t,e,this.state.context,r)),t}finally{this.#h({type:"error",error:t})}}finally{this.#g.runNext(this)}}#h(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),M.batch(()=>{this.#y.forEach(t=>{t.onMutationUpdate(e)}),this.#g.notify({mutation:this,type:"updated",action:e})})}},H=class extends E{constructor(e={}){super(),this.config=e,this.#v=new Set,this.#b=new Map,this.#x=0}#v;#b;#x;build(e,t,r){const n=new W({client:e,mutationCache:this,mutationId:++this.#x,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#v.add(e);const t=q(e);if("string"==typeof t){const r=this.#b.get(t);r?r.push(e):this.#b.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#v.delete(e)){const t=q(e);if("string"==typeof t){const r=this.#b.get(t);if(r)if(r.length>1){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#b.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=q(e);if("string"==typeof t){const r=this.#b.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}return!0}runNext(e){const t=q(e);if("string"==typeof t){const r=this.#b.get(t)?.find(t=>t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}return Promise.resolve()}clear(){M.batch(()=>{this.#v.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#v.clear(),this.#b.clear()})}getAll(){return Array.from(this.#v)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>f(t,e))}findAll(e={}){return this.getAll().filter(t=>f(e,t))}notify(e){M.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return M.batch(()=>Promise.all(e.map(e=>e.continue().catch(o))))}};function q(e){return e.options.scope?.id}function U(e){return{onFetch:(t,r)=>{const n=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let r=!1;const c=C(t.options,t.fetchOptions),u=async(e,n,o)=>{if(r)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const i=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:n,direction:o?"backward":"forward",meta:t.options.meta};return(e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",()=>{r=!0}),t.signal)})})(e),e})(),a=await c(i),{maxPages:s}=t.options,l=o?k:O;return{pages:l(e.pages,a,s),pageParams:l(e.pageParams,n,s)}};if(o&&i.length){const e="backward"===o,t={pages:i,pageParams:a},r=(e?Y:K)(n,t);s=await u(t,r,e)}else{const t=e??i.length;do{const e=0===l?a[0]??n.initialPageParam:K(n,s);if(l>0&&null==e)break;s=await u(s,e),l++}while(l<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=c}}}function K(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function Y(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var G=a(9155),Q=a.t(G,2),X=a.n(G);function Z(e){return e}function J(e){return{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}}function ee(e,t,r){return{dehydratedAt:Date.now(),state:{...e.state,...void 0!==e.state.data&&{data:t(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,..."pending"===e.state.status&&{promise:(()=>{const n=e.promise?.then(t).catch(e=>r(e)?Promise.reject(new Error("redacted")):Promise.reject(e));return n?.catch(o),n})()},...e.meta&&{meta:e.meta}}}function te(e){return e.state.isPaused}function re(e){return"success"===e.state.status}function ne(e){return!0}function oe(e,t={}){const r=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??te,n=e.getMutationCache().getAll().flatMap(e=>r(e)?[J(e)]:[]),o=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??re,i=t.shouldRedactErrors??e.getDefaultOptions().dehydrate?.shouldRedactErrors??ne,a=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??Z;return{mutations:n,queries:e.getQueryCache().getAll().flatMap(e=>o(e)?[ee(e,a,i)]:[])}}var ie=["added","removed","updated"];function ae(e){return ie.includes(e)}async function se({queryClient:e,persister:t,maxAge:r=864e5,buster:n="",hydrateOptions:i}){try{const a=await t.restoreClient();if(a){if(!a.timestamp)return t.removeClient();{const s=Date.now()-a.timestamp>r,l=a.buster!==n;if(s||l)return t.removeClient();!function(e,t,r){if("object"!=typeof t||null===t)return;const n=e.getMutationCache(),i=e.getQueryCache(),a=r?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??Z,s=t.mutations||[],l=t.queries||[];s.forEach(({state:t,...o})=>{n.build(e,{...e.getDefaultOptions().hydrate?.mutations,...r?.defaultOptions?.mutations,...o},t)}),l.forEach(({queryKey:t,state:n,queryHash:s,meta:l,promise:c,dehydratedAt:u})=>{const d=c?function(e){let t;if(e.then(e=>(t=e,e),o)?.catch(o),void 0!==t)return{data:t}}(c):void 0,f=void 0===n.data?d?.data:n.data,p=void 0===f?f:a(f);let h=i.get(s);const m="pending"===h?.state.status,y="fetching"===h?.state.fetchStatus;if(h){const e=d&&void 0!==u&&u>h.state.dataUpdatedAt;if(n.dataUpdatedAt>h.state.dataUpdatedAt||e){const{fetchStatus:e,...t}=n;h.setState({...t,data:p})}}else h=i.build(e,{...e.getDefaultOptions().hydrate?.queries,...r?.defaultOptions?.queries,queryKey:t,queryHash:s,meta:l},{...n,data:p,fetchStatus:"idle",status:void 0!==p?"success":n.status});c&&!m&&!y&&(void 0===u||u>h.state.dataUpdatedAt)&&h.fetch(void 0,{initialPromise:Promise.resolve(c).then(a)}).catch(o)})}(e,a.clientState,i)}}}catch(e){throw await t.removeClient(),e}}async function le({queryClient:e,persister:t,buster:r="",dehydrateOptions:n}){const o={buster:r,timestamp:Date.now(),clientState:oe(e,n)};await t.persistClient(o)}var ce=a(4848),ue=G.createContext(void 0),de=e=>{const t=G.useContext(ue);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},fe=({client:e,children:t})=>(G.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,ce.jsx)(ue.Provider,{value:e,children:t})),pe=G.createContext(!1),he=()=>G.useContext(pe),me=pe.Provider,ye=({children:e,persistOptions:t,onSuccess:r,onError:n,...o})=>{const[i,a]=G.useState(!0),s=G.useRef({persistOptions:t,onSuccess:r,onError:n}),l=G.useRef(!1);return G.useEffect(()=>{s.current={persistOptions:t,onSuccess:r,onError:n}}),G.useEffect(()=>{const e={...s.current.persistOptions,queryClient:o.client};return l.current||(l.current=!0,se(e).then(()=>s.current.onSuccess?.()).catch(()=>s.current.onError?.()).finally(()=>{a(!1)})),i?void 0:function(e){const t=e.queryClient.getQueryCache().subscribe(t=>{ae(t.type)&&le(e)}),r=e.queryClient.getMutationCache().subscribe(t=>{ae(t.type)&&le(e)});return()=>{t(),r()}}(e)},[o.client,i]),(0,ce.jsx)(fe,{...o,children:(0,ce.jsx)(me,{value:i,children:e})})},ge=a(6816),ve=a(6942),be=a.n(ve);const xe=(...e)=>e.filter((e,t,r)=>Boolean(e)&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),we=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Se=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase()))(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Oe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const ke=e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1},Pe=(0,G.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:i,iconNode:a,...s},l)=>(0,G.createElement)("svg",{ref:l,...Oe,width:t,height:t,stroke:e,strokeWidth:n?24*Number(r)/Number(t):r,className:xe("lucide",o),...!i&&!ke(s)&&{"aria-hidden":"true"},...s},[...a.map(([e,t])=>(0,G.createElement)(e,t)),...Array.isArray(i)?i:[i]])),Ce=(e,t)=>{const r=(0,G.forwardRef)(({className:r,...n},o)=>(0,G.createElement)(Pe,{ref:o,iconNode:t,className:xe(`lucide-${we(Se(e))}`,`lucide-${e}`,r),...n}));return r.displayName=Se(e),r},je=Ce("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);var Me=a(9514),Ee=a.n(Me);function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}var De=["content","side","align","offset","delay"],Te=["children"];function Ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Re(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach(function(t){Ne(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ne(e,t,r){return(t=function(e){var t=function(e){if("object"!=Ae(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Ae(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ae(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _e(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function ze(e){return function(t){var r=t.content,n=t.side,o=void 0===n?"top":n,i=t.align,a=void 0===i?"center":i,s=t.offset,l=void 0===s?8:s,c=t.delay,u=void 0===c?100:c,d=_e(t,De),f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Fe(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,G.useState)(!1),2),p=f[0],h=f[1],m=(0,G.useRef)(null),y=(0,G.useRef)(null),g=(0,G.useRef)(document.getElementById("dashboard-tooltip-portal"));g.current||(g.current=document.createElement("div"),g.current.setAttribute("id","dashboard-tooltip-portal"),document.body.appendChild(g.current));var v=(0,G.useCallback)(function(){m.current=setTimeout(function(){h(!0)},u)},[u]),b=(0,G.useCallback)(function(){m.current&&clearTimeout(m.current),h(!1)},[]);return(0,G.useEffect)(function(){return function(){m.current&&clearTimeout(m.current)}},[]),(0,G.useEffect)(function(){var e=function(){p&&h(!1)};return window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}},[p]),(0,ce.jsxs)("div",{ref:y,onMouseEnter:v,onMouseLeave:b,className:"dashboard-tooltip-container",children:[(0,ce.jsx)(e,Re({},d)),p&&(0,Me.createPortal)((0,ce.jsx)("div",{style:Re({},function(){if(!y.current)return{};var e=y.current.getBoundingClientRect(),t={};"start"===a?t["top"===o||"bottom"===o?"left":"top"]="".concat(e.left+window.scrollX,"px"):"end"===a?t["top"===o||"bottom"===o?"right":"bottom"]="".concat(window.innerWidth-e.right-window.scrollX,"px"):"top"===o||"bottom"===o?(t.left="".concat(e.left+e.width/2+window.scrollX,"px"),t.transform="translateX(-50%)"):(t.top="".concat(e.top+e.height/2+window.scrollY,"px"),t.transform="translateY(-50%)");var r={};return"top"===o?r.top="".concat(e.top-l+window.scrollY,"px"):"bottom"===o?r.top="".concat(e.bottom+l+window.scrollY,"px"):"left"===o?r.left="".concat(e.left-l+window.scrollX,"px"):"right"===o&&(r.left="".concat(e.right+l+window.scrollX,"px")),Re(Re(Re({},{position:"absolute",zIndex:100}),t),r)}()),className:"dashboard-tooltip",children:r}),g.current)]})}}var Le=ze(function(e){var t=e.children,r=_e(e,Te);return(0,ce.jsx)("span",Re(Re({},r),{},{children:t}))}),Be=class extends E{constructor(e,t){super(),this.options=t,this.#u=e,this.#w=null,this.#S=T(),this.bindMethods(),this.setOptions(t)}#u;#O=void 0;#k=void 0;#P=void 0;#C;#j;#S;#w;#M;#E;#A;#D;#T;#I;#R=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#O.addObserver(this),$e(this.#O,this.options)?this.#N():this.updateResult(),this.#F())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ve(this.#O,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ve(this.#O,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#_(),this.#z(),this.#O.removeObserver(this)}setOptions(e){const t=this.options,r=this.#O;if(this.options=this.#u.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof u(this.options.enabled,this.#O))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#L(),this.#O.setOptions(this.options),t._defaulted&&!v(this.options,t)&&this.#u.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#O,observer:this});const n=this.hasListeners();n&&We(this.#O,r,this.options,t)&&this.#N(),this.updateResult(),!n||this.#O===r&&u(this.options.enabled,this.#O)===u(t.enabled,this.#O)&&c(this.options.staleTime,this.#O)===c(t.staleTime,this.#O)||this.#B();const o=this.#$();!n||this.#O===r&&u(this.options.enabled,this.#O)===u(t.enabled,this.#O)&&o===this.#I||this.#V(o)}getOptimisticResult(e){const t=this.#u.getQueryCache().build(this.#u,e),r=this.createResult(t,e);return n=r,!v(this.getCurrentResult(),n)&&(this.#P=r,this.#j=this.options,this.#C=this.#O.state),r;var n}getCurrentResult(){return this.#P}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#S.status||this.#S.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#R.add(e)}getCurrentQuery(){return this.#O}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#u.defaultQueryOptions(e),r=this.#u.getQueryCache().build(this.#u,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#N({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#P))}#N(e){this.#L();let t=this.#O.fetch(this.options,e);return e?.throwOnError||(t=t.catch(o)),t}#B(){this.#_();const e=c(this.options.staleTime,this.#O);if(n||this.#P.isStale||!i(e))return;const t=l(this.#P.dataUpdatedAt,e)+1;this.#D=r.setTimeout(()=>{this.#P.isStale||this.updateResult()},t)}#$(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#O):this.options.refetchInterval)??!1}#V(e){this.#z(),this.#I=e,!n&&!1!==u(this.options.enabled,this.#O)&&i(this.#I)&&0!==this.#I&&(this.#T=r.setInterval(()=>{(this.options.refetchIntervalInBackground||A.isFocused())&&this.#N()},this.#I))}#F(){this.#B(),this.#V(this.#$())}#_(){this.#D&&(r.clearTimeout(this.#D),this.#D=void 0)}#z(){this.#T&&(r.clearInterval(this.#T),this.#T=void 0)}createResult(e,t){const r=this.#O,n=this.options,o=this.#P,i=this.#C,a=this.#j,s=e!==r?e.state:this.#k,{state:l}=e;let c,d={...l},f=!1;if(t._optimisticResults){const o=this.hasListeners(),i=!o&&$e(e,t),a=o&&We(e,r,t,n);(i||a)&&(d={...d,...L(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:p,errorUpdatedAt:h,status:m}=d;c=d.data;let y=!1;if(void 0!==t.placeholderData&&void 0===c&&"pending"===m){let e;o?.isPlaceholderData&&t.placeholderData===a?.placeholderData?(e=o.data,y=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#A?.state.data,this.#A):t.placeholderData,void 0!==e&&(m="success",c=S(o?.data,e,t),f=!0)}if(t.select&&void 0!==c&&!y)if(o&&c===i?.data&&t.select===this.#M)c=this.#E;else try{this.#M=t.select,c=t.select(c),c=S(o?.data,c,t),this.#E=c,this.#w=null}catch(e){this.#w=e}this.#w&&(p=this.#w,c=this.#E,h=Date.now(),m="error");const g="fetching"===d.fetchStatus,v="pending"===m,b="error"===m,x=v&&g,w=void 0!==c,O={status:m,fetchStatus:d.fetchStatus,isPending:v,isSuccess:"success"===m,isError:b,isInitialLoading:x,isLoading:x,data:c,dataUpdatedAt:d.dataUpdatedAt,error:p,errorUpdatedAt:h,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>s.dataUpdateCount||d.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!v,isLoadingError:b&&!w,isPaused:"paused"===d.fetchStatus,isPlaceholderData:f,isRefetchError:b&&w,isStale:He(e,t),refetch:this.refetch,promise:this.#S,isEnabled:!1!==u(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===O.status?e.reject(O.error):void 0!==O.data&&e.resolve(O.data)},n=()=>{const e=this.#S=O.promise=T();t(e)},o=this.#S;switch(o.status){case"pending":e.queryHash===r.queryHash&&t(o);break;case"fulfilled":"error"!==O.status&&O.data===o.value||n();break;case"rejected":"error"===O.status&&O.error===o.reason||n()}}return O}updateResult(){const e=this.#P,t=this.createResult(this.#O,this.options);this.#C=this.#O.state,this.#j=this.options,void 0!==this.#C.data&&(this.#A=this.#O),v(t,e)||(this.#P=t,this.#W({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#R.size)return!0;const n=new Set(r??this.#R);return this.options.throwOnError&&n.add("error"),Object.keys(this.#P).some(t=>{const r=t;return this.#P[r]!==e[r]&&n.has(r)})})()}))}#L(){const e=this.#u.getQueryCache().build(this.#u,this.options);if(e===this.#O)return;const t=this.#O;this.#O=e,this.#k=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#F()}#W(e){M.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#P)}),this.#u.getQueryCache().notify({query:this.#O,type:"observerResultsUpdated"})})}};function $e(e,t){return function(e,t){return!1!==u(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&Ve(e,t,t.refetchOnMount)}function Ve(e,t,r){if(!1!==u(t.enabled,e)&&"static"!==c(t.staleTime,e)){const n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&He(e,t)}return!1}function We(e,t,r,n){return(e!==t||!1===u(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&He(e,r)}function He(e,t){return!1!==u(t.enabled,e)&&e.isStaleByTime(c(t.staleTime,e))}var qe=G.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),Ue=()=>G.useContext(qe),Ke=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},Ye=e=>{G.useEffect(()=>{e.clearReset()},[e])},Ge=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(o&&void 0===e.data||function(e,t){return"function"==typeof e?e(...t):!!e}(r,[e.error,n])),Qe=e=>{if(e.suspense){const t=1e3,r=e=>"static"===e?e:Math.max(e??t,t),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>r(n(...e)):r(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,t))}},Xe=(e,t)=>e.isLoading&&e.isFetching&&!t,Ze=(e,t)=>e?.suspense&&t.isPending,Je=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function et(e,t){return function(e,t,r){const i=he(),a=Ue(),s=de(r),l=s.defaultQueryOptions(e);s.getDefaultOptions().queries?._experimental_beforeQuery?.(l),l._optimisticResults=i?"isRestoring":"optimistic",Qe(l),Ke(l,a),Ye(a);const c=!s.getQueryCache().get(l.queryHash),[u]=G.useState(()=>new t(s,l)),d=u.getOptimisticResult(l),f=!i&&!1!==e.subscribed;if(G.useSyncExternalStore(G.useCallback(e=>{const t=f?u.subscribe(M.batchCalls(e)):o;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),G.useEffect(()=>{u.setOptions(l)},[l,u]),Ze(l,d))throw Je(l,u,a);if(Ge({result:d,errorResetBoundary:a,throwOnError:l.throwOnError,query:s.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw d.error;if(s.getDefaultOptions().queries?._experimental_afterQuery?.(l,d),l.experimental_prefetchInRender&&!n&&Xe(d,i)){const e=c?Je(l,u,a):s.getQueryCache().get(l.queryHash)?.promise;e?.catch(o).finally(()=>{u.updateResult()})}return l.notifyOnChangeProps?d:u.trackResult(d)}(e,Be,t)}function tt(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var l=n&&n.prototype instanceof s?n:s,c=Object.create(l.prototype);return rt(c,"_invoke",function(r,n,o){var i,s,l,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,s=0,l=e,f.n=r,a}};function p(r,n){for(s=r,l=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];r>3?(o=h===n)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=r<2&&p<i[1])?(s=0,f.v=n,f.n=i[1]):p<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,f.n=h,s=0))}if(o||r>1)return a;throw d=!0,n}return function(o,u,h){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),s=u,l=h;(t=s<2?e:l)||!d;){i||(s?s<3?(s>1&&(f.n=-1),p(s,l)):f.n=l:f.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(d=f.n<0)?l:r.call(n,f))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(r,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(rt(t={},n,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,rt(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,rt(d,"constructor",c),rt(c,"constructor",l),l.displayName="GeneratorFunction",rt(c,o,"GeneratorFunction"),rt(d),rt(d,o,"Generator"),rt(d,n,function(){return this}),rt(d,"toString",function(){return"[object Generator]"}),(tt=function(){return{w:i,m:f}})()}function rt(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}rt=function(e,t,r,n){function i(t,r){rt(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},rt(e,t,r,n)}function nt(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function ot(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){nt(i,n,o,a,s,"next",e)}function s(e){nt(i,n,o,a,s,"throw",e)}a(void 0)})}}function it(e){return it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},it(e)}function at(e){var t={};for(var r in e)null!==e[r]&&void 0!==e[r]&&("object"===it(e[r])?t[r]=JSON.stringify(e[r]):t[r]=String(e[r]));return t}function st(e){var t={"Content-Type":"application/json"};return null!=e&&e.authToken&&(t.Authorization="Bearer ".concat(e.authToken)),null!=e&&e.cookie&&(t.Cookie=e.cookie),t}var lt=function(){var e=ot(tt().m(function e(t){var r,n,o,i,a,s,l,c=arguments;return tt().w(function(e){for(;;)switch(e.n){case 0:return r=c.length>2?c[2]:void 0,n=at((c.length>1&&void 0!==c[1]?c[1]:{})||{}),o=new URLSearchParams(n).toString(),i=o?"".concat(t,"?").concat(o):t,a=st(r),e.n=1,fetch(i,{method:"GET",headers:a,credentials:null!=r&&r.cookie?"include":"same-origin"});case 1:if((s=e.v).ok){e.n=2;break}throw l=s.statusText||"HTTP error",console.error("HTTP GET error:",l,"Status:",s.status),new Error("".concat(l," (status: ").concat(s.status,")"));case 2:return e.n=3,s.json();case 3:return e.a(2,e.v)}},e)}));return function(t){return e.apply(this,arguments)}}(),ct=function(){var e=ot(tt().m(function e(t,r,n){var o,i,a;return tt().w(function(e){for(;;)switch(e.n){case 0:return o=st(n),e.n=1,fetch(t,{method:"POST",headers:o,credentials:null!=n&&n.cookie?"include":"same-origin",body:JSON.stringify(r||{})});case 1:if((i=e.v).ok){e.n=2;break}throw a=i.statusText||"HTTP error",console.error("HTTP POST error:",a,"Status:",i.status),new Error("".concat(a," (status: ").concat(i.status,")"));case 2:return e.n=3,i.json();case 3:return e.a(2,e.v)}},e)}));return function(t,r,n){return e.apply(this,arguments)}}();function ut(e){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ut(e)}function dt(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var l=n&&n.prototype instanceof s?n:s,c=Object.create(l.prototype);return ft(c,"_invoke",function(r,n,o){var i,s,l,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,s=0,l=e,f.n=r,a}};function p(r,n){for(s=r,l=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,h=i[2];r>3?(o=h===n)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=r<2&&p<i[1])?(s=0,f.v=n,f.n=i[1]):p<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,f.n=h,s=0))}if(o||r>1)return a;throw d=!0,n}return function(o,u,h){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),s=u,l=h;(t=s<2?e:l)||!d;){i||(s?s<3?(s>1&&(f.n=-1),p(s,l)):f.n=l:f.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(d=f.n<0)?l:r.call(n,f))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(r,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(ft(t={},n,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,ft(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,ft(d,"constructor",c),ft(c,"constructor",l),l.displayName="GeneratorFunction",ft(c,o,"GeneratorFunction"),ft(d),ft(d,o,"Generator"),ft(d,n,function(){return this}),ft(d,"toString",function(){return"[object Generator]"}),(dt=function(){return{w:i,m:f}})()}function ft(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ft=function(e,t,r,n){function i(t,r){ft(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},ft(e,t,r,n)}function pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ht(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(r),!0).forEach(function(t){mt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function mt(e,t,r){return(t=function(e){var t=function(e){if("object"!=ut(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ut(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ut(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yt(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var gt=function(){var e,t=(e=dt().m(function e(t){var r,n,o,i,a=arguments;return dt().w(function(e){for(;;)switch(e.n){case 0:if(r=a.length>1&&void 0!==a[1]?a[1]:{},n=a.length>2?a[2]:void 0,t){e.n=1;break}throw new Error("Data URL is required to fetch filters");case 1:return e.n=2,lt(t,r,n);case 2:return o=e.v,i={filters:o.filters.map(function(e){return ht(ht({},e),{},{currentValues:e.currentValues.map(function(e){var t=String(e);return"true"===t.toLowerCase()||"false"===t.toLowerCase()?t.charAt(0).toUpperCase()+t.slice(1):t})})})},e.a(2,i)}},e)}),function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){yt(i,n,o,a,s,"next",e)}function s(e){yt(i,n,o,a,s,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}();const vt=Ce("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var xt=function(e){var t=e.onClose,r=e.title,n=e.children,o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,G.useState)(function(){return document.createElement("div")}),1)[0];return(0,G.useEffect)(function(){return document.body.appendChild(o),document.body.style.overflow="hidden",function(){document.body.style.overflow="unset",document.body.removeChild(o)}},[o]),(0,Me.createPortal)((0,ce.jsx)("div",{className:"dashboard-focus-trapping-modal-container",children:(0,ce.jsxs)("div",{className:"dashboard-focus-trapping-modal",children:[(0,ce.jsxs)("div",{className:"dashboard-focus-trapping-modal-header",children:[(0,ce.jsx)("h3",{className:"dashboard-focus-trapping-modal-title",children:r}),(0,ce.jsx)("div",{onClick:t,className:"dashboard-focus-trapping-modal-close-icon",children:(0,ce.jsx)(Le,{content:"Close",side:"left",children:(0,ce.jsx)(vt,{size:20,"aria-hidden":!0})})})]}),(0,ce.jsx)("div",{children:n})]})}),o)};const wt=G.createContext(null);function St(){return G.useContext(wt)}const Ot="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",kt=function(e){const{children:t,theme:r}=e,n=St(),o=G.useMemo(()=>{const e=null===n?{...r}:function(e,t){return"function"==typeof t?t(e):{...e,...t}}(n,r);return null!=e&&(e[Ot]=null!==n),e},[r,n]);return(0,ce.jsx)(wt.Provider,{value:o,children:t})};var Pt=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Ct=Math.abs,jt=String.fromCharCode,Mt=Object.assign;function Et(e){return e.trim()}function At(e,t,r){return e.replace(t,r)}function Dt(e,t){return e.indexOf(t)}function Tt(e,t){return 0|e.charCodeAt(t)}function It(e,t,r){return e.slice(t,r)}function Rt(e){return e.length}function Nt(e){return e.length}function Ft(e,t){return t.push(e),e}var _t=1,zt=1,Lt=0,Bt=0,$t=0,Vt="";function Wt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:_t,column:zt,length:a,return:""}}function Ht(e,t){return Mt(Wt("",null,null,"",null,null,0),e,{length:-e.length},t)}function qt(){return $t=Bt>0?Tt(Vt,--Bt):0,zt--,10===$t&&(zt=1,_t--),$t}function Ut(){return $t=Bt<Lt?Tt(Vt,Bt++):0,zt++,10===$t&&(zt=1,_t++),$t}function Kt(){return Tt(Vt,Bt)}function Yt(){return Bt}function Gt(e,t){return It(Vt,e,t)}function Qt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Xt(e){return _t=zt=1,Lt=Rt(Vt=e),Bt=0,[]}function Zt(e){return Vt="",e}function Jt(e){return Et(Gt(Bt-1,rr(91===e?e+2:40===e?e+1:e)))}function er(e){for(;($t=Kt())&&$t<33;)Ut();return Qt(e)>2||Qt($t)>3?"":" "}function tr(e,t){for(;--t&&Ut()&&!($t<48||$t>102||$t>57&&$t<65||$t>70&&$t<97););return Gt(e,Yt()+(t<6&&32==Kt()&&32==Ut()))}function rr(e){for(;Ut();)switch($t){case e:return Bt;case 34:case 39:34!==e&&39!==e&&rr($t);break;case 40:41===e&&rr(e);break;case 92:Ut()}return Bt}function nr(e,t){for(;Ut()&&e+$t!==57&&(e+$t!==84||47!==Kt()););return"/*"+Gt(t,Bt-1)+"*"+jt(47===e?e:Ut())}function or(e){for(;!Qt(Kt());)Ut();return Gt(e,Bt)}var ir="-ms-",ar="-moz-",sr="-webkit-",lr="comm",cr="rule",ur="decl",dr="@keyframes";function fr(e,t){for(var r="",n=Nt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function pr(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ur:return e.return=e.return||e.value;case lr:return"";case dr:return e.return=e.value+"{"+fr(e.children,n)+"}";case cr:e.value=e.props.join(",")}return Rt(r=fr(e.children,n))?e.return=e.value+"{"+r+"}":""}function hr(e){return Zt(mr("",null,null,null,[""],e=Xt(e),0,[0],e))}function mr(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,m=1,y=1,g=1,v=0,b="",x=o,w=i,S=n,O=b;y;)switch(h=v,v=Ut()){case 40:if(108!=h&&58==Tt(O,d-1)){-1!=Dt(O+=At(Jt(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:O+=Jt(v);break;case 9:case 10:case 13:case 32:O+=er(h);break;case 92:O+=tr(Yt()-1,7);continue;case 47:switch(Kt()){case 42:case 47:Ft(gr(nr(Ut(),Yt()),t,r),l);break;default:O+="/"}break;case 123*m:s[c++]=Rt(O)*g;case 125*m:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+u:-1==g&&(O=At(O,/\f/g,"")),p>0&&Rt(O)-d&&Ft(p>32?vr(O+";",n,r,d-1):vr(At(O," ","")+";",n,r,d-2),l);break;case 59:O+=";";default:if(Ft(S=yr(O,t,r,c,u,o,s,b,x=[],w=[],d),i),123===v)if(0===u)mr(O,t,S,S,x,i,d,s,w);else switch(99===f&&110===Tt(O,3)?100:f){case 100:case 108:case 109:case 115:mr(e,S,S,n&&Ft(yr(e,S,S,0,0,o,s,b,o,x=[],d),w),o,w,d,s,n?x:w);break;default:mr(O,S,S,S,[""],w,0,s,w)}}c=u=p=0,m=g=1,b=O="",d=a;break;case 58:d=1+Rt(O),p=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==qt())continue;switch(O+=jt(v),v*m){case 38:g=u>0?1:(O+="\f",-1);break;case 44:s[c++]=(Rt(O)-1)*g,g=1;break;case 64:45===Kt()&&(O+=Jt(Ut())),f=Kt(),u=d=Rt(b=O+=or(Yt())),v++;break;case 45:45===h&&2==Rt(O)&&(m=0)}}return i}function yr(e,t,r,n,o,i,a,s,l,c,u){for(var d=o-1,f=0===o?i:[""],p=Nt(f),h=0,m=0,y=0;h<n;++h)for(var g=0,v=It(e,d+1,d=Ct(m=a[h])),b=e;g<p;++g)(b=Et(m>0?f[g]+" "+v:At(v,/&\f/g,f[g])))&&(l[y++]=b);return Wt(e,t,r,0===o?cr:s,l,c,u)}function gr(e,t,r){return Wt(e,t,r,lr,jt($t),It(e,2,-2),0)}function vr(e,t,r,n){return Wt(e,t,r,ur,It(e,0,n),It(e,n+1,-1),n)}var br=function(e,t,r){for(var n=0,o=0;n=o,o=Kt(),38===n&&12===o&&(t[r]=1),!Qt(o);)Ut();return Gt(e,Bt)},xr=new WeakMap,wr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||xr.get(r))&&!n){xr.set(e,!0);for(var o=[],i=function(e,t){return Zt(function(e,t){var r=-1,n=44;do{switch(Qt(n)){case 0:38===n&&12===Kt()&&(t[r]=1),e[r]+=br(Bt-1,t,r);break;case 2:e[r]+=Jt(n);break;case 4:if(44===n){e[++r]=58===Kt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=jt(n)}}while(n=Ut());return e}(Xt(e),t))}(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Sr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Or(e,t){switch(function(e,t){return 45^Tt(e,0)?(((t<<2^Tt(e,0))<<2^Tt(e,1))<<2^Tt(e,2))<<2^Tt(e,3):0}(e,t)){case 5103:return sr+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return sr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return sr+e+ar+e+ir+e+e;case 6828:case 4268:return sr+e+ir+e+e;case 6165:return sr+e+ir+"flex-"+e+e;case 5187:return sr+e+At(e,/(\w+).+(:[^]+)/,sr+"box-$1$2"+ir+"flex-$1$2")+e;case 5443:return sr+e+ir+"flex-item-"+At(e,/flex-|-self/,"")+e;case 4675:return sr+e+ir+"flex-line-pack"+At(e,/align-content|flex-|-self/,"")+e;case 5548:return sr+e+ir+At(e,"shrink","negative")+e;case 5292:return sr+e+ir+At(e,"basis","preferred-size")+e;case 6060:return sr+"box-"+At(e,"-grow","")+sr+e+ir+At(e,"grow","positive")+e;case 4554:return sr+At(e,/([^-])(transform)/g,"$1"+sr+"$2")+e;case 6187:return At(At(At(e,/(zoom-|grab)/,sr+"$1"),/(image-set)/,sr+"$1"),e,"")+e;case 5495:case 3959:return At(e,/(image-set\([^]*)/,sr+"$1$`$1");case 4968:return At(At(e,/(.+:)(flex-)?(.*)/,sr+"box-pack:$3"+ir+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+sr+e+e;case 4095:case 3583:case 4068:case 2532:return At(e,/(.+)-inline(.+)/,sr+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Rt(e)-1-t>6)switch(Tt(e,t+1)){case 109:if(45!==Tt(e,t+4))break;case 102:return At(e,/(.+:)(.+)-([^]+)/,"$1"+sr+"$2-$3$1"+ar+(108==Tt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Dt(e,"stretch")?Or(At(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Tt(e,t+1))break;case 6444:switch(Tt(e,Rt(e)-3-(~Dt(e,"!important")&&10))){case 107:return At(e,":",":"+sr)+e;case 101:return At(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+sr+(45===Tt(e,14)?"inline-":"")+"box$3$1"+sr+"$2$3$1"+ir+"$2box$3")+e}break;case 5936:switch(Tt(e,t+11)){case 114:return sr+e+ir+At(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return sr+e+ir+At(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return sr+e+ir+At(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return sr+e+ir+e+e}return e}var kr=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case ur:e.return=Or(e.value,e.length);break;case dr:return fr([Ht(e,{value:At(e.value,"@","@"+sr)})],n);case cr:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return fr([Ht(e,{props:[At(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return fr([Ht(e,{props:[At(t,/:(plac\w+)/,":"+sr+"input-$1")]}),Ht(e,{props:[At(t,/:(plac\w+)/,":-moz-$1")]}),Ht(e,{props:[At(t,/:(plac\w+)/,ir+"input-$1")]})],n)}return""})}}],Pr=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var n,o,i=e.stylisPlugins||kr,a={},s=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;s.push(e)});var l,c,u,d,f=[pr,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(c=[wr,Sr].concat(i,f),u=Nt(c),function(e,t,r,n){for(var o="",i=0;i<u;i++)o+=c[i](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,function(e){fr(hr(e),p)}(e?e+"{"+t.styles+"}":t.styles),n&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new Pt({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h};function Cr(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}var jr=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},Mr=function(e,t,r){jr(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},Er={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Ar(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Dr=/[A-Z]|^ms/g,Tr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ir=function(e){return 45===e.charCodeAt(1)},Rr=function(e){return null!=e&&"boolean"!=typeof e},Nr=Ar(function(e){return Ir(e)?e:e.replace(Dr,"-$&").toLowerCase()}),Fr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Tr,function(e,t,r){return zr={name:t,styles:r,next:zr},t})}return 1===Er[e]||Ir(e)||"number"!=typeof t||0===t?t:t+"px"};function _r(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return zr={name:o.name,styles:o.styles,next:zr},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)zr={name:a.name,styles:a.styles,next:zr},a=a.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=_r(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":Rr(s)&&(n+=Nr(i)+":"+Fr(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=_r(e,t,a);switch(i){case"animation":case"animationName":n+=Nr(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)Rr(a[c])&&(n+=Nr(i)+":"+Fr(i,a[c])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=zr,l=r(e);return zr=s,_r(e,t,l)}}var c=r;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var zr,Lr=/label:\s*([^\s;{]+)\s*(;|$)/g;function Br(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";zr=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=_r(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=_r(r,t,e[a]),n&&(o+=i[a]);Lr.lastIndex=0;for(var s,l="";null!==(s=Lr.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:zr}}var $r=!!G.useInsertionEffect&&G.useInsertionEffect,Vr=$r||function(e){return e()},Wr=$r||G.useLayoutEffect,Hr=G.createContext("undefined"!=typeof HTMLElement?Pr({key:"css"}):null),qr=(Hr.Provider,function(e){return(0,G.forwardRef)(function(t,r){var n=(0,G.useContext)(Hr);return e(t,n,r)})}),Ur=G.createContext({}),Kr={}.hasOwnProperty,Yr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Gr=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return jr(t,r,n),Vr(function(){return Mr(t,r,n)}),null},Qr=qr(function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var o=e[Yr],i=[n],a="";"string"==typeof e.className?a=Cr(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=Br(i,void 0,G.useContext(Ur));a+=t.key+"-"+s.name;var l={};for(var c in e)Kr.call(e,c)&&"css"!==c&&c!==Yr&&(l[c]=e[c]);return l.className=a,r&&(l.ref=r),G.createElement(G.Fragment,null,G.createElement(Gr,{cache:t,serialized:s,isStringTag:"string"==typeof o}),G.createElement(o,l))});const Xr=function(e=null){const t=G.useContext(Ur);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r},Zr=G.createContext(),Jr=()=>G.useContext(Zr)??!1,en=function({value:e,...t}){return(0,ce.jsx)(Zr.Provider,{value:e??!0,...t})};function tn(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=tn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function rn(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=tn(e))&&(n&&(n+=" "),n+=t);return n}const nn=rn;function on(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)n[i]={...e[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){n[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;n[i][t]=on(o[t],a[t],r)}}else n[i]=a;else n[i]=o||{}}else"className"===i&&r&&t.className?n.className=nn(e?.className,t?.className):"style"===i&&r&&t.style?n.style={...e?.style,...t?.style}:void 0===n[i]&&(n[i]=e[i])}return n}const an=G.createContext(void 0);const sn=function({value:e,children:t}){return(0,ce.jsx)(an.Provider,{value:e,children:t})},ln="undefined"!=typeof window?G.useLayoutEffect:G.useEffect;let cn=0;const un={...Q}.useId;function dn(e){if(void 0!==un){const t=un();return e??t}return function(e){const[t,r]=G.useState(e),n=e||t;return G.useEffect(()=>{null==t&&(cn+=1,r(`mui-${cn}`))},[t]),n}(e)}function fn(){return fn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fn.apply(null,arguments)}var pn=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,hn=Ar(function(e){return pn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),mn=function(e){return"theme"!==e},yn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?hn:mn},gn=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},vn=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return jr(t,r,n),Vr(function(){return Mr(t,r,n)}),null},bn=function e(t,r){var n,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var s=gn(t,r,i),l=s||yn(a),c=!l("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,h=1;h<p;h++)d.push(u[h],f[h])}var m=qr(function(e,t,r){var n=c&&e.as||a,i="",u=[],f=e;if(null==e.theme){for(var p in f={},e)f[p]=e[p];f.theme=G.useContext(Ur)}"string"==typeof e.className?i=Cr(t.registered,u,e.className):null!=e.className&&(i=e.className+" ");var h=Br(d.concat(u),t.registered,f);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=c&&void 0===s?yn(n):l,y={};for(var g in e)c&&"as"===g||m(g)&&(y[g]=e[g]);return y.className=i,r&&(y.ref=r),G.createElement(G.Fragment,null,G.createElement(vn,{cache:t,serialized:h,isStringTag:"string"==typeof n}),G.createElement(n,y))});return m.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=d,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,n){return e(t,fn({},r,n,{shouldForwardProp:gn(m,n,!0)})).apply(void 0,d)},m}}.bind(null);function xn(e,t){return bn(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){bn[e]=bn(e)});const wn=[];function Sn(e){return wn[0]=e,Br(wn)}a(4146);var On,kn,Pn=function(e,t){var r=arguments;if(null==t||!Kr.call(t,"css"))return G.createElement.apply(void 0,r);var n=r.length,o=new Array(n);o[0]=Qr,o[1]=function(e,t){var r={};for(var n in t)Kr.call(t,n)&&(r[n]=t[n]);return r[Yr]=e,r}(e,t);for(var i=2;i<n;i++)o[i]=r[i];return G.createElement.apply(null,o)};On=Pn||(Pn={}),kn||(kn=On.JSX||(On.JSX={}));var Cn=qr(function(e,t){var r=Br([e.styles],void 0,G.useContext(Ur)),n=G.useRef();return Wr(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),n.current=[o,i],function(){o.flush()}},[t]),Wr(function(){var e=n.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Mr(t,r.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",r,o,!1)}},[t,r.name]),null});function jn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Br(t)}function Mn(){var e=jn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function En(e){const{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,ce.jsx)(Cn,{styles:n})}var An=a(4405);function Dn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Tn(e){if(G.isValidElement(e)||(0,An.Hy)(e)||!Dn(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Tn(e[r])}),t}function In(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Dn(e)&&Dn(t)&&Object.keys(t).forEach(o=>{G.isValidElement(t[o])||(0,An.Hy)(t[o])?n[o]=t[o]:Dn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Dn(e[o])?n[o]=In(e[o],t[o],r):r.clone?n[o]=Dn(t[o])?Tn(t[o]):t[o]:n[o]=t[o]}),n}function Rn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return{keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,...o}}function Nn(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{const n=t[r];return delete e[r],e[r]=n,e},{...t}):t}const Fn={borderRadius:4},_n={xs:0,sm:600,md:900,lg:1200,xl:1536},zn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${_n[e]}px)`},Ln={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:_n[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Bn(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||zn;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){const e=n.breakpoints||zn;return Object.keys(t).reduce((o,i)=>{if(function(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}(e.keys,i)){const e=function(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}(n.containerQueries?n:Ln,i);e&&(o[e]=r(t[i],i))}else if(Object.keys(e.values||_n).includes(i))o[e.up(i)]=r(t[i],i);else{const e=i;o[e]=t[e]}return o},{})}return r(t)}function $n(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}function Vn(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Wn(e){if("string"!=typeof e)throw new Error(Vn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Hn(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function qn(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:Hn(e,r)||n,t&&(o=t(o,n,e)),o}const Un=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Hn(e.theme,n)||{};return Bn(e,i,e=>{let n=qn(a,o,e);return e===n&&"string"==typeof e&&(n=qn(a,o,`${t}${"default"===e?"":Wn(e)}`,e)),!1===r?n:{[r]:n}})};return i.propTypes={},i.filterProps=[t],i},Kn=function(e,t){return t?In(e,t,{clone:!1}):e},Yn={m:"margin",p:"padding"},Gn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Xn=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!Qn[e])return[e];e=Qn[e]}const[t,r]=e.split(""),n=Yn[t],o=Gn[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]})(t)),e[t])}(),Zn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Jn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],eo=[...Zn,...Jn];function to(e,t,r,n){const o=Hn(e,t,!0)??r;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),r=o[t];return e>=0?r:"number"==typeof r?-r:"string"==typeof r&&r.startsWith("var(")?`calc(-1 * ${r})`:`-${r}`}:"function"==typeof o?o:()=>{}}function ro(e){return to(e,"spacing",8)}function no(e,t){return"string"==typeof t||null==t?t:e(t)}function oo(e,t){const r=ro(e.theme);return Object.keys(e).map(n=>function(e,t,r,n){if(!t.includes(r))return null;const o=function(e,t){return r=>e.reduce((e,n)=>(e[n]=no(t,r),e),{})}(Xn(r),n);return Bn(e,e[r],o)}(e,t,n,r)).reduce(Kn,{})}function io(e){return oo(e,Zn)}function ao(e){return oo(e,Jn)}function so(e){return oo(e,eo)}function lo(e=8,t=ro({spacing:e})){if(e.mui)return e;const r=(...e)=>(0===e.length?[1]:e).map(e=>{const r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}io.propTypes={},io.filterProps=Zn,ao.propTypes={},ao.filterProps=Jn,so.propTypes={},so.filterProps=eo;const co=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?Kn(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};function uo(e){return"number"!=typeof e?e:`${e}px solid`}function fo(e,t){return Un({prop:e,themeKey:"borders",transform:t})}const po=fo("border",uo),ho=fo("borderTop",uo),mo=fo("borderRight",uo),yo=fo("borderBottom",uo),go=fo("borderLeft",uo),vo=fo("borderColor"),bo=fo("borderTopColor"),xo=fo("borderRightColor"),wo=fo("borderBottomColor"),So=fo("borderLeftColor"),Oo=fo("outline",uo),ko=fo("outlineColor"),Po=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=to(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:no(t,e)});return Bn(e,e.borderRadius,r)}return null};Po.propTypes={},Po.filterProps=["borderRadius"],co(po,ho,mo,yo,go,vo,bo,xo,wo,So,Po,Oo,ko);const Co=e=>{if(void 0!==e.gap&&null!==e.gap){const t=to(e.theme,"spacing",8),r=e=>({gap:no(t,e)});return Bn(e,e.gap,r)}return null};Co.propTypes={},Co.filterProps=["gap"];const jo=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=to(e.theme,"spacing",8),r=e=>({columnGap:no(t,e)});return Bn(e,e.columnGap,r)}return null};jo.propTypes={},jo.filterProps=["columnGap"];const Mo=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=to(e.theme,"spacing",8),r=e=>({rowGap:no(t,e)});return Bn(e,e.rowGap,r)}return null};function Eo(e,t){return"grey"===t?t:e}function Ao(e){return e<=1&&0!==e?100*e+"%":e}Mo.propTypes={},Mo.filterProps=["rowGap"],co(Co,jo,Mo,Un({prop:"gridColumn"}),Un({prop:"gridRow"}),Un({prop:"gridAutoFlow"}),Un({prop:"gridAutoColumns"}),Un({prop:"gridAutoRows"}),Un({prop:"gridTemplateColumns"}),Un({prop:"gridTemplateRows"}),Un({prop:"gridTemplateAreas"}),Un({prop:"gridArea"})),co(Un({prop:"color",themeKey:"palette",transform:Eo}),Un({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Eo}),Un({prop:"backgroundColor",themeKey:"palette",transform:Eo}));const Do=Un({prop:"width",transform:Ao}),To=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const r=e.theme?.breakpoints?.values?.[t]||_n[t];return r?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Ao(t)}};return Bn(e,e.maxWidth,t)}return null};To.filterProps=["maxWidth"];const Io=Un({prop:"minWidth",transform:Ao}),Ro=Un({prop:"height",transform:Ao}),No=Un({prop:"maxHeight",transform:Ao}),Fo=Un({prop:"minHeight",transform:Ao}),_o=(Un({prop:"size",cssProperty:"width",transform:Ao}),Un({prop:"size",cssProperty:"height",transform:Ao}),co(Do,To,Io,Ro,No,Fo,Un({prop:"boxSizing"})),{border:{themeKey:"borders",transform:uo},borderTop:{themeKey:"borders",transform:uo},borderRight:{themeKey:"borders",transform:uo},borderBottom:{themeKey:"borders",transform:uo},borderLeft:{themeKey:"borders",transform:uo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:uo},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Po},color:{themeKey:"palette",transform:Eo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Eo},backgroundColor:{themeKey:"palette",transform:Eo},p:{style:ao},pt:{style:ao},pr:{style:ao},pb:{style:ao},pl:{style:ao},px:{style:ao},py:{style:ao},padding:{style:ao},paddingTop:{style:ao},paddingRight:{style:ao},paddingBottom:{style:ao},paddingLeft:{style:ao},paddingX:{style:ao},paddingY:{style:ao},paddingInline:{style:ao},paddingInlineStart:{style:ao},paddingInlineEnd:{style:ao},paddingBlock:{style:ao},paddingBlockStart:{style:ao},paddingBlockEnd:{style:ao},m:{style:io},mt:{style:io},mr:{style:io},mb:{style:io},ml:{style:io},mx:{style:io},my:{style:io},margin:{style:io},marginTop:{style:io},marginRight:{style:io},marginBottom:{style:io},marginLeft:{style:io},marginX:{style:io},marginY:{style:io},marginInline:{style:io},marginInlineStart:{style:io},marginInlineEnd:{style:io},marginBlock:{style:io},marginBlockStart:{style:io},marginBlockEnd:{style:io},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:Co},rowGap:{style:Mo},columnGap:{style:jo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ao},maxWidth:{style:To},minWidth:{transform:Ao},height:{transform:Ao},maxHeight:{transform:Ao},minHeight:{transform:Ao},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),zo=_o,Lo=function(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Hn(r,s)||{};return c?c(o):Bn(o,t,t=>{let r=qn(u,l,t);return t===r&&"string"==typeof t&&(r=qn(u,l,`${e}${"default"===t?"":Wn(t)}`,t)),!1===a?r:{[a]:r}})}return function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??zo;function s(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;const s=function(e={}){const t=e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{});return t||{}}(o.breakpoints),l=Object.keys(s);let c=s;return Object.keys(n).forEach(r=>{const i=function(e,t){return"function"==typeof e?e(t):e}(n[r],o);if(null!=i)if("object"==typeof i)if(a[r])c=Kn(c,e(r,i,o,a));else{const e=Bn({theme:o},i,e=>({[r]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)}(e,i)?c=Kn(c,e):c[r]=t({sx:i,theme:o,nested:!0})}else c=Kn(c,e(r,i,o,a))}),!i&&o.modularCssLayers?{"@layer sx":Nn(o,$n(l,c))}:Nn(o,$n(l,c))}return Array.isArray(n)?n.map(s):s(n)}}();Lo.filterProps=["sx"];const Bo=Lo;function $o(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||"function"!=typeof r.getColorSchemeSelector)return{};let n=r.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}const Vo=function(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e;let s=In({breakpoints:Rn(r),direction:"ltr",components:{},palette:{mode:"light",...n},spacing:lo(o),shape:{...Fn,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{const o=t(e.breakpoints.not(...r),n);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const n={},o=e=>(r(n,e),n);return r(o),{...e,containerQueries:o}}(s),s.applyStyles=$o,s=t.reduce((e,t)=>In(e,t),s),s.unstable_sxConfig={...zo,...a?.unstable_sxConfig},s.unstable_sx=function(e){return Bo({sx:e,theme:this})},s},Wo=Vo(),Ho=function(e=Wo){return Xr(e)};function qo(e){const t=Sn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const Uo=function({styles:e,themeId:t,defaultTheme:r={}}){const n=Ho(r),o=t&&n[t]||n;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>qo("function"==typeof e?e(o):e)):qo(i)),(0,ce.jsx)(En,{styles:i})},Ko={};function Yo(e,t,r,n=!1){return G.useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof r){const i=r(o),a=e?{...t,[e]:i}:i;return n?()=>a:a}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,n])}const Go=function(e){const{children:t,theme:r,themeId:n}=e,o=Xr(Ko),i=St()||Ko,a=Yo(n,o,r),s=Yo(n,i,r,!0),l="rtl"===(n?a[n]:a).direction,c=function(e){const t=Xr(),r=dn()||"",{modularCssLayers:n}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",ln(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const n=document.createElement("style");n.setAttribute("data-mui-layer-order",r),n.textContent=o,e.prepend(n)}else e.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[o,r]),o?(0,ce.jsx)(Uo,{styles:o}):null}(a);return(0,ce.jsx)(kt,{theme:s,children:(0,ce.jsx)(Ur.Provider,{value:a,children:(0,ce.jsx)(en,{value:l,children:(0,ce.jsxs)(sn,{value:n?a[n].components:a.components,children:[c,t]})})})})},Qo="$$material";function Xo({theme:e,...t}){const r=Qo in e?e[Qo]:void 0;return(0,ce.jsx)(Go,{...t,themeId:r?Qo:void 0,theme:r||e})}const Zo="mode",Jo="color-scheme",ei="data-color-scheme";function ti(){}const ri=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(r){if("undefined"==typeof window)return;if(!t)return r;let n;try{n=t.localStorage.getItem(e)}catch{}return n||r},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return ti;const n=t=>{const n=t.newValue;t.key===e&&r(n)};return t.addEventListener("storage",n),()=>{t.removeEventListener("storage",n)}}});function ni(){}function oi(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ii(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function ai(e,t=0,r=1){return function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function si(e){if(e.type)return e;if("#"===e.charAt(0))return si(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(Vn(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(Vn(10,n))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:r,values:o,colorSpace:n}}const li=(e,t)=>{try{return(e=>{const t=si(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function ci(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function ui(e){e=si(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),ci({type:s,values:l})}function di(e){let t="hsl"===(e=si(e)).type||"hsla"===e.type?si(ui(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function fi(e,t){return e=si(e),t=ai(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,ci(e)}function pi(e,t,r){try{return fi(e,t)}catch(t){return e}}function hi(e,t){if(e=si(e),t=ai(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return ci(e)}function mi(e,t,r){try{return hi(e,t)}catch(t){return e}}function yi(e,t){if(e=si(e),t=ai(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return ci(e)}function gi(e,t,r){try{return yi(e,t)}catch(t){return e}}function vi(e,t,r){try{return function(e,t=.15){return di(e)>.5?hi(e,t):yi(e,t)}(e,t)}catch(t){return e}}const bi={black:"#000",white:"#fff"},xi={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"},wi="#f3e5f5",Si="#ce93d8",Oi="#ba68c8",ki="#ab47bc",Pi="#9c27b0",Ci="#7b1fa2",ji="#e57373",Mi="#ef5350",Ei="#f44336",Ai="#d32f2f",Di="#c62828",Ti="#ffb74d",Ii="#ffa726",Ri="#ff9800",Ni="#f57c00",Fi="#e65100",_i="#e3f2fd",zi="#90caf9",Li="#42a5f5",Bi="#1976d2",$i="#1565c0",Vi="#4fc3f7",Wi="#29b6f6",Hi="#03a9f4",qi="#0288d1",Ui="#01579b",Ki="#81c784",Yi="#66bb6a",Gi="#4caf50",Qi="#388e3c",Xi="#2e7d32",Zi="#1b5e20";function Ji(){return{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:bi.white,default:bi.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}}}const ea=Ji();function ta(){return{text:{primary:bi.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:bi.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}}}const ra=ta();function na(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=yi(e.main,o):"dark"===t&&(e.dark=hi(e.main,i)))}function oa(e,t,r,n,o){const i=o.light||o,a=o.dark||1.5*o;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:"light"===r?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*i).toFixed(0)}%)`:"dark"===r&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function ia(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||function(e="light"){return"dark"===e?{main:zi,light:_i,dark:Li}:{main:Bi,light:Li,dark:$i}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:Si,light:wi,dark:ki}:{main:Pi,light:Oi,dark:Ci}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Ei,light:ji,dark:Ai}:{main:Ai,light:Mi,dark:Di}}(t),c=e.info||function(e="light"){return"dark"===e?{main:Wi,light:Vi,dark:qi}:{main:qi,light:Hi,dark:Ui}}(t),u=e.success||function(e="light"){return"dark"===e?{main:Yi,light:Ki,dark:Qi}:{main:Xi,light:Gi,dark:Zi}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Ii,light:Ti,dark:Ni}:{main:"#ed6c02",light:Ri,dark:Fi}}(t);function f(e){if(o)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const r=di(e),n=di(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}(e,ra.text.primary)>=r?ra.text.primary:ea.text.primary;return t}const p=({color:e,name:t,mainShade:r=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(Vn(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(Vn(12,t?` (${t})`:"",JSON.stringify(e.main)));return o?(oa(o,e,"light",i,n),oa(o,e,"dark",a,n)):(na(e,"light",i,n),na(e,"dark",a,n)),e.contrastText||(e.contrastText=f(e.main)),e};let h;return"light"===t?h=Ji():"dark"===t&&(h=ta()),In({common:{...bi},mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:c,name:"info"}),success:p({color:u,name:"success"}),grey:xi,contrastThreshold:r,getContrastText:f,augmentColor:p,tonalOffset:n,...h},i)}function aa(e=""){function t(...r){if(!r.length)return"";const n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}function sa(e){const t={};return Object.entries(e).forEach(e=>{const[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}const la=(e,t,r,n=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=r:o&&"object"==typeof o&&(o[e]=r):o&&"object"==typeof o&&(o[e]||(o[e]=n.includes(e)?[]:{}),o=o[e])})};function ca(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||n&&n(e,t))){const n=`--${r?`${r}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[n]:l}),la(i,e,`var(${n})`,s),la(a,e,`var(${n}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,r=[],n=[]){Object.entries(t).forEach(([t,o])=>{(!l||l&&!l([...r,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...r,t],Array.isArray(o)?[...n,t]:n):s([...r,t],o,n))})}(e),{css:o,vars:i,varsWithDefaults:a}}function ua(e){return Math.round(1e5*e)/1e5}const da={textTransform:"uppercase"},fa='"Roboto", "Helvetica", "Arial", sans-serif';function pa(e,t){const{fontFamily:r=fa,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}="function"==typeof t?t(e):t,f=n/14,p=u||(e=>e/l*f+"rem"),h=(e,t,n,o,i)=>({fontFamily:r,fontWeight:e,fontSize:p(t),lineHeight:n,...r===fa?{letterSpacing:`${ua(o/t)}em`}:{},...i,...c}),m={h1:h(o,96,1.167,-1.5),h2:h(o,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(a,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(a,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(a,14,1.75,.4,da),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,da),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return In({htmlFontSize:l,pxToRem:p,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...m},d,{clone:!1})}function ha(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const ma=["none",ha(0,2,1,-1,0,1,1,0,0,1,3,0),ha(0,3,1,-2,0,2,2,0,0,1,5,0),ha(0,3,3,-2,0,3,4,0,0,1,8,0),ha(0,2,4,-1,0,4,5,0,0,1,10,0),ha(0,3,5,-1,0,5,8,0,0,1,14,0),ha(0,3,5,-1,0,6,10,0,0,1,18,0),ha(0,4,5,-2,0,7,10,1,0,2,16,1),ha(0,5,5,-3,0,8,10,1,0,3,14,2),ha(0,5,6,-3,0,9,12,1,0,3,16,2),ha(0,6,6,-3,0,10,14,1,0,4,18,3),ha(0,6,7,-4,0,11,15,1,0,4,20,3),ha(0,7,8,-4,0,12,17,2,0,5,22,4),ha(0,7,8,-4,0,13,19,2,0,5,24,4),ha(0,7,9,-4,0,14,21,2,0,5,26,4),ha(0,8,9,-5,0,15,22,2,0,6,28,5),ha(0,8,10,-5,0,16,24,2,0,6,30,5),ha(0,8,11,-5,0,17,26,2,0,6,32,5),ha(0,9,11,-5,0,18,28,2,0,7,34,6),ha(0,9,12,-6,0,19,29,2,0,7,36,6),ha(0,10,13,-6,0,20,31,3,0,8,38,7),ha(0,10,13,-6,0,21,33,3,0,8,40,7),ha(0,10,14,-6,0,22,35,3,0,8,42,7),ha(0,11,14,-7,0,23,36,3,0,9,44,8),ha(0,11,15,-7,0,24,38,3,0,9,46,8)],ya={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)"},ga={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function va(e){return`${Math.round(e)}ms`}function ba(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function xa(e){const t={...ya,...e.easing},r={...ga,...e.duration};return{getAutoHeightDuration:ba,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0,...s}=n;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:va(o)} ${i} ${"string"==typeof a?a:va(a)}`).join(",")},...e,easing:t,duration:r}}const wa={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Sa(e){return Dn(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function Oa(e={}){const t={...e};return function e(t){const r=Object.entries(t);for(let n=0;n<r.length;n++){const[o,i]=r[n];!Sa(i)||o.startsWith("unstable_")?delete t[o]:Dn(i)&&(t[o]={...i},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function ka(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}const Pa=function(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:l,colorSpace:c,...u}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(Vn(20));const d=ia({...i,colorSpace:c}),f=Vo(e);let p=In(f,{mixins:(h=f.breakpoints,m=n,{toolbar:{minHeight:56,[h.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[h.up("sm")]:{minHeight:64}},...m}),palette:d,shadows:ma.slice(),typography:pa(d,s),transitions:xa(a),zIndex:{...wa}});var h,m,y;return p=In(p,u),p=t.reduce((e,t)=>In(e,t),p),p.unstable_sxConfig={...zo,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Bo({sx:e,theme:this})},p.toRuntimeSource=Oa,y=p,Object.assign(y,{alpha(e,t){const r=this||y;return r.colorSpace?`oklch(from ${e} l c h / ${"string"==typeof t?`calc(${t})`:t})`:r.vars?`rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof t?`calc(${t})`:t})`:fi(e,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let e=0;e<t.length;e+=1)r+=+t[e];return r})(t))},lighten(e,t){const r=this||y;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${e}, #fff ${ka(t)})`:yi(e,t)},darken(e,t){const r=this||y;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${e}, #000 ${ka(t)})`:hi(e,t)}}),p};function Ca(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const ja=[...Array(25)].map((e,t)=>{if(0===t)return"none";const r=Ca(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Ma(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function Ea(e){return"dark"===e?ja:[]}function Aa(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Da=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return(a=e.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${a?`${a}-`:""}overlays-${t}`),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}palette-AppBar-darkColor`]).forEach(e=>{o[e]=r[e],delete r[e]}),"media"===i?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:o}}:i?{[i.replace("%s",t)]:o,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...o}}}if(i&&"media"!==i)return`${n}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}var a;return n};function Ta(e,t,r){!e[t]&&r&&(e[t]=r)}function Ia(e){return"string"==typeof e&&e.startsWith("hsl")?ui(e):e}function Ra(e,t){`${t}Channel`in e||(e[`${t}Channel`]=li(Ia(e[t])))}const Na=e=>{try{return e()}catch(e){}};function Fa(e,t,r,n,o){if(!r)return;r=!0===r?{}:r;const i="dark"===o?"dark":"light";if(!n)return void(t[o]=function(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,a=ia({...t,colorSpace:o});return{palette:a,opacity:{...Ma(a.mode),...r},overlays:n||Ea(a.mode),...i}}({...r,palette:{mode:i,...r?.palette},colorSpace:e}));const{palette:a,...s}=Pa({...n,palette:{mode:i,...r?.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Ma(i),...r?.opacity},overlays:r?.overlays||Ea(i)},s}function _a(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Aa,colorSchemeSelector:l=(r.light&&r.dark?"media":void 0),rootSelector:c=":root",...u}=e,d=Object.keys(r)[0],f=n||(r.light&&"light"!==d?"light":d),p=((e="mui")=>aa(e))(i),{[f]:h,light:m,dark:y,...g}=r,v={...g};let b,x=h;if(("dark"===f&&!("dark"in r)||"light"===f&&!("light"in r))&&(x=!0),!x)throw new Error(Vn(21,f));a&&(b="oklch");const w=Fa(b,v,x,u,f);m&&!v.light&&Fa(b,v,m,void 0,"light"),y&&!v.dark&&Fa(b,v,y,void 0,"dark");let S={defaultColorScheme:f,...w,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:c,getCssVar:p,colorSchemes:v,font:{...sa(w.typography),...w.font},spacing:(O=u.spacing,"number"==typeof O?`${O}px`:"string"==typeof O||"function"==typeof O||Array.isArray(O)?O:"8px")};var O;Object.keys(S.colorSchemes).forEach(e=>{const t=S.colorSchemes[e].palette,r=e=>{const r=e.split("-"),n=r[1],o=r[2];return p(e,t[n][o])};function n(e,t,r){if(b){let n;return e===pi&&(n=`transparent ${(100*(1-r)).toFixed(0)}%`),e===mi&&(n=`#000 ${(100*r).toFixed(0)}%`),e===gi&&(n=`#fff ${(100*r).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${n})`}return e(t,r)}var o;if("light"===t.mode&&(Ta(t.common,"background","#fff"),Ta(t.common,"onBackground","#000")),"dark"===t.mode&&(Ta(t.common,"background","#000"),Ta(t.common,"onBackground","#fff")),o=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{o[e]||(o[e]={})}),"light"===t.mode){Ta(t.Alert,"errorColor",n(mi,t.error.light,.6)),Ta(t.Alert,"infoColor",n(mi,t.info.light,.6)),Ta(t.Alert,"successColor",n(mi,t.success.light,.6)),Ta(t.Alert,"warningColor",n(mi,t.warning.light,.6)),Ta(t.Alert,"errorFilledBg",r("palette-error-main")),Ta(t.Alert,"infoFilledBg",r("palette-info-main")),Ta(t.Alert,"successFilledBg",r("palette-success-main")),Ta(t.Alert,"warningFilledBg",r("palette-warning-main")),Ta(t.Alert,"errorFilledColor",Na(()=>t.getContrastText(t.error.main))),Ta(t.Alert,"infoFilledColor",Na(()=>t.getContrastText(t.info.main))),Ta(t.Alert,"successFilledColor",Na(()=>t.getContrastText(t.success.main))),Ta(t.Alert,"warningFilledColor",Na(()=>t.getContrastText(t.warning.main))),Ta(t.Alert,"errorStandardBg",n(gi,t.error.light,.9)),Ta(t.Alert,"infoStandardBg",n(gi,t.info.light,.9)),Ta(t.Alert,"successStandardBg",n(gi,t.success.light,.9)),Ta(t.Alert,"warningStandardBg",n(gi,t.warning.light,.9)),Ta(t.Alert,"errorIconColor",r("palette-error-main")),Ta(t.Alert,"infoIconColor",r("palette-info-main")),Ta(t.Alert,"successIconColor",r("palette-success-main")),Ta(t.Alert,"warningIconColor",r("palette-warning-main")),Ta(t.AppBar,"defaultBg",r("palette-grey-100")),Ta(t.Avatar,"defaultBg",r("palette-grey-400")),Ta(t.Button,"inheritContainedBg",r("palette-grey-300")),Ta(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),Ta(t.Chip,"defaultBorder",r("palette-grey-400")),Ta(t.Chip,"defaultAvatarColor",r("palette-grey-700")),Ta(t.Chip,"defaultIconColor",r("palette-grey-700")),Ta(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ta(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ta(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ta(t.LinearProgress,"primaryBg",n(gi,t.primary.main,.62)),Ta(t.LinearProgress,"secondaryBg",n(gi,t.secondary.main,.62)),Ta(t.LinearProgress,"errorBg",n(gi,t.error.main,.62)),Ta(t.LinearProgress,"infoBg",n(gi,t.info.main,.62)),Ta(t.LinearProgress,"successBg",n(gi,t.success.main,.62)),Ta(t.LinearProgress,"warningBg",n(gi,t.warning.main,.62)),Ta(t.Skeleton,"bg",b?n(pi,t.text.primary,.11):`rgba(${r("palette-text-primaryChannel")} / 0.11)`),Ta(t.Slider,"primaryTrack",n(gi,t.primary.main,.62)),Ta(t.Slider,"secondaryTrack",n(gi,t.secondary.main,.62)),Ta(t.Slider,"errorTrack",n(gi,t.error.main,.62)),Ta(t.Slider,"infoTrack",n(gi,t.info.main,.62)),Ta(t.Slider,"successTrack",n(gi,t.success.main,.62)),Ta(t.Slider,"warningTrack",n(gi,t.warning.main,.62));const e=b?n(mi,t.background.default,.6825):vi(t.background.default,.8);Ta(t.SnackbarContent,"bg",e),Ta(t.SnackbarContent,"color",Na(()=>b?ra.text.primary:t.getContrastText(e))),Ta(t.SpeedDialAction,"fabHoverBg",vi(t.background.paper,.15)),Ta(t.StepConnector,"border",r("palette-grey-400")),Ta(t.StepContent,"border",r("palette-grey-400")),Ta(t.Switch,"defaultColor",r("palette-common-white")),Ta(t.Switch,"defaultDisabledColor",r("palette-grey-100")),Ta(t.Switch,"primaryDisabledColor",n(gi,t.primary.main,.62)),Ta(t.Switch,"secondaryDisabledColor",n(gi,t.secondary.main,.62)),Ta(t.Switch,"errorDisabledColor",n(gi,t.error.main,.62)),Ta(t.Switch,"infoDisabledColor",n(gi,t.info.main,.62)),Ta(t.Switch,"successDisabledColor",n(gi,t.success.main,.62)),Ta(t.Switch,"warningDisabledColor",n(gi,t.warning.main,.62)),Ta(t.TableCell,"border",n(gi,n(pi,t.divider,1),.88)),Ta(t.Tooltip,"bg",n(pi,t.grey[700],.92))}if("dark"===t.mode){Ta(t.Alert,"errorColor",n(gi,t.error.light,.6)),Ta(t.Alert,"infoColor",n(gi,t.info.light,.6)),Ta(t.Alert,"successColor",n(gi,t.success.light,.6)),Ta(t.Alert,"warningColor",n(gi,t.warning.light,.6)),Ta(t.Alert,"errorFilledBg",r("palette-error-dark")),Ta(t.Alert,"infoFilledBg",r("palette-info-dark")),Ta(t.Alert,"successFilledBg",r("palette-success-dark")),Ta(t.Alert,"warningFilledBg",r("palette-warning-dark")),Ta(t.Alert,"errorFilledColor",Na(()=>t.getContrastText(t.error.dark))),Ta(t.Alert,"infoFilledColor",Na(()=>t.getContrastText(t.info.dark))),Ta(t.Alert,"successFilledColor",Na(()=>t.getContrastText(t.success.dark))),Ta(t.Alert,"warningFilledColor",Na(()=>t.getContrastText(t.warning.dark))),Ta(t.Alert,"errorStandardBg",n(mi,t.error.light,.9)),Ta(t.Alert,"infoStandardBg",n(mi,t.info.light,.9)),Ta(t.Alert,"successStandardBg",n(mi,t.success.light,.9)),Ta(t.Alert,"warningStandardBg",n(mi,t.warning.light,.9)),Ta(t.Alert,"errorIconColor",r("palette-error-main")),Ta(t.Alert,"infoIconColor",r("palette-info-main")),Ta(t.Alert,"successIconColor",r("palette-success-main")),Ta(t.Alert,"warningIconColor",r("palette-warning-main")),Ta(t.AppBar,"defaultBg",r("palette-grey-900")),Ta(t.AppBar,"darkBg",r("palette-background-paper")),Ta(t.AppBar,"darkColor",r("palette-text-primary")),Ta(t.Avatar,"defaultBg",r("palette-grey-600")),Ta(t.Button,"inheritContainedBg",r("palette-grey-800")),Ta(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),Ta(t.Chip,"defaultBorder",r("palette-grey-700")),Ta(t.Chip,"defaultAvatarColor",r("palette-grey-300")),Ta(t.Chip,"defaultIconColor",r("palette-grey-300")),Ta(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ta(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ta(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ta(t.LinearProgress,"primaryBg",n(mi,t.primary.main,.5)),Ta(t.LinearProgress,"secondaryBg",n(mi,t.secondary.main,.5)),Ta(t.LinearProgress,"errorBg",n(mi,t.error.main,.5)),Ta(t.LinearProgress,"infoBg",n(mi,t.info.main,.5)),Ta(t.LinearProgress,"successBg",n(mi,t.success.main,.5)),Ta(t.LinearProgress,"warningBg",n(mi,t.warning.main,.5)),Ta(t.Skeleton,"bg",b?n(pi,t.text.primary,.13):`rgba(${r("palette-text-primaryChannel")} / 0.13)`),Ta(t.Slider,"primaryTrack",n(mi,t.primary.main,.5)),Ta(t.Slider,"secondaryTrack",n(mi,t.secondary.main,.5)),Ta(t.Slider,"errorTrack",n(mi,t.error.main,.5)),Ta(t.Slider,"infoTrack",n(mi,t.info.main,.5)),Ta(t.Slider,"successTrack",n(mi,t.success.main,.5)),Ta(t.Slider,"warningTrack",n(mi,t.warning.main,.5));const e=b?n(gi,t.background.default,.985):vi(t.background.default,.98);Ta(t.SnackbarContent,"bg",e),Ta(t.SnackbarContent,"color",Na(()=>b?ea.text.primary:t.getContrastText(e))),Ta(t.SpeedDialAction,"fabHoverBg",vi(t.background.paper,.15)),Ta(t.StepConnector,"border",r("palette-grey-600")),Ta(t.StepContent,"border",r("palette-grey-600")),Ta(t.Switch,"defaultColor",r("palette-grey-300")),Ta(t.Switch,"defaultDisabledColor",r("palette-grey-600")),Ta(t.Switch,"primaryDisabledColor",n(mi,t.primary.main,.55)),Ta(t.Switch,"secondaryDisabledColor",n(mi,t.secondary.main,.55)),Ta(t.Switch,"errorDisabledColor",n(mi,t.error.main,.55)),Ta(t.Switch,"infoDisabledColor",n(mi,t.info.main,.55)),Ta(t.Switch,"successDisabledColor",n(mi,t.success.main,.55)),Ta(t.Switch,"warningDisabledColor",n(mi,t.warning.main,.55)),Ta(t.TableCell,"border",n(mi,n(pi,t.divider,1),.68)),Ta(t.Tooltip,"bg",n(pi,t.grey[700],.92))}Ra(t.background,"default"),Ra(t.background,"paper"),Ra(t.common,"background"),Ra(t.common,"onBackground"),Ra(t,"divider"),Object.keys(t).forEach(e=>{const r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&Ta(t[e],"mainChannel",li(Ia(r.main))),r.light&&Ta(t[e],"lightChannel",li(Ia(r.light))),r.dark&&Ta(t[e],"darkChannel",li(Ia(r.dark))),r.contrastText&&Ta(t[e],"contrastTextChannel",li(Ia(r.contrastText))),"text"===e&&(Ra(t[e],"primary"),Ra(t[e],"secondary")),"action"===e&&(r.active&&Ra(t[e],"active"),r.selected&&Ra(t[e],"selected")))})}),S=t.reduce((e,t)=>In(e,t),S);const k={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Da(S),enableContrastVars:a},{vars:P,generateThemeVars:C,generateStyleSheets:j}=function(e,t={}){const{getSelector:r=g,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:f}=ca(c,t);let p=f;const h={},{[l]:m,...y}=a;if(Object.entries(y||{}).forEach(([e,r])=>{const{vars:n,css:o,varsWithDefaults:i}=ca(r,t);p=In(p,i),h[e]={css:o,vars:n}}),m){const{css:e,vars:r,varsWithDefaults:n}=ca(m,t);p=In(p,n),h[l]={css:e,vars:r}}function g(t,r){let n=o;if("class"===o&&(n=".%s"),"data"===o&&(n="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(n=`[${o}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";const n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(h).forEach(([,{vars:t}])=>{e=In(e,t)}),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function s(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}s(r(void 0,{...d}),d);const{[o]:l,...c}=h;if(l){const{css:e}=l,t=a[o]?.palette?.mode,i=!n&&t?{colorScheme:t,...e}:{...e};s(r(o,{...i}),i)}return Object.entries(c).forEach(([e,{css:t}])=>{const o=a[e]?.palette?.mode,i=!n&&o?{colorScheme:o,...t}:{...t};s(r(e,{...i}),i)}),i&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}}(S,k);return S.vars=P,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=C,S.generateStyleSheets=j,S.generateSpacing=function(){return lo(u.spacing,ro(this))},S.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(l),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...zo,...u?.unstable_sxConfig},S.unstable_sx=function(e){return Bo({sx:e,theme:this})},S.toRuntimeSource=Oa,S}function za(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:ia({...!0===r?{}:r.palette,mode:t})})}function La(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=(r?void 0:{light:!0}),defaultColorScheme:i=r?.mode,...a}=e,s=i||"light",l=o?.[s],c={...o,...r?{[s]:{..."boolean"!=typeof l&&l,palette:r}}:void 0};if(!1===n){if(!("colorSchemes"in e))return Pa(e,...t);let n=r;"palette"in e||c[s]&&(!0!==c[s]?n=c[s].palette:"dark"===s&&(n={mode:"dark"}));const o=Pa({...e,palette:n},...t);return o.defaultColorScheme=s,o.colorSchemes=c,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==c.light&&c.light,palette:o.palette},za(o,"dark",c.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:o.palette},za(o,"light",c.light)),o}return r||"light"in c||"light"!==s||(c.light=!0),_a({...a,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof n&&n},...t)}const Ba="mui-color-scheme",$a="light",Va="dark",Wa="mui-mode",{CssVarsProvider:Ha,useColorScheme:qa,getInitColorSchemeScript:Ua}=function(e){const{themeId:t,theme:r={},modeStorageKey:n=Zo,colorSchemeStorageKey:o=Jo,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:s}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},c=G.createContext(void 0),u={},d={},f="string"==typeof a?a:a.light,p="string"==typeof a?a:a.dark;return{CssVarsProvider:function(e){const{children:l,theme:f,modeStorageKey:p=n,colorSchemeStorageKey:h=o,disableTransitionOnChange:m=i,storageManager:y,storageWindow:g=("undefined"==typeof window?void 0:window),documentNode:v=("undefined"==typeof document?void 0:document),colorSchemeNode:b=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:x=!1,disableStyleSheetGeneration:w=!1,defaultMode:S="system",forceThemeRerender:O=!1,noSsr:k}=e,P=G.useRef(!1),C=St(),j=G.useContext(c),M=!!j&&!x,E=G.useMemo(()=>f||("function"==typeof r?r():r),[f]),A=E[t],D=A||E,{colorSchemes:T=u,components:I=d,cssVarPrefix:R}=D,N=Object.keys(T).filter(e=>!!T[e]).join(","),F=G.useMemo(()=>N.split(","),[N]),_="string"==typeof a?a:a.light,z="string"==typeof a?a:a.dark,L=T[_]&&T[z]?S:T[D.defaultColorScheme]?.palette?.mode||D.palette?.mode,{mode:B,setMode:$,systemMode:V,lightColorScheme:W,darkColorScheme:H,colorScheme:q,setColorScheme:U}=function(e){const{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:o=[],modeStorageKey:i=Zo,colorSchemeStorageKey:a=Jo,storageWindow:s=("undefined"==typeof window?void 0:window),storageManager:l=ri,noSsr:c=!1}=e,u=o.join(","),d=o.length>1,f=G.useMemo(()=>l?.({key:i,storageWindow:s}),[l,i,s]),p=G.useMemo(()=>l?.({key:`${a}-light`,storageWindow:s}),[l,a,s]),h=G.useMemo(()=>l?.({key:`${a}-dark`,storageWindow:s}),[l,a,s]),[m,y]=G.useState(()=>{const e=f?.get(t)||t,o=p?.get(r)||r,i=h?.get(n)||n;return{mode:e,systemMode:oi(e),lightColorScheme:o,darkColorScheme:i}}),[g,v]=G.useState(c||!d);G.useEffect(()=>{v(!0)},[]);const b=function(e){return ii(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(m),x=G.useCallback(e=>{y(r=>{if(e===r.mode)return r;const n=e??t;return f?.set(n),{...r,mode:n,systemMode:oi(n)}})},[f,t]),w=G.useCallback(e=>{e?"string"==typeof e?e&&!u.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):y(t=>{const r={...t};return ii(t,t=>{"light"===t&&(p?.set(e),r.lightColorScheme=e),"dark"===t&&(h?.set(e),r.darkColorScheme=e)}),r}):y(t=>{const o={...t},i=null===e.light?r:e.light,a=null===e.dark?n:e.dark;return i&&(u.includes(i)?(o.lightColorScheme=i,p?.set(i)):console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`)),a&&(u.includes(a)?(o.darkColorScheme=a,h?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o}):y(e=>(p?.set(r),h?.set(n),{...e,lightColorScheme:r,darkColorScheme:n}))},[u,p,h,r,n]),S=G.useCallback(e=>{"system"===m.mode&&y(t=>{const r=e?.matches?"dark":"light";return t.systemMode===r?t:{...t,systemMode:r}})},[m.mode]),O=G.useRef(S);return O.current=S,G.useEffect(()=>{if("function"!=typeof window.matchMedia||!d)return;const e=(...e)=>O.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[d]),G.useEffect(()=>{if(d){const e=f?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||x(e||t)})||ni,r=p?.subscribe(e=>{e&&!u.match(e)||w({light:e})})||ni,n=h?.subscribe(e=>{e&&!u.match(e)||w({dark:e})})||ni;return()=>{e(),r(),n()}}},[w,x,u,t,s,d,f,p,h]),{...m,mode:g?m.mode:void 0,systemMode:g?m.systemMode:void 0,colorScheme:g?b:void 0,setMode:x,setColorScheme:w}}({supportedColorSchemes:F,defaultLightColorScheme:_,defaultDarkColorScheme:z,modeStorageKey:p,colorSchemeStorageKey:h,defaultMode:L,storageManager:y,storageWindow:g,noSsr:k});let K=B,Y=q;M&&(K=j.mode,Y=j.colorScheme);let Q=Y||D.defaultColorScheme;D.vars&&!O&&(Q=D.defaultColorScheme);const X=G.useMemo(()=>{const e=D.generateThemeVars?.()||D.vars,t={...D,components:I,colorSchemes:T,cssVarPrefix:R,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),Q){const e=T[Q];e&&"object"==typeof e&&Object.keys(e).forEach(r=>{e[r]&&"object"==typeof e[r]?t[r]={...t[r],...e[r]}:t[r]=e[r]})}return s?s(t):t},[D,Q,I,T,R]),Z=D.colorSchemeSelector;ln(()=>{if(Y&&b&&Z&&"media"!==Z){const e=Z;let t=Z;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))b.classList.remove(...F.map(e=>t.substring(1).replace("%s",e))),b.classList.add(t.substring(1).replace("%s",Y));else{const e=t.replace("%s",Y).match(/\[([^\]]+)\]/);if(e){const[t,r]=e[1].split("=");r||F.forEach(e=>{b.removeAttribute(t.replace(Y,e))}),b.setAttribute(t,r?r.replace(/"|'/g,""):"")}else b.setAttribute(t,Y)}}},[Y,Z,b,F]),G.useEffect(()=>{let e;if(m&&P.current&&v){const t=v.createElement("style");t.appendChild(v.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),v.head.appendChild(t),window.getComputedStyle(v.body),e=setTimeout(()=>{v.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[Y,m,v]),G.useEffect(()=>(P.current=!0,()=>{P.current=!1}),[]);const J=G.useMemo(()=>({allColorSchemes:F,colorScheme:Y,darkColorScheme:H,lightColorScheme:W,mode:K,setColorScheme:U,setMode:$,systemMode:V}),[F,Y,H,W,K,U,$,V,X.colorSchemeSelector]);let ee=!0;(w||!1===D.cssVariables||M&&C?.cssVarPrefix===R)&&(ee=!1);const te=(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)(Go,{themeId:A?t:void 0,theme:X,children:l}),ee&&(0,ce.jsx)(En,{styles:X.generateStyleSheets?.()||[]})]});return M?te:(0,ce.jsx)(c.Provider,{value:J,children:te})},useColorScheme:()=>G.useContext(c)||l,getInitColorSchemeScript:e=>function(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:o=Zo,colorSchemeStorageKey:i=Jo,attribute:a=ei,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let c="",u=a;if("class"===a&&(u=".%s"),"data"===a&&(u="[data-%s]"),u.startsWith(".")){const e=u.substring(1);c+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n ${s}.classList.add('${e}'.replace('%s', colorScheme));`}const d=u.match(/\[([^[\]]+)\]/);if(d){const[e,t]=d[1].split("=");t||(c+=`${s}.removeAttribute('${e}'.replace('%s', light));\n ${s}.removeAttribute('${e}'.replace('%s', dark));`),c+=`\n ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else c+=`${s}.setAttribute('${u}', colorScheme);`;return(0,ce.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${o}') || '${t}';\n const dark = localStorage.getItem('${i}-dark') || '${n}';\n const light = localStorage.getItem('${i}-light') || '${r}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${c}\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:o,defaultLightColorScheme:f,defaultDarkColorScheme:p,modeStorageKey:n,...e})}}({themeId:Qo,theme:()=>La({cssVariables:!0}),colorSchemeStorageKey:Ba,modeStorageKey:Wa,defaultColorScheme:{light:$a,dark:Va},resolveTheme:e=>{const t={...e,typography:pa(e.palette,e.typography)};return t.unstable_sx=function(e){return Bo({sx:e,theme:this})},t}}),Ka=Ha;function Ya({theme:e,...t}){const r=G.useMemo(()=>{if("function"==typeof e)return e;const t=Qo in e?e[Qo]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return r?(0,ce.jsx)(Xo,{theme:r,...t}):(0,ce.jsx)(Ka,{theme:e,...t})}function Ga(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let e=0;e<i.length;e+=1){const n=i[e];n&&(a+=(!0===s?"":" ")+t(n),s=!1,r&&r[n]&&(a+=" "+r[n]))}n[o]=a}return n}function Qa(e){const{variants:t,...r}=e,n={variants:t,style:Sn(r),isProcessed:!0};return n.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=Sn(e.style))}),n}const Xa=Vo();function Za(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function Ja(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function es(e){return e?(t,r)=>r[e]:null}function ts(e,t,r){const n="function"==typeof t?t(e):t;if(Array.isArray(n))return n.flatMap(t=>ts(e,t,r));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=r?Ja(n.style,r):n.style;else{const{variants:e,...o}=n;t=r?Ja(Sn(o),r):o}return rs(e,n.variants,[t],r)}return n?.isProcessed?r?Ja(Sn(n.style),r):n.style:r?Ja(Sn(n),r):n}function rs(e,t,r=[],n=void 0){let o;e:for(let i=0;i<t.length;i+=1){const a=t[i];if("function"==typeof a.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(o))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Ja(Sn(a.style(o)),n):a.style(o))):r.push(n?Ja(Sn(a.style),n):a.style)}return r}function ns(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const os=La(),is=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},as=e=>is(e)&&"classes"!==e,ss=function(e={}){const{themeId:t,defaultTheme:r=Xa,rootShouldForwardProp:n=Za,slotShouldForwardProp:o=Za}=e;function i(e){!function(e,t,r){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?r:e.theme[t]||e.theme}(e,t,r)}return(e,t={})=>{!function(e){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=(e=>e.filter(e=>e!==Bo))(e.__emotion_styles))}(e);const{name:r,slot:a,skipVariantsResolver:s,skipSx:l,overridesResolver:c=es(ns(a)),...u}=t,d=r&&r.startsWith("Mui")||a?"components":"custom",f=void 0!==s?s:a&&"Root"!==a&&"root"!==a||!1,p=l||!1;let h=Za;"Root"===a||"root"===a?h=n:a?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=xn(e,{shouldForwardProp:h,label:void 0,...u}),y=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return ts(t,e,t.theme.modularCssLayers?d:void 0)};if(Dn(e)){const t=Qa(e);return function(e){return t.variants?ts(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Ja(t.style,d):t.style}}return e},g=(...t)=>{const n=[],o=t.map(y),a=[];if(n.push(i),r&&c&&a.push(function(e){const t=e.theme,n=t.components?.[r]?.styleOverrides;if(!n)return null;const o={};for(const t in n)o[t]=ts(e,n[t],e.theme.modularCssLayers?"theme":void 0);return c(e,o)}),r&&!f&&a.push(function(e){const t=e.theme,n=t?.components?.[r]?.variants;return n?rs(e,n,[],e.theme.modularCssLayers?"theme":void 0):null}),p||a.push(Bo),Array.isArray(o[0])){const e=o.shift(),t=new Array(n.length).fill(""),r=new Array(a.length).fill("");let i;i=[...t,...e,...r],i.raw=[...t,...e.raw,...r],n.unshift(i)}const s=[...n,...o,...a],l=m(...s);return e.muiName&&(l.muiName=e.muiName),l};return m.withConfig&&(g.withConfig=m.withConfig),g}}({themeId:Qo,defaultTheme:os,rootShouldForwardProp:as}),ls=ss;function cs(e){return function({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?on(o.defaultProps,n,t.components.mergeClassNameAndStyle):o.styleOverrides||o.variants?n:on(o,n,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:G.useContext(an)}})}(e)}function us(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function ds(e,t=!1){return e&&(us(e.value)&&""!==e.value||t&&us(e.defaultValue)&&""!==e.defaultValue)}const fs=Wn,ps=function(e,t){return G.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)},hs=G.createContext(void 0),ms=e=>e,ys=(()=>{let e=ms;return{configure(t){e=t},generate:t=>e(t),reset(){e=ms}}})(),gs={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function vs(e,t,r="Mui"){const n=gs[t];return n?`${r}-${n}`:`${ys.generate(e)}-${t}`}function bs(e,t,r="Mui"){const n={};return t.forEach(t=>{n[t]=vs(e,t,r)}),n}function xs(e){return vs("MuiFormControl",e)}bs("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const ws=ls("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`margin${fs(r.margin)}`],r.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Ss=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiFormControl"}),{children:n,className:o,color:i="primary",component:a="div",disabled:s=!1,error:l=!1,focused:c,fullWidth:u=!1,hiddenLabel:d=!1,margin:f="none",required:p=!1,size:h="medium",variant:m="outlined",...y}=r,g={...r,color:i,component:a,disabled:s,error:l,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:h,variant:m},v=(e=>{const{classes:t,margin:r,fullWidth:n}=e;return Ga({root:["root","none"!==r&&`margin${fs(r)}`,n&&"fullWidth"]},xs,t)})(g),[b,x]=G.useState(()=>{let e=!1;return n&&G.Children.forEach(n,t=>{if(!ps(t,["Input","Select"]))return;const r=ps(t,["Select"])?t.props.input:t;r&&r.props.startAdornment&&(e=!0)}),e}),[w,S]=G.useState(()=>{let e=!1;return n&&G.Children.forEach(n,t=>{ps(t,["Input","Select"])&&(ds(t.props,!0)||ds(t.props.inputProps,!0))&&(e=!0)}),e}),[O,k]=G.useState(!1);s&&O&&k(!1);const P=void 0===c||s?O:c;let C;G.useRef(!1);const j=G.useCallback(()=>{S(!0)},[]),M=G.useCallback(()=>{S(!1)},[]),E=G.useMemo(()=>({adornedStart:b,setAdornedStart:x,color:i,disabled:s,error:l,filled:w,focused:P,fullWidth:u,hiddenLabel:d,size:h,onBlur:()=>{k(!1)},onFocus:()=>{k(!0)},onEmpty:M,onFilled:j,registerEffect:C,required:p,variant:m}),[b,i,s,l,w,P,u,d,C,M,j,p,h,m]);return(0,ce.jsx)(hs.Provider,{value:E,children:(0,ce.jsx)(ws,{as:a,ownerState:g,className:nn(v.root,o),ref:t,...y,children:n})})}),Os=Ss;function ks({props:e,states:t,muiFormControl:r}){return t.reduce((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t),{})}function Ps(){return G.useContext(hs)}const Cs={theme:void 0},js=function(e){let t,r;return function(n){let o=t;return void 0!==o&&n.theme===r||(Cs.theme=n.theme,o=Qa(e(Cs)),t=o,r=n.theme),o}};function Ms(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}function Es(e){return vs("MuiFormLabel",e)}const As=bs("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Ds=ls("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"secondary"===r.color&&t.colorSecondary,r.filled&&t.filled]}})(js(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Ms()).map(([t])=>({props:{color:t},style:{[`&.${As.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${As.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${As.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Ts=ls("span",{name:"MuiFormLabel",slot:"Asterisk"})(js(({theme:e})=>({[`&.${As.error}`]:{color:(e.vars||e).palette.error.main}}))),Is=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiFormLabel"}),{children:n,className:o,color:i,component:a="label",disabled:s,error:l,filled:c,focused:u,required:d,...f}=r,p=ks({props:r,muiFormControl:Ps(),states:["color","required","focused","disabled","error","filled"]}),h={...r,color:p.color||"primary",component:a,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},m=(e=>{const{classes:t,color:r,focused:n,disabled:o,error:i,filled:a,required:s}=e;return Ga({root:["root",`color${fs(r)}`,o&&"disabled",i&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]},Es,t)})(h);return(0,ce.jsxs)(Ds,{as:a,ownerState:h,className:nn(m.root,o),ref:t,...f,children:[n,p.required&&(0,ce.jsxs)(Ts,{ownerState:h,"aria-hidden":!0,className:m.asterisk,children:[" ","*"]})]})});function Rs(e){return vs("MuiInputLabel",e)}bs("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Ns=ls(Is,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${As.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(js(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:r})=>"filled"===e&&t.shrink&&"small"===r,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Fs=G.forwardRef(function(e,t){const r=cs({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,margin:o,shrink:i,variant:a,className:s,...l}=r,c=Ps();let u=i;void 0===u&&c&&(u=c.filled||c.focused||c.adornedStart);const d=ks({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),f={...r,disableAnimation:n,formControl:c,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=(e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:i,variant:a,required:s}=e,l=Ga({root:["root",r&&"formControl",!i&&"animated",o&&"shrink",n&&"medium"!==n&&`size${fs(n)}`,a],asterisk:[s&&"asterisk"]},Rs,t);return{...t,...l}})(f);return(0,ce.jsx)(Ns,{"data-shrink":u,ref:t,className:nn(p.root,s),...l,ownerState:f,classes:p})});function _s(e){return parseInt(G.version,10)>=19?e?.props?.ref||null:e?.ref||null}function zs(e){return e&&e.ownerDocument||document}const Ls=zs;function Bs(...e){const t=G.useRef(void 0),r=G.useCallback(t=>{const r=e.map(e=>{if(null==e)return null;if("function"==typeof e){const r=e,n=r(t);return"function"==typeof n?n:()=>{r(null)}}return e.current=t,()=>{e.current=null}});return()=>{r.forEach(e=>e?.())}},e);return G.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}const $s=function(e){return"string"==typeof e},Vs=function(e,t,r){return void 0===e||$s(e)?t:{...t,ownerState:{...t.ownerState,...r}}},Ws=function(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r},Hs=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t},qs=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=nn(r?.className,i,o?.className,n?.className),t={...r?.style,...o?.style,...n?.style},a={...r,...o,...n};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Ws({...o,...n}),s=Hs(n),l=Hs(o),c=t(a),u=nn(c?.className,r?.className,i,o?.className,n?.className),d={...c?.style,...r?.style,...o?.style,...n?.style},f={...c,...r,...l,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}},Us=function(e,t,r){return"function"==typeof e?e(t,r):e},Ks=function(e){const{elementType:t,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:Us(r,n),{props:s,internalRef:l}=qs({...i,externalSlotProps:a}),c=Bs(l,a?.ref,e.additionalProps?.ref);return Vs(t,{...s,ref:c},n)},Ys=G.createContext({});function Gs(e){return vs("MuiList",e)}bs("MuiList",["root","padding","dense","subheader"]);const Qs=ls("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Xs=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiList"}),{children:n,className:o,component:i="ul",dense:a=!1,disablePadding:s=!1,subheader:l,...c}=r,u=G.useMemo(()=>({dense:a}),[a]),d={...r,component:i,dense:a,disablePadding:s},f=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return Ga({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},Gs,t)})(d);return(0,ce.jsx)(Ys.Provider,{value:u,children:(0,ce.jsxs)(Qs,{as:i,className:nn(f.root,o),ref:t,ownerState:d,...c,children:[l,n]})})});function Zs(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const Js=Zs,el=Bs,tl=ln;function rl(e){return zs(e).defaultView||window}const nl=rl;function ol(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function il(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function al(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join("")))}function sl(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&al(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const ll=G.forwardRef(function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:c,variant:u="selectedMenu",...d}=e,f=G.useRef(null),p=G.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});tl(()=>{n&&f.current.focus()},[n]),G.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&r){const r=`${Js(nl(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,f.current.style.width=`calc(100% + ${r})`}return f.current}}),[]);const h=el(f,t);let m=-1;G.Children.forEach(i,(e,t)=>{G.isValidElement(e)?(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))});const y=G.Children.map(i,(e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),G.cloneElement(e,t)}return e});return(0,ce.jsx)(Xs,{role:"menu",ref:h,className:a,onKeyDown:e=>{const t=f.current,r=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(c&&c(e));const n=Ls(t).activeElement;if("ArrowDown"===r)e.preventDefault(),sl(t,n,l,s,ol);else if("ArrowUp"===r)e.preventDefault(),sl(t,n,l,s,il);else if("Home"===r)e.preventDefault(),sl(t,null,l,s,ol);else if("End"===r)e.preventDefault(),sl(t,null,l,s,il);else if(1===r.length){const o=p.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const l=n&&!o.repeating&&al(n,o);o.previousKeyMatched&&(l||sl(t,n,!1,s,ol,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:n?0:-1,...d,children:y})});function cl(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(r)},n}const ul=cl,dl={};function fl(e,t){const r=G.useRef(dl);return r.current===dl&&(r.current=e(t)),r}const pl=[];class hl{static create(){return new hl}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function ml(){const e=fl(hl.create).current;var t;return t=e.disposeEffect,G.useEffect(t,pl),e}function yl(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function gl(e,t){return gl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gl(e,t)}function vl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gl(e,t)}const bl=X().createContext(null);var xl=function(e){return e.scrollTop},wl="unmounted",Sl="exited",Ol="entering",kl="entered",Pl="exiting",Cl=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Sl,n.appearStatus=Ol):o=kl:o=t.unmountOnExit||t.mountOnEnter?wl:Sl,n.state={status:o},n.nextCallback=null,n}vl(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===wl?{status:Sl}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==Ol&&r!==kl&&(t=Ol):r!==Ol&&r!==kl||(t=Pl)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ol){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:Ee().findDOMNode(this);r&&xl(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Sl&&this.setState({status:wl})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[Ee().findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;e||r?(this.props.onEnter(i,a),this.safeSetState({status:Ol},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:kl},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:kl},function(){t.props.onEntered(i)})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:Ee().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:Pl},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:Sl},function(){e.props.onExited(n)})})})):this.safeSetState({status:Sl},function(){e.props.onExited(n)})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:Ee().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===wl)return null;var t=this.props,r=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,yl(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return X().createElement(bl.Provider,{value:null},"function"==typeof r?r(e,n):X().cloneElement(X().Children.only(r),n))},t}(X().Component);function jl(){}Cl.contextType=bl,Cl.propTypes={},Cl.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jl,onEntering:jl,onEntered:jl,onExit:jl,onExiting:jl,onExited:jl},Cl.UNMOUNTED=wl,Cl.EXITED=Sl,Cl.ENTERING=Ol,Cl.ENTERED=kl,Cl.EXITING=Pl;const Ml=Cl;function El(){const e=Ho(os);return e[Qo]||e}const Al=e=>e.scrollTop;function Dl(e,t){const{timeout:r,easing:n,style:o={}}=e;return{duration:o.transitionDuration??("number"==typeof r?r:r[t.mode]||0),easing:o.transitionTimingFunction??("object"==typeof n?n[t.mode]:n),delay:o.transitionDelay}}function Tl(e){return`scale(${e}, ${e**2})`}const Il={entering:{opacity:1,transform:Tl(1)},entered:{opacity:1,transform:"none"}},Rl="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Nl=G.forwardRef(function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:c,onExit:u,onExited:d,onExiting:f,style:p,timeout:h="auto",TransitionComponent:m=Ml,...y}=e,g=ml(),v=G.useRef(),b=El(),x=G.useRef(null),w=el(x,_s(o),t),S=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},O=S(c),k=S((e,t)=>{Al(e);const{duration:r,delay:n,easing:o}=Dl({style:p,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=r,e.style.transition=[b.transitions.create("opacity",{duration:a,delay:n}),b.transitions.create("transform",{duration:Rl?a:.666*a,delay:n,easing:o})].join(","),s&&s(e,t)}),P=S(l),C=S(f),j=S(e=>{const{duration:t,delay:r,easing:n}=Dl({style:p,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:r}),b.transitions.create("transform",{duration:Rl?o:.666*o,delay:Rl?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Tl(.75),u&&u(e)}),M=S(d);return(0,ce.jsx)(m,{appear:n,in:a,nodeRef:x,onEnter:k,onEntered:P,onEntering:O,onExit:j,onExited:M,onExiting:C,addEndListener:e=>{"auto"===h&&g.start(v.current||0,e),r&&r(x.current,e)},timeout:"auto"===h?null:h,...y,children:(e,{ownerState:t,...r})=>G.cloneElement(o,{style:{opacity:0,transform:Tl(.75),visibility:"exited"!==e||a?void 0:"hidden",...Il[e],...p,...o.props.style},ref:w,...r})})});Nl&&(Nl.muiSupportAuto=!0);const Fl=Nl,_l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function zl(e){const t=[],r=[];return Array.from(e.querySelectorAll(_l)).forEach((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function Ll(){return!0}const Bl=function(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=zl,isEnabled:a=Ll,open:s}=e,l=G.useRef(!1),c=G.useRef(null),u=G.useRef(null),d=G.useRef(null),f=G.useRef(null),p=G.useRef(!1),h=G.useRef(null),m=Bs(_s(t),h),y=G.useRef(null);G.useEffect(()=>{s&&h.current&&(p.current=!r)},[r,s]),G.useEffect(()=>{if(!s||!h.current)return;const e=zs(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),p.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[s]),G.useEffect(()=>{if(!s||!h.current)return;const e=zs(h.current),t=t=>{y.current=t,!n&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(l.current=!0,u.current&&u.current.focus())},r=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==c.current&&e.activeElement!==u.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!p.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=i(h.current)),r.length>0){const e=Boolean(y.current?.shiftKey&&"Tab"===y.current?.key),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()},50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[r,n,o,a,s,i]);const g=e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0};return(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)("div",{tabIndex:s?0:-1,onFocus:g,ref:c,"data-testid":"sentinelStart"}),G.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;const r=t.props.onFocus;r&&r(e)}}),(0,ce.jsx)("div",{tabIndex:s?0:-1,onFocus:g,ref:u,"data-testid":"sentinelEnd"})]})};function $l(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const Vl=G.forwardRef(function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[i,a]=G.useState(null),s=Bs(G.isValidElement(r)?_s(r):null,t);if(ln(()=>{o||a(function(e){return"function"==typeof e?e():e}(n)||document.body)},[n,o]),ln(()=>{if(i&&!o)return $l(t,i),()=>{$l(t,null)}},[t,i,o]),o){if(G.isValidElement(r)){const e={ref:s};return G.cloneElement(r,e)}return r}return i?Me.createPortal(r,i):i});function Wl(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=i,p=u[e]||n,h=Us(d[e],o),{props:{component:m,...y},internalRef:g}=qs({className:r,...l,externalForwardedProps:"root"===e?f:void 0,externalSlotProps:h}),v=Bs(g,h?.ref,t.ref),b="root"===e?m||c:m;return[p,Vs(p,{..."root"===e&&!c&&!u[e]&&a,..."root"!==e&&!u[e]&&a,...y,...b&&!s&&{as:b},...b&&s&&{component:b},ref:v},o)]}const Hl={entering:{opacity:1},entered:{opacity:1}},ql=G.forwardRef(function(e,t){const r=El(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:s,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:h,style:m,timeout:y=n,TransitionComponent:g=Ml,...v}=e,b=G.useRef(null),x=el(b,_s(a),t),w=e=>t=>{if(e){const r=b.current;void 0===t?e(r):e(r,t)}},S=w(d),O=w((e,t)=>{Al(e);const n=Dl({style:m,timeout:y,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),c&&c(e,t)}),k=w(u),P=w(h),C=w(e=>{const t=Dl({style:m,timeout:y,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),f&&f(e)}),j=w(p);return(0,ce.jsx)(g,{appear:i,in:l,nodeRef:b,onEnter:O,onEntered:k,onEntering:S,onExit:C,onExited:j,onExiting:P,addEndListener:e=>{o&&o(b.current,e)},timeout:y,...v,children:(e,{ownerState:t,...r})=>G.cloneElement(a,{style:{opacity:0,visibility:"exited"!==e||l?void 0:"hidden",...Hl[e],...m,...a.props.style},ref:x,...r})})}),Ul=ql;function Kl(e){return vs("MuiBackdrop",e)}bs("MuiBackdrop",["root","invisible"]);const Yl=ls("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Gl=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiBackdrop"}),{children:n,className:o,component:i="div",invisible:a=!1,open:s,components:l={},componentsProps:c={},slotProps:u={},slots:d={},TransitionComponent:f,transitionDuration:p,...h}=r,m={...r,component:i,invisible:a},y=(e=>{const{classes:t,invisible:r}=e;return Ga({root:["root",r&&"invisible"]},Kl,t)})(m),g={component:i,slots:{transition:f,root:l.Root,...d},slotProps:{...c,...u}},[v,b]=Wl("root",{elementType:Yl,externalForwardedProps:g,className:nn(y.root,o),ownerState:m}),[x,w]=Wl("transition",{elementType:Ul,externalForwardedProps:g,ownerState:m});return(0,ce.jsx)(x,{in:s,timeout:p,...h,...w,children:(0,ce.jsx)(v,{"aria-hidden":!0,...b,classes:y,ref:t,children:n})})}),Ql=function(e){const t=G.useRef(e);return ln(()=>{t.current=e}),G.useRef((...e)=>(0,t.current)(...e)).current};function Xl(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}function Zl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Jl(e){return parseInt(rl(e).getComputedStyle(e).paddingRight,10)||0}function ec(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,e=>{const t=!i.includes(e),r=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&Zl(e,o)})}function tc(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}const rc=()=>{},nc=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&Zl(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);ec(t,e.mount,e.modalRef,n,!0);const o=tc(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=tc(this.containers,t=>t.modals.includes(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=zs(e);return t.body===e?rl(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=Zs(rl(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Jl(n)+e}px`;const t=zs(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Jl(t)+e}px`})}let e;if(n.parentNode instanceof DocumentFragment)e=zs(n).body;else{const t=n.parentElement,r=rl(n);e="HTML"===t?.nodeName&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=tc(this.containers,t=>t.modals.includes(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Zl(e.modalRef,t),ec(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Zl(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function oc(e){return vs("MuiModal",e)}bs("MuiModal",["root","hidden","backdrop"]);const ic=ls("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(js(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),ac=ls(Gl,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),sc=G.forwardRef(function(e,t){const r=cs({name:"MuiModal",props:e}),{BackdropComponent:n=ac,BackdropProps:o,classes:i,className:a,closeAfterTransition:s=!1,children:l,container:c,component:u,components:d={},componentsProps:f={},disableAutoFocus:p=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:m=!1,disablePortal:y=!1,disableRestoreFocus:g=!1,disableScrollLock:v=!1,hideBackdrop:b=!1,keepMounted:x=!1,onClose:w,onTransitionEnter:S,onTransitionExited:O,open:k,slotProps:P={},slots:C={},theme:j,...M}=r,E={...r,closeAfterTransition:s,disableAutoFocus:p,disableEnforceFocus:h,disableEscapeKeyDown:m,disablePortal:y,disableRestoreFocus:g,disableScrollLock:v,hideBackdrop:b,keepMounted:x},{getRootProps:A,getBackdropProps:D,getTransitionProps:T,portalRef:I,isTopModal:R,exited:N,hasTransition:F}=function(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:s,onClose:l,open:c,rootRef:u}=e,d=G.useRef({}),f=G.useRef(null),p=G.useRef(null),h=Bs(p,u),[m,y]=G.useState(!c),g=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let v=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(v=!1);const b=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),x=()=>{nc.mount(b(),{disableScrollLock:n}),p.current&&(p.current.scrollTop=0)},w=Ql(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||zs(f.current).body;nc.add(b(),e),p.current&&x()}),S=()=>nc.isTopModal(b()),O=Ql(e=>{f.current=e,e&&(c&&S()?x():p.current&&Zl(p.current,v))}),k=G.useCallback(()=>{nc.remove(b(),v)},[v]);G.useEffect(()=>()=>{k()},[k]),G.useEffect(()=>{c?w():g&&o||k()},[c,k,g,o,w]);const P=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&S()&&(r||(t.stopPropagation(),l&&l(t,"escapeKeyDown")))},C=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&l&&l(t,"backdropClick")};return{getRootProps:(t={})=>{const r=Ws(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n={...r,...t};return{role:"presentation",...n,onKeyDown:P(n),ref:h}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:C(t),open:c}},getTransitionProps:()=>({onEnter:Xl(()=>{y(!1),i&&i()},s?.props.onEnter??rc),onExited:Xl(()=>{y(!0),a&&a(),o&&k()},s?.props.onExited??rc)}),rootRef:h,portalRef:O,isTopModal:S,exited:m,hasTransition:g}}({...E,rootRef:t}),_={...E,exited:N},z=(e=>{const{open:t,exited:r,classes:n}=e;return Ga({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},oc,n)})(_),L={};if(void 0===l.props.tabIndex&&(L.tabIndex="-1"),F){const{onEnter:e,onExited:t}=T();L.onEnter=e,L.onExited=t}const B={slots:{root:d.Root,backdrop:d.Backdrop,...C},slotProps:{...f,...P}},[$,V]=Wl("root",{ref:t,elementType:ic,externalForwardedProps:{...B,...M,component:u},getSlotProps:A,ownerState:_,className:nn(a,z?.root,!_.open&&_.exited&&z?.hidden)}),[W,H]=Wl("backdrop",{ref:o?.ref,elementType:n,externalForwardedProps:B,shouldForwardComponentProp:!0,additionalProps:o,getSlotProps:e=>D({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:nn(o?.className,z?.backdrop),ownerState:_});return x||k||F&&!N?(0,ce.jsx)(Vl,{ref:I,container:c,disablePortal:y,children:(0,ce.jsxs)($,{...V,children:[!b&&n?(0,ce.jsx)(W,{...H}):null,(0,ce.jsx)(Bl,{disableEnforceFocus:h,disableAutoFocus:p,disableRestoreFocus:g,isEnabled:R,open:k,children:G.cloneElement(l,L)})]})}):null}),lc=sc;function cc(e){return vs("MuiPaper",e)}bs("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const uc=ls("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})(js(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),dc=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiPaper"}),n=El(),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation",...c}=r,u={...r,component:i,elevation:a,square:s,variant:l},d=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return Ga({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},cc,o)})(u);return(0,ce.jsx)(uc,{as:i,ownerState:u,className:nn(d.root,o),ref:t,...c,style:{..."elevation"===l&&{"--Paper-shadow":(n.vars||n).shadows[a],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[a]},...!n.vars&&"dark"===n.palette.mode&&{"--Paper-overlay":`linear-gradient(${fi("#fff",Ca(a))}, ${fi("#fff",Ca(a))})`}},...c.style}})}),fc=dc;function pc(e){return vs("MuiPopover",e)}function hc(e,t){if(!e)return t;function r(e,t){const r={};return Object.keys(t).forEach(n=>{(function(e,t){const r=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&r>=65&&r<=90&&"function"==typeof t})(n,t[n])&&"function"==typeof e[n]&&(r[n]=(...r)=>{e[n](...r),t[n](...r)})}),r}if("function"==typeof e||"function"==typeof t)return n=>{const o="function"==typeof t?t(n):t,i="function"==typeof e?e({...n,...o}):e,a=nn(n?.className,o?.className,i?.className),s=r(i,o);return{...o,...i,...s,...!!a&&{className:a},...o?.style&&i?.style&&{style:{...o.style,...i.style}},...o?.sx&&i?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(i.sx)?i.sx:[i.sx]]}}};const n=t,o=r(e,n),i=nn(n?.className,e?.className);return{...t,...e,...o,...!!i&&{className:i},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function mc(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function yc(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function gc(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function vc(e){return"function"==typeof e?e():e}bs("MuiPopover",["root","paper"]);const bc=ls(lc,{name:"MuiPopover",slot:"Root"})({}),xc=ls(fc,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),wc=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiPopover"}),{action:n,anchorEl:o,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:s="anchorEl",children:l,className:c,container:u,elevation:d=8,marginThreshold:f=16,open:p,PaperProps:h={},slots:m={},slotProps:y={},transformOrigin:g={vertical:"top",horizontal:"left"},TransitionComponent:v,transitionDuration:b="auto",TransitionProps:x={},disableScrollLock:w=!1,...S}=r,O=G.useRef(),k={...r,anchorOrigin:i,anchorReference:s,elevation:d,marginThreshold:f,transformOrigin:g,TransitionComponent:v,transitionDuration:b,TransitionProps:x},P=(e=>{const{classes:t}=e;return Ga({root:["root"],paper:["paper"]},pc,t)})(k),C=G.useCallback(()=>{if("anchorPosition"===s)return a;const e=vc(o),t=(e&&1===e.nodeType?e:Ls(O.current).body).getBoundingClientRect();return{top:t.top+mc(t,i.vertical),left:t.left+yc(t,i.horizontal)}},[o,i.horizontal,i.vertical,a,s]),j=G.useCallback(e=>({vertical:mc(e,g.vertical),horizontal:yc(e,g.horizontal)}),[g.horizontal,g.vertical]),M=G.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=j(t);if("none"===s)return{top:null,left:null,transformOrigin:gc(r)};const n=C();let i=n.top-r.vertical,a=n.left-r.horizontal;const l=i+t.height,c=a+t.width,u=nl(vc(o)),d=u.innerHeight-f,p=u.innerWidth-f;if(null!==f&&i<f){const e=i-f;i-=e,r.vertical+=e}else if(null!==f&&l>d){const e=l-d;i-=e,r.vertical+=e}if(null!==f&&a<f){const e=a-f;a-=e,r.horizontal+=e}else if(c>p){const e=c-p;a-=e,r.horizontal+=e}return{top:`${Math.round(i)}px`,left:`${Math.round(a)}px`,transformOrigin:gc(r)}},[o,s,C,j,f]),[E,A]=G.useState(p),D=G.useCallback(()=>{const e=O.current;if(!e)return;const t=M(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,A(!0)},[M]);G.useEffect(()=>(w&&window.addEventListener("scroll",D),()=>window.removeEventListener("scroll",D)),[o,w,D]),G.useEffect(()=>{p&&D()}),G.useImperativeHandle(n,()=>p?{updatePosition:()=>{D()}}:null,[p,D]),G.useEffect(()=>{if(!p)return;const e=ul(()=>{D()}),t=nl(vc(o));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[o,p,D]);let T=b;const I={slots:{transition:v,...m},slotProps:{transition:x,paper:h,...y}},[R,N]=Wl("transition",{elementType:Fl,externalForwardedProps:I,ownerState:k,getSlotProps:e=>({...e,onEntering:(t,r)=>{e.onEntering?.(t,r),D()},onExited:t=>{e.onExited?.(t),A(!1)}}),additionalProps:{appear:!0,in:p}});"auto"!==b||R.muiSupportAuto||(T=void 0);const F=u||(o?Ls(vc(o)).body:void 0),[_,{slots:z,slotProps:L,...B}]=Wl("root",{ref:t,elementType:bc,externalForwardedProps:{...I,...S},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:m.backdrop},slotProps:{backdrop:hc("function"==typeof y.backdrop?y.backdrop(k):y.backdrop,{invisible:!0})},container:F,open:p},ownerState:k,className:nn(P.root,c)}),[$,V]=Wl("paper",{ref:O,className:P.paper,elementType:xc,externalForwardedProps:I,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:E?void 0:{opacity:0}},ownerState:k});return(0,ce.jsx)(_,{...B,...!$s(_)&&{slots:z,slotProps:L,disableScrollLock:w},children:(0,ce.jsx)(R,{...N,timeout:T,children:(0,ce.jsx)($,{...V,children:l})})})}),Sc=wc;function Oc(e){return vs("MuiMenu",e)}bs("MuiMenu",["root","paper","list"]);const kc={vertical:"top",horizontal:"right"},Pc={vertical:"top",horizontal:"left"},Cc=ls(Sc,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),jc=ls(xc,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Mc=ls(ll,{name:"MuiMenu",slot:"List"})({outline:0}),Ec=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiMenu"}),{autoFocus:n=!0,children:o,className:i,disableAutoFocusItem:a=!1,MenuListProps:s={},onClose:l,open:c,PaperProps:u={},PopoverClasses:d,transitionDuration:f="auto",TransitionProps:{onEntering:p,...h}={},variant:m="selectedMenu",slots:y={},slotProps:g={},...v}=r,b=Jr(),x={...r,autoFocus:n,disableAutoFocusItem:a,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:h,variant:m},w=(e=>{const{classes:t}=e;return Ga({root:["root"],paper:["paper"],list:["list"]},Oc,t)})(x),S=n&&!a&&c,O=G.useRef(null);let k=-1;G.Children.map(o,(e,t)=>{G.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===k)&&(k=t))});const P={slots:y,slotProps:{list:s,transition:h,paper:u,...g}},C=Ks({elementType:y.root,externalSlotProps:g.root,ownerState:x,className:[w.root,i]}),[j,M]=Wl("paper",{className:w.paper,elementType:jc,externalForwardedProps:P,shouldForwardComponentProp:!0,ownerState:x}),[E,A]=Wl("list",{className:nn(w.list,s.className),elementType:Mc,shouldForwardComponentProp:!0,externalForwardedProps:P,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{"Tab"===e.key&&(e.preventDefault(),l&&l(e,"tabKeyDown"))})(t),e.onKeyDown?.(t)}}),ownerState:x}),D="function"==typeof P.slotProps.transition?P.slotProps.transition(x):P.slotProps.transition;return(0,ce.jsx)(Cc,{onClose:l,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?kc:Pc,slots:{root:y.root,paper:j,backdrop:y.backdrop,...y.transition&&{transition:y.transition}},slotProps:{root:C,paper:M,backdrop:"function"==typeof g.backdrop?g.backdrop(x):g.backdrop,transition:{...D,onEntering:(...e)=>{((e,t)=>{O.current&&O.current.adjustStyleForScrollbar(e,{direction:b?"rtl":"ltr"}),p&&p(e,t)})(...e),D?.onEntering?.(...e)}}},open:c,ref:t,transitionDuration:f,ownerState:x,...v,classes:d,children:(0,ce.jsx)(E,{actions:O,autoFocus:n&&(-1===k||a),autoFocusItem:S,variant:m,...A,children:o})})}),Ac=Ec;function Dc(e){return vs("MuiNativeSelect",e)}const Tc=bs("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Ic=ls("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Tc.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Rc=ls(Ic,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:as,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Tc.multiple}`]:t.multiple}]}})({}),Nc=ls("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Tc.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Fc=ls(Nc,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fs(r.variant)}`],r.open&&t.iconOpen]}})({}),_c=G.forwardRef(function(e,t){const{className:r,disabled:n,error:o,IconComponent:i,inputRef:a,variant:s="standard",...l}=e,c={...e,disabled:n,variant:s,error:o},u=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return Ga({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${fs(r)}`,i&&"iconOpen",n&&"disabled"]},Dc,t)})(c);return(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)(Rc,{ownerState:c,className:nn(u.select,r),disabled:n,ref:a||t,...l}),e.multiple?null:(0,ce.jsx)(Fc,{as:i,ownerState:c,className:u.icon})]})});function zc(e){const{controlled:t,default:r,name:n,state:o="value"}=e,{current:i}=G.useRef(void 0!==t),[a,s]=G.useState(r);return[i?t:a,G.useCallback(e=>{i||s(e)},[])]}const Lc=zc;function Bc(e){return vs("MuiSelect",e)}const $c=bs("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Vc;const Wc=ls(Ic,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${$c.select}`]:t.select},{[`&.${$c.select}`]:t[r.variant]},{[`&.${$c.error}`]:t.error},{[`&.${$c.multiple}`]:t.multiple}]}})({[`&.${$c.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Hc=ls(Nc,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${fs(r.variant)}`],r.open&&t.iconOpen]}})({}),qc=ls("input",{shouldForwardProp:e=>is(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Uc(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Kc(e){return null==e||"string"==typeof e&&!e.trim()}const Yc=G.forwardRef(function(e,t){const{"aria-describedby":r,"aria-label":n,autoFocus:o,autoWidth:i,children:a,className:s,defaultOpen:l,defaultValue:c,disabled:u,displayEmpty:d,error:f=!1,IconComponent:p,inputRef:h,labelId:m,MenuProps:y={},multiple:g,name:v,onBlur:b,onChange:x,onClose:w,onFocus:S,onOpen:O,open:k,readOnly:P,renderValue:C,required:j,SelectDisplayProps:M={},tabIndex:E,type:A,value:D,variant:T="standard",...I}=e,[R,N]=Lc({controlled:D,default:c,name:"Select"}),[F,_]=Lc({controlled:k,default:l,name:"Select"}),z=G.useRef(null),L=G.useRef(null),[B,$]=G.useState(null),{current:V}=G.useRef(null!=k),[W,H]=G.useState(),q=el(t,h),U=G.useCallback(e=>{L.current=e,e&&$(e)},[]),K=B?.parentNode;G.useImperativeHandle(q,()=>({focus:()=>{L.current.focus()},node:z.current,value:R}),[R]),G.useEffect(()=>{l&&F&&B&&!V&&(H(i?null:K.clientWidth),L.current.focus())},[B,i]),G.useEffect(()=>{o&&L.current.focus()},[o]),G.useEffect(()=>{if(!m)return;const e=Ls(L.current).getElementById(m);if(e){const t=()=>{getSelection().isCollapsed&&L.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[m]);const Y=(e,t)=>{e?O&&O(t):w&&w(t),V||(H(i?null:K.clientWidth),_(e))},Q=G.Children.toArray(a),X=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(g){r=Array.isArray(R)?R.slice():[];const t=R.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),R!==r&&(N(r),x)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:v}}),x(o,e)}g||Y(!1,t)}},Z=null!==B&&F;let J,ee;delete I["aria-invalid"];const te=[];let re=!1,ne=!1;(ds({value:R})||d)&&(C?J=C(R):re=!0);const oe=Q.map(e=>{if(!G.isValidElement(e))return null;let t;if(g){if(!Array.isArray(R))throw new Error(Vn(2));t=R.some(t=>Uc(t,e.props.value)),t&&re&&te.push(e.props.children)}else t=Uc(R,e.props.value),t&&re&&(ee=e.props.children);return t&&(ne=!0),G.cloneElement(e,{"aria-selected":t?"true":"false",onClick:X(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});re&&(J=g?0===te.length?null:te.reduce((e,t,r)=>(e.push(t),r<te.length-1&&e.push(", "),e),[]):ee);let ie,ae=W;!i&&V&&B&&(ae=K.clientWidth),ie=void 0!==E?E:u?null:0;const se=M.id||(v?`mui-component-select-${v}`:void 0),le={...e,variant:T,value:R,open:Z,error:f},ue=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return Ga({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${fs(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},Bc,t)})(le),de={...y.PaperProps,..."function"==typeof y.slotProps?.paper?y.slotProps.paper(le):y.slotProps?.paper},fe={...y.MenuListProps,..."function"==typeof y.slotProps?.list?y.slotProps.list(le):y.slotProps?.list},pe=dn();return(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)(Wc,{as:"div",ref:U,tabIndex:ie,role:"combobox","aria-controls":Z?pe:void 0,"aria-disabled":u?"true":void 0,"aria-expanded":Z?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[m,se].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":j?"true":void 0,"aria-invalid":f?"true":void 0,onKeyDown:e=>{P||[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),Y(!0,e))},onMouseDown:u||P?null:e=>{0===e.button&&(e.preventDefault(),L.current.focus(),Y(!0,e))},onBlur:e=>{!Z&&b&&(Object.defineProperty(e,"target",{writable:!0,value:{value:R,name:v}}),b(e))},onFocus:S,...M,ownerState:le,className:nn(M.className,ue.select,s),id:se,children:Kc(J)?Vc||(Vc=(0,ce.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""})):J}),(0,ce.jsx)(qc,{"aria-invalid":f,value:Array.isArray(R)?R.join(","):R,name:v,ref:z,"aria-hidden":!0,onChange:e=>{const t=Q.find(t=>t.props.value===e.target.value);void 0!==t&&(N(t.props.value),x&&x(e,t))},tabIndex:-1,disabled:u,className:ue.nativeInput,autoFocus:o,required:j,...I,ownerState:le}),(0,ce.jsx)(Hc,{as:p,className:ue.icon,ownerState:le}),(0,ce.jsx)(Ac,{id:`menu-${v||""}`,anchorEl:K,open:Z,onClose:e=>{Y(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...y,slotProps:{...y.slotProps,list:{"aria-labelledby":m,role:"listbox","aria-multiselectable":g?"true":void 0,disableListWrap:!0,id:pe,...fe},paper:{...de,style:{minWidth:ae,...null!=de?de.style:null}}},children:oe})]})}),Gc=Yc;function Qc(e){return vs("MuiSvgIcon",e)}bs("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Xc=ls("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${fs(r.color)}`],t[`fontSize${fs(r.fontSize)}`]]}})(js(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Zc=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24",...f}=r,p=G.isValidElement(n)&&"svg"===n.type,h={...r,color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:p},m={};c||(m.viewBox=d);const y=(e=>{const{color:t,fontSize:r,classes:n}=e;return Ga({root:["root","inherit"!==t&&`color${fs(t)}`,`fontSize${fs(r)}`]},Qc,n)})(h);return(0,ce.jsxs)(Xc,{as:a,className:nn(y.root,o),focusable:"false",color:l,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t,...m,...f,...p&&n.props,ownerState:h,children:[p?n.props.children:n,u?(0,ce.jsx)("title",{children:u}):null]})});Zc.muiName="SvgIcon";const Jc=Zc;function eu(e,t){function r(t,r){return(0,ce.jsx)(Jc,{"data-testid":void 0,ref:r,...t,children:e})}return r.muiName=Jc.muiName,G.memo(G.forwardRef(r))}const tu=eu((0,ce.jsx)("path",{d:"M7 10l5 5 5-5z"}));function ru(e){return parseInt(e,10)||0}const nu={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function ou(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const iu=G.forwardRef(function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:i,value:a,...s}=e,{current:l}=G.useRef(null!=a),c=G.useRef(null),u=Bs(t,c),d=G.useRef(null),f=G.useRef(null),p=G.useCallback(()=>{const t=c.current,r=f.current;if(!t||!r)return;const i=rl(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=i.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const a=i.boxSizing,s=ru(i.paddingBottom)+ru(i.paddingTop),l=ru(i.borderBottomWidth)+ru(i.borderTopWidth),u=r.scrollHeight;r.value="x";const d=r.scrollHeight;let p=u;return o&&(p=Math.max(Number(o)*d,p)),n&&(p=Math.min(Number(n)*d,p)),p=Math.max(p,d),{outerHeightStyle:p+("border-box"===a?s+l:0),overflowing:Math.abs(p-u)<=1}},[n,o,e.placeholder]),h=Ql(()=>{const e=c.current,t=p();if(!e||!t||ou(t))return!1;const r=t.outerHeightStyle;return null!=d.current&&d.current!==r}),m=G.useCallback(()=>{const e=c.current,t=p();if(!e||!t||ou(t))return;const r=t.outerHeightStyle;d.current!==r&&(d.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""},[p]),y=G.useRef(-1);return ln(()=>{const e=cl(m),t=c?.current;if(!t)return;const r=rl(t);let n;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(()=>{h()&&(n.unobserve(t),cancelAnimationFrame(y.current),m(),y.current=requestAnimationFrame(()=>{n.observe(t)}))}),n.observe(t)),()=>{e.clear(),cancelAnimationFrame(y.current),r.removeEventListener("resize",e),n&&n.disconnect()}},[p,m,h]),ln(()=>{m()}),(0,ce.jsxs)(G.Fragment,{children:[(0,ce.jsx)("textarea",{value:a,onChange:e=>{l||m();const t=e.target,n=t.value.length,o=t.value.endsWith("\n"),i=t.selectionStart===n;o&&i&&t.setSelectionRange(n,n),r&&r(e)},ref:u,rows:o,style:i,...s}),(0,ce.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:{...nu,...i,paddingTop:0,paddingBottom:0}})]})}),au=iu;function su(e){const{sx:t,...r}=e,{systemProps:n,otherProps:o}=(e=>{const t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??zo;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return Dn(r)?{...n,...r}:n}:{...n,...t},{...o,sx:i}}const lu=function(e){return(0,ce.jsx)(Uo,{...e,defaultTheme:os,themeId:Qo})};function cu(e){return vs("MuiInputBase",e)}const uu=bs("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var du;const fu=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${fs(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},pu=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},hu=ls("div",{name:"MuiInputBase",slot:"Root",overridesResolver:fu})(js(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${uu.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),mu=ls("input",{name:"MuiInputBase",slot:"Input",overridesResolver:pu})(js(({theme:e})=>{const t="light"===e.palette.mode,r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},n={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${uu.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${uu.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),yu=function(e){return function(t){return(0,ce.jsx)(lu,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),gu=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:o,autoFocus:i,className:a,color:s,components:l={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,error:h,fullWidth:m=!1,id:y,inputComponent:g="input",inputProps:v={},inputRef:b,margin:x,maxRows:w,minRows:S,multiline:O=!1,name:k,onBlur:P,onChange:C,onClick:j,onFocus:M,onKeyDown:E,onKeyUp:A,placeholder:D,readOnly:T,renderSuffix:I,rows:R,size:N,slotProps:F={},slots:_={},startAdornment:z,type:L="text",value:B,...$}=r,V=null!=v.value?v.value:B,{current:W}=G.useRef(null!=V),H=G.useRef(),q=G.useCallback(e=>{},[]),U=el(H,b,v.ref,q),[K,Y]=G.useState(!1),Q=Ps(),X=ks({props:r,muiFormControl:Q,states:["color","disabled","error","hiddenLabel","size","required","filled"]});X.focused=Q?Q.focused:K,G.useEffect(()=>{!Q&&d&&K&&(Y(!1),P&&P())},[Q,d,K,P]);const Z=Q&&Q.onFilled,J=Q&&Q.onEmpty,ee=G.useCallback(e=>{ds(e)?Z&&Z():J&&J()},[Z,J]);tl(()=>{W&&ee({value:V})},[V,ee,W]),G.useEffect(()=>{ee(H.current)},[]);let te=g,re=v;O&&"input"===te&&(re=R?{type:void 0,minRows:R,maxRows:R,...re}:{type:void 0,maxRows:w,minRows:S,...re},te=au),G.useEffect(()=>{Q&&Q.setAdornedStart(Boolean(z))},[Q,z]);const ne={...r,color:X.color||"primary",disabled:X.disabled,endAdornment:p,error:X.error,focused:X.focused,formControl:Q,fullWidth:m,hiddenLabel:X.hiddenLabel,multiline:O,size:X.size,startAdornment:z,type:L},oe=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:h}=e;return Ga({root:["root",`color${fs(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&`size${fs(f)}`,u&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},cu,t)})(ne),ie=_.root||l.Root||hu,ae=F.root||c.root||{},se=_.input||l.Input||mu;return re={...re,...F.input??c.input},(0,ce.jsxs)(G.Fragment,{children:[!f&&"function"==typeof yu&&(du||(du=(0,ce.jsx)(yu,{}))),(0,ce.jsxs)(ie,{...ae,ref:t,onClick:e=>{H.current&&e.currentTarget===e.target&&H.current.focus(),j&&j(e)},...$,...!$s(ie)&&{ownerState:{...ne,...ae.ownerState}},className:nn(oe.root,ae.className,a,T&&"MuiInputBase-readOnly"),children:[z,(0,ce.jsx)(hs.Provider,{value:null,children:(0,ce.jsx)(se,{"aria-invalid":X.error,"aria-describedby":n,autoComplete:o,autoFocus:i,defaultValue:u,disabled:X.disabled,id:y,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:k,placeholder:D,readOnly:T,required:X.required,rows:R,value:V,onKeyDown:E,onKeyUp:A,type:L,...re,...!$s(se)&&{as:te,ownerState:{...ne,...re.ownerState}},ref:U,className:nn(oe.input,re.className,T&&"MuiInputBase-readOnly"),onBlur:e=>{P&&P(e),v.onBlur&&v.onBlur(e),Q&&Q.onBlur?Q.onBlur(e):Y(!1)},onChange:(e,...t)=>{if(!W){const t=e.target||H.current;if(null==t)throw new Error(Vn(1));ee({value:t.value})}v.onChange&&v.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{M&&M(e),v.onFocus&&v.onFocus(e),Q&&Q.onFocus?Q.onFocus(e):Y(!0)}})}),p,I?I({...X,startAdornment:z}):null]})]})}),vu=gu;function bu(e){return vs("MuiInput",e)}const xu={...uu,...bs("MuiInput",["root","underline","input"])},wu=ls(hu,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...fu(e,t),!r.disableUnderline&&t.underline]}})(js(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${xu.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${xu.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${xu.disabled}, .${xu.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${xu.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ms()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),Su=ls(mu,{name:"MuiInput",slot:"Input",overridesResolver:pu})({}),Ou=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiInput"}),{disableUnderline:n=!1,components:o={},componentsProps:i,fullWidth:a=!1,inputComponent:s="input",multiline:l=!1,slotProps:c,slots:u={},type:d="text",...f}=r,p=(e=>{const{classes:t,disableUnderline:r}=e,n=Ga({root:["root",!r&&"underline"],input:["input"]},bu,t);return{...t,...n}})(r),h={root:{ownerState:{disableUnderline:n}}},m=c??i?In(c??i,h):h,y=u.root??o.Root??wu,g=u.input??o.Input??Su;return(0,ce.jsx)(vu,{slots:{root:y,input:g},slotProps:m,fullWidth:a,inputComponent:s,multiline:l,ref:t,type:d,...f,classes:p})});Ou.muiName="Input";const ku=Ou;function Pu(e){return vs("MuiFilledInput",e)}const Cu={...uu,...bs("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},ju=ls(hu,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...fu(e,t),!r.disableUnderline&&t.underline]}})(js(({theme:e})=>{const t="light"===e.palette.mode,r=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n}},[`&.${Cu.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n},[`&.${Cu.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Cu.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Cu.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Cu.disabled}, .${Cu.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Cu.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ms()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),Mu=ls(mu,{name:"MuiFilledInput",slot:"Input",overridesResolver:pu})(js(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Eu=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiFilledInput"}),{disableUnderline:n=!1,components:o={},componentsProps:i,fullWidth:a=!1,hiddenLabel:s,inputComponent:l="input",multiline:c=!1,slotProps:u,slots:d={},type:f="text",...p}=r,h={...r,disableUnderline:n,fullWidth:a,inputComponent:l,multiline:c,type:f},m=(e=>{const{classes:t,disableUnderline:r,startAdornment:n,endAdornment:o,size:i,hiddenLabel:a,multiline:s}=e,l=Ga({root:["root",!r&&"underline",n&&"adornedStart",o&&"adornedEnd","small"===i&&`size${fs(i)}`,a&&"hiddenLabel",s&&"multiline"],input:["input"]},Pu,t);return{...t,...l}})(r),y={root:{ownerState:h},input:{ownerState:h}},g=u??i?In(y,u??i):y,v=d.root??o.Root??ju,b=d.input??o.Input??Mu;return(0,ce.jsx)(vu,{slots:{root:v,input:b},slotProps:g,fullWidth:a,inputComponent:l,multiline:c,ref:t,type:f,...p,classes:m})});Eu.muiName="Input";const Au=Eu;var Du;const Tu=ls("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:as})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Iu=ls("legend",{name:"MuiNotchedOutlined",shouldForwardProp:as})(js(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function Ru(e){return vs("MuiOutlinedInput",e)}const Nu={...uu,...bs("MuiOutlinedInput",["root","notchedOutline","input"])},Fu=ls(hu,{shouldForwardProp:e=>as(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:fu})(js(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Nu.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Nu.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Nu.focused} .${Nu.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Ms()).map(([t])=>({props:{color:t},style:{[`&.${Nu.focused} .${Nu.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Nu.error} .${Nu.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Nu.disabled} .${Nu.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),_u=ls(function(e){const{children:t,classes:r,className:n,label:o,notched:i,...a}=e,s=null!=o&&""!==o,l={...e,notched:i,withLabel:s};return(0,ce.jsx)(Tu,{"aria-hidden":!0,className:n,ownerState:l,...a,children:(0,ce.jsx)(Iu,{ownerState:l,children:s?(0,ce.jsx)("span",{children:o}):Du||(Du=(0,ce.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline"})(js(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),zu=ls(mu,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:pu})(js(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),Lu=G.forwardRef(function(e,t){const r=cs({props:e,name:"MuiOutlinedInput"}),{components:n={},fullWidth:o=!1,inputComponent:i="input",label:a,multiline:s=!1,notched:l,slots:c={},slotProps:u={},type:d="text",...f}=r,p=(e=>{const{classes:t}=e,r=Ga({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ru,t);return{...t,...r}})(r),h=Ps(),m=ks({props:r,muiFormControl:h,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),y={...r,color:m.color||"primary",disabled:m.disabled,error:m.error,focused:m.focused,formControl:h,fullWidth:o,hiddenLabel:m.hiddenLabel,multiline:s,size:m.size,type:d},g=c.root??n.Root??Fu,v=c.input??n.Input??zu,[b,x]=Wl("notchedOutline",{elementType:_u,className:p.notchedOutline,shouldForwardComponentProp:!0,ownerState:y,externalForwardedProps:{slots:c,slotProps:u},additionalProps:{label:null!=a&&""!==a&&m.required?(0,ce.jsxs)(G.Fragment,{children:[a," ","*"]}):a}});return(0,ce.jsx)(vu,{slots:{root:g,input:v},slotProps:u,renderSuffix:e=>(0,ce.jsx)(b,{...x,notched:void 0!==l?l:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:o,inputComponent:i,multiline:s,ref:t,type:d,...f,classes:{...p,notchedOutline:null}})});Lu.muiName="Input";const Bu=Lu,$u={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>as(e)&&"variant"!==e},Vu=ls(ku,$u)(""),Wu=ls(Bu,$u)(""),Hu=ls(Au,$u)(""),qu=G.forwardRef(function(e,t){const r=cs({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:i={},className:a,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:c=tu,id:u,input:d,inputProps:f,label:p,labelId:h,MenuProps:m,multiple:y=!1,native:g=!1,onClose:v,onOpen:b,open:x,renderValue:w,SelectDisplayProps:S,variant:O="outlined",...k}=r,P=g?_c:Gc,C=ks({props:r,muiFormControl:Ps(),states:["variant","error"]}),j=C.variant||O,M={...r,variant:j,classes:i},E=(e=>{const{classes:t}=e,r=Ga({root:["root"]},Bc,t);return{...t,...r}})(M),{root:A,...D}=E,T=d||{standard:(0,ce.jsx)(Vu,{ownerState:M}),outlined:(0,ce.jsx)(Wu,{label:p,ownerState:M}),filled:(0,ce.jsx)(Hu,{ownerState:M})}[j],I=el(t,_s(T));return(0,ce.jsx)(G.Fragment,{children:G.cloneElement(T,{inputComponent:P,inputProps:{children:o,error:C.error,IconComponent:c,variant:j,type:void 0,multiple:y,...g?{id:u}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:h,MenuProps:m,onClose:v,onOpen:b,open:x,renderValue:w,SelectDisplayProps:{id:u,...S}},...f,classes:f?In(D,f.classes):D,...d?d.props.inputProps:{}},...(y&&g||l)&&"outlined"===j?{notched:!0}:{},ref:I,className:nn(T.props.className,a,E.root),...!d&&{variant:j},...k})})});qu.muiName="Select";const Uu=qu;function Ku(e){try{return e.matches(":focus-visible")}catch(e){}return!1}const Yu=Ql;class Gu{static create(){return new Gu}static use(){const e=fl(Gu.create).current,[t,r]=G.useState(!1);return e.shouldMount=t,e.setShouldMount=r,G.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function Qu(e,t){var r=Object.create(null);return e&&G.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=function(e){return t&&(0,G.isValidElement)(e)?t(e):e}(e)}),r}function Xu(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Zu(e,t,r){var n=Qu(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var c=o[l][n];s[o[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if((0,G.isValidElement)(a)){var s=i in t,l=i in n,c=t[i],u=(0,G.isValidElement)(c)&&!c.props.in;!l||s&&!u?l||!s||u?l&&s&&(0,G.isValidElement)(c)&&(o[i]=(0,G.cloneElement)(a,{onExited:r.bind(null,a),in:c.props.in,exit:Xu(a,"exit",e),enter:Xu(a,"enter",e)})):o[i]=(0,G.cloneElement)(a,{in:!1}):o[i]=(0,G.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:Xu(a,"exit",e),enter:Xu(a,"enter",e)})}}),o}var Ju=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},ed=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}vl(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,Qu(r.children,function(e){return(0,G.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:Xu(e,"appear",r),enter:Xu(e,"enter",r),exit:Xu(e,"exit",r)})})):Zu(e,o,i),firstRender:!1}},r.handleExited=function(e,t){var r=Qu(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=fn({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=yl(e,["component","childFactory"]),o=this.state.contextValue,i=Ju(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?X().createElement(bl.Provider,{value:o},i):X().createElement(bl.Provider,{value:o},X().createElement(t,n,i))},t}(X().Component);ed.propTypes={},ed.defaultProps={component:"div",childFactory:function(e){return e}};const td=ed,rd=bs("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),nd=Mn`
|
|
3
3
|
0% {
|
|
4
4
|
transform: scale(0);
|
|
5
5
|
opacity: 0.1;
|