From cf5e91ef48cb5199c146accf3e2b720e8826cfdf Mon Sep 17 00:00:00 2001 From: "mimo.oyn" Date: Fri, 20 Dec 2024 18:21:34 +0800 Subject: [PATCH] fix: [skip e2e]update webui (#36621) Signed-off-by: mimo.oyn --- ...{index-BztOeGUi.css => index-Cpi1DtPq.css} | 2 +- internal/http/webui/assets/index-D2OgaNZi.js | 1502 +++++++++++++++++ internal/http/webui/assets/index-dqR7O4hf.js | 1502 ----------------- internal/http/webui/index.html | 23 +- 4 files changed, 1520 insertions(+), 1509 deletions(-) rename internal/http/webui/assets/{index-BztOeGUi.css => index-Cpi1DtPq.css} (65%) create mode 100644 internal/http/webui/assets/index-D2OgaNZi.js delete mode 100644 internal/http/webui/assets/index-dqR7O4hf.js diff --git a/internal/http/webui/assets/index-BztOeGUi.css b/internal/http/webui/assets/index-Cpi1DtPq.css similarity index 65% rename from internal/http/webui/assets/index-BztOeGUi.css rename to internal/http/webui/assets/index-Cpi1DtPq.css index 350d69728c819..bfda195f0fbdc 100644 --- a/internal/http/webui/assets/index-BztOeGUi.css +++ b/internal/http/webui/assets/index-Cpi1DtPq.css @@ -1 +1 @@ -._wrapper_f0zdf_1{line-height:1}button._zButton_2ljo4_3{border-radius:6px;line-height:135%;font-weight:500;box-sizing:border-box;box-shadow:none;text-transform:inherit;min-width:80px}button._zButton_2ljo4_3:hover{box-shadow:none}button._zButton_2ljo4_3._disabled_2ljo4_16{opacity:.5;cursor:not-allowed}button._zButton_2ljo4_3.zSplitIconButton{min-width:24px}button._zButton_2ljo4_3._xlarge_2ljo4_25.zSplitIconButton,button._zButton_2ljo4_3._large_2ljo4_26.zSplitIconButton,button._zButton_2ljo4_3._medium_2ljo4_27.zSplitIconButton{padding:10px}button._zButton_2ljo4_3._xlarge_2ljo4_25 svg,button._zButton_2ljo4_3._large_2ljo4_26 svg,button._zButton_2ljo4_3._medium_2ljo4_27 svg{width:16px;height:16px}button._zButton_2ljo4_3._xlarge_2ljo4_25{padding:15.5px 20px;height:50px;font-size:14px;border-radius:8px}button._zButton_2ljo4_3._large_2ljo4_26{padding:10.5px 20px;height:40px;font-size:14px;border-radius:8px}button._zButton_2ljo4_3._medium_2ljo4_27{padding:8.5px 20px;height:36px;font-size:14px;border-radius:8px}button._zButton_2ljo4_3._small_2ljo4_58{padding:5px 12px;height:28px;font-size:13px;min-width:80px}button._zButton_2ljo4_3._small_2ljo4_58.zSplitIconButton{padding:7px;min-width:24px}button._zButton_2ljo4_3._small_2ljo4_58 svg{width:14px;height:14px}button._zButton_2ljo4_3._tiny_2ljo4_74{padding:3.5px 12px;height:24px;font-size:12px;font-weight:400;min-width:80px}button._zButton_2ljo4_3._tiny_2ljo4_74.zSplitIconButton{padding:6px;min-width:24px}button._zButton_2ljo4_3._tiny_2ljo4_74 svg{width:12px;height:12px}button._zButton_2ljo4_3._contained_2ljo4_92{color:#fff;background-color:#3f46ff}button._zButton_2ljo4_3._contained_2ljo4_92:hover{background-color:#181eca}button._zButton_2ljo4_3._contained_2ljo4_92:active{background-color:#141c63}button._zButton_2ljo4_3._outlined_2ljo4_105{color:#1d2939;background-color:#fff;border-color:#e4eaf1;box-shadow:0 1px 2px #21252c14}button._zButton_2ljo4_3._outlined_2ljo4_105._noShadow_2ljo4_111{box-shadow:none}button._zButton_2ljo4_3._outlined_2ljo4_105:hover{background-color:#f9f9fb}button._zButton_2ljo4_3._outlined_2ljo4_105._disabled_2ljo4_16{opacity:.5;background-color:#f9f9fb;cursor:not-allowed}button._zButton_2ljo4_3._danger_2ljo4_126{color:#fff;background-color:#f26868}button._zButton_2ljo4_3._danger_2ljo4_126:hover{background-color:#991b1b}button._zButton_2ljo4_3._textBlue_2ljo4_135{color:#3f46ff;min-width:0}button._zButton_2ljo4_3._textBlue_2ljo4_135._small_2ljo4_58{font-weight:400}button._zButton_2ljo4_3._textBlue_2ljo4_135._noMargin_2ljo4_143{margin:0;padding:0;height:auto}button._zButton_2ljo4_3._textBlue_2ljo4_135:hover{color:#181eca;background-color:#f2f3ff}button._zButton_2ljo4_3._textBlue_2ljo4_135:hover._noMargin_2ljo4_143{background-color:transparent}button._zButton_2ljo4_3._textBlack_2ljo4_159{color:#1d2939;min-width:0}button._zButton_2ljo4_3._textBlack_2ljo4_159._small_2ljo4_58{font-weight:400}button._zButton_2ljo4_3._textBlack_2ljo4_159._noMargin_2ljo4_143{margin:0;padding:0;height:auto}button._zButton_2ljo4_3._textBlack_2ljo4_159:hover{background-color:#f0f2f4}button._zButton_2ljo4_3._textBlack_2ljo4_159:hover._noMargin_2ljo4_143{color:#5d6d85;background-color:transparent}button._zButton_2ljo4_3._textGhost_2ljo4_183{padding:0;font-weight:400;color:#3f46ff;background-color:transparent;min-width:0}button._zButton_2ljo4_3._textGhost_2ljo4_183:hover{color:#181eca}button._zButton_2ljo4_3._text_2ljo4_135{color:#5d6d85;background-color:transparent;border:1px solid transparent}button._zButton_2ljo4_3._text_2ljo4_135:hover{color:#1d2939;border-color:#e4eaf1}button._zButton_2ljo4_3._link_2ljo4_206{color:#3f46ff;background-color:transparent;border:none}button._zButton_2ljo4_3._link_2ljo4_206:hover{color:#3f46ff;text-decoration:underline;background-color:transparent}button._zButton_2ljo4_3.MuiButtonGroup-firstButton{border-top-right-radius:0;border-bottom-right-radius:0}button._zButton_2ljo4_3.MuiButtonGroup-firstButton._contained_2ljo4_92{border-right:1px solid white}button._zButton_2ljo4_3.MuiButtonGroup-middleButton{border-radius:0}button._zButton_2ljo4_3.MuiButtonGroup-middleButton._contained_2ljo4_92{border-right:1px solid white;margin-left:0}button._zButton_2ljo4_3.MuiButtonGroup-lastButton{border-top-left-radius:0;border-bottom-left-radius:0}button._zButton_2ljo4_3.MuiButtonGroup-lastButton._contained_2ljo4_92{margin-left:0}button._zIconButton_1y2v2_3{border-radius:6px;color:#1d2939}button._zIconButton_1y2v2_3._disabled_1y2v2_7{color:#1d2939;cursor:not-allowed;opacity:.5}button._zIconButton_1y2v2_3._withMargin_1y2v2_13:hover{background-color:#f0f2f4}button._zIconButton_1y2v2_3._noMargin_1y2v2_19{padding:0}button._zIconButton_1y2v2_3._noMargin_1y2v2_19:hover{background-color:transparent;color:#5d6d85}button._zIconButton_1y2v2_3._withBorder_1y2v2_28{border:1px solid #e4eaf1;box-shadow:0 1px 2px #21252c14}button._zIconButton_1y2v2_3._withBorder_1y2v2_28:hover{background-color:#f9f9fb}button._zIconButton_1y2v2_3._large_1y2v2_37 svg,button._zIconButton_1y2v2_3._medium_1y2v2_38 svg{width:16px;height:16px}button._zIconButton_1y2v2_3._large_1y2v2_37._withMargin_1y2v2_13,button._zIconButton_1y2v2_3._medium_1y2v2_38._withMargin_1y2v2_13{width:36px;height:36px;padding:10px}button._zIconButton_1y2v2_3._small_1y2v2_49 svg{width:14px;height:14px}button._zIconButton_1y2v2_3._small_1y2v2_49._withMargin_1y2v2_13{width:28px;height:28px;padding:7px}button._zIconButton_1y2v2_3._xs_1y2v2_60 svg{width:12px;height:12px}button._zIconButton_1y2v2_3._xs_1y2v2_60._withMargin_1y2v2_13{width:24px;height:24px;padding:6px}._button_n3sxg_3{display:flex;align-items:center;justify-content:flex-end;padding:8px;border-radius:0 8px 8px 0;background-color:#f9f9fb}._button_n3sxg_3:hover{cursor:pointer}._button_n3sxg_3._disabled_n3sxg_16{padding:8px 12px}._button_n3sxg_3._disabled_n3sxg_16:hover{cursor:default}._button_n3sxg_3._disabled_n3sxg_16 ._text_n3sxg_23{min-width:-moz-fit-content;min-width:fit-content;z-index:10;color:#5d6d85}._button_n3sxg_3._parentInputDisabled_n3sxg_30 ._text_n3sxg_23{color:#a6b1be}._button_n3sxg_3 ._text_n3sxg_23{text-align:right;min-width:54px}._button_n3sxg_3 ._icon_n3sxg_41{margin-left:4px}._smallButton_n3sxg_46{padding:4px}._input_n3sxg_50 div.MuiInputBase-root{padding-right:0}._inputFocus_n3sxg_56 fieldset.MuiOutlinedInput-notchedOutline{border-width:1.5px;border-color:#3f46ff}div._paper_n3sxg_63{box-shadow:0 4px 10px #1d293914}._menu_n3sxg_67{margin-top:4px;border-radius:4px}._menu_n3sxg_67 ._menuItem_n3sxg_71{padding:6px 16px}._menu_n3sxg_67 ._menuItem_n3sxg_71.MuiMenuItem-root{min-width:126px}._menu_n3sxg_67 ._menuItem_n3sxg_71.MuiMenuItem-root:hover{background-color:#6066fd!important}._menu_n3sxg_67 ._selected_n3sxg_83{color:#3f46ff;background-color:#fff!important}._menuList_n3sxg_89{padding:4px 0}label._root_903dp_3{margin-left:0}label._root_903dp_3 ._label_903dp_6{line-height:20px}label._root_903dp_3.Mui-disabled{pointer-events:none}label._root_903dp_3.Mui-disabled ._label_903dp_6{opacity:.5}label._root_903dp_3:hover ._checkboxIcon_903dp_19 ._inner_903dp_20{border-color:#3f46ff;box-shadow:0 0 0 2px #f2f3ff}label._root_903dp_3 ._checkbox_903dp_19{padding:0 8px 0 0}._checkbox_903dp_19 rect:first-of-type{stroke:#fff;stroke-width:2px}._checkbox_903dp_19:hover ._checkboxIcon_903dp_19 ._inner_903dp_20{border-color:#3f46ff;box-shadow:0 0 0 2px #f2f3ff}._checkbox_903dp_19._disabledCheckbox_903dp_49{pointer-events:none}._checkbox_903dp_19 ._checkboxIcon_903dp_19{display:inline-flex;justify-content:center;align-items:center;width:20px;height:20px;box-sizing:border-box}._checkbox_903dp_19 ._checkboxIcon_903dp_19 ._inner_903dp_20{display:inline-flex;justify-content:center;align-items:center;width:16px;height:16px;box-sizing:border-box;border:1px solid #cdd8e8;border-radius:4px;box-shadow:0 1px 2px #21252c14;transition:border-color .2s ease-in-out,background-color .2s,box-shadow .1s ease-in-out}._checkbox_903dp_19 ._checkboxIcon_903dp_19._disabled_903dp_49{opacity:.5}._checkbox_903dp_19 ._checkboxIcon_903dp_19._disabled_903dp_49 ._inner_903dp_20{background-color:#f0f2f4}._checkbox_903dp_19 ._checkboxIcon_903dp_19._indeterminate_903dp_83 ._inner_903dp_20,._checkbox_903dp_19 ._checkboxIcon_903dp_19._checked_903dp_84 ._inner_903dp_20{border-color:#3f46ff;background-color:#3f46ff}._toolbar_158fz_3{display:flex;align-items:center;min-height:24px}._toolbar_158fz_3 div._actions_158fz_8{display:flex;align-items:center;gap:8px;margin-left:24px}._toolbar_158fz_3 ._selectLabel_158fz_16,._toolbar_158fz_3 ._select_158fz_16{color:#5d6d85}._toolbar_158fz_3 ._displayedRows_158fz_21,._toolbar_158fz_3 ._displayedRows_158fz_21 strong{font-weight:500}._toolbar_158fz_3 ._selectRoot_158fz_29{margin-left:12px;margin-right:24px}._toolbar_158fz_3 ._selectRoot_158fz_29 div._select_158fz_16{padding:0 4px 0 0;font-weight:500}._toolbar_158fz_3 ._selectRoot_158fz_29 div._select_158fz_16:focus{background-color:transparent}._toolbar_158fz_3 ._selectRoot_158fz_29 ._selectIcon_158fz_45{top:auto;bottom:auto}._toolbar_158fz_3 ._selectRoot_158fz_29 ._selectIcon_158fz_45 path{fill:#5d6d85}button._iconBtnRoot_158fz_56{padding:6px;border-radius:4px;border:1px solid #e4eaf1;color:#5d6d85;background-color:#fff;box-shadow:0 1px 2px #21252c14}button._iconBtnRoot_158fz_56 path{fill:#5d6d85}button._iconBtnRoot_158fz_56._iconBtnDisabled_158fz_68{color:#f0f2f4;border-color:#f0f2f4}button._iconBtnRoot_158fz_56._iconBtnDisabled_158fz_68 path{fill:#cdd8e8}button._iconBtnRoot_158fz_56:hover{background-color:#f9f9fb}._container_a4vk2_3:hover ._checkedCircle_a4vk2_5:after{background-color:#3f46ff;outline:#e4eaf1 solid 2px;box-shadow:none}._container_a4vk2_3 ._checkedCircle_a4vk2_5{position:relative;display:inline-block;width:20px;height:20px}._container_a4vk2_3 ._checkedCircle_a4vk2_5:after{position:absolute;top:2px;left:2px;content:"";display:inline-block;width:16px;height:16px;background-color:#cdd8e8;border-radius:50%;z-index:0;transition:background-color .1s ease-in-out;box-shadow:0 1px 2px #21252c14}._container_a4vk2_3 ._checkedCircle_a4vk2_5:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);content:"";display:inline-block;width:14px;height:14px;background-color:#fff;border-radius:50%;z-index:1;transition:all .1s ease-in-out}._container_a4vk2_3 ._checkedCircle_a4vk2_5._checked_a4vk2_5:after{background-color:#3f46ff}._container_a4vk2_3 ._checkedCircle_a4vk2_5._checked_a4vk2_5:before{width:6px;height:6px}._container_a4vk2_3 ._checkedCircle_a4vk2_5._disabled_a4vk2_60:before{background-color:#f0f2f4}._btnWrapper_mwgh3_3{display:flex;justify-content:flex-start;margin-top:16px}._titleWrapper_mwgh3_9{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;height:24px}._empty_1tvs0_3{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px 0}div._text_1tvs0_13{margin-top:4px;color:#a6b1be;word-wrap:break-word}._root_71ors_3{background-color:#fff}._root_71ors_3._withBorder_71ors_6{box-sizing:border-box;padding:8px 24px 16px;border-radius:12px;border:1px solid #e4eaf1;box-shadow:0 1px 2px #21252c14}._tableContainer_71ors_15{width:100%;overflow:auto;background-color:#fff}._resizer_71ors_21{position:absolute;top:0;height:50%;right:0;width:3px;background:#f9f9fb;border-bottom:1px solid transparent;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none;transform:translateY(50%);opacity:.7}._cell_71ors_35{white-space:nowrap}th._headerCell_71ors_53,td._bodyCell_71ors_54{padding:0 12px;line-height:135%;border-color:#e4eaf1}th._headerCell_71ors_53{height:44px}td._bodyCell_71ors_54{height:52px}td._bodyCell_71ors_54._pinnedRight_71ors_67:before,td._bodyCell_71ors_54._pinnedLeft_71ors_68:before{content:" ";position:absolute;top:0;bottom:0;width:30px}td._bodyCell_71ors_54._pinnedRight_71ors_67:before{left:-30px;box-shadow:inset -10px 0 8px -8px #f4f4f9}td._bodyCell_71ors_54._pinnedLeft_71ors_68:before{right:-30px;box-shadow:inset 10px 0 8px -8px #f4f4f9}._rowWhenHover_71ors_92{background-color:#fff}._rowWhenHover_71ors_92:hover{background-color:#f9f9fb}._rowWhenHover_71ors_92:hover td._bodyCell_71ors_54{background-color:#f9f9fb!important}td._emptyCell_71ors_103{height:83px;padding:0;border-color:#e4eaf1;text-align:center}tfoot._footer_71ors_110{display:flex;justify-content:space-between;align-items:center}tfoot._footer_71ors_110._hide_71ors_114{display:none}tfoot._footer_71ors_110._onlyPagination_71ors_117{justify-content:flex-end}._section_smkgl_1{width:80vw;min-width:800px;margin:0 auto}._section_smkgl_1 ._title_smkgl_6{padding-left:16px}._section_smkgl_1 ._separator_smkgl_9{border:none;border-bottom:1px solid rgb(236,236,238);margin:12px 0 24px}._section_smkgl_1+._section_smkgl_1{margin-top:64px}._filter-searcher_162nl_1{display:inline-flex;align-items:center}._filter-searcher-label_162nl_5{font-weight:500;margin-right:12px}._filter-searcher-input_162nl_9{margin-left:12px!important;width:240px!important}._status_450jl_1{color:#49de80;font-weight:500}._status_450jl_1._error_450jl_5{color:#f26868}._comp-tabs_450jl_9{margin-left:32px;margin-bottom:24px}._text-content_450jl_14{padding:8px;white-space:break-spaces}._member-list_450jl_19{padding:8px 0 8px 14px}._member-item-label_450jl_23{font-weight:500;color:#8c8c8c;margin-right:8px}._member-item-label_450jl_23:not(:first-of-type){margin-left:12px}._queryable_191jh_1{color:#49de80}._queryable_191jh_1._error_191jh_4{color:#f26868}._collection-filter_191jh_8{width:220px!important}._detail_191jh_12{width:0px!important;overflow:visible}._clear_191jh_17 path{fill:#8c8c8c}@keyframes _loading_191jh_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._json-detail-wrapper_191jh_29 ._json-detail-content_191jh_29{padding:12px 0 24px 24px}._json-detail-wrapper_191jh_29 ._json-detail-content_191jh_29._error_191jh_4{color:#f26868}._json-detail-wrapper_191jh_29 ._json-detail-loading_191jh_35{padding:12px 0 24px 24px;color:#d3d3d3}._json-detail-wrapper_191jh_29 ._json-detail-loading-icon_191jh_39{animation:_loading_191jh_1 1s linear infinite}._json-detail-wrapper_191jh_29 ._json-detail-loading-icon_191jh_39>path{fill:currentColor}._collection-filter-wrapper_191jh_46{display:flex;align-content:center;justify-content:flex-end;margin:0 0 24px}._collection-filter-wrapper_191jh_46>*{margin-left:32px!important}._json_12m13_1{width:100%;word-break:break-all;white-space:break-spaces}._noty-list_uuq1r_1{margin:24px 32px 0}._noty-list_uuq1r_1 .MuiCollapse-root:not(:first-child){margin-top:12px}._noty-list_uuq1r_1 ._noty-item-content_uuq1r_7 :not(:first-child){margin-left:8px}._text-content_1tkuh_1{padding:8px;white-space:break-spaces}._slow-requests_ezgri_1 ._sr-table_ezgri_1{margin-top:24px}._json-ellipsis_ezgri_5{cursor:pointer}._json-ellipsis-brace_ezgri_8{font-weight:500;color:#8c8c8c}._json-ellipsis-dot_ezgri_12{font-weight:500;margin:0 2px;color:#1493cc}._notice_ezgri_18{padding:0 32px}._json_ezgri_5{width:100%;word-break:break-all;white-space:break-spaces}._trigger_1f0gw_1{display:inline-flex;align-items:center;cursor:pointer}._trigger_1f0gw_1._opened_1f0gw_6{color:#1493cc}._trigger_1f0gw_1 .MuiSvgIcon-root{margin-left:4px}._tools-menu_1f0gw_13{margin-top:12px;opacity:1;transform:none;transition:opacity 315ms cubic-bezier(.4,0,.2,1),transform .21s cubic-bezier(.4,0,.2,1);top:44px;left:755px;transform-origin:282px 0px;box-shadow:0 1px 10px #6b798d4d!important}._menu-item-content_1f0gw_24{display:flex;align-items:center;font-size:14px;color:#1d2939}._menu-item-content_1f0gw_24 .MuiSvgIcon-root{margin-left:4px}._menu-item-content_1f0gw_24 .MuiSvgIcon-root path{fill:#8c8c8c}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}._header_y6xm8_7{width:100%;height:58px;margin:0 auto;padding-left:40px!important;padding-right:40px!important;border-bottom:1px solid rgb(236,236,238);display:flex;align-items:center;box-sizing:border-box}._header_y6xm8_7 ._nav_y6xm8_18{flex:1 1 auto;margin-left:40px}._header_y6xm8_7 ._nav-item_y6xm8_22{text-decoration:none;color:#00131ab3}._header_y6xm8_7 ._nav-item_y6xm8_22:hover,._header_y6xm8_7 ._nav-item_y6xm8_22._active_y6xm8_26{color:#1493cc}._header_y6xm8_7 ._nav-item_y6xm8_22:not(:first-child){margin-left:16px}._header_y6xm8_7 ._others_y6xm8_32{flex:0 0 auto}._header_y6xm8_7 ._zilliz-link_y6xm8_35{background-color:#00a1ea!important}._header_y6xm8_7 ._zilliz-link_y6xm8_35:hover{background-color:#1493cc!important}._header_y6xm8_7 ._zilliz-link-text_y6xm8_41{margin-right:4px}._content_y6xm8_45{padding-top:32px;padding-bottom:60px}.table-view{width:calc(100% - 64px);margin:0 32px}.table-view-searcher{margin:0 32px 16px auto!important;width:240px!important}.table-view-filter-searcher{display:flex;justify-content:flex-end;margin:0 32px 16px auto!important} +._wrapper_f0zdf_1{line-height:1}button._zButton_2ljo4_3{border-radius:6px;line-height:135%;font-weight:500;box-sizing:border-box;box-shadow:none;text-transform:inherit;min-width:80px}button._zButton_2ljo4_3:hover{box-shadow:none}button._zButton_2ljo4_3._disabled_2ljo4_16{opacity:.5;cursor:not-allowed}button._zButton_2ljo4_3.zSplitIconButton{min-width:24px}button._zButton_2ljo4_3._xlarge_2ljo4_25.zSplitIconButton,button._zButton_2ljo4_3._large_2ljo4_26.zSplitIconButton,button._zButton_2ljo4_3._medium_2ljo4_27.zSplitIconButton{padding:10px}button._zButton_2ljo4_3._xlarge_2ljo4_25 svg,button._zButton_2ljo4_3._large_2ljo4_26 svg,button._zButton_2ljo4_3._medium_2ljo4_27 svg{width:16px;height:16px}button._zButton_2ljo4_3._xlarge_2ljo4_25{padding:15.5px 20px;height:50px;font-size:14px;border-radius:8px}button._zButton_2ljo4_3._large_2ljo4_26{padding:10.5px 20px;height:40px;font-size:14px;border-radius:8px}button._zButton_2ljo4_3._medium_2ljo4_27{padding:8.5px 20px;height:36px;font-size:14px;border-radius:8px}button._zButton_2ljo4_3._small_2ljo4_58{padding:5px 12px;height:28px;font-size:13px;min-width:80px}button._zButton_2ljo4_3._small_2ljo4_58.zSplitIconButton{padding:7px;min-width:24px}button._zButton_2ljo4_3._small_2ljo4_58 svg{width:14px;height:14px}button._zButton_2ljo4_3._tiny_2ljo4_74{padding:3.5px 12px;height:24px;font-size:12px;font-weight:400;min-width:80px}button._zButton_2ljo4_3._tiny_2ljo4_74.zSplitIconButton{padding:6px;min-width:24px}button._zButton_2ljo4_3._tiny_2ljo4_74 svg{width:12px;height:12px}button._zButton_2ljo4_3._contained_2ljo4_92{color:#fff;background-color:#3f46ff}button._zButton_2ljo4_3._contained_2ljo4_92:hover{background-color:#181eca}button._zButton_2ljo4_3._contained_2ljo4_92:active{background-color:#141c63}button._zButton_2ljo4_3._outlined_2ljo4_105{color:#1d2939;background-color:#fff;border-color:#e4eaf1;box-shadow:0 1px 2px #21252c14}button._zButton_2ljo4_3._outlined_2ljo4_105._noShadow_2ljo4_111{box-shadow:none}button._zButton_2ljo4_3._outlined_2ljo4_105:hover{background-color:#f9f9fb}button._zButton_2ljo4_3._outlined_2ljo4_105._disabled_2ljo4_16{opacity:.5;background-color:#f9f9fb;cursor:not-allowed}button._zButton_2ljo4_3._danger_2ljo4_126{color:#fff;background-color:#f26868}button._zButton_2ljo4_3._danger_2ljo4_126:hover{background-color:#991b1b}button._zButton_2ljo4_3._textBlue_2ljo4_135{color:#3f46ff;min-width:0}button._zButton_2ljo4_3._textBlue_2ljo4_135._small_2ljo4_58{font-weight:400}button._zButton_2ljo4_3._textBlue_2ljo4_135._noMargin_2ljo4_143{margin:0;padding:0;height:auto}button._zButton_2ljo4_3._textBlue_2ljo4_135:hover{color:#181eca;background-color:#f2f3ff}button._zButton_2ljo4_3._textBlue_2ljo4_135:hover._noMargin_2ljo4_143{background-color:transparent}button._zButton_2ljo4_3._textBlack_2ljo4_159{color:#1d2939;min-width:0}button._zButton_2ljo4_3._textBlack_2ljo4_159._small_2ljo4_58{font-weight:400}button._zButton_2ljo4_3._textBlack_2ljo4_159._noMargin_2ljo4_143{margin:0;padding:0;height:auto}button._zButton_2ljo4_3._textBlack_2ljo4_159:hover{background-color:#f0f2f4}button._zButton_2ljo4_3._textBlack_2ljo4_159:hover._noMargin_2ljo4_143{color:#5d6d85;background-color:transparent}button._zButton_2ljo4_3._textGhost_2ljo4_183{padding:0;font-weight:400;color:#3f46ff;background-color:transparent;min-width:0}button._zButton_2ljo4_3._textGhost_2ljo4_183:hover{color:#181eca}button._zButton_2ljo4_3._text_2ljo4_135{color:#5d6d85;background-color:transparent;border:1px solid transparent}button._zButton_2ljo4_3._text_2ljo4_135:hover{color:#1d2939;border-color:#e4eaf1}button._zButton_2ljo4_3._link_2ljo4_206{color:#3f46ff;background-color:transparent;border:none}button._zButton_2ljo4_3._link_2ljo4_206:hover{color:#3f46ff;text-decoration:underline;background-color:transparent}button._zButton_2ljo4_3.MuiButtonGroup-firstButton{border-top-right-radius:0;border-bottom-right-radius:0}button._zButton_2ljo4_3.MuiButtonGroup-firstButton._contained_2ljo4_92{border-right:1px solid white}button._zButton_2ljo4_3.MuiButtonGroup-middleButton{border-radius:0}button._zButton_2ljo4_3.MuiButtonGroup-middleButton._contained_2ljo4_92{border-right:1px solid white;margin-left:0}button._zButton_2ljo4_3.MuiButtonGroup-lastButton{border-top-left-radius:0;border-bottom-left-radius:0}button._zButton_2ljo4_3.MuiButtonGroup-lastButton._contained_2ljo4_92{margin-left:0}button._zIconButton_1y2v2_3{border-radius:6px;color:#1d2939}button._zIconButton_1y2v2_3._disabled_1y2v2_7{color:#1d2939;cursor:not-allowed;opacity:.5}button._zIconButton_1y2v2_3._withMargin_1y2v2_13:hover{background-color:#f0f2f4}button._zIconButton_1y2v2_3._noMargin_1y2v2_19{padding:0}button._zIconButton_1y2v2_3._noMargin_1y2v2_19:hover{background-color:transparent;color:#5d6d85}button._zIconButton_1y2v2_3._withBorder_1y2v2_28{border:1px solid #e4eaf1;box-shadow:0 1px 2px #21252c14}button._zIconButton_1y2v2_3._withBorder_1y2v2_28:hover{background-color:#f9f9fb}button._zIconButton_1y2v2_3._large_1y2v2_37 svg,button._zIconButton_1y2v2_3._medium_1y2v2_38 svg{width:16px;height:16px}button._zIconButton_1y2v2_3._large_1y2v2_37._withMargin_1y2v2_13,button._zIconButton_1y2v2_3._medium_1y2v2_38._withMargin_1y2v2_13{width:36px;height:36px;padding:10px}button._zIconButton_1y2v2_3._small_1y2v2_49 svg{width:14px;height:14px}button._zIconButton_1y2v2_3._small_1y2v2_49._withMargin_1y2v2_13{width:28px;height:28px;padding:7px}button._zIconButton_1y2v2_3._xs_1y2v2_60 svg{width:12px;height:12px}button._zIconButton_1y2v2_3._xs_1y2v2_60._withMargin_1y2v2_13{width:24px;height:24px;padding:6px}._button_n3sxg_3{display:flex;align-items:center;justify-content:flex-end;padding:8px;border-radius:0 8px 8px 0;background-color:#f9f9fb}._button_n3sxg_3:hover{cursor:pointer}._button_n3sxg_3._disabled_n3sxg_16{padding:8px 12px}._button_n3sxg_3._disabled_n3sxg_16:hover{cursor:default}._button_n3sxg_3._disabled_n3sxg_16 ._text_n3sxg_23{min-width:-moz-fit-content;min-width:fit-content;z-index:10;color:#5d6d85}._button_n3sxg_3._parentInputDisabled_n3sxg_30 ._text_n3sxg_23{color:#a6b1be}._button_n3sxg_3 ._text_n3sxg_23{text-align:right;min-width:54px}._button_n3sxg_3 ._icon_n3sxg_41{margin-left:4px}._smallButton_n3sxg_46{padding:4px}._input_n3sxg_50 div.MuiInputBase-root{padding-right:0}._inputFocus_n3sxg_56 fieldset.MuiOutlinedInput-notchedOutline{border-width:1.5px;border-color:#3f46ff}div._paper_n3sxg_63{box-shadow:0 4px 10px #1d293914}._menu_n3sxg_67{margin-top:4px;border-radius:4px}._menu_n3sxg_67 ._menuItem_n3sxg_71{padding:6px 16px}._menu_n3sxg_67 ._menuItem_n3sxg_71.MuiMenuItem-root{min-width:126px}._menu_n3sxg_67 ._menuItem_n3sxg_71.MuiMenuItem-root:hover{background-color:#6066fd!important}._menu_n3sxg_67 ._selected_n3sxg_83{color:#3f46ff;background-color:#fff!important}._menuList_n3sxg_89{padding:4px 0}label._root_903dp_3{margin-left:0}label._root_903dp_3 ._label_903dp_6{line-height:20px}label._root_903dp_3.Mui-disabled{pointer-events:none}label._root_903dp_3.Mui-disabled ._label_903dp_6{opacity:.5}label._root_903dp_3:hover ._checkboxIcon_903dp_19 ._inner_903dp_20{border-color:#3f46ff;box-shadow:0 0 0 2px #f2f3ff}label._root_903dp_3 ._checkbox_903dp_19{padding:0 8px 0 0}._checkbox_903dp_19 rect:first-of-type{stroke:#fff;stroke-width:2px}._checkbox_903dp_19:hover ._checkboxIcon_903dp_19 ._inner_903dp_20{border-color:#3f46ff;box-shadow:0 0 0 2px #f2f3ff}._checkbox_903dp_19._disabledCheckbox_903dp_49{pointer-events:none}._checkbox_903dp_19 ._checkboxIcon_903dp_19{display:inline-flex;justify-content:center;align-items:center;width:20px;height:20px;box-sizing:border-box}._checkbox_903dp_19 ._checkboxIcon_903dp_19 ._inner_903dp_20{display:inline-flex;justify-content:center;align-items:center;width:16px;height:16px;box-sizing:border-box;border:1px solid #cdd8e8;border-radius:4px;box-shadow:0 1px 2px #21252c14;transition:border-color .2s ease-in-out,background-color .2s,box-shadow .1s ease-in-out}._checkbox_903dp_19 ._checkboxIcon_903dp_19._disabled_903dp_49{opacity:.5}._checkbox_903dp_19 ._checkboxIcon_903dp_19._disabled_903dp_49 ._inner_903dp_20{background-color:#f0f2f4}._checkbox_903dp_19 ._checkboxIcon_903dp_19._indeterminate_903dp_83 ._inner_903dp_20,._checkbox_903dp_19 ._checkboxIcon_903dp_19._checked_903dp_84 ._inner_903dp_20{border-color:#3f46ff;background-color:#3f46ff}._toolbar_158fz_3{display:flex;align-items:center;min-height:24px}._toolbar_158fz_3 div._actions_158fz_8{display:flex;align-items:center;gap:8px;margin-left:24px}._toolbar_158fz_3 ._selectLabel_158fz_16,._toolbar_158fz_3 ._select_158fz_16{color:#5d6d85}._toolbar_158fz_3 ._displayedRows_158fz_21,._toolbar_158fz_3 ._displayedRows_158fz_21 strong{font-weight:500}._toolbar_158fz_3 ._selectRoot_158fz_29{margin-left:12px;margin-right:24px}._toolbar_158fz_3 ._selectRoot_158fz_29 div._select_158fz_16{padding:0 4px 0 0;font-weight:500}._toolbar_158fz_3 ._selectRoot_158fz_29 div._select_158fz_16:focus{background-color:transparent}._toolbar_158fz_3 ._selectRoot_158fz_29 ._selectIcon_158fz_45{top:auto;bottom:auto}._toolbar_158fz_3 ._selectRoot_158fz_29 ._selectIcon_158fz_45 path{fill:#5d6d85}button._iconBtnRoot_158fz_56{padding:6px;border-radius:4px;border:1px solid #e4eaf1;color:#5d6d85;background-color:#fff;box-shadow:0 1px 2px #21252c14}button._iconBtnRoot_158fz_56 path{fill:#5d6d85}button._iconBtnRoot_158fz_56._iconBtnDisabled_158fz_68{color:#f0f2f4;border-color:#f0f2f4}button._iconBtnRoot_158fz_56._iconBtnDisabled_158fz_68 path{fill:#cdd8e8}button._iconBtnRoot_158fz_56:hover{background-color:#f9f9fb}._container_a4vk2_3:hover ._checkedCircle_a4vk2_5:after{background-color:#3f46ff;outline:#e4eaf1 solid 2px;box-shadow:none}._container_a4vk2_3 ._checkedCircle_a4vk2_5{position:relative;display:inline-block;width:20px;height:20px}._container_a4vk2_3 ._checkedCircle_a4vk2_5:after{position:absolute;top:2px;left:2px;content:"";display:inline-block;width:16px;height:16px;background-color:#cdd8e8;border-radius:50%;z-index:0;transition:background-color .1s ease-in-out;box-shadow:0 1px 2px #21252c14}._container_a4vk2_3 ._checkedCircle_a4vk2_5:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);content:"";display:inline-block;width:14px;height:14px;background-color:#fff;border-radius:50%;z-index:1;transition:all .1s ease-in-out}._container_a4vk2_3 ._checkedCircle_a4vk2_5._checked_a4vk2_5:after{background-color:#3f46ff}._container_a4vk2_3 ._checkedCircle_a4vk2_5._checked_a4vk2_5:before{width:6px;height:6px}._container_a4vk2_3 ._checkedCircle_a4vk2_5._disabled_a4vk2_60:before{background-color:#f0f2f4}._btnWrapper_mwgh3_3{display:flex;justify-content:flex-start;margin-top:16px}._titleWrapper_mwgh3_9{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;height:24px}._empty_1tvs0_3{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px 0}div._text_1tvs0_13{margin-top:4px;color:#a6b1be;word-wrap:break-word}._root_71ors_3{background-color:#fff}._root_71ors_3._withBorder_71ors_6{box-sizing:border-box;padding:8px 24px 16px;border-radius:12px;border:1px solid #e4eaf1;box-shadow:0 1px 2px #21252c14}._tableContainer_71ors_15{width:100%;overflow:auto;background-color:#fff}._resizer_71ors_21{position:absolute;top:0;height:50%;right:0;width:3px;background:#f9f9fb;border-bottom:1px solid transparent;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none;transform:translateY(50%);opacity:.7}._cell_71ors_35{white-space:nowrap}th._headerCell_71ors_53,td._bodyCell_71ors_54{padding:0 12px;line-height:135%;border-color:#e4eaf1}th._headerCell_71ors_53{height:44px}td._bodyCell_71ors_54{height:52px}td._bodyCell_71ors_54._pinnedRight_71ors_67:before,td._bodyCell_71ors_54._pinnedLeft_71ors_68:before{content:" ";position:absolute;top:0;bottom:0;width:30px}td._bodyCell_71ors_54._pinnedRight_71ors_67:before{left:-30px;box-shadow:inset -10px 0 8px -8px #f4f4f9}td._bodyCell_71ors_54._pinnedLeft_71ors_68:before{right:-30px;box-shadow:inset 10px 0 8px -8px #f4f4f9}._rowWhenHover_71ors_92{background-color:#fff}._rowWhenHover_71ors_92:hover{background-color:#f9f9fb}._rowWhenHover_71ors_92:hover td._bodyCell_71ors_54{background-color:#f9f9fb!important}td._emptyCell_71ors_103{height:83px;padding:0;border-color:#e4eaf1;text-align:center}tfoot._footer_71ors_110{display:flex;justify-content:space-between;align-items:center}tfoot._footer_71ors_110._hide_71ors_114{display:none}tfoot._footer_71ors_110._onlyPagination_71ors_117{justify-content:flex-end}._section_1fkka_1{width:100%;margin:0 auto}._section_1fkka_1 ._title_1fkka_5{padding-left:16px}._section_1fkka_1 ._separator_1fkka_8{border:none;border-bottom:1px solid rgb(236,236,238);margin:12px 0 24px}._section_1fkka_1+._section_1fkka_1{margin-top:64px}._filter-searcher_162nl_1{display:inline-flex;align-items:center}._filter-searcher-label_162nl_5{font-weight:500;margin-right:12px}._filter-searcher-input_162nl_9{margin-left:12px!important;width:240px!important}._wrapper_1j79b_1{width:100%;word-break:break-all;white-space:break-spaces}._json-ellipsis_1j79b_7{cursor:pointer}._json-ellipsis-brace_1j79b_10{font-weight:500;color:#8c8c8c}._json-ellipsis-dot_1j79b_14{font-weight:500;margin:0 2px;color:#1493cc}._state_v8a2b_12{display:inline-flex;align-items:center}._state_v8a2b_12._none_v8a2b_16,._state_v8a2b_12._false_v8a2b_16{color:#a6b1be}._state_v8a2b_12._building_v8a2b_19,._state_v8a2b_12._loading_v8a2b_19{color:#02b3ff}._state_v8a2b_12._completed_v8a2b_22,._state_v8a2b_12._loaded_v8a2b_22,._state_v8a2b_12._healthy_v8a2b_22,._state_v8a2b_12._true_v8a2b_22{color:#49de80}._state_v8a2b_12._deleted_v8a2b_25{color:#f26868}._state_v8a2b_12 ._icon_v8a2b_28{color:currentColor;fill:currentColor;cursor:pointer;margin-left:4px}._status_19mpp_12{color:#49de80;font-weight:500}._status_19mpp_12._error_19mpp_16{color:#f26868}._comp-tabs_19mpp_20{margin-left:32px;margin-bottom:24px}._text-content_19mpp_25{padding:8px;white-space:break-spaces}._member-list_19mpp_30{padding:8px 0 8px 14px}._member-item-label_19mpp_34{font-weight:500;color:#8c8c8c;margin-right:8px}._member-item-label_19mpp_34:not(:first-of-type){margin-left:12px}._helper-link_19mpp_43{color:#991b1b!important;text-decoration:none;display:inline-flex;align-items:center;gap:2px;margin-left:4px}._helper-link_19mpp_43:hover,._helper-link_19mpp_43:active{color:#f26868!important}._queryable_12ixl_12{color:#49de80}._queryable_12ixl_12._error_12ixl_15{color:#f26868}._collection-filter_12ixl_19{width:220px!important}._detail_12ixl_23{width:0px!important;overflow:visible}._clear_12ixl_28 path{fill:#8c8c8c}@keyframes _loading_12ixl_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._json-detail-wrapper_12ixl_40 ._json-detail-content_12ixl_40{padding:12px 0 24px 24px}._json-detail-wrapper_12ixl_40 ._json-detail-content_12ixl_40._error_12ixl_15{color:#f26868}._json-detail-wrapper_12ixl_40 ._json-detail-loading_12ixl_46{padding:12px 0 24px 24px;color:#d3d3d3}._json-detail-wrapper_12ixl_40 ._json-detail-loading-icon_12ixl_50{animation:_loading_12ixl_1 1s linear infinite}._json-detail-wrapper_12ixl_40 ._json-detail-loading-icon_12ixl_50>path{fill:currentColor}._collection-filter-wrapper_12ixl_57{display:flex;align-content:center;justify-content:flex-end;margin:0 0 24px;padding-left:32px}._collection-name_12ixl_65{color:#1d2939;text-decoration:none}._collection-name_12ixl_65:hover{color:#02b3ff}._percentage_12ixl_73._unknown_12ixl_73{color:#a6b1be}._noty-list_uuq1r_1{margin:24px 32px 0}._noty-list_uuq1r_1 .MuiCollapse-root:not(:first-child){margin-top:12px}._noty-list_uuq1r_1 ._noty-item-content_uuq1r_7 :not(:first-child){margin-left:8px}._text-content_1tkuh_1{padding:8px;white-space:break-spaces}._slow-requests_q5p05_1 ._sr-table_q5p05_1{margin-top:24px}._notice_q5p05_5{padding:0 32px}._trigger_1f0gw_1{display:inline-flex;align-items:center;cursor:pointer}._trigger_1f0gw_1._opened_1f0gw_6{color:#1493cc}._trigger_1f0gw_1 .MuiSvgIcon-root{margin-left:4px}._tools-menu_1f0gw_13{margin-top:12px;opacity:1;transform:none;transition:opacity 315ms cubic-bezier(.4,0,.2,1),transform .21s cubic-bezier(.4,0,.2,1);top:44px;left:755px;transform-origin:282px 0px;box-shadow:0 1px 10px #6b798d4d!important}._menu-item-content_1f0gw_24{display:flex;align-items:center;font-size:14px;color:#1d2939}._menu-item-content_1f0gw_24 .MuiSvgIcon-root{margin-left:4px}._menu-item-content_1f0gw_24 .MuiSvgIcon-root path{fill:#8c8c8c}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}._header_wg0jk_7{width:100%;height:58px;margin:0 auto;padding-left:40px!important;padding-right:40px!important;border-bottom:1px solid rgb(236,236,238);display:flex;align-items:center;box-sizing:border-box}._header_wg0jk_7 ._nav_wg0jk_18{flex:1 1 auto;margin-left:40px}._header_wg0jk_7 ._nav-item_wg0jk_22{text-decoration:none;color:#00131ab3}._header_wg0jk_7 ._nav-item_wg0jk_22:hover,._header_wg0jk_7 ._nav-item_wg0jk_22._active_wg0jk_26{color:#1493cc}._header_wg0jk_7 ._nav-item_wg0jk_22:not(:first-child){margin-left:16px}._header_wg0jk_7 ._others_wg0jk_32{flex:0 0 auto}._header_wg0jk_7 ._zilliz-link_wg0jk_35{background-color:#00a1ea!important}._header_wg0jk_7 ._zilliz-link_wg0jk_35:hover{background-color:#1493cc!important}._header_wg0jk_7 ._zilliz-link-text_wg0jk_41{margin-right:4px}._content_wg0jk_45{padding-top:32px;padding-bottom:60px}._content_wg0jk_45._with-ad_wg0jk_49 .page-wrapper{padding-right:calc(280px - min(10vw,280px))!important}.page-wrapper{min-width:960px;width:80vw;margin:0 auto;box-sizing:border-box}.table-view{width:calc(100% - 64px);margin:0 32px}.table-view-searcher{margin:0 32px 16px auto!important;width:240px!important}.table-view-filter-searcher{display:flex;justify-content:flex-end;margin:0 32px 16px auto!important}._base-info_ubkl2_12{margin:0 32px}._base-info_ubkl2_12 ._info-row_ubkl2_15{display:flex;align-items:center}._base-info_ubkl2_12 ._info-row_ubkl2_15:not(:last-of-type){margin-bottom:12px}._base-info_ubkl2_12 ._info-row-label_ubkl2_22{flex:0 0 240px;font-weight:500}._base-info_ubkl2_12 ._info-row-value_ubkl2_26{color:#5d6d85}._base-info-form_ubkl2_29:not(:last-of-type){margin-bottom:16px}._base-info-form-label_ubkl2_32{flex:0 0 240px;font-weight:500;margin-bottom:16px}._wrapper_gbea3_12{box-sizing:border-box;width:240px;padding:30px 20px;border-radius:12px;border:1px solid #d0d7dc;background:#fff;margin-top:32px;position:fixed;top:160px;right:20px;z-index:100;display:flex;flex-direction:column;gap:12px}._wrapper_gbea3_12 ._title_gbea3_28{font-family:PingFangSC-Regular}._wrapper_gbea3_12 ._desc_gbea3_31{color:#5d6d85;font-family:PingFangSC-Regular}._link-btn_gbea3_36{font-size:14px;line-height:22px;justify-content:center;background-color:#1d2939;color:#fff;border:1px solid #1d2939;padding:7px 28px;border-radius:6px;display:flex;align-items:center;gap:8px;cursor:pointer;margin-top:12px}._link-btn_gbea3_36:hover,._link-btn_gbea3_36:active{opacity:.8} diff --git a/internal/http/webui/assets/index-D2OgaNZi.js b/internal/http/webui/assets/index-D2OgaNZi.js new file mode 100644 index 0000000000000..b4a6af798a771 --- /dev/null +++ b/internal/http/webui/assets/index-D2OgaNZi.js @@ -0,0 +1,1502 @@ +var F3=Object.defineProperty;var B3=(e,t,n)=>t in e?F3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var zs=(e,t,n)=>B3(e,typeof t!="symbol"?t+"":t,n);function z3(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var jl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function H3(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var IS={exports:{}},of={},OS={exports:{}},Ze={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var vc=Symbol.for("react.element"),V3=Symbol.for("react.portal"),W3=Symbol.for("react.fragment"),U3=Symbol.for("react.strict_mode"),G3=Symbol.for("react.profiler"),q3=Symbol.for("react.provider"),K3=Symbol.for("react.context"),Z3=Symbol.for("react.forward_ref"),Q3=Symbol.for("react.suspense"),Y3=Symbol.for("react.memo"),X3=Symbol.for("react.lazy"),dv=Symbol.iterator;function J3(e){return e===null||typeof e!="object"?null:(e=dv&&e[dv]||e["@@iterator"],typeof e=="function"?e:null)}var LS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},AS=Object.assign,NS={};function _s(e,t,n){this.props=e,this.context=t,this.refs=NS,this.updater=n||LS}_s.prototype.isReactComponent={};_s.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};_s.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function DS(){}DS.prototype=_s.prototype;function n0(e,t,n){this.props=e,this.context=t,this.refs=NS,this.updater=n||LS}var r0=n0.prototype=new DS;r0.constructor=n0;AS(r0,_s.prototype);r0.isPureReactComponent=!0;var fv=Array.isArray,jS=Object.prototype.hasOwnProperty,o0={current:null},FS={key:!0,ref:!0,__self:!0,__source:!0};function BS(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)jS.call(t,r)&&!FS.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,z=E[H];if(0>>1;Ho(W,B))Vo(ee,W)?(E[H]=ee,E[V]=B,H=V):(E[H]=W,E[F]=B,H=F);else if(Vo(ee,B))E[H]=ee,E[V]=B,H=V;else break e}}return L}function o(E,L){var B=E.sortIndex-L.sortIndex;return B!==0?B:E.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,f=3,p=!1,h=!1,y=!1,C=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(E){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=E)r(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(c)}}function w(E){if(y=!1,m(E),!h)if(n(l)!==null)h=!0,A(_);else{var L=n(c);L!==null&&N(w,L.startTime-E)}}function _(E,L){h=!1,y&&(y=!1,v(T),T=-1),p=!0;var B=f;try{for(m(L),d=n(l);d!==null&&(!(d.expirationTime>L)||E&&!$());){var H=d.callback;if(typeof H=="function"){d.callback=null,f=d.priorityLevel;var z=H(d.expirationTime<=L);L=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),m(L)}else r(l);d=n(l)}if(d!==null)var j=!0;else{var F=n(c);F!==null&&N(w,F.startTime-L),j=!1}return j}finally{d=null,f=B,p=!1}}var R=!1,k=null,T=-1,P=5,x=-1;function $(){return!(e.unstable_now()-xE||125H?(E.sortIndex=B,t(c,E),n(l)===null&&E===n(c)&&(y?(v(T),T=-1):y=!0,N(w,B-H))):(E.sortIndex=z,t(l,E),h||p||(h=!0,A(_))),E},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(E){var L=f;return function(){var B=f;f=L;try{return E.apply(this,arguments)}finally{f=B}}}})(US);WS.exports=US;var uT=WS.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var dT=b,Jn=uT;function he(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ch=Object.prototype.hasOwnProperty,fT=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,gv={},hv={};function pT(e){return ch.call(hv,e)?!0:ch.call(gv,e)?!1:fT.test(e)?hv[e]=!0:(gv[e]=!0,!1)}function gT(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function hT(e,t,n,r){if(t===null||typeof t>"u"||gT(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function En(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var cn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){cn[e]=new En(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];cn[t]=new En(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){cn[e]=new En(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){cn[e]=new En(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){cn[e]=new En(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){cn[e]=new En(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){cn[e]=new En(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){cn[e]=new En(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){cn[e]=new En(e,5,!1,e.toLowerCase(),null,!1,!1)});var a0=/[\-:]([a-z])/g;function s0(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(a0,s0);cn[t]=new En(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(a0,s0);cn[t]=new En(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(a0,s0);cn[t]=new En(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){cn[e]=new En(e,1,!1,e.toLowerCase(),null,!1,!1)});cn.xlinkHref=new En("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){cn[e]=new En(e,1,!1,e.toLowerCase(),null,!0,!0)});function l0(e,t,n,r){var o=cn.hasOwnProperty(t)?cn[t]:null;(o!==null?o.type!==0:r||!(2s||o[a]!==i[s]){var l=` +`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Op=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ul(e):""}function mT(e){switch(e.tag){case 5:return ul(e.type);case 16:return ul("Lazy");case 13:return ul("Suspense");case 19:return ul("SuspenseList");case 0:case 2:case 15:return e=Lp(e.type,!1),e;case 11:return e=Lp(e.type.render,!1),e;case 1:return e=Lp(e.type,!0),e;default:return""}}function ph(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pa:return"Fragment";case Ta:return"Portal";case uh:return"Profiler";case c0:return"StrictMode";case dh:return"Suspense";case fh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case KS:return(e.displayName||"Context")+".Consumer";case qS:return(e._context.displayName||"Context")+".Provider";case u0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case d0:return t=e.displayName||null,t!==null?t:ph(e.type)||"Memo";case Do:t=e._payload,e=e._init;try{return ph(e(t))}catch{}}return null}function vT(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ph(t);case 8:return t===c0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ui(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function QS(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yT(e){var t=QS(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Uc(e){e._valueTracker||(e._valueTracker=yT(e))}function YS(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=QS(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ad(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function gh(e,t){var n=t.checked;return _t({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vv(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ui(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function XS(e,t){t=t.checked,t!=null&&l0(e,"checked",t,!1)}function hh(e,t){XS(e,t);var n=ui(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mh(e,t.type,n):t.hasOwnProperty("defaultValue")&&mh(e,t.type,ui(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yv(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mh(e,t,n){(t!=="number"||ad(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var dl=Array.isArray;function Ua(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Gc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Bl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bT=["Webkit","ms","Moz","O"];Object.keys(yl).forEach(function(e){bT.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),yl[t]=yl[e]})});function nw(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||yl.hasOwnProperty(e)&&yl[e]?(""+t).trim():t+"px"}function rw(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=nw(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var xT=_t({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function bh(e,t){if(t){if(xT[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(he(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(he(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(he(61))}if(t.style!=null&&typeof t.style!="object")throw Error(he(62))}}function xh(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Sh=null;function f0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wh=null,Ga=null,qa=null;function Sv(e){if(e=xc(e)){if(typeof wh!="function")throw Error(he(280));var t=e.stateNode;t&&(t=uf(t),wh(e.stateNode,e.type,t))}}function ow(e){Ga?qa?qa.push(e):qa=[e]:Ga=e}function iw(){if(Ga){var e=Ga,t=qa;if(qa=Ga=null,Sv(e),t)for(e=0;e>>=0,e===0?32:31-(MT(e)/IT|0)|0}var qc=64,Kc=4194304;function fl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ud(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=fl(s):(i&=a,i!==0&&(r=fl(i)))}else a=n&~o,a!==0?r=fl(a):i!==0&&(r=fl(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function yc(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Lr(t),e[t]=n}function NT(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=xl),Ev=" ",Mv=!1;function Rw(e,t){switch(e){case"keyup":return uP.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ka=!1;function fP(e,t){switch(e){case"compositionend":return Tw(t);case"keypress":return t.which!==32?null:(Mv=!0,Ev);case"textInput":return e=t.data,e===Ev&&Mv?null:e;default:return null}}function pP(e,t){if(ka)return e==="compositionend"||!x0&&Rw(e,t)?(e=Cw(),Ou=v0=qo=null,ka=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Av(n)}}function Ew(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ew(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mw(){for(var e=window,t=ad();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ad(e.document)}return t}function S0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function wP(e){var t=Mw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ew(n.ownerDocument.documentElement,n)){if(r!==null&&S0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Nv(n,i);var a=Nv(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,$a=null,kh=null,wl=null,$h=!1;function Dv(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$h||$a==null||$a!==ad(r)||(r=$a,"selectionStart"in r&&S0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),wl&&Gl(wl,r)||(wl=r,r=pd(kh,"onSelect"),0Ia||(e.current=Ah[Ia],Ah[Ia]=null,Ia--)}function gt(e,t){Ia++,Ah[Ia]=e.current,e.current=t}var di={},xn=mi(di),An=mi(!1),qi=di;function ns(e,t){var n=e.type.contextTypes;if(!n)return di;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Nn(e){return e=e.childContextTypes,e!=null}function hd(){yt(An),yt(xn)}function Wv(e,t,n){if(xn.current!==di)throw Error(he(168));gt(xn,t),gt(An,n)}function Bw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(he(108,vT(e)||"Unknown",o));return _t({},n,r)}function md(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||di,qi=xn.current,gt(xn,e),gt(An,An.current),!0}function Uv(e,t,n){var r=e.stateNode;if(!r)throw Error(he(169));n?(e=Bw(e,t,qi),r.__reactInternalMemoizedMergedChildContext=e,yt(An),yt(xn),gt(xn,e)):yt(An),gt(An,n)}var mo=null,df=!1,Kp=!1;function zw(e){mo===null?mo=[e]:mo.push(e)}function LP(e){df=!0,zw(e)}function vi(){if(!Kp&&mo!==null){Kp=!0;var e=0,t=st;try{var n=mo;for(st=1;e>=a,o-=a,yo=1<<32-Lr(t)+o|n<T?(P=k,k=null):P=k.sibling;var x=f(v,k,m[T],w);if(x===null){k===null&&(k=P);break}e&&k&&x.alternate===null&&t(v,k),S=i(x,S,T),R===null?_=x:R.sibling=x,R=x,k=P}if(T===m.length)return n(v,k),xt&&Pi(v,T),_;if(k===null){for(;TT?(P=k,k=null):P=k.sibling;var $=f(v,k,x.value,w);if($===null){k===null&&(k=P);break}e&&k&&$.alternate===null&&t(v,k),S=i($,S,T),R===null?_=$:R.sibling=$,R=$,k=P}if(x.done)return n(v,k),xt&&Pi(v,T),_;if(k===null){for(;!x.done;T++,x=m.next())x=d(v,x.value,w),x!==null&&(S=i(x,S,T),R===null?_=x:R.sibling=x,R=x);return xt&&Pi(v,T),_}for(k=r(v,k);!x.done;T++,x=m.next())x=p(k,v,T,x.value,w),x!==null&&(e&&x.alternate!==null&&k.delete(x.key===null?T:x.key),S=i(x,S,T),R===null?_=x:R.sibling=x,R=x);return e&&k.forEach(function(I){return t(v,I)}),xt&&Pi(v,T),_}function C(v,S,m,w){if(typeof m=="object"&&m!==null&&m.type===Pa&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Wc:e:{for(var _=m.key,R=S;R!==null;){if(R.key===_){if(_=m.type,_===Pa){if(R.tag===7){n(v,R.sibling),S=o(R,m.props.children),S.return=v,v=S;break e}}else if(R.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Do&&Kv(_)===R.type){n(v,R.sibling),S=o(R,m.props),S.ref=qs(v,R,m),S.return=v,v=S;break e}n(v,R);break}else t(v,R);R=R.sibling}m.type===Pa?(S=Bi(m.props.children,v.mode,w,m.key),S.return=v,v=S):(w=zu(m.type,m.key,m.props,null,v.mode,w),w.ref=qs(v,S,m),w.return=v,v=w)}return a(v);case Ta:e:{for(R=m.key;S!==null;){if(S.key===R)if(S.tag===4&&S.stateNode.containerInfo===m.containerInfo&&S.stateNode.implementation===m.implementation){n(v,S.sibling),S=o(S,m.children||[]),S.return=v,v=S;break e}else{n(v,S);break}else t(v,S);S=S.sibling}S=ng(m,v.mode,w),S.return=v,v=S}return a(v);case Do:return R=m._init,C(v,S,R(m._payload),w)}if(dl(m))return h(v,S,m,w);if(Hs(m))return y(v,S,m,w);tu(v,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,S!==null&&S.tag===6?(n(v,S.sibling),S=o(S,m),S.return=v,v=S):(n(v,S),S=tg(m,v.mode,w),S.return=v,v=S),a(v)):n(v,S)}return C}var os=Uw(!0),Gw=Uw(!1),bd=mi(null),xd=null,Aa=null,R0=null;function T0(){R0=Aa=xd=null}function P0(e){var t=bd.current;yt(bd),e._currentValue=t}function jh(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Za(e,t){xd=e,R0=Aa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(On=!0),e.firstContext=null)}function yr(e){var t=e._currentValue;if(R0!==e)if(e={context:e,memoizedValue:t,next:null},Aa===null){if(xd===null)throw Error(he(308));Aa=e,xd.dependencies={lanes:0,firstContext:e}}else Aa=Aa.next=e;return t}var Li=null;function k0(e){Li===null?Li=[e]:Li.push(e)}function qw(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,k0(t)):(n.next=o.next,o.next=n),t.interleaved=n,_o(e,r)}function _o(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var jo=!1;function $0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kw(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function xo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ii(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Je&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,_o(e,n)}return o=r.interleaved,o===null?(t.next=t,k0(r)):(t.next=o.next,o.next=t),r.interleaved=t,_o(e,n)}function Au(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,g0(e,n)}}function Zv(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Sd(e,t,n,r){var o=e.updateQueue;jo=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?i=c:a.next=c,a=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==a&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;a=0,u=c=l=null,s=i;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,y=s;switch(f=t,p=n,y.tag){case 1:if(h=y.payload,typeof h=="function"){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=y.payload,f=typeof h=="function"?h.call(p,d,f):h,f==null)break e;d=_t({},d,f);break e;case 2:jo=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=p,l=d):u=u.next=p,a|=f;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;f=s,s=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(u===null&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Qi|=a,e.lanes=a,e.memoizedState=d}}function Qv(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Qp.transition;Qp.transition={};try{e(!1),t()}finally{st=n,Qp.transition=r}}function dC(){return br().memoizedState}function jP(e,t,n){var r=si(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},fC(e))pC(t,n);else if(n=qw(e,t,n,r),n!==null){var o=kn();Ar(n,e,r,o),gC(n,t,r)}}function FP(e,t,n){var r=si(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(fC(e))pC(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,jr(s,a)){var l=t.interleaved;l===null?(o.next=o,k0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=qw(e,t,o,r),n!==null&&(o=kn(),Ar(n,e,r,o),gC(n,t,r))}}function fC(e){var t=e.alternate;return e===Ct||t!==null&&t===Ct}function pC(e,t){Cl=Cd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function gC(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,g0(e,n)}}var _d={readContext:yr,useCallback:fn,useContext:fn,useEffect:fn,useImperativeHandle:fn,useInsertionEffect:fn,useLayoutEffect:fn,useMemo:fn,useReducer:fn,useRef:fn,useState:fn,useDebugValue:fn,useDeferredValue:fn,useTransition:fn,useMutableSource:fn,useSyncExternalStore:fn,useId:fn,unstable_isNewReconciler:!1},BP={readContext:yr,useCallback:function(e,t){return Kr().memoizedState=[e,t===void 0?null:t],e},useContext:yr,useEffect:Xv,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Du(4194308,4,aC.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Du(4194308,4,e,t)},useInsertionEffect:function(e,t){return Du(4,2,e,t)},useMemo:function(e,t){var n=Kr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Kr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=jP.bind(null,Ct,e),[r.memoizedState,e]},useRef:function(e){var t=Kr();return e={current:e},t.memoizedState=e},useState:Yv,useDebugValue:D0,useDeferredValue:function(e){return Kr().memoizedState=e},useTransition:function(){var e=Yv(!1),t=e[0];return e=DP.bind(null,e[1]),Kr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ct,o=Kr();if(xt){if(n===void 0)throw Error(he(407));n=n()}else{if(n=t(),en===null)throw Error(he(349));Zi&30||Xw(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Xv(eC.bind(null,r,i,e),[e]),r.flags|=2048,ec(9,Jw.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Kr(),t=en.identifierPrefix;if(xt){var n=bo,r=yo;n=(r&~(1<<32-Lr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Jr]=t,e[Zl]=r,_C(e,t,!1,!1),t.stateNode=e;e:{switch(a=xh(n,r),n){case"dialog":vt("cancel",e),vt("close",e),o=r;break;case"iframe":case"object":case"embed":vt("load",e),o=r;break;case"video":case"audio":for(o=0;oss&&(t.flags|=128,r=!0,Ks(i,!1),t.lanes=4194304)}else{if(!r)if(e=wd(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ks(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!xt)return pn(t),null}else 2*Lt()-i.renderingStartTime>ss&&n!==1073741824&&(t.flags|=128,r=!0,Ks(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Lt(),t.sibling=null,n=wt.current,gt(wt,r?n&1|2:n&1),t):(pn(t),null);case 22:case 23:return V0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Un&1073741824&&(pn(t),t.subtreeFlags&6&&(t.flags|=8192)):pn(t),null;case 24:return null;case 25:return null}throw Error(he(156,t.tag))}function KP(e,t){switch(C0(t),t.tag){case 1:return Nn(t.type)&&hd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return is(),yt(An),yt(xn),I0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return M0(t),null;case 13:if(yt(wt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(he(340));rs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return yt(wt),null;case 4:return is(),null;case 10:return P0(t.type._context),null;case 22:case 23:return V0(),null;case 24:return null;default:return null}}var ru=!1,yn=!1,ZP=typeof WeakSet=="function"?WeakSet:Set,_e=null;function Na(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){It(e,t,r)}else n.current=null}function qh(e,t,n){try{n()}catch(r){It(e,t,r)}}var cy=!1;function QP(e,t){if(Eh=dd,e=Mw(),S0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===o&&(s=a),f===i&&++u===r&&(l=a),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Mh={focusedElem:e,selectionRange:n},dd=!1,_e=t;_e!==null;)if(t=_e,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_e=e;else for(;_e!==null;){t=_e;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var y=h.memoizedProps,C=h.memoizedState,v=t.stateNode,S=v.getSnapshotBeforeUpdate(t.elementType===t.type?y:Pr(t.type,y),C);v.__reactInternalSnapshotBeforeUpdate=S}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(he(163))}}catch(w){It(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,_e=e;break}_e=t.return}return h=cy,cy=!1,h}function _l(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&qh(t,n,i)}o=o.next}while(o!==r)}}function gf(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Kh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function PC(e){var t=e.alternate;t!==null&&(e.alternate=null,PC(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Jr],delete t[Zl],delete t[Lh],delete t[IP],delete t[OP])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function kC(e){return e.tag===5||e.tag===3||e.tag===4}function uy(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kC(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Zh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=gd));else if(r!==4&&(e=e.child,e!==null))for(Zh(e,t,n),e=e.sibling;e!==null;)Zh(e,t,n),e=e.sibling}function Qh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Qh(e,t,n),e=e.sibling;e!==null;)Qh(e,t,n),e=e.sibling}var rn=null,kr=!1;function Ao(e,t,n){for(n=n.child;n!==null;)$C(e,t,n),n=n.sibling}function $C(e,t,n){if(to&&typeof to.onCommitFiberUnmount=="function")try{to.onCommitFiberUnmount(af,n)}catch{}switch(n.tag){case 5:yn||Na(n,t);case 6:var r=rn,o=kr;rn=null,Ao(e,t,n),rn=r,kr=o,rn!==null&&(kr?(e=rn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):rn.removeChild(n.stateNode));break;case 18:rn!==null&&(kr?(e=rn,n=n.stateNode,e.nodeType===8?qp(e.parentNode,n):e.nodeType===1&&qp(e,n),Wl(e)):qp(rn,n.stateNode));break;case 4:r=rn,o=kr,rn=n.stateNode.containerInfo,kr=!0,Ao(e,t,n),rn=r,kr=o;break;case 0:case 11:case 14:case 15:if(!yn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&qh(n,t,a),o=o.next}while(o!==r)}Ao(e,t,n);break;case 1:if(!yn&&(Na(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){It(n,t,s)}Ao(e,t,n);break;case 21:Ao(e,t,n);break;case 22:n.mode&1?(yn=(r=yn)||n.memoizedState!==null,Ao(e,t,n),yn=r):Ao(e,t,n);break;default:Ao(e,t,n)}}function dy(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ZP),t.forEach(function(r){var o=ik.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Rr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Lt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*XP(r/1960))-r,10e?16:e,Ko===null)var r=!1;else{if(e=Ko,Ko=null,Pd=0,Je&6)throw Error(he(331));var o=Je;for(Je|=4,_e=e.current;_e!==null;){var i=_e,a=i.child;if(_e.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lLt()-z0?Fi(e,0):B0|=n),Dn(e,t)}function DC(e,t){t===0&&(e.mode&1?(t=Kc,Kc<<=1,!(Kc&130023424)&&(Kc=4194304)):t=1);var n=kn();e=_o(e,t),e!==null&&(yc(e,t,n),Dn(e,n))}function ok(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),DC(e,n)}function ik(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(he(314))}r!==null&&r.delete(t),DC(e,n)}var jC;jC=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||An.current)On=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return On=!1,GP(e,t,n);On=!!(e.flags&131072)}else On=!1,xt&&t.flags&1048576&&Hw(t,yd,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ju(e,t),e=t.pendingProps;var o=ns(t,xn.current);Za(t,n),o=L0(null,t,r,e,o,n);var i=A0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Nn(r)?(i=!0,md(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,$0(t),o.updater=pf,t.stateNode=o,o._reactInternals=t,Bh(t,r,e,n),t=Vh(null,t,r,!0,i,n)):(t.tag=0,xt&&i&&w0(t),Tn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ju(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=sk(r),e=Pr(r,e),o){case 0:t=Hh(null,t,r,e,n);break e;case 1:t=ay(null,t,r,e,n);break e;case 11:t=oy(null,t,r,e,n);break e;case 14:t=iy(null,t,r,Pr(r.type,e),n);break e}throw Error(he(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Pr(r,o),Hh(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Pr(r,o),ay(e,t,r,o,n);case 3:e:{if(SC(t),e===null)throw Error(he(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Kw(e,t),Sd(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=as(Error(he(423)),t),t=sy(e,t,r,n,o);break e}else if(r!==o){o=as(Error(he(424)),t),t=sy(e,t,r,n,o);break e}else for(Zn=oi(t.stateNode.containerInfo.firstChild),Qn=t,xt=!0,Er=null,n=Gw(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(rs(),r===o){t=Ro(e,t,n);break e}Tn(e,t,r,n)}t=t.child}return t;case 5:return Zw(t),e===null&&Dh(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Ih(r,o)?a=null:i!==null&&Ih(r,i)&&(t.flags|=32),xC(e,t),Tn(e,t,a,n),t.child;case 6:return e===null&&Dh(t),null;case 13:return wC(e,t,n);case 4:return E0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=os(t,null,r,n):Tn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Pr(r,o),oy(e,t,r,o,n);case 7:return Tn(e,t,t.pendingProps,n),t.child;case 8:return Tn(e,t,t.pendingProps.children,n),t.child;case 12:return Tn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,gt(bd,r._currentValue),r._currentValue=a,i!==null)if(jr(i.value,a)){if(i.children===o.children&&!An.current){t=Ro(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=xo(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),jh(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(he(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),jh(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Tn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Za(t,n),o=yr(o),r=r(o),t.flags|=1,Tn(e,t,r,n),t.child;case 14:return r=t.type,o=Pr(r,t.pendingProps),o=Pr(r.type,o),iy(e,t,r,o,n);case 15:return yC(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Pr(r,o),ju(e,t),t.tag=1,Nn(r)?(e=!0,md(t)):e=!1,Za(t,n),hC(t,r,o),Bh(t,r,o,n),Vh(null,t,r,!0,e,n);case 19:return CC(e,t,n);case 22:return bC(e,t,n)}throw Error(he(156,t.tag))};function FC(e,t){return fw(e,t)}function ak(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gr(e,t,n,r){return new ak(e,t,n,r)}function U0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sk(e){if(typeof e=="function")return U0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===u0)return 11;if(e===d0)return 14}return 2}function li(e,t){var n=e.alternate;return n===null?(n=gr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zu(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")U0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Pa:return Bi(n.children,o,i,t);case c0:a=8,o|=8;break;case uh:return e=gr(12,n,t,o|2),e.elementType=uh,e.lanes=i,e;case dh:return e=gr(13,n,t,o),e.elementType=dh,e.lanes=i,e;case fh:return e=gr(19,n,t,o),e.elementType=fh,e.lanes=i,e;case ZS:return mf(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qS:a=10;break e;case KS:a=9;break e;case u0:a=11;break e;case d0:a=14;break e;case Do:a=16,r=null;break e}throw Error(he(130,e==null?e:typeof e,""))}return t=gr(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Bi(e,t,n,r){return e=gr(7,e,r,t),e.lanes=n,e}function mf(e,t,n,r){return e=gr(22,e,r,t),e.elementType=ZS,e.lanes=n,e.stateNode={isHidden:!1},e}function tg(e,t,n){return e=gr(6,e,null,t),e.lanes=n,e}function ng(e,t,n){return t=gr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function lk(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Np(0),this.expirationTimes=Np(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Np(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function G0(e,t,n,r,o,i,a,s,l){return e=new lk(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=gr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$0(i),e}function ck(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(VC)}catch(e){console.error(e)}}VC(),VS.exports=nr;var Q0=VS.exports;const au=$o(Q0);var WC,by=Q0;WC=by.createRoot,by.hydrateRoot;/** + * @remix-run/router v1.21.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function nc(){return nc=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function UC(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function hk(){return Math.random().toString(36).substr(2,8)}function Sy(e,t){return{usr:e.state,key:e.key,idx:t}}function tm(e,t,n,r){return n===void 0&&(n=null),nc({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ps(t):t,{state:n,key:t&&t.key||r||hk()})}function Ed(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ps(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function mk(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s=Zo.Pop,l=null,c=u();c==null&&(c=0,a.replaceState(nc({},a.state,{idx:c}),""));function u(){return(a.state||{idx:null}).idx}function d(){s=Zo.Pop;let C=u(),v=C==null?null:C-c;c=C,l&&l({action:s,location:y.location,delta:v})}function f(C,v){s=Zo.Push;let S=tm(y.location,C,v);c=u()+1;let m=Sy(S,c),w=y.createHref(S);try{a.pushState(m,"",w)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;o.location.assign(w)}i&&l&&l({action:s,location:y.location,delta:1})}function p(C,v){s=Zo.Replace;let S=tm(y.location,C,v);c=u();let m=Sy(S,c),w=y.createHref(S);a.replaceState(m,"",w),i&&l&&l({action:s,location:y.location,delta:0})}function h(C){let v=o.location.origin!=="null"?o.location.origin:o.location.href,S=typeof C=="string"?C:Ed(C);return S=S.replace(/ $/,"%20"),Ot(v,"No window.location.(origin|href) available to create URL for href: "+S),new URL(S,v)}let y={get action(){return s},get location(){return e(o,a)},listen(C){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(xy,d),l=C,()=>{o.removeEventListener(xy,d),l=null}},createHref(C){return t(o,C)},createURL:h,encodeLocation(C){let v=h(C);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:f,replace:p,go(C){return a.go(C)}};return y}var wy;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(wy||(wy={}));function vk(e,t,n){return n===void 0&&(n="/"),yk(e,t,n,!1)}function yk(e,t,n,r){let o=typeof t=="string"?Ps(t):t,i=ls(o.pathname||"/",n);if(i==null)return null;let a=GC(e);bk(a);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(Ot(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=ci([r,l.relativePath]),u=n.concat(l);i.children&&i.children.length>0&&(Ot(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),GC(i.children,t,u,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Tk(c,i.index),routesMeta:u})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of qC(i.path))o(i,a,l)}),t}function qC(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=qC(r.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function bk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Pk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const xk=/^:[\w-]+$/,Sk=3,wk=2,Ck=1,_k=10,Rk=-2,Cy=e=>e==="*";function Tk(e,t){let n=e.split("/"),r=n.length;return n.some(Cy)&&(r+=Rk),t&&(r+=wk),n.filter(o=>!Cy(o)).reduce((o,i)=>o+(xk.test(i)?Sk:i===""?Ck:_k),r)}function Pk(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function kk(e,t,n){let{routesMeta:r}=e,o={},i="/",a=[];for(let s=0;s{let{paramName:f,isOptional:p}=u;if(f==="*"){let y=s[d]||"";a=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const h=s[d];return p&&!h?c[f]=void 0:c[f]=(h||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:a,pattern:e}}function $k(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),UC(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Ek(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return UC(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function ls(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Mk(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ps(e):e;return{pathname:n?n.startsWith("/")?n:Ik(n,t):t,search:Ak(r),hash:Nk(o)}}function Ik(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function rg(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Ok(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function KC(e,t){let n=Ok(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function ZC(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ps(e):(o=nc({},e),Ot(!o.pathname||!o.pathname.includes("?"),rg("?","pathname","search",o)),Ot(!o.pathname||!o.pathname.includes("#"),rg("#","pathname","hash",o)),Ot(!o.search||!o.search.includes("#"),rg("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(a==null)s=n;else{let d=t.length-1;if(!r&&a.startsWith("..")){let f=a.split("/");for(;f[0]==="..";)f.shift(),d-=1;o.pathname=f.join("/")}s=d>=0?t[d]:"/"}let l=Mk(o,s),c=a&&a!=="/"&&a.endsWith("/"),u=(i||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const ci=e=>e.join("/").replace(/\/\/+/g,"/"),Lk=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ak=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Nk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Dk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const QC=["post","put","patch","delete"];new Set(QC);const jk=["get",...QC];new Set(jk);/** + * React Router v6.28.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function rc(){return rc=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),b.useCallback(function(c,u){if(u===void 0&&(u={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let d=ZC(c,JSON.parse(a),i,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:ci([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,a,i,e])}function zk(){let{matches:e}=b.useContext(bi),t=e[e.length-1];return t?t.params:{}}function Cf(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(yi),{matches:o}=b.useContext(bi),{pathname:i}=ks(),a=JSON.stringify(KC(o,r.v7_relativeSplatPath));return b.useMemo(()=>ZC(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function Hk(e,t){return Vk(e,t)}function Vk(e,t,n,r){wc()||Ot(!1);let{navigator:o}=b.useContext(yi),{matches:i}=b.useContext(bi),a=i[i.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=ks(),u;if(t){var d;let C=typeof t=="string"?Ps(t):t;l==="/"||(d=C.pathname)!=null&&d.startsWith(l)||Ot(!1),u=C}else u=c;let f=u.pathname||"/",p=f;if(l!=="/"){let C=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(C.length).join("/")}let h=vk(e,{pathname:p}),y=Kk(h&&h.map(C=>Object.assign({},C,{params:Object.assign({},s,C.params),pathname:ci([l,o.encodeLocation?o.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?l:ci([l,o.encodeLocation?o.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),i,n,r);return t&&y?b.createElement(wf.Provider,{value:{location:rc({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Zo.Pop}},y):y}function Wk(){let e=Xk(),t=Dk(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:o},n):null,null)}const Uk=b.createElement(Wk,null);class Gk extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(bi.Provider,{value:this.props.routeContext},b.createElement(XC.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function qk(e){let{routeContext:t,match:n,children:r}=e,o=b.useContext(Sf);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(bi.Provider,{value:t},r)}function Kk(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,s=(o=n)==null?void 0:o.errors;if(s!=null){let u=a.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);u>=0||Ot(!1),a=a.slice(0,Math.min(a.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((u,d,f)=>{let p,h=!1,y=null,C=null;n&&(p=s&&d.route.id?s[d.route.id]:void 0,y=d.route.errorElement||Uk,l&&(c<0&&f===0?(h=!0,C=null):c===f&&(h=!0,C=d.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,f+1)),S=()=>{let m;return p?m=y:h?m=C:d.route.Component?m=b.createElement(d.route.Component,null):d.route.element?m=d.route.element:m=u,b.createElement(qk,{match:d,routeContext:{outlet:u,matches:v,isDataRoute:n!=null},children:m})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(Gk,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:S(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):S()},null)}var e2=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(e2||{}),Id=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Id||{});function Zk(e){let t=b.useContext(Sf);return t||Ot(!1),t}function Qk(e){let t=b.useContext(YC);return t||Ot(!1),t}function Yk(e){let t=b.useContext(bi);return t||Ot(!1),t}function t2(e){let t=Yk(),n=t.matches[t.matches.length-1];return n.route.id||Ot(!1),n.route.id}function Xk(){var e;let t=b.useContext(XC),n=Qk(Id.UseRouteError),r=t2(Id.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Jk(){let{router:e}=Zk(e2.UseNavigateStable),t=t2(Id.UseNavigateStable),n=b.useRef(!1);return JC(()=>{n.current=!0}),b.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,rc({fromRouteId:t},i)))},[e,t])}const _y={};function e4(e,t){_y[t]||(_y[t]=!0,console.warn(t))}const Ry=(e,t,n)=>e4(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function t4(e,t){e!=null&&e.v7_startTransition||Ry("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),!(e!=null&&e.v7_relativeSplatPath)&&!t&&Ry("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function n2(e){Ot(!1)}function n4(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Zo.Pop,navigator:i,static:a=!1,future:s}=e;wc()&&Ot(!1);let l=t.replace(/^\/*/,"/"),c=b.useMemo(()=>({basename:l,navigator:i,static:a,future:rc({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof r=="string"&&(r=Ps(r));let{pathname:u="/",search:d="",hash:f="",state:p=null,key:h="default"}=r,y=b.useMemo(()=>{let C=ls(u,l);return C==null?null:{location:{pathname:C,search:d,hash:f,state:p,key:h},navigationType:o}},[l,u,d,f,p,h,o]);return y==null?null:b.createElement(yi.Provider,{value:c},b.createElement(wf.Provider,{children:n,value:y}))}function r4(e){let{children:t,location:n}=e;return Hk(nm(t),n)}new Promise(()=>{});function nm(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,o)=>{if(!b.isValidElement(r))return;let i=[...t,o];if(r.type===b.Fragment){n.push.apply(n,nm(r.props.children,i));return}r.type!==n2&&Ot(!1),!r.props.index||!r.props.children||Ot(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=nm(r.props.children,i)),n.push(a)}),n}/** + * React Router DOM v6.28.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Od(){return Od=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function o4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function i4(e,t){return e.button===0&&(!t||t==="_self")&&!o4(e)}function rm(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(o=>[n,o]):[[n,r]])},[]))}function a4(e,t){let n=rm(e);return t&&t.forEach((r,o)=>{n.has(o)||t.getAll(o).forEach(i=>{n.append(o,i)})}),n}const s4=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],l4=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],c4="6";try{window.__reactRouterVersion=c4}catch{}const u4=b.createContext({isTransitioning:!1}),d4="startTransition",Ty=id[d4];function f4(e){let{basename:t,children:n,future:r,window:o}=e,i=b.useRef();i.current==null&&(i.current=gk({window:o,v5Compat:!0}));let a=i.current,[s,l]=b.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},u=b.useCallback(d=>{c&&Ty?Ty(()=>l(d)):l(d)},[l,c]);return b.useLayoutEffect(()=>a.listen(u),[a,u]),b.useEffect(()=>t4(r),[r]),b.createElement(n4,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}const p4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,o2=b.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:s,target:l,to:c,preventScrollReset:u,viewTransition:d}=t,f=r2(t,s4),{basename:p}=b.useContext(yi),h,y=!1;if(typeof c=="string"&&g4.test(c)&&(h=c,p4))try{let m=new URL(window.location.href),w=c.startsWith("//")?new URL(m.protocol+c):new URL(c),_=ls(w.pathname,p);w.origin===m.origin&&_!=null?c=_+w.search+w.hash:y=!0}catch{}let C=Fk(c,{relative:o}),v=v4(c,{replace:a,state:s,target:l,preventScrollReset:u,relative:o,viewTransition:d});function S(m){r&&r(m),m.defaultPrevented||v(m)}return b.createElement("a",Od({},f,{href:h||C,onClick:y||i?r:S,ref:n,target:l}))}),h4=b.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:o=!1,className:i="",end:a=!1,style:s,to:l,viewTransition:c,children:u}=t,d=r2(t,l4),f=Cf(l,{relative:d.relative}),p=ks(),h=b.useContext(YC),{navigator:y,basename:C}=b.useContext(yi),v=h!=null&&b4(f)&&c===!0,S=y.encodeLocation?y.encodeLocation(f).pathname:f.pathname,m=p.pathname,w=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;o||(m=m.toLowerCase(),w=w?w.toLowerCase():null,S=S.toLowerCase()),w&&C&&(w=ls(w,C)||w);const _=S!=="/"&&S.endsWith("/")?S.length-1:S.length;let R=m===S||!a&&m.startsWith(S)&&m.charAt(_)==="/",k=w!=null&&(w===S||!a&&w.startsWith(S)&&w.charAt(S.length)==="/"),T={isActive:R,isPending:k,isTransitioning:v},P=R?r:void 0,x;typeof i=="function"?x=i(T):x=[i,R?"active":null,k?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let $=typeof s=="function"?s(T):s;return b.createElement(o2,Od({},d,{"aria-current":P,className:x,ref:n,style:$,to:l,viewTransition:c}),typeof u=="function"?u(T):u)});var om;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(om||(om={}));var Py;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Py||(Py={}));function m4(e){let t=b.useContext(Sf);return t||Ot(!1),t}function v4(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,viewTransition:s}=t===void 0?{}:t,l=Y0(),c=ks(),u=Cf(e,{relative:a});return b.useCallback(d=>{if(i4(d,n)){d.preventDefault();let f=r!==void 0?r:Ed(c)===Ed(u);l(e,{replace:f,state:o,preventScrollReset:i,relative:a,viewTransition:s})}},[c,l,u,r,o,n,e,i,a,s])}function y4(e){let t=b.useRef(rm(e)),n=b.useRef(!1),r=ks(),o=b.useMemo(()=>a4(r.search,n.current?null:t.current),[r.search]),i=Y0(),a=b.useCallback((s,l)=>{const c=rm(typeof s=="function"?s(o):s);n.current=!0,i("?"+c,l)},[i,o]);return[o,a]}function b4(e,t){t===void 0&&(t={});let n=b.useContext(u4);n==null&&Ot(!1);let{basename:r}=m4(om.useViewTransitionState),o=Cf(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=ls(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=ls(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Md(o.pathname,a)!=null||Md(o.pathname,i)!=null}var ky;(function(e){e.Bool="Bool",e.Int8="Int8",e.Int16="Int16",e.Int32="Int32",e.Int64="Int64",e.Float="Float",e.Double="Double",e.String="String",e.VarChar="VarChar",e.JSON="JSON",e.BinaryVector="BinaryVector",e.FloatVector="FloatVector",e.Array="Array"})(ky||(ky={}));var $y;(function(e){e[e.Bool=1]="Bool",e[e.Int8=2]="Int8",e[e.Int16=3]="Int16",e[e.Int32=4]="Int32",e[e.Int64=5]="Int64",e[e.Float=10]="Float",e[e.Double=11]="Double",e[e.VarChar=21]="VarChar",e[e.Array=22]="Array",e[e.JSON=23]="JSON",e[e.BinaryVector=100]="BinaryVector",e[e.FloatVector=101]="FloatVector"})($y||($y={}));var Ey;(function(e){e.L2="L2",e.IP="IP",e.COSINE="COSINE",e.HAMMING="HAMMING",e.JACCARD="JACCARD",e.TANIMOTO="TANIMOTO",e.SUBSTRUCTURE="SUBSTRUCTURE",e.SUPERSTRUCTURE="SUPERSTRUCTURE"})(Ey||(Ey={}));var My;(function(e){e.L2="Euclidean",e.IP="Inner product",e.COSINE="Cosine"})(My||(My={}));var Iy;(function(e){e.IVF_FLAT="IVF_FLAT",e.IVF_PQ="IVF_PQ",e.IVF_SQ8="IVF_SQ8",e.FLAT="FLAT",e.HNSW="HNSW",e.ANNOY="ANNOY",e.IVF_HNSW="IVF_HNSW",e.RHNSW_FLAT="RHNSW_FLAT",e.RHNSW_SQ="RHNSW_SQ",e.RHNSW_PQ="RHNSW_PQ",e.BIN_FLAT="BIN_FLAT",e.BIN_IVF_FLAT="BIN_IVF_FLAT",e.TRIE="TRIE",e.STL_SORT="STL_SORT"})(Iy||(Iy={}));var i2=60,a2=i2*60,s2=a2*24,x4=s2*7,cs=1e3,og=i2*cs,Oy=a2*cs,S4=s2*cs,w4=x4*cs,X0="millisecond",ja="second",Fa="minute",Ba="hour",Fo="day",Hu="week",$r="month",l2="quarter",Bo="year",za="date",C4="YYYY-MM-DDTHH:mm:ssZ",Ly="Invalid Date",_4=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R4=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const T4={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var n=["th","st","nd","rd"],r=t%100;return"["+t+(n[(r-20)%10]||n[r]||n[0])+"]"}};var im=function(t,n,r){var o=String(t);return!o||o.length>=n?t:""+Array(n+1-o.length).join(r)+t},P4=function(t){var n=-t.utcOffset(),r=Math.abs(n),o=Math.floor(r/60),i=r%60;return(n<=0?"+":"-")+im(o,2,"0")+":"+im(i,2,"0")},k4=function e(t,n){if(t.date()1)return e(a[0])}else{var s=t.name;zi[s]=t,o=s}return!r&&o&&(Pl=o),o||!r&&Pl},tt=function(t,n){if(J0(t))return t.clone();var r=typeof n=="object"?n:{};return r.date=t,r.args=arguments,new _f(r)},O4=function(t,n){return tt(t,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})},ct=I4;ct.l=Ld;ct.i=J0;ct.w=O4;var L4=function(t){var n=t.date,r=t.utc;if(n===null)return new Date(NaN);if(ct.u(n))return new Date;if(n instanceof Date)return new Date(n);if(typeof n=="string"&&!/Z$/i.test(n)){var o=n.match(_4);if(o){var i=o[2]-1||0,a=(o[7]||"0").substring(0,3);return r?new Date(Date.UTC(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,a)):new Date(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,a)}}return new Date(n)},_f=function(){function e(n){this.$L=Ld(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[c2]=!0}var t=e.prototype;return t.parse=function(r){this.$d=L4(r),this.init()},t.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},t.$utils=function(){return ct},t.isValid=function(){return this.$d.toString()!==Ly},t.isSame=function(r,o){var i=tt(r);return this.startOf(o)<=i&&i<=this.endOf(o)},t.isAfter=function(r,o){return tt(r)n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Nr="$$material";function am(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function Ln(){return Ln=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?on($s,--Hn):0,us--,Dt===10&&(us=1,Tf--),Dt}function Yn(){return Dt=Hn2||ac(Dt)>3?"":" "}function X4(e,t){for(;--t&&Yn()&&!(Dt<48||Dt>102||Dt>57&&Dt<65||Dt>70&&Dt<97););return Cc(e,Vu()+(t<6&&ro()==32&&Yn()==32))}function lm(e){for(;Yn();)switch(Dt){case e:return Hn;case 34:case 39:e!==34&&e!==39&&lm(Dt);break;case 40:e===41&&lm(e);break;case 92:Yn();break}return Hn}function J4(e,t){for(;Yn()&&e+Dt!==57;)if(e+Dt===84&&ro()===47)break;return"/*"+Cc(t,Hn-1)+"*"+Rf(e===47?e:Yn())}function e$(e){for(;!ac(ro());)Yn();return Cc(e,Hn)}function t$(e){return y2(Uu("",null,null,null,[""],e=v2(e),0,[0],e))}function Uu(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,y=1,C=1,v=1,S=0,m="",w=o,_=i,R=r,k=m;C;)switch(h=S,S=Yn()){case 40:if(h!=108&&on(k,d-1)==58){sm(k+=it(Wu(S),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:k+=Wu(S);break;case 9:case 10:case 13:case 32:k+=Y4(h);break;case 92:k+=X4(Vu()-1,7);continue;case 47:switch(ro()){case 42:case 47:su(n$(J4(Yn(),Vu()),t,n),l);break;default:k+="/"}break;case 123*y:s[c++]=Qr(k)*v;case 125*y:case 59:case 0:switch(S){case 0:case 125:C=0;case 59+u:v==-1&&(k=it(k,/\f/g,"")),p>0&&Qr(k)-d&&su(p>32?Ny(k+";",r,n,d-1):Ny(it(k," ","")+";",r,n,d-2),l);break;case 59:k+=";";default:if(su(R=Ay(k,t,n,c,u,o,s,m,w=[],_=[],d),i),S===123)if(u===0)Uu(k,t,R,R,w,i,d,s,_);else switch(f===99&&on(k,3)===110?100:f){case 100:case 108:case 109:case 115:Uu(e,R,R,r&&su(Ay(e,R,R,0,0,o,s,m,o,w=[],d),_),o,_,d,s,r?w:_);break;default:Uu(k,R,R,R,[""],_,0,s,_)}}c=u=p=0,y=v=1,m=k="",d=a;break;case 58:d=1+Qr(k),p=h;default:if(y<1){if(S==123)--y;else if(S==125&&y++==0&&Q4()==125)continue}switch(k+=Rf(S),S*y){case 38:v=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(Qr(k)-1)*v,v=1;break;case 64:ro()===45&&(k+=Wu(Yn())),f=ro(),u=d=Qr(m=k+=e$(Vu())),S++;break;case 45:h===45&&Qr(k)==2&&(y=0)}}return i}function Ay(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,f=o===0?i:[""],p=n1(f),h=0,y=0,C=0;h0?f[v]+" "+S:it(S,/&\f/g,f[v])))&&(l[C++]=m);return Pf(e,t,n,o===0?e1:s,l,c,u)}function n$(e,t,n){return Pf(e,t,n,p2,Rf(Z4()),ic(e,2,-2),0)}function Ny(e,t,n,r){return Pf(e,t,n,t1,ic(e,0,r),ic(e,r+1,-1),r)}function Ya(e,t){for(var n="",r=n1(e),o=0;o6)switch(on(e,t+1)){case 109:if(on(e,t+4)!==45)break;case 102:return it(e,/(.+:)(.+)-([^]+)/,"$1"+ot+"$2-$3$1"+Ad+(on(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~sm(e,"stretch")?b2(it(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(on(e,t+1)!==115)break;case 6444:switch(on(e,Qr(e)-3-(~sm(e,"!important")&&10))){case 107:return it(e,":",":"+ot)+e;case 101:return it(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ot+(on(e,14)===45?"inline-":"")+"box$3$1"+ot+"$2$3$1"+hn+"$2box$3")+e}break;case 5936:switch(on(e,t+11)){case 114:return ot+e+hn+it(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ot+e+hn+it(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ot+e+hn+it(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ot+e+hn+e+e}return e}var d$=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case t1:t.return=b2(t.value,t.length);break;case g2:return Ya([Ys(t,{value:it(t.value,"@","@"+ot)})],o);case e1:if(t.length)return K4(t.props,function(i){switch(q4(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ya([Ys(t,{props:[it(i,/:(read-\w+)/,":"+Ad+"$1")]})],o);case"::placeholder":return Ya([Ys(t,{props:[it(i,/:(plac\w+)/,":"+ot+"input-$1")]}),Ys(t,{props:[it(i,/:(plac\w+)/,":"+Ad+"$1")]}),Ys(t,{props:[it(i,/:(plac\w+)/,hn+"input-$1")]})],o)}return""})}},f$=[d$],p$=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var C=y.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||f$,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var C=y.getAttribute("data-emotion").split(" "),v=1;v=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var R$={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},T$=!1,P$=/[A-Z]|^ms/g,k$=/_EMO_([^_]+?)_([^]*?)_EMO_/g,T2=function(t){return t.charCodeAt(1)===45},jy=function(t){return t!=null&&typeof t!="boolean"},ig=f2(function(e){return T2(e)?e:e.replace(P$,"-$&").toLowerCase()}),Fy=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(k$,function(r,o,i){return Yr={name:o,styles:i,next:Yr},o})}return R$[t]!==1&&!T2(t)&&typeof n=="number"&&n!==0?n+"px":n},$$="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function sc(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Yr={name:o.name,styles:o.styles,next:Yr},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Yr={name:a.name,styles:a.styles,next:Yr},a=a.next;var s=i.styles+";";return s}return E$(e,t,n)}case"function":{if(e!==void 0){var l=Yr,c=n(e);return Yr=l,sc(e,t,c)}break}}var u=n;if(t==null)return u;var d=t[u];return d!==void 0?d:u}function E$(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?A$:N$},Vy=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},D$=!1,j$=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return _2(n,r,o),I$(function(){return R2(n,r,o)}),null},F$=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var s=Vy(t,n,r),l=s||Hy(o),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,p=1;pt(z$(o)?n:o):t;return g.jsx(O$,{styles:r})}/** + * @mui/styled-engine v6.1.6 + * + * @license MIT + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */function M2(e,t){return cm(e,t)}function H$(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Wy=[];function Uy(e){return Wy[0]=e,jf(Wy)}function Wo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function I2(e){if(!Wo(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=I2(e[n])}),t}function So(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Wo(e)&&Wo(t)&&Object.keys(t).forEach(o=>{Wo(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Wo(e[o])?r[o]=So(e[o],t[o],n):n.clone?r[o]=Wo(t[o])?I2(t[o]):t[o]:r[o]=t[o]}),r}const V$=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function W$(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=V$(t),a=Object.keys(i);function s(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function c(f,p){const h=a.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[a[h]]=="number"?t[a[h]]:p)-r/100}${n})`}function u(f){return a.indexOf(f)+1r.startsWith("@container")).sort((r,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=r.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function G$(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function q$(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}function K$(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function n(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const l=t(e.breakpoints.not(...s),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const Z$={borderRadius:4};function kl(e,t){return t?So(e,t,{clone:!1}):e}const Bf={xs:0,sm:600,md:900,lg:1200,xl:1536},Gy={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Bf[e]}px)`},Q$={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Bf[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Fr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Gy;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const i=r.breakpoints||Gy;return Object.keys(t).reduce((a,s)=>{if(G$(i.keys,s)){const l=q$(r.containerQueries?r:Q$,s);l&&(a[l]=n(t[s],s))}else if(Object.keys(i.values||Bf).includes(s)){const l=i.up(s);a[l]=n(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return n(t)}function O2(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function L2(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Y$(e,...t){const n=O2(e),r=[n,...t].reduce((o,i)=>So(o,i),{});return L2(Object.keys(n),r)}function X$(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i{e[o]!=null&&(n[o]=!0)}),n}function ag({values:e,breakpoints:t,base:n}){const r=n||X$(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[i],i=s):a[s]=e,a),{})}function A2(e){if(typeof e!="string")throw new Error(am(7));return e.charAt(0).toUpperCase()+e.slice(1)}function zf(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Nd(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=zf(e,n)||r,t&&(o=t(o,r,e)),o}function At(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=zf(l,r)||{};return Fr(a,s,d=>{let f=Nd(c,o,d);return d===f&&typeof d=="string"&&(f=Nd(c,o,`${t}${d==="default"?"":A2(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function J$(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const e5={m:"margin",p:"padding"},t5={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},qy={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},n5=J$(e=>{if(e.length>2)if(qy[e])e=qy[e];else return[e];const[t,n]=e.split(""),r=e5[t],o=t5[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),s1=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],l1=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...s1,...l1];function _c(e,t,n,r){const o=zf(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i),s=o[a];return i>=0?s:typeof s=="number"?-s:`-${s}`}:typeof o=="function"?o:()=>{}}function Hf(e){return _c(e,"spacing",8)}function Ji(e,t){return typeof t=="string"||t==null?t:e(t)}function r5(e,t){return n=>e.reduce((r,o)=>(r[o]=Ji(t,n),r),{})}function o5(e,t,n,r){if(!t.includes(n))return null;const o=n5(n),i=r5(o,r),a=e[n];return Fr(e,a,i)}function N2(e,t){const n=Hf(e.theme);return Object.keys(e).map(r=>o5(e,t,r,n)).reduce(kl,{})}function kt(e){return N2(e,s1)}kt.propTypes={};kt.filterProps=s1;function $t(e){return N2(e,l1)}$t.propTypes={};$t.filterProps=l1;function D2(e=8,t=Hf({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function Vf(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?kl(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function fr(e){return typeof e!="number"?e:`${e}px solid`}function wr(e,t){return At({prop:e,themeKey:"borders",transform:t})}const i5=wr("border",fr),a5=wr("borderTop",fr),s5=wr("borderRight",fr),l5=wr("borderBottom",fr),c5=wr("borderLeft",fr),u5=wr("borderColor"),d5=wr("borderTopColor"),f5=wr("borderRightColor"),p5=wr("borderBottomColor"),g5=wr("borderLeftColor"),h5=wr("outline",fr),m5=wr("outlineColor"),Wf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=_c(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Ji(t,r)});return Fr(e,e.borderRadius,n)}return null};Wf.propTypes={};Wf.filterProps=["borderRadius"];Vf(i5,a5,s5,l5,c5,u5,d5,f5,p5,g5,Wf,h5,m5);const Uf=e=>{if(e.gap!==void 0&&e.gap!==null){const t=_c(e.theme,"spacing",8),n=r=>({gap:Ji(t,r)});return Fr(e,e.gap,n)}return null};Uf.propTypes={};Uf.filterProps=["gap"];const Gf=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=_c(e.theme,"spacing",8),n=r=>({columnGap:Ji(t,r)});return Fr(e,e.columnGap,n)}return null};Gf.propTypes={};Gf.filterProps=["columnGap"];const qf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=_c(e.theme,"spacing",8),n=r=>({rowGap:Ji(t,r)});return Fr(e,e.rowGap,n)}return null};qf.propTypes={};qf.filterProps=["rowGap"];const v5=At({prop:"gridColumn"}),y5=At({prop:"gridRow"}),b5=At({prop:"gridAutoFlow"}),x5=At({prop:"gridAutoColumns"}),S5=At({prop:"gridAutoRows"}),w5=At({prop:"gridTemplateColumns"}),C5=At({prop:"gridTemplateRows"}),_5=At({prop:"gridTemplateAreas"}),R5=At({prop:"gridArea"});Vf(Uf,Gf,qf,v5,y5,b5,x5,S5,w5,C5,_5,R5);function Xa(e,t){return t==="grey"?t:e}const T5=At({prop:"color",themeKey:"palette",transform:Xa}),P5=At({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xa}),k5=At({prop:"backgroundColor",themeKey:"palette",transform:Xa});Vf(T5,P5,k5);function Kn(e){return e<=1&&e!==0?`${e*100}%`:e}const $5=At({prop:"width",transform:Kn}),c1=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,a,s,l;const r=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[n])||Bf[n];return r?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Kn(n)}};return Fr(e,e.maxWidth,t)}return null};c1.filterProps=["maxWidth"];const E5=At({prop:"minWidth",transform:Kn}),M5=At({prop:"height",transform:Kn}),I5=At({prop:"maxHeight",transform:Kn}),O5=At({prop:"minHeight",transform:Kn});At({prop:"size",cssProperty:"width",transform:Kn});At({prop:"size",cssProperty:"height",transform:Kn});const L5=At({prop:"boxSizing"});Vf($5,c1,E5,M5,I5,O5,L5);const Rc={border:{themeKey:"borders",transform:fr},borderTop:{themeKey:"borders",transform:fr},borderRight:{themeKey:"borders",transform:fr},borderBottom:{themeKey:"borders",transform:fr},borderLeft:{themeKey:"borders",transform:fr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:fr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Wf},color:{themeKey:"palette",transform:Xa},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xa},backgroundColor:{themeKey:"palette",transform:Xa},p:{style:$t},pt:{style:$t},pr:{style:$t},pb:{style:$t},pl:{style:$t},px:{style:$t},py:{style:$t},padding:{style:$t},paddingTop:{style:$t},paddingRight:{style:$t},paddingBottom:{style:$t},paddingLeft:{style:$t},paddingX:{style:$t},paddingY:{style:$t},paddingInline:{style:$t},paddingInlineStart:{style:$t},paddingInlineEnd:{style:$t},paddingBlock:{style:$t},paddingBlockStart:{style:$t},paddingBlockEnd:{style:$t},m:{style:kt},mt:{style:kt},mr:{style:kt},mb:{style:kt},ml:{style:kt},mx:{style:kt},my:{style:kt},margin:{style:kt},marginTop:{style:kt},marginRight:{style:kt},marginBottom:{style:kt},marginLeft:{style:kt},marginX:{style:kt},marginY:{style:kt},marginInline:{style:kt},marginInlineStart:{style:kt},marginInlineEnd:{style:kt},marginBlock:{style:kt},marginBlockStart:{style:kt},marginBlockEnd:{style:kt},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:Uf},rowGap:{style:qf},columnGap:{style:Gf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Kn},maxWidth:{style:c1},minWidth:{transform:Kn},height:{transform:Kn},maxHeight:{transform:Kn},minHeight:{transform:Kn},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"}};function A5(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function N5(e,t){return typeof e=="function"?e(t):e}function D5(){function e(n,r,o,i){const a={[n]:r,theme:o},s=i[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=s;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const f=zf(o,c)||{};return d?d(a):Fr(a,r,h=>{let y=Nd(f,u,h);return h===y&&typeof h=="string"&&(y=Nd(f,u,`${n}${h==="default"?"":A2(h)}`,h)),l===!1?y:{[l]:y}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Rc;function a(s){let l=s;if(typeof s=="function")l=s(o);else if(typeof s!="object")return s;if(!l)return null;const c=O2(o.breakpoints),u=Object.keys(c);let d=c;return Object.keys(l).forEach(f=>{const p=N5(l[f],o);if(p!=null)if(typeof p=="object")if(i[f])d=kl(d,e(f,p,o,i));else{const h=Fr({theme:o},p,y=>({[f]:y}));A5(h,p)?d[f]=t({sx:p,theme:o}):d=kl(d,h)}else d=kl(d,e(f,p,o,i))}),U$(o,L2(u,d))}return Array.isArray(r)?r.map(a):a(r)}return t}const fi=D5();fi.filterProps=["sx"];function j5(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function Kf(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e,s=W$(n),l=D2(o);let c=So({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...Z$,...i}},a);return c=K$(c),c.applyStyles=j5,c=t.reduce((u,d)=>So(u,d),c),c.unstable_sxConfig={...Rc,...a==null?void 0:a.unstable_sxConfig},c.unstable_sx=function(d){return fi({sx:d,theme:this})},c}function F5(e){return Object.keys(e).length===0}function j2(e=null){const t=b.useContext(Ff);return!t||F5(t)?e:t}const B5=Kf();function Zf(e=B5){return j2(e)}function z5({styles:e,themeId:t,defaultTheme:n={}}){const r=Zf(n),o=typeof e=="function"?e(t&&r[t]||r):e;return g.jsx(E2,{styles:o})}const H5=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Rc;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function u1(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=H5(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const s=t(...a);return Wo(s)?{...r,...s}:r}:i={...r,...t},{...o,sx:i}}const Ky=e=>e,V5=()=>{let e=Ky;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ky}}},W5=V5();function F2(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(fi);return b.forwardRef(function(l,c){const u=Zf(n),{className:d,component:f="div",...p}=u1(l);return g.jsx(i,{as:f,ref:c,className:ve(d,o?o(r):r),theme:t&&u[t]||u,...p})})}const G5={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 q5(e,t,n="Mui"){const r=G5[t];return r?`${n}-${r}`:`${W5.generate(e)}-${t}`}var ut={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var d1=Symbol.for("react.element"),f1=Symbol.for("react.portal"),Qf=Symbol.for("react.fragment"),Yf=Symbol.for("react.strict_mode"),Xf=Symbol.for("react.profiler"),Jf=Symbol.for("react.provider"),ep=Symbol.for("react.context"),K5=Symbol.for("react.server_context"),tp=Symbol.for("react.forward_ref"),np=Symbol.for("react.suspense"),rp=Symbol.for("react.suspense_list"),op=Symbol.for("react.memo"),ip=Symbol.for("react.lazy"),Z5=Symbol.for("react.offscreen"),B2;B2=Symbol.for("react.module.reference");function Cr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case d1:switch(e=e.type,e){case Qf:case Xf:case Yf:case np:case rp:return e;default:switch(e=e&&e.$$typeof,e){case K5:case ep:case tp:case ip:case op:case Jf:return e;default:return t}}case f1:return t}}}ut.ContextConsumer=ep;ut.ContextProvider=Jf;ut.Element=d1;ut.ForwardRef=tp;ut.Fragment=Qf;ut.Lazy=ip;ut.Memo=op;ut.Portal=f1;ut.Profiler=Xf;ut.StrictMode=Yf;ut.Suspense=np;ut.SuspenseList=rp;ut.isAsyncMode=function(){return!1};ut.isConcurrentMode=function(){return!1};ut.isContextConsumer=function(e){return Cr(e)===ep};ut.isContextProvider=function(e){return Cr(e)===Jf};ut.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===d1};ut.isForwardRef=function(e){return Cr(e)===tp};ut.isFragment=function(e){return Cr(e)===Qf};ut.isLazy=function(e){return Cr(e)===ip};ut.isMemo=function(e){return Cr(e)===op};ut.isPortal=function(e){return Cr(e)===f1};ut.isProfiler=function(e){return Cr(e)===Xf};ut.isStrictMode=function(e){return Cr(e)===Yf};ut.isSuspense=function(e){return Cr(e)===np};ut.isSuspenseList=function(e){return Cr(e)===rp};ut.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Qf||e===Xf||e===Yf||e===np||e===rp||e===Z5||typeof e=="object"&&e!==null&&(e.$$typeof===ip||e.$$typeof===op||e.$$typeof===Jf||e.$$typeof===ep||e.$$typeof===tp||e.$$typeof===B2||e.getModuleId!==void 0)};ut.typeOf=Cr;function z2(e){const{variants:t,...n}=e,r={variants:t,style:Uy(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Uy(o.style))}),r}const Q5=Kf();function sg(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Y5(e){return e?(t,n)=>n[e]:null}function X5(e,t,n){e.theme=eE(e.theme)?n:e.theme[t]||e.theme}function Gu(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Gu(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:o,...i}=n;r=i}return H2(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function H2(e,t,n=[]){var o;let r;e:for(let i=0;i{H$(s,_=>_.filter(R=>R!==fi));const{name:c,slot:u,skipVariantsResolver:d,skipSx:f,overridesResolver:p=Y5(nE(u)),...h}=l,y=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,C=f||!1;let v=sg;u==="Root"||u==="root"?v=r:u?v=o:tE(s)&&(v=void 0);const S=M2(s,{shouldForwardProp:v,label:J5(),...h}),m=_=>{if(typeof _=="function"&&_.__emotion_real!==_)return function(k){return Gu(k,_)};if(Wo(_)){const R=z2(_);return R.variants?function(T){return Gu(T,R)}:R.style}return _},w=(..._)=>{const R=[],k=_.map(m),T=[];if(R.push(i),c&&p&&T.push(function(I){var A,N;const D=(N=(A=I.theme.components)==null?void 0:A[c])==null?void 0:N.styleOverrides;if(!D)return null;const M={};for(const E in D)M[E]=Gu(I,D[E]);return p(I,M)}),c&&!y&&T.push(function(I){var M,A;const O=I.theme,D=(A=(M=O==null?void 0:O.components)==null?void 0:M[c])==null?void 0:A.variants;return D?H2(I,D):null}),C||T.push(fi),Array.isArray(k[0])){const $=k.shift(),I=new Array(R.length).fill(""),O=new Array(T.length).fill("");let D;D=[...I,...$,...O],D.raw=[...I,...$.raw,...O],R.unshift(D)}const P=[...R,...k,...T],x=S(...P);return s.muiName&&(x.muiName=s.muiName),x};return S.withConfig&&(w.withConfig=S.withConfig),w}}function J5(e,t){return void 0}function eE(e){for(const t in e)return!1;return!0}function tE(e){return typeof e=="string"&&e.charCodeAt(0)>96}function nE(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const rE=V2();function Dd(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)n[o]=i||{};else if(!i)n[o]=a;else{n[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const l=s;n[o][l]=Dd(i[l],a[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function oE(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Dd(t.components[n].defaultProps,r)}function W2({props:e,name:t,defaultTheme:n,themeId:r}){let o=Zf(n);return r&&(o=o[r]||o),oE({theme:o,name:t,props:e})}function iE(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function p1(e,t=0,n=1){return iE(e,t,n)}function aE(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function pi(e){if(e.type)return e;if(e.charAt(0)==="#")return pi(aE(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(am(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(am(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const sE=e=>{const t=pi(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},gl=(e,t)=>{try{return sE(e)}catch{return e}};function ap(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function U2(e){e=pi(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(c,u=(c+n/30)%12)=>o-i*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),ap({type:s,values:l})}function um(e){e=pi(e);let t=e.type==="hsl"||e.type==="hsla"?pi(U2(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function lE(e,t){const n=um(e),r=um(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Be(e,t){return e=pi(e),t=p1(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ap(e)}function lu(e,t,n){try{return Be(e,t)}catch{return e}}function ea(e,t){if(e=pi(e),t=p1(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ap(e)}function dt(e,t,n){try{return ea(e,t)}catch{return e}}function ta(e,t){if(e=pi(e),t=p1(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ap(e)}function ft(e,t,n){try{return ta(e,t)}catch{return e}}function cE(e,t=.15){return um(e)>.5?ea(e,t):ta(e,t)}function cu(e,t,n){try{return cE(e,t)}catch{return e}}const G2=b.createContext(null);function g1(){return b.useContext(G2)}const uE=typeof Symbol=="function"&&Symbol.for,dE=uE?Symbol.for("mui.nested"):"__THEME_NESTED__";function fE(e,t){return typeof t=="function"?t(e):{...e,...t}}function pE(e){const{children:t,theme:n}=e,r=g1(),o=b.useMemo(()=>{const i=r===null?{...n}:fE(r,n);return i!=null&&(i[dE]=r!==null),i},[n,r]);return g.jsx(G2.Provider,{value:o,children:t})}const q2=b.createContext();function gE({value:e,...t}){return g.jsx(q2.Provider,{value:e??!0,...t})}const Es=()=>b.useContext(q2)??!1,K2=b.createContext(void 0);function hE({value:e,children:t}){return g.jsx(K2.Provider,{value:e,children:t})}function mE(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Dd(o.defaultProps,r):!o.styleOverrides&&!o.variants?Dd(o,r):r}function vE({props:e,name:t}){const n=b.useContext(K2);return mE({props:e,name:t,theme:{components:n}})}const Zy={};function Qy(e,t,n,r=!1){return b.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),a=e?{...t,[e]:i}:i;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Z2(e){const{children:t,theme:n,themeId:r}=e,o=j2(Zy),i=g1()||Zy,a=Qy(r,o,n),s=Qy(r,i,n,!0),l=a.direction==="rtl";return g.jsx(pE,{theme:s,children:g.jsx(Ff.Provider,{value:a,children:g.jsx(gE,{value:l,children:g.jsx(hE,{value:a==null?void 0:a.components,children:t})})})})}const Yy={theme:void 0};function yE(e){let t,n;return function(o){let i=t;return(i===void 0||o.theme!==n)&&(Yy.theme=o.theme,i=z2(e(Yy)),t=i,n=o.theme),i}}const h1="mode",m1="color-scheme",bE="data-color-scheme";function xE(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=h1,colorSchemeStorageKey:i=m1,attribute:a=bE,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let c="",u=a;if(a==="class"&&(u=".%s"),a==="data"&&(u="[data-%s]"),u.startsWith(".")){const f=u.substring(1);c+=`${s}.classList.remove('${f}'.replace('%s', light), '${f}'.replace('%s', dark)); + ${s}.classList.add('${f}'.replace('%s', colorScheme));`}const d=u.match(/\[([^\]]+)\]/);if(d){const[f,p]=d[1].split("=");p||(c+=`${s}.removeAttribute('${f}'.replace('%s', light)); + ${s}.removeAttribute('${f}'.replace('%s', dark));`),c+=` + ${s}.setAttribute('${f}'.replace('%s', colorScheme), ${p?`${p}.replace('%s', colorScheme)`:'""'});`}else c+=`${s}.setAttribute('${u}', colorScheme);`;return g.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(function() { +try { + let colorScheme = ''; + const mode = localStorage.getItem('${o}') || '${t}'; + const dark = localStorage.getItem('${i}-dark') || '${r}'; + const light = localStorage.getItem('${i}-light') || '${n}'; + if (mode === 'system') { + // handle system mode + const mql = window.matchMedia('(prefers-color-scheme: dark)'); + if (mql.matches) { + colorScheme = dark + } else { + colorScheme = light + } + } + if (mode === 'light') { + colorScheme = light; + } + if (mode === 'dark') { + colorScheme = dark; + } + if (colorScheme) { + ${c} + } +} catch(e){}})();`}},"mui-color-scheme-init")}function Xy(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Q2(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function SE(e){return Q2(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function lg(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function wE(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=h1,colorSchemeStorageKey:a=m1,storageWindow:s=typeof window>"u"?void 0:window}=e,l=o.join(","),c=o.length>1,[u,d]=b.useState(()=>{const m=lg(i,t),w=lg(`${a}-light`,n),_=lg(`${a}-dark`,r);return{mode:m,systemMode:Xy(m),lightColorScheme:w,darkColorScheme:_}}),[,f]=b.useState(!1),p=b.useRef(!1);b.useEffect(()=>{c&&f(!0),p.current=!0},[c]);const h=SE(u),y=b.useCallback(m=>{d(w=>{if(m===w.mode)return w;const _=m??t;try{localStorage.setItem(i,_)}catch{}return{...w,mode:_,systemMode:Xy(_)}})},[i,t]),C=b.useCallback(m=>{m?typeof m=="string"?m&&!l.includes(m)?console.error(`\`${m}\` does not exist in \`theme.colorSchemes\`.`):d(w=>{const _={...w};return Q2(w,R=>{try{localStorage.setItem(`${a}-${R}`,m)}catch{}R==="light"&&(_.lightColorScheme=m),R==="dark"&&(_.darkColorScheme=m)}),_}):d(w=>{const _={...w},R=m.light===null?n:m.light,k=m.dark===null?r:m.dark;if(R)if(!l.includes(R))console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`);else{_.lightColorScheme=R;try{localStorage.setItem(`${a}-light`,R)}catch{}}if(k)if(!l.includes(k))console.error(`\`${k}\` does not exist in \`theme.colorSchemes\`.`);else{_.darkColorScheme=k;try{localStorage.setItem(`${a}-dark`,k)}catch{}}return _}):d(w=>{try{localStorage.setItem(`${a}-light`,n),localStorage.setItem(`${a}-dark`,r)}catch{}return{...w,lightColorScheme:n,darkColorScheme:r}})},[l,a,n,r]),v=b.useCallback(m=>{u.mode==="system"&&d(w=>{const _=m!=null&&m.matches?"dark":"light";return w.systemMode===_?w:{...w,systemMode:_}})},[u.mode]),S=b.useRef(v);return S.current=v,b.useEffect(()=>{if(typeof window.matchMedia!="function"||!c)return;const m=(..._)=>S.current(..._),w=window.matchMedia("(prefers-color-scheme: dark)");return w.addListener(m),m(w),()=>{w.removeListener(m)}},[c]),b.useEffect(()=>{if(s&&c){const m=w=>{const _=w.newValue;typeof w.key=="string"&&w.key.startsWith(a)&&(!_||l.match(_))&&(w.key.endsWith("light")&&C({light:_}),w.key.endsWith("dark")&&C({dark:_})),w.key===i&&(!_||["light","dark","system"].includes(_))&&y(_||t)};return s.addEventListener("storage",m),()=>{s.removeEventListener("storage",m)}}},[C,y,i,a,l,t,s,c]),{...u,mode:p.current||!c?u.mode:void 0,systemMode:p.current||!c?u.systemMode:void 0,colorScheme:p.current||!c?h:void 0,setMode:y,setColorScheme:C}}const CE="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function _E(e){const{themeId:t,theme:n={},modeStorageKey:r=h1,colorSchemeStorageKey:o=m1,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=b.createContext(void 0),u=()=>b.useContext(c)||l;function d(y){var ge,le,Se,ye,Ge;const{children:C,theme:v,modeStorageKey:S=r,colorSchemeStorageKey:m=o,disableTransitionOnChange:w=i,storageWindow:_=typeof window>"u"?void 0:window,documentNode:R=typeof document>"u"?void 0:document,colorSchemeNode:k=typeof document>"u"?void 0:document.documentElement,disableNestedContext:T=!1,disableStyleSheetGeneration:P=!1,defaultMode:x="system"}=y,$=b.useRef(!1),I=g1(),O=b.useContext(c),D=!!O&&!T,M=b.useMemo(()=>v||(typeof n=="function"?n():n),[v]),A=M[t],{colorSchemes:N={},components:E={},cssVarPrefix:L,...B}=A||M,H=Object.keys(N).filter(Pe=>!!N[Pe]).join(","),z=b.useMemo(()=>H.split(","),[H]),j=typeof a=="string"?a:a.light,F=typeof a=="string"?a:a.dark,W=N[j]&&N[F]?x:((le=(ge=N[B.defaultColorScheme])==null?void 0:ge.palette)==null?void 0:le.mode)||((Se=B.palette)==null?void 0:Se.mode),{mode:V,setMode:ee,systemMode:re,lightColorScheme:U,darkColorScheme:K,colorScheme:se,setColorScheme:q}=wE({supportedColorSchemes:z,defaultLightColorScheme:j,defaultDarkColorScheme:F,modeStorageKey:S,colorSchemeStorageKey:m,defaultMode:W,storageWindow:_});let ce=V,ue=se;D&&(ce=O.mode,ue=O.colorScheme);const ie=ue||B.defaultColorScheme,te=((ye=B.generateThemeVars)==null?void 0:ye.call(B))||B.vars,de={...B,components:E,colorSchemes:N,cssVarPrefix:L,vars:te};if(typeof de.generateSpacing=="function"&&(de.spacing=de.generateSpacing()),ie){const Pe=N[ie];Pe&&typeof Pe=="object"&&Object.keys(Pe).forEach(Re=>{Pe[Re]&&typeof Pe[Re]=="object"?de[Re]={...de[Re],...Pe[Re]}:de[Re]=Pe[Re]})}const Q=B.colorSchemeSelector;b.useEffect(()=>{if(ue&&k&&Q&&Q!=="media"){const Pe=Q;let Re=Q;if(Pe==="class"&&(Re=".%s"),Pe==="data"&&(Re="[data-%s]"),Pe!=null&&Pe.startsWith("data-")&&!Pe.includes("%s")&&(Re=`[${Pe}="%s"]`),Re.startsWith("."))k.classList.remove(...z.map(ke=>Re.substring(1).replace("%s",ke))),k.classList.add(Re.substring(1).replace("%s",ue));else{const ke=Re.replace("%s",ue).match(/\[([^\]]+)\]/);if(ke){const[pe,ne]=ke[1].split("=");ne||z.forEach(xe=>{k.removeAttribute(pe.replace(ue,xe))}),k.setAttribute(pe,ne?ne.replace(/"|'/g,""):"")}else k.setAttribute(Re,ue)}}},[ue,Q,k,z]),b.useEffect(()=>{let Pe;if(w&&$.current&&R){const Re=R.createElement("style");Re.appendChild(R.createTextNode(CE)),R.head.appendChild(Re),window.getComputedStyle(R.body),Pe=setTimeout(()=>{R.head.removeChild(Re)},1)}return()=>{clearTimeout(Pe)}},[ue,w,R]),b.useEffect(()=>($.current=!0,()=>{$.current=!1}),[]);const be=b.useMemo(()=>({allColorSchemes:z,colorScheme:ue,darkColorScheme:K,lightColorScheme:U,mode:ce,setColorScheme:q,setMode:ee,systemMode:re}),[z,ue,K,U,ce,q,ee,re]);let Te=!0;(P||B.cssVariables===!1||D&&(I==null?void 0:I.cssVarPrefix)===L)&&(Te=!1);const we=g.jsxs(b.Fragment,{children:[g.jsx(Z2,{themeId:A?t:void 0,theme:s?s(de):de,children:C}),Te&&g.jsx(E2,{styles:((Ge=de.generateStyleSheets)==null?void 0:Ge.call(de))||[]})]});return D?we:g.jsx(c.Provider,{value:be,children:we})}const f=typeof a=="string"?a:a.light,p=typeof a=="string"?a:a.dark;return{CssVarsProvider:d,useColorScheme:u,getInitColorSchemeScript:y=>xE({colorSchemeStorageKey:o,defaultLightColorScheme:f,defaultDarkColorScheme:p,modeStorageKey:r,...y})}}function RE(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const Jy=(e,t,n,r=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},TE=(e,t,n)=>{function r(o,i=[],a=[]){Object.entries(o).forEach(([s,l])=>{(!n||n&&!n([...i,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,s],Array.isArray(l)?[...a,s]:a):t([...i,s],l,a))})}r(e)},PE=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function cg(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return TE(e,(s,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(s,l))){const u=`--${n?`${n}-`:""}${s.join("-")}`,d=PE(s,l);Object.assign(o,{[u]:d}),Jy(i,s,`var(${u})`,c),Jy(a,s,`var(${u}, ${d})`,c)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function kE(e,t={}){const{getSelector:n=C,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...l}=e,{vars:c,css:u,varsWithDefaults:d}=cg(l,t);let f=d;const p={},{[s]:h,...y}=i;if(Object.entries(y||{}).forEach(([m,w])=>{const{vars:_,css:R,varsWithDefaults:k}=cg(w,t);f=So(f,k),p[m]={css:R,vars:_}}),h){const{css:m,vars:w,varsWithDefaults:_}=cg(h,t);f=So(f,_),p[s]={css:m,vars:w}}function C(m,w){var R,k;let _=o;if(o==="class"&&(_=".%s"),o==="data"&&(_="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(_=`[${o}="%s"]`),m){if(_==="media")return e.defaultColorScheme===m?":root":{[`@media (prefers-color-scheme: ${((k=(R=i[m])==null?void 0:R.palette)==null?void 0:k.mode)||m})`]:{":root":w}};if(_)return e.defaultColorScheme===m?`:root, ${_.replace("%s",String(m))}`:_.replace("%s",String(m))}return":root"}return{vars:f,generateThemeVars:()=>{let m={...c};return Object.entries(p).forEach(([,{vars:w}])=>{m=So(m,w)}),m},generateStyleSheets:()=>{var T,P;const m=[],w=e.defaultColorScheme||"light";function _(x,$){Object.keys($).length&&m.push(typeof x=="string"?{[x]:{...$}}:x)}_(n(void 0,{...u}),u);const{[w]:R,...k}=p;if(R){const{css:x}=R,$=(P=(T=i[w])==null?void 0:T.palette)==null?void 0:P.mode,I=!r&&$?{colorScheme:$,...x}:{...x};_(n(w,{...I}),I)}return Object.entries(k).forEach(([x,{css:$}])=>{var D,M;const I=(M=(D=i[x])==null?void 0:D.palette)==null?void 0:M.mode,O=!r&&I?{colorScheme:I,...$}:{...$};_(n(x,{...O}),O)}),m}}}function $E(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function EE(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;lt.root});function OE(e){return W2({props:e,name:"MuiStack",defaultTheme:ME})}function LE(e,t){const n=b.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],NE=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Fr({theme:t},ag({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Hf(t),o=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),i=ag({values:e.direction,base:o}),a=ag({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((l,c,u)=>{if(!i[l]){const f=c>0?i[u[c-1]]:"column";i[l]=f}}),n=So(n,Fr({theme:t},a,(l,c)=>e.useFlexGap?{gap:Ji(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${AE(c?i[c]:e.direction)}`]:Ji(r,l)}}))}return n=Y$(t.breakpoints,n),n};function DE(e={}){const{createStyledComponent:t=IE,useThemeProps:n=OE,componentName:r="MuiStack"}=e,o=()=>EE({root:["root"]},l=>q5(r,l),{}),i=t(NE);return b.forwardRef(function(l,c){const u=n(l),d=u1(u),{component:f="div",direction:p="column",spacing:h=0,divider:y,children:C,className:v,useFlexGap:S=!1,...m}=d,w={direction:p,spacing:h,useFlexGap:S},_=o();return g.jsx(i,{as:f,ownerState:w,ref:c,className:ve(_.root,v),...m,children:y?LE(C,y):C})})}function Uo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Y2(e){if(!Uo(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Y2(e[n])}),t}function oo(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Uo(e)&&Uo(t)&&Object.keys(t).forEach(o=>{Uo(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Uo(e[o])?r[o]=oo(e[o],t[o],n):n.clone?r[o]=Uo(t[o])?Y2(t[o]):t[o]:r[o]=t[o]}),r}function X2(){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:oc.white,default:oc.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 jE=X2();function J2(){return{text:{primary:oc.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:oc.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 eb=J2();function tb(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ta(e.main,o):t==="dark"&&(e.dark=ea(e.main,i)))}function FE(e="light"){return e==="dark"?{main:va[200],light:va[50],dark:va[400]}:{main:va[700],light:va[400],dark:va[800]}}function BE(e="light"){return e==="dark"?{main:ma[200],light:ma[50],dark:ma[400]}:{main:ma[500],light:ma[300],dark:ma[700]}}function zE(e="light"){return e==="dark"?{main:ha[500],light:ha[300],dark:ha[700]}:{main:ha[700],light:ha[400],dark:ha[800]}}function HE(e="light"){return e==="dark"?{main:ya[400],light:ya[300],dark:ya[700]}:{main:ya[700],light:ya[500],dark:ya[900]}}function VE(e="light"){return e==="dark"?{main:ba[400],light:ba[300],dark:ba[700]}:{main:ba[800],light:ba[500],dark:ba[900]}}function WE(e="light"){return e==="dark"?{main:Qs[400],light:Qs[300],dark:Qs[700]}:{main:"#ed6c02",light:Qs[500],dark:Qs[900]}}function v1(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||FE(t),a=e.secondary||BE(t),s=e.error||zE(t),l=e.info||HE(t),c=e.success||VE(t),u=e.warning||WE(t);function d(y){return lE(y,eb.text.primary)>=n?eb.text.primary:jE.text.primary}const f=({color:y,name:C,mainShade:v=500,lightShade:S=300,darkShade:m=700})=>{if(y={...y},!y.main&&y[v]&&(y.main=y[v]),!y.hasOwnProperty("main"))throw new Error(Xi(11,C?` (${C})`:"",v));if(typeof y.main!="string")throw new Error(Xi(12,C?` (${C})`:"",JSON.stringify(y.main)));return tb(y,"light",S,r),tb(y,"dark",m,r),y.contrastText||(y.contrastText=d(y.main)),y};let p;return t==="light"?p=X2():t==="dark"&&(p=J2()),oo({common:{...oc},mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:A4,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...p},o)}function UE(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}const nb=e=>e,GE=()=>{let e=nb;return{configure(t){e=t},generate(t){return e(t)},reset(){e=nb}}},e_=GE(),qE={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 Oe(e,t,n="Mui"){const r=qE[t];return r?`${n}-${r}`:`${e_.generate(e)}-${t}`}function KE(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function ZE(e){return Math.round(e*1e5)/1e5}const rb={textTransform:"uppercase"},ob='"Roboto", "Helvetica", "Arial", sans-serif';function t_(e,t){const{fontFamily:n=ob,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}=typeof t=="function"?t(e):t,f=r/14,p=u||(C=>`${C/l*f}rem`),h=(C,v,S,m,w)=>({fontFamily:n,fontWeight:C,fontSize:p(v),lineHeight:S,...n===ob?{letterSpacing:`${ZE(m/v)}em`}:{},...w,...c}),y={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,rb),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,rb),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return oo({htmlFontSize:l,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...y},d,{clone:!1})}const QE=.2,YE=.14,XE=.12;function bt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${QE})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${YE})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${XE})`].join(",")}const JE=["none",bt(0,2,1,-1,0,1,1,0,0,1,3,0),bt(0,3,1,-2,0,2,2,0,0,1,5,0),bt(0,3,3,-2,0,3,4,0,0,1,8,0),bt(0,2,4,-1,0,4,5,0,0,1,10,0),bt(0,3,5,-1,0,5,8,0,0,1,14,0),bt(0,3,5,-1,0,6,10,0,0,1,18,0),bt(0,4,5,-2,0,7,10,1,0,2,16,1),bt(0,5,5,-3,0,8,10,1,0,3,14,2),bt(0,5,6,-3,0,9,12,1,0,3,16,2),bt(0,6,6,-3,0,10,14,1,0,4,18,3),bt(0,6,7,-4,0,11,15,1,0,4,20,3),bt(0,7,8,-4,0,12,17,2,0,5,22,4),bt(0,7,8,-4,0,13,19,2,0,5,24,4),bt(0,7,9,-4,0,14,21,2,0,5,26,4),bt(0,8,9,-5,0,15,22,2,0,6,28,5),bt(0,8,10,-5,0,16,24,2,0,6,30,5),bt(0,8,11,-5,0,17,26,2,0,6,32,5),bt(0,9,11,-5,0,18,28,2,0,7,34,6),bt(0,9,12,-6,0,19,29,2,0,7,36,6),bt(0,10,13,-6,0,20,31,3,0,8,38,7),bt(0,10,13,-6,0,21,33,3,0,8,40,7),bt(0,10,14,-6,0,22,35,3,0,8,42,7),bt(0,11,14,-7,0,23,36,3,0,9,44,8),bt(0,11,15,-7,0,24,38,3,0,9,46,8)],eM={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)"},n_={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ib(e){return`${Math.round(e)}ms`}function tM(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function nM(e){const t={...eM,...e.easing},n={...n_,...e.duration};return{getAutoHeightDuration:tM,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:l=0,...c}=i;return(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof a=="string"?a:ib(a)} ${s} ${typeof l=="string"?l:ib(l)}`).join(",")},...e,easing:t,duration:n}}const rM={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function oM(e){return Uo(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function r_(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;ioo(p,h),f),f.unstable_sxConfig={...Rc,...c==null?void 0:c.unstable_sxConfig},f.unstable_sx=function(h){return fi({sx:h,theme:this})},f.toRuntimeSource=r_,f}function fm(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const iM=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=fm(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function o_(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function i_(e){return e==="dark"?iM:[]}function aM(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=v1(t);return{palette:i,opacity:{...o_(i.mode),...n},overlays:r||i_(i.mode),...o}}function sM(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const lM=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],cM=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return lM(e.cssVarPrefix).forEach(s=>{a[s]=n[s],delete n[s]}),i==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:a}}:i?{[i.replace("%s",t)]:a,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...a}}}if(i&&i!=="media")return`${r}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function uM(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Z(e,t,n){!e[t]&&n&&(e[t]=n)}function hl(e){return!e||!e.startsWith("hsl")?e:U2(e)}function lo(e,t){`${t}Channel`in e||(e[`${t}Channel`]=gl(hl(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). +To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function dM(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Gr=e=>{try{return e()}catch{}},fM=(e="mui")=>RE(e);function ug(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=aM({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=dm({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...o_(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||i_(o)},a}function pM(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=sM,colorSchemeSelector:s=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...c}=e,u=Object.keys(n)[0],d=r||(n.light&&u!=="light"?"light":u),f=fM(i),{[d]:p,light:h,dark:y,...C}=n,v={...C};let S=p;if((d==="dark"&&!("dark"in n)||d==="light"&&!("light"in n))&&(S=!0),!S)throw new Error(Xi(21,d));const m=ug(v,S,c,d);h&&!v.light&&ug(v,h,void 0,"light"),y&&!v.dark&&ug(v,y,void 0,"dark");let w={defaultColorScheme:d,...m,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:l,getCssVar:f,colorSchemes:v,font:{...UE(m.typography),...m.font},spacing:dM(c.spacing)};Object.keys(w.colorSchemes).forEach(P=>{const x=w.colorSchemes[P].palette,$=I=>{const O=I.split("-"),D=O[1],M=O[2];return f(I,x[D][M])};if(x.mode==="light"&&(Z(x.common,"background","#fff"),Z(x.common,"onBackground","#000")),x.mode==="dark"&&(Z(x.common,"background","#000"),Z(x.common,"onBackground","#fff")),uM(x,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),x.mode==="light"){Z(x.Alert,"errorColor",dt(x.error.light,.6)),Z(x.Alert,"infoColor",dt(x.info.light,.6)),Z(x.Alert,"successColor",dt(x.success.light,.6)),Z(x.Alert,"warningColor",dt(x.warning.light,.6)),Z(x.Alert,"errorFilledBg",$("palette-error-main")),Z(x.Alert,"infoFilledBg",$("palette-info-main")),Z(x.Alert,"successFilledBg",$("palette-success-main")),Z(x.Alert,"warningFilledBg",$("palette-warning-main")),Z(x.Alert,"errorFilledColor",Gr(()=>x.getContrastText(x.error.main))),Z(x.Alert,"infoFilledColor",Gr(()=>x.getContrastText(x.info.main))),Z(x.Alert,"successFilledColor",Gr(()=>x.getContrastText(x.success.main))),Z(x.Alert,"warningFilledColor",Gr(()=>x.getContrastText(x.warning.main))),Z(x.Alert,"errorStandardBg",ft(x.error.light,.9)),Z(x.Alert,"infoStandardBg",ft(x.info.light,.9)),Z(x.Alert,"successStandardBg",ft(x.success.light,.9)),Z(x.Alert,"warningStandardBg",ft(x.warning.light,.9)),Z(x.Alert,"errorIconColor",$("palette-error-main")),Z(x.Alert,"infoIconColor",$("palette-info-main")),Z(x.Alert,"successIconColor",$("palette-success-main")),Z(x.Alert,"warningIconColor",$("palette-warning-main")),Z(x.AppBar,"defaultBg",$("palette-grey-100")),Z(x.Avatar,"defaultBg",$("palette-grey-400")),Z(x.Button,"inheritContainedBg",$("palette-grey-300")),Z(x.Button,"inheritContainedHoverBg",$("palette-grey-A100")),Z(x.Chip,"defaultBorder",$("palette-grey-400")),Z(x.Chip,"defaultAvatarColor",$("palette-grey-700")),Z(x.Chip,"defaultIconColor",$("palette-grey-700")),Z(x.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Z(x.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Z(x.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Z(x.LinearProgress,"primaryBg",ft(x.primary.main,.62)),Z(x.LinearProgress,"secondaryBg",ft(x.secondary.main,.62)),Z(x.LinearProgress,"errorBg",ft(x.error.main,.62)),Z(x.LinearProgress,"infoBg",ft(x.info.main,.62)),Z(x.LinearProgress,"successBg",ft(x.success.main,.62)),Z(x.LinearProgress,"warningBg",ft(x.warning.main,.62)),Z(x.Skeleton,"bg",`rgba(${$("palette-text-primaryChannel")} / 0.11)`),Z(x.Slider,"primaryTrack",ft(x.primary.main,.62)),Z(x.Slider,"secondaryTrack",ft(x.secondary.main,.62)),Z(x.Slider,"errorTrack",ft(x.error.main,.62)),Z(x.Slider,"infoTrack",ft(x.info.main,.62)),Z(x.Slider,"successTrack",ft(x.success.main,.62)),Z(x.Slider,"warningTrack",ft(x.warning.main,.62));const I=cu(x.background.default,.8);Z(x.SnackbarContent,"bg",I),Z(x.SnackbarContent,"color",Gr(()=>x.getContrastText(I))),Z(x.SpeedDialAction,"fabHoverBg",cu(x.background.paper,.15)),Z(x.StepConnector,"border",$("palette-grey-400")),Z(x.StepContent,"border",$("palette-grey-400")),Z(x.Switch,"defaultColor",$("palette-common-white")),Z(x.Switch,"defaultDisabledColor",$("palette-grey-100")),Z(x.Switch,"primaryDisabledColor",ft(x.primary.main,.62)),Z(x.Switch,"secondaryDisabledColor",ft(x.secondary.main,.62)),Z(x.Switch,"errorDisabledColor",ft(x.error.main,.62)),Z(x.Switch,"infoDisabledColor",ft(x.info.main,.62)),Z(x.Switch,"successDisabledColor",ft(x.success.main,.62)),Z(x.Switch,"warningDisabledColor",ft(x.warning.main,.62)),Z(x.TableCell,"border",ft(lu(x.divider,1),.88)),Z(x.Tooltip,"bg",lu(x.grey[700],.92))}if(x.mode==="dark"){Z(x.Alert,"errorColor",ft(x.error.light,.6)),Z(x.Alert,"infoColor",ft(x.info.light,.6)),Z(x.Alert,"successColor",ft(x.success.light,.6)),Z(x.Alert,"warningColor",ft(x.warning.light,.6)),Z(x.Alert,"errorFilledBg",$("palette-error-dark")),Z(x.Alert,"infoFilledBg",$("palette-info-dark")),Z(x.Alert,"successFilledBg",$("palette-success-dark")),Z(x.Alert,"warningFilledBg",$("palette-warning-dark")),Z(x.Alert,"errorFilledColor",Gr(()=>x.getContrastText(x.error.dark))),Z(x.Alert,"infoFilledColor",Gr(()=>x.getContrastText(x.info.dark))),Z(x.Alert,"successFilledColor",Gr(()=>x.getContrastText(x.success.dark))),Z(x.Alert,"warningFilledColor",Gr(()=>x.getContrastText(x.warning.dark))),Z(x.Alert,"errorStandardBg",dt(x.error.light,.9)),Z(x.Alert,"infoStandardBg",dt(x.info.light,.9)),Z(x.Alert,"successStandardBg",dt(x.success.light,.9)),Z(x.Alert,"warningStandardBg",dt(x.warning.light,.9)),Z(x.Alert,"errorIconColor",$("palette-error-main")),Z(x.Alert,"infoIconColor",$("palette-info-main")),Z(x.Alert,"successIconColor",$("palette-success-main")),Z(x.Alert,"warningIconColor",$("palette-warning-main")),Z(x.AppBar,"defaultBg",$("palette-grey-900")),Z(x.AppBar,"darkBg",$("palette-background-paper")),Z(x.AppBar,"darkColor",$("palette-text-primary")),Z(x.Avatar,"defaultBg",$("palette-grey-600")),Z(x.Button,"inheritContainedBg",$("palette-grey-800")),Z(x.Button,"inheritContainedHoverBg",$("palette-grey-700")),Z(x.Chip,"defaultBorder",$("palette-grey-700")),Z(x.Chip,"defaultAvatarColor",$("palette-grey-300")),Z(x.Chip,"defaultIconColor",$("palette-grey-300")),Z(x.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Z(x.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Z(x.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Z(x.LinearProgress,"primaryBg",dt(x.primary.main,.5)),Z(x.LinearProgress,"secondaryBg",dt(x.secondary.main,.5)),Z(x.LinearProgress,"errorBg",dt(x.error.main,.5)),Z(x.LinearProgress,"infoBg",dt(x.info.main,.5)),Z(x.LinearProgress,"successBg",dt(x.success.main,.5)),Z(x.LinearProgress,"warningBg",dt(x.warning.main,.5)),Z(x.Skeleton,"bg",`rgba(${$("palette-text-primaryChannel")} / 0.13)`),Z(x.Slider,"primaryTrack",dt(x.primary.main,.5)),Z(x.Slider,"secondaryTrack",dt(x.secondary.main,.5)),Z(x.Slider,"errorTrack",dt(x.error.main,.5)),Z(x.Slider,"infoTrack",dt(x.info.main,.5)),Z(x.Slider,"successTrack",dt(x.success.main,.5)),Z(x.Slider,"warningTrack",dt(x.warning.main,.5));const I=cu(x.background.default,.98);Z(x.SnackbarContent,"bg",I),Z(x.SnackbarContent,"color",Gr(()=>x.getContrastText(I))),Z(x.SpeedDialAction,"fabHoverBg",cu(x.background.paper,.15)),Z(x.StepConnector,"border",$("palette-grey-600")),Z(x.StepContent,"border",$("palette-grey-600")),Z(x.Switch,"defaultColor",$("palette-grey-300")),Z(x.Switch,"defaultDisabledColor",$("palette-grey-600")),Z(x.Switch,"primaryDisabledColor",dt(x.primary.main,.55)),Z(x.Switch,"secondaryDisabledColor",dt(x.secondary.main,.55)),Z(x.Switch,"errorDisabledColor",dt(x.error.main,.55)),Z(x.Switch,"infoDisabledColor",dt(x.info.main,.55)),Z(x.Switch,"successDisabledColor",dt(x.success.main,.55)),Z(x.Switch,"warningDisabledColor",dt(x.warning.main,.55)),Z(x.TableCell,"border",dt(lu(x.divider,1),.68)),Z(x.Tooltip,"bg",lu(x.grey[700],.92))}lo(x.background,"default"),lo(x.background,"paper"),lo(x.common,"background"),lo(x.common,"onBackground"),lo(x,"divider"),Object.keys(x).forEach(I=>{const O=x[I];O&&typeof O=="object"&&(O.main&&Z(x[I],"mainChannel",gl(hl(O.main))),O.light&&Z(x[I],"lightChannel",gl(hl(O.light))),O.dark&&Z(x[I],"darkChannel",gl(hl(O.dark))),O.contrastText&&Z(x[I],"contrastTextChannel",gl(hl(O.contrastText))),I==="text"&&(lo(x[I],"primary"),lo(x[I],"secondary")),I==="action"&&(O.active&&lo(x[I],"active"),O.selected&&lo(x[I],"selected")))})}),w=t.reduce((P,x)=>oo(P,x),w);const _={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:cM(w)},{vars:R,generateThemeVars:k,generateStyleSheets:T}=kE(w,_);return w.vars=R,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([P,x])=>{w[P]=x}),w.generateThemeVars=k,w.generateStyleSheets=T,w.generateSpacing=function(){return D2(c.spacing,Hf(this))},w.getColorSchemeSelector=$E(s),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=a,w.unstable_sxConfig={...Rc,...c==null?void 0:c.unstable_sxConfig},w.unstable_sx=function(x){return fi({sx:x,theme:this})},w.toRuntimeSource=r_,w}function ab(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:v1({...n===!0?{}:n.palette,mode:t})})}function sp(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...a}=e,s=i||"light",l=o==null?void 0:o[s],c={...o,...n?{[s]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return dm(e,...t);let u=n;"palette"in e||c[s]&&(c[s]!==!0?u=c[s].palette:s==="dark"&&(u={mode:"dark"}));const d=dm({...e,palette:u},...t);return d.defaultColorScheme=s,d.colorSchemes=c,d.palette.mode==="light"&&(d.colorSchemes.light={...c.light!==!0&&c.light,palette:d.palette},ab(d,"dark",c.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:d.palette},ab(d,"light",c.light)),d}return!n&&!("light"in c)&&s==="light"&&(c.light=!0),pM({...a,colorSchemes:c,defaultColorScheme:s,...typeof r!="boolean"&&r},...t)}const lp=sp();function zt(){const e=Zf(lp);return e[Nr]||e}function gM({props:e,name:t}){return W2({props:e,name:t,defaultTheme:lp,themeId:Nr})}function a_(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const wn=e=>a_(e)&&e!=="classes",J=V2({themeId:Nr,defaultTheme:lp,rootShouldForwardProp:wn});function sb({theme:e,...t}){const n=Nr in e?e[Nr]:void 0;return g.jsx(Z2,{...t,themeId:n?Nr:void 0,theme:n||e})}const uu={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:hM,useColorScheme:FK,getInitColorSchemeScript:BK}=_E({themeId:Nr,theme:()=>sp({cssVariables:!0}),colorSchemeStorageKey:uu.colorSchemeStorageKey,modeStorageKey:uu.modeStorageKey,defaultColorScheme:{light:uu.defaultLightColorScheme,dark:uu.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:t_(e.palette,e.typography)};return t.unstable_sx=function(r){return fi({sx:r,theme:this})},t}}),mM=hM;function vM({theme:e,...t}){return typeof e=="function"?g.jsx(sb,{theme:e,...t}):"colorSchemes"in(Nr in e?e[Nr]:e)?g.jsx(mM,{theme:e,...t}):g.jsx(sb,{theme:e,...t})}function ae(e){if(typeof e!="string")throw new Error(Xi(7));return e.charAt(0).toUpperCase()+e.slice(1)}function pm(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function cp(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function dg(e,t){var n,r,o;return b.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function ln(e){return e&&e.ownerDocument||document}function Br(e){return ln(e).defaultView||window}function jd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const zr=typeof window<"u"?b.useLayoutEffect:b.useEffect;let lb=0;function yM(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(lb+=1,n(`mui-${lb}`))},[t]),r}const bM={...id},cb=bM.useId;function ds(e){if(cb!==void 0){const t=cb();return e??t}return yM(e)}function Hi({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=b.useRef(e!==void 0),[i,a]=b.useState(t),s=o?e:i,l=b.useCallback(c=>{o||a(c)},[]);return[s,l]}function bn(e){const t=b.useRef(e);return zr(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function Rt(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{jd(n,t)})},e)}const ub={};function s_(e,t){const n=b.useRef(ub);return n.current===ub&&(n.current=e(t)),n}const xM=[];function SM(e){b.useEffect(e,xM)}class up{constructor(){zs(this,"currentId",null);zs(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});zs(this,"disposeEffect",()=>this.clear)}static create(){return new up}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Ni(){const e=s_(up.create).current;return SM(e.disposeEffect),e}function Fd(e){try{return e.matches(":focus-visible")}catch{}return!1}function l_(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const wM=e=>{const t=b.useRef({});return b.useEffect(()=>{t.current=e}),t.current};function c_(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)n[o]=i||{};else if(!i)n[o]=a;else{n[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const l=s;n[o][l]=c_(i[l],a[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function Ne(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;l{r[o]=Oe(e,o,n)}),r}function CM(e){return typeof e=="string"}function Ha(e,t,n){return e===void 0||CM(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function u_(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function db(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function d_(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const p=ve(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},y={...n,...o,...r};return p.length>0&&(y.className=p),Object.keys(h).length>0&&(y.style=h),{props:y,internalRef:void 0}}const a=u_({...o,...r}),s=db(r),l=db(o),c=t(a),u=ve(c==null?void 0:c.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),d={...c==null?void 0:c.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},f={...c,...n,...l,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}function f_(e,t,n){return typeof e=="function"?e(t,n):e}function na(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:f_(n,r),{props:s,internalRef:l}=d_({...i,externalSlotProps:a}),c=Rt(l,a==null?void 0:a.ref,(d=e.additionalProps)==null?void 0:d.ref);return Ha(t,{...s,ref:c},r)}function ua(e){var t;return parseInt(b.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}function _M(e){return g.jsx(z5,{...e,defaultTheme:lp,themeId:Nr})}function RM(e){return function(n){return g.jsx(_M,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function TM(){return u1}const $e=yE;function De(e){return vE(e)}function PM(e){return Oe("MuiSvgIcon",e)}Ee("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const kM=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ae(t)}`,`fontSize${ae(n)}`]};return Ne(o,PM,r)},$M=J("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ae(n.color)}`],t[`fontSize${ae(n.fontSize)}`]]}})($e(({theme:e})=>{var t,n,r,o,i,a,s,l,c,u,d,f,p,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:y=>!y.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((u=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,y])=>y&&y.main).map(([y])=>{var C,v;return{props:{color:y},style:{color:(v=(C=(e.vars??e).palette)==null?void 0:C[y])==null?void 0:v.main}}}),{props:{color:"action"},style:{color:(f=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:f.active}},{props:{color:"disabled"},style:{color:(h=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:h.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),ra=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f="0 0 24 24",...p}=r,h=b.isValidElement(o)&&o.type==="svg",y={...r,color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:h},C={};u||(C.viewBox=f);const v=kM(y);return g.jsxs($M,{as:s,className:ve(v.root,i),focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...C,...p,...h&&o.props,ownerState:y,children:[h?o.props.children:o,d?g.jsx("title",{children:d}):null]})});ra&&(ra.muiName="SvgIcon");function un(e,t){function n(r,o){return g.jsx(ra,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=ra.muiName,b.memo(b.forwardRef(n))}function Ms(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function gm(e,t){return gm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},gm(e,t)}function p_(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gm(e,t)}const fb={disabled:!1},Bd=rt.createContext(null);var EM=function(t){return t.scrollTop},ml="unmounted",$i="exited",Ei="entering",_a="entered",hm="exiting",Hr=function(e){p_(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=o,s=a&&!a.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?s?(l=$i,i.appearStatus=Ei):l=_a:r.unmountOnExit||r.mountOnEnter?l=ml:l=$i,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===ml?{status:$i}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Ei&&a!==_a&&(i=Ei):(a===Ei||a===_a)&&(i=hm)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Ei){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:au.findDOMNode(this);a&&EM(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===$i&&this.setState({status:ml})},n.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[au.findDOMNode(this),s],c=l[0],u=l[1],d=this.getTimeouts(),f=s?d.appear:d.enter;if(!o&&!a||fb.disabled){this.safeSetState({status:_a},function(){i.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Ei},function(){i.props.onEntering(c,u),i.onTransitionEnd(f,function(){i.safeSetState({status:_a},function(){i.props.onEntered(c,u)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:au.findDOMNode(this);if(!i||fb.disabled){this.safeSetState({status:$i},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:hm},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:$i},function(){o.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:au.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ml)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=Ms(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return rt.createElement(Bd.Provider,{value:null},typeof a=="function"?a(o,s):rt.cloneElement(rt.Children.only(a),s))},t}(rt.Component);Hr.contextType=Bd;Hr.propTypes={};function xa(){}Hr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:xa,onEntering:xa,onEntered:xa,onExit:xa,onExiting:xa,onExited:xa};Hr.UNMOUNTED=ml;Hr.EXITED=$i;Hr.ENTERING=Ei;Hr.ENTERED=_a;Hr.EXITING=hm;function MM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y1(e,t){var n=function(i){return t&&b.isValidElement(i)?t(i):i},r=Object.create(null);return e&&b.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function IM(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(r[l])for(a=0;ae.scrollTop;function fs(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function DM(e){return Oe("MuiCollapse",e)}Ee("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const jM=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Ne(r,DM,n)},FM=J("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})($e(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),BM=J("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),zM=J("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),ps=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:a,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:p,onExit:h,onExited:y,onExiting:C,orientation:v="vertical",style:S,timeout:m=n_.standard,TransitionComponent:w=Hr,..._}=r,R={...r,orientation:v,collapsedSize:s},k=jM(R),T=zt(),P=Ni(),x=b.useRef(null),$=b.useRef(),I=typeof s=="number"?`${s}px`:s,O=v==="horizontal",D=O?"width":"height",M=b.useRef(null),A=Rt(n,M),N=V=>ee=>{if(V){const re=M.current;ee===void 0?V(re):V(re,ee)}},E=()=>x.current?x.current[O?"clientWidth":"clientHeight"]:0,L=N((V,ee)=>{x.current&&O&&(x.current.style.position="absolute"),V.style[D]=I,d&&d(V,ee)}),B=N((V,ee)=>{const re=E();x.current&&O&&(x.current.style.position="");const{duration:U,easing:K}=fs({style:S,timeout:m,easing:c},{mode:"enter"});if(m==="auto"){const se=T.transitions.getAutoHeightDuration(re);V.style.transitionDuration=`${se}ms`,$.current=se}else V.style.transitionDuration=typeof U=="string"?U:`${U}ms`;V.style[D]=`${re}px`,V.style.transitionTimingFunction=K,p&&p(V,ee)}),H=N((V,ee)=>{V.style[D]="auto",f&&f(V,ee)}),z=N(V=>{V.style[D]=`${E()}px`,h&&h(V)}),j=N(y),F=N(V=>{const ee=E(),{duration:re,easing:U}=fs({style:S,timeout:m,easing:c},{mode:"exit"});if(m==="auto"){const K=T.transitions.getAutoHeightDuration(ee);V.style.transitionDuration=`${K}ms`,$.current=K}else V.style.transitionDuration=typeof re=="string"?re:`${re}ms`;V.style[D]=I,V.style.transitionTimingFunction=U,C&&C(V)}),W=V=>{m==="auto"&&P.start($.current||0,V),o&&o(M.current,V)};return g.jsx(w,{in:u,onEnter:L,onEntered:H,onEntering:B,onExit:z,onExited:j,onExiting:F,addEndListener:W,nodeRef:M,timeout:m==="auto"?null:m,..._,children:(V,ee)=>g.jsx(FM,{as:l,className:ve(k.root,a,{entered:k.entered,exited:!u&&I==="0px"&&k.hidden}[V]),style:{[O?"minWidth":"minHeight"]:I,...S},ref:A,...ee,ownerState:{...R,state:V},children:g.jsx(BM,{ownerState:{...R,state:V},className:k.wrapper,ref:x,children:g.jsx(zM,{ownerState:{...R,state:V},className:k.wrapperInner,children:i})})})})});ps&&(ps.muiSupportAuto=!0);function HM(e){return Oe("MuiPaper",e)}Ee("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 VM=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ne(i,HM,o)},WM=J("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})($e(({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:t})=>!t.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)"}}]}))),Is=b.forwardRef(function(t,n){var p;const r=De({props:t,name:"MuiPaper"}),o=zt(),{className:i,component:a="div",elevation:s=1,square:l=!1,variant:c="elevation",...u}=r,d={...r,component:a,elevation:s,square:l,variant:c},f=VM(d);return g.jsx(WM,{as:a,ownerState:d,className:ve(f.root,i),ref:n,...u,style:{...c==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[s],...o.vars&&{"--Paper-overlay":(p=o.vars.overlays)==null?void 0:p[s]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Be("#fff",fm(s))}, ${Be("#fff",fm(s))})`}},...u.style}})});function an(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:s,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=i,p=u[e]||r,h=f_(d[e],o),{props:{component:y,...C},internalRef:v}=d_({className:n,...l,externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h}),S=Rt(v,h==null?void 0:h.ref,t.ref),m=a?a(C):{},w={...o,...m},_=e==="root"?y||c:y,R=Ha(p,{...e==="root"&&!c&&!u[e]&&s,...e!=="root"&&!u[e]&&s,...C,..._&&{as:_},ref:S},w);return Object.keys(m).forEach(k=>{delete R[k]}),[p,R]}class zd{constructor(){zs(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new zd}static use(){const t=s_(zd.create).current,[n,r]=b.useState(!1);return t.shouldMount=n,t.setShouldMount=r,b.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=GM(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function UM(){return zd.use()}function GM(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function qM(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[u,d]=b.useState(!1),f=ve(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},h=ve(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),b.useEffect(()=>{if(!s&&l!=null){const y=setTimeout(l,c);return()=>{clearTimeout(y)}}},[l,s,c]),g.jsx("span",{className:f,style:p,children:g.jsx("span",{className:h})})}const cr=Ee("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),mm=550,KM=80,ZM=a1` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`,QM=a1` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`,YM=a1` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`,XM=J("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),JM=J(qM,{name:"MuiTouchRipple",slot:"Ripple"})` + opacity: 0; + position: absolute; + + &.${cr.rippleVisible} { + opacity: 0.3; + transform: scale(1); + animation-name: ${ZM}; + animation-duration: ${mm}ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + } + + &.${cr.ripplePulsate} { + animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; + } + + & .${cr.child} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${cr.childLeaving} { + opacity: 0; + animation-name: ${QM}; + animation-duration: ${mm}ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + } + + & .${cr.childPulsate} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${YM}; + animation-duration: 2500ms; + animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`,e8=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...s}=r,[l,c]=b.useState([]),u=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.useRef(!1),p=Ni(),h=b.useRef(null),y=b.useRef(null),C=b.useCallback(w=>{const{pulsate:_,rippleX:R,rippleY:k,rippleSize:T,cb:P}=w;c(x=>[...x,g.jsx(JM,{classes:{ripple:ve(i.ripple,cr.ripple),rippleVisible:ve(i.rippleVisible,cr.rippleVisible),ripplePulsate:ve(i.ripplePulsate,cr.ripplePulsate),child:ve(i.child,cr.child),childLeaving:ve(i.childLeaving,cr.childLeaving),childPulsate:ve(i.childPulsate,cr.childPulsate)},timeout:mm,pulsate:_,rippleX:R,rippleY:k,rippleSize:T},u.current)]),u.current+=1,d.current=P},[i]),v=b.useCallback((w={},_={},R=()=>{})=>{const{pulsate:k=!1,center:T=o||_.pulsate,fakeElement:P=!1}=_;if((w==null?void 0:w.type)==="mousedown"&&f.current){f.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(f.current=!0);const x=P?null:y.current,$=x?x.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,O,D;if(T||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round($.width/2),O=Math.round($.height/2);else{const{clientX:M,clientY:A}=w.touches&&w.touches.length>0?w.touches[0]:w;I=Math.round(M-$.left),O=Math.round(A-$.top)}if(T)D=Math.sqrt((2*$.width**2+$.height**2)/3),D%2===0&&(D+=1);else{const M=Math.max(Math.abs((x?x.clientWidth:0)-I),I)*2+2,A=Math.max(Math.abs((x?x.clientHeight:0)-O),O)*2+2;D=Math.sqrt(M**2+A**2)}w!=null&&w.touches?h.current===null&&(h.current=()=>{C({pulsate:k,rippleX:I,rippleY:O,rippleSize:D,cb:R})},p.start(KM,()=>{h.current&&(h.current(),h.current=null)})):C({pulsate:k,rippleX:I,rippleY:O,rippleSize:D,cb:R})},[o,C,p]),S=b.useCallback(()=>{v({},{pulsate:!0})},[v]),m=b.useCallback((w,_)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&h.current){h.current(),h.current=null,p.start(0,()=>{m(w,_)});return}h.current=null,c(R=>R.length>0?R.slice(1):R),d.current=_},[p]);return b.useImperativeHandle(n,()=>({pulsate:S,start:v,stop:m}),[S,v,m]),g.jsx(XM,{className:ve(cr.root,i.root,a),ref:y,...s,children:g.jsx(b1,{component:null,exit:!0,children:l})})});function t8(e){return Oe("MuiButtonBase",e)}const n8=Ee("MuiButtonBase",["root","disabled","focusVisible"]),r8=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Ne({root:["root",t&&"disabled",n&&"focusVisible"]},t8,o);return n&&r&&(a.root+=` ${r}`),a},o8=J("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${n8.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),To=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:p,LinkComponent:h="a",onBlur:y,onClick:C,onContextMenu:v,onDragLeave:S,onFocus:m,onFocusVisible:w,onKeyDown:_,onKeyUp:R,onMouseDown:k,onMouseLeave:T,onMouseUp:P,onTouchEnd:x,onTouchMove:$,onTouchStart:I,tabIndex:O=0,TouchRippleProps:D,touchRippleRef:M,type:A,...N}=r,E=b.useRef(null),L=UM(),B=Rt(L.ref,M),[H,z]=b.useState(!1);c&&H&&z(!1),b.useImperativeHandle(o,()=>({focusVisible:()=>{z(!0),E.current.focus()}}),[]);const j=L.shouldMount&&!u&&!c;b.useEffect(()=>{H&&f&&!u&&L.pulsate()},[u,f,H,L]);function F(le,Se,ye=d){return bn(Ge=>(Se&&Se(Ge),ye||L[le](Ge),!0))}const W=F("start",k),V=F("stop",v),ee=F("stop",S),re=F("stop",P),U=F("stop",le=>{H&&le.preventDefault(),T&&T(le)}),K=F("start",I),se=F("stop",x),q=F("stop",$),ce=F("stop",le=>{Fd(le.target)||z(!1),y&&y(le)},!1),ue=bn(le=>{E.current||(E.current=le.currentTarget),Fd(le.target)&&(z(!0),w&&w(le)),m&&m(le)}),ie=()=>{const le=E.current;return l&&l!=="button"&&!(le.tagName==="A"&&le.href)},te=bn(le=>{f&&!le.repeat&&H&&le.key===" "&&L.stop(le,()=>{L.start(le)}),le.target===le.currentTarget&&ie()&&le.key===" "&&le.preventDefault(),_&&_(le),le.target===le.currentTarget&&ie()&&le.key==="Enter"&&!c&&(le.preventDefault(),C&&C(le))}),de=bn(le=>{f&&le.key===" "&&H&&!le.defaultPrevented&&L.stop(le,()=>{L.pulsate(le)}),R&&R(le),C&&le.target===le.currentTarget&&ie()&&le.key===" "&&!le.defaultPrevented&&C(le)});let Q=l;Q==="button"&&(N.href||N.to)&&(Q=h);const be={};Q==="button"?(be.type=A===void 0?"button":A,be.disabled=c):(!N.href&&!N.to&&(be.role="button"),c&&(be["aria-disabled"]=c));const Te=Rt(n,E),we={...r,centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:O,focusVisible:H},ge=r8(we);return g.jsxs(o8,{as:Q,className:ve(ge.root,s),ownerState:we,onBlur:ce,onClick:C,onContextMenu:V,onFocus:ue,onKeyDown:te,onKeyUp:de,onMouseDown:W,onMouseLeave:U,onMouseUp:re,onDragLeave:ee,onTouchEnd:se,onTouchMove:q,onTouchStart:K,ref:Te,tabIndex:c?-1:O,type:A,...be,...N,children:[a,j?g.jsx(e8,{ref:B,center:i,...D}):null]})});function i8(e){return typeof e.main=="string"}function a8(e,t=[]){if(!i8(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Ft(e=[]){return([,t])=>t&&a8(t,e)}function s8(e){return Oe("MuiAlert",e)}const pb=Ee("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function l8(e){return Oe("MuiIconButton",e)}const c8=Ee("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),u8=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${ae(r)}`,o&&`edge${ae(o)}`,`size${ae(i)}`]};return Ne(a,l8,t)},d8=J(To,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ae(n.color)}`],n.edge&&t[`edge${ae(n.edge)}`],t[`size${ae(n.size)}`]]}})($e(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),$e(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${c8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),hr=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium",...d}=r,f={...r,edge:o,color:s,disabled:l,disableFocusRipple:c,size:u},p=u8(f);return g.jsx(d8,{className:ve(p.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:n,...d,ownerState:f,children:i})}),f8=un(g.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),p8=un(g.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),g8=un(g.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),h8=un(g.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),h_=un(g.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),m8=e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`color${ae(n||r)}`,`${t}${ae(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Ne(i,s8,o)},v8=J(Is,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ae(n.color||n.severity)}`]]}})($e(({theme:e})=>{const t=e.palette.mode==="light"?ea:ta,n=e.palette.mode==="light"?ta:ea;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Ft(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${pb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Ft(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${pb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Ft(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),y8=J("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),b8=J("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),gb=J("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),hb={success:g.jsx(f8,{fontSize:"inherit"}),warning:g.jsx(p8,{fontSize:"inherit"}),error:g.jsx(g8,{fontSize:"inherit"}),info:g.jsx(h8,{fontSize:"inherit"})},m_=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiAlert"}),{action:o,children:i,className:a,closeText:s="Close",color:l,components:c={},componentsProps:u={},icon:d,iconMapping:f=hb,onClose:p,role:h="alert",severity:y="success",slotProps:C={},slots:v={},variant:S="standard",...m}=r,w={...r,color:l,severity:y,variant:S,colorSeverity:l||y},_=m8(w),R={slots:{closeButton:c.CloseButton,closeIcon:c.CloseIcon,...v},slotProps:{...u,...C}},[k,T]=an("closeButton",{elementType:hr,externalForwardedProps:R,ownerState:w}),[P,x]=an("closeIcon",{elementType:h_,externalForwardedProps:R,ownerState:w});return g.jsxs(v8,{role:h,elevation:0,ownerState:w,className:ve(_.root,a),ref:n,...m,children:[d!==!1?g.jsx(y8,{ownerState:w,className:_.icon,children:d||f[y]||hb[y]}):null,g.jsx(b8,{ownerState:w,className:_.message,children:i}),o!=null?g.jsx(gb,{ownerState:w,className:_.action,children:o}):null,o==null&&p?g.jsx(gb,{ownerState:w,className:_.action,children:g.jsx(k,{size:"small","aria-label":s,title:s,color:"inherit",onClick:p,...T,children:g.jsx(P,{fontSize:"small",...x})})}):null]})});function x8(e){return Oe("MuiTypography",e)}Ee("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const S8={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},w8=TM(),C8=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${ae(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Ne(s,x8,a)},_8=J("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ae(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})($e(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(Ft()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${ae(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),mb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},mt=b.forwardRef(function(t,n){const{color:r,...o}=De({props:t,name:"MuiTypography"}),i=!S8[r],a=w8({...o,...i&&{color:r}}),{align:s="inherit",className:l,component:c,gutterBottom:u=!1,noWrap:d=!1,paragraph:f=!1,variant:p="body1",variantMapping:h=mb,...y}=a,C={...a,align:s,color:r,className:l,component:c,gutterBottom:u,noWrap:d,paragraph:f,variant:p,variantMapping:h},v=c||(f?"p":h[p]||mb[p])||"span",S=C8(C);return g.jsx(_8,{as:v,ref:n,className:ve(S.root,l),...y,ownerState:C,style:{...s!=="inherit"&&{"--Typography-textAlign":s},...y.style}})});function vb(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function R8(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:i,trim:a=!1}=e;return(s,{inputValue:l,getOptionLabel:c})=>{let u=a?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=vb(u));const d=u?s.filter(f=>{let p=(i||c)(f);return n&&(p=p.toLowerCase()),t&&(p=vb(p)),o==="start"?p.startsWith(u):p.includes(u)}):s;return typeof r=="number"?d.slice(0,r):d}}const T8=R8(),yb=5,P8=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},k8=[];function $8(e){const{unstable_isActiveElementInListbox:t=P8,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:o=!1,autoSelect:i=!1,blurOnSelect:a=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:u=e.multiple?k8:null,disableClearable:d=!1,disableCloseOnSelect:f=!1,disabled:p,disabledItemsFocusable:h=!1,disableListWrap:y=!1,filterOptions:C=T8,filterSelectedOptions:v=!1,freeSolo:S=!1,getOptionDisabled:m,getOptionKey:w,getOptionLabel:_=X=>X.label??X,groupBy:R,handleHomeEndKeys:k=!e.freeSolo,id:T,includeInputInList:P=!1,inputValue:x,isOptionEqualToValue:$=(X,Y)=>X===Y,multiple:I=!1,onChange:O,onClose:D,onHighlightChange:M,onInputChange:A,onOpen:N,open:E,openOnFocus:L=!1,options:B,readOnly:H=!1,selectOnFocus:z=!e.freeSolo,value:j}=e,F=ds(T);let W=_;W=X=>{const Y=_(X);return typeof Y!="string"?String(Y):Y};const V=b.useRef(!1),ee=b.useRef(!0),re=b.useRef(null),U=b.useRef(null),[K,se]=b.useState(null),[q,ce]=b.useState(-1),ue=o?0:-1,ie=b.useRef(ue),[te,de]=Hi({controlled:j,default:u,name:c}),[Q,be]=Hi({controlled:x,default:"",name:c,state:"inputValue"}),[Te,we]=b.useState(!1),ge=b.useCallback((X,Y,Ce)=>{if(!(I?te.length!(v&&(I?te:[te]).some(Y=>Y!==null&&$(X,Y)))),{inputValue:Pe&&ye?"":Q,getOptionLabel:W}):[],pe=wM({filteredOptions:ke,value:te,inputValue:Q});b.useEffect(()=>{const X=te!==pe.value;Te&&!X||S&&!X||ge(null,te,"reset")},[te,ge,Te,pe.value,S]);const ne=le&&ke.length>0&&!H,xe=bn(X=>{X===-1?re.current.focus():K.querySelector(`[data-tag-index="${X}"]`).focus()});b.useEffect(()=>{I&&q>te.length-1&&(ce(-1),xe(-1))},[te,I,q,xe]);function Le(X,Y){if(!U.current||X<0||X>=ke.length)return-1;let Ce=X;for(;;){const We=U.current.querySelector(`[data-option-index="${Ce}"]`),qe=h?!1:!We||We.disabled||We.getAttribute("aria-disabled")==="true";if(We&&We.hasAttribute("tabindex")&&!qe)return Ce;if(Y==="next"?Ce=(Ce+1)%ke.length:Ce=(Ce-1+ke.length)%ke.length,Ce===X)return-1}}const fe=bn(({event:X,index:Y,reason:Ce="auto"})=>{if(ie.current=Y,Y===-1?re.current.removeAttribute("aria-activedescendant"):re.current.setAttribute("aria-activedescendant",`${F}-option-${Y}`),M&&M(X,Y===-1?null:ke[Y],Ce),!U.current)return;const We=U.current.querySelector(`[role="option"].${n}-focused`);We&&(We.classList.remove(`${n}-focused`),We.classList.remove(`${n}-focusVisible`));let qe=U.current;if(U.current.getAttribute("role")!=="listbox"&&(qe=U.current.parentElement.querySelector('[role="listbox"]')),!qe)return;if(Y===-1){qe.scrollTop=0;return}const Pt=U.current.querySelector(`[data-option-index="${Y}"]`);if(Pt&&(Pt.classList.add(`${n}-focused`),Ce==="keyboard"&&Pt.classList.add(`${n}-focusVisible`),qe.scrollHeight>qe.clientHeight&&Ce!=="mouse"&&Ce!=="touch")){const at=Pt,_r=qe.clientHeight+qe.scrollTop,Fc=at.offsetTop+at.offsetHeight;Fc>_r?qe.scrollTop=Fc-qe.clientHeight:at.offsetTop-at.offsetHeight*(R?1.3:0){if(!Re)return;const Pt=Le((()=>{const at=ke.length-1;if(Y==="reset")return ue;if(Y==="start")return 0;if(Y==="end")return at;const _r=ie.current+Y;return _r<0?_r===-1&&P?-1:y&&ie.current!==-1||Math.abs(Y)>1?0:at:_r>at?_r===at+1&&P?-1:y||Math.abs(Y)>1?at:0:_r})(),Ce);if(fe({index:Pt,reason:We,event:X}),r&&Y!=="reset")if(Pt===-1)re.current.value=Q;else{const at=W(ke[Pt]);re.current.value=at,at.toLowerCase().indexOf(Q.toLowerCase())===0&&Q.length>0&&re.current.setSelectionRange(Q.length,at.length)}}),me=()=>{const X=(Y,Ce)=>{const We=Y?W(Y):"",qe=Ce?W(Ce):"";return We===qe};if(ie.current!==-1&&pe.filteredOptions&&pe.filteredOptions.length!==ke.length&&pe.inputValue===Q&&(I?te.length===pe.value.length&&pe.value.every((Y,Ce)=>W(te[Ce])===W(Y)):X(pe.value,te))){const Y=pe.filteredOptions[ie.current];if(Y)return ke.findIndex(Ce=>W(Ce)===W(Y))}return-1},je=b.useCallback(()=>{if(!Re)return;const X=me();if(X!==-1){ie.current=X;return}const Y=I?te[0]:te;if(ke.length===0||Y==null){oe({diff:"reset"});return}if(U.current){if(Y!=null){const Ce=ke[ie.current];if(I&&Ce&&te.findIndex(qe=>$(Ce,qe))!==-1)return;const We=ke.findIndex(qe=>$(qe,Y));We===-1?oe({diff:"reset"}):fe({index:We});return}if(ie.current>=ke.length-1){fe({index:ke.length-1});return}fe({index:ie.current})}},[ke.length,I?!1:te,v,oe,fe,Re,Q,I]),Ve=bn(X=>{jd(U,X),X&&je()});b.useEffect(()=>{je()},[je]);const Ye=X=>{le||(Se(!0),Ge(!0),N&&N(X))},Tt=(X,Y)=>{le&&(Se(!1),D&&D(X,Y))},Zt=(X,Y,Ce,We)=>{if(I){if(te.length===Y.length&&te.every((qe,Pt)=>qe===Y[Pt]))return}else if(te===Y)return;O&&O(X,Y,Ce,We),de(Y)},Mn=b.useRef(!1),ir=(X,Y,Ce="selectOption",We="options")=>{let qe=Ce,Pt=Y;if(I){Pt=Array.isArray(te)?te.slice():[];const at=Pt.findIndex(_r=>$(Y,_r));at===-1?Pt.push(Y):We!=="freeSolo"&&(Pt.splice(at,1),qe="removeOption")}ge(X,Pt,qe),Zt(X,Pt,qe,{option:Y}),!f&&(!X||!X.ctrlKey&&!X.metaKey)&&Tt(X,qe),(a===!0||a==="touch"&&Mn.current||a==="mouse"&&!Mn.current)&&re.current.blur()};function Vn(X,Y){if(X===-1)return-1;let Ce=X;for(;;){if(Y==="next"&&Ce===te.length||Y==="previous"&&Ce===-1)return-1;const We=K.querySelector(`[data-tag-index="${Ce}"]`);if(!We||!We.hasAttribute("tabindex")||We.disabled||We.getAttribute("aria-disabled")==="true")Ce+=Y==="next"?1:-1;else return Ce}}const Oo=(X,Y)=>{if(!I)return;Q===""&&Tt(X,"toggleInput");let Ce=q;q===-1?Q===""&&Y==="previous"&&(Ce=te.length-1):(Ce+=Y==="next"?1:-1,Ce<0&&(Ce=0),Ce===te.length&&(Ce=-1)),Ce=Vn(Ce,Y),ce(Ce),xe(Ce)},_i=X=>{V.current=!0,be(""),A&&A(X,"","clear"),Zt(X,I?[]:null,"clear")},Fe=X=>Y=>{if(X.onKeyDown&&X.onKeyDown(Y),!Y.defaultMuiPrevented&&(q!==-1&&!["ArrowLeft","ArrowRight"].includes(Y.key)&&(ce(-1),xe(-1)),Y.which!==229))switch(Y.key){case"Home":Re&&k&&(Y.preventDefault(),oe({diff:"start",direction:"next",reason:"keyboard",event:Y}));break;case"End":Re&&k&&(Y.preventDefault(),oe({diff:"end",direction:"previous",reason:"keyboard",event:Y}));break;case"PageUp":Y.preventDefault(),oe({diff:-yb,direction:"previous",reason:"keyboard",event:Y}),Ye(Y);break;case"PageDown":Y.preventDefault(),oe({diff:yb,direction:"next",reason:"keyboard",event:Y}),Ye(Y);break;case"ArrowDown":Y.preventDefault(),oe({diff:1,direction:"next",reason:"keyboard",event:Y}),Ye(Y);break;case"ArrowUp":Y.preventDefault(),oe({diff:-1,direction:"previous",reason:"keyboard",event:Y}),Ye(Y);break;case"ArrowLeft":Oo(Y,"previous");break;case"ArrowRight":Oo(Y,"next");break;case"Enter":if(ie.current!==-1&&Re){const Ce=ke[ie.current],We=m?m(Ce):!1;if(Y.preventDefault(),We)return;ir(Y,Ce,"selectOption"),r&&re.current.setSelectionRange(re.current.value.length,re.current.value.length)}else S&&Q!==""&&Pe===!1&&(I&&Y.preventDefault(),ir(Y,Q,"createOption","freeSolo"));break;case"Escape":Re?(Y.preventDefault(),Y.stopPropagation(),Tt(Y,"escape")):l&&(Q!==""||I&&te.length>0)&&(Y.preventDefault(),Y.stopPropagation(),_i(Y));break;case"Backspace":if(I&&!H&&Q===""&&te.length>0){const Ce=q===-1?te.length-1:q,We=te.slice();We.splice(Ce,1),Zt(Y,We,"removeOption",{option:te[Ce]})}break;case"Delete":if(I&&!H&&Q===""&&te.length>0&&q!==-1){const Ce=q,We=te.slice();We.splice(Ce,1),Zt(Y,We,"removeOption",{option:te[Ce]})}break}},_n=X=>{we(!0),L&&!V.current&&Ye(X)},Dc=X=>{if(t(U)){re.current.focus();return}we(!1),ee.current=!0,V.current=!1,i&&ie.current!==-1&&Re?ir(X,ke[ie.current],"blur"):i&&S&&Q!==""?ir(X,Q,"blur","freeSolo"):s&&ge(X,te,"blur"),Tt(X,"blur")},pa=X=>{const Y=X.target.value;Q!==Y&&(be(Y),Ge(!1),A&&A(X,Y,"input")),Y===""?!d&&!I&&Zt(X,null,"clear"):Ye(X)},Ds=X=>{const Y=Number(X.currentTarget.getAttribute("data-option-index"));ie.current!==Y&&fe({event:X,index:Y,reason:"mouse"})},js=X=>{fe({event:X,index:Number(X.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Mn.current=!0},kp=X=>{const Y=Number(X.currentTarget.getAttribute("data-option-index"));ir(X,ke[Y],"selectOption"),Mn.current=!1},$p=X=>Y=>{const Ce=te.slice();Ce.splice(X,1),Zt(Y,Ce,"removeOption",{option:te[X]})},jc=X=>{le?Tt(X,"toggleInput"):Ye(X)},cv=X=>{X.currentTarget.contains(X.target)&&X.target.getAttribute("id")!==F&&X.preventDefault()},Fs=X=>{X.currentTarget.contains(X.target)&&(re.current.focus(),z&&ee.current&&re.current.selectionEnd-re.current.selectionStart===0&&re.current.select(),ee.current=!1)},dn=X=>{!p&&(Q===""||!le)&&jc(X)};let Nt=S&&Q.length>0;Nt=Nt||(I?te.length>0:te!==null);let so=ke;return R&&(so=ke.reduce((X,Y,Ce)=>{const We=R(Y);return X.length>0&&X[X.length-1].group===We?X[X.length-1].options.push(Y):X.push({key:Ce,index:Ce,group:We,options:[Y]}),X},[])),p&&Te&&Dc(),{getRootProps:(X={})=>({"aria-owns":ne?`${F}-listbox`:null,...X,onKeyDown:Fe(X),onMouseDown:cv,onClick:Fs}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:Q,onBlur:Dc,onFocus:_n,onChange:pa,onMouseDown:dn,"aria-activedescendant":Re?"":null,"aria-autocomplete":r?"both":"list","aria-controls":ne?`${F}-listbox`:void 0,"aria-expanded":ne,autoComplete:"off",ref:re,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:p}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:_i}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:jc}),getTagProps:({index:X})=>({key:X,"data-tag-index":X,tabIndex:-1,...!H&&{onDelete:$p(X)}}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:Ve,onMouseDown:X=>{X.preventDefault()}}),getOptionProps:({index:X,option:Y})=>{const Ce=(I?te:[te]).some(qe=>qe!=null&&$(Y,qe)),We=m?m(Y):!1;return{key:(w==null?void 0:w(Y))??W(Y),tabIndex:-1,role:"option",id:`${F}-option-${X}`,onMouseMove:Ds,onClick:kp,onTouchStart:js,"data-option-index":X,"aria-disabled":We,"aria-selected":Ce}},id:F,inputValue:Q,value:te,dirty:Nt,expanded:Re&&K,popupOpen:Re,focused:Te||q!==-1,anchorEl:K,setAnchorEl:se,focusedTag:q,groupedOptions:so}}var jn="top",xr="bottom",Sr="right",Fn="left",x1="auto",Tc=[jn,xr,Sr,Fn],gs="start",lc="end",E8="clippingParents",v_="viewport",Xs="popper",M8="reference",bb=Tc.reduce(function(e,t){return e.concat([t+"-"+gs,t+"-"+lc])},[]),y_=[].concat(Tc,[x1]).reduce(function(e,t){return e.concat([t,t+"-"+gs,t+"-"+lc])},[]),I8="beforeRead",O8="read",L8="afterRead",A8="beforeMain",N8="main",D8="afterMain",j8="beforeWrite",F8="write",B8="afterWrite",z8=[I8,O8,L8,A8,N8,D8,j8,F8,B8];function ao(e){return e?(e.nodeName||"").toLowerCase():null}function er(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function oa(e){var t=er(e).Element;return e instanceof t||e instanceof Element}function vr(e){var t=er(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function S1(e){if(typeof ShadowRoot>"u")return!1;var t=er(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function H8(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!vr(i)||!ao(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function V8(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!vr(o)||!ao(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const W8={name:"applyStyles",enabled:!0,phase:"write",fn:H8,effect:V8,requires:["computeStyles"]};function io(e){return e.split("-")[0]}var Vi=Math.max,Hd=Math.min,hs=Math.round;function vm(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function b_(){return!/^((?!chrome|android).)*safari/i.test(vm())}function ms(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&vr(e)&&(o=e.offsetWidth>0&&hs(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&hs(r.height)/e.offsetHeight||1);var a=oa(e)?er(e):window,s=a.visualViewport,l=!b_()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/o,u=(r.top+(l&&s?s.offsetTop:0))/i,d=r.width/o,f=r.height/i;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function w1(e){var t=ms(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function x_(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&S1(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Po(e){return er(e).getComputedStyle(e)}function U8(e){return["table","td","th"].indexOf(ao(e))>=0}function xi(e){return((oa(e)?e.ownerDocument:e.document)||window.document).documentElement}function dp(e){return ao(e)==="html"?e:e.assignedSlot||e.parentNode||(S1(e)?e.host:null)||xi(e)}function xb(e){return!vr(e)||Po(e).position==="fixed"?null:e.offsetParent}function G8(e){var t=/firefox/i.test(vm()),n=/Trident/i.test(vm());if(n&&vr(e)){var r=Po(e);if(r.position==="fixed")return null}var o=dp(e);for(S1(o)&&(o=o.host);vr(o)&&["html","body"].indexOf(ao(o))<0;){var i=Po(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Pc(e){for(var t=er(e),n=xb(e);n&&U8(n)&&Po(n).position==="static";)n=xb(n);return n&&(ao(n)==="html"||ao(n)==="body"&&Po(n).position==="static")?t:n||G8(e)||t}function C1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $l(e,t,n){return Vi(e,Hd(t,n))}function q8(e,t,n){var r=$l(e,t,n);return r>n?n:r}function S_(){return{top:0,right:0,bottom:0,left:0}}function w_(e){return Object.assign({},S_(),e)}function C_(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var K8=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,w_(typeof t!="number"?t:C_(t,Tc))};function Z8(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=io(n.placement),l=C1(s),c=[Fn,Sr].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var d=K8(o.padding,n),f=w1(i),p=l==="y"?jn:Fn,h=l==="y"?xr:Sr,y=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],C=a[l]-n.rects.reference[l],v=Pc(i),S=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,m=y/2-C/2,w=d[p],_=S-f[u]-d[h],R=S/2-f[u]/2+m,k=$l(w,R,_),T=l;n.modifiersData[r]=(t={},t[T]=k,t.centerOffset=k-R,t)}}function Q8(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||x_(t.elements.popper,o)&&(t.elements.arrow=o))}const Y8={name:"arrow",enabled:!0,phase:"main",fn:Z8,effect:Q8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vs(e){return e.split("-")[1]}var X8={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J8(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:hs(n*o)/o||0,y:hs(r*o)/o||0}}function Sb(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=f===void 0?0:f,h=a.y,y=h===void 0?0:h,C=typeof u=="function"?u({x:p,y}):{x:p,y};p=C.x,y=C.y;var v=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),m=Fn,w=jn,_=window;if(c){var R=Pc(n),k="clientHeight",T="clientWidth";if(R===er(n)&&(R=xi(n),Po(R).position!=="static"&&s==="absolute"&&(k="scrollHeight",T="scrollWidth")),R=R,o===jn||(o===Fn||o===Sr)&&i===lc){w=xr;var P=d&&R===_&&_.visualViewport?_.visualViewport.height:R[k];y-=P-r.height,y*=l?1:-1}if(o===Fn||(o===jn||o===xr)&&i===lc){m=Sr;var x=d&&R===_&&_.visualViewport?_.visualViewport.width:R[T];p-=x-r.width,p*=l?1:-1}}var $=Object.assign({position:s},c&&X8),I=u===!0?J8({x:p,y},er(n)):{x:p,y};if(p=I.x,y=I.y,l){var O;return Object.assign({},$,(O={},O[w]=S?"0":"",O[m]=v?"0":"",O.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+y+"px)":"translate3d("+p+"px, "+y+"px, 0)",O))}return Object.assign({},$,(t={},t[w]=S?y+"px":"",t[m]=v?p+"px":"",t.transform="",t))}function e6(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:io(t.placement),variation:vs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Sb(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Sb(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const t6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:e6,data:{}};var du={passive:!0};function n6(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,l=er(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,du)}),s&&l.addEventListener("resize",n.update,du),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,du)}),s&&l.removeEventListener("resize",n.update,du)}}const r6={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:n6,data:{}};var o6={left:"right",right:"left",bottom:"top",top:"bottom"};function qu(e){return e.replace(/left|right|bottom|top/g,function(t){return o6[t]})}var i6={start:"end",end:"start"};function wb(e){return e.replace(/start|end/g,function(t){return i6[t]})}function _1(e){var t=er(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function R1(e){return ms(xi(e)).left+_1(e).scrollLeft}function a6(e,t){var n=er(e),r=xi(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=b_();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+R1(e),y:l}}function s6(e){var t,n=xi(e),r=_1(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Vi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Vi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+R1(e),l=-r.scrollTop;return Po(o||n).direction==="rtl"&&(s+=Vi(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function T1(e){var t=Po(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function __(e){return["html","body","#document"].indexOf(ao(e))>=0?e.ownerDocument.body:vr(e)&&T1(e)?e:__(dp(e))}function El(e,t){var n;t===void 0&&(t=[]);var r=__(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=er(r),a=o?[i].concat(i.visualViewport||[],T1(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(El(dp(a)))}function ym(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function l6(e,t){var n=ms(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Cb(e,t,n){return t===v_?ym(a6(e,n)):oa(t)?l6(t,n):ym(s6(xi(e)))}function c6(e){var t=El(dp(e)),n=["absolute","fixed"].indexOf(Po(e).position)>=0,r=n&&vr(e)?Pc(e):e;return oa(r)?t.filter(function(o){return oa(o)&&x_(o,r)&&ao(o)!=="body"}):[]}function u6(e,t,n,r){var o=t==="clippingParents"?c6(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(l,c){var u=Cb(e,c,r);return l.top=Vi(u.top,l.top),l.right=Hd(u.right,l.right),l.bottom=Hd(u.bottom,l.bottom),l.left=Vi(u.left,l.left),l},Cb(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function R_(e){var t=e.reference,n=e.element,r=e.placement,o=r?io(r):null,i=r?vs(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case jn:l={x:a,y:t.y-n.height};break;case xr:l={x:a,y:t.y+t.height};break;case Sr:l={x:t.x+t.width,y:s};break;case Fn:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?C1(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case gs:l[c]=l[c]-(t[u]/2-n[u]/2);break;case lc:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function cc(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,l=s===void 0?E8:s,c=n.rootBoundary,u=c===void 0?v_:c,d=n.elementContext,f=d===void 0?Xs:d,p=n.altBoundary,h=p===void 0?!1:p,y=n.padding,C=y===void 0?0:y,v=w_(typeof C!="number"?C:C_(C,Tc)),S=f===Xs?M8:Xs,m=e.rects.popper,w=e.elements[h?S:f],_=u6(oa(w)?w:w.contextElement||xi(e.elements.popper),l,u,a),R=ms(e.elements.reference),k=R_({reference:R,element:m,strategy:"absolute",placement:o}),T=ym(Object.assign({},m,k)),P=f===Xs?T:R,x={top:_.top-P.top+v.top,bottom:P.bottom-_.bottom+v.bottom,left:_.left-P.left+v.left,right:P.right-_.right+v.right},$=e.modifiersData.offset;if(f===Xs&&$){var I=$[o];Object.keys(x).forEach(function(O){var D=[Sr,xr].indexOf(O)>=0?1:-1,M=[jn,xr].indexOf(O)>=0?"y":"x";x[O]+=I[M]*D})}return x}function d6(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?y_:l,u=vs(r),d=u?s?bb:bb.filter(function(h){return vs(h)===u}):Tc,f=d.filter(function(h){return c.indexOf(h)>=0});f.length===0&&(f=d);var p=f.reduce(function(h,y){return h[y]=cc(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[io(y)],h},{});return Object.keys(p).sort(function(h,y){return p[h]-p[y]})}function f6(e){if(io(e)===x1)return[];var t=qu(e);return[wb(e),t,wb(t)]}function p6(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,y=n.allowedAutoPlacements,C=t.options.placement,v=io(C),S=v===C,m=l||(S||!h?[qu(C)]:f6(C)),w=[C].concat(m).reduce(function(F,W){return F.concat(io(W)===x1?d6(t,{placement:W,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:y}):W)},[]),_=t.rects.reference,R=t.rects.popper,k=new Map,T=!0,P=w[0],x=0;x=0,M=D?"width":"height",A=cc(t,{placement:$,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),N=D?O?Sr:Fn:O?xr:jn;_[M]>R[M]&&(N=qu(N));var E=qu(N),L=[];if(i&&L.push(A[I]<=0),s&&L.push(A[N]<=0,A[E]<=0),L.every(function(F){return F})){P=$,T=!1;break}k.set($,L)}if(T)for(var B=h?3:1,H=function(W){var V=w.find(function(ee){var re=k.get(ee);if(re)return re.slice(0,W).every(function(U){return U})});if(V)return P=V,"break"},z=B;z>0;z--){var j=H(z);if(j==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}const g6={name:"flip",enabled:!0,phase:"main",fn:p6,requiresIfExists:["offset"],data:{_skip:!1}};function _b(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Rb(e){return[jn,Sr,xr,Fn].some(function(t){return e[t]>=0})}function h6(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=cc(t,{elementContext:"reference"}),s=cc(t,{altBoundary:!0}),l=_b(a,r),c=_b(s,o,i),u=Rb(l),d=Rb(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const m6={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:h6};function v6(e,t,n){var r=io(e),o=[Fn,jn].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Fn,Sr].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function y6(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=y_.reduce(function(u,d){return u[d]=v6(d,t.rects,i),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const b6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:y6};function x6(e){var t=e.state,n=e.name;t.modifiersData[n]=R_({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const S6={name:"popperOffsets",enabled:!0,phase:"read",fn:x6,data:{}};function w6(e){return e==="x"?"y":"x"}function C6(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,y=h===void 0?0:h,C=cc(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=io(t.placement),S=vs(t.placement),m=!S,w=C1(v),_=w6(w),R=t.modifiersData.popperOffsets,k=t.rects.reference,T=t.rects.popper,P=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,x=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(R){if(i){var O,D=w==="y"?jn:Fn,M=w==="y"?xr:Sr,A=w==="y"?"height":"width",N=R[w],E=N+C[D],L=N-C[M],B=p?-T[A]/2:0,H=S===gs?k[A]:T[A],z=S===gs?-T[A]:-k[A],j=t.elements.arrow,F=p&&j?w1(j):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:S_(),V=W[D],ee=W[M],re=$l(0,k[A],F[A]),U=m?k[A]/2-B-re-V-x.mainAxis:H-re-V-x.mainAxis,K=m?-k[A]/2+B+re+ee+x.mainAxis:z+re+ee+x.mainAxis,se=t.elements.arrow&&Pc(t.elements.arrow),q=se?w==="y"?se.clientTop||0:se.clientLeft||0:0,ce=(O=$==null?void 0:$[w])!=null?O:0,ue=N+U-ce-q,ie=N+K-ce,te=$l(p?Hd(E,ue):E,N,p?Vi(L,ie):L);R[w]=te,I[w]=te-N}if(s){var de,Q=w==="x"?jn:Fn,be=w==="x"?xr:Sr,Te=R[_],we=_==="y"?"height":"width",ge=Te+C[Q],le=Te-C[be],Se=[jn,Fn].indexOf(v)!==-1,ye=(de=$==null?void 0:$[_])!=null?de:0,Ge=Se?ge:Te-k[we]-T[we]-ye+x.altAxis,Pe=Se?Te+k[we]+T[we]-ye-x.altAxis:le,Re=p&&Se?q8(Ge,Te,Pe):$l(p?Ge:ge,Te,p?Pe:le);R[_]=Re,I[_]=Re-Te}t.modifiersData[r]=I}}const _6={name:"preventOverflow",enabled:!0,phase:"main",fn:C6,requiresIfExists:["offset"]};function R6(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function T6(e){return e===er(e)||!vr(e)?_1(e):R6(e)}function P6(e){var t=e.getBoundingClientRect(),n=hs(t.width)/e.offsetWidth||1,r=hs(t.height)/e.offsetHeight||1;return n!==1||r!==1}function k6(e,t,n){n===void 0&&(n=!1);var r=vr(t),o=vr(t)&&P6(t),i=xi(t),a=ms(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((ao(t)!=="body"||T1(i))&&(s=T6(t)),vr(t)?(l=ms(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=R1(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function $6(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function E6(e){var t=$6(e);return z8.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function M6(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function I6(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Tb={placement:"bottom",modifiers:[],strategy:"absolute"};function Pb(){for(var e=arguments.length,t=new Array(e),n=0;n{i||s(N6(o)||document.body)},[o,i]),zr(()=>{if(a&&!i)return jd(n,a),()=>{jd(n,null)}},[n,a,i]),i){if(b.isValidElement(r)){const c={ref:l};return b.cloneElement(r,c)}return g.jsx(b.Fragment,{children:r})}return g.jsx(b.Fragment,{children:a&&Q0.createPortal(r,a)})});function D6(e){return Oe("MuiPopper",e)}Ee("MuiPopper",["root"]);function j6(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function bm(e){return typeof e=="function"?e():e}function F6(e){return e.nodeType!==void 0}const B6=e=>{const{classes:t}=e;return Ne({root:["root"]},D6,t)},z6={},H6=b.forwardRef(function(t,n){const{anchorEl:r,children:o,direction:i,disablePortal:a,modifiers:s,open:l,placement:c,popperOptions:u,popperRef:d,slotProps:f={},slots:p={},TransitionProps:h,ownerState:y,...C}=t,v=b.useRef(null),S=Rt(v,n),m=b.useRef(null),w=Rt(m,d),_=b.useRef(w);zr(()=>{_.current=w},[w]),b.useImperativeHandle(d,()=>m.current,[]);const R=j6(c,i),[k,T]=b.useState(R),[P,x]=b.useState(bm(r));b.useEffect(()=>{m.current&&m.current.forceUpdate()}),b.useEffect(()=>{r&&x(bm(r))},[r]),zr(()=>{if(!P||!l)return;const M=E=>{T(E.placement)};let A=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:E})=>{M(E)}}];s!=null&&(A=A.concat(s)),u&&u.modifiers!=null&&(A=A.concat(u.modifiers));const N=A6(P,v.current,{placement:R,...u,modifiers:A});return _.current(N),()=>{N.destroy(),_.current(null)}},[P,a,s,l,u,R]);const $={placement:k};h!==null&&($.TransitionProps=h);const I=B6(t),O=p.root??"div",D=na({elementType:O,externalSlotProps:f.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:S},ownerState:t,className:I.root});return g.jsx(O,{...D,children:typeof o=="function"?o($):o})}),V6=b.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:f=z6,popperRef:p,style:h,transition:y=!1,slotProps:C={},slots:v={},...S}=t,[m,w]=b.useState(!0),_=()=>{w(!1)},R=()=>{w(!0)};if(!l&&!u&&(!y||m))return null;let k;if(i)k=i;else if(r){const x=bm(r);k=x&&F6(x)?ln(x).body:ln(null).body}const T=!u&&l&&(!y||m)?"none":void 0,P=y?{in:u,onEnter:_,onExited:R}:void 0;return g.jsx(T_,{disablePortal:s,container:k,children:g.jsx(H6,{anchorEl:r,direction:a,disablePortal:s,modifiers:c,ref:n,open:y?!m:u,placement:d,popperOptions:f,popperRef:p,slotProps:C,slots:v,...S,style:{position:"fixed",top:0,left:0,display:T,...h},TransitionProps:P,children:o})})}),W6=J(V6,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),kc=b.forwardRef(function(t,n){const r=Es(),o=De({props:t,name:"MuiPopper"}),{anchorEl:i,component:a,components:s,componentsProps:l,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:y,popperRef:C,transition:v,slots:S,slotProps:m,...w}=o,_=(S==null?void 0:S.root)??(s==null?void 0:s.Root),R={anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:h,popperOptions:y,popperRef:C,transition:v,...w};return g.jsx(W6,{as:a,direction:r?"rtl":"ltr",slots:{root:_},slotProps:m??l,...R,ref:n})});function U6(e){return Oe("MuiListSubheader",e)}Ee("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const G6=e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:i}=e,a={root:["root",n!=="default"&&`color${ae(n)}`,!r&&"gutters",o&&"inset",!i&&"sticky"]};return Ne(a,U6,t)},q6=J("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ae(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})($e(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),xm=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiListSubheader"}),{className:o,color:i="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1,...u}=r,d={...r,color:i,component:a,disableGutters:s,disableSticky:l,inset:c},f=G6(d);return g.jsx(q6,{as:a,className:ve(f.root,o),ref:n,ownerState:d,...u})});xm&&(xm.muiSkipListHighlight=!0);const K6=un(g.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Z6(e){return Oe("MuiChip",e)}const Ke=Ee("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Q6=e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:s,variant:l}=e,c={root:["root",l,n&&"disabled",`size${ae(r)}`,`color${ae(o)}`,s&&"clickable",s&&`clickableColor${ae(o)}`,a&&"deletable",a&&`deletableColor${ae(o)}`,`${l}${ae(o)}`],label:["label",`label${ae(r)}`],avatar:["avatar",`avatar${ae(r)}`,`avatarColor${ae(o)}`],icon:["icon",`icon${ae(r)}`,`iconColor${ae(i)}`],deleteIcon:["deleteIcon",`deleteIcon${ae(r)}`,`deleteIconColor${ae(o)}`,`deleteIcon${ae(l)}Color${ae(o)}`]};return Ne(c,Z6,t)},Y6=J("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=n;return[{[`& .${Ke.avatar}`]:t.avatar},{[`& .${Ke.avatar}`]:t[`avatar${ae(s)}`]},{[`& .${Ke.avatar}`]:t[`avatarColor${ae(r)}`]},{[`& .${Ke.icon}`]:t.icon},{[`& .${Ke.icon}`]:t[`icon${ae(s)}`]},{[`& .${Ke.icon}`]:t[`iconColor${ae(o)}`]},{[`& .${Ke.deleteIcon}`]:t.deleteIcon},{[`& .${Ke.deleteIcon}`]:t[`deleteIcon${ae(s)}`]},{[`& .${Ke.deleteIcon}`]:t[`deleteIconColor${ae(r)}`]},{[`& .${Ke.deleteIcon}`]:t[`deleteIcon${ae(l)}Color${ae(r)}`]},t.root,t[`size${ae(s)}`],t[`color${ae(r)}`],i&&t.clickable,i&&r!=="default"&&t[`clickableColor${ae(r)})`],a&&t.deletable,a&&r!=="default"&&t[`deletableColor${ae(r)}`],t[l],t[`${l}${ae(r)}`]]}})($e(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Ke.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ke.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Ke.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ke.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ke.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ke.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Ke.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Be(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Be(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Ke.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Ke.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Ft(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Ke.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Be(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Ke.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Ke.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Ke.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(Ft(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Ke.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Ke.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Ft(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Ke.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Ke.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ke.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ke.avatar}`]:{marginLeft:4},[`& .${Ke.avatarSmall}`]:{marginLeft:2},[`& .${Ke.icon}`]:{marginLeft:4},[`& .${Ke.iconSmall}`]:{marginLeft:2},[`& .${Ke.deleteIcon}`]:{marginRight:5},[`& .${Ke.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Ft()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Be(e.palette[n].main,.7)}`,[`&.${Ke.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Ke.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Be(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Ke.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Be(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),X6=J("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${ae(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function kb(e){return e.key==="Backspace"||e.key==="Delete"}const J6=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiChip"}),{avatar:o,className:i,clickable:a,color:s="default",component:l,deleteIcon:c,disabled:u=!1,icon:d,label:f,onClick:p,onDelete:h,onKeyDown:y,onKeyUp:C,size:v="medium",variant:S="filled",tabIndex:m,skipFocusWhenDisabled:w=!1,..._}=r,R=b.useRef(null),k=Rt(R,n),T=L=>{L.stopPropagation(),h&&h(L)},P=L=>{L.currentTarget===L.target&&kb(L)&&L.preventDefault(),y&&y(L)},x=L=>{L.currentTarget===L.target&&h&&kb(L)&&h(L),C&&C(L)},$=a!==!1&&p?!0:a,I=$||h?To:l||"div",O={...r,component:I,disabled:u,size:v,color:s,iconColor:b.isValidElement(d)&&d.props.color||s,onDelete:!!h,clickable:$,variant:S},D=Q6(O),M=I===To?{component:l||"div",focusVisibleClassName:D.focusVisible,...h&&{disableRipple:!0}}:{};let A=null;h&&(A=c&&b.isValidElement(c)?b.cloneElement(c,{className:ve(c.props.className,D.deleteIcon),onClick:T}):g.jsx(K6,{className:ve(D.deleteIcon),onClick:T}));let N=null;o&&b.isValidElement(o)&&(N=b.cloneElement(o,{className:ve(D.avatar,o.props.className)}));let E=null;return d&&b.isValidElement(d)&&(E=b.cloneElement(d,{className:ve(D.icon,d.props.className)})),g.jsxs(Y6,{as:I,className:ve(D.root,i),disabled:$&&u?!0:void 0,onClick:p,onKeyDown:P,onKeyUp:x,ref:k,tabIndex:w&&u?-1:m,ownerState:O,...M,..._,children:[N||E,g.jsx(X6,{className:ve(D.label),ownerState:O,children:f}),A]})});function fu(e){return parseInt(e,10)||0}const eI={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function tI(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const nI=b.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:a,value:s,...l}=t,{current:c}=b.useRef(s!=null),u=b.useRef(null),d=Rt(n,u),f=b.useRef(null),p=b.useRef(null),h=b.useCallback(()=>{const v=u.current,m=Br(v).getComputedStyle(v);if(m.width==="0px")return{outerHeightStyle:0,overflowing:!1};const w=p.current;w.style.width=m.width,w.value=v.value||t.placeholder||"x",w.value.slice(-1)===` +`&&(w.value+=" ");const _=m.boxSizing,R=fu(m.paddingBottom)+fu(m.paddingTop),k=fu(m.borderBottomWidth)+fu(m.borderTopWidth),T=w.scrollHeight;w.value="x";const P=w.scrollHeight;let x=T;i&&(x=Math.max(Number(i)*P,x)),o&&(x=Math.min(Number(o)*P,x)),x=Math.max(x,P);const $=x+(_==="border-box"?R+k:0),I=Math.abs(x-T)<=1;return{outerHeightStyle:$,overflowing:I}},[o,i,t.placeholder]),y=b.useCallback(()=>{const v=h();if(tI(v))return;const S=v.outerHeightStyle,m=u.current;f.current!==S&&(f.current=S,m.style.height=`${S}px`),m.style.overflow=v.overflowing?"hidden":""},[h]);zr(()=>{const v=()=>{y()};let S;const m=cp(v),w=u.current,_=Br(w);_.addEventListener("resize",m);let R;return typeof ResizeObserver<"u"&&(R=new ResizeObserver(v),R.observe(w)),()=>{m.clear(),cancelAnimationFrame(S),_.removeEventListener("resize",m),R&&R.disconnect()}},[h,y]),zr(()=>{y()});const C=v=>{c||y(),r&&r(v)};return g.jsxs(b.Fragment,{children:[g.jsx("textarea",{value:s,onChange:C,ref:d,rows:i,style:a,...l}),g.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:p,tabIndex:-1,style:{...eI.shadow,...a,paddingTop:0,paddingBottom:0}})]})});function Vd(e){return typeof e=="string"}function da({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const P1=b.createContext(void 0);function Mo(){return b.useContext(P1)}function $b(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Wd(e,t=!1){return e&&($b(e.value)&&e.value!==""||t&&$b(e.defaultValue)&&e.defaultValue!=="")}function rI(e){return e.startAdornment}function oI(e){return Oe("MuiInputBase",e)}const Gn=Ee("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Eb;const fp=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ae(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},pp=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},iI=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:h}=e,y={root:["root",`color${ae(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",f&&f!=="medium"&&`size${ae(f)}`,u&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",h==="search"&&"inputTypeSearch",u&&"inputMultiline",f==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return Ne(y,oI,t)},gp=J("div",{name:"MuiInputBase",slot:"Root",overridesResolver:fp})($e(({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",[`&.${Gn.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),hp=J("input",{name:"MuiInputBase",slot:"Input",overridesResolver:pp})($e(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={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":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Gn.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Gn.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.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:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Mb=RM({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),mp=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:s,color:l,components:c={},componentsProps:u={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:h,error:y,fullWidth:C=!1,id:v,inputComponent:S="input",inputProps:m={},inputRef:w,margin:_,maxRows:R,minRows:k,multiline:T=!1,name:P,onBlur:x,onChange:$,onClick:I,onFocus:O,onKeyDown:D,onKeyUp:M,placeholder:A,readOnly:N,renderSuffix:E,rows:L,size:B,slotProps:H={},slots:z={},startAdornment:j,type:F="text",value:W,...V}=r,ee=m.value!=null?m.value:W,{current:re}=b.useRef(ee!=null),U=b.useRef(),K=b.useCallback(ne=>{},[]),se=Rt(U,w,m.ref,K),[q,ce]=b.useState(!1),ue=Mo(),ie=da({props:r,muiFormControl:ue,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ie.focused=ue?ue.focused:q,b.useEffect(()=>{!ue&&f&&q&&(ce(!1),x&&x())},[ue,f,q,x]);const te=ue&&ue.onFilled,de=ue&&ue.onEmpty,Q=b.useCallback(ne=>{Wd(ne)?te&&te():de&&de()},[te,de]);zr(()=>{re&&Q({value:ee})},[ee,Q,re]);const be=ne=>{O&&O(ne),m.onFocus&&m.onFocus(ne),ue&&ue.onFocus?ue.onFocus(ne):ce(!0)},Te=ne=>{x&&x(ne),m.onBlur&&m.onBlur(ne),ue&&ue.onBlur?ue.onBlur(ne):ce(!1)},we=(ne,...xe)=>{if(!re){const Le=ne.target||U.current;if(Le==null)throw new Error(Xi(1));Q({value:Le.value})}m.onChange&&m.onChange(ne,...xe),$&&$(ne,...xe)};b.useEffect(()=>{Q(U.current)},[]);const ge=ne=>{U.current&&ne.currentTarget===ne.target&&U.current.focus(),I&&I(ne)};let le=S,Se=m;T&&le==="input"&&(L?Se={type:void 0,minRows:L,maxRows:L,...Se}:Se={type:void 0,maxRows:R,minRows:k,...Se},le=nI);const ye=ne=>{Q(ne.animationName==="mui-auto-fill-cancel"?U.current:{value:"x"})};b.useEffect(()=>{ue&&ue.setAdornedStart(!!j)},[ue,j]);const Ge={...r,color:ie.color||"primary",disabled:ie.disabled,endAdornment:h,error:ie.error,focused:ie.focused,formControl:ue,fullWidth:C,hiddenLabel:ie.hiddenLabel,multiline:T,size:ie.size,startAdornment:j,type:F},Pe=iI(Ge),Re=z.root||c.Root||gp,ke=H.root||u.root||{},pe=z.input||c.Input||hp;return Se={...Se,...H.input??u.input},g.jsxs(b.Fragment,{children:[!p&&typeof Mb=="function"&&(Eb||(Eb=g.jsx(Mb,{}))),g.jsxs(Re,{...ke,ref:n,onClick:ge,...V,...!Vd(Re)&&{ownerState:{...Ge,...ke.ownerState}},className:ve(Pe.root,ke.className,s,N&&"MuiInputBase-readOnly"),children:[j,g.jsx(P1.Provider,{value:null,children:g.jsx(pe,{"aria-invalid":ie.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:d,disabled:ie.disabled,id:v,onAnimationStart:ye,name:P,placeholder:A,readOnly:N,required:ie.required,rows:L,value:ee,onKeyDown:D,onKeyUp:M,type:F,...Se,...!Vd(pe)&&{as:le,ownerState:{...Ge,...Se.ownerState}},ref:se,className:ve(Pe.input,Se.className,N&&"MuiInputBase-readOnly"),onBlur:Te,onChange:we,onFocus:be})}),h,E?E({...ie,startAdornment:j}):null]})]})});function aI(e){return Oe("MuiInput",e)}const Go={...Gn,...Ee("MuiInput",["root","underline","input"])};function sI(e){return Oe("MuiOutlinedInput",e)}const lr={...Gn,...Ee("MuiOutlinedInput",["root","notchedOutline","input"])};function lI(e){return Oe("MuiFilledInput",e)}const qn={...Gn,...Ee("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},P_=un(g.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function cI(e){return Oe("MuiAutocomplete",e)}const Ue=Ee("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var Ib,Ob;const uI=e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:i,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:c,size:u}=e,d={root:["root",r&&"expanded",o&&"focused",i&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${ae(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Ne(d,cI,t)},dI=J("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:i,inputFocused:a,size:s}=n;return[{[`& .${Ue.tag}`]:t.tag},{[`& .${Ue.tag}`]:t[`tagSize${ae(s)}`]},{[`& .${Ue.inputRoot}`]:t.inputRoot},{[`& .${Ue.input}`]:t.input},{[`& .${Ue.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${Ue.focused} .${Ue.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ue.clearIndicator}`]:{visibility:"visible"}},[`& .${Ue.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ue.inputRoot}`]:{[`.${Ue.hasPopupIcon}&, .${Ue.hasClearIcon}&`]:{paddingRight:30},[`.${Ue.hasPopupIcon}.${Ue.hasClearIcon}&`]:{paddingRight:56},[`& .${Ue.input}`]:{width:0,minWidth:30}},[`& .${Go.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Go.root}.${Gn.sizeSmall}`]:{[`& .${Go.input}`]:{padding:"2px 4px 3px 0"}},[`& .${lr.root}`]:{padding:9,[`.${Ue.hasPopupIcon}&, .${Ue.hasClearIcon}&`]:{paddingRight:39},[`.${Ue.hasPopupIcon}.${Ue.hasClearIcon}&`]:{paddingRight:65},[`& .${Ue.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ue.endAdornment}`]:{right:9}},[`& .${lr.root}.${Gn.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ue.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${qn.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ue.hasPopupIcon}&, .${Ue.hasClearIcon}&`]:{paddingRight:39},[`.${Ue.hasPopupIcon}.${Ue.hasClearIcon}&`]:{paddingRight:65},[`& .${qn.input}`]:{padding:"7px 4px"},[`& .${Ue.endAdornment}`]:{right:9}},[`& .${qn.root}.${Gn.sizeSmall}`]:{paddingBottom:1,[`& .${qn.input}`]:{padding:"2.5px 4px"}},[`& .${Gn.hiddenLabel}`]:{paddingTop:8},[`& .${qn.root}.${Gn.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ue.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${qn.root}.${Gn.hiddenLabel}.${Gn.sizeSmall}`]:{[`& .${Ue.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ue.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ue.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ue.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ue.inputRoot}`]:{flexWrap:"wrap"}}}]}),fI=J("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),pI=J(hr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),gI=J(hr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),hI=J(kc,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ue.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})($e(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),mI=J(Is,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})($e(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),vI=J("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),yI=J("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),bI=J("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})($e(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ue.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Ue.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ue.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ue.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ue.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),xI=J(xm,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})($e(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),SI=J("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ue.option}`]:{paddingLeft:24}}),wI=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiAutocomplete"}),{autoComplete:o=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:s=!1,ChipProps:l,className:c,clearIcon:u=Ib||(Ib=g.jsx(h_,{fontSize:"small"})),clearOnBlur:d=!r.freeSolo,clearOnEscape:f=!1,clearText:p="Clear",closeText:h="Close",componentsProps:y,defaultValue:C=r.multiple?[]:null,disableClearable:v=!1,disableCloseOnSelect:S=!1,disabled:m=!1,disabledItemsFocusable:w=!1,disableListWrap:_=!1,disablePortal:R=!1,filterOptions:k,filterSelectedOptions:T=!1,forcePopupIcon:P="auto",freeSolo:x=!1,fullWidth:$=!1,getLimitTagsText:I=Xe=>`+${Xe}`,getOptionDisabled:O,getOptionKey:D,getOptionLabel:M,isOptionEqualToValue:A,groupBy:N,handleHomeEndKeys:E=!r.freeSolo,id:L,includeInputInList:B=!1,inputValue:H,limitTags:z=-1,ListboxComponent:j,ListboxProps:F,loading:W=!1,loadingText:V="Loading…",multiple:ee=!1,noOptionsText:re="No options",onChange:U,onClose:K,onHighlightChange:se,onInputChange:q,onOpen:ce,open:ue,openOnFocus:ie=!1,openText:te="Open",options:de,PaperComponent:Q,PopperComponent:be,popupIcon:Te=Ob||(Ob=g.jsx(P_,{})),readOnly:we=!1,renderGroup:ge,renderInput:le,renderOption:Se,renderTags:ye,selectOnFocus:Ge=!r.freeSolo,size:Pe="medium",slots:Re={},slotProps:ke={},value:pe,...ne}=r,{getRootProps:xe,getInputProps:Le,getInputLabelProps:fe,getPopupIndicatorProps:oe,getClearProps:me,getTagProps:je,getListboxProps:Ve,getOptionProps:Ye,value:Tt,dirty:Zt,expanded:Mn,id:ir,popupOpen:Vn,focused:Oo,focusedTag:_i,anchorEl:Fe,setAnchorEl:_n,inputValue:Dc,groupedOptions:pa}=$8({...r,componentName:"Autocomplete"}),Ds=!v&&!m&&Zt&&!we,js=(!x||P===!0)&&P!==!1,{onMouseDown:kp}=Le(),{ref:$p,...jc}=Ve(),Fs=M||(Xe=>Xe.label??Xe),dn={...r,disablePortal:R,expanded:Mn,focused:Oo,fullWidth:$,getOptionLabel:Fs,hasClearIcon:Ds,hasPopupIcon:js,inputFocused:_i===-1,popupOpen:Vn,size:Pe},Nt=uI(dn),so={slots:{paper:Q,popper:be,...Re},slotProps:{chip:l,listbox:F,...y,...ke}},[X,Y]=an("listbox",{elementType:bI,externalForwardedProps:so,ownerState:dn,className:Nt.listbox,additionalProps:jc,ref:$p}),[Ce,We]=an("paper",{elementType:Is,externalForwardedProps:so,ownerState:dn,className:Nt.paper}),[qe,Pt]=an("popper",{elementType:kc,externalForwardedProps:so,ownerState:dn,className:Nt.popper,additionalProps:{disablePortal:R,style:{width:Fe?Fe.clientWidth:null},role:"presentation",anchorEl:Fe,open:Vn}});let at;if(ee&&Tt.length>0){const Xe=Wr=>({className:Nt.tag,disabled:m,...je(Wr)});ye?at=ye(Tt,Xe,dn):at=Tt.map((Wr,Lo)=>{const{key:Bs,...j3}=Xe({index:Lo});return g.jsx(J6,{label:Fs(Wr),size:Pe,...j3,...so.slotProps.chip},Bs)})}if(z>-1&&Array.isArray(at)){const Xe=at.length-z;!Oo&&Xe>0&&(at=at.splice(0,z),at.push(g.jsx("span",{className:Nt.tag,children:I(Xe)},at.length)))}const Fc=ge||(Xe=>g.jsxs("li",{children:[g.jsx(xI,{className:Nt.groupLabel,ownerState:dn,component:"div",children:Xe.group}),g.jsx(SI,{className:Nt.groupUl,ownerState:dn,children:Xe.children})]},Xe.key)),D3=Se||((Xe,Wr)=>{const{key:Lo,...Bs}=Xe;return g.jsx("li",{...Bs,children:Fs(Wr)},Lo)}),uv=(Xe,Wr)=>{const Lo=Ye({option:Xe,index:Wr});return D3({...Lo,className:Nt.option},Xe,{selected:Lo["aria-selected"],index:Wr,inputValue:Dc},dn)},Bc=so.slotProps.clearIndicator,zc=so.slotProps.popupIndicator,Ep=Xe=>g.jsx(hI,{as:qe,...Pt,children:g.jsx(mI,{as:Ce,...We,children:Xe})});let Hc=null;return pa.length>0?Hc=Ep(g.jsx(X,{as:j,...Y,children:pa.map((Xe,Wr)=>N?Fc({key:Xe.key,group:Xe.group,children:Xe.options.map((Lo,Bs)=>uv(Lo,Xe.index+Bs))}):uv(Xe,Wr))})):W&&pa.length===0?Hc=Ep(g.jsx(vI,{className:Nt.loading,ownerState:dn,children:V})):pa.length===0&&!x&&!W&&(Hc=Ep(g.jsx(yI,{className:Nt.noOptions,ownerState:dn,role:"presentation",onMouseDown:Xe=>{Xe.preventDefault()},children:re}))),g.jsxs(b.Fragment,{children:[g.jsx(dI,{ref:n,className:ve(Nt.root,c),ownerState:dn,...xe(ne),children:le({id:ir,disabled:m,fullWidth:!0,size:Pe==="small"?"small":void 0,InputLabelProps:fe(),InputProps:{ref:_n,className:Nt.inputRoot,startAdornment:at,onMouseDown:Xe=>{Xe.target===Xe.currentTarget&&kp(Xe)},...(Ds||js)&&{endAdornment:g.jsxs(fI,{className:Nt.endAdornment,ownerState:dn,children:[Ds?g.jsx(pI,{...me(),"aria-label":p,title:p,ownerState:dn,...Bc,className:ve(Nt.clearIndicator,Bc==null?void 0:Bc.className),children:u}):null,js?g.jsx(gI,{...oe(),disabled:m,"aria-label":Vn?h:te,title:Vn?h:te,ownerState:dn,...zc,className:ve(Nt.popupIndicator,zc==null?void 0:zc.className),children:Te}):null]})}},inputProps:{className:Nt.input,disabled:m,readOnly:we,...Le()}})}),Fe?Hc:null]})}),CI={entering:{opacity:1},entered:{opacity:1}},_I=b.forwardRef(function(t,n){const r=zt(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:h,onExiting:y,style:C,timeout:v=o,TransitionComponent:S=Hr,...m}=t,w=b.useRef(null),_=Rt(w,ua(s),n),R=D=>M=>{if(D){const A=w.current;M===void 0?D(A):D(A,M)}},k=R(f),T=R((D,M)=>{g_(D);const A=fs({style:C,timeout:v,easing:l},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",A),D.style.transition=r.transitions.create("opacity",A),u&&u(D,M)}),P=R(d),x=R(y),$=R(D=>{const M=fs({style:C,timeout:v,easing:l},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",M),D.style.transition=r.transitions.create("opacity",M),p&&p(D)}),I=R(h),O=D=>{i&&i(w.current,D)};return g.jsx(S,{appear:a,in:c,nodeRef:w,onEnter:T,onEntered:P,onEntering:k,onExit:$,onExited:I,onExiting:x,addEndListener:O,timeout:v,...m,children:(D,M)=>b.cloneElement(s,{style:{opacity:0,visibility:D==="exited"&&!c?"hidden":void 0,...CI[D],...C,...s.props.style},ref:_,...M})})});function RI(e){return Oe("MuiBackdrop",e)}Ee("MuiBackdrop",["root","invisible"]);const TI=e=>{const{ownerState:t,...n}=e;return n},PI=e=>{const{classes:t,invisible:n}=e;return Ne({root:["root",n&&"invisible"]},RI,t)},kI=J("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.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"}}]}),$I=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:a="div",invisible:s=!1,open:l,components:c={},componentsProps:u={},slotProps:d={},slots:f={},TransitionComponent:p,transitionDuration:h,...y}=r,C={...r,component:a,invisible:s},v=PI(C),S={transition:p,root:c.Root,...f},m={...u,...d},w={slots:S,slotProps:m},[_,R]=an("root",{elementType:kI,externalForwardedProps:w,className:ve(v.root,i),ownerState:C}),[k,T]=an("transition",{elementType:_I,externalForwardedProps:w,ownerState:C}),P=TI(T);return g.jsx(k,{in:l,timeout:h,...y,...P,children:g.jsx(_,{"aria-hidden":!0,...R,classes:v,ref:n,children:o})})}),EI=Ee("MuiBox",["root"]),MI=sp(),Or=U5({themeId:Nr,defaultTheme:MI,defaultClassName:EI.root,generateClassName:e_.generate});function II(e){return Oe("MuiButton",e)}const Sa=Ee("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),OI=b.createContext({}),LI=b.createContext(void 0),AI=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${ae(t)}`,`size${ae(o)}`,`${i}Size${ae(o)}`,`color${ae(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ae(o)}`],endIcon:["icon","endIcon",`iconSize${ae(o)}`]},l=Ne(s,II,a);return{...a,...l}},k_=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],NI=J(To,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ae(n.color)}`],t[`size${ae(n.size)}`],t[`${n.variant}Size${ae(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})($e(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Sa.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Sa.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Sa.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Sa.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Ft()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:Be(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Sa.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Sa.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),DI=J("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ae(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...k_]}),jI=J("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ae(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...k_]}),FI=b.forwardRef(function(t,n){const r=b.useContext(OI),o=b.useContext(LI),i=c_(r,t),a=De({props:i,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:u,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:h,focusVisibleClassName:y,fullWidth:C=!1,size:v="medium",startIcon:S,type:m,variant:w="text",..._}=a,R={...a,color:l,component:c,disabled:d,disableElevation:f,disableFocusRipple:p,fullWidth:C,size:v,type:m,variant:w},k=AI(R),T=S&&g.jsx(DI,{className:k.startIcon,ownerState:R,children:S}),P=h&&g.jsx(jI,{className:k.endIcon,ownerState:R,children:h}),x=o||"";return g.jsxs(NI,{ownerState:R,className:ve(r.className,k.root,u,x),component:c,disabled:d,focusRipple:!p,focusVisibleClassName:ve(k.focusVisible,y),ref:n,type:m,..._,classes:k,children:[T,s,P]})});function BI(e){return Oe("PrivateSwitchBase",e)}Ee("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const zI=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${ae(o)}`],input:["input"]};return Ne(i,BI,t)},HI=J(To)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),VI=J("input",{shouldForwardProp:wn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),k1=b.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:d,id:f,inputProps:p,inputRef:h,name:y,onBlur:C,onChange:v,onFocus:S,readOnly:m,required:w=!1,tabIndex:_,type:R,value:k,...T}=t,[P,x]=Hi({controlled:o,default:!!s,name:"SwitchBase",state:"checked"}),$=Mo(),I=L=>{S&&S(L),$&&$.onFocus&&$.onFocus(L)},O=L=>{C&&C(L),$&&$.onBlur&&$.onBlur(L)},D=L=>{if(L.nativeEvent.defaultPrevented)return;const B=L.target.checked;x(B),v&&v(L,B)};let M=l;$&&typeof M>"u"&&(M=$.disabled);const A=R==="checkbox"||R==="radio",N={...t,checked:P,disabled:M,disableFocusRipple:c,edge:u},E=zI(N);return g.jsxs(HI,{component:"span",className:ve(E.root,a),centerRipple:!0,focusRipple:!c,disabled:M,tabIndex:null,role:void 0,onFocus:I,onBlur:O,ownerState:N,ref:n,...T,children:[g.jsx(VI,{autoFocus:r,checked:o,defaultChecked:s,className:E.input,disabled:M,id:A?f:void 0,name:y,onChange:D,readOnly:m,ref:h,required:w,ownerState:N,tabIndex:_,type:R,...R==="checkbox"&&k===void 0?{}:{value:k},...p}),P?i:d]})}),WI=un(g.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),UI=un(g.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),GI=un(g.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function qI(e){return Oe("MuiCheckbox",e)}const fg=Ee("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),KI=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${ae(r)}`,`size${ae(o)}`]},a=Ne(i,qI,t);return{...t,...a}},ZI=J(k1,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${ae(n.size)}`],n.color!=="default"&&t[`color${ae(n.color)}`]]}})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t},style:{[`&.${fg.checked}, &.${fg.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${fg.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),QI=g.jsx(UI,{}),YI=g.jsx(WI,{}),XI=g.jsx(GI,{}),JI=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiCheckbox"}),{checkedIcon:o=QI,color:i="primary",icon:a=YI,indeterminate:s=!1,indeterminateIcon:l=XI,inputProps:c,size:u="medium",disableRipple:d=!1,className:f,...p}=r,h=s?l:a,y=s?l:o,C={...r,disableRipple:d,color:i,indeterminate:s,size:u},v=KI(C);return g.jsx(ZI,{type:"checkbox",inputProps:{"data-indeterminate":s,...c},icon:b.cloneElement(h,{fontSize:h.props.fontSize??u}),checkedIcon:b.cloneElement(y,{fontSize:y.props.fontSize??u}),ownerState:C,ref:n,className:ve(v.root,f),disableRipple:d,...p,classes:v})});function Lb(e){return e.substring(2).toLowerCase()}function eO(e,t){return t.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const u=Rt(ua(t),s),d=bn(h=>{const y=c.current;c.current=!1;const C=ln(s.current);if(!l.current||!s.current||"clientX"in h&&eO(h,C))return;if(a.current){a.current=!1;return}let v;h.composedPath?v=h.composedPath().includes(s.current):v=!C.documentElement.contains(h.target)||s.current.contains(h.target),!v&&(n||!y)&&o(h)}),f=h=>y=>{c.current=!0;const C=t.props[h];C&&C(y)},p={ref:u};return i!==!1&&(p[i]=f(i)),b.useEffect(()=>{if(i!==!1){const h=Lb(i),y=ln(s.current),C=()=>{a.current=!0};return y.addEventListener(h,d),y.addEventListener("touchmove",C),()=>{y.removeEventListener(h,d),y.removeEventListener("touchmove",C)}}},[d,i]),r!==!1&&(p[r]=f(r)),b.useEffect(()=>{if(r!==!1){const h=Lb(r),y=ln(s.current);return y.addEventListener(h,d),()=>{y.removeEventListener(h,d)}}},[d,r]),g.jsx(b.Fragment,{children:b.cloneElement(t,p)})}function nO(e){const t=ln(e);return t.body===e?Br(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ml(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ab(e){return parseInt(Br(e).getComputedStyle(e).paddingRight,10)||0}function rO(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Nb(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const s=!i.includes(a),l=!rO(a);s&&l&&Ml(a,o)})}function pg(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function oO(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(nO(r)){const a=l_(Br(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ab(r)+a}px`;const s=ln(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Ab(l)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=ln(r).body;else{const a=r.parentElement,s=Br(r);i=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:a,property:s})=>{i?a.style.setProperty(s,i):a.style.removeProperty(s)})}}function iO(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class aO{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Ml(t.modalRef,!1);const o=iO(n);Nb(n,t.mount,t.modalRef,o,!0);const i=pg(this.containers,a=>a.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=pg(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=oO(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=pg(this.containers,a=>a.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Ml(t.modalRef,n),Nb(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&Ml(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const sO=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function lO(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function cO(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function uO(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||cO(e))}function dO(e){const t=[],n=[];return Array.from(e.querySelectorAll(sO)).forEach((r,o)=>{const i=lO(r);i===-1||!uO(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function fO(){return!0}function pO(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=dO,isEnabled:a=fO,open:s}=e,l=b.useRef(!1),c=b.useRef(null),u=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(!1),h=b.useRef(null),y=Rt(ua(t),h),C=b.useRef(null);b.useEffect(()=>{!s||!h.current||(p.current=!n)},[n,s]),b.useEffect(()=>{if(!s||!h.current)return;const m=ln(h.current);return h.current.contains(m.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]),b.useEffect(()=>{if(!s||!h.current)return;const m=ln(h.current),w=k=>{C.current=k,!(r||!a()||k.key!=="Tab")&&m.activeElement===h.current&&k.shiftKey&&(l.current=!0,u.current&&u.current.focus())},_=()=>{var P,x;const k=h.current;if(k===null)return;if(!m.hasFocus()||!a()||l.current){l.current=!1;return}if(k.contains(m.activeElement)||r&&m.activeElement!==c.current&&m.activeElement!==u.current)return;if(m.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let T=[];if((m.activeElement===c.current||m.activeElement===u.current)&&(T=i(h.current)),T.length>0){const $=!!((P=C.current)!=null&&P.shiftKey&&((x=C.current)==null?void 0:x.key)==="Tab"),I=T[0],O=T[T.length-1];typeof I!="string"&&typeof O!="string"&&($?O.focus():I.focus())}else k.focus()};m.addEventListener("focusin",_),m.addEventListener("keydown",w,!0);const R=setInterval(()=>{m.activeElement&&m.activeElement.tagName==="BODY"&&_()},50);return()=>{clearInterval(R),m.removeEventListener("focusin",_),m.removeEventListener("keydown",w,!0)}},[n,r,o,a,s,i]);const v=m=>{d.current===null&&(d.current=m.relatedTarget),p.current=!0,f.current=m.target;const w=t.props.onFocus;w&&w(m)},S=m=>{d.current===null&&(d.current=m.relatedTarget),p.current=!0};return g.jsxs(b.Fragment,{children:[g.jsx("div",{tabIndex:s?0:-1,onFocus:S,ref:c,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:y,onFocus:v}),g.jsx("div",{tabIndex:s?0:-1,onFocus:S,ref:u,"data-testid":"sentinelEnd"})]})}function gO(e){return typeof e=="function"?e():e}function hO(e){return e?e.props.hasOwnProperty("in"):!1}const pu=new aO;function mO(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:s,onClose:l,open:c,rootRef:u}=e,d=b.useRef({}),f=b.useRef(null),p=b.useRef(null),h=Rt(p,u),[y,C]=b.useState(!c),v=hO(s);let S=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(S=!1);const m=()=>ln(f.current),w=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),_=()=>{pu.mount(w(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},R=bn(()=>{const M=gO(t)||m().body;pu.add(w(),M),p.current&&_()}),k=()=>pu.isTopModal(w()),T=bn(M=>{f.current=M,M&&(c&&k()?_():p.current&&Ml(p.current,S))}),P=b.useCallback(()=>{pu.remove(w(),S)},[S]);b.useEffect(()=>()=>{P()},[P]),b.useEffect(()=>{c?R():(!v||!o)&&P()},[c,P,v,o,R]);const x=M=>A=>{var N;(N=M.onKeyDown)==null||N.call(M,A),!(A.key!=="Escape"||A.which===229||!k())&&(n||(A.stopPropagation(),l&&l(A,"escapeKeyDown")))},$=M=>A=>{var N;(N=M.onClick)==null||N.call(M,A),A.target===A.currentTarget&&l&&l(A,"backdropClick")};return{getRootProps:(M={})=>{const A=u_(e);delete A.onTransitionEnter,delete A.onTransitionExited;const N={...A,...M};return{role:"presentation",...N,onKeyDown:x(N),ref:h}},getBackdropProps:(M={})=>{const A=M;return{"aria-hidden":!0,...A,onClick:$(A),open:c}},getTransitionProps:()=>{const M=()=>{C(!1),i&&i()},A=()=>{C(!0),a&&a(),o&&P()};return{onEnter:pm(M,s==null?void 0:s.props.onEnter),onExited:pm(A,s==null?void 0:s.props.onExited)}},rootRef:h,portalRef:T,isTopModal:k,exited:y,hasTransition:v}}function vO(e){return Oe("MuiModal",e)}Ee("MuiModal",["root","hidden","backdrop"]);const yO=e=>{const{open:t,exited:n,classes:r}=e;return Ne({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},vO,r)},bO=J("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})($e(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),xO=J($I,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),SO=b.forwardRef(function(t,n){const r=De({name:"MuiModal",props:t}),{BackdropComponent:o=xO,BackdropProps:i,classes:a,className:s,closeAfterTransition:l=!1,children:c,container:u,component:d,components:f={},componentsProps:p={},disableAutoFocus:h=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:C=!1,disablePortal:v=!1,disableRestoreFocus:S=!1,disableScrollLock:m=!1,hideBackdrop:w=!1,keepMounted:_=!1,onBackdropClick:R,onClose:k,onTransitionEnter:T,onTransitionExited:P,open:x,slotProps:$={},slots:I={},theme:O,...D}=r,M={...r,closeAfterTransition:l,disableAutoFocus:h,disableEnforceFocus:y,disableEscapeKeyDown:C,disablePortal:v,disableRestoreFocus:S,disableScrollLock:m,hideBackdrop:w,keepMounted:_},{getRootProps:A,getBackdropProps:N,getTransitionProps:E,portalRef:L,isTopModal:B,exited:H,hasTransition:z}=mO({...M,rootRef:n}),j={...M,exited:H},F=yO(j),W={};if(c.props.tabIndex===void 0&&(W.tabIndex="-1"),z){const{onEnter:q,onExited:ce}=E();W.onEnter=q,W.onExited=ce}const V={...D,slots:{root:f.Root,backdrop:f.Backdrop,...I},slotProps:{...p,...$}},[ee,re]=an("root",{elementType:bO,externalForwardedProps:V,getSlotProps:A,additionalProps:{ref:n,as:d},ownerState:j,className:ve(s,F==null?void 0:F.root,!j.open&&j.exited&&(F==null?void 0:F.hidden))}),[U,K]=an("backdrop",{elementType:o,externalForwardedProps:V,additionalProps:i,getSlotProps:q=>N({...q,onClick:ce=>{R&&R(ce),q!=null&&q.onClick&&q.onClick(ce)}}),className:ve(i==null?void 0:i.className,F==null?void 0:F.backdrop),ownerState:j}),se=Rt(i==null?void 0:i.ref,K.ref);return!_&&!x&&(!z||H)?null:g.jsx(T_,{ref:L,container:u,disablePortal:v,children:g.jsxs(ee,{...re,children:[!w&&o?g.jsx(U,{...K,ref:se}):null,g.jsx(pO,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:S,isEnabled:B,open:x,children:b.cloneElement(c,W)})]})})}),Db=Ee("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),wO=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:a,multiline:s}=e,l={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${ae(i)}`,a&&"hiddenLabel",s&&"multiline"],input:["input"]},c=Ne(l,lI,t);return{...t,...c}},CO=J(gp,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...fp(e,t),!n.disableUnderline&&t.underline]}})($e(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=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:r,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:r}},[`&.${qn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${qn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:a})=>!a.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"},[`&.${qn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${qn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,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(.${qn.disabled}, .${qn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${qn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ft()).map(([a])=>{var s;return{props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(s=(e.vars||e).palette[a])==null?void 0:s.main}`}}}}),{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:12}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:12}},{props:({ownerState:a})=>a.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:a,size:s})=>a.multiline&&s==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),_O=J(hp,{name:"MuiFilledInput",slot:"Input",overridesResolver:pp})($e(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?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:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Ud=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:s=!1,hiddenLabel:l,inputComponent:c="input",multiline:u=!1,slotProps:d,slots:f={},type:p="text",...h}=r,y={...r,disableUnderline:o,fullWidth:s,inputComponent:c,multiline:u,type:p},C=wO(r),v={root:{ownerState:y},input:{ownerState:y}},S=d??a?oo(v,d??a):v,m=f.root??i.Root??CO,w=f.input??i.Input??_O;return g.jsx(mp,{slots:{root:m,input:w},componentsProps:S,fullWidth:s,inputComponent:c,multiline:u,ref:n,type:p,...h,classes:C})});Ud&&(Ud.muiName="Input");function RO(e){return Oe("MuiFormControl",e)}Ee("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const TO=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ae(n)}`,r&&"fullWidth"]};return Ne(o,RO,t)},PO=J("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${ae(e.margin)}`],...e.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%"}}]}),kO=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:d=!1,hiddenLabel:f=!1,margin:p="none",required:h=!1,size:y="medium",variant:C="outlined",...v}=r,S={...r,color:a,component:s,disabled:l,error:c,fullWidth:d,hiddenLabel:f,margin:p,required:h,size:y,variant:C},m=TO(S),[w,_]=b.useState(()=>{let O=!1;return o&&b.Children.forEach(o,D=>{if(!dg(D,["Input","Select"]))return;const M=dg(D,["Select"])?D.props.input:D;M&&rI(M.props)&&(O=!0)}),O}),[R,k]=b.useState(()=>{let O=!1;return o&&b.Children.forEach(o,D=>{dg(D,["Input","Select"])&&(Wd(D.props,!0)||Wd(D.props.inputProps,!0))&&(O=!0)}),O}),[T,P]=b.useState(!1);l&&T&&P(!1);const x=u!==void 0&&!l?u:T;let $;b.useRef(!1);const I=b.useMemo(()=>({adornedStart:w,setAdornedStart:_,color:a,disabled:l,error:c,filled:R,focused:x,fullWidth:d,hiddenLabel:f,size:y,onBlur:()=>{P(!1)},onEmpty:()=>{k(!1)},onFilled:()=>{k(!0)},onFocus:()=>{P(!0)},registerEffect:$,required:h,variant:C}),[w,a,l,c,R,x,d,f,$,h,y,C]);return g.jsx(P1.Provider,{value:I,children:g.jsx(PO,{as:s,ownerState:S,className:ve(m.root,i),ref:n,...v,children:o})})});function $O(e){return Oe("MuiFormControlLabel",e)}const vl=Ee("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),EO=e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,a={root:["root",n&&"disabled",`labelPlacement${ae(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return Ne(a,$O,t)},MO=J("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${vl.label}`]:t.label},t.root,t[`labelPlacement${ae(n.labelPlacement)}`]]}})($e(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${vl.disabled}`]:{cursor:"default"},[`& .${vl.label}`]:{[`&.${vl.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),IO=J("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})($e(({theme:e})=>({[`&.${vl.error}`]:{color:(e.vars||e).palette.error.main}}))),$_=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFormControlLabel"}),{checked:o,className:i,componentsProps:a={},control:s,disabled:l,disableTypography:c,inputRef:u,label:d,labelPlacement:f="end",name:p,onChange:h,required:y,slots:C={},slotProps:v={},value:S,...m}=r,w=Mo(),_=l??s.props.disabled??(w==null?void 0:w.disabled),R=y??s.props.required,k={disabled:_,required:R};["checked","name","onChange","value","inputRef"].forEach(M=>{typeof s.props[M]>"u"&&typeof r[M]<"u"&&(k[M]=r[M])});const T=da({props:r,muiFormControl:w,states:["error"]}),P={...r,disabled:_,labelPlacement:f,required:R,error:T.error},x=EO(P),$={slots:C,slotProps:{...a,...v}},[I,O]=an("typography",{elementType:mt,externalForwardedProps:$,ownerState:P});let D=d;return D!=null&&D.type!==mt&&!c&&(D=g.jsx(I,{component:"span",...O,className:ve(x.label,O==null?void 0:O.className),children:D})),g.jsxs(MO,{className:ve(x.root,i),ownerState:P,ref:n,...m,children:[b.cloneElement(s,k),R?g.jsxs("div",{children:[D,g.jsxs(IO,{ownerState:P,"aria-hidden":!0,className:x.asterisk,children:[" ","*"]})]}):D]})});function OO(e){return Oe("MuiFormHelperText",e)}const jb=Ee("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Fb;const LO=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:s,required:l}=e,c={root:["root",o&&"disabled",i&&"error",r&&`size${ae(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return Ne(c,OO,t)},AO=J("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ae(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${jb.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${jb.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),NO=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:a="p",disabled:s,error:l,filled:c,focused:u,margin:d,required:f,variant:p,...h}=r,y=Mo(),C=da({props:r,muiFormControl:y,states:["variant","size","disabled","error","filled","focused","required"]}),v={...r,component:a,contained:C.variant==="filled"||C.variant==="outlined",variant:C.variant,size:C.size,disabled:C.disabled,error:C.error,filled:C.filled,focused:C.focused,required:C.required};delete v.ownerState;const S=LO(v);return g.jsx(AO,{as:a,className:ve(S.root,i),ref:n,...h,ownerState:v,children:o===" "?Fb||(Fb=g.jsx("span",{className:"notranslate",children:"​"})):o})});function DO(e){return Oe("MuiFormLabel",e)}const Il=Ee("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),jO=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:s}=e,l={root:["root",`color${ae(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]};return Ne(l,DO,t)},FO=J("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})($e(({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(Ft()).map(([t])=>({props:{color:t},style:{[`&.${Il.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Il.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Il.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),BO=J("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})($e(({theme:e})=>({[`&.${Il.error}`]:{color:(e.vars||e).palette.error.main}}))),zO=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:a,component:s="label",disabled:l,error:c,filled:u,focused:d,required:f,...p}=r,h=Mo(),y=da({props:r,muiFormControl:h,states:["color","required","focused","disabled","error","filled"]}),C={...r,color:y.color||"primary",component:s,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required},v=jO(C);return g.jsxs(FO,{as:s,ownerState:C,className:ve(v.root,i),ref:n,...p,children:[o,y.required&&g.jsxs(BO,{ownerState:C,"aria-hidden":!0,className:v.asterisk,children:[" ","*"]})]})});function Sm(e){return`scale(${e}, ${e**2})`}const HO={entering:{opacity:1,transform:Sm(1)},entered:{opacity:1,transform:"none"}},gg=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),uc=b.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:f,onExiting:p,style:h,timeout:y="auto",TransitionComponent:C=Hr,...v}=t,S=Ni(),m=b.useRef(),w=zt(),_=b.useRef(null),R=Rt(_,ua(i),n),k=M=>A=>{if(M){const N=_.current;A===void 0?M(N):M(N,A)}},T=k(u),P=k((M,A)=>{g_(M);const{duration:N,delay:E,easing:L}=fs({style:h,timeout:y,easing:a},{mode:"enter"});let B;y==="auto"?(B=w.transitions.getAutoHeightDuration(M.clientHeight),m.current=B):B=N,M.style.transition=[w.transitions.create("opacity",{duration:B,delay:E}),w.transitions.create("transform",{duration:gg?B:B*.666,delay:E,easing:L})].join(","),l&&l(M,A)}),x=k(c),$=k(p),I=k(M=>{const{duration:A,delay:N,easing:E}=fs({style:h,timeout:y,easing:a},{mode:"exit"});let L;y==="auto"?(L=w.transitions.getAutoHeightDuration(M.clientHeight),m.current=L):L=A,M.style.transition=[w.transitions.create("opacity",{duration:L,delay:N}),w.transitions.create("transform",{duration:gg?L:L*.666,delay:gg?N:N||L*.333,easing:E})].join(","),M.style.opacity=0,M.style.transform=Sm(.75),d&&d(M)}),O=k(f),D=M=>{y==="auto"&&S.start(m.current||0,M),r&&r(_.current,M)};return g.jsx(C,{appear:o,in:s,nodeRef:_,onEnter:P,onEntered:x,onEntering:T,onExit:I,onExited:O,onExiting:$,addEndListener:D,timeout:y==="auto"?null:y,...v,children:(M,A)=>b.cloneElement(i,{style:{opacity:0,transform:Sm(.75),visibility:M==="exited"&&!s?"hidden":void 0,...HO[M],...h,...i.props.style},ref:R,...A})})});uc&&(uc.muiSupportAuto=!0);const VO=e=>{const{classes:t,disableUnderline:n}=e,o=Ne({root:["root",!n&&"underline"],input:["input"]},aI,t);return{...t,...o}},WO=J(gp,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...fp(e,t),!n.disableUnderline&&t.underline]}})($e(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.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"},[`&.${Go.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Go.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,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(.${Go.disabled}, .${Go.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Go.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ft()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),UO=J(hp,{name:"MuiInput",slot:"Input",overridesResolver:pp})({}),Gd=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:s=!1,inputComponent:l="input",multiline:c=!1,slotProps:u,slots:d={},type:f="text",...p}=r,h=VO(r),C={root:{ownerState:{disableUnderline:o}}},v=u??a?oo(u??a,C):C,S=d.root??i.Root??WO,m=d.input??i.Input??UO;return g.jsx(mp,{slots:{root:S,input:m},slotProps:v,fullWidth:s,inputComponent:l,multiline:c,ref:n,type:f,...p,classes:h})});Gd&&(Gd.muiName="Input");function GO(e){return Oe("MuiInputLabel",e)}Ee("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const qO=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:s}=e,l={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${ae(r)}`,a],asterisk:[s&&"asterisk"]},c=Ne(l,GO,t);return{...t,...c}},KO=J(zO,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Il.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})($e(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.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:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.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:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",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:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),ZO=b.forwardRef(function(t,n){const r=De({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:a,variant:s,className:l,...c}=r,u=Mo();let d=a;typeof d>"u"&&u&&(d=u.filled||u.focused||u.adornedStart);const f=da({props:r,muiFormControl:u,states:["size","variant","required","focused"]}),p={...r,disableAnimation:o,formControl:u,shrink:d,size:f.size,variant:f.variant,required:f.required,focused:f.focused},h=qO(p);return g.jsx(KO,{"data-shrink":d,ref:n,className:ve(h.root,l),...c,ownerState:p,classes:h})}),wm=b.createContext({});function QO(e){return Oe("MuiList",e)}Ee("MuiList",["root","padding","dense","subheader"]);const YO=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Ne({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},QO,t)},XO=J("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.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}}]}),JO=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c,...u}=r,d=b.useMemo(()=>({dense:s}),[s]),f={...r,component:a,dense:s,disablePadding:l},p=YO(f);return g.jsx(wm.Provider,{value:d,children:g.jsxs(XO,{as:a,className:ve(p.root,i),ref:n,ownerState:f,...u,children:[c,o]})})}),Bb=Ee("MuiListItemIcon",["root","alignItemsFlexStart"]),zb=Ee("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function hg(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Hb(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function E_(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Js(e,t,n,r,o,i){let a=!1,s=o(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!E_(s,i)||l)s=o(e,s,n);else return s.focus(),!0}return!1}const eL=b.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu",...f}=t,p=b.useRef(null),h=b.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});zr(()=>{o&&p.current.focus()},[o]),b.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(m,{direction:w})=>{const _=!p.current.style.width;if(m.clientHeight{const w=p.current,_=m.key;if(m.ctrlKey||m.metaKey||m.altKey){u&&u(m);return}const k=ln(w).activeElement;if(_==="ArrowDown")m.preventDefault(),Js(w,k,c,l,hg);else if(_==="ArrowUp")m.preventDefault(),Js(w,k,c,l,Hb);else if(_==="Home")m.preventDefault(),Js(w,null,c,l,hg);else if(_==="End")m.preventDefault(),Js(w,null,c,l,Hb);else if(_.length===1){const T=h.current,P=_.toLowerCase(),x=performance.now();T.keys.length>0&&(x-T.lastTime>500?(T.keys=[],T.repeating=!0,T.previousKeyMatched=!0):T.repeating&&P!==T.keys[0]&&(T.repeating=!1)),T.lastTime=x,T.keys.push(P);const $=k&&!T.repeating&&E_(k,T);T.previousKeyMatched&&($||Js(w,k,!1,l,hg,T))?m.preventDefault():T.previousKeyMatched=!1}u&&u(m)},C=Rt(p,n);let v=-1;b.Children.forEach(a,(m,w)=>{if(!b.isValidElement(m)){v===w&&(v+=1,v>=a.length&&(v=-1));return}m.props.disabled||(d==="selectedMenu"&&m.props.selected||v===-1)&&(v=w),v===w&&(m.props.disabled||m.props.muiSkipListHighlight||m.type.muiSkipListHighlight)&&(v+=1,v>=a.length&&(v=-1))});const S=b.Children.map(a,(m,w)=>{if(w===v){const _={};return i&&(_.autoFocus=!0),m.props.tabIndex===void 0&&d==="selectedMenu"&&(_.tabIndex=0),b.cloneElement(m,_)}return m});return g.jsx(JO,{role:"menu",ref:C,className:s,onKeyDown:y,tabIndex:o?0:-1,...f,children:S})});function tL(e){return Oe("MuiPopover",e)}Ee("MuiPopover",["root","paper"]);function Vb(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Wb(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Ub(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function mg(e){return typeof e=="function"?e():e}const nL=e=>{const{classes:t}=e;return Ne({root:["root"],paper:["paper"]},tL,t)},rL=J(SO,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),M_=J(Is,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),I_=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:c,className:u,container:d,elevation:f=8,marginThreshold:p=16,open:h,PaperProps:y={},slots:C={},slotProps:v={},transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:m=uc,transitionDuration:w="auto",TransitionProps:{onEntering:_,...R}={},disableScrollLock:k=!1,...T}=r,P=(v==null?void 0:v.paper)??y,x=b.useRef(),$={...r,anchorOrigin:a,anchorReference:l,elevation:f,marginThreshold:p,externalPaperSlotProps:P,transformOrigin:S,TransitionComponent:m,transitionDuration:w,TransitionProps:R},I=nL($),O=b.useCallback(()=>{if(l==="anchorPosition")return s;const K=mg(i),q=(K&&K.nodeType===1?K:ln(x.current).body).getBoundingClientRect();return{top:q.top+Vb(q,a.vertical),left:q.left+Wb(q,a.horizontal)}},[i,a.horizontal,a.vertical,s,l]),D=b.useCallback(K=>({vertical:Vb(K,S.vertical),horizontal:Wb(K,S.horizontal)}),[S.horizontal,S.vertical]),M=b.useCallback(K=>{const se={width:K.offsetWidth,height:K.offsetHeight},q=D(se);if(l==="none")return{top:null,left:null,transformOrigin:Ub(q)};const ce=O();let ue=ce.top-q.vertical,ie=ce.left-q.horizontal;const te=ue+se.height,de=ie+se.width,Q=Br(mg(i)),be=Q.innerHeight-p,Te=Q.innerWidth-p;if(p!==null&&uebe){const we=te-be;ue-=we,q.vertical+=we}if(p!==null&&ieTe){const we=de-Te;ie-=we,q.horizontal+=we}return{top:`${Math.round(ue)}px`,left:`${Math.round(ie)}px`,transformOrigin:Ub(q)}},[i,l,O,D,p]),[A,N]=b.useState(h),E=b.useCallback(()=>{const K=x.current;if(!K)return;const se=M(K);se.top!==null&&K.style.setProperty("top",se.top),se.left!==null&&(K.style.left=se.left),K.style.transformOrigin=se.transformOrigin,N(!0)},[M]);b.useEffect(()=>(k&&window.addEventListener("scroll",E),()=>window.removeEventListener("scroll",E)),[i,k,E]);const L=(K,se)=>{_&&_(K,se),E()},B=()=>{N(!1)};b.useEffect(()=>{h&&E()}),b.useImperativeHandle(o,()=>h?{updatePosition:()=>{E()}}:null,[h,E]),b.useEffect(()=>{if(!h)return;const K=cp(()=>{E()}),se=Br(i);return se.addEventListener("resize",K),()=>{K.clear(),se.removeEventListener("resize",K)}},[i,h,E]);let H=w;w==="auto"&&!m.muiSupportAuto&&(H=void 0);const z=d||(i?ln(mg(i)).body:void 0),j={slots:C,slotProps:{...v,paper:P}},[F,W]=an("paper",{elementType:M_,externalForwardedProps:j,additionalProps:{elevation:f,className:ve(I.paper,P==null?void 0:P.className),style:A?P.style:{...P.style,opacity:0}},ownerState:$}),[V,{slotProps:ee,...re}]=an("root",{elementType:rL,externalForwardedProps:j,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:z,open:h},ownerState:$,className:ve(I.root,u)}),U=Rt(x,W.ref);return g.jsx(V,{...re,...!Vd(V)&&{slotProps:ee,disableScrollLock:k},...T,ref:n,children:g.jsx(m,{appear:!0,in:h,onEntering:L,onExited:B,timeout:H,...R,children:g.jsx(F,{...W,ref:U,children:c})})})});function oL(e){return Oe("MuiMenu",e)}Ee("MuiMenu",["root","paper","list"]);const iL={vertical:"top",horizontal:"right"},aL={vertical:"top",horizontal:"left"},sL=e=>{const{classes:t}=e;return Ne({root:["root"],paper:["paper"],list:["list"]},oL,t)},lL=J(I_,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),cL=J(M_,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),uL=J(eL,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),$1=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:c,open:u,PaperProps:d={},PopoverClasses:f,transitionDuration:p="auto",TransitionProps:{onEntering:h,...y}={},variant:C="selectedMenu",slots:v={},slotProps:S={},...m}=r,w=Es(),_={...r,autoFocus:o,disableAutoFocusItem:s,MenuListProps:l,onEntering:h,PaperProps:d,transitionDuration:p,TransitionProps:y,variant:C},R=sL(_),k=o&&!s&&u,T=b.useRef(null),P=(A,N)=>{T.current&&T.current.adjustStyleForScrollbar(A,{direction:w?"rtl":"ltr"}),h&&h(A,N)},x=A=>{A.key==="Tab"&&(A.preventDefault(),c&&c(A,"tabKeyDown"))};let $=-1;b.Children.map(i,(A,N)=>{b.isValidElement(A)&&(A.props.disabled||(C==="selectedMenu"&&A.props.selected||$===-1)&&($=N))});const I=v.paper??cL,O=S.paper??d,D=na({elementType:v.root,externalSlotProps:S.root,ownerState:_,className:[R.root,a]}),M=na({elementType:I,externalSlotProps:O,ownerState:_,className:R.paper});return g.jsx(lL,{onClose:c,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?iL:aL,slots:{paper:I,root:v.root},slotProps:{root:D,paper:M},open:u,ref:n,transitionDuration:p,TransitionProps:{onEntering:P,...y},ownerState:_,...m,classes:f,children:g.jsx(uL,{onKeyDown:x,actions:T,autoFocus:o&&($===-1||s),autoFocusItem:k,variant:C,...l,className:ve(R.list,l.className),children:i})})});function dL(e){return Oe("MuiMenuItem",e)}const el=Ee("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),fL=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},pL=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,l=Ne({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},dL,a);return{...a,...l}},gL=J(To,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:fL})($e(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${el.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${el.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${el.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${el.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${el.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Db.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Db.inset}`]:{marginLeft:52},[`& .${zb.root}`]:{marginTop:0,marginBottom:0},[`& .${zb.inset}`]:{paddingLeft:36},[`& .${Bb.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Bb.root} svg`]:{fontSize:"1.25rem"}}}]}))),$c=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:f,...p}=r,h=b.useContext(wm),y=b.useMemo(()=>({dense:a||h.dense||!1,disableGutters:l}),[h.dense,a,l]),C=b.useRef(null);zr(()=>{o&&C.current&&C.current.focus()},[o]);const v={...r,dense:y.dense,divider:s,disableGutters:l},S=pL(r),m=Rt(C,n);let w;return r.disabled||(w=d!==void 0?d:-1),g.jsx(wm.Provider,{value:y,children:g.jsx(gL,{ref:m,role:u,tabIndex:w,component:i,focusVisibleClassName:ve(S.focusVisible,c),className:ve(S.root,f),...p,ownerState:v,classes:S})})});function hL(e){return Oe("MuiNativeSelect",e)}const E1=Ee("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),mL=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ae(n)}`,i&&"iconOpen",r&&"disabled"]};return Ne(s,hL,t)},O_=J("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${E1.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",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}}}]})),vL=J(O_,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:wn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${E1.multiple}`]:t.multiple}]}})({}),L_=J("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${E1.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),yL=J(L_,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ae(n.variant)}`],n.open&&t.iconOpen]}})({}),bL=b.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:a,inputRef:s,variant:l="standard",...c}=t,u={...t,disabled:o,variant:l,error:i},d=mL(u);return g.jsxs(b.Fragment,{children:[g.jsx(vL,{ownerState:u,className:ve(d.select,r),disabled:o,ref:s||n,...c}),t.multiple?null:g.jsx(yL,{as:a,ownerState:u,className:d.icon})]})});var Gb;const xL=J("fieldset",{shouldForwardProp:wn})({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%"}),SL=J("legend",{shouldForwardProp:wn})($e(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.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:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function wL(e){const{children:t,classes:n,className:r,label:o,notched:i,...a}=e,s=o!=null&&o!=="",l={...e,notched:i,withLabel:s};return g.jsx(xL,{"aria-hidden":!0,className:r,ownerState:l,...a,children:g.jsx(SL,{ownerState:l,children:s?g.jsx("span",{children:o}):Gb||(Gb=g.jsx("span",{className:"notranslate",children:"​"}))})})}const CL=e=>{const{classes:t}=e,r=Ne({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},sI,t);return{...t,...r}},_L=J(gp,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:fp})($e(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${lr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${lr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${lr.focused} .${lr.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Ft()).map(([n])=>({props:{color:n},style:{[`&.${lr.focused} .${lr.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${lr.error} .${lr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${lr.disabled} .${lr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),RL=J(wL,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})($e(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),TL=J(hp,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:pp})($e(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?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:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),qd=b.forwardRef(function(t,n){var r;const o=De({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:a=!1,inputComponent:s="input",label:l,multiline:c=!1,notched:u,slots:d={},type:f="text",...p}=o,h=CL(o),y=Mo(),C=da({props:o,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),v={...o,color:C.color||"primary",disabled:C.disabled,error:C.error,focused:C.focused,formControl:y,fullWidth:a,hiddenLabel:C.hiddenLabel,multiline:c,size:C.size,type:f},S=d.root??i.Root??_L,m=d.input??i.Input??TL;return g.jsx(mp,{slots:{root:S,input:m},renderSuffix:w=>g.jsx(RL,{ownerState:v,className:h.notchedOutline,label:l!=null&&l!==""&&C.required?r||(r=g.jsxs(b.Fragment,{children:[l," ","*"]})):l,notched:typeof u<"u"?u:!!(w.startAdornment||w.filled||w.focused)}),fullWidth:a,inputComponent:s,multiline:c,ref:n,type:f,...p,classes:{...h,notchedOutline:null}})});qd&&(qd.muiName="Input");const PL=un(g.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),kL=un(g.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),$L=un(g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),EL=un(g.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),ML=J("span",{shouldForwardProp:wn})({position:"relative",display:"flex"}),IL=J($L)({transform:"scale(1)"}),OL=J(EL)($e(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function A_(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o={...e,checked:t};return g.jsxs(ML,{className:n.root,ownerState:o,children:[g.jsx(IL,{fontSize:r,className:n.background,ownerState:o}),g.jsx(OL,{fontSize:r,className:n.dot,ownerState:o})]})}const LL=b.createContext(void 0);function AL(){return b.useContext(LL)}function NL(e){return Oe("MuiRadio",e)}const qb=Ee("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),DL=e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${ae(n)}`,r!=="medium"&&`size${ae(r)}`]};return{...t,...Ne(o,NL,t)}},jL=J(k1,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${ae(n.size)}`],t[`color${ae(n.color)}`]]}})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${qb.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${qb.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function FL(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Kb=g.jsx(A_,{checked:!0}),Zb=g.jsx(A_,{}),BL=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiRadio"}),{checked:o,checkedIcon:i=Kb,color:a="primary",icon:s=Zb,name:l,onChange:c,size:u="medium",className:d,disabled:f,disableRipple:p=!1,...h}=r,y=Mo();let C=f;y&&typeof C>"u"&&(C=y.disabled),C??(C=!1);const v={...r,disabled:C,disableRipple:p,color:a,size:u},S=DL(v),m=AL();let w=o;const _=pm(c,m&&m.onChange);let R=l;return m&&(typeof w>"u"&&(w=FL(m.value,r.value)),typeof R>"u"&&(R=m.name)),g.jsx(jL,{type:"radio",icon:b.cloneElement(s,{fontSize:Zb.props.fontSize??u}),checkedIcon:b.cloneElement(i,{fontSize:Kb.props.fontSize??u}),disabled:C,ownerState:v,classes:S,name:R,checked:w,onChange:_,ref:n,className:ve(S.root,d),...h})});function zL(e){return Oe("MuiSelect",e)}const tl=Ee("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Qb;const HL=J(O_,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${tl.select}`]:t.select},{[`&.${tl.select}`]:t[n.variant]},{[`&.${tl.error}`]:t.error},{[`&.${tl.multiple}`]:t.multiple}]}})({[`&.${tl.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),VL=J(L_,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ae(n.variant)}`],n.open&&t.iconOpen]}})({}),WL=J("input",{shouldForwardProp:e=>a_(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Yb(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function UL(e){return e==null||typeof e=="string"&&!e.trim()}const GL=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ae(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Ne(s,zL,t)},qL=b.forwardRef(function(t,n){var Le;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:a,children:s,className:l,defaultOpen:c,defaultValue:u,disabled:d,displayEmpty:f,error:p=!1,IconComponent:h,inputRef:y,labelId:C,MenuProps:v={},multiple:S,name:m,onBlur:w,onChange:_,onClose:R,onFocus:k,onOpen:T,open:P,readOnly:x,renderValue:$,SelectDisplayProps:I={},tabIndex:O,type:D,value:M,variant:A="standard",...N}=t,[E,L]=Hi({controlled:M,default:u,name:"Select"}),[B,H]=Hi({controlled:P,default:c,name:"Select"}),z=b.useRef(null),j=b.useRef(null),[F,W]=b.useState(null),{current:V}=b.useRef(P!=null),[ee,re]=b.useState(),U=Rt(n,y),K=b.useCallback(fe=>{j.current=fe,fe&&W(fe)},[]),se=F==null?void 0:F.parentNode;b.useImperativeHandle(U,()=>({focus:()=>{j.current.focus()},node:z.current,value:E}),[E]),b.useEffect(()=>{c&&B&&F&&!V&&(re(a?null:se.clientWidth),j.current.focus())},[F,a]),b.useEffect(()=>{i&&j.current.focus()},[i]),b.useEffect(()=>{if(!C)return;const fe=ln(j.current).getElementById(C);if(fe){const oe=()=>{getSelection().isCollapsed&&j.current.focus()};return fe.addEventListener("click",oe),()=>{fe.removeEventListener("click",oe)}}},[C]);const q=(fe,oe)=>{fe?T&&T(oe):R&&R(oe),V||(re(a?null:se.clientWidth),H(fe))},ce=fe=>{fe.button===0&&(fe.preventDefault(),j.current.focus(),q(!0,fe))},ue=fe=>{q(!1,fe)},ie=b.Children.toArray(s),te=fe=>{const oe=ie.find(me=>me.props.value===fe.target.value);oe!==void 0&&(L(oe.props.value),_&&_(fe,oe))},de=fe=>oe=>{let me;if(oe.currentTarget.hasAttribute("tabindex")){if(S){me=Array.isArray(E)?E.slice():[];const je=E.indexOf(fe.props.value);je===-1?me.push(fe.props.value):me.splice(je,1)}else me=fe.props.value;if(fe.props.onClick&&fe.props.onClick(oe),E!==me&&(L(me),_)){const je=oe.nativeEvent||oe,Ve=new je.constructor(je.type,je);Object.defineProperty(Ve,"target",{writable:!0,value:{value:me,name:m}}),_(Ve,fe)}S||q(!1,oe)}},Q=fe=>{x||[" ","ArrowUp","ArrowDown","Enter"].includes(fe.key)&&(fe.preventDefault(),q(!0,fe))},be=F!==null&&B,Te=fe=>{!be&&w&&(Object.defineProperty(fe,"target",{writable:!0,value:{value:E,name:m}}),w(fe))};delete N["aria-invalid"];let we,ge;const le=[];let Se=!1;(Wd({value:E})||f)&&($?we=$(E):Se=!0);const ye=ie.map(fe=>{if(!b.isValidElement(fe))return null;let oe;if(S){if(!Array.isArray(E))throw new Error(Xi(2));oe=E.some(me=>Yb(me,fe.props.value)),oe&&Se&&le.push(fe.props.children)}else oe=Yb(E,fe.props.value),oe&&Se&&(ge=fe.props.children);return b.cloneElement(fe,{"aria-selected":oe?"true":"false",onClick:de(fe),onKeyUp:me=>{me.key===" "&&me.preventDefault(),fe.props.onKeyUp&&fe.props.onKeyUp(me)},role:"option",selected:oe,value:void 0,"data-value":fe.props.value})});Se&&(S?le.length===0?we=null:we=le.reduce((fe,oe,me)=>(fe.push(oe),me{const{classes:t}=e;return t},M1={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>wn(e)&&e!=="variant",slot:"Root"},ZL=J(Gd,M1)(""),QL=J(qd,M1)(""),YL=J(Ud,M1)(""),vp=b.forwardRef(function(t,n){const r=De({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=P_,id:d,input:f,inputProps:p,label:h,labelId:y,MenuProps:C,multiple:v=!1,native:S=!1,onClose:m,onOpen:w,open:_,renderValue:R,SelectDisplayProps:k,variant:T="outlined",...P}=r,x=S?bL:qL,$=Mo(),I=da({props:r,muiFormControl:$,states:["variant","error"]}),O=I.variant||T,D={...r,variant:O,classes:a},M=KL(D),{root:A,...N}=M,E=f||{standard:g.jsx(ZL,{ownerState:D}),outlined:g.jsx(QL,{label:h,ownerState:D}),filled:g.jsx(YL,{ownerState:D})}[O],L=Rt(n,ua(E));return g.jsx(b.Fragment,{children:b.cloneElement(E,{inputComponent:x,inputProps:{children:i,error:I.error,IconComponent:u,variant:O,type:void 0,multiple:v,...S?{id:d}:{autoWidth:o,defaultOpen:l,displayEmpty:c,labelId:y,MenuProps:C,onClose:m,onOpen:w,open:_,renderValue:R,SelectDisplayProps:{id:d,...k}},...p,classes:p?oo(N,p.classes):N,...f?f.props.inputProps:{}},...(v&&S||c)&&O==="outlined"?{notched:!0}:{},ref:L,className:ve(E.props.className,s,M.root),...!f&&{variant:O},...P})})});vp.muiName="Select";function XL(e){return Oe("MuiTooltip",e)}const Mt=Ee("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function JL(e){return Math.round(e*1e5)/1e5}const e7=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${ae(i.split("-")[0])}`],arrow:["arrow"]};return Ne(a,XL,t)},t7=J(kc,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})($e(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Mt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Mt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Mt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Mt.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Mt.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Mt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Mt.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Mt.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),n7=J("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ae(n.placement.split("-")[0])}`]]}})($e(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Be(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Mt.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Mt.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Mt.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Mt.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${JL(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Mt.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Mt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Mt.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Mt.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Mt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Mt.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Mt.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Mt.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Mt.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Mt.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),r7=J("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})($e(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Be(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let gu=!1;const Xb=new up;let nl={x:0,y:0};function hu(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const o7=b.forwardRef(function(t,n){var Vn,Oo,_i;const r=De({props:t,name:"MuiTooltip"}),{arrow:o=!1,children:i,classes:a,components:s={},componentsProps:l={},describeChild:c=!1,disableFocusListener:u=!1,disableHoverListener:d=!1,disableInteractive:f=!1,disableTouchListener:p=!1,enterDelay:h=100,enterNextDelay:y=0,enterTouchDelay:C=700,followCursor:v=!1,id:S,leaveDelay:m=0,leaveTouchDelay:w=1500,onClose:_,onOpen:R,open:k,placement:T="bottom",PopperComponent:P,PopperProps:x={},slotProps:$={},slots:I={},title:O,TransitionComponent:D=uc,TransitionProps:M,...A}=r,N=b.isValidElement(i)?i:g.jsx("span",{children:i}),E=zt(),L=Es(),[B,H]=b.useState(),[z,j]=b.useState(null),F=b.useRef(!1),W=f||v,V=Ni(),ee=Ni(),re=Ni(),U=Ni(),[K,se]=Hi({controlled:k,default:!1,name:"Tooltip",state:"open"});let q=K;const ce=ds(S),ue=b.useRef(),ie=bn(()=>{ue.current!==void 0&&(document.body.style.WebkitUserSelect=ue.current,ue.current=void 0),U.clear()});b.useEffect(()=>ie,[ie]);const te=Fe=>{Xb.clear(),gu=!0,se(!0),R&&!q&&R(Fe)},de=bn(Fe=>{Xb.start(800+m,()=>{gu=!1}),se(!1),_&&q&&_(Fe),V.start(E.transitions.duration.shortest,()=>{F.current=!1})}),Q=Fe=>{F.current&&Fe.type!=="touchstart"||(B&&B.removeAttribute("title"),ee.clear(),re.clear(),h||gu&&y?ee.start(gu?y:h,()=>{te(Fe)}):te(Fe))},be=Fe=>{ee.clear(),re.start(m,()=>{de(Fe)})},[,Te]=b.useState(!1),we=Fe=>{Fd(Fe.target)||(Te(!1),be(Fe))},ge=Fe=>{B||H(Fe.currentTarget),Fd(Fe.target)&&(Te(!0),Q(Fe))},le=Fe=>{F.current=!0;const _n=N.props;_n.onTouchStart&&_n.onTouchStart(Fe)},Se=Fe=>{le(Fe),re.clear(),V.clear(),ie(),ue.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",U.start(C,()=>{document.body.style.WebkitUserSelect=ue.current,Q(Fe)})},ye=Fe=>{N.props.onTouchEnd&&N.props.onTouchEnd(Fe),ie(),re.start(w,()=>{de(Fe)})};b.useEffect(()=>{if(!q)return;function Fe(_n){_n.key==="Escape"&&de(_n)}return document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}},[de,q]);const Ge=Rt(ua(N),H,n);!O&&O!==0&&(q=!1);const Pe=b.useRef(),Re=Fe=>{const _n=N.props;_n.onMouseMove&&_n.onMouseMove(Fe),nl={x:Fe.clientX,y:Fe.clientY},Pe.current&&Pe.current.update()},ke={},pe=typeof O=="string";c?(ke.title=!q&&pe&&!d?O:null,ke["aria-describedby"]=q?ce:null):(ke["aria-label"]=pe?O:null,ke["aria-labelledby"]=q&&!pe?ce:null);const ne={...ke,...A,...N.props,className:ve(A.className,N.props.className),onTouchStart:le,ref:Ge,...v?{onMouseMove:Re}:{}},xe={};p||(ne.onTouchStart=Se,ne.onTouchEnd=ye),d||(ne.onMouseOver=hu(Q,ne.onMouseOver),ne.onMouseLeave=hu(be,ne.onMouseLeave),W||(xe.onMouseOver=Q,xe.onMouseLeave=be)),u||(ne.onFocus=hu(ge,ne.onFocus),ne.onBlur=hu(we,ne.onBlur),W||(xe.onFocus=ge,xe.onBlur=we));const Le=b.useMemo(()=>{var _n;let Fe=[{name:"arrow",enabled:!!z,options:{element:z,padding:4}}];return(_n=x.popperOptions)!=null&&_n.modifiers&&(Fe=Fe.concat(x.popperOptions.modifiers)),{...x.popperOptions,modifiers:Fe}},[z,x]),fe={...r,isRtl:L,arrow:o,disableInteractive:W,placement:T,PopperComponentProp:P,touch:F.current},oe=e7(fe),me=I.popper??s.Popper??t7,je=I.transition??s.Transition??D??uc,Ve=I.tooltip??s.Tooltip??n7,Ye=I.arrow??s.Arrow??r7,Tt=Ha(me,{...x,...$.popper??l.popper,className:ve(oe.popper,x==null?void 0:x.className,(Vn=$.popper??l.popper)==null?void 0:Vn.className)},fe),Zt=Ha(je,{...M,...$.transition??l.transition},fe),Mn=Ha(Ve,{...$.tooltip??l.tooltip,className:ve(oe.tooltip,(Oo=$.tooltip??l.tooltip)==null?void 0:Oo.className)},fe),ir=Ha(Ye,{...$.arrow??l.arrow,className:ve(oe.arrow,(_i=$.arrow??l.arrow)==null?void 0:_i.className)},fe);return g.jsxs(b.Fragment,{children:[b.cloneElement(N,ne),g.jsx(me,{as:P??kc,placement:T,anchorEl:v?{getBoundingClientRect:()=>({top:nl.y,left:nl.x,right:nl.x,bottom:nl.y,width:0,height:0})}:B,popperRef:Pe,open:B?q:!1,id:ce,transition:!0,...xe,...Tt,popperOptions:Le,children:({TransitionProps:Fe})=>g.jsx(je,{timeout:E.transitions.duration.shorter,...Fe,...Zt,children:g.jsxs(Ve,{...Mn,children:[O,o?g.jsx(Ye,{...ir,ref:j}):null]})})})]})}),i7=DE({createStyledComponent:J("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>De({props:e,name:"MuiStack"})});function a7(e){return Oe("MuiSwitch",e)}const Rn=Ee("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),s7=e=>{const{classes:t,edge:n,size:r,color:o,checked:i,disabled:a}=e,s={root:["root",n&&`edge${ae(n)}`,`size${ae(r)}`],switchBase:["switchBase",`color${ae(o)}`,i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Ne(s,a7,t);return{...t,...l}},l7=J("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${ae(n.edge)}`],t[`size${ae(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Rn.thumb}`]:{width:16,height:16},[`& .${Rn.switchBase}`]:{padding:4,[`&.${Rn.checked}`]:{transform:"translateX(16px)"}}}}]}),c7=J(k1,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${Rn.input}`]:t.input},n.color!=="default"&&t[`color${ae(n.color)}`]]}})($e(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Rn.checked}`]:{transform:"translateX(20px)"},[`&.${Rn.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Rn.checked} + .${Rn.track}`]:{opacity:.5},[`&.${Rn.disabled} + .${Rn.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Rn.input}`]:{left:"-100%",width:"300%"}})),$e(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(Ft(["light"])).map(([t])=>({props:{color:t},style:{[`&.${Rn.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Rn.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?ta(e.palette[t].main,.62):ea(e.palette[t].main,.55)}`}},[`&.${Rn.checked} + .${Rn.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),u7=J("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})($e(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),d7=J("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})($e(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),f7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiSwitch"}),{className:o,color:i="primary",edge:a=!1,size:s="medium",sx:l,...c}=r,u={...r,color:i,edge:a,size:s},d=s7(u),f=g.jsx(d7,{className:d.thumb,ownerState:u});return g.jsxs(l7,{className:ve(d.root,o),sx:l,ownerState:u,children:[g.jsx(c7,{type:"checkbox",icon:f,checkedIcon:f,ref:n,ownerState:u,...c,classes:{...d,root:d.switchBase}}),g.jsx(u7,{className:d.track,ownerState:u})]})});function p7(e){return Oe("MuiTab",e)}const ar=Ee("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),g7=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e,c={root:["root",i&&a&&"labelIcon",`textColor${ae(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]};return Ne(c,p7,t)},h7=J(To,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${ae(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${ar.iconWrapper}`]:t.iconWrapper},{[`& .${ar.icon}`]:t.icon}]}})($e(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&(t.iconPosition==="top"||t.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&t.iconPosition!=="top"&&t.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="top",style:{[`& > .${ar.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="bottom",style:{[`& > .${ar.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="start",style:{[`& > .${ar.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="end",style:{[`& > .${ar.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${ar.selected}`]:{opacity:1},[`&.${ar.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${ar.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${ar.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${ar.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${ar.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),m7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTab"}),{className:o,disabled:i=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:d,onChange:f,onClick:p,onFocus:h,selected:y,selectionFollowsFocus:C,textColor:v="inherit",value:S,wrapped:m=!1,...w}=r,_={...r,disabled:i,disableFocusRipple:a,selected:y,icon:!!l,iconPosition:c,label:!!d,fullWidth:s,textColor:v,wrapped:m},R=g7(_),k=l&&d&&b.isValidElement(l)?b.cloneElement(l,{className:ve(R.icon,l.props.className)}):l,T=x=>{!y&&f&&f(x,S),p&&p(x)},P=x=>{C&&!y&&f&&f(x,S),h&&h(x)};return g.jsxs(h7,{focusRipple:!a,className:ve(R.root,o),ref:n,role:"tab","aria-selected":y,disabled:i,onClick:T,onFocus:P,ownerState:_,tabIndex:y?0:-1,...w,children:[c==="top"||c==="start"?g.jsxs(b.Fragment,{children:[k,d]}):g.jsxs(b.Fragment,{children:[d,k]}),u]})}),N_=b.createContext();function v7(e){return Oe("MuiTable",e)}Ee("MuiTable",["root","stickyHeader"]);const y7=e=>{const{classes:t,stickyHeader:n}=e;return Ne({root:["root",n&&"stickyHeader"]},v7,t)},b7=J("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})($e(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),Jb="table",x7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTable"}),{className:o,component:i=Jb,padding:a="normal",size:s="medium",stickyHeader:l=!1,...c}=r,u={...r,component:i,padding:a,size:s,stickyHeader:l},d=y7(u),f=b.useMemo(()=>({padding:a,size:s,stickyHeader:l}),[a,s,l]);return g.jsx(N_.Provider,{value:f,children:g.jsx(b7,{as:i,role:i===Jb?null:"table",ref:n,className:ve(d.root,o),ownerState:u,...c})})}),Ec=b.createContext();function S7(e){return Oe("MuiTableBody",e)}Ee("MuiTableBody",["root"]);const w7=e=>{const{classes:t}=e;return Ne({root:["root"]},S7,t)},C7=J("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),_7={variant:"body"},ex="tbody",R7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableBody"}),{className:o,component:i=ex,...a}=r,s={...r,component:i},l=w7(s);return g.jsx(Ec.Provider,{value:_7,children:g.jsx(C7,{className:ve(l.root,o),as:i,ref:n,role:i===ex?null:"rowgroup",ownerState:s,...a})})});function T7(e){return Oe("MuiTableCell",e)}const P7=Ee("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),k7=e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:a}=e,s={root:["root",n,a&&"stickyHeader",r!=="inherit"&&`align${ae(r)}`,o!=="normal"&&`padding${ae(o)}`,`size${ae(i)}`]};return Ne(s,T7,t)},$7=J("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ae(n.size)}`],n.padding!=="normal"&&t[`padding${ae(n.padding)}`],n.align!=="inherit"&&t[`align${ae(n.align)}`],n.stickyHeader&&t.stickyHeader]}})($e(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?ta(Be(e.palette.divider,1),.88):ea(Be(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${P7.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),ys=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableCell"}),{align:o="inherit",className:i,component:a,padding:s,scope:l,size:c,sortDirection:u,variant:d,...f}=r,p=b.useContext(N_),h=b.useContext(Ec),y=h&&h.variant==="head";let C;a?C=a:C=y?"th":"td";let v=l;C==="td"?v=void 0:!v&&y&&(v="col");const S=d||h&&h.variant,m={...r,align:o,component:C,padding:s||(p&&p.padding?p.padding:"normal"),size:c||(p&&p.size?p.size:"medium"),sortDirection:u,stickyHeader:S==="head"&&p&&p.stickyHeader,variant:S},w=k7(m);let _=null;return u&&(_=u==="asc"?"ascending":"descending"),g.jsx($7,{as:C,ref:n,className:ve(w.root,i),"aria-sort":_,scope:v,ownerState:m,...f})});function E7(e){return Oe("MuiTableContainer",e)}Ee("MuiTableContainer",["root"]);const M7=e=>{const{classes:t}=e;return Ne({root:["root"]},E7,t)},I7=J("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),O7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableContainer"}),{className:o,component:i="div",...a}=r,s={...r,component:i},l=M7(s);return g.jsx(I7,{ref:n,as:i,className:ve(l.root,o),ownerState:s,...a})});function L7(e){return Oe("MuiTableFooter",e)}Ee("MuiTableFooter",["root"]);const A7=e=>{const{classes:t}=e;return Ne({root:["root"]},L7,t)},N7=J("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),D7={variant:"footer"},tx="tfoot",j7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableFooter"}),{className:o,component:i=tx,...a}=r,s={...r,component:i},l=A7(s);return g.jsx(Ec.Provider,{value:D7,children:g.jsx(N7,{as:i,className:ve(l.root,o),ref:n,role:i===tx?null:"rowgroup",ownerState:s,...a})})});function F7(e){return Oe("MuiTableHead",e)}Ee("MuiTableHead",["root"]);const B7=e=>{const{classes:t}=e;return Ne({root:["root"]},F7,t)},z7=J("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),H7={variant:"head"},nx="thead",V7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableHead"}),{className:o,component:i=nx,...a}=r,s={...r,component:i},l=B7(s);return g.jsx(Ec.Provider,{value:H7,children:g.jsx(z7,{as:i,className:ve(l.root,o),ref:n,role:i===nx?null:"rowgroup",ownerState:s,...a})})});function W7(e){return Oe("MuiToolbar",e)}Ee("MuiToolbar",["root","gutters","regular","dense"]);const U7=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Ne({root:["root",!n&&"gutters",r]},W7,t)},G7=J("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})($e(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),D_=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:s="regular",...l}=r,c={...r,component:i,disableGutters:a,variant:s},u=U7(c);return g.jsx(G7,{as:i,className:ve(u.root,o),ref:n,ownerState:c,...l})}),j_=un(g.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),F_=un(g.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),q7=b.forwardRef(function(t,n){const{backIconButtonProps:r,count:o,disabled:i=!1,getItemAriaLabel:a,nextIconButtonProps:s,onPageChange:l,page:c,rowsPerPage:u,showFirstButton:d,showLastButton:f,slots:p={},slotProps:h={},...y}=t,C=Es(),v=H=>{l(H,0)},S=H=>{l(H,c-1)},m=H=>{l(H,c+1)},w=H=>{l(H,Math.max(0,Math.ceil(o/u)-1))},_=p.firstButton??hr,R=p.lastButton??hr,k=p.nextButton??hr,T=p.previousButton??hr,P=p.firstButtonIcon??PL,x=p.lastButtonIcon??kL,$=p.nextButtonIcon??F_,I=p.previousButtonIcon??j_,O=C?R:_,D=C?k:T,M=C?T:k,A=C?_:R,N=C?h.lastButton:h.firstButton,E=C?h.nextButton:h.previousButton,L=C?h.previousButton:h.nextButton,B=C?h.firstButton:h.lastButton;return g.jsxs("div",{ref:n,...y,children:[d&&g.jsx(O,{onClick:v,disabled:i||c===0,"aria-label":a("first",c),title:a("first",c),...N,children:C?g.jsx(x,{...h.lastButtonIcon}):g.jsx(P,{...h.firstButtonIcon})}),g.jsx(D,{onClick:S,disabled:i||c===0,color:"inherit","aria-label":a("previous",c),title:a("previous",c),...E??r,children:C?g.jsx($,{...h.nextButtonIcon}):g.jsx(I,{...h.previousButtonIcon})}),g.jsx(M,{onClick:m,disabled:i||(o!==-1?c>=Math.ceil(o/u)-1:!1),color:"inherit","aria-label":a("next",c),title:a("next",c),...L??s,children:C?g.jsx(I,{...h.previousButtonIcon}):g.jsx($,{...h.nextButtonIcon})}),f&&g.jsx(A,{onClick:w,disabled:i||c>=Math.ceil(o/u)-1,"aria-label":a("last",c),title:a("last",c),...B,children:C?g.jsx(P,{...h.firstButtonIcon}):g.jsx(x,{...h.lastButtonIcon})})]})});function K7(e){return Oe("MuiTablePagination",e)}const Ol=Ee("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var rx;const Z7=J(ys,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})($e(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),Q7=J(D_,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${Ol.actions}`]:t.actions,...t.toolbar})})($e(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${Ol.actions}`]:{flexShrink:0,marginLeft:20}}))),Y7=J("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),X7=J("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})($e(({theme:e})=>({...e.typography.body2,flexShrink:0}))),J7=J(vp,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${Ol.selectIcon}`]:t.selectIcon,[`& .${Ol.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Ol.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),eA=J($c,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),tA=J("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})($e(({theme:e})=>({...e.typography.body2,flexShrink:0})));function nA({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function rA(e){return`Go to ${e} page`}const oA=e=>{const{classes:t}=e;return Ne({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},K7,t)},iA=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTablePagination"}),{ActionsComponent:o=q7,backIconButtonProps:i,className:a,colSpan:s,component:l=ys,count:c,disabled:u=!1,getItemAriaLabel:d=rA,labelDisplayedRows:f=nA,labelRowsPerPage:p="Rows per page:",nextIconButtonProps:h,onPageChange:y,onRowsPerPageChange:C,page:v,rowsPerPage:S,rowsPerPageOptions:m=[10,25,50,100],SelectProps:w={},showFirstButton:_=!1,showLastButton:R=!1,slotProps:k={},slots:T={},...P}=r,x=r,$=oA(x),I=(k==null?void 0:k.select)??w,O=I.native?"option":eA;let D;(l===ys||l==="td")&&(D=s||1e3);const M=ds(I.id),A=ds(I.labelId),N=()=>c===-1?(v+1)*S:S===-1?c:Math.min(c,(v+1)*S);return g.jsx(Z7,{colSpan:D,ref:n,as:l,ownerState:x,className:ve($.root,a),...P,children:g.jsxs(Q7,{className:$.toolbar,children:[g.jsx(Y7,{className:$.spacer}),m.length>1&&g.jsx(X7,{className:$.selectLabel,id:A,children:p}),m.length>1&&g.jsx(J7,{variant:"standard",...!I.variant&&{input:rx||(rx=g.jsx(mp,{}))},value:S,onChange:C,id:M,labelId:A,...I,classes:{...I.classes,root:ve($.input,$.selectRoot,(I.classes||{}).root),select:ve($.select,(I.classes||{}).select),icon:ve($.selectIcon,(I.classes||{}).icon)},disabled:u,children:m.map(E=>b.createElement(O,{...!Vd(O)&&{ownerState:x},className:$.menuItem,key:E.label?E.label:E,value:E.value?E.value:E},E.label?E.label:E))}),g.jsx(tA,{className:$.displayedRows,children:f({from:c===0?0:v*S+1,to:N(),count:c===-1?-1:c,page:v})}),g.jsx(o,{className:$.actions,backIconButtonProps:i,count:c,nextIconButtonProps:h,onPageChange:y,page:v,rowsPerPage:S,showFirstButton:_,showLastButton:R,slotProps:k.actions,slots:T.actions,getItemAriaLabel:d,disabled:u})]})})});function aA(e){return Oe("MuiTableRow",e)}const ox=Ee("MuiTableRow",["root","selected","hover","head","footer"]),sA=e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e;return Ne({root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]},aA,t)},lA=J("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})($e(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${ox.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ox.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),ix="tr",yp=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableRow"}),{className:o,component:i=ix,hover:a=!1,selected:s=!1,...l}=r,c=b.useContext(Ec),u={...r,component:i,hover:a,selected:s,head:c&&c.variant==="head",footer:c&&c.variant==="footer"},d=sA(u);return g.jsx(lA,{as:i,ref:n,className:ve(d.root,o),role:i===ix?null:"row",ownerState:u,...l})}),cA=un(g.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function uA(e){return Oe("MuiTableSortLabel",e)}const vg=Ee("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),dA=e=>{const{classes:t,direction:n,active:r}=e,o={root:["root",r&&"active",`direction${ae(n)}`],icon:["icon",`iconDirection${ae(n)}`]};return Ne(o,uA,t)},fA=J(To,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})($e(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${vg.icon}`]:{opacity:.5}},[`&.${vg.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${vg.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),pA=J("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${ae(n.direction)}`]]}})($e(({theme:e})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]}))),gA=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableSortLabel"}),{active:o=!1,children:i,className:a,direction:s="asc",hideSortIcon:l=!1,IconComponent:c=cA,...u}=r,d={...r,active:o,direction:s,hideSortIcon:l,IconComponent:c},f=dA(d);return g.jsxs(fA,{className:ve(f.root,a),component:"span",disableRipple:!0,ownerState:d,ref:n,...u,children:[i,l&&!o?null:g.jsx(pA,{as:c,className:ve(f.icon),ownerState:d})]})});function hA(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function mA(e,t,n,r={},o=()=>{}){const{ease:i=hA,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=f=>{if(c){o(new Error("Animation cancelled"));return}s===null&&(s=f);const p=Math.min(1,(f-s)/a);if(t[e]=i(p)*(n-l)+l,p>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(d)};return l===n?(o(new Error("Element already at target position")),u):(requestAnimationFrame(d),u)}const vA={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function yA(e){const{onChange:t,...n}=e,r=b.useRef(),o=b.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return zr(()=>{const a=cp(()=>{const l=r.current;i(),l!==r.current&&t(r.current)}),s=Br(o.current);return s.addEventListener("resize",a),()=>{a.clear(),s.removeEventListener("resize",a)}},[t]),b.useEffect(()=>{i(),t(r.current)},[t]),g.jsx("div",{style:vA,ref:o,...n})}function bA(e){return Oe("MuiTabScrollButton",e)}const xA=Ee("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),SA=e=>{const{classes:t,orientation:n,disabled:r}=e;return Ne({root:["root",n,r&&"disabled"]},bA,t)},wA=J(To,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${xA.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),CA=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTabScrollButton"}),{className:o,slots:i={},slotProps:a={},direction:s,orientation:l,disabled:c,...u}=r,d=Es(),f={isRtl:d,...r},p=SA(f),h=i.StartScrollButtonIcon??j_,y=i.EndScrollButtonIcon??F_,C=na({elementType:h,externalSlotProps:a.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f}),v=na({elementType:y,externalSlotProps:a.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f});return g.jsx(wA,{component:"div",className:ve(p.root,o),ref:n,role:null,ownerState:f,tabIndex:null,...u,style:{...u.style,...l==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${d?-90:90}deg)`}},children:s==="left"?g.jsx(h,{...C}):g.jsx(y,{...v})})});function _A(e){return Oe("MuiTabs",e)}const yg=Ee("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),ax=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,sx=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,mu=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const i=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||i)o=n(e,o);else{o.focus();return}}},RA=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return Ne({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},_A,l)},TA=J("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${yg.scrollButtons}`]:t.scrollButtons},{[`& .${yg.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})($e(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${yg.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),PA=J("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),kA=J("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),$A=J("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})($e(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),EA=J(yA)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),lx={},MA=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTabs"}),o=zt(),i=Es(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:d,component:f="div",allowScrollButtonsMobile:p=!1,indicatorColor:h="primary",onChange:y,orientation:C="horizontal",ScrollButtonComponent:v=CA,scrollButtons:S="auto",selectionFollowsFocus:m,slots:w={},slotProps:_={},TabIndicatorProps:R={},TabScrollButtonProps:k={},textColor:T="primary",value:P,variant:x="standard",visibleScrollbar:$=!1,...I}=r,O=x==="scrollable",D=C==="vertical",M=D?"scrollTop":"scrollLeft",A=D?"top":"left",N=D?"bottom":"right",E=D?"clientHeight":"clientWidth",L=D?"height":"width",B={...r,component:f,allowScrollButtonsMobile:p,indicatorColor:h,orientation:C,vertical:D,scrollButtons:S,textColor:T,variant:x,visibleScrollbar:$,fixed:!O,hideScrollbar:O&&!$,scrollableX:O&&!D,scrollableY:O&&D,centered:c&&!O,scrollButtonsHideMobile:!p},H=RA(B),z=na({elementType:w.StartScrollButtonIcon,externalSlotProps:_.startScrollButtonIcon,ownerState:B}),j=na({elementType:w.EndScrollButtonIcon,externalSlotProps:_.endScrollButtonIcon,ownerState:B}),[F,W]=b.useState(!1),[V,ee]=b.useState(lx),[re,U]=b.useState(!1),[K,se]=b.useState(!1),[q,ce]=b.useState(!1),[ue,ie]=b.useState({overflow:"hidden",scrollbarWidth:0}),te=new Map,de=b.useRef(null),Q=b.useRef(null),be=()=>{const oe=de.current;let me;if(oe){const Ve=oe.getBoundingClientRect();me={clientWidth:oe.clientWidth,scrollLeft:oe.scrollLeft,scrollTop:oe.scrollTop,scrollWidth:oe.scrollWidth,top:Ve.top,bottom:Ve.bottom,left:Ve.left,right:Ve.right}}let je;if(oe&&P!==!1){const Ve=Q.current.children;if(Ve.length>0){const Ye=Ve[te.get(P)];je=Ye?Ye.getBoundingClientRect():null}}return{tabsMeta:me,tabMeta:je}},Te=bn(()=>{const{tabsMeta:oe,tabMeta:me}=be();let je=0,Ve;D?(Ve="top",me&&oe&&(je=me.top-oe.top+oe.scrollTop)):(Ve=i?"right":"left",me&&oe&&(je=(i?-1:1)*(me[Ve]-oe[Ve]+oe.scrollLeft)));const Ye={[Ve]:je,[L]:me?me[L]:0};if(typeof V[Ve]!="number"||typeof V[L]!="number")ee(Ye);else{const Tt=Math.abs(V[Ve]-Ye[Ve]),Zt=Math.abs(V[L]-Ye[L]);(Tt>=1||Zt>=1)&&ee(Ye)}}),we=(oe,{animation:me=!0}={})=>{me?mA(M,de.current,oe,{duration:o.transitions.duration.standard}):de.current[M]=oe},ge=oe=>{let me=de.current[M];D?me+=oe:me+=oe*(i?-1:1),we(me)},le=()=>{const oe=de.current[E];let me=0;const je=Array.from(Q.current.children);for(let Ve=0;Veoe){Ve===0&&(me=oe);break}me+=Ye[E]}return me},Se=()=>{ge(-1*le())},ye=()=>{ge(le())},Ge=b.useCallback(oe=>{ie({overflow:null,scrollbarWidth:oe})},[]),Pe=()=>{const oe={};oe.scrollbarSizeListener=O?g.jsx(EA,{onChange:Ge,className:ve(H.scrollableX,H.hideScrollbar)}):null;const je=O&&(S==="auto"&&(re||K)||S===!0);return oe.scrollButtonStart=je?g.jsx(v,{slots:{StartScrollButtonIcon:w.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:z},orientation:C,direction:i?"right":"left",onClick:Se,disabled:!re,...k,className:ve(H.scrollButtons,k.className)}):null,oe.scrollButtonEnd=je?g.jsx(v,{slots:{EndScrollButtonIcon:w.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:j},orientation:C,direction:i?"left":"right",onClick:ye,disabled:!K,...k,className:ve(H.scrollButtons,k.className)}):null,oe},Re=bn(oe=>{const{tabsMeta:me,tabMeta:je}=be();if(!(!je||!me)){if(je[A]me[N]){const Ve=me[M]+(je[N]-me[N]);we(Ve,{animation:oe})}}}),ke=bn(()=>{O&&S!==!1&&ce(!q)});b.useEffect(()=>{const oe=cp(()=>{de.current&&Te()});let me;const je=Tt=>{Tt.forEach(Zt=>{Zt.removedNodes.forEach(Mn=>{me==null||me.unobserve(Mn)}),Zt.addedNodes.forEach(Mn=>{me==null||me.observe(Mn)})}),oe(),ke()},Ve=Br(de.current);Ve.addEventListener("resize",oe);let Ye;return typeof ResizeObserver<"u"&&(me=new ResizeObserver(oe),Array.from(Q.current.children).forEach(Tt=>{me.observe(Tt)})),typeof MutationObserver<"u"&&(Ye=new MutationObserver(je),Ye.observe(Q.current,{childList:!0})),()=>{oe.clear(),Ve.removeEventListener("resize",oe),Ye==null||Ye.disconnect(),me==null||me.disconnect()}},[Te,ke]),b.useEffect(()=>{const oe=Array.from(Q.current.children),me=oe.length;if(typeof IntersectionObserver<"u"&&me>0&&O&&S!==!1){const je=oe[0],Ve=oe[me-1],Ye={root:de.current,threshold:.99},Tt=Vn=>{U(!Vn[0].isIntersecting)},Zt=new IntersectionObserver(Tt,Ye);Zt.observe(je);const Mn=Vn=>{se(!Vn[0].isIntersecting)},ir=new IntersectionObserver(Mn,Ye);return ir.observe(Ve),()=>{Zt.disconnect(),ir.disconnect()}}},[O,S,q,u==null?void 0:u.length]),b.useEffect(()=>{W(!0)},[]),b.useEffect(()=>{Te()}),b.useEffect(()=>{Re(lx!==V)},[Re,V]),b.useImperativeHandle(l,()=>({updateIndicator:Te,updateScrollButtons:ke}),[Te,ke]);const pe=g.jsx($A,{...R,className:ve(H.indicator,R.className),ownerState:B,style:{...V,...R.style}});let ne=0;const xe=b.Children.map(u,oe=>{if(!b.isValidElement(oe))return null;const me=oe.props.value===void 0?ne:oe.props.value;te.set(me,ne);const je=me===P;return ne+=1,b.cloneElement(oe,{fullWidth:x==="fullWidth",indicator:je&&!F&&pe,selected:je,selectionFollowsFocus:m,onChange:y,textColor:T,value:me,...ne===1&&P===!1&&!oe.props.tabIndex?{tabIndex:0}:{}})}),Le=oe=>{const me=Q.current,je=ln(me).activeElement;if(je.getAttribute("role")!=="tab")return;let Ye=C==="horizontal"?"ArrowLeft":"ArrowUp",Tt=C==="horizontal"?"ArrowRight":"ArrowDown";switch(C==="horizontal"&&i&&(Ye="ArrowRight",Tt="ArrowLeft"),oe.key){case Ye:oe.preventDefault(),mu(me,je,sx);break;case Tt:oe.preventDefault(),mu(me,je,ax);break;case"Home":oe.preventDefault(),mu(me,null,ax);break;case"End":oe.preventDefault(),mu(me,null,sx);break}},fe=Pe();return g.jsxs(TA,{className:ve(H.root,d),ownerState:B,ref:n,as:f,...I,children:[fe.scrollButtonStart,fe.scrollbarSizeListener,g.jsxs(PA,{className:H.scroller,ownerState:B,style:{overflow:ue.overflow,[D?`margin${i?"Left":"Right"}`:"marginBottom"]:$?void 0:-ue.scrollbarWidth},ref:de,children:[g.jsx(kA,{"aria-label":a,"aria-labelledby":s,"aria-orientation":C==="vertical"?"vertical":null,className:H.flexContainer,ownerState:B,onKeyDown:Le,ref:Q,role:"tablist",children:xe}),F&&pe]}),fe.scrollButtonEnd]})});function IA(e){return Oe("MuiTextField",e)}Ee("MuiTextField",["root"]);const OA={standard:Gd,filled:Ud,outlined:qd},LA=e=>{const{classes:t}=e;return Ne({root:["root"]},IA,t)},AA=J(kO,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),NA=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:u=!1,error:d=!1,FormHelperTextProps:f,fullWidth:p=!1,helperText:h,id:y,InputLabelProps:C,inputProps:v,InputProps:S,inputRef:m,label:w,maxRows:_,minRows:R,multiline:k=!1,name:T,onBlur:P,onChange:x,onFocus:$,placeholder:I,required:O=!1,rows:D,select:M=!1,SelectProps:A,slots:N={},slotProps:E={},type:L,value:B,variant:H="outlined",...z}=r,j={...r,autoFocus:i,color:l,disabled:u,error:d,fullWidth:p,multiline:k,required:O,select:M,variant:H},F=LA(j),W=ds(y),V=h&&W?`${W}-helper-text`:void 0,ee=w&&W?`${W}-label`:void 0,re=OA[H],U={slots:N,slotProps:{input:S,inputLabel:C,htmlInput:v,formHelperText:f,select:A,...E}},K={},se=U.slotProps.inputLabel;H==="outlined"&&(se&&typeof se.shrink<"u"&&(K.notched=se.shrink),K.label=w),M&&((!A||!A.native)&&(K.id=void 0),K["aria-describedby"]=void 0);const[q,ce]=an("input",{elementType:re,externalForwardedProps:U,additionalProps:K,ownerState:j}),[ue,ie]=an("inputLabel",{elementType:ZO,externalForwardedProps:U,ownerState:j}),[te,de]=an("htmlInput",{elementType:"input",externalForwardedProps:U,ownerState:j}),[Q,be]=an("formHelperText",{elementType:NO,externalForwardedProps:U,ownerState:j}),[Te,we]=an("select",{elementType:vp,externalForwardedProps:U,ownerState:j}),ge=g.jsx(q,{"aria-describedby":V,autoComplete:o,autoFocus:i,defaultValue:c,fullWidth:p,multiline:k,name:T,rows:D,maxRows:_,minRows:R,type:L,value:B,id:W,inputRef:m,onBlur:P,onChange:x,onFocus:$,placeholder:I,inputProps:de,slots:{input:N.htmlInput?te:void 0},...ce});return g.jsxs(AA,{className:ve(F.root,s),disabled:u,error:d,fullWidth:p,ref:n,required:O,color:l,variant:H,ownerState:j,...z,children:[w!=null&&w!==""&&g.jsx(ue,{htmlFor:W,id:ee,...ie,children:w}),M?g.jsx(Te,{"aria-describedby":V,id:W,labelId:ee,value:B,input:ge,...we,children:a}):ge,h&&g.jsx(Q,{id:V,...be,children:h})]})});var DA={exports:{}};/* @license +Papa Parse +v5.4.1 +https://github.com/mholt/PapaParse +License: MIT +*/(function(e,t){(function(n,r){e.exports=r()})(jl,function n(){var r=typeof self<"u"?self:typeof window<"u"?window:r!==void 0?r:{},o=!r.document&&!!r.postMessage,i=r.IS_PAPA_WORKER||!1,a={},s=0,l={parse:function(T,P){var x=(P=P||{}).dynamicTyping||!1;if(k(x)&&(P.dynamicTypingFunction=x,x={}),P.dynamicTyping=x,P.transform=!!k(P.transform)&&P.transform,P.worker&&l.WORKERS_SUPPORTED){var $=function(){if(!l.WORKERS_SUPPORTED)return!1;var O=(M=r.URL||r.webkitURL||null,A=n.toString(),l.BLOB_URL||(l.BLOB_URL=M.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",A,")();"],{type:"text/javascript"})))),D=new r.Worker(O),M,A;return D.onmessage=S,D.id=s++,a[D.id]=D}();return $.userStep=P.step,$.userChunk=P.chunk,$.userComplete=P.complete,$.userError=P.error,P.step=k(P.step),P.chunk=k(P.chunk),P.complete=k(P.complete),P.error=k(P.error),delete P.worker,void $.postMessage({input:T,config:P,workerId:$.id})}var I=null;return l.NODE_STREAM_INPUT,typeof T=="string"?(T=function(O){return O.charCodeAt(0)===65279?O.slice(1):O}(T),I=P.download?new d(P):new p(P)):T.readable===!0&&k(T.read)&&k(T.on)?I=new h(P):(r.File&&T instanceof File||T instanceof Object)&&(I=new f(P)),I.stream(T)},unparse:function(T,P){var x=!1,$=!0,I=",",O=`\r +`,D='"',M=D+D,A=!1,N=null,E=!1;(function(){if(typeof P=="object"){if(typeof P.delimiter!="string"||l.BAD_DELIMITERS.filter(function(z){return P.delimiter.indexOf(z)!==-1}).length||(I=P.delimiter),(typeof P.quotes=="boolean"||typeof P.quotes=="function"||Array.isArray(P.quotes))&&(x=P.quotes),typeof P.skipEmptyLines!="boolean"&&typeof P.skipEmptyLines!="string"||(A=P.skipEmptyLines),typeof P.newline=="string"&&(O=P.newline),typeof P.quoteChar=="string"&&(D=P.quoteChar),typeof P.header=="boolean"&&($=P.header),Array.isArray(P.columns)){if(P.columns.length===0)throw new Error("Option columns is empty");N=P.columns}P.escapeChar!==void 0&&(M=P.escapeChar+D),(typeof P.escapeFormulae=="boolean"||P.escapeFormulae instanceof RegExp)&&(E=P.escapeFormulae instanceof RegExp?P.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var L=new RegExp(C(D),"g");if(typeof T=="string"&&(T=JSON.parse(T)),Array.isArray(T)){if(!T.length||Array.isArray(T[0]))return B(null,T,A);if(typeof T[0]=="object")return B(N||Object.keys(T[0]),T,A)}else if(typeof T=="object")return typeof T.data=="string"&&(T.data=JSON.parse(T.data)),Array.isArray(T.data)&&(T.fields||(T.fields=T.meta&&T.meta.fields||N),T.fields||(T.fields=Array.isArray(T.data[0])?T.fields:typeof T.data[0]=="object"?Object.keys(T.data[0]):[]),Array.isArray(T.data[0])||typeof T.data[0]=="object"||(T.data=[T.data])),B(T.fields||[],T.data||[],A);throw new Error("Unable to serialize unrecognized input");function B(z,j,F){var W="";typeof z=="string"&&(z=JSON.parse(z)),typeof j=="string"&&(j=JSON.parse(j));var V=Array.isArray(z)&&0=this._config.preview;if(i)r.postMessage({results:O,workerId:l.WORKER_ID,finished:M});else if(k(this._config.chunk)&&!x){if(this._config.chunk(O,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);O=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(O.data),this._completeResults.errors=this._completeResults.errors.concat(O.errors),this._completeResults.meta=O.meta),this._completed||!M||!k(this._config.complete)||O&&O.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),M||O&&O.meta.paused||this._nextChunk(),O}this._halted=!0},this._sendError=function(P){k(this._config.error)?this._config.error(P):i&&this._config.error&&r.postMessage({workerId:l.WORKER_ID,error:P,finished:!1})}}function d(T){var P;(T=T||{}).chunkSize||(T.chunkSize=l.RemoteChunkSize),u.call(this,T),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(x){this._input=x,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(P=new XMLHttpRequest,this._config.withCredentials&&(P.withCredentials=this._config.withCredentials),o||(P.onload=R(this._chunkLoaded,this),P.onerror=R(this._chunkError,this)),P.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var x=this._config.downloadRequestHeaders;for(var $ in x)P.setRequestHeader($,x[$])}if(this._config.chunkSize){var I=this._start+this._config.chunkSize-1;P.setRequestHeader("Range","bytes="+this._start+"-"+I)}try{P.send(this._config.downloadRequestBody)}catch(O){this._chunkError(O.message)}o&&P.status===0&&this._chunkError()}},this._chunkLoaded=function(){P.readyState===4&&(P.status<200||400<=P.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:P.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(x){var $=x.getResponseHeader("Content-Range");return $===null?-1:parseInt($.substring($.lastIndexOf("/")+1))}(P),this.parseChunk(P.responseText)))},this._chunkError=function(x){var $=P.statusText||x;this._sendError(new Error($))}}function f(T){var P,x;(T=T||{}).chunkSize||(T.chunkSize=l.LocalChunkSize),u.call(this,T);var $=typeof FileReader<"u";this.stream=function(I){this._input=I,x=I.slice||I.webkitSlice||I.mozSlice,$?((P=new FileReader).onload=R(this._chunkLoaded,this),P.onerror=R(this._chunkError,this)):P=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(I.target.result)},this._chunkError=function(){this._sendError(P.error)}}function p(T){var P;u.call(this,T=T||{}),this.stream=function(x){return P=x,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var x,$=this._config.chunkSize;return $?(x=P.substring(0,$),P=P.substring($)):(x=P,P=""),this._finished=!P,this.parseChunk(x)}}}function h(T){u.call(this,T=T||{});var P=[],x=!0,$=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(I){this._input=I,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){$&&P.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),P.length?this.parseChunk(P.shift()):x=!0},this._streamData=R(function(I){try{P.push(typeof I=="string"?I:I.toString(this._config.encoding)),x&&(x=!1,this._checkIsFinished(),this.parseChunk(P.shift()))}catch(O){this._streamError(O)}},this),this._streamError=R(function(I){this._streamCleanUp(),this._sendError(I)},this),this._streamEnd=R(function(){this._streamCleanUp(),$=!0,this._streamData("")},this),this._streamCleanUp=R(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function y(T){var P,x,$,I=Math.pow(2,53),O=-I,D=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,M=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,A=this,N=0,E=0,L=!1,B=!1,H=[],z={data:[],errors:[],meta:{}};if(k(T.step)){var j=T.step;T.step=function(U){if(z=U,V())W();else{if(W(),z.data.length===0)return;N+=U.data.length,T.preview&&N>T.preview?x.abort():(z.data=z.data[0],j(z,A))}}}function F(U){return T.skipEmptyLines==="greedy"?U.join("").trim()==="":U.length===1&&U[0].length===0}function W(){return z&&$&&(re("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),$=!1),T.skipEmptyLines&&(z.data=z.data.filter(function(U){return!F(U)})),V()&&function(){if(!z)return;function U(se,q){k(T.transformHeader)&&(se=T.transformHeader(se,q)),H.push(se)}if(Array.isArray(z.data[0])){for(var K=0;V()&&K=H.length?"__parsed_extra":H[ce]),T.transform&&(te=T.transform(te,ie)),te=ee(ie,te),ie==="__parsed_extra"?(ue[ie]=ue[ie]||[],ue[ie].push(te)):ue[ie]=te}return T.header&&(ce>H.length?re("FieldMismatch","TooManyFields","Too many fields: expected "+H.length+" fields but parsed "+ce,E+q):ce=Q.length/2?`\r +`:"\r"}(U,q)),$=!1,T.delimiter)k(T.delimiter)&&(T.delimiter=T.delimiter(U),z.meta.delimiter=T.delimiter);else{var ce=function(ie,te,de,Q,be){var Te,we,ge,le;be=be||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var Se=0;Se=D)return xe(!0)}else for(ye=N,N++;;){if((ye=L.indexOf(P,ye+1))===-1)return H||re.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:ee.length,index:N}),pe();if(ye===z-1)return pe(L.substring(N,ye).replace(Se,P));if(P!==A||L[ye+1]!==A){if(P===A||ye===0||L[ye-1]!==A){ge!==-1&&ge=D)return xe(!0);break}re.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:ee.length,index:N}),ye++}}else ye++}return pe();function Re(fe){ee.push(fe),K=N}function ke(fe){var oe=0;if(fe!==-1){var me=L.substring(ye+1,fe);me&&me.trim()===""&&(oe=me.length)}return oe}function pe(fe){return H||(fe===void 0&&(fe=L.substring(N)),U.push(fe),N=z,Re(U),V&&Le()),xe()}function ne(fe){N=fe,Re(U),U=[],le=L.indexOf($,N)}function xe(fe){return{data:ee,errors:re,meta:{delimiter:x,linebreak:$,aborted:E,truncated:!!fe,cursor:K+(B||0)}}}function Le(){O(xe()),ee=[],re=[]}},this.abort=function(){E=!0},this.getCharIndex=function(){return N}}function S(T){var P=T.data,x=a[P.workerId],$=!1;if(P.error)x.userError(P.error,P.file);else if(P.results&&P.results.data){var I={abort:function(){$=!0,m(P.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:w,resume:w};if(k(x.userStep)){for(var O=0;O{const{size:t,width:n=16,height:r=16,sx:o,...i}=e;return g.jsx(ra,{sx:{fill:"none",width:t||n,height:t||r,...o},viewBox:"0 0 16 16",...i,children:e.children},void 0)},jA=e=>{const{sx:t,...n}=e;return g.jsx(ra,{sx:{fill:"none",width:24,height:24,...t},viewBox:"0 0 24 24",...n,children:e.children},void 0)},B_=e=>{const{sx:t,...n}=e;return g.jsx(ra,{sx:{fill:"none",width:14,height:14,...t},viewBox:"0 0 14 14",...n,children:e.children},void 0)},FA=e=>g.jsx(jA,{...e,children:g.jsx("path",{d:"M18.861 16.1166C17.4619 18.4433 14.9127 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12H22C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C15.6409 22 18.8274 20.0542 20.5762 17.1457L18.861 16.1166Z",fill:"#1D2939"},void 0)},void 0),BA=e=>g.jsx(B_,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.08871 1.5C3.55444 1.5 1.5 3.55444 1.5 6.08871C1.5 8.62298 3.55444 10.6774 6.08871 10.6774C7.17572 10.6774 8.17445 10.2995 8.96065 9.66778L11.75 12.4571L12.4571 11.75L9.66776 8.96067C10.2994 8.17447 10.6774 7.17573 10.6774 6.08871C10.6774 3.55444 8.62298 1.5 6.08871 1.5ZM2.5 6.08871C2.5 4.10672 4.10672 2.5 6.08871 2.5C8.0707 2.5 9.67742 4.10672 9.67742 6.08871C9.67742 8.0707 8.0707 9.67742 6.08871 9.67742C4.10672 9.67742 2.5 8.0707 2.5 6.08871Z",fill:"#1D2939"},void 0)},void 0),zA=e=>g.jsx(B_,{...e,children:g.jsx("path",{d:"M6.99999 7.91921L3.45958 11.4596L2.54034 10.5404L6.08075 6.99997L2.54039 3.45961L3.45963 2.54037L6.99999 6.08073L10.5403 2.54037L11.4596 3.45961L7.91923 6.99997L11.4596 10.5404L10.5404 11.4596L6.99999 7.91921Z",fill:"#1D2939"},void 0)},void 0),I1=e=>g.jsx(Cn,{...e,children:g.jsx("path",{d:"M4.40029 3.55174C4.16598 3.31743 3.78608 3.31743 3.55177 3.55174C3.31745 3.78606 3.31745 4.16596 3.55177 4.40027L7.15147 7.99998L3.55178 11.5997C3.31746 11.834 3.31746 12.2139 3.55178 12.4482C3.78609 12.6825 4.16599 12.6825 4.40031 12.4482L8 8.84851L11.5997 12.4482C11.834 12.6825 12.2139 12.6825 12.4482 12.4482C12.6825 12.2139 12.6825 11.834 12.4482 11.5997L8.84853 7.99998L12.4482 4.40027C12.6826 4.16596 12.6826 3.78606 12.4482 3.55174C12.2139 3.31743 11.834 3.31743 11.5997 3.55174L8 7.15145L4.40029 3.55174Z",fill:"currentColor"},void 0)},void 0),HA=e=>g.jsxs(Cn,{...e,children:[g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.04214 5.95918C6.65053 5.95918 5.52241 7.0873 5.52241 8.47891C5.52241 9.87051 6.65053 10.9986 8.04214 10.9986C9.43374 10.9986 10.5619 9.87051 10.5619 8.47891C10.5619 7.0873 9.43374 5.95918 8.04214 5.95918ZM6.52241 8.47891C6.52241 7.63958 7.20281 6.95918 8.04214 6.95918C8.88146 6.95918 9.56187 7.63958 9.56187 8.47891C9.56187 9.31823 8.88146 9.99864 8.04214 9.99864C7.20281 9.99864 6.52241 9.31823 6.52241 8.47891Z",fill:"currentColor"},void 0),g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.9094 8.18455C14.9095 8.1847 14.9096 8.18483 14.5053 8.47891C14.9096 8.77299 14.9095 8.77312 14.9094 8.77327L14.9084 8.77465L14.9062 8.77775L14.8984 8.78819L14.8705 8.82542C14.8464 8.85725 14.8114 8.90281 14.766 8.96015C14.6753 9.07477 14.543 9.23673 14.3733 9.43024C14.0346 9.8166 13.544 10.3323 12.9362 10.8492C11.7356 11.8704 10.0053 12.9578 8.04214 12.9578C6.07894 12.9578 4.34871 11.8704 3.14808 10.8492C2.54026 10.3323 2.04969 9.8166 1.71095 9.43024C1.54128 9.23673 1.40893 9.07477 1.31822 8.96015C1.27285 8.90281 1.23784 8.85725 1.21374 8.82542L1.18582 8.78819L1.17811 8.77775L1.17584 8.77465L1.1751 8.77363C1.17499 8.77349 1.17463 8.77299 1.579 8.47891C1.17463 8.18483 1.17472 8.1847 1.17483 8.18455L1.17584 8.18318L1.17811 8.18007L1.18582 8.16963L1.21374 8.1324C1.23784 8.10057 1.27285 8.05501 1.31822 7.99767C1.40893 7.88305 1.54128 7.72109 1.71095 7.52758C2.04969 7.14122 2.54026 6.62552 3.14808 6.10858C4.34871 5.08746 6.07894 4 8.04214 4C10.0053 4 11.7356 5.08746 12.9362 6.10858C13.544 6.62552 14.0346 7.14122 14.3733 7.52758C14.543 7.72109 14.6753 7.88305 14.766 7.99767C14.8114 8.05501 14.8464 8.10057 14.8705 8.1324L14.8984 8.16963L14.9062 8.18007L14.9084 8.18318L14.9094 8.18455ZM2.46287 8.77099C2.36639 8.66095 2.28336 8.56242 2.21478 8.47891C2.28336 8.3954 2.36639 8.29687 2.46287 8.18683C2.77823 7.82714 3.23416 7.34812 3.79594 6.87033C4.93451 5.902 6.43584 5 8.04214 5C9.64843 5 11.1498 5.902 12.2883 6.87033C12.8501 7.34812 13.306 7.82714 13.6214 8.18683C13.7179 8.29687 13.8009 8.3954 13.8695 8.47891C13.8009 8.56241 13.7179 8.66095 13.6214 8.77099C13.306 9.13068 12.8501 9.6097 12.2883 10.0875C11.1498 11.0558 9.64843 11.9578 8.04214 11.9578C6.43584 11.9578 4.93451 11.0558 3.79594 10.0875C3.23416 9.6097 2.77823 9.13068 2.46287 8.77099Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M14.5053 8.47891L14.9094 8.18455C15.0369 8.35988 15.0369 8.59794 14.9094 8.77327L14.5053 8.47891Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M1.17483 8.18455L1.579 8.47891L1.1751 8.77363C1.0476 8.59831 1.04733 8.35988 1.17483 8.18455Z",fill:"currentColor"},void 0)]},void 0),VA=e=>g.jsxs(Cn,{...e,children:[g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1106 3.65519C13.301 3.85517 13.2933 4.17165 13.0933 4.36209L9.97993 7.32691C9.96934 7.33914 9.95806 7.35097 9.94609 7.36234C9.93431 7.37355 9.92213 7.38406 9.90959 7.39389L3.64235 13.3621C3.44238 13.5525 3.12589 13.5448 2.93546 13.3448C2.74503 13.1448 2.75276 12.8283 2.95274 12.6379L4.06813 11.5757C3.24267 11.0059 2.55654 10.3585 2.06343 9.83657C1.78455 9.5414 1.56492 9.28373 1.41417 9.09871C1.33874 9.00614 1.28041 8.93157 1.24038 8.87939C1.22036 8.85329 1.2049 8.83278 1.19416 8.81838L1.1816 8.80145L1.178 8.79656L1.17688 8.79502C1.17682 8.79493 1.17621 8.79411 1.58059 8.50003C1.17621 8.20595 1.17631 8.20582 1.17642 8.20567L1.17742 8.20429L1.17969 8.2012L1.18738 8.19078L1.21522 8.15366C1.23926 8.12192 1.27416 8.07649 1.3194 8.01932C1.40984 7.90503 1.54179 7.74357 1.71095 7.55063C2.04868 7.16543 2.53777 6.65128 3.14377 6.13589C4.34075 5.11787 6.06595 4.03351 8.02359 4.03351C9.14779 4.03351 10.1926 4.39154 11.0977 4.88158L12.4037 3.63791C12.6037 3.44748 12.9201 3.45522 13.1106 3.65519ZM9.58316 6.32385L10.331 5.61171C9.60548 5.25934 8.82649 5.03351 8.02359 5.03351C6.42286 5.03351 4.92655 5.93241 3.79163 6.89765C3.23168 7.37388 2.77721 7.85136 2.46287 8.20989C2.36709 8.31913 2.2846 8.417 2.2164 8.50003C2.35319 8.66654 2.54714 8.89243 2.7903 9.14979C3.28839 9.67696 3.98395 10.3265 4.8096 10.8696L5.77368 9.95157C5.5034 9.53331 5.34632 9.03452 5.34632 8.50002C5.34632 7.02144 6.54494 5.82282 8.02352 5.82282C8.6053 5.82282 9.14412 6.00876 9.58316 6.32385ZM6.51881 9.24199C6.40832 9.01845 6.34632 8.76679 6.34632 8.50002C6.34632 7.57372 7.09723 6.82282 8.02352 6.82282C8.31925 6.82282 8.59685 6.89911 8.83805 7.03341L6.51881 9.24199Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M1.58059 8.50003L1.17621 8.79411C1.04871 8.61878 1.04891 8.38099 1.17642 8.20567L1.58059 8.50003Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M12.1782 6.17688C12.3566 5.96615 12.6721 5.93998 12.8828 6.11843C13.495 6.63678 13.9892 7.15531 14.3305 7.54409C14.5015 7.73883 14.6348 7.90192 14.7262 8.01738C14.772 8.07514 14.8073 8.12105 14.8315 8.15312L14.8597 8.19063L14.8675 8.20116L14.8698 8.20428L14.8705 8.2053C14.8705 8.20536 14.871 8.20595 14.4666 8.50003C14.871 8.79411 14.8709 8.79424 14.8708 8.79438L14.8698 8.79576L14.8675 8.79885L14.8598 8.80927L14.832 8.84639C14.8079 8.87813 14.773 8.92356 14.7278 8.98073C14.6373 9.09502 14.5054 9.25649 14.3362 9.44942C13.9985 9.83462 13.5094 10.3488 12.9034 10.8642C11.7064 11.8822 9.98123 12.9665 8.02359 12.9665C7.44356 12.9665 6.8846 12.8711 6.35578 12.7118C6.09137 12.6322 5.9416 12.3533 6.02125 12.0889C6.1009 11.8245 6.37981 11.6747 6.64422 11.7543C7.09234 11.8893 7.55384 11.9665 8.02359 11.9665C9.62432 11.9665 11.1206 11.0676 12.2555 10.1024C12.8155 9.62617 13.27 9.14869 13.5843 8.79017C13.6801 8.68092 13.7626 8.58305 13.8308 8.50002C13.7613 8.41547 13.677 8.31551 13.579 8.20382C13.2613 7.84189 12.8021 7.36041 12.2366 6.88157C12.0259 6.70311 11.9997 6.38761 12.1782 6.17688Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M14.4666 8.50003L14.8705 8.2053C14.998 8.38062 14.9983 8.61906 14.8708 8.79438L14.4666 8.50003Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M10.7007 8.50002C10.7007 8.22388 10.4769 8.00002 10.2007 8.00002C9.92458 8.00002 9.70072 8.22388 9.70072 8.50002C9.70072 9.42631 8.94981 10.1772 8.02352 10.1772C7.74738 10.1772 7.52352 10.4011 7.52352 10.6772C7.52352 10.9534 7.74738 11.1772 8.02352 11.1772C9.5021 11.1772 10.7007 9.9786 10.7007 8.50002Z",fill:"currentColor"},void 0)]},void 0),Cm=e=>g.jsxs(Cn,{...e,children:[g.jsx("path",{d:"M9.60001 2.10001C9.32387 2.10001 9.10001 2.32386 9.10001 2.60001C9.10001 2.87615 9.32387 3.10001 9.60001 3.10001L12.5722 3.10001L8.23955 7.60704C8.04818 7.80612 8.05442 8.12264 8.25349 8.31401C8.45257 8.50538 8.76909 8.49914 8.96046 8.30007L13.2465 3.8416V6.45354C13.2465 6.72968 13.4703 6.95354 13.7465 6.95354C14.0226 6.95354 14.2465 6.72968 14.2465 6.45354V2.60001C14.2465 2.32387 14.0226 2.10001 13.7465 2.10001H9.60001Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M3.60001 14.5L11.6 14.5C12.4284 14.5 13.1 13.8284 13.1 13V8.95355C13.1 8.67741 12.8761 8.45355 12.6 8.45355C12.3239 8.45355 12.1 8.67741 12.1 8.95355V13C12.1 13.2761 11.8761 13.5 11.6 13.5L3.60001 13.5C3.32386 13.5 3.10001 13.2761 3.10001 13L3.10001 4.45355C3.10001 4.17741 3.32386 3.95355 3.60001 3.95355L7.10001 3.95355C7.37615 3.95355 7.60001 3.7297 7.60001 3.45355C7.60001 3.17741 7.37615 2.95355 7.10001 2.95355L3.60001 2.95355C2.77158 2.95355 2.10001 3.62513 2.10001 4.45355V13C2.10001 13.8284 2.77158 14.5 3.60001 14.5Z",fill:"currentColor"},void 0)]},void 0),WA=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.9348 2.51687C11.2017 2.75702 11.2233 3.16801 10.9831 3.43484L6.87449 8.00001L10.9831 12.5652C11.2233 12.832 11.2017 13.243 10.9348 13.4832C10.668 13.7233 10.257 13.7017 10.0169 13.4348L5.51686 8.43484C5.29439 8.18764 5.29439 7.81238 5.51686 7.56518L10.0169 2.56518C10.257 2.29835 10.668 2.27672 10.9348 2.51687Z",fill:"currentColor"},void 0)},void 0),UA=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.56518 2.51687C5.29835 2.75702 5.27672 3.16801 5.51687 3.43484L9.62553 8.00001L5.51687 12.5652C5.27672 12.832 5.29835 13.243 5.56518 13.4832C5.83202 13.7233 6.243 13.7017 6.48315 13.4348L10.9832 8.43484C11.2056 8.18764 11.2056 7.81238 10.9832 7.56518L6.48315 2.56518C6.243 2.29835 5.83202 2.27672 5.56518 2.51687Z",fill:"currentColor"},void 0)},void 0),GA=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.58839 5.49693C7.82783 5.30103 8.17216 5.30103 8.4116 5.49693L13.9116 9.99693C14.1894 10.2243 14.2304 10.6338 14.0031 10.9116C13.7757 11.1894 13.3662 11.2304 13.0884 11.0031L8 6.83985L2.9116 11.0031C2.63376 11.2304 2.22425 11.1894 1.99692 10.9116C1.7696 10.6338 1.81055 10.2243 2.08839 9.99693L7.58839 5.49693Z",fill:"currentColor"},void 0)},void 0),ia=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.58839 11.0031C7.82783 11.199 8.17216 11.199 8.4116 11.0031L13.9116 6.50307C14.1894 6.27574 14.2304 5.86623 14.0031 5.58839C13.7757 5.31055 13.3662 5.2696 13.0884 5.49692L8 9.66016L2.9116 5.49692C2.63376 5.2696 2.22425 5.31055 1.99692 5.58839C1.7696 5.86623 1.81055 6.27574 2.08839 6.50307L7.58839 11.0031Z",fill:"currentColor"},void 0)},void 0),qA=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3758 3.37871C13.5718 3.18427 13.5732 2.86769 13.3787 2.67161C13.1843 2.47553 12.8677 2.47421 12.6716 2.66865L7.21656 8.07829C5.97323 6.96347 4.06051 7.00362 2.8654 8.19873C1.62874 9.43539 1.62874 11.4404 2.8654 12.6771C4.10206 13.9137 6.10708 13.9137 7.34374 12.6771C8.37873 11.6421 8.54751 10.0689 7.85009 8.85838L9.64093 7.08244L11.3233 8.76477C11.5185 8.96003 11.8351 8.96003 12.0304 8.76477C12.2256 8.56951 12.2256 8.25292 12.0304 8.05766L10.351 6.37829L11.3316 5.40586L13.0068 7.08109C13.2021 7.27636 13.5187 7.27636 13.7139 7.08109C13.9092 6.88583 13.9092 6.56925 13.7139 6.37399L12.0417 4.70171L13.3758 3.37871ZM3.5725 8.90584C4.41864 8.0597 5.7905 8.0597 6.63663 8.90584C7.48277 9.75197 7.48277 11.1238 6.63663 11.97C5.7905 12.8161 4.41864 12.8161 3.5725 11.97C2.72637 11.1238 2.72637 9.75197 3.5725 8.90584Z",fill:"currentColor"},void 0)},void 0),KA=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 3.69999C5.62518 3.69999 3.7 5.62516 3.7 7.99999C3.7 10.3748 5.62518 12.3 8 12.3C9.20303 12.3 10.2896 11.8069 11.0709 11.01C11.3415 10.7339 11.7847 10.7295 12.0608 11.0001C12.3368 11.2708 12.3412 11.7139 12.0706 11.99C11.0369 13.0445 9.59437 13.7 8 13.7C4.85198 13.7 2.3 11.148 2.3 7.99999C2.3 4.85196 4.85198 2.29999 8 2.29999C11.148 2.29999 13.7 4.85196 13.7 7.99999C13.7 8.38659 13.3866 8.69999 13 8.69999C12.6134 8.69999 12.3 8.38659 12.3 7.99999C12.3 5.62516 10.3748 3.69999 8 3.69999Z",fill:"currentColor"},void 0)},void 0),ZA=e=>g.jsxs(Cn,{...e,children:[g.jsx("path",{d:"M8 7.35C8.35898 7.35 8.65 7.64102 8.65 8V10.5C8.65 10.859 8.35898 11.15 8 11.15C7.64102 11.15 7.35 10.859 7.35 10.5V8C7.35 7.64102 7.64102 7.35 8 7.35Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M8.65 5.5C8.65 5.14101 8.35898 4.85 8 4.85C7.64102 4.85 7.35 5.14102 7.35 5.5V5.6C7.35 5.95898 7.64102 6.25 8 6.25C8.35898 6.25 8.65 5.95898 8.65 5.6V5.5Z",fill:"currentColor"},void 0),g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8ZM8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5Z",fill:"currentColor"},void 0)]},void 0),_m=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM8 7.38747C8.33828 7.38747 8.6125 7.6617 8.6125 7.99997V10.5521C8.6125 10.8903 8.33828 11.1646 8 11.1646C7.66173 11.1646 7.3875 10.8903 7.3875 10.5521V7.99997C7.3875 7.6617 7.66173 7.38747 8 7.38747ZM8.6125 5.44789C8.6125 5.10962 8.33828 4.83539 8 4.83539C7.66173 4.83539 7.3875 5.10962 7.3875 5.44789V5.54997C7.3875 5.88825 7.66173 6.16247 8 6.16247C8.33828 6.16247 8.6125 5.88825 8.6125 5.54997V5.44789Z",fill:"currentColor"},void 0)},void 0),z_=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.14215 1.67713C8.64833 0.774291 7.35164 0.774289 6.85782 1.67713L1.16152 12.0915C0.686995 12.9591 1.31483 14.0181 2.30368 14.0181H13.6963C14.6851 14.0181 15.313 12.9591 14.8385 12.0915L9.14215 1.67713ZM8.00002 5.28887C8.3336 5.28887 8.60402 5.55929 8.60402 5.89287V8.40953C8.60402 8.74311 8.3336 9.01353 8.00002 9.01353C7.66644 9.01353 7.39602 8.74311 7.39602 8.40953V5.89287C7.39602 5.55929 7.66644 5.28887 8.00002 5.28887ZM8.60402 10.9262C8.60402 10.5926 8.3336 10.3222 8.00002 10.3222C7.66644 10.3222 7.39602 10.5926 7.39602 10.9262V11.0269C7.39602 11.3604 7.66644 11.6309 8.00002 11.6309C8.3336 11.6309 8.60402 11.3604 8.60402 11.0269V10.9262Z",fill:"currentColor"},void 0)},void 0),H_=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM5.52524 5.5252C5.76443 5.28601 6.15224 5.28601 6.39144 5.5252L8 7.13377L9.60857 5.5252C9.84776 5.28601 10.2356 5.28601 10.4748 5.5252C10.714 5.7644 10.714 6.15221 10.4748 6.39141L8.86621 7.99997L10.4748 9.60854C10.714 9.84773 10.714 10.2355 10.4748 10.4747C10.2356 10.7139 9.84776 10.7139 9.60857 10.4747L8 8.86618L6.39144 10.4747C6.15224 10.7139 5.76443 10.7139 5.52524 10.4747C5.28604 10.2355 5.28604 9.84773 5.52524 9.60854L7.1338 7.99997L5.52524 6.39141C5.28604 6.15221 5.28604 5.7644 5.52524 5.5252Z",fill:"currentColor"},void 0)},void 0),V_=e=>g.jsx(Cn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM10.9852 6.39141C11.2244 6.15221 11.2244 5.7644 10.9852 5.5252C10.746 5.28601 10.3582 5.28601 10.119 5.5252L6.97916 8.66502L5.88102 7.56687C5.64182 7.32767 5.25401 7.32767 5.01481 7.56687C4.77561 7.80607 4.77561 8.19388 5.01481 8.43308L6.54606 9.96433C6.78526 10.2035 7.17307 10.2035 7.41227 9.96433L10.9852 6.39141Z",fill:"currentColor"},void 0)},void 0),QA=e=>g.jsxs(Cn,{...e,children:[g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97302 2.34713C4.9413 2.02437 6.24717 1.83331 7.66667 1.83331C9.08617 1.83331 10.392 2.02437 11.3603 2.34713C11.8419 2.50764 12.2676 2.70978 12.5832 2.95853C12.8932 3.20284 13.1667 3.551 13.1667 3.99998V7.66667C13.1667 7.94281 12.9428 8.16667 12.6667 8.16667C12.3905 8.16667 12.1667 7.94281 12.1667 7.66667V5.31162C11.9268 5.44159 11.654 5.55495 11.3603 5.65283C10.392 5.97559 9.08617 6.16665 7.66667 6.16665C6.24717 6.16665 4.9413 5.97559 3.97302 5.65283C3.67939 5.55495 3.4065 5.44159 3.16667 5.31162V8C3.16667 8.16593 3.30186 8.46432 4.04786 8.73916C4.76055 9.00173 5.8604 9.16667 7.33334 9.16667C7.60948 9.16667 7.83334 9.39052 7.83334 9.66667C7.83334 9.94281 7.60948 10.1667 7.33334 10.1667C5.80628 10.1667 4.57279 9.99827 3.70215 9.6775C3.51458 9.6084 3.33399 9.52793 3.16667 9.43528V12C3.16667 12.0015 3.16776 12.0908 3.3783 12.2489C3.58092 12.401 3.9071 12.5595 4.35844 12.7016C5.25531 12.9838 6.53536 13.1667 8.00001 13.1667C8.27615 13.1667 8.50001 13.3905 8.50001 13.6667C8.50001 13.9428 8.27615 14.1667 8.00001 14.1667C6.46465 14.1667 5.07803 13.9764 4.05824 13.6554C3.55124 13.4959 3.10659 13.2953 2.77796 13.0486C2.45726 12.8079 2.16667 12.4587 2.16667 12V4C2.16667 3.55102 2.44011 3.20284 2.75011 2.95853C3.06574 2.70978 3.49149 2.50764 3.97302 2.34713ZM3.36908 3.74394C3.17306 3.89843 3.16667 3.98873 3.16667 3.99998C3.16667 4.01123 3.17306 4.10153 3.36908 4.25601C3.55947 4.40606 3.86596 4.56305 4.28925 4.70415C5.13061 4.9846 6.32474 5.16665 7.66667 5.16665C9.0086 5.16665 10.2027 4.9846 11.0441 4.70415C11.4674 4.56305 11.7739 4.40606 11.9643 4.25601C12.1603 4.10153 12.1667 4.01123 12.1667 3.99998C12.1667 3.98873 12.1603 3.89843 11.9643 3.74394C11.7739 3.5939 11.4674 3.43691 11.0441 3.29581C10.2027 3.01536 9.0086 2.83331 7.66667 2.83331C6.32474 2.83331 5.13061 3.01536 4.28925 3.29581C3.86596 3.43691 3.55947 3.5939 3.36908 3.74394Z",fill:"currentColor"},void 0),g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.8444 12.1373C13.0486 11.8068 13.1667 11.4169 13.1667 11C13.1667 9.80338 12.1966 8.83331 11 8.83331C9.80339 8.83331 8.83333 9.80338 8.83333 11C8.83333 12.1966 9.80339 13.1666 11 13.1666C11.4169 13.1666 11.8068 13.0486 12.1373 12.8444L13.3131 14.0202C13.5084 14.2155 13.825 14.2155 14.0202 14.0202C14.2155 13.8249 14.2155 13.5084 14.0202 13.3131L12.8444 12.1373ZM9.83333 11C9.83333 10.3557 10.3557 9.83331 11 9.83331C11.6443 9.83331 12.1667 10.3557 12.1667 11C12.1667 11.3223 12.0366 11.6133 11.825 11.8249C11.6133 12.0366 11.3223 12.1666 11 12.1666C10.3557 12.1666 9.83333 11.6443 9.83333 11Z",fill:"currentColor"},void 0)]},void 0),YA=e=>{const{severity:t="info"}=e;return{error:g.jsx(H_,{size:14},void 0),info:g.jsx(_m,{size:14},void 0),success:g.jsx(V_,{size:14},void 0),warning:g.jsx(z_,{size:14},void 0),regular:g.jsx(_m,{size:14},void 0),gradient:g.jsx(g.Fragment,{},void 0)}[t]||g.jsx(g.Fragment,{},void 0)},XA="_wrapper_f0zdf_1",JA={wrapper:XA},bp=e=>{const{title:t,sx:n={},PopperProps:r={},margin:o=12,...i}=e,a=zt();return g.jsx(o7,{PopperProps:{sx:{'&.MuiTooltip-popper[data-popper-placement*="top"]':{".MuiTooltip-tooltip":{marginBottom:`${o}px`}},'&.MuiTooltip-popper[data-popper-placement*="bottom"]':{".MuiTooltip-tooltip":{marginTop:`${o}px`}},'&.MuiTooltip-popper[data-popper-placement*="left"]':{".MuiTooltip-tooltip":{marginRight:`${o}px`}},'&.MuiTooltip-popper[data-popper-placement*="right"]':{".MuiTooltip-tooltip":{marginLeft:`${o}px`}},".MuiTooltip-tooltip":{borderRadius:"6px",boxShadow:" 0px 1px 10px 0px rgba(107, 121, 141, 0.30)",backgroundColor:"#fff",padding:"12px",color:a.black.black1,fontSize:12,lineHeight:"16px",fontWeight:400},"> * > .MuiTooltip-arrow":{color:"#fff"},...n},...r},title:t,arrow:!0,...i},void 0)},Mc=({tooltip:e,children:t,classes:n={root:""}})=>{const{title:r="",...o}=e||{};return e?g.jsx(bp,{title:r,...o,children:g.jsx("span",{className:Gt(JA.wrapper,n.root),children:t},void 0)},void 0):g.jsx(g.Fragment,{children:t},void 0)},eN="_zButton_2ljo4_3",tN="_disabled_2ljo4_16",nN="_xlarge_2ljo4_25",rN="_large_2ljo4_26",oN="_medium_2ljo4_27",iN="_small_2ljo4_58",aN="_tiny_2ljo4_74",sN="_contained_2ljo4_92",lN="_outlined_2ljo4_105",cN="_noShadow_2ljo4_111",uN="_danger_2ljo4_126",dN="_textBlue_2ljo4_135",fN="_noMargin_2ljo4_143",pN="_textBlack_2ljo4_159",gN="_textGhost_2ljo4_183",hN="_text_2ljo4_135",mN="_link_2ljo4_206",nn={zButton:eN,disabled:tN,xlarge:nN,large:rN,medium:oN,small:iN,tiny:aN,contained:sN,outlined:lN,noShadow:cN,danger:uN,textBlue:dN,noMargin:fN,textBlack:pN,textGhost:gN,text:hN,link:mN},O1=e=>{const{danger:t=!1,sx:n,loading:r,disabled:o=!1,activeIconStyle:i,tooltip:a,children:s,isLinkButton:l=!1,size:c="medium",variant:u="contained",withMargin:d=!0,withShadow:f=!0,className:p,...h}=e,y=r?!0:o,C=b.useMemo(()=>a?{PopperProps:{modifiers:[{name:"offset",options:{offset:[0,8]}}]},...a}:void 0,[a]),v=b.useMemo(()=>c==="xs"||c==="small"?"4px":"6px",[c]);return g.jsx(Mc,{tooltip:C,children:g.jsx(FI,{className:Gt(nn.zButton,{[nn.xlarge]:c==="xl",[nn.large]:c==="large",[nn.medium]:c==="medium",[nn.small]:c==="small",[nn.tiny]:c==="xs",[nn.contained]:u==="contained",[nn.outlined]:u==="outlined",[nn.danger]:t,[nn.textBlue]:u==="textBlue",[nn.textBlack]:u==="textBlack",[nn.textGhost]:u==="textGhost",[nn.text]:u==="text",[nn.link]:l,[nn.disabled]:y,[nn.noMargin]:!d,[nn.noShadow]:!f},p),sx:{" .MuiButton-startIcon":{marginLeft:0,marginRight:v}," .MuiButton-endIcon":{marginRight:0,marginLeft:v},...n},disableRipple:!0,disabled:y,variant:u,...h,children:r?g.jsxs(i7,{direction:"row",spacing:r?1:0,style:{alignItems:"center"},children:[g.jsx(Or,{sx:{display:"flex","@keyframes rotate":{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}},style:{color:"white",animation:`${r?"rotate 1s linear infinite":""}`},children:r&&g.jsx(KA,{},void 0)},void 0),g.jsx(mt,{component:"span",sx:{color:"inherit",fontSize:"inherit",fontWeight:"inherit",lineHeight:"inherit"},children:s},void 0)]},void 0):s},void 0)},void 0)};O1.displayName="ZButton";const vN="_zIconButton_1y2v2_3",yN="_disabled_1y2v2_7",bN="_withMargin_1y2v2_13",xN="_noMargin_1y2v2_19",SN="_withBorder_1y2v2_28",wN="_large_1y2v2_37",CN="_medium_1y2v2_38",_N="_small_1y2v2_49",RN="_xs_1y2v2_60",co={zIconButton:vN,disabled:yN,withMargin:bN,noMargin:xN,withBorder:SN,large:wN,medium:CN,small:_N,xs:RN},L1=e=>{const{activeStyle:t={},sx:n,tooltip:r,size:o="medium",disabled:i,withBorder:a=!1,withMargin:s=!0,className:l,...c}=e;return g.jsx(Mc,{tooltip:r,children:g.jsx(hr,{className:Gt(co.zIconButton,l,{[co.large]:o==="large"||o==="xl",[co.medium]:o==="medium",[co.small]:o==="small",[co.xs]:o==="xs",[co.disabled]:i,[co.withBorder]:a,[co.withMargin]:s,[co.noMargin]:!s}),disabled:i,sx:n,disableRipple:!0,...c},void 0)},void 0)},TN=b.forwardRef(function(t,n){return g.jsx(m_,{ref:n,...t},void 0)}),A1=e=>{const{open:t=!0,handleClose:n,children:r,severity:o="info",action:i,buttonProps:a,icon:s,...l}=e,c=zt(),u={regular:{icon:c.black.black3,text:c.black.black1,border:c.stroke.stroke1,background:c.black.black5,actionHover:c.black.black2},info:{icon:c.blue.blue1,text:c.blue.dark2,border:c.blue.blue3,background:c.blue.blue4,actionHover:c.blue.dark1},success:{icon:c.green.green1,text:c.green.green1,border:c.green.green3,background:c.green.green4,actionHover:c.green.green2},warning:{icon:c.yellow.yellow2,text:c.yellow.yellow1,border:c.yellow.yellow3,background:c.yellow.yellow4,actionHover:c.yellow.yellow2},error:{icon:c.red.red2,text:c.red.red1,border:c.red.red3,background:c.red.red4,actionHover:c.red.red2},gradient:{icon:c.black.black1,text:c.black.black1,border:"transparent",background:"linear-gradient(118deg, rgba(0, 239, 139, 0.10) 0.51%, rgba(0, 68, 228, 0.10) 36.98%, rgba(205, 63, 255, 0.10) 72.73%);",actionHover:"transparent"}},d=()=>{n&&n()},f=b.useMemo(()=>u[o],[o,u]);return g.jsx(ps,{in:t,children:g.jsx(TN,{severity:o,sx:{"&.MuiPaper-root":{display:"flex",alignItems:"flex-start",padding:"12px",background:f.background,borderRadius:"12px",border:"1px solid",borderColor:f.border},"& .MuiAlert-message":{padding:0,color:f.text,fontSize:"13px",lineHeight:"135%",fontWeight:400},"& .MuiAlert-action":{padding:0,marginRight:0,display:"flex",alignItems:"center"},"& .MuiAlert-icon":{padding:0,marginRight:"8px",marginTop:"2px",color:f.icon,opacity:1}},icon:s||g.jsx(YA,{severity:o},void 0),action:g.jsxs(Or,{children:[i&&g.jsx(O1,{size:"small",variant:"outlined",withShadow:!1,sx:{"&.MuiButtonBase-root.MuiButton-outlined":{borderColor:f.text,backgroundColor:"transparent",minWidth:56,".MuiTypography-root":{color:f.text},"&:hover":{borderColor:f.actionHover,backgroundColor:"transparent",".MuiTypography-root":{color:f.actionHover}}}},onClick:i.onClick,...a,children:g.jsx(mt,{variant:"body2Medium",component:"div",children:i.label},void 0)},void 0),n&&g.jsx(L1,{sx:{"&.MuiButtonBase-root.MuiIconButton-root":{marginLeft:"12px","&:hover":{backgroundColor:"transparent","svg.MuiSvgIcon-root":{path:{fill:f.actionHover}}}},"svg.MuiSvgIcon-root":{path:{fill:f.text}}},size:"small",onClick:d,children:g.jsx(I1,{size:14},void 0)},void 0)]},void 0),...l,children:r},void 0)},void 0)};var Ae;(function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e[e.RelativeRange=7]="RelativeRange",e[e.AbsoluteRange=8]="AbsoluteRange",e[e.Reset=9]="Reset",e[e.Or=10]="Or",e[e.Copy=11]="Copy",e[e.Copied=12]="Copied",e[e.HidePwd=13]="HidePwd",e[e.ShowPwd=14]="ShowPwd",e[e.StartDay=15]="StartDay",e[e.EndDay=16]="EndDay",e[e.StartTime=17]="StartTime",e[e.EndTime=18]="EndTime",e[e.NoRows=19]="NoRows",e[e.NoOptions=20]="NoOptions"})(Ae||(Ae={}));const PN={[Ae.Sunday]:"日",[Ae.Monday]:"一",[Ae.Tuesday]:"二",[Ae.Wednesday]:"三",[Ae.Thursday]:"四",[Ae.Friday]:"五",[Ae.Saturday]:"六",[Ae.RelativeRange]:"相对范围",[Ae.AbsoluteRange]:"绝对范围",[Ae.Reset]:"重置",[Ae.Or]:"或",[Ae.Copy]:"复制",[Ae.Copied]:"已复制",[Ae.HidePwd]:"隐藏密码",[Ae.ShowPwd]:"展示密码",[Ae.StartDay]:"开始日期",[Ae.EndDay]:"结束日期",[Ae.StartTime]:"开始时间",[Ae.EndTime]:"结束时间",[Ae.NoRows]:"无记录",[Ae.NoOptions]:"无数据"},kN={[Ae.Sunday]:"S",[Ae.Monday]:"M",[Ae.Tuesday]:"T",[Ae.Wednesday]:"W",[Ae.Thursday]:"T",[Ae.Friday]:"F",[Ae.Saturday]:"S",[Ae.RelativeRange]:"Relative Range",[Ae.AbsoluteRange]:"Absolute Range",[Ae.Reset]:"Reset",[Ae.Or]:" or ",[Ae.Copy]:"Copy",[Ae.Copied]:"Copied",[Ae.HidePwd]:"Hide password",[Ae.ShowPwd]:"Show password",[Ae.StartDay]:"Start date",[Ae.EndDay]:"End date",[Ae.StartTime]:"Start time",[Ae.EndTime]:"End time",[Ae.NoRows]:"No Data",[Ae.NoOptions]:"No Options"},Kd=(e,t)=>t==="zhCN"?PN[e]:kN[e],$N=b.forwardRef((e,t)=>{const[n,r]=b.useState(!1),[o,i]=b.useState(!1),{onChange:a,inputProps:s={},enableAutocomplete:l=!1,...c}=e,u=b.useMemo(()=>l?{}:{autoComplete:"new-password"},[l]),d=()=>{o&&r(!n)},f=v=>{const{value:S}=v.target;i(S!==""),a&&a(v)},p=zt(),h=p.language,y=Kd(Ae.HidePwd,h),C=Kd(Ae.ShowPwd,h);return g.jsx(Zd,{inputType:n?"text":"password",prefixComponent:g.jsx(qA,{size:e.size==="small"?12:14,style:{color:p.black.black2}},void 0),suffix:g.jsx(bp,{title:o?n?y:C:"",placement:"bottom",children:g.jsx(hr,{disableRipple:!0,sx:{padding:0,opacity:o?1:0,cursor:o?"pointer":"default","&:hover":{svg:{color:p.black.black2}}},"aria-label":"toggle password visibility",onClick:d,children:n?g.jsx(VA,{size:e.size==="small"?12:14,sx:{color:p.black.black1}},void 0):g.jsx(HA,{size:e.size==="small"?12:14,sx:{color:p.black.black1}},void 0)},void 0)},void 0),ref:t,onChange:f,inputProps:{...u,...s},...c},void 0)});var Mi;(function(e){e.default="default",e.password="pwd",e.number="number",e.suffixSelect="suffixSelect"})(Mi||(Mi={}));const EN="_button_n3sxg_3",MN="_disabled_n3sxg_16",IN="_text_n3sxg_23",ON="_parentInputDisabled_n3sxg_30",LN="_icon_n3sxg_41",AN="_smallButton_n3sxg_46",NN="_input_n3sxg_50",DN="_inputFocus_n3sxg_56",jN="_paper_n3sxg_63",FN="_menu_n3sxg_67",BN="_menuItem_n3sxg_71",zN="_selected_n3sxg_83",HN="_menuList_n3sxg_89",Wn={button:EN,disabled:MN,text:IN,parentInputDisabled:ON,icon:LN,smallButton:AN,input:NN,inputFocus:DN,paper:jN,menu:FN,menuItem:BN,selected:zN,menuList:HN},VN=({options:e=[],onSelectChange:t,defaultSelectedValue:n="",classes:r={label:"",menuRoot:"",menuList:"",menuItem:"",menuPaper:""},setIsSelectActive:o,disabled:i=!1,inputDisabled:a,size:s})=>{const[l,c]=b.useState(null),[u,d]=b.useState("");b.useEffect(()=>{const y=e.find(v=>v.value===n),C=(y==null?void 0:y.label)||"";d(C)},[n]);const f=()=>{c(null),o&&o(!1)},p=y=>{i||(c(y.currentTarget),o&&o(!0))},h=y=>{t&&t(y.value),d(y.label),f()};return g.jsxs(g.Fragment,{children:[g.jsxs(mt,{role:"button",component:"div",className:Gt(Wn.button,{[Wn.smallButton]:s==="small",[Wn.disabled]:i,[Wn.parentInputDisabled]:a},r.label),onClick:p,children:[g.jsx(mt,{variant:"body1",className:Wn.text,children:u},void 0),!i&&g.jsx(ia,{size:14,className:Wn.icon},void 0)]},void 0),g.jsx($1,{open:!!l,anchorEl:l,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},onClose:f,classes:{root:Gt(Wn.menu,r.menuRoot),paper:Gt(Wn.paper,r.menuPaper),list:Gt(Wn.menuList,r.menuList)},children:e.map(y=>g.jsx($c,{sx:{"&.Mui-selected.Mui-focusVisible":{backgroundColor:"#fff"}},className:Gt(Wn.menuItem,{[Wn.selected]:u===y.label},r.menuItem),onClick:()=>h(y),children:y.label},y.value))},void 0)]},void 0)},WN=b.forwardRef((e,t)=>{const{options:n,onSelectChange:r,defaultSelectedValue:o,selectClasses:i,disableSelect:a,disabled:s=!1,size:l,...c}=e,[u,d]=b.useState(!1);return g.jsx(Zd,{className:Gt(Wn.input,{[Wn.inputFocus]:u}),disabled:s,size:l,suffix:g.jsx(VN,{options:n,onSelectChange:r,defaultSelectedValue:o,classes:i,setIsSelectActive:d,disabled:a,inputDisabled:s,size:l},void 0),ref:t,...c},void 0)}),UN=e=>({"& .MuiFormHelperText-root":{margin:"4px 0 0 0",color:e.black.black3,fontSize:12,lineHeight:"135%","&.Mui-error":{color:e.red.red1}}}),pr="0px 1px 2px 4px rgba(33, 37, 44, 0.08)",aa="0px 1px 2px 0px rgba(33, 37, 44, 0.08)",GN=(e,t)=>({borderRadius:t==="small"?"6px":"8px","& .MuiOutlinedInput-notchedOutline":{borderColor:e.stroke.stroke1,boxShadow:aa,transition:"all 0.2s"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"transparent",borderWidth:1,boxShadow:`0px 0px 0px 4px ${e.blue.blue4}, ${pr}`},"&.Mui-disabled":{"& .MuiOutlinedInput-input":{zIndex:"1","::-webkit-input-placeholder":{color:e.black.black3,opacity:"1"}},"& .MuiOutlinedInput-notchedOutline":{borderColor:e.stroke.stroke1,backgroundColor:e.black.black5,borderWidth:1},"&:hover .MuiOutlinedInput-notchedOutline":{boxShadow:aa}},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.blue.blue1,borderWidth:1,boxShadow:`0px 0px 0px 4px ${e.blue.blue4}, ${pr}`}},"&.Mui-focused.Mui-error":{"& .MuiOutlinedInput-notchedOutline":{boxShadow:`0px 0px 0px 4px ${e.red.red4}, ${pr}`}},"&.Mui-error":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.red.red2},"&:hover .MuiOutlinedInput-notchedOutline":{boxShadow:`0px 0px 0px 4px ${e.red.red4}, ${pr}`}}}),qN=(e,t,n)=>({height:n==="small"?"28px":"36px",boxSizing:"border-box",padding:t?n==="small"?"4px 10px 4px 4px":"8px 12px 8px 4px":n==="small"?"4px 10px":"8px 12px",fontSize:n==="small"?13:14,fontWeight:400,color:e.black.black1,caretColor:e.black.black1,"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #fff inset",WebkitTextFillColor:e.black.black1},"&[type=password]":{WebkitTextStrokeWidth:"2.8px",letterSpacing:"4px"},"&[type=number]::-webkit-outer-spin-button, &[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}}),KN=(e,t,n,r)=>{let o=GN(e,r);return t&&(o={...o,paddingRight:r==="small"?"8px":"12px"}),n&&(o={...o,paddingLeft:"12px"}),o},Zd=b.forwardRef((e,t)=>{const{label:n,labelPosition:r="top",labelClassName:o="",wrapperClassName:i="",suffix:a=null,prefixComponent:s=null,inputType:l="text",inputProps:c,size:u="medium",...d}=e,{sx:f={},...p}=c||{},h=zt();return g.jsxs(Or,{sx:{display:"flex",alignItems:r==="top"?"flex-start":"center",gap:2,flexDirection:r==="top"?"column":"row"},className:i,children:[n?g.jsx(mt,{component:"div",variant:"h4Medium",className:o,children:n},void 0):null,g.jsx(NA,{InputProps:{sx:KN(h,a,s,u),endAdornment:a,startAdornment:s,type:l},inputProps:{sx:{...qN(h,s,u),...f},ref:t,...p},sx:UN(h),...d},void 0)]},void 0)}),N1=b.forwardRef((e,t)=>{const{inputComponentType:n=Mi.default,...r}=e,i={[Mi.default]:Zd,[Mi.password]:$N,[Mi.number]:Zd,[Mi.suffixSelect]:WN}[n];return g.jsx(i,{ref:t,...r},void 0)}),ZN="_root_903dp_3",QN="_label_903dp_6",YN="_checkboxIcon_903dp_19",XN="_inner_903dp_20",JN="_checkbox_903dp_19",e9="_disabledCheckbox_903dp_49",t9="_disabled_903dp_49",n9="_indeterminate_903dp_83",r9="_checked_903dp_84",Mr={root:ZN,label:QN,checkboxIcon:YN,inner:XN,checkbox:JN,disabledCheckbox:e9,disabled:t9,indeterminate:n9,checked:r9},cx=e=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",children:e.children},void 0),bg=e=>{const{checked:t=!1,indeterminate:n=!1,disabled:r=!1}=e;return g.jsx("div",{className:Gt(Mr.checkboxIcon,{[Mr.checked]:t,[Mr.indeterminate]:n,[Mr.disabled]:r}),children:g.jsxs("div",{className:Mr.inner,children:[t&&g.jsx(cx,{children:g.jsx("path",{d:"M1 4L3.66667 7.33333L9 2",stroke:"white",strokeWidth:"1.4"},void 0)},void 0),n&&g.jsx(cx,{children:g.jsx("path",{d:"M1.22876 4.66665L8.77124 4.66665",stroke:"white",strokeWidth:"1.4"},void 0)},void 0)]},void 0)},void 0)},ux=rt.forwardRef((e,t)=>{const{disabled:n,...r}=e;return g.jsx(JI,{ref:t,disableRipple:!0,disableTouchRipple:!0,disabled:n,icon:g.jsx(bg,{disabled:n},void 0),checkedIcon:g.jsx(bg,{checked:!0,disabled:n},void 0),indeterminateIcon:g.jsx(bg,{indeterminate:!0},void 0),classes:{root:Mr.checkbox,checked:Mr.checkedCheckbox,disabled:Mr.disabledCheckbox,indeterminate:Mr.indeterminateCheckbox},...r},void 0)}),Qd=rt.forwardRef(function(e,t){const{label:n="",disabled:r,...o}=e;return n?g.jsx($_,{classes:{root:Mr.root},label:g.jsx(mt,{className:Mr.label,children:n},void 0),disabled:r,control:g.jsx(ux,{ref:t,...o},void 0)},void 0):g.jsx(ux,{ref:t,disabled:r,...o},void 0)});function o9(e){return e&&e.ownerDocument||document}function i9(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const a9=typeof window<"u"?b.useLayoutEffect:b.useEffect;function s9(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{i9(n,t)})},e)}const dx=e=>e,l9=()=>{let e=dx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=dx}}},c9=l9(),u9={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 W_(e,t,n="Mui"){const r=u9[t];return r?`${n}-${r}`:`${c9.generate(e)}-${t}`}function d9(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=W_(e,o,n)}),r}function dc(e){"@babel/helpers - typeof";return dc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dc(e)}function f9(e,t){if(dc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(dc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function p9(e){var t=f9(e,"string");return dc(t)=="symbol"?t:t+""}const g9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"መንገድ አሳይ"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ወደ መጀመሪያው ገጽ ይሂዱ":e==="last"?"ወደ መጨረሻው ገጽ ይሂዱ":e==="next"?"ወደ ቀጣዩ ገጽ ይሂዱ":"ወደ ቀዳሚው ገጽ ይሂዱ",labelRowsPerPage:"ረድፎች በአንድ ገጽ:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}-${t} ከ ${n!==-1?n:`${t} በላይ`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ኮከ${e!==1?"ቦች":"ብ"}`,emptyLabelText:"ባዶ"}},MuiAutocomplete:{defaultProps:{clearText:"አጽዳ",closeText:"ዝጋ",loadingText:"በመጫን ላይ…",noOptionsText:"አማራጮች የሉም",openText:"ክፈት"}},MuiAlert:{defaultProps:{closeText:"ዝጋ"}},MuiPagination:{defaultProps:{"aria-label":"የገጽ አሰሳ",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"ወደ "}ገጽ ${t}${n?"":" ሂድ"}`:e==="first"?"ወደ መጀመሪያው ገጽ ይሂዱ":e==="last"?"ወደ መጨረሻው ገጽ ይሂዱ":e==="next"?"ወደ ቀጣዩ ገጽ ይሂዱ":"ወደ ቀዳሚው ገጽ ይሂዱ"}}}},h9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} من ${n!==-1?n:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا يوجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"انتقل إلى "} صفحة ${t}`:e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة"}}}},m9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"الانتقال إلى الصفحة الأولى":e==="last"?"الانتقال إلى الصفحة الأخيرة":e==="next"?"الانتقال إلى الصفحة التالية":"الانتقال إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} من ${n!==-1?n:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا توجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"الانتقال إلى "} صفحة ${t}`:e==="first"?"الانتقال إلى الصفحة الأولى":e==="last"?"الانتقال الي الصفحة الأخيرة":e==="next"?"الانتقال إلى الصفحة التالية":"الانتقال إلى الصفحة السابقة"}}}},v9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} من ${n!==-1?n:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا يوجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"انتقل إلى "} صفحة ${t}`:e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل الي الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة"}}}},y9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu göstər"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Birinci səhifəyə keç":e==="last"?"Sonuncu səhifəyə keç":e==="next"?"Növbəti səhifəyə keç":"Əvvəlki səhifəyə keç",labelRowsPerPage:"Səhifəyə düşən sətrlər:"}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Ulduz";const n=e%10;return n>1&&n<5&&(t="Ulduzlar"),`${e} ${t}`},emptyLabelText:"Boş"}},MuiAutocomplete:{defaultProps:{clearText:"Silmək",closeText:"Bağlamaq",loadingText:"Yüklənir…",noOptionsText:"Seçimlər mövcud deyil",openText:"Открыть"}},MuiAlert:{defaultProps:{closeText:"Bağlamaq"}},MuiPagination:{defaultProps:{"aria-label":"Səhifənin naviqasiyası",getItemAriaLabel:(e,t,n)=>e==="page"?`${t} ${n?"səhifə":"səhifəyə keç"}`:e==="first"?"Birinci səhifəyə keç":e==="last"?"Sonuncu səhifəyə keç":e==="next"?"Növbəti səhifəyə keç":"Əvvəlki səhifəyə keç"}}}},b9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"পথ দেখান"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"প্রথম পৃষ্ঠায় যান":e==="last"?"শেষ পৃষ্ঠায় যান":e==="next"?"পরবর্তী পৃষ্ঠায় যান":"আগের পৃষ্ঠায় যান",labelRowsPerPage:"প্রতি পৃষ্ঠায় সারি:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} / ${n!==-1?n:`${t} থেকে বেশি`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} স্টার`,emptyLabelText:"খালি"}},MuiAutocomplete:{defaultProps:{clearText:"পরিষ্কার করুন",closeText:"বন্ধ করুন",loadingText:"লোড হচ্ছে…",noOptionsText:"কোন অপশন নেই",openText:"ওপেন করুন"}},MuiAlert:{defaultProps:{closeText:"বন্ধ করুন"}},MuiPagination:{defaultProps:{"aria-label":"পেজিনেশন নেভিগেশন",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"যান "}পৃষ্ঠা ${t}-এ`:e==="first"?"প্রথম পৃষ্ঠায় যান":e==="last"?"শেষ পৃষ্ঠায় যান":e==="next"?"পরবর্তী পৃষ্ঠায় যান":"আগের পৃষ্ঠায় যান"}}}},x9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Паказаць шлях"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перайсці на першую старонку":e==="last"?"Перайсці на апошнюю старонку":e==="next"?"Перайсці на наступную старонку":"Перайсці на папярэднюю старонку",labelRowsPerPage:"Радкоў на старонцы:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} з ${n!==-1?n:`больш чым ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Зорак";const n=e%10;return n>1&&n<5&&(e<10||e>20)?t="Зоркі":n===1&&e%100!==11&&(t="Зорка"),`${e} ${t}`},emptyLabelText:"Рэйтынг адсутнічае"}},MuiAutocomplete:{defaultProps:{clearText:"Ачысціць",closeText:"Закрыць",loadingText:"Загрузка…",noOptionsText:"Няма варыянтаў",openText:"Адкрыць"}},MuiAlert:{defaultProps:{closeText:"Закрыць"}},MuiPagination:{defaultProps:{"aria-label":"Навігацыя па старонкам",getItemAriaLabel:(e,t,n)=>e==="page"?n?`${t} старонка`:`Перайсці на ${t} старонку`:e==="first"?"Перайсці на першую старонку":e==="last"?"Перайсці на апошнюю старонку":e==="next"?"Перайсці на наступную старонку":"Перайсці на папярэднюю старонку"}}}},S9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показване на пътя"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Отиди на първата страница":e==="last"?"Отиди на последната страница":e==="next"?"Отиди на следващата страница":"Отиди на предишната страница",labelRowsPerPage:"Редове на страница:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Звезд${e!==1?"и":"а"}`,emptyLabelText:"Изчисти"}},MuiAutocomplete:{defaultProps:{clearText:"Изчисти",closeText:"Затвори",loadingText:"Зареждане…",noOptionsText:"Няма налични опции",openText:"Отвори"}},MuiAlert:{defaultProps:{closeText:"Затвори"}},MuiPagination:{defaultProps:{"aria-label":"Пагинация",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Към "}страница ${t}`:e==="first"?"Отиди на първата страница":e==="last"?"Отиди на последната страница":e==="next"?"Отиди на следващата страница":"Отиди на предишната страница"}}}},w9={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Files per pàgina:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Estrelles":"Estrella"}`,emptyLabelText:"Buit"}},MuiAutocomplete:{defaultProps:{clearText:"Netejar",closeText:"Tancar",loadingText:"Carregant…",noOptionsText:"Sense opcions",openText:"Obert"}},MuiAlert:{defaultProps:{closeText:"Tancat"}}}},C9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ukázat cestu"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Jít na první stránku":e==="last"?"Jít na poslední stránku":e==="next"?"Jít na další stránku":"Jít na předchozí stránku",labelRowsPerPage:"Řádků na stránce:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} z ${n!==-1?n:`více než ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>e===1?`${e} hvězdička`:e>=2&&e<=4?`${e} hvězdičky`:`${e} hvězdiček`,emptyLabelText:"Prázdné"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazat",closeText:"Zavřít",loadingText:"Načítání…",noOptionsText:"Žádné možnosti",openText:"Otevřít"}},MuiAlert:{defaultProps:{closeText:"Zavřít"}},MuiPagination:{defaultProps:{"aria-label":"Navigace stránkováním",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Jít na "}${t}. stránku`:e==="first"?"Jít na první stránku":e==="last"?"Jít na poslední stránku":e==="next"?"Jít na další stránku":"Jít na předchozí stránku"}}}},_9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til den første side":e==="last"?"Gå til den sidste side":e==="next"?"Gå til den næste side":"Gå til den forrige side",labelRowsPerPage:"Rækker pr side:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}-${t} af ${n!==-1?n:`mere end ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stjern${e!==1?"er":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Slet",closeText:"Luk",loadingText:"Indlæser…",noOptionsText:"Ingen muligheder",openText:"Åben"}},MuiAlert:{defaultProps:{closeText:"Luk"}},MuiPagination:{defaultProps:{"aria-label":"Sideinddelings navigation",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Go to "}page ${t}`:e==="first"?"Gå til den første side":e==="last"?"Gå til den sidste side":e==="next"?"Gå til den næste side":"Gå til den forrige side"}}}},R9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pfad anzeigen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Zur ersten Seite":e==="last"?"Zur letzten Seite":e==="next"?"Zur nächsten Seite":"Zur vorherigen Seite",labelRowsPerPage:"Zeilen pro Seite:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} von ${n!==-1?n:`mehr als ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Sterne":"Stern"}`,emptyLabelText:"Keine Wertung"}},MuiAutocomplete:{defaultProps:{clearText:"Leeren",closeText:"Schließen",loadingText:"Wird geladen…",noOptionsText:"Keine Optionen",openText:"Öffnen"}},MuiAlert:{defaultProps:{closeText:"Schließen"}},MuiPagination:{defaultProps:{"aria-label":"Navigation via Seitennummerierung",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Gehe zu "}Seite ${t}`:e==="first"?"Zur ersten Seite":e==="last"?"Zur letzten Seite":e==="next"?"Zur nächsten Seite":"Zur vorherigen Seite"}}}},T9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Εμφάνιση διαδρομής"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Πρώτη σελίδα":e==="last"?"Τελευταία σελίδα":e==="next"?"Επόμενη σελίδα":"Προηγούμενη σελίδα",labelRowsPerPage:"Γραμμές ανα σελίδα:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} από ${n!==-1?n:`πάνω από ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Αστέρι${e!==1?"α":""}`,emptyLabelText:"Χωρίς βαθμολόγηση"}},MuiAutocomplete:{defaultProps:{clearText:"Καθαρισμός",closeText:"Κλείσιμο",loadingText:"Φόρτωση…",noOptionsText:"Δεν υπάρχουν επιλογές",openText:"Άνοιγμα"}},MuiAlert:{defaultProps:{closeText:"Κλείσιμο"}},MuiPagination:{defaultProps:{"aria-label":"Πλοήγηση σε σελίδες",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Μετάβαση "}σελίδα ${t}`:e==="first"?"Πρώτη σελίδα":e==="last"?"Τελευταία σελίδα":e==="next"?"Επόμενη σελίδα":"Προηγούμενη σελίδα"}}}},P9={},k9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar ruta"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ir a la primera página":e==="last"?"Ir a la última página":e==="next"?"Ir a la página siguiente":"Ir a la página anterior",labelRowsPerPage:"Filas por página:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} de ${n!==-1?n:`más de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrella${e!==1?"s":""}`,emptyLabelText:"Vacío"}},MuiAutocomplete:{defaultProps:{clearText:"Limpiar",closeText:"Cerrar",loadingText:"Cargando…",noOptionsText:"Sin opciones",openText:"Abierto"}},MuiAlert:{defaultProps:{closeText:"Cerrar"}},MuiPagination:{defaultProps:{"aria-label":"Paginador",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ir a la "}página ${t}`:e==="first"?"Ir a la primera página":e==="last"?"Ir a la última página":e==="next"?"Ir a la página siguiente":"Ir a la página anterior"}}}},$9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Näita teed"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Vali esimene lehekülg":e==="last"?"Vali viimane lehekülg":e==="next"?"Vali järgmine lehekülg":"Vali eelmine lehekülg",labelRowsPerPage:"Ridu leheküljel:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} / ${n!==-1?n:`rohkem kui ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Tärn${e!==1?"i":""}`,emptyLabelText:"Tühi"}},MuiAutocomplete:{defaultProps:{clearText:"Tühjenda",closeText:"Sulge",loadingText:"Laen…",noOptionsText:"Valikuid ei ole",openText:"Ava"}},MuiAlert:{defaultProps:{closeText:"Sulge"}},MuiPagination:{defaultProps:{"aria-label":"Lehekülgede valik",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Vali "}lehekülg ${t}`:e==="first"?"Vali esimene lehekülg":e==="last"?"Vali viimane lehekülg":e==="next"?"Vali järgmine lehekülg":"Vali eelmine lehekülg"}}}},E9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"نمایش مسیر"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"رفتن به اولین صفحه":e==="last"?"رفتن به آخرین صفحه":e==="next"?"رفتن به صفحه‌ی بعدی":"رفتن به صفحه‌ی قبلی",labelRowsPerPage:"تعداد سطرهای هر صفحه:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} از ${n!==-1?n:`بیشتر از ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستاره`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"پاک‌کردن",closeText:"بستن",loadingText:"در حال بارگذاری…",noOptionsText:"بی‌نتیجه",openText:"بازکردن"}},MuiAlert:{defaultProps:{closeText:"بستن"}},MuiPagination:{defaultProps:{"aria-label":"ناوبری صفحه",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"رفتن به "}صفحهٔ ${t}`:e==="first"?"رفتن به اولین صفحه":e==="last"?"رفتن به آخرین صفحه":e==="next"?"رفتن به صفحه‌ی بعدی":"رفتن به صفحه‌ی قبلی"}}}},M9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Näytä reitti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Mene ensimmäiselle sivulle":e==="last"?"Mene viimeiselle sivulle":e==="next"?"Mene seuraavalle sivulle":"Mene edelliselle sivulle",labelRowsPerPage:"Rivejä per sivu:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} / ${n!==-1?n:`enemmän kuin ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Täht${e!==1?"eä":"i"}`,emptyLabelText:"Tyhjä"}},MuiAutocomplete:{defaultProps:{clearText:"Tyhjennä",closeText:"Sulje",loadingText:"Ladataan…",noOptionsText:"Ei valintoja",openText:"Avaa"}},MuiAlert:{defaultProps:{closeText:"Sulje"}},MuiPagination:{defaultProps:{"aria-label":"Sivutus navigaatio",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"sivu":"Mene sivulle"} ${t}`:e==="first"?"Mene ensimmäiselle sivulle":e==="last"?"Mene viimeiselle sivulle":e==="next"?"Mene seuraavalle sivulle":"Mene edelliselle sivulle"}}}},I9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Montrer le chemin"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente",labelRowsPerPage:"Lignes par page :",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} sur ${n!==-1?n:`plus que ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Etoile${e!==1?"s":""}`,emptyLabelText:"Vide"}},MuiAutocomplete:{defaultProps:{clearText:"Vider",closeText:"Fermer",loadingText:"Chargement…",noOptionsText:"Pas de résultats",openText:"Ouvrir"}},MuiAlert:{defaultProps:{closeText:"Fermer"}},MuiPagination:{defaultProps:{"aria-label":"navigation de pagination",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Aller à la "}page ${t}`:e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente"}}}},O9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"הצג נתיב"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"לעמוד הראשון":e==="last"?"לעמוד האחרון":e==="next"?"לעמוד הבא":"לעמוד הקודם",labelRowsPerPage:"שורות בעמוד:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} מתוך ${n!==-1?n:`יותר מ ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} כוכב${e!==1?"ים":""}`,emptyLabelText:"ריק"}},MuiAutocomplete:{defaultProps:{clearText:"נקה",closeText:"סגור",loadingText:"טוען…",noOptionsText:"אין אופציות",openText:"פתח"}},MuiAlert:{defaultProps:{closeText:"סגור"}},MuiPagination:{defaultProps:{"aria-label":"ניווט בעמודים",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"ל "}עמוד ${t}`:e==="first"?"לעמוד הראשון":e==="last"?"לעמוד האחרון":e==="next"?"לעמוד הבא":"לעמוד הקודם"}}}},L9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"रास्ता दिखायें"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"पहले पृष्ठ पर जाएँ":e==="last"?"अंतिम पृष्ठ पर जाएँ":e==="next"?"अगले पृष्ठ पर जाएँ":"पिछले पृष्ठ पर जाएँ",labelRowsPerPage:"पंक्तियाँ प्रति पृष्ठ:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}-${t===-1?n:t} कुल ${n} में`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} तार${e!==1?"े":"ा"}`,emptyLabelText:"रिक्त"}},MuiAutocomplete:{defaultProps:{clearText:"हटायें",closeText:"बंद करें",loadingText:"लोड हो रहा है…",noOptionsText:"कोई विकल्प नहीं",openText:"खोलें"}},MuiAlert:{defaultProps:{closeText:"बंद करें"}},MuiPagination:{defaultProps:{"aria-label":"पृस्ठानुसार संचालन",getItemAriaLabel:(e,t,n)=>e==="page"?`पृष्ठ ${t} ${n?"":" पर जाएँ"}`:e==="first"?"पहले पृष्ठ पर जाएँ":e==="last"?"अंतिम पृष्ठ पर जाएँ":e==="next"?"अगले पृष्ठ पर जाएँ":"पिछले पृष्ठ पर जाएँ"}}}},A9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaži putanju"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na posljednju stranicu":e==="next"?"Idi na sljedeću stranicu":"Idi na prethodnu stranicu",labelRowsPerPage:"Redova po stranici:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} od ${n!==-1?n:`više nego ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10,n=e%100;return[2,3,4].includes(t)&&![12,13,14].includes(n)?"Zvijezde":"Zvijezda"},emptyLabelText:"Prazno"}},MuiAutocomplete:{defaultProps:{clearText:"Briši",closeText:"Zatvori",loadingText:"Učitavanje…",noOptionsText:"Nema opcija",openText:"Otvori"}},MuiAlert:{defaultProps:{closeText:"Zatvori"}},MuiPagination:{defaultProps:{"aria-label":"Navigacija po stranicama",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Idi na "}stranicu ${t}`:e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na zadnju stranicu":e==="next"?"Idi na sljedeću stranicu":"Idi na prethodnu stranicu"}}}},N9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Útvonal"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Első oldalra":e==="last"?"Utolsó oldalra":e==="next"?"Következő oldalra":"Előző oldalra",labelRowsPerPage:"Sorok száma:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Csillag`,emptyLabelText:"Üres"}},MuiAutocomplete:{defaultProps:{clearText:"Törlés",closeText:"Bezárás",loadingText:"Töltés…",noOptionsText:"Nincs találat",openText:"Megnyitás"}},MuiAlert:{defaultProps:{closeText:"Bezárás"}},MuiPagination:{defaultProps:{"aria-label":"Lapozás",getItemAriaLabel:(e,t,n)=>e==="page"?`${t}. oldal${n?"":"ra"}`:e==="first"?"Első oldalra":e==="last"?"Utolsó oldalra":e==="next"?"Következő oldalra":"Előző oldalra"}}}},D9={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Տողեր մեկ էջում`"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Աստղ`,emptyLabelText:"Դատարկ"}},MuiAutocomplete:{defaultProps:{clearText:"Մաքրել",closeText:"Փակել",loadingText:"Բեռնում…",noOptionsText:"Տարբերակներ չկան",openText:"Բացել"}},MuiAlert:{defaultProps:{closeText:"Փակել"}}}},j9={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Baris per halaman:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Bintang`}},MuiAutocomplete:{defaultProps:{clearText:"Hapus",closeText:"Tutup",loadingText:"Memuat…",noOptionsText:"Tidak ada opsi",openText:"Buka"}},MuiAlert:{defaultProps:{closeText:"Tutup"}}}},F9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Sýna slóð"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Fara á fyrstu síðu":e==="last"?"Fara á síðustu síðu":e==="next"?"Fara á næstu síðu":"Fara á fyrri síðu",labelRowsPerPage:"Raðir á síðu:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} af ${n!==-1?n:`fleiri en ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e===1?"stjarna":"stjörnur"}`,emptyLabelText:"Tómt"}},MuiAutocomplete:{defaultProps:{clearText:"Hreinsa",closeText:"Loka",loadingText:"Hlaða…",noOptionsText:"Engar niðurstöður",openText:"Opna"}},MuiAlert:{defaultProps:{closeText:"Loka"}},MuiPagination:{defaultProps:{"aria-label":"Síðuflakk",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"Síða":"Fara á síðu"} ${t}`:e==="first"?"Fara á fyrstu síðu":e==="last"?"Fara á síðustu síðu":e==="next"?"Fara á næstu síðu":"Fara á fyrri síðu"}}}},B9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visualizza percorso"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Vai alla prima pagina":e==="last"?"Vai all'ultima pagina":e==="next"?"Vai alla pagina successiva":"Vai alla pagina precedente",labelRowsPerPage:"Righe per pagina:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} di ${n!==-1?n:`più di ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stell${e!==1?"e":"a"}`,emptyLabelText:"Vuoto"}},MuiAutocomplete:{defaultProps:{clearText:"Svuota",closeText:"Chiudi",loadingText:"Caricamento in corso…",noOptionsText:"Nessuna opzione",openText:"Apri"}},MuiAlert:{defaultProps:{closeText:"Chiudi"}},MuiPagination:{defaultProps:{"aria-label":"Navigazione impaginata",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Vai alla "}pagina ${t}`:e==="first"?"Vai alla prima pagina":e==="last"?"Vai all'ultima pagina":e==="next"?"Vai alla pagina successiva":"Vai alla pagina precedente"}}}},z9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"すべて表示"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"最初のページへ":e==="last"?"最後のページへ":e==="next"?"次のページへ":"前のページへ",labelRowsPerPage:"ページあたりの行数:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}~${t} / ${n!==-1?n:`${t}以上`}`}},MuiRating:{defaultProps:{getLabelText:e=>`星${e}`,emptyLabelText:"星なし"}},MuiAutocomplete:{defaultProps:{clearText:"クリア",closeText:"閉じる",loadingText:"読み込み中…",noOptionsText:"データがありません",openText:"開く"}},MuiAlert:{defaultProps:{closeText:"閉じる"}},MuiPagination:{defaultProps:{"aria-label":"ページ選択",getItemAriaLabel:(e,t,n)=>e==="page"?`ページ${t}${n?"":"へ"}`:e==="first"?"最初のページへ":e==="last"?"最後のページへ":e==="next"?"次のページへ":"前のページへ"}}}},H9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"បង្ហាញផ្លូវ"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ទៅទំព័រដំបូង":e==="last"?"ទៅទំព័រចុងក្រោយ":e==="next"?"ទៅទំព័របន្ទាប់":"ទៅទំព័រមុន",labelRowsPerPage:"ចំនួនជួរដេកក្នុងមួយទំព័រ:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e} - ${t} នៃ ${n!==-1?n:`ច្រើនជាង ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ផ្កាយ`,emptyLabelText:"ទទេ"}},MuiAutocomplete:{defaultProps:{clearText:"លុបចោល",closeText:"បិទ",loadingText:"កំពុងលោត…",noOptionsText:"គ្មានជម្រើស",openText:"បើក"}},MuiAlert:{defaultProps:{closeText:"បិទ"}},MuiPagination:{defaultProps:{"aria-label":"រុករកទំព័រ",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"ទៅ "}ទំព័រ ${t}`:e==="first"?"ទៅទំព័រដំបូង":e==="last"?"ទៅទំព័រចុងក្រោយ":e==="next"?"ទៅទំព័របន្ទាប់":"ទៅទំព័រមុន"}}}},V9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"경로 보기"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"첫 번째 페이지로 이동":e==="last"?"마지막 페이지로 이동":e==="next"?"다음 페이지로 이동":"이전 페이지로 이동",labelRowsPerPage:"페이지 당 행:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} / ${n!==-1?n:`${t}개 이상`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 점`,emptyLabelText:"빈 텍스트"}},MuiAutocomplete:{defaultProps:{clearText:"지우기",closeText:"닫기",loadingText:"불러오는 중…",noOptionsText:"옵션 없음",openText:"열기"}},MuiAlert:{defaultProps:{closeText:"닫기"}},MuiPagination:{defaultProps:{"aria-label":"페이지네이션 네비게이션",getItemAriaLabel:(e,t,n)=>e==="page"?`${t} 번째 페이지${n?"":"로 이동"}`:e==="first"?"첫 번째 페이지로 이동":e==="last"?"마지막 페이지로 이동":e==="next"?"다음 페이지로 이동":"이전 페이지로 이동"}}}},W9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"ڕێچکە پیشان بدە"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"چوونە یەکەم پەڕە":e==="last"?"چوونە کۆتا پەڕە":e==="next"?"چوونە پەڕەی دواتر":"گەڕانەوە بۆ پەڕەی پێشوو",labelRowsPerPage:"ژمارەی ڕیزەکان لە هەر پەڕەیەک:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} لە ${n!==-1?n:` زیاترە لە${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"ئەستێرەکان":"ئەستێرە"}`,emptyLabelText:"خاڵیە"}},MuiAutocomplete:{defaultProps:{clearText:"سڕینەوە",closeText:"داخستن",loadingText:"لە بارکردندایە...",noOptionsText:"هیچ بژاردەیەک نیە",openText:"کردنەوە"}},MuiAlert:{defaultProps:{closeText:"داخستن"}},MuiPagination:{defaultProps:{"aria-label":"گەڕان لە پەڕەکان",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"چوون بۆ "} پەڕەی ${t}`:e==="first"?"چوونە یەکەم پەڕە":e==="last"?"چوونە کۆتا پەڕە":e==="next"?"چوونە پەڕەی دواتر":"گەڕانەوە بۆ پەڕەی پێشوو"}}}},U9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Rê nîşan bide"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Biçe rûpela yekem":e==="last"?"Biçe rûpela dawî":e==="next"?"Biçe rûpela din":"Biçe rûpela berê",labelRowsPerPage:"Rêz li ser rûpelê:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} of ${n!==-1?n:`zêdetir ji ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stêrk`,emptyLabelText:"Vala"}},MuiAutocomplete:{defaultProps:{clearText:"Paqij bike",closeText:"Bigre",loadingText:"Tê barkirin…",noOptionsText:"Vebijêrk tune",openText:"Veke"}},MuiAlert:{defaultProps:{closeText:"Bigre"}},MuiPagination:{defaultProps:{"aria-label":"Navîgasyona rûpelan",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Biçe "}rûpel ${t}`:e==="first"?"Biçe rûpela yekem":e==="last"?"Biçe rûpela dawî":e==="next"?"Biçe rûpela din":"Biçe rûpela berê"}}}},G9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Толық жолды көрсету"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Бірінші бетке өту":e==="last"?"Соңғы бетке өту":e==="next"?"Келесі бетке өту":"Алдыңғы бетке өту",labelRowsPerPage:"Беттегі қатарлар:",labelDisplayedRows:({from:e,to:t,count:n})=>`${n!==-1?n:`+${t}`} қатардың ішінен ${e}–${t}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} жұлдыз`,emptyLabelText:"Рейтинг жоқ"}},MuiAutocomplete:{defaultProps:{clearText:"Тазарту",closeText:"Жабу",loadingText:"Жүктелуде…",noOptionsText:"Қол жетімді нұсқалар жоқ",openText:"Ашу"}},MuiAlert:{defaultProps:{closeText:"Жабу"}},MuiPagination:{defaultProps:{"aria-label":"Беттерді шарлау",getItemAriaLabel:(e,t,n)=>e==="page"?n?`${t} — бет`:`${t} — бетке өту`:e==="first"?"Бірінші бетке өту":e==="last"?"Соңғы бетке өту":e==="next"?"Келесі бетке өту":"Алдыңғы бетке өту"}}}},q9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Прикажи патека"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Оди на прва страница":e==="last"?"Оди на последна страница":e==="next"?"Оди на следна страница":"Оди на предходна страница",labelRowsPerPage:"Редови по страница:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} од ${n!==-1?n:`повеќе од ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} Ѕвезд${t===1?"а":"и"}`},emptyLabelText:"Празно"}},MuiAutocomplete:{defaultProps:{clearText:"Избриши",closeText:"Затвори",loadingText:"Се презема",noOptionsText:"Нема опција",openText:"Отвори"}},MuiAlert:{defaultProps:{closeText:"Затвори"}},MuiPagination:{defaultProps:{"aria-label":"Навигација низ страници",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Оди на "}страница ${t}`:e==="first"?"Оди на прва страница":e==="last"?"Оди на последна страница":e==="next"?"Оди на следна страница":"Оди на предходна страница"}}}},K9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"လမ်းကြောင်းပြပါ။"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ပထမစာမျက်နှာသို့သွားပါ။":e==="last"?"နောက်ဆုံးစာမျက်နှာသို့သွားပါ။":e==="next"?"နောက်စာမျက်နှာသို့သွားပါ။":"ယခင်စာမျက်နှာသို့သွားပါ။",labelRowsPerPage:"စာမျက်နှာအလိုက် အတန်းများ:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} ၏ ${n!==-1?n:`ထက်ပိုပြီး ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} ကြယ်ပွင့်${t===1?"၎":""}`},emptyLabelText:"ဗလာ"}},MuiAutocomplete:{defaultProps:{clearText:"ရှင်းလင်းသော",closeText:"ပိတ်လိုက်",loadingText:"ဖွင့်နေသည်…",noOptionsText:"ရွေးချယ်ခွင့်မရှိပါ။",openText:"ဖွင့်သည်။"}},MuiAlert:{defaultProps:{closeText:"ပိတ်လိုက်"}},MuiPagination:{defaultProps:{"aria-label":"Pagination အညွှန်း",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"သွားပါ။ "}စာမျက်နှာ ${t}`:e==="first"?"ပထမစာမျက်နှာသို့သွားပါ။":e==="last"?"နောက်ဆုံးစာမျက်နှာသို့သွားပါ။":e==="next"?"နောက်စာမျက်နှာသို့သွားပါ။":"ယခင်စာမျက်နှာသို့သွားပါ။"}}}},Z9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Tunjukkan laluan"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Pergi ke halaman pertama":e==="last"?"Pergi ke halaman terakhir":e==="next"?"Pergi ke halaman seterusnya":"Pergi ke halaman sebelumnya",labelRowsPerPage:"Baris setiap halaman:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} daripada ${n!==-1?n:`lebih daripada ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} Bintang${t===1?"s":""}`},emptyLabelText:"kosong"}},MuiAutocomplete:{defaultProps:{clearText:"Jelas",closeText:"tutup",loadingText:"Memuatkan…",noOptionsText:"Tiada pilihan",openText:"Buka"}},MuiAlert:{defaultProps:{closeText:"tutup"}},MuiPagination:{defaultProps:{"aria-label":"Navigasi penomboran",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Pergi ke "}muka surat ${t}`:e==="first"?"Pergi ke halaman pertama":e==="last"?"Pergi ke halaman terakhir":e==="next"?"Pergi ke halaman seterusnya":"Pergi ke halaman sebelumnya"}}}},Q9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"बाटो देखाउनुहोस्"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"पहिलो पृष्ठमा जानुहोस्":e==="last"?"अन्तिम पृष्ठमा जानुहोस्":e==="next"?"अर्को पृष्ठमा जानुहोस्":"अघिल्लो पृष्ठमा जानुहोस्",labelRowsPerPage:"प्रति पृष्ठ पङ्क्तिहरू:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} को ${n!==-1?n:`धेरै ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} तारा${t===1?"स":""}`},emptyLabelText:"खाली"}},MuiAutocomplete:{defaultProps:{clearText:"खाली गर्नुहोस्",closeText:"बन्द गर्नुहोस्",loadingText:"लोड हुँदै...",noOptionsText:"कुनै विकल्प छैन",openText:"खोल्नुहोस्"}},MuiAlert:{defaultProps:{closeText:"बन्द गर्नुहोस्"}},MuiPagination:{defaultProps:{"aria-label":"पृष्ठांकन नेभिगेसन",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"जाऊ त्यहाँ "}पृष्ठ ${t}`:e==="first"?"पहिलो पृष्ठमा जानुहोस्":e==="last"?"अन्तिम पृष्ठमा जानुहोस्":e==="next"?"अर्को पृष्ठमा जानुहोस्":"अघिल्लो पृष्ठमा जानुहोस्"}}}},Y9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til forrige side",labelRowsPerPage:"Rader per side:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} av ${n!==-1?n:`mer enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stjerne${e!==1?"r":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Tøm",closeText:"Lukk",loadingText:"Laster inn…",noOptionsText:"Ingen alternativer",openText:"Åpne"}},MuiAlert:{defaultProps:{closeText:"Lukk"}},MuiPagination:{defaultProps:{"aria-label":"Paginering navigasjon",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Gå til "}side ${t}`:e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til forrige side"}}}},X9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til førre side",labelRowsPerPage:"Rader per side:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} av ${n!==-1?n:`fleire enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} stjerne${e!==1?"r":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Tøm",closeText:"Lukk",loadingText:"Lastar inn…",noOptionsText:"Ingen alternativ",openText:"Opna"}},MuiAlert:{defaultProps:{closeText:"Lukk"}},MuiPagination:{defaultProps:{"aria-label":"Navigasjon for paginering",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Gå til "}side ${t}`:e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til førre side"}}}},J9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pad tonen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ga naar eerste pagina":e==="last"?"Ga naar laatste pagina":e==="next"?"Ga naar volgende pagina":"Ga naar vorige pagina",labelRowsPerPage:"Regels per pagina:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} van ${n!==-1?n:`meer dan ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Ster${e!==1?"ren":""}`,emptyLabelText:"Leeg"}},MuiAutocomplete:{defaultProps:{clearText:"Wissen",closeText:"Sluiten",loadingText:"Laden…",noOptionsText:"Geen opties",openText:"Openen"}},MuiAlert:{defaultProps:{closeText:"Sluiten"}},MuiPagination:{defaultProps:{"aria-label":"Navigatie via paginering",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ga naar "}pagina ${t}`:e==="first"?"Ga naar eerste pagina":e==="last"?"Ga naar laatste pagina":e==="next"?"Ga naar volgende pagina":"Ga naar vorige pagina"}}}},eD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaż ścieżkę"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Przejdź do pierwszej strony":e==="last"?"Przejdź do ostatniej strony":e==="next"?"Przejdź do następnej strony":"Przejdź do poprzedniej strony",labelRowsPerPage:"Wierszy na stronę:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} z ${n!==-1?n:`ponad ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="gwiazdek";const n=e%10;return(e<10||e>20)&&n>1&&n<5?t="gwiazdki":e===1&&(t="gwiazdka"),`${e} ${t}`},emptyLabelText:"Brak gwiazdek"}},MuiAutocomplete:{defaultProps:{clearText:"Wyczyść",closeText:"Zamknij",loadingText:"Ładowanie…",noOptionsText:"Brak opcji",openText:"Otwórz"}},MuiAlert:{defaultProps:{closeText:"Zamknij"}},MuiPagination:{defaultProps:{"aria-label":"Nawigacja podziału na strony",getItemAriaLabel:(e,t,n)=>e==="page"?n?`${t}. strona`:`Przejdź do ${t}. strony`:e==="first"?"Przejdź do pierwszej strony":e==="last"?"Przejdź do ostatniej strony":e==="next"?"Przejdź do następnej strony":"Przejdź do poprzedniej strony"}}}},tD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"لاره ښکاره کړه"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"لومړۍ پاڼې ته لاړ شه":e==="last"?"ورستۍ پاڼې ته لاړ شه":e==="next"?"بلی پاڼې ته لاړ شه":"مخکینۍ پاڼې ته لاړ شه",labelRowsPerPage:"په پاڼه کی د کرښو شمیر",labelDisplayedRows:({from:e,to:t,count:n})=>`${n!==-1?n:`${t} زیات له`} ${t}- ${e} د`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستوری`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"پاک کول",closeText:"تړل",loadingText:"... لوډ کیږی",noOptionsText:"بی پایلی",openText:"خلاصول"}},MuiAlert:{defaultProps:{closeText:"تړل"}},MuiPagination:{defaultProps:{"aria-label":"د پاڼو ترتیب",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":" ته لاړ شه"}پاڼې ${t}`:e==="first"?"لومړۍ پاڼی ته لاړ شه":e==="last"?"وروستۍ پاڼې ته لاړه شه":e==="next"?"بلې پاڼې ته لاړ شه":"مخکنۍ پاڼې ته لاړ شه"}}}},nD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ir para a primeira página":e==="last"?"Ir para a última página":e==="next"?"Ir para a próxima página":"Ir para a página anterior",labelRowsPerPage:"Linhas por página:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} de ${n!==-1?n:`mais de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrela${e!==1?"s":""}`,emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"Carregando…",noOptionsText:"Sem opções",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar pela paginação",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ir para a "}página ${t}`:e==="first"?"Ir para a primeira página":e==="last"?"Ir para a última página":e==="next"?"Ir para a próxima página":"Ir para a página anterior"}}}},rD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Primeira página":e==="last"?"Última página":e==="next"?"Próxima página":"Página anterior",labelRowsPerPage:"Linhas por página:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} de ${n!==-1?n:`mais de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrela${e!==1?"s":""}`,emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"A carregar…",noOptionsText:"Sem opções",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar por páginas",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ir para a "}página ${t}`:e==="first"?"Primeira página":e==="last"?"Última página":e==="next"?"Próxima página":"Página anterior"}}}},oD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Arată calea"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Mergi la prima pagină":e==="last"?"Mergi la ultima pagină":e==="next"?"Mergi la pagina următoare":"Mergi la pagina precedentă",labelRowsPerPage:"Rânduri pe pagină:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} St${e!==1?"ele":"ea"}`,emptyLabelText:"Gol"}},MuiAutocomplete:{defaultProps:{clearText:"Șterge",closeText:"Închide",loadingText:"Se încarcă…",noOptionsText:"Nicio opțiune",openText:"Deschide"}},MuiAlert:{defaultProps:{closeText:"Închide"}},MuiPagination:{defaultProps:{"aria-label":"Navigare prin paginare",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Mergi la "}pagina ${t}`:e==="first"?"Mergi la prima pagină":e==="last"?"Mergi la ultima pagină":e==="next"?"Mergi la pagina următoare":"Mergi la pagina precedentă"}}}},iD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaži putanju"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na poslednju stranicu":e==="next"?"Idi na sledeću stranicu":"Idi na prethodnu stranicu",labelRowsPerPage:"Redova po stranici:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} od ${n!==-1?n:`više nego ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10,n=e%100;return[2,3,4].includes(t)&&![12,13,14].includes(n)?"Zvezde":"Zvezda"},emptyLabelText:"Prazno"}},MuiAutocomplete:{defaultProps:{clearText:"Briši",closeText:"Zatvori",loadingText:"Učitavanje…",noOptionsText:"Nema opcija",openText:"Otvori"}},MuiAlert:{defaultProps:{closeText:"Zatvori"}},MuiPagination:{defaultProps:{"aria-label":"Navigacija po stranicama",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Idi na "}stranicu ${t}`:e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na zadnju stranicu":e==="next"?"Idi na sledeću stranicu":"Idi na prethodnu stranicu"}}}},aD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показать полный путь"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перейти на первую страницу":e==="last"?"Перейти на последнюю страницу":e==="next"?"Перейти на следующую страницу":"Перейти на предыдущую страницу",labelRowsPerPage:"Строк на странице:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} из ${n!==-1?n:`более чем ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Звёзд";const n=e%10;return n>1&&n<5?t="Звезды":n===1&&(t="Звезда"),`${e} ${t}`},emptyLabelText:"Рейтинг отсутствует"}},MuiAutocomplete:{defaultProps:{clearText:"Очистить",closeText:"Закрыть",loadingText:"Загрузка…",noOptionsText:"Нет доступных вариантов",openText:"Открыть"}},MuiAlert:{defaultProps:{closeText:"Закрыть"}},MuiPagination:{defaultProps:{"aria-label":"Навигация по страницам",getItemAriaLabel:(e,t,n)=>e==="page"?n?`${t} страница`:`Перейти на ${t} страницу`:e==="first"?"Перейти на первую страницу":e==="last"?"Перейти на последнюю страницу":e==="next"?"Перейти на следующую страницу":"Перейти на предыдущую страницу"}}}},sD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"ගමන් මඟ පෙන්වන්න"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"පළමු පිටුවට යන්න":e==="last"?"අවසාන පිටුවට යන්න":e==="next"?"මීළඟ පිටුවට යන්න":"පෙර පිටුවට යන්න",labelRowsPerPage:"පිටුවක පේළි:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} දක්වා ${n!==-1?n:`${t} ට වැඩි ප්‍රමාණයකින්`}`}},MuiRating:{defaultProps:{getLabelText:e=>`තරු ${e}`,emptyLabelText:"හිස්"}},MuiAutocomplete:{defaultProps:{clearText:"මකන්න",closeText:"වසන්න",loadingText:"නැංවෙමින්…",noOptionsText:"විකල්ප නැත",openText:"විවෘත කරන්න"}},MuiAlert:{defaultProps:{closeText:"වසන්න"}},MuiPagination:{defaultProps:{"aria-label":"පිටු අතර සංචරණය",getItemAriaLabel:(e,t,n)=>e==="page"?`පිටුව ${t} ${n?"":"ට යන්න"}`:e==="first"?"පළමු පිටුවට යන්න":e==="last"?"අවසාන පිටුවට යන්න":e==="next"?"මීළඟ පිටුවට යන්න":"පෙර පිටුවට යන්න"}}}},lD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ukázať cestu "}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ísť na prvú stránku":e==="last"?"Ísť na poslednú stránku":e==="next"?"Ísť na ďaľšiu stránku":"Ísť na predchádzajúcu stránku",labelRowsPerPage:"Riadkov na stránke:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} z ${n!==-1?n:`viac ako ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>e===1?`${e} hviezdička`:e>=2&&e<=4?`${e} hviezdičky`:`${e} hviezdičiek`,emptyLabelText:"Prázdne"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazať",closeText:"Zavrieť",loadingText:"Načítanie…",noOptionsText:"Žiadne možnosti",openText:"Otvoriť"}},MuiAlert:{defaultProps:{closeText:"Zavrieť"}},MuiPagination:{defaultProps:{"aria-label":"Navigácia stránkovanim",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ísť na "}stránku ${t}`:e==="first"?"Ísť na prvú stránku":e==="last"?"Ísť na poslednú stránku":e==="next"?"Ísť na ďaľšiu stránku":"Ísť na predchádzajúcu stránku"}}}},cD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visa sökväg"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå till första sidan":e==="last"?"Gå till sista sidan":e==="next"?"Gå till nästa sida":"Gå till föregående sida",labelRowsPerPage:"Rader per sida:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} av ${n!==-1?n:`fler än ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Stjärnor":"Stjärna"}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Rensa",closeText:"Stäng",loadingText:"Laddar…",noOptionsText:"Inga alternativ",openText:"Öppna"}},MuiAlert:{defaultProps:{closeText:"Stäng"}},MuiPagination:{defaultProps:{"aria-label":"Sidnavigering",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Gå till "}sida ${t}`:e==="first"?"Gå till första sidan":e==="last"?"Gå till sista sidan":e==="next"?"Gå till nästa sida":"Gå till föregående sida"}}}},uD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"แสดงเส้นทาง"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ไปที่หน้าแรก":e==="last"?"ไปที่หน้าสุดท้าย":e==="next"?"ไปที่หน้าถัดไป":"ไปที่หน้าก่อน",labelRowsPerPage:"จำนวนแถวต่อหน้า:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} จาก ${n!==-1?n:`มากกว่า ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ดาว`,emptyLabelText:"ว่างเปล่า"}},MuiAutocomplete:{defaultProps:{clearText:"เคลียร์",closeText:"ปิด",loadingText:"กำลังโหลด…",noOptionsText:"ไม่มีตัวเลือก",openText:"เปิด"}},MuiAlert:{defaultProps:{closeText:"ปิด"}},MuiPagination:{defaultProps:{"aria-label":"",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"ไปที่"}หน้า ${t}`:e==="first"?"ไปที่หน้าแรก":e==="last"?"ไปที่หน้าสุดท้าย":e==="next"?"ไปที่หน้าถัดไป":"ไปที่หน้าก่อน"}}}},dD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu göster"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"İlk sayfaya git":e==="last"?"Son sayfaya git":e==="next"?"Sonraki sayfaya git":"Önceki sayfaya git",labelRowsPerPage:"Sayfa başına satır:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}-${t} / ${n!==-1?n:`${t}'den fazla`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Yıldız`,emptyLabelText:"Boş"}},MuiAutocomplete:{defaultProps:{clearText:"Temizle",closeText:"Kapat",loadingText:"Yükleniyor…",noOptionsText:"Seçenek yok",openText:"Aç"}},MuiAlert:{defaultProps:{closeText:"Kapat"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:(e,t,n)=>e==="page"?`${t}. ${n?"sayfa":"sayfaya git"}`:e==="first"?"İlk sayfaya git":e==="last"?"Son sayfaya git":e==="next"?"Sonraki sayfaya git":"Önceki sayfaya git"}}}},fD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ipakita ang landas"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Pumunta sa unang pahina":e==="last"?"Pumunta sa huling pahina":e==="next"?"Pumunta sa susunod na pahina":"Pumunta sa nakaraang pahina",labelRowsPerPage:"Mga hilera bawat pahina:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} ng ${n!==-1?n:`higit sa ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Bituin${e!==1?"s":""}`,emptyLabelText:"Walang laman"}},MuiAutocomplete:{defaultProps:{clearText:"Maaliwalas",closeText:"Isara",loadingText:"Naglo-load…",noOptionsText:"Walang mga pagpipilian",openText:"Bukas"}},MuiAlert:{defaultProps:{closeText:"Isara"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Pumunta sa"}pahina ${t}`:e==="first"?"Pumunta sa unang pahina":e==="last"?"Pumunta sa huling pahina":e==="next"?"Pumunta sa susunod na pahina":"Pumunta sa nakaraang pahina"}}}},pD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показати шлях сторінок"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перейти на першу сторінку":e==="last"?"Перейти на останню сторінку":e==="next"?"Перейти на наступну сторінку":"Перейти на попередню сторінку",labelRowsPerPage:"Рядків на сторінці:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} з ${n!==-1?n:`понад ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Зірок";const n=e%10;return n>1&&n<5?t="Зірки":n===1&&(t="Зірка"),`${e} ${t}`},emptyLabelText:"Рейтинг відсутній"}},MuiAutocomplete:{defaultProps:{clearText:"Очистити",closeText:"Згорнути",loadingText:"Завантаження…",noOptionsText:"Немає варіантів",openText:"Розгорнути"}},MuiAlert:{defaultProps:{closeText:"Згорнути"}},MuiPagination:{defaultProps:{"aria-label":"Навігація сторінками",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Перейти на "}сторінку ${t}`:e==="first"?"Перейти на першу сторінку":e==="last"?"Перейти на останню сторінку":e==="next"?"Перейти на наступну сторінку":"Перейти на попередню сторінку"}}}},gD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"راستہ دکھائیں"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"پہلے صفحے پر جائیں":e==="last"?"آخری صفحے پر جائیں":e==="next"?"اگلے صفحے پر جائیں":"پچھلے صفحے پر جائیں",labelRowsPerPage:"ایک صفحے پر قطاریں:",labelDisplayedRows:({from:e,to:t,count:n})=>`${n!==-1?`${n} میں سے`:`${t} سے ذیادہ میں سے`} ${e} سے ${t} قطاریں`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستار${e!==1?"ے":"ہ"}`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"کلئیر",closeText:"بند کریں",loadingText:"لوڈ ہو رہا ہے۔۔۔",noOptionsText:"کوئی آپشن نہیں",openText:"کھولیں"}},MuiAlert:{defaultProps:{closeText:"بند کریں"}},MuiPagination:{defaultProps:{"aria-label":"صفحات کی ترتیب",getItemAriaLabel:(e,t,n)=>e==="page"?`صفحہ نمبر ${t}${n?"":" پر جائیں"}`:e==="first"?"پہلے صفحے پر جائیں":e==="last"?"آخری صفحے پر جائیں":e==="next"?"اگلے صفحے پر جائیں":"پچھلے صفحے پر جائیں"}}}},hD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mở ra"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Tới trang đầu tiên":e==="last"?"Tới trang cuối cùng":e==="next"?"Tới trang tiếp theo":"Về trang trước đó",labelRowsPerPage:"Số hàng mỗi trang:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} trong ${n!==-1?n:`nhiều hơn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} sao`,emptyLabelText:"Không có dữ liệu"}},MuiAutocomplete:{defaultProps:{clearText:"Xóa",closeText:"Đóng",loadingText:"Đang tải…",noOptionsText:"Không có lựa chọn nào",openText:"Mở"}},MuiAlert:{defaultProps:{closeText:"Đóng"}},MuiPagination:{defaultProps:{"aria-label":"Thanh điều khiển trang",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Tới "}trang ${t}`:e==="first"?"Tới trang đầu tiên":e==="last"?"Tới trang cuối cùng":e==="next"?"Tới trang tiếp theo":"Về trang trước đó"}}}},mD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展开"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一页":e==="last"?"最后一页":e==="next"?"下一页":"上一页",labelRowsPerPage:"每页行数:",labelDisplayedRows:({from:e,to:t,count:n})=>`第 ${e} 条到第 ${t} 条,${n!==-1?`共 ${n} 条`:`至少 ${t} 条`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 颗星`,emptyLabelText:"无标签"}},MuiAutocomplete:{defaultProps:{clearText:"清空",closeText:"关闭",loadingText:"加载中……",noOptionsText:"没有可用选项",openText:"打开"}},MuiAlert:{defaultProps:{closeText:"关闭"}}}},vD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展開"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一頁":e==="last"?"最後一頁":e==="next"?"下一頁":"上一頁",labelRowsPerPage:"每頁行數:",labelDisplayedRows:({from:e,to:t,count:n})=>`第 ${e} 項至第 ${t} 項,${n!==-1?`共 ${n} 項`:`超過 ${t} 項`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 粒星`,emptyLabelText:"無標籤"}},MuiAutocomplete:{defaultProps:{clearText:"清除",closeText:"關閉",loadingText:"載入中……",noOptionsText:"沒有可用選項",openText:"開啟"}},MuiAlert:{defaultProps:{closeText:"關閉"}}}},yD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展開"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一頁":e==="last"?"最後一頁":e==="next"?"下一頁":"上一頁",labelRowsPerPage:"每頁數量:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e} ~ ${t} / ${n!==-1?n:`${t} 以上`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 顆星`,emptyLabelText:"無標籤"}},MuiAutocomplete:{defaultProps:{clearText:"清空",closeText:"關閉",loadingText:"載入中…",noOptionsText:"沒有可用選項",openText:"打開"}},MuiAlert:{defaultProps:{closeText:"關閉"}}}},bD=Object.freeze(Object.defineProperty({__proto__:null,amET:g9,arEG:h9,arSA:m9,arSD:v9,azAZ:y9,beBY:x9,bgBG:S9,bnBD:b9,caES:w9,csCZ:C9,daDK:_9,deDE:R9,elGR:T9,enUS:P9,esES:k9,etEE:$9,faIR:E9,fiFI:M9,frFR:I9,heIL:O9,hiIN:L9,hrHR:A9,huHU:N9,hyAM:D9,idID:j9,isIS:F9,itIT:B9,jaJP:z9,khKH:H9,kkKZ:G9,koKR:V9,kuCKB:W9,kuLatn:U9,mkMK:q9,msMS:Z9,myMY:K9,nbNO:Y9,neNP:Q9,nlNL:J9,nnNO:X9,plPL:eD,psAF:tD,ptBR:nD,ptPT:rD,roRO:oD,ruRU:aD,siLK:sD,skSK:lD,srRS:iD,svSE:cD,thTH:uD,tlTL:fD,trTR:dD,ukUA:pD,urPK:gD,viVN:hD,zhCN:mD,zhHK:vD,zhTW:yD},Symbol.toStringTag,{value:"Module"}));var fx;(function(e){e.Single="single",e.Multiple="multiple"})(fx||(fx={}));const xD="_toolbar_158fz_3",SD="_actions_158fz_8",wD="_selectLabel_158fz_16",CD="_select_158fz_16",_D="_displayedRows_158fz_21",RD="_selectRoot_158fz_29",TD="_selectIcon_158fz_45",PD="_iconBtnRoot_158fz_56",kD="_iconBtnDisabled_158fz_68",po={toolbar:xD,actions:SD,selectLabel:wD,select:CD,displayedRows:_D,selectRoot:RD,selectIcon:TD,iconBtnRoot:PD,iconBtnDisabled:kD},px={root:po.iconBtnRoot,disabled:po.iconBtnDisabled},$D=e=>{const{className:t="",page:n,onPageChange:r,count:o,rowsPerPage:i}=e;return g.jsxs("div",{className:t,children:[g.jsx(hr,{disableRipple:!0,classes:px,disabled:n===0,onClick:a=>r(a,n-1),children:g.jsx(WA,{size:10},void 0)},void 0),g.jsx(hr,{disableRipple:!0,classes:px,disabled:n>=Math.ceil(o/i)-1,onClick:a=>r(a,n+1),children:g.jsx(UA,{size:10},void 0)},void 0)]},void 0)},ED=e=>{const n=zt().language==="zhCN";return g.jsx(iA,{component:"div",ActionsComponent:r=>g.jsx($D,{...r},void 0),classes:{toolbar:po.toolbar,actions:po.actions,displayedRows:po.displayedRows,selectLabel:po.selectLabel,select:po.select,selectIcon:po.selectIcon},SelectProps:{label:n?"每页显示":"Rows per page",className:po.selectRoot,IconComponent:()=>g.jsx(ia,{size:12},void 0)},labelDisplayedRows:({from:r,to:o,count:i})=>g.jsx(mt,{color:"textSecondary",children:n?g.jsxs(g.Fragment,{children:["共有 ",g.jsx("strong",{children:i},void 0)," 条,第 ",g.jsx("strong",{children:r},void 0),"-",g.jsx("strong",{children:o},void 0),"条"]},void 0):g.jsxs(g.Fragment,{children:[g.jsx("strong",{children:r},void 0),"-",g.jsx("strong",{children:o},void 0)," of"," ",g.jsx("strong",{children:i},void 0)]},void 0)},void 0),...e},void 0)};var gx;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(gx||(gx={}));var hx;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(hx||(hx={}));var mx;(function(e){e.Small="small",e.Medium="medium"})(mx||(mx={}));const MD=function(e,t,n){t.prototype.isBetween=function(r,o,i,a){var s=n(r),l=n(o);a=a||"()";var c=a[0]==="(",u=a[1]===")";return(c?this.isAfter(s,i):!this.isBefore(s,i))&&(u?this.isBefore(l,i):!this.isAfter(l,i))||(c?this.isBefore(s,i):!this.isAfter(s,i))&&(u?this.isAfter(l,i):!this.isBefore(l,i))}},ID=function(e,t,n){var r=function(i,a){if(!a||!a.length||a.length===1&&!a[0]||a.length===1&&Array.isArray(a[0])&&!a[0].length)return null;if(a.length===1&&a[0].length>0){var s=a;a=s[0]}a=a.filter(function(d){return d});var l,c=a;l=c[0];for(var u=1;u=M?D:""+Array(M+1-N.length).join(A)+D},w={s:m,z:function(D){var M=-D.utcOffset(),A=Math.abs(M),N=Math.floor(A/60),E=A%60;return(M<=0?"+":"-")+m(N,2,"0")+":"+m(E,2,"0")},m:function D(M,A){if(M.date()1)return D(B[0])}else{var H=M.name;R[H]=M,E=H}return!N&&E&&(_=E),E||!N&&_},x=function(D,M){if(T(D))return D.clone();var A=typeof M=="object"?M:{};return A.date=D,A.args=arguments,new I(A)},$=w;$.l=P,$.i=T,$.w=function(D,M){return x(D,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var I=function(){function D(A){this.$L=P(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[k]=!0}var M=D.prototype;return M.parse=function(A){this.$d=function(N){var E=N.date,L=N.utc;if(E===null)return new Date(NaN);if($.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var B=E.match(C);if(B){var H=B[2]-1||0,z=(B[7]||"0").substring(0,3);return L?new Date(Date.UTC(B[1],H,B[3]||1,B[4]||0,B[5]||0,B[6]||0,z)):new Date(B[1],H,B[3]||1,B[4]||0,B[5]||0,B[6]||0,z)}}return new Date(E)}(A),this.init()},M.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},M.$utils=function(){return $},M.isValid=function(){return this.$d.toString()!==y},M.isSame=function(A,N){var E=x(A);return this.startOf(N)<=E&&E<=this.endOf(N)},M.isAfter=function(A,N){return x(A)[{label:"Today",startDate:e,endDate:e},{label:"Yesterday",startDate:tt(e).add(-1,"day").toDate(),endDate:tt(e).add(-1,"day").toDate()},{label:"This Week",startDate:tt(e).startOf("week").toDate(),endDate:tt(e).endOf("week").toDate()},{label:"Last Week",startDate:tt(e).add(-1,"week").startOf("week").toDate(),endDate:tt(e).add(-1,"week").endOf("week").toDate()},{label:"Last 7 Days",startDate:tt(e).add(-1,"week").toDate(),endDate:e},{label:"This Month",startDate:tt(e).startOf("month").toDate(),endDate:tt(e).endOf("month").toDate()},{label:"Last Month",startDate:tt(e).add(-1,"month").startOf("month").toDate(),endDate:tt(e).add(-1,"month").endOf("month").toDate()}];LD(new Date);tt(new Date).startOf("week").toDate(),tt(new Date).endOf("week").toDate();const AD="_container_a4vk2_3",ND="_checkedCircle_a4vk2_5",DD="_checked_a4vk2_5",jD="_disabled_a4vk2_60",Ku={container:AD,checkedCircle:ND,checked:DD,disabled:jD},bx=e=>{const{checked:t=!1,disabled:n=!1}=e;return g.jsx("div",{className:Gt(Ku.checkedCircle,{[Ku.checked]:t,[Ku.disabled]:n})},void 0)},xx=rt.forwardRef(function(e,t){const{sx:n,disabled:r,checked:o,className:i,...a}=e;return g.jsx(BL,{ref:t,className:Gt(Ku.container,i),sx:{"&.Mui-disabled":{opacity:.5},...n},disableRipple:!0,disableTouchRipple:!0,color:"default",checkedIcon:g.jsx(bx,{checked:!0,disabled:r},void 0),icon:g.jsx(bx,{disabled:r},void 0),disabled:r,checked:o,...a},void 0)});rt.forwardRef(function(e,t){const{label:n="",...r}=e,o=zt();return n?g.jsx($_,{control:g.jsx(xx,{ref:t,...r},void 0),sx:{margin:0,display:"flex",alignSelf:"center",gap:"8px","& .MuiFormControlLabel-label":{fontSize:14,lineHeight:"135%",fontWeight:400,color:o.black.black1},"& .MuiFormControlLabel-label.Mui-disabled":{opacity:.5,color:o.black.black1},"& .MuiRadio-root":{padding:0,marginRight:0}},label:n},void 0):g.jsx(xx,{ref:t,...r},void 0)});Yd(new Date).startOf("day"),Yd(new Date).endOf("day");tt.extend(MD);tt.extend(ID);const FD="_btnWrapper_mwgh3_3",BD="_titleWrapper_mwgh3_9",xg={btnWrapper:FD,titleWrapper:BD},zD=rt.forwardRef(function(t,n){return g.jsx(m_,{ref:n,...t},void 0)}),HD=e=>{const{handleClose:t,severity:n="info",title:r,message:o,classes:i={root:"",title:"",message:""},icon:a,actions:s,showClose:l=!0,...c}=e,u=zt(),{iconStyles:d}=b.useMemo(()=>{let p=u.blue.blue2;switch(n){case"info":p=u.blue.blue2;break;case"error":p=u.red.red2;break;case"success":p=u.green.green2;break;case"warning":p=u.yellow.yellow2;break}return{iconStyles:{width:"20px",height:"20px",paddingTop:r?"2px":0,"& path":{fill:p}}}},[n,r]),f=g.jsx(hr,{"aria-label":"close",color:"inherit",size:"small",onClick:t,disableRipple:!0,sx:{"&.MuiIconButton-root":{"& path":{fill:u.black.black1},"&:hover":{"& path":{fill:u.black.black2}}}},children:g.jsx(I1,{size:16,fontSize:"inherit"},void 0)},void 0);return g.jsx(zD,{severity:n,variant:"outlined",iconMapping:{success:a||g.jsx(V_,{width:20,height:20,sx:d},void 0),info:a||g.jsx(_m,{width:20,height:20,sx:d},void 0),warning:a||g.jsx(z_,{sx:d},void 0),error:a||g.jsx(H_,{sx:d},void 0)},sx:{boxShadow:"0px 1px 10px 0px rgba(107, 121, 141, 0.30)",padding:"16px",width:"fit-content",borderRadius:"12px",border:"none",backgroundColor:"#FFF","& .MuiAlert-icon":{paddingTop:0,paddingBottom:0,marginRight:"8px"},"& .MuiAlert-message":{display:"flex",alignItems:"center",fontWeight:400,color:u.black.black1,padding:0},"& .MuiAlert-action":{paddingTop:0,paddingRight:"6px"}},action:r||!l?void 0:f,...c,children:g.jsxs("div",{className:Gt(i.root,xg.root),children:[r&&g.jsxs("div",{className:xg.titleWrapper,children:[g.jsx(mt,{variant:"h4Semibold",children:r},void 0),l?f:g.jsx("span",{},void 0)]},void 0),g.jsx(mt,{variant:"body1Regular",component:"div",sx:{whiteSpace:"normal",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:5,WebkitBoxOrient:"vertical",paddingRight:"30px"},className:i.message,children:o},void 0),s&&g.jsx("div",{className:xg.btnWrapper,children:s.confirm&&g.jsx(O1,{variant:"textBlue",withMargin:!1,...s.confirm},void 0)},void 0)]},void 0)},void 0)},Sx=300,wx=({children:e,maxWidth:t="100%",tooltipProps:n={},typographyProps:r={}})=>{const o=b.useRef(null),[i,a]=b.useState(!1),{sx:s={},...l}=r;b.useEffect(()=>{const u=o.current;a(u.scrollWidth>u.offsetWidth||u.scrollHeight>u.offsetHeight)},[]);const c=b.useMemo(()=>{var d;const u=(d=o.current)==null?void 0:d.offsetWidth;return u?u>Sx?u:Sx:"100%"},[o.current]);return g.jsx(bp,{...n,title:i?e:"",sx:{maxWidth:c},children:g.jsx(mt,{component:"div",sx:{maxWidth:t,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",...s},ref:o,...l,children:e},void 0)},void 0)},VD=e=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",...e,children:[g.jsx("path",{d:"M1.47656 33.8702C1.47656 34.5009 3.48086 35.1057 7.04852 35.5517C10.6162 35.9976 15.455 36.2482 20.5004 36.2482C25.5459 36.2482 30.3847 35.9976 33.9523 35.5517C37.52 35.1057 39.5243 34.5009 39.5243 33.8702C39.5243 33.2395 37.52 32.6346 33.9523 32.1887C30.3847 31.7427 25.5459 31.4922 20.5004 31.4922C15.455 31.4922 10.6162 31.7427 7.04852 32.1887C3.48086 32.6346 1.47656 33.2395 1.47656 33.8702Z",fill:"#F0F2F4"},void 0),g.jsx("path",{d:"M36.6449 17.8911V17.8435C36.6449 17.7959 36.6211 17.7722 36.6211 17.7246V17.7008L31.5085 7.53099C30.7713 5.27191 28.6787 3.75 26.3007 3.75H14.6723C12.2944 3.75 10.2017 5.27191 9.46457 7.53099L4.3519 17.7008V17.7246C4.32812 17.7722 4.32812 17.7959 4.32812 17.8435V27.4506C4.32812 30.4706 6.77745 32.9199 9.79748 32.9199H31.1993C34.2194 32.9199 36.6687 30.4706 36.6687 27.4506V17.9386C36.6449 17.9149 36.6449 17.9148 36.6449 17.8911ZM10.7962 8.03037C10.7962 8.03037 10.7962 8.00659 10.82 8.00659C11.3432 6.29444 12.9126 5.17679 14.6723 5.17679H26.2769C28.0366 5.17679 29.6061 6.29444 30.153 7.98281C30.153 7.98281 30.153 8.00659 30.1768 8.00659L34.909 17.2015H24.0416C23.6373 17.2015 23.3282 17.5106 23.3282 17.9148C23.3282 19.4843 22.0441 20.7684 20.4746 20.7684C18.9052 20.7684 17.621 19.4843 17.621 17.9148C17.621 17.5106 17.3119 17.2015 16.9077 17.2015H6.06405L10.7962 8.03037Z",fill:"#D1D6DC"},void 0),g.jsx("path",{d:"M35.2428 27.2126C35.2428 29.4479 33.4356 31.2552 31.2003 31.2552H9.79843C7.56313 31.2552 5.75586 29.4479 5.75586 27.2126V18.4141H16.2903C16.6232 20.4353 18.3829 21.981 20.4994 21.981C22.6158 21.981 24.3755 20.4353 24.7084 18.4141H35.2428V27.2126Z",fill:"#E0E3E7"},void 0)]},void 0),WD="_empty_1tvs0_3",UD="_text_1tvs0_13",Cx={empty:WD,text:UD};var Va;(function(e){e.Left="left",e.Right="right"})(Va||(Va={}));const GD=b.forwardRef((e,t)=>{const{autoWidth:n,placeholder:r,options:o,onChange:i,onSelectChange:a,onClose:s,onOpen:l,disabled:c=!1,label:u,sxProps:d={},defaultValue:f="",maxWidth:p,classes:{root:h,label:y,container:C,select:v,placeholder:S}={},MenuProps:m,value:w="",size:_="medium",renderValue:R,empty:k={},selectorTooltip:T={},endAdornment:P,...x}=e,[$,I]=b.useState(""),O=zt(),D=L=>{const B=L.target.value;if(I(B),Array.isArray(B)){const z=o.filter(j=>B.includes(j.value)&&!j.disabled);a?a(L,z):i(z);return}const H=o.find(z=>z.value===B);H!=null&&H.disabled||(a?a(L,H):i(H))};b.useEffect(()=>{I(w)},[w]),b.useEffect(()=>{I(f)},[f]);const M=b.useMemo(()=>_==="small"?{minWidth:"83px",height:28,iconRightOffset:"8px",select:{padding:`6px ${P?"65px":"32px"} 6px 8px`,minHeight:"16px",fontSize:"13px",lineHeight:"135%",borderRadius:"6px"},placeholderVariant:"body2Regular"}:{minWidth:"120px",height:36,iconRightOffset:"12px",select:{padding:`8px ${P?"74px":"38px"} 8px 12px`,minHeight:"20px",fontSize:"14px",lineHeight:"135%",borderRadius:"8px"},placeholderVariant:"body1Regular"},[_,P]),A=b.useMemo(()=>f===""&&w===""?r?()=>g.jsx(mt,{variant:M.placeholderVariant,sx:{color:O.black.black3,...d.sxPlaceHolder},className:S,children:r},void 0):R:R||void 0,[f,w,r,R,M]),N=L=>L==="small"?12:14,E=P?L=>g.jsxs(Or,{sx:{height:M.height,display:"flex",gap:_==="small"?"10px":"12px",position:"absolute",right:"12px",userSelect:"none",pointerEvents:"none",alignItems:"center"},children:[g.jsx(ia,{size:N(_)},void 0),g.jsx(Or,{sx:{height:"100%",width:"1px",backgroundColor:O.stroke.stroke1}},void 0),g.jsx(mt,{component:"div",variant:"body2Regular",children:P},void 0)]},void 0):L=>g.jsx(ia,{size:N(_),...L},void 0);return g.jsxs(mt,{component:"div",sx:{display:"flex",flexDirection:"column",gap:"8px",...d.sxRoot},className:h,children:[u&&g.jsx(mt,{component:"label",variant:"h4Medium",sx:{marginTop:O.spacing(1),...d.sxLabel},className:y,children:u},void 0),g.jsx(Mc,{tooltip:T,children:g.jsx(Or,{sx:{position:"relative",display:"inline-block",verticalAlign:"baseline",backgroundColor:c?O.black.black5:"#fff",borderRadius:M.select.borderRadius,width:"100%",...d.sxSelectContainer},className:C,children:g.jsx(vp,{autoWidth:n,value:w||$,onChange:c?()=>{}:D,onClose:s,onOpen:l,disabled:c,displayEmpty:!0,IconComponent:E,className:v,renderValue:A,MenuProps:{sx:{"& .MuiPaper-root":{marginTop:"6px",background:O.palette.common.white,boxShadow:aa,border:`1px solid ${O.stroke.stroke1}`,borderRadius:"8px","& > ul.MuiList-root":{padding:"6px 0","& li":{margin:"4px 0"}}},...d.sxMenu},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{sx:{maxHeight:"50vh"}},...m},sx:{width:n?"auto":"100%",minWidth:M.minWidth,height:M.height,transition:"all 0.2s",borderRadius:M.select.borderRadius,"& fieldset":{border:`1px solid ${O.stroke.stroke1}`,borderRadius:M.select.borderRadius,boxShadow:aa},"& > .MuiSelect-icon":{right:M.iconRightOffset,top:"auto",bottom:"auto",transform:"rotate(0)","& path":{fill:O.black.black1}},"&.Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.blue.blue1}`,boxShadow:`0px 0px 0px 4px ${O.blue.blue4}, ${pr}`,zIndex:"999"},"&.Mui-focused:hover fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.blue.blue1}`,boxShadow:"none"},"&.Mui-error":{transition:"none","&.Mui-error fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.red.red2}`,boxShadow:`0px 0px 0px 4px ${O.red.red4}, ${pr}`},"&.Mui-error:hover fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.red.red2}`,boxShadow:"none"}},"& .MuiSelect-select":{padding:M.select.padding,minHeight:M.select.minHeight,fontSize:M.select.fontSize,lineHeight:M.select.lineHeight,boxSizing:"border-box",".MuiTypography-root":{fontSize:M.select.fontSize,lineHeight:M.select.lineHeight},"& p":{fontSize:M.select.fontSize,lineHeight:M.select.lineHeight},"& span":{fontSize:M.select.fontSize,lineHeight:M.select.lineHeight}},"&:hover":{backgroundColor:c?"unset":O.palette.common.white,"&:not(.Mui-error)":{boxShadow:c?"none":`0px 0px 0px 4px ${O.blue.blue4}, ${pr}`},"&.Mui-error":{boxShadow:`0px 0px 0px 4px ${O.red.red4}, ${pr}`},"& fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"transparent"}},"&:focus":{"& fieldset":{borderColor:O.blue.blue1,boxShadow:`0px 0px 0px 4px ${O.blue.blue4}, ${pr}`}},"&.Mui-disabled":{color:O.black.black3,"& > .MuiSelect-icon path":{fill:O.black.black3},"& fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.stroke.stroke1}`}},...d.sxSelect},...x,children:o.length>0?o.map(L=>KD(L,O,d.sxMenuItem,p)):g.jsx(qD,{...k},void 0)},void 0)},void 0)},void 0)]},void 0)}),qD=e=>{const{label:t,component:n,classes:r={root:"",text:"",img:""}}=e,o=zt();return g.jsx($c,{sx:{"&.Mui-disabled":{opacity:1,pointerEvents:"inherit","&:hover":{backgroundColor:"unset"}}},disabled:!0,children:n||g.jsxs("div",{className:Gt(Cx.empty,r.root),children:[g.jsx(VD,{className:r.img},void 0),g.jsx(mt,{component:"div",className:Gt(Cx.text,r.text),children:t||Kd(Ae.NoOptions,o.language)},void 0)]},void 0)},void 0)},KD=(e,t,n,r)=>{const{generateCustomEle:o,icon:i,label:a,tooltip:s,disabled:l,id:c,value:u,iconPosition:d=Va.Left}=e;if(o)return o();const f=({id:p,value:h,disabled:y,icon:C,label:v,iconPosition:S=Va.Left})=>g.jsx($c,{value:h,disableRipple:!0,disableTouchRipple:!0,disabled:y||!1,sx:{maxWidth:r||"inherit",padding:"8px 16px","&.Mui-disabled":{opacity:1,backgroundColor:"transparent",pointerEvents:"inherit","& > div":{color:t.black.black3}},"&.Mui-selected.Mui-focusVisible":{backgroundColor:t.palette.common.white},"&.Mui-selected":{backgroundColor:t.palette.common.white,"& > * span":{color:t.blue.blue1},"& > .MuiTypography-root":{color:t.blue.blue1}},"&:not(.Mui-disabled):hover":{backgroundColor:t.black.black5},...n},children:C?g.jsxs(mt,{component:"div",sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:"8px"},children:[S===Va.Left?C:null,g.jsx(wx,{typographyProps:{component:"span"},maxWidth:r?r-50:void 0,children:v},void 0),S===Va.Right?C:null]},void 0):g.jsx(wx,{maxWidth:r||void 0,typographyProps:{sx:{minWidth:10}},children:v},void 0)},p===void 0?h:p);return l&&s?g.jsx(Mc,{tooltip:s,children:f({id:c,value:u,disabled:l,icon:i,label:a,iconPosition:d})},c):f({id:c,value:u,disabled:l,icon:i,label:a,iconPosition:d})},q_=b.forwardRef((e,t)=>{const{options:n,handleChange:r,handleInputChange:o,inputParams:i={},fullWidth:a=!0,sx:s={},size:l,...c}=e,u=zt(),d=(h,y)=>{r&&r(y)},f=(h,y)=>{o&&o(y)},p=b.useMemo(()=>l==="small"?{height:28,iconRightOffset:"8px",select:{padding:"6px 32px 6px 8px",fontSize:"13px",lineHeight:"135%",endIconRight:"1px",borderRadius:"6px"}}:{height:36,iconRightOffset:"12px",select:{padding:"8px 38px 8px 12px",fontSize:"14px",lineHeight:"135%",endIconRight:"3px",borderRadius:"8px"}},[l]);return g.jsx(wI,{disablePortal:!0,sx:{"& .MuiOutlinedInput-root":{minHeight:p.height,padding:p.select.padding,borderRadius:p.select.borderRadius,".MuiOutlinedInput-notchedOutline":{borderColor:u.stroke.stroke1,boxShadow:aa},"&:hover":{cursor:"pointer","& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent",boxShadow:`0px 0px 0px 4px ${u.blue.blue4}, ${pr}`}},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${u.blue.blue1}`,boxShadow:`0px 0px 0px 4px ${u.blue.blue4}, ${pr}`}},"& input.MuiInputBase-input":{fontSize:p.select.fontSize,lineHeight:p.select.lineHeight,padding:0,height:"auto"}},"& .MuiIconButton-root:hover":{background:"none"},"& div.MuiAutocomplete-endAdornment":{top:"calc(50% - 2px)",paddingRight:p.select.endIconRight},"& .MuiAutocomplete-popupIndicatorOpen":{transform:"none"},...s},PaperComponent:h=>g.jsx(Is,{sx:{marginTop:"6px",background:u.palette.common.white,boxShadow:aa,border:`1px solid ${u.stroke.stroke1}`,borderRadius:p.select.borderRadius,".MuiAutocomplete-listbox":{".MuiAutocomplete-option":{backgroundColor:u.palette.common.white,padding:"8px 16px","&:hover":{backgroundColor:`${u.black.black5} `}}},"& .MuiAutocomplete-option":{fontSize:p.select.fontSize,lineHeight:p.select.lineHeight},'& .MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:`${u.palette.common.white} !important`,color:u.blue.blue1}},...h},void 0),popupIcon:g.jsx(ia,{size:14,style:{color:u.black.black1}},void 0),clearIcon:null,onChange:d,onInputChange:f,fullWidth:a,ref:t,componentsProps:{popupIndicator:{disableRipple:!0}},size:l,...c,options:n,renderInput:h=>g.jsx(N1,{...h,...i},void 0)},void 0)});function ZD(e){return{id:`z-tab-${e}`,"aria-controls":`z-tabpanel-${e}`}}const QD=e=>{const{value:t,handleChange:n,labelConfigs:r=[],size:o="medium",tabsType:i="indicator",color:a,...s}=e;if(t===void 0||!n||!r.length)throw new Error("Props value, handleChange and labels are required");const l=zt(),{tabsStyle:c,tabStyle:u}=b.useMemo(()=>({tabStyle:{fontSize:o==="small"?"11px":"14px",lineHeight:o==="small"?"120%":"135%",minHeight:o==="small"?"20px":"28px",marginRight:i==="indicator"?"24px":"10px",padding:o==="small"?"4px 8px":"6px 12px",fontWeight:o==="small"?400:500},tabsStyle:{minHeight:i==="background"?"32px":"36px"}}),[i,o]);return g.jsxs(MA,{...s,value:t,onChange:n,"aria-label":"tab",sx:{...c,".MuiTabs-indicator":{display:i!=="indicator"?"none":"block",backgroundColor:l.blue.blue1}},children:[r.map((d,f)=>b.createElement(m7,{disableRipple:!0,...d,sx:{"&:hover":{color:l.black.black1},color:l.black.black2,borderRadius:"6px",minWidth:0,textTransform:"inherit",...u,"&.Mui-selected":{backgroundColor:i==="background"?a||l.black.black4:"transparent",color:i==="text"?l.blue.blue1:l.black.black1},...d.sx},key:f,...ZD(f)})),g.jsx(Or,{sx:{position:"absolute",left:0,bottom:"1px",right:0,height:"1px",backgroundColor:l.stroke.stroke1,display:i==="indicator"?"block":"none"}},void 0)]},void 0)};b.forwardRef((e,t)=>{const n=zt(),{sx:r,disabled:o,...i}=e;return g.jsx(f7,{ref:t,focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,disabled:o,sx:{width:"30px",height:"18px",padding:0,borderRadius:"12px","&.MuiSwitch-root":{boxSizing:"inherit",borderRadius:"12px",border:"3px solid transparent","&:hover":{border:o?"3px solid transparent":`3px solid ${n.blue.blue4}`}},"& .MuiSwitch-switchBase":{padding:0,margin:"2px",transitionDuration:"300ms","&.Mui-disabled":{color:"#fff"},"&.Mui-disabled+.MuiSwitch-track":{opacity:.5,backgroundColor:n.stroke.stroke1},"&.Mui-checked":{transform:"translateX(12px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:n.blue.blue1,opacity:1,border:0},"&.Mui-disabled":{color:"#fff","& .MuiSwitch-thumb":{backgroundImage:`url('data:image/svg+xml,%3Csvg width="8" height="5" viewBox="0 0 8 5" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath opacity="0.5" d="M7.07386 0.267169L7.0742 0.266888L7.06621 0.258615C6.93931 0.1272 6.73491 0.126882 6.60764 0.257662L3.10802 3.77259L1.40194 2.0546C1.27467 1.92373 1.0702 1.92401 0.943272 2.05546C0.818909 2.18425 0.818909 2.38743 0.943272 2.51622L0.943261 2.51623L0.944741 2.51772L2.7084 4.29369C2.81588 4.40452 2.96228 4.45981 3.0982 4.45981C3.24579 4.45981 3.38185 4.40316 3.48793 4.29377L7.04276 0.723374C7.18062 0.595374 7.17948 0.394776 7.07386 0.267169ZM3.16713 3.83211L3.16614 3.83111C3.16648 3.83145 3.1668 3.83179 3.16712 3.83212L3.16713 3.83211Z" fill="%233F46FF" stroke="%233F46FF" stroke-width="0.3"/%3E%3C/svg%3E')`}},"& .MuiSwitch-thumb":{backgroundImage:`url('data:image/svg+xml,%3Csvg width="8" height="5" viewBox="0 0 8 5" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M7.07386 0.267169L7.0742 0.266888L7.06621 0.258615C6.93931 0.1272 6.73491 0.126882 6.60764 0.257662L3.10802 3.77259L1.40194 2.0546C1.27467 1.92373 1.0702 1.92401 0.943272 2.05546C0.818909 2.18425 0.818909 2.38743 0.943272 2.51622L0.943261 2.51623L0.944741 2.51772L2.7084 4.29369C2.81588 4.40452 2.96228 4.45981 3.0982 4.45981C3.24579 4.45981 3.38185 4.40316 3.48793 4.29377L7.04276 0.723374C7.18062 0.595374 7.17948 0.394776 7.07386 0.267169ZM3.16713 3.83211L3.16614 3.83111C3.16648 3.83145 3.1668 3.83179 3.16712 3.83212L3.16713 3.83211Z" fill="%233F46FF" stroke="%233F46FF" stroke-width="0.3"/%3E%3C/svg%3E')`,backgroundRepeat:"no-repeat",backgroundPosition:"center 60%"},"&.Mui-disabled+.MuiSwitch-track":{opacity:.5}},"&:hover":{backgroundColor:"transparent"}},"& .MuiSwitch-thumb":{width:"12px",height:"12px",boxShadow:"none",margin:"1px 0 0 1px"},"& .MuiSwitch-track":{backgroundColor:n.stroke.stroke2,transition:n.transitions.create(["background-color"],{duration:500}),borderRadius:"10px",opacity:1},...r},...i},void 0)});var bs;(function(e){e.PY="python",e.JS="javascript",e.JAVA="java",e.BASH="bash"})(bs||(bs={}));function YD(e,t){if(e==null)return{};var n,r,o=Ms(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(t=e.length);for(var n=0,r=Array(t);n=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var Sg={};function rj(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Sg[t]||(Sg[t]=nj(e)),Sg[t]}function oj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(i){return i!=="token"}),o=rj(r);return o.reduce(function(i,a){return Wa(Wa({},i),n[a])},t)}function Rx(e){return e.join(" ")}function ij(e,t){var n=0;return function(r){return n+=1,r.map(function(o,i){return Z_({node:o,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})})}}function Z_(e){var t=e.node,n=e.stylesheet,r=e.style,o=r===void 0?{}:r,i=e.useInlineStyles,a=e.key,s=t.properties,l=t.type,c=t.tagName,u=t.value;if(l==="text")return u;if(c){var d=ij(n,i),f;if(!i)f=Wa(Wa({},s),{},{className:Rx(s.className)});else{var p=Object.keys(n).reduce(function(v,S){return S.split(".").forEach(function(m){v.includes(m)||v.push(m)}),v},[]),h=s.className&&s.className.includes("token")?["token"]:[],y=s.className&&h.concat(s.className.filter(function(v){return!p.includes(v)}));f=Wa(Wa({},s),{},{className:Rx(y)||void 0,style:oj(s.className,Object.assign({},s.style,o),n)})}var C=d(t.children);return rt.createElement(c,Ln({key:a},f),C)}}const aj=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var sj=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Tx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Qo(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return Zu({children:_,lineNumber:R,lineNumberStyle:s,largestLineNumber:a,showInlineLineNumbers:o,lineProps:n,className:k,showLineNumbers:r,wrapLongLines:l,wrapLines:t})}function y(_,R){if(r&&R&&o){var k=Y_(s,R,a);_.unshift(Q_(R,k))}return _}function C(_,R){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||k.length>0?h(_,R,k):y(_,R)}for(var v=function(){var R=u[p],k=R.children[0].value,T=cj(k);if(T){var P=k.split(` +`);P.forEach(function(x,$){var I=r&&d.length+i,O={type:"text",value:"".concat(x,` +`)};if($===0){var D=u.slice(f+1,p).concat(Zu({children:[O],className:R.properties.className})),M=C(D,I);d.push(M)}else if($===P.length-1){var A=u[p+1]&&u[p+1].children&&u[p+1].children[0],N={type:"text",value:"".concat(x)};if(A){var E=Zu({children:[N],className:R.properties.className});u.splice(p+1,0,E)}else{var L=[N],B=C(L,I,R.properties.className);d.push(B)}}else{var H=[O],z=C(H,I,R.properties.className);d.push(z)}}),f=p}p++};p/g,">").replace(/"/g,""").replace(/'/g,"'")}function Yo(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const o in r)n[o]=r[o]}),n}const yj="",kx=e=>!!e.kind;class bj{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=Ja(t)}openNode(t){if(!kx(t))return;let n=t.kind;t.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(t){kx(t)&&(this.buffer+=yj)}value(){return this.buffer}span(t){this.buffer+=``}}class j1{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n={kind:t,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{j1._collapse(n)}))}}class xj extends j1{constructor(t){super(),this.options=t}addKeyword(t,n){t!==""&&(this.openNode(n),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,n){const r=t.root;r.kind=n,r.sublanguage=!0,this.add(r)}toHTML(){return new bj(this,this.options).value()}finalize(){return!0}}function Sj(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function fc(e){return e?typeof e=="string"?e:e.source:null}function wj(...e){return e.map(n=>fc(n)).join("")}function Cj(...e){return"("+e.map(n=>fc(n)).join("|")+")"}function _j(e){return new RegExp(e.toString()+"|").exec("").length-1}function Rj(e,t){const n=e&&e.exec(t);return n&&n.index===0}const Tj=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Pj(e,t="|"){let n=0;return e.map(r=>{n+=1;const o=n;let i=fc(r),a="";for(;i.length>0;){const s=Tj.exec(i);if(!s){a+=i;break}a+=i.substring(0,s.index),i=i.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+o):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(t)}const kj=/\b\B/,tR="[a-zA-Z]\\w*",F1="[a-zA-Z_]\\w*",B1="\\b\\d+(\\.\\d+)?",nR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",rR="\\b(0b[01]+)",$j="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Ej=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=wj(t,/.*\b/,e.binary,/\b.*/)),Yo({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},pc={begin:"\\\\[\\s\\S]",relevance:0},Mj={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[pc]},Ij={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[pc]},oR={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},xp=function(e,t,n={}){const r=Yo({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(oR),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},Oj=xp("//","$"),Lj=xp("/\\*","\\*/"),Aj=xp("#","$"),Nj={className:"number",begin:B1,relevance:0},Dj={className:"number",begin:nR,relevance:0},jj={className:"number",begin:rR,relevance:0},Fj={className:"number",begin:B1+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},Bj={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[pc,{begin:/\[/,end:/\]/,relevance:0,contains:[pc]}]}]},zj={className:"title",begin:tR,relevance:0},Hj={className:"title",begin:F1,relevance:0},Vj={begin:"\\.\\s*"+F1,relevance:0},Wj=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var vu=Object.freeze({__proto__:null,MATCH_NOTHING_RE:kj,IDENT_RE:tR,UNDERSCORE_IDENT_RE:F1,NUMBER_RE:B1,C_NUMBER_RE:nR,BINARY_NUMBER_RE:rR,RE_STARTERS_RE:$j,SHEBANG:Ej,BACKSLASH_ESCAPE:pc,APOS_STRING_MODE:Mj,QUOTE_STRING_MODE:Ij,PHRASAL_WORDS_MODE:oR,COMMENT:xp,C_LINE_COMMENT_MODE:Oj,C_BLOCK_COMMENT_MODE:Lj,HASH_COMMENT_MODE:Aj,NUMBER_MODE:Nj,C_NUMBER_MODE:Dj,BINARY_NUMBER_MODE:jj,CSS_NUMBER_MODE:Fj,REGEXP_MODE:Bj,TITLE_MODE:zj,UNDERSCORE_TITLE_MODE:Hj,METHOD_GUARD:Vj,END_SAME_AS_BEGIN:Wj});function Uj(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Gj(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Uj,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function qj(e,t){Array.isArray(e.illegal)&&(e.illegal=Cj(...e.illegal))}function Kj(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Zj(e,t){e.relevance===void 0&&(e.relevance=1)}const Qj=["of","and","for","in","not","or","if","then","parent","list","value"],Yj="keyword";function iR(e,t,n=Yj){const r={};return typeof e=="string"?o(n,e.split(" ")):Array.isArray(e)?o(n,e):Object.keys(e).forEach(function(i){Object.assign(r,iR(e[i],t,i))}),r;function o(i,a){t&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[i,Xj(l[0],l[1])]})}}function Xj(e,t){return t?Number(t):Jj(e)?0:1}function Jj(e){return Qj.includes(e.toLowerCase())}function eF(e,{plugins:t}){function n(s,l){return new RegExp(fc(s),"m"+(e.case_insensitive?"i":"")+(l?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,l]),this.matchAt+=_j(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(c=>c[1]);this.matcherRe=n(Pj(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(l);if(!c)return null;const u=c.findIndex((f,p)=>p>0&&f!==void 0),d=this.matchIndexes[u];return c.splice(0,u),Object.assign(c,d)}}class o{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const c=new r;return this.rules.slice(l).forEach(([u,d])=>c.addRule(u,d)),c.compile(),this.multiRegexes[l]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,c){this.rules.push([l,c]),c.type==="begin"&&this.count++}exec(l){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let u=c.exec(l);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,u=d.exec(l)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(s){const l=new o;return s.contains.forEach(c=>l.addRule(c.begin,{rule:c,type:"begin"})),s.terminatorEnd&&l.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&l.addRule(s.illegal,{type:"illegal"}),l}function a(s,l){const c=s;if(s.isCompiled)return c;[Kj].forEach(d=>d(s,l)),e.compilerExtensions.forEach(d=>d(s,l)),s.__beforeBegin=null,[Gj,qj,Zj].forEach(d=>d(s,l)),s.isCompiled=!0;let u=null;if(typeof s.keywords=="object"&&(u=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=iR(s.keywords,e.case_insensitive)),s.lexemes&&u)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return u=u||s.lexemes||/\w+/,c.keywordPatternRe=n(u,!0),l&&(s.begin||(s.begin=/\B|\b/),c.beginRe=n(s.begin),s.endSameAsBegin&&(s.end=s.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(c.endRe=n(s.end)),c.terminatorEnd=fc(s.end)||"",s.endsWithParent&&l.terminatorEnd&&(c.terminatorEnd+=(s.end?"|":"")+l.terminatorEnd)),s.illegal&&(c.illegalRe=n(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(d){return tF(d==="self"?s:d)})),s.contains.forEach(function(d){a(d,c)}),s.starts&&a(s.starts,l),c.matcher=i(c),c}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Yo(e.classNameAliases||{}),a(e)}function aR(e){return e?e.endsWithParent||aR(e.starts):!1}function tF(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Yo(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:aR(e)?Yo(e,{starts:e.starts?Yo(e.starts):null}):Object.isFrozen(e)?Yo(e):e}var nF="10.7.3";function rF(e){return!!(e||e==="")}function oF(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,Ja(this.code);let r={};return this.autoDetect?(r=e.highlightAuto(this.code),this.detectedLanguage=r.language):(r=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),r.value},autoDetect(){return!this.language||rF(this.autodetect)},ignoreIllegals(){return!0}},render(r){return r("pre",{},[r("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(r){r.component("highlightjs",t)}}}}const iF={"after:highlightElement":({el:e,result:t,text:n})=>{const r=$x(e);if(!r.length)return;const o=document.createElement("div");o.innerHTML=t.value,t.value=aF(r,$x(o),n)}};function Pm(e){return e.nodeName.toLowerCase()}function $x(e){const t=[];return function n(r,o){for(let i=r.firstChild;i;i=i.nextSibling)i.nodeType===3?o+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:o,node:i}),o=n(i,o),Pm(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:o,node:i}));return o}(e,0),t}function aF(e,t,n){let r=0,o="";const i=[];function a(){return!e.length||!t.length?e.length?e:t:e[0].offset!==t[0].offset?e[0].offset"}function l(u){o+=""}function c(u){(u.event==="start"?s:l)(u.node)}for(;e.length||t.length;){let u=a();if(o+=Ja(n.substring(r,u[0].offset)),r=u[0].offset,u===e){i.reverse().forEach(l);do c(u.splice(0,1)[0]),u=a();while(u===e&&u.length&&u[0].offset===r);i.reverse().forEach(s)}else u[0].event==="start"?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return o+Ja(n.substr(r))}const Ex={},wg=e=>{console.error(e)},Mx=(e,...t)=>{console.log(`WARN: ${e}`,...t)},sr=(e,t)=>{Ex[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Ex[`${e}/${t}`]=!0)},Cg=Ja,Ix=Yo,Ox=Symbol("nomatch"),sF=function(e){const t=Object.create(null),n=Object.create(null),r=[];let o=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,a="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:xj};function c(j){return l.noHighlightRe.test(j)}function u(j){let F=j.className+" ";F+=j.parentNode?j.parentNode.className:"";const W=l.languageDetectRe.exec(F);if(W){const V=M(W[1]);return V||(Mx(a.replace("{}",W[1])),Mx("Falling back to no-highlight mode for this block.",j)),V?W[1]:"no-highlight"}return F.split(/\s+/).find(V=>c(V)||M(V))}function d(j,F,W,V){let ee="",re="";typeof F=="object"?(ee=j,W=F.ignoreIllegals,re=F.language,V=void 0):(sr("10.7.0","highlight(lang, code, ...args) has been deprecated."),sr("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),re=j,ee=F);const U={code:ee,language:re};B("before:highlight",U);const K=U.result?U.result:f(U.language,U.code,W,V);return K.code=U.code,B("after:highlight",K),K}function f(j,F,W,V){function ee(pe,ne){const xe=be.case_insensitive?ne[0].toLowerCase():ne[0];return Object.prototype.hasOwnProperty.call(pe.keywords,xe)&&pe.keywords[xe]}function re(){if(!ge.keywords){Se.addText(ye);return}let pe=0;ge.keywordPatternRe.lastIndex=0;let ne=ge.keywordPatternRe.exec(ye),xe="";for(;ne;){xe+=ye.substring(pe,ne.index);const Le=ee(ge,ne);if(Le){const[fe,oe]=Le;if(Se.addText(xe),xe="",Ge+=oe,fe.startsWith("_"))xe+=ne[0];else{const me=be.classNameAliases[fe]||fe;Se.addKeyword(ne[0],me)}}else xe+=ne[0];pe=ge.keywordPatternRe.lastIndex,ne=ge.keywordPatternRe.exec(ye)}xe+=ye.substr(pe),Se.addText(xe)}function U(){if(ye==="")return;let pe=null;if(typeof ge.subLanguage=="string"){if(!t[ge.subLanguage]){Se.addText(ye);return}pe=f(ge.subLanguage,ye,!0,le[ge.subLanguage]),le[ge.subLanguage]=pe.top}else pe=h(ye,ge.subLanguage.length?ge.subLanguage:null);ge.relevance>0&&(Ge+=pe.relevance),Se.addSublanguage(pe.emitter,pe.language)}function K(){ge.subLanguage!=null?U():re(),ye=""}function se(pe){return pe.className&&Se.openNode(be.classNameAliases[pe.className]||pe.className),ge=Object.create(pe,{parent:{value:ge}}),ge}function q(pe,ne,xe){let Le=Rj(pe.endRe,xe);if(Le){if(pe["on:end"]){const fe=new Px(pe);pe["on:end"](ne,fe),fe.isMatchIgnored&&(Le=!1)}if(Le){for(;pe.endsParent&&pe.parent;)pe=pe.parent;return pe}}if(pe.endsWithParent)return q(pe.parent,ne,xe)}function ce(pe){return ge.matcher.regexIndex===0?(ye+=pe[0],1):(ke=!0,0)}function ue(pe){const ne=pe[0],xe=pe.rule,Le=new Px(xe),fe=[xe.__beforeBegin,xe["on:begin"]];for(const oe of fe)if(oe&&(oe(pe,Le),Le.isMatchIgnored))return ce(ne);return xe&&xe.endSameAsBegin&&(xe.endRe=Sj(ne)),xe.skip?ye+=ne:(xe.excludeBegin&&(ye+=ne),K(),!xe.returnBegin&&!xe.excludeBegin&&(ye=ne)),se(xe),xe.returnBegin?0:ne.length}function ie(pe){const ne=pe[0],xe=F.substr(pe.index),Le=q(ge,pe,xe);if(!Le)return Ox;const fe=ge;fe.skip?ye+=ne:(fe.returnEnd||fe.excludeEnd||(ye+=ne),K(),fe.excludeEnd&&(ye=ne));do ge.className&&Se.closeNode(),!ge.skip&&!ge.subLanguage&&(Ge+=ge.relevance),ge=ge.parent;while(ge!==Le.parent);return Le.starts&&(Le.endSameAsBegin&&(Le.starts.endRe=Le.endRe),se(Le.starts)),fe.returnEnd?0:ne.length}function te(){const pe=[];for(let ne=ge;ne!==be;ne=ne.parent)ne.className&&pe.unshift(ne.className);pe.forEach(ne=>Se.openNode(ne))}let de={};function Q(pe,ne){const xe=ne&&ne[0];if(ye+=pe,xe==null)return K(),0;if(de.type==="begin"&&ne.type==="end"&&de.index===ne.index&&xe===""){if(ye+=F.slice(ne.index,ne.index+1),!o){const Le=new Error("0 width match regex");throw Le.languageName=j,Le.badRule=de.rule,Le}return 1}if(de=ne,ne.type==="begin")return ue(ne);if(ne.type==="illegal"&&!W){const Le=new Error('Illegal lexeme "'+xe+'" for mode "'+(ge.className||"")+'"');throw Le.mode=ge,Le}else if(ne.type==="end"){const Le=ie(ne);if(Le!==Ox)return Le}if(ne.type==="illegal"&&xe==="")return 1;if(Re>1e5&&Re>ne.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ye+=xe,xe.length}const be=M(j);if(!be)throw wg(a.replace("{}",j)),new Error('Unknown language: "'+j+'"');const Te=eF(be,{plugins:r});let we="",ge=V||Te;const le={},Se=new l.__emitter(l);te();let ye="",Ge=0,Pe=0,Re=0,ke=!1;try{for(ge.matcher.considerAll();;){Re++,ke?ke=!1:ge.matcher.considerAll(),ge.matcher.lastIndex=Pe;const pe=ge.matcher.exec(F);if(!pe)break;const ne=F.substring(Pe,pe.index),xe=Q(ne,pe);Pe=pe.index+xe}return Q(F.substr(Pe)),Se.closeAllNodes(),Se.finalize(),we=Se.toHTML(),{relevance:Math.floor(Ge),value:we,language:j,illegal:!1,emitter:Se,top:ge}}catch(pe){if(pe.message&&pe.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:pe.message,context:F.slice(Pe-100,Pe+100),mode:pe.mode},sofar:we,relevance:0,value:Cg(F),emitter:Se};if(o)return{illegal:!1,relevance:0,value:Cg(F),emitter:Se,language:j,top:ge,errorRaised:pe};throw pe}}function p(j){const F={relevance:0,emitter:new l.__emitter(l),value:Cg(j),illegal:!1,top:s};return F.emitter.addText(j),F}function h(j,F){F=F||l.languages||Object.keys(t);const W=p(j),V=F.filter(M).filter(N).map(se=>f(se,j,!1));V.unshift(W);const ee=V.sort((se,q)=>{if(se.relevance!==q.relevance)return q.relevance-se.relevance;if(se.language&&q.language){if(M(se.language).supersetOf===q.language)return 1;if(M(q.language).supersetOf===se.language)return-1}return 0}),[re,U]=ee,K=re;return K.second_best=U,K}function y(j){return l.tabReplace||l.useBR?j.replace(i,F=>F===` +`?l.useBR?"
":F:l.tabReplace?F.replace(/\t/g,l.tabReplace):F):j}function C(j,F,W){const V=F?n[F]:W;j.classList.add("hljs"),V&&j.classList.add(V)}const v={"before:highlightElement":({el:j})=>{l.useBR&&(j.innerHTML=j.innerHTML.replace(/\n/g,"").replace(//g,` +`))},"after:highlightElement":({result:j})=>{l.useBR&&(j.value=j.value.replace(/\n/g,"
"))}},S=/^(<[^>]+>|\t)+/gm,m={"after:highlightElement":({result:j})=>{l.tabReplace&&(j.value=j.value.replace(S,F=>F.replace(/\t/g,l.tabReplace)))}};function w(j){let F=null;const W=u(j);if(c(W))return;B("before:highlightElement",{el:j,language:W}),F=j;const V=F.textContent,ee=W?d(V,{language:W,ignoreIllegals:!0}):h(V);B("after:highlightElement",{el:j,result:ee,text:V}),j.innerHTML=ee.value,C(j,W,ee.language),j.result={language:ee.language,re:ee.relevance,relavance:ee.relevance},ee.second_best&&(j.second_best={language:ee.second_best.language,re:ee.second_best.relevance,relavance:ee.second_best.relevance})}function _(j){j.useBR&&(sr("10.3.0","'useBR' will be removed entirely in v11.0"),sr("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=Ix(l,j)}const R=()=>{if(R.called)return;R.called=!0,sr("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(w)};function k(){sr("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),T=!0}let T=!1;function P(){if(document.readyState==="loading"){T=!0;return}document.querySelectorAll("pre code").forEach(w)}function x(){T&&P()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",x,!1);function $(j,F){let W=null;try{W=F(e)}catch(V){if(wg("Language definition for '{}' could not be registered.".replace("{}",j)),o)wg(V);else throw V;W=s}W.name||(W.name=j),t[j]=W,W.rawDefinition=F.bind(null,e),W.aliases&&A(W.aliases,{languageName:j})}function I(j){delete t[j];for(const F of Object.keys(n))n[F]===j&&delete n[F]}function O(){return Object.keys(t)}function D(j){sr("10.4.0","requireLanguage will be removed entirely in v11."),sr("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const F=M(j);if(F)return F;throw new Error("The '{}' language is required, but not loaded.".replace("{}",j))}function M(j){return j=(j||"").toLowerCase(),t[j]||t[n[j]]}function A(j,{languageName:F}){typeof j=="string"&&(j=[j]),j.forEach(W=>{n[W.toLowerCase()]=F})}function N(j){const F=M(j);return F&&!F.disableAutodetect}function E(j){j["before:highlightBlock"]&&!j["before:highlightElement"]&&(j["before:highlightElement"]=F=>{j["before:highlightBlock"](Object.assign({block:F.el},F))}),j["after:highlightBlock"]&&!j["after:highlightElement"]&&(j["after:highlightElement"]=F=>{j["after:highlightBlock"](Object.assign({block:F.el},F))})}function L(j){E(j),r.push(j)}function B(j,F){const W=j;r.forEach(function(V){V[W]&&V[W](F)})}function H(j){return sr("10.2.0","fixMarkup will be removed entirely in v11.0"),sr("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),y(j)}function z(j){return sr("10.7.0","highlightBlock will be removed entirely in v12.0"),sr("10.7.0","Please use highlightElement now."),w(j)}Object.assign(e,{highlight:d,highlightAuto:h,highlightAll:P,fixMarkup:H,highlightElement:w,highlightBlock:z,configure:_,initHighlighting:R,initHighlightingOnLoad:k,registerLanguage:$,unregisterLanguage:I,listLanguages:O,getLanguage:M,registerAliases:A,requireLanguage:D,autoDetection:N,inherit:Ix,addPlugin:L,vuePlugin:oF(e).VuePlugin}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=nF;for(const j in vu)typeof vu[j]=="object"&&eR(vu[j]);return Object.assign(e,vu),e.addPlugin(v),e.addPlugin(iF),e.addPlugin(m),e};var lF=sF({}),cF=lF,sR={exports:{}};(function(e){(function(){var t;t=e.exports=o,t.format=o,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(o.apply(null,arguments))}function r(i,a){return o.apply(null,[i].concat(a))}function o(i){for(var a=1,s=[].slice.call(arguments),l=0,c=i.length,u="",d,f=!1,p,h,y=!1,C,v=function(){return s[a++]},S=function(){for(var m="";/\d/.test(i[l]);)m+=i[l++],d=i[l];return m.length>0?parseInt(m):null};ls.relevance&&(s=l),l.relevance>a.relevance&&(s=a,a=l));return s.language&&(a.secondBest=s),a}function hF(e,t){eo.registerLanguage(e,t)}function mF(){return eo.listLanguages()}function vF(e,t){var n=e,r;t&&(n={},n[e]=t);for(r in n)eo.registerAliases(n[r],{languageName:r})}function Io(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function yF(e,t){this.openNode(t),this.addText(e),this.closeNode()}function bF(e,t){var n=this.stack,r=n[n.length-1],o=e.rootNode.children,i=t?{type:"element",tagName:"span",properties:{className:[t]},children:o}:o;r.children=r.children.concat(i)}function xF(e){var t=this.stack,n,r;e!==""&&(n=t[t.length-1],r=n.children[n.children.length-1],r&&r.type==="text"?r.value+=e:n.children.push({type:"text",value:e}))}function SF(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],o={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(o),t.push(o)}function wF(){this.stack.pop()}function CF(){return""}function cR(){}var _g,Lx;function _F(){if(Lx)return _g;Lx=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const o={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[o]}]};Object.assign(o,{className:"variable",variants:[{begin:t(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[r.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[r.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,o,a]};a.contains.push(l);const c={className:"",begin:/\\"/},u={className:"string",begin:/'/,end:/'/},d={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},r.NUMBER_MODE,o]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=r.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),h={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[p,r.SHEBANG(),h,d,r.HASH_COMMENT_MODE,s,l,c,u,o]}}return _g=n,_g}var Rg,Ax;function RF(){if(Ax)return Rg;Ax=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(i){var a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",s=a+"(<"+a+"(\\s*,\\s*"+a+")*>)?",l="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",c={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]};const u=r;return{name:"Java",aliases:["jsp"],keywords:l,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:!0,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},i.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,end:/[{;=]/,keywords:l,contains:[{beginKeywords:"record"},{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"("+s+"\\s+)+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:l,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[c,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,u,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},u,c]}}return Rg=o,Rg}const Nx="[A-Za-z$_][0-9A-Za-z$_]*",TF=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],PF=["true","false","null","undefined","NaN","Infinity"],kF=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],$F=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],EF=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],MF=["arguments","this","super","console","window","document","localStorage","module","global"],IF=[].concat(EF,MF,kF,$F);function OF(e){return e?typeof e=="string"?e:e.source:null}function Dx(e){return km("(?=",e,")")}function km(...e){return e.map(n=>OF(n)).join("")}function LF(e){const t=(w,{after:_})=>{const R="",end:""},o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(w,_)=>{const R=w[0].length+w.index,k=w.input[R];if(k==="<"){_.ignoreMatch();return}k===">"&&(t(w,{after:R})||_.ignoreMatch())}},i={$pattern:Nx,keyword:TF,literal:PF,built_in:IF},a="[0-9](_?[0-9])*",s=`\\.(${a})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?(${a})\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},f={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},y={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},C=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,f,p,c,e.REGEXP_MODE];u.contains=C.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(C)});const v=[].concat(y,u.contains),S=v.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(v)}]),m={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:S};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,f,p,y,c,{begin:km(/[{,\n]\s*/,Dx(km(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,n+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:n+Dx("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[y,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:S}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:r.begin,end:r.end},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:i,contains:["self",e.inherit(e.TITLE_MODE,{begin:n}),m],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[m,e.inherit(e.TITLE_MODE,{begin:n})]},{variants:[{begin:"\\."+n},{begin:"\\$"+n}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:n}),"self",m]},{begin:"(get|set)\\s+(?="+n+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:n}),{begin:/\(\)/},m]},{begin:/\$[(.]/}]}}var AF=LF;const NF=$o(AF);var Tg,jx;function DF(){if(jx)return Tg;jx=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return n("(?=",o,")")}function n(...o){return o.map(a=>e(a)).join("")}function r(o){const c={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},u={className:"meta",begin:/^(>>>|\.\.\.) /},d={className:"subst",begin:/\{/,end:/\}/,keywords:c,illegal:/#/},f={begin:/\{\{/,relevance:0},p={className:"string",contains:[o.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE,u,f,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,u,f,d]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[o.BACKSLASH_ESCAPE,f,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,f,d]},o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},h="[0-9](_?[0-9])*",y=`(\\b(${h}))?\\.(${h})|\\b(${h})\\.`,C={className:"number",relevance:0,variants:[{begin:`(\\b(${h})|(${y}))[eE][+-]?(${h})[jJ]?\\b`},{begin:`(${y})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${h})[jJ]\\b`}]},v={className:"comment",begin:t(/# type:/),end:/$/,keywords:c,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},S={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",u,C,p,o.HASH_COMMENT_MODE]}]};return d.contains=[p,C,u],{name:"Python",aliases:["py","gyp","ipython"],keywords:c,illegal:/(<\/|->|\?)|=>/,contains:[u,C,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},p,v,o.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[o.UNDERSCORE_TITLE_MODE,S,{begin:/->/,endsWithParent:!0,keywords:c}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[C,S,p]}]}}return Tg=r,Tg}var Ic=mj(fa,{});Ic.registerLanguage=fa.registerLanguage;var uR={},dR={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(dR);var z1=dR.exports;(function(e){var t=z1;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(DF());e.default=n.default})(uR);const jF=$o(uR);var fR={};(function(e){var t=z1;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(RF());e.default=n.default})(fR);const FF=$o(fR);var pR={};(function(e){var t=z1;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(_F());e.default=n.default})(pR);const BF=$o(pR);Ic.registerLanguage(bs.JS,NF);Ic.registerLanguage(bs.PY,jF);Ic.registerLanguage(bs.JAVA,FF);Ic.registerLanguage(bs.BASH,BF);rt.forwardRef(e=>{const{supportSelectAll:t=!0,selectAllOptionLabel:n="",options:r=[],selectState:o,setSelectState:i,inputParams:a={},onChange:s,...l}=e,{placeholder:c="",...u}=a,[d,f]=rt.useState(!1),p=zt(),h=()=>{f(!1)},y=S=>{const m=!o.selectAll;i(w=>({selectAll:!w.selectAll,selectedItems:w.selectAll?[]:r})),s&&s(S,m?r:[],"selectOption")},C=(S,m,w)=>{switch(w){case"selectOption":i(_=>({..._,selectAll:m.length===r.length,selectedItems:m}));break;case"removeOption":i({selectAll:!1,selectedItems:m})}},v=b.useMemo(()=>{if(!(o.selectedItems.length>0||o.selectAll))return c},[o,c]);return g.jsx(tO,{onClickAway:h,children:g.jsx(Or,{children:g.jsx(q_,{options:r,open:d,sx:{"& .MuiBox-root":{"& .MuiFormControl-root":{"div.MuiOutlinedInput-root":{padding:"6px 28px 6px 12px"},"& .MuiInputBase-input":{maxHeight:"24px",height:"24px"},".Mui-error fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${p.red.red2}`,boxShadow:`0px 0px 0px 4px ${p.red.red4}, ${pr}`}}},".MuiAutocomplete-tag":{margin:"3px 4px"}},multiple:!0,ChipProps:{size:"small",deleteIcon:g.jsx(I1,{size:14},void 0),sx:{display:"flex",alignItems:"center",borderRadius:"6px",backgroundColor:p.black.black4,padding:"2px 8px",gap:"8px",height:"20px",".MuiChip-deleteIcon":{margin:0,color:p.black.black1},".MuiChip-label":{padding:0,fontSize:"14px",lineHeight:"20px",fontWeight:400,display:"inline-block",color:p.black.black1},"&:hover":{backgroundColor:p.black.black5,".MuiChip-deleteIcon":{color:p.black.black2}}}},renderOption:(S,m,w)=>{const{selected:_}=w;return m!=null&&m.generateCustomEle?m.generateCustomEle():g.jsxs("li",{...S,children:[g.jsx(Qd,{sx:{padding:"0 8px 0 0"},checked:_||o.selectAll},void 0),g.jsxs(Or,{sx:{display:"flex",alignItems:"center",width:"100%",justifyContent:"space-between"},children:[g.jsx(mt,{variant:"body1Regular",component:"div",children:m.label},void 0),m.desc&&g.jsx(mt,{variant:"body3Regular",sx:{marginLeft:"8px",color:p.black.black3},children:m.desc},void 0)]},void 0)]},void 0)},onChange:(S,m,w)=>{C(S,m,w),s&&s(S,m,w)},onClose:(S,m)=>{m==="escape"&&f(!1)},onOpen:()=>{f(!0)},PopperComponent:S=>{const{children:m,style:w={},..._}=S;return g.jsx(kc,{..._,disablePortal:!0,onMouseDown:R=>R.preventDefault(),style:{...w,boxShadow:aa,border:`1px solid ${p.stroke.stroke1}`,borderRadius:"8px",backgroundColor:"#fff"},placement:"bottom",modifiers:[{name:"offset",options:{offset:[0,8]}}],children:g.jsxs(g.Fragment,{children:[m,g.jsx(Or,{sx:{width:"100%",height:"1px",backgroundColor:p.black.black4}},void 0),t&&g.jsxs(Or,{sx:{padding:"6px 16px",display:"flex",alignItems:"center",marginBottom:"4px","&:hover":{cursor:"pointer",color:p.blue.blue1,backgroundColor:p.black.black5}},onClick:y,children:[g.jsx(Qd,{sx:{padding:"0 16px 0 0"},checked:o.selectAll,indeterminate:!o.selectAll&&o.selectedItems.length>0},void 0),g.jsx(mt,{children:n||"Select all"},void 0)]},void 0)]},void 0)},void 0)},PaperComponent:S=>g.jsx(Is,{sx:{padding:0,boxShadow:"none",borderRadius:"8px","ul.MuiAutocomplete-listbox":{borderRadius:"8px",padding:0,"&::-webkit-scrollbar-track":{width:"3px",background:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:p.black.black4},"& li":{margin:"4px 0"},"& > :first-child":{marginTop:"12px"},'& .MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:"#fff","&.Mui-focused":{backgroundColor:"transparent"},"&:hover":{backgroundColor:p.black.black5},"& > * div.MuiTypography-body1Regular":{color:p.blue.blue1}},'.MuiAutocomplete-option[aria-selected="false"]':{backgroundColor:"transparent","&:hover":{backgroundColor:p.black.black5}}}},...S},void 0),isOptionEqualToValue:(S,m)=>S.value===m.value,value:o.selectedItems,inputParams:{placeholder:v,...u},...l},void 0)},void 0)},void 0)});function zF(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;l{t.current=e},[e]),t.current}const Fx=()=>{};function GF(e){const[,t]=b.useState(),{registerDescendant:n=Fx,unregisterDescendant:r=Fx,descendants:o=[],parentId:i=null}=b.useContext(gR),a=VF(o,c=>c.element===e.element),s=UF(o),l=o.some((c,u)=>s&&s[u]&&s[u].element!==c.element);return a9(()=>{if(e.element)return n(Ln({},e,{index:a})),()=>{r(e.element)};t({})},[n,r,a,l,e]),{parentId:i,index:a}}function qF(e){const{children:t,id:n}=e,[r,o]=b.useState([]),i=b.useCallback(l=>{let{element:c}=l,u=Ms(l,HF);o(d=>{if(d.length===0)return[Ln({},u,{element:c,index:0})];const f=WF(d,c);let p;if(d[f]&&d[f].element===c)p=d;else{const h=Ln({},u,{element:c,index:f});p=d.slice(),p.splice(f,0,h)}return p.forEach((h,y)=>{h.index=y}),p})},[]),a=b.useCallback(l=>{o(c=>c.filter(u=>l!==u.element))},[]),s=b.useMemo(()=>({descendants:r,registerDescendant:i,unregisterDescendant:a,parentId:n}),[r,i,a,n]);return g.jsx(gR.Provider,{value:s,children:t})}const KF={instance:null,multiSelect:!1,disabledItemsFocusable:!1,treeId:void 0,icons:{defaultCollapseIcon:null,defaultExpandIcon:null,defaultParentIcon:null,defaultEndIcon:null}},ZF=b.createContext(KF),hR=()=>b.useContext(ZF);function QF(e){const{instance:t,multiSelect:n}=hR(),r=t?t.isNodeExpandable(e):!1,o=t?t.isNodeExpanded(e):!1,i=t?t.isNodeFocused(e):!1,a=t?t.isNodeSelected(e):!1,s=t?t.isNodeDisabled(e):!1;return{disabled:s,expanded:o,selected:a,focused:i,handleExpansion:d=>{if(t&&!s){i||t.focusNode(d,e);const f=n&&(d.shiftKey||d.ctrlKey||d.metaKey);r&&!(f&&t.isNodeExpanded(e))&&t.toggleNodeExpansion(d,e)}},handleSelection:d=>{t&&!s&&(i||t.focusNode(d,e),n&&(d.shiftKey||d.ctrlKey||d.metaKey)?d.shiftKey?t.selectRange(d,{end:e}):t.selectNode(d,e,!0):t.selectNode(d,e))},preventSelection:d=>{(d.shiftKey||d.ctrlKey||d.metaKey||s)&&d.preventDefault()}}}const YF=["classes","className","displayIcon","expansionIcon","icon","label","nodeId","onClick","onMouseDown"],mR=b.forwardRef(function(t,n){const{classes:r,className:o,displayIcon:i,expansionIcon:a,icon:s,label:l,nodeId:c,onClick:u,onMouseDown:d}=t,f=Ms(t,YF),{disabled:p,expanded:h,selected:y,focused:C,handleExpansion:v,handleSelection:S,preventSelection:m}=QF(c),w=s||a||i,_=k=>{m(k),d&&d(k)},R=k=>{v(k),S(k),u&&u(k)};return g.jsxs("div",Ln({},f,{className:ve(o,r.root,h&&r.expanded,y&&r.selected,C&&r.focused,p&&r.disabled),onClick:R,onMouseDown:_,ref:n,children:[g.jsx("div",{className:r.iconContainer,children:w}),g.jsx("div",{className:r.label,children:l})]}))});function XF(e){return W_("MuiTreeItem",e)}const Xt=d9("MuiTreeItem",["root","group","content","expanded","selected","focused","disabled","iconContainer","label"]),JF=["children","className","collapseIcon","ContentComponent","ContentProps","endIcon","expandIcon","disabled","icon","id","label","nodeId","onClick","onMouseDown","TransitionComponent","TransitionProps"],eB=e=>{const{classes:t}=e;return zF({root:["root"],content:["content"],expanded:["expanded"],selected:["selected"],focused:["focused"],disabled:["disabled"],iconContainer:["iconContainer"],label:["label"],group:["group"]},XF,t)},tB=J("li",{name:"MuiTreeItem",slot:"Root",overridesResolver:(e,t)=>t.root})({listStyle:"none",margin:0,padding:0,outline:0}),nB=J(mR,{name:"MuiTreeItem",slot:"Content",overridesResolver:(e,t)=>[t.content,t.iconContainer&&{[`& .${Xt.iconContainer}`]:t.iconContainer},t.label&&{[`& .${Xt.label}`]:t.label}]})(({theme:e})=>({padding:"0 8px",width:"100%",boxSizing:"border-box",display:"flex",alignItems:"center",cursor:"pointer",WebkitTapHighlightColor:"transparent","&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Xt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,backgroundColor:"transparent"},[`&.${Xt.focused}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Xt.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Xt.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`& .${Xt.iconContainer}`]:{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},[`& .${Xt.label}`]:Ln({paddingLeft:4,width:"100%",boxSizing:"border-box",minWidth:0,position:"relative"},e.typography.body1)})),rB=J(ps,{name:"MuiTreeItem",slot:"Group",overridesResolver:(e,t)=>t.group})({margin:0,padding:0,marginLeft:17}),oB=b.forwardRef(function(t,n){const r=gM({props:t,name:"MuiTreeItem"}),{children:o,className:i,collapseIcon:a,ContentComponent:s=mR,ContentProps:l,endIcon:c,expandIcon:u,disabled:d,icon:f,id:p,label:h,nodeId:y,onClick:C,onMouseDown:v,TransitionComponent:S=ps,TransitionProps:m}=r,w=Ms(r,JF),{icons:_,multiSelect:R,disabledItemsFocusable:k,treeId:T,instance:P}=hR();let x;p!=null?x=p:T&&y&&(x=`${T}-${y}`);const[$,I]=b.useState(null),O=b.useRef(null),D=s9(I,n),M=b.useMemo(()=>({element:$,id:y}),[y,$]),{index:A,parentId:N}=GF(M),E=!!(Array.isArray(o)?o.length:o),L=P?P.isNodeExpanded(y):!1,B=P?P.isNodeFocused(y):!1,H=P?P.isNodeSelected(y):!1,z=P?P.isNodeDisabled(y):!1,j=Ln({},r,{expanded:L,focused:B,selected:H,disabled:z}),F=eB(j);let W,V;E&&(L?V=a||_.defaultCollapseIcon:V=u||_.defaultExpandIcon),E?W=_.defaultParentIcon:W=c||_.defaultEndIcon,b.useEffect(()=>{if(P&&A!==-1)return P.updateNode({id:y,idAttribute:x,index:A,parentId:N,expandable:E,disabled:d}),()=>P.removeNode(y)},[P,N,A,y,E,d,x]),b.useEffect(()=>{if(P&&h){var U,K;return P.mapFirstChar(y,((U=(K=O.current)==null?void 0:K.textContent)!=null?U:"").substring(0,1).toLowerCase())}},[P,y,h]);let ee;R?ee=H:H&&(ee=!0);function re(U){if(U.target===U.currentTarget){let se;typeof U.target.getRootNode=="function"?se=U.target.getRootNode():se=o9(U.target),se.getElementById(T).focus({preventScroll:!0})}const K=!k&&z;P&&!B&&U.currentTarget===U.target&&!K&&P.focusNode(U,y)}return g.jsxs(tB,Ln({className:ve(F.root,i),role:"treeitem","aria-expanded":E?L:void 0,"aria-selected":ee,"aria-disabled":z||void 0,id:x,tabIndex:-1},w,{ownerState:j,onFocus:re,ref:D,children:[g.jsx(nB,Ln({as:s,ref:O,classes:{root:F.content,expanded:F.expanded,selected:F.selected,focused:F.focused,disabled:F.disabled,iconContainer:F.iconContainer,label:F.label},label:h,nodeId:y,onClick:C,onMouseDown:v,icon:f,expansionIcon:V,displayIcon:W,ownerState:j},l)),o&&g.jsx(qF,{id:y,children:g.jsx(rB,Ln({as:S,unmountOnExit:!0,className:F.group,in:L,component:"ul",role:"group"},m,{children:o}))})]}))});var Bx;(function(e){e.LOADING="loading",e.NORMAL="normal",e.NONE="none"})(Bx||(Bx={}));J(e=>g.jsx(oB,{...e},void 0))(({theme:e})=>({[`& .${Xt.content}`]:{height:"32px",marginBottom:"8px",color:e.black.black1,padding:"4px",borderRadius:"6px",[`&.${Xt.selected}`]:{backgroundColor:e.blue.blue4,[`&.${Xt.focused}`]:{backgroundColor:e.blue.blue4},[`& .${Xt.label},.MuiTypography-root `]:{color:e.blue.blue1},[`& .${Xt.label}`]:{svg:{path:{fill:e.blue.blue1}}},[`& .${Xt.iconContainer}`]:{svg:{path:{fill:e.black.black1}}}},"&:hover":{backgroundColor:e.blue.blue4},[`& .${Xt.label}`]:{color:e.black.black3,fontSize:"12px",paddingLeft:0,svg:{path:{fill:"currentColor"}},".highlight":{color:e.black.black3}},[`& .${Xt.iconContainer}`]:{marginRight:e.spacing(.5),width:"auto",svg:{path:{fill:e.black.black2}}}},[`& .${Xt.group}`]:{position:"relative",top:"-10px",margin:"12px 0 0px 23px",paddingLeft:6,borderLeft:`1px solid ${e.stroke.stroke1}`,".loadingNode":{paddingLeft:8},[`& .${Xt.content}`]:{height:"28px",marginBottom:"4px",".MuiTypography-root":{fontSize:"13px"},svg:{path:{color:e.black.black2}}}}}));const vR=['"Helvetica Neue"','"Microsoft YaHei"',"-apple-system","sans-serif"],iB=['"Pingfang SC"',...vR],aB=['"Inter"',...vR],yR=e=>(e==="enUS"?aB:iB).join(","),Ht=(e,t,n)=>{const r=yR(n),o={h1:{fontSize:"22px",lineHeight:"150%"},h2:{fontSize:"18px",lineHeight:"150%"},h3:{fontSize:"16px",lineHeight:"150%"},h4:{fontSize:"14px",lineHeight:"135%"},body1:{fontSize:"14px",lineHeight:"135%"},body2:{fontSize:"13px",lineHeight:"135%"},body3:{fontSize:"12px",lineHeight:"135%"},body4:{fontSize:"11px",lineHeight:"135%"}},i={regular:{fontWeight:400},medium:{fontWeight:500},semibold:{fontWeight:600},bold:{fontWeight:n==="enUS"?700:600}};return{...o[e],...i[t],fontFamily:r}},sB=e=>({h1Regular:Ht("h1","regular",e),h1Medium:Ht("h1","medium",e),h1Semibold:Ht("h1","semibold",e),h1Bold:Ht("h1","bold",e),h2Regular:Ht("h2","regular",e),h2Medium:Ht("h2","medium",e),h2Semibold:Ht("h2","semibold",e),h3Regular:Ht("h3","regular",e),h3Medium:Ht("h3","medium",e),h3Semibold:Ht("h3","semibold",e),h4Medium:Ht("h4","medium",e),h4Semibold:Ht("h4","semibold",e),body1Regular:Ht("body1","regular",e),body1Medium:Ht("body1","medium",e),body2Regular:Ht("body2","regular",e),body2Medium:Ht("body2","medium",e),body3Regular:Ht("body3","regular",e),body3Medium:Ht("body3","medium",e),body4Regular:Ht("body4","regular",e)}),Vt={blue:{blue1:"#3f46ff",blue2:"#6066fd",blue3:"#dbe0ff",blue4:"#f2f3ff",blue5:"#f7f8ff",dark1:"#181eca",dark2:"#141c63",light1:"#ebedff"},black:{black1:"#1d2939",black2:"#5d6d85",black3:"#a6b1be",black4:"#f0f2f4",black5:"#f9f9fb"},green:{green1:"#166434",green2:"#49de80",green3:"#adf8c9",green4:"#effdf4"},yellow:{yellow1:"#854d0f",yellow2:"#ffb800",yellow3:"#ffe7a9",yellow4:"#fff8e2"},red:{red1:"#991b1b",red2:"#f26868",red3:"#fbc6c6",red4:"#fff1f1"},stroke:{stroke1:"#e4eaf1",stroke2:"#cdd8e8"},gradient:"linear-gradient(118deg,#00ef8b 0.51%,#0044e4 36.98%,#cd3fff 72.73%)"},lB=e=>{const t=yR(e),n=sB(e);return{typography:{fontFamily:t,...n}}},cB=(e="enUS")=>sp({palette:{primary:{main:Vt.blue.blue1,dark:Vt.blue.dark1,light:Vt.blue.blue2},success:{dark:Vt.green.green1,main:Vt.green.green2,light:Vt.green.green3},info:{dark:Vt.blue.blue1,main:Vt.blue.blue2,light:Vt.blue.blue3},warning:{dark:Vt.yellow.yellow1,main:Vt.yellow.yellow2,light:Vt.yellow.yellow3},error:{dark:Vt.red.red1,main:Vt.red.red2,light:Vt.red.red3},text:{primary:Vt.black.black1,secondary:Vt.black.black2,disabled:Vt.black.black3}},language:e,components:{MuiButton:{variants:[{props:{variant:"textGhost"},style:{}}]},MuiTypography:{defaultProps:{color:"textPrimary",variant:"body1Regular",variantMapping:{h1Regular:"h1",h1Medium:"h1",h1Semibold:"h1",h1Bold:"h1",h2Regular:"h2",h2Medium:"h2",h2Semibold:"h2",h3Regular:"h3",h3Medium:"h3",h3Semibold:"h3",h4Medium:"h4",h4Semibold:"h4",body1Regular:"p",body1Medium:"span",body2Regular:"span",body2Medium:"span",body3Regular:"span",body3Medium:"span",body4Regular:"span"}}}},spacing:4,...Vt,...lB(e)},bD[e]);/** + * table-core + * + * Copyright (c) TanStack + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Xo(e,t){return typeof e=="function"?e(t):e}function tr(e,t){return n=>{t.setState(r=>({...r,[e]:Xo(n,r[e])}))}}function Sp(e){return e instanceof Function}function uB(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function dB(e,t){const n=[],r=o=>{o.forEach(i=>{n.push(i);const a=t(i);a!=null&&a.length&&r(a)})};return r(e),n}function Me(e,t,n){let r=[],o;return i=>{let a;n.key&&n.debug&&(a=Date.now());const s=e(i);if(!(s.length!==r.length||s.some((u,d)=>r[d]!==u)))return o;r=s;let c;if(n.key&&n.debug&&(c=Date.now()),o=t(...s),n==null||n.onChange==null||n.onChange(o),n.key&&n.debug&&n!=null&&n.debug()){const u=Math.round((Date.now()-a)*100)/100,d=Math.round((Date.now()-c)*100)/100,f=d/16,p=(h,y)=>{for(h=String(h);h.length{var o;return(o=e==null?void 0:e.debugAll)!=null?o:e[t]},key:!1,onChange:r}}function fB(e,t,n,r){const o=()=>{var a;return(a=i.getValue())!=null?a:e.options.renderFallbackValue},i={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:o,getContext:Me(()=>[e,n,t,i],(a,s,l,c)=>({table:a,column:s,row:l,cell:c,getValue:c.getValue,renderValue:c.renderValue}),Ie(e.options,"debugCells"))};return e._features.forEach(a=>{a.createCell==null||a.createCell(i,n,t,e)},{}),i}function pB(e,t,n,r){var o,i;const s={...e._getDefaultColumnDef(),...t},l=s.accessorKey;let c=(o=(i=s.id)!=null?i:l?typeof String.prototype.replaceAll=="function"?l.replaceAll(".","_"):l.replace(/\./g,"_"):void 0)!=null?o:typeof s.header=="string"?s.header:void 0,u;if(s.accessorFn?u=s.accessorFn:l&&(l.includes(".")?u=f=>{let p=f;for(const y of l.split(".")){var h;p=(h=p)==null?void 0:h[y]}return p}:u=f=>f[s.accessorKey]),!c)throw new Error;let d={id:`${String(c)}`,accessorFn:u,parent:r,depth:n,columnDef:s,columns:[],getFlatColumns:Me(()=>[!0],()=>{var f;return[d,...(f=d.columns)==null?void 0:f.flatMap(p=>p.getFlatColumns())]},Ie(e.options,"debugColumns")),getLeafColumns:Me(()=>[e._getOrderColumnsFn()],f=>{var p;if((p=d.columns)!=null&&p.length){let h=d.columns.flatMap(y=>y.getLeafColumns());return f(h)}return[d]},Ie(e.options,"debugColumns"))};for(const f of e._features)f.createColumn==null||f.createColumn(d,e);return d}const gn="debugHeaders";function zx(e,t,n){var r;let i={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const a=[],s=l=>{l.subHeaders&&l.subHeaders.length&&l.subHeaders.map(s),a.push(l)};return s(i),a},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach(a=>{a.createHeader==null||a.createHeader(i,e)}),i}const gB={createTable:e=>{e.getHeaderGroups=Me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,o)=>{var i,a;const s=(i=r==null?void 0:r.map(d=>n.find(f=>f.id===d)).filter(Boolean))!=null?i:[],l=(a=o==null?void 0:o.map(d=>n.find(f=>f.id===d)).filter(Boolean))!=null?a:[],c=n.filter(d=>!(r!=null&&r.includes(d.id))&&!(o!=null&&o.includes(d.id)));return yu(t,[...s,...c,...l],e)},Ie(e.options,gn)),e.getCenterHeaderGroups=Me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,o)=>(n=n.filter(i=>!(r!=null&&r.includes(i.id))&&!(o!=null&&o.includes(i.id))),yu(t,n,e,"center")),Ie(e.options,gn)),e.getLeftHeaderGroups=Me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var o;const i=(o=r==null?void 0:r.map(a=>n.find(s=>s.id===a)).filter(Boolean))!=null?o:[];return yu(t,i,e,"left")},Ie(e.options,gn)),e.getRightHeaderGroups=Me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var o;const i=(o=r==null?void 0:r.map(a=>n.find(s=>s.id===a)).filter(Boolean))!=null?o:[];return yu(t,i,e,"right")},Ie(e.options,gn)),e.getFooterGroups=Me(()=>[e.getHeaderGroups()],t=>[...t].reverse(),Ie(e.options,gn)),e.getLeftFooterGroups=Me(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),Ie(e.options,gn)),e.getCenterFooterGroups=Me(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),Ie(e.options,gn)),e.getRightFooterGroups=Me(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),Ie(e.options,gn)),e.getFlatHeaders=Me(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),Ie(e.options,gn)),e.getLeftFlatHeaders=Me(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),Ie(e.options,gn)),e.getCenterFlatHeaders=Me(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),Ie(e.options,gn)),e.getRightFlatHeaders=Me(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),Ie(e.options,gn)),e.getCenterLeafHeaders=Me(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Ie(e.options,gn)),e.getLeftLeafHeaders=Me(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Ie(e.options,gn)),e.getRightLeafHeaders=Me(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Ie(e.options,gn)),e.getLeafHeaders=Me(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var o,i,a,s,l,c;return[...(o=(i=t[0])==null?void 0:i.headers)!=null?o:[],...(a=(s=n[0])==null?void 0:s.headers)!=null?a:[],...(l=(c=r[0])==null?void 0:c.headers)!=null?l:[]].map(u=>u.getLeafHeaders()).flat()},Ie(e.options,gn))}};function yu(e,t,n,r){var o,i;let a=0;const s=function(f,p){p===void 0&&(p=1),a=Math.max(a,p),f.filter(h=>h.getIsVisible()).forEach(h=>{var y;(y=h.columns)!=null&&y.length&&s(h.columns,p+1)},0)};s(e);let l=[];const c=(f,p)=>{const h={depth:p,id:[r,`${p}`].filter(Boolean).join("_"),headers:[]},y=[];f.forEach(C=>{const v=[...y].reverse()[0],S=C.column.depth===h.depth;let m,w=!1;if(S&&C.column.parent?m=C.column.parent:(m=C.column,w=!0),v&&(v==null?void 0:v.column)===m)v.subHeaders.push(C);else{const _=zx(n,m,{id:[r,p,m.id,C==null?void 0:C.id].filter(Boolean).join("_"),isPlaceholder:w,placeholderId:w?`${y.filter(R=>R.column===m).length}`:void 0,depth:p,index:y.length});_.subHeaders.push(C),y.push(_)}h.headers.push(C),C.headerGroup=h}),l.push(h),p>0&&c(y,p-1)},u=t.map((f,p)=>zx(n,f,{depth:a,index:p}));c(u,a-1),l.reverse();const d=f=>f.filter(h=>h.column.getIsVisible()).map(h=>{let y=0,C=0,v=[0];h.subHeaders&&h.subHeaders.length?(v=[],d(h.subHeaders).forEach(m=>{let{colSpan:w,rowSpan:_}=m;y+=w,v.push(_)})):y=1;const S=Math.min(...v);return C=C+S,h.colSpan=y,h.rowSpan=C,{colSpan:y,rowSpan:C}});return d((o=(i=l[0])==null?void 0:i.headers)!=null?o:[]),l}const hB=(e,t,n,r,o,i,a)=>{let s={id:t,index:r,original:n,depth:o,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:l=>{if(s._valuesCache.hasOwnProperty(l))return s._valuesCache[l];const c=e.getColumn(l);if(c!=null&&c.accessorFn)return s._valuesCache[l]=c.accessorFn(s.original,r),s._valuesCache[l]},getUniqueValues:l=>{if(s._uniqueValuesCache.hasOwnProperty(l))return s._uniqueValuesCache[l];const c=e.getColumn(l);if(c!=null&&c.accessorFn)return c.columnDef.getUniqueValues?(s._uniqueValuesCache[l]=c.columnDef.getUniqueValues(s.original,r),s._uniqueValuesCache[l]):(s._uniqueValuesCache[l]=[s.getValue(l)],s._uniqueValuesCache[l])},renderValue:l=>{var c;return(c=s.getValue(l))!=null?c:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>dB(s.subRows,l=>l.subRows),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let l=[],c=s;for(;;){const u=c.getParentRow();if(!u)break;l.push(u),c=u}return l.reverse()},getAllCells:Me(()=>[e.getAllLeafColumns()],l=>l.map(c=>fB(e,s,c,c.id)),Ie(e.options,"debugRows")),_getAllCellsByColumnId:Me(()=>[s.getAllCells()],l=>l.reduce((c,u)=>(c[u.column.id]=u,c),{}),Ie(e.options,"debugRows"))};for(let l=0;l{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},bR=(e,t,n)=>{var r,o;const i=n==null||(r=n.toString())==null?void 0:r.toLowerCase();return!!(!((o=e.getValue(t))==null||(o=o.toString())==null||(o=o.toLowerCase())==null)&&o.includes(i))};bR.autoRemove=e=>Dr(e);const xR=(e,t,n)=>{var r;return!!(!((r=e.getValue(t))==null||(r=r.toString())==null)&&r.includes(n))};xR.autoRemove=e=>Dr(e);const SR=(e,t,n)=>{var r;return((r=e.getValue(t))==null||(r=r.toString())==null?void 0:r.toLowerCase())===(n==null?void 0:n.toLowerCase())};SR.autoRemove=e=>Dr(e);const wR=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};wR.autoRemove=e=>Dr(e)||!(e!=null&&e.length);const CR=(e,t,n)=>!n.some(r=>{var o;return!((o=e.getValue(t))!=null&&o.includes(r))});CR.autoRemove=e=>Dr(e)||!(e!=null&&e.length);const _R=(e,t,n)=>n.some(r=>{var o;return(o=e.getValue(t))==null?void 0:o.includes(r)});_R.autoRemove=e=>Dr(e)||!(e!=null&&e.length);const RR=(e,t,n)=>e.getValue(t)===n;RR.autoRemove=e=>Dr(e);const TR=(e,t,n)=>e.getValue(t)==n;TR.autoRemove=e=>Dr(e);const H1=(e,t,n)=>{let[r,o]=n;const i=e.getValue(t);return i>=r&&i<=o};H1.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,o=typeof n!="number"?parseFloat(n):n,i=t===null||Number.isNaN(r)?-1/0:r,a=n===null||Number.isNaN(o)?1/0:o;if(i>a){const s=i;i=a,a=s}return[i,a]};H1.autoRemove=e=>Dr(e)||Dr(e[0])&&Dr(e[1]);const go={includesString:bR,includesStringSensitive:xR,equalsString:SR,arrIncludes:wR,arrIncludesAll:CR,arrIncludesSome:_R,equals:RR,weakEquals:TR,inNumberRange:H1};function Dr(e){return e==null||e===""}const vB={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:tr("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);return typeof r=="string"?go.includesString:typeof r=="number"?go.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?go.equals:Array.isArray(r)?go.arrIncludes:go.weakEquals},e.getFilterFn=()=>{var n,r;return Sp(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:go[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,o;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((o=t.options.enableFilters)!=null?o:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(r=>r.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(o=>o.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(r=>{const o=e.getFilterFn(),i=r==null?void 0:r.find(u=>u.id===e.id),a=Xo(n,i?i.value:void 0);if(Hx(o,a,e)){var s;return(s=r==null?void 0:r.filter(u=>u.id!==e.id))!=null?s:[]}const l={id:e.id,value:a};if(i){var c;return(c=r==null?void 0:r.map(u=>u.id===e.id?l:u))!=null?c:[]}return r!=null&&r.length?[...r,l]:[l]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),r=o=>{var i;return(i=Xo(t,o))==null?void 0:i.filter(a=>{const s=n.find(l=>l.id===a.id);if(s){const l=s.getFilterFn();if(Hx(l,a.value,s))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function Hx(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const yB=(e,t,n)=>n.reduce((r,o)=>{const i=o.getValue(e);return r+(typeof i=="number"?i:0)},0),bB=(e,t,n)=>{let r;return n.forEach(o=>{const i=o.getValue(e);i!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}),r},xB=(e,t,n)=>{let r;return n.forEach(o=>{const i=o.getValue(e);i!=null&&(r=i)&&(r=i)}),r},SB=(e,t,n)=>{let r,o;return n.forEach(i=>{const a=i.getValue(e);a!=null&&(r===void 0?a>=a&&(r=o=a):(r>a&&(r=a),o{let n=0,r=0;if(t.forEach(o=>{let i=o.getValue(e);i!=null&&(i=+i)>=i&&(++n,r+=i)}),n)return r/n},CB=(e,t)=>{if(!t.length)return;const n=t.map(i=>i.getValue(e));if(!uB(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),o=n.sort((i,a)=>i-a);return n.length%2!==0?o[r]:(o[r-1]+o[r])/2},_B=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),RB=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,TB=(e,t)=>t.length,Pg={sum:yB,min:bB,max:xB,extent:SB,mean:wB,median:CB,unique:_B,uniqueCount:RB,count:TB},PB={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:tr("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,r;return((n=e.columnDef.enableGrouping)!=null?n:!0)&&((r=t.options.enableGrouping)!=null?r:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);if(typeof r=="number")return Pg.sum;if(Object.prototype.toString.call(r)==="[object Date]")return Pg.extent},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return Sp(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:Pg[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var o;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((o=n.subRows)!=null&&o.length)}}};function kB(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(i=>!t.includes(i.id));return n==="remove"?r:[...t.map(i=>e.find(a=>a.id===i)).filter(Boolean),...r]}const $B={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:tr("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Me(n=>[Ll(t,n)],n=>n.findIndex(r=>r.id===e.id),Ie(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return((r=Ll(t,n)[0])==null?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const o=Ll(t,n);return((r=o[o.length-1])==null?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=Me(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>o=>{let i=[];if(!(t!=null&&t.length))i=o;else{const a=[...t],s=[...o];for(;s.length&&a.length;){const l=a.shift(),c=s.findIndex(u=>u.id===l);c>-1&&i.push(s.splice(c,1)[0])}i=[...i,...s]}return kB(i,n,r)},Ie(e.options,"debugTable"))}},kg=()=>({left:[],right:[]}),EB={getInitialState:e=>({columnPinning:kg(),...e}),getDefaultOptions:e=>({onColumnPinningChange:tr("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(o=>o.id).filter(Boolean);t.setColumnPinning(o=>{var i,a;if(n==="right"){var s,l;return{left:((s=o==null?void 0:o.left)!=null?s:[]).filter(d=>!(r!=null&&r.includes(d))),right:[...((l=o==null?void 0:o.right)!=null?l:[]).filter(d=>!(r!=null&&r.includes(d))),...r]}}if(n==="left"){var c,u;return{left:[...((c=o==null?void 0:o.left)!=null?c:[]).filter(d=>!(r!=null&&r.includes(d))),...r],right:((u=o==null?void 0:o.right)!=null?u:[]).filter(d=>!(r!=null&&r.includes(d)))}}return{left:((i=o==null?void 0:o.left)!=null?i:[]).filter(d=>!(r!=null&&r.includes(d))),right:((a=o==null?void 0:o.right)!=null?a:[]).filter(d=>!(r!=null&&r.includes(d)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var o,i,a;return((o=r.columnDef.enablePinning)!=null?o:!0)&&((i=(a=t.options.enableColumnPinning)!=null?a:t.options.enablePinning)!=null?i:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(s=>s.id),{left:r,right:o}=t.getState().columnPinning,i=n.some(s=>r==null?void 0:r.includes(s)),a=n.some(s=>o==null?void 0:o.includes(s));return i?"left":a?"right":!1},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();return o?(n=(r=t.getState().columnPinning)==null||(r=r[o])==null?void 0:r.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Me(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,o)=>{const i=[...r??[],...o??[]];return n.filter(a=>!i.includes(a.column.id))},Ie(t.options,"debugRows")),e.getLeftVisibleCells=Me(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(n,r)=>(r??[]).map(i=>n.find(a=>a.column.id===i)).filter(Boolean).map(i=>({...i,position:"left"})),Ie(t.options,"debugRows")),e.getRightVisibleCells=Me(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(i=>n.find(a=>a.column.id===i)).filter(Boolean).map(i=>({...i,position:"right"})),Ie(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?kg():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:kg())},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;if(!t){var o,i;return!!((o=r.left)!=null&&o.length||(i=r.right)!=null&&i.length)}return!!((n=r[t])!=null&&n.length)},e.getLeftLeafColumns=Me(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(o=>o.id===r)).filter(Boolean),Ie(e.options,"debugColumns")),e.getRightLeafColumns=Me(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(o=>o.id===r)).filter(Boolean),Ie(e.options,"debugColumns")),e.getCenterLeafColumns=Me(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const o=[...n??[],...r??[]];return t.filter(i=>!o.includes(i.id))},Ie(e.options,"debugColumns"))}},bu={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},$g=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),MB={getDefaultColumnDef:()=>bu,getInitialState:e=>({columnSizing:{},columnSizingInfo:$g(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:tr("columnSizing",e),onColumnSizingInfoChange:tr("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,o;const i=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:bu.minSize,(r=i??e.columnDef.size)!=null?r:bu.size),(o=e.columnDef.maxSize)!=null?o:bu.maxSize)},e.getStart=Me(n=>[n,Ll(t,n),t.getState().columnSizing],(n,r)=>r.slice(0,e.getIndex(n)).reduce((o,i)=>o+i.getSize(),0),Ie(t.options,"debugColumns")),e.getAfter=Me(n=>[n,Ll(t,n),t.getState().columnSizing],(n,r)=>r.slice(e.getIndex(n)+1).reduce((o,i)=>o+i.getSize(),0),Ie(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:r,...o}=n;return o})},e.getCanResize=()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const r=o=>{if(o.subHeaders.length)o.subHeaders.forEach(r);else{var i;n+=(i=o.column.getSize())!=null?i:0}};return r(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),o=r==null?void 0:r.getCanResize();return i=>{if(!r||!o||(i.persist==null||i.persist(),Eg(i)&&i.touches&&i.touches.length>1))return;const a=e.getSize(),s=e?e.getLeafHeaders().map(v=>[v.column.id,v.column.getSize()]):[[r.id,r.getSize()]],l=Eg(i)?Math.round(i.touches[0].clientX):i.clientX,c={},u=(v,S)=>{typeof S=="number"&&(t.setColumnSizingInfo(m=>{var w,_;const R=t.options.columnResizeDirection==="rtl"?-1:1,k=(S-((w=m==null?void 0:m.startOffset)!=null?w:0))*R,T=Math.max(k/((_=m==null?void 0:m.startSize)!=null?_:0),-.999999);return m.columnSizingStart.forEach(P=>{let[x,$]=P;c[x]=Math.round(Math.max($+$*T,0)*100)/100}),{...m,deltaOffset:k,deltaPercentage:T}}),(t.options.columnResizeMode==="onChange"||v==="end")&&t.setColumnSizing(m=>({...m,...c})))},d=v=>u("move",v),f=v=>{u("end",v),t.setColumnSizingInfo(S=>({...S,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},p=n||typeof document<"u"?document:null,h={moveHandler:v=>d(v.clientX),upHandler:v=>{p==null||p.removeEventListener("mousemove",h.moveHandler),p==null||p.removeEventListener("mouseup",h.upHandler),f(v.clientX)}},y={moveHandler:v=>(v.cancelable&&(v.preventDefault(),v.stopPropagation()),d(v.touches[0].clientX),!1),upHandler:v=>{var S;p==null||p.removeEventListener("touchmove",y.moveHandler),p==null||p.removeEventListener("touchend",y.upHandler),v.cancelable&&(v.preventDefault(),v.stopPropagation()),f((S=v.touches[0])==null?void 0:S.clientX)}},C=IB()?{passive:!1}:!1;Eg(i)?(p==null||p.addEventListener("touchmove",y.moveHandler,C),p==null||p.addEventListener("touchend",y.upHandler,C)):(p==null||p.addEventListener("mousemove",h.moveHandler,C),p==null||p.addEventListener("mouseup",h.upHandler,C)),t.setColumnSizingInfo(v=>({...v,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?$g():(n=e.initialState.columnSizingInfo)!=null?n:$g())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0}}};let xu=null;function IB(){if(typeof xu=="boolean")return xu;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return xu=e,xu}function Eg(e){return e.type==="touchstart"}const OB={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:tr("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;const o=e.columns;return(n=o.length?o.some(i=>i.getIsVisible()):(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},e.getCanHide=()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Me(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),Ie(t.options,"debugRows")),e.getVisibleCells=Me(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,o)=>[...n,...r,...o],Ie(t.options,"debugRows"))},createTable:e=>{const t=(n,r)=>Me(()=>[r(),r().filter(o=>o.getIsVisible()).map(o=>o.id).join("_")],o=>o.filter(i=>i.getIsVisible==null?void 0:i.getIsVisible()),Ie(e.options,"debugColumns"));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((o,i)=>({...o,[i.id]:n||!(i.getCanHide!=null&&i.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}};function Ll(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const LB={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},AB={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:tr("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,o,i;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((o=t.options.enableFilters)!=null?o:!0)&&((i=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?i:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>go.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return Sp(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:go[r]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},NB={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:tr("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(!t){e._queue(()=>{t=!0});return}if((r=(o=e.options.autoResetAll)!=null?o:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var o,i;e.setExpanded(r?{}:(o=(i=e.initialState)==null?void 0:i.expanded)!=null?o:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(o=>!o.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(i=>{const a=i.split(".");r=Math.max(r,a.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var o;const i=r===!0?!0:!!(r!=null&&r[e.id]);let a={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(s=>{a[s]=!0}):a=r,n=(o=n)!=null?o:!i,!i&&n)return{...a,[e.id]:!0};if(i&&!n){const{[e.id]:s,...l}=a;return l}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r!=null&&r[e.id])},e.getCanExpand=()=>{var n,r,o;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((o=e.subRows)!=null&&o.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},$m=0,Em=10,Mg=()=>({pageIndex:$m,pageSize:Em}),DB={getInitialState:e=>({...e,pagination:{...Mg(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:tr("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,o;if(!t){e._queue(()=>{t=!0});return}if((r=(o=e.options.autoResetAll)!=null?o:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=r=>{const o=i=>Xo(r,i);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(o)},e.resetPagination=r=>{var o;e.setPagination(r?Mg():(o=e.initialState.pagination)!=null?o:Mg())},e.setPageIndex=r=>{e.setPagination(o=>{let i=Xo(r,o.pageIndex);const a=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return i=Math.max(0,Math.min(i,a)),{...o,pageIndex:i}})},e.resetPageIndex=r=>{var o,i;e.setPageIndex(r?$m:(o=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageIndex)!=null?o:$m)},e.resetPageSize=r=>{var o,i;e.setPageSize(r?Em:(o=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageSize)!=null?o:Em)},e.setPageSize=r=>{e.setPagination(o=>{const i=Math.max(1,Xo(r,o.pageSize)),a=o.pageSize*o.pageIndex,s=Math.floor(a/i);return{...o,pageIndex:s,pageSize:i}})},e.setPageCount=r=>e.setPagination(o=>{var i;let a=Xo(r,(i=e.options.pageCount)!=null?i:-1);return typeof a=="number"&&(a=Math.max(-1,a)),{...o,pageCount:a}}),e.getPageOptions=Me(()=>[e.getPageCount()],r=>{let o=[];return r&&r>0&&(o=[...new Array(r)].fill(null).map((i,a)=>a)),o},Ie(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,o=e.getPageCount();return o===-1?!0:o===0?!1:re.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var r;return(r=e.options.rowCount)!=null?r:e.getPrePaginationRowModel().rows.length}}},Ig=()=>({top:[],bottom:[]}),jB={getInitialState:e=>({rowPinning:Ig(),...e}),getDefaultOptions:e=>({onRowPinningChange:tr("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,o)=>{const i=r?e.getLeafRows().map(l=>{let{id:c}=l;return c}):[],a=o?e.getParentRows().map(l=>{let{id:c}=l;return c}):[],s=new Set([...a,e.id,...i]);t.setRowPinning(l=>{var c,u;if(n==="bottom"){var d,f;return{top:((d=l==null?void 0:l.top)!=null?d:[]).filter(y=>!(s!=null&&s.has(y))),bottom:[...((f=l==null?void 0:l.bottom)!=null?f:[]).filter(y=>!(s!=null&&s.has(y))),...Array.from(s)]}}if(n==="top"){var p,h;return{top:[...((p=l==null?void 0:l.top)!=null?p:[]).filter(y=>!(s!=null&&s.has(y))),...Array.from(s)],bottom:((h=l==null?void 0:l.bottom)!=null?h:[]).filter(y=>!(s!=null&&s.has(y)))}}return{top:((c=l==null?void 0:l.top)!=null?c:[]).filter(y=>!(s!=null&&s.has(y))),bottom:((u=l==null?void 0:l.bottom)!=null?u:[]).filter(y=>!(s!=null&&s.has(y)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:o}=t.options;return typeof r=="function"?r(e):(n=r??o)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:o}=t.getState().rowPinning,i=n.some(s=>r==null?void 0:r.includes(s)),a=n.some(s=>o==null?void 0:o.includes(s));return i?"top":a?"bottom":!1},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();if(!o)return-1;const i=(n=o==="top"?t.getTopRows():t.getBottomRows())==null?void 0:n.map(a=>{let{id:s}=a;return s});return(r=i==null?void 0:i.indexOf(e.id))!=null?r:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?Ig():(n=(r=e.initialState)==null?void 0:r.rowPinning)!=null?n:Ig())},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;if(!t){var o,i;return!!((o=r.top)!=null&&o.length||(i=r.bottom)!=null&&i.length)}return!!((n=r[t])!=null&&n.length)},e._getPinnedRows=(t,n,r)=>{var o;return((o=e.options.keepPinnedRows)==null||o?(n??[]).map(a=>{const s=e.getRow(a,!0);return s.getIsAllParentsExpanded()?s:null}):(n??[]).map(a=>t.find(s=>s.id===a))).filter(Boolean).map(a=>({...a,position:r}))},e.getTopRows=Me(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),Ie(e.options,"debugRows")),e.getBottomRows=Me(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),Ie(e.options,"debugRows")),e.getCenterRows=Me(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,r)=>{const o=new Set([...n??[],...r??[]]);return t.filter(i=>!o.has(i.id))},Ie(e.options,"debugRows"))}},FB={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:tr("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach(i=>{i.getCanSelect()&&(r[i.id]=!0)}):o.forEach(i=>{delete r[i.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),o={...n};return e.getRowModel().rows.forEach(i=>{Mm(o,i.id,r,!0,e)}),o}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Me(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?Og(e,n):{rows:[],flatRows:[],rowsById:{}},Ie(e.options,"debugTable")),e.getFilteredSelectedRowModel=Me(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?Og(e,n):{rows:[],flatRows:[],rowsById:{}},Ie(e.options,"debugTable")),e.getGroupedSelectedRowModel=Me(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?Og(e,n):{rows:[],flatRows:[],rowsById:{}},Ie(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(o=>o.getCanSelect()&&!n[o.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(o=>o.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(o=>!n[o.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const o=e.getIsSelected();t.setRowSelection(i=>{var a;if(n=typeof n<"u"?n:!o,e.getCanSelect()&&o===n)return i;const s={...i};return Mm(s,e.id,n,(a=r==null?void 0:r.selectChildren)!=null?a:!0,t),s})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return V1(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return Im(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return Im(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return r=>{var o;n&&e.toggleSelected((o=r.target)==null?void 0:o.checked)}}}},Mm=(e,t,n,r,o)=>{var i;const a=o.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach(s=>delete e[s]),a.getCanSelect()&&(e[t]=!0)):delete e[t],r&&(i=a.subRows)!=null&&i.length&&a.getCanSelectSubRows()&&a.subRows.forEach(s=>Mm(e,s.id,n,r,o))};function Og(e,t){const n=e.getState().rowSelection,r=[],o={},i=function(a,s){return a.map(l=>{var c;const u=V1(l,n);if(u&&(r.push(l),o[l.id]=l),(c=l.subRows)!=null&&c.length&&(l={...l,subRows:i(l.subRows)}),u)return l}).filter(Boolean)};return{rows:i(t.rows),flatRows:r,rowsById:o}}function V1(e,t){var n;return(n=t[e.id])!=null?n:!1}function Im(e,t,n){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let o=!0,i=!1;return e.subRows.forEach(a=>{if(!(i&&!o)&&(a.getCanSelect()&&(V1(a,t)?i=!0:o=!1),a.subRows&&a.subRows.length)){const s=Im(a,t);s==="all"?i=!0:(s==="some"&&(i=!0),o=!1)}}),o?"all":i?"some":!1}const Om=/([0-9]+)/gm,BB=(e,t,n)=>PR(gi(e.getValue(n)).toLowerCase(),gi(t.getValue(n)).toLowerCase()),zB=(e,t,n)=>PR(gi(e.getValue(n)),gi(t.getValue(n))),HB=(e,t,n)=>W1(gi(e.getValue(n)).toLowerCase(),gi(t.getValue(n)).toLowerCase()),VB=(e,t,n)=>W1(gi(e.getValue(n)),gi(t.getValue(n))),WB=(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:rW1(e.getValue(n),t.getValue(n));function W1(e,t){return e===t?0:e>t?1:-1}function gi(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function PR(e,t){const n=e.split(Om).filter(Boolean),r=t.split(Om).filter(Boolean);for(;n.length&&r.length;){const o=n.shift(),i=r.shift(),a=parseInt(o,10),s=parseInt(i,10),l=[a,s].sort();if(isNaN(l[0])){if(o>i)return 1;if(i>o)return-1;continue}if(isNaN(l[1]))return isNaN(a)?-1:1;if(a>s)return 1;if(s>a)return-1}return n.length-r.length}const rl={alphanumeric:BB,alphanumericCaseSensitive:zB,text:HB,textCaseSensitive:VB,datetime:WB,basic:UB},GB={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:tr("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const o of n){const i=o==null?void 0:o.getValue(e.id);if(Object.prototype.toString.call(i)==="[object Date]")return rl.datetime;if(typeof i=="string"&&(r=!0,i.split(Om).length>1))return rl.alphanumeric}return r?rl.text:rl.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof(n==null?void 0:n.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return Sp(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:rl[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),i=typeof n<"u"&&n!==null;t.setSorting(a=>{const s=a==null?void 0:a.find(p=>p.id===e.id),l=a==null?void 0:a.findIndex(p=>p.id===e.id);let c=[],u,d=i?n:o==="desc";if(a!=null&&a.length&&e.getCanMultiSort()&&r?s?u="toggle":u="add":a!=null&&a.length&&l!==a.length-1?u="replace":s?u="toggle":u="replace",u==="toggle"&&(i||o||(u="remove")),u==="add"){var f;c=[...a,{id:e.id,desc:d}],c.splice(0,c.length-((f=t.options.maxMultiSortColCount)!=null?f:Number.MAX_SAFE_INTEGER))}else u==="toggle"?c=a.map(p=>p.id===e.id?{...p,desc:d}:p):u==="remove"?c=a.filter(p=>p.id!==e.id):c=[{id:e.id,desc:d}];return c})},e.getFirstSortDir=()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var r,o;const i=e.getFirstSortDir(),a=e.getIsSorted();return a?a!==i&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(o=t.options.enableMultiRemove)!=null)||o)?!1:a==="desc"?"asc":"desc":i},e.getCanSort=()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(o=>o.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(o=>o.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},qB=[gB,OB,$B,EB,mB,vB,LB,AB,GB,PB,NB,DB,jB,FB,MB];function KB(e){var t,n;const r=[...qB,...(t=e._features)!=null?t:[]];let o={_features:r};const i=o._features.reduce((f,p)=>Object.assign(f,p.getDefaultOptions==null?void 0:p.getDefaultOptions(o)),{}),a=f=>o.options.mergeOptions?o.options.mergeOptions(i,f):{...i,...f};let l={...{},...(n=e.initialState)!=null?n:{}};o._features.forEach(f=>{var p;l=(p=f.getInitialState==null?void 0:f.getInitialState(l))!=null?p:l});const c=[];let u=!1;const d={_features:r,options:{...i,...e},initialState:l,_queue:f=>{c.push(f),u||(u=!0,Promise.resolve().then(()=>{for(;c.length;)c.shift()();u=!1}).catch(p=>setTimeout(()=>{throw p})))},reset:()=>{o.setState(o.initialState)},setOptions:f=>{const p=Xo(f,o.options);o.options=a(p)},getState:()=>o.options.state,setState:f=>{o.options.onStateChange==null||o.options.onStateChange(f)},_getRowId:(f,p,h)=>{var y;return(y=o.options.getRowId==null?void 0:o.options.getRowId(f,p,h))!=null?y:`${h?[h.id,p].join("."):p}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(f,p)=>{let h=(p?o.getPrePaginationRowModel():o.getRowModel()).rowsById[f];if(!h&&(h=o.getCoreRowModel().rowsById[f],!h))throw new Error;return h},_getDefaultColumnDef:Me(()=>[o.options.defaultColumn],f=>{var p;return f=(p=f)!=null?p:{},{header:h=>{const y=h.header.column.columnDef;return y.accessorKey?y.accessorKey:y.accessorFn?y.id:null},cell:h=>{var y,C;return(y=(C=h.renderValue())==null||C.toString==null?void 0:C.toString())!=null?y:null},...o._features.reduce((h,y)=>Object.assign(h,y.getDefaultColumnDef==null?void 0:y.getDefaultColumnDef()),{}),...f}},Ie(e,"debugColumns")),_getColumnDefs:()=>o.options.columns,getAllColumns:Me(()=>[o._getColumnDefs()],f=>{const p=function(h,y,C){return C===void 0&&(C=0),h.map(v=>{const S=pB(o,v,C,y),m=v;return S.columns=m.columns?p(m.columns,S,C+1):[],S})};return p(f)},Ie(e,"debugColumns")),getAllFlatColumns:Me(()=>[o.getAllColumns()],f=>f.flatMap(p=>p.getFlatColumns()),Ie(e,"debugColumns")),_getAllFlatColumnsById:Me(()=>[o.getAllFlatColumns()],f=>f.reduce((p,h)=>(p[h.id]=h,p),{}),Ie(e,"debugColumns")),getAllLeafColumns:Me(()=>[o.getAllColumns(),o._getOrderColumnsFn()],(f,p)=>{let h=f.flatMap(y=>y.getLeafColumns());return p(h)},Ie(e,"debugColumns")),getColumn:f=>o._getAllFlatColumnsById()[f]};Object.assign(o,d);for(let f=0;fMe(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(o,i,a){i===void 0&&(i=0);const s=[];for(let c=0;ce._autoResetPageIndex()))}function QB(e){const t=[],n=r=>{var o;t.push(r),(o=r.subRows)!=null&&o.length&&r.getIsExpanded()&&r.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function YB(e){return t=>Me(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(n,r)=>{if(!r.rows.length)return r;const{pageSize:o,pageIndex:i}=n;let{rows:a,flatRows:s,rowsById:l}=r;const c=o*i,u=c+o;a=a.slice(c,u);let d;t.options.paginateExpandedRows?d={rows:a,flatRows:s,rowsById:l}:d=QB({rows:a,flatRows:s,rowsById:l}),d.flatRows=[];const f=p=>{d.flatRows.push(p),p.subRows.length&&p.subRows.forEach(f)};return d.rows.forEach(f),d},Ie(t.options,"debugTable"))}function XB(){return e=>Me(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const r=e.getState().sorting,o=[],i=r.filter(l=>{var c;return(c=e.getColumn(l.id))==null?void 0:c.getCanSort()}),a={};i.forEach(l=>{const c=e.getColumn(l.id);c&&(a[l.id]={sortUndefined:c.columnDef.sortUndefined,invertSorting:c.columnDef.invertSorting,sortingFn:c.getSortingFn()})});const s=l=>{const c=l.map(u=>({...u}));return c.sort((u,d)=>{for(let p=0;p{var d;o.push(u),(d=u.subRows)!=null&&d.length&&(u.subRows=s(u.subRows))}),c};return{rows:s(n.rows),flatRows:o,rowsById:n.rowsById}},Ie(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/** + * react-table + * + * Copyright (c) TanStack + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function kR(e,t){return e?JB(e)?b.createElement(e,t):e:null}function JB(e){return ez(e)||typeof e=="function"||tz(e)}function ez(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function tz(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function nz(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=b.useState(()=>({current:KB(t)})),[r,o]=b.useState(()=>n.current.initialState);return n.current.setOptions(i=>({...i,...e,state:{...r,...e.state},onStateChange:a=>{o(a),e.onStateChange==null||e.onStateChange(a)}})),n.current}const rz=e=>e.map(t=>({...t,accessorKey:t.field,header:t.renderHeader?({table:n})=>t.renderHeader({table:n}):t.headerName,minSize:t.minWidth,maxSize:t.maxWidth,size:t.width,cell:t.renderCell?n=>t.renderCell({...n,data:n.row.original}):n=>n.renderValue(),meta:{headerAlign:t.headerAlign,align:t.align}}));function $R(e,t){const n="column"in e?e.column:e,r=t?"header":"col";return{minWidth:`max(calc(var(--${r}-${n.id}-size) * 1px), ${n.columnDef.minSize??0}px)`,width:`min(calc(var(--${r}-${n.id}-size) * 1px), ${n.columnDef.size}px)`,maxWidth:`min(calc(var(--${r}-${n.id}-size) * 1px), ${n.columnDef.maxSize??Number.MAX_SAFE_INTEGER}px)`}}const ER=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(!1),o=b.useRef(null),i=b.useCallback(()=>{if(o.current){const{scrollLeft:s,scrollWidth:l,clientWidth:c}=o.current;t(s>0),r(s{i()},[]);function a(s,l){const c="column"in s?s.column:s,u=c.getIsPinned();return{position:u||l?"sticky":"relative",top:l?0:void 0,left:u==="left"?`${c.getStart("left")}px`:void 0,right:u==="right"?`${c.getAfter("right")}px`:void 0,zIndex:l?u?3:2:u?2:1,backgroundColor:u?"#fff":"transparent",transition:"all 0.1s ease"}}return{tableContainerRef:o,getCommonPinningStyles:a,updateShadows:i,showShadowState:{showLeftShadow:e,showRightShadow:n}}},Lg=[10,25,50,100],oz=10,iz=10,az=({paginationMode:e,paginationState:t,onPageChange:n,onPageSizeChange:r})=>{const{pageIndex:o=0,pageSize:i=iz,totalCount:a}=t||{},[s,l]=b.useState({pageIndex:o,pageSize:i}),c=b.useMemo(()=>{if(e!=="client")return Math.ceil(a/s.pageSize)},[e,a,s.pageSize]),u=b.useCallback(f=>{l(p=>({...p,pageIndex:f})),n&&n(f)},[n]),d=b.useCallback(f=>{const p=Number(f.target.value);l(h=>({...h,pageSize:p})),r&&r(p)},[r]);return{pagination:s,setPagination:l,pageCount:c,handlePageChange:u,handleRowsPerPageChange:d}},sz="_root_71ors_3",lz="_withBorder_71ors_6",cz="_tableContainer_71ors_15",uz="_resizer_71ors_21",dz="_cell_71ors_35",fz="_headerCell_71ors_53",pz="_bodyCell_71ors_54",gz="_pinnedRight_71ors_67",hz="_pinnedLeft_71ors_68",mz="_rowWhenHover_71ors_92",vz="_emptyCell_71ors_103",yz="_footer_71ors_110",bz="_hide_71ors_114",xz="_onlyPagination_71ors_117",vn={root:sz,withBorder:lz,tableContainer:cz,resizer:uz,cell:dz,headerCell:fz,bodyCell:pz,pinnedRight:gz,pinnedLeft:hz,rowWhenHover:mz,emptyCell:vz,footer:yz,hide:bz,onlyPagination:xz},Sz=e=>{const{isExpanded:t,row:n,renderDetail:r}=e;return g.jsx(yp,{children:g.jsx(ps,{in:t,children:r?r(n):null},void 0)},void 0)},wz=rt.memo(({row:e,rowProps:t,showShadowState:n})=>g.jsx(yp,{...t,hover:!0,classes:{hover:vn.rowWhenHover},children:e.getVisibleCells().map(r=>g.jsx(Cz,{cell:r,showShadowState:n},void 0))},void 0),(e,t)=>e.row===t.row&&e.showShadowState===t.showShadowState),Cz=rt.memo(({cell:e,showShadowState:t})=>{var r;const{getCommonPinningStyles:n}=ER();return g.jsx(ys,{classes:{root:vn.cell,body:Gt(vn.bodyCell,{[vn.pinnedRight]:e.column.getIsPinned()==="right"&&e.column.getIsFirstColumn("right")&&t.showRightShadow,[vn.pinnedLeft]:e.column.getIsPinned()==="left"&&e.column.getIsLastColumn("left")&&t.showLeftShadow})},style:{...$R(e),...n(e,!1),textAlign:((r=e.column.columnDef.meta)==null?void 0:r.align)||"left"},children:kR(e.column.columnDef.cell,e.getContext())},e.id)},(e,t)=>e.cell.getValue()===t.cell.getValue()&&e.showShadowState===t.showShadowState),MR=e=>{const{table:t,showShadowState:n,renderDetail:r,expandedRows:o,columnsCount:i}=e,a=t.getRowModel().rows,s=zt();return g.jsx(R7,{children:a.length===0?g.jsx(yp,{children:g.jsx(ys,{colSpan:i,className:vn.emptyCell,children:g.jsx(mt,{color:"textSecondary",children:Kd(Ae.NoRows,s.language)},void 0)},void 0)},void 0):a.map(l=>{const c=!!o[l.id];return g.jsxs(g.Fragment,{children:[g.jsx(wz,{rowProps:{key:l.id},row:l,showShadowState:n},void 0),r&&c&&g.jsx(Sz,{row:l.original,isExpanded:c,renderDetail:r},void 0)]},void 0)})},void 0)},_z=rt.memo(MR,(e,t)=>e.table.options.data===t.table.options.data&&e.expandedRows===t.expandedRows),Rz=e=>{const{header:t}=e,n=b.useCallback(r=>{r.preventDefault(),t.getResizeHandler()(r.nativeEvent)},[t]);return g.jsx("div",{onMouseDown:n,className:Gt(vn.resizer,{[vn.isResizing]:t.column.getIsResizing()})},void 0)};var Lm;(function(e){e[e.ManageColumnDisplay=0]="ManageColumnDisplay"})(Lm||(Lm={}));const Tz=e=>{const{table:t}=e,[n,r]=b.useState(null),o=!!n,i=o?"simple-popover":void 0,a=(l,c)=>{r(l.currentTarget)},s=()=>{r(null)};return g.jsxs(D_,{sx:{display:"flex",justifyContent:"space-between"},children:[g.jsx(mt,{children:"Table"},void 0),g.jsxs("div",{children:[g.jsx(L1,{onClick:l=>a(l,Lm.ManageColumnDisplay),children:g.jsx(QA,{size:24},void 0)},void 0),g.jsx(I_,{id:i,open:o,onClose:s,anchorEl:n,anchorOrigin:{vertical:"bottom",horizontal:"right"},children:g.jsxs("div",{style:{padding:"16px",boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.25)"},children:[g.jsx(mt,{sx:{marginBottom:"16px"},children:"Manage Column Display"},void 0),g.jsx("div",{children:t.getAllLeafColumns().map(l=>g.jsx("div",{className:"px-1",children:g.jsxs("label",{children:[g.jsx("input",{type:"checkbox",checked:l.getIsVisible(),onChange:l.getToggleVisibilityHandler()},void 0)," ",l.columnDef.header]},void 0)},l.id))},void 0)]},void 0)},void 0)]},void 0)]},void 0)},Pz=e=>{const{header:t,children:n}=e;return t.column.getCanSort()?g.jsx(gA,{active:t.column.getIsSorted()!==!1,direction:t.column.getIsSorted()||"asc",onClick:t.column.getToggleSortingHandler(),children:n},void 0):g.jsx(g.Fragment,{children:n},void 0)},kz=()=>{const[e,t]=b.useState({}),n=o=>{t(i=>({...i,[o]:!i[o]}))},r=b.useMemo(()=>({id:"expander",headerName:"",field:"expander",renderCell:({row:o})=>g.jsx(L1,{onClick:()=>n(o.id),size:"small",children:e[o.id]?g.jsx(GA,{size:24},void 0):g.jsx(ia,{size:24},void 0)},void 0)}),[e]);return{expandedRows:e,toggleRowExpanded:n,expandedColumn:r}},$z=e=>{const{selectedIds:t}=e,n=t.reduce((a,s)=>(a[s]=!0,a),{}),[r,o]=b.useState(n||{});return{checkboxColumn:b.useMemo(()=>({id:"checkbox",headerName:"",field:"checkbox",renderHeader:({table:a})=>g.jsx(Qd,{checked:a.getIsAllRowsSelected(),indeterminate:a.getIsSomeRowsSelected(),onChange:a.getToggleAllRowsSelectedHandler()},void 0),renderCell:({row:a})=>g.jsx(Qd,{checked:a.getIsSelected(),disabled:!a.getCanSelect(),indeterminate:a.getIsSomeSelected(),onChange:a.getToggleSelectedHandler()},void 0)}),[]),setRowSelection:o,rowSelection:r}},ht=e=>{const{columns:t,rows:n,initialState:r,stickyHeader:o=!1,maxHeight:i,showPagination:a=!0,paginationMode:s="client",sortingMode:l="client",onSortingChange:c,rowCount:u=0,showPageSizeSelect:d=!0,pageSize:f,page:p,onPageChange:h,onPageSizeChange:y,enableColumnResizing:C=!1,showToolbar:v=!1,renderDetail:S,isRowSelectable:m,enableMultiRowSelection:w=!0,showCheckboxColumn:_=!1,onSelectChange:R,getRowId:k,renderFooter:T,classes:P={tableContainer:""},withBorder:x=!0,selectedRowIds:$=[]}=e,{tableContainerRef:I,getCommonPinningStyles:O,updateShadows:D,showShadowState:M}=ER(),{pagination:A,pageCount:N,handlePageChange:E,handleRowsPerPageChange:L}=az({paginationMode:s,paginationState:{pageIndex:p,pageSize:f,totalCount:u},onPageChange:h,onPageSizeChange:y}),{expandedColumn:B,expandedRows:H}=kz(),{rowSelection:z,setRowSelection:j,checkboxColumn:F}=$z({selectedIds:$}),[W,V]=b.useState([]),ee=b.useMemo(()=>{const de=[...t].filter(Q=>!Q.hide);return S&&de.unshift(B),_&&de.unshift(F),rz(de)},[t,S,H,_]),re=nz({data:n,columns:ee,getCoreRowModel:ZB(),getPaginationRowModel:YB(),getSortedRowModel:l==="client"?XB():void 0,onSortingChange:de=>{const Q=typeof de=="function"?de(W):de;V(Q),l==="server"&&c&&c(Q)},enableColumnPinning:!0,enableRowSelection:de=>_&&(m?m(de.original):!0),enableMultiRowSelection:w,initialState:r,defaultColumn:{enableSorting:!1},state:{pagination:A,sorting:W,rowSelection:z},manualPagination:s==="server",manualSorting:l==="server",pageCount:N,enableColumnResizing:C,columnResizeMode:"onChange",onRowSelectionChange:j,getRowId:de=>k?k(de):de.id}),{getState:U}=re,{columnSizing:K,columnSizingInfo:se}=U();b.useEffect(()=>{const de=Object.keys(z).filter(Q=>z[Q]);R&&R(de)},[z]);const{showPagination:q,totalCount:ce}=b.useMemo(()=>{const de=s==="server"?u:n.length;return{showPagination:a&&de>oz,totalCount:de}},[a,s,n.length]),ue=b.useMemo(()=>d?!f||Lg.includes(f)?Lg:[f,...Lg]:[],[d,f]),ie=b.useMemo(()=>{const de=re.getFlatHeaders().length;return{table:re,showShadowState:M,renderDetail:S,expandedRows:H,columnsCount:de}},[re,M,S,H]),te=b.useMemo(()=>{const de=re.getFlatHeaders(),Q={};for(let be=0;beg.jsx(yp,{children:de.headers.map(Q=>{var be;return g.jsxs(ys,{padding:"none",classes:{root:vn.cell,head:vn.headerCell},style:{...$R(Q,!0),...O(Q,o),textAlign:((be=Q.column.columnDef.meta)==null?void 0:be.headerAlign)||"left",backgroundColor:"#fff"},children:[g.jsx(Pz,{header:Q,children:Q.isPlaceholder?null:kR(Q.column.columnDef.header,Q.getContext())},void 0),Q.column.getCanResize()&&g.jsx(Rz,{header:Q},void 0)]},Q.id)})},de.id))},void 0),se.isResizingColumn?g.jsx(_z,{...ie},void 0):g.jsx(MR,{...ie},void 0)]},void 0)},void 0),g.jsxs(j7,{classes:{root:Gt(vn.footer,{[vn.hide]:!T&&!q,[vn.onlyPagination]:!T&&q})},children:[T&&T(Object.keys(z)),q&&g.jsx(ED,{rowsPerPage:A.pageSize,page:A.pageIndex,count:ce,onPageChange:(de,Q)=>E(Q),onRowsPerPageChange:L,rowsPerPageOptions:ue},void 0)]},void 0)]},void 0)};var IR={exports:{}},OR={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var xs=b;function Ez(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Mz=typeof Object.is=="function"?Object.is:Ez,Iz=xs.useState,Oz=xs.useEffect,Lz=xs.useLayoutEffect,Az=xs.useDebugValue;function Nz(e,t){var n=t(),r=Iz({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return Lz(function(){o.value=n,o.getSnapshot=t,Ag(o)&&i({inst:o})},[e,n,t]),Oz(function(){return Ag(o)&&i({inst:o}),e(function(){Ag(o)&&i({inst:o})})},[e]),Az(n),n}function Ag(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Mz(e,n)}catch{return!0}}function Dz(e,t){return t()}var jz=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Dz:Nz;OR.useSyncExternalStore=xs.useSyncExternalStore!==void 0?xs.useSyncExternalStore:jz;IR.exports=OR;var Fz=IR.exports;const Jo=()=>{},Pn=Jo(),Yu=Object,et=e=>e===Pn,Ir=e=>typeof e=="function",ko=(e,t)=>({...e,...t}),Bz=e=>Ir(e.then),Su=new WeakMap;let zz=0;const gc=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(Yu(e)===e&&!r&&n!=RegExp){if(o=Su.get(e),o)return o;if(o=++zz+"~",Su.set(e,o),n==Array){for(o="@",i=0;iwp&&typeof window.requestAnimationFrame!=U1,LR=(e,t)=>{const n=vo.get(e);return[()=>!et(t)&&e.get(t)||Ng,r=>{if(!et(t)){const o=e.get(t);t in wu||(wu[t]=o),n[5](t,ko(o,r),o||Ng)}},n[6],()=>!et(t)&&t in wu?wu[t]:!et(t)&&e.get(t)||Ng]};let Nm=!0;const Vz=()=>Nm,[Dm,jm]=wp&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Jo,Jo],Wz=()=>{const e=Am&&document.visibilityState;return et(e)||e!=="hidden"},Uz=e=>(Am&&document.addEventListener("visibilitychange",e),Dm("focus",e),()=>{Am&&document.removeEventListener("visibilitychange",e),jm("focus",e)}),Gz=e=>{const t=()=>{Nm=!0,e()},n=()=>{Nm=!1};return Dm("online",t),Dm("offline",n),()=>{jm("online",t),jm("offline",n)}},qz={isOnline:Vz,isVisible:Wz},Kz={initFocus:Uz,initReconnect:Gz},Vx=!rt.useId,hc=!wp||"Deno"in window,Zz=e=>Hz()?window.requestAnimationFrame(e):setTimeout(e,1),Xu=hc?b.useEffect:b.useLayoutEffect,Dg=typeof navigator<"u"&&navigator.connection,Wx=!hc&&Dg&&(["slow-2g","2g"].includes(Dg.effectiveType)||Dg.saveData),G1=e=>{if(Ir(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?gc(e):"",[e,t]};let Qz=0;const Fm=()=>++Qz,AR=0,NR=1,DR=2,Yz=3;var ol={__proto__:null,ERROR_REVALIDATE_EVENT:Yz,FOCUS_EVENT:AR,MUTATE_EVENT:DR,RECONNECT_EVENT:NR};async function jR(...e){const[t,n,r,o]=e,i=ko({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const c=f=>typeof s=="function"?s(f):s!==!1,u=i.throwOnError;if(Ir(n)){const f=n,p=[],h=t.keys();for(const y of h)!/^\$(inf|sub)\$/.test(y)&&f(t.get(y)._k)&&p.push(y);return Promise.all(p.map(d))}return d(n);async function d(f){const[p]=G1(f);if(!p)return;const[h,y]=LR(t,p),[C,v,S,m]=vo.get(t),w=()=>{const O=C[p];return(Ir(i.revalidate)?i.revalidate(h().data,f):i.revalidate!==!1)&&(delete S[p],delete m[p],O&&O[0])?O[0](DR).then(()=>h().data):h().data};if(e.length<3)return w();let _=r,R;const k=Fm();v[p]=[k,0];const T=!et(l),P=h(),x=P.data,$=P._c,I=et($)?x:$;if(T&&(l=Ir(l)?l(I,x):l,y({data:l,_c:I})),Ir(_))try{_=_(I)}catch(O){R=O}if(_&&Bz(_))if(_=await _.catch(O=>{R=O}),k!==v[p][0]){if(R)throw R;return _}else R&&T&&c(R)&&(a=!0,y({data:I,_c:Pn}));if(a&&!R)if(Ir(a)){const O=a(_,I);y({data:O,error:Pn,_c:Pn})}else y({data:_,error:Pn,_c:Pn});if(v[p][1]=Fm(),Promise.resolve(w()).then(()=>{y({_c:Pn})}),R){if(u)throw R;return}return _}}const Ux=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},FR=(e,t)=>{if(!vo.has(e)){const n=ko(Kz,t),r={},o=jR.bind(Pn,e);let i=Jo;const a={},s=(u,d)=>{const f=a[u]||[];return a[u]=f,f.push(d),()=>f.splice(f.indexOf(d),1)},l=(u,d,f)=>{e.set(u,d);const p=a[u];if(p)for(const h of p)h(d,f)},c=()=>{if(!vo.has(e)&&(vo.set(e,[r,{},{},{},o,l,s]),!hc)){const u=n.initFocus(setTimeout.bind(Pn,Ux.bind(Pn,r,AR))),d=n.initReconnect(setTimeout.bind(Pn,Ux.bind(Pn,r,NR)));i=()=>{u&&u(),d&&d(),vo.delete(e)}}};return c(),[e,o,c,i]}return[e,vo.get(e)[4]]},Xz=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!et(i)&&a>i||setTimeout(r,s,o)},Jz=(e,t)=>gc(e)==gc(t),[q1,eH]=FR(new Map),BR=ko({onLoadingSlow:Jo,onSuccess:Jo,onError:Jo,onErrorRetry:Xz,onDiscarded:Jo,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Wx?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Wx?5e3:3e3,compare:Jz,isPaused:()=>!1,cache:q1,mutate:eH,fallback:{}},qz),zR=(e,t)=>{const n=ko(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=ko(o,a))}return n},Bm=b.createContext({}),tH=e=>{const{value:t}=e,n=b.useContext(Bm),r=Ir(t),o=b.useMemo(()=>r?t(n):t,[r,n,t]),i=b.useMemo(()=>r?o:zR(n,o),[r,n,o]),a=o&&o.provider,s=b.useRef(Pn);a&&!s.current&&(s.current=FR(a(i.cache||q1),o));const l=s.current;return l&&(i.cache=l[0],i.mutate=l[1]),Xu(()=>{if(l)return l[2]&&l[2](),l[3]},[]),b.createElement(Bm.Provider,ko(e,{value:i}))},nH="$inf$",HR=wp&&window.__SWR_DEVTOOLS_USE__,rH=HR?window.__SWR_DEVTOOLS_USE__:[],oH=()=>{HR&&(window.__SWR_DEVTOOLS_REACT__=rt)},iH=e=>Ir(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],aH=()=>ko(BR,b.useContext(Bm)),sH=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=G1(t),[,,,s]=vo.get(q1);if(a.startsWith(nH))return n(...i);const l=s[a];return et(l)?n(...i):(delete s[a],l)}),r),lH=rH.concat(sH),cH=e=>function(...n){const r=aH(),[o,i,a]=iH(n),s=zR(r,a);let l=e;const{use:c}=s,u=(c||[]).concat(lH);for(let d=u.length;d--;)l=u[d](l);return l(o,i||s.fetcher||null,s)},uH=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};oH();const Gx=rt.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),jg={dedupe:!0},dH=(e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:c,refreshWhenHidden:u,refreshWhenOffline:d,keepPreviousData:f}=n,[p,h,y,C]=vo.get(r),[v,S]=G1(e),m=b.useRef(!1),w=b.useRef(!1),_=b.useRef(v),R=b.useRef(t),k=b.useRef(n),T=()=>k.current,P=()=>T().isVisible()&&T().isOnline(),[x,$,I,O]=LR(r,v),D=b.useRef({}).current,M=et(a)?n.fallback[v]:a,A=(q,ce)=>{for(const ue in D){const ie=ue;if(ie==="data"){if(!o(q[ie],ce[ie])&&(!et(q[ie])||!o(W,ce[ie])))return!1}else if(ce[ie]!==q[ie])return!1}return!0},N=b.useMemo(()=>{const q=!v||!t?!1:et(s)?T().isPaused()||i?!1:et(l)?!0:l:s,ce=be=>{const Te=ko(be);return delete Te._k,q?{isValidating:!0,isLoading:!0,...Te}:Te},ue=x(),ie=O(),te=ce(ue),de=ue===ie?te:ce(ie);let Q=te;return[()=>{const be=ce(x());return A(be,Q)?(Q.data=be.data,Q.isLoading=be.isLoading,Q.isValidating=be.isValidating,Q.error=be.error,Q):(Q=be,be)},()=>de]},[r,v]),E=Fz.useSyncExternalStore(b.useCallback(q=>I(v,(ce,ue)=>{A(ue,ce)||q()}),[r,v]),N[0],N[1]),L=!m.current,B=p[v]&&p[v].length>0,H=E.data,z=et(H)?M:H,j=E.error,F=b.useRef(z),W=f?et(H)?F.current:H:z,V=B&&!et(j)?!1:L&&!et(s)?s:T().isPaused()?!1:i?et(z)?!1:l:et(z)||l,ee=!!(v&&t&&L&&V),re=et(E.isValidating)?ee:E.isValidating,U=et(E.isLoading)?ee:E.isLoading,K=b.useCallback(async q=>{const ce=R.current;if(!v||!ce||w.current||T().isPaused())return!1;let ue,ie,te=!0;const de=q||{},Q=!y[v]||!de.dedupe,be=()=>Vx?!w.current&&v===_.current&&m.current:v===_.current,Te={isValidating:!1,isLoading:!1},we=()=>{$(Te)},ge=()=>{const Se=y[v];Se&&Se[1]===ie&&delete y[v]},le={isValidating:!0};et(x().data)&&(le.isLoading=!0);try{if(Q&&($(le),n.loadingTimeout&&et(x().data)&&setTimeout(()=>{te&&be()&&T().onLoadingSlow(v,n)},n.loadingTimeout),y[v]=[ce(S),Fm()]),[ue,ie]=y[v],ue=await ue,Q&&setTimeout(ge,n.dedupingInterval),!y[v]||y[v][1]!==ie)return Q&&be()&&T().onDiscarded(v),!1;Te.error=Pn;const Se=h[v];if(!et(Se)&&(ie<=Se[0]||ie<=Se[1]||Se[1]===0))return we(),Q&&be()&&T().onDiscarded(v),!1;const ye=x().data;Te.data=o(ye,ue)?ye:ue,Q&&be()&&T().onSuccess(ue,v,n)}catch(Se){ge();const ye=T(),{shouldRetryOnError:Ge}=ye;ye.isPaused()||(Te.error=Se,Q&&be()&&(ye.onError(Se,v,ye),(Ge===!0||Ir(Ge)&&Ge(Se))&&(!T().revalidateOnFocus||!T().revalidateOnReconnect||P())&&ye.onErrorRetry(Se,v,ye,Pe=>{const Re=p[v];Re&&Re[0]&&Re[0](ol.ERROR_REVALIDATE_EVENT,Pe)},{retryCount:(de.retryCount||0)+1,dedupe:!0})))}return te=!1,we(),!0},[v,r]),se=b.useCallback((...q)=>jR(r,_.current,...q),[]);if(Xu(()=>{R.current=t,k.current=n,et(H)||(F.current=H)}),Xu(()=>{if(!v)return;const q=K.bind(Pn,jg);let ce=0;const ie=uH(v,p,(te,de={})=>{if(te==ol.FOCUS_EVENT){const Q=Date.now();T().revalidateOnFocus&&Q>ce&&P()&&(ce=Q+T().focusThrottleInterval,q())}else if(te==ol.RECONNECT_EVENT)T().revalidateOnReconnect&&P()&&q();else{if(te==ol.MUTATE_EVENT)return K();if(te==ol.ERROR_REVALIDATE_EVENT)return K(de)}});return w.current=!1,_.current=v,m.current=!0,$({_k:S}),V&&(et(z)||hc?q():Zz(q)),()=>{w.current=!0,ie()}},[v]),Xu(()=>{let q;function ce(){const ie=Ir(c)?c(x().data):c;ie&&q!==-1&&(q=setTimeout(ue,ie))}function ue(){!x().error&&(u||T().isVisible())&&(d||T().isOnline())?K(jg).then(ce):ce()}return ce(),()=>{q&&(clearTimeout(q),q=-1)}},[c,u,d,v]),b.useDebugValue(W),i&&et(z)&&v){if(!Vx&&hc)throw new Error("Fallback data is required when using suspense in SSR.");R.current=t,k.current=n,w.current=!1;const q=C[v];if(!et(q)){const ce=se(q);Gx(ce)}if(et(j)){const ce=K(jg);et(W)||(ce.status="fulfilled",ce.value=!0),Gx(ce)}else throw j}return{mutate:se,get data(){return D.data=!0,W},get error(){return D.error=!0,j},get isValidating(){return D.isValidating=!0,re},get isLoading(){return D.isLoading=!0,U}}},fH=Yu.defineProperty(tH,"defaultValue",{value:BR}),nt=cH(dH);function VR(e,t){return function(){return e.apply(t,arguments)}}const{toString:pH}=Object.prototype,{getPrototypeOf:K1}=Object,Cp=(e=>t=>{const n=pH.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Vr=e=>(e=e.toLowerCase(),t=>Cp(t)===e),_p=e=>t=>typeof t===e,{isArray:Os}=Array,mc=_p("undefined");function gH(e){return e!==null&&!mc(e)&&e.constructor!==null&&!mc(e.constructor)&&Xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const WR=Vr("ArrayBuffer");function hH(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&WR(e.buffer),t}const mH=_p("string"),Xn=_p("function"),UR=_p("number"),Rp=e=>e!==null&&typeof e=="object",vH=e=>e===!0||e===!1,Ju=e=>{if(Cp(e)!=="object")return!1;const t=K1(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},yH=Vr("Date"),bH=Vr("File"),xH=Vr("Blob"),SH=Vr("FileList"),wH=e=>Rp(e)&&Xn(e.pipe),CH=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xn(e.append)&&((t=Cp(e))==="formdata"||t==="object"&&Xn(e.toString)&&e.toString()==="[object FormData]"))},_H=Vr("URLSearchParams"),[RH,TH,PH,kH]=["ReadableStream","Request","Response","Headers"].map(Vr),$H=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Oc(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Os(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ji=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,qR=e=>!mc(e)&&e!==ji;function zm(){const{caseless:e}=qR(this)&&this||{},t={},n=(r,o)=>{const i=e&&GR(t,o)||o;Ju(t[i])&&Ju(r)?t[i]=zm(t[i],r):Ju(r)?t[i]=zm({},r):Os(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(Oc(t,(o,i)=>{n&&Xn(o)?e[i]=VR(o,n):e[i]=o},{allOwnKeys:r}),e),MH=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),IH=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},OH=(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&K1(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},LH=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},AH=e=>{if(!e)return null;if(Os(e))return e;let t=e.length;if(!UR(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},NH=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&K1(Uint8Array)),DH=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},jH=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},FH=Vr("HTMLFormElement"),BH=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),qx=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),zH=Vr("RegExp"),KR=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Oc(n,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(r[i]=a||o)}),Object.defineProperties(e,r)},HH=e=>{KR(e,(t,n)=>{if(Xn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Xn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},VH=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Os(e)?r(e):r(String(e).split(t)),n},WH=()=>{},UH=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Fg="abcdefghijklmnopqrstuvwxyz",Kx="0123456789",ZR={DIGIT:Kx,ALPHA:Fg,ALPHA_DIGIT:Fg+Fg.toUpperCase()+Kx},GH=(e=16,t=ZR.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function qH(e){return!!(e&&Xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const KH=e=>{const t=new Array(10),n=(r,o)=>{if(Rp(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Os(r)?[]:{};return Oc(r,(a,s)=>{const l=n(a,o+1);!mc(l)&&(i[s]=l)}),t[o]=void 0,i}}return r};return n(e,0)},ZH=Vr("AsyncFunction"),QH=e=>e&&(Rp(e)||Xn(e))&&Xn(e.then)&&Xn(e.catch),QR=((e,t)=>e?setImmediate:t?((n,r)=>(ji.addEventListener("message",({source:o,data:i})=>{o===ji&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),ji.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Xn(ji.postMessage)),YH=typeof queueMicrotask<"u"?queueMicrotask.bind(ji):typeof process<"u"&&process.nextTick||QR,G={isArray:Os,isArrayBuffer:WR,isBuffer:gH,isFormData:CH,isArrayBufferView:hH,isString:mH,isNumber:UR,isBoolean:vH,isObject:Rp,isPlainObject:Ju,isReadableStream:RH,isRequest:TH,isResponse:PH,isHeaders:kH,isUndefined:mc,isDate:yH,isFile:bH,isBlob:xH,isRegExp:zH,isFunction:Xn,isStream:wH,isURLSearchParams:_H,isTypedArray:NH,isFileList:SH,forEach:Oc,merge:zm,extend:EH,trim:$H,stripBOM:MH,inherits:IH,toFlatObject:OH,kindOf:Cp,kindOfTest:Vr,endsWith:LH,toArray:AH,forEachEntry:DH,matchAll:jH,isHTMLForm:FH,hasOwnProperty:qx,hasOwnProp:qx,reduceDescriptors:KR,freezeMethods:HH,toObjectSet:VH,toCamelCase:BH,noop:WH,toFiniteNumber:UH,findKey:GR,global:ji,isContextDefined:qR,ALPHABET:ZR,generateString:GH,isSpecCompliantForm:qH,toJSONObject:KH,isAsyncFn:ZH,isThenable:QH,setImmediate:QR,asap:YH};function ze(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}G.inherits(ze,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.status}}});const YR=ze.prototype,XR={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{XR[e]={value:e}});Object.defineProperties(ze,XR);Object.defineProperty(YR,"isAxiosError",{value:!0});ze.from=(e,t,n,r,o,i)=>{const a=Object.create(YR);return G.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),ze.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const XH=null;function Hm(e){return G.isPlainObject(e)||G.isArray(e)}function JR(e){return G.endsWith(e,"[]")?e.slice(0,-2):e}function Zx(e,t,n){return e?e.concat(t).map(function(o,i){return o=JR(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function JH(e){return G.isArray(e)&&!e.some(Hm)}const eV=G.toFlatObject(G,{},null,function(t){return/^is[A-Z]/.test(t)});function Tp(e,t,n){if(!G.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=G.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,C){return!G.isUndefined(C[y])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(t);if(!G.isFunction(o))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(G.isDate(h))return h.toISOString();if(!l&&G.isBlob(h))throw new ze("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(h)||G.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,y,C){let v=h;if(h&&!C&&typeof h=="object"){if(G.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(G.isArray(h)&&JH(h)||(G.isFileList(h)||G.endsWith(y,"[]"))&&(v=G.toArray(h)))return y=JR(y),v.forEach(function(m,w){!(G.isUndefined(m)||m===null)&&t.append(a===!0?Zx([y],w,i):a===null?y:y+"[]",c(m))}),!1}return Hm(h)?!0:(t.append(Zx(C,y,i),c(h)),!1)}const d=[],f=Object.assign(eV,{defaultVisitor:u,convertValue:c,isVisitable:Hm});function p(h,y){if(!G.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(h),G.forEach(h,function(v,S){(!(G.isUndefined(v)||v===null)&&o.call(t,v,G.isString(S)?S.trim():S,y,f))===!0&&p(v,y?y.concat(S):[S])}),d.pop()}}if(!G.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Qx(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Z1(e,t){this._pairs=[],e&&Tp(e,this,t)}const e3=Z1.prototype;e3.append=function(t,n){this._pairs.push([t,n])};e3.toString=function(t){const n=t?function(r){return t.call(this,r,Qx)}:Qx;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function tV(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function t3(e,t,n){if(!t)return e;const r=n&&n.encode||tV,o=n&&n.serialize;let i;if(o?i=o(t,n):i=G.isURLSearchParams(t)?t.toString():new Z1(t,n).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Yx{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){G.forEach(this.handlers,function(r){r!==null&&t(r)})}}const n3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},nV=typeof URLSearchParams<"u"?URLSearchParams:Z1,rV=typeof FormData<"u"?FormData:null,oV=typeof Blob<"u"?Blob:null,iV={isBrowser:!0,classes:{URLSearchParams:nV,FormData:rV,Blob:oV},protocols:["http","https","file","blob","url","data"]},Q1=typeof window<"u"&&typeof document<"u",Vm=typeof navigator=="object"&&navigator||void 0,aV=Q1&&(!Vm||["ReactNative","NativeScript","NS"].indexOf(Vm.product)<0),sV=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",lV=Q1&&window.location.href||"http://localhost",cV=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Q1,hasStandardBrowserEnv:aV,hasStandardBrowserWebWorkerEnv:sV,navigator:Vm,origin:lV},Symbol.toStringTag,{value:"Module"})),Bn={...cV,...iV};function uV(e,t){return Tp(e,new Bn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Bn.isNode&&G.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function dV(e){return G.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function fV(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return a=!a&&G.isArray(o)?o.length:a,l?(G.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!s):((!o[a]||!G.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],i)&&G.isArray(o[a])&&(o[a]=fV(o[a])),!s)}if(G.isFormData(e)&&G.isFunction(e.entries)){const n={};return G.forEachEntry(e,(r,o)=>{t(dV(r),o,n,0)}),n}return null}function pV(e,t,n){if(G.isString(e))try{return(t||JSON.parse)(e),G.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Lc={transitional:n3,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=G.isObject(t);if(i&&G.isHTMLForm(t)&&(t=new FormData(t)),G.isFormData(t))return o?JSON.stringify(r3(t)):t;if(G.isArrayBuffer(t)||G.isBuffer(t)||G.isStream(t)||G.isFile(t)||G.isBlob(t)||G.isReadableStream(t))return t;if(G.isArrayBufferView(t))return t.buffer;if(G.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return uV(t,this.formSerializer).toString();if((s=G.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Tp(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),pV(t)):t}],transformResponse:[function(t){const n=this.transitional||Lc.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(G.isResponse(t)||G.isReadableStream(t))return t;if(t&&G.isString(t)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?ze.from(s,ze.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bn.classes.FormData,Blob:Bn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch"],e=>{Lc.headers[e]={}});const gV=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),hV=e=>{const t={};let n,r,o;return e&&e.split(` +`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&gV[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Xx=Symbol("internals");function il(e){return e&&String(e).trim().toLowerCase()}function ed(e){return e===!1||e==null?e:G.isArray(e)?e.map(ed):String(e)}function mV(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const vV=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Bg(e,t,n,r,o){if(G.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!G.isString(t)){if(G.isString(r))return t.indexOf(r)!==-1;if(G.isRegExp(r))return r.test(t)}}function yV(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function bV(e,t){const n=G.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class zn{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,l,c){const u=il(l);if(!u)throw new Error("header name must be a non-empty string");const d=G.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=ed(s))}const a=(s,l)=>G.forEach(s,(c,u)=>i(c,u,l));if(G.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(G.isString(t)&&(t=t.trim())&&!vV(t))a(hV(t),n);else if(G.isHeaders(t))for(const[s,l]of t.entries())i(l,s,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=il(t),t){const r=G.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return mV(o);if(G.isFunction(n))return n.call(this,o,r);if(G.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=il(t),t){const r=G.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Bg(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=il(a),a){const s=G.findKey(r,a);s&&(!n||Bg(r,r[s],s,n))&&(delete r[s],o=!0)}}return G.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Bg(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return G.forEach(this,(o,i)=>{const a=G.findKey(r,i);if(a){n[a]=ed(o),delete n[i];return}const s=t?yV(i):String(i).trim();s!==i&&delete n[i],n[s]=ed(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return G.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&G.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Xx]=this[Xx]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=il(a);r[s]||(bV(o,a),r[s]=!0)}return G.isArray(t)?t.forEach(i):i(t),this}}zn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.reduceDescriptors(zn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});G.freezeMethods(zn);function zg(e,t){const n=this||Lc,r=t||n,o=zn.from(r.headers);let i=r.data;return G.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function o3(e){return!!(e&&e.__CANCEL__)}function Ls(e,t,n){ze.call(this,e??"canceled",ze.ERR_CANCELED,t,n),this.name="CanceledError"}G.inherits(Ls,ze,{__CANCEL__:!0});function i3(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ze("Request failed with status code "+n.status,[ze.ERR_BAD_REQUEST,ze.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function xV(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function SV(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];a||(a=c),n[o]=l,r[o]=c;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(o=c,i||(i=setTimeout(()=>{i=null,a(o)},r-d)))},()=>o&&a(o)]}const Xd=(e,t,n=3)=>{let r=0;const o=SV(50,250);return wV(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,l=a-r,c=o(l),u=a<=s;r=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},Jx=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},eS=e=>(...t)=>G.asap(()=>e(...t)),CV=Bn.hasStandardBrowserEnv?function(){const t=Bn.navigator&&/(msie|trident)/i.test(Bn.navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const s=G.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),_V=Bn.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];G.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),G.isString(r)&&a.push("path="+r),G.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function RV(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function TV(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function a3(e,t){return e&&!RV(t)?TV(e,t):t}const tS=e=>e instanceof zn?{...e}:e;function sa(e,t){t=t||{};const n={};function r(c,u,d){return G.isPlainObject(c)&&G.isPlainObject(u)?G.merge.call({caseless:d},c,u):G.isPlainObject(u)?G.merge({},u):G.isArray(u)?u.slice():u}function o(c,u,d){if(G.isUndefined(u)){if(!G.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!G.isUndefined(u))return r(void 0,u)}function a(c,u){if(G.isUndefined(u)){if(!G.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>o(tS(c),tS(u),!0)};return G.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||o,f=d(e[u],t[u],u);G.isUndefined(f)&&d!==s||(n[u]=f)}),n}const s3=e=>{const t=sa({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=zn.from(a),t.url=t3(a3(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(G.isFormData(n)){if(Bn.hasStandardBrowserEnv||Bn.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Bn.hasStandardBrowserEnv&&(r&&G.isFunction(r)&&(r=r(t)),r||r!==!1&&CV(t.url))){const c=o&&i&&_V.read(i);c&&a.set(o,c)}return t},PV=typeof XMLHttpRequest<"u",kV=PV&&function(e){return new Promise(function(n,r){const o=s3(e);let i=o.data;const a=zn.from(o.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=o,u,d,f,p,h;function y(){p&&p(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let C=new XMLHttpRequest;C.open(o.method.toUpperCase(),o.url,!0),C.timeout=o.timeout;function v(){if(!C)return;const m=zn.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),_={data:!s||s==="text"||s==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:m,config:e,request:C};i3(function(k){n(k),y()},function(k){r(k),y()},_),C=null}"onloadend"in C?C.onloadend=v:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(v)},C.onabort=function(){C&&(r(new ze("Request aborted",ze.ECONNABORTED,e,C)),C=null)},C.onerror=function(){r(new ze("Network Error",ze.ERR_NETWORK,e,C)),C=null},C.ontimeout=function(){let w=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const _=o.transitional||n3;o.timeoutErrorMessage&&(w=o.timeoutErrorMessage),r(new ze(w,_.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,e,C)),C=null},i===void 0&&a.setContentType(null),"setRequestHeader"in C&&G.forEach(a.toJSON(),function(w,_){C.setRequestHeader(_,w)}),G.isUndefined(o.withCredentials)||(C.withCredentials=!!o.withCredentials),s&&s!=="json"&&(C.responseType=o.responseType),c&&([f,h]=Xd(c,!0),C.addEventListener("progress",f)),l&&C.upload&&([d,p]=Xd(l),C.upload.addEventListener("progress",d),C.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(u=m=>{C&&(r(!m||m.type?new Ls(null,e,C):m),C.abort(),C=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const S=xV(o.url);if(S&&Bn.protocols.indexOf(S)===-1){r(new ze("Unsupported protocol "+S+":",ze.ERR_BAD_REQUEST,e));return}C.send(i||null)})},$V=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(c){if(!o){o=!0,s();const u=c instanceof Error?c:this.reason;r.abort(u instanceof ze?u:new Ls(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,i(new ze(`timeout ${t} of ms exceeded`,ze.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>G.asap(s),l}},EV=function*(e,t){let n=e.byteLength;if(n{const o=MV(e,t);let i=0,a,s=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){s(),l.close();return}let d=u.byteLength;if(n){let f=i+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(l){return s(l),o.return()}},{highWaterMark:2})},Pp=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",l3=Pp&&typeof ReadableStream=="function",OV=Pp&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),c3=(e,...t)=>{try{return!!e(...t)}catch{return!1}},LV=l3&&c3(()=>{let e=!1;const t=new Request(Bn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),rS=64*1024,Wm=l3&&c3(()=>G.isReadableStream(new Response("").body)),Jd={stream:Wm&&(e=>e.body)};Pp&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Jd[t]&&(Jd[t]=G.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ze(`Response type '${t}' is not supported`,ze.ERR_NOT_SUPPORT,r)})})})(new Response);const AV=async e=>{if(e==null)return 0;if(G.isBlob(e))return e.size;if(G.isSpecCompliantForm(e))return(await new Request(Bn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(G.isArrayBufferView(e)||G.isArrayBuffer(e))return e.byteLength;if(G.isURLSearchParams(e)&&(e=e+""),G.isString(e))return(await OV(e)).byteLength},NV=async(e,t)=>{const n=G.toFiniteNumber(e.getContentLength());return n??AV(t)},DV=Pp&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=s3(e);c=c?(c+"").toLowerCase():"text";let p=$V([o,i&&i.toAbortSignal()],a),h;const y=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let C;try{if(l&&LV&&n!=="get"&&n!=="head"&&(C=await NV(u,r))!==0){let _=new Request(t,{method:"POST",body:r,duplex:"half"}),R;if(G.isFormData(r)&&(R=_.headers.get("content-type"))&&u.setContentType(R),_.body){const[k,T]=Jx(C,Xd(eS(l)));r=nS(_.body,rS,k,T)}}G.isString(d)||(d=d?"include":"omit");const v="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:v?d:void 0});let S=await fetch(h);const m=Wm&&(c==="stream"||c==="response");if(Wm&&(s||m&&y)){const _={};["status","statusText","headers"].forEach(P=>{_[P]=S[P]});const R=G.toFiniteNumber(S.headers.get("content-length")),[k,T]=s&&Jx(R,Xd(eS(s),!0))||[];S=new Response(nS(S.body,rS,k,()=>{T&&T(),y&&y()}),_)}c=c||"text";let w=await Jd[G.findKey(Jd,c)||"text"](S,e);return!m&&y&&y(),await new Promise((_,R)=>{i3(_,R,{data:w,headers:zn.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:h})})}catch(v){throw y&&y(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ze("Network Error",ze.ERR_NETWORK,e,h),{cause:v.cause||v}):ze.from(v,v&&v.code,e,h)}}),Um={http:XH,xhr:kV,fetch:DV};G.forEach(Um,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const oS=e=>`- ${e}`,jV=e=>G.isFunction(e)||e===null||e===!1,u3={getAdapter:e=>{e=G.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : +`+i.map(oS).join(` +`):" "+oS(i[0]):"as no adapter specified";throw new ze("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Um};function Hg(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ls(null,e)}function iS(e){return Hg(e),e.headers=zn.from(e.headers),e.data=zg.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),u3.getAdapter(e.adapter||Lc.adapter)(e).then(function(r){return Hg(e),r.data=zg.call(e,e.transformResponse,r),r.headers=zn.from(r.headers),r},function(r){return o3(r)||(Hg(e),r&&r.response&&(r.response.data=zg.call(e,e.transformResponse,r.response),r.response.headers=zn.from(r.response.headers))),Promise.reject(r)})}const d3="1.7.7",Y1={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Y1[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const aS={};Y1.transitional=function(t,n,r){function o(i,a){return"[Axios v"+d3+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,s)=>{if(t===!1)throw new ze(o(a," has been removed"+(n?" in "+n:"")),ze.ERR_DEPRECATED);return n&&!aS[a]&&(aS[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function FV(e,t,n){if(typeof e!="object")throw new ze("options must be an object",ze.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new ze("option "+i+" must be "+l,ze.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ze("Unknown option "+i,ze.ERR_BAD_OPTION)}}const Gm={assertOptions:FV,validators:Y1},No=Gm.validators;class Wi{constructor(t){this.defaults=t,this.interceptors={request:new Yx,response:new Yx}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=sa(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Gm.assertOptions(r,{silentJSONParsing:No.transitional(No.boolean),forcedJSONParsing:No.transitional(No.boolean),clarifyTimeoutError:No.transitional(No.boolean)},!1),o!=null&&(G.isFunction(o)?n.paramsSerializer={serialize:o}:Gm.assertOptions(o,{encode:No.function,serialize:No.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&G.merge(i.common,i[n.method]);i&&G.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=zn.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(l=l&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let u,d=0,f;if(!l){const h=[iS.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{r.subscribe(s),i=s}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,s){r.reason||(r.reason=new Ls(i,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new X1(function(o){t=o}),cancel:t}}}function BV(e){return function(n){return e.apply(null,n)}}function zV(e){return G.isObject(e)&&e.isAxiosError===!0}const qm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qm).forEach(([e,t])=>{qm[t]=e});function f3(e){const t=new Wi(e),n=VR(Wi.prototype.request,t);return G.extend(n,Wi.prototype,t,{allOwnKeys:!0}),G.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return f3(sa(e,o))},n}const Bt=f3(Lc);Bt.Axios=Wi;Bt.CanceledError=Ls;Bt.CancelToken=X1;Bt.isCancel=o3;Bt.VERSION=d3;Bt.toFormData=Tp;Bt.AxiosError=ze;Bt.Cancel=Bt.CanceledError;Bt.all=function(t){return Promise.all(t)};Bt.spread=BV;Bt.isAxiosError=zV;Bt.mergeConfig=sa;Bt.AxiosHeaders=zn;Bt.formToJSON=e=>r3(G.isHTMLForm(e)?new FormData(e):e);Bt.getAdapter=u3.getAdapter;Bt.HttpStatusCode=qm;Bt.default=Bt;var HV=Error,VV=EvalError,WV=RangeError,UV=ReferenceError,p3=SyntaxError,Ac=TypeError,GV=URIError,qV=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var o=42;t[n]=o;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,n);if(a.value!==o||a.enumerable!==!0)return!1}return!0},sS=typeof Symbol<"u"&&Symbol,KV=qV,ZV=function(){return typeof sS!="function"||typeof Symbol!="function"||typeof sS("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:KV()},Vg={__proto__:null,foo:{}},QV=Object,YV=function(){return{__proto__:Vg}.foo===Vg.foo&&!(Vg instanceof QV)},XV="Function.prototype.bind called on incompatible ",JV=Object.prototype.toString,eW=Math.max,tW="[object Function]",lS=function(t,n){for(var r=[],o=0;o"u"||!Yt?Qe:Yt(Uint8Array),Gi={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Qe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Qe:ArrayBuffer,"%ArrayIteratorPrototype%":wa&&Yt?Yt([][Symbol.iterator]()):Qe,"%AsyncFromSyncIteratorPrototype%":Qe,"%AsyncFunction%":Ra,"%AsyncGenerator%":Ra,"%AsyncGeneratorFunction%":Ra,"%AsyncIteratorPrototype%":Ra,"%Atomics%":typeof Atomics>"u"?Qe:Atomics,"%BigInt%":typeof BigInt>"u"?Qe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Qe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Qe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Qe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":uW,"%eval%":eval,"%EvalError%":dW,"%Float32Array%":typeof Float32Array>"u"?Qe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Qe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Qe:FinalizationRegistry,"%Function%":g3,"%GeneratorFunction%":Ra,"%Int8Array%":typeof Int8Array>"u"?Qe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Qe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Qe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":wa&&Yt?Yt(Yt([][Symbol.iterator]())):Qe,"%JSON%":typeof JSON=="object"?JSON:Qe,"%Map%":typeof Map>"u"?Qe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!wa||!Yt?Qe:Yt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Qe:Promise,"%Proxy%":typeof Proxy>"u"?Qe:Proxy,"%RangeError%":fW,"%ReferenceError%":pW,"%Reflect%":typeof Reflect>"u"?Qe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Qe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!wa||!Yt?Qe:Yt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Qe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":wa&&Yt?Yt(""[Symbol.iterator]()):Qe,"%Symbol%":wa?Symbol:Qe,"%SyntaxError%":Ss,"%ThrowTypeError%":hW,"%TypedArray%":vW,"%TypeError%":es,"%Uint8Array%":typeof Uint8Array>"u"?Qe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Qe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Qe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Qe:Uint32Array,"%URIError%":gW,"%WeakMap%":typeof WeakMap>"u"?Qe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Qe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Qe:WeakSet};if(Yt)try{null.error}catch(e){var yW=Yt(Yt(e));Gi["%Error.prototype%"]=yW}var bW=function e(t){var n;if(t==="%AsyncFunction%")n=Wg("async function () {}");else if(t==="%GeneratorFunction%")n=Wg("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Wg("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&Yt&&(n=Yt(o.prototype))}return Gi[t]=n,n},cS={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Nc=J1,ef=cW,xW=Nc.call(Function.call,Array.prototype.concat),SW=Nc.call(Function.apply,Array.prototype.splice),uS=Nc.call(Function.call,String.prototype.replace),tf=Nc.call(Function.call,String.prototype.slice),wW=Nc.call(Function.call,RegExp.prototype.exec),CW=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_W=/\\(\\)?/g,RW=function(t){var n=tf(t,0,1),r=tf(t,-1);if(n==="%"&&r!=="%")throw new Ss("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new Ss("invalid intrinsic syntax, expected opening `%`");var o=[];return uS(t,CW,function(i,a,s,l){o[o.length]=s?uS(l,_W,"$1"):a||i}),o},TW=function(t,n){var r=t,o;if(ef(cS,r)&&(o=cS[r],r="%"+o[0]+"%"),ef(Gi,r)){var i=Gi[r];if(i===Ra&&(i=bW(r)),typeof i>"u"&&!n)throw new es("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:r,value:i}}throw new Ss("intrinsic "+t+" does not exist!")},As=function(t,n){if(typeof t!="string"||t.length===0)throw new es("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new es('"allowMissing" argument must be a boolean');if(wW(/^%?[^%]*%?$/,t)===null)throw new Ss("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=RW(t),o=r.length>0?r[0]:"",i=TW("%"+o+"%",n),a=i.name,s=i.value,l=!1,c=i.alias;c&&(o=c[0],SW(r,xW([0,1],c)));for(var u=1,d=!0;u=r.length){var y=Ui(s,f);d=!!y,d&&"get"in y&&!("originalValue"in y.get)?s=y.get:s=s[f]}else d=ef(s,f),s=s[f];d&&!l&&(Gi[a]=s)}}return s},h3={exports:{}},Gg,dS;function ev(){if(dS)return Gg;dS=1;var e=As,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Gg=t,Gg}var PW=As,td=PW("%Object.getOwnPropertyDescriptor%",!0);if(td)try{td([],"length")}catch{td=null}var m3=td,fS=ev(),kW=p3,Ca=Ac,pS=m3,$W=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Ca("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Ca("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Ca("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Ca("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Ca("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Ca("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,l=!!pS&&pS(t,n);if(fS)fS(t,n,{configurable:a===null&&l?l.configurable:!a,enumerable:o===null&&l?l.enumerable:!o,value:r,writable:i===null&&l?l.writable:!i});else if(s||!o&&!i&&!a)t[n]=r;else throw new kW("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Km=ev(),v3=function(){return!!Km};v3.hasArrayLengthDefineBug=function(){if(!Km)return null;try{return Km([],"length",{value:1}).length!==1}catch{return!0}};var EW=v3,MW=As,gS=$W,IW=EW(),hS=m3,mS=Ac,OW=MW("%Math.floor%"),LW=function(t,n){if(typeof t!="function")throw new mS("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||OW(n)!==n)throw new mS("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in t&&hS){var a=hS(t,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!r)&&(IW?gS(t,"length",n,!0,!0):gS(t,"length",n)),t};(function(e){var t=J1,n=As,r=LW,o=Ac,i=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||t.call(a,i),l=ev(),c=n("%Math.max%");e.exports=function(f){if(typeof f!="function")throw new o("a function is required");var p=s(t,a,arguments);return r(p,1+c(0,f.length-(arguments.length-1)),!0)};var u=function(){return s(t,i,arguments)};l?l(e.exports,"apply",{value:u}):e.exports.apply=u})(h3);var AW=h3.exports,y3=As,b3=AW,NW=b3(y3("String.prototype.indexOf")),DW=function(t,n){var r=y3(t,!!n);return typeof r=="function"&&NW(t,".prototype.")>-1?b3(r):r};const jW={},FW=Object.freeze(Object.defineProperty({__proto__:null,default:jW},Symbol.toStringTag,{value:"Module"})),BW=H3(FW);var tv=typeof Map=="function"&&Map.prototype,qg=Object.getOwnPropertyDescriptor&&tv?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,nf=tv&&qg&&typeof qg.get=="function"?qg.get:null,vS=tv&&Map.prototype.forEach,nv=typeof Set=="function"&&Set.prototype,Kg=Object.getOwnPropertyDescriptor&&nv?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,rf=nv&&Kg&&typeof Kg.get=="function"?Kg.get:null,yS=nv&&Set.prototype.forEach,zW=typeof WeakMap=="function"&&WeakMap.prototype,Al=zW?WeakMap.prototype.has:null,HW=typeof WeakSet=="function"&&WeakSet.prototype,Nl=HW?WeakSet.prototype.has:null,VW=typeof WeakRef=="function"&&WeakRef.prototype,bS=VW?WeakRef.prototype.deref:null,WW=Boolean.prototype.valueOf,UW=Object.prototype.toString,GW=Function.prototype.toString,qW=String.prototype.match,rv=String.prototype.slice,ei=String.prototype.replace,KW=String.prototype.toUpperCase,xS=String.prototype.toLowerCase,x3=RegExp.prototype.test,SS=Array.prototype.concat,Xr=Array.prototype.join,ZW=Array.prototype.slice,wS=Math.floor,Zm=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Zg=Object.getOwnPropertySymbols,Qm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ws=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Sn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ws||!0)?Symbol.toStringTag:null,S3=Object.prototype.propertyIsEnumerable,CS=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function _S(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||x3.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-wS(-e):wS(e);if(r!==e){var o=String(r),i=rv.call(t,o.length+1);return ei.call(o,n,"$&_")+"."+ei.call(ei.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ei.call(t,n,"$&_")}var Ym=BW,RS=Ym.custom,TS=_3(RS)?RS:null,w3={__proto__:null,double:'"',single:"'"},QW={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},YW=function e(t,n,r,o){var i=n||{};if(ho(i,"quoteStyle")&&!ho(w3,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ho(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=ho(i,"customInspect")?i.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ho(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ho(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return T3(t,i);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?_S(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return s?_S(t,c):c}var u=typeof i.depth>"u"?5:i.depth;if(typeof r>"u"&&(r=0),r>=u&&u>0&&typeof t=="object")return Xm(t)?"[Array]":"[Object]";var d=hU(i,r);if(typeof o>"u")o=[];else if(R3(o,t)>=0)return"[Circular]";function f(O,D,M){if(D&&(o=ZW.call(o),o.push(D)),M){var A={depth:i.depth};return ho(i,"quoteStyle")&&(A.quoteStyle=i.quoteStyle),e(O,A,r+1,o)}return e(O,i,r+1,o)}if(typeof t=="function"&&!PS(t)){var p=aU(t),h=Cu(t,f);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(h.length>0?" { "+Xr.call(h,", ")+" }":"")}if(_3(t)){var y=ws?ei.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Qm.call(t);return typeof t=="object"&&!ws?al(y):y}if(fU(t)){for(var C="<"+xS.call(String(t.nodeName)),v=t.attributes||[],S=0;S",C}if(Xm(t)){if(t.length===0)return"[]";var m=Cu(t,f);return d&&!gU(m)?"["+Jm(m,d)+"]":"[ "+Xr.call(m,", ")+" ]"}if(eU(t)){var w=Cu(t,f);return!("cause"in Error.prototype)&&"cause"in t&&!S3.call(t,"cause")?"{ ["+String(t)+"] "+Xr.call(SS.call("[cause]: "+f(t.cause),w),", ")+" }":w.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Xr.call(w,", ")+" }"}if(typeof t=="object"&&a){if(TS&&typeof t[TS]=="function"&&Ym)return Ym(t,{depth:u-r});if(a!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(sU(t)){var _=[];return vS&&vS.call(t,function(O,D){_.push(f(D,t,!0)+" => "+f(O,t))}),kS("Map",nf.call(t),_,d)}if(uU(t)){var R=[];return yS&&yS.call(t,function(O){R.push(f(O,t))}),kS("Set",rf.call(t),R,d)}if(lU(t))return Qg("WeakMap");if(dU(t))return Qg("WeakSet");if(cU(t))return Qg("WeakRef");if(nU(t))return al(f(Number(t)));if(oU(t))return al(f(Zm.call(t)));if(rU(t))return al(WW.call(t));if(tU(t))return al(f(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof jl<"u"&&t===jl)return"{ [object globalThis] }";if(!JW(t)&&!PS(t)){var k=Cu(t,f),T=CS?CS(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",x=!T&&Sn&&Object(t)===t&&Sn in t?rv.call(Ci(t),8,-1):P?"Object":"",$=T||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",I=$+(x||P?"["+Xr.call(SS.call([],x||[],P||[]),": ")+"] ":"");return k.length===0?I+"{}":d?I+"{"+Jm(k,d)+"}":I+"{ "+Xr.call(k,", ")+" }"}return String(t)};function C3(e,t,n){var r=n.quoteStyle||t,o=w3[r];return o+e+o}function XW(e){return ei.call(String(e),/"/g,""")}function Xm(e){return Ci(e)==="[object Array]"&&(!Sn||!(typeof e=="object"&&Sn in e))}function JW(e){return Ci(e)==="[object Date]"&&(!Sn||!(typeof e=="object"&&Sn in e))}function PS(e){return Ci(e)==="[object RegExp]"&&(!Sn||!(typeof e=="object"&&Sn in e))}function eU(e){return Ci(e)==="[object Error]"&&(!Sn||!(typeof e=="object"&&Sn in e))}function tU(e){return Ci(e)==="[object String]"&&(!Sn||!(typeof e=="object"&&Sn in e))}function nU(e){return Ci(e)==="[object Number]"&&(!Sn||!(typeof e=="object"&&Sn in e))}function rU(e){return Ci(e)==="[object Boolean]"&&(!Sn||!(typeof e=="object"&&Sn in e))}function _3(e){if(ws)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Qm)return!1;try{return Qm.call(e),!0}catch{}return!1}function oU(e){if(!e||typeof e!="object"||!Zm)return!1;try{return Zm.call(e),!0}catch{}return!1}var iU=Object.prototype.hasOwnProperty||function(e){return e in this};function ho(e,t){return iU.call(e,t)}function Ci(e){return UW.call(e)}function aU(e){if(e.name)return e.name;var t=qW.call(GW.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function R3(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return T3(rv.call(e,0,t.maxStringLength),t)+r}var o=QW[t.quoteStyle||"single"];o.lastIndex=0;var i=ei.call(ei.call(e,o,"\\$1"),/[\x00-\x1f]/g,pU);return C3(i,"single",t)}function pU(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+KW.call(t.toString(16))}function al(e){return"Object("+e+")"}function Qg(e){return e+" { ? }"}function kS(e,t,n,r){var o=r?Jm(n,r):Xr.call(n,", ");return e+" ("+t+") {"+o+"}"}function gU(e){for(var t=0;t=0)return!1;return!0}function hU(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=Xr.call(Array(e.indent+1)," ");else return null;return{base:n,prev:Xr.call(Array(t+1),n)}}function Jm(e,t){if(e.length===0)return"";var n=` +`+t.prev+t.base;return n+Xr.call(e,","+n)+` +`+t.prev}function Cu(e,t){var n=Xm(e),r=[];if(n){r.length=e.length;for(var o=0;o1;){var n=t.pop(),r=n.obj[n.prop];if(Ii(r)){for(var o=[],i=0;i=Jg?a.slice(l,l+Jg):a,u=[],d=0;d=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===EU.RFC1738&&(f===40||f===41)){u[u.length]=c.charAt(d);continue}if(f<128){u[u.length]=qr[f];continue}if(f<2048){u[u.length]=qr[192|f>>6]+qr[128|f&63];continue}if(f<55296||f>=57344){u[u.length]=qr[224|f>>12]+qr[128|f>>6&63]+qr[128|f&63];continue}d+=1,f=65536+((f&1023)<<10|c.charCodeAt(d)&1023),u[u.length]=qr[240|f>>18]+qr[128|f>>12&63]+qr[128|f>>6&63]+qr[128|f&63]}s+=u.join("")}return s},NU=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],o=0;o"u"&&(_=0)}if(typeof u=="function"?m=u(n,m):m instanceof Date?m=p(m):r==="comma"&&Zr(m)&&(m=nd.maybeMap(m,function(B){return B instanceof Date?p(B):B})),m===null){if(a)return c&&!C?c(n,Wt.encoder,v,"key",h):n;m=""}if(WU(m)||nd.isBuffer(m)){if(c){var T=C?n:c(n,Wt.encoder,v,"key",h);return[y(T)+"="+y(c(m,Wt.encoder,v,"value",h))]}return[y(n)+"="+y(String(m))]}var P=[];if(typeof m>"u")return P;var x;if(r==="comma"&&Zr(m))C&&c&&(m=nd.maybeMap(m,c)),x=[{value:m.length>0?m.join(",")||null:void 0}];else if(Zr(u))x=u;else{var $=Object.keys(m);x=d?$.sort(d):$}var I=l?n.replace(/\./g,"%2E"):n,O=o&&Zr(m)&&m.length===1?I+"[]":I;if(i&&Zr(m)&&m.length===0)return O+"[]";for(var D=0;D"u"?t.encodeDotInKeys===!0?!0:Wt.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Wt.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Wt.allowEmptyArrays,arrayFormat:a,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Wt.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?Wt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Wt.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:Wt.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:Wt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Wt.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Wt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Wt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Wt.strictNullHandling}},qU=function(e,t){var n=e,r=GU(t),o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Zr(r.filter)&&(i=r.filter,o=i);var a=[];if(typeof n!="object"||n===null)return"";var s=M3[r.arrayFormat],l=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);for(var c=E3(),u=0;u0?p+f:""},Cs=$3,e0=Object.prototype.hasOwnProperty,KU=Array.isArray,Et={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Cs.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},ZU=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},O3=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},QU="utf8=%26%2310003%3B",YU="utf8=%E2%9C%93",XU=function(t,n){var r={__proto__:null},o=n.ignoreQueryPrefix?t.replace(/^\?/,""):t;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var i=n.parameterLimit===1/0?void 0:n.parameterLimit,a=o.split(n.delimiter,i),s=-1,l,c=n.charset;if(n.charsetSentinel)for(l=0;l-1&&(h=KU(h)?[h]:h);var y=e0.call(r,p);y&&n.duplicates==="combine"?r[p]=Cs.combine(r[p],h):(!y||n.duplicates==="last")&&(r[p]=h)}return r},JU=function(e,t,n,r){for(var o=r?t:O3(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if(s==="[]"&&n.parseArrays)a=n.allowEmptyArrays&&(o===""||n.strictNullHandling&&o===null)?[]:[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,c=n.decodeDotInKeys?l.replace(/%2E/g,"."):l,u=parseInt(c,10);!n.parseArrays&&c===""?a={0:o}:!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[],a[u]=o):c!=="__proto__"&&(a[c]=o)}o=a}return o},eG=function(t,n,r,o){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=r.depth>0&&a.exec(i),c=l?i.slice(0,l.index):i,u=[];if(c){if(!r.plainObjects&&e0.call(Object.prototype,c)&&!r.allowPrototypes)return;u.push(c)}for(var d=0;r.depth>0&&(l=s.exec(i))!==null&&d"u"?Et.charset:t.charset,r=typeof t.duplicates>"u"?Et.duplicates:t.duplicates;if(r!=="combine"&&r!=="first"&&r!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var o=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:Et.allowDots:!!t.allowDots;return{allowDots:o,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Et.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Et.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Et.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Et.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Et.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Et.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:Et.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:Et.decoder,delimiter:typeof t.delimiter=="string"||Cs.isRegExp(t.delimiter)?t.delimiter:Et.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Et.depth,duplicates:r,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Et.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Et.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Et.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:Et.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Et.strictNullHandling}},nG=function(e,t){var n=tG(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?XU(e,n):e,o=n.plainObjects?Object.create(null):{},i=Object.keys(r),a=0;a{if(th.has(nh))return th.get(nh);const t=sG.parse(window.location.search,{ignoreQueryPrefix:!0}).debug==="true";return th.set(nh,t),t},lG=`{ + "nodes_info": [ + { + "identifier": 1, + "connected": null, + "infos": { + "has_error": false, + "error_reason": "", + "name": "querynode1", + "hardware_infos": { + "ip": "172.18.20.7:21123", + "cpu_core_count": 8, + "cpu_core_usage": 0, + "memory": 34359738368, + "memory_usage": 18362302464, + "disk": 104857600, + "disk_usage": 2097152 + }, + "system_info": { + "system_version": "34cf5352ec", + "deploy_mode": "STANDALONE[MOCK]", + "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", + "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", + "used_go_version": "go version go1.22.3 darwin/amd64" + }, + "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", + "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", + "type": "querynode", + "id": 1, + "system_configurations": { + "simd_type": "auto" + }, + "quota_metrics": { + "Hms": { + "ip": "172.18.20.7:21123", + "cpu_core_count": 8, + "cpu_core_usage": 0, + "memory": 34359738368, + "memory_usage": 18362302464, + "disk": 104857600, + "disk_usage": 2097152 + }, + "Rms": [ + { + "Label": "InsertConsumeThroughput", + "Rate": 0 + }, + { + "Label": "DeleteConsumeThroughput", + "Rate": 0 + } + ], + "Fgm": { + "MinFlowGraphChannel": "", + "MinFlowGraphTt": 18446744073709551615, + "NumFlowGraph": 0 + }, + "GrowingSegmentsSize": 0, + "Effect": { + "NodeID": 1, + "CollectionIDs": [] + }, + "DeleteBufferInfo": { + "CollectionDeleteBufferNum": {}, + "CollectionDeleteBufferSize": {} + } + }, + "collection_metrics": { + "CollectionRows": {} + } + } + }, + { + "identifier": 1, + "connected": [ + { + "connected_identifier": 1, + "type": "manage", + "target_type": "querynode" + } + ], + "infos": { + "has_error": false, + "error_reason": "", + "name": "querycoord1", + "hardware_infos": { + "ip": "172.18.20.7:19531", + "cpu_core_count": 8, + "cpu_core_usage": 0, + "memory": 34359738368, + "memory_usage": 18362302464, + "disk": 104857600, + "disk_usage": 2097152 + }, + "system_info": { + "system_version": "34cf5352ec", + "deploy_mode": "STANDALONE[MOCK]", + "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", + "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", + "used_go_version": "go version go1.22.3 darwin/amd64" + }, + "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", + "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", + "type": "querycoord", + "id": 1, + "system_configurations": { + "search_channel_prefix": "", + "search_result_channel_prefix": "" + } + } + }, + { + "identifier": 1, + "connected": null, + "infos": { + "has_error": false, + "error_reason": "", + "name": "datanode1", + "hardware_infos": { + "ip": "172.18.20.7:21124", + "cpu_core_count": 8, + "cpu_core_usage": 0, + "memory": 34359738368, + "memory_usage": 18362302464, + "disk": 104857600, + "disk_usage": 2097152 + }, + "system_info": { + "system_version": "34cf5352ec", + "deploy_mode": "STANDALONE[MOCK]", + "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", + "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", + "used_go_version": "go version go1.22.3 darwin/amd64" + }, + "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", + "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", + "type": "datanode", + "id": 1, + "system_configurations": { + "flush_insert_buffer_size": 16777216 + }, + "quota_metrics": { + "Hms": { + "ip": "172.18.20.7:21124", + "cpu_core_count": 8, + "cpu_core_usage": 0, + "memory": 34359738368, + "memory_usage": 18362302464, + "disk": 104857600, + "disk_usage": 2097152 + }, + "Rms": [ + { + "Label": "InsertConsumeThroughput", + "Rate": 0 + }, + { + "Label": "DeleteConsumeThroughput", + "Rate": 0 + } + ], + "Fgm": { + "MinFlowGraphChannel": "", + "MinFlowGraphTt": 18446744073709551615, + "NumFlowGraph": 0 + }, + "Effect": { + "NodeID": 1, + "CollectionIDs": [] + } + } + } + }, + { + "identifier": 1, + "connected": null, + "infos": { + "has_error": false, + "error_reason": "", + "name": "indexnode1", + "hardware_infos": { + "ip": "172.18.20.7:21121", + "cpu_core_count": 8, + "cpu_core_usage": 0, + "memory": 34359738368, + "memory_usage": 18362302464, + "disk": 104857600, + "disk_usage": 2097152 + }, + "system_info": { + "system_version": "34cf5352ec", + "deploy_mode": "STANDALONE[MOCK]", + "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", + "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", + "used_go_version": "go version go1.22.3 darwin/amd64" + }, + "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", + "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", + "type": "indexnode", + "id": 1, + "system_configurations": { + "minio_bucket_name": "a-bucket", + "simd_type": "auto" + } + } + }, + { + "identifier": 1, + "connected": [ + { + "connected_identifier": 1, + "type": "manage", + "target_type": "datanode" + }, + { + "connected_identifier": 1, + "type": "manage", + "target_type": "indexnode" + } + ], + "infos": { + "has_error": false, + "error_reason": "", + "name": "datacoord1", + "hardware_infos": { + "ip": "172.18.20.7:13333", + "cpu_core_count": 8, + "cpu_core_usage": 0, + "memory": 34359738368, + "memory_usage": 18362302464, + "disk": 104857600, + "disk_usage": 2097152 + }, + "system_info": { + "system_version": "34cf5352ec", + "deploy_mode": "STANDALONE[MOCK]", + "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", + "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", + "used_go_version": "go version go1.22.3 darwin/amd64" + }, + "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", + "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", + "type": "datacoord", + "id": 1, + "system_configurations": { + "segment_max_size": 1024 + }, + "quota_metrics": { + "TotalBinlogSize": 0, + "CollectionBinlogSize": {}, + "PartitionsBinlogSize": {}, + "CollectionL0RowCount": {} + }, + "collection_metrics": { + "Collections": {} + } + } + }, + { + "identifier": 1, + "connected": [], + "infos": { + "has_error": false, + "error_reason": "", + "name": "rootcoord1", + "hardware_infos": { + "ip": "172.18.20.7:53100", + "cpu_core_count": 8, + "cpu_core_usage": 0, + "memory": 34359738368, + "memory_usage": 18362302464, + "disk": 104857600, + "disk_usage": 2097152 + }, + "system_info": { + "system_version": "34cf5352ec", + "deploy_mode": "STANDALONE[MOCK]", + "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", + "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", + "used_go_version": "go version go1.22.3 darwin/amd64" + }, + "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", + "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", + "type": "rootcoord", + "id": 1, + "system_configurations": { + "min_segment_size_to_enable_index": 1024 + } + } + }, + { + "identifier": 1, + "connected": [ + { + "connected_identifier": 1, + "type": "forward", + "target_type": "querycoord" + }, + { + "connected_identifier": 1, + "type": "forward", + "target_type": "datacoord" + }, + { + "connected_identifier": 1, + "type": "forward", + "target_type": "rootcoord" + } + ], + "infos": { + "has_error": false, + "error_reason": "", + "name": "proxy1", + "hardware_infos": { + "ip": "172.18.20.7:19529", + "cpu_core_count": 8, + "cpu_core_usage": 30.52004762940343, + "memory": 34359738368, + "memory_usage": 18362302464, + "disk": 104857600, + "disk_usage": 2097152 + }, + "system_info": { + "system_version": "34cf5352ec", + "deploy_mode": "STANDALONE[MOCK]", + "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", + "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", + "used_go_version": "go version go1.22.3 darwin/amd64" + }, + "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", + "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", + "type": "proxy", + "id": 1, + "system_configurations": { + "default_partition_name": "_default", + "default_index_name": "_default_idx" + }, + "quota_metrics": null + } + } + ] +}`,cG=`[ + { + "sdk_type": "python", + "sdk_version": "1.0.0", + "local_time": "2023-10-01T12:00:00Z", + "user": "user1", + "host": "127.0.0.1", + "reserved": { + "last_active_time": "" + } + }, + { + "sdk_type": "golang", + "sdk_version": "1.1.0", + "local_time": "2023-10-01T12:05:00Z", + "user": "user2", + "host": "127.0.0.2", + "reserved": { + "last_active_time": "" + } + } +]`,uG=` +{ + "metastore": { + "health_status": true, + "unhealthy_reason": "", + "members_health": [ + { + "endpoint": "http://127.0.0.1:2379", + "health": true + } + ], + "meta_type": "etcd" + }, + "mq": { + "health_status": false, + "unhealthy_reason": "health check failed, err: Get \\"http://localhost:80/admin/v2/brokers/health\\": dial tcp [::1]:80: connect: connection refused", + "members_health": null, + "mq_type": "pulsar" + } +} +`,dG=` +{ + "MILVUS_GIT_BUILD_TAGS": "v2.2-testing-20240702-811-g38211f2b81-dev", + "MILVUS_GIT_COMMIT": "38211f2b81", + "common.bloomfilterapplybatchsize": "1000", + "common.bloomfiltersize": "100000", + "common.bloomfiltertype": "BlockedBloomFilter", + "common.buildindexthreadpoolratio": "0.75", + "common.defaultindexname": "_default_idx", + "common.defaultpartitionname": "_default", + "common.diskindex.beamwidthratio": "4", + "common.diskindex.buildnumthreadsratio": "1", + "common.diskindex.loadnumthreadratio": "8", + "common.diskindex.maxdegree": "56", + "common.diskindex.pqcodebudgetgbratio": "0.125", + "common.diskindex.searchcachebudgetgbratio": "0.1", + "common.diskindex.searchlistsize": "100", + "common.enablevectorclusteringkey": "false", + "common.entityexpiration": "-1", + "common.gracefulstoptimeout": "1800", + "common.gracefultime": "5000", + "common.indexslicesize": "16", + "common.locks.metrics.enable": "false" +} +`,fG=` +{ + "collection_names": [ + "collection_1", + "collection_2", + "collection_3", + "collection_4", + "collection_5", + "collection_6", + "collection_7", + "collection_8", + "collection_9", + "collection_10" + ], + "collection_ids": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10" + ], + "created_utc_timestamps": [ + "2021-10-01 00:00:00", + "2021-10-02 00:00:00", + "2021-10-03 00:00:00", + "2021-10-04 00:00:00", + "2021-10-05 00:00:00", + "2021-10-06 00:00:00", + "2021-10-07 00:00:00", + "2021-10-08 00:00:00", + "2021-10-09 00:00:00", + "2021-10-10 00:00:00" + ], + "inMemory_percentages": [ + 100, + 90, + 80, + 70, + 60, + 50, + 40, + 30, + 20, + 10 + ], + "query_service_available": [ + true, + true, + true, + true, + true, + false, + false, + false, + false, + false + ] +} +`,pG=` +{ + "collection_id": "1", + "collection_name": "example_collection", + "created_time": "2021-10-01 00:00:00", + "shards_num": 2, + "consistency_level": "Strong", + "aliases": ["alias1", "alias2"], + "properties": { + "property_key": "property_value" + }, + "db_name": "example_db", + "num_partitions": 3, + "virtual_channel_names": ["v_channel1", "v_channel2"], + "physical_channel_names": ["p_channel1", "p_channel2"], + "partition_infos": [ + { + "partition_name": "partition1", + "partition_id": "1", + "created_utc_timestamp": "2021-10-01 00:00:00" + } + ], + "enable_dynamic_field": true, + "fields": [ + { + "field_id": "1", + "name": "field1", + "is_primary_key": true, + "description": "description1", + "data_type": "int64", + "type_params": { + "param_key": "param_value" + }, + "index_params": { + "index_key": "index_value" + }, + "auto_id": false, + "element_type": "element_type1", + "default_value": "default_value1", + "is_dynamic": false, + "is_partition_key": false, + "is_clustering_key": false, + "nullable": true, + "is_function_output": false + } + ] +} +`,gG=` +{ + "db_names": [ + "database_1", + "database_2", + "database_3", + "database_4", + "database_5", + "database_6", + "database_7", + "database_8", + "database_9", + "database_10" + ], + "db_ids": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10" + ], + "created_timestamps": [ + "2021-10-01 00:00:00", + "2021-10-02 00:00:00", + "2021-10-03 00:00:00", + "2021-10-04 00:00:00", + "2021-10-05 00:00:00", + "2021-10-06 00:00:00", + "2021-10-07 00:00:00", + "2021-10-08 00:00:00", + "2021-10-09 00:00:00", + "2021-10-10 00:00:00" + ] +} +`,hG=` +{ + "db_name": "example_db", + "db_id": 1, + "created_timestamp": "2021-10-01 00:00:00", + "properties": [ + { + "key": "property_key", + "value": "property_value" + } + ] +} +`,mG=` +[ + { + "collection_id": 1, + "segments": [ + { + "segment_id": 1, + "collection_id": 1, + "partition_id": 1, + "channel": "channel1", + "num_of_rows": 1000, + "state": "Sealed", + "is_importing": false, + "compacted": false, + "level": "L0", + "is_sorted": true, + "node_id": 1, + "is_invisible": false, + "loaded_timestamp": "2021-10-01 00:00:00", + "index": [ + { + "field_id": 1, + "index_id": 1, + "build_id": 1, + "index_size": 1024, + "is_loaded": true + } + ], + "resource_group": "rg1", + "loaded_insert_row_count": 1000, + "mem_size": 2048 + } + ], + "dm_channels": [ + { + "node_id": 1, + "version": 1, + "collection_id": 1, + "channel_name": "channel1", + "unflushed_segment_ids": [ + "1" + ], + "flushed_segment_ids": [ + "2" + ], + "dropped_segment_ids": [ + "3" + ], + "level_zero_segment_ids": [ + "4" + ] + } + ] + } +] +`,vG=` +[ + { + "collection_id": 1, + "segments": [ + { + "segment_id": 2, + "collection_id": 1, + "partition_id": 1, + "channel": "channel2", + "num_of_rows": 1000, + "state": "Sealed", + "is_importing": false, + "compacted": false, + "level": "L0", + "is_sorted": true, + "node_id": 1, + "is_invisible": false, + "loaded_timestamp": 1633072800, + "index": [ + { + "field_id": 1, + "index_id": 1, + "build_id": 1, + "index_size": 1024, + "is_loaded": true + } + ], + "resource_group": "rg1", + "loaded_insert_row_count": 1000, + "mem_size": 2048 + } + ] + } +] +`,yG=` +{ + "segments": [ + { + "segment_id": 1, + "collection_id": 1, + "partition_id": 1, + "channel": "channel1", + "num_of_rows": 1000, + "state": "Sealed", + "is_importing": false, + "compacted": false, + "level": "L0", + "is_sorted": true, + "node_id": 1, + "is_invisible": false, + "loaded_timestamp": "2021-10-01 00:00:00", + "index": [ + { + "field_id": 1, + "index_id": 1, + "build_id": 1, + "index_size": 1024, + "is_loaded": true + } + ], + "resource_group": "rg1", + "loaded_insert_row_count": 1000, + "mem_size": 2048, + "flushed_rows": 1000, + "sync_buffer_rows": 0, + "syncing_rows": 0 + } + ], + "dm_channels": [ + { + "node_id": 1, + "version": 1, + "collection_id": 1, + "channel_name": "channel1", + "unflushed_segment_ids": ["1"], + "flushed_segment_ids": ["2"], + "dropped_segment_ids": ["3"], + "level_zero_segment_ids": ["4"], + "partition_stats_versions": { + "1": 1 + }, + "watch_state": "Healthy", + "start_watch_ts": "2021-10-01 00:00:00" + } + ], + "leader_views": [ + { + "leader_id": 1, + "collection_id": 1, + "node_id": 1, + "channel": "channel1", + "version": 1, + "sealed_segments": [ + { + "segment_id": 1, + "collection_id": 1, + "partition_id": 1, + "channel": "channel1", + "num_of_rows": 1000, + "state": "Sealed", + "is_importing": false, + "compacted": false, + "level": "L0", + "is_sorted": true, + "node_id": 1, + "is_invisible": false, + "loaded_timestamp": "2021-10-01 00:00:00", + "index": [ + { + "field_id": 1, + "index_id": 1, + "build_id": 1, + "index_size": 1024, + "is_loaded": true + } + ], + "resource_group": "rg1", + "loaded_insert_row_count": 1000, + "mem_size": 2048, + "flushed_rows": 1000, + "sync_buffer_rows": 0, + "syncing_rows": 0 + } + ], + "growing_segments": [], + "target_version": 1, + "num_of_growing_rows": 0, + "unserviceable_error": "" + } + ] +} +`,bG=` +[ + { + "ID": 1, + "collectionID": 1, + "rw_nodes": [1, 2], + "resource_group": "rg1", + "ro_nodes": [3], + "channel_to_rw_nodes": { + "channel1": [1, 2] + } + }, + { + "ID": 2, + "collectionID": 2, + "rw_nodes": [4, 5], + "resource_group": "rg2", + "ro_nodes": [6], + "channel_to_rw_nodes": { + "channel2": [4, 5] + } + } +] +`,xG=` +[ + { + "name": "rg1", + "nodes": [1, 2], + "cfg": { + "requests":{}, + "limits":{"node_num":1000000} + } + }, + { + "name": "rg2", + "nodes": [3, 4] + } +] +`,SG=` +[ + { + "task_name": "balance_checker-ChannelTask[1]-ch1", + "collection_id": 67890, + "replica_id": 11111, + "task_type": "Move", + "task_status": "started", + "priority": "Normal", + "actions": [ + "type:Grow node id : 1 channel name:channel_1" + ], + "step": 1, + "reason": "" + }, + { + "task_name": "index_checker-SegmentTask[2]-54321", + "collection_id": 12345, + "replica_id": 22222, + "task_type": "Grow", + "task_status": "completed", + "priority": "High", + "actions": [ + "type:Grow node id: 2 segment id:123 scope:DataScope_Streaming" + ], + "step": 2, + "reason": "" + }, + { + "task_name": "leader_checker-LeaderSegmentTask[3]-1", + "collection_id": 54321, + "replica_id": 33333, + "task_type": "Grow", + "task_status": "failed", + "priority": "Low", + "actions": [ + "type:Grow node id: 3 leader id:456 segment id:789 version:1" + ], + "step": 3, + "reason": "yet another reason" + } +] +`,wG=` +[ + { + "segment_id": 1, + "collection_id": 1, + "partition_id": 1, + "channel": "channel1", + "num_of_rows": 1000, + "state": "Sealed", + "is_importing": false, + "compacted": false, + "level": "L1", + "is_sorted": true, + "node_id": 1, + "is_invisible": false, + "loaded_timestamp": "2021-10-01 00:00:00", + "index": [ + { + "field_id": 1, + "index_id": 1, + "build_id": 1, + "index_size": 1024, + "is_loaded": true + } + ], + "resource_group": "rg1", + "loaded_insert_row_count": 1000, + "mem_size": 2048 + }, + { + "segment_id": 2, + "collection_id": 2, + "partition_id": 2, + "channel": "channel2", + "num_of_rows": 2000, + "state": "Sealed", + "is_importing": false, + "compacted": false, + "level": "L2", + "is_sorted": true, + "node_id": 2, + "is_invisible": false, + "loaded_timestamp": "2021-10-01 00:00:00", + "index": [ + { + "field_id": 2, + "index_id": 2, + "build_id": 2, + "index_size": 2048, + "is_loaded": true + } + ], + "resource_group": "rg2", + "loaded_insert_row_count": 2000, + "mem_size": 4096 + } +] +`,CG=` +[ + { + "name": "channel1", + "watch_state": "Healthy", + "assign_state": "assigned", + "latest_time_tick": "2023-10-01 12:00:00", + "node_id": 1, + "collection_id": 1 + }, + { + "name": "channel2", + "watch_state": "Healthy", + "assign_state": "assigned", + "latest_time_tick": "2023-10-01 12:05:00", + "node_id": 2, + "collection_id": 2 + } +] +`,_G=` +{ + "segments": [ + { + "segment_id": 1, + "collection_id": 1, + "partition_id": 1, + "channel": "channel1", + "num_of_rows": 1000, + "state": "Growing", + "is_importing": false, + "compacted": false, + "level": "L1", + "is_sorted": true, + "node_id": 1 + }, + { + "segment_id": 3, + "collection_id": 2, + "partition_id": 2, + "channel": "channel2", + "num_of_rows": 2000, + "state": "Growing", + "is_importing": true, + "compacted": true, + "level": "L2", + "is_sorted": false, + "node_id": 2 + } + ], + "dm_channels": [ + { + "node_id": 1, + "version": 1, + "collection_id": 100, + "channel_name": "channel1", + "unflushed_segment_ids": ["1", "2", "3"], + "flushed_segment_ids": ["4", "5", "6"], + "dropped_segment_ids": ["7", "8", "9"], + "watch_state": "success", + "start_watch_ts": "2023-10-01 12:05:00" + }, + { + "node_id": 1, + "version": 1, + "collection_id": 100, + "channel_name": "channel3", + "unflushed_segment_ids": ["1", "2", "3"], + "flushed_segment_ids": ["4", "5", "6"], + "dropped_segment_ids": ["7", "8", "9"], + "watch_state": "to_watch", + "start_watch_ts": "2023-10-01 12:05:00" + } + ] +} +`,RG=` +[ + { + "index_id": 1, + "collection_id": 1001, + "segment_id": 2001, + "build_id": 3001, + "index_state": "Finished", + "index_size": 1024, + "index_version": 1, + "create_time": "2023-10-01 12:05:00" + }, + { + "index_id": 2, + "collection_id": 1002, + "segment_id": 2002, + "build_id": 3002, + "index_state": "Failed", + "fail_reason": "Disk full", + "index_size": 2048, + "index_version": 2, + "create_time": "2023-10-01 12:05:00" + } +]`,TG=` +[ + { + "plan_id": 1, + "collection_id": 1, + "type": "Merge", + "state": "Completed", + "fail_reason": "", + "start_time": "2023-10-01 12:05:00", + "end_time": "2023-10-01 12:06:00", + "total_rows": 10000, + "input_segments": ["1", "2", "3"], + "result_segments": ["4"] + }, + { + "plan_id": 2, + "collection_id": 2, + "type": "Merge", + "state": "Failed", + "fail_reason": "Disk full", + "start_time": "2023-10-01 12:05:00", + "end_time": "2023-10-01 12:06:00", + "total_rows": 20000, + "input_segments": ["5", "6", "7"], + "result_segments": [] + } +]`,PG=` +[ + { + "segment_id": 1, + "batch_rows": 1000, + "segment_level": "L1", + "ts_from": "2023-10-01 12:05:00", + "ts_to": "2023-10-01 12:06:00", + "delta_row_count": 10, + "flush_size": 1024, + "running_time": "100000000", + "node_id": 1 + }, + { + "segment_id": 2, + "batch_rows": 2000, + "segment_level": "L2", + "ts_from": "2023-10-01 12:05:00", + "ts_to": "2023-10-01 12:06:00", + "delta_row_count": 20, + "flush_size": 2048, + "running_time": "200000000", + "node_id": 2 + } +] +`,kG=` +[ + { + "job_id": 1, + "task_id": 2, + "collection_id": 3, + "node_id": 4, + "state": "Pending", + "reason": "", + "task_type": "PreImportTask", + "created_time": "2023-10-01T00:00:00Z", + "complete_time": "2023-10-01T01:00:00Z" + }, + { + "job_id": 5, + "task_id": 6, + "collection_id": 7, + "node_id": 8, + "state": "Completed", + "reason": "", + "task_type": "ImportTask", + "created_time": "2023-10-01T00:00:00Z", + "complete_time": "2023-10-01T01:00:00Z" + }, + { + "job_id": 9, + "task_id": 10, + "collection_id": 11, + "node_id": 12, + "state": "Failed", + "reason": "some failure reason", + "task_type": "ImportTask", + "created_time": "2023-10-01T00:00:00Z", + "complete_time": "2023-10-01T01:00:00Z" + } +] +`,$G=` +[ + { + "segment_id": 1, + "collection_id": 1, + "partition_id": 1, + "channel": "channel1", + "num_of_rows": 1000, + "state": "Growing", + "is_importing": false, + "compacted": false, + "level": "L1", + "is_sorted": true, + "node_id": 1, + "flushed_rows": 1000, + "sync_buffer_rows": 0, + "syncing_rows": 0 + }, + { + "segment_id": 2, + "collection_id": 2, + "partition_id": 2, + "channel": "channel2", + "num_of_rows": 2000, + "state": "Sealed", + "is_importing": true, + "compacted": true, + "level": "L2", + "is_sorted": false, + "node_id": 2, + "flushed_rows": 2000, + "sync_buffer_rows": 100, + "syncing_rows": 50 + } +] +`,EG=` +[ + { + "name": "channel1", + "watch_state": "Healthy", + "assign_state": "assigned", + "latest_time_tick": "2023-10-01 12:00:00", + "node_id": 1, + "collection_id": 1, + "check_point_ts": "2023-10-01 12:00:00" + }, + { + "name": "channel2", + "watch_state": "Healthy", + "assign_state": "assigned", + "latest_time_tick": "2023-10-01 12:05:00", + "node_id": 2, + "collection_id": 2, + "check_point_ts": "2023-10-01 12:05:00" + } +] +`,MG=`[ + { + "role": "proxy", + "database": "test_db", + "collection": "test_collection", + "partitions": "partition1,partition2", + "consistency_level": "Bounded", + "use_default_consistency": true, + "guarantee_timestamp": 123456789, + "duration": "1.1s", + "user": "test_user", + "query_params": { + "search_params": [ + { + "dsl": ["dsl1"], + "search_params": ["param2=value2"], + "nq": [10] + } + ], + "output_fields": "field1,field2" + }, + "type": "Search", + "trace_id": "729b10a6a7f32ddd7ab5c16dd30f60dc", + "time": "2024-11-05 08:14:05" + }, + { + "role": "proxy", + "database": "test_db", + "collection": "test_collection", + "partitions": "partition1,partition2", + "consistency_level": "Bounded", + "use_default_consistency": true, + "guarantee_timestamp": 123456789, + "duration": "1.2s", + "user": "test_user", + "query_params": { + "expr": "expr1", + "output_fields": "field1,field2" + }, + "type": "Query", + "trace_id": "232955b7f33b135708d34c3c761b57e7", + "time": "2024-11-05 08:14:05" + }, + { + "role": "proxy", + "database": "test_db", + "collection": "test_collection", + "partitions": "partition1,partition2", + "consistency_level": "Bounded", + "use_default_consistency": true, + "guarantee_timestamp": 123456789, + "duration": "1.3s", + "user": "test_user", + "query_params": { + "search_params": [ + { + "dsl": ["dsl2"], + "search_params": ["param3=value3"], + "nq": [20] + } + ], + "output_fields": "field3,field4" + }, + "type": "HybridSearch", + "trace_id": "3a4b5c6d7e8f9a0b1c2d3e4f5g6h7i8j", + "time": "2024-11-05 08:14:05" + }, + { + "role": "proxy", + "database": "test_db", + "collection": "test_collection", + "partitions": "partition1,partition2", + "consistency_level": "Bounded", + "use_default_consistency": true, + "guarantee_timestamp": 123456789, + "duration": "1.4s", + "user": "test_user", + "query_params": { + "expr": "expr2", + "output_fields": "field5,field6" + }, + "type": "Query", + "trace_id": "4b5c6d7e8f9a0b1c2d3e4f5g6h7i8j9k", + "time": "2024-11-05 08:14:05" + }, + { + "role": "proxy", + "database": "test_db", + "collection": "test_collection", + "partitions": "partition1,partition2", + "consistency_level": "Bounded", + "use_default_consistency": true, + "guarantee_timestamp": 123456789, + "duration": "1.5s", + "user": "test_user", + "query_params": { + "search_params": [ + { + "dsl": ["dsl3"], + "search_params": ["param4=value4"], + "nq": [30] + } + ], + "output_fields": "field7,field8" + }, + "type": "Search", + "trace_id": "5c6d7e8f9a0b1c2d3e4f5g6h7i8j9k0l", + "time": "2024-11-05 08:14:05" + } +]`,IG="/api/v1",t0=Bt.create({baseURL:IG});t0.interceptors.response.use(e=>(e.status>=400&&HD({title:"Error",message:e.data.message||"Request Error",showClose:!1,handleClose:()=>{}}),e));const ES=(e,t)=>L3()&&e?Promise.resolve(e):t().then(n=>n.data),pt={get:(e,t,n)=>ES(JSON.parse(n||"null"),()=>t0.get(e,t)),post:(e,t,n,r)=>ES(JSON.parse(r||"null"),()=>t0.post(e,t,n))},OG="https://github.com/milvus-io/milvus/issues/new/choose",LG="https://zilliz.com/contact-sales",AG="WebUI: https://cloud.zilliz.com/signup?utm_source=partner&utm_medium=referral&utm_campaign=2024-12-19_resource_milvus-webUI_milvusio",sl=(e,t=2)=>(e/1024**3).toFixed(t),NG=e=>e.db_names.map((t,n)=>{var i;const r=(i=e.db_ids)==null?void 0:i[n],o=e.created_timestamps[n];return{name:t,id:r,created:o}}),DG=e=>e.collection_ids.map((t,n)=>{var s,l,c,u;const r=(s=e.collection_names)==null?void 0:s[n],o=(l=e.created_utc_timestamps)==null?void 0:l[n],i=(c=e.inMemory_percentages)==null?void 0:c[n],a=(u=e.query_service_available)==null?void 0:u[n];return{name:r,id:t,created:o,memoryPercentage:i,queryServiceAvailable:a}}),MS=()=>{},jG=async()=>(await pt.get("/_cluster/info",{},lG)).nodes_info,FG=async()=>pt.get("/_cluster/clients",{},cG),BG=async()=>pt.get("/_cluster/dependencies",{},uG),zG=async()=>{const e=await pt.get("/_db/list",{},gG);try{return NG(e)}catch(t){console.warn(t)}},HG=async e=>pt.get("/_db/desc",{params:{db_name:e}},hG),VG=async(e="default")=>{const t=await pt.get("/_collection/list",{params:{db_name:e}},fG);return DG(t)},WG=async(e,t="default")=>pt.get("/_collection/desc",{params:{db_name:t,collection_name:e}},pG),UG=async e=>pt.get("/_index/list",{params:{collection_id:e}}),GG=async e=>pt.get("/_dc/segments",{params:{collection_id:e,in:"dc"}}),qG=async e=>pt.get("/_qc/segments",{params:{collection_id:e,in:"qc"}}),A3=async()=>pt.get("/_qc/dist",{},yG),av=async()=>pt.get("/_qc/target",{},mG),sv=async()=>pt.get("/_qc/target",{params:{target_scope:2}},vG),KG=async()=>pt.get("/_qn/segments",{},wG),ZG=async()=>pt.get("/_qn/channels",{},CG),QG=async()=>pt.get("/_qc/replica",{},bG),YG=async()=>pt.get("/_qc/resource_group",{},xG),XG=async()=>pt.get("/_dc/dist",{},_G),JG=async()=>pt.get("/_dn/channels",{},EG),eq=async()=>pt.get("/_dn/segments",{},$G),tq=async()=>pt.get("/_qc/tasks",{},SG),nq=async()=>pt.get("/_dc/tasks/compaction",{},TG),rq=async()=>pt.get("/_dc/tasks/build_index",{},RG),oq=async()=>pt.get("/_dc/tasks/import",{},kG),iq=async()=>pt.get("/_dn/tasks/sync",{},PG),aq=async()=>pt.get("/_cluster/slow_query",{},MG),sq=async()=>pt.get("/_cluster/configs",{},dG);var N3={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;ae?[{key:"system_version",name:"Git Commit",desc:"Git commit SHA that the current build of the system is based on"},{key:"deploy_mode",name:"Deploy Mode",desc:"The mode in which the system is deployed"},{key:"build_version",name:"Build Version",desc:"The version of the system that was built"},{key:"build_time",name:"Build Time",desc:"The exact time when the system was built"},{key:"used_go_version",name:"Go Version",desc:"The version of the Golang that was used to build the system"}].map(n=>({...n,value:e[n.key]})):[],dq=()=>{const e=nt("cluster-info",jG),t=b.useMemo(()=>{var l;const i=(l=e.data)==null?void 0:l[0],a=i==null?void 0:i.infos.system_info,s=uq(a);return s.push({key:"created_time",name:"Started Time",value:i==null?void 0:i.infos.created_time,desc:"The time when the system was started"}),s},[e.data]),n=b.useMemo(()=>{var i;return((i=e.data)==null?void 0:i.map(a=>({name:a.infos.name,ip:a.infos.hardware_infos.ip,created:a.infos.created_time,error:a.infos.has_error?a.infos.error_reason:""})))||[]},[e.data]),r=b.useMemo(()=>{var i;return((i=e.data)==null?void 0:i.map(a=>{const s=a.infos.hardware_infos,l=sl(s.cpu_core_usage),c=sl(s.memory),u=sl(s.memory_usage),d=sl(s.disk),f=sl(s.disk_usage);return{name:a.infos.name,cpu:`${l}%`,memory:`${u} / ${c}`,disk:`${f} / ${d}`,ioWait:"0.00",rpc:"100",netTP:"5",diskTP:"20"}}))||[]},[e.data]),o=b.useMemo(()=>[],[e.data]);return{...e,data:t,compData:n,runtimeMetricsData:r,requestData:o}},fq=()=>nt("cluster-clients",FG),pq=()=>{const e=nt("cluster-deps",BG),t=b.useMemo(()=>Object.keys(e.data||{}).map(n=>{const r=e.data[n],o="meta_type"in r?r.meta_type:r.mq_type,i=r.health_status?"":r.unhealthy_reason;return{name:`${n} [${o}]`,clusterStatus:i,members:r.members_health}}),[e.data]);return{...e,data:t}};var rd=(e=>(e.Node="none",e.Building="building",e.Completed="completed",e))(rd||{}),od=(e=>(e.Node="none",e.Loading="loading",e.Loaded="loaded",e))(od||{});const gq=()=>nt("databases",zG),hq=(e="default")=>nt(`collections-${e}`,()=>VG(e)),mq=e=>{var y;const[t,n]=e.split("-"),r=nt(`collections-${e}`,()=>WG(n,t)),o=(y=r.data)==null?void 0:y.collection_id,i=nt(o&&`collections-${o}-indexes`,()=>UG(o)),a=nt(o&&`collections-${o}-dcSegments`,()=>GG(o)),s=nt(o&&`collections-${o}-qcSegments`,()=>qG(o)),l=nt("collections-currTarget",()=>av()),c=nt("collections-currTarget",()=>sv()),u=nt("collections-dist",()=>A3()),d=(C,v)=>{var S;return(S=v==null?void 0:v.index_fields)!=null&&S.length?v.index_fields.every(m=>C.find(w=>w.index_id===m.index_id))||v.is_indexed?rd.Completed:rd.Building:rd.Node},f=(C,v)=>{var S,m;return(S=v==null?void 0:v.index_fields)!=null&&S.length&&v.index_fields.every(w=>C.find(_=>_.index_id===w.index_id))?od.Loaded:(m=v==null?void 0:v.index_fields)!=null&&m.length?od.Loading:od.Node},p=b.useMemo(()=>{var v,S;if(!a.data||!s.data||!i.data)return[];const C={};return(v=a.data)==null||v.forEach(m=>{C[m.segment_id]={dc:m}}),(S=s.data)==null||S.forEach(m=>{C[m.segment_id]={...C[m.segment_id],qc:m}}),Object.keys(C).map(m=>{var k,T,P,x;const{dc:w,qc:_}=C[m];return{id:((k=w||_)==null?void 0:k.segment_id)||"",nodeId:((T=w||_)==null?void 0:T.node_id.toString())||"",rowsCount:Number(((P=w||_)==null?void 0:P.num_of_rows)||0),state:w==null?void 0:w.state,level:((x=w||_)==null?void 0:x.level)||"",buildIndexState:d(i.data,w),loadIndexState:f(i.data,w)}})},[a.data,s.data,i.data]),h=()=>{var _;if(!u.data||!l.data||!c.data)return{name:"-"};const C=c.data.find(R=>R.collection_id===o),v=l.data.find(R=>R.collection_id===o);if(C&&!v)return{name:"Loading"};const{leader_views:S}=u.data,m=[],w=(_=v==null?void 0:v.segments)==null?void 0:_.every(R=>{var x,$;const k=(x=S.find(I=>I.collection_id===o))==null?void 0:x.growing_segments,T=($=S.find(I=>I.collection_id===o))==null?void 0:$.sealed_segments,P=(k==null?void 0:k.find(I=>I.segment_id===R.segment_id))||(T==null?void 0:T.find(I=>I.segment_id===R.segment_id));return P||m.push(R.segment_id),P});return v&&!w?{name:"Collection Segment Lack",desc:`There are segments need to load: ${m.join(", ")}`}:v?{name:"Loaded"}:{name:"-"}};return{collection:r.data,indexes:i.data,segments:p,collectionState:h()}},vq=()=>{const e=nt("query-dist",A3),t=nt("query-currTargets",av),n=nt("query-nextTargets",sv),r=nt("query-seg",KG),o=nt("query-channel",ZG),i=b.useMemo(()=>!e.data||!t.data||!n.data||!r.data?[]:Sq(e.data,t.data,n.data,r.data),[e.data,t.data,n.data,r.data]),a=b.useMemo(()=>!e.data||!t.data||!n.data||!o.data?[]:Rq(e.data,t.data,n.data,o.data),[e.data,t.data,n.data,o.data]);return{segsData:i,channelsData:a,isLoading:[e,t,n,r,o].some(s=>s.isLoading)}},yq=(e,t,n)=>{if(n.nextTarSegment&&!n.distSegmentData&&!n.leaderView&&!n.currTarSegment)return e==="L0"&&t==="Sealed"?{isError:!1,message:"L0 Generated"}:e==="L1"&&t==="Sealed"?{isError:!1,message:"L1 Generated"}:{isError:!1,message:"Watch Channel Growing Generated"};if(n.nextTarSegment&&n.distSegmentData&&n.leaderView&&!n.currTarSegment)return e==="L0"&&t==="Sealed"?{isError:!1,message:"L0 Loaded"}:e==="L1"&&t==="Sealed"?{isError:!1,message:"L1 Loaded"}:{isError:!1,message:"Load Growing"};if(n.nextTarSegment&&n.distSegmentData&&n.leaderView&&n.currTarSegment)return e==="L0"&&t==="Sealed"?{isError:!1,message:"L0 Ready"}:e==="L1"&&t==="Sealed"?{isError:!1,message:"L1 Ready"}:{isError:!1,message:"Segment Ready"};if(!n.nextTarSegment&&n.distSegmentData&&n.leaderView&&n.currTarSegment)return e==="L0"&&t==="Sealed"?{isError:!1,message:"L0 Compacted"}:e==="L1"&&t==="Sealed"?{isError:!1,message:"L1 Compacted"}:{isError:!1,message:"Growing Flushed"};if(!n.nextTarSegment&&n.distSegmentData&&n.leaderView&&!n.currTarSegment)return["L0","L1"].includes(e)&&t==="Sealed"?{isError:!1,message:"Growing Generated"}:{isError:!1,message:"Release Growing Sealed Loaded"};if(!n.nextTarSegment&&!n.distSegmentData&&!n.leaderView&&n.currTarSegment)return{isError:!0,message:"Delegator Node Offline"};if(e==="L1"){if(!n.nextTarSegment&&n.distSegmentData&&!n.leaderView&&n.currTarSegment)return{isError:!0,message:"Add Router Delegator Node Offline"};if(!n.nextTarSegment&&!n.distSegmentData&&n.leaderView&&!n.currTarSegment)return{isError:!0,message:"Remove Router Worker Node Offline"};if(!n.nextTarSegment&&!n.distSegmentData&&n.leaderView&&n.currTarSegment)return{isError:!0,message:"Load L1 Worker Node Offline"};if(!n.nextTarSegment&&n.distSegmentData&&!n.leaderView&&!n.currTarSegment)return{isError:!0,message:"Release L1 Delegator Node Offline"}}return{isError:!1,message:"Ready"}},bq=e=>{const t=Object.keys(e).filter(n=>{var o;const r=(o=e[n])==null?void 0:o.state;return r&&r!=="SegmentStateNone"});return t.length?e[t[0]].state:"-"},xq=(e,t)=>{var p;const{distSegmentData:n,currTarSegment:r,nextTarSegment:o,queryNode:i,leaderView:a}=t,s=(n||r||o||i).collection_id,l=a!=null&&a.leader_id&&(a==null?void 0:a.leader_id)!=="Not Found"?a==null?void 0:a.leader_id:"-",c=(p=n||i)==null?void 0:p.node_id,u=n==null?void 0:n.num_of_rows,d=n==null?void 0:n.level,f=bq(t);return{id:e,collectionId:s,leaderId:l,nodeId:c,state:f,rowsCount:u,stateDetail:yq(d,f,t),sourceData:t}},Sq=(e,t,n,r)=>{var i;const o={};return(i=e.segments)==null||i.forEach(a=>{o[a.segment_id]={...o[a.segment_id]||{},distSegmentData:a}}),e.leader_views.forEach(a=>{var s,l;(s=a.sealed_segments)==null||s.forEach(c=>{o[c.segment_id]={...o[c.segment_id]||{},leaderView:a}}),(l=a.growing_segments)==null||l.forEach(c=>{o[c.segment_id]={...o[c.segment_id]||{},leaderView:a}})}),t.forEach(a=>{var s;(s=a.segments)==null||s.forEach(l=>{o[l.segment_id]={...o[l.segment_id]||{},currTarSegment:l}})}),n.forEach(a=>{var s;(s=a.segments)==null||s.forEach(l=>{o[l.segment_id]={...o[l.segment_id]||{},nextTarSegment:l}})}),r.forEach(a=>{o[a.segment_id]={...o[a.segment_id]||{},queryNode:a}}),Object.keys(o).map(a=>xq(a,o[a]))},Tu=e=>e.name||e.channel_name,wq=e=>{const t=Object.keys(e).filter(n=>{var o;const r=(o=e[n])==null?void 0:o.watch_state;return r&&r!=="Healthy"});return t.length?e[t[0]].watch_state:"Healthy"},Cq=e=>e.nextTarChannel&&!e.leaderView&&!e.currTarChannel?{isError:!1,message:"Sub Channel Load Collection"}:e.nextTarChannel&&e.leaderView&&!e.currTarChannel?{isError:!1,message:"Channel Watched"}:e.nextTarChannel&&e.leaderView&&e.currTarChannel?{isError:!1,message:"Channel Ready"}:!e.nextTarChannel&&e.leaderView&&!e.currTarChannel?{isError:!1,message:"UnSub Channel Release Collection"}:!e.nextTarChannel&&!e.leaderView&&e.currTarChannel?{isError:!0,message:"UnSub Channel Delegator Node Offline"}:{isError:!1,message:"Channel Ready"},_q=(e,t)=>{var d;const{distChannelData:n,currTarChannel:r,nextTarChannel:o,queryNode:i,leaderView:a}=t,s=(n||r||o||i).collection_id,l=a!=null&&a.leader_id&&(a==null?void 0:a.leader_id)!=="Not Found"?a==null?void 0:a.leader_id:"-",c=(d=n||i)==null?void 0:d.node_id,u=wq(t);return{name:e,collectionId:s,leaderId:l,nodeId:c,watchState:u,stateDetail:Cq(t),sourceData:t}},Rq=(e,t,n,r)=>{var i,a;const o={};return(i=e.dm_channels)==null||i.forEach(s=>{const l=Tu(s);o[l]={...o[l]||{},distChannelData:s}}),t.forEach(s=>{var l;(l=s.dm_channels)==null||l.forEach(c=>{const u=Tu(c);o[u]={...o[u]||{},currTarChannel:c}})}),n.forEach(s=>{var l;(l=s.dm_channels)==null||l.forEach(c=>{const u=Tu(c);o[u]={...o[u]||{},nextTarChannel:c}})}),r.forEach(s=>{const l=Tu(s);o[l]={...o[l]||{},queryNode:s}}),(a=e.leader_views)==null||a.forEach(s=>{s.channel&&(o[s.channel]={...o[s.channel]||{},leaderView:s})}),Object.keys(o).map(s=>_q(s,o[s]))},Tq=()=>nt("query-replicas",QG),Pq=()=>nt("query-rscGroups",YG),kq=()=>{const e=nt("query-currTargets",av),t=nt("query-nextTargets",sv),n=b.useMemo(()=>!e.data||!t.data?[]:$q(e.data,t.data),[e.data,t.data]),r=b.useMemo(()=>!e.data||!t.data?[]:Eq(e.data,t.data),[]);return{isLoading:e.isLoading||t.isLoading,targetSeg:n,targetChannel:r}};function $q(e,t){const n=[];return e.forEach(r=>{r.segments.forEach(o=>{o.targetScope="current",n.push(o)})}),t.forEach(r=>{r.segments.forEach(o=>{o.targetScope="next",n.push(o)})}),n}function Eq(e,t){const n=[];return e.forEach(r=>{r.dm_channels&&r.dm_channels.forEach(o=>{o.targetScope="current",n.push(o)})}),t.forEach(r=>{r.dm_channels&&r.dm_channels.forEach(o=>{o.targetScope="next",n.push(o)})}),n}const Mq=()=>{const e=nt("data-dist",XG),t=nt("data-seg",eq),n=nt("data-channel",JG),r=b.useMemo(()=>!e.data||!n.data?{data:[],notifications:[]}:Iq(n.data,e.data),[e.data,n.data]);return{seg:b.useMemo(()=>!e.data||!t.data?{data:[],notifications:[]}:Oq(t.data,e.data),[e.data,t.data]),channel:r,isLoading:e.isLoading||t.isLoading||n.isLoading}},Iq=(e,t)=>{const n={},r=[],o=new Set(t.dm_channels.map(i=>i.channel_name));return e.forEach(i=>{const a=isNaN(Number(i.node_id))?i.node_id:`datanode-${i.node_id}`;i.node_id=a;const s={...i};o.has(i.name)||(s.notification="Not found in DataCoord",r.push(s)),n[i.name]=s}),t.dm_channels.forEach(i=>{const a=isNaN(Number(i.node_id))?i.node_id:`datacoord-${i.node_id}`;i.node_id=a;const s=i.channel_name;if(n[s])n[s].watch_state!=="Healthy"&&(i.watch_state=n[s].watch_state),n[s]={...n[s],...i};else{const l={...i,notification:"Not found in DataNode"};r.push(l),n[s]=l}}),{data:Object.values(n),notifications:r}},Oq=(e,t)=>{const n={},r=[],o=new Set(t.segments.map(i=>i.segment_id));return e.forEach(i=>{const a=isNaN(Number(i.node_id))?i.node_id:`datanode-${i.node_id}`;i.node_id=a;const s={...i};o.has(i.segment_id)||(s.notification="Not found in DataCoord",r.push(s)),n[i.segment_id]=s}),t.segments.forEach(i=>{const a=isNaN(Number(i.node_id))?i.node_id:`datacoord-${i.node_id}`;i.node_id=a;const s=i.segment_id;if(n[s])n[s]={...n[s],...i};else{const l={...i,notification:"Not found in DataNode"};i.state!=="Dropped"&&i.state!=="Flushed"&&r.push(l),n[s]=l}}),{data:Object.values(n),notifications:r}},Lq=()=>nt("tasks",tq),Aq=()=>nt("compaction",nq),Nq=()=>nt("buildIndex",rq),Dq=()=>nt("import",oq),jq=()=>nt("sync",iq),Fq=()=>nt("slow-requests",aq),Bq=()=>{const e=nt("configurations",sq);return{...e,data:Object.keys(e.data||{}).map(t=>({key:t,value:e.data[t]}))}},zq="_section_1fkka_1",Hq="_title_1fkka_5",Vq="_separator_1fkka_8",rh={section:zq,title:Hq,separator:Vq},St=e=>{const{title:t,level:n=3,children:r,className:o}=e,i=()=>rt.createElement(`h${n}`,{className:rh.title,children:t});return g.jsxs("div",{className:He(rh.section,o),children:[i(),g.jsx("hr",{className:rh.separator}),r]})},oh={"filter-searcher":"_filter-searcher_162nl_1","filter-searcher-label":"_filter-searcher-label_162nl_5","filter-searcher-input":"_filter-searcher-input_162nl_9"},Wq=e=>{var u;const{defaultFilter:t,filters:n,className:r,onSearch:o}=e,[i,a]=b.useState({by:t}),s=d=>{a(()=>({by:d.value}))},l=d=>{a(f=>({...f,q:d.target.value}))},c=n.length?(u=n.find(d=>d.value===(i.by||n[0].value)))==null?void 0:u.label.toLowerCase():"";return b.useEffect(()=>{o(i)},[i.q]),g.jsxs("div",{className:He(oh["filter-searcher"],r),children:[g.jsx("div",{className:oh["filter-searcher-label"],children:"Filter: "}),n.length>1&&g.jsx(GD,{defaultValue:t,options:n,onChange:s,onPointerEnterCapture:MS,onPointerLeaveCapture:MS}),g.jsx(N1,{classes:{root:oh["filter-searcher-input"]},prefixComponent:g.jsx(BA,{}),type:"number",value:i.q,onChange:l,placeholder:c?`Search by ${c}`:"Search",onPointerEnterCapture:()=>{},onPointerLeaveCapture:()=>{}})]})},Uq="_wrapper_1j79b_1",ll={wrapper:Uq,"json-ellipsis":"_json-ellipsis_1j79b_7","json-ellipsis-brace":"_json-ellipsis-brace_1j79b_10","json-ellipsis-dot":"_json-ellipsis-dot_1j79b_14"},lv=e=>{const{json:t,ellipsis:n}=e,r=t?JSON.stringify(t,null,2):"",o=g.jsx("pre",{className:ll.wrapper,children:r});return n?g.jsx(bp,{title:o,placement:"top",children:g.jsxs("span",{className:ll["json-ellipsis"],children:[g.jsx("span",{className:ll["json-ellipsis-brace"],children:"{"}),g.jsx("span",{className:ll["json-ellipsis-dot"],children:"..."}),g.jsx("span",{className:ll["json-ellipsis-brace"],children:"}"})]})}):o},Gq="_state_v8a2b_12",qq="_none_v8a2b_16",Kq="_building_v8a2b_19",Zq="_loading_v8a2b_19",Qq="_completed_v8a2b_22",Yq="_loaded_v8a2b_22",Xq="_healthy_v8a2b_22",Jq="_deleted_v8a2b_25",eK="_icon_v8a2b_28",ih={state:Gq,none:qq,false:"_false_v8a2b_16",building:Kq,loading:Zq,completed:Qq,loaded:Yq,healthy:Xq,true:"_true_v8a2b_22",deleted:Jq,icon:eK},zo=e=>{const t=()=>{if(e.detail)return g.jsx(Mc,{tooltip:{title:e.detail,placement:"top"},children:g.jsx(ZA,{className:ih.icon,size:16})})};return g.jsxs("span",{className:He(ih.state,ih[e.value.toLowerCase()]),children:[e.label||e.value,t()]})},qt=e=>{const[t,n]=b.useState({}),r=b.useMemo(()=>e.cols.filter(s=>s.searchable),[e.cols]),o=b.useMemo(()=>{var c;if(!t.by||!t.q)return e.list||[];const{searchBy:s}=r.find(u=>u.field===t.by)||{};if(s)return s==null?void 0:s(t.q,e.list||[]);const l=t.by;return((c=e.list)==null?void 0:c.filter(u=>{var d;return(d=u[l])==null?void 0:d.toString().includes(t.q||"")}))||[]},[t,e.list]),i=s=>{var l;n(s),(l=e.onSearch)==null||l.call(e,s)};return{list:o,renderSearcher:s=>{const l=r.map(c=>({label:c.headerName,value:c.field}));return g.jsx(Wq,{filters:l,onSearch:i,...s})}}},tK="_status_19mpp_12",nK="_error_19mpp_16",Qt={status:tK,error:nK,"comp-tabs":"_comp-tabs_19mpp_20","text-content":"_text-content_19mpp_25","member-list":"_member-list_19mpp_30","member-item-label":"_member-item-label_19mpp_34","helper-link":"_helper-link_19mpp_43"},rK=()=>{var R;const e=dq(),t=fq(),n=pq(),[r,o]=b.useState("base"),i=k=>g.jsx("div",{className:Qt["text-content"],children:k||"-"}),a=k=>i(k.getValue()),s=b.useMemo(()=>[{field:"name",headerName:"Attribute"},{field:"value",headerName:"Value",renderCell:a},{field:"desc",headerName:"Description",renderCell:a}],[]),l=b.useMemo(()=>[{label:"Base Stats",value:"base"},{label:"Runtime Metrics",value:"metrics"}],[]),c=k=>{const T=k||"Healthy",P=!!k;return g.jsx("span",{className:He(Qt.status,P&&Qt.error),children:T})},u=b.useMemo(()=>[{field:"name",headerName:"Node Name",renderCell:a,searchable:!0},{field:"ip",headerName:"Node IP",renderCell:a},{field:"created",headerName:"Start Time",renderCell:a},{field:"error",headerName:"Node Status",renderCell:T=>i(c(T.getValue()))}],[]),d=qt({cols:u,list:e.compData}),f=b.useMemo(()=>[{field:"name",headerName:"Node Name",renderCell:a,searchable:!0},{field:"cpu",headerName:"CPU Usage",renderCell:a},{field:"memory",headerName:"Usage / Memory (GB)",renderCell:a},{field:"disk",headerName:"Usage / Disk (GB)",renderCell:a},{field:"ioWait",headerName:"IO wait",renderCell:a},{field:"rpc",headerName:"RPC Ops/s",renderCell:a},{field:"netTP",headerName:"Network Throughput (MB/s)",renderCell:a},{field:"diskTP",headerName:"Disk Throughput (MB/s)",renderCell:a}],[]),p=qt({cols:f,list:e.runtimeMetricsData}),h=(k,T)=>{o(T)},y=b.useMemo(()=>[{field:"host",headerName:"Host",searchable:!0},{field:"user",headerName:"User",searchable:!0},{field:"sdk_type",headerName:"SDK Type",searchable:!0},{field:"sdk_version",headerName:"SDK Version",searchable:!0},{field:"local_time",headerName:"Local Time",renderCell:a},{field:"lastActiveTime",headerName:"Last Active Time",renderCell:a}],[]),C=qt({cols:y,list:(R=t.data)==null?void 0:R.map(k=>({...k,lastActiveTime:k.reserved.last_active_time}))}),v=k=>{const T=g.jsx("span",{className:Qt["member-endpoint"],children:k.endpoint}),P=c(k.health?"":"Unhealthy");return g.jsxs(g.Fragment,{children:[g.jsx("span",{className:Qt["member-item-label"],children:"Endpoint:"}),T,g.jsx("span",{className:Qt["member-item-label"],children:"Health:"}),P]})},S=k=>{const T=k.getValue()||[];if(!T.length)return"-";const P=T.map(x=>g.jsx("li",{className:Qt["member-item"],children:v(x)},x.endpoint));return g.jsx("ul",{className:Qt["member-list"],children:P})},m=b.useMemo(()=>[{field:"name",headerName:"Sys Name",searchable:!0},{field:"clusterStatus",headerName:"Cluster Status",maxWidth:200,renderCell:T=>i(c(T.getValue()))},{field:"members",headerName:"Members Status",renderCell:S}],[]),w=qt({cols:m,list:n.data}),_=()=>{var x,$;const k=((x=e.compData)==null?void 0:x.every(I=>!I.error))&&(($=n.data)==null?void 0:$.every(I=>{var O;return!I.clusterStatus&&!((O=I.members)!=null&&O.some(D=>!D.health))})),T=k?"Your Cluster is running well!":g.jsxs(g.Fragment,{children:["Your Cluster is experiencing issues!"," ",g.jsxs("a",{className:Qt["helper-link"],href:OG,target:"_blank",children:["Ask a question in community",g.jsx(Cm,{size:14})]})," ",g.jsxs("a",{className:Qt["helper-link"],href:LG,target:"_blank",children:["Contact Zilliz Experts",g.jsx(Cm,{size:14})]})]}),P=k?"success":"error";return g.jsx(A1,{severity:P,children:T})};return g.jsxs("div",{className:He("page-wrapper",Qt.info),children:[g.jsx("div",{className:Qt.alerts,children:_()}),g.jsx(St,{title:"System Information",children:g.jsx(ht,{classes:{tableContainer:He(Qt["sys-info"],"table-view")},loading:e.isLoading,columns:s,rows:e.data})}),g.jsx(St,{title:"Component Information",children:g.jsxs(g.Fragment,{children:[g.jsx(QD,{className:Qt["comp-tabs"],value:r,labelConfigs:l,handleChange:h,tabsType:"background"}),r==="base"&&g.jsxs(g.Fragment,{children:[d.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Qt["comp-info"],"table-view")},loading:e.isLoading,columns:u,rows:d.list})]}),r==="metrics"&&g.jsxs(g.Fragment,{children:[p.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Qt["comp-info"],"table-view")},loading:e.isLoading,columns:f,rows:p.list})]})]})}),g.jsx(St,{title:"Connected Clients",children:g.jsxs(g.Fragment,{children:[C.renderSearcher({defaultFilter:"host",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Qt.clients,"table-view")},loading:t.isLoading,columns:y,rows:C.list})]})}),g.jsx(St,{title:"System Dependencies",children:g.jsxs(g.Fragment,{children:[w.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Qt["sys-deps"],"table-view")},loading:n.isLoading,columns:m,rows:w.list||[]})]})})]})},oK="_queryable_12ixl_12",iK="_error_12ixl_15",aK="_detail_12ixl_23",sK="_clear_12ixl_28",lK="_loading_12ixl_1",cK="_percentage_12ixl_73",uK="_unknown_12ixl_73",mn={queryable:oK,error:iK,"collection-filter":"_collection-filter_12ixl_19",detail:aK,clear:sK,"json-detail-wrapper":"_json-detail-wrapper_12ixl_40","json-detail-content":"_json-detail-content_12ixl_40","json-detail-loading":"_json-detail-loading_12ixl_46","json-detail-loading-icon":"_json-detail-loading-icon_12ixl_50",loading:lK,"collection-filter-wrapper":"_collection-filter-wrapper_12ixl_57","collection-name":"_collection-name_12ixl_65",percentage:cK,unknown:uK},dK=e=>{const{fetcher:t,uniqKey:n,className:r,errorMessage:o}=e,i=nt(n,t),a=b.useMemo(()=>i.data?i.error?o:JSON.stringify(i.data,null,2):"",[i.data,o]),s=()=>i.isLoading?g.jsx("div",{className:mn["json-detail-loading"],children:g.jsx(FA,{className:mn["json-detail-loading-icon"]})}):g.jsx("pre",{className:He(mn["json-detail-content"],i.error&&mn.error),children:a});return g.jsx("div",{className:He(mn["json-detail-wrapper"],r),children:s()})},fK=()=>{var S,m,w;const e=gq(),[t,n]=b.useState({}),r=hq(t.db),[o,i]=b.useState({page:0,pageSize:10}),[a,s]=b.useState({page:0,pageSize:10}),l=b.useMemo(()=>[{field:"name",headerName:"Name",searchable:!0},{field:"id",headerName:"ID",renderCell:R=>R.getValue()||"-",searchable:!0},{field:"created",headerName:"Created Time"}],[]),c=qt({cols:l,list:e.data,onSearch:()=>{i(_=>({..._,page:0}))}}),u=_=>{const R=_.getValue();return!R&&R!==0?"-":R==="unknown"?g.jsx("span",{className:He(mn.percentage,mn.unknown),children:"Unknown"}):g.jsxs("span",{className:mn.percentage,children:[_.getValue(),"%"]})},d=_=>{const R=_.data,k=t.db||"default",T=R.name,P=`${k}-${T}`;return g.jsx(o2,{className:mn["collection-name"],to:`/collections/${P}`,children:R.name})},f=b.useMemo(()=>[{field:"name",headerName:"Name",searchable:!0,renderCell:d},{field:"id",headerName:"Collection ID",searchable:!0},{field:"created",headerName:"Created Time"},{field:"memoryPercentage",headerName:"Loaded Percentages",renderCell:u}],[]),p=qt({cols:f,list:r.data,onSearch:()=>{s(_=>({..._,page:0}))}}),h=_=>{i(R=>({...R,page:_}))},y=_=>{s(R=>({...R,page:_}))},C=_=>g.jsx(dK,{className:mn.detail,uniqKey:`database-detail-${_.name}`,fetcher:()=>HG(_.name),errorMessage:"Failed to load database details."}),v=(_,R)=>{n(k=>({...k,db:R==null?void 0:R.value}))};return g.jsxs("div",{className:He("page-wrapper",mn.collections),children:[g.jsx(St,{title:"Database",children:g.jsxs(g.Fragment,{children:[c.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(mn["sys-deps"],"table-view")},columns:l,loading:e.isLoading,getRowId:_=>_.id,rows:c.list,renderDetail:C,page:o.page,pageSize:o.pageSize,paginationMode:"client",onPageChange:h,rowCount:((S=c.list)==null?void 0:S.length)||0})]})}),g.jsx(St,{title:"Collection",children:g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:mn["collection-filter-wrapper"],children:[g.jsx(q_,{classes:{root:mn["collection-filter"]},onPointerEnterCapture:()=>{},onPointerLeaveCapture:()=>{},placeholder:"Search database",inputParams:{placeholder:"Search database..."},clearIcon:g.jsx(zA,{className:mn.clear,color:"secondary"}),options:((m=e.data)==null?void 0:m.map(_=>({label:_.name,value:_.name})))||[],onChange:v}),p.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"})]}),g.jsx(ht,{classes:{tableContainer:He(mn["sys-deps"],"table-view")},columns:f,loading:r.isLoading,getRowId:_=>_.id,rows:p.list||[],page:a.page,pageSize:a.pageSize,paginationMode:"client",showPagination:!0,onPageChange:y,rowCount:(w=p.list)==null?void 0:w.length})]})})]})},Ri={},ah={},pK=()=>{const e=kq(),[t,n]=b.useState({page:0,pageSize:10}),[r,o]=b.useState({page:0,pageSize:10}),i=f=>{const p=f.getValue();return(p==null?void 0:p.join(", "))||"-"},a=b.useMemo(()=>[{field:"segment_id",headerName:"Segment ID"},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"partition_id",headerName:"Partition ID"},{field:"channel",headerName:"Channel",searchable:!0},{field:"num_of_rows",headerName:"Rows"},{field:"state",headerName:"State"},{field:"targetScope",headerName:"TargetScope"}],[]),s=qt({cols:a,list:e.targetSeg,onSearch:()=>{n(f=>({...f,page:0}))}}),l=b.useMemo(()=>[{field:"channel_name",headerName:"Channel Name",searchable:!0},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"node_id",headerName:"Node ID",searchable:!0},{field:"version",headerName:"Version"},{field:"unflushed_segment_ids",headerName:"Unflushed Segments",renderCell:i},{field:"flushed_segment_ids",headerName:"Flushed Segments",renderCell:i},{field:"dropped_segment_ids",headerName:"Dropoed Segments",renderCell:i},{field:"targetScope",headerName:"TargetScope"}],[]),c=qt({cols:l,list:e.targetChannel,onSearch:()=>{o(f=>({...f,page:0}))}}),u=f=>{n(p=>({...p,page:f}))},d=f=>{o(p=>({...p,page:f}))};return g.jsxs("div",{className:He("page-wrapper",ah.query),children:[g.jsx(St,{title:"Target Segments",children:g.jsxs(g.Fragment,{children:[s.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(ah.segs,"table-view")},columns:a,loading:e.isLoading,getRowId:f=>f.segment_id,rows:s.list,page:t.page,pageSize:t.pageSize,paginationMode:"client",showPagination:!0,onPageChange:u,rowCount:s.list.length})]})}),g.jsx(St,{title:"Target Channels",children:g.jsxs(g.Fragment,{children:[c.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(ah.channels,"table-view")},columns:l,loading:e.isLoading,getRowId:f=>f.name,rows:c.list,page:r.page,pageSize:r.pageSize,paginationMode:"client",showPagination:!0,onPageChange:d,rowCount:c.list.length})]})})]})},gK=()=>{const e=vq(),t=Tq(),n=Pq(),[r,o]=b.useState({page:0,pageSize:10}),[i,a]=b.useState({page:0,pageSize:10}),s=_=>{const R=_.getValue();return g.jsx("div",{className:He(Ri["state-detail"],(R==null?void 0:R.isError)&&Ri.error),children:R==null?void 0:R.message})},l=b.useMemo(()=>[{field:"id",headerName:"Segment ID"},{field:"collectionId",headerName:"Collection ID",searchable:!0},{field:"leaderId",headerName:"Leader ID",searchable:!0},{field:"nodeId",headerName:"Node ID",searchable:!0},{field:"rowsCount",headerName:"Rows",renderCell:R=>R.getValue()||"-"},{field:"state",headerName:"State",renderCell:R=>g.jsx(zo,{value:R.getValue()})},{field:"stateDetail",headerName:"State Detail",renderCell:s}],[]),c=qt({cols:l,list:e.segsData,onSearch:()=>{o(_=>({..._,page:0}))}}),u=_=>{const{data:R}=_;return R.name||R.channel_name},d=b.useMemo(()=>[{field:"name",headerName:"Channel Name",renderCell:u,searchable:!0},{field:"collectionId",headerName:"Collection ID",searchable:!0},{field:"leaderId",headerName:"Leader ID",searchable:!0},{field:"nodeId",headerName:"Node ID",searchable:!0,renderCell:R=>R.getValue()||"-"},{field:"watchState",headerName:"Watch State",renderCell:R=>g.jsx(zo,{value:R.getValue()})},{field:"stateDetail",headerName:"State Detail",renderCell:s}],[]),f=qt({cols:d,list:e.channelsData,onSearch:()=>{a(_=>({..._,page:0}))}}),p=_=>{const R=_.getValue();return(R==null?void 0:R.join(", "))||"-"},h=b.useMemo(()=>[{field:"ID",headerName:"ID",searchable:!0},{field:"collectionID",headerName:"Collection ID",renderCell:R=>R.getValue()||"-",searchable:!0},{field:"rw_nodes",headerName:"RW Nodes",renderCell:p},{field:"ro_nodes",headerName:"RO Nodes",renderCell:p},{field:"resource_group",headerName:"Resource Group",renderCell:R=>R.getValue()||"-",searchable:!0}],[]),y=qt({cols:h,list:t.data}),C=_=>{const R=_.getValue();return g.jsx(lv,{json:R})},v=b.useMemo(()=>[{field:"name",headerName:"Name",searchable:!0},{field:"nodes",headerName:"Nodes",renderCell:p},{field:"cfg",headerName:"Cfg",renderCell:C}],[]),S=qt({cols:v,list:n.data}),m=_=>{o(R=>({...R,page:_}))},w=_=>{a(R=>({...R,page:_}))};return g.jsxs("div",{className:He("page-wrapper",Ri.query),children:[g.jsx(St,{title:"Segments",children:g.jsxs(g.Fragment,{children:[c.renderSearcher({defaultFilter:"collectionId",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Ri.segs,"table-view")},columns:l,loading:e.isLoading,getRowId:_=>_.segment_id,rows:c.list,page:r.page,pageSize:r.pageSize,paginationMode:"client",showPagination:!0,onPageChange:m,rowCount:c.list.length||0})]})}),g.jsx(St,{title:"Channels",children:g.jsxs(g.Fragment,{children:[f.renderSearcher({defaultFilter:"collectionId",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Ri.channels,"table-view")},columns:d,loading:e.isLoading,getRowId:_=>_.name,rows:f.list,page:i.page,pageSize:i.pageSize,paginationMode:"client",showPagination:!0,onPageChange:w,rowCount:f.list.length})]})}),g.jsx(St,{title:"Replicas",children:g.jsxs(g.Fragment,{children:[y.renderSearcher({defaultFilter:"ID",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Ri.replicas,"table-view")},columns:h,loading:t.isLoading,getRowId:_=>_.ID,rows:y.list||[],showPagination:!1})]})}),g.jsx(St,{title:"Resource Groups",children:g.jsxs(g.Fragment,{children:[S.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Ri.resourceGroups,"table-view")},columns:v,loading:n.isLoading,getRowId:_=>_.name,rows:S.list||[],showPagination:!1})]})})]})},cl={"noty-list":"_noty-list_uuq1r_1","noty-item-content":"_noty-item-content_uuq1r_7"},hK=()=>{const e=Mq(),[t,n]=b.useState({page:0,pageSize:10}),[r,o]=b.useState({page:0,pageSize:10}),i=C=>{const{data:v}=C;return v.name||v.channel_name},a=C=>{const v=C.getValue();return new Date(v).getFullYear()===1970?"N/A":v||"N/A"},s=b.useMemo(()=>[{field:"channel_name",headerName:"Channel Name",searchable:!0,renderCell:i},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"watch_state",headerName:"Watch State",renderCell:a},{field:"node_id",headerName:"Node ID"},{field:"check_point_ts",headerName:"Checkpoint Ts",renderCell:a}],[]),l=b.useMemo(()=>[{field:"segment_id",headerName:"Segment ID"},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"partition_id",headerName:"Partition ID"},{field:"channel",headerName:"Channel",searchable:!0},{field:"num_of_rows",headerName:"Num of Rows"},{field:"state",headerName:"State"},{field:"level",headerName:"Level",searchable:!0}],[]),c=qt({cols:l,list:e.seg.data,onSearch:()=>{o(C=>({...C,page:0}))}}),u=qt({cols:s,list:e.channel.data,onSearch:()=>{n(C=>({...C,page:0}))}}),d=C=>{o(v=>({...v,page:C}))},f=C=>{n(v=>({...v,page:C}))},p=C=>{const v=C==null?void 0:C.map(S=>g.jsx(A1,{severity:"warning",children:g.jsxs("div",{className:cl["noty-item-content"],children:[g.jsxs("strong",{children:[S.prefix,":"]}),g.jsx("span",{children:S.name}),g.jsx("strong",{children:S.msg})]})},S.name));return g.jsx("div",{className:cl["noty-list"],children:v})},h=e.channel.notifications.map(C=>({name:C.name||C.channel_name,prefix:"Channel",msg:C.notification})),y=e.seg.notifications.map(C=>({name:C.segment_id,prefix:"Segment",msg:C.notification}));return g.jsxs("div",{className:He("page-wrapper",cl.data),children:[g.jsx(St,{title:"Segments",children:g.jsxs(g.Fragment,{children:[c.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(cl[" = useTableFilter("],"table-view")},columns:l,loading:e.isLoading,getRowId:C=>C.name,rows:c.list,page:r.page,pageSize:r.pageSize,paginationMode:"client",showPagination:!0,onPageChange:d,rowCount:c.list.length}),p(y)]})}),g.jsx(St,{title:"Channels",children:g.jsxs(g.Fragment,{children:[u.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(cl.channels,"table-view")},columns:s,loading:e.isLoading,getRowId:C=>C.segment_id,rows:u.list,page:t.page,pageSize:t.pageSize,paginationMode:"client",showPagination:!0,onPageChange:f,rowCount:u.list.length}),p(h)]})})]})},Ti={"text-content":"_text-content_1tkuh_1"},mK=()=>{const e=Lq(),t=Aq(),n=Nq(),r=Dq(),o=jq(),i=w=>g.jsx("div",{className:Ti["text-content"],children:w||"-"}),a=w=>{const _=w.getValue();return(_==null?void 0:_.join(", "))||"-"},s=b.useMemo(()=>[{field:"task_name",headerName:"Task Name",searchable:!0},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"task_type",headerName:"Task Type",searchable:!0},{field:"task_status",headerName:"Task Status",searchable:!0},{field:"actions",headerName:"Actions",renderCell:_=>i(a(_))}],[]),l=qt({cols:s,list:e.data}),c=(w,_)=>R=>{const{[w]:k,[_]:T}=R.data;return vK(Yd(k),Yd(T))},u=b.useMemo(()=>[{field:"plan_id",headerName:"Plan ID"},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"type",headerName:"Type",searchable:!0},{field:"state",headerName:"State",searchable:!0},{field:"start_time",headerName:"Start Time"},{field:"execution_time",headerName:"Execution Time",renderCell:c("start_time","end_Time")},{field:"total_rows",headerName:"Total Rows"},{field:"input_segments",headerName:"Input Segments",renderCell:a},{field:"result_segments",headerName:"Result Segments",renderCell:a}],[]),d=qt({cols:u,list:t.data}),f=b.useMemo(()=>[{field:"index_id",headerName:"Index ID",searchable:!0},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"segment_id",headerName:"Segment ID",searchable:!0},{field:"build_id",headerName:"Build ID",searchable:!0},{field:"index_state",headerName:"Index State"},{field:"index_size",headerName:"Index Size",renderCell:_=>_.getValue()||"-"},{field:"__",headerName:"Execution Time",renderCell:c("create_time","finished_time")},{field:"create_time",headerName:"Create Time"}],[]),p=qt({cols:f,list:n.data}),h=w=>{const{state:_,reason:R}=w.data;return _==="Failed"?R:_},y=b.useMemo(()=>[{field:"job_id",headerName:"Job ID",searchable:!0},{field:"task_id",headerName:"Task ID",searchable:!0},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"node_id",headerName:"Node ID",searchable:!0},{field:"state",headerName:"State",searchable:!0,renderCell:h,searchBy:(_,R)=>R.filter(k=>h({data:k}).toLowerCase().includes(_.toLowerCase().trim()))},{field:"task_type",headerName:"Task Type"},{field:"created_time",headerName:"Created Time"},{field:"execution_time",headerName:"Execution Time",renderCell:c("created_time","complete_time")}],[]),C=qt({cols:y,list:r.data}),v=w=>{const _=w.getValue();return _?`datanode-${_}`:"-"},S=b.useMemo(()=>[{field:"segment_id",headerName:"Segment ID",searchable:!0},{field:"batch_rows",headerName:"Batch Rows"},{field:"segment_level",headerName:"Segment Level",searchable:!0},{field:"ts_from",headerName:"Timestamp From"},{field:"ts_to",headerName:"Timestamp To"},{field:"delta_row_count",headerName:"Delta Row Count"},{field:"flush_size",headerName:"Flush Size"},{field:"running_time",headerName:"Running Time"},{field:"node_id",headerName:"Node ID",searchable:!0,renderCell:v}],[]),m=qt({cols:S,list:o.data});return g.jsxs("div",{className:He("page-wrapper",Ti.tasks),children:[g.jsx(St,{title:"QueryCoord Tasks",children:g.jsxs(g.Fragment,{children:[l.renderSearcher({defaultFilter:"task_name",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Ti["tasks-table"],"table-view")},columns:s,loading:e.isLoading,getRowId:w=>w.task_name,rows:l.list||[]})]})}),g.jsx(St,{title:"Compaction Tasks",children:g.jsxs(g.Fragment,{children:[d.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Ti.compaction,"table-view")},columns:u,loading:t.isLoading,getRowId:w=>w.plan_id,rows:d.list||[]})]})}),g.jsx(St,{title:"Index Build Tasks",children:g.jsxs(g.Fragment,{children:[p.renderSearcher({defaultFilter:"index_id",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Ti["index-build"],"table-view")},columns:f,loading:n.isLoading,getRowId:w=>w.index_id,rows:p.list||[]})]})}),g.jsx(St,{title:"Import Tasks",children:g.jsxs(g.Fragment,{children:[C.renderSearcher({defaultFilter:"job_id",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Ti.import,"table-view")},columns:y,loading:r.isLoading,getRowId:w=>w.job_id,rows:C.list||[]})]})}),g.jsx(St,{title:"Sync Tasks",children:g.jsxs(g.Fragment,{children:[m.renderSearcher({defaultFilter:"segment_id",className:"table-view-filter-searcher"}),g.jsx(ht,{classes:{tableContainer:He(Ti.sync,"table-view")},columns:S,loading:o.isLoading,getRowId:w=>w.segment_id,rows:m.list||[]})]})})]})};function vK(e,t){const n=t.diff(e),r=Math.floor(n/1e3),o=Math.floor(r/60),i=Math.floor(o/60),a=Math.floor(i/24),s=Math.floor(a/30),l=Math.floor(s/12);return l>0?`${l}year${l>1?"s":""}`:s>0?`${s} month${s>1?"s":""}`:a>0?`${a} day${a>1?"s":""}`:i>0?`${i} h`:o>0?`${o} m`:r>0?`${r} s`:"< 1s"}const yK="_notice_q5p05_5",sh={"slow-requests":"_slow-requests_q5p05_1","sr-table":"_sr-table_q5p05_1",notice:yK},bK=()=>{const e=Fq(),t=r=>g.jsx(lv,{ellipsis:!0,json:r.getValue()}),n=b.useMemo(()=>[{field:"time",headerName:"Time"},{field:"trace_id",headerName:"Trace ID"},{field:"type",headerName:"Request"},{field:"user",headerName:"User",renderCell:o=>o.getValue()||"unknown"},{field:"database",headerName:"Database"},{field:"collection",headerName:"Collection"},{field:"query_params",headerName:"Parameters",renderCell:t},{field:"duration",headerName:"Duration"}],[]);return g.jsx("div",{className:He("page-wrapper",sh["slow-requests"]),children:g.jsx(St,{title:"Slow Requests",children:g.jsxs(g.Fragment,{children:[g.jsx("div",{className:sh.notice,children:g.jsxs(A1,{severity:"warning",children:[g.jsx("strong",{children:"Notice: "})," Slow request in the last 5 minutes."]})}),g.jsx(ht,{classes:{tableContainer:He(sh["sr-table"],"table-view")},columns:n,loading:e.isLoading,getRowId:r=>r.task_name,rows:e.data||[]})]})})})},lh={},xK=()=>{const e=Bq(),[t,n]=b.useState({page:0,pageSize:10}),[r,o]=b.useState({}),i=u=>{n(d=>({...d,page:u}))},a=u=>g.jsx("div",{className:lh["text-content"],children:u||"-"}),s=b.useMemo(()=>[{field:"key",headerName:"Attribute"},{field:"value",headerName:"Value",renderCell:d=>a(d.getValue())}],[]),l=u=>{o(d=>({...d,q:u.target.value}))},c=b.useMemo(()=>{const u=r.q||"";return(e.data||[]).filter(d=>{const f=d.key.toLowerCase().includes(u.toLowerCase()),p=d.value.toLowerCase().includes(u.toLowerCase());return f||p})},[e.data,r]);return g.jsx("div",{className:He("page-wrapper",lh["slow-requests"]),children:g.jsx(St,{title:"Milvus Configurations",children:g.jsxs(g.Fragment,{children:[g.jsx(N1,{classes:{root:"table-view-searcher"},type:"number",value:r.q,onChange:l,placeholder:"Search attribute or value...",onPointerEnterCapture:()=>{},onPointerLeaveCapture:()=>{}}),g.jsx(ht,{classes:{tableContainer:He(lh["sr-table"],"table-view")},columns:s,loading:e.isLoading,getRowId:u=>u.task_name,rows:c,page:t.page,pageSize:t.pageSize,paginationMode:"client",showPagination:!0,onPageChange:i,rowCount:c.length})]})})})},SK="_trigger_1f0gw_1",wK="_opened_1f0gw_6",Pu={trigger:SK,opened:wK,"tools-menu":"_tools-menu_1f0gw_13","menu-item-content":"_menu-item-content_1f0gw_24"},CK=e=>{const[t,n]=b.useState(null),r=!!t,o=b.useMemo(()=>[{name:"Pprof",link:"/debug/pprof"},{name:"Memory Data Visualization",link:"/static"}],[]),i=f=>()=>{window.open(f.link,"_blank")},a=()=>o.map(f=>g.jsx($c,{onClick:i(f),children:g.jsxs("div",{className:Pu["menu-item-content"],children:[f.name,g.jsx(Cm,{})]})})),s=()=>{n(null)},l=g.jsx($1,{open:r,anchorEl:t,onClose:s,container:document.body,autoFocus:!1,classes:{paper:Pu["tools-menu"]},children:a()}),c=f=>{n(p=>p?null:f.currentTarget)},u=He(Pu.trigger,r&&Pu.opened,e.className),d=g.jsxs("span",{className:u,onClick:c,children:["Tools",g.jsx(ia,{})]});return g.jsxs(g.Fragment,{children:[d,l]})},_K="_header_wg0jk_7",RK="_nav_wg0jk_18",TK="_active_wg0jk_26",PK="_others_wg0jk_32",kK="_content_wg0jk_45",Tr={header:_K,nav:RK,"nav-item":"_nav-item_wg0jk_22",active:TK,others:PK,"zilliz-link":"_zilliz-link_wg0jk_35","zilliz-link-text":"_zilliz-link-text_wg0jk_41",content:kK,"with-ad":"_with-ad_wg0jk_49"},uo={"base-info":"_base-info_ubkl2_12","info-row":"_info-row_ubkl2_15","info-row-label":"_info-row-label_ubkl2_22","info-row-value":"_info-row-value_ubkl2_26","base-info-form":"_base-info-form_ubkl2_29","base-info-form-label":"_base-info-form-label_ubkl2_32"},$K=()=>{const{identifier:e}=zk(),{collection:t,indexes:n,segments:r,collectionState:o}=mq(e),i=[{label:"Collection Id",key:"collection_id"},{label:"Collection Name",key:"collection_name"},{label:"Database Name",key:"db_name"},{label:"Created Time",key:"created_time"},{label:"Fields",key:"fields",mapValueTo:p=>p==null?void 0:p.fields.length},{label:"Shards Num",key:"shards_num"},{label:"Consistency level",key:"consistency_level"},{label:"Virtual Channels",key:"virtual_channel_names",mapValueTo:p=>(p==null?void 0:p.virtual_channel_names.join(", "))||"-"},{label:"Physical Channels",key:"physical_channel_names",mapValueTo:p=>(p==null?void 0:p.physical_channel_names.join(", "))||"-"},{label:"Status",key:"__",mapValueTo:()=>g.jsx(zo,{value:o.name,detail:o.desc})}],a=p=>{const h=p.data;return g.jsx(lv,{ellipsis:!0,json:h.user_index_params})},s=p=>{const h=p.toString(),y=p?"deleted":"none";return g.jsx(zo,{value:y,label:h})},l=b.useMemo(()=>[{field:"index_id",headerName:"Index ID"},{field:"name",headerName:"Index Name"},{field:"field_id",headerName:"Field ID"},{field:"create_time",headerName:"Created Time"},{field:"is_deleted",headerName:"IsDeleted",renderCell:h=>s(h.getValue())},{field:"user_index_params",headerName:"User Index Params",renderCell:a}],[]),c=b.useMemo(()=>[{field:"id",headerName:"Segment ID"},{field:"nodeId",headerName:"Node ID"},{field:"rowsCount",headerName:"Rows"},{field:"state",headerName:"State"},{field:"level",headerName:"Level"},{field:"buildIndexState",headerName:"Build Index State",renderCell:h=>g.jsx(zo,{value:h.getValue()})},{field:"loadIndexState",headerName:"Load Index State",renderCell:h=>g.jsx(zo,{value:h.getValue()})}],[]),u=b.useMemo(()=>[{field:"name",headerName:"Name"},{field:"field_id",headerName:"Field ID"},{field:"data_type",headerName:"Data Type"},{field:"element_type",headerName:"Element Type"},{field:"default_value",headerName:"Default Value"},{field:"is_primary_key",headerName:"Is Primary Key",renderCell:h=>g.jsx(zo,{value:(!!h.getValue()).toString()})},{field:"auto_id",headerName:"Auto ID",renderCell:h=>g.jsx(zo,{value:(!!h.getValue()).toString()})}],[]),d=b.useMemo(()=>[{field:"partition_name",headerName:"Name"},{field:"partition_id",headerName:"ID"},{field:"created_utc_timestamp",headerName:"Created Time"}],[]),f=()=>{const p=i.map(h=>g.jsxs("div",{className:uo["info-row"],children:[g.jsx("div",{className:uo["info-row-label"],children:h.label}),g.jsx("div",{className:uo["info-row-value"],children:h.mapValueTo?h.mapValueTo(t):t==null?void 0:t[h.key]})]},h.key));return g.jsxs("div",{className:uo["base-info"],children:[p,g.jsxs("div",{className:uo["base-info-form"],children:[g.jsx("div",{className:uo["base-info-form-label"],children:"Collection Fields"}),g.jsx(ht,{columns:u,rows:(t==null?void 0:t.fields)||[]})]}),g.jsxs("div",{className:uo["base-info-form"],children:[g.jsx("div",{className:uo["base-info-form-label"],children:"Collection Partitions"}),g.jsx(ht,{columns:d,rows:(t==null?void 0:t.partition_infos)||[]})]})]})};return g.jsxs("div",{className:He("page-wrapper",uo.wrapper),children:[g.jsx(St,{title:"Base Info",children:f()}),g.jsx(St,{title:"Indexes",children:g.jsx(ht,{columns:l,rows:n||[]})}),g.jsx(St,{title:"Segments",children:g.jsx(ht,{columns:c,rows:r||[]})})]})},EK="_wrapper_gbea3_12",MK="_title_gbea3_28",IK="_desc_gbea3_31",ku={wrapper:EK,title:MK,desc:IK,"link-btn":"_link-btn_gbea3_36"},OK=e=>{if(e.hidden)return!0;const t=()=>{window.open(AG,"_blank")};return g.jsxs("div",{className:ku.wrapper,children:[g.jsx(mt,{variant:"h4Medium",className:ku.title,children:"Try Managed Milvus for Free"}),g.jsx(mt,{variant:"body3Regular",className:ku.desc,children:"Zilliz Cloud is hassle-free, powered by Milvus and 10x faster."}),g.jsxs("div",{className:ku["link-btn"],onClick:t,children:["Get Started",g.jsx(LK,{})]})]})},LK=e=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",...e,children:g.jsx("path",{d:"M3.5 11L11.0833 3.41669M11.0833 3.41669V10.6967M11.0833 3.41669H3.80333",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})}),$u="withoutAd",AK=()=>{const e=Y0(),[t]=y4(),n=b.useMemo(()=>{var d;const c=localStorage.getItem($u);if(t.has($u)){const f=((d=t.get($u))==null?void 0:d.toLowerCase())!=="false";return localStorage.setItem($u,f.toString()),f}return c?c==="true":!1},[t]),r=()=>{e("/")},o=b.useMemo(()=>[{name:"Home",id:"index",path:"/",Comp:rK},{name:"Collections",id:"collections",path:"/collections",Comp:fK},{name:"Collections Detail",id:"collections-detail",path:"/collections/:identifier",Comp:$K,withoutNav:!0},{name:"Query",id:"query",path:"/query_component",Comp:gK},{name:"Query Target",withoutNav:!0,id:"query_target",path:"/query_target",Comp:pK},{name:"Data",id:"data",path:"/data_component",Comp:hK},{name:"Tasks",id:"tasks",path:"/tasks",Comp:mK},{name:"Slow Requests",id:"slowRequests",path:"/slow_requests",Comp:bK},{name:"Configurations",id:"configs",path:"/configs",Comp:xK}],[]),i=()=>g.jsx("div",{className:Tr.logo,onClick:r,children:g.jsx("img",{src:cq})}),a=()=>{const c=o.filter(u=>!u.withoutNav).map(u=>g.jsx(h4,{className:({isActive:d})=>He(Tr["nav-item"],d&&Tr.active),to:u.path,children:u.name},u.id));return c.push(g.jsx(CK,{className:Tr["nav-item"]})),g.jsx("div",{className:Tr.nav,children:c})},s=()=>g.jsx("div",{className:Tr.others}),l=()=>o.map(c=>g.jsx(n2,{path:c.path,Component:c.Comp},c.id));return g.jsxs("div",{className:Tr.layout,children:[g.jsxs("header",{className:Tr.header,children:[i(),a(),s()]}),g.jsxs("div",{className:He(Tr.content,!n&&Tr["with-ad"]),children:[g.jsx("div",{className:Tr.detail,children:g.jsx(r4,{children:l()})}),g.jsx(OK,{hidden:!!n})]})]})},NK=()=>{const e=cB("enUS");L3(),WC(document.getElementById("root")).render(g.jsx(vM,{theme:e,children:g.jsx(f4,{basename:"webui",children:g.jsx(fH,{value:{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1},children:g.jsx(AK,{})})})}))};NK(); diff --git a/internal/http/webui/assets/index-dqR7O4hf.js b/internal/http/webui/assets/index-dqR7O4hf.js deleted file mode 100644 index e8a1f871bb126..0000000000000 --- a/internal/http/webui/assets/index-dqR7O4hf.js +++ /dev/null @@ -1,1502 +0,0 @@ -var C3=Object.defineProperty;var _3=(e,t,n)=>t in e?C3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Fs=(e,t,n)=>_3(e,typeof t!="symbol"?t+"":t,n);function R3(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Al=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function To(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function P3(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var hS={exports:{}},Kd={},mS={exports:{}},Ke={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var gc=Symbol.for("react.element"),T3=Symbol.for("react.portal"),k3=Symbol.for("react.fragment"),$3=Symbol.for("react.strict_mode"),E3=Symbol.for("react.profiler"),M3=Symbol.for("react.provider"),I3=Symbol.for("react.context"),O3=Symbol.for("react.forward_ref"),L3=Symbol.for("react.suspense"),A3=Symbol.for("react.memo"),N3=Symbol.for("react.lazy"),q1=Symbol.iterator;function D3(e){return e===null||typeof e!="object"?null:(e=q1&&e[q1]||e["@@iterator"],typeof e=="function"?e:null)}var vS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},yS=Object.assign,bS={};function Cs(e,t,n){this.props=e,this.context=t,this.refs=bS,this.updater=n||vS}Cs.prototype.isReactComponent={};Cs.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Cs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xS(){}xS.prototype=Cs.prototype;function Um(e,t,n){this.props=e,this.context=t,this.refs=bS,this.updater=n||vS}var Gm=Um.prototype=new xS;Gm.constructor=Um;yS(Gm,Cs.prototype);Gm.isPureReactComponent=!0;var K1=Array.isArray,SS=Object.prototype.hasOwnProperty,qm={current:null},wS={key:!0,ref:!0,__self:!0,__source:!0};function CS(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)SS.call(t,r)&&!wS.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,z=E[H];if(0>>1;Ho(W,B))Vo(ee,W)?(E[H]=ee,E[V]=B,H=V):(E[H]=W,E[F]=B,H=F);else if(Vo(ee,B))E[H]=ee,E[V]=B,H=V;else break e}}return L}function o(E,L){var B=E.sortIndex-L.sortIndex;return B!==0?B:E.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,f=3,p=!1,m=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(E){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=E)r(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(c)}}function C(E){if(y=!1,h(E),!m)if(n(l)!==null)m=!0,A(R);else{var L=n(c);L!==null&&N(C,L.startTime-E)}}function R(E,L){m=!1,y&&(y=!1,v(P),P=-1),p=!0;var B=f;try{for(h(L),d=n(l);d!==null&&(!(d.expirationTime>L)||E&&!$());){var H=d.callback;if(typeof H=="function"){d.callback=null,f=d.priorityLevel;var z=H(d.expirationTime<=L);L=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),h(L)}else r(l);d=n(l)}if(d!==null)var j=!0;else{var F=n(c);F!==null&&N(C,F.startTime-L),j=!1}return j}finally{d=null,f=B,p=!1}}var _=!1,T=null,P=-1,k=5,x=-1;function $(){return!(e.unstable_now()-xE||125H?(E.sortIndex=B,t(c,E),n(l)===null&&E===n(c)&&(y?(v(P),P=-1):y=!0,N(C,B-H))):(E.sortIndex=z,t(l,E),m||p||(m=!0,A(R))),E},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(E){var L=f;return function(){var B=f;f=L;try{return E.apply(this,arguments)}finally{f=B}}}})(kS);TS.exports=kS;var K3=TS.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Z3=b,Jn=K3;function he(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),th=Object.prototype.hasOwnProperty,Q3=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Q1={},Y1={};function Y3(e){return th.call(Y1,e)?!0:th.call(Q1,e)?!1:Q3.test(e)?Y1[e]=!0:(Q1[e]=!0,!1)}function X3(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function J3(e,t,n,r){if(t===null||typeof t>"u"||X3(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $n(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var ln={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ln[e]=new $n(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ln[t]=new $n(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ln[e]=new $n(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ln[e]=new $n(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ln[e]=new $n(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ln[e]=new $n(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ln[e]=new $n(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ln[e]=new $n(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ln[e]=new $n(e,5,!1,e.toLowerCase(),null,!1,!1)});var Zm=/[\-:]([a-z])/g;function Qm(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Zm,Qm);ln[t]=new $n(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Zm,Qm);ln[t]=new $n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Zm,Qm);ln[t]=new $n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ln[e]=new $n(e,1,!1,e.toLowerCase(),null,!1,!1)});ln.xlinkHref=new $n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ln[e]=new $n(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ym(e,t,n,r){var o=ln.hasOwnProperty(t)?ln[t]:null;(o!==null?o.type!==0:r||!(2s||o[a]!==i[s]){var l=` -`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Rp=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?sl(e):""}function eP(e){switch(e.tag){case 5:return sl(e.type);case 16:return sl("Lazy");case 13:return sl("Suspense");case 19:return sl("SuspenseList");case 0:case 2:case 15:return e=Pp(e.type,!1),e;case 11:return e=Pp(e.type.render,!1),e;case 1:return e=Pp(e.type,!0),e;default:return""}}function ih(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pa:return"Fragment";case Ra:return"Portal";case nh:return"Profiler";case Xm:return"StrictMode";case rh:return"Suspense";case oh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case MS:return(e.displayName||"Context")+".Consumer";case ES:return(e._context.displayName||"Context")+".Provider";case Jm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case e0:return t=e.displayName||null,t!==null?t:ih(e.type)||"Memo";case No:t=e._payload,e=e._init;try{return ih(e(t))}catch{}}return null}function tP(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ih(t);case 8:return t===Xm?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function li(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function OS(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nP(e){var t=OS(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hc(e){e._valueTracker||(e._valueTracker=nP(e))}function LS(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=OS(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ah(e,t){var n=t.checked;return wt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function J1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=li(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function AS(e,t){t=t.checked,t!=null&&Ym(e,"checked",t,!1)}function sh(e,t){AS(e,t);var n=li(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?lh(e,t.type,n):t.hasOwnProperty("defaultValue")&&lh(e,t.type,li(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ev(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function lh(e,t,n){(t!=="number"||Qu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ll=Array.isArray;function Wa(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Vc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Dl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var hl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rP=["Webkit","ms","Moz","O"];Object.keys(hl).forEach(function(e){rP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),hl[t]=hl[e]})});function FS(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||hl.hasOwnProperty(e)&&hl[e]?(""+t).trim():t+"px"}function BS(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=FS(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var oP=wt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function dh(e,t){if(t){if(oP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(he(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(he(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(he(61))}if(t.style!=null&&typeof t.style!="object")throw Error(he(62))}}function fh(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ph=null;function t0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gh=null,Ua=null,Ga=null;function rv(e){if(e=vc(e)){if(typeof gh!="function")throw Error(he(280));var t=e.stateNode;t&&(t=Jd(t),gh(e.stateNode,e.type,t))}}function zS(e){Ua?Ga?Ga.push(e):Ga=[e]:Ua=e}function HS(){if(Ua){var e=Ua,t=Ga;if(Ga=Ua=null,rv(e),t)for(e=0;e>>=0,e===0?32:31-(hP(e)/mP|0)|0}var Wc=64,Uc=4194304;function cl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ed(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=cl(s):(i&=a,i!==0&&(r=cl(i)))}else a=n&~o,a!==0?r=cl(a):i!==0&&(r=cl(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function hc(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Or(t),e[t]=n}function xP(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=vl),fv=" ",pv=!1;function lw(e,t){switch(e){case"keyup":return KP.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ta=!1;function QP(e,t){switch(e){case"compositionend":return cw(t);case"keypress":return t.which!==32?null:(pv=!0,fv);case"textInput":return e=t.data,e===fv&&pv?null:e;default:return null}}function YP(e,t){if(Ta)return e==="compositionend"||!c0&&lw(e,t)?(e=aw(),Tu=a0=Uo=null,Ta=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=vv(n)}}function pw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gw(){for(var e=window,t=Qu();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qu(e.document)}return t}function u0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function aT(e){var t=gw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pw(n.ownerDocument.documentElement,n)){if(r!==null&&u0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=yv(n,i);var a=yv(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ka=null,xh=null,bl=null,Sh=!1;function bv(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sh||ka==null||ka!==Qu(r)||(r=ka,"selectionStart"in r&&u0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),bl&&Vl(bl,r)||(bl=r,r=rd(xh,"onSelect"),0Ma||(e.current=Th[Ma],Th[Ma]=null,Ma--)}function ft(e,t){Ma++,Th[Ma]=e.current,e.current=t}var ci={},bn=hi(ci),An=hi(!1),Wi=ci;function ts(e,t){var n=e.type.contextTypes;if(!n)return ci;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Nn(e){return e=e.childContextTypes,e!=null}function id(){ht(An),ht(bn)}function Pv(e,t,n){if(bn.current!==ci)throw Error(he(168));ft(bn,t),ft(An,n)}function Cw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(he(108,tP(e)||"Unknown",o));return wt({},n,r)}function ad(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ci,Wi=bn.current,ft(bn,e),ft(An,An.current),!0}function Tv(e,t,n){var r=e.stateNode;if(!r)throw Error(he(169));n?(e=Cw(e,t,Wi),r.__reactInternalMemoizedMergedChildContext=e,ht(An),ht(bn),ft(bn,e)):ht(An),ft(An,n)}var ho=null,ef=!1,Bp=!1;function _w(e){ho===null?ho=[e]:ho.push(e)}function yT(e){ef=!0,_w(e)}function mi(){if(!Bp&&ho!==null){Bp=!0;var e=0,t=at;try{var n=ho;for(at=1;e>=a,o-=a,vo=1<<32-Or(t)+o|n<P?(k=T,T=null):k=T.sibling;var x=f(v,T,h[P],C);if(x===null){T===null&&(T=k);break}e&&T&&x.alternate===null&&t(v,T),S=i(x,S,P),_===null?R=x:_.sibling=x,_=x,T=k}if(P===h.length)return n(v,T),vt&&_i(v,P),R;if(T===null){for(;PP?(k=T,T=null):k=T.sibling;var $=f(v,T,x.value,C);if($===null){T===null&&(T=k);break}e&&T&&$.alternate===null&&t(v,T),S=i($,S,P),_===null?R=$:_.sibling=$,_=$,T=k}if(x.done)return n(v,T),vt&&_i(v,P),R;if(T===null){for(;!x.done;P++,x=h.next())x=d(v,x.value,C),x!==null&&(S=i(x,S,P),_===null?R=x:_.sibling=x,_=x);return vt&&_i(v,P),R}for(T=r(v,T);!x.done;P++,x=h.next())x=p(T,v,P,x.value,C),x!==null&&(e&&x.alternate!==null&&T.delete(x.key===null?P:x.key),S=i(x,S,P),_===null?R=x:_.sibling=x,_=x);return e&&T.forEach(function(I){return t(v,I)}),vt&&_i(v,P),R}function w(v,S,h,C){if(typeof h=="object"&&h!==null&&h.type===Pa&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case zc:e:{for(var R=h.key,_=S;_!==null;){if(_.key===R){if(R=h.type,R===Pa){if(_.tag===7){n(v,_.sibling),S=o(_,h.props.children),S.return=v,v=S;break e}}else if(_.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===No&&Ev(R)===_.type){n(v,_.sibling),S=o(_,h.props),S.ref=Us(v,_,h),S.return=v,v=S;break e}n(v,_);break}else t(v,_);_=_.sibling}h.type===Pa?(S=Di(h.props.children,v.mode,C,h.key),S.return=v,v=S):(C=Au(h.type,h.key,h.props,null,v.mode,C),C.ref=Us(v,S,h),C.return=v,v=C)}return a(v);case Ra:e:{for(_=h.key;S!==null;){if(S.key===_)if(S.tag===4&&S.stateNode.containerInfo===h.containerInfo&&S.stateNode.implementation===h.implementation){n(v,S.sibling),S=o(S,h.children||[]),S.return=v,v=S;break e}else{n(v,S);break}else t(v,S);S=S.sibling}S=Kp(h,v.mode,C),S.return=v,v=S}return a(v);case No:return _=h._init,w(v,S,_(h._payload),C)}if(ll(h))return m(v,S,h,C);if(Bs(h))return y(v,S,h,C);Xc(v,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,S!==null&&S.tag===6?(n(v,S.sibling),S=o(S,h),S.return=v,v=S):(n(v,S),S=qp(h,v.mode,C),S.return=v,v=S),a(v)):n(v,S)}return w}var rs=kw(!0),$w=kw(!1),cd=hi(null),ud=null,La=null,g0=null;function h0(){g0=La=ud=null}function m0(e){var t=cd.current;ht(cd),e._currentValue=t}function Eh(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ka(e,t){ud=e,g0=La=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(On=!0),e.firstContext=null)}function yr(e){var t=e._currentValue;if(g0!==e)if(e={context:e,memoizedValue:t,next:null},La===null){if(ud===null)throw Error(he(308));La=e,ud.dependencies={lanes:0,firstContext:e}}else La=La.next=e;return t}var Mi=null;function v0(e){Mi===null?Mi=[e]:Mi.push(e)}function Ew(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,v0(t)):(n.next=o.next,o.next=n),t.interleaved=n,Co(e,r)}function Co(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Do=!1;function y0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mw(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function bo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ri(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Xe&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Co(e,n)}return o=r.interleaved,o===null?(t.next=t,v0(r)):(t.next=o.next,o.next=t),r.interleaved=t,Co(e,n)}function $u(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,r0(e,n)}}function Mv(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function dd(e,t,n,r){var o=e.updateQueue;Do=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?i=c:a.next=c,a=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==a&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;a=0,u=c=l=null,s=i;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,y=s;switch(f=t,p=n,y.tag){case 1:if(m=y.payload,typeof m=="function"){d=m.call(p,d,f);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=y.payload,f=typeof m=="function"?m.call(p,d,f):m,f==null)break e;d=wt({},d,f);break e;case 2:Do=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=p,l=d):u=u.next=p,a|=f;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;f=s,s=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(u===null&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);qi|=a,e.lanes=a,e.memoizedState=d}}function Iv(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Hp.transition;Hp.transition={};try{e(!1),t()}finally{at=n,Hp.transition=r}}function Kw(){return br().memoizedState}function wT(e,t,n){var r=ii(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Zw(e))Qw(t,n);else if(n=Ew(e,t,n,r),n!==null){var o=Tn();Lr(n,e,r,o),Yw(n,t,r)}}function CT(e,t,n){var r=ii(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zw(e))Qw(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Dr(s,a)){var l=t.interleaved;l===null?(o.next=o,v0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Ew(e,t,o,r),n!==null&&(o=Tn(),Lr(n,e,r,o),Yw(n,t,r))}}function Zw(e){var t=e.alternate;return e===St||t!==null&&t===St}function Qw(e,t){xl=pd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yw(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,r0(e,n)}}var gd={readContext:yr,useCallback:dn,useContext:dn,useEffect:dn,useImperativeHandle:dn,useInsertionEffect:dn,useLayoutEffect:dn,useMemo:dn,useReducer:dn,useRef:dn,useState:dn,useDebugValue:dn,useDeferredValue:dn,useTransition:dn,useMutableSource:dn,useSyncExternalStore:dn,useId:dn,unstable_isNewReconciler:!1},_T={readContext:yr,useCallback:function(e,t){return qr().memoizedState=[e,t===void 0?null:t],e},useContext:yr,useEffect:Lv,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Mu(4194308,4,Vw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mu(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mu(4,2,e,t)},useMemo:function(e,t){var n=qr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=qr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=wT.bind(null,St,e),[r.memoizedState,e]},useRef:function(e){var t=qr();return e={current:e},t.memoizedState=e},useState:Ov,useDebugValue:P0,useDeferredValue:function(e){return qr().memoizedState=e},useTransition:function(){var e=Ov(!1),t=e[0];return e=ST.bind(null,e[1]),qr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=St,o=qr();if(vt){if(n===void 0)throw Error(he(407));n=n()}else{if(n=t(),Jt===null)throw Error(he(349));Gi&30||Aw(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Lv(Dw.bind(null,r,i,e),[e]),r.flags|=2048,Yl(9,Nw.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=qr(),t=Jt.identifierPrefix;if(vt){var n=yo,r=vo;n=(r&~(1<<32-Or(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Xr]=t,e[Gl]=r,s2(e,t,!1,!1),t.stateNode=e;e:{switch(a=fh(n,r),n){case"dialog":pt("cancel",e),pt("close",e),o=r;break;case"iframe":case"object":case"embed":pt("load",e),o=r;break;case"video":case"audio":for(o=0;oas&&(t.flags|=128,r=!0,Gs(i,!1),t.lanes=4194304)}else{if(!r)if(e=fd(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Gs(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!vt)return fn(t),null}else 2*Ot()-i.renderingStartTime>as&&n!==1073741824&&(t.flags|=128,r=!0,Gs(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ot(),t.sibling=null,n=xt.current,ft(xt,r?n&1|2:n&1),t):(fn(t),null);case 22:case 23:return I0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Un&1073741824&&(fn(t),t.subtreeFlags&6&&(t.flags|=8192)):fn(t),null;case 24:return null;case 25:return null}throw Error(he(156,t.tag))}function IT(e,t){switch(f0(t),t.tag){case 1:return Nn(t.type)&&id(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return os(),ht(An),ht(bn),S0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return x0(t),null;case 13:if(ht(xt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(he(340));ns()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ht(xt),null;case 4:return os(),null;case 10:return m0(t.type._context),null;case 22:case 23:return I0(),null;case 24:return null;default:return null}}var eu=!1,vn=!1,OT=typeof WeakSet=="function"?WeakSet:Set,_e=null;function Aa(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Et(e,t,r)}else n.current=null}function Fh(e,t,n){try{n()}catch(r){Et(e,t,r)}}var Uv=!1;function LT(e,t){if(wh=td,e=gw(),u0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===o&&(s=a),f===i&&++u===r&&(l=a),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ch={focusedElem:e,selectionRange:n},td=!1,_e=t;_e!==null;)if(t=_e,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_e=e;else for(;_e!==null;){t=_e;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,w=m.memoizedState,v=t.stateNode,S=v.getSnapshotBeforeUpdate(t.elementType===t.type?y:Tr(t.type,y),w);v.__reactInternalSnapshotBeforeUpdate=S}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(he(163))}}catch(C){Et(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,_e=e;break}_e=t.return}return m=Uv,Uv=!1,m}function Sl(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Fh(t,n,i)}o=o.next}while(o!==r)}}function rf(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Bh(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function u2(e){var t=e.alternate;t!==null&&(e.alternate=null,u2(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xr],delete t[Gl],delete t[Ph],delete t[mT],delete t[vT])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function d2(e){return e.tag===5||e.tag===3||e.tag===4}function Gv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||d2(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function zh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=od));else if(r!==4&&(e=e.child,e!==null))for(zh(e,t,n),e=e.sibling;e!==null;)zh(e,t,n),e=e.sibling}function Hh(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Hh(e,t,n),e=e.sibling;e!==null;)Hh(e,t,n),e=e.sibling}var nn=null,kr=!1;function Oo(e,t,n){for(n=n.child;n!==null;)f2(e,t,n),n=n.sibling}function f2(e,t,n){if(to&&typeof to.onCommitFiberUnmount=="function")try{to.onCommitFiberUnmount(Zd,n)}catch{}switch(n.tag){case 5:vn||Aa(n,t);case 6:var r=nn,o=kr;nn=null,Oo(e,t,n),nn=r,kr=o,nn!==null&&(kr?(e=nn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):nn.removeChild(n.stateNode));break;case 18:nn!==null&&(kr?(e=nn,n=n.stateNode,e.nodeType===8?Fp(e.parentNode,n):e.nodeType===1&&Fp(e,n),zl(e)):Fp(nn,n.stateNode));break;case 4:r=nn,o=kr,nn=n.stateNode.containerInfo,kr=!0,Oo(e,t,n),nn=r,kr=o;break;case 0:case 11:case 14:case 15:if(!vn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Fh(n,t,a),o=o.next}while(o!==r)}Oo(e,t,n);break;case 1:if(!vn&&(Aa(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Et(n,t,s)}Oo(e,t,n);break;case 21:Oo(e,t,n);break;case 22:n.mode&1?(vn=(r=vn)||n.memoizedState!==null,Oo(e,t,n),vn=r):Oo(e,t,n);break;default:Oo(e,t,n)}}function qv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new OT),t.forEach(function(r){var o=VT.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Rr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Ot()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*NT(r/1960))-r,10e?16:e,Go===null)var r=!1;else{if(e=Go,Go=null,vd=0,Xe&6)throw Error(he(331));var o=Xe;for(Xe|=4,_e=e.current;_e!==null;){var i=_e,a=i.child;if(_e.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lOt()-E0?Ni(e,0):$0|=n),Dn(e,t)}function x2(e,t){t===0&&(e.mode&1?(t=Uc,Uc<<=1,!(Uc&130023424)&&(Uc=4194304)):t=1);var n=Tn();e=Co(e,t),e!==null&&(hc(e,t,n),Dn(e,n))}function HT(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),x2(e,n)}function VT(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(he(314))}r!==null&&r.delete(t),x2(e,n)}var S2;S2=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||An.current)On=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return On=!1,ET(e,t,n);On=!!(e.flags&131072)}else On=!1,vt&&t.flags&1048576&&Rw(t,ld,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Iu(e,t),e=t.pendingProps;var o=ts(t,bn.current);Ka(t,n),o=C0(null,t,r,e,o,n);var i=_0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Nn(r)?(i=!0,ad(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,y0(t),o.updater=nf,t.stateNode=o,o._reactInternals=t,Ih(t,r,e,n),t=Ah(null,t,r,!0,i,n)):(t.tag=0,vt&&i&&d0(t),Pn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Iu(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=UT(r),e=Tr(r,e),o){case 0:t=Lh(null,t,r,e,n);break e;case 1:t=Hv(null,t,r,e,n);break e;case 11:t=Bv(null,t,r,e,n);break e;case 14:t=zv(null,t,r,Tr(r.type,e),n);break e}throw Error(he(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tr(r,o),Lh(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tr(r,o),Hv(e,t,r,o,n);case 3:e:{if(o2(t),e===null)throw Error(he(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Mw(e,t),dd(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=is(Error(he(423)),t),t=Vv(e,t,r,n,o);break e}else if(r!==o){o=is(Error(he(424)),t),t=Vv(e,t,r,n,o);break e}else for(Zn=ni(t.stateNode.containerInfo.firstChild),Qn=t,vt=!0,Er=null,n=$w(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ns(),r===o){t=_o(e,t,n);break e}Pn(e,t,r,n)}t=t.child}return t;case 5:return Iw(t),e===null&&$h(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,_h(r,o)?a=null:i!==null&&_h(r,i)&&(t.flags|=32),r2(e,t),Pn(e,t,a,n),t.child;case 6:return e===null&&$h(t),null;case 13:return i2(e,t,n);case 4:return b0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=rs(t,null,r,n):Pn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tr(r,o),Bv(e,t,r,o,n);case 7:return Pn(e,t,t.pendingProps,n),t.child;case 8:return Pn(e,t,t.pendingProps.children,n),t.child;case 12:return Pn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,ft(cd,r._currentValue),r._currentValue=a,i!==null)if(Dr(i.value,a)){if(i.children===o.children&&!An.current){t=_o(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=bo(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Eh(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(he(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Eh(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Pn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ka(t,n),o=yr(o),r=r(o),t.flags|=1,Pn(e,t,r,n),t.child;case 14:return r=t.type,o=Tr(r,t.pendingProps),o=Tr(r.type,o),zv(e,t,r,o,n);case 15:return t2(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tr(r,o),Iu(e,t),t.tag=1,Nn(r)?(e=!0,ad(t)):e=!1,Ka(t,n),Xw(t,r,o),Ih(t,r,o,n),Ah(null,t,r,!0,e,n);case 19:return a2(e,t,n);case 22:return n2(e,t,n)}throw Error(he(156,t.tag))};function w2(e,t){return ZS(e,t)}function WT(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gr(e,t,n,r){return new WT(e,t,n,r)}function L0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function UT(e){if(typeof e=="function")return L0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Jm)return 11;if(e===e0)return 14}return 2}function ai(e,t){var n=e.alternate;return n===null?(n=gr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Au(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")L0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Pa:return Di(n.children,o,i,t);case Xm:a=8,o|=8;break;case nh:return e=gr(12,n,t,o|2),e.elementType=nh,e.lanes=i,e;case rh:return e=gr(13,n,t,o),e.elementType=rh,e.lanes=i,e;case oh:return e=gr(19,n,t,o),e.elementType=oh,e.lanes=i,e;case IS:return af(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ES:a=10;break e;case MS:a=9;break e;case Jm:a=11;break e;case e0:a=14;break e;case No:a=16,r=null;break e}throw Error(he(130,e==null?e:typeof e,""))}return t=gr(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Di(e,t,n,r){return e=gr(7,e,r,t),e.lanes=n,e}function af(e,t,n,r){return e=gr(22,e,r,t),e.elementType=IS,e.lanes=n,e.stateNode={isHidden:!1},e}function qp(e,t,n){return e=gr(6,e,null,t),e.lanes=n,e}function Kp(e,t,n){return t=gr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function GT(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=kp(0),this.expirationTimes=kp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kp(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function A0(e,t,n,r,o,i,a,s,l){return e=new GT(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=gr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},y0(i),e}function qT(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(P2)}catch(e){console.error(e)}}P2(),PS.exports=nr;var F0=PS.exports;const ru=To(F0);var T2,ty=F0;T2=ty.createRoot,ty.hydrateRoot;/** - * @remix-run/router v1.21.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Jl(){return Jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function k2(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function JT(){return Math.random().toString(36).substr(2,8)}function ry(e,t){return{usr:e.state,key:e.key,idx:t}}function qh(e,t,n,r){return n===void 0&&(n=null),Jl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ps(t):t,{state:n,key:t&&t.key||r||JT()})}function xd(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ps(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function ek(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s=qo.Pop,l=null,c=u();c==null&&(c=0,a.replaceState(Jl({},a.state,{idx:c}),""));function u(){return(a.state||{idx:null}).idx}function d(){s=qo.Pop;let w=u(),v=w==null?null:w-c;c=w,l&&l({action:s,location:y.location,delta:v})}function f(w,v){s=qo.Push;let S=qh(y.location,w,v);c=u()+1;let h=ry(S,c),C=y.createHref(S);try{a.pushState(h,"",C)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;o.location.assign(C)}i&&l&&l({action:s,location:y.location,delta:1})}function p(w,v){s=qo.Replace;let S=qh(y.location,w,v);c=u();let h=ry(S,c),C=y.createHref(S);a.replaceState(h,"",C),i&&l&&l({action:s,location:y.location,delta:0})}function m(w){let v=o.location.origin!=="null"?o.location.origin:o.location.href,S=typeof w=="string"?w:xd(w);return S=S.replace(/ $/,"%20"),It(v,"No window.location.(origin|href) available to create URL for href: "+S),new URL(S,v)}let y={get action(){return s},get location(){return e(o,a)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(ny,d),l=w,()=>{o.removeEventListener(ny,d),l=null}},createHref(w){return t(o,w)},createURL:m,encodeLocation(w){let v=m(w);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:f,replace:p,go(w){return a.go(w)}};return y}var oy;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(oy||(oy={}));function tk(e,t,n){return n===void 0&&(n="/"),nk(e,t,n,!1)}function nk(e,t,n,r){let o=typeof t=="string"?Ps(t):t,i=ss(o.pathname||"/",n);if(i==null)return null;let a=$2(e);rk(a);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(It(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=si([r,l.relativePath]),u=n.concat(l);i.children&&i.children.length>0&&(It(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),$2(i.children,t,u,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:uk(c,i.index),routesMeta:u})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of E2(i.path))o(i,a,l)}),t}function E2(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=E2(r.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function rk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:dk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const ok=/^:[\w-]+$/,ik=3,ak=2,sk=1,lk=10,ck=-2,iy=e=>e==="*";function uk(e,t){let n=e.split("/"),r=n.length;return n.some(iy)&&(r+=ck),t&&(r+=ak),n.filter(o=>!iy(o)).reduce((o,i)=>o+(ok.test(i)?ik:i===""?sk:lk),r)}function dk(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function fk(e,t,n){let{routesMeta:r}=e,o={},i="/",a=[];for(let s=0;s{let{paramName:f,isOptional:p}=u;if(f==="*"){let y=s[d]||"";a=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const m=s[d];return p&&!m?c[f]=void 0:c[f]=(m||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:a,pattern:e}}function pk(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),k2(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function gk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return k2(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function ss(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function hk(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ps(e):e;return{pathname:n?n.startsWith("/")?n:mk(n,t):t,search:bk(r),hash:xk(o)}}function mk(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Zp(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function vk(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function M2(e,t){let n=vk(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function I2(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ps(e):(o=Jl({},e),It(!o.pathname||!o.pathname.includes("?"),Zp("?","pathname","search",o)),It(!o.pathname||!o.pathname.includes("#"),Zp("#","pathname","hash",o)),It(!o.search||!o.search.includes("#"),Zp("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(a==null)s=n;else{let d=t.length-1;if(!r&&a.startsWith("..")){let f=a.split("/");for(;f[0]==="..";)f.shift(),d-=1;o.pathname=f.join("/")}s=d>=0?t[d]:"/"}let l=hk(o,s),c=a&&a!=="/"&&a.endsWith("/"),u=(i||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const si=e=>e.join("/").replace(/\/\/+/g,"/"),yk=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),bk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,xk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Sk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const O2=["post","put","patch","delete"];new Set(O2);const wk=["get",...O2];new Set(wk);/** - * React Router v6.28.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function ec(){return ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),b.useCallback(function(c,u){if(u===void 0&&(u={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let d=I2(c,JSON.parse(a),i,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:si([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,a,i,e])}function pf(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(vi),{matches:o}=b.useContext(sa),{pathname:i}=xc(),a=JSON.stringify(M2(o,r.v7_relativeSplatPath));return b.useMemo(()=>I2(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function Rk(e,t){return Pk(e,t)}function Pk(e,t,n,r){bc()||It(!1);let{navigator:o}=b.useContext(vi),{matches:i}=b.useContext(sa),a=i[i.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=xc(),u;if(t){var d;let w=typeof t=="string"?Ps(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||It(!1),u=w}else u=c;let f=u.pathname||"/",p=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let m=tk(e,{pathname:p}),y=Mk(m&&m.map(w=>Object.assign({},w,{params:Object.assign({},s,w.params),pathname:si([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:si([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&y?b.createElement(ff.Provider,{value:{location:ec({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:qo.Pop}},y):y}function Tk(){let e=Ak(),t=Sk(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:o},n):null,null)}const kk=b.createElement(Tk,null);class $k extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(sa.Provider,{value:this.props.routeContext},b.createElement(A2.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ek(e){let{routeContext:t,match:n,children:r}=e,o=b.useContext(df);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(sa.Provider,{value:t},r)}function Mk(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,s=(o=n)==null?void 0:o.errors;if(s!=null){let u=a.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);u>=0||It(!1),a=a.slice(0,Math.min(a.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((u,d,f)=>{let p,m=!1,y=null,w=null;n&&(p=s&&d.route.id?s[d.route.id]:void 0,y=d.route.errorElement||kk,l&&(c<0&&f===0?(m=!0,w=null):c===f&&(m=!0,w=d.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,f+1)),S=()=>{let h;return p?h=y:m?h=w:d.route.Component?h=b.createElement(d.route.Component,null):d.route.element?h=d.route.element:h=u,b.createElement(Ek,{match:d,routeContext:{outlet:u,matches:v,isDataRoute:n!=null},children:h})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement($k,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:S(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):S()},null)}var j2=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(j2||{}),wd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(wd||{});function Ik(e){let t=b.useContext(df);return t||It(!1),t}function Ok(e){let t=b.useContext(L2);return t||It(!1),t}function Lk(e){let t=b.useContext(sa);return t||It(!1),t}function F2(e){let t=Lk(),n=t.matches[t.matches.length-1];return n.route.id||It(!1),n.route.id}function Ak(){var e;let t=b.useContext(A2),n=Ok(wd.UseRouteError),r=F2(wd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Nk(){let{router:e}=Ik(j2.UseNavigateStable),t=F2(wd.UseNavigateStable),n=b.useRef(!1);return N2(()=>{n.current=!0}),b.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,ec({fromRouteId:t},i)))},[e,t])}const ay={};function Dk(e,t){ay[t]||(ay[t]=!0,console.warn(t))}const sy=(e,t,n)=>Dk(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function jk(e,t){e!=null&&e.v7_startTransition||sy("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),!(e!=null&&e.v7_relativeSplatPath)&&!t&&sy("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function B2(e){It(!1)}function Fk(e){let{basename:t="/",children:n=null,location:r,navigationType:o=qo.Pop,navigator:i,static:a=!1,future:s}=e;bc()&&It(!1);let l=t.replace(/^\/*/,"/"),c=b.useMemo(()=>({basename:l,navigator:i,static:a,future:ec({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof r=="string"&&(r=Ps(r));let{pathname:u="/",search:d="",hash:f="",state:p=null,key:m="default"}=r,y=b.useMemo(()=>{let w=ss(u,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:p,key:m},navigationType:o}},[l,u,d,f,p,m,o]);return y==null?null:b.createElement(vi.Provider,{value:c},b.createElement(ff.Provider,{children:n,value:y}))}function Bk(e){let{children:t,location:n}=e;return Rk(Kh(t),n)}new Promise(()=>{});function Kh(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,o)=>{if(!b.isValidElement(r))return;let i=[...t,o];if(r.type===b.Fragment){n.push.apply(n,Kh(r.props.children,i));return}r.type!==B2&&It(!1),!r.props.index||!r.props.children||It(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=Kh(r.props.children,i)),n.push(a)}),n}/** - * React Router DOM v6.28.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Cd(){return Cd=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function zk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Hk(e,t){return e.button===0&&(!t||t==="_self")&&!zk(e)}const Vk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Wk=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Uk="6";try{window.__reactRouterVersion=Uk}catch{}const Gk=b.createContext({isTransitioning:!1}),qk="startTransition",ly=Zu[qk];function Kk(e){let{basename:t,children:n,future:r,window:o}=e,i=b.useRef();i.current==null&&(i.current=XT({window:o,v5Compat:!0}));let a=i.current,[s,l]=b.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},u=b.useCallback(d=>{c&&ly?ly(()=>l(d)):l(d)},[l,c]);return b.useLayoutEffect(()=>a.listen(u),[a,u]),b.useEffect(()=>jk(r),[r]),b.createElement(Fk,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}const Zk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Qk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,H2=b.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:s,target:l,to:c,preventScrollReset:u,viewTransition:d}=t,f=z2(t,Vk),{basename:p}=b.useContext(vi),m,y=!1;if(typeof c=="string"&&Qk.test(c)&&(m=c,Zk))try{let h=new URL(window.location.href),C=c.startsWith("//")?new URL(h.protocol+c):new URL(c),R=ss(C.pathname,p);C.origin===h.origin&&R!=null?c=R+C.search+C.hash:y=!0}catch{}let w=Ck(c,{relative:o}),v=Jk(c,{replace:a,state:s,target:l,preventScrollReset:u,relative:o,viewTransition:d});function S(h){r&&r(h),h.defaultPrevented||v(h)}return b.createElement("a",Cd({},f,{href:m||w,onClick:y||i?r:S,ref:n,target:l}))}),Yk=b.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:o=!1,className:i="",end:a=!1,style:s,to:l,viewTransition:c,children:u}=t,d=z2(t,Wk),f=pf(l,{relative:d.relative}),p=xc(),m=b.useContext(L2),{navigator:y,basename:w}=b.useContext(vi),v=m!=null&&e4(f)&&c===!0,S=y.encodeLocation?y.encodeLocation(f).pathname:f.pathname,h=p.pathname,C=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;o||(h=h.toLowerCase(),C=C?C.toLowerCase():null,S=S.toLowerCase()),C&&w&&(C=ss(C,w)||C);const R=S!=="/"&&S.endsWith("/")?S.length-1:S.length;let _=h===S||!a&&h.startsWith(S)&&h.charAt(R)==="/",T=C!=null&&(C===S||!a&&C.startsWith(S)&&C.charAt(S.length)==="/"),P={isActive:_,isPending:T,isTransitioning:v},k=_?r:void 0,x;typeof i=="function"?x=i(P):x=[i,_?"active":null,T?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let $=typeof s=="function"?s(P):s;return b.createElement(H2,Cd({},d,{"aria-current":k,className:x,ref:n,style:$,to:l,viewTransition:c}),typeof u=="function"?u(P):u)});var Zh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Zh||(Zh={}));var cy;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cy||(cy={}));function Xk(e){let t=b.useContext(df);return t||It(!1),t}function Jk(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,viewTransition:s}=t===void 0?{}:t,l=D2(),c=xc(),u=pf(e,{relative:a});return b.useCallback(d=>{if(Hk(d,n)){d.preventDefault();let f=r!==void 0?r:xd(c)===xd(u);l(e,{replace:f,state:o,preventScrollReset:i,relative:a,viewTransition:s})}},[c,l,u,r,o,n,e,i,a,s])}function e4(e,t){t===void 0&&(t={});let n=b.useContext(Gk);n==null&&It(!1);let{basename:r}=Xk(Zh.useViewTransitionState),o=pf(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=ss(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=ss(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Sd(o.pathname,a)!=null||Sd(o.pathname,i)!=null}var uy;(function(e){e.Bool="Bool",e.Int8="Int8",e.Int16="Int16",e.Int32="Int32",e.Int64="Int64",e.Float="Float",e.Double="Double",e.String="String",e.VarChar="VarChar",e.JSON="JSON",e.BinaryVector="BinaryVector",e.FloatVector="FloatVector",e.Array="Array"})(uy||(uy={}));var dy;(function(e){e[e.Bool=1]="Bool",e[e.Int8=2]="Int8",e[e.Int16=3]="Int16",e[e.Int32=4]="Int32",e[e.Int64=5]="Int64",e[e.Float=10]="Float",e[e.Double=11]="Double",e[e.VarChar=21]="VarChar",e[e.Array=22]="Array",e[e.JSON=23]="JSON",e[e.BinaryVector=100]="BinaryVector",e[e.FloatVector=101]="FloatVector"})(dy||(dy={}));var fy;(function(e){e.L2="L2",e.IP="IP",e.COSINE="COSINE",e.HAMMING="HAMMING",e.JACCARD="JACCARD",e.TANIMOTO="TANIMOTO",e.SUBSTRUCTURE="SUBSTRUCTURE",e.SUPERSTRUCTURE="SUPERSTRUCTURE"})(fy||(fy={}));var py;(function(e){e.L2="Euclidean",e.IP="Inner product",e.COSINE="Cosine"})(py||(py={}));var gy;(function(e){e.IVF_FLAT="IVF_FLAT",e.IVF_PQ="IVF_PQ",e.IVF_SQ8="IVF_SQ8",e.FLAT="FLAT",e.HNSW="HNSW",e.ANNOY="ANNOY",e.IVF_HNSW="IVF_HNSW",e.RHNSW_FLAT="RHNSW_FLAT",e.RHNSW_SQ="RHNSW_SQ",e.RHNSW_PQ="RHNSW_PQ",e.BIN_FLAT="BIN_FLAT",e.BIN_IVF_FLAT="BIN_IVF_FLAT",e.TRIE="TRIE",e.STL_SORT="STL_SORT"})(gy||(gy={}));var V2=60,W2=V2*60,U2=W2*24,t4=U2*7,ls=1e3,Qp=V2*ls,hy=W2*ls,n4=U2*ls,r4=t4*ls,B0="millisecond",Da="second",ja="minute",Fa="hour",jo="day",Nu="week",$r="month",G2="quarter",Fo="year",Ba="date",o4="YYYY-MM-DDTHH:mm:ssZ",my="Invalid Date",i4=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,a4=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const s4={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var n=["th","st","nd","rd"],r=t%100;return"["+t+(n[(r-20)%10]||n[r]||n[0])+"]"}};var Qh=function(t,n,r){var o=String(t);return!o||o.length>=n?t:""+Array(n+1-o.length).join(r)+t},l4=function(t){var n=-t.utcOffset(),r=Math.abs(n),o=Math.floor(r/60),i=r%60;return(n<=0?"+":"-")+Qh(o,2,"0")+":"+Qh(i,2,"0")},c4=function e(t,n){if(t.date()1)return e(a[0])}else{var s=t.name;ji[s]=t,o=s}return!r&&o&&(_l=o),o||!r&&_l},et=function(t,n){if(z0(t))return t.clone();var r=typeof n=="object"?n:{};return r.date=t,r.args=arguments,new gf(r)},g4=function(t,n){return et(t,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})},lt=p4;lt.l=_d;lt.i=z0;lt.w=g4;var h4=function(t){var n=t.date,r=t.utc;if(n===null)return new Date(NaN);if(lt.u(n))return new Date;if(n instanceof Date)return new Date(n);if(typeof n=="string"&&!/Z$/i.test(n)){var o=n.match(i4);if(o){var i=o[2]-1||0,a=(o[7]||"0").substring(0,3);return r?new Date(Date.UTC(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,a)):new Date(o[1],i,o[3]||1,o[4]||0,o[5]||0,o[6]||0,a)}}return new Date(n)},gf=function(){function e(n){this.$L=_d(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[q2]=!0}var t=e.prototype;return t.parse=function(r){this.$d=h4(r),this.init()},t.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},t.$utils=function(){return lt},t.isValid=function(){return this.$d.toString()!==my},t.isSame=function(r,o){var i=et(r);return this.startOf(o)<=i&&i<=this.endOf(o)},t.isAfter=function(r,o){return et(r)n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Ar="$$material";function Yh(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function Ln(){return Ln=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?rn(Ts,--Hn):0,cs--,Dt===10&&(cs=1,mf--),Dt}function Yn(){return Dt=Hn2||rc(Dt)>3?"":" "}function O4(e,t){for(;--t&&Yn()&&!(Dt<48||Dt>102||Dt>57&&Dt<65||Dt>70&&Dt<97););return Sc(e,Du()+(t<6&&ro()==32&&Yn()==32))}function Jh(e){for(;Yn();)switch(Dt){case e:return Hn;case 34:case 39:e!==34&&e!==39&&Jh(Dt);break;case 40:e===41&&Jh(e);break;case 92:Yn();break}return Hn}function L4(e,t){for(;Yn()&&e+Dt!==57;)if(e+Dt===84&&ro()===47)break;return"/*"+Sc(t,Hn-1)+"*"+hf(e===47?e:Yn())}function A4(e){for(;!rc(ro());)Yn();return Sc(e,Hn)}function N4(e){return nC(Fu("",null,null,null,[""],e=tC(e),0,[0],e))}function Fu(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,m=0,y=1,w=1,v=1,S=0,h="",C=o,R=i,_=r,T=h;w;)switch(m=S,S=Yn()){case 40:if(m!=108&&rn(T,d-1)==58){Xh(T+=rt(ju(S),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:T+=ju(S);break;case 9:case 10:case 13:case 32:T+=I4(m);break;case 92:T+=O4(Du()-1,7);continue;case 47:switch(ro()){case 42:case 47:ou(D4(L4(Yn(),Du()),t,n),l);break;default:T+="/"}break;case 123*y:s[c++]=Zr(T)*v;case 125*y:case 59:case 0:switch(S){case 0:case 125:w=0;case 59+u:v==-1&&(T=rt(T,/\f/g,"")),p>0&&Zr(T)-d&&ou(p>32?yy(T+";",r,n,d-1):yy(rt(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(ou(_=vy(T,t,n,c,u,o,s,h,C=[],R=[],d),i),S===123)if(u===0)Fu(T,t,_,_,C,i,d,s,R);else switch(f===99&&rn(T,3)===110?100:f){case 100:case 108:case 109:case 115:Fu(e,_,_,r&&ou(vy(e,_,_,0,0,o,s,h,o,C=[],d),R),o,R,d,s,r?C:R);break;default:Fu(T,_,_,_,[""],R,0,s,R)}}c=u=p=0,y=v=1,h=T="",d=a;break;case 58:d=1+Zr(T),p=m;default:if(y<1){if(S==123)--y;else if(S==125&&y++==0&&M4()==125)continue}switch(T+=hf(S),S*y){case 38:v=u>0?1:(T+="\f",-1);break;case 44:s[c++]=(Zr(T)-1)*v,v=1;break;case 64:ro()===45&&(T+=ju(Yn())),f=ro(),u=d=Zr(h=T+=A4(Du())),S++;break;case 45:m===45&&Zr(T)==2&&(y=0)}}return i}function vy(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,f=o===0?i:[""],p=W0(f),m=0,y=0,w=0;m0?f[v]+" "+S:rt(S,/&\f/g,f[v])))&&(l[w++]=h);return vf(e,t,n,o===0?H0:s,l,c,u)}function D4(e,t,n){return vf(e,t,n,Y2,hf(E4()),nc(e,2,-2),0)}function yy(e,t,n,r){return vf(e,t,n,V0,nc(e,0,r),nc(e,r+1,-1),r)}function Qa(e,t){for(var n="",r=W0(e),o=0;o6)switch(rn(e,t+1)){case 109:if(rn(e,t+4)!==45)break;case 102:return rt(e,/(.+:)(.+)-([^]+)/,"$1"+nt+"$2-$3$1"+Rd+(rn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xh(e,"stretch")?rC(rt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(rn(e,t+1)!==115)break;case 6444:switch(rn(e,Zr(e)-3-(~Xh(e,"!important")&&10))){case 107:return rt(e,":",":"+nt)+e;case 101:return rt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+nt+(rn(e,14)===45?"inline-":"")+"box$3$1"+nt+"$2$3$1"+gn+"$2box$3")+e}break;case 5936:switch(rn(e,t+11)){case 114:return nt+e+gn+rt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return nt+e+gn+rt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return nt+e+gn+rt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return nt+e+gn+e+e}return e}var G4=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case V0:t.return=rC(t.value,t.length);break;case X2:return Qa([Zs(t,{value:rt(t.value,"@","@"+nt)})],o);case H0:if(t.length)return $4(t.props,function(i){switch(k4(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qa([Zs(t,{props:[rt(i,/:(read-\w+)/,":"+Rd+"$1")]})],o);case"::placeholder":return Qa([Zs(t,{props:[rt(i,/:(plac\w+)/,":"+nt+"input-$1")]}),Zs(t,{props:[rt(i,/:(plac\w+)/,":"+Rd+"$1")]}),Zs(t,{props:[rt(i,/:(plac\w+)/,gn+"input-$1")]})],o)}return""})}},q4=[G4],K4=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||q4,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),v=1;v=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var a$={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},s$=!1,l$=/[A-Z]|^ms/g,c$=/_EMO_([^_]+?)_([^]*?)_EMO_/g,uC=function(t){return t.charCodeAt(1)===45},xy=function(t){return t!=null&&typeof t!="boolean"},Yp=Q2(function(e){return uC(e)?e:e.replace(l$,"-$&").toLowerCase()}),Sy=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(c$,function(r,o,i){return Qr={name:o,styles:i,next:Qr},o})}return a$[t]!==1&&!uC(t)&&typeof n=="number"&&n!==0?n+"px":n},u$="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function oc(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Qr={name:o.name,styles:o.styles,next:Qr},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Qr={name:a.name,styles:a.styles,next:Qr},a=a.next;var s=i.styles+";";return s}return d$(e,t,n)}case"function":{if(e!==void 0){var l=Qr,c=n(e);return Qr=l,oc(e,t,c)}break}}var u=n;if(t==null)return u;var d=t[u];return d!==void 0?d:u}function d$(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?m$:v$},Ry=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},y$=!1,b$=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return lC(n,r,o),p$(function(){return cC(n,r,o)}),null},x$=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var s=Ry(t,n,r),l=s||_y(o),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,p=1;pt(w$(o)?n:o):t;return g.jsx(g$,{styles:r})}/** - * @mui/styled-engine v6.1.6 - * - * @license MIT - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */function hC(e,t){return em(e,t)}function C$(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Py=[];function Ty(e){return Py[0]=e,kf(Py)}function Ho(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function mC(e){if(!Ho(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=mC(e[n])}),t}function xo(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Ho(e)&&Ho(t)&&Object.keys(t).forEach(o=>{Ho(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ho(e[o])?r[o]=xo(e[o],t[o],n):n.clone?r[o]=Ho(t[o])?mC(t[o]):t[o]:r[o]=t[o]}),r}const _$=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function R$(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=_$(t),a=Object.keys(i);function s(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function c(f,p){const m=a.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(m!==-1&&typeof t[a[m]]=="number"?t[a[m]]:p)-r/100}${n})`}function u(f){return a.indexOf(f)+1r.startsWith("@container")).sort((r,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=r.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function T$(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function k$(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}function $$(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function n(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const l=t(e.breakpoints.not(...s),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const E$={borderRadius:4};function Rl(e,t){return t?xo(e,t,{clone:!1}):e}const Ef={xs:0,sm:600,md:900,lg:1200,xl:1536},ky={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ef[e]}px)`},M$={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Ef[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function jr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||ky;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const i=r.breakpoints||ky;return Object.keys(t).reduce((a,s)=>{if(T$(i.keys,s)){const l=k$(r.containerQueries?r:M$,s);l&&(a[l]=n(t[s],s))}else if(Object.keys(i.values||Ef).includes(s)){const l=i.up(s);a[l]=n(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return n(t)}function vC(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function yC(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function I$(e,...t){const n=vC(e),r=[n,...t].reduce((o,i)=>xo(o,i),{});return yC(Object.keys(n),r)}function O$(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i{e[o]!=null&&(n[o]=!0)}),n}function Xp({values:e,breakpoints:t,base:n}){const r=n||O$(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[i],i=s):a[s]=e,a),{})}function bC(e){if(typeof e!="string")throw new Error(Yh(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Mf(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Pd(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Mf(e,n)||r,t&&(o=t(o,r,e)),o}function At(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=Mf(l,r)||{};return jr(a,s,d=>{let f=Pd(c,o,d);return d===f&&typeof d=="string"&&(f=Pd(c,o,`${t}${d==="default"?"":bC(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function L$(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const A$={m:"margin",p:"padding"},N$={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},$y={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},D$=L$(e=>{if(e.length>2)if($y[e])e=$y[e];else return[e];const[t,n]=e.split(""),r=A$[t],o=N$[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Z0=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Q0=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Z0,...Q0];function wc(e,t,n,r){const o=Mf(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i),s=o[a];return i>=0?s:typeof s=="number"?-s:`-${s}`}:typeof o=="function"?o:()=>{}}function If(e){return wc(e,"spacing",8)}function Qi(e,t){return typeof t=="string"||t==null?t:e(t)}function j$(e,t){return n=>e.reduce((r,o)=>(r[o]=Qi(t,n),r),{})}function F$(e,t,n,r){if(!t.includes(n))return null;const o=D$(n),i=j$(o,r),a=e[n];return jr(e,a,i)}function xC(e,t){const n=If(e.theme);return Object.keys(e).map(r=>F$(e,t,r,n)).reduce(Rl,{})}function Pt(e){return xC(e,Z0)}Pt.propTypes={};Pt.filterProps=Z0;function Tt(e){return xC(e,Q0)}Tt.propTypes={};Tt.filterProps=Q0;function SC(e=8,t=If({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function Of(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Rl(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function fr(e){return typeof e!="number"?e:`${e}px solid`}function wr(e,t){return At({prop:e,themeKey:"borders",transform:t})}const B$=wr("border",fr),z$=wr("borderTop",fr),H$=wr("borderRight",fr),V$=wr("borderBottom",fr),W$=wr("borderLeft",fr),U$=wr("borderColor"),G$=wr("borderTopColor"),q$=wr("borderRightColor"),K$=wr("borderBottomColor"),Z$=wr("borderLeftColor"),Q$=wr("outline",fr),Y$=wr("outlineColor"),Lf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=wc(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Qi(t,r)});return jr(e,e.borderRadius,n)}return null};Lf.propTypes={};Lf.filterProps=["borderRadius"];Of(B$,z$,H$,V$,W$,U$,G$,q$,K$,Z$,Lf,Q$,Y$);const Af=e=>{if(e.gap!==void 0&&e.gap!==null){const t=wc(e.theme,"spacing",8),n=r=>({gap:Qi(t,r)});return jr(e,e.gap,n)}return null};Af.propTypes={};Af.filterProps=["gap"];const Nf=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=wc(e.theme,"spacing",8),n=r=>({columnGap:Qi(t,r)});return jr(e,e.columnGap,n)}return null};Nf.propTypes={};Nf.filterProps=["columnGap"];const Df=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=wc(e.theme,"spacing",8),n=r=>({rowGap:Qi(t,r)});return jr(e,e.rowGap,n)}return null};Df.propTypes={};Df.filterProps=["rowGap"];const X$=At({prop:"gridColumn"}),J$=At({prop:"gridRow"}),e5=At({prop:"gridAutoFlow"}),t5=At({prop:"gridAutoColumns"}),n5=At({prop:"gridAutoRows"}),r5=At({prop:"gridTemplateColumns"}),o5=At({prop:"gridTemplateRows"}),i5=At({prop:"gridTemplateAreas"}),a5=At({prop:"gridArea"});Of(Af,Nf,Df,X$,J$,e5,t5,n5,r5,o5,i5,a5);function Ya(e,t){return t==="grey"?t:e}const s5=At({prop:"color",themeKey:"palette",transform:Ya}),l5=At({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ya}),c5=At({prop:"backgroundColor",themeKey:"palette",transform:Ya});Of(s5,l5,c5);function Kn(e){return e<=1&&e!==0?`${e*100}%`:e}const u5=At({prop:"width",transform:Kn}),Y0=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,a,s,l;const r=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[n])||Ef[n];return r?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Kn(n)}};return jr(e,e.maxWidth,t)}return null};Y0.filterProps=["maxWidth"];const d5=At({prop:"minWidth",transform:Kn}),f5=At({prop:"height",transform:Kn}),p5=At({prop:"maxHeight",transform:Kn}),g5=At({prop:"minHeight",transform:Kn});At({prop:"size",cssProperty:"width",transform:Kn});At({prop:"size",cssProperty:"height",transform:Kn});const h5=At({prop:"boxSizing"});Of(u5,Y0,d5,f5,p5,g5,h5);const Cc={border:{themeKey:"borders",transform:fr},borderTop:{themeKey:"borders",transform:fr},borderRight:{themeKey:"borders",transform:fr},borderBottom:{themeKey:"borders",transform:fr},borderLeft:{themeKey:"borders",transform:fr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:fr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lf},color:{themeKey:"palette",transform:Ya},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ya},backgroundColor:{themeKey:"palette",transform:Ya},p:{style:Tt},pt:{style:Tt},pr:{style:Tt},pb:{style:Tt},pl:{style:Tt},px:{style:Tt},py:{style:Tt},padding:{style:Tt},paddingTop:{style:Tt},paddingRight:{style:Tt},paddingBottom:{style:Tt},paddingLeft:{style:Tt},paddingX:{style:Tt},paddingY:{style:Tt},paddingInline:{style:Tt},paddingInlineStart:{style:Tt},paddingInlineEnd:{style:Tt},paddingBlock:{style:Tt},paddingBlockStart:{style:Tt},paddingBlockEnd:{style:Tt},m:{style:Pt},mt:{style:Pt},mr:{style:Pt},mb:{style:Pt},ml:{style:Pt},mx:{style:Pt},my:{style:Pt},margin:{style:Pt},marginTop:{style:Pt},marginRight:{style:Pt},marginBottom:{style:Pt},marginLeft:{style:Pt},marginX:{style:Pt},marginY:{style:Pt},marginInline:{style:Pt},marginInlineStart:{style:Pt},marginInlineEnd:{style:Pt},marginBlock:{style:Pt},marginBlockStart:{style:Pt},marginBlockEnd:{style:Pt},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:Af},rowGap:{style:Df},columnGap:{style:Nf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Kn},maxWidth:{style:Y0},minWidth:{transform:Kn},height:{transform:Kn},maxHeight:{transform:Kn},minHeight:{transform:Kn},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"}};function m5(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function v5(e,t){return typeof e=="function"?e(t):e}function y5(){function e(n,r,o,i){const a={[n]:r,theme:o},s=i[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=s;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const f=Mf(o,c)||{};return d?d(a):jr(a,r,m=>{let y=Pd(f,u,m);return m===y&&typeof m=="string"&&(y=Pd(f,u,`${n}${m==="default"?"":bC(m)}`,m)),l===!1?y:{[l]:y}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Cc;function a(s){let l=s;if(typeof s=="function")l=s(o);else if(typeof s!="object")return s;if(!l)return null;const c=vC(o.breakpoints),u=Object.keys(c);let d=c;return Object.keys(l).forEach(f=>{const p=v5(l[f],o);if(p!=null)if(typeof p=="object")if(i[f])d=Rl(d,e(f,p,o,i));else{const m=jr({theme:o},p,y=>({[f]:y}));m5(m,p)?d[f]=t({sx:p,theme:o}):d=Rl(d,m)}else d=Rl(d,e(f,p,o,i))}),P$(o,yC(u,d))}return Array.isArray(r)?r.map(a):a(r)}return t}const ui=y5();ui.filterProps=["sx"];function b5(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function jf(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e,s=R$(n),l=SC(o);let c=xo({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...E$,...i}},a);return c=$$(c),c.applyStyles=b5,c=t.reduce((u,d)=>xo(u,d),c),c.unstable_sxConfig={...Cc,...a==null?void 0:a.unstable_sxConfig},c.unstable_sx=function(d){return ui({sx:d,theme:this})},c}function x5(e){return Object.keys(e).length===0}function wC(e=null){const t=b.useContext($f);return!t||x5(t)?e:t}const S5=jf();function Ff(e=S5){return wC(e)}function w5({styles:e,themeId:t,defaultTheme:n={}}){const r=Ff(n),o=typeof e=="function"?e(t&&r[t]||r):e;return g.jsx(gC,{styles:o})}const C5=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Cc;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function X0(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=C5(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const s=t(...a);return Ho(s)?{...r,...s}:r}:i={...r,...t},{...o,sx:i}}const Ey=e=>e,_5=()=>{let e=Ey;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ey}}},R5=_5();function CC(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(ui);return b.forwardRef(function(l,c){const u=Ff(n),{className:d,component:f="div",...p}=X0(l);return g.jsx(i,{as:f,ref:c,className:ve(d,o?o(r):r),theme:t&&u[t]||u,...p})})}const T5={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 k5(e,t,n="Mui"){const r=T5[t];return r?`${n}-${r}`:`${R5.generate(e)}-${t}`}var ct={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var J0=Symbol.for("react.element"),e1=Symbol.for("react.portal"),Bf=Symbol.for("react.fragment"),zf=Symbol.for("react.strict_mode"),Hf=Symbol.for("react.profiler"),Vf=Symbol.for("react.provider"),Wf=Symbol.for("react.context"),$5=Symbol.for("react.server_context"),Uf=Symbol.for("react.forward_ref"),Gf=Symbol.for("react.suspense"),qf=Symbol.for("react.suspense_list"),Kf=Symbol.for("react.memo"),Zf=Symbol.for("react.lazy"),E5=Symbol.for("react.offscreen"),_C;_C=Symbol.for("react.module.reference");function Cr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case J0:switch(e=e.type,e){case Bf:case Hf:case zf:case Gf:case qf:return e;default:switch(e=e&&e.$$typeof,e){case $5:case Wf:case Uf:case Zf:case Kf:case Vf:return e;default:return t}}case e1:return t}}}ct.ContextConsumer=Wf;ct.ContextProvider=Vf;ct.Element=J0;ct.ForwardRef=Uf;ct.Fragment=Bf;ct.Lazy=Zf;ct.Memo=Kf;ct.Portal=e1;ct.Profiler=Hf;ct.StrictMode=zf;ct.Suspense=Gf;ct.SuspenseList=qf;ct.isAsyncMode=function(){return!1};ct.isConcurrentMode=function(){return!1};ct.isContextConsumer=function(e){return Cr(e)===Wf};ct.isContextProvider=function(e){return Cr(e)===Vf};ct.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===J0};ct.isForwardRef=function(e){return Cr(e)===Uf};ct.isFragment=function(e){return Cr(e)===Bf};ct.isLazy=function(e){return Cr(e)===Zf};ct.isMemo=function(e){return Cr(e)===Kf};ct.isPortal=function(e){return Cr(e)===e1};ct.isProfiler=function(e){return Cr(e)===Hf};ct.isStrictMode=function(e){return Cr(e)===zf};ct.isSuspense=function(e){return Cr(e)===Gf};ct.isSuspenseList=function(e){return Cr(e)===qf};ct.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Bf||e===Hf||e===zf||e===Gf||e===qf||e===E5||typeof e=="object"&&e!==null&&(e.$$typeof===Zf||e.$$typeof===Kf||e.$$typeof===Vf||e.$$typeof===Wf||e.$$typeof===Uf||e.$$typeof===_C||e.getModuleId!==void 0)};ct.typeOf=Cr;function RC(e){const{variants:t,...n}=e,r={variants:t,style:Ty(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Ty(o.style))}),r}const M5=jf();function Jp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function I5(e){return e?(t,n)=>n[e]:null}function O5(e,t,n){e.theme=A5(e.theme)?n:e.theme[t]||e.theme}function Bu(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Bu(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:o,...i}=n;r=i}return PC(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function PC(e,t,n=[]){var o;let r;e:for(let i=0;i{C$(s,R=>R.filter(_=>_!==ui));const{name:c,slot:u,skipVariantsResolver:d,skipSx:f,overridesResolver:p=I5(D5(u)),...m}=l,y=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,w=f||!1;let v=Jp;u==="Root"||u==="root"?v=r:u?v=o:N5(s)&&(v=void 0);const S=hC(s,{shouldForwardProp:v,label:L5(),...m}),h=R=>{if(typeof R=="function"&&R.__emotion_real!==R)return function(T){return Bu(T,R)};if(Ho(R)){const _=RC(R);return _.variants?function(P){return Bu(P,_)}:_.style}return R},C=(...R)=>{const _=[],T=R.map(h),P=[];if(_.push(i),c&&p&&P.push(function(I){var A,N;const D=(N=(A=I.theme.components)==null?void 0:A[c])==null?void 0:N.styleOverrides;if(!D)return null;const M={};for(const E in D)M[E]=Bu(I,D[E]);return p(I,M)}),c&&!y&&P.push(function(I){var M,A;const O=I.theme,D=(A=(M=O==null?void 0:O.components)==null?void 0:M[c])==null?void 0:A.variants;return D?PC(I,D):null}),w||P.push(ui),Array.isArray(T[0])){const $=T.shift(),I=new Array(_.length).fill(""),O=new Array(P.length).fill("");let D;D=[...I,...$,...O],D.raw=[...I,...$.raw,...O],_.unshift(D)}const k=[..._,...T,...P],x=S(...k);return s.muiName&&(x.muiName=s.muiName),x};return S.withConfig&&(C.withConfig=S.withConfig),C}}function L5(e,t){return void 0}function A5(e){for(const t in e)return!1;return!0}function N5(e){return typeof e=="string"&&e.charCodeAt(0)>96}function D5(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const j5=TC();function Td(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)n[o]=i||{};else if(!i)n[o]=a;else{n[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const l=s;n[o][l]=Td(i[l],a[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function F5(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Td(t.components[n].defaultProps,r)}function kC({props:e,name:t,defaultTheme:n,themeId:r}){let o=Ff(n);return r&&(o=o[r]||o),F5({theme:o,name:t,props:e})}function B5(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function t1(e,t=0,n=1){return B5(e,t,n)}function z5(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function di(e){if(e.type)return e;if(e.charAt(0)==="#")return di(z5(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Yh(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Yh(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const H5=e=>{const t=di(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},dl=(e,t)=>{try{return H5(e)}catch{return e}};function Qf(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function $C(e){e=di(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(c,u=(c+n/30)%12)=>o-i*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Qf({type:s,values:l})}function tm(e){e=di(e);let t=e.type==="hsl"||e.type==="hsla"?di($C(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function V5(e,t){const n=tm(e),r=tm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Be(e,t){return e=di(e),t=t1(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Qf(e)}function iu(e,t,n){try{return Be(e,t)}catch{return e}}function Yi(e,t){if(e=di(e),t=t1(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Qf(e)}function ut(e,t,n){try{return Yi(e,t)}catch{return e}}function Xi(e,t){if(e=di(e),t=t1(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Qf(e)}function dt(e,t,n){try{return Xi(e,t)}catch{return e}}function W5(e,t=.15){return tm(e)>.5?Yi(e,t):Xi(e,t)}function au(e,t,n){try{return W5(e,t)}catch{return e}}const EC=b.createContext(null);function n1(){return b.useContext(EC)}const U5=typeof Symbol=="function"&&Symbol.for,G5=U5?Symbol.for("mui.nested"):"__THEME_NESTED__";function q5(e,t){return typeof t=="function"?t(e):{...e,...t}}function K5(e){const{children:t,theme:n}=e,r=n1(),o=b.useMemo(()=>{const i=r===null?{...n}:q5(r,n);return i!=null&&(i[G5]=r!==null),i},[n,r]);return g.jsx(EC.Provider,{value:o,children:t})}const MC=b.createContext();function Z5({value:e,...t}){return g.jsx(MC.Provider,{value:e??!0,...t})}const ks=()=>b.useContext(MC)??!1,IC=b.createContext(void 0);function Q5({value:e,children:t}){return g.jsx(IC.Provider,{value:e,children:t})}function Y5(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Td(o.defaultProps,r):!o.styleOverrides&&!o.variants?Td(o,r):r}function X5({props:e,name:t}){const n=b.useContext(IC);return Y5({props:e,name:t,theme:{components:n}})}const My={};function Iy(e,t,n,r=!1){return b.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),a=e?{...t,[e]:i}:i;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function OC(e){const{children:t,theme:n,themeId:r}=e,o=wC(My),i=n1()||My,a=Iy(r,o,n),s=Iy(r,i,n,!0),l=a.direction==="rtl";return g.jsx(K5,{theme:s,children:g.jsx($f.Provider,{value:a,children:g.jsx(Z5,{value:l,children:g.jsx(Q5,{value:a==null?void 0:a.components,children:t})})})})}const Oy={theme:void 0};function J5(e){let t,n;return function(o){let i=t;return(i===void 0||o.theme!==n)&&(Oy.theme=o.theme,i=RC(e(Oy)),t=i,n=o.theme),i}}const r1="mode",o1="color-scheme",eE="data-color-scheme";function tE(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=r1,colorSchemeStorageKey:i=o1,attribute:a=eE,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let c="",u=a;if(a==="class"&&(u=".%s"),a==="data"&&(u="[data-%s]"),u.startsWith(".")){const f=u.substring(1);c+=`${s}.classList.remove('${f}'.replace('%s', light), '${f}'.replace('%s', dark)); - ${s}.classList.add('${f}'.replace('%s', colorScheme));`}const d=u.match(/\[([^\]]+)\]/);if(d){const[f,p]=d[1].split("=");p||(c+=`${s}.removeAttribute('${f}'.replace('%s', light)); - ${s}.removeAttribute('${f}'.replace('%s', dark));`),c+=` - ${s}.setAttribute('${f}'.replace('%s', colorScheme), ${p?`${p}.replace('%s', colorScheme)`:'""'});`}else c+=`${s}.setAttribute('${u}', colorScheme);`;return g.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(function() { -try { - let colorScheme = ''; - const mode = localStorage.getItem('${o}') || '${t}'; - const dark = localStorage.getItem('${i}-dark') || '${r}'; - const light = localStorage.getItem('${i}-light') || '${n}'; - if (mode === 'system') { - // handle system mode - const mql = window.matchMedia('(prefers-color-scheme: dark)'); - if (mql.matches) { - colorScheme = dark - } else { - colorScheme = light - } - } - if (mode === 'light') { - colorScheme = light; - } - if (mode === 'dark') { - colorScheme = dark; - } - if (colorScheme) { - ${c} - } -} catch(e){}})();`}},"mui-color-scheme-init")}function Ly(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function LC(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function nE(e){return LC(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function eg(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function rE(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=r1,colorSchemeStorageKey:a=o1,storageWindow:s=typeof window>"u"?void 0:window}=e,l=o.join(","),c=o.length>1,[u,d]=b.useState(()=>{const h=eg(i,t),C=eg(`${a}-light`,n),R=eg(`${a}-dark`,r);return{mode:h,systemMode:Ly(h),lightColorScheme:C,darkColorScheme:R}}),[,f]=b.useState(!1),p=b.useRef(!1);b.useEffect(()=>{c&&f(!0),p.current=!0},[c]);const m=nE(u),y=b.useCallback(h=>{d(C=>{if(h===C.mode)return C;const R=h??t;try{localStorage.setItem(i,R)}catch{}return{...C,mode:R,systemMode:Ly(R)}})},[i,t]),w=b.useCallback(h=>{h?typeof h=="string"?h&&!l.includes(h)?console.error(`\`${h}\` does not exist in \`theme.colorSchemes\`.`):d(C=>{const R={...C};return LC(C,_=>{try{localStorage.setItem(`${a}-${_}`,h)}catch{}_==="light"&&(R.lightColorScheme=h),_==="dark"&&(R.darkColorScheme=h)}),R}):d(C=>{const R={...C},_=h.light===null?n:h.light,T=h.dark===null?r:h.dark;if(_)if(!l.includes(_))console.error(`\`${_}\` does not exist in \`theme.colorSchemes\`.`);else{R.lightColorScheme=_;try{localStorage.setItem(`${a}-light`,_)}catch{}}if(T)if(!l.includes(T))console.error(`\`${T}\` does not exist in \`theme.colorSchemes\`.`);else{R.darkColorScheme=T;try{localStorage.setItem(`${a}-dark`,T)}catch{}}return R}):d(C=>{try{localStorage.setItem(`${a}-light`,n),localStorage.setItem(`${a}-dark`,r)}catch{}return{...C,lightColorScheme:n,darkColorScheme:r}})},[l,a,n,r]),v=b.useCallback(h=>{u.mode==="system"&&d(C=>{const R=h!=null&&h.matches?"dark":"light";return C.systemMode===R?C:{...C,systemMode:R}})},[u.mode]),S=b.useRef(v);return S.current=v,b.useEffect(()=>{if(typeof window.matchMedia!="function"||!c)return;const h=(...R)=>S.current(...R),C=window.matchMedia("(prefers-color-scheme: dark)");return C.addListener(h),h(C),()=>{C.removeListener(h)}},[c]),b.useEffect(()=>{if(s&&c){const h=C=>{const R=C.newValue;typeof C.key=="string"&&C.key.startsWith(a)&&(!R||l.match(R))&&(C.key.endsWith("light")&&w({light:R}),C.key.endsWith("dark")&&w({dark:R})),C.key===i&&(!R||["light","dark","system"].includes(R))&&y(R||t)};return s.addEventListener("storage",h),()=>{s.removeEventListener("storage",h)}}},[w,y,i,a,l,t,s,c]),{...u,mode:p.current||!c?u.mode:void 0,systemMode:p.current||!c?u.systemMode:void 0,colorScheme:p.current||!c?m:void 0,setMode:y,setColorScheme:w}}const oE="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function iE(e){const{themeId:t,theme:n={},modeStorageKey:r=r1,colorSchemeStorageKey:o=o1,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=b.createContext(void 0),u=()=>b.useContext(c)||l;function d(y){var ge,le,Se,ye,Ue;const{children:w,theme:v,modeStorageKey:S=r,colorSchemeStorageKey:h=o,disableTransitionOnChange:C=i,storageWindow:R=typeof window>"u"?void 0:window,documentNode:_=typeof document>"u"?void 0:document,colorSchemeNode:T=typeof document>"u"?void 0:document.documentElement,disableNestedContext:P=!1,disableStyleSheetGeneration:k=!1,defaultMode:x="system"}=y,$=b.useRef(!1),I=n1(),O=b.useContext(c),D=!!O&&!P,M=b.useMemo(()=>v||(typeof n=="function"?n():n),[v]),A=M[t],{colorSchemes:N={},components:E={},cssVarPrefix:L,...B}=A||M,H=Object.keys(N).filter(Te=>!!N[Te]).join(","),z=b.useMemo(()=>H.split(","),[H]),j=typeof a=="string"?a:a.light,F=typeof a=="string"?a:a.dark,W=N[j]&&N[F]?x:((le=(ge=N[B.defaultColorScheme])==null?void 0:ge.palette)==null?void 0:le.mode)||((Se=B.palette)==null?void 0:Se.mode),{mode:V,setMode:ee,systemMode:re,lightColorScheme:U,darkColorScheme:K,colorScheme:se,setColorScheme:q}=rE({supportedColorSchemes:z,defaultLightColorScheme:j,defaultDarkColorScheme:F,modeStorageKey:S,colorSchemeStorageKey:h,defaultMode:W,storageWindow:R});let ce=V,ue=se;D&&(ce=O.mode,ue=O.colorScheme);const ie=ue||B.defaultColorScheme,te=((ye=B.generateThemeVars)==null?void 0:ye.call(B))||B.vars,de={...B,components:E,colorSchemes:N,cssVarPrefix:L,vars:te};if(typeof de.generateSpacing=="function"&&(de.spacing=de.generateSpacing()),ie){const Te=N[ie];Te&&typeof Te=="object"&&Object.keys(Te).forEach(Re=>{Te[Re]&&typeof Te[Re]=="object"?de[Re]={...de[Re],...Te[Re]}:de[Re]=Te[Re]})}const Q=B.colorSchemeSelector;b.useEffect(()=>{if(ue&&T&&Q&&Q!=="media"){const Te=Q;let Re=Q;if(Te==="class"&&(Re=".%s"),Te==="data"&&(Re="[data-%s]"),Te!=null&&Te.startsWith("data-")&&!Te.includes("%s")&&(Re=`[${Te}="%s"]`),Re.startsWith("."))T.classList.remove(...z.map(ke=>Re.substring(1).replace("%s",ke))),T.classList.add(Re.substring(1).replace("%s",ue));else{const ke=Re.replace("%s",ue).match(/\[([^\]]+)\]/);if(ke){const[pe,ne]=ke[1].split("=");ne||z.forEach(xe=>{T.removeAttribute(pe.replace(ue,xe))}),T.setAttribute(pe,ne?ne.replace(/"|'/g,""):"")}else T.setAttribute(Re,ue)}}},[ue,Q,T,z]),b.useEffect(()=>{let Te;if(C&&$.current&&_){const Re=_.createElement("style");Re.appendChild(_.createTextNode(oE)),_.head.appendChild(Re),window.getComputedStyle(_.body),Te=setTimeout(()=>{_.head.removeChild(Re)},1)}return()=>{clearTimeout(Te)}},[ue,C,_]),b.useEffect(()=>($.current=!0,()=>{$.current=!1}),[]);const be=b.useMemo(()=>({allColorSchemes:z,colorScheme:ue,darkColorScheme:K,lightColorScheme:U,mode:ce,setColorScheme:q,setMode:ee,systemMode:re}),[z,ue,K,U,ce,q,ee,re]);let Pe=!0;(k||B.cssVariables===!1||D&&(I==null?void 0:I.cssVarPrefix)===L)&&(Pe=!1);const we=g.jsxs(b.Fragment,{children:[g.jsx(OC,{themeId:A?t:void 0,theme:s?s(de):de,children:w}),Pe&&g.jsx(gC,{styles:((Ue=de.generateStyleSheets)==null?void 0:Ue.call(de))||[]})]});return D?we:g.jsx(c.Provider,{value:be,children:we})}const f=typeof a=="string"?a:a.light,p=typeof a=="string"?a:a.dark;return{CssVarsProvider:d,useColorScheme:u,getInitColorSchemeScript:y=>tE({colorSchemeStorageKey:o,defaultLightColorScheme:f,defaultDarkColorScheme:p,modeStorageKey:r,...y})}}function aE(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const Ay=(e,t,n,r=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},sE=(e,t,n)=>{function r(o,i=[],a=[]){Object.entries(o).forEach(([s,l])=>{(!n||n&&!n([...i,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,s],Array.isArray(l)?[...a,s]:a):t([...i,s],l,a))})}r(e)},lE=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function tg(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return sE(e,(s,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(s,l))){const u=`--${n?`${n}-`:""}${s.join("-")}`,d=lE(s,l);Object.assign(o,{[u]:d}),Ay(i,s,`var(${u})`,c),Ay(a,s,`var(${u}, ${d})`,c)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function cE(e,t={}){const{getSelector:n=w,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...l}=e,{vars:c,css:u,varsWithDefaults:d}=tg(l,t);let f=d;const p={},{[s]:m,...y}=i;if(Object.entries(y||{}).forEach(([h,C])=>{const{vars:R,css:_,varsWithDefaults:T}=tg(C,t);f=xo(f,T),p[h]={css:_,vars:R}}),m){const{css:h,vars:C,varsWithDefaults:R}=tg(m,t);f=xo(f,R),p[s]={css:h,vars:C}}function w(h,C){var _,T;let R=o;if(o==="class"&&(R=".%s"),o==="data"&&(R="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(R=`[${o}="%s"]`),h){if(R==="media")return e.defaultColorScheme===h?":root":{[`@media (prefers-color-scheme: ${((T=(_=i[h])==null?void 0:_.palette)==null?void 0:T.mode)||h})`]:{":root":C}};if(R)return e.defaultColorScheme===h?`:root, ${R.replace("%s",String(h))}`:R.replace("%s",String(h))}return":root"}return{vars:f,generateThemeVars:()=>{let h={...c};return Object.entries(p).forEach(([,{vars:C}])=>{h=xo(h,C)}),h},generateStyleSheets:()=>{var P,k;const h=[],C=e.defaultColorScheme||"light";function R(x,$){Object.keys($).length&&h.push(typeof x=="string"?{[x]:{...$}}:x)}R(n(void 0,{...u}),u);const{[C]:_,...T}=p;if(_){const{css:x}=_,$=(k=(P=i[C])==null?void 0:P.palette)==null?void 0:k.mode,I=!r&&$?{colorScheme:$,...x}:{...x};R(n(C,{...I}),I)}return Object.entries(T).forEach(([x,{css:$}])=>{var D,M;const I=(M=(D=i[x])==null?void 0:D.palette)==null?void 0:M.mode,O=!r&&I?{colorScheme:I,...$}:{...$};R(n(x,{...O}),O)}),h}}}function uE(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function dE(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;lt.root});function gE(e){return kC({props:e,name:"MuiStack",defaultTheme:fE})}function hE(e,t){const n=b.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],vE=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...jr({theme:t},Xp({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=If(t),o=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),i=Xp({values:e.direction,base:o}),a=Xp({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((l,c,u)=>{if(!i[l]){const f=c>0?i[u[c-1]]:"column";i[l]=f}}),n=xo(n,jr({theme:t},a,(l,c)=>e.useFlexGap?{gap:Qi(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${mE(c?i[c]:e.direction)}`]:Qi(r,l)}}))}return n=I$(t.breakpoints,n),n};function yE(e={}){const{createStyledComponent:t=pE,useThemeProps:n=gE,componentName:r="MuiStack"}=e,o=()=>dE({root:["root"]},l=>k5(r,l),{}),i=t(vE);return b.forwardRef(function(l,c){const u=n(l),d=X0(u),{component:f="div",direction:p="column",spacing:m=0,divider:y,children:w,className:v,useFlexGap:S=!1,...h}=d,C={direction:p,spacing:m,useFlexGap:S},R=o();return g.jsx(i,{as:f,ownerState:C,ref:c,className:ve(R.root,v),...h,children:y?hE(w,y):w})})}function Vo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function AC(e){if(!Vo(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=AC(e[n])}),t}function oo(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Vo(e)&&Vo(t)&&Object.keys(t).forEach(o=>{Vo(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vo(e[o])?r[o]=oo(e[o],t[o],n):n.clone?r[o]=Vo(t[o])?AC(t[o]):t[o]:r[o]=t[o]}),r}function NC(){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:tc.white,default:tc.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 bE=NC();function DC(){return{text:{primary:tc.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:tc.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 Ny=DC();function Dy(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Xi(e.main,o):t==="dark"&&(e.dark=Yi(e.main,i)))}function xE(e="light"){return e==="dark"?{main:ha[200],light:ha[50],dark:ha[400]}:{main:ha[700],light:ha[400],dark:ha[800]}}function SE(e="light"){return e==="dark"?{main:ga[200],light:ga[50],dark:ga[400]}:{main:ga[500],light:ga[300],dark:ga[700]}}function wE(e="light"){return e==="dark"?{main:pa[500],light:pa[300],dark:pa[700]}:{main:pa[700],light:pa[400],dark:pa[800]}}function CE(e="light"){return e==="dark"?{main:ma[400],light:ma[300],dark:ma[700]}:{main:ma[700],light:ma[500],dark:ma[900]}}function _E(e="light"){return e==="dark"?{main:va[400],light:va[300],dark:va[700]}:{main:va[800],light:va[500],dark:va[900]}}function RE(e="light"){return e==="dark"?{main:Ks[400],light:Ks[300],dark:Ks[700]}:{main:"#ed6c02",light:Ks[500],dark:Ks[900]}}function i1(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||xE(t),a=e.secondary||SE(t),s=e.error||wE(t),l=e.info||CE(t),c=e.success||_E(t),u=e.warning||RE(t);function d(y){return V5(y,Ny.text.primary)>=n?Ny.text.primary:bE.text.primary}const f=({color:y,name:w,mainShade:v=500,lightShade:S=300,darkShade:h=700})=>{if(y={...y},!y.main&&y[v]&&(y.main=y[v]),!y.hasOwnProperty("main"))throw new Error(Zi(11,w?` (${w})`:"",v));if(typeof y.main!="string")throw new Error(Zi(12,w?` (${w})`:"",JSON.stringify(y.main)));return Dy(y,"light",S,r),Dy(y,"dark",h,r),y.contrastText||(y.contrastText=d(y.main)),y};let p;return t==="light"?p=NC():t==="dark"&&(p=DC()),oo({common:{...tc},mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:m4,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...p},o)}function PE(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}const jy=e=>e,TE=()=>{let e=jy;return{configure(t){e=t},generate(t){return e(t)},reset(){e=jy}}},jC=TE(),kE={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 Oe(e,t,n="Mui"){const r=kE[t];return r?`${n}-${r}`:`${jC.generate(e)}-${t}`}function $E(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function EE(e){return Math.round(e*1e5)/1e5}const Fy={textTransform:"uppercase"},By='"Roboto", "Helvetica", "Arial", sans-serif';function FC(e,t){const{fontFamily:n=By,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}=typeof t=="function"?t(e):t,f=r/14,p=u||(w=>`${w/l*f}rem`),m=(w,v,S,h,C)=>({fontFamily:n,fontWeight:w,fontSize:p(v),lineHeight:S,...n===By?{letterSpacing:`${EE(h/v)}em`}:{},...C,...c}),y={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(a,14,1.75,.4,Fy),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,Fy),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return oo({htmlFontSize:l,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...y},d,{clone:!1})}const ME=.2,IE=.14,OE=.12;function mt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ME})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${IE})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${OE})`].join(",")}const LE=["none",mt(0,2,1,-1,0,1,1,0,0,1,3,0),mt(0,3,1,-2,0,2,2,0,0,1,5,0),mt(0,3,3,-2,0,3,4,0,0,1,8,0),mt(0,2,4,-1,0,4,5,0,0,1,10,0),mt(0,3,5,-1,0,5,8,0,0,1,14,0),mt(0,3,5,-1,0,6,10,0,0,1,18,0),mt(0,4,5,-2,0,7,10,1,0,2,16,1),mt(0,5,5,-3,0,8,10,1,0,3,14,2),mt(0,5,6,-3,0,9,12,1,0,3,16,2),mt(0,6,6,-3,0,10,14,1,0,4,18,3),mt(0,6,7,-4,0,11,15,1,0,4,20,3),mt(0,7,8,-4,0,12,17,2,0,5,22,4),mt(0,7,8,-4,0,13,19,2,0,5,24,4),mt(0,7,9,-4,0,14,21,2,0,5,26,4),mt(0,8,9,-5,0,15,22,2,0,6,28,5),mt(0,8,10,-5,0,16,24,2,0,6,30,5),mt(0,8,11,-5,0,17,26,2,0,6,32,5),mt(0,9,11,-5,0,18,28,2,0,7,34,6),mt(0,9,12,-6,0,19,29,2,0,7,36,6),mt(0,10,13,-6,0,20,31,3,0,8,38,7),mt(0,10,13,-6,0,21,33,3,0,8,40,7),mt(0,10,14,-6,0,22,35,3,0,8,42,7),mt(0,11,14,-7,0,23,36,3,0,9,44,8),mt(0,11,15,-7,0,24,38,3,0,9,46,8)],AE={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)"},BC={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function zy(e){return`${Math.round(e)}ms`}function NE(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function DE(e){const t={...AE,...e.easing},n={...BC,...e.duration};return{getAutoHeightDuration:NE,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:l=0,...c}=i;return(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof a=="string"?a:zy(a)} ${s} ${typeof l=="string"?l:zy(l)}`).join(",")},...e,easing:t,duration:n}}const jE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function FE(e){return Vo(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function zC(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;ioo(p,m),f),f.unstable_sxConfig={...Cc,...c==null?void 0:c.unstable_sxConfig},f.unstable_sx=function(m){return ui({sx:m,theme:this})},f.toRuntimeSource=zC,f}function rm(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const BE=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=rm(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function HC(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function VC(e){return e==="dark"?BE:[]}function zE(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=i1(t);return{palette:i,opacity:{...HC(i.mode),...n},overlays:r||VC(i.mode),...o}}function HE(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const VE=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],WE=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return VE(e.cssVarPrefix).forEach(s=>{a[s]=n[s],delete n[s]}),i==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:a}}:i?{[i.replace("%s",t)]:a,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...a}}}if(i&&i!=="media")return`${r}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function UE(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Z(e,t,n){!e[t]&&n&&(e[t]=n)}function fl(e){return!e||!e.startsWith("hsl")?e:$C(e)}function lo(e,t){`${t}Channel`in e||(e[`${t}Channel`]=dl(fl(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). -To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function GE(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ur=e=>{try{return e()}catch{}},qE=(e="mui")=>aE(e);function ng(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=zE({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=nm({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...HC(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||VC(o)},a}function KE(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=HE,colorSchemeSelector:s=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...c}=e,u=Object.keys(n)[0],d=r||(n.light&&u!=="light"?"light":u),f=qE(i),{[d]:p,light:m,dark:y,...w}=n,v={...w};let S=p;if((d==="dark"&&!("dark"in n)||d==="light"&&!("light"in n))&&(S=!0),!S)throw new Error(Zi(21,d));const h=ng(v,S,c,d);m&&!v.light&&ng(v,m,void 0,"light"),y&&!v.dark&&ng(v,y,void 0,"dark");let C={defaultColorScheme:d,...h,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:l,getCssVar:f,colorSchemes:v,font:{...PE(h.typography),...h.font},spacing:GE(c.spacing)};Object.keys(C.colorSchemes).forEach(k=>{const x=C.colorSchemes[k].palette,$=I=>{const O=I.split("-"),D=O[1],M=O[2];return f(I,x[D][M])};if(x.mode==="light"&&(Z(x.common,"background","#fff"),Z(x.common,"onBackground","#000")),x.mode==="dark"&&(Z(x.common,"background","#000"),Z(x.common,"onBackground","#fff")),UE(x,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),x.mode==="light"){Z(x.Alert,"errorColor",ut(x.error.light,.6)),Z(x.Alert,"infoColor",ut(x.info.light,.6)),Z(x.Alert,"successColor",ut(x.success.light,.6)),Z(x.Alert,"warningColor",ut(x.warning.light,.6)),Z(x.Alert,"errorFilledBg",$("palette-error-main")),Z(x.Alert,"infoFilledBg",$("palette-info-main")),Z(x.Alert,"successFilledBg",$("palette-success-main")),Z(x.Alert,"warningFilledBg",$("palette-warning-main")),Z(x.Alert,"errorFilledColor",Ur(()=>x.getContrastText(x.error.main))),Z(x.Alert,"infoFilledColor",Ur(()=>x.getContrastText(x.info.main))),Z(x.Alert,"successFilledColor",Ur(()=>x.getContrastText(x.success.main))),Z(x.Alert,"warningFilledColor",Ur(()=>x.getContrastText(x.warning.main))),Z(x.Alert,"errorStandardBg",dt(x.error.light,.9)),Z(x.Alert,"infoStandardBg",dt(x.info.light,.9)),Z(x.Alert,"successStandardBg",dt(x.success.light,.9)),Z(x.Alert,"warningStandardBg",dt(x.warning.light,.9)),Z(x.Alert,"errorIconColor",$("palette-error-main")),Z(x.Alert,"infoIconColor",$("palette-info-main")),Z(x.Alert,"successIconColor",$("palette-success-main")),Z(x.Alert,"warningIconColor",$("palette-warning-main")),Z(x.AppBar,"defaultBg",$("palette-grey-100")),Z(x.Avatar,"defaultBg",$("palette-grey-400")),Z(x.Button,"inheritContainedBg",$("palette-grey-300")),Z(x.Button,"inheritContainedHoverBg",$("palette-grey-A100")),Z(x.Chip,"defaultBorder",$("palette-grey-400")),Z(x.Chip,"defaultAvatarColor",$("palette-grey-700")),Z(x.Chip,"defaultIconColor",$("palette-grey-700")),Z(x.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Z(x.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Z(x.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Z(x.LinearProgress,"primaryBg",dt(x.primary.main,.62)),Z(x.LinearProgress,"secondaryBg",dt(x.secondary.main,.62)),Z(x.LinearProgress,"errorBg",dt(x.error.main,.62)),Z(x.LinearProgress,"infoBg",dt(x.info.main,.62)),Z(x.LinearProgress,"successBg",dt(x.success.main,.62)),Z(x.LinearProgress,"warningBg",dt(x.warning.main,.62)),Z(x.Skeleton,"bg",`rgba(${$("palette-text-primaryChannel")} / 0.11)`),Z(x.Slider,"primaryTrack",dt(x.primary.main,.62)),Z(x.Slider,"secondaryTrack",dt(x.secondary.main,.62)),Z(x.Slider,"errorTrack",dt(x.error.main,.62)),Z(x.Slider,"infoTrack",dt(x.info.main,.62)),Z(x.Slider,"successTrack",dt(x.success.main,.62)),Z(x.Slider,"warningTrack",dt(x.warning.main,.62));const I=au(x.background.default,.8);Z(x.SnackbarContent,"bg",I),Z(x.SnackbarContent,"color",Ur(()=>x.getContrastText(I))),Z(x.SpeedDialAction,"fabHoverBg",au(x.background.paper,.15)),Z(x.StepConnector,"border",$("palette-grey-400")),Z(x.StepContent,"border",$("palette-grey-400")),Z(x.Switch,"defaultColor",$("palette-common-white")),Z(x.Switch,"defaultDisabledColor",$("palette-grey-100")),Z(x.Switch,"primaryDisabledColor",dt(x.primary.main,.62)),Z(x.Switch,"secondaryDisabledColor",dt(x.secondary.main,.62)),Z(x.Switch,"errorDisabledColor",dt(x.error.main,.62)),Z(x.Switch,"infoDisabledColor",dt(x.info.main,.62)),Z(x.Switch,"successDisabledColor",dt(x.success.main,.62)),Z(x.Switch,"warningDisabledColor",dt(x.warning.main,.62)),Z(x.TableCell,"border",dt(iu(x.divider,1),.88)),Z(x.Tooltip,"bg",iu(x.grey[700],.92))}if(x.mode==="dark"){Z(x.Alert,"errorColor",dt(x.error.light,.6)),Z(x.Alert,"infoColor",dt(x.info.light,.6)),Z(x.Alert,"successColor",dt(x.success.light,.6)),Z(x.Alert,"warningColor",dt(x.warning.light,.6)),Z(x.Alert,"errorFilledBg",$("palette-error-dark")),Z(x.Alert,"infoFilledBg",$("palette-info-dark")),Z(x.Alert,"successFilledBg",$("palette-success-dark")),Z(x.Alert,"warningFilledBg",$("palette-warning-dark")),Z(x.Alert,"errorFilledColor",Ur(()=>x.getContrastText(x.error.dark))),Z(x.Alert,"infoFilledColor",Ur(()=>x.getContrastText(x.info.dark))),Z(x.Alert,"successFilledColor",Ur(()=>x.getContrastText(x.success.dark))),Z(x.Alert,"warningFilledColor",Ur(()=>x.getContrastText(x.warning.dark))),Z(x.Alert,"errorStandardBg",ut(x.error.light,.9)),Z(x.Alert,"infoStandardBg",ut(x.info.light,.9)),Z(x.Alert,"successStandardBg",ut(x.success.light,.9)),Z(x.Alert,"warningStandardBg",ut(x.warning.light,.9)),Z(x.Alert,"errorIconColor",$("palette-error-main")),Z(x.Alert,"infoIconColor",$("palette-info-main")),Z(x.Alert,"successIconColor",$("palette-success-main")),Z(x.Alert,"warningIconColor",$("palette-warning-main")),Z(x.AppBar,"defaultBg",$("palette-grey-900")),Z(x.AppBar,"darkBg",$("palette-background-paper")),Z(x.AppBar,"darkColor",$("palette-text-primary")),Z(x.Avatar,"defaultBg",$("palette-grey-600")),Z(x.Button,"inheritContainedBg",$("palette-grey-800")),Z(x.Button,"inheritContainedHoverBg",$("palette-grey-700")),Z(x.Chip,"defaultBorder",$("palette-grey-700")),Z(x.Chip,"defaultAvatarColor",$("palette-grey-300")),Z(x.Chip,"defaultIconColor",$("palette-grey-300")),Z(x.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Z(x.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Z(x.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Z(x.LinearProgress,"primaryBg",ut(x.primary.main,.5)),Z(x.LinearProgress,"secondaryBg",ut(x.secondary.main,.5)),Z(x.LinearProgress,"errorBg",ut(x.error.main,.5)),Z(x.LinearProgress,"infoBg",ut(x.info.main,.5)),Z(x.LinearProgress,"successBg",ut(x.success.main,.5)),Z(x.LinearProgress,"warningBg",ut(x.warning.main,.5)),Z(x.Skeleton,"bg",`rgba(${$("palette-text-primaryChannel")} / 0.13)`),Z(x.Slider,"primaryTrack",ut(x.primary.main,.5)),Z(x.Slider,"secondaryTrack",ut(x.secondary.main,.5)),Z(x.Slider,"errorTrack",ut(x.error.main,.5)),Z(x.Slider,"infoTrack",ut(x.info.main,.5)),Z(x.Slider,"successTrack",ut(x.success.main,.5)),Z(x.Slider,"warningTrack",ut(x.warning.main,.5));const I=au(x.background.default,.98);Z(x.SnackbarContent,"bg",I),Z(x.SnackbarContent,"color",Ur(()=>x.getContrastText(I))),Z(x.SpeedDialAction,"fabHoverBg",au(x.background.paper,.15)),Z(x.StepConnector,"border",$("palette-grey-600")),Z(x.StepContent,"border",$("palette-grey-600")),Z(x.Switch,"defaultColor",$("palette-grey-300")),Z(x.Switch,"defaultDisabledColor",$("palette-grey-600")),Z(x.Switch,"primaryDisabledColor",ut(x.primary.main,.55)),Z(x.Switch,"secondaryDisabledColor",ut(x.secondary.main,.55)),Z(x.Switch,"errorDisabledColor",ut(x.error.main,.55)),Z(x.Switch,"infoDisabledColor",ut(x.info.main,.55)),Z(x.Switch,"successDisabledColor",ut(x.success.main,.55)),Z(x.Switch,"warningDisabledColor",ut(x.warning.main,.55)),Z(x.TableCell,"border",ut(iu(x.divider,1),.68)),Z(x.Tooltip,"bg",iu(x.grey[700],.92))}lo(x.background,"default"),lo(x.background,"paper"),lo(x.common,"background"),lo(x.common,"onBackground"),lo(x,"divider"),Object.keys(x).forEach(I=>{const O=x[I];O&&typeof O=="object"&&(O.main&&Z(x[I],"mainChannel",dl(fl(O.main))),O.light&&Z(x[I],"lightChannel",dl(fl(O.light))),O.dark&&Z(x[I],"darkChannel",dl(fl(O.dark))),O.contrastText&&Z(x[I],"contrastTextChannel",dl(fl(O.contrastText))),I==="text"&&(lo(x[I],"primary"),lo(x[I],"secondary")),I==="action"&&(O.active&&lo(x[I],"active"),O.selected&&lo(x[I],"selected")))})}),C=t.reduce((k,x)=>oo(k,x),C);const R={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:WE(C)},{vars:_,generateThemeVars:T,generateStyleSheets:P}=cE(C,R);return C.vars=_,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([k,x])=>{C[k]=x}),C.generateThemeVars=T,C.generateStyleSheets=P,C.generateSpacing=function(){return SC(c.spacing,If(this))},C.getColorSchemeSelector=uE(s),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=a,C.unstable_sxConfig={...Cc,...c==null?void 0:c.unstable_sxConfig},C.unstable_sx=function(x){return ui({sx:x,theme:this})},C.toRuntimeSource=zC,C}function Hy(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:i1({...n===!0?{}:n.palette,mode:t})})}function Yf(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...a}=e,s=i||"light",l=o==null?void 0:o[s],c={...o,...n?{[s]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return nm(e,...t);let u=n;"palette"in e||c[s]&&(c[s]!==!0?u=c[s].palette:s==="dark"&&(u={mode:"dark"}));const d=nm({...e,palette:u},...t);return d.defaultColorScheme=s,d.colorSchemes=c,d.palette.mode==="light"&&(d.colorSchemes.light={...c.light!==!0&&c.light,palette:d.palette},Hy(d,"dark",c.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:d.palette},Hy(d,"light",c.light)),d}return!n&&!("light"in c)&&s==="light"&&(c.light=!0),KE({...a,colorSchemes:c,defaultColorScheme:s,...typeof r!="boolean"&&r},...t)}const Xf=Yf();function zt(){const e=Ff(Xf);return e[Ar]||e}function ZE({props:e,name:t}){return kC({props:e,name:t,defaultTheme:Xf,themeId:Ar})}function WC(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Sn=e=>WC(e)&&e!=="classes",J=TC({themeId:Ar,defaultTheme:Xf,rootShouldForwardProp:Sn});function Vy({theme:e,...t}){const n=Ar in e?e[Ar]:void 0;return g.jsx(OC,{...t,themeId:n?Ar:void 0,theme:n||e})}const su={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:QE,useColorScheme:Kq,getInitColorSchemeScript:Zq}=iE({themeId:Ar,theme:()=>Yf({cssVariables:!0}),colorSchemeStorageKey:su.colorSchemeStorageKey,modeStorageKey:su.modeStorageKey,defaultColorScheme:{light:su.defaultLightColorScheme,dark:su.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:FC(e.palette,e.typography)};return t.unstable_sx=function(r){return ui({sx:r,theme:this})},t}}),YE=QE;function XE({theme:e,...t}){return typeof e=="function"?g.jsx(Vy,{theme:e,...t}):"colorSchemes"in(Ar in e?e[Ar]:e)?g.jsx(YE,{theme:e,...t}):g.jsx(Vy,{theme:e,...t})}function ae(e){if(typeof e!="string")throw new Error(Zi(7));return e.charAt(0).toUpperCase()+e.slice(1)}function om(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Jf(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function rg(e,t){var n,r,o;return b.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function sn(e){return e&&e.ownerDocument||document}function Fr(e){return sn(e).defaultView||window}function kd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Br=typeof window<"u"?b.useLayoutEffect:b.useEffect;let Wy=0;function JE(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Wy+=1,n(`mui-${Wy}`))},[t]),r}const eM={...Zu},Uy=eM.useId;function us(e){if(Uy!==void 0){const t=Uy();return e??t}return JE(e)}function Fi({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=b.useRef(e!==void 0),[i,a]=b.useState(t),s=o?e:i,l=b.useCallback(c=>{o||a(c)},[]);return[s,l]}function yn(e){const t=b.useRef(e);return Br(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function Ct(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{kd(n,t)})},e)}const Gy={};function UC(e,t){const n=b.useRef(Gy);return n.current===Gy&&(n.current=e(t)),n}const tM=[];function nM(e){b.useEffect(e,tM)}class ep{constructor(){Fs(this,"currentId",null);Fs(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Fs(this,"disposeEffect",()=>this.clear)}static create(){return new ep}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Oi(){const e=UC(ep.create).current;return nM(e.disposeEffect),e}function $d(e){try{return e.matches(":focus-visible")}catch{}return!1}function GC(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const rM=e=>{const t=b.useRef({});return b.useEffect(()=>{t.current=e}),t.current};function qC(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)n[o]=i||{};else if(!i)n[o]=a;else{n[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const l=s;n[o][l]=qC(i[l],a[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function Ne(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;l{r[o]=Oe(e,o,n)}),r}function oM(e){return typeof e=="string"}function za(e,t,n){return e===void 0||oM(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function KC(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function qy(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function ZC(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const p=ve(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),m={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},y={...n,...o,...r};return p.length>0&&(y.className=p),Object.keys(m).length>0&&(y.style=m),{props:y,internalRef:void 0}}const a=KC({...o,...r}),s=qy(r),l=qy(o),c=t(a),u=ve(c==null?void 0:c.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),d={...c==null?void 0:c.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},f={...c,...n,...l,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}function QC(e,t,n){return typeof e=="function"?e(t,n):e}function Ji(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:QC(n,r),{props:s,internalRef:l}=ZC({...i,externalSlotProps:a}),c=Ct(l,a==null?void 0:a.ref,(d=e.additionalProps)==null?void 0:d.ref);return za(t,{...s,ref:c},r)}function la(e){var t;return parseInt(b.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}function iM(e){return g.jsx(w5,{...e,defaultTheme:Xf,themeId:Ar})}function aM(e){return function(n){return g.jsx(iM,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function sM(){return X0}const $e=J5;function De(e){return X5(e)}function lM(e){return Oe("MuiSvgIcon",e)}Ee("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const cM=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ae(t)}`,`fontSize${ae(n)}`]};return Ne(o,lM,r)},uM=J("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ae(n.color)}`],t[`fontSize${ae(n.fontSize)}`]]}})($e(({theme:e})=>{var t,n,r,o,i,a,s,l,c,u,d,f,p,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:y=>!y.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((u=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,y])=>y&&y.main).map(([y])=>{var w,v;return{props:{color:y},style:{color:(v=(w=(e.vars??e).palette)==null?void 0:w[y])==null?void 0:v.main}}}),{props:{color:"action"},style:{color:(f=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:f.active}},{props:{color:"disabled"},style:{color:(m=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:m.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),ea=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f="0 0 24 24",...p}=r,m=b.isValidElement(o)&&o.type==="svg",y={...r,color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:m},w={};u||(w.viewBox=f);const v=cM(y);return g.jsxs(uM,{as:s,className:ve(v.root,i),focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...w,...p,...m&&o.props,ownerState:y,children:[m?o.props.children:o,d?g.jsx("title",{children:d}):null]})});ea&&(ea.muiName="SvgIcon");function cn(e,t){function n(r,o){return g.jsx(ea,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=ea.muiName,b.memo(b.forwardRef(n))}function $s(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function im(e,t){return im=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},im(e,t)}function YC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,im(e,t)}const Ky={disabled:!1},Ed=tt.createContext(null);var dM=function(t){return t.scrollTop},pl="unmounted",Pi="exited",Ti="entering",Ca="entered",am="exiting",zr=function(e){YC(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=o,s=a&&!a.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?s?(l=Pi,i.appearStatus=Ti):l=Ca:r.unmountOnExit||r.mountOnEnter?l=pl:l=Pi,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===pl?{status:Pi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Ti&&a!==Ca&&(i=Ti):(a===Ti||a===Ca)&&(i=am)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Ti){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:ru.findDOMNode(this);a&&dM(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Pi&&this.setState({status:pl})},n.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[ru.findDOMNode(this),s],c=l[0],u=l[1],d=this.getTimeouts(),f=s?d.appear:d.enter;if(!o&&!a||Ky.disabled){this.safeSetState({status:Ca},function(){i.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Ti},function(){i.props.onEntering(c,u),i.onTransitionEnd(f,function(){i.safeSetState({status:Ca},function(){i.props.onEntered(c,u)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:ru.findDOMNode(this);if(!i||Ky.disabled){this.safeSetState({status:Pi},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:am},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Pi},function(){o.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:ru.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===pl)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=$s(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return tt.createElement(Ed.Provider,{value:null},typeof a=="function"?a(o,s):tt.cloneElement(tt.Children.only(a),s))},t}(tt.Component);zr.contextType=Ed;zr.propTypes={};function ya(){}zr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ya,onEntering:ya,onEntered:ya,onExit:ya,onExiting:ya,onExited:ya};zr.UNMOUNTED=pl;zr.EXITED=Pi;zr.ENTERING=Ti;zr.ENTERED=Ca;zr.EXITING=am;function fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a1(e,t){var n=function(i){return t&&b.isValidElement(i)?t(i):i},r=Object.create(null);return e&&b.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function pM(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(r[l])for(a=0;ae.scrollTop;function ds(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function yM(e){return Oe("MuiCollapse",e)}Ee("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const bM=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Ne(r,yM,n)},xM=J("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})($e(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),SM=J("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),wM=J("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),fs=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:a,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:p,onExit:m,onExited:y,onExiting:w,orientation:v="vertical",style:S,timeout:h=BC.standard,TransitionComponent:C=zr,...R}=r,_={...r,orientation:v,collapsedSize:s},T=bM(_),P=zt(),k=Oi(),x=b.useRef(null),$=b.useRef(),I=typeof s=="number"?`${s}px`:s,O=v==="horizontal",D=O?"width":"height",M=b.useRef(null),A=Ct(n,M),N=V=>ee=>{if(V){const re=M.current;ee===void 0?V(re):V(re,ee)}},E=()=>x.current?x.current[O?"clientWidth":"clientHeight"]:0,L=N((V,ee)=>{x.current&&O&&(x.current.style.position="absolute"),V.style[D]=I,d&&d(V,ee)}),B=N((V,ee)=>{const re=E();x.current&&O&&(x.current.style.position="");const{duration:U,easing:K}=ds({style:S,timeout:h,easing:c},{mode:"enter"});if(h==="auto"){const se=P.transitions.getAutoHeightDuration(re);V.style.transitionDuration=`${se}ms`,$.current=se}else V.style.transitionDuration=typeof U=="string"?U:`${U}ms`;V.style[D]=`${re}px`,V.style.transitionTimingFunction=K,p&&p(V,ee)}),H=N((V,ee)=>{V.style[D]="auto",f&&f(V,ee)}),z=N(V=>{V.style[D]=`${E()}px`,m&&m(V)}),j=N(y),F=N(V=>{const ee=E(),{duration:re,easing:U}=ds({style:S,timeout:h,easing:c},{mode:"exit"});if(h==="auto"){const K=P.transitions.getAutoHeightDuration(ee);V.style.transitionDuration=`${K}ms`,$.current=K}else V.style.transitionDuration=typeof re=="string"?re:`${re}ms`;V.style[D]=I,V.style.transitionTimingFunction=U,w&&w(V)}),W=V=>{h==="auto"&&k.start($.current||0,V),o&&o(M.current,V)};return g.jsx(C,{in:u,onEnter:L,onEntered:H,onEntering:B,onExit:z,onExited:j,onExiting:F,addEndListener:W,nodeRef:M,timeout:h==="auto"?null:h,...R,children:(V,ee)=>g.jsx(xM,{as:l,className:ve(T.root,a,{entered:T.entered,exited:!u&&I==="0px"&&T.hidden}[V]),style:{[O?"minWidth":"minHeight"]:I,...S},ref:A,...ee,ownerState:{..._,state:V},children:g.jsx(SM,{ownerState:{..._,state:V},className:T.wrapper,ref:x,children:g.jsx(wM,{ownerState:{..._,state:V},className:T.wrapperInner,children:i})})})})});fs&&(fs.muiSupportAuto=!0);function CM(e){return Oe("MuiPaper",e)}Ee("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 _M=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ne(i,CM,o)},RM=J("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})($e(({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:t})=>!t.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)"}}]}))),Es=b.forwardRef(function(t,n){var p;const r=De({props:t,name:"MuiPaper"}),o=zt(),{className:i,component:a="div",elevation:s=1,square:l=!1,variant:c="elevation",...u}=r,d={...r,component:a,elevation:s,square:l,variant:c},f=_M(d);return g.jsx(RM,{as:a,ownerState:d,className:ve(f.root,i),ref:n,...u,style:{...c==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[s],...o.vars&&{"--Paper-overlay":(p=o.vars.overlays)==null?void 0:p[s]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Be("#fff",rm(s))}, ${Be("#fff",rm(s))})`}},...u.style}})});function on(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:s,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=i,p=u[e]||r,m=QC(d[e],o),{props:{component:y,...w},internalRef:v}=ZC({className:n,...l,externalForwardedProps:e==="root"?f:void 0,externalSlotProps:m}),S=Ct(v,m==null?void 0:m.ref,t.ref),h=a?a(w):{},C={...o,...h},R=e==="root"?y||c:y,_=za(p,{...e==="root"&&!c&&!u[e]&&s,...e!=="root"&&!u[e]&&s,...w,...R&&{as:R},ref:S},C);return Object.keys(h).forEach(T=>{delete _[T]}),[p,_]}class Md{constructor(){Fs(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Md}static use(){const t=UC(Md.create).current,[n,r]=b.useState(!1);return t.shouldMount=n,t.setShouldMount=r,b.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=TM(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function PM(){return Md.use()}function TM(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function kM(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[u,d]=b.useState(!1),f=ve(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},m=ve(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),b.useEffect(()=>{if(!s&&l!=null){const y=setTimeout(l,c);return()=>{clearTimeout(y)}}},[l,s,c]),g.jsx("span",{className:f,style:p,children:g.jsx("span",{className:m})})}const cr=Ee("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),sm=550,$M=80,EM=K0` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`,MM=K0` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`,IM=K0` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`,OM=J("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),LM=J(kM,{name:"MuiTouchRipple",slot:"Ripple"})` - opacity: 0; - position: absolute; - - &.${cr.rippleVisible} { - opacity: 0.3; - transform: scale(1); - animation-name: ${EM}; - animation-duration: ${sm}ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - } - - &.${cr.ripplePulsate} { - animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; - } - - & .${cr.child} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${cr.childLeaving} { - opacity: 0; - animation-name: ${MM}; - animation-duration: ${sm}ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - } - - & .${cr.childPulsate} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${IM}; - animation-duration: 2500ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`,AM=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...s}=r,[l,c]=b.useState([]),u=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.useRef(!1),p=Oi(),m=b.useRef(null),y=b.useRef(null),w=b.useCallback(C=>{const{pulsate:R,rippleX:_,rippleY:T,rippleSize:P,cb:k}=C;c(x=>[...x,g.jsx(LM,{classes:{ripple:ve(i.ripple,cr.ripple),rippleVisible:ve(i.rippleVisible,cr.rippleVisible),ripplePulsate:ve(i.ripplePulsate,cr.ripplePulsate),child:ve(i.child,cr.child),childLeaving:ve(i.childLeaving,cr.childLeaving),childPulsate:ve(i.childPulsate,cr.childPulsate)},timeout:sm,pulsate:R,rippleX:_,rippleY:T,rippleSize:P},u.current)]),u.current+=1,d.current=k},[i]),v=b.useCallback((C={},R={},_=()=>{})=>{const{pulsate:T=!1,center:P=o||R.pulsate,fakeElement:k=!1}=R;if((C==null?void 0:C.type)==="mousedown"&&f.current){f.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(f.current=!0);const x=k?null:y.current,$=x?x.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,O,D;if(P||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)I=Math.round($.width/2),O=Math.round($.height/2);else{const{clientX:M,clientY:A}=C.touches&&C.touches.length>0?C.touches[0]:C;I=Math.round(M-$.left),O=Math.round(A-$.top)}if(P)D=Math.sqrt((2*$.width**2+$.height**2)/3),D%2===0&&(D+=1);else{const M=Math.max(Math.abs((x?x.clientWidth:0)-I),I)*2+2,A=Math.max(Math.abs((x?x.clientHeight:0)-O),O)*2+2;D=Math.sqrt(M**2+A**2)}C!=null&&C.touches?m.current===null&&(m.current=()=>{w({pulsate:T,rippleX:I,rippleY:O,rippleSize:D,cb:_})},p.start($M,()=>{m.current&&(m.current(),m.current=null)})):w({pulsate:T,rippleX:I,rippleY:O,rippleSize:D,cb:_})},[o,w,p]),S=b.useCallback(()=>{v({},{pulsate:!0})},[v]),h=b.useCallback((C,R)=>{if(p.clear(),(C==null?void 0:C.type)==="touchend"&&m.current){m.current(),m.current=null,p.start(0,()=>{h(C,R)});return}m.current=null,c(_=>_.length>0?_.slice(1):_),d.current=R},[p]);return b.useImperativeHandle(n,()=>({pulsate:S,start:v,stop:h}),[S,v,h]),g.jsx(OM,{className:ve(cr.root,i.root,a),ref:y,...s,children:g.jsx(s1,{component:null,exit:!0,children:l})})});function NM(e){return Oe("MuiButtonBase",e)}const DM=Ee("MuiButtonBase",["root","disabled","focusVisible"]),jM=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Ne({root:["root",t&&"disabled",n&&"focusVisible"]},NM,o);return n&&r&&(a.root+=` ${r}`),a},FM=J("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${DM.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ro=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:p,LinkComponent:m="a",onBlur:y,onClick:w,onContextMenu:v,onDragLeave:S,onFocus:h,onFocusVisible:C,onKeyDown:R,onKeyUp:_,onMouseDown:T,onMouseLeave:P,onMouseUp:k,onTouchEnd:x,onTouchMove:$,onTouchStart:I,tabIndex:O=0,TouchRippleProps:D,touchRippleRef:M,type:A,...N}=r,E=b.useRef(null),L=PM(),B=Ct(L.ref,M),[H,z]=b.useState(!1);c&&H&&z(!1),b.useImperativeHandle(o,()=>({focusVisible:()=>{z(!0),E.current.focus()}}),[]);const j=L.shouldMount&&!u&&!c;b.useEffect(()=>{H&&f&&!u&&L.pulsate()},[u,f,H,L]);function F(le,Se,ye=d){return yn(Ue=>(Se&&Se(Ue),ye||L[le](Ue),!0))}const W=F("start",T),V=F("stop",v),ee=F("stop",S),re=F("stop",k),U=F("stop",le=>{H&&le.preventDefault(),P&&P(le)}),K=F("start",I),se=F("stop",x),q=F("stop",$),ce=F("stop",le=>{$d(le.target)||z(!1),y&&y(le)},!1),ue=yn(le=>{E.current||(E.current=le.currentTarget),$d(le.target)&&(z(!0),C&&C(le)),h&&h(le)}),ie=()=>{const le=E.current;return l&&l!=="button"&&!(le.tagName==="A"&&le.href)},te=yn(le=>{f&&!le.repeat&&H&&le.key===" "&&L.stop(le,()=>{L.start(le)}),le.target===le.currentTarget&&ie()&&le.key===" "&&le.preventDefault(),R&&R(le),le.target===le.currentTarget&&ie()&&le.key==="Enter"&&!c&&(le.preventDefault(),w&&w(le))}),de=yn(le=>{f&&le.key===" "&&H&&!le.defaultPrevented&&L.stop(le,()=>{L.pulsate(le)}),_&&_(le),w&&le.target===le.currentTarget&&ie()&&le.key===" "&&!le.defaultPrevented&&w(le)});let Q=l;Q==="button"&&(N.href||N.to)&&(Q=m);const be={};Q==="button"?(be.type=A===void 0?"button":A,be.disabled=c):(!N.href&&!N.to&&(be.role="button"),c&&(be["aria-disabled"]=c));const Pe=Ct(n,E),we={...r,centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:O,focusVisible:H},ge=jM(we);return g.jsxs(FM,{as:Q,className:ve(ge.root,s),ownerState:we,onBlur:ce,onClick:w,onContextMenu:V,onFocus:ue,onKeyDown:te,onKeyUp:de,onMouseDown:W,onMouseLeave:U,onMouseUp:re,onDragLeave:ee,onTouchEnd:se,onTouchMove:q,onTouchStart:K,ref:Pe,tabIndex:c?-1:O,type:A,...be,...N,children:[a,j?g.jsx(AM,{ref:B,center:i,...D}):null]})});function BM(e){return typeof e.main=="string"}function zM(e,t=[]){if(!BM(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Ft(e=[]){return([,t])=>t&&zM(t,e)}function HM(e){return Oe("MuiAlert",e)}const Zy=Ee("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function VM(e){return Oe("MuiIconButton",e)}const WM=Ee("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),UM=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${ae(r)}`,o&&`edge${ae(o)}`,`size${ae(i)}`]};return Ne(a,VM,t)},GM=J(Ro,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ae(n.color)}`],n.edge&&t[`edge${ae(n.edge)}`],t[`size${ae(n.size)}`]]}})($e(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),$e(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${WM.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),hr=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium",...d}=r,f={...r,edge:o,color:s,disabled:l,disableFocusRipple:c,size:u},p=UM(f);return g.jsx(GM,{className:ve(p.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:n,...d,ownerState:f,children:i})}),qM=cn(g.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),KM=cn(g.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ZM=cn(g.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),QM=cn(g.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),JC=cn(g.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),YM=e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`color${ae(n||r)}`,`${t}${ae(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Ne(i,HM,o)},XM=J(Es,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ae(n.color||n.severity)}`]]}})($e(({theme:e})=>{const t=e.palette.mode==="light"?Yi:Xi,n=e.palette.mode==="light"?Xi:Yi;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Ft(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Zy.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Ft(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${Zy.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Ft(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),JM=J("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),e8=J("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Qy=J("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Yy={success:g.jsx(qM,{fontSize:"inherit"}),warning:g.jsx(KM,{fontSize:"inherit"}),error:g.jsx(ZM,{fontSize:"inherit"}),info:g.jsx(QM,{fontSize:"inherit"})},e_=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiAlert"}),{action:o,children:i,className:a,closeText:s="Close",color:l,components:c={},componentsProps:u={},icon:d,iconMapping:f=Yy,onClose:p,role:m="alert",severity:y="success",slotProps:w={},slots:v={},variant:S="standard",...h}=r,C={...r,color:l,severity:y,variant:S,colorSeverity:l||y},R=YM(C),_={slots:{closeButton:c.CloseButton,closeIcon:c.CloseIcon,...v},slotProps:{...u,...w}},[T,P]=on("closeButton",{elementType:hr,externalForwardedProps:_,ownerState:C}),[k,x]=on("closeIcon",{elementType:JC,externalForwardedProps:_,ownerState:C});return g.jsxs(XM,{role:m,elevation:0,ownerState:C,className:ve(R.root,a),ref:n,...h,children:[d!==!1?g.jsx(JM,{ownerState:C,className:R.icon,children:d||f[y]||Yy[y]}):null,g.jsx(e8,{ownerState:C,className:R.message,children:i}),o!=null?g.jsx(Qy,{ownerState:C,className:R.action,children:o}):null,o==null&&p?g.jsx(Qy,{ownerState:C,className:R.action,children:g.jsx(T,{size:"small","aria-label":s,title:s,color:"inherit",onClick:p,...P,children:g.jsx(k,{fontSize:"small",...x})})}):null]})});function t8(e){return Oe("MuiTypography",e)}Ee("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const n8={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},r8=sM(),o8=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${ae(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Ne(s,t8,a)},i8=J("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ae(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})($e(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(Ft()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${ae(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),Xy={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},yt=b.forwardRef(function(t,n){const{color:r,...o}=De({props:t,name:"MuiTypography"}),i=!n8[r],a=r8({...o,...i&&{color:r}}),{align:s="inherit",className:l,component:c,gutterBottom:u=!1,noWrap:d=!1,paragraph:f=!1,variant:p="body1",variantMapping:m=Xy,...y}=a,w={...a,align:s,color:r,className:l,component:c,gutterBottom:u,noWrap:d,paragraph:f,variant:p,variantMapping:m},v=c||(f?"p":m[p]||Xy[p])||"span",S=o8(w);return g.jsx(i8,{as:v,ref:n,className:ve(S.root,l),...y,ownerState:w,style:{...s!=="inherit"&&{"--Typography-textAlign":s},...y.style}})});function Jy(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function a8(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:i,trim:a=!1}=e;return(s,{inputValue:l,getOptionLabel:c})=>{let u=a?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=Jy(u));const d=u?s.filter(f=>{let p=(i||c)(f);return n&&(p=p.toLowerCase()),t&&(p=Jy(p)),o==="start"?p.startsWith(u):p.includes(u)}):s;return typeof r=="number"?d.slice(0,r):d}}const s8=a8(),eb=5,l8=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},c8=[];function u8(e){const{unstable_isActiveElementInListbox:t=l8,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:o=!1,autoSelect:i=!1,blurOnSelect:a=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:u=e.multiple?c8:null,disableClearable:d=!1,disableCloseOnSelect:f=!1,disabled:p,disabledItemsFocusable:m=!1,disableListWrap:y=!1,filterOptions:w=s8,filterSelectedOptions:v=!1,freeSolo:S=!1,getOptionDisabled:h,getOptionKey:C,getOptionLabel:R=X=>X.label??X,groupBy:_,handleHomeEndKeys:T=!e.freeSolo,id:P,includeInputInList:k=!1,inputValue:x,isOptionEqualToValue:$=(X,Y)=>X===Y,multiple:I=!1,onChange:O,onClose:D,onHighlightChange:M,onInputChange:A,onOpen:N,open:E,openOnFocus:L=!1,options:B,readOnly:H=!1,selectOnFocus:z=!e.freeSolo,value:j}=e,F=us(P);let W=R;W=X=>{const Y=R(X);return typeof Y!="string"?String(Y):Y};const V=b.useRef(!1),ee=b.useRef(!0),re=b.useRef(null),U=b.useRef(null),[K,se]=b.useState(null),[q,ce]=b.useState(-1),ue=o?0:-1,ie=b.useRef(ue),[te,de]=Fi({controlled:j,default:u,name:c}),[Q,be]=Fi({controlled:x,default:"",name:c,state:"inputValue"}),[Pe,we]=b.useState(!1),ge=b.useCallback((X,Y,Ce)=>{if(!(I?te.length!(v&&(I?te:[te]).some(Y=>Y!==null&&$(X,Y)))),{inputValue:Te&&ye?"":Q,getOptionLabel:W}):[],pe=rM({filteredOptions:ke,value:te,inputValue:Q});b.useEffect(()=>{const X=te!==pe.value;Pe&&!X||S&&!X||ge(null,te,"reset")},[te,ge,Pe,pe.value,S]);const ne=le&&ke.length>0&&!H,xe=yn(X=>{X===-1?re.current.focus():K.querySelector(`[data-tag-index="${X}"]`).focus()});b.useEffect(()=>{I&&q>te.length-1&&(ce(-1),xe(-1))},[te,I,q,xe]);function Le(X,Y){if(!U.current||X<0||X>=ke.length)return-1;let Ce=X;for(;;){const Ve=U.current.querySelector(`[data-option-index="${Ce}"]`),Ge=m?!1:!Ve||Ve.disabled||Ve.getAttribute("aria-disabled")==="true";if(Ve&&Ve.hasAttribute("tabindex")&&!Ge)return Ce;if(Y==="next"?Ce=(Ce+1)%ke.length:Ce=(Ce-1+ke.length)%ke.length,Ce===X)return-1}}const fe=yn(({event:X,index:Y,reason:Ce="auto"})=>{if(ie.current=Y,Y===-1?re.current.removeAttribute("aria-activedescendant"):re.current.setAttribute("aria-activedescendant",`${F}-option-${Y}`),M&&M(X,Y===-1?null:ke[Y],Ce),!U.current)return;const Ve=U.current.querySelector(`[role="option"].${n}-focused`);Ve&&(Ve.classList.remove(`${n}-focused`),Ve.classList.remove(`${n}-focusVisible`));let Ge=U.current;if(U.current.getAttribute("role")!=="listbox"&&(Ge=U.current.parentElement.querySelector('[role="listbox"]')),!Ge)return;if(Y===-1){Ge.scrollTop=0;return}const Rt=U.current.querySelector(`[data-option-index="${Y}"]`);if(Rt&&(Rt.classList.add(`${n}-focused`),Ce==="keyboard"&&Rt.classList.add(`${n}-focusVisible`),Ge.scrollHeight>Ge.clientHeight&&Ce!=="mouse"&&Ce!=="touch")){const it=Rt,_r=Ge.clientHeight+Ge.scrollTop,Nc=it.offsetTop+it.offsetHeight;Nc>_r?Ge.scrollTop=Nc-Ge.clientHeight:it.offsetTop-it.offsetHeight*(_?1.3:0){if(!Re)return;const Rt=Le((()=>{const it=ke.length-1;if(Y==="reset")return ue;if(Y==="start")return 0;if(Y==="end")return it;const _r=ie.current+Y;return _r<0?_r===-1&&k?-1:y&&ie.current!==-1||Math.abs(Y)>1?0:it:_r>it?_r===it+1&&k?-1:y||Math.abs(Y)>1?it:0:_r})(),Ce);if(fe({index:Rt,reason:Ve,event:X}),r&&Y!=="reset")if(Rt===-1)re.current.value=Q;else{const it=W(ke[Rt]);re.current.value=it,it.toLowerCase().indexOf(Q.toLowerCase())===0&&Q.length>0&&re.current.setSelectionRange(Q.length,it.length)}}),me=()=>{const X=(Y,Ce)=>{const Ve=Y?W(Y):"",Ge=Ce?W(Ce):"";return Ve===Ge};if(ie.current!==-1&&pe.filteredOptions&&pe.filteredOptions.length!==ke.length&&pe.inputValue===Q&&(I?te.length===pe.value.length&&pe.value.every((Y,Ce)=>W(te[Ce])===W(Y)):X(pe.value,te))){const Y=pe.filteredOptions[ie.current];if(Y)return ke.findIndex(Ce=>W(Ce)===W(Y))}return-1},je=b.useCallback(()=>{if(!Re)return;const X=me();if(X!==-1){ie.current=X;return}const Y=I?te[0]:te;if(ke.length===0||Y==null){oe({diff:"reset"});return}if(U.current){if(Y!=null){const Ce=ke[ie.current];if(I&&Ce&&te.findIndex(Ge=>$(Ce,Ge))!==-1)return;const Ve=ke.findIndex(Ge=>$(Ge,Y));Ve===-1?oe({diff:"reset"}):fe({index:Ve});return}if(ie.current>=ke.length-1){fe({index:ke.length-1});return}fe({index:ie.current})}},[ke.length,I?!1:te,v,oe,fe,Re,Q,I]),He=yn(X=>{kd(U,X),X&&je()});b.useEffect(()=>{je()},[je]);const Qe=X=>{le||(Se(!0),Ue(!0),N&&N(X))},_t=(X,Y)=>{le&&(Se(!1),D&&D(X,Y))},Zt=(X,Y,Ce,Ve)=>{if(I){if(te.length===Y.length&&te.every((Ge,Rt)=>Ge===Y[Rt]))return}else if(te===Y)return;O&&O(X,Y,Ce,Ve),de(Y)},En=b.useRef(!1),ir=(X,Y,Ce="selectOption",Ve="options")=>{let Ge=Ce,Rt=Y;if(I){Rt=Array.isArray(te)?te.slice():[];const it=Rt.findIndex(_r=>$(Y,_r));it===-1?Rt.push(Y):Ve!=="freeSolo"&&(Rt.splice(it,1),Ge="removeOption")}ge(X,Rt,Ge),Zt(X,Rt,Ge,{option:Y}),!f&&(!X||!X.ctrlKey&&!X.metaKey)&&_t(X,Ge),(a===!0||a==="touch"&&En.current||a==="mouse"&&!En.current)&&re.current.blur()};function Vn(X,Y){if(X===-1)return-1;let Ce=X;for(;;){if(Y==="next"&&Ce===te.length||Y==="previous"&&Ce===-1)return-1;const Ve=K.querySelector(`[data-tag-index="${Ce}"]`);if(!Ve||!Ve.hasAttribute("tabindex")||Ve.disabled||Ve.getAttribute("aria-disabled")==="true")Ce+=Y==="next"?1:-1;else return Ce}}const Mo=(X,Y)=>{if(!I)return;Q===""&&_t(X,"toggleInput");let Ce=q;q===-1?Q===""&&Y==="previous"&&(Ce=te.length-1):(Ce+=Y==="next"?1:-1,Ce<0&&(Ce=0),Ce===te.length&&(Ce=-1)),Ce=Vn(Ce,Y),ce(Ce),xe(Ce)},wi=X=>{V.current=!0,be(""),A&&A(X,"","clear"),Zt(X,I?[]:null,"clear")},Fe=X=>Y=>{if(X.onKeyDown&&X.onKeyDown(Y),!Y.defaultMuiPrevented&&(q!==-1&&!["ArrowLeft","ArrowRight"].includes(Y.key)&&(ce(-1),xe(-1)),Y.which!==229))switch(Y.key){case"Home":Re&&T&&(Y.preventDefault(),oe({diff:"start",direction:"next",reason:"keyboard",event:Y}));break;case"End":Re&&T&&(Y.preventDefault(),oe({diff:"end",direction:"previous",reason:"keyboard",event:Y}));break;case"PageUp":Y.preventDefault(),oe({diff:-eb,direction:"previous",reason:"keyboard",event:Y}),Qe(Y);break;case"PageDown":Y.preventDefault(),oe({diff:eb,direction:"next",reason:"keyboard",event:Y}),Qe(Y);break;case"ArrowDown":Y.preventDefault(),oe({diff:1,direction:"next",reason:"keyboard",event:Y}),Qe(Y);break;case"ArrowUp":Y.preventDefault(),oe({diff:-1,direction:"previous",reason:"keyboard",event:Y}),Qe(Y);break;case"ArrowLeft":Mo(Y,"previous");break;case"ArrowRight":Mo(Y,"next");break;case"Enter":if(ie.current!==-1&&Re){const Ce=ke[ie.current],Ve=h?h(Ce):!1;if(Y.preventDefault(),Ve)return;ir(Y,Ce,"selectOption"),r&&re.current.setSelectionRange(re.current.value.length,re.current.value.length)}else S&&Q!==""&&Te===!1&&(I&&Y.preventDefault(),ir(Y,Q,"createOption","freeSolo"));break;case"Escape":Re?(Y.preventDefault(),Y.stopPropagation(),_t(Y,"escape")):l&&(Q!==""||I&&te.length>0)&&(Y.preventDefault(),Y.stopPropagation(),wi(Y));break;case"Backspace":if(I&&!H&&Q===""&&te.length>0){const Ce=q===-1?te.length-1:q,Ve=te.slice();Ve.splice(Ce,1),Zt(Y,Ve,"removeOption",{option:te[Ce]})}break;case"Delete":if(I&&!H&&Q===""&&te.length>0&&q!==-1){const Ce=q,Ve=te.slice();Ve.splice(Ce,1),Zt(Y,Ve,"removeOption",{option:te[Ce]})}break}},Cn=X=>{we(!0),L&&!V.current&&Qe(X)},Lc=X=>{if(t(U)){re.current.focus();return}we(!1),ee.current=!0,V.current=!1,i&&ie.current!==-1&&Re?ir(X,ke[ie.current],"blur"):i&&S&&Q!==""?ir(X,Q,"blur","freeSolo"):s&&ge(X,te,"blur"),_t(X,"blur")},da=X=>{const Y=X.target.value;Q!==Y&&(be(Y),Ue(!1),A&&A(X,Y,"input")),Y===""?!d&&!I&&Zt(X,null,"clear"):Qe(X)},As=X=>{const Y=Number(X.currentTarget.getAttribute("data-option-index"));ie.current!==Y&&fe({event:X,index:Y,reason:"mouse"})},Ns=X=>{fe({event:X,index:Number(X.currentTarget.getAttribute("data-option-index")),reason:"touch"}),En.current=!0},xp=X=>{const Y=Number(X.currentTarget.getAttribute("data-option-index"));ir(X,ke[Y],"selectOption"),En.current=!1},Sp=X=>Y=>{const Ce=te.slice();Ce.splice(X,1),Zt(Y,Ce,"removeOption",{option:te[X]})},Ac=X=>{le?_t(X,"toggleInput"):Qe(X)},U1=X=>{X.currentTarget.contains(X.target)&&X.target.getAttribute("id")!==F&&X.preventDefault()},Ds=X=>{X.currentTarget.contains(X.target)&&(re.current.focus(),z&&ee.current&&re.current.selectionEnd-re.current.selectionStart===0&&re.current.select(),ee.current=!1)},un=X=>{!p&&(Q===""||!le)&&Ac(X)};let Nt=S&&Q.length>0;Nt=Nt||(I?te.length>0:te!==null);let so=ke;return _&&(so=ke.reduce((X,Y,Ce)=>{const Ve=_(Y);return X.length>0&&X[X.length-1].group===Ve?X[X.length-1].options.push(Y):X.push({key:Ce,index:Ce,group:Ve,options:[Y]}),X},[])),p&&Pe&&Lc(),{getRootProps:(X={})=>({"aria-owns":ne?`${F}-listbox`:null,...X,onKeyDown:Fe(X),onMouseDown:U1,onClick:Ds}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:Q,onBlur:Lc,onFocus:Cn,onChange:da,onMouseDown:un,"aria-activedescendant":Re?"":null,"aria-autocomplete":r?"both":"list","aria-controls":ne?`${F}-listbox`:void 0,"aria-expanded":ne,autoComplete:"off",ref:re,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:p}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:wi}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Ac}),getTagProps:({index:X})=>({key:X,"data-tag-index":X,tabIndex:-1,...!H&&{onDelete:Sp(X)}}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:He,onMouseDown:X=>{X.preventDefault()}}),getOptionProps:({index:X,option:Y})=>{const Ce=(I?te:[te]).some(Ge=>Ge!=null&&$(Y,Ge)),Ve=h?h(Y):!1;return{key:(C==null?void 0:C(Y))??W(Y),tabIndex:-1,role:"option",id:`${F}-option-${X}`,onMouseMove:As,onClick:xp,onTouchStart:Ns,"data-option-index":X,"aria-disabled":Ve,"aria-selected":Ce}},id:F,inputValue:Q,value:te,dirty:Nt,expanded:Re&&K,popupOpen:Re,focused:Pe||q!==-1,anchorEl:K,setAnchorEl:se,focusedTag:q,groupedOptions:so}}var jn="top",xr="bottom",Sr="right",Fn="left",l1="auto",_c=[jn,xr,Sr,Fn],ps="start",ic="end",d8="clippingParents",t_="viewport",Qs="popper",f8="reference",tb=_c.reduce(function(e,t){return e.concat([t+"-"+ps,t+"-"+ic])},[]),n_=[].concat(_c,[l1]).reduce(function(e,t){return e.concat([t,t+"-"+ps,t+"-"+ic])},[]),p8="beforeRead",g8="read",h8="afterRead",m8="beforeMain",v8="main",y8="afterMain",b8="beforeWrite",x8="write",S8="afterWrite",w8=[p8,g8,h8,m8,v8,y8,b8,x8,S8];function ao(e){return e?(e.nodeName||"").toLowerCase():null}function er(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ta(e){var t=er(e).Element;return e instanceof t||e instanceof Element}function vr(e){var t=er(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function c1(e){if(typeof ShadowRoot>"u")return!1;var t=er(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function C8(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!vr(i)||!ao(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function _8(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!vr(o)||!ao(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const R8={name:"applyStyles",enabled:!0,phase:"write",fn:C8,effect:_8,requires:["computeStyles"]};function io(e){return e.split("-")[0]}var Bi=Math.max,Id=Math.min,gs=Math.round;function lm(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function r_(){return!/^((?!chrome|android).)*safari/i.test(lm())}function hs(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&vr(e)&&(o=e.offsetWidth>0&&gs(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&gs(r.height)/e.offsetHeight||1);var a=ta(e)?er(e):window,s=a.visualViewport,l=!r_()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/o,u=(r.top+(l&&s?s.offsetTop:0))/i,d=r.width/o,f=r.height/i;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function u1(e){var t=hs(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function o_(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&c1(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Po(e){return er(e).getComputedStyle(e)}function P8(e){return["table","td","th"].indexOf(ao(e))>=0}function yi(e){return((ta(e)?e.ownerDocument:e.document)||window.document).documentElement}function tp(e){return ao(e)==="html"?e:e.assignedSlot||e.parentNode||(c1(e)?e.host:null)||yi(e)}function nb(e){return!vr(e)||Po(e).position==="fixed"?null:e.offsetParent}function T8(e){var t=/firefox/i.test(lm()),n=/Trident/i.test(lm());if(n&&vr(e)){var r=Po(e);if(r.position==="fixed")return null}var o=tp(e);for(c1(o)&&(o=o.host);vr(o)&&["html","body"].indexOf(ao(o))<0;){var i=Po(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Rc(e){for(var t=er(e),n=nb(e);n&&P8(n)&&Po(n).position==="static";)n=nb(n);return n&&(ao(n)==="html"||ao(n)==="body"&&Po(n).position==="static")?t:n||T8(e)||t}function d1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Pl(e,t,n){return Bi(e,Id(t,n))}function k8(e,t,n){var r=Pl(e,t,n);return r>n?n:r}function i_(){return{top:0,right:0,bottom:0,left:0}}function a_(e){return Object.assign({},i_(),e)}function s_(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var $8=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,a_(typeof t!="number"?t:s_(t,_c))};function E8(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=io(n.placement),l=d1(s),c=[Fn,Sr].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var d=$8(o.padding,n),f=u1(i),p=l==="y"?jn:Fn,m=l==="y"?xr:Sr,y=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],w=a[l]-n.rects.reference[l],v=Rc(i),S=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,h=y/2-w/2,C=d[p],R=S-f[u]-d[m],_=S/2-f[u]/2+h,T=Pl(C,_,R),P=l;n.modifiersData[r]=(t={},t[P]=T,t.centerOffset=T-_,t)}}function M8(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||o_(t.elements.popper,o)&&(t.elements.arrow=o))}const I8={name:"arrow",enabled:!0,phase:"main",fn:E8,effect:M8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ms(e){return e.split("-")[1]}var O8={top:"auto",right:"auto",bottom:"auto",left:"auto"};function L8(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:gs(n*o)/o||0,y:gs(r*o)/o||0}}function rb(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=f===void 0?0:f,m=a.y,y=m===void 0?0:m,w=typeof u=="function"?u({x:p,y}):{x:p,y};p=w.x,y=w.y;var v=a.hasOwnProperty("x"),S=a.hasOwnProperty("y"),h=Fn,C=jn,R=window;if(c){var _=Rc(n),T="clientHeight",P="clientWidth";if(_===er(n)&&(_=yi(n),Po(_).position!=="static"&&s==="absolute"&&(T="scrollHeight",P="scrollWidth")),_=_,o===jn||(o===Fn||o===Sr)&&i===ic){C=xr;var k=d&&_===R&&R.visualViewport?R.visualViewport.height:_[T];y-=k-r.height,y*=l?1:-1}if(o===Fn||(o===jn||o===xr)&&i===ic){h=Sr;var x=d&&_===R&&R.visualViewport?R.visualViewport.width:_[P];p-=x-r.width,p*=l?1:-1}}var $=Object.assign({position:s},c&&O8),I=u===!0?L8({x:p,y},er(n)):{x:p,y};if(p=I.x,y=I.y,l){var O;return Object.assign({},$,(O={},O[C]=S?"0":"",O[h]=v?"0":"",O.transform=(R.devicePixelRatio||1)<=1?"translate("+p+"px, "+y+"px)":"translate3d("+p+"px, "+y+"px, 0)",O))}return Object.assign({},$,(t={},t[C]=S?y+"px":"",t[h]=v?p+"px":"",t.transform="",t))}function A8(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:io(t.placement),variation:ms(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,rb(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,rb(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const N8={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:A8,data:{}};var lu={passive:!0};function D8(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,l=er(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,lu)}),s&&l.addEventListener("resize",n.update,lu),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,lu)}),s&&l.removeEventListener("resize",n.update,lu)}}const j8={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:D8,data:{}};var F8={left:"right",right:"left",bottom:"top",top:"bottom"};function zu(e){return e.replace(/left|right|bottom|top/g,function(t){return F8[t]})}var B8={start:"end",end:"start"};function ob(e){return e.replace(/start|end/g,function(t){return B8[t]})}function f1(e){var t=er(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function p1(e){return hs(yi(e)).left+f1(e).scrollLeft}function z8(e,t){var n=er(e),r=yi(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=r_();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+p1(e),y:l}}function H8(e){var t,n=yi(e),r=f1(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Bi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Bi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+p1(e),l=-r.scrollTop;return Po(o||n).direction==="rtl"&&(s+=Bi(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function g1(e){var t=Po(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function l_(e){return["html","body","#document"].indexOf(ao(e))>=0?e.ownerDocument.body:vr(e)&&g1(e)?e:l_(tp(e))}function Tl(e,t){var n;t===void 0&&(t=[]);var r=l_(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=er(r),a=o?[i].concat(i.visualViewport||[],g1(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Tl(tp(a)))}function cm(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function V8(e,t){var n=hs(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function ib(e,t,n){return t===t_?cm(z8(e,n)):ta(t)?V8(t,n):cm(H8(yi(e)))}function W8(e){var t=Tl(tp(e)),n=["absolute","fixed"].indexOf(Po(e).position)>=0,r=n&&vr(e)?Rc(e):e;return ta(r)?t.filter(function(o){return ta(o)&&o_(o,r)&&ao(o)!=="body"}):[]}function U8(e,t,n,r){var o=t==="clippingParents"?W8(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(l,c){var u=ib(e,c,r);return l.top=Bi(u.top,l.top),l.right=Id(u.right,l.right),l.bottom=Id(u.bottom,l.bottom),l.left=Bi(u.left,l.left),l},ib(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function c_(e){var t=e.reference,n=e.element,r=e.placement,o=r?io(r):null,i=r?ms(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case jn:l={x:a,y:t.y-n.height};break;case xr:l={x:a,y:t.y+t.height};break;case Sr:l={x:t.x+t.width,y:s};break;case Fn:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?d1(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case ps:l[c]=l[c]-(t[u]/2-n[u]/2);break;case ic:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function ac(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,l=s===void 0?d8:s,c=n.rootBoundary,u=c===void 0?t_:c,d=n.elementContext,f=d===void 0?Qs:d,p=n.altBoundary,m=p===void 0?!1:p,y=n.padding,w=y===void 0?0:y,v=a_(typeof w!="number"?w:s_(w,_c)),S=f===Qs?f8:Qs,h=e.rects.popper,C=e.elements[m?S:f],R=U8(ta(C)?C:C.contextElement||yi(e.elements.popper),l,u,a),_=hs(e.elements.reference),T=c_({reference:_,element:h,strategy:"absolute",placement:o}),P=cm(Object.assign({},h,T)),k=f===Qs?P:_,x={top:R.top-k.top+v.top,bottom:k.bottom-R.bottom+v.bottom,left:R.left-k.left+v.left,right:k.right-R.right+v.right},$=e.modifiersData.offset;if(f===Qs&&$){var I=$[o];Object.keys(x).forEach(function(O){var D=[Sr,xr].indexOf(O)>=0?1:-1,M=[jn,xr].indexOf(O)>=0?"y":"x";x[O]+=I[M]*D})}return x}function G8(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?n_:l,u=ms(r),d=u?s?tb:tb.filter(function(m){return ms(m)===u}):_c,f=d.filter(function(m){return c.indexOf(m)>=0});f.length===0&&(f=d);var p=f.reduce(function(m,y){return m[y]=ac(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[io(y)],m},{});return Object.keys(p).sort(function(m,y){return p[m]-p[y]})}function q8(e){if(io(e)===l1)return[];var t=zu(e);return[ob(e),t,ob(t)]}function K8(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=p===void 0?!0:p,y=n.allowedAutoPlacements,w=t.options.placement,v=io(w),S=v===w,h=l||(S||!m?[zu(w)]:q8(w)),C=[w].concat(h).reduce(function(F,W){return F.concat(io(W)===l1?G8(t,{placement:W,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:y}):W)},[]),R=t.rects.reference,_=t.rects.popper,T=new Map,P=!0,k=C[0],x=0;x=0,M=D?"width":"height",A=ac(t,{placement:$,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),N=D?O?Sr:Fn:O?xr:jn;R[M]>_[M]&&(N=zu(N));var E=zu(N),L=[];if(i&&L.push(A[I]<=0),s&&L.push(A[N]<=0,A[E]<=0),L.every(function(F){return F})){k=$,P=!1;break}T.set($,L)}if(P)for(var B=m?3:1,H=function(W){var V=C.find(function(ee){var re=T.get(ee);if(re)return re.slice(0,W).every(function(U){return U})});if(V)return k=V,"break"},z=B;z>0;z--){var j=H(z);if(j==="break")break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}}const Z8={name:"flip",enabled:!0,phase:"main",fn:K8,requiresIfExists:["offset"],data:{_skip:!1}};function ab(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function sb(e){return[jn,Sr,xr,Fn].some(function(t){return e[t]>=0})}function Q8(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ac(t,{elementContext:"reference"}),s=ac(t,{altBoundary:!0}),l=ab(a,r),c=ab(s,o,i),u=sb(l),d=sb(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const Y8={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Q8};function X8(e,t,n){var r=io(e),o=[Fn,jn].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Fn,Sr].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function J8(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=n_.reduce(function(u,d){return u[d]=X8(d,t.rects,i),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const e6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:J8};function t6(e){var t=e.state,n=e.name;t.modifiersData[n]=c_({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const n6={name:"popperOffsets",enabled:!0,phase:"read",fn:t6,data:{}};function r6(e){return e==="x"?"y":"x"}function o6(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,m=n.tetherOffset,y=m===void 0?0:m,w=ac(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=io(t.placement),S=ms(t.placement),h=!S,C=d1(v),R=r6(C),_=t.modifiersData.popperOffsets,T=t.rects.reference,P=t.rects.popper,k=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,x=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(_){if(i){var O,D=C==="y"?jn:Fn,M=C==="y"?xr:Sr,A=C==="y"?"height":"width",N=_[C],E=N+w[D],L=N-w[M],B=p?-P[A]/2:0,H=S===ps?T[A]:P[A],z=S===ps?-P[A]:-T[A],j=t.elements.arrow,F=p&&j?u1(j):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:i_(),V=W[D],ee=W[M],re=Pl(0,T[A],F[A]),U=h?T[A]/2-B-re-V-x.mainAxis:H-re-V-x.mainAxis,K=h?-T[A]/2+B+re+ee+x.mainAxis:z+re+ee+x.mainAxis,se=t.elements.arrow&&Rc(t.elements.arrow),q=se?C==="y"?se.clientTop||0:se.clientLeft||0:0,ce=(O=$==null?void 0:$[C])!=null?O:0,ue=N+U-ce-q,ie=N+K-ce,te=Pl(p?Id(E,ue):E,N,p?Bi(L,ie):L);_[C]=te,I[C]=te-N}if(s){var de,Q=C==="x"?jn:Fn,be=C==="x"?xr:Sr,Pe=_[R],we=R==="y"?"height":"width",ge=Pe+w[Q],le=Pe-w[be],Se=[jn,Fn].indexOf(v)!==-1,ye=(de=$==null?void 0:$[R])!=null?de:0,Ue=Se?ge:Pe-T[we]-P[we]-ye+x.altAxis,Te=Se?Pe+T[we]+P[we]-ye-x.altAxis:le,Re=p&&Se?k8(Ue,Pe,Te):Pl(p?Ue:ge,Pe,p?Te:le);_[R]=Re,I[R]=Re-Pe}t.modifiersData[r]=I}}const i6={name:"preventOverflow",enabled:!0,phase:"main",fn:o6,requiresIfExists:["offset"]};function a6(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function s6(e){return e===er(e)||!vr(e)?f1(e):a6(e)}function l6(e){var t=e.getBoundingClientRect(),n=gs(t.width)/e.offsetWidth||1,r=gs(t.height)/e.offsetHeight||1;return n!==1||r!==1}function c6(e,t,n){n===void 0&&(n=!1);var r=vr(t),o=vr(t)&&l6(t),i=yi(t),a=hs(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((ao(t)!=="body"||g1(i))&&(s=s6(t)),vr(t)?(l=hs(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=p1(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function u6(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function d6(e){var t=u6(e);return w8.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function f6(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function p6(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var lb={placement:"bottom",modifiers:[],strategy:"absolute"};function cb(){for(var e=arguments.length,t=new Array(e),n=0;n{i||s(v6(o)||document.body)},[o,i]),Br(()=>{if(a&&!i)return kd(n,a),()=>{kd(n,null)}},[n,a,i]),i){if(b.isValidElement(r)){const c={ref:l};return b.cloneElement(r,c)}return g.jsx(b.Fragment,{children:r})}return g.jsx(b.Fragment,{children:a&&F0.createPortal(r,a)})});function y6(e){return Oe("MuiPopper",e)}Ee("MuiPopper",["root"]);function b6(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function um(e){return typeof e=="function"?e():e}function x6(e){return e.nodeType!==void 0}const S6=e=>{const{classes:t}=e;return Ne({root:["root"]},y6,t)},w6={},C6=b.forwardRef(function(t,n){const{anchorEl:r,children:o,direction:i,disablePortal:a,modifiers:s,open:l,placement:c,popperOptions:u,popperRef:d,slotProps:f={},slots:p={},TransitionProps:m,ownerState:y,...w}=t,v=b.useRef(null),S=Ct(v,n),h=b.useRef(null),C=Ct(h,d),R=b.useRef(C);Br(()=>{R.current=C},[C]),b.useImperativeHandle(d,()=>h.current,[]);const _=b6(c,i),[T,P]=b.useState(_),[k,x]=b.useState(um(r));b.useEffect(()=>{h.current&&h.current.forceUpdate()}),b.useEffect(()=>{r&&x(um(r))},[r]),Br(()=>{if(!k||!l)return;const M=E=>{P(E.placement)};let A=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:E})=>{M(E)}}];s!=null&&(A=A.concat(s)),u&&u.modifiers!=null&&(A=A.concat(u.modifiers));const N=m6(k,v.current,{placement:_,...u,modifiers:A});return R.current(N),()=>{N.destroy(),R.current(null)}},[k,a,s,l,u,_]);const $={placement:T};m!==null&&($.TransitionProps=m);const I=S6(t),O=p.root??"div",D=Ji({elementType:O,externalSlotProps:f.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:S},ownerState:t,className:I.root});return g.jsx(O,{...D,children:typeof o=="function"?o($):o})}),_6=b.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:f=w6,popperRef:p,style:m,transition:y=!1,slotProps:w={},slots:v={},...S}=t,[h,C]=b.useState(!0),R=()=>{C(!1)},_=()=>{C(!0)};if(!l&&!u&&(!y||h))return null;let T;if(i)T=i;else if(r){const x=um(r);T=x&&x6(x)?sn(x).body:sn(null).body}const P=!u&&l&&(!y||h)?"none":void 0,k=y?{in:u,onEnter:R,onExited:_}:void 0;return g.jsx(u_,{disablePortal:s,container:T,children:g.jsx(C6,{anchorEl:r,direction:a,disablePortal:s,modifiers:c,ref:n,open:y?!h:u,placement:d,popperOptions:f,popperRef:p,slotProps:w,slots:v,...S,style:{position:"fixed",top:0,left:0,display:P,...m},TransitionProps:k,children:o})})}),R6=J(_6,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pc=b.forwardRef(function(t,n){const r=ks(),o=De({props:t,name:"MuiPopper"}),{anchorEl:i,component:a,components:s,componentsProps:l,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:y,popperRef:w,transition:v,slots:S,slotProps:h,...C}=o,R=(S==null?void 0:S.root)??(s==null?void 0:s.Root),_={anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:f,open:p,placement:m,popperOptions:y,popperRef:w,transition:v,...C};return g.jsx(R6,{as:a,direction:r?"rtl":"ltr",slots:{root:R},slotProps:h??l,..._,ref:n})});function P6(e){return Oe("MuiListSubheader",e)}Ee("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const T6=e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:i}=e,a={root:["root",n!=="default"&&`color${ae(n)}`,!r&&"gutters",o&&"inset",!i&&"sticky"]};return Ne(a,P6,t)},k6=J("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ae(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})($e(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),dm=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiListSubheader"}),{className:o,color:i="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1,...u}=r,d={...r,color:i,component:a,disableGutters:s,disableSticky:l,inset:c},f=T6(d);return g.jsx(k6,{as:a,className:ve(f.root,o),ref:n,ownerState:d,...u})});dm&&(dm.muiSkipListHighlight=!0);const $6=cn(g.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function E6(e){return Oe("MuiChip",e)}const qe=Ee("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),M6=e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:s,variant:l}=e,c={root:["root",l,n&&"disabled",`size${ae(r)}`,`color${ae(o)}`,s&&"clickable",s&&`clickableColor${ae(o)}`,a&&"deletable",a&&`deletableColor${ae(o)}`,`${l}${ae(o)}`],label:["label",`label${ae(r)}`],avatar:["avatar",`avatar${ae(r)}`,`avatarColor${ae(o)}`],icon:["icon",`icon${ae(r)}`,`iconColor${ae(i)}`],deleteIcon:["deleteIcon",`deleteIcon${ae(r)}`,`deleteIconColor${ae(o)}`,`deleteIcon${ae(l)}Color${ae(o)}`]};return Ne(c,E6,t)},I6=J("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=n;return[{[`& .${qe.avatar}`]:t.avatar},{[`& .${qe.avatar}`]:t[`avatar${ae(s)}`]},{[`& .${qe.avatar}`]:t[`avatarColor${ae(r)}`]},{[`& .${qe.icon}`]:t.icon},{[`& .${qe.icon}`]:t[`icon${ae(s)}`]},{[`& .${qe.icon}`]:t[`iconColor${ae(o)}`]},{[`& .${qe.deleteIcon}`]:t.deleteIcon},{[`& .${qe.deleteIcon}`]:t[`deleteIcon${ae(s)}`]},{[`& .${qe.deleteIcon}`]:t[`deleteIconColor${ae(r)}`]},{[`& .${qe.deleteIcon}`]:t[`deleteIcon${ae(l)}Color${ae(r)}`]},t.root,t[`size${ae(s)}`],t[`color${ae(r)}`],i&&t.clickable,i&&r!=="default"&&t[`clickableColor${ae(r)})`],a&&t.deletable,a&&r!=="default"&&t[`deletableColor${ae(r)}`],t[l],t[`${l}${ae(r)}`]]}})($e(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${qe.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${qe.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${qe.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${qe.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${qe.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${qe.icon}`]:{marginLeft:5,marginRight:-6},[`& .${qe.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Be(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Be(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${qe.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${qe.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Ft(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${qe.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Be(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${qe.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${qe.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${qe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(Ft(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${qe.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${qe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Ft(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${qe.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${qe.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${qe.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${qe.avatar}`]:{marginLeft:4},[`& .${qe.avatarSmall}`]:{marginLeft:2},[`& .${qe.icon}`]:{marginLeft:4},[`& .${qe.iconSmall}`]:{marginLeft:2},[`& .${qe.deleteIcon}`]:{marginRight:5},[`& .${qe.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Ft()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Be(e.palette[n].main,.7)}`,[`&.${qe.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${qe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Be(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${qe.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Be(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),O6=J("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${ae(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function ub(e){return e.key==="Backspace"||e.key==="Delete"}const L6=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiChip"}),{avatar:o,className:i,clickable:a,color:s="default",component:l,deleteIcon:c,disabled:u=!1,icon:d,label:f,onClick:p,onDelete:m,onKeyDown:y,onKeyUp:w,size:v="medium",variant:S="filled",tabIndex:h,skipFocusWhenDisabled:C=!1,...R}=r,_=b.useRef(null),T=Ct(_,n),P=L=>{L.stopPropagation(),m&&m(L)},k=L=>{L.currentTarget===L.target&&ub(L)&&L.preventDefault(),y&&y(L)},x=L=>{L.currentTarget===L.target&&m&&ub(L)&&m(L),w&&w(L)},$=a!==!1&&p?!0:a,I=$||m?Ro:l||"div",O={...r,component:I,disabled:u,size:v,color:s,iconColor:b.isValidElement(d)&&d.props.color||s,onDelete:!!m,clickable:$,variant:S},D=M6(O),M=I===Ro?{component:l||"div",focusVisibleClassName:D.focusVisible,...m&&{disableRipple:!0}}:{};let A=null;m&&(A=c&&b.isValidElement(c)?b.cloneElement(c,{className:ve(c.props.className,D.deleteIcon),onClick:P}):g.jsx($6,{className:ve(D.deleteIcon),onClick:P}));let N=null;o&&b.isValidElement(o)&&(N=b.cloneElement(o,{className:ve(D.avatar,o.props.className)}));let E=null;return d&&b.isValidElement(d)&&(E=b.cloneElement(d,{className:ve(D.icon,d.props.className)})),g.jsxs(I6,{as:I,className:ve(D.root,i),disabled:$&&u?!0:void 0,onClick:p,onKeyDown:k,onKeyUp:x,ref:T,tabIndex:C&&u?-1:h,ownerState:O,...M,...R,children:[N||E,g.jsx(O6,{className:ve(D.label),ownerState:O,children:f}),A]})});function cu(e){return parseInt(e,10)||0}const A6={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function N6(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const D6=b.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:a,value:s,...l}=t,{current:c}=b.useRef(s!=null),u=b.useRef(null),d=Ct(n,u),f=b.useRef(null),p=b.useRef(null),m=b.useCallback(()=>{const v=u.current,h=Fr(v).getComputedStyle(v);if(h.width==="0px")return{outerHeightStyle:0,overflowing:!1};const C=p.current;C.style.width=h.width,C.value=v.value||t.placeholder||"x",C.value.slice(-1)===` -`&&(C.value+=" ");const R=h.boxSizing,_=cu(h.paddingBottom)+cu(h.paddingTop),T=cu(h.borderBottomWidth)+cu(h.borderTopWidth),P=C.scrollHeight;C.value="x";const k=C.scrollHeight;let x=P;i&&(x=Math.max(Number(i)*k,x)),o&&(x=Math.min(Number(o)*k,x)),x=Math.max(x,k);const $=x+(R==="border-box"?_+T:0),I=Math.abs(x-P)<=1;return{outerHeightStyle:$,overflowing:I}},[o,i,t.placeholder]),y=b.useCallback(()=>{const v=m();if(N6(v))return;const S=v.outerHeightStyle,h=u.current;f.current!==S&&(f.current=S,h.style.height=`${S}px`),h.style.overflow=v.overflowing?"hidden":""},[m]);Br(()=>{const v=()=>{y()};let S;const h=Jf(v),C=u.current,R=Fr(C);R.addEventListener("resize",h);let _;return typeof ResizeObserver<"u"&&(_=new ResizeObserver(v),_.observe(C)),()=>{h.clear(),cancelAnimationFrame(S),R.removeEventListener("resize",h),_&&_.disconnect()}},[m,y]),Br(()=>{y()});const w=v=>{c||y(),r&&r(v)};return g.jsxs(b.Fragment,{children:[g.jsx("textarea",{value:s,onChange:w,ref:d,rows:i,style:a,...l}),g.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:p,tabIndex:-1,style:{...A6.shadow,...a,paddingTop:0,paddingBottom:0}})]})});function Od(e){return typeof e=="string"}function ca({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const h1=b.createContext(void 0);function $o(){return b.useContext(h1)}function db(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ld(e,t=!1){return e&&(db(e.value)&&e.value!==""||t&&db(e.defaultValue)&&e.defaultValue!=="")}function j6(e){return e.startAdornment}function F6(e){return Oe("MuiInputBase",e)}const Gn=Ee("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var fb;const np=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ae(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},rp=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},B6=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e,y={root:["root",`color${ae(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",f&&f!=="medium"&&`size${ae(f)}`,u&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",m==="search"&&"inputTypeSearch",u&&"inputMultiline",f==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return Ne(y,F6,t)},op=J("div",{name:"MuiInputBase",slot:"Root",overridesResolver:np})($e(({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",[`&.${Gn.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),ip=J("input",{name:"MuiInputBase",slot:"Input",overridesResolver:rp})($e(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={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":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Gn.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Gn.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.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:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),pb=aM({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),ap=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:s,color:l,components:c={},componentsProps:u={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:m,error:y,fullWidth:w=!1,id:v,inputComponent:S="input",inputProps:h={},inputRef:C,margin:R,maxRows:_,minRows:T,multiline:P=!1,name:k,onBlur:x,onChange:$,onClick:I,onFocus:O,onKeyDown:D,onKeyUp:M,placeholder:A,readOnly:N,renderSuffix:E,rows:L,size:B,slotProps:H={},slots:z={},startAdornment:j,type:F="text",value:W,...V}=r,ee=h.value!=null?h.value:W,{current:re}=b.useRef(ee!=null),U=b.useRef(),K=b.useCallback(ne=>{},[]),se=Ct(U,C,h.ref,K),[q,ce]=b.useState(!1),ue=$o(),ie=ca({props:r,muiFormControl:ue,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ie.focused=ue?ue.focused:q,b.useEffect(()=>{!ue&&f&&q&&(ce(!1),x&&x())},[ue,f,q,x]);const te=ue&&ue.onFilled,de=ue&&ue.onEmpty,Q=b.useCallback(ne=>{Ld(ne)?te&&te():de&&de()},[te,de]);Br(()=>{re&&Q({value:ee})},[ee,Q,re]);const be=ne=>{O&&O(ne),h.onFocus&&h.onFocus(ne),ue&&ue.onFocus?ue.onFocus(ne):ce(!0)},Pe=ne=>{x&&x(ne),h.onBlur&&h.onBlur(ne),ue&&ue.onBlur?ue.onBlur(ne):ce(!1)},we=(ne,...xe)=>{if(!re){const Le=ne.target||U.current;if(Le==null)throw new Error(Zi(1));Q({value:Le.value})}h.onChange&&h.onChange(ne,...xe),$&&$(ne,...xe)};b.useEffect(()=>{Q(U.current)},[]);const ge=ne=>{U.current&&ne.currentTarget===ne.target&&U.current.focus(),I&&I(ne)};let le=S,Se=h;P&&le==="input"&&(L?Se={type:void 0,minRows:L,maxRows:L,...Se}:Se={type:void 0,maxRows:_,minRows:T,...Se},le=D6);const ye=ne=>{Q(ne.animationName==="mui-auto-fill-cancel"?U.current:{value:"x"})};b.useEffect(()=>{ue&&ue.setAdornedStart(!!j)},[ue,j]);const Ue={...r,color:ie.color||"primary",disabled:ie.disabled,endAdornment:m,error:ie.error,focused:ie.focused,formControl:ue,fullWidth:w,hiddenLabel:ie.hiddenLabel,multiline:P,size:ie.size,startAdornment:j,type:F},Te=B6(Ue),Re=z.root||c.Root||op,ke=H.root||u.root||{},pe=z.input||c.Input||ip;return Se={...Se,...H.input??u.input},g.jsxs(b.Fragment,{children:[!p&&typeof pb=="function"&&(fb||(fb=g.jsx(pb,{}))),g.jsxs(Re,{...ke,ref:n,onClick:ge,...V,...!Od(Re)&&{ownerState:{...Ue,...ke.ownerState}},className:ve(Te.root,ke.className,s,N&&"MuiInputBase-readOnly"),children:[j,g.jsx(h1.Provider,{value:null,children:g.jsx(pe,{"aria-invalid":ie.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:d,disabled:ie.disabled,id:v,onAnimationStart:ye,name:k,placeholder:A,readOnly:N,required:ie.required,rows:L,value:ee,onKeyDown:D,onKeyUp:M,type:F,...Se,...!Od(pe)&&{as:le,ownerState:{...Ue,...Se.ownerState}},ref:se,className:ve(Te.input,Se.className,N&&"MuiInputBase-readOnly"),onBlur:Pe,onChange:we,onFocus:be})}),m,E?E({...ie,startAdornment:j}):null]})]})});function z6(e){return Oe("MuiInput",e)}const Wo={...Gn,...Ee("MuiInput",["root","underline","input"])};function H6(e){return Oe("MuiOutlinedInput",e)}const lr={...Gn,...Ee("MuiOutlinedInput",["root","notchedOutline","input"])};function V6(e){return Oe("MuiFilledInput",e)}const qn={...Gn,...Ee("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},d_=cn(g.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function W6(e){return Oe("MuiAutocomplete",e)}const We=Ee("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var gb,hb;const U6=e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:i,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:c,size:u}=e,d={root:["root",r&&"expanded",o&&"focused",i&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${ae(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Ne(d,W6,t)},G6=J("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:i,inputFocused:a,size:s}=n;return[{[`& .${We.tag}`]:t.tag},{[`& .${We.tag}`]:t[`tagSize${ae(s)}`]},{[`& .${We.inputRoot}`]:t.inputRoot},{[`& .${We.input}`]:t.input},{[`& .${We.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${We.focused} .${We.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${We.clearIndicator}`]:{visibility:"visible"}},[`& .${We.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${We.inputRoot}`]:{[`.${We.hasPopupIcon}&, .${We.hasClearIcon}&`]:{paddingRight:30},[`.${We.hasPopupIcon}.${We.hasClearIcon}&`]:{paddingRight:56},[`& .${We.input}`]:{width:0,minWidth:30}},[`& .${Wo.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Wo.root}.${Gn.sizeSmall}`]:{[`& .${Wo.input}`]:{padding:"2px 4px 3px 0"}},[`& .${lr.root}`]:{padding:9,[`.${We.hasPopupIcon}&, .${We.hasClearIcon}&`]:{paddingRight:39},[`.${We.hasPopupIcon}.${We.hasClearIcon}&`]:{paddingRight:65},[`& .${We.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${We.endAdornment}`]:{right:9}},[`& .${lr.root}.${Gn.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${We.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${qn.root}`]:{paddingTop:19,paddingLeft:8,[`.${We.hasPopupIcon}&, .${We.hasClearIcon}&`]:{paddingRight:39},[`.${We.hasPopupIcon}.${We.hasClearIcon}&`]:{paddingRight:65},[`& .${qn.input}`]:{padding:"7px 4px"},[`& .${We.endAdornment}`]:{right:9}},[`& .${qn.root}.${Gn.sizeSmall}`]:{paddingBottom:1,[`& .${qn.input}`]:{padding:"2.5px 4px"}},[`& .${Gn.hiddenLabel}`]:{paddingTop:8},[`& .${qn.root}.${Gn.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${We.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${qn.root}.${Gn.hiddenLabel}.${Gn.sizeSmall}`]:{[`& .${We.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${We.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${We.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${We.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${We.inputRoot}`]:{flexWrap:"wrap"}}}]}),q6=J("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),K6=J(hr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),Z6=J(hr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),Q6=J(Pc,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${We.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})($e(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),Y6=J(Es,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})($e(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),X6=J("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),J6=J("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),eI=J("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})($e(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${We.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${We.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${We.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${We.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${We.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),tI=J(dm,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})($e(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),nI=J("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${We.option}`]:{paddingLeft:24}}),rI=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiAutocomplete"}),{autoComplete:o=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:s=!1,ChipProps:l,className:c,clearIcon:u=gb||(gb=g.jsx(JC,{fontSize:"small"})),clearOnBlur:d=!r.freeSolo,clearOnEscape:f=!1,clearText:p="Clear",closeText:m="Close",componentsProps:y,defaultValue:w=r.multiple?[]:null,disableClearable:v=!1,disableCloseOnSelect:S=!1,disabled:h=!1,disabledItemsFocusable:C=!1,disableListWrap:R=!1,disablePortal:_=!1,filterOptions:T,filterSelectedOptions:P=!1,forcePopupIcon:k="auto",freeSolo:x=!1,fullWidth:$=!1,getLimitTagsText:I=Ye=>`+${Ye}`,getOptionDisabled:O,getOptionKey:D,getOptionLabel:M,isOptionEqualToValue:A,groupBy:N,handleHomeEndKeys:E=!r.freeSolo,id:L,includeInputInList:B=!1,inputValue:H,limitTags:z=-1,ListboxComponent:j,ListboxProps:F,loading:W=!1,loadingText:V="Loading…",multiple:ee=!1,noOptionsText:re="No options",onChange:U,onClose:K,onHighlightChange:se,onInputChange:q,onOpen:ce,open:ue,openOnFocus:ie=!1,openText:te="Open",options:de,PaperComponent:Q,PopperComponent:be,popupIcon:Pe=hb||(hb=g.jsx(d_,{})),readOnly:we=!1,renderGroup:ge,renderInput:le,renderOption:Se,renderTags:ye,selectOnFocus:Ue=!r.freeSolo,size:Te="medium",slots:Re={},slotProps:ke={},value:pe,...ne}=r,{getRootProps:xe,getInputProps:Le,getInputLabelProps:fe,getPopupIndicatorProps:oe,getClearProps:me,getTagProps:je,getListboxProps:He,getOptionProps:Qe,value:_t,dirty:Zt,expanded:En,id:ir,popupOpen:Vn,focused:Mo,focusedTag:wi,anchorEl:Fe,setAnchorEl:Cn,inputValue:Lc,groupedOptions:da}=u8({...r,componentName:"Autocomplete"}),As=!v&&!h&&Zt&&!we,Ns=(!x||k===!0)&&k!==!1,{onMouseDown:xp}=Le(),{ref:Sp,...Ac}=He(),Ds=M||(Ye=>Ye.label??Ye),un={...r,disablePortal:_,expanded:En,focused:Mo,fullWidth:$,getOptionLabel:Ds,hasClearIcon:As,hasPopupIcon:Ns,inputFocused:wi===-1,popupOpen:Vn,size:Te},Nt=U6(un),so={slots:{paper:Q,popper:be,...Re},slotProps:{chip:l,listbox:F,...y,...ke}},[X,Y]=on("listbox",{elementType:eI,externalForwardedProps:so,ownerState:un,className:Nt.listbox,additionalProps:Ac,ref:Sp}),[Ce,Ve]=on("paper",{elementType:Es,externalForwardedProps:so,ownerState:un,className:Nt.paper}),[Ge,Rt]=on("popper",{elementType:Pc,externalForwardedProps:so,ownerState:un,className:Nt.popper,additionalProps:{disablePortal:_,style:{width:Fe?Fe.clientWidth:null},role:"presentation",anchorEl:Fe,open:Vn}});let it;if(ee&&_t.length>0){const Ye=Vr=>({className:Nt.tag,disabled:h,...je(Vr)});ye?it=ye(_t,Ye,un):it=_t.map((Vr,Io)=>{const{key:js,...w3}=Ye({index:Io});return g.jsx(L6,{label:Ds(Vr),size:Te,...w3,...so.slotProps.chip},js)})}if(z>-1&&Array.isArray(it)){const Ye=it.length-z;!Mo&&Ye>0&&(it=it.splice(0,z),it.push(g.jsx("span",{className:Nt.tag,children:I(Ye)},it.length)))}const Nc=ge||(Ye=>g.jsxs("li",{children:[g.jsx(tI,{className:Nt.groupLabel,ownerState:un,component:"div",children:Ye.group}),g.jsx(nI,{className:Nt.groupUl,ownerState:un,children:Ye.children})]},Ye.key)),S3=Se||((Ye,Vr)=>{const{key:Io,...js}=Ye;return g.jsx("li",{...js,children:Ds(Vr)},Io)}),G1=(Ye,Vr)=>{const Io=Qe({option:Ye,index:Vr});return S3({...Io,className:Nt.option},Ye,{selected:Io["aria-selected"],index:Vr,inputValue:Lc},un)},Dc=so.slotProps.clearIndicator,jc=so.slotProps.popupIndicator,wp=Ye=>g.jsx(Q6,{as:Ge,...Rt,children:g.jsx(Y6,{as:Ce,...Ve,children:Ye})});let Fc=null;return da.length>0?Fc=wp(g.jsx(X,{as:j,...Y,children:da.map((Ye,Vr)=>N?Nc({key:Ye.key,group:Ye.group,children:Ye.options.map((Io,js)=>G1(Io,Ye.index+js))}):G1(Ye,Vr))})):W&&da.length===0?Fc=wp(g.jsx(X6,{className:Nt.loading,ownerState:un,children:V})):da.length===0&&!x&&!W&&(Fc=wp(g.jsx(J6,{className:Nt.noOptions,ownerState:un,role:"presentation",onMouseDown:Ye=>{Ye.preventDefault()},children:re}))),g.jsxs(b.Fragment,{children:[g.jsx(G6,{ref:n,className:ve(Nt.root,c),ownerState:un,...xe(ne),children:le({id:ir,disabled:h,fullWidth:!0,size:Te==="small"?"small":void 0,InputLabelProps:fe(),InputProps:{ref:Cn,className:Nt.inputRoot,startAdornment:it,onMouseDown:Ye=>{Ye.target===Ye.currentTarget&&xp(Ye)},...(As||Ns)&&{endAdornment:g.jsxs(q6,{className:Nt.endAdornment,ownerState:un,children:[As?g.jsx(K6,{...me(),"aria-label":p,title:p,ownerState:un,...Dc,className:ve(Nt.clearIndicator,Dc==null?void 0:Dc.className),children:u}):null,Ns?g.jsx(Z6,{...oe(),disabled:h,"aria-label":Vn?m:te,title:Vn?m:te,ownerState:un,...jc,className:ve(Nt.popupIndicator,jc==null?void 0:jc.className),children:Pe}):null]})}},inputProps:{className:Nt.input,disabled:h,readOnly:we,...Le()}})}),Fe?Fc:null]})}),oI={entering:{opacity:1},entered:{opacity:1}},iI=b.forwardRef(function(t,n){const r=zt(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:y,style:w,timeout:v=o,TransitionComponent:S=zr,...h}=t,C=b.useRef(null),R=Ct(C,la(s),n),_=D=>M=>{if(D){const A=C.current;M===void 0?D(A):D(A,M)}},T=_(f),P=_((D,M)=>{XC(D);const A=ds({style:w,timeout:v,easing:l},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",A),D.style.transition=r.transitions.create("opacity",A),u&&u(D,M)}),k=_(d),x=_(y),$=_(D=>{const M=ds({style:w,timeout:v,easing:l},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",M),D.style.transition=r.transitions.create("opacity",M),p&&p(D)}),I=_(m),O=D=>{i&&i(C.current,D)};return g.jsx(S,{appear:a,in:c,nodeRef:C,onEnter:P,onEntered:k,onEntering:T,onExit:$,onExited:I,onExiting:x,addEndListener:O,timeout:v,...h,children:(D,M)=>b.cloneElement(s,{style:{opacity:0,visibility:D==="exited"&&!c?"hidden":void 0,...oI[D],...w,...s.props.style},ref:R,...M})})});function aI(e){return Oe("MuiBackdrop",e)}Ee("MuiBackdrop",["root","invisible"]);const sI=e=>{const{ownerState:t,...n}=e;return n},lI=e=>{const{classes:t,invisible:n}=e;return Ne({root:["root",n&&"invisible"]},aI,t)},cI=J("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.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"}}]}),uI=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:a="div",invisible:s=!1,open:l,components:c={},componentsProps:u={},slotProps:d={},slots:f={},TransitionComponent:p,transitionDuration:m,...y}=r,w={...r,component:a,invisible:s},v=lI(w),S={transition:p,root:c.Root,...f},h={...u,...d},C={slots:S,slotProps:h},[R,_]=on("root",{elementType:cI,externalForwardedProps:C,className:ve(v.root,i),ownerState:w}),[T,P]=on("transition",{elementType:iI,externalForwardedProps:C,ownerState:w}),k=sI(P);return g.jsx(T,{in:l,timeout:m,...y,...k,children:g.jsx(R,{"aria-hidden":!0,..._,classes:v,ref:n,children:o})})}),dI=Ee("MuiBox",["root"]),fI=Yf(),Ir=P5({themeId:Ar,defaultTheme:fI,defaultClassName:dI.root,generateClassName:jC.generate});function pI(e){return Oe("MuiButton",e)}const ba=Ee("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),gI=b.createContext({}),hI=b.createContext(void 0),mI=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${ae(t)}`,`size${ae(o)}`,`${i}Size${ae(o)}`,`color${ae(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ae(o)}`],endIcon:["icon","endIcon",`iconSize${ae(o)}`]},l=Ne(s,pI,a);return{...a,...l}},f_=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],vI=J(Ro,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ae(n.color)}`],t[`size${ae(n.size)}`],t[`${n.variant}Size${ae(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})($e(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ba.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${ba.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ba.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${ba.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Ft()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:Be(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ba.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ba.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),yI=J("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ae(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...f_]}),bI=J("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ae(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...f_]}),xI=b.forwardRef(function(t,n){const r=b.useContext(gI),o=b.useContext(hI),i=qC(r,t),a=De({props:i,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:u,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:m,focusVisibleClassName:y,fullWidth:w=!1,size:v="medium",startIcon:S,type:h,variant:C="text",...R}=a,_={...a,color:l,component:c,disabled:d,disableElevation:f,disableFocusRipple:p,fullWidth:w,size:v,type:h,variant:C},T=mI(_),P=S&&g.jsx(yI,{className:T.startIcon,ownerState:_,children:S}),k=m&&g.jsx(bI,{className:T.endIcon,ownerState:_,children:m}),x=o||"";return g.jsxs(vI,{ownerState:_,className:ve(r.className,T.root,u,x),component:c,disabled:d,focusRipple:!p,focusVisibleClassName:ve(T.focusVisible,y),ref:n,type:h,...R,classes:T,children:[P,s,k]})});function SI(e){return Oe("PrivateSwitchBase",e)}Ee("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const wI=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${ae(o)}`],input:["input"]};return Ne(i,SI,t)},CI=J(Ro)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),_I=J("input",{shouldForwardProp:Sn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),m1=b.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:d,id:f,inputProps:p,inputRef:m,name:y,onBlur:w,onChange:v,onFocus:S,readOnly:h,required:C=!1,tabIndex:R,type:_,value:T,...P}=t,[k,x]=Fi({controlled:o,default:!!s,name:"SwitchBase",state:"checked"}),$=$o(),I=L=>{S&&S(L),$&&$.onFocus&&$.onFocus(L)},O=L=>{w&&w(L),$&&$.onBlur&&$.onBlur(L)},D=L=>{if(L.nativeEvent.defaultPrevented)return;const B=L.target.checked;x(B),v&&v(L,B)};let M=l;$&&typeof M>"u"&&(M=$.disabled);const A=_==="checkbox"||_==="radio",N={...t,checked:k,disabled:M,disableFocusRipple:c,edge:u},E=wI(N);return g.jsxs(CI,{component:"span",className:ve(E.root,a),centerRipple:!0,focusRipple:!c,disabled:M,tabIndex:null,role:void 0,onFocus:I,onBlur:O,ownerState:N,ref:n,...P,children:[g.jsx(_I,{autoFocus:r,checked:o,defaultChecked:s,className:E.input,disabled:M,id:A?f:void 0,name:y,onChange:D,readOnly:h,ref:m,required:C,ownerState:N,tabIndex:R,type:_,..._==="checkbox"&&T===void 0?{}:{value:T},...p}),k?i:d]})}),RI=cn(g.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),PI=cn(g.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),TI=cn(g.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function kI(e){return Oe("MuiCheckbox",e)}const og=Ee("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),$I=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${ae(r)}`,`size${ae(o)}`]},a=Ne(i,kI,t);return{...t,...a}},EI=J(m1,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${ae(n.size)}`],n.color!=="default"&&t[`color${ae(n.color)}`]]}})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t},style:{[`&.${og.checked}, &.${og.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${og.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),MI=g.jsx(PI,{}),II=g.jsx(RI,{}),OI=g.jsx(TI,{}),LI=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiCheckbox"}),{checkedIcon:o=MI,color:i="primary",icon:a=II,indeterminate:s=!1,indeterminateIcon:l=OI,inputProps:c,size:u="medium",disableRipple:d=!1,className:f,...p}=r,m=s?l:a,y=s?l:o,w={...r,disableRipple:d,color:i,indeterminate:s,size:u},v=$I(w);return g.jsx(EI,{type:"checkbox",inputProps:{"data-indeterminate":s,...c},icon:b.cloneElement(m,{fontSize:m.props.fontSize??u}),checkedIcon:b.cloneElement(y,{fontSize:y.props.fontSize??u}),ownerState:w,ref:n,className:ve(v.root,f),disableRipple:d,...p,classes:v})});function mb(e){return e.substring(2).toLowerCase()}function AI(e,t){return t.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const u=Ct(la(t),s),d=yn(m=>{const y=c.current;c.current=!1;const w=sn(s.current);if(!l.current||!s.current||"clientX"in m&&AI(m,w))return;if(a.current){a.current=!1;return}let v;m.composedPath?v=m.composedPath().includes(s.current):v=!w.documentElement.contains(m.target)||s.current.contains(m.target),!v&&(n||!y)&&o(m)}),f=m=>y=>{c.current=!0;const w=t.props[m];w&&w(y)},p={ref:u};return i!==!1&&(p[i]=f(i)),b.useEffect(()=>{if(i!==!1){const m=mb(i),y=sn(s.current),w=()=>{a.current=!0};return y.addEventListener(m,d),y.addEventListener("touchmove",w),()=>{y.removeEventListener(m,d),y.removeEventListener("touchmove",w)}}},[d,i]),r!==!1&&(p[r]=f(r)),b.useEffect(()=>{if(r!==!1){const m=mb(r),y=sn(s.current);return y.addEventListener(m,d),()=>{y.removeEventListener(m,d)}}},[d,r]),g.jsx(b.Fragment,{children:b.cloneElement(t,p)})}function DI(e){const t=sn(e);return t.body===e?Fr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function kl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function vb(e){return parseInt(Fr(e).getComputedStyle(e).paddingRight,10)||0}function jI(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function yb(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const s=!i.includes(a),l=!jI(a);s&&l&&kl(a,o)})}function ig(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function FI(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(DI(r)){const a=GC(Fr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${vb(r)+a}px`;const s=sn(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${vb(l)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=sn(r).body;else{const a=r.parentElement,s=Fr(r);i=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:a,property:s})=>{i?a.style.setProperty(s,i):a.style.removeProperty(s)})}}function BI(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class zI{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&kl(t.modalRef,!1);const o=BI(n);yb(n,t.mount,t.modalRef,o,!0);const i=ig(this.containers,a=>a.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=ig(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=FI(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=ig(this.containers,a=>a.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&kl(t.modalRef,n),yb(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&kl(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const HI=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function VI(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function WI(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function UI(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||WI(e))}function GI(e){const t=[],n=[];return Array.from(e.querySelectorAll(HI)).forEach((r,o)=>{const i=VI(r);i===-1||!UI(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function qI(){return!0}function KI(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=GI,isEnabled:a=qI,open:s}=e,l=b.useRef(!1),c=b.useRef(null),u=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(!1),m=b.useRef(null),y=Ct(la(t),m),w=b.useRef(null);b.useEffect(()=>{!s||!m.current||(p.current=!n)},[n,s]),b.useEffect(()=>{if(!s||!m.current)return;const h=sn(m.current);return m.current.contains(h.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),p.current&&m.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[s]),b.useEffect(()=>{if(!s||!m.current)return;const h=sn(m.current),C=T=>{w.current=T,!(r||!a()||T.key!=="Tab")&&h.activeElement===m.current&&T.shiftKey&&(l.current=!0,u.current&&u.current.focus())},R=()=>{var k,x;const T=m.current;if(T===null)return;if(!h.hasFocus()||!a()||l.current){l.current=!1;return}if(T.contains(h.activeElement)||r&&h.activeElement!==c.current&&h.activeElement!==u.current)return;if(h.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let P=[];if((h.activeElement===c.current||h.activeElement===u.current)&&(P=i(m.current)),P.length>0){const $=!!((k=w.current)!=null&&k.shiftKey&&((x=w.current)==null?void 0:x.key)==="Tab"),I=P[0],O=P[P.length-1];typeof I!="string"&&typeof O!="string"&&($?O.focus():I.focus())}else T.focus()};h.addEventListener("focusin",R),h.addEventListener("keydown",C,!0);const _=setInterval(()=>{h.activeElement&&h.activeElement.tagName==="BODY"&&R()},50);return()=>{clearInterval(_),h.removeEventListener("focusin",R),h.removeEventListener("keydown",C,!0)}},[n,r,o,a,s,i]);const v=h=>{d.current===null&&(d.current=h.relatedTarget),p.current=!0,f.current=h.target;const C=t.props.onFocus;C&&C(h)},S=h=>{d.current===null&&(d.current=h.relatedTarget),p.current=!0};return g.jsxs(b.Fragment,{children:[g.jsx("div",{tabIndex:s?0:-1,onFocus:S,ref:c,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:y,onFocus:v}),g.jsx("div",{tabIndex:s?0:-1,onFocus:S,ref:u,"data-testid":"sentinelEnd"})]})}function ZI(e){return typeof e=="function"?e():e}function QI(e){return e?e.props.hasOwnProperty("in"):!1}const uu=new zI;function YI(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:s,onClose:l,open:c,rootRef:u}=e,d=b.useRef({}),f=b.useRef(null),p=b.useRef(null),m=Ct(p,u),[y,w]=b.useState(!c),v=QI(s);let S=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(S=!1);const h=()=>sn(f.current),C=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),R=()=>{uu.mount(C(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},_=yn(()=>{const M=ZI(t)||h().body;uu.add(C(),M),p.current&&R()}),T=()=>uu.isTopModal(C()),P=yn(M=>{f.current=M,M&&(c&&T()?R():p.current&&kl(p.current,S))}),k=b.useCallback(()=>{uu.remove(C(),S)},[S]);b.useEffect(()=>()=>{k()},[k]),b.useEffect(()=>{c?_():(!v||!o)&&k()},[c,k,v,o,_]);const x=M=>A=>{var N;(N=M.onKeyDown)==null||N.call(M,A),!(A.key!=="Escape"||A.which===229||!T())&&(n||(A.stopPropagation(),l&&l(A,"escapeKeyDown")))},$=M=>A=>{var N;(N=M.onClick)==null||N.call(M,A),A.target===A.currentTarget&&l&&l(A,"backdropClick")};return{getRootProps:(M={})=>{const A=KC(e);delete A.onTransitionEnter,delete A.onTransitionExited;const N={...A,...M};return{role:"presentation",...N,onKeyDown:x(N),ref:m}},getBackdropProps:(M={})=>{const A=M;return{"aria-hidden":!0,...A,onClick:$(A),open:c}},getTransitionProps:()=>{const M=()=>{w(!1),i&&i()},A=()=>{w(!0),a&&a(),o&&k()};return{onEnter:om(M,s==null?void 0:s.props.onEnter),onExited:om(A,s==null?void 0:s.props.onExited)}},rootRef:m,portalRef:P,isTopModal:T,exited:y,hasTransition:v}}function XI(e){return Oe("MuiModal",e)}Ee("MuiModal",["root","hidden","backdrop"]);const JI=e=>{const{open:t,exited:n,classes:r}=e;return Ne({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},XI,r)},eO=J("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})($e(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),tO=J(uI,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),nO=b.forwardRef(function(t,n){const r=De({name:"MuiModal",props:t}),{BackdropComponent:o=tO,BackdropProps:i,classes:a,className:s,closeAfterTransition:l=!1,children:c,container:u,component:d,components:f={},componentsProps:p={},disableAutoFocus:m=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:w=!1,disablePortal:v=!1,disableRestoreFocus:S=!1,disableScrollLock:h=!1,hideBackdrop:C=!1,keepMounted:R=!1,onBackdropClick:_,onClose:T,onTransitionEnter:P,onTransitionExited:k,open:x,slotProps:$={},slots:I={},theme:O,...D}=r,M={...r,closeAfterTransition:l,disableAutoFocus:m,disableEnforceFocus:y,disableEscapeKeyDown:w,disablePortal:v,disableRestoreFocus:S,disableScrollLock:h,hideBackdrop:C,keepMounted:R},{getRootProps:A,getBackdropProps:N,getTransitionProps:E,portalRef:L,isTopModal:B,exited:H,hasTransition:z}=YI({...M,rootRef:n}),j={...M,exited:H},F=JI(j),W={};if(c.props.tabIndex===void 0&&(W.tabIndex="-1"),z){const{onEnter:q,onExited:ce}=E();W.onEnter=q,W.onExited=ce}const V={...D,slots:{root:f.Root,backdrop:f.Backdrop,...I},slotProps:{...p,...$}},[ee,re]=on("root",{elementType:eO,externalForwardedProps:V,getSlotProps:A,additionalProps:{ref:n,as:d},ownerState:j,className:ve(s,F==null?void 0:F.root,!j.open&&j.exited&&(F==null?void 0:F.hidden))}),[U,K]=on("backdrop",{elementType:o,externalForwardedProps:V,additionalProps:i,getSlotProps:q=>N({...q,onClick:ce=>{_&&_(ce),q!=null&&q.onClick&&q.onClick(ce)}}),className:ve(i==null?void 0:i.className,F==null?void 0:F.backdrop),ownerState:j}),se=Ct(i==null?void 0:i.ref,K.ref);return!R&&!x&&(!z||H)?null:g.jsx(u_,{ref:L,container:u,disablePortal:v,children:g.jsxs(ee,{...re,children:[!C&&o?g.jsx(U,{...K,ref:se}):null,g.jsx(KI,{disableEnforceFocus:y,disableAutoFocus:m,disableRestoreFocus:S,isEnabled:B,open:x,children:b.cloneElement(c,W)})]})})}),bb=Ee("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),rO=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:a,multiline:s}=e,l={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${ae(i)}`,a&&"hiddenLabel",s&&"multiline"],input:["input"]},c=Ne(l,V6,t);return{...t,...c}},oO=J(op,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...np(e,t),!n.disableUnderline&&t.underline]}})($e(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=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:r,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:r}},[`&.${qn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${qn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:a})=>!a.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"},[`&.${qn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${qn.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,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(.${qn.disabled}, .${qn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${qn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ft()).map(([a])=>{var s;return{props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(s=(e.vars||e).palette[a])==null?void 0:s.main}`}}}}),{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:12}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:12}},{props:({ownerState:a})=>a.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:a,size:s})=>a.multiline&&s==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),iO=J(ip,{name:"MuiFilledInput",slot:"Input",overridesResolver:rp})($e(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?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:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Ad=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:s=!1,hiddenLabel:l,inputComponent:c="input",multiline:u=!1,slotProps:d,slots:f={},type:p="text",...m}=r,y={...r,disableUnderline:o,fullWidth:s,inputComponent:c,multiline:u,type:p},w=rO(r),v={root:{ownerState:y},input:{ownerState:y}},S=d??a?oo(v,d??a):v,h=f.root??i.Root??oO,C=f.input??i.Input??iO;return g.jsx(ap,{slots:{root:h,input:C},componentsProps:S,fullWidth:s,inputComponent:c,multiline:u,ref:n,type:p,...m,classes:w})});Ad&&(Ad.muiName="Input");function aO(e){return Oe("MuiFormControl",e)}Ee("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const sO=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ae(n)}`,r&&"fullWidth"]};return Ne(o,aO,t)},lO=J("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${ae(e.margin)}`],...e.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%"}}]}),cO=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:d=!1,hiddenLabel:f=!1,margin:p="none",required:m=!1,size:y="medium",variant:w="outlined",...v}=r,S={...r,color:a,component:s,disabled:l,error:c,fullWidth:d,hiddenLabel:f,margin:p,required:m,size:y,variant:w},h=sO(S),[C,R]=b.useState(()=>{let O=!1;return o&&b.Children.forEach(o,D=>{if(!rg(D,["Input","Select"]))return;const M=rg(D,["Select"])?D.props.input:D;M&&j6(M.props)&&(O=!0)}),O}),[_,T]=b.useState(()=>{let O=!1;return o&&b.Children.forEach(o,D=>{rg(D,["Input","Select"])&&(Ld(D.props,!0)||Ld(D.props.inputProps,!0))&&(O=!0)}),O}),[P,k]=b.useState(!1);l&&P&&k(!1);const x=u!==void 0&&!l?u:P;let $;b.useRef(!1);const I=b.useMemo(()=>({adornedStart:C,setAdornedStart:R,color:a,disabled:l,error:c,filled:_,focused:x,fullWidth:d,hiddenLabel:f,size:y,onBlur:()=>{k(!1)},onEmpty:()=>{T(!1)},onFilled:()=>{T(!0)},onFocus:()=>{k(!0)},registerEffect:$,required:m,variant:w}),[C,a,l,c,_,x,d,f,$,m,y,w]);return g.jsx(h1.Provider,{value:I,children:g.jsx(lO,{as:s,ownerState:S,className:ve(h.root,i),ref:n,...v,children:o})})});function uO(e){return Oe("MuiFormControlLabel",e)}const gl=Ee("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),dO=e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,a={root:["root",n&&"disabled",`labelPlacement${ae(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return Ne(a,uO,t)},fO=J("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${gl.label}`]:t.label},t.root,t[`labelPlacement${ae(n.labelPlacement)}`]]}})($e(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${gl.disabled}`]:{cursor:"default"},[`& .${gl.label}`]:{[`&.${gl.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),pO=J("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})($e(({theme:e})=>({[`&.${gl.error}`]:{color:(e.vars||e).palette.error.main}}))),p_=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFormControlLabel"}),{checked:o,className:i,componentsProps:a={},control:s,disabled:l,disableTypography:c,inputRef:u,label:d,labelPlacement:f="end",name:p,onChange:m,required:y,slots:w={},slotProps:v={},value:S,...h}=r,C=$o(),R=l??s.props.disabled??(C==null?void 0:C.disabled),_=y??s.props.required,T={disabled:R,required:_};["checked","name","onChange","value","inputRef"].forEach(M=>{typeof s.props[M]>"u"&&typeof r[M]<"u"&&(T[M]=r[M])});const P=ca({props:r,muiFormControl:C,states:["error"]}),k={...r,disabled:R,labelPlacement:f,required:_,error:P.error},x=dO(k),$={slots:w,slotProps:{...a,...v}},[I,O]=on("typography",{elementType:yt,externalForwardedProps:$,ownerState:k});let D=d;return D!=null&&D.type!==yt&&!c&&(D=g.jsx(I,{component:"span",...O,className:ve(x.label,O==null?void 0:O.className),children:D})),g.jsxs(fO,{className:ve(x.root,i),ownerState:k,ref:n,...h,children:[b.cloneElement(s,T),_?g.jsxs("div",{children:[D,g.jsxs(pO,{ownerState:k,"aria-hidden":!0,className:x.asterisk,children:[" ","*"]})]}):D]})});function gO(e){return Oe("MuiFormHelperText",e)}const xb=Ee("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Sb;const hO=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:s,required:l}=e,c={root:["root",o&&"disabled",i&&"error",r&&`size${ae(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return Ne(c,gO,t)},mO=J("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ae(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${xb.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${xb.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),vO=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:a="p",disabled:s,error:l,filled:c,focused:u,margin:d,required:f,variant:p,...m}=r,y=$o(),w=ca({props:r,muiFormControl:y,states:["variant","size","disabled","error","filled","focused","required"]}),v={...r,component:a,contained:w.variant==="filled"||w.variant==="outlined",variant:w.variant,size:w.size,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required};delete v.ownerState;const S=hO(v);return g.jsx(mO,{as:a,className:ve(S.root,i),ref:n,...m,ownerState:v,children:o===" "?Sb||(Sb=g.jsx("span",{className:"notranslate",children:"​"})):o})});function yO(e){return Oe("MuiFormLabel",e)}const $l=Ee("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),bO=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:s}=e,l={root:["root",`color${ae(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]};return Ne(l,yO,t)},xO=J("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})($e(({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(Ft()).map(([t])=>({props:{color:t},style:{[`&.${$l.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${$l.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${$l.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),SO=J("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})($e(({theme:e})=>({[`&.${$l.error}`]:{color:(e.vars||e).palette.error.main}}))),wO=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:a,component:s="label",disabled:l,error:c,filled:u,focused:d,required:f,...p}=r,m=$o(),y=ca({props:r,muiFormControl:m,states:["color","required","focused","disabled","error","filled"]}),w={...r,color:y.color||"primary",component:s,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required},v=bO(w);return g.jsxs(xO,{as:s,ownerState:w,className:ve(v.root,i),ref:n,...p,children:[o,y.required&&g.jsxs(SO,{ownerState:w,"aria-hidden":!0,className:v.asterisk,children:[" ","*"]})]})});function fm(e){return`scale(${e}, ${e**2})`}const CO={entering:{opacity:1,transform:fm(1)},entered:{opacity:1,transform:"none"}},ag=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),sc=b.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:f,onExiting:p,style:m,timeout:y="auto",TransitionComponent:w=zr,...v}=t,S=Oi(),h=b.useRef(),C=zt(),R=b.useRef(null),_=Ct(R,la(i),n),T=M=>A=>{if(M){const N=R.current;A===void 0?M(N):M(N,A)}},P=T(u),k=T((M,A)=>{XC(M);const{duration:N,delay:E,easing:L}=ds({style:m,timeout:y,easing:a},{mode:"enter"});let B;y==="auto"?(B=C.transitions.getAutoHeightDuration(M.clientHeight),h.current=B):B=N,M.style.transition=[C.transitions.create("opacity",{duration:B,delay:E}),C.transitions.create("transform",{duration:ag?B:B*.666,delay:E,easing:L})].join(","),l&&l(M,A)}),x=T(c),$=T(p),I=T(M=>{const{duration:A,delay:N,easing:E}=ds({style:m,timeout:y,easing:a},{mode:"exit"});let L;y==="auto"?(L=C.transitions.getAutoHeightDuration(M.clientHeight),h.current=L):L=A,M.style.transition=[C.transitions.create("opacity",{duration:L,delay:N}),C.transitions.create("transform",{duration:ag?L:L*.666,delay:ag?N:N||L*.333,easing:E})].join(","),M.style.opacity=0,M.style.transform=fm(.75),d&&d(M)}),O=T(f),D=M=>{y==="auto"&&S.start(h.current||0,M),r&&r(R.current,M)};return g.jsx(w,{appear:o,in:s,nodeRef:R,onEnter:k,onEntered:x,onEntering:P,onExit:I,onExited:O,onExiting:$,addEndListener:D,timeout:y==="auto"?null:y,...v,children:(M,A)=>b.cloneElement(i,{style:{opacity:0,transform:fm(.75),visibility:M==="exited"&&!s?"hidden":void 0,...CO[M],...m,...i.props.style},ref:_,...A})})});sc&&(sc.muiSupportAuto=!0);const _O=e=>{const{classes:t,disableUnderline:n}=e,o=Ne({root:["root",!n&&"underline"],input:["input"]},z6,t);return{...t,...o}},RO=J(op,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...np(e,t),!n.disableUnderline&&t.underline]}})($e(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.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"},[`&.${Wo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Wo.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,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(.${Wo.disabled}, .${Wo.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Wo.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ft()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),PO=J(ip,{name:"MuiInput",slot:"Input",overridesResolver:rp})({}),Nd=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:a,fullWidth:s=!1,inputComponent:l="input",multiline:c=!1,slotProps:u,slots:d={},type:f="text",...p}=r,m=_O(r),w={root:{ownerState:{disableUnderline:o}}},v=u??a?oo(u??a,w):w,S=d.root??i.Root??RO,h=d.input??i.Input??PO;return g.jsx(ap,{slots:{root:S,input:h},slotProps:v,fullWidth:s,inputComponent:l,multiline:c,ref:n,type:f,...p,classes:m})});Nd&&(Nd.muiName="Input");function TO(e){return Oe("MuiInputLabel",e)}Ee("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const kO=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:s}=e,l={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${ae(r)}`,a],asterisk:[s&&"asterisk"]},c=Ne(l,TO,t);return{...t,...c}},$O=J(wO,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${$l.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})($e(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.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:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.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:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",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:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),EO=b.forwardRef(function(t,n){const r=De({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:a,variant:s,className:l,...c}=r,u=$o();let d=a;typeof d>"u"&&u&&(d=u.filled||u.focused||u.adornedStart);const f=ca({props:r,muiFormControl:u,states:["size","variant","required","focused"]}),p={...r,disableAnimation:o,formControl:u,shrink:d,size:f.size,variant:f.variant,required:f.required,focused:f.focused},m=kO(p);return g.jsx($O,{"data-shrink":d,ref:n,className:ve(m.root,l),...c,ownerState:p,classes:m})}),pm=b.createContext({});function MO(e){return Oe("MuiList",e)}Ee("MuiList",["root","padding","dense","subheader"]);const IO=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Ne({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},MO,t)},OO=J("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.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}}]}),LO=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c,...u}=r,d=b.useMemo(()=>({dense:s}),[s]),f={...r,component:a,dense:s,disablePadding:l},p=IO(f);return g.jsx(pm.Provider,{value:d,children:g.jsxs(OO,{as:a,className:ve(p.root,i),ref:n,ownerState:f,...u,children:[c,o]})})}),wb=Ee("MuiListItemIcon",["root","alignItemsFlexStart"]),Cb=Ee("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function sg(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function _b(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function g_(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Ys(e,t,n,r,o,i){let a=!1,s=o(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!g_(s,i)||l)s=o(e,s,n);else return s.focus(),!0}return!1}const AO=b.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu",...f}=t,p=b.useRef(null),m=b.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Br(()=>{o&&p.current.focus()},[o]),b.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(h,{direction:C})=>{const R=!p.current.style.width;if(h.clientHeight{const C=p.current,R=h.key;if(h.ctrlKey||h.metaKey||h.altKey){u&&u(h);return}const T=sn(C).activeElement;if(R==="ArrowDown")h.preventDefault(),Ys(C,T,c,l,sg);else if(R==="ArrowUp")h.preventDefault(),Ys(C,T,c,l,_b);else if(R==="Home")h.preventDefault(),Ys(C,null,c,l,sg);else if(R==="End")h.preventDefault(),Ys(C,null,c,l,_b);else if(R.length===1){const P=m.current,k=R.toLowerCase(),x=performance.now();P.keys.length>0&&(x-P.lastTime>500?(P.keys=[],P.repeating=!0,P.previousKeyMatched=!0):P.repeating&&k!==P.keys[0]&&(P.repeating=!1)),P.lastTime=x,P.keys.push(k);const $=T&&!P.repeating&&g_(T,P);P.previousKeyMatched&&($||Ys(C,T,!1,l,sg,P))?h.preventDefault():P.previousKeyMatched=!1}u&&u(h)},w=Ct(p,n);let v=-1;b.Children.forEach(a,(h,C)=>{if(!b.isValidElement(h)){v===C&&(v+=1,v>=a.length&&(v=-1));return}h.props.disabled||(d==="selectedMenu"&&h.props.selected||v===-1)&&(v=C),v===C&&(h.props.disabled||h.props.muiSkipListHighlight||h.type.muiSkipListHighlight)&&(v+=1,v>=a.length&&(v=-1))});const S=b.Children.map(a,(h,C)=>{if(C===v){const R={};return i&&(R.autoFocus=!0),h.props.tabIndex===void 0&&d==="selectedMenu"&&(R.tabIndex=0),b.cloneElement(h,R)}return h});return g.jsx(LO,{role:"menu",ref:w,className:s,onKeyDown:y,tabIndex:o?0:-1,...f,children:S})});function NO(e){return Oe("MuiPopover",e)}Ee("MuiPopover",["root","paper"]);function Rb(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Pb(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Tb(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function lg(e){return typeof e=="function"?e():e}const DO=e=>{const{classes:t}=e;return Ne({root:["root"],paper:["paper"]},NO,t)},jO=J(nO,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),h_=J(Es,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),m_=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:c,className:u,container:d,elevation:f=8,marginThreshold:p=16,open:m,PaperProps:y={},slots:w={},slotProps:v={},transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:h=sc,transitionDuration:C="auto",TransitionProps:{onEntering:R,..._}={},disableScrollLock:T=!1,...P}=r,k=(v==null?void 0:v.paper)??y,x=b.useRef(),$={...r,anchorOrigin:a,anchorReference:l,elevation:f,marginThreshold:p,externalPaperSlotProps:k,transformOrigin:S,TransitionComponent:h,transitionDuration:C,TransitionProps:_},I=DO($),O=b.useCallback(()=>{if(l==="anchorPosition")return s;const K=lg(i),q=(K&&K.nodeType===1?K:sn(x.current).body).getBoundingClientRect();return{top:q.top+Rb(q,a.vertical),left:q.left+Pb(q,a.horizontal)}},[i,a.horizontal,a.vertical,s,l]),D=b.useCallback(K=>({vertical:Rb(K,S.vertical),horizontal:Pb(K,S.horizontal)}),[S.horizontal,S.vertical]),M=b.useCallback(K=>{const se={width:K.offsetWidth,height:K.offsetHeight},q=D(se);if(l==="none")return{top:null,left:null,transformOrigin:Tb(q)};const ce=O();let ue=ce.top-q.vertical,ie=ce.left-q.horizontal;const te=ue+se.height,de=ie+se.width,Q=Fr(lg(i)),be=Q.innerHeight-p,Pe=Q.innerWidth-p;if(p!==null&&uebe){const we=te-be;ue-=we,q.vertical+=we}if(p!==null&&iePe){const we=de-Pe;ie-=we,q.horizontal+=we}return{top:`${Math.round(ue)}px`,left:`${Math.round(ie)}px`,transformOrigin:Tb(q)}},[i,l,O,D,p]),[A,N]=b.useState(m),E=b.useCallback(()=>{const K=x.current;if(!K)return;const se=M(K);se.top!==null&&K.style.setProperty("top",se.top),se.left!==null&&(K.style.left=se.left),K.style.transformOrigin=se.transformOrigin,N(!0)},[M]);b.useEffect(()=>(T&&window.addEventListener("scroll",E),()=>window.removeEventListener("scroll",E)),[i,T,E]);const L=(K,se)=>{R&&R(K,se),E()},B=()=>{N(!1)};b.useEffect(()=>{m&&E()}),b.useImperativeHandle(o,()=>m?{updatePosition:()=>{E()}}:null,[m,E]),b.useEffect(()=>{if(!m)return;const K=Jf(()=>{E()}),se=Fr(i);return se.addEventListener("resize",K),()=>{K.clear(),se.removeEventListener("resize",K)}},[i,m,E]);let H=C;C==="auto"&&!h.muiSupportAuto&&(H=void 0);const z=d||(i?sn(lg(i)).body:void 0),j={slots:w,slotProps:{...v,paper:k}},[F,W]=on("paper",{elementType:h_,externalForwardedProps:j,additionalProps:{elevation:f,className:ve(I.paper,k==null?void 0:k.className),style:A?k.style:{...k.style,opacity:0}},ownerState:$}),[V,{slotProps:ee,...re}]=on("root",{elementType:jO,externalForwardedProps:j,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:z,open:m},ownerState:$,className:ve(I.root,u)}),U=Ct(x,W.ref);return g.jsx(V,{...re,...!Od(V)&&{slotProps:ee,disableScrollLock:T},...P,ref:n,children:g.jsx(h,{appear:!0,in:m,onEntering:L,onExited:B,timeout:H,..._,children:g.jsx(F,{...W,ref:U,children:c})})})});function FO(e){return Oe("MuiMenu",e)}Ee("MuiMenu",["root","paper","list"]);const BO={vertical:"top",horizontal:"right"},zO={vertical:"top",horizontal:"left"},HO=e=>{const{classes:t}=e;return Ne({root:["root"],paper:["paper"],list:["list"]},FO,t)},VO=J(m_,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),WO=J(h_,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),UO=J(AO,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),v1=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:c,open:u,PaperProps:d={},PopoverClasses:f,transitionDuration:p="auto",TransitionProps:{onEntering:m,...y}={},variant:w="selectedMenu",slots:v={},slotProps:S={},...h}=r,C=ks(),R={...r,autoFocus:o,disableAutoFocusItem:s,MenuListProps:l,onEntering:m,PaperProps:d,transitionDuration:p,TransitionProps:y,variant:w},_=HO(R),T=o&&!s&&u,P=b.useRef(null),k=(A,N)=>{P.current&&P.current.adjustStyleForScrollbar(A,{direction:C?"rtl":"ltr"}),m&&m(A,N)},x=A=>{A.key==="Tab"&&(A.preventDefault(),c&&c(A,"tabKeyDown"))};let $=-1;b.Children.map(i,(A,N)=>{b.isValidElement(A)&&(A.props.disabled||(w==="selectedMenu"&&A.props.selected||$===-1)&&($=N))});const I=v.paper??WO,O=S.paper??d,D=Ji({elementType:v.root,externalSlotProps:S.root,ownerState:R,className:[_.root,a]}),M=Ji({elementType:I,externalSlotProps:O,ownerState:R,className:_.paper});return g.jsx(VO,{onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?BO:zO,slots:{paper:I,root:v.root},slotProps:{root:D,paper:M},open:u,ref:n,transitionDuration:p,TransitionProps:{onEntering:k,...y},ownerState:R,...h,classes:f,children:g.jsx(UO,{onKeyDown:x,actions:P,autoFocus:o&&($===-1||s),autoFocusItem:T,variant:w,...l,className:ve(_.list,l.className),children:i})})});function GO(e){return Oe("MuiMenuItem",e)}const Xs=Ee("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),qO=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},KO=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,l=Ne({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},GO,a);return{...a,...l}},ZO=J(Ro,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:qO})($e(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Xs.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Xs.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Xs.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Xs.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Xs.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${bb.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${bb.inset}`]:{marginLeft:52},[`& .${Cb.root}`]:{marginTop:0,marginBottom:0},[`& .${Cb.inset}`]:{paddingLeft:36},[`& .${wb.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${wb.root} svg`]:{fontSize:"1.25rem"}}}]}))),Tc=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:f,...p}=r,m=b.useContext(pm),y=b.useMemo(()=>({dense:a||m.dense||!1,disableGutters:l}),[m.dense,a,l]),w=b.useRef(null);Br(()=>{o&&w.current&&w.current.focus()},[o]);const v={...r,dense:y.dense,divider:s,disableGutters:l},S=KO(r),h=Ct(w,n);let C;return r.disabled||(C=d!==void 0?d:-1),g.jsx(pm.Provider,{value:y,children:g.jsx(ZO,{ref:h,role:u,tabIndex:C,component:i,focusVisibleClassName:ve(S.focusVisible,c),className:ve(S.root,f),...p,ownerState:v,classes:S})})});function QO(e){return Oe("MuiNativeSelect",e)}const y1=Ee("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),YO=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ae(n)}`,i&&"iconOpen",r&&"disabled"]};return Ne(s,QO,t)},v_=J("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${y1.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",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}}}]})),XO=J(v_,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Sn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${y1.multiple}`]:t.multiple}]}})({}),y_=J("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${y1.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),JO=J(y_,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ae(n.variant)}`],n.open&&t.iconOpen]}})({}),e7=b.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:a,inputRef:s,variant:l="standard",...c}=t,u={...t,disabled:o,variant:l,error:i},d=YO(u);return g.jsxs(b.Fragment,{children:[g.jsx(XO,{ownerState:u,className:ve(d.select,r),disabled:o,ref:s||n,...c}),t.multiple?null:g.jsx(JO,{as:a,ownerState:u,className:d.icon})]})});var kb;const t7=J("fieldset",{shouldForwardProp:Sn})({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%"}),n7=J("legend",{shouldForwardProp:Sn})($e(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.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:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function r7(e){const{children:t,classes:n,className:r,label:o,notched:i,...a}=e,s=o!=null&&o!=="",l={...e,notched:i,withLabel:s};return g.jsx(t7,{"aria-hidden":!0,className:r,ownerState:l,...a,children:g.jsx(n7,{ownerState:l,children:s?g.jsx("span",{children:o}):kb||(kb=g.jsx("span",{className:"notranslate",children:"​"}))})})}const o7=e=>{const{classes:t}=e,r=Ne({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},H6,t);return{...t,...r}},i7=J(op,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:np})($e(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${lr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${lr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${lr.focused} .${lr.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Ft()).map(([n])=>({props:{color:n},style:{[`&.${lr.focused} .${lr.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${lr.error} .${lr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${lr.disabled} .${lr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),a7=J(r7,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})($e(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),s7=J(ip,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:rp})($e(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?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:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),Dd=b.forwardRef(function(t,n){var r;const o=De({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:a=!1,inputComponent:s="input",label:l,multiline:c=!1,notched:u,slots:d={},type:f="text",...p}=o,m=o7(o),y=$o(),w=ca({props:o,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),v={...o,color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:y,fullWidth:a,hiddenLabel:w.hiddenLabel,multiline:c,size:w.size,type:f},S=d.root??i.Root??i7,h=d.input??i.Input??s7;return g.jsx(ap,{slots:{root:S,input:h},renderSuffix:C=>g.jsx(a7,{ownerState:v,className:m.notchedOutline,label:l!=null&&l!==""&&w.required?r||(r=g.jsxs(b.Fragment,{children:[l," ","*"]})):l,notched:typeof u<"u"?u:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:a,inputComponent:s,multiline:c,ref:n,type:f,...p,classes:{...m,notchedOutline:null}})});Dd&&(Dd.muiName="Input");const l7=cn(g.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),c7=cn(g.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),u7=cn(g.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),d7=cn(g.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),f7=J("span",{shouldForwardProp:Sn})({position:"relative",display:"flex"}),p7=J(u7)({transform:"scale(1)"}),g7=J(d7)($e(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function b_(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o={...e,checked:t};return g.jsxs(f7,{className:n.root,ownerState:o,children:[g.jsx(p7,{fontSize:r,className:n.background,ownerState:o}),g.jsx(g7,{fontSize:r,className:n.dot,ownerState:o})]})}const h7=b.createContext(void 0);function m7(){return b.useContext(h7)}function v7(e){return Oe("MuiRadio",e)}const $b=Ee("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),y7=e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${ae(n)}`,r!=="medium"&&`size${ae(r)}`]};return{...t,...Ne(o,v7,t)}},b7=J(m1,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${ae(n.size)}`],t[`color${ae(n.color)}`]]}})($e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${$b.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Ft()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${$b.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function x7(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Eb=g.jsx(b_,{checked:!0}),Mb=g.jsx(b_,{}),S7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiRadio"}),{checked:o,checkedIcon:i=Eb,color:a="primary",icon:s=Mb,name:l,onChange:c,size:u="medium",className:d,disabled:f,disableRipple:p=!1,...m}=r,y=$o();let w=f;y&&typeof w>"u"&&(w=y.disabled),w??(w=!1);const v={...r,disabled:w,disableRipple:p,color:a,size:u},S=y7(v),h=m7();let C=o;const R=om(c,h&&h.onChange);let _=l;return h&&(typeof C>"u"&&(C=x7(h.value,r.value)),typeof _>"u"&&(_=h.name)),g.jsx(b7,{type:"radio",icon:b.cloneElement(s,{fontSize:Mb.props.fontSize??u}),checkedIcon:b.cloneElement(i,{fontSize:Eb.props.fontSize??u}),disabled:w,ownerState:v,classes:S,name:_,checked:C,onChange:R,ref:n,className:ve(S.root,d),...m})});function w7(e){return Oe("MuiSelect",e)}const Js=Ee("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Ib;const C7=J(v_,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Js.select}`]:t.select},{[`&.${Js.select}`]:t[n.variant]},{[`&.${Js.error}`]:t.error},{[`&.${Js.multiple}`]:t.multiple}]}})({[`&.${Js.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),_7=J(y_,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ae(n.variant)}`],n.open&&t.iconOpen]}})({}),R7=J("input",{shouldForwardProp:e=>WC(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ob(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function P7(e){return e==null||typeof e=="string"&&!e.trim()}const T7=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ae(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Ne(s,w7,t)},k7=b.forwardRef(function(t,n){var Le;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:a,children:s,className:l,defaultOpen:c,defaultValue:u,disabled:d,displayEmpty:f,error:p=!1,IconComponent:m,inputRef:y,labelId:w,MenuProps:v={},multiple:S,name:h,onBlur:C,onChange:R,onClose:_,onFocus:T,onOpen:P,open:k,readOnly:x,renderValue:$,SelectDisplayProps:I={},tabIndex:O,type:D,value:M,variant:A="standard",...N}=t,[E,L]=Fi({controlled:M,default:u,name:"Select"}),[B,H]=Fi({controlled:k,default:c,name:"Select"}),z=b.useRef(null),j=b.useRef(null),[F,W]=b.useState(null),{current:V}=b.useRef(k!=null),[ee,re]=b.useState(),U=Ct(n,y),K=b.useCallback(fe=>{j.current=fe,fe&&W(fe)},[]),se=F==null?void 0:F.parentNode;b.useImperativeHandle(U,()=>({focus:()=>{j.current.focus()},node:z.current,value:E}),[E]),b.useEffect(()=>{c&&B&&F&&!V&&(re(a?null:se.clientWidth),j.current.focus())},[F,a]),b.useEffect(()=>{i&&j.current.focus()},[i]),b.useEffect(()=>{if(!w)return;const fe=sn(j.current).getElementById(w);if(fe){const oe=()=>{getSelection().isCollapsed&&j.current.focus()};return fe.addEventListener("click",oe),()=>{fe.removeEventListener("click",oe)}}},[w]);const q=(fe,oe)=>{fe?P&&P(oe):_&&_(oe),V||(re(a?null:se.clientWidth),H(fe))},ce=fe=>{fe.button===0&&(fe.preventDefault(),j.current.focus(),q(!0,fe))},ue=fe=>{q(!1,fe)},ie=b.Children.toArray(s),te=fe=>{const oe=ie.find(me=>me.props.value===fe.target.value);oe!==void 0&&(L(oe.props.value),R&&R(fe,oe))},de=fe=>oe=>{let me;if(oe.currentTarget.hasAttribute("tabindex")){if(S){me=Array.isArray(E)?E.slice():[];const je=E.indexOf(fe.props.value);je===-1?me.push(fe.props.value):me.splice(je,1)}else me=fe.props.value;if(fe.props.onClick&&fe.props.onClick(oe),E!==me&&(L(me),R)){const je=oe.nativeEvent||oe,He=new je.constructor(je.type,je);Object.defineProperty(He,"target",{writable:!0,value:{value:me,name:h}}),R(He,fe)}S||q(!1,oe)}},Q=fe=>{x||[" ","ArrowUp","ArrowDown","Enter"].includes(fe.key)&&(fe.preventDefault(),q(!0,fe))},be=F!==null&&B,Pe=fe=>{!be&&C&&(Object.defineProperty(fe,"target",{writable:!0,value:{value:E,name:h}}),C(fe))};delete N["aria-invalid"];let we,ge;const le=[];let Se=!1;(Ld({value:E})||f)&&($?we=$(E):Se=!0);const ye=ie.map(fe=>{if(!b.isValidElement(fe))return null;let oe;if(S){if(!Array.isArray(E))throw new Error(Zi(2));oe=E.some(me=>Ob(me,fe.props.value)),oe&&Se&&le.push(fe.props.children)}else oe=Ob(E,fe.props.value),oe&&Se&&(ge=fe.props.children);return b.cloneElement(fe,{"aria-selected":oe?"true":"false",onClick:de(fe),onKeyUp:me=>{me.key===" "&&me.preventDefault(),fe.props.onKeyUp&&fe.props.onKeyUp(me)},role:"option",selected:oe,value:void 0,"data-value":fe.props.value})});Se&&(S?le.length===0?we=null:we=le.reduce((fe,oe,me)=>(fe.push(oe),me{const{classes:t}=e;return t},b1={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Sn(e)&&e!=="variant",slot:"Root"},E7=J(Nd,b1)(""),M7=J(Dd,b1)(""),I7=J(Ad,b1)(""),sp=b.forwardRef(function(t,n){const r=De({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=d_,id:d,input:f,inputProps:p,label:m,labelId:y,MenuProps:w,multiple:v=!1,native:S=!1,onClose:h,onOpen:C,open:R,renderValue:_,SelectDisplayProps:T,variant:P="outlined",...k}=r,x=S?e7:k7,$=$o(),I=ca({props:r,muiFormControl:$,states:["variant","error"]}),O=I.variant||P,D={...r,variant:O,classes:a},M=$7(D),{root:A,...N}=M,E=f||{standard:g.jsx(E7,{ownerState:D}),outlined:g.jsx(M7,{label:m,ownerState:D}),filled:g.jsx(I7,{ownerState:D})}[O],L=Ct(n,la(E));return g.jsx(b.Fragment,{children:b.cloneElement(E,{inputComponent:x,inputProps:{children:i,error:I.error,IconComponent:u,variant:O,type:void 0,multiple:v,...S?{id:d}:{autoWidth:o,defaultOpen:l,displayEmpty:c,labelId:y,MenuProps:w,onClose:h,onOpen:C,open:R,renderValue:_,SelectDisplayProps:{id:d,...T}},...p,classes:p?oo(N,p.classes):N,...f?f.props.inputProps:{}},...(v&&S||c)&&O==="outlined"?{notched:!0}:{},ref:L,className:ve(E.props.className,s,M.root),...!f&&{variant:O},...k})})});sp.muiName="Select";function O7(e){return Oe("MuiTooltip",e)}const $t=Ee("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function L7(e){return Math.round(e*1e5)/1e5}const A7=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${ae(i.split("-")[0])}`],arrow:["arrow"]};return Ne(a,O7,t)},N7=J(Pc,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})($e(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${$t.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${$t.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${$t.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${$t.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${$t.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${$t.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${$t.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${$t.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),D7=J("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ae(n.placement.split("-")[0])}`]]}})($e(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Be(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${$t.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${$t.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${$t.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${$t.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${L7(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${$t.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${$t.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${$t.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${$t.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${$t.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${$t.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${$t.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${$t.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${$t.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${$t.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),j7=J("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})($e(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Be(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let du=!1;const Lb=new ep;let el={x:0,y:0};function fu(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const F7=b.forwardRef(function(t,n){var Vn,Mo,wi;const r=De({props:t,name:"MuiTooltip"}),{arrow:o=!1,children:i,classes:a,components:s={},componentsProps:l={},describeChild:c=!1,disableFocusListener:u=!1,disableHoverListener:d=!1,disableInteractive:f=!1,disableTouchListener:p=!1,enterDelay:m=100,enterNextDelay:y=0,enterTouchDelay:w=700,followCursor:v=!1,id:S,leaveDelay:h=0,leaveTouchDelay:C=1500,onClose:R,onOpen:_,open:T,placement:P="bottom",PopperComponent:k,PopperProps:x={},slotProps:$={},slots:I={},title:O,TransitionComponent:D=sc,TransitionProps:M,...A}=r,N=b.isValidElement(i)?i:g.jsx("span",{children:i}),E=zt(),L=ks(),[B,H]=b.useState(),[z,j]=b.useState(null),F=b.useRef(!1),W=f||v,V=Oi(),ee=Oi(),re=Oi(),U=Oi(),[K,se]=Fi({controlled:T,default:!1,name:"Tooltip",state:"open"});let q=K;const ce=us(S),ue=b.useRef(),ie=yn(()=>{ue.current!==void 0&&(document.body.style.WebkitUserSelect=ue.current,ue.current=void 0),U.clear()});b.useEffect(()=>ie,[ie]);const te=Fe=>{Lb.clear(),du=!0,se(!0),_&&!q&&_(Fe)},de=yn(Fe=>{Lb.start(800+h,()=>{du=!1}),se(!1),R&&q&&R(Fe),V.start(E.transitions.duration.shortest,()=>{F.current=!1})}),Q=Fe=>{F.current&&Fe.type!=="touchstart"||(B&&B.removeAttribute("title"),ee.clear(),re.clear(),m||du&&y?ee.start(du?y:m,()=>{te(Fe)}):te(Fe))},be=Fe=>{ee.clear(),re.start(h,()=>{de(Fe)})},[,Pe]=b.useState(!1),we=Fe=>{$d(Fe.target)||(Pe(!1),be(Fe))},ge=Fe=>{B||H(Fe.currentTarget),$d(Fe.target)&&(Pe(!0),Q(Fe))},le=Fe=>{F.current=!0;const Cn=N.props;Cn.onTouchStart&&Cn.onTouchStart(Fe)},Se=Fe=>{le(Fe),re.clear(),V.clear(),ie(),ue.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",U.start(w,()=>{document.body.style.WebkitUserSelect=ue.current,Q(Fe)})},ye=Fe=>{N.props.onTouchEnd&&N.props.onTouchEnd(Fe),ie(),re.start(C,()=>{de(Fe)})};b.useEffect(()=>{if(!q)return;function Fe(Cn){Cn.key==="Escape"&&de(Cn)}return document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}},[de,q]);const Ue=Ct(la(N),H,n);!O&&O!==0&&(q=!1);const Te=b.useRef(),Re=Fe=>{const Cn=N.props;Cn.onMouseMove&&Cn.onMouseMove(Fe),el={x:Fe.clientX,y:Fe.clientY},Te.current&&Te.current.update()},ke={},pe=typeof O=="string";c?(ke.title=!q&&pe&&!d?O:null,ke["aria-describedby"]=q?ce:null):(ke["aria-label"]=pe?O:null,ke["aria-labelledby"]=q&&!pe?ce:null);const ne={...ke,...A,...N.props,className:ve(A.className,N.props.className),onTouchStart:le,ref:Ue,...v?{onMouseMove:Re}:{}},xe={};p||(ne.onTouchStart=Se,ne.onTouchEnd=ye),d||(ne.onMouseOver=fu(Q,ne.onMouseOver),ne.onMouseLeave=fu(be,ne.onMouseLeave),W||(xe.onMouseOver=Q,xe.onMouseLeave=be)),u||(ne.onFocus=fu(ge,ne.onFocus),ne.onBlur=fu(we,ne.onBlur),W||(xe.onFocus=ge,xe.onBlur=we));const Le=b.useMemo(()=>{var Cn;let Fe=[{name:"arrow",enabled:!!z,options:{element:z,padding:4}}];return(Cn=x.popperOptions)!=null&&Cn.modifiers&&(Fe=Fe.concat(x.popperOptions.modifiers)),{...x.popperOptions,modifiers:Fe}},[z,x]),fe={...r,isRtl:L,arrow:o,disableInteractive:W,placement:P,PopperComponentProp:k,touch:F.current},oe=A7(fe),me=I.popper??s.Popper??N7,je=I.transition??s.Transition??D??sc,He=I.tooltip??s.Tooltip??D7,Qe=I.arrow??s.Arrow??j7,_t=za(me,{...x,...$.popper??l.popper,className:ve(oe.popper,x==null?void 0:x.className,(Vn=$.popper??l.popper)==null?void 0:Vn.className)},fe),Zt=za(je,{...M,...$.transition??l.transition},fe),En=za(He,{...$.tooltip??l.tooltip,className:ve(oe.tooltip,(Mo=$.tooltip??l.tooltip)==null?void 0:Mo.className)},fe),ir=za(Qe,{...$.arrow??l.arrow,className:ve(oe.arrow,(wi=$.arrow??l.arrow)==null?void 0:wi.className)},fe);return g.jsxs(b.Fragment,{children:[b.cloneElement(N,ne),g.jsx(me,{as:k??Pc,placement:P,anchorEl:v?{getBoundingClientRect:()=>({top:el.y,left:el.x,right:el.x,bottom:el.y,width:0,height:0})}:B,popperRef:Te,open:B?q:!1,id:ce,transition:!0,...xe,..._t,popperOptions:Le,children:({TransitionProps:Fe})=>g.jsx(je,{timeout:E.transitions.duration.shorter,...Fe,...Zt,children:g.jsxs(He,{...En,children:[O,o?g.jsx(Qe,{...ir,ref:j}):null]})})})]})}),B7=yE({createStyledComponent:J("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>De({props:e,name:"MuiStack"})});function z7(e){return Oe("MuiSwitch",e)}const Rn=Ee("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),H7=e=>{const{classes:t,edge:n,size:r,color:o,checked:i,disabled:a}=e,s={root:["root",n&&`edge${ae(n)}`,`size${ae(r)}`],switchBase:["switchBase",`color${ae(o)}`,i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Ne(s,z7,t);return{...t,...l}},V7=J("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${ae(n.edge)}`],t[`size${ae(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Rn.thumb}`]:{width:16,height:16},[`& .${Rn.switchBase}`]:{padding:4,[`&.${Rn.checked}`]:{transform:"translateX(16px)"}}}}]}),W7=J(m1,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${Rn.input}`]:t.input},n.color!=="default"&&t[`color${ae(n.color)}`]]}})($e(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Rn.checked}`]:{transform:"translateX(20px)"},[`&.${Rn.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Rn.checked} + .${Rn.track}`]:{opacity:.5},[`&.${Rn.disabled} + .${Rn.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Rn.input}`]:{left:"-100%",width:"300%"}})),$e(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(Ft(["light"])).map(([t])=>({props:{color:t},style:{[`&.${Rn.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Be(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Rn.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?Xi(e.palette[t].main,.62):Yi(e.palette[t].main,.55)}`}},[`&.${Rn.checked} + .${Rn.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),U7=J("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})($e(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),G7=J("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})($e(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),q7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiSwitch"}),{className:o,color:i="primary",edge:a=!1,size:s="medium",sx:l,...c}=r,u={...r,color:i,edge:a,size:s},d=H7(u),f=g.jsx(G7,{className:d.thumb,ownerState:u});return g.jsxs(V7,{className:ve(d.root,o),sx:l,ownerState:u,children:[g.jsx(W7,{type:"checkbox",icon:f,checkedIcon:f,ref:n,ownerState:u,...c,classes:{...d,root:d.switchBase}}),g.jsx(U7,{className:d.track,ownerState:u})]})});function K7(e){return Oe("MuiTab",e)}const ar=Ee("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),Z7=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e,c={root:["root",i&&a&&"labelIcon",`textColor${ae(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]};return Ne(c,K7,t)},Q7=J(Ro,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${ae(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${ar.iconWrapper}`]:t.iconWrapper},{[`& .${ar.icon}`]:t.icon}]}})($e(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&(t.iconPosition==="top"||t.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&t.iconPosition!=="top"&&t.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="top",style:{[`& > .${ar.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="bottom",style:{[`& > .${ar.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="start",style:{[`& > .${ar.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="end",style:{[`& > .${ar.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${ar.selected}`]:{opacity:1},[`&.${ar.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${ar.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${ar.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${ar.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${ar.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),Y7=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTab"}),{className:o,disabled:i=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:d,onChange:f,onClick:p,onFocus:m,selected:y,selectionFollowsFocus:w,textColor:v="inherit",value:S,wrapped:h=!1,...C}=r,R={...r,disabled:i,disableFocusRipple:a,selected:y,icon:!!l,iconPosition:c,label:!!d,fullWidth:s,textColor:v,wrapped:h},_=Z7(R),T=l&&d&&b.isValidElement(l)?b.cloneElement(l,{className:ve(_.icon,l.props.className)}):l,P=x=>{!y&&f&&f(x,S),p&&p(x)},k=x=>{w&&!y&&f&&f(x,S),m&&m(x)};return g.jsxs(Q7,{focusRipple:!a,className:ve(_.root,o),ref:n,role:"tab","aria-selected":y,disabled:i,onClick:P,onFocus:k,ownerState:R,tabIndex:y?0:-1,...C,children:[c==="top"||c==="start"?g.jsxs(b.Fragment,{children:[T,d]}):g.jsxs(b.Fragment,{children:[d,T]}),u]})}),x_=b.createContext();function X7(e){return Oe("MuiTable",e)}Ee("MuiTable",["root","stickyHeader"]);const J7=e=>{const{classes:t,stickyHeader:n}=e;return Ne({root:["root",n&&"stickyHeader"]},X7,t)},eL=J("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})($e(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),Ab="table",tL=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTable"}),{className:o,component:i=Ab,padding:a="normal",size:s="medium",stickyHeader:l=!1,...c}=r,u={...r,component:i,padding:a,size:s,stickyHeader:l},d=J7(u),f=b.useMemo(()=>({padding:a,size:s,stickyHeader:l}),[a,s,l]);return g.jsx(x_.Provider,{value:f,children:g.jsx(eL,{as:i,role:i===Ab?null:"table",ref:n,className:ve(d.root,o),ownerState:u,...c})})}),kc=b.createContext();function nL(e){return Oe("MuiTableBody",e)}Ee("MuiTableBody",["root"]);const rL=e=>{const{classes:t}=e;return Ne({root:["root"]},nL,t)},oL=J("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),iL={variant:"body"},Nb="tbody",aL=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableBody"}),{className:o,component:i=Nb,...a}=r,s={...r,component:i},l=rL(s);return g.jsx(kc.Provider,{value:iL,children:g.jsx(oL,{className:ve(l.root,o),as:i,ref:n,role:i===Nb?null:"rowgroup",ownerState:s,...a})})});function sL(e){return Oe("MuiTableCell",e)}const lL=Ee("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),cL=e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:a}=e,s={root:["root",n,a&&"stickyHeader",r!=="inherit"&&`align${ae(r)}`,o!=="normal"&&`padding${ae(o)}`,`size${ae(i)}`]};return Ne(s,sL,t)},uL=J("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ae(n.size)}`],n.padding!=="normal"&&t[`padding${ae(n.padding)}`],n.align!=="inherit"&&t[`align${ae(n.align)}`],n.stickyHeader&&t.stickyHeader]}})($e(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?Xi(Be(e.palette.divider,1),.88):Yi(Be(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${lL.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),vs=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableCell"}),{align:o="inherit",className:i,component:a,padding:s,scope:l,size:c,sortDirection:u,variant:d,...f}=r,p=b.useContext(x_),m=b.useContext(kc),y=m&&m.variant==="head";let w;a?w=a:w=y?"th":"td";let v=l;w==="td"?v=void 0:!v&&y&&(v="col");const S=d||m&&m.variant,h={...r,align:o,component:w,padding:s||(p&&p.padding?p.padding:"normal"),size:c||(p&&p.size?p.size:"medium"),sortDirection:u,stickyHeader:S==="head"&&p&&p.stickyHeader,variant:S},C=cL(h);let R=null;return u&&(R=u==="asc"?"ascending":"descending"),g.jsx(uL,{as:w,ref:n,className:ve(C.root,i),"aria-sort":R,scope:v,ownerState:h,...f})});function dL(e){return Oe("MuiTableContainer",e)}Ee("MuiTableContainer",["root"]);const fL=e=>{const{classes:t}=e;return Ne({root:["root"]},dL,t)},pL=J("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),gL=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableContainer"}),{className:o,component:i="div",...a}=r,s={...r,component:i},l=fL(s);return g.jsx(pL,{ref:n,as:i,className:ve(l.root,o),ownerState:s,...a})});function hL(e){return Oe("MuiTableFooter",e)}Ee("MuiTableFooter",["root"]);const mL=e=>{const{classes:t}=e;return Ne({root:["root"]},hL,t)},vL=J("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),yL={variant:"footer"},Db="tfoot",bL=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableFooter"}),{className:o,component:i=Db,...a}=r,s={...r,component:i},l=mL(s);return g.jsx(kc.Provider,{value:yL,children:g.jsx(vL,{as:i,className:ve(l.root,o),ref:n,role:i===Db?null:"rowgroup",ownerState:s,...a})})});function xL(e){return Oe("MuiTableHead",e)}Ee("MuiTableHead",["root"]);const SL=e=>{const{classes:t}=e;return Ne({root:["root"]},xL,t)},wL=J("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),CL={variant:"head"},jb="thead",_L=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableHead"}),{className:o,component:i=jb,...a}=r,s={...r,component:i},l=SL(s);return g.jsx(kc.Provider,{value:CL,children:g.jsx(wL,{as:i,className:ve(l.root,o),ref:n,role:i===jb?null:"rowgroup",ownerState:s,...a})})});function RL(e){return Oe("MuiToolbar",e)}Ee("MuiToolbar",["root","gutters","regular","dense"]);const PL=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Ne({root:["root",!n&&"gutters",r]},RL,t)},TL=J("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})($e(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),S_=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:s="regular",...l}=r,c={...r,component:i,disableGutters:a,variant:s},u=PL(c);return g.jsx(TL,{as:i,className:ve(u.root,o),ref:n,ownerState:c,...l})}),w_=cn(g.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),C_=cn(g.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),kL=b.forwardRef(function(t,n){const{backIconButtonProps:r,count:o,disabled:i=!1,getItemAriaLabel:a,nextIconButtonProps:s,onPageChange:l,page:c,rowsPerPage:u,showFirstButton:d,showLastButton:f,slots:p={},slotProps:m={},...y}=t,w=ks(),v=H=>{l(H,0)},S=H=>{l(H,c-1)},h=H=>{l(H,c+1)},C=H=>{l(H,Math.max(0,Math.ceil(o/u)-1))},R=p.firstButton??hr,_=p.lastButton??hr,T=p.nextButton??hr,P=p.previousButton??hr,k=p.firstButtonIcon??l7,x=p.lastButtonIcon??c7,$=p.nextButtonIcon??C_,I=p.previousButtonIcon??w_,O=w?_:R,D=w?T:P,M=w?P:T,A=w?R:_,N=w?m.lastButton:m.firstButton,E=w?m.nextButton:m.previousButton,L=w?m.previousButton:m.nextButton,B=w?m.firstButton:m.lastButton;return g.jsxs("div",{ref:n,...y,children:[d&&g.jsx(O,{onClick:v,disabled:i||c===0,"aria-label":a("first",c),title:a("first",c),...N,children:w?g.jsx(x,{...m.lastButtonIcon}):g.jsx(k,{...m.firstButtonIcon})}),g.jsx(D,{onClick:S,disabled:i||c===0,color:"inherit","aria-label":a("previous",c),title:a("previous",c),...E??r,children:w?g.jsx($,{...m.nextButtonIcon}):g.jsx(I,{...m.previousButtonIcon})}),g.jsx(M,{onClick:h,disabled:i||(o!==-1?c>=Math.ceil(o/u)-1:!1),color:"inherit","aria-label":a("next",c),title:a("next",c),...L??s,children:w?g.jsx(I,{...m.previousButtonIcon}):g.jsx($,{...m.nextButtonIcon})}),f&&g.jsx(A,{onClick:C,disabled:i||c>=Math.ceil(o/u)-1,"aria-label":a("last",c),title:a("last",c),...B,children:w?g.jsx(k,{...m.firstButtonIcon}):g.jsx(x,{...m.lastButtonIcon})})]})});function $L(e){return Oe("MuiTablePagination",e)}const El=Ee("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Fb;const EL=J(vs,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})($e(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),ML=J(S_,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${El.actions}`]:t.actions,...t.toolbar})})($e(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${El.actions}`]:{flexShrink:0,marginLeft:20}}))),IL=J("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),OL=J("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})($e(({theme:e})=>({...e.typography.body2,flexShrink:0}))),LL=J(sp,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${El.selectIcon}`]:t.selectIcon,[`& .${El.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${El.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),AL=J(Tc,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),NL=J("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})($e(({theme:e})=>({...e.typography.body2,flexShrink:0})));function DL({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function jL(e){return`Go to ${e} page`}const FL=e=>{const{classes:t}=e;return Ne({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},$L,t)},BL=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTablePagination"}),{ActionsComponent:o=kL,backIconButtonProps:i,className:a,colSpan:s,component:l=vs,count:c,disabled:u=!1,getItemAriaLabel:d=jL,labelDisplayedRows:f=DL,labelRowsPerPage:p="Rows per page:",nextIconButtonProps:m,onPageChange:y,onRowsPerPageChange:w,page:v,rowsPerPage:S,rowsPerPageOptions:h=[10,25,50,100],SelectProps:C={},showFirstButton:R=!1,showLastButton:_=!1,slotProps:T={},slots:P={},...k}=r,x=r,$=FL(x),I=(T==null?void 0:T.select)??C,O=I.native?"option":AL;let D;(l===vs||l==="td")&&(D=s||1e3);const M=us(I.id),A=us(I.labelId),N=()=>c===-1?(v+1)*S:S===-1?c:Math.min(c,(v+1)*S);return g.jsx(EL,{colSpan:D,ref:n,as:l,ownerState:x,className:ve($.root,a),...k,children:g.jsxs(ML,{className:$.toolbar,children:[g.jsx(IL,{className:$.spacer}),h.length>1&&g.jsx(OL,{className:$.selectLabel,id:A,children:p}),h.length>1&&g.jsx(LL,{variant:"standard",...!I.variant&&{input:Fb||(Fb=g.jsx(ap,{}))},value:S,onChange:w,id:M,labelId:A,...I,classes:{...I.classes,root:ve($.input,$.selectRoot,(I.classes||{}).root),select:ve($.select,(I.classes||{}).select),icon:ve($.selectIcon,(I.classes||{}).icon)},disabled:u,children:h.map(E=>b.createElement(O,{...!Od(O)&&{ownerState:x},className:$.menuItem,key:E.label?E.label:E,value:E.value?E.value:E},E.label?E.label:E))}),g.jsx(NL,{className:$.displayedRows,children:f({from:c===0?0:v*S+1,to:N(),count:c===-1?-1:c,page:v})}),g.jsx(o,{className:$.actions,backIconButtonProps:i,count:c,nextIconButtonProps:m,onPageChange:y,page:v,rowsPerPage:S,showFirstButton:R,showLastButton:_,slotProps:T.actions,slots:P.actions,getItemAriaLabel:d,disabled:u})]})})});function zL(e){return Oe("MuiTableRow",e)}const Bb=Ee("MuiTableRow",["root","selected","hover","head","footer"]),HL=e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e;return Ne({root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]},zL,t)},VL=J("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})($e(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Bb.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Bb.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),zb="tr",lp=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableRow"}),{className:o,component:i=zb,hover:a=!1,selected:s=!1,...l}=r,c=b.useContext(kc),u={...r,component:i,hover:a,selected:s,head:c&&c.variant==="head",footer:c&&c.variant==="footer"},d=HL(u);return g.jsx(VL,{as:i,ref:n,className:ve(d.root,o),role:i===zb?null:"row",ownerState:u,...l})}),WL=cn(g.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function UL(e){return Oe("MuiTableSortLabel",e)}const cg=Ee("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),GL=e=>{const{classes:t,direction:n,active:r}=e,o={root:["root",r&&"active",`direction${ae(n)}`],icon:["icon",`iconDirection${ae(n)}`]};return Ne(o,UL,t)},qL=J(Ro,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})($e(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${cg.icon}`]:{opacity:.5}},[`&.${cg.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${cg.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),KL=J("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${ae(n.direction)}`]]}})($e(({theme:e})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]}))),ZL=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTableSortLabel"}),{active:o=!1,children:i,className:a,direction:s="asc",hideSortIcon:l=!1,IconComponent:c=WL,...u}=r,d={...r,active:o,direction:s,hideSortIcon:l,IconComponent:c},f=GL(d);return g.jsxs(qL,{className:ve(f.root,a),component:"span",disableRipple:!0,ownerState:d,ref:n,...u,children:[i,l&&!o?null:g.jsx(KL,{as:c,className:ve(f.icon),ownerState:d})]})});function QL(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function YL(e,t,n,r={},o=()=>{}){const{ease:i=QL,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=f=>{if(c){o(new Error("Animation cancelled"));return}s===null&&(s=f);const p=Math.min(1,(f-s)/a);if(t[e]=i(p)*(n-l)+l,p>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(d)};return l===n?(o(new Error("Element already at target position")),u):(requestAnimationFrame(d),u)}const XL={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function JL(e){const{onChange:t,...n}=e,r=b.useRef(),o=b.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return Br(()=>{const a=Jf(()=>{const l=r.current;i(),l!==r.current&&t(r.current)}),s=Fr(o.current);return s.addEventListener("resize",a),()=>{a.clear(),s.removeEventListener("resize",a)}},[t]),b.useEffect(()=>{i(),t(r.current)},[t]),g.jsx("div",{style:XL,ref:o,...n})}function eA(e){return Oe("MuiTabScrollButton",e)}const tA=Ee("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),nA=e=>{const{classes:t,orientation:n,disabled:r}=e;return Ne({root:["root",n,r&&"disabled"]},eA,t)},rA=J(Ro,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${tA.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),oA=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTabScrollButton"}),{className:o,slots:i={},slotProps:a={},direction:s,orientation:l,disabled:c,...u}=r,d=ks(),f={isRtl:d,...r},p=nA(f),m=i.StartScrollButtonIcon??w_,y=i.EndScrollButtonIcon??C_,w=Ji({elementType:m,externalSlotProps:a.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f}),v=Ji({elementType:y,externalSlotProps:a.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f});return g.jsx(rA,{component:"div",className:ve(p.root,o),ref:n,role:null,ownerState:f,tabIndex:null,...u,style:{...u.style,...l==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${d?-90:90}deg)`}},children:s==="left"?g.jsx(m,{...w}):g.jsx(y,{...v})})});function iA(e){return Oe("MuiTabs",e)}const ug=Ee("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Hb=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,Vb=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,pu=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const i=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||i)o=n(e,o);else{o.focus();return}}},aA=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return Ne({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},iA,l)},sA=J("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ug.scrollButtons}`]:t.scrollButtons},{[`& .${ug.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})($e(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${ug.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),lA=J("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),cA=J("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),uA=J("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})($e(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),dA=J(JL)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Wb={},fA=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTabs"}),o=zt(),i=ks(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:d,component:f="div",allowScrollButtonsMobile:p=!1,indicatorColor:m="primary",onChange:y,orientation:w="horizontal",ScrollButtonComponent:v=oA,scrollButtons:S="auto",selectionFollowsFocus:h,slots:C={},slotProps:R={},TabIndicatorProps:_={},TabScrollButtonProps:T={},textColor:P="primary",value:k,variant:x="standard",visibleScrollbar:$=!1,...I}=r,O=x==="scrollable",D=w==="vertical",M=D?"scrollTop":"scrollLeft",A=D?"top":"left",N=D?"bottom":"right",E=D?"clientHeight":"clientWidth",L=D?"height":"width",B={...r,component:f,allowScrollButtonsMobile:p,indicatorColor:m,orientation:w,vertical:D,scrollButtons:S,textColor:P,variant:x,visibleScrollbar:$,fixed:!O,hideScrollbar:O&&!$,scrollableX:O&&!D,scrollableY:O&&D,centered:c&&!O,scrollButtonsHideMobile:!p},H=aA(B),z=Ji({elementType:C.StartScrollButtonIcon,externalSlotProps:R.startScrollButtonIcon,ownerState:B}),j=Ji({elementType:C.EndScrollButtonIcon,externalSlotProps:R.endScrollButtonIcon,ownerState:B}),[F,W]=b.useState(!1),[V,ee]=b.useState(Wb),[re,U]=b.useState(!1),[K,se]=b.useState(!1),[q,ce]=b.useState(!1),[ue,ie]=b.useState({overflow:"hidden",scrollbarWidth:0}),te=new Map,de=b.useRef(null),Q=b.useRef(null),be=()=>{const oe=de.current;let me;if(oe){const He=oe.getBoundingClientRect();me={clientWidth:oe.clientWidth,scrollLeft:oe.scrollLeft,scrollTop:oe.scrollTop,scrollWidth:oe.scrollWidth,top:He.top,bottom:He.bottom,left:He.left,right:He.right}}let je;if(oe&&k!==!1){const He=Q.current.children;if(He.length>0){const Qe=He[te.get(k)];je=Qe?Qe.getBoundingClientRect():null}}return{tabsMeta:me,tabMeta:je}},Pe=yn(()=>{const{tabsMeta:oe,tabMeta:me}=be();let je=0,He;D?(He="top",me&&oe&&(je=me.top-oe.top+oe.scrollTop)):(He=i?"right":"left",me&&oe&&(je=(i?-1:1)*(me[He]-oe[He]+oe.scrollLeft)));const Qe={[He]:je,[L]:me?me[L]:0};if(typeof V[He]!="number"||typeof V[L]!="number")ee(Qe);else{const _t=Math.abs(V[He]-Qe[He]),Zt=Math.abs(V[L]-Qe[L]);(_t>=1||Zt>=1)&&ee(Qe)}}),we=(oe,{animation:me=!0}={})=>{me?YL(M,de.current,oe,{duration:o.transitions.duration.standard}):de.current[M]=oe},ge=oe=>{let me=de.current[M];D?me+=oe:me+=oe*(i?-1:1),we(me)},le=()=>{const oe=de.current[E];let me=0;const je=Array.from(Q.current.children);for(let He=0;Heoe){He===0&&(me=oe);break}me+=Qe[E]}return me},Se=()=>{ge(-1*le())},ye=()=>{ge(le())},Ue=b.useCallback(oe=>{ie({overflow:null,scrollbarWidth:oe})},[]),Te=()=>{const oe={};oe.scrollbarSizeListener=O?g.jsx(dA,{onChange:Ue,className:ve(H.scrollableX,H.hideScrollbar)}):null;const je=O&&(S==="auto"&&(re||K)||S===!0);return oe.scrollButtonStart=je?g.jsx(v,{slots:{StartScrollButtonIcon:C.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:z},orientation:w,direction:i?"right":"left",onClick:Se,disabled:!re,...T,className:ve(H.scrollButtons,T.className)}):null,oe.scrollButtonEnd=je?g.jsx(v,{slots:{EndScrollButtonIcon:C.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:j},orientation:w,direction:i?"left":"right",onClick:ye,disabled:!K,...T,className:ve(H.scrollButtons,T.className)}):null,oe},Re=yn(oe=>{const{tabsMeta:me,tabMeta:je}=be();if(!(!je||!me)){if(je[A]me[N]){const He=me[M]+(je[N]-me[N]);we(He,{animation:oe})}}}),ke=yn(()=>{O&&S!==!1&&ce(!q)});b.useEffect(()=>{const oe=Jf(()=>{de.current&&Pe()});let me;const je=_t=>{_t.forEach(Zt=>{Zt.removedNodes.forEach(En=>{me==null||me.unobserve(En)}),Zt.addedNodes.forEach(En=>{me==null||me.observe(En)})}),oe(),ke()},He=Fr(de.current);He.addEventListener("resize",oe);let Qe;return typeof ResizeObserver<"u"&&(me=new ResizeObserver(oe),Array.from(Q.current.children).forEach(_t=>{me.observe(_t)})),typeof MutationObserver<"u"&&(Qe=new MutationObserver(je),Qe.observe(Q.current,{childList:!0})),()=>{oe.clear(),He.removeEventListener("resize",oe),Qe==null||Qe.disconnect(),me==null||me.disconnect()}},[Pe,ke]),b.useEffect(()=>{const oe=Array.from(Q.current.children),me=oe.length;if(typeof IntersectionObserver<"u"&&me>0&&O&&S!==!1){const je=oe[0],He=oe[me-1],Qe={root:de.current,threshold:.99},_t=Vn=>{U(!Vn[0].isIntersecting)},Zt=new IntersectionObserver(_t,Qe);Zt.observe(je);const En=Vn=>{se(!Vn[0].isIntersecting)},ir=new IntersectionObserver(En,Qe);return ir.observe(He),()=>{Zt.disconnect(),ir.disconnect()}}},[O,S,q,u==null?void 0:u.length]),b.useEffect(()=>{W(!0)},[]),b.useEffect(()=>{Pe()}),b.useEffect(()=>{Re(Wb!==V)},[Re,V]),b.useImperativeHandle(l,()=>({updateIndicator:Pe,updateScrollButtons:ke}),[Pe,ke]);const pe=g.jsx(uA,{..._,className:ve(H.indicator,_.className),ownerState:B,style:{...V,..._.style}});let ne=0;const xe=b.Children.map(u,oe=>{if(!b.isValidElement(oe))return null;const me=oe.props.value===void 0?ne:oe.props.value;te.set(me,ne);const je=me===k;return ne+=1,b.cloneElement(oe,{fullWidth:x==="fullWidth",indicator:je&&!F&&pe,selected:je,selectionFollowsFocus:h,onChange:y,textColor:P,value:me,...ne===1&&k===!1&&!oe.props.tabIndex?{tabIndex:0}:{}})}),Le=oe=>{const me=Q.current,je=sn(me).activeElement;if(je.getAttribute("role")!=="tab")return;let Qe=w==="horizontal"?"ArrowLeft":"ArrowUp",_t=w==="horizontal"?"ArrowRight":"ArrowDown";switch(w==="horizontal"&&i&&(Qe="ArrowRight",_t="ArrowLeft"),oe.key){case Qe:oe.preventDefault(),pu(me,je,Vb);break;case _t:oe.preventDefault(),pu(me,je,Hb);break;case"Home":oe.preventDefault(),pu(me,null,Hb);break;case"End":oe.preventDefault(),pu(me,null,Vb);break}},fe=Te();return g.jsxs(sA,{className:ve(H.root,d),ownerState:B,ref:n,as:f,...I,children:[fe.scrollButtonStart,fe.scrollbarSizeListener,g.jsxs(lA,{className:H.scroller,ownerState:B,style:{overflow:ue.overflow,[D?`margin${i?"Left":"Right"}`:"marginBottom"]:$?void 0:-ue.scrollbarWidth},ref:de,children:[g.jsx(cA,{"aria-label":a,"aria-labelledby":s,"aria-orientation":w==="vertical"?"vertical":null,className:H.flexContainer,ownerState:B,onKeyDown:Le,ref:Q,role:"tablist",children:xe}),F&&pe]}),fe.scrollButtonEnd]})});function pA(e){return Oe("MuiTextField",e)}Ee("MuiTextField",["root"]);const gA={standard:Nd,filled:Ad,outlined:Dd},hA=e=>{const{classes:t}=e;return Ne({root:["root"]},pA,t)},mA=J(cO,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),vA=b.forwardRef(function(t,n){const r=De({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:u=!1,error:d=!1,FormHelperTextProps:f,fullWidth:p=!1,helperText:m,id:y,InputLabelProps:w,inputProps:v,InputProps:S,inputRef:h,label:C,maxRows:R,minRows:_,multiline:T=!1,name:P,onBlur:k,onChange:x,onFocus:$,placeholder:I,required:O=!1,rows:D,select:M=!1,SelectProps:A,slots:N={},slotProps:E={},type:L,value:B,variant:H="outlined",...z}=r,j={...r,autoFocus:i,color:l,disabled:u,error:d,fullWidth:p,multiline:T,required:O,select:M,variant:H},F=hA(j),W=us(y),V=m&&W?`${W}-helper-text`:void 0,ee=C&&W?`${W}-label`:void 0,re=gA[H],U={slots:N,slotProps:{input:S,inputLabel:w,htmlInput:v,formHelperText:f,select:A,...E}},K={},se=U.slotProps.inputLabel;H==="outlined"&&(se&&typeof se.shrink<"u"&&(K.notched=se.shrink),K.label=C),M&&((!A||!A.native)&&(K.id=void 0),K["aria-describedby"]=void 0);const[q,ce]=on("input",{elementType:re,externalForwardedProps:U,additionalProps:K,ownerState:j}),[ue,ie]=on("inputLabel",{elementType:EO,externalForwardedProps:U,ownerState:j}),[te,de]=on("htmlInput",{elementType:"input",externalForwardedProps:U,ownerState:j}),[Q,be]=on("formHelperText",{elementType:vO,externalForwardedProps:U,ownerState:j}),[Pe,we]=on("select",{elementType:sp,externalForwardedProps:U,ownerState:j}),ge=g.jsx(q,{"aria-describedby":V,autoComplete:o,autoFocus:i,defaultValue:c,fullWidth:p,multiline:T,name:P,rows:D,maxRows:R,minRows:_,type:L,value:B,id:W,inputRef:h,onBlur:k,onChange:x,onFocus:$,placeholder:I,inputProps:de,slots:{input:N.htmlInput?te:void 0},...ce});return g.jsxs(mA,{className:ve(F.root,s),disabled:u,error:d,fullWidth:p,ref:n,required:O,color:l,variant:H,ownerState:j,...z,children:[C!=null&&C!==""&&g.jsx(ue,{htmlFor:W,id:ee,...ie,children:C}),M?g.jsx(Pe,{"aria-describedby":V,id:W,labelId:ee,value:B,input:ge,...we,children:a}):ge,m&&g.jsx(Q,{id:V,...be,children:m})]})});var yA={exports:{}};/* @license -Papa Parse -v5.4.1 -https://github.com/mholt/PapaParse -License: MIT -*/(function(e,t){(function(n,r){e.exports=r()})(Al,function n(){var r=typeof self<"u"?self:typeof window<"u"?window:r!==void 0?r:{},o=!r.document&&!!r.postMessage,i=r.IS_PAPA_WORKER||!1,a={},s=0,l={parse:function(P,k){var x=(k=k||{}).dynamicTyping||!1;if(T(x)&&(k.dynamicTypingFunction=x,x={}),k.dynamicTyping=x,k.transform=!!T(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var $=function(){if(!l.WORKERS_SUPPORTED)return!1;var O=(M=r.URL||r.webkitURL||null,A=n.toString(),l.BLOB_URL||(l.BLOB_URL=M.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",A,")();"],{type:"text/javascript"})))),D=new r.Worker(O),M,A;return D.onmessage=S,D.id=s++,a[D.id]=D}();return $.userStep=k.step,$.userChunk=k.chunk,$.userComplete=k.complete,$.userError=k.error,k.step=T(k.step),k.chunk=T(k.chunk),k.complete=T(k.complete),k.error=T(k.error),delete k.worker,void $.postMessage({input:P,config:k,workerId:$.id})}var I=null;return l.NODE_STREAM_INPUT,typeof P=="string"?(P=function(O){return O.charCodeAt(0)===65279?O.slice(1):O}(P),I=k.download?new d(k):new p(k)):P.readable===!0&&T(P.read)&&T(P.on)?I=new m(k):(r.File&&P instanceof File||P instanceof Object)&&(I=new f(k)),I.stream(P)},unparse:function(P,k){var x=!1,$=!0,I=",",O=`\r -`,D='"',M=D+D,A=!1,N=null,E=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(z){return k.delimiter.indexOf(z)!==-1}).length||(I=k.delimiter),(typeof k.quotes=="boolean"||typeof k.quotes=="function"||Array.isArray(k.quotes))&&(x=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(A=k.skipEmptyLines),typeof k.newline=="string"&&(O=k.newline),typeof k.quoteChar=="string"&&(D=k.quoteChar),typeof k.header=="boolean"&&($=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");N=k.columns}k.escapeChar!==void 0&&(M=k.escapeChar+D),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&(E=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var L=new RegExp(w(D),"g");if(typeof P=="string"&&(P=JSON.parse(P)),Array.isArray(P)){if(!P.length||Array.isArray(P[0]))return B(null,P,A);if(typeof P[0]=="object")return B(N||Object.keys(P[0]),P,A)}else if(typeof P=="object")return typeof P.data=="string"&&(P.data=JSON.parse(P.data)),Array.isArray(P.data)&&(P.fields||(P.fields=P.meta&&P.meta.fields||N),P.fields||(P.fields=Array.isArray(P.data[0])?P.fields:typeof P.data[0]=="object"?Object.keys(P.data[0]):[]),Array.isArray(P.data[0])||typeof P.data[0]=="object"||(P.data=[P.data])),B(P.fields||[],P.data||[],A);throw new Error("Unable to serialize unrecognized input");function B(z,j,F){var W="";typeof z=="string"&&(z=JSON.parse(z)),typeof j=="string"&&(j=JSON.parse(j));var V=Array.isArray(z)&&0=this._config.preview;if(i)r.postMessage({results:O,workerId:l.WORKER_ID,finished:M});else if(T(this._config.chunk)&&!x){if(this._config.chunk(O,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);O=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(O.data),this._completeResults.errors=this._completeResults.errors.concat(O.errors),this._completeResults.meta=O.meta),this._completed||!M||!T(this._config.complete)||O&&O.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),M||O&&O.meta.paused||this._nextChunk(),O}this._halted=!0},this._sendError=function(k){T(this._config.error)?this._config.error(k):i&&this._config.error&&r.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function d(P){var k;(P=P||{}).chunkSize||(P.chunkSize=l.RemoteChunkSize),u.call(this,P),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(x){this._input=x,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(k=new XMLHttpRequest,this._config.withCredentials&&(k.withCredentials=this._config.withCredentials),o||(k.onload=_(this._chunkLoaded,this),k.onerror=_(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var x=this._config.downloadRequestHeaders;for(var $ in x)k.setRequestHeader($,x[$])}if(this._config.chunkSize){var I=this._start+this._config.chunkSize-1;k.setRequestHeader("Range","bytes="+this._start+"-"+I)}try{k.send(this._config.downloadRequestBody)}catch(O){this._chunkError(O.message)}o&&k.status===0&&this._chunkError()}},this._chunkLoaded=function(){k.readyState===4&&(k.status<200||400<=k.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:k.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(x){var $=x.getResponseHeader("Content-Range");return $===null?-1:parseInt($.substring($.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(x){var $=k.statusText||x;this._sendError(new Error($))}}function f(P){var k,x;(P=P||{}).chunkSize||(P.chunkSize=l.LocalChunkSize),u.call(this,P);var $=typeof FileReader<"u";this.stream=function(I){this._input=I,x=I.slice||I.webkitSlice||I.mozSlice,$?((k=new FileReader).onload=_(this._chunkLoaded,this),k.onerror=_(this._chunkError,this)):k=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(I.target.result)},this._chunkError=function(){this._sendError(k.error)}}function p(P){var k;u.call(this,P=P||{}),this.stream=function(x){return k=x,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var x,$=this._config.chunkSize;return $?(x=k.substring(0,$),k=k.substring($)):(x=k,k=""),this._finished=!k,this.parseChunk(x)}}}function m(P){u.call(this,P=P||{});var k=[],x=!0,$=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(I){this._input=I,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){$&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):x=!0},this._streamData=_(function(I){try{k.push(typeof I=="string"?I:I.toString(this._config.encoding)),x&&(x=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(O){this._streamError(O)}},this),this._streamError=_(function(I){this._streamCleanUp(),this._sendError(I)},this),this._streamEnd=_(function(){this._streamCleanUp(),$=!0,this._streamData("")},this),this._streamCleanUp=_(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function y(P){var k,x,$,I=Math.pow(2,53),O=-I,D=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,M=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,A=this,N=0,E=0,L=!1,B=!1,H=[],z={data:[],errors:[],meta:{}};if(T(P.step)){var j=P.step;P.step=function(U){if(z=U,V())W();else{if(W(),z.data.length===0)return;N+=U.data.length,P.preview&&N>P.preview?x.abort():(z.data=z.data[0],j(z,A))}}}function F(U){return P.skipEmptyLines==="greedy"?U.join("").trim()==="":U.length===1&&U[0].length===0}function W(){return z&&$&&(re("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),$=!1),P.skipEmptyLines&&(z.data=z.data.filter(function(U){return!F(U)})),V()&&function(){if(!z)return;function U(se,q){T(P.transformHeader)&&(se=P.transformHeader(se,q)),H.push(se)}if(Array.isArray(z.data[0])){for(var K=0;V()&&K=H.length?"__parsed_extra":H[ce]),P.transform&&(te=P.transform(te,ie)),te=ee(ie,te),ie==="__parsed_extra"?(ue[ie]=ue[ie]||[],ue[ie].push(te)):ue[ie]=te}return P.header&&(ce>H.length?re("FieldMismatch","TooManyFields","Too many fields: expected "+H.length+" fields but parsed "+ce,E+q):ce=Q.length/2?`\r -`:"\r"}(U,q)),$=!1,P.delimiter)T(P.delimiter)&&(P.delimiter=P.delimiter(U),z.meta.delimiter=P.delimiter);else{var ce=function(ie,te,de,Q,be){var Pe,we,ge,le;be=be||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var Se=0;Se=D)return xe(!0)}else for(ye=N,N++;;){if((ye=L.indexOf(k,ye+1))===-1)return H||re.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:ee.length,index:N}),pe();if(ye===z-1)return pe(L.substring(N,ye).replace(Se,k));if(k!==A||L[ye+1]!==A){if(k===A||ye===0||L[ye-1]!==A){ge!==-1&&ge=D)return xe(!0);break}re.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:ee.length,index:N}),ye++}}else ye++}return pe();function Re(fe){ee.push(fe),K=N}function ke(fe){var oe=0;if(fe!==-1){var me=L.substring(ye+1,fe);me&&me.trim()===""&&(oe=me.length)}return oe}function pe(fe){return H||(fe===void 0&&(fe=L.substring(N)),U.push(fe),N=z,Re(U),V&&Le()),xe()}function ne(fe){N=fe,Re(U),U=[],le=L.indexOf($,N)}function xe(fe){return{data:ee,errors:re,meta:{delimiter:x,linebreak:$,aborted:E,truncated:!!fe,cursor:K+(B||0)}}}function Le(){O(xe()),ee=[],re=[]}},this.abort=function(){E=!0},this.getCharIndex=function(){return N}}function S(P){var k=P.data,x=a[k.workerId],$=!1;if(k.error)x.userError(k.error,k.file);else if(k.results&&k.results.data){var I={abort:function(){$=!0,h(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:C,resume:C};if(T(x.userStep)){for(var O=0;O{const{size:t,width:n=16,height:r=16,sx:o,...i}=e;return g.jsx(ea,{sx:{fill:"none",width:t||n,height:t||r,...o},viewBox:"0 0 16 16",...i,children:e.children},void 0)},bA=e=>{const{sx:t,...n}=e;return g.jsx(ea,{sx:{fill:"none",width:24,height:24,...t},viewBox:"0 0 24 24",...n,children:e.children},void 0)},__=e=>{const{sx:t,...n}=e;return g.jsx(ea,{sx:{fill:"none",width:14,height:14,...t},viewBox:"0 0 14 14",...n,children:e.children},void 0)},xA=e=>g.jsx(bA,{...e,children:g.jsx("path",{d:"M18.861 16.1166C17.4619 18.4433 14.9127 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12H22C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C15.6409 22 18.8274 20.0542 20.5762 17.1457L18.861 16.1166Z",fill:"#1D2939"},void 0)},void 0),SA=e=>g.jsx(__,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.08871 1.5C3.55444 1.5 1.5 3.55444 1.5 6.08871C1.5 8.62298 3.55444 10.6774 6.08871 10.6774C7.17572 10.6774 8.17445 10.2995 8.96065 9.66778L11.75 12.4571L12.4571 11.75L9.66776 8.96067C10.2994 8.17447 10.6774 7.17573 10.6774 6.08871C10.6774 3.55444 8.62298 1.5 6.08871 1.5ZM2.5 6.08871C2.5 4.10672 4.10672 2.5 6.08871 2.5C8.0707 2.5 9.67742 4.10672 9.67742 6.08871C9.67742 8.0707 8.0707 9.67742 6.08871 9.67742C4.10672 9.67742 2.5 8.0707 2.5 6.08871Z",fill:"#1D2939"},void 0)},void 0),wA=e=>g.jsx(__,{...e,children:g.jsx("path",{d:"M6.99999 7.91921L3.45958 11.4596L2.54034 10.5404L6.08075 6.99997L2.54039 3.45961L3.45963 2.54037L6.99999 6.08073L10.5403 2.54037L11.4596 3.45961L7.91923 6.99997L11.4596 10.5404L10.5404 11.4596L6.99999 7.91921Z",fill:"#1D2939"},void 0)},void 0),CA=e=>g.jsx(wn,{...e,children:g.jsx("path",{d:"M2.5 7.5C2.22386 7.5 2 7.72385 2 8C2 8.27614 2.22386 8.5 2.5 8.5L12.3773 8.5L8.62835 12.6655C8.44362 12.8708 8.46026 13.1869 8.66552 13.3716C8.87077 13.5564 9.18692 13.5397 9.37165 13.3345L13.8716 8.33448C14.0428 8.14433 14.0428 7.85567 13.8716 7.66551L9.37165 2.66551C9.18692 2.46026 8.87077 2.44362 8.66552 2.62835C8.46026 2.81308 8.44362 3.12922 8.62835 3.33448L12.3773 7.5L2.5 7.5Z",fill:"currentColor"},void 0)},void 0),x1=e=>g.jsx(wn,{...e,children:g.jsx("path",{d:"M4.40029 3.55174C4.16598 3.31743 3.78608 3.31743 3.55177 3.55174C3.31745 3.78606 3.31745 4.16596 3.55177 4.40027L7.15147 7.99998L3.55178 11.5997C3.31746 11.834 3.31746 12.2139 3.55178 12.4482C3.78609 12.6825 4.16599 12.6825 4.40031 12.4482L8 8.84851L11.5997 12.4482C11.834 12.6825 12.2139 12.6825 12.4482 12.4482C12.6825 12.2139 12.6825 11.834 12.4482 11.5997L8.84853 7.99998L12.4482 4.40027C12.6826 4.16596 12.6826 3.78606 12.4482 3.55174C12.2139 3.31743 11.834 3.31743 11.5997 3.55174L8 7.15145L4.40029 3.55174Z",fill:"currentColor"},void 0)},void 0),_A=e=>g.jsxs(wn,{...e,children:[g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.04214 5.95918C6.65053 5.95918 5.52241 7.0873 5.52241 8.47891C5.52241 9.87051 6.65053 10.9986 8.04214 10.9986C9.43374 10.9986 10.5619 9.87051 10.5619 8.47891C10.5619 7.0873 9.43374 5.95918 8.04214 5.95918ZM6.52241 8.47891C6.52241 7.63958 7.20281 6.95918 8.04214 6.95918C8.88146 6.95918 9.56187 7.63958 9.56187 8.47891C9.56187 9.31823 8.88146 9.99864 8.04214 9.99864C7.20281 9.99864 6.52241 9.31823 6.52241 8.47891Z",fill:"currentColor"},void 0),g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.9094 8.18455C14.9095 8.1847 14.9096 8.18483 14.5053 8.47891C14.9096 8.77299 14.9095 8.77312 14.9094 8.77327L14.9084 8.77465L14.9062 8.77775L14.8984 8.78819L14.8705 8.82542C14.8464 8.85725 14.8114 8.90281 14.766 8.96015C14.6753 9.07477 14.543 9.23673 14.3733 9.43024C14.0346 9.8166 13.544 10.3323 12.9362 10.8492C11.7356 11.8704 10.0053 12.9578 8.04214 12.9578C6.07894 12.9578 4.34871 11.8704 3.14808 10.8492C2.54026 10.3323 2.04969 9.8166 1.71095 9.43024C1.54128 9.23673 1.40893 9.07477 1.31822 8.96015C1.27285 8.90281 1.23784 8.85725 1.21374 8.82542L1.18582 8.78819L1.17811 8.77775L1.17584 8.77465L1.1751 8.77363C1.17499 8.77349 1.17463 8.77299 1.579 8.47891C1.17463 8.18483 1.17472 8.1847 1.17483 8.18455L1.17584 8.18318L1.17811 8.18007L1.18582 8.16963L1.21374 8.1324C1.23784 8.10057 1.27285 8.05501 1.31822 7.99767C1.40893 7.88305 1.54128 7.72109 1.71095 7.52758C2.04969 7.14122 2.54026 6.62552 3.14808 6.10858C4.34871 5.08746 6.07894 4 8.04214 4C10.0053 4 11.7356 5.08746 12.9362 6.10858C13.544 6.62552 14.0346 7.14122 14.3733 7.52758C14.543 7.72109 14.6753 7.88305 14.766 7.99767C14.8114 8.05501 14.8464 8.10057 14.8705 8.1324L14.8984 8.16963L14.9062 8.18007L14.9084 8.18318L14.9094 8.18455ZM2.46287 8.77099C2.36639 8.66095 2.28336 8.56242 2.21478 8.47891C2.28336 8.3954 2.36639 8.29687 2.46287 8.18683C2.77823 7.82714 3.23416 7.34812 3.79594 6.87033C4.93451 5.902 6.43584 5 8.04214 5C9.64843 5 11.1498 5.902 12.2883 6.87033C12.8501 7.34812 13.306 7.82714 13.6214 8.18683C13.7179 8.29687 13.8009 8.3954 13.8695 8.47891C13.8009 8.56241 13.7179 8.66095 13.6214 8.77099C13.306 9.13068 12.8501 9.6097 12.2883 10.0875C11.1498 11.0558 9.64843 11.9578 8.04214 11.9578C6.43584 11.9578 4.93451 11.0558 3.79594 10.0875C3.23416 9.6097 2.77823 9.13068 2.46287 8.77099Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M14.5053 8.47891L14.9094 8.18455C15.0369 8.35988 15.0369 8.59794 14.9094 8.77327L14.5053 8.47891Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M1.17483 8.18455L1.579 8.47891L1.1751 8.77363C1.0476 8.59831 1.04733 8.35988 1.17483 8.18455Z",fill:"currentColor"},void 0)]},void 0),RA=e=>g.jsxs(wn,{...e,children:[g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1106 3.65519C13.301 3.85517 13.2933 4.17165 13.0933 4.36209L9.97993 7.32691C9.96934 7.33914 9.95806 7.35097 9.94609 7.36234C9.93431 7.37355 9.92213 7.38406 9.90959 7.39389L3.64235 13.3621C3.44238 13.5525 3.12589 13.5448 2.93546 13.3448C2.74503 13.1448 2.75276 12.8283 2.95274 12.6379L4.06813 11.5757C3.24267 11.0059 2.55654 10.3585 2.06343 9.83657C1.78455 9.5414 1.56492 9.28373 1.41417 9.09871C1.33874 9.00614 1.28041 8.93157 1.24038 8.87939C1.22036 8.85329 1.2049 8.83278 1.19416 8.81838L1.1816 8.80145L1.178 8.79656L1.17688 8.79502C1.17682 8.79493 1.17621 8.79411 1.58059 8.50003C1.17621 8.20595 1.17631 8.20582 1.17642 8.20567L1.17742 8.20429L1.17969 8.2012L1.18738 8.19078L1.21522 8.15366C1.23926 8.12192 1.27416 8.07649 1.3194 8.01932C1.40984 7.90503 1.54179 7.74357 1.71095 7.55063C2.04868 7.16543 2.53777 6.65128 3.14377 6.13589C4.34075 5.11787 6.06595 4.03351 8.02359 4.03351C9.14779 4.03351 10.1926 4.39154 11.0977 4.88158L12.4037 3.63791C12.6037 3.44748 12.9201 3.45522 13.1106 3.65519ZM9.58316 6.32385L10.331 5.61171C9.60548 5.25934 8.82649 5.03351 8.02359 5.03351C6.42286 5.03351 4.92655 5.93241 3.79163 6.89765C3.23168 7.37388 2.77721 7.85136 2.46287 8.20989C2.36709 8.31913 2.2846 8.417 2.2164 8.50003C2.35319 8.66654 2.54714 8.89243 2.7903 9.14979C3.28839 9.67696 3.98395 10.3265 4.8096 10.8696L5.77368 9.95157C5.5034 9.53331 5.34632 9.03452 5.34632 8.50002C5.34632 7.02144 6.54494 5.82282 8.02352 5.82282C8.6053 5.82282 9.14412 6.00876 9.58316 6.32385ZM6.51881 9.24199C6.40832 9.01845 6.34632 8.76679 6.34632 8.50002C6.34632 7.57372 7.09723 6.82282 8.02352 6.82282C8.31925 6.82282 8.59685 6.89911 8.83805 7.03341L6.51881 9.24199Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M1.58059 8.50003L1.17621 8.79411C1.04871 8.61878 1.04891 8.38099 1.17642 8.20567L1.58059 8.50003Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M12.1782 6.17688C12.3566 5.96615 12.6721 5.93998 12.8828 6.11843C13.495 6.63678 13.9892 7.15531 14.3305 7.54409C14.5015 7.73883 14.6348 7.90192 14.7262 8.01738C14.772 8.07514 14.8073 8.12105 14.8315 8.15312L14.8597 8.19063L14.8675 8.20116L14.8698 8.20428L14.8705 8.2053C14.8705 8.20536 14.871 8.20595 14.4666 8.50003C14.871 8.79411 14.8709 8.79424 14.8708 8.79438L14.8698 8.79576L14.8675 8.79885L14.8598 8.80927L14.832 8.84639C14.8079 8.87813 14.773 8.92356 14.7278 8.98073C14.6373 9.09502 14.5054 9.25649 14.3362 9.44942C13.9985 9.83462 13.5094 10.3488 12.9034 10.8642C11.7064 11.8822 9.98123 12.9665 8.02359 12.9665C7.44356 12.9665 6.8846 12.8711 6.35578 12.7118C6.09137 12.6322 5.9416 12.3533 6.02125 12.0889C6.1009 11.8245 6.37981 11.6747 6.64422 11.7543C7.09234 11.8893 7.55384 11.9665 8.02359 11.9665C9.62432 11.9665 11.1206 11.0676 12.2555 10.1024C12.8155 9.62617 13.27 9.14869 13.5843 8.79017C13.6801 8.68092 13.7626 8.58305 13.8308 8.50002C13.7613 8.41547 13.677 8.31551 13.579 8.20382C13.2613 7.84189 12.8021 7.36041 12.2366 6.88157C12.0259 6.70311 11.9997 6.38761 12.1782 6.17688Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M14.4666 8.50003L14.8705 8.2053C14.998 8.38062 14.9983 8.61906 14.8708 8.79438L14.4666 8.50003Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M10.7007 8.50002C10.7007 8.22388 10.4769 8.00002 10.2007 8.00002C9.92458 8.00002 9.70072 8.22388 9.70072 8.50002C9.70072 9.42631 8.94981 10.1772 8.02352 10.1772C7.74738 10.1772 7.52352 10.4011 7.52352 10.6772C7.52352 10.9534 7.74738 11.1772 8.02352 11.1772C9.5021 11.1772 10.7007 9.9786 10.7007 8.50002Z",fill:"currentColor"},void 0)]},void 0),PA=e=>g.jsxs(wn,{...e,children:[g.jsx("path",{d:"M9.60001 2.10001C9.32387 2.10001 9.10001 2.32386 9.10001 2.60001C9.10001 2.87615 9.32387 3.10001 9.60001 3.10001L12.5722 3.10001L8.23955 7.60704C8.04818 7.80612 8.05442 8.12264 8.25349 8.31401C8.45257 8.50538 8.76909 8.49914 8.96046 8.30007L13.2465 3.8416V6.45354C13.2465 6.72968 13.4703 6.95354 13.7465 6.95354C14.0226 6.95354 14.2465 6.72968 14.2465 6.45354V2.60001C14.2465 2.32387 14.0226 2.10001 13.7465 2.10001H9.60001Z",fill:"currentColor"},void 0),g.jsx("path",{d:"M3.60001 14.5L11.6 14.5C12.4284 14.5 13.1 13.8284 13.1 13V8.95355C13.1 8.67741 12.8761 8.45355 12.6 8.45355C12.3239 8.45355 12.1 8.67741 12.1 8.95355V13C12.1 13.2761 11.8761 13.5 11.6 13.5L3.60001 13.5C3.32386 13.5 3.10001 13.2761 3.10001 13L3.10001 4.45355C3.10001 4.17741 3.32386 3.95355 3.60001 3.95355L7.10001 3.95355C7.37615 3.95355 7.60001 3.7297 7.60001 3.45355C7.60001 3.17741 7.37615 2.95355 7.10001 2.95355L3.60001 2.95355C2.77158 2.95355 2.10001 3.62513 2.10001 4.45355V13C2.10001 13.8284 2.77158 14.5 3.60001 14.5Z",fill:"currentColor"},void 0)]},void 0),TA=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.9348 2.51687C11.2017 2.75702 11.2233 3.16801 10.9831 3.43484L6.87449 8.00001L10.9831 12.5652C11.2233 12.832 11.2017 13.243 10.9348 13.4832C10.668 13.7233 10.257 13.7017 10.0169 13.4348L5.51686 8.43484C5.29439 8.18764 5.29439 7.81238 5.51686 7.56518L10.0169 2.56518C10.257 2.29835 10.668 2.27672 10.9348 2.51687Z",fill:"currentColor"},void 0)},void 0),kA=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.56518 2.51687C5.29835 2.75702 5.27672 3.16801 5.51687 3.43484L9.62553 8.00001L5.51687 12.5652C5.27672 12.832 5.29835 13.243 5.56518 13.4832C5.83202 13.7233 6.243 13.7017 6.48315 13.4348L10.9832 8.43484C11.2056 8.18764 11.2056 7.81238 10.9832 7.56518L6.48315 2.56518C6.243 2.29835 5.83202 2.27672 5.56518 2.51687Z",fill:"currentColor"},void 0)},void 0),$A=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.58839 5.49693C7.82783 5.30103 8.17216 5.30103 8.4116 5.49693L13.9116 9.99693C14.1894 10.2243 14.2304 10.6338 14.0031 10.9116C13.7757 11.1894 13.3662 11.2304 13.0884 11.0031L8 6.83985L2.9116 11.0031C2.63376 11.2304 2.22425 11.1894 1.99692 10.9116C1.7696 10.6338 1.81055 10.2243 2.08839 9.99693L7.58839 5.49693Z",fill:"currentColor"},void 0)},void 0),na=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.58839 11.0031C7.82783 11.199 8.17216 11.199 8.4116 11.0031L13.9116 6.50307C14.1894 6.27574 14.2304 5.86623 14.0031 5.58839C13.7757 5.31055 13.3662 5.2696 13.0884 5.49692L8 9.66016L2.9116 5.49692C2.63376 5.2696 2.22425 5.31055 1.99692 5.58839C1.7696 5.86623 1.81055 6.27574 2.08839 6.50307L7.58839 11.0031Z",fill:"currentColor"},void 0)},void 0),EA=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3758 3.37871C13.5718 3.18427 13.5732 2.86769 13.3787 2.67161C13.1843 2.47553 12.8677 2.47421 12.6716 2.66865L7.21656 8.07829C5.97323 6.96347 4.06051 7.00362 2.8654 8.19873C1.62874 9.43539 1.62874 11.4404 2.8654 12.6771C4.10206 13.9137 6.10708 13.9137 7.34374 12.6771C8.37873 11.6421 8.54751 10.0689 7.85009 8.85838L9.64093 7.08244L11.3233 8.76477C11.5185 8.96003 11.8351 8.96003 12.0304 8.76477C12.2256 8.56951 12.2256 8.25292 12.0304 8.05766L10.351 6.37829L11.3316 5.40586L13.0068 7.08109C13.2021 7.27636 13.5187 7.27636 13.7139 7.08109C13.9092 6.88583 13.9092 6.56925 13.7139 6.37399L12.0417 4.70171L13.3758 3.37871ZM3.5725 8.90584C4.41864 8.0597 5.7905 8.0597 6.63663 8.90584C7.48277 9.75197 7.48277 11.1238 6.63663 11.97C5.7905 12.8161 4.41864 12.8161 3.5725 11.97C2.72637 11.1238 2.72637 9.75197 3.5725 8.90584Z",fill:"currentColor"},void 0)},void 0),MA=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 3.69999C5.62518 3.69999 3.7 5.62516 3.7 7.99999C3.7 10.3748 5.62518 12.3 8 12.3C9.20303 12.3 10.2896 11.8069 11.0709 11.01C11.3415 10.7339 11.7847 10.7295 12.0608 11.0001C12.3368 11.2708 12.3412 11.7139 12.0706 11.99C11.0369 13.0445 9.59437 13.7 8 13.7C4.85198 13.7 2.3 11.148 2.3 7.99999C2.3 4.85196 4.85198 2.29999 8 2.29999C11.148 2.29999 13.7 4.85196 13.7 7.99999C13.7 8.38659 13.3866 8.69999 13 8.69999C12.6134 8.69999 12.3 8.38659 12.3 7.99999C12.3 5.62516 10.3748 3.69999 8 3.69999Z",fill:"currentColor"},void 0)},void 0),gm=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM8 7.38747C8.33828 7.38747 8.6125 7.6617 8.6125 7.99997V10.5521C8.6125 10.8903 8.33828 11.1646 8 11.1646C7.66173 11.1646 7.3875 10.8903 7.3875 10.5521V7.99997C7.3875 7.6617 7.66173 7.38747 8 7.38747ZM8.6125 5.44789C8.6125 5.10962 8.33828 4.83539 8 4.83539C7.66173 4.83539 7.3875 5.10962 7.3875 5.44789V5.54997C7.3875 5.88825 7.66173 6.16247 8 6.16247C8.33828 6.16247 8.6125 5.88825 8.6125 5.54997V5.44789Z",fill:"currentColor"},void 0)},void 0),R_=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.14215 1.67713C8.64833 0.774291 7.35164 0.774289 6.85782 1.67713L1.16152 12.0915C0.686995 12.9591 1.31483 14.0181 2.30368 14.0181H13.6963C14.6851 14.0181 15.313 12.9591 14.8385 12.0915L9.14215 1.67713ZM8.00002 5.28887C8.3336 5.28887 8.60402 5.55929 8.60402 5.89287V8.40953C8.60402 8.74311 8.3336 9.01353 8.00002 9.01353C7.66644 9.01353 7.39602 8.74311 7.39602 8.40953V5.89287C7.39602 5.55929 7.66644 5.28887 8.00002 5.28887ZM8.60402 10.9262C8.60402 10.5926 8.3336 10.3222 8.00002 10.3222C7.66644 10.3222 7.39602 10.5926 7.39602 10.9262V11.0269C7.39602 11.3604 7.66644 11.6309 8.00002 11.6309C8.3336 11.6309 8.60402 11.3604 8.60402 11.0269V10.9262Z",fill:"currentColor"},void 0)},void 0),P_=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM5.52524 5.5252C5.76443 5.28601 6.15224 5.28601 6.39144 5.5252L8 7.13377L9.60857 5.5252C9.84776 5.28601 10.2356 5.28601 10.4748 5.5252C10.714 5.7644 10.714 6.15221 10.4748 6.39141L8.86621 7.99997L10.4748 9.60854C10.714 9.84773 10.714 10.2355 10.4748 10.4747C10.2356 10.7139 9.84776 10.7139 9.60857 10.4747L8 8.86618L6.39144 10.4747C6.15224 10.7139 5.76443 10.7139 5.52524 10.4747C5.28604 10.2355 5.28604 9.84773 5.52524 9.60854L7.1338 7.99997L5.52524 6.39141C5.28604 6.15221 5.28604 5.7644 5.52524 5.5252Z",fill:"currentColor"},void 0)},void 0),T_=e=>g.jsx(wn,{...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM10.9852 6.39141C11.2244 6.15221 11.2244 5.7644 10.9852 5.5252C10.746 5.28601 10.3582 5.28601 10.119 5.5252L6.97916 8.66502L5.88102 7.56687C5.64182 7.32767 5.25401 7.32767 5.01481 7.56687C4.77561 7.80607 4.77561 8.19388 5.01481 8.43308L6.54606 9.96433C6.78526 10.2035 7.17307 10.2035 7.41227 9.96433L10.9852 6.39141Z",fill:"currentColor"},void 0)},void 0),IA=e=>g.jsxs(wn,{...e,children:[g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97302 2.34713C4.9413 2.02437 6.24717 1.83331 7.66667 1.83331C9.08617 1.83331 10.392 2.02437 11.3603 2.34713C11.8419 2.50764 12.2676 2.70978 12.5832 2.95853C12.8932 3.20284 13.1667 3.551 13.1667 3.99998V7.66667C13.1667 7.94281 12.9428 8.16667 12.6667 8.16667C12.3905 8.16667 12.1667 7.94281 12.1667 7.66667V5.31162C11.9268 5.44159 11.654 5.55495 11.3603 5.65283C10.392 5.97559 9.08617 6.16665 7.66667 6.16665C6.24717 6.16665 4.9413 5.97559 3.97302 5.65283C3.67939 5.55495 3.4065 5.44159 3.16667 5.31162V8C3.16667 8.16593 3.30186 8.46432 4.04786 8.73916C4.76055 9.00173 5.8604 9.16667 7.33334 9.16667C7.60948 9.16667 7.83334 9.39052 7.83334 9.66667C7.83334 9.94281 7.60948 10.1667 7.33334 10.1667C5.80628 10.1667 4.57279 9.99827 3.70215 9.6775C3.51458 9.6084 3.33399 9.52793 3.16667 9.43528V12C3.16667 12.0015 3.16776 12.0908 3.3783 12.2489C3.58092 12.401 3.9071 12.5595 4.35844 12.7016C5.25531 12.9838 6.53536 13.1667 8.00001 13.1667C8.27615 13.1667 8.50001 13.3905 8.50001 13.6667C8.50001 13.9428 8.27615 14.1667 8.00001 14.1667C6.46465 14.1667 5.07803 13.9764 4.05824 13.6554C3.55124 13.4959 3.10659 13.2953 2.77796 13.0486C2.45726 12.8079 2.16667 12.4587 2.16667 12V4C2.16667 3.55102 2.44011 3.20284 2.75011 2.95853C3.06574 2.70978 3.49149 2.50764 3.97302 2.34713ZM3.36908 3.74394C3.17306 3.89843 3.16667 3.98873 3.16667 3.99998C3.16667 4.01123 3.17306 4.10153 3.36908 4.25601C3.55947 4.40606 3.86596 4.56305 4.28925 4.70415C5.13061 4.9846 6.32474 5.16665 7.66667 5.16665C9.0086 5.16665 10.2027 4.9846 11.0441 4.70415C11.4674 4.56305 11.7739 4.40606 11.9643 4.25601C12.1603 4.10153 12.1667 4.01123 12.1667 3.99998C12.1667 3.98873 12.1603 3.89843 11.9643 3.74394C11.7739 3.5939 11.4674 3.43691 11.0441 3.29581C10.2027 3.01536 9.0086 2.83331 7.66667 2.83331C6.32474 2.83331 5.13061 3.01536 4.28925 3.29581C3.86596 3.43691 3.55947 3.5939 3.36908 3.74394Z",fill:"currentColor"},void 0),g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.8444 12.1373C13.0486 11.8068 13.1667 11.4169 13.1667 11C13.1667 9.80338 12.1966 8.83331 11 8.83331C9.80339 8.83331 8.83333 9.80338 8.83333 11C8.83333 12.1966 9.80339 13.1666 11 13.1666C11.4169 13.1666 11.8068 13.0486 12.1373 12.8444L13.3131 14.0202C13.5084 14.2155 13.825 14.2155 14.0202 14.0202C14.2155 13.8249 14.2155 13.5084 14.0202 13.3131L12.8444 12.1373ZM9.83333 11C9.83333 10.3557 10.3557 9.83331 11 9.83331C11.6443 9.83331 12.1667 10.3557 12.1667 11C12.1667 11.3223 12.0366 11.6133 11.825 11.8249C11.6133 12.0366 11.3223 12.1666 11 12.1666C10.3557 12.1666 9.83333 11.6443 9.83333 11Z",fill:"currentColor"},void 0)]},void 0),OA=e=>{const{severity:t="info"}=e;return{error:g.jsx(P_,{size:14},void 0),info:g.jsx(gm,{size:14},void 0),success:g.jsx(T_,{size:14},void 0),warning:g.jsx(R_,{size:14},void 0),regular:g.jsx(gm,{size:14},void 0),gradient:g.jsx(g.Fragment,{},void 0)}[t]||g.jsx(g.Fragment,{},void 0)},LA="_wrapper_f0zdf_1",AA={wrapper:LA},cp=e=>{const{title:t,sx:n={},PopperProps:r={},margin:o=12,...i}=e,a=zt();return g.jsx(F7,{PopperProps:{sx:{'&.MuiTooltip-popper[data-popper-placement*="top"]':{".MuiTooltip-tooltip":{marginBottom:`${o}px`}},'&.MuiTooltip-popper[data-popper-placement*="bottom"]':{".MuiTooltip-tooltip":{marginTop:`${o}px`}},'&.MuiTooltip-popper[data-popper-placement*="left"]':{".MuiTooltip-tooltip":{marginRight:`${o}px`}},'&.MuiTooltip-popper[data-popper-placement*="right"]':{".MuiTooltip-tooltip":{marginLeft:`${o}px`}},".MuiTooltip-tooltip":{borderRadius:"6px",boxShadow:" 0px 1px 10px 0px rgba(107, 121, 141, 0.30)",backgroundColor:"#fff",padding:"12px",color:a.black.black1,fontSize:12,lineHeight:"16px",fontWeight:400},"> * > .MuiTooltip-arrow":{color:"#fff"},...n},...r},title:t,arrow:!0,...i},void 0)},up=({tooltip:e,children:t,classes:n={root:""}})=>{const{title:r="",...o}=e||{};return e?g.jsx(cp,{title:r,...o,children:g.jsx("span",{className:Gt(AA.wrapper,n.root),children:t},void 0)},void 0):g.jsx(g.Fragment,{children:t},void 0)},NA="_zButton_2ljo4_3",DA="_disabled_2ljo4_16",jA="_xlarge_2ljo4_25",FA="_large_2ljo4_26",BA="_medium_2ljo4_27",zA="_small_2ljo4_58",HA="_tiny_2ljo4_74",VA="_contained_2ljo4_92",WA="_outlined_2ljo4_105",UA="_noShadow_2ljo4_111",GA="_danger_2ljo4_126",qA="_textBlue_2ljo4_135",KA="_noMargin_2ljo4_143",ZA="_textBlack_2ljo4_159",QA="_textGhost_2ljo4_183",YA="_text_2ljo4_135",XA="_link_2ljo4_206",tn={zButton:NA,disabled:DA,xlarge:jA,large:FA,medium:BA,small:zA,tiny:HA,contained:VA,outlined:WA,noShadow:UA,danger:GA,textBlue:qA,noMargin:KA,textBlack:ZA,textGhost:QA,text:YA,link:XA},dp=e=>{const{danger:t=!1,sx:n,loading:r,disabled:o=!1,activeIconStyle:i,tooltip:a,children:s,isLinkButton:l=!1,size:c="medium",variant:u="contained",withMargin:d=!0,withShadow:f=!0,className:p,...m}=e,y=r?!0:o,w=b.useMemo(()=>a?{PopperProps:{modifiers:[{name:"offset",options:{offset:[0,8]}}]},...a}:void 0,[a]),v=b.useMemo(()=>c==="xs"||c==="small"?"4px":"6px",[c]);return g.jsx(up,{tooltip:w,children:g.jsx(xI,{className:Gt(tn.zButton,{[tn.xlarge]:c==="xl",[tn.large]:c==="large",[tn.medium]:c==="medium",[tn.small]:c==="small",[tn.tiny]:c==="xs",[tn.contained]:u==="contained",[tn.outlined]:u==="outlined",[tn.danger]:t,[tn.textBlue]:u==="textBlue",[tn.textBlack]:u==="textBlack",[tn.textGhost]:u==="textGhost",[tn.text]:u==="text",[tn.link]:l,[tn.disabled]:y,[tn.noMargin]:!d,[tn.noShadow]:!f},p),sx:{" .MuiButton-startIcon":{marginLeft:0,marginRight:v}," .MuiButton-endIcon":{marginRight:0,marginLeft:v},...n},disableRipple:!0,disabled:y,variant:u,...m,children:r?g.jsxs(B7,{direction:"row",spacing:r?1:0,style:{alignItems:"center"},children:[g.jsx(Ir,{sx:{display:"flex","@keyframes rotate":{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}},style:{color:"white",animation:`${r?"rotate 1s linear infinite":""}`},children:r&&g.jsx(MA,{},void 0)},void 0),g.jsx(yt,{component:"span",sx:{color:"inherit",fontSize:"inherit",fontWeight:"inherit",lineHeight:"inherit"},children:s},void 0)]},void 0):s},void 0)},void 0)};dp.displayName="ZButton";const JA="_zIconButton_1y2v2_3",e9="_disabled_1y2v2_7",t9="_withMargin_1y2v2_13",n9="_noMargin_1y2v2_19",r9="_withBorder_1y2v2_28",o9="_large_1y2v2_37",i9="_medium_1y2v2_38",a9="_small_1y2v2_49",s9="_xs_1y2v2_60",co={zIconButton:JA,disabled:e9,withMargin:t9,noMargin:n9,withBorder:r9,large:o9,medium:i9,small:a9,xs:s9},S1=e=>{const{activeStyle:t={},sx:n,tooltip:r,size:o="medium",disabled:i,withBorder:a=!1,withMargin:s=!0,className:l,...c}=e;return g.jsx(up,{tooltip:r,children:g.jsx(hr,{className:Gt(co.zIconButton,l,{[co.large]:o==="large"||o==="xl",[co.medium]:o==="medium",[co.small]:o==="small",[co.xs]:o==="xs",[co.disabled]:i,[co.withBorder]:a,[co.withMargin]:s,[co.noMargin]:!s}),disabled:i,sx:n,disableRipple:!0,...c},void 0)},void 0)},l9=b.forwardRef(function(t,n){return g.jsx(e_,{ref:n,...t},void 0)}),k_=e=>{const{open:t=!0,handleClose:n,children:r,severity:o="info",action:i,buttonProps:a,icon:s,...l}=e,c=zt(),u={regular:{icon:c.black.black3,text:c.black.black1,border:c.stroke.stroke1,background:c.black.black5,actionHover:c.black.black2},info:{icon:c.blue.blue1,text:c.blue.dark2,border:c.blue.blue3,background:c.blue.blue4,actionHover:c.blue.dark1},success:{icon:c.green.green1,text:c.green.green1,border:c.green.green3,background:c.green.green4,actionHover:c.green.green2},warning:{icon:c.yellow.yellow2,text:c.yellow.yellow1,border:c.yellow.yellow3,background:c.yellow.yellow4,actionHover:c.yellow.yellow2},error:{icon:c.red.red2,text:c.red.red1,border:c.red.red3,background:c.red.red4,actionHover:c.red.red2},gradient:{icon:c.black.black1,text:c.black.black1,border:"transparent",background:"linear-gradient(118deg, rgba(0, 239, 139, 0.10) 0.51%, rgba(0, 68, 228, 0.10) 36.98%, rgba(205, 63, 255, 0.10) 72.73%);",actionHover:"transparent"}},d=()=>{n&&n()},f=b.useMemo(()=>u[o],[o,u]);return g.jsx(fs,{in:t,children:g.jsx(l9,{severity:o,sx:{"&.MuiPaper-root":{display:"flex",alignItems:"flex-start",padding:"12px",background:f.background,borderRadius:"12px",border:"1px solid",borderColor:f.border},"& .MuiAlert-message":{padding:0,color:f.text,fontSize:"13px",lineHeight:"135%",fontWeight:400},"& .MuiAlert-action":{padding:0,marginRight:0,display:"flex",alignItems:"center"},"& .MuiAlert-icon":{padding:0,marginRight:"8px",marginTop:"2px",color:f.icon,opacity:1}},icon:s||g.jsx(OA,{severity:o},void 0),action:g.jsxs(Ir,{children:[i&&g.jsx(dp,{size:"small",variant:"outlined",withShadow:!1,sx:{"&.MuiButtonBase-root.MuiButton-outlined":{borderColor:f.text,backgroundColor:"transparent",minWidth:56,".MuiTypography-root":{color:f.text},"&:hover":{borderColor:f.actionHover,backgroundColor:"transparent",".MuiTypography-root":{color:f.actionHover}}}},onClick:i.onClick,...a,children:g.jsx(yt,{variant:"body2Medium",component:"div",children:i.label},void 0)},void 0),n&&g.jsx(S1,{sx:{"&.MuiButtonBase-root.MuiIconButton-root":{marginLeft:"12px","&:hover":{backgroundColor:"transparent","svg.MuiSvgIcon-root":{path:{fill:f.actionHover}}}},"svg.MuiSvgIcon-root":{path:{fill:f.text}}},size:"small",onClick:d,children:g.jsx(x1,{size:14},void 0)},void 0)]},void 0),...l,children:r},void 0)},void 0)};var Ae;(function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e[e.RelativeRange=7]="RelativeRange",e[e.AbsoluteRange=8]="AbsoluteRange",e[e.Reset=9]="Reset",e[e.Or=10]="Or",e[e.Copy=11]="Copy",e[e.Copied=12]="Copied",e[e.HidePwd=13]="HidePwd",e[e.ShowPwd=14]="ShowPwd",e[e.StartDay=15]="StartDay",e[e.EndDay=16]="EndDay",e[e.StartTime=17]="StartTime",e[e.EndTime=18]="EndTime",e[e.NoRows=19]="NoRows",e[e.NoOptions=20]="NoOptions"})(Ae||(Ae={}));const c9={[Ae.Sunday]:"日",[Ae.Monday]:"一",[Ae.Tuesday]:"二",[Ae.Wednesday]:"三",[Ae.Thursday]:"四",[Ae.Friday]:"五",[Ae.Saturday]:"六",[Ae.RelativeRange]:"相对范围",[Ae.AbsoluteRange]:"绝对范围",[Ae.Reset]:"重置",[Ae.Or]:"或",[Ae.Copy]:"复制",[Ae.Copied]:"已复制",[Ae.HidePwd]:"隐藏密码",[Ae.ShowPwd]:"展示密码",[Ae.StartDay]:"开始日期",[Ae.EndDay]:"结束日期",[Ae.StartTime]:"开始时间",[Ae.EndTime]:"结束时间",[Ae.NoRows]:"无记录",[Ae.NoOptions]:"无数据"},u9={[Ae.Sunday]:"S",[Ae.Monday]:"M",[Ae.Tuesday]:"T",[Ae.Wednesday]:"W",[Ae.Thursday]:"T",[Ae.Friday]:"F",[Ae.Saturday]:"S",[Ae.RelativeRange]:"Relative Range",[Ae.AbsoluteRange]:"Absolute Range",[Ae.Reset]:"Reset",[Ae.Or]:" or ",[Ae.Copy]:"Copy",[Ae.Copied]:"Copied",[Ae.HidePwd]:"Hide password",[Ae.ShowPwd]:"Show password",[Ae.StartDay]:"Start date",[Ae.EndDay]:"End date",[Ae.StartTime]:"Start time",[Ae.EndTime]:"End time",[Ae.NoRows]:"No Data",[Ae.NoOptions]:"No Options"},jd=(e,t)=>t==="zhCN"?c9[e]:u9[e],d9=b.forwardRef((e,t)=>{const[n,r]=b.useState(!1),[o,i]=b.useState(!1),{onChange:a,inputProps:s={},enableAutocomplete:l=!1,...c}=e,u=b.useMemo(()=>l?{}:{autoComplete:"new-password"},[l]),d=()=>{o&&r(!n)},f=v=>{const{value:S}=v.target;i(S!==""),a&&a(v)},p=zt(),m=p.language,y=jd(Ae.HidePwd,m),w=jd(Ae.ShowPwd,m);return g.jsx(Fd,{inputType:n?"text":"password",prefixComponent:g.jsx(EA,{size:e.size==="small"?12:14,style:{color:p.black.black2}},void 0),suffix:g.jsx(cp,{title:o?n?y:w:"",placement:"bottom",children:g.jsx(hr,{disableRipple:!0,sx:{padding:0,opacity:o?1:0,cursor:o?"pointer":"default","&:hover":{svg:{color:p.black.black2}}},"aria-label":"toggle password visibility",onClick:d,children:n?g.jsx(RA,{size:e.size==="small"?12:14,sx:{color:p.black.black1}},void 0):g.jsx(_A,{size:e.size==="small"?12:14,sx:{color:p.black.black1}},void 0)},void 0)},void 0),ref:t,onChange:f,inputProps:{...u,...s},...c},void 0)});var ki;(function(e){e.default="default",e.password="pwd",e.number="number",e.suffixSelect="suffixSelect"})(ki||(ki={}));const f9="_button_n3sxg_3",p9="_disabled_n3sxg_16",g9="_text_n3sxg_23",h9="_parentInputDisabled_n3sxg_30",m9="_icon_n3sxg_41",v9="_smallButton_n3sxg_46",y9="_input_n3sxg_50",b9="_inputFocus_n3sxg_56",x9="_paper_n3sxg_63",S9="_menu_n3sxg_67",w9="_menuItem_n3sxg_71",C9="_selected_n3sxg_83",_9="_menuList_n3sxg_89",Wn={button:f9,disabled:p9,text:g9,parentInputDisabled:h9,icon:m9,smallButton:v9,input:y9,inputFocus:b9,paper:x9,menu:S9,menuItem:w9,selected:C9,menuList:_9},R9=({options:e=[],onSelectChange:t,defaultSelectedValue:n="",classes:r={label:"",menuRoot:"",menuList:"",menuItem:"",menuPaper:""},setIsSelectActive:o,disabled:i=!1,inputDisabled:a,size:s})=>{const[l,c]=b.useState(null),[u,d]=b.useState("");b.useEffect(()=>{const y=e.find(v=>v.value===n),w=(y==null?void 0:y.label)||"";d(w)},[n]);const f=()=>{c(null),o&&o(!1)},p=y=>{i||(c(y.currentTarget),o&&o(!0))},m=y=>{t&&t(y.value),d(y.label),f()};return g.jsxs(g.Fragment,{children:[g.jsxs(yt,{role:"button",component:"div",className:Gt(Wn.button,{[Wn.smallButton]:s==="small",[Wn.disabled]:i,[Wn.parentInputDisabled]:a},r.label),onClick:p,children:[g.jsx(yt,{variant:"body1",className:Wn.text,children:u},void 0),!i&&g.jsx(na,{size:14,className:Wn.icon},void 0)]},void 0),g.jsx(v1,{open:!!l,anchorEl:l,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},onClose:f,classes:{root:Gt(Wn.menu,r.menuRoot),paper:Gt(Wn.paper,r.menuPaper),list:Gt(Wn.menuList,r.menuList)},children:e.map(y=>g.jsx(Tc,{sx:{"&.Mui-selected.Mui-focusVisible":{backgroundColor:"#fff"}},className:Gt(Wn.menuItem,{[Wn.selected]:u===y.label},r.menuItem),onClick:()=>m(y),children:y.label},y.value))},void 0)]},void 0)},P9=b.forwardRef((e,t)=>{const{options:n,onSelectChange:r,defaultSelectedValue:o,selectClasses:i,disableSelect:a,disabled:s=!1,size:l,...c}=e,[u,d]=b.useState(!1);return g.jsx(Fd,{className:Gt(Wn.input,{[Wn.inputFocus]:u}),disabled:s,size:l,suffix:g.jsx(R9,{options:n,onSelectChange:r,defaultSelectedValue:o,classes:i,setIsSelectActive:d,disabled:a,inputDisabled:s,size:l},void 0),ref:t,...c},void 0)}),T9=e=>({"& .MuiFormHelperText-root":{margin:"4px 0 0 0",color:e.black.black3,fontSize:12,lineHeight:"135%","&.Mui-error":{color:e.red.red1}}}),pr="0px 1px 2px 4px rgba(33, 37, 44, 0.08)",ra="0px 1px 2px 0px rgba(33, 37, 44, 0.08)",k9=(e,t)=>({borderRadius:t==="small"?"6px":"8px","& .MuiOutlinedInput-notchedOutline":{borderColor:e.stroke.stroke1,boxShadow:ra,transition:"all 0.2s"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"transparent",borderWidth:1,boxShadow:`0px 0px 0px 4px ${e.blue.blue4}, ${pr}`},"&.Mui-disabled":{"& .MuiOutlinedInput-input":{zIndex:"1","::-webkit-input-placeholder":{color:e.black.black3,opacity:"1"}},"& .MuiOutlinedInput-notchedOutline":{borderColor:e.stroke.stroke1,backgroundColor:e.black.black5,borderWidth:1},"&:hover .MuiOutlinedInput-notchedOutline":{boxShadow:ra}},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.blue.blue1,borderWidth:1,boxShadow:`0px 0px 0px 4px ${e.blue.blue4}, ${pr}`}},"&.Mui-focused.Mui-error":{"& .MuiOutlinedInput-notchedOutline":{boxShadow:`0px 0px 0px 4px ${e.red.red4}, ${pr}`}},"&.Mui-error":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.red.red2},"&:hover .MuiOutlinedInput-notchedOutline":{boxShadow:`0px 0px 0px 4px ${e.red.red4}, ${pr}`}}}),$9=(e,t,n)=>({height:n==="small"?"28px":"36px",boxSizing:"border-box",padding:t?n==="small"?"4px 10px 4px 4px":"8px 12px 8px 4px":n==="small"?"4px 10px":"8px 12px",fontSize:n==="small"?13:14,fontWeight:400,color:e.black.black1,caretColor:e.black.black1,"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #fff inset",WebkitTextFillColor:e.black.black1},"&[type=password]":{WebkitTextStrokeWidth:"2.8px",letterSpacing:"4px"},"&[type=number]::-webkit-outer-spin-button, &[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}}),E9=(e,t,n,r)=>{let o=k9(e,r);return t&&(o={...o,paddingRight:r==="small"?"8px":"12px"}),n&&(o={...o,paddingLeft:"12px"}),o},Fd=b.forwardRef((e,t)=>{const{label:n,labelPosition:r="top",labelClassName:o="",wrapperClassName:i="",suffix:a=null,prefixComponent:s=null,inputType:l="text",inputProps:c,size:u="medium",...d}=e,{sx:f={},...p}=c||{},m=zt();return g.jsxs(Ir,{sx:{display:"flex",alignItems:r==="top"?"flex-start":"center",gap:2,flexDirection:r==="top"?"column":"row"},className:i,children:[n?g.jsx(yt,{component:"div",variant:"h4Medium",className:o,children:n},void 0):null,g.jsx(vA,{InputProps:{sx:E9(m,a,s,u),endAdornment:a,startAdornment:s,type:l},inputProps:{sx:{...$9(m,s,u),...f},ref:t,...p},sx:T9(m),...d},void 0)]},void 0)}),w1=b.forwardRef((e,t)=>{const{inputComponentType:n=ki.default,...r}=e,i={[ki.default]:Fd,[ki.password]:d9,[ki.number]:Fd,[ki.suffixSelect]:P9}[n];return g.jsx(i,{ref:t,...r},void 0)}),M9="_root_903dp_3",I9="_label_903dp_6",O9="_checkboxIcon_903dp_19",L9="_inner_903dp_20",A9="_checkbox_903dp_19",N9="_disabledCheckbox_903dp_49",D9="_disabled_903dp_49",j9="_indeterminate_903dp_83",F9="_checked_903dp_84",Mr={root:M9,label:I9,checkboxIcon:O9,inner:L9,checkbox:A9,disabledCheckbox:N9,disabled:D9,indeterminate:j9,checked:F9},Ub=e=>g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",children:e.children},void 0),dg=e=>{const{checked:t=!1,indeterminate:n=!1,disabled:r=!1}=e;return g.jsx("div",{className:Gt(Mr.checkboxIcon,{[Mr.checked]:t,[Mr.indeterminate]:n,[Mr.disabled]:r}),children:g.jsxs("div",{className:Mr.inner,children:[t&&g.jsx(Ub,{children:g.jsx("path",{d:"M1 4L3.66667 7.33333L9 2",stroke:"white",strokeWidth:"1.4"},void 0)},void 0),n&&g.jsx(Ub,{children:g.jsx("path",{d:"M1.22876 4.66665L8.77124 4.66665",stroke:"white",strokeWidth:"1.4"},void 0)},void 0)]},void 0)},void 0)},Gb=tt.forwardRef((e,t)=>{const{disabled:n,...r}=e;return g.jsx(LI,{ref:t,disableRipple:!0,disableTouchRipple:!0,disabled:n,icon:g.jsx(dg,{disabled:n},void 0),checkedIcon:g.jsx(dg,{checked:!0,disabled:n},void 0),indeterminateIcon:g.jsx(dg,{indeterminate:!0},void 0),classes:{root:Mr.checkbox,checked:Mr.checkedCheckbox,disabled:Mr.disabledCheckbox,indeterminate:Mr.indeterminateCheckbox},...r},void 0)}),Bd=tt.forwardRef(function(e,t){const{label:n="",disabled:r,...o}=e;return n?g.jsx(p_,{classes:{root:Mr.root},label:g.jsx(yt,{className:Mr.label,children:n},void 0),disabled:r,control:g.jsx(Gb,{ref:t,...o},void 0)},void 0):g.jsx(Gb,{ref:t,disabled:r,...o},void 0)});function B9(e){return e&&e.ownerDocument||document}function z9(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const H9=typeof window<"u"?b.useLayoutEffect:b.useEffect;function V9(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{z9(n,t)})},e)}const qb=e=>e,W9=()=>{let e=qb;return{configure(t){e=t},generate(t){return e(t)},reset(){e=qb}}},U9=W9(),G9={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 $_(e,t,n="Mui"){const r=G9[t];return r?`${n}-${r}`:`${U9.generate(e)}-${t}`}function q9(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=$_(e,o,n)}),r}function lc(e){"@babel/helpers - typeof";return lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lc(e)}function K9(e,t){if(lc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(lc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Z9(e){var t=K9(e,"string");return lc(t)=="symbol"?t:t+""}const Q9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"መንገድ አሳይ"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ወደ መጀመሪያው ገጽ ይሂዱ":e==="last"?"ወደ መጨረሻው ገጽ ይሂዱ":e==="next"?"ወደ ቀጣዩ ገጽ ይሂዱ":"ወደ ቀዳሚው ገጽ ይሂዱ",labelRowsPerPage:"ረድፎች በአንድ ገጽ:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}-${t} ከ ${n!==-1?n:`${t} በላይ`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ኮከ${e!==1?"ቦች":"ብ"}`,emptyLabelText:"ባዶ"}},MuiAutocomplete:{defaultProps:{clearText:"አጽዳ",closeText:"ዝጋ",loadingText:"በመጫን ላይ…",noOptionsText:"አማራጮች የሉም",openText:"ክፈት"}},MuiAlert:{defaultProps:{closeText:"ዝጋ"}},MuiPagination:{defaultProps:{"aria-label":"የገጽ አሰሳ",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"ወደ "}ገጽ ${t}${n?"":" ሂድ"}`:e==="first"?"ወደ መጀመሪያው ገጽ ይሂዱ":e==="last"?"ወደ መጨረሻው ገጽ ይሂዱ":e==="next"?"ወደ ቀጣዩ ገጽ ይሂዱ":"ወደ ቀዳሚው ገጽ ይሂዱ"}}}},Y9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} من ${n!==-1?n:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا يوجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"انتقل إلى "} صفحة ${t}`:e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة"}}}},X9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"الانتقال إلى الصفحة الأولى":e==="last"?"الانتقال إلى الصفحة الأخيرة":e==="next"?"الانتقال إلى الصفحة التالية":"الانتقال إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} من ${n!==-1?n:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا توجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"الانتقال إلى "} صفحة ${t}`:e==="first"?"الانتقال إلى الصفحة الأولى":e==="last"?"الانتقال الي الصفحة الأخيرة":e==="next"?"الانتقال إلى الصفحة التالية":"الانتقال إلى الصفحة السابقة"}}}},J9={components:{MuiBreadcrumbs:{defaultProps:{expandText:"إظهار المسار"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل إلى الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة",labelRowsPerPage:"عدد الصفوف في الصفحة:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} من ${n!==-1?n:` أكثر من${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"نجوم":"نجمة"}`,emptyLabelText:"فارغ"}},MuiAutocomplete:{defaultProps:{clearText:"مسح",closeText:"إغلاق",loadingText:"جار التحميل...",noOptionsText:"لا يوجد خيارات",openText:"فتح"}},MuiAlert:{defaultProps:{closeText:"إغلاق"}},MuiPagination:{defaultProps:{"aria-label":"التنقل عبر الصفحات",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"انتقل إلى "} صفحة ${t}`:e==="first"?"انتقل إلى الصفحة الأولى":e==="last"?"انتقل الي الصفحة الأخيرة":e==="next"?"انتقل إلى الصفحة التالية":"انتقل إلى الصفحة السابقة"}}}},eN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu göstər"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Birinci səhifəyə keç":e==="last"?"Sonuncu səhifəyə keç":e==="next"?"Növbəti səhifəyə keç":"Əvvəlki səhifəyə keç",labelRowsPerPage:"Səhifəyə düşən sətrlər:"}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Ulduz";const n=e%10;return n>1&&n<5&&(t="Ulduzlar"),`${e} ${t}`},emptyLabelText:"Boş"}},MuiAutocomplete:{defaultProps:{clearText:"Silmək",closeText:"Bağlamaq",loadingText:"Yüklənir…",noOptionsText:"Seçimlər mövcud deyil",openText:"Открыть"}},MuiAlert:{defaultProps:{closeText:"Bağlamaq"}},MuiPagination:{defaultProps:{"aria-label":"Səhifənin naviqasiyası",getItemAriaLabel:(e,t,n)=>e==="page"?`${t} ${n?"səhifə":"səhifəyə keç"}`:e==="first"?"Birinci səhifəyə keç":e==="last"?"Sonuncu səhifəyə keç":e==="next"?"Növbəti səhifəyə keç":"Əvvəlki səhifəyə keç"}}}},tN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"পথ দেখান"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"প্রথম পৃষ্ঠায় যান":e==="last"?"শেষ পৃষ্ঠায় যান":e==="next"?"পরবর্তী পৃষ্ঠায় যান":"আগের পৃষ্ঠায় যান",labelRowsPerPage:"প্রতি পৃষ্ঠায় সারি:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} / ${n!==-1?n:`${t} থেকে বেশি`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} স্টার`,emptyLabelText:"খালি"}},MuiAutocomplete:{defaultProps:{clearText:"পরিষ্কার করুন",closeText:"বন্ধ করুন",loadingText:"লোড হচ্ছে…",noOptionsText:"কোন অপশন নেই",openText:"ওপেন করুন"}},MuiAlert:{defaultProps:{closeText:"বন্ধ করুন"}},MuiPagination:{defaultProps:{"aria-label":"পেজিনেশন নেভিগেশন",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"যান "}পৃষ্ঠা ${t}-এ`:e==="first"?"প্রথম পৃষ্ঠায় যান":e==="last"?"শেষ পৃষ্ঠায় যান":e==="next"?"পরবর্তী পৃষ্ঠায় যান":"আগের পৃষ্ঠায় যান"}}}},nN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Паказаць шлях"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перайсці на першую старонку":e==="last"?"Перайсці на апошнюю старонку":e==="next"?"Перайсці на наступную старонку":"Перайсці на папярэднюю старонку",labelRowsPerPage:"Радкоў на старонцы:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} з ${n!==-1?n:`больш чым ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Зорак";const n=e%10;return n>1&&n<5&&(e<10||e>20)?t="Зоркі":n===1&&e%100!==11&&(t="Зорка"),`${e} ${t}`},emptyLabelText:"Рэйтынг адсутнічае"}},MuiAutocomplete:{defaultProps:{clearText:"Ачысціць",closeText:"Закрыць",loadingText:"Загрузка…",noOptionsText:"Няма варыянтаў",openText:"Адкрыць"}},MuiAlert:{defaultProps:{closeText:"Закрыць"}},MuiPagination:{defaultProps:{"aria-label":"Навігацыя па старонкам",getItemAriaLabel:(e,t,n)=>e==="page"?n?`${t} старонка`:`Перайсці на ${t} старонку`:e==="first"?"Перайсці на першую старонку":e==="last"?"Перайсці на апошнюю старонку":e==="next"?"Перайсці на наступную старонку":"Перайсці на папярэднюю старонку"}}}},rN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показване на пътя"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Отиди на първата страница":e==="last"?"Отиди на последната страница":e==="next"?"Отиди на следващата страница":"Отиди на предишната страница",labelRowsPerPage:"Редове на страница:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Звезд${e!==1?"и":"а"}`,emptyLabelText:"Изчисти"}},MuiAutocomplete:{defaultProps:{clearText:"Изчисти",closeText:"Затвори",loadingText:"Зареждане…",noOptionsText:"Няма налични опции",openText:"Отвори"}},MuiAlert:{defaultProps:{closeText:"Затвори"}},MuiPagination:{defaultProps:{"aria-label":"Пагинация",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Към "}страница ${t}`:e==="first"?"Отиди на първата страница":e==="last"?"Отиди на последната страница":e==="next"?"Отиди на следващата страница":"Отиди на предишната страница"}}}},oN={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Files per pàgina:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Estrelles":"Estrella"}`,emptyLabelText:"Buit"}},MuiAutocomplete:{defaultProps:{clearText:"Netejar",closeText:"Tancar",loadingText:"Carregant…",noOptionsText:"Sense opcions",openText:"Obert"}},MuiAlert:{defaultProps:{closeText:"Tancat"}}}},iN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ukázat cestu"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Jít na první stránku":e==="last"?"Jít na poslední stránku":e==="next"?"Jít na další stránku":"Jít na předchozí stránku",labelRowsPerPage:"Řádků na stránce:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} z ${n!==-1?n:`více než ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>e===1?`${e} hvězdička`:e>=2&&e<=4?`${e} hvězdičky`:`${e} hvězdiček`,emptyLabelText:"Prázdné"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazat",closeText:"Zavřít",loadingText:"Načítání…",noOptionsText:"Žádné možnosti",openText:"Otevřít"}},MuiAlert:{defaultProps:{closeText:"Zavřít"}},MuiPagination:{defaultProps:{"aria-label":"Navigace stránkováním",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Jít na "}${t}. stránku`:e==="first"?"Jít na první stránku":e==="last"?"Jít na poslední stránku":e==="next"?"Jít na další stránku":"Jít na předchozí stránku"}}}},aN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til den første side":e==="last"?"Gå til den sidste side":e==="next"?"Gå til den næste side":"Gå til den forrige side",labelRowsPerPage:"Rækker pr side:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}-${t} af ${n!==-1?n:`mere end ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stjern${e!==1?"er":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Slet",closeText:"Luk",loadingText:"Indlæser…",noOptionsText:"Ingen muligheder",openText:"Åben"}},MuiAlert:{defaultProps:{closeText:"Luk"}},MuiPagination:{defaultProps:{"aria-label":"Sideinddelings navigation",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Go to "}page ${t}`:e==="first"?"Gå til den første side":e==="last"?"Gå til den sidste side":e==="next"?"Gå til den næste side":"Gå til den forrige side"}}}},sN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pfad anzeigen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Zur ersten Seite":e==="last"?"Zur letzten Seite":e==="next"?"Zur nächsten Seite":"Zur vorherigen Seite",labelRowsPerPage:"Zeilen pro Seite:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} von ${n!==-1?n:`mehr als ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Sterne":"Stern"}`,emptyLabelText:"Keine Wertung"}},MuiAutocomplete:{defaultProps:{clearText:"Leeren",closeText:"Schließen",loadingText:"Wird geladen…",noOptionsText:"Keine Optionen",openText:"Öffnen"}},MuiAlert:{defaultProps:{closeText:"Schließen"}},MuiPagination:{defaultProps:{"aria-label":"Navigation via Seitennummerierung",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Gehe zu "}Seite ${t}`:e==="first"?"Zur ersten Seite":e==="last"?"Zur letzten Seite":e==="next"?"Zur nächsten Seite":"Zur vorherigen Seite"}}}},lN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Εμφάνιση διαδρομής"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Πρώτη σελίδα":e==="last"?"Τελευταία σελίδα":e==="next"?"Επόμενη σελίδα":"Προηγούμενη σελίδα",labelRowsPerPage:"Γραμμές ανα σελίδα:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} από ${n!==-1?n:`πάνω από ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Αστέρι${e!==1?"α":""}`,emptyLabelText:"Χωρίς βαθμολόγηση"}},MuiAutocomplete:{defaultProps:{clearText:"Καθαρισμός",closeText:"Κλείσιμο",loadingText:"Φόρτωση…",noOptionsText:"Δεν υπάρχουν επιλογές",openText:"Άνοιγμα"}},MuiAlert:{defaultProps:{closeText:"Κλείσιμο"}},MuiPagination:{defaultProps:{"aria-label":"Πλοήγηση σε σελίδες",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Μετάβαση "}σελίδα ${t}`:e==="first"?"Πρώτη σελίδα":e==="last"?"Τελευταία σελίδα":e==="next"?"Επόμενη σελίδα":"Προηγούμενη σελίδα"}}}},cN={},uN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar ruta"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ir a la primera página":e==="last"?"Ir a la última página":e==="next"?"Ir a la página siguiente":"Ir a la página anterior",labelRowsPerPage:"Filas por página:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} de ${n!==-1?n:`más de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrella${e!==1?"s":""}`,emptyLabelText:"Vacío"}},MuiAutocomplete:{defaultProps:{clearText:"Limpiar",closeText:"Cerrar",loadingText:"Cargando…",noOptionsText:"Sin opciones",openText:"Abierto"}},MuiAlert:{defaultProps:{closeText:"Cerrar"}},MuiPagination:{defaultProps:{"aria-label":"Paginador",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ir a la "}página ${t}`:e==="first"?"Ir a la primera página":e==="last"?"Ir a la última página":e==="next"?"Ir a la página siguiente":"Ir a la página anterior"}}}},dN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Näita teed"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Vali esimene lehekülg":e==="last"?"Vali viimane lehekülg":e==="next"?"Vali järgmine lehekülg":"Vali eelmine lehekülg",labelRowsPerPage:"Ridu leheküljel:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} / ${n!==-1?n:`rohkem kui ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Tärn${e!==1?"i":""}`,emptyLabelText:"Tühi"}},MuiAutocomplete:{defaultProps:{clearText:"Tühjenda",closeText:"Sulge",loadingText:"Laen…",noOptionsText:"Valikuid ei ole",openText:"Ava"}},MuiAlert:{defaultProps:{closeText:"Sulge"}},MuiPagination:{defaultProps:{"aria-label":"Lehekülgede valik",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Vali "}lehekülg ${t}`:e==="first"?"Vali esimene lehekülg":e==="last"?"Vali viimane lehekülg":e==="next"?"Vali järgmine lehekülg":"Vali eelmine lehekülg"}}}},fN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"نمایش مسیر"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"رفتن به اولین صفحه":e==="last"?"رفتن به آخرین صفحه":e==="next"?"رفتن به صفحه‌ی بعدی":"رفتن به صفحه‌ی قبلی",labelRowsPerPage:"تعداد سطرهای هر صفحه:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} از ${n!==-1?n:`بیشتر از ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستاره`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"پاک‌کردن",closeText:"بستن",loadingText:"در حال بارگذاری…",noOptionsText:"بی‌نتیجه",openText:"بازکردن"}},MuiAlert:{defaultProps:{closeText:"بستن"}},MuiPagination:{defaultProps:{"aria-label":"ناوبری صفحه",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"رفتن به "}صفحهٔ ${t}`:e==="first"?"رفتن به اولین صفحه":e==="last"?"رفتن به آخرین صفحه":e==="next"?"رفتن به صفحه‌ی بعدی":"رفتن به صفحه‌ی قبلی"}}}},pN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Näytä reitti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Mene ensimmäiselle sivulle":e==="last"?"Mene viimeiselle sivulle":e==="next"?"Mene seuraavalle sivulle":"Mene edelliselle sivulle",labelRowsPerPage:"Rivejä per sivu:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} / ${n!==-1?n:`enemmän kuin ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Täht${e!==1?"eä":"i"}`,emptyLabelText:"Tyhjä"}},MuiAutocomplete:{defaultProps:{clearText:"Tyhjennä",closeText:"Sulje",loadingText:"Ladataan…",noOptionsText:"Ei valintoja",openText:"Avaa"}},MuiAlert:{defaultProps:{closeText:"Sulje"}},MuiPagination:{defaultProps:{"aria-label":"Sivutus navigaatio",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"sivu":"Mene sivulle"} ${t}`:e==="first"?"Mene ensimmäiselle sivulle":e==="last"?"Mene viimeiselle sivulle":e==="next"?"Mene seuraavalle sivulle":"Mene edelliselle sivulle"}}}},gN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Montrer le chemin"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente",labelRowsPerPage:"Lignes par page :",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} sur ${n!==-1?n:`plus que ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Etoile${e!==1?"s":""}`,emptyLabelText:"Vide"}},MuiAutocomplete:{defaultProps:{clearText:"Vider",closeText:"Fermer",loadingText:"Chargement…",noOptionsText:"Pas de résultats",openText:"Ouvrir"}},MuiAlert:{defaultProps:{closeText:"Fermer"}},MuiPagination:{defaultProps:{"aria-label":"navigation de pagination",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Aller à la "}page ${t}`:e==="first"?"Aller à la première page":e==="last"?"Aller à la dernière page":e==="next"?"Aller à la page suivante":"Aller à la page précédente"}}}},hN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"הצג נתיב"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"לעמוד הראשון":e==="last"?"לעמוד האחרון":e==="next"?"לעמוד הבא":"לעמוד הקודם",labelRowsPerPage:"שורות בעמוד:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} מתוך ${n!==-1?n:`יותר מ ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} כוכב${e!==1?"ים":""}`,emptyLabelText:"ריק"}},MuiAutocomplete:{defaultProps:{clearText:"נקה",closeText:"סגור",loadingText:"טוען…",noOptionsText:"אין אופציות",openText:"פתח"}},MuiAlert:{defaultProps:{closeText:"סגור"}},MuiPagination:{defaultProps:{"aria-label":"ניווט בעמודים",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"ל "}עמוד ${t}`:e==="first"?"לעמוד הראשון":e==="last"?"לעמוד האחרון":e==="next"?"לעמוד הבא":"לעמוד הקודם"}}}},mN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"रास्ता दिखायें"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"पहले पृष्ठ पर जाएँ":e==="last"?"अंतिम पृष्ठ पर जाएँ":e==="next"?"अगले पृष्ठ पर जाएँ":"पिछले पृष्ठ पर जाएँ",labelRowsPerPage:"पंक्तियाँ प्रति पृष्ठ:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}-${t===-1?n:t} कुल ${n} में`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} तार${e!==1?"े":"ा"}`,emptyLabelText:"रिक्त"}},MuiAutocomplete:{defaultProps:{clearText:"हटायें",closeText:"बंद करें",loadingText:"लोड हो रहा है…",noOptionsText:"कोई विकल्प नहीं",openText:"खोलें"}},MuiAlert:{defaultProps:{closeText:"बंद करें"}},MuiPagination:{defaultProps:{"aria-label":"पृस्ठानुसार संचालन",getItemAriaLabel:(e,t,n)=>e==="page"?`पृष्ठ ${t} ${n?"":" पर जाएँ"}`:e==="first"?"पहले पृष्ठ पर जाएँ":e==="last"?"अंतिम पृष्ठ पर जाएँ":e==="next"?"अगले पृष्ठ पर जाएँ":"पिछले पृष्ठ पर जाएँ"}}}},vN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaži putanju"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na posljednju stranicu":e==="next"?"Idi na sljedeću stranicu":"Idi na prethodnu stranicu",labelRowsPerPage:"Redova po stranici:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} od ${n!==-1?n:`više nego ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10,n=e%100;return[2,3,4].includes(t)&&![12,13,14].includes(n)?"Zvijezde":"Zvijezda"},emptyLabelText:"Prazno"}},MuiAutocomplete:{defaultProps:{clearText:"Briši",closeText:"Zatvori",loadingText:"Učitavanje…",noOptionsText:"Nema opcija",openText:"Otvori"}},MuiAlert:{defaultProps:{closeText:"Zatvori"}},MuiPagination:{defaultProps:{"aria-label":"Navigacija po stranicama",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Idi na "}stranicu ${t}`:e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na zadnju stranicu":e==="next"?"Idi na sljedeću stranicu":"Idi na prethodnu stranicu"}}}},yN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Útvonal"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Első oldalra":e==="last"?"Utolsó oldalra":e==="next"?"Következő oldalra":"Előző oldalra",labelRowsPerPage:"Sorok száma:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Csillag`,emptyLabelText:"Üres"}},MuiAutocomplete:{defaultProps:{clearText:"Törlés",closeText:"Bezárás",loadingText:"Töltés…",noOptionsText:"Nincs találat",openText:"Megnyitás"}},MuiAlert:{defaultProps:{closeText:"Bezárás"}},MuiPagination:{defaultProps:{"aria-label":"Lapozás",getItemAriaLabel:(e,t,n)=>e==="page"?`${t}. oldal${n?"":"ra"}`:e==="first"?"Első oldalra":e==="last"?"Utolsó oldalra":e==="next"?"Következő oldalra":"Előző oldalra"}}}},bN={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Տողեր մեկ էջում`"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Աստղ`,emptyLabelText:"Դատարկ"}},MuiAutocomplete:{defaultProps:{clearText:"Մաքրել",closeText:"Փակել",loadingText:"Բեռնում…",noOptionsText:"Տարբերակներ չկան",openText:"Բացել"}},MuiAlert:{defaultProps:{closeText:"Փակել"}}}},xN={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"Baris per halaman:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Bintang`}},MuiAutocomplete:{defaultProps:{clearText:"Hapus",closeText:"Tutup",loadingText:"Memuat…",noOptionsText:"Tidak ada opsi",openText:"Buka"}},MuiAlert:{defaultProps:{closeText:"Tutup"}}}},SN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Sýna slóð"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Fara á fyrstu síðu":e==="last"?"Fara á síðustu síðu":e==="next"?"Fara á næstu síðu":"Fara á fyrri síðu",labelRowsPerPage:"Raðir á síðu:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} af ${n!==-1?n:`fleiri en ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e===1?"stjarna":"stjörnur"}`,emptyLabelText:"Tómt"}},MuiAutocomplete:{defaultProps:{clearText:"Hreinsa",closeText:"Loka",loadingText:"Hlaða…",noOptionsText:"Engar niðurstöður",openText:"Opna"}},MuiAlert:{defaultProps:{closeText:"Loka"}},MuiPagination:{defaultProps:{"aria-label":"Síðuflakk",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"Síða":"Fara á síðu"} ${t}`:e==="first"?"Fara á fyrstu síðu":e==="last"?"Fara á síðustu síðu":e==="next"?"Fara á næstu síðu":"Fara á fyrri síðu"}}}},wN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visualizza percorso"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Vai alla prima pagina":e==="last"?"Vai all'ultima pagina":e==="next"?"Vai alla pagina successiva":"Vai alla pagina precedente",labelRowsPerPage:"Righe per pagina:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} di ${n!==-1?n:`più di ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stell${e!==1?"e":"a"}`,emptyLabelText:"Vuoto"}},MuiAutocomplete:{defaultProps:{clearText:"Svuota",closeText:"Chiudi",loadingText:"Caricamento in corso…",noOptionsText:"Nessuna opzione",openText:"Apri"}},MuiAlert:{defaultProps:{closeText:"Chiudi"}},MuiPagination:{defaultProps:{"aria-label":"Navigazione impaginata",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Vai alla "}pagina ${t}`:e==="first"?"Vai alla prima pagina":e==="last"?"Vai all'ultima pagina":e==="next"?"Vai alla pagina successiva":"Vai alla pagina precedente"}}}},CN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"すべて表示"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"最初のページへ":e==="last"?"最後のページへ":e==="next"?"次のページへ":"前のページへ",labelRowsPerPage:"ページあたりの行数:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}~${t} / ${n!==-1?n:`${t}以上`}`}},MuiRating:{defaultProps:{getLabelText:e=>`星${e}`,emptyLabelText:"星なし"}},MuiAutocomplete:{defaultProps:{clearText:"クリア",closeText:"閉じる",loadingText:"読み込み中…",noOptionsText:"データがありません",openText:"開く"}},MuiAlert:{defaultProps:{closeText:"閉じる"}},MuiPagination:{defaultProps:{"aria-label":"ページ選択",getItemAriaLabel:(e,t,n)=>e==="page"?`ページ${t}${n?"":"へ"}`:e==="first"?"最初のページへ":e==="last"?"最後のページへ":e==="next"?"次のページへ":"前のページへ"}}}},_N={components:{MuiBreadcrumbs:{defaultProps:{expandText:"បង្ហាញផ្លូវ"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ទៅទំព័រដំបូង":e==="last"?"ទៅទំព័រចុងក្រោយ":e==="next"?"ទៅទំព័របន្ទាប់":"ទៅទំព័រមុន",labelRowsPerPage:"ចំនួនជួរដេកក្នុងមួយទំព័រ:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e} - ${t} នៃ ${n!==-1?n:`ច្រើនជាង ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ផ្កាយ`,emptyLabelText:"ទទេ"}},MuiAutocomplete:{defaultProps:{clearText:"លុបចោល",closeText:"បិទ",loadingText:"កំពុងលោត…",noOptionsText:"គ្មានជម្រើស",openText:"បើក"}},MuiAlert:{defaultProps:{closeText:"បិទ"}},MuiPagination:{defaultProps:{"aria-label":"រុករកទំព័រ",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"ទៅ "}ទំព័រ ${t}`:e==="first"?"ទៅទំព័រដំបូង":e==="last"?"ទៅទំព័រចុងក្រោយ":e==="next"?"ទៅទំព័របន្ទាប់":"ទៅទំព័រមុន"}}}},RN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"경로 보기"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"첫 번째 페이지로 이동":e==="last"?"마지막 페이지로 이동":e==="next"?"다음 페이지로 이동":"이전 페이지로 이동",labelRowsPerPage:"페이지 당 행:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} / ${n!==-1?n:`${t}개 이상`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 점`,emptyLabelText:"빈 텍스트"}},MuiAutocomplete:{defaultProps:{clearText:"지우기",closeText:"닫기",loadingText:"불러오는 중…",noOptionsText:"옵션 없음",openText:"열기"}},MuiAlert:{defaultProps:{closeText:"닫기"}},MuiPagination:{defaultProps:{"aria-label":"페이지네이션 네비게이션",getItemAriaLabel:(e,t,n)=>e==="page"?`${t} 번째 페이지${n?"":"로 이동"}`:e==="first"?"첫 번째 페이지로 이동":e==="last"?"마지막 페이지로 이동":e==="next"?"다음 페이지로 이동":"이전 페이지로 이동"}}}},PN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"ڕێچکە پیشان بدە"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"چوونە یەکەم پەڕە":e==="last"?"چوونە کۆتا پەڕە":e==="next"?"چوونە پەڕەی دواتر":"گەڕانەوە بۆ پەڕەی پێشوو",labelRowsPerPage:"ژمارەی ڕیزەکان لە هەر پەڕەیەک:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} لە ${n!==-1?n:` زیاترە لە${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"ئەستێرەکان":"ئەستێرە"}`,emptyLabelText:"خاڵیە"}},MuiAutocomplete:{defaultProps:{clearText:"سڕینەوە",closeText:"داخستن",loadingText:"لە بارکردندایە...",noOptionsText:"هیچ بژاردەیەک نیە",openText:"کردنەوە"}},MuiAlert:{defaultProps:{closeText:"داخستن"}},MuiPagination:{defaultProps:{"aria-label":"گەڕان لە پەڕەکان",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"چوون بۆ "} پەڕەی ${t}`:e==="first"?"چوونە یەکەم پەڕە":e==="last"?"چوونە کۆتا پەڕە":e==="next"?"چوونە پەڕەی دواتر":"گەڕانەوە بۆ پەڕەی پێشوو"}}}},TN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Rê nîşan bide"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Biçe rûpela yekem":e==="last"?"Biçe rûpela dawî":e==="next"?"Biçe rûpela din":"Biçe rûpela berê",labelRowsPerPage:"Rêz li ser rûpelê:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} of ${n!==-1?n:`zêdetir ji ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stêrk`,emptyLabelText:"Vala"}},MuiAutocomplete:{defaultProps:{clearText:"Paqij bike",closeText:"Bigre",loadingText:"Tê barkirin…",noOptionsText:"Vebijêrk tune",openText:"Veke"}},MuiAlert:{defaultProps:{closeText:"Bigre"}},MuiPagination:{defaultProps:{"aria-label":"Navîgasyona rûpelan",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Biçe "}rûpel ${t}`:e==="first"?"Biçe rûpela yekem":e==="last"?"Biçe rûpela dawî":e==="next"?"Biçe rûpela din":"Biçe rûpela berê"}}}},kN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Толық жолды көрсету"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Бірінші бетке өту":e==="last"?"Соңғы бетке өту":e==="next"?"Келесі бетке өту":"Алдыңғы бетке өту",labelRowsPerPage:"Беттегі қатарлар:",labelDisplayedRows:({from:e,to:t,count:n})=>`${n!==-1?n:`+${t}`} қатардың ішінен ${e}–${t}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} жұлдыз`,emptyLabelText:"Рейтинг жоқ"}},MuiAutocomplete:{defaultProps:{clearText:"Тазарту",closeText:"Жабу",loadingText:"Жүктелуде…",noOptionsText:"Қол жетімді нұсқалар жоқ",openText:"Ашу"}},MuiAlert:{defaultProps:{closeText:"Жабу"}},MuiPagination:{defaultProps:{"aria-label":"Беттерді шарлау",getItemAriaLabel:(e,t,n)=>e==="page"?n?`${t} — бет`:`${t} — бетке өту`:e==="first"?"Бірінші бетке өту":e==="last"?"Соңғы бетке өту":e==="next"?"Келесі бетке өту":"Алдыңғы бетке өту"}}}},$N={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Прикажи патека"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Оди на прва страница":e==="last"?"Оди на последна страница":e==="next"?"Оди на следна страница":"Оди на предходна страница",labelRowsPerPage:"Редови по страница:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} од ${n!==-1?n:`повеќе од ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} Ѕвезд${t===1?"а":"и"}`},emptyLabelText:"Празно"}},MuiAutocomplete:{defaultProps:{clearText:"Избриши",closeText:"Затвори",loadingText:"Се презема",noOptionsText:"Нема опција",openText:"Отвори"}},MuiAlert:{defaultProps:{closeText:"Затвори"}},MuiPagination:{defaultProps:{"aria-label":"Навигација низ страници",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Оди на "}страница ${t}`:e==="first"?"Оди на прва страница":e==="last"?"Оди на последна страница":e==="next"?"Оди на следна страница":"Оди на предходна страница"}}}},EN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"လမ်းကြောင်းပြပါ။"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ပထမစာမျက်နှာသို့သွားပါ။":e==="last"?"နောက်ဆုံးစာမျက်နှာသို့သွားပါ။":e==="next"?"နောက်စာမျက်နှာသို့သွားပါ။":"ယခင်စာမျက်နှာသို့သွားပါ။",labelRowsPerPage:"စာမျက်နှာအလိုက် အတန်းများ:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} ၏ ${n!==-1?n:`ထက်ပိုပြီး ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} ကြယ်ပွင့်${t===1?"၎":""}`},emptyLabelText:"ဗလာ"}},MuiAutocomplete:{defaultProps:{clearText:"ရှင်းလင်းသော",closeText:"ပိတ်လိုက်",loadingText:"ဖွင့်နေသည်…",noOptionsText:"ရွေးချယ်ခွင့်မရှိပါ။",openText:"ဖွင့်သည်။"}},MuiAlert:{defaultProps:{closeText:"ပိတ်လိုက်"}},MuiPagination:{defaultProps:{"aria-label":"Pagination အညွှန်း",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"သွားပါ။ "}စာမျက်နှာ ${t}`:e==="first"?"ပထမစာမျက်နှာသို့သွားပါ။":e==="last"?"နောက်ဆုံးစာမျက်နှာသို့သွားပါ။":e==="next"?"နောက်စာမျက်နှာသို့သွားပါ။":"ယခင်စာမျက်နှာသို့သွားပါ။"}}}},MN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Tunjukkan laluan"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Pergi ke halaman pertama":e==="last"?"Pergi ke halaman terakhir":e==="next"?"Pergi ke halaman seterusnya":"Pergi ke halaman sebelumnya",labelRowsPerPage:"Baris setiap halaman:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} daripada ${n!==-1?n:`lebih daripada ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} Bintang${t===1?"s":""}`},emptyLabelText:"kosong"}},MuiAutocomplete:{defaultProps:{clearText:"Jelas",closeText:"tutup",loadingText:"Memuatkan…",noOptionsText:"Tiada pilihan",openText:"Buka"}},MuiAlert:{defaultProps:{closeText:"tutup"}},MuiPagination:{defaultProps:{"aria-label":"Navigasi penomboran",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Pergi ke "}muka surat ${t}`:e==="first"?"Pergi ke halaman pertama":e==="last"?"Pergi ke halaman terakhir":e==="next"?"Pergi ke halaman seterusnya":"Pergi ke halaman sebelumnya"}}}},IN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"बाटो देखाउनुहोस्"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"पहिलो पृष्ठमा जानुहोस्":e==="last"?"अन्तिम पृष्ठमा जानुहोस्":e==="next"?"अर्को पृष्ठमा जानुहोस्":"अघिल्लो पृष्ठमा जानुहोस्",labelRowsPerPage:"प्रति पृष्ठ पङ्क्तिहरू:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} को ${n!==-1?n:`धेरै ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10;return`${e} तारा${t===1?"स":""}`},emptyLabelText:"खाली"}},MuiAutocomplete:{defaultProps:{clearText:"खाली गर्नुहोस्",closeText:"बन्द गर्नुहोस्",loadingText:"लोड हुँदै...",noOptionsText:"कुनै विकल्प छैन",openText:"खोल्नुहोस्"}},MuiAlert:{defaultProps:{closeText:"बन्द गर्नुहोस्"}},MuiPagination:{defaultProps:{"aria-label":"पृष्ठांकन नेभिगेसन",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"जाऊ त्यहाँ "}पृष्ठ ${t}`:e==="first"?"पहिलो पृष्ठमा जानुहोस्":e==="last"?"अन्तिम पृष्ठमा जानुहोस्":e==="next"?"अर्को पृष्ठमा जानुहोस्":"अघिल्लो पृष्ठमा जानुहोस्"}}}},ON={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til forrige side",labelRowsPerPage:"Rader per side:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} av ${n!==-1?n:`mer enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Stjerne${e!==1?"r":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Tøm",closeText:"Lukk",loadingText:"Laster inn…",noOptionsText:"Ingen alternativer",openText:"Åpne"}},MuiAlert:{defaultProps:{closeText:"Lukk"}},MuiPagination:{defaultProps:{"aria-label":"Paginering navigasjon",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Gå til "}side ${t}`:e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til forrige side"}}}},LN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Vis sti"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til førre side",labelRowsPerPage:"Rader per side:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} av ${n!==-1?n:`fleire enn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} stjerne${e!==1?"r":""}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Tøm",closeText:"Lukk",loadingText:"Lastar inn…",noOptionsText:"Ingen alternativ",openText:"Opna"}},MuiAlert:{defaultProps:{closeText:"Lukk"}},MuiPagination:{defaultProps:{"aria-label":"Navigasjon for paginering",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Gå til "}side ${t}`:e==="first"?"Gå til første side":e==="last"?"Gå til siste side":e==="next"?"Gå til neste side":"Gå til førre side"}}}},AN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pad tonen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ga naar eerste pagina":e==="last"?"Ga naar laatste pagina":e==="next"?"Ga naar volgende pagina":"Ga naar vorige pagina",labelRowsPerPage:"Regels per pagina:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} van ${n!==-1?n:`meer dan ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Ster${e!==1?"ren":""}`,emptyLabelText:"Leeg"}},MuiAutocomplete:{defaultProps:{clearText:"Wissen",closeText:"Sluiten",loadingText:"Laden…",noOptionsText:"Geen opties",openText:"Openen"}},MuiAlert:{defaultProps:{closeText:"Sluiten"}},MuiPagination:{defaultProps:{"aria-label":"Navigatie via paginering",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ga naar "}pagina ${t}`:e==="first"?"Ga naar eerste pagina":e==="last"?"Ga naar laatste pagina":e==="next"?"Ga naar volgende pagina":"Ga naar vorige pagina"}}}},NN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaż ścieżkę"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Przejdź do pierwszej strony":e==="last"?"Przejdź do ostatniej strony":e==="next"?"Przejdź do następnej strony":"Przejdź do poprzedniej strony",labelRowsPerPage:"Wierszy na stronę:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} z ${n!==-1?n:`ponad ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="gwiazdek";const n=e%10;return(e<10||e>20)&&n>1&&n<5?t="gwiazdki":e===1&&(t="gwiazdka"),`${e} ${t}`},emptyLabelText:"Brak gwiazdek"}},MuiAutocomplete:{defaultProps:{clearText:"Wyczyść",closeText:"Zamknij",loadingText:"Ładowanie…",noOptionsText:"Brak opcji",openText:"Otwórz"}},MuiAlert:{defaultProps:{closeText:"Zamknij"}},MuiPagination:{defaultProps:{"aria-label":"Nawigacja podziału na strony",getItemAriaLabel:(e,t,n)=>e==="page"?n?`${t}. strona`:`Przejdź do ${t}. strony`:e==="first"?"Przejdź do pierwszej strony":e==="last"?"Przejdź do ostatniej strony":e==="next"?"Przejdź do następnej strony":"Przejdź do poprzedniej strony"}}}},DN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"لاره ښکاره کړه"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"لومړۍ پاڼې ته لاړ شه":e==="last"?"ورستۍ پاڼې ته لاړ شه":e==="next"?"بلی پاڼې ته لاړ شه":"مخکینۍ پاڼې ته لاړ شه",labelRowsPerPage:"په پاڼه کی د کرښو شمیر",labelDisplayedRows:({from:e,to:t,count:n})=>`${n!==-1?n:`${t} زیات له`} ${t}- ${e} د`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستوری`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"پاک کول",closeText:"تړل",loadingText:"... لوډ کیږی",noOptionsText:"بی پایلی",openText:"خلاصول"}},MuiAlert:{defaultProps:{closeText:"تړل"}},MuiPagination:{defaultProps:{"aria-label":"د پاڼو ترتیب",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":" ته لاړ شه"}پاڼې ${t}`:e==="first"?"لومړۍ پاڼی ته لاړ شه":e==="last"?"وروستۍ پاڼې ته لاړه شه":e==="next"?"بلې پاڼې ته لاړ شه":"مخکنۍ پاڼې ته لاړ شه"}}}},jN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ir para a primeira página":e==="last"?"Ir para a última página":e==="next"?"Ir para a próxima página":"Ir para a página anterior",labelRowsPerPage:"Linhas por página:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} de ${n!==-1?n:`mais de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrela${e!==1?"s":""}`,emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"Carregando…",noOptionsText:"Sem opções",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar pela paginação",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ir para a "}página ${t}`:e==="first"?"Ir para a primeira página":e==="last"?"Ir para a última página":e==="next"?"Ir para a próxima página":"Ir para a página anterior"}}}},FN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Primeira página":e==="last"?"Última página":e==="next"?"Próxima página":"Página anterior",labelRowsPerPage:"Linhas por página:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} de ${n!==-1?n:`mais de ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Estrela${e!==1?"s":""}`,emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"A carregar…",noOptionsText:"Sem opções",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar por páginas",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ir para a "}página ${t}`:e==="first"?"Primeira página":e==="last"?"Última página":e==="next"?"Próxima página":"Página anterior"}}}},BN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Arată calea"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Mergi la prima pagină":e==="last"?"Mergi la ultima pagină":e==="next"?"Mergi la pagina următoare":"Mergi la pagina precedentă",labelRowsPerPage:"Rânduri pe pagină:"}},MuiRating:{defaultProps:{getLabelText:e=>`${e} St${e!==1?"ele":"ea"}`,emptyLabelText:"Gol"}},MuiAutocomplete:{defaultProps:{clearText:"Șterge",closeText:"Închide",loadingText:"Se încarcă…",noOptionsText:"Nicio opțiune",openText:"Deschide"}},MuiAlert:{defaultProps:{closeText:"Închide"}},MuiPagination:{defaultProps:{"aria-label":"Navigare prin paginare",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Mergi la "}pagina ${t}`:e==="first"?"Mergi la prima pagină":e==="last"?"Mergi la ultima pagină":e==="next"?"Mergi la pagina următoare":"Mergi la pagina precedentă"}}}},zN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pokaži putanju"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na poslednju stranicu":e==="next"?"Idi na sledeću stranicu":"Idi na prethodnu stranicu",labelRowsPerPage:"Redova po stranici:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} od ${n!==-1?n:`više nego ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{const t=e%10,n=e%100;return[2,3,4].includes(t)&&![12,13,14].includes(n)?"Zvezde":"Zvezda"},emptyLabelText:"Prazno"}},MuiAutocomplete:{defaultProps:{clearText:"Briši",closeText:"Zatvori",loadingText:"Učitavanje…",noOptionsText:"Nema opcija",openText:"Otvori"}},MuiAlert:{defaultProps:{closeText:"Zatvori"}},MuiPagination:{defaultProps:{"aria-label":"Navigacija po stranicama",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Idi na "}stranicu ${t}`:e==="first"?"Idi na prvu stranicu":e==="last"?"Idi na zadnju stranicu":e==="next"?"Idi na sledeću stranicu":"Idi na prethodnu stranicu"}}}},HN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показать полный путь"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перейти на первую страницу":e==="last"?"Перейти на последнюю страницу":e==="next"?"Перейти на следующую страницу":"Перейти на предыдущую страницу",labelRowsPerPage:"Строк на странице:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} из ${n!==-1?n:`более чем ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Звёзд";const n=e%10;return n>1&&n<5?t="Звезды":n===1&&(t="Звезда"),`${e} ${t}`},emptyLabelText:"Рейтинг отсутствует"}},MuiAutocomplete:{defaultProps:{clearText:"Очистить",closeText:"Закрыть",loadingText:"Загрузка…",noOptionsText:"Нет доступных вариантов",openText:"Открыть"}},MuiAlert:{defaultProps:{closeText:"Закрыть"}},MuiPagination:{defaultProps:{"aria-label":"Навигация по страницам",getItemAriaLabel:(e,t,n)=>e==="page"?n?`${t} страница`:`Перейти на ${t} страницу`:e==="first"?"Перейти на первую страницу":e==="last"?"Перейти на последнюю страницу":e==="next"?"Перейти на следующую страницу":"Перейти на предыдущую страницу"}}}},VN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"ගමන් මඟ පෙන්වන්න"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"පළමු පිටුවට යන්න":e==="last"?"අවසාන පිටුවට යන්න":e==="next"?"මීළඟ පිටුවට යන්න":"පෙර පිටුවට යන්න",labelRowsPerPage:"පිටුවක පේළි:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} දක්වා ${n!==-1?n:`${t} ට වැඩි ප්‍රමාණයකින්`}`}},MuiRating:{defaultProps:{getLabelText:e=>`තරු ${e}`,emptyLabelText:"හිස්"}},MuiAutocomplete:{defaultProps:{clearText:"මකන්න",closeText:"වසන්න",loadingText:"නැංවෙමින්…",noOptionsText:"විකල්ප නැත",openText:"විවෘත කරන්න"}},MuiAlert:{defaultProps:{closeText:"වසන්න"}},MuiPagination:{defaultProps:{"aria-label":"පිටු අතර සංචරණය",getItemAriaLabel:(e,t,n)=>e==="page"?`පිටුව ${t} ${n?"":"ට යන්න"}`:e==="first"?"පළමු පිටුවට යන්න":e==="last"?"අවසාන පිටුවට යන්න":e==="next"?"මීළඟ පිටුවට යන්න":"පෙර පිටුවට යන්න"}}}},WN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ukázať cestu "}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Ísť na prvú stránku":e==="last"?"Ísť na poslednú stránku":e==="next"?"Ísť na ďaľšiu stránku":"Ísť na predchádzajúcu stránku",labelRowsPerPage:"Riadkov na stránke:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} z ${n!==-1?n:`viac ako ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>e===1?`${e} hviezdička`:e>=2&&e<=4?`${e} hviezdičky`:`${e} hviezdičiek`,emptyLabelText:"Prázdne"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazať",closeText:"Zavrieť",loadingText:"Načítanie…",noOptionsText:"Žiadne možnosti",openText:"Otvoriť"}},MuiAlert:{defaultProps:{closeText:"Zavrieť"}},MuiPagination:{defaultProps:{"aria-label":"Navigácia stránkovanim",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Ísť na "}stránku ${t}`:e==="first"?"Ísť na prvú stránku":e==="last"?"Ísť na poslednú stránku":e==="next"?"Ísť na ďaľšiu stránku":"Ísť na predchádzajúcu stránku"}}}},UN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visa sökväg"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Gå till första sidan":e==="last"?"Gå till sista sidan":e==="next"?"Gå till nästa sida":"Gå till föregående sida",labelRowsPerPage:"Rader per sida:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} av ${n!==-1?n:`fler än ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ${e!==1?"Stjärnor":"Stjärna"}`,emptyLabelText:"Tom"}},MuiAutocomplete:{defaultProps:{clearText:"Rensa",closeText:"Stäng",loadingText:"Laddar…",noOptionsText:"Inga alternativ",openText:"Öppna"}},MuiAlert:{defaultProps:{closeText:"Stäng"}},MuiPagination:{defaultProps:{"aria-label":"Sidnavigering",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Gå till "}sida ${t}`:e==="first"?"Gå till första sidan":e==="last"?"Gå till sista sidan":e==="next"?"Gå till nästa sida":"Gå till föregående sida"}}}},GN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"แสดงเส้นทาง"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"ไปที่หน้าแรก":e==="last"?"ไปที่หน้าสุดท้าย":e==="next"?"ไปที่หน้าถัดไป":"ไปที่หน้าก่อน",labelRowsPerPage:"จำนวนแถวต่อหน้า:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} จาก ${n!==-1?n:`มากกว่า ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ดาว`,emptyLabelText:"ว่างเปล่า"}},MuiAutocomplete:{defaultProps:{clearText:"เคลียร์",closeText:"ปิด",loadingText:"กำลังโหลด…",noOptionsText:"ไม่มีตัวเลือก",openText:"เปิด"}},MuiAlert:{defaultProps:{closeText:"ปิด"}},MuiPagination:{defaultProps:{"aria-label":"",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"ไปที่"}หน้า ${t}`:e==="first"?"ไปที่หน้าแรก":e==="last"?"ไปที่หน้าสุดท้าย":e==="next"?"ไปที่หน้าถัดไป":"ไปที่หน้าก่อน"}}}},qN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu göster"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"İlk sayfaya git":e==="last"?"Son sayfaya git":e==="next"?"Sonraki sayfaya git":"Önceki sayfaya git",labelRowsPerPage:"Sayfa başına satır:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}-${t} / ${n!==-1?n:`${t}'den fazla`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Yıldız`,emptyLabelText:"Boş"}},MuiAutocomplete:{defaultProps:{clearText:"Temizle",closeText:"Kapat",loadingText:"Yükleniyor…",noOptionsText:"Seçenek yok",openText:"Aç"}},MuiAlert:{defaultProps:{closeText:"Kapat"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:(e,t,n)=>e==="page"?`${t}. ${n?"sayfa":"sayfaya git"}`:e==="first"?"İlk sayfaya git":e==="last"?"Son sayfaya git":e==="next"?"Sonraki sayfaya git":"Önceki sayfaya git"}}}},KN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Ipakita ang landas"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Pumunta sa unang pahina":e==="last"?"Pumunta sa huling pahina":e==="next"?"Pumunta sa susunod na pahina":"Pumunta sa nakaraang pahina",labelRowsPerPage:"Mga hilera bawat pahina:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} ng ${n!==-1?n:`higit sa ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} Bituin${e!==1?"s":""}`,emptyLabelText:"Walang laman"}},MuiAutocomplete:{defaultProps:{clearText:"Maaliwalas",closeText:"Isara",loadingText:"Naglo-load…",noOptionsText:"Walang mga pagpipilian",openText:"Bukas"}},MuiAlert:{defaultProps:{closeText:"Isara"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Pumunta sa"}pahina ${t}`:e==="first"?"Pumunta sa unang pahina":e==="last"?"Pumunta sa huling pahina":e==="next"?"Pumunta sa susunod na pahina":"Pumunta sa nakaraang pahina"}}}},ZN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Показати шлях сторінок"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Перейти на першу сторінку":e==="last"?"Перейти на останню сторінку":e==="next"?"Перейти на наступну сторінку":"Перейти на попередню сторінку",labelRowsPerPage:"Рядків на сторінці:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} з ${n!==-1?n:`понад ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>{let t="Зірок";const n=e%10;return n>1&&n<5?t="Зірки":n===1&&(t="Зірка"),`${e} ${t}`},emptyLabelText:"Рейтинг відсутній"}},MuiAutocomplete:{defaultProps:{clearText:"Очистити",closeText:"Згорнути",loadingText:"Завантаження…",noOptionsText:"Немає варіантів",openText:"Розгорнути"}},MuiAlert:{defaultProps:{closeText:"Згорнути"}},MuiPagination:{defaultProps:{"aria-label":"Навігація сторінками",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Перейти на "}сторінку ${t}`:e==="first"?"Перейти на першу сторінку":e==="last"?"Перейти на останню сторінку":e==="next"?"Перейти на наступну сторінку":"Перейти на попередню сторінку"}}}},QN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"راستہ دکھائیں"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"پہلے صفحے پر جائیں":e==="last"?"آخری صفحے پر جائیں":e==="next"?"اگلے صفحے پر جائیں":"پچھلے صفحے پر جائیں",labelRowsPerPage:"ایک صفحے پر قطاریں:",labelDisplayedRows:({from:e,to:t,count:n})=>`${n!==-1?`${n} میں سے`:`${t} سے ذیادہ میں سے`} ${e} سے ${t} قطاریں`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} ستار${e!==1?"ے":"ہ"}`,emptyLabelText:"خالی"}},MuiAutocomplete:{defaultProps:{clearText:"کلئیر",closeText:"بند کریں",loadingText:"لوڈ ہو رہا ہے۔۔۔",noOptionsText:"کوئی آپشن نہیں",openText:"کھولیں"}},MuiAlert:{defaultProps:{closeText:"بند کریں"}},MuiPagination:{defaultProps:{"aria-label":"صفحات کی ترتیب",getItemAriaLabel:(e,t,n)=>e==="page"?`صفحہ نمبر ${t}${n?"":" پر جائیں"}`:e==="first"?"پہلے صفحے پر جائیں":e==="last"?"آخری صفحے پر جائیں":e==="next"?"اگلے صفحے پر جائیں":"پچھلے صفحے پر جائیں"}}}},YN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mở ra"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"Tới trang đầu tiên":e==="last"?"Tới trang cuối cùng":e==="next"?"Tới trang tiếp theo":"Về trang trước đó",labelRowsPerPage:"Số hàng mỗi trang:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e}–${t} trong ${n!==-1?n:`nhiều hơn ${t}`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} sao`,emptyLabelText:"Không có dữ liệu"}},MuiAutocomplete:{defaultProps:{clearText:"Xóa",closeText:"Đóng",loadingText:"Đang tải…",noOptionsText:"Không có lựa chọn nào",openText:"Mở"}},MuiAlert:{defaultProps:{closeText:"Đóng"}},MuiPagination:{defaultProps:{"aria-label":"Thanh điều khiển trang",getItemAriaLabel:(e,t,n)=>e==="page"?`${n?"":"Tới "}trang ${t}`:e==="first"?"Tới trang đầu tiên":e==="last"?"Tới trang cuối cùng":e==="next"?"Tới trang tiếp theo":"Về trang trước đó"}}}},XN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展开"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一页":e==="last"?"最后一页":e==="next"?"下一页":"上一页",labelRowsPerPage:"每页行数:",labelDisplayedRows:({from:e,to:t,count:n})=>`第 ${e} 条到第 ${t} 条,${n!==-1?`共 ${n} 条`:`至少 ${t} 条`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 颗星`,emptyLabelText:"无标签"}},MuiAutocomplete:{defaultProps:{clearText:"清空",closeText:"关闭",loadingText:"加载中……",noOptionsText:"没有可用选项",openText:"打开"}},MuiAlert:{defaultProps:{closeText:"关闭"}}}},JN={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展開"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一頁":e==="last"?"最後一頁":e==="next"?"下一頁":"上一頁",labelRowsPerPage:"每頁行數:",labelDisplayedRows:({from:e,to:t,count:n})=>`第 ${e} 項至第 ${t} 項,${n!==-1?`共 ${n} 項`:`超過 ${t} 項`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 粒星`,emptyLabelText:"無標籤"}},MuiAutocomplete:{defaultProps:{clearText:"清除",closeText:"關閉",loadingText:"載入中……",noOptionsText:"沒有可用選項",openText:"開啟"}},MuiAlert:{defaultProps:{closeText:"關閉"}}}},eD={components:{MuiBreadcrumbs:{defaultProps:{expandText:"展開"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:e=>e==="first"?"第一頁":e==="last"?"最後一頁":e==="next"?"下一頁":"上一頁",labelRowsPerPage:"每頁數量:",labelDisplayedRows:({from:e,to:t,count:n})=>`${e} ~ ${t} / ${n!==-1?n:`${t} 以上`}`}},MuiRating:{defaultProps:{getLabelText:e=>`${e} 顆星`,emptyLabelText:"無標籤"}},MuiAutocomplete:{defaultProps:{clearText:"清空",closeText:"關閉",loadingText:"載入中…",noOptionsText:"沒有可用選項",openText:"打開"}},MuiAlert:{defaultProps:{closeText:"關閉"}}}},tD=Object.freeze(Object.defineProperty({__proto__:null,amET:Q9,arEG:Y9,arSA:X9,arSD:J9,azAZ:eN,beBY:nN,bgBG:rN,bnBD:tN,caES:oN,csCZ:iN,daDK:aN,deDE:sN,elGR:lN,enUS:cN,esES:uN,etEE:dN,faIR:fN,fiFI:pN,frFR:gN,heIL:hN,hiIN:mN,hrHR:vN,huHU:yN,hyAM:bN,idID:xN,isIS:SN,itIT:wN,jaJP:CN,khKH:_N,kkKZ:kN,koKR:RN,kuCKB:PN,kuLatn:TN,mkMK:$N,msMS:MN,myMY:EN,nbNO:ON,neNP:IN,nlNL:AN,nnNO:LN,plPL:NN,psAF:DN,ptBR:jN,ptPT:FN,roRO:BN,ruRU:HN,siLK:VN,skSK:WN,srRS:zN,svSE:UN,thTH:GN,tlTL:KN,trTR:qN,ukUA:ZN,urPK:QN,viVN:YN,zhCN:XN,zhHK:JN,zhTW:eD},Symbol.toStringTag,{value:"Module"}));var Kb;(function(e){e.Single="single",e.Multiple="multiple"})(Kb||(Kb={}));const nD="_toolbar_158fz_3",rD="_actions_158fz_8",oD="_selectLabel_158fz_16",iD="_select_158fz_16",aD="_displayedRows_158fz_21",sD="_selectRoot_158fz_29",lD="_selectIcon_158fz_45",cD="_iconBtnRoot_158fz_56",uD="_iconBtnDisabled_158fz_68",fo={toolbar:nD,actions:rD,selectLabel:oD,select:iD,displayedRows:aD,selectRoot:sD,selectIcon:lD,iconBtnRoot:cD,iconBtnDisabled:uD},Zb={root:fo.iconBtnRoot,disabled:fo.iconBtnDisabled},dD=e=>{const{className:t="",page:n,onPageChange:r,count:o,rowsPerPage:i}=e;return g.jsxs("div",{className:t,children:[g.jsx(hr,{disableRipple:!0,classes:Zb,disabled:n===0,onClick:a=>r(a,n-1),children:g.jsx(TA,{size:10},void 0)},void 0),g.jsx(hr,{disableRipple:!0,classes:Zb,disabled:n>=Math.ceil(o/i)-1,onClick:a=>r(a,n+1),children:g.jsx(kA,{size:10},void 0)},void 0)]},void 0)},fD=e=>{const n=zt().language==="zhCN";return g.jsx(BL,{component:"div",ActionsComponent:r=>g.jsx(dD,{...r},void 0),classes:{toolbar:fo.toolbar,actions:fo.actions,displayedRows:fo.displayedRows,selectLabel:fo.selectLabel,select:fo.select,selectIcon:fo.selectIcon},SelectProps:{label:n?"每页显示":"Rows per page",className:fo.selectRoot,IconComponent:()=>g.jsx(na,{size:12},void 0)},labelDisplayedRows:({from:r,to:o,count:i})=>g.jsx(yt,{color:"textSecondary",children:n?g.jsxs(g.Fragment,{children:["共有 ",g.jsx("strong",{children:i},void 0)," 条,第 ",g.jsx("strong",{children:r},void 0),"-",g.jsx("strong",{children:o},void 0),"条"]},void 0):g.jsxs(g.Fragment,{children:[g.jsx("strong",{children:r},void 0),"-",g.jsx("strong",{children:o},void 0)," of"," ",g.jsx("strong",{children:i},void 0)]},void 0)},void 0),...e},void 0)};var Qb;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(Qb||(Qb={}));var Yb;(function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"})(Yb||(Yb={}));var Xb;(function(e){e.Small="small",e.Medium="medium"})(Xb||(Xb={}));const pD=function(e,t,n){t.prototype.isBetween=function(r,o,i,a){var s=n(r),l=n(o);a=a||"()";var c=a[0]==="(",u=a[1]===")";return(c?this.isAfter(s,i):!this.isBefore(s,i))&&(u?this.isBefore(l,i):!this.isAfter(l,i))||(c?this.isBefore(s,i):!this.isAfter(s,i))&&(u?this.isAfter(l,i):!this.isBefore(l,i))}},gD=function(e,t,n){var r=function(i,a){if(!a||!a.length||a.length===1&&!a[0]||a.length===1&&Array.isArray(a[0])&&!a[0].length)return null;if(a.length===1&&a[0].length>0){var s=a;a=s[0]}a=a.filter(function(d){return d});var l,c=a;l=c[0];for(var u=1;u=M?D:""+Array(M+1-N.length).join(A)+D},C={s:h,z:function(D){var M=-D.utcOffset(),A=Math.abs(M),N=Math.floor(A/60),E=A%60;return(M<=0?"+":"-")+h(N,2,"0")+":"+h(E,2,"0")},m:function D(M,A){if(M.date()1)return D(B[0])}else{var H=M.name;_[H]=M,E=H}return!N&&E&&(R=E),E||!N&&R},x=function(D,M){if(P(D))return D.clone();var A=typeof M=="object"?M:{};return A.date=D,A.args=arguments,new I(A)},$=C;$.l=k,$.i=P,$.w=function(D,M){return x(D,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var I=function(){function D(A){this.$L=k(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[T]=!0}var M=D.prototype;return M.parse=function(A){this.$d=function(N){var E=N.date,L=N.utc;if(E===null)return new Date(NaN);if($.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var B=E.match(w);if(B){var H=B[2]-1||0,z=(B[7]||"0").substring(0,3);return L?new Date(Date.UTC(B[1],H,B[3]||1,B[4]||0,B[5]||0,B[6]||0,z)):new Date(B[1],H,B[3]||1,B[4]||0,B[5]||0,B[6]||0,z)}}return new Date(E)}(A),this.init()},M.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},M.$utils=function(){return $},M.isValid=function(){return this.$d.toString()!==y},M.isSame=function(A,N){var E=x(A);return this.startOf(N)<=E&&E<=this.endOf(N)},M.isAfter=function(A,N){return x(A)[{label:"Today",startDate:e,endDate:e},{label:"Yesterday",startDate:et(e).add(-1,"day").toDate(),endDate:et(e).add(-1,"day").toDate()},{label:"This Week",startDate:et(e).startOf("week").toDate(),endDate:et(e).endOf("week").toDate()},{label:"Last Week",startDate:et(e).add(-1,"week").startOf("week").toDate(),endDate:et(e).add(-1,"week").endOf("week").toDate()},{label:"Last 7 Days",startDate:et(e).add(-1,"week").toDate(),endDate:e},{label:"This Month",startDate:et(e).startOf("month").toDate(),endDate:et(e).endOf("month").toDate()},{label:"Last Month",startDate:et(e).add(-1,"month").startOf("month").toDate(),endDate:et(e).add(-1,"month").endOf("month").toDate()}];mD(new Date);et(new Date).startOf("week").toDate(),et(new Date).endOf("week").toDate();const vD="_container_a4vk2_3",yD="_checkedCircle_a4vk2_5",bD="_checked_a4vk2_5",xD="_disabled_a4vk2_60",Hu={container:vD,checkedCircle:yD,checked:bD,disabled:xD},tx=e=>{const{checked:t=!1,disabled:n=!1}=e;return g.jsx("div",{className:Gt(Hu.checkedCircle,{[Hu.checked]:t,[Hu.disabled]:n})},void 0)},nx=tt.forwardRef(function(e,t){const{sx:n,disabled:r,checked:o,className:i,...a}=e;return g.jsx(S7,{ref:t,className:Gt(Hu.container,i),sx:{"&.Mui-disabled":{opacity:.5},...n},disableRipple:!0,disableTouchRipple:!0,color:"default",checkedIcon:g.jsx(tx,{checked:!0,disabled:r},void 0),icon:g.jsx(tx,{disabled:r},void 0),disabled:r,checked:o,...a},void 0)});tt.forwardRef(function(e,t){const{label:n="",...r}=e,o=zt();return n?g.jsx(p_,{control:g.jsx(nx,{ref:t,...r},void 0),sx:{margin:0,display:"flex",alignSelf:"center",gap:"8px","& .MuiFormControlLabel-label":{fontSize:14,lineHeight:"135%",fontWeight:400,color:o.black.black1},"& .MuiFormControlLabel-label.Mui-disabled":{opacity:.5,color:o.black.black1},"& .MuiRadio-root":{padding:0,marginRight:0}},label:n},void 0):g.jsx(nx,{ref:t,...r},void 0)});zd(new Date).startOf("day"),zd(new Date).endOf("day");et.extend(pD);et.extend(gD);const SD="_btnWrapper_mwgh3_3",wD="_titleWrapper_mwgh3_9",fg={btnWrapper:SD,titleWrapper:wD},CD=tt.forwardRef(function(t,n){return g.jsx(e_,{ref:n,...t},void 0)}),_D=e=>{const{handleClose:t,severity:n="info",title:r,message:o,classes:i={root:"",title:"",message:""},icon:a,actions:s,showClose:l=!0,...c}=e,u=zt(),{iconStyles:d}=b.useMemo(()=>{let p=u.blue.blue2;switch(n){case"info":p=u.blue.blue2;break;case"error":p=u.red.red2;break;case"success":p=u.green.green2;break;case"warning":p=u.yellow.yellow2;break}return{iconStyles:{width:"20px",height:"20px",paddingTop:r?"2px":0,"& path":{fill:p}}}},[n,r]),f=g.jsx(hr,{"aria-label":"close",color:"inherit",size:"small",onClick:t,disableRipple:!0,sx:{"&.MuiIconButton-root":{"& path":{fill:u.black.black1},"&:hover":{"& path":{fill:u.black.black2}}}},children:g.jsx(x1,{size:16,fontSize:"inherit"},void 0)},void 0);return g.jsx(CD,{severity:n,variant:"outlined",iconMapping:{success:a||g.jsx(T_,{width:20,height:20,sx:d},void 0),info:a||g.jsx(gm,{width:20,height:20,sx:d},void 0),warning:a||g.jsx(R_,{sx:d},void 0),error:a||g.jsx(P_,{sx:d},void 0)},sx:{boxShadow:"0px 1px 10px 0px rgba(107, 121, 141, 0.30)",padding:"16px",width:"fit-content",borderRadius:"12px",border:"none",backgroundColor:"#FFF","& .MuiAlert-icon":{paddingTop:0,paddingBottom:0,marginRight:"8px"},"& .MuiAlert-message":{display:"flex",alignItems:"center",fontWeight:400,color:u.black.black1,padding:0},"& .MuiAlert-action":{paddingTop:0,paddingRight:"6px"}},action:r||!l?void 0:f,...c,children:g.jsxs("div",{className:Gt(i.root,fg.root),children:[r&&g.jsxs("div",{className:fg.titleWrapper,children:[g.jsx(yt,{variant:"h4Semibold",children:r},void 0),l?f:g.jsx("span",{},void 0)]},void 0),g.jsx(yt,{variant:"body1Regular",component:"div",sx:{whiteSpace:"normal",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:5,WebkitBoxOrient:"vertical",paddingRight:"30px"},className:i.message,children:o},void 0),s&&g.jsx("div",{className:fg.btnWrapper,children:s.confirm&&g.jsx(dp,{variant:"textBlue",withMargin:!1,...s.confirm},void 0)},void 0)]},void 0)},void 0)},rx=300,ox=({children:e,maxWidth:t="100%",tooltipProps:n={},typographyProps:r={}})=>{const o=b.useRef(null),[i,a]=b.useState(!1),{sx:s={},...l}=r;b.useEffect(()=>{const u=o.current;a(u.scrollWidth>u.offsetWidth||u.scrollHeight>u.offsetHeight)},[]);const c=b.useMemo(()=>{var d;const u=(d=o.current)==null?void 0:d.offsetWidth;return u?u>rx?u:rx:"100%"},[o.current]);return g.jsx(cp,{...n,title:i?e:"",sx:{maxWidth:c},children:g.jsx(yt,{component:"div",sx:{maxWidth:t,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",...s},ref:o,...l,children:e},void 0)},void 0)},RD=e=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",...e,children:[g.jsx("path",{d:"M1.47656 33.8702C1.47656 34.5009 3.48086 35.1057 7.04852 35.5517C10.6162 35.9976 15.455 36.2482 20.5004 36.2482C25.5459 36.2482 30.3847 35.9976 33.9523 35.5517C37.52 35.1057 39.5243 34.5009 39.5243 33.8702C39.5243 33.2395 37.52 32.6346 33.9523 32.1887C30.3847 31.7427 25.5459 31.4922 20.5004 31.4922C15.455 31.4922 10.6162 31.7427 7.04852 32.1887C3.48086 32.6346 1.47656 33.2395 1.47656 33.8702Z",fill:"#F0F2F4"},void 0),g.jsx("path",{d:"M36.6449 17.8911V17.8435C36.6449 17.7959 36.6211 17.7722 36.6211 17.7246V17.7008L31.5085 7.53099C30.7713 5.27191 28.6787 3.75 26.3007 3.75H14.6723C12.2944 3.75 10.2017 5.27191 9.46457 7.53099L4.3519 17.7008V17.7246C4.32812 17.7722 4.32812 17.7959 4.32812 17.8435V27.4506C4.32812 30.4706 6.77745 32.9199 9.79748 32.9199H31.1993C34.2194 32.9199 36.6687 30.4706 36.6687 27.4506V17.9386C36.6449 17.9149 36.6449 17.9148 36.6449 17.8911ZM10.7962 8.03037C10.7962 8.03037 10.7962 8.00659 10.82 8.00659C11.3432 6.29444 12.9126 5.17679 14.6723 5.17679H26.2769C28.0366 5.17679 29.6061 6.29444 30.153 7.98281C30.153 7.98281 30.153 8.00659 30.1768 8.00659L34.909 17.2015H24.0416C23.6373 17.2015 23.3282 17.5106 23.3282 17.9148C23.3282 19.4843 22.0441 20.7684 20.4746 20.7684C18.9052 20.7684 17.621 19.4843 17.621 17.9148C17.621 17.5106 17.3119 17.2015 16.9077 17.2015H6.06405L10.7962 8.03037Z",fill:"#D1D6DC"},void 0),g.jsx("path",{d:"M35.2428 27.2126C35.2428 29.4479 33.4356 31.2552 31.2003 31.2552H9.79843C7.56313 31.2552 5.75586 29.4479 5.75586 27.2126V18.4141H16.2903C16.6232 20.4353 18.3829 21.981 20.4994 21.981C22.6158 21.981 24.3755 20.4353 24.7084 18.4141H35.2428V27.2126Z",fill:"#E0E3E7"},void 0)]},void 0),PD="_empty_1tvs0_3",TD="_text_1tvs0_13",ix={empty:PD,text:TD};var Ha;(function(e){e.Left="left",e.Right="right"})(Ha||(Ha={}));const kD=b.forwardRef((e,t)=>{const{autoWidth:n,placeholder:r,options:o,onChange:i,onSelectChange:a,onClose:s,onOpen:l,disabled:c=!1,label:u,sxProps:d={},defaultValue:f="",maxWidth:p,classes:{root:m,label:y,container:w,select:v,placeholder:S}={},MenuProps:h,value:C="",size:R="medium",renderValue:_,empty:T={},selectorTooltip:P={},endAdornment:k,...x}=e,[$,I]=b.useState(""),O=zt(),D=L=>{const B=L.target.value;if(I(B),Array.isArray(B)){const z=o.filter(j=>B.includes(j.value)&&!j.disabled);a?a(L,z):i(z);return}const H=o.find(z=>z.value===B);H!=null&&H.disabled||(a?a(L,H):i(H))};b.useEffect(()=>{I(C)},[C]),b.useEffect(()=>{I(f)},[f]);const M=b.useMemo(()=>R==="small"?{minWidth:"83px",height:28,iconRightOffset:"8px",select:{padding:`6px ${k?"65px":"32px"} 6px 8px`,minHeight:"16px",fontSize:"13px",lineHeight:"135%",borderRadius:"6px"},placeholderVariant:"body2Regular"}:{minWidth:"120px",height:36,iconRightOffset:"12px",select:{padding:`8px ${k?"74px":"38px"} 8px 12px`,minHeight:"20px",fontSize:"14px",lineHeight:"135%",borderRadius:"8px"},placeholderVariant:"body1Regular"},[R,k]),A=b.useMemo(()=>f===""&&C===""?r?()=>g.jsx(yt,{variant:M.placeholderVariant,sx:{color:O.black.black3,...d.sxPlaceHolder},className:S,children:r},void 0):_:_||void 0,[f,C,r,_,M]),N=L=>L==="small"?12:14,E=k?L=>g.jsxs(Ir,{sx:{height:M.height,display:"flex",gap:R==="small"?"10px":"12px",position:"absolute",right:"12px",userSelect:"none",pointerEvents:"none",alignItems:"center"},children:[g.jsx(na,{size:N(R)},void 0),g.jsx(Ir,{sx:{height:"100%",width:"1px",backgroundColor:O.stroke.stroke1}},void 0),g.jsx(yt,{component:"div",variant:"body2Regular",children:k},void 0)]},void 0):L=>g.jsx(na,{size:N(R),...L},void 0);return g.jsxs(yt,{component:"div",sx:{display:"flex",flexDirection:"column",gap:"8px",...d.sxRoot},className:m,children:[u&&g.jsx(yt,{component:"label",variant:"h4Medium",sx:{marginTop:O.spacing(1),...d.sxLabel},className:y,children:u},void 0),g.jsx(up,{tooltip:P,children:g.jsx(Ir,{sx:{position:"relative",display:"inline-block",verticalAlign:"baseline",backgroundColor:c?O.black.black5:"#fff",borderRadius:M.select.borderRadius,width:"100%",...d.sxSelectContainer},className:w,children:g.jsx(sp,{autoWidth:n,value:C||$,onChange:c?()=>{}:D,onClose:s,onOpen:l,disabled:c,displayEmpty:!0,IconComponent:E,className:v,renderValue:A,MenuProps:{sx:{"& .MuiPaper-root":{marginTop:"6px",background:O.palette.common.white,boxShadow:ra,border:`1px solid ${O.stroke.stroke1}`,borderRadius:"8px","& > ul.MuiList-root":{padding:"6px 0","& li":{margin:"4px 0"}}},...d.sxMenu},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{sx:{maxHeight:"50vh"}},...h},sx:{width:n?"auto":"100%",minWidth:M.minWidth,height:M.height,transition:"all 0.2s",borderRadius:M.select.borderRadius,"& fieldset":{border:`1px solid ${O.stroke.stroke1}`,borderRadius:M.select.borderRadius,boxShadow:ra},"& > .MuiSelect-icon":{right:M.iconRightOffset,top:"auto",bottom:"auto",transform:"rotate(0)","& path":{fill:O.black.black1}},"&.Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.blue.blue1}`,boxShadow:`0px 0px 0px 4px ${O.blue.blue4}, ${pr}`,zIndex:"999"},"&.Mui-focused:hover fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.blue.blue1}`,boxShadow:"none"},"&.Mui-error":{transition:"none","&.Mui-error fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.red.red2}`,boxShadow:`0px 0px 0px 4px ${O.red.red4}, ${pr}`},"&.Mui-error:hover fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.red.red2}`,boxShadow:"none"}},"& .MuiSelect-select":{padding:M.select.padding,minHeight:M.select.minHeight,fontSize:M.select.fontSize,lineHeight:M.select.lineHeight,boxSizing:"border-box",".MuiTypography-root":{fontSize:M.select.fontSize,lineHeight:M.select.lineHeight},"& p":{fontSize:M.select.fontSize,lineHeight:M.select.lineHeight},"& span":{fontSize:M.select.fontSize,lineHeight:M.select.lineHeight}},"&:hover":{backgroundColor:c?"unset":O.palette.common.white,"&:not(.Mui-error)":{boxShadow:c?"none":`0px 0px 0px 4px ${O.blue.blue4}, ${pr}`},"&.Mui-error":{boxShadow:`0px 0px 0px 4px ${O.red.red4}, ${pr}`},"& fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"transparent"}},"&:focus":{"& fieldset":{borderColor:O.blue.blue1,boxShadow:`0px 0px 0px 4px ${O.blue.blue4}, ${pr}`}},"&.Mui-disabled":{color:O.black.black3,"& > .MuiSelect-icon path":{fill:O.black.black3},"& fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${O.stroke.stroke1}`}},...d.sxSelect},...x,children:o.length>0?o.map(L=>ED(L,O,d.sxMenuItem,p)):g.jsx($D,{...T},void 0)},void 0)},void 0)},void 0)]},void 0)}),$D=e=>{const{label:t,component:n,classes:r={root:"",text:"",img:""}}=e,o=zt();return g.jsx(Tc,{sx:{"&.Mui-disabled":{opacity:1,pointerEvents:"inherit","&:hover":{backgroundColor:"unset"}}},disabled:!0,children:n||g.jsxs("div",{className:Gt(ix.empty,r.root),children:[g.jsx(RD,{className:r.img},void 0),g.jsx(yt,{component:"div",className:Gt(ix.text,r.text),children:t||jd(Ae.NoOptions,o.language)},void 0)]},void 0)},void 0)},ED=(e,t,n,r)=>{const{generateCustomEle:o,icon:i,label:a,tooltip:s,disabled:l,id:c,value:u,iconPosition:d=Ha.Left}=e;if(o)return o();const f=({id:p,value:m,disabled:y,icon:w,label:v,iconPosition:S=Ha.Left})=>g.jsx(Tc,{value:m,disableRipple:!0,disableTouchRipple:!0,disabled:y||!1,sx:{maxWidth:r||"inherit",padding:"8px 16px","&.Mui-disabled":{opacity:1,backgroundColor:"transparent",pointerEvents:"inherit","& > div":{color:t.black.black3}},"&.Mui-selected.Mui-focusVisible":{backgroundColor:t.palette.common.white},"&.Mui-selected":{backgroundColor:t.palette.common.white,"& > * span":{color:t.blue.blue1},"& > .MuiTypography-root":{color:t.blue.blue1}},"&:not(.Mui-disabled):hover":{backgroundColor:t.black.black5},...n},children:w?g.jsxs(yt,{component:"div",sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:"8px"},children:[S===Ha.Left?w:null,g.jsx(ox,{typographyProps:{component:"span"},maxWidth:r?r-50:void 0,children:v},void 0),S===Ha.Right?w:null]},void 0):g.jsx(ox,{maxWidth:r||void 0,typographyProps:{sx:{minWidth:10}},children:v},void 0)},p===void 0?m:p);return l&&s?g.jsx(up,{tooltip:s,children:f({id:c,value:u,disabled:l,icon:i,label:a,iconPosition:d})},c):f({id:c,value:u,disabled:l,icon:i,label:a,iconPosition:d})},I_=b.forwardRef((e,t)=>{const{options:n,handleChange:r,handleInputChange:o,inputParams:i={},fullWidth:a=!0,sx:s={},size:l,...c}=e,u=zt(),d=(m,y)=>{r&&r(y)},f=(m,y)=>{o&&o(y)},p=b.useMemo(()=>l==="small"?{height:28,iconRightOffset:"8px",select:{padding:"6px 32px 6px 8px",fontSize:"13px",lineHeight:"135%",endIconRight:"1px",borderRadius:"6px"}}:{height:36,iconRightOffset:"12px",select:{padding:"8px 38px 8px 12px",fontSize:"14px",lineHeight:"135%",endIconRight:"3px",borderRadius:"8px"}},[l]);return g.jsx(rI,{disablePortal:!0,sx:{"& .MuiOutlinedInput-root":{minHeight:p.height,padding:p.select.padding,borderRadius:p.select.borderRadius,".MuiOutlinedInput-notchedOutline":{borderColor:u.stroke.stroke1,boxShadow:ra},"&:hover":{cursor:"pointer","& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent",boxShadow:`0px 0px 0px 4px ${u.blue.blue4}, ${pr}`}},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${u.blue.blue1}`,boxShadow:`0px 0px 0px 4px ${u.blue.blue4}, ${pr}`}},"& input.MuiInputBase-input":{fontSize:p.select.fontSize,lineHeight:p.select.lineHeight,padding:0,height:"auto"}},"& .MuiIconButton-root:hover":{background:"none"},"& div.MuiAutocomplete-endAdornment":{top:"calc(50% - 2px)",paddingRight:p.select.endIconRight},"& .MuiAutocomplete-popupIndicatorOpen":{transform:"none"},...s},PaperComponent:m=>g.jsx(Es,{sx:{marginTop:"6px",background:u.palette.common.white,boxShadow:ra,border:`1px solid ${u.stroke.stroke1}`,borderRadius:p.select.borderRadius,".MuiAutocomplete-listbox":{".MuiAutocomplete-option":{backgroundColor:u.palette.common.white,padding:"8px 16px","&:hover":{backgroundColor:`${u.black.black5} `}}},"& .MuiAutocomplete-option":{fontSize:p.select.fontSize,lineHeight:p.select.lineHeight},'& .MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:`${u.palette.common.white} !important`,color:u.blue.blue1}},...m},void 0),popupIcon:g.jsx(na,{size:14,style:{color:u.black.black1}},void 0),clearIcon:null,onChange:d,onInputChange:f,fullWidth:a,ref:t,componentsProps:{popupIndicator:{disableRipple:!0}},size:l,...c,options:n,renderInput:m=>g.jsx(w1,{...m,...i},void 0)},void 0)});function MD(e){return{id:`z-tab-${e}`,"aria-controls":`z-tabpanel-${e}`}}const ID=e=>{const{value:t,handleChange:n,labelConfigs:r=[],size:o="medium",tabsType:i="indicator",color:a,...s}=e;if(t===void 0||!n||!r.length)throw new Error("Props value, handleChange and labels are required");const l=zt(),{tabsStyle:c,tabStyle:u}=b.useMemo(()=>({tabStyle:{fontSize:o==="small"?"11px":"14px",lineHeight:o==="small"?"120%":"135%",minHeight:o==="small"?"20px":"28px",marginRight:i==="indicator"?"24px":"10px",padding:o==="small"?"4px 8px":"6px 12px",fontWeight:o==="small"?400:500},tabsStyle:{minHeight:i==="background"?"32px":"36px"}}),[i,o]);return g.jsxs(fA,{...s,value:t,onChange:n,"aria-label":"tab",sx:{...c,".MuiTabs-indicator":{display:i!=="indicator"?"none":"block",backgroundColor:l.blue.blue1}},children:[r.map((d,f)=>b.createElement(Y7,{disableRipple:!0,...d,sx:{"&:hover":{color:l.black.black1},color:l.black.black2,borderRadius:"6px",minWidth:0,textTransform:"inherit",...u,"&.Mui-selected":{backgroundColor:i==="background"?a||l.black.black4:"transparent",color:i==="text"?l.blue.blue1:l.black.black1},...d.sx},key:f,...MD(f)})),g.jsx(Ir,{sx:{position:"absolute",left:0,bottom:"1px",right:0,height:"1px",backgroundColor:l.stroke.stroke1,display:i==="indicator"?"block":"none"}},void 0)]},void 0)};b.forwardRef((e,t)=>{const n=zt(),{sx:r,disabled:o,...i}=e;return g.jsx(q7,{ref:t,focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,disabled:o,sx:{width:"30px",height:"18px",padding:0,borderRadius:"12px","&.MuiSwitch-root":{boxSizing:"inherit",borderRadius:"12px",border:"3px solid transparent","&:hover":{border:o?"3px solid transparent":`3px solid ${n.blue.blue4}`}},"& .MuiSwitch-switchBase":{padding:0,margin:"2px",transitionDuration:"300ms","&.Mui-disabled":{color:"#fff"},"&.Mui-disabled+.MuiSwitch-track":{opacity:.5,backgroundColor:n.stroke.stroke1},"&.Mui-checked":{transform:"translateX(12px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:n.blue.blue1,opacity:1,border:0},"&.Mui-disabled":{color:"#fff","& .MuiSwitch-thumb":{backgroundImage:`url('data:image/svg+xml,%3Csvg width="8" height="5" viewBox="0 0 8 5" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath opacity="0.5" d="M7.07386 0.267169L7.0742 0.266888L7.06621 0.258615C6.93931 0.1272 6.73491 0.126882 6.60764 0.257662L3.10802 3.77259L1.40194 2.0546C1.27467 1.92373 1.0702 1.92401 0.943272 2.05546C0.818909 2.18425 0.818909 2.38743 0.943272 2.51622L0.943261 2.51623L0.944741 2.51772L2.7084 4.29369C2.81588 4.40452 2.96228 4.45981 3.0982 4.45981C3.24579 4.45981 3.38185 4.40316 3.48793 4.29377L7.04276 0.723374C7.18062 0.595374 7.17948 0.394776 7.07386 0.267169ZM3.16713 3.83211L3.16614 3.83111C3.16648 3.83145 3.1668 3.83179 3.16712 3.83212L3.16713 3.83211Z" fill="%233F46FF" stroke="%233F46FF" stroke-width="0.3"/%3E%3C/svg%3E')`}},"& .MuiSwitch-thumb":{backgroundImage:`url('data:image/svg+xml,%3Csvg width="8" height="5" viewBox="0 0 8 5" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M7.07386 0.267169L7.0742 0.266888L7.06621 0.258615C6.93931 0.1272 6.73491 0.126882 6.60764 0.257662L3.10802 3.77259L1.40194 2.0546C1.27467 1.92373 1.0702 1.92401 0.943272 2.05546C0.818909 2.18425 0.818909 2.38743 0.943272 2.51622L0.943261 2.51623L0.944741 2.51772L2.7084 4.29369C2.81588 4.40452 2.96228 4.45981 3.0982 4.45981C3.24579 4.45981 3.38185 4.40316 3.48793 4.29377L7.04276 0.723374C7.18062 0.595374 7.17948 0.394776 7.07386 0.267169ZM3.16713 3.83211L3.16614 3.83111C3.16648 3.83145 3.1668 3.83179 3.16712 3.83212L3.16713 3.83211Z" fill="%233F46FF" stroke="%233F46FF" stroke-width="0.3"/%3E%3C/svg%3E')`,backgroundRepeat:"no-repeat",backgroundPosition:"center 60%"},"&.Mui-disabled+.MuiSwitch-track":{opacity:.5}},"&:hover":{backgroundColor:"transparent"}},"& .MuiSwitch-thumb":{width:"12px",height:"12px",boxShadow:"none",margin:"1px 0 0 1px"},"& .MuiSwitch-track":{backgroundColor:n.stroke.stroke2,transition:n.transitions.create(["background-color"],{duration:500}),borderRadius:"10px",opacity:1},...r},...i},void 0)});var ys;(function(e){e.PY="python",e.JS="javascript",e.JAVA="java",e.BASH="bash"})(ys||(ys={}));function OD(e,t){if(e==null)return{};var n,r,o=$s(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;re.length)&&(t=e.length);for(var n=0,r=Array(t);n=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var pg={};function FD(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return pg[t]||(pg[t]=jD(e)),pg[t]}function BD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(i){return i!=="token"}),o=FD(r);return o.reduce(function(i,a){return Va(Va({},i),n[a])},t)}function sx(e){return e.join(" ")}function zD(e,t){var n=0;return function(r){return n+=1,r.map(function(o,i){return L_({node:o,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})})}}function L_(e){var t=e.node,n=e.stylesheet,r=e.style,o=r===void 0?{}:r,i=e.useInlineStyles,a=e.key,s=t.properties,l=t.type,c=t.tagName,u=t.value;if(l==="text")return u;if(c){var d=zD(n,i),f;if(!i)f=Va(Va({},s),{},{className:sx(s.className)});else{var p=Object.keys(n).reduce(function(v,S){return S.split(".").forEach(function(h){v.includes(h)||v.push(h)}),v},[]),m=s.className&&s.className.includes("token")?["token"]:[],y=s.className&&m.concat(s.className.filter(function(v){return!p.includes(v)}));f=Va(Va({},s),{},{className:sx(y)||void 0,style:BD(s.className,Object.assign({},s.style,o),n)})}var w=d(t.children);return tt.createElement(c,Ln({key:a},f),w)}}const HD=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var VD=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function lx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ko(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return Vu({children:R,lineNumber:_,lineNumberStyle:s,largestLineNumber:a,showInlineLineNumbers:o,lineProps:n,className:T,showLineNumbers:r,wrapLongLines:l,wrapLines:t})}function y(R,_){if(r&&_&&o){var T=N_(s,_,a);R.unshift(A_(_,T))}return R}function w(R,_){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||T.length>0?m(R,_,T):y(R,_)}for(var v=function(){var _=u[p],T=_.children[0].value,P=UD(T);if(P){var k=T.split(` -`);k.forEach(function(x,$){var I=r&&d.length+i,O={type:"text",value:"".concat(x,` -`)};if($===0){var D=u.slice(f+1,p).concat(Vu({children:[O],className:_.properties.className})),M=w(D,I);d.push(M)}else if($===k.length-1){var A=u[p+1]&&u[p+1].children&&u[p+1].children[0],N={type:"text",value:"".concat(x)};if(A){var E=Vu({children:[N],className:_.properties.className});u.splice(p+1,0,E)}else{var L=[N],B=w(L,I,_.properties.className);d.push(B)}}else{var H=[O],z=w(H,I,_.properties.className);d.push(z)}}),f=p}p++};p/g,">").replace(/"/g,""").replace(/'/g,"'")}function Zo(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const o in r)n[o]=r[o]}),n}const ej="
",ux=e=>!!e.kind;class tj{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=Xa(t)}openNode(t){if(!ux(t))return;let n=t.kind;t.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(t){ux(t)&&(this.buffer+=ej)}value(){return this.buffer}span(t){this.buffer+=``}}class _1{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n={kind:t,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{_1._collapse(n)}))}}class nj extends _1{constructor(t){super(),this.options=t}addKeyword(t,n){t!==""&&(this.openNode(n),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,n){const r=t.root;r.kind=n,r.sublanguage=!0,this.add(r)}toHTML(){return new tj(this,this.options).value()}finalize(){return!0}}function rj(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function cc(e){return e?typeof e=="string"?e:e.source:null}function oj(...e){return e.map(n=>cc(n)).join("")}function ij(...e){return"("+e.map(n=>cc(n)).join("|")+")"}function aj(e){return new RegExp(e.toString()+"|").exec("").length-1}function sj(e,t){const n=e&&e.exec(t);return n&&n.index===0}const lj=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function cj(e,t="|"){let n=0;return e.map(r=>{n+=1;const o=n;let i=cc(r),a="";for(;i.length>0;){const s=lj.exec(i);if(!s){a+=i;break}a+=i.substring(0,s.index),i=i.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+o):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(t)}const uj=/\b\B/,B_="[a-zA-Z]\\w*",R1="[a-zA-Z_]\\w*",P1="\\b\\d+(\\.\\d+)?",z_="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",H_="\\b(0b[01]+)",dj="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",fj=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=oj(t,/.*\b/,e.binary,/\b.*/)),Zo({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},uc={begin:"\\\\[\\s\\S]",relevance:0},pj={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[uc]},gj={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[uc]},V_={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},fp=function(e,t,n={}){const r=Zo({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(V_),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},hj=fp("//","$"),mj=fp("/\\*","\\*/"),vj=fp("#","$"),yj={className:"number",begin:P1,relevance:0},bj={className:"number",begin:z_,relevance:0},xj={className:"number",begin:H_,relevance:0},Sj={className:"number",begin:P1+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},wj={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[uc,{begin:/\[/,end:/\]/,relevance:0,contains:[uc]}]}]},Cj={className:"title",begin:B_,relevance:0},_j={className:"title",begin:R1,relevance:0},Rj={begin:"\\.\\s*"+R1,relevance:0},Pj=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var gu=Object.freeze({__proto__:null,MATCH_NOTHING_RE:uj,IDENT_RE:B_,UNDERSCORE_IDENT_RE:R1,NUMBER_RE:P1,C_NUMBER_RE:z_,BINARY_NUMBER_RE:H_,RE_STARTERS_RE:dj,SHEBANG:fj,BACKSLASH_ESCAPE:uc,APOS_STRING_MODE:pj,QUOTE_STRING_MODE:gj,PHRASAL_WORDS_MODE:V_,COMMENT:fp,C_LINE_COMMENT_MODE:hj,C_BLOCK_COMMENT_MODE:mj,HASH_COMMENT_MODE:vj,NUMBER_MODE:yj,C_NUMBER_MODE:bj,BINARY_NUMBER_MODE:xj,CSS_NUMBER_MODE:Sj,REGEXP_MODE:wj,TITLE_MODE:Cj,UNDERSCORE_TITLE_MODE:_j,METHOD_GUARD:Rj,END_SAME_AS_BEGIN:Pj});function Tj(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function kj(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Tj,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function $j(e,t){Array.isArray(e.illegal)&&(e.illegal=ij(...e.illegal))}function Ej(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Mj(e,t){e.relevance===void 0&&(e.relevance=1)}const Ij=["of","and","for","in","not","or","if","then","parent","list","value"],Oj="keyword";function W_(e,t,n=Oj){const r={};return typeof e=="string"?o(n,e.split(" ")):Array.isArray(e)?o(n,e):Object.keys(e).forEach(function(i){Object.assign(r,W_(e[i],t,i))}),r;function o(i,a){t&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[i,Lj(l[0],l[1])]})}}function Lj(e,t){return t?Number(t):Aj(e)?0:1}function Aj(e){return Ij.includes(e.toLowerCase())}function Nj(e,{plugins:t}){function n(s,l){return new RegExp(cc(s),"m"+(e.case_insensitive?"i":"")+(l?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,l]),this.matchAt+=aj(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(c=>c[1]);this.matcherRe=n(cj(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(l);if(!c)return null;const u=c.findIndex((f,p)=>p>0&&f!==void 0),d=this.matchIndexes[u];return c.splice(0,u),Object.assign(c,d)}}class o{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const c=new r;return this.rules.slice(l).forEach(([u,d])=>c.addRule(u,d)),c.compile(),this.multiRegexes[l]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,c){this.rules.push([l,c]),c.type==="begin"&&this.count++}exec(l){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let u=c.exec(l);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,u=d.exec(l)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(s){const l=new o;return s.contains.forEach(c=>l.addRule(c.begin,{rule:c,type:"begin"})),s.terminatorEnd&&l.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&l.addRule(s.illegal,{type:"illegal"}),l}function a(s,l){const c=s;if(s.isCompiled)return c;[Ej].forEach(d=>d(s,l)),e.compilerExtensions.forEach(d=>d(s,l)),s.__beforeBegin=null,[kj,$j,Mj].forEach(d=>d(s,l)),s.isCompiled=!0;let u=null;if(typeof s.keywords=="object"&&(u=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=W_(s.keywords,e.case_insensitive)),s.lexemes&&u)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return u=u||s.lexemes||/\w+/,c.keywordPatternRe=n(u,!0),l&&(s.begin||(s.begin=/\B|\b/),c.beginRe=n(s.begin),s.endSameAsBegin&&(s.end=s.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(c.endRe=n(s.end)),c.terminatorEnd=cc(s.end)||"",s.endsWithParent&&l.terminatorEnd&&(c.terminatorEnd+=(s.end?"|":"")+l.terminatorEnd)),s.illegal&&(c.illegalRe=n(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(d){return Dj(d==="self"?s:d)})),s.contains.forEach(function(d){a(d,c)}),s.starts&&a(s.starts,l),c.matcher=i(c),c}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Zo(e.classNameAliases||{}),a(e)}function U_(e){return e?e.endsWithParent||U_(e.starts):!1}function Dj(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Zo(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:U_(e)?Zo(e,{starts:e.starts?Zo(e.starts):null}):Object.isFrozen(e)?Zo(e):e}var jj="10.7.3";function Fj(e){return!!(e||e==="")}function Bj(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,Xa(this.code);let r={};return this.autoDetect?(r=e.highlightAuto(this.code),this.detectedLanguage=r.language):(r=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),r.value},autoDetect(){return!this.language||Fj(this.autodetect)},ignoreIllegals(){return!0}},render(r){return r("pre",{},[r("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(r){r.component("highlightjs",t)}}}}const zj={"after:highlightElement":({el:e,result:t,text:n})=>{const r=dx(e);if(!r.length)return;const o=document.createElement("div");o.innerHTML=t.value,t.value=Hj(r,dx(o),n)}};function vm(e){return e.nodeName.toLowerCase()}function dx(e){const t=[];return function n(r,o){for(let i=r.firstChild;i;i=i.nextSibling)i.nodeType===3?o+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:o,node:i}),o=n(i,o),vm(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:o,node:i}));return o}(e,0),t}function Hj(e,t,n){let r=0,o="";const i=[];function a(){return!e.length||!t.length?e.length?e:t:e[0].offset!==t[0].offset?e[0].offset"}function l(u){o+=""}function c(u){(u.event==="start"?s:l)(u.node)}for(;e.length||t.length;){let u=a();if(o+=Xa(n.substring(r,u[0].offset)),r=u[0].offset,u===e){i.reverse().forEach(l);do c(u.splice(0,1)[0]),u=a();while(u===e&&u.length&&u[0].offset===r);i.reverse().forEach(s)}else u[0].event==="start"?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return o+Xa(n.substr(r))}const fx={},gg=e=>{console.error(e)},px=(e,...t)=>{console.log(`WARN: ${e}`,...t)},sr=(e,t)=>{fx[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),fx[`${e}/${t}`]=!0)},hg=Xa,gx=Zo,hx=Symbol("nomatch"),Vj=function(e){const t=Object.create(null),n=Object.create(null),r=[];let o=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,a="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:nj};function c(j){return l.noHighlightRe.test(j)}function u(j){let F=j.className+" ";F+=j.parentNode?j.parentNode.className:"";const W=l.languageDetectRe.exec(F);if(W){const V=M(W[1]);return V||(px(a.replace("{}",W[1])),px("Falling back to no-highlight mode for this block.",j)),V?W[1]:"no-highlight"}return F.split(/\s+/).find(V=>c(V)||M(V))}function d(j,F,W,V){let ee="",re="";typeof F=="object"?(ee=j,W=F.ignoreIllegals,re=F.language,V=void 0):(sr("10.7.0","highlight(lang, code, ...args) has been deprecated."),sr("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),re=j,ee=F);const U={code:ee,language:re};B("before:highlight",U);const K=U.result?U.result:f(U.language,U.code,W,V);return K.code=U.code,B("after:highlight",K),K}function f(j,F,W,V){function ee(pe,ne){const xe=be.case_insensitive?ne[0].toLowerCase():ne[0];return Object.prototype.hasOwnProperty.call(pe.keywords,xe)&&pe.keywords[xe]}function re(){if(!ge.keywords){Se.addText(ye);return}let pe=0;ge.keywordPatternRe.lastIndex=0;let ne=ge.keywordPatternRe.exec(ye),xe="";for(;ne;){xe+=ye.substring(pe,ne.index);const Le=ee(ge,ne);if(Le){const[fe,oe]=Le;if(Se.addText(xe),xe="",Ue+=oe,fe.startsWith("_"))xe+=ne[0];else{const me=be.classNameAliases[fe]||fe;Se.addKeyword(ne[0],me)}}else xe+=ne[0];pe=ge.keywordPatternRe.lastIndex,ne=ge.keywordPatternRe.exec(ye)}xe+=ye.substr(pe),Se.addText(xe)}function U(){if(ye==="")return;let pe=null;if(typeof ge.subLanguage=="string"){if(!t[ge.subLanguage]){Se.addText(ye);return}pe=f(ge.subLanguage,ye,!0,le[ge.subLanguage]),le[ge.subLanguage]=pe.top}else pe=m(ye,ge.subLanguage.length?ge.subLanguage:null);ge.relevance>0&&(Ue+=pe.relevance),Se.addSublanguage(pe.emitter,pe.language)}function K(){ge.subLanguage!=null?U():re(),ye=""}function se(pe){return pe.className&&Se.openNode(be.classNameAliases[pe.className]||pe.className),ge=Object.create(pe,{parent:{value:ge}}),ge}function q(pe,ne,xe){let Le=sj(pe.endRe,xe);if(Le){if(pe["on:end"]){const fe=new cx(pe);pe["on:end"](ne,fe),fe.isMatchIgnored&&(Le=!1)}if(Le){for(;pe.endsParent&&pe.parent;)pe=pe.parent;return pe}}if(pe.endsWithParent)return q(pe.parent,ne,xe)}function ce(pe){return ge.matcher.regexIndex===0?(ye+=pe[0],1):(ke=!0,0)}function ue(pe){const ne=pe[0],xe=pe.rule,Le=new cx(xe),fe=[xe.__beforeBegin,xe["on:begin"]];for(const oe of fe)if(oe&&(oe(pe,Le),Le.isMatchIgnored))return ce(ne);return xe&&xe.endSameAsBegin&&(xe.endRe=rj(ne)),xe.skip?ye+=ne:(xe.excludeBegin&&(ye+=ne),K(),!xe.returnBegin&&!xe.excludeBegin&&(ye=ne)),se(xe),xe.returnBegin?0:ne.length}function ie(pe){const ne=pe[0],xe=F.substr(pe.index),Le=q(ge,pe,xe);if(!Le)return hx;const fe=ge;fe.skip?ye+=ne:(fe.returnEnd||fe.excludeEnd||(ye+=ne),K(),fe.excludeEnd&&(ye=ne));do ge.className&&Se.closeNode(),!ge.skip&&!ge.subLanguage&&(Ue+=ge.relevance),ge=ge.parent;while(ge!==Le.parent);return Le.starts&&(Le.endSameAsBegin&&(Le.starts.endRe=Le.endRe),se(Le.starts)),fe.returnEnd?0:ne.length}function te(){const pe=[];for(let ne=ge;ne!==be;ne=ne.parent)ne.className&&pe.unshift(ne.className);pe.forEach(ne=>Se.openNode(ne))}let de={};function Q(pe,ne){const xe=ne&&ne[0];if(ye+=pe,xe==null)return K(),0;if(de.type==="begin"&&ne.type==="end"&&de.index===ne.index&&xe===""){if(ye+=F.slice(ne.index,ne.index+1),!o){const Le=new Error("0 width match regex");throw Le.languageName=j,Le.badRule=de.rule,Le}return 1}if(de=ne,ne.type==="begin")return ue(ne);if(ne.type==="illegal"&&!W){const Le=new Error('Illegal lexeme "'+xe+'" for mode "'+(ge.className||"")+'"');throw Le.mode=ge,Le}else if(ne.type==="end"){const Le=ie(ne);if(Le!==hx)return Le}if(ne.type==="illegal"&&xe==="")return 1;if(Re>1e5&&Re>ne.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ye+=xe,xe.length}const be=M(j);if(!be)throw gg(a.replace("{}",j)),new Error('Unknown language: "'+j+'"');const Pe=Nj(be,{plugins:r});let we="",ge=V||Pe;const le={},Se=new l.__emitter(l);te();let ye="",Ue=0,Te=0,Re=0,ke=!1;try{for(ge.matcher.considerAll();;){Re++,ke?ke=!1:ge.matcher.considerAll(),ge.matcher.lastIndex=Te;const pe=ge.matcher.exec(F);if(!pe)break;const ne=F.substring(Te,pe.index),xe=Q(ne,pe);Te=pe.index+xe}return Q(F.substr(Te)),Se.closeAllNodes(),Se.finalize(),we=Se.toHTML(),{relevance:Math.floor(Ue),value:we,language:j,illegal:!1,emitter:Se,top:ge}}catch(pe){if(pe.message&&pe.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:pe.message,context:F.slice(Te-100,Te+100),mode:pe.mode},sofar:we,relevance:0,value:hg(F),emitter:Se};if(o)return{illegal:!1,relevance:0,value:hg(F),emitter:Se,language:j,top:ge,errorRaised:pe};throw pe}}function p(j){const F={relevance:0,emitter:new l.__emitter(l),value:hg(j),illegal:!1,top:s};return F.emitter.addText(j),F}function m(j,F){F=F||l.languages||Object.keys(t);const W=p(j),V=F.filter(M).filter(N).map(se=>f(se,j,!1));V.unshift(W);const ee=V.sort((se,q)=>{if(se.relevance!==q.relevance)return q.relevance-se.relevance;if(se.language&&q.language){if(M(se.language).supersetOf===q.language)return 1;if(M(q.language).supersetOf===se.language)return-1}return 0}),[re,U]=ee,K=re;return K.second_best=U,K}function y(j){return l.tabReplace||l.useBR?j.replace(i,F=>F===` -`?l.useBR?"
":F:l.tabReplace?F.replace(/\t/g,l.tabReplace):F):j}function w(j,F,W){const V=F?n[F]:W;j.classList.add("hljs"),V&&j.classList.add(V)}const v={"before:highlightElement":({el:j})=>{l.useBR&&(j.innerHTML=j.innerHTML.replace(/\n/g,"").replace(//g,` -`))},"after:highlightElement":({result:j})=>{l.useBR&&(j.value=j.value.replace(/\n/g,"
"))}},S=/^(<[^>]+>|\t)+/gm,h={"after:highlightElement":({result:j})=>{l.tabReplace&&(j.value=j.value.replace(S,F=>F.replace(/\t/g,l.tabReplace)))}};function C(j){let F=null;const W=u(j);if(c(W))return;B("before:highlightElement",{el:j,language:W}),F=j;const V=F.textContent,ee=W?d(V,{language:W,ignoreIllegals:!0}):m(V);B("after:highlightElement",{el:j,result:ee,text:V}),j.innerHTML=ee.value,w(j,W,ee.language),j.result={language:ee.language,re:ee.relevance,relavance:ee.relevance},ee.second_best&&(j.second_best={language:ee.second_best.language,re:ee.second_best.relevance,relavance:ee.second_best.relevance})}function R(j){j.useBR&&(sr("10.3.0","'useBR' will be removed entirely in v11.0"),sr("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=gx(l,j)}const _=()=>{if(_.called)return;_.called=!0,sr("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(C)};function T(){sr("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),P=!0}let P=!1;function k(){if(document.readyState==="loading"){P=!0;return}document.querySelectorAll("pre code").forEach(C)}function x(){P&&k()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",x,!1);function $(j,F){let W=null;try{W=F(e)}catch(V){if(gg("Language definition for '{}' could not be registered.".replace("{}",j)),o)gg(V);else throw V;W=s}W.name||(W.name=j),t[j]=W,W.rawDefinition=F.bind(null,e),W.aliases&&A(W.aliases,{languageName:j})}function I(j){delete t[j];for(const F of Object.keys(n))n[F]===j&&delete n[F]}function O(){return Object.keys(t)}function D(j){sr("10.4.0","requireLanguage will be removed entirely in v11."),sr("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const F=M(j);if(F)return F;throw new Error("The '{}' language is required, but not loaded.".replace("{}",j))}function M(j){return j=(j||"").toLowerCase(),t[j]||t[n[j]]}function A(j,{languageName:F}){typeof j=="string"&&(j=[j]),j.forEach(W=>{n[W.toLowerCase()]=F})}function N(j){const F=M(j);return F&&!F.disableAutodetect}function E(j){j["before:highlightBlock"]&&!j["before:highlightElement"]&&(j["before:highlightElement"]=F=>{j["before:highlightBlock"](Object.assign({block:F.el},F))}),j["after:highlightBlock"]&&!j["after:highlightElement"]&&(j["after:highlightElement"]=F=>{j["after:highlightBlock"](Object.assign({block:F.el},F))})}function L(j){E(j),r.push(j)}function B(j,F){const W=j;r.forEach(function(V){V[W]&&V[W](F)})}function H(j){return sr("10.2.0","fixMarkup will be removed entirely in v11.0"),sr("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),y(j)}function z(j){return sr("10.7.0","highlightBlock will be removed entirely in v12.0"),sr("10.7.0","Please use highlightElement now."),C(j)}Object.assign(e,{highlight:d,highlightAuto:m,highlightAll:k,fixMarkup:H,highlightElement:C,highlightBlock:z,configure:R,initHighlighting:_,initHighlightingOnLoad:T,registerLanguage:$,unregisterLanguage:I,listLanguages:O,getLanguage:M,registerAliases:A,requireLanguage:D,autoDetection:N,inherit:gx,addPlugin:L,vuePlugin:Bj(e).VuePlugin}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=jj;for(const j in gu)typeof gu[j]=="object"&&F_(gu[j]);return Object.assign(e,gu),e.addPlugin(v),e.addPlugin(zj),e.addPlugin(h),e};var Wj=Vj({}),Uj=Wj,G_={exports:{}};(function(e){(function(){var t;t=e.exports=o,t.format=o,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(o.apply(null,arguments))}function r(i,a){return o.apply(null,[i].concat(a))}function o(i){for(var a=1,s=[].slice.call(arguments),l=0,c=i.length,u="",d,f=!1,p,m,y=!1,w,v=function(){return s[a++]},S=function(){for(var h="";/\d/.test(i[l]);)h+=i[l++],d=i[l];return h.length>0?parseInt(h):null};ls.relevance&&(s=l),l.relevance>a.relevance&&(s=a,a=l));return s.language&&(a.secondBest=s),a}function Yj(e,t){Jr.registerLanguage(e,t)}function Xj(){return Jr.listLanguages()}function Jj(e,t){var n=e,r;t&&(n={},n[e]=t);for(r in n)Jr.registerAliases(n[r],{languageName:r})}function Eo(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function eF(e,t){this.openNode(t),this.addText(e),this.closeNode()}function tF(e,t){var n=this.stack,r=n[n.length-1],o=e.rootNode.children,i=t?{type:"element",tagName:"span",properties:{className:[t]},children:o}:o;r.children=r.children.concat(i)}function nF(e){var t=this.stack,n,r;e!==""&&(n=t[t.length-1],r=n.children[n.children.length-1],r&&r.type==="text"?r.value+=e:n.children.push({type:"text",value:e}))}function rF(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],o={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(o),t.push(o)}function oF(){this.stack.pop()}function iF(){return""}function K_(){}var mg,mx;function aF(){if(mx)return mg;mx=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const o={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[o]}]};Object.assign(o,{className:"variable",variants:[{begin:t(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[r.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[r.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,o,a]};a.contains.push(l);const c={className:"",begin:/\\"/},u={className:"string",begin:/'/,end:/'/},d={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},r.NUMBER_MODE,o]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=r.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),m={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[p,r.SHEBANG(),m,d,r.HASH_COMMENT_MODE,s,l,c,u,o]}}return mg=n,mg}var vg,vx;function sF(){if(vx)return vg;vx=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(i){var a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",s=a+"(<"+a+"(\\s*,\\s*"+a+")*>)?",l="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",c={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]};const u=r;return{name:"Java",aliases:["jsp"],keywords:l,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:!0,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},i.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,end:/[{;=]/,keywords:l,contains:[{beginKeywords:"record"},{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"("+s+"\\s+)+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:l,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[c,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,u,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},u,c]}}return vg=o,vg}const yx="[A-Za-z$_][0-9A-Za-z$_]*",lF=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],cF=["true","false","null","undefined","NaN","Infinity"],uF=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],dF=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],fF=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],pF=["arguments","this","super","console","window","document","localStorage","module","global"],gF=[].concat(fF,pF,uF,dF);function hF(e){return e?typeof e=="string"?e:e.source:null}function bx(e){return ym("(?=",e,")")}function ym(...e){return e.map(n=>hF(n)).join("")}function mF(e){const t=(C,{after:R})=>{const _="",end:""},o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(C,R)=>{const _=C[0].length+C.index,T=C.input[_];if(T==="<"){R.ignoreMatch();return}T===">"&&(t(C,{after:_})||R.ignoreMatch())}},i={$pattern:yx,keyword:lF,literal:cF,built_in:gF},a="[0-9](_?[0-9])*",s=`\\.(${a})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?(${a})\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},f={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},y={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},w=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,f,p,c,e.REGEXP_MODE];u.contains=w.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(w)});const v=[].concat(y,u.contains),S=v.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(v)}]),h={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:S};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,f,p,y,c,{begin:ym(/[{,\n]\s*/,bx(ym(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,n+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:n+bx("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[y,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:S}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:r.begin,end:r.end},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:i,contains:["self",e.inherit(e.TITLE_MODE,{begin:n}),h],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[h,e.inherit(e.TITLE_MODE,{begin:n})]},{variants:[{begin:"\\."+n},{begin:"\\$"+n}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:n}),"self",h]},{begin:"(get|set)\\s+(?="+n+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:n}),{begin:/\(\)/},h]},{begin:/\$[(.]/}]}}var vF=mF;const yF=To(vF);var yg,xx;function bF(){if(xx)return yg;xx=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return n("(?=",o,")")}function n(...o){return o.map(a=>e(a)).join("")}function r(o){const c={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},u={className:"meta",begin:/^(>>>|\.\.\.) /},d={className:"subst",begin:/\{/,end:/\}/,keywords:c,illegal:/#/},f={begin:/\{\{/,relevance:0},p={className:"string",contains:[o.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE,u,f,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,u,f,d]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[o.BACKSLASH_ESCAPE,f,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,f,d]},o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},m="[0-9](_?[0-9])*",y=`(\\b(${m}))?\\.(${m})|\\b(${m})\\.`,w={className:"number",relevance:0,variants:[{begin:`(\\b(${m})|(${y}))[eE][+-]?(${m})[jJ]?\\b`},{begin:`(${y})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${m})[jJ]\\b`}]},v={className:"comment",begin:t(/# type:/),end:/$/,keywords:c,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},S={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",u,w,p,o.HASH_COMMENT_MODE]}]};return d.contains=[p,w,u],{name:"Python",aliases:["py","gyp","ipython"],keywords:c,illegal:/(<\/|->|\?)|=>/,contains:[u,w,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},p,v,o.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[o.UNDERSCORE_TITLE_MODE,S,{begin:/->/,endsWithParent:!0,keywords:c}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[w,S,p]}]}}return yg=r,yg}var $c=XD(ua,{});$c.registerLanguage=ua.registerLanguage;var Z_={},Q_={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Q_);var T1=Q_.exports;(function(e){var t=T1;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(bF());e.default=n.default})(Z_);const xF=To(Z_);var Y_={};(function(e){var t=T1;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(sF());e.default=n.default})(Y_);const SF=To(Y_);var X_={};(function(e){var t=T1;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(aF());e.default=n.default})(X_);const wF=To(X_);$c.registerLanguage(ys.JS,yF);$c.registerLanguage(ys.PY,xF);$c.registerLanguage(ys.JAVA,SF);$c.registerLanguage(ys.BASH,wF);tt.forwardRef(e=>{const{supportSelectAll:t=!0,selectAllOptionLabel:n="",options:r=[],selectState:o,setSelectState:i,inputParams:a={},onChange:s,...l}=e,{placeholder:c="",...u}=a,[d,f]=tt.useState(!1),p=zt(),m=()=>{f(!1)},y=S=>{const h=!o.selectAll;i(C=>({selectAll:!C.selectAll,selectedItems:C.selectAll?[]:r})),s&&s(S,h?r:[],"selectOption")},w=(S,h,C)=>{switch(C){case"selectOption":i(R=>({...R,selectAll:h.length===r.length,selectedItems:h}));break;case"removeOption":i({selectAll:!1,selectedItems:h})}},v=b.useMemo(()=>{if(!(o.selectedItems.length>0||o.selectAll))return c},[o,c]);return g.jsx(NI,{onClickAway:m,children:g.jsx(Ir,{children:g.jsx(I_,{options:r,open:d,sx:{"& .MuiBox-root":{"& .MuiFormControl-root":{"div.MuiOutlinedInput-root":{padding:"6px 28px 6px 12px"},"& .MuiInputBase-input":{maxHeight:"24px",height:"24px"},".Mui-error fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${p.red.red2}`,boxShadow:`0px 0px 0px 4px ${p.red.red4}, ${pr}`}}},".MuiAutocomplete-tag":{margin:"3px 4px"}},multiple:!0,ChipProps:{size:"small",deleteIcon:g.jsx(x1,{size:14},void 0),sx:{display:"flex",alignItems:"center",borderRadius:"6px",backgroundColor:p.black.black4,padding:"2px 8px",gap:"8px",height:"20px",".MuiChip-deleteIcon":{margin:0,color:p.black.black1},".MuiChip-label":{padding:0,fontSize:"14px",lineHeight:"20px",fontWeight:400,display:"inline-block",color:p.black.black1},"&:hover":{backgroundColor:p.black.black5,".MuiChip-deleteIcon":{color:p.black.black2}}}},renderOption:(S,h,C)=>{const{selected:R}=C;return h!=null&&h.generateCustomEle?h.generateCustomEle():g.jsxs("li",{...S,children:[g.jsx(Bd,{sx:{padding:"0 8px 0 0"},checked:R||o.selectAll},void 0),g.jsxs(Ir,{sx:{display:"flex",alignItems:"center",width:"100%",justifyContent:"space-between"},children:[g.jsx(yt,{variant:"body1Regular",component:"div",children:h.label},void 0),h.desc&&g.jsx(yt,{variant:"body3Regular",sx:{marginLeft:"8px",color:p.black.black3},children:h.desc},void 0)]},void 0)]},void 0)},onChange:(S,h,C)=>{w(S,h,C),s&&s(S,h,C)},onClose:(S,h)=>{h==="escape"&&f(!1)},onOpen:()=>{f(!0)},PopperComponent:S=>{const{children:h,style:C={},...R}=S;return g.jsx(Pc,{...R,disablePortal:!0,onMouseDown:_=>_.preventDefault(),style:{...C,boxShadow:ra,border:`1px solid ${p.stroke.stroke1}`,borderRadius:"8px",backgroundColor:"#fff"},placement:"bottom",modifiers:[{name:"offset",options:{offset:[0,8]}}],children:g.jsxs(g.Fragment,{children:[h,g.jsx(Ir,{sx:{width:"100%",height:"1px",backgroundColor:p.black.black4}},void 0),t&&g.jsxs(Ir,{sx:{padding:"6px 16px",display:"flex",alignItems:"center",marginBottom:"4px","&:hover":{cursor:"pointer",color:p.blue.blue1,backgroundColor:p.black.black5}},onClick:y,children:[g.jsx(Bd,{sx:{padding:"0 16px 0 0"},checked:o.selectAll,indeterminate:!o.selectAll&&o.selectedItems.length>0},void 0),g.jsx(yt,{children:n||"Select all"},void 0)]},void 0)]},void 0)},void 0)},PaperComponent:S=>g.jsx(Es,{sx:{padding:0,boxShadow:"none",borderRadius:"8px","ul.MuiAutocomplete-listbox":{borderRadius:"8px",padding:0,"&::-webkit-scrollbar-track":{width:"3px",background:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:p.black.black4},"& li":{margin:"4px 0"},"& > :first-child":{marginTop:"12px"},'& .MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:"#fff","&.Mui-focused":{backgroundColor:"transparent"},"&:hover":{backgroundColor:p.black.black5},"& > * div.MuiTypography-body1Regular":{color:p.blue.blue1}},'.MuiAutocomplete-option[aria-selected="false"]':{backgroundColor:"transparent","&:hover":{backgroundColor:p.black.black5}}}},...S},void 0),isOptionEqualToValue:(S,h)=>S.value===h.value,value:o.selectedItems,inputParams:{placeholder:v,...u},...l},void 0)},void 0)},void 0)});function CF(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;l{t.current=e},[e]),t.current}const Sx=()=>{};function kF(e){const[,t]=b.useState(),{registerDescendant:n=Sx,unregisterDescendant:r=Sx,descendants:o=[],parentId:i=null}=b.useContext(J_),a=RF(o,c=>c.element===e.element),s=TF(o),l=o.some((c,u)=>s&&s[u]&&s[u].element!==c.element);return H9(()=>{if(e.element)return n(Ln({},e,{index:a})),()=>{r(e.element)};t({})},[n,r,a,l,e]),{parentId:i,index:a}}function $F(e){const{children:t,id:n}=e,[r,o]=b.useState([]),i=b.useCallback(l=>{let{element:c}=l,u=$s(l,_F);o(d=>{if(d.length===0)return[Ln({},u,{element:c,index:0})];const f=PF(d,c);let p;if(d[f]&&d[f].element===c)p=d;else{const m=Ln({},u,{element:c,index:f});p=d.slice(),p.splice(f,0,m)}return p.forEach((m,y)=>{m.index=y}),p})},[]),a=b.useCallback(l=>{o(c=>c.filter(u=>l!==u.element))},[]),s=b.useMemo(()=>({descendants:r,registerDescendant:i,unregisterDescendant:a,parentId:n}),[r,i,a,n]);return g.jsx(J_.Provider,{value:s,children:t})}const EF={instance:null,multiSelect:!1,disabledItemsFocusable:!1,treeId:void 0,icons:{defaultCollapseIcon:null,defaultExpandIcon:null,defaultParentIcon:null,defaultEndIcon:null}},MF=b.createContext(EF),eR=()=>b.useContext(MF);function IF(e){const{instance:t,multiSelect:n}=eR(),r=t?t.isNodeExpandable(e):!1,o=t?t.isNodeExpanded(e):!1,i=t?t.isNodeFocused(e):!1,a=t?t.isNodeSelected(e):!1,s=t?t.isNodeDisabled(e):!1;return{disabled:s,expanded:o,selected:a,focused:i,handleExpansion:d=>{if(t&&!s){i||t.focusNode(d,e);const f=n&&(d.shiftKey||d.ctrlKey||d.metaKey);r&&!(f&&t.isNodeExpanded(e))&&t.toggleNodeExpansion(d,e)}},handleSelection:d=>{t&&!s&&(i||t.focusNode(d,e),n&&(d.shiftKey||d.ctrlKey||d.metaKey)?d.shiftKey?t.selectRange(d,{end:e}):t.selectNode(d,e,!0):t.selectNode(d,e))},preventSelection:d=>{(d.shiftKey||d.ctrlKey||d.metaKey||s)&&d.preventDefault()}}}const OF=["classes","className","displayIcon","expansionIcon","icon","label","nodeId","onClick","onMouseDown"],tR=b.forwardRef(function(t,n){const{classes:r,className:o,displayIcon:i,expansionIcon:a,icon:s,label:l,nodeId:c,onClick:u,onMouseDown:d}=t,f=$s(t,OF),{disabled:p,expanded:m,selected:y,focused:w,handleExpansion:v,handleSelection:S,preventSelection:h}=IF(c),C=s||a||i,R=T=>{h(T),d&&d(T)},_=T=>{v(T),S(T),u&&u(T)};return g.jsxs("div",Ln({},f,{className:ve(o,r.root,m&&r.expanded,y&&r.selected,w&&r.focused,p&&r.disabled),onClick:_,onMouseDown:R,ref:n,children:[g.jsx("div",{className:r.iconContainer,children:C}),g.jsx("div",{className:r.label,children:l})]}))});function LF(e){return $_("MuiTreeItem",e)}const Yt=q9("MuiTreeItem",["root","group","content","expanded","selected","focused","disabled","iconContainer","label"]),AF=["children","className","collapseIcon","ContentComponent","ContentProps","endIcon","expandIcon","disabled","icon","id","label","nodeId","onClick","onMouseDown","TransitionComponent","TransitionProps"],NF=e=>{const{classes:t}=e;return CF({root:["root"],content:["content"],expanded:["expanded"],selected:["selected"],focused:["focused"],disabled:["disabled"],iconContainer:["iconContainer"],label:["label"],group:["group"]},LF,t)},DF=J("li",{name:"MuiTreeItem",slot:"Root",overridesResolver:(e,t)=>t.root})({listStyle:"none",margin:0,padding:0,outline:0}),jF=J(tR,{name:"MuiTreeItem",slot:"Content",overridesResolver:(e,t)=>[t.content,t.iconContainer&&{[`& .${Yt.iconContainer}`]:t.iconContainer},t.label&&{[`& .${Yt.label}`]:t.label}]})(({theme:e})=>({padding:"0 8px",width:"100%",boxSizing:"border-box",display:"flex",alignItems:"center",cursor:"pointer",WebkitTapHighlightColor:"transparent","&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,backgroundColor:"transparent"},[`&.${Yt.focused}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Yt.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Be(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Yt.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Be(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`& .${Yt.iconContainer}`]:{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},[`& .${Yt.label}`]:Ln({paddingLeft:4,width:"100%",boxSizing:"border-box",minWidth:0,position:"relative"},e.typography.body1)})),FF=J(fs,{name:"MuiTreeItem",slot:"Group",overridesResolver:(e,t)=>t.group})({margin:0,padding:0,marginLeft:17}),BF=b.forwardRef(function(t,n){const r=ZE({props:t,name:"MuiTreeItem"}),{children:o,className:i,collapseIcon:a,ContentComponent:s=tR,ContentProps:l,endIcon:c,expandIcon:u,disabled:d,icon:f,id:p,label:m,nodeId:y,onClick:w,onMouseDown:v,TransitionComponent:S=fs,TransitionProps:h}=r,C=$s(r,AF),{icons:R,multiSelect:_,disabledItemsFocusable:T,treeId:P,instance:k}=eR();let x;p!=null?x=p:P&&y&&(x=`${P}-${y}`);const[$,I]=b.useState(null),O=b.useRef(null),D=V9(I,n),M=b.useMemo(()=>({element:$,id:y}),[y,$]),{index:A,parentId:N}=kF(M),E=!!(Array.isArray(o)?o.length:o),L=k?k.isNodeExpanded(y):!1,B=k?k.isNodeFocused(y):!1,H=k?k.isNodeSelected(y):!1,z=k?k.isNodeDisabled(y):!1,j=Ln({},r,{expanded:L,focused:B,selected:H,disabled:z}),F=NF(j);let W,V;E&&(L?V=a||R.defaultCollapseIcon:V=u||R.defaultExpandIcon),E?W=R.defaultParentIcon:W=c||R.defaultEndIcon,b.useEffect(()=>{if(k&&A!==-1)return k.updateNode({id:y,idAttribute:x,index:A,parentId:N,expandable:E,disabled:d}),()=>k.removeNode(y)},[k,N,A,y,E,d,x]),b.useEffect(()=>{if(k&&m){var U,K;return k.mapFirstChar(y,((U=(K=O.current)==null?void 0:K.textContent)!=null?U:"").substring(0,1).toLowerCase())}},[k,y,m]);let ee;_?ee=H:H&&(ee=!0);function re(U){if(U.target===U.currentTarget){let se;typeof U.target.getRootNode=="function"?se=U.target.getRootNode():se=B9(U.target),se.getElementById(P).focus({preventScroll:!0})}const K=!T&&z;k&&!B&&U.currentTarget===U.target&&!K&&k.focusNode(U,y)}return g.jsxs(DF,Ln({className:ve(F.root,i),role:"treeitem","aria-expanded":E?L:void 0,"aria-selected":ee,"aria-disabled":z||void 0,id:x,tabIndex:-1},C,{ownerState:j,onFocus:re,ref:D,children:[g.jsx(jF,Ln({as:s,ref:O,classes:{root:F.content,expanded:F.expanded,selected:F.selected,focused:F.focused,disabled:F.disabled,iconContainer:F.iconContainer,label:F.label},label:m,nodeId:y,onClick:w,onMouseDown:v,icon:f,expansionIcon:V,displayIcon:W,ownerState:j},l)),o&&g.jsx($F,{id:y,children:g.jsx(FF,Ln({as:S,unmountOnExit:!0,className:F.group,in:L,component:"ul",role:"group"},h,{children:o}))})]}))});var wx;(function(e){e.LOADING="loading",e.NORMAL="normal",e.NONE="none"})(wx||(wx={}));J(e=>g.jsx(BF,{...e},void 0))(({theme:e})=>({[`& .${Yt.content}`]:{height:"32px",marginBottom:"8px",color:e.black.black1,padding:"4px",borderRadius:"6px",[`&.${Yt.selected}`]:{backgroundColor:e.blue.blue4,[`&.${Yt.focused}`]:{backgroundColor:e.blue.blue4},[`& .${Yt.label},.MuiTypography-root `]:{color:e.blue.blue1},[`& .${Yt.label}`]:{svg:{path:{fill:e.blue.blue1}}},[`& .${Yt.iconContainer}`]:{svg:{path:{fill:e.black.black1}}}},"&:hover":{backgroundColor:e.blue.blue4},[`& .${Yt.label}`]:{color:e.black.black3,fontSize:"12px",paddingLeft:0,svg:{path:{fill:"currentColor"}},".highlight":{color:e.black.black3}},[`& .${Yt.iconContainer}`]:{marginRight:e.spacing(.5),width:"auto",svg:{path:{fill:e.black.black2}}}},[`& .${Yt.group}`]:{position:"relative",top:"-10px",margin:"12px 0 0px 23px",paddingLeft:6,borderLeft:`1px solid ${e.stroke.stroke1}`,".loadingNode":{paddingLeft:8},[`& .${Yt.content}`]:{height:"28px",marginBottom:"4px",".MuiTypography-root":{fontSize:"13px"},svg:{path:{color:e.black.black2}}}}}));const nR=['"Helvetica Neue"','"Microsoft YaHei"',"-apple-system","sans-serif"],zF=['"Pingfang SC"',...nR],HF=['"Inter"',...nR],rR=e=>(e==="enUS"?HF:zF).join(","),Ht=(e,t,n)=>{const r=rR(n),o={h1:{fontSize:"22px",lineHeight:"150%"},h2:{fontSize:"18px",lineHeight:"150%"},h3:{fontSize:"16px",lineHeight:"150%"},h4:{fontSize:"14px",lineHeight:"135%"},body1:{fontSize:"14px",lineHeight:"135%"},body2:{fontSize:"13px",lineHeight:"135%"},body3:{fontSize:"12px",lineHeight:"135%"},body4:{fontSize:"11px",lineHeight:"135%"}},i={regular:{fontWeight:400},medium:{fontWeight:500},semibold:{fontWeight:600},bold:{fontWeight:n==="enUS"?700:600}};return{...o[e],...i[t],fontFamily:r}},VF=e=>({h1Regular:Ht("h1","regular",e),h1Medium:Ht("h1","medium",e),h1Semibold:Ht("h1","semibold",e),h1Bold:Ht("h1","bold",e),h2Regular:Ht("h2","regular",e),h2Medium:Ht("h2","medium",e),h2Semibold:Ht("h2","semibold",e),h3Regular:Ht("h3","regular",e),h3Medium:Ht("h3","medium",e),h3Semibold:Ht("h3","semibold",e),h4Medium:Ht("h4","medium",e),h4Semibold:Ht("h4","semibold",e),body1Regular:Ht("body1","regular",e),body1Medium:Ht("body1","medium",e),body2Regular:Ht("body2","regular",e),body2Medium:Ht("body2","medium",e),body3Regular:Ht("body3","regular",e),body3Medium:Ht("body3","medium",e),body4Regular:Ht("body4","regular",e)}),Vt={blue:{blue1:"#3f46ff",blue2:"#6066fd",blue3:"#dbe0ff",blue4:"#f2f3ff",blue5:"#f7f8ff",dark1:"#181eca",dark2:"#141c63",light1:"#ebedff"},black:{black1:"#1d2939",black2:"#5d6d85",black3:"#a6b1be",black4:"#f0f2f4",black5:"#f9f9fb"},green:{green1:"#166434",green2:"#49de80",green3:"#adf8c9",green4:"#effdf4"},yellow:{yellow1:"#854d0f",yellow2:"#ffb800",yellow3:"#ffe7a9",yellow4:"#fff8e2"},red:{red1:"#991b1b",red2:"#f26868",red3:"#fbc6c6",red4:"#fff1f1"},stroke:{stroke1:"#e4eaf1",stroke2:"#cdd8e8"},gradient:"linear-gradient(118deg,#00ef8b 0.51%,#0044e4 36.98%,#cd3fff 72.73%)"},WF=e=>{const t=rR(e),n=VF(e);return{typography:{fontFamily:t,...n}}},UF=(e="enUS")=>Yf({palette:{primary:{main:Vt.blue.blue1,dark:Vt.blue.dark1,light:Vt.blue.blue2},success:{dark:Vt.green.green1,main:Vt.green.green2,light:Vt.green.green3},info:{dark:Vt.blue.blue1,main:Vt.blue.blue2,light:Vt.blue.blue3},warning:{dark:Vt.yellow.yellow1,main:Vt.yellow.yellow2,light:Vt.yellow.yellow3},error:{dark:Vt.red.red1,main:Vt.red.red2,light:Vt.red.red3},text:{primary:Vt.black.black1,secondary:Vt.black.black2,disabled:Vt.black.black3}},language:e,components:{MuiButton:{variants:[{props:{variant:"textGhost"},style:{}}]},MuiTypography:{defaultProps:{color:"textPrimary",variant:"body1Regular",variantMapping:{h1Regular:"h1",h1Medium:"h1",h1Semibold:"h1",h1Bold:"h1",h2Regular:"h2",h2Medium:"h2",h2Semibold:"h2",h3Regular:"h3",h3Medium:"h3",h3Semibold:"h3",h4Medium:"h4",h4Semibold:"h4",body1Regular:"p",body1Medium:"span",body2Regular:"span",body2Medium:"span",body3Regular:"span",body3Medium:"span",body4Regular:"span"}}}},spacing:4,...Vt,...WF(e)},tD[e]);/** - * table-core - * - * Copyright (c) TanStack - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Qo(e,t){return typeof e=="function"?e(t):e}function tr(e,t){return n=>{t.setState(r=>({...r,[e]:Qo(n,r[e])}))}}function pp(e){return e instanceof Function}function GF(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function qF(e,t){const n=[],r=o=>{o.forEach(i=>{n.push(i);const a=t(i);a!=null&&a.length&&r(a)})};return r(e),n}function Me(e,t,n){let r=[],o;return i=>{let a;n.key&&n.debug&&(a=Date.now());const s=e(i);if(!(s.length!==r.length||s.some((u,d)=>r[d]!==u)))return o;r=s;let c;if(n.key&&n.debug&&(c=Date.now()),o=t(...s),n==null||n.onChange==null||n.onChange(o),n.key&&n.debug&&n!=null&&n.debug()){const u=Math.round((Date.now()-a)*100)/100,d=Math.round((Date.now()-c)*100)/100,f=d/16,p=(m,y)=>{for(m=String(m);m.length{var o;return(o=e==null?void 0:e.debugAll)!=null?o:e[t]},key:!1,onChange:r}}function KF(e,t,n,r){const o=()=>{var a;return(a=i.getValue())!=null?a:e.options.renderFallbackValue},i={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:o,getContext:Me(()=>[e,n,t,i],(a,s,l,c)=>({table:a,column:s,row:l,cell:c,getValue:c.getValue,renderValue:c.renderValue}),Ie(e.options,"debugCells"))};return e._features.forEach(a=>{a.createCell==null||a.createCell(i,n,t,e)},{}),i}function ZF(e,t,n,r){var o,i;const s={...e._getDefaultColumnDef(),...t},l=s.accessorKey;let c=(o=(i=s.id)!=null?i:l?typeof String.prototype.replaceAll=="function"?l.replaceAll(".","_"):l.replace(/\./g,"_"):void 0)!=null?o:typeof s.header=="string"?s.header:void 0,u;if(s.accessorFn?u=s.accessorFn:l&&(l.includes(".")?u=f=>{let p=f;for(const y of l.split(".")){var m;p=(m=p)==null?void 0:m[y]}return p}:u=f=>f[s.accessorKey]),!c)throw new Error;let d={id:`${String(c)}`,accessorFn:u,parent:r,depth:n,columnDef:s,columns:[],getFlatColumns:Me(()=>[!0],()=>{var f;return[d,...(f=d.columns)==null?void 0:f.flatMap(p=>p.getFlatColumns())]},Ie(e.options,"debugColumns")),getLeafColumns:Me(()=>[e._getOrderColumnsFn()],f=>{var p;if((p=d.columns)!=null&&p.length){let m=d.columns.flatMap(y=>y.getLeafColumns());return f(m)}return[d]},Ie(e.options,"debugColumns"))};for(const f of e._features)f.createColumn==null||f.createColumn(d,e);return d}const pn="debugHeaders";function Cx(e,t,n){var r;let i={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const a=[],s=l=>{l.subHeaders&&l.subHeaders.length&&l.subHeaders.map(s),a.push(l)};return s(i),a},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach(a=>{a.createHeader==null||a.createHeader(i,e)}),i}const QF={createTable:e=>{e.getHeaderGroups=Me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,o)=>{var i,a;const s=(i=r==null?void 0:r.map(d=>n.find(f=>f.id===d)).filter(Boolean))!=null?i:[],l=(a=o==null?void 0:o.map(d=>n.find(f=>f.id===d)).filter(Boolean))!=null?a:[],c=n.filter(d=>!(r!=null&&r.includes(d.id))&&!(o!=null&&o.includes(d.id)));return hu(t,[...s,...c,...l],e)},Ie(e.options,pn)),e.getCenterHeaderGroups=Me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,o)=>(n=n.filter(i=>!(r!=null&&r.includes(i.id))&&!(o!=null&&o.includes(i.id))),hu(t,n,e,"center")),Ie(e.options,pn)),e.getLeftHeaderGroups=Me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var o;const i=(o=r==null?void 0:r.map(a=>n.find(s=>s.id===a)).filter(Boolean))!=null?o:[];return hu(t,i,e,"left")},Ie(e.options,pn)),e.getRightHeaderGroups=Me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var o;const i=(o=r==null?void 0:r.map(a=>n.find(s=>s.id===a)).filter(Boolean))!=null?o:[];return hu(t,i,e,"right")},Ie(e.options,pn)),e.getFooterGroups=Me(()=>[e.getHeaderGroups()],t=>[...t].reverse(),Ie(e.options,pn)),e.getLeftFooterGroups=Me(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),Ie(e.options,pn)),e.getCenterFooterGroups=Me(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),Ie(e.options,pn)),e.getRightFooterGroups=Me(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),Ie(e.options,pn)),e.getFlatHeaders=Me(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),Ie(e.options,pn)),e.getLeftFlatHeaders=Me(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),Ie(e.options,pn)),e.getCenterFlatHeaders=Me(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),Ie(e.options,pn)),e.getRightFlatHeaders=Me(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),Ie(e.options,pn)),e.getCenterLeafHeaders=Me(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Ie(e.options,pn)),e.getLeftLeafHeaders=Me(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Ie(e.options,pn)),e.getRightLeafHeaders=Me(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Ie(e.options,pn)),e.getLeafHeaders=Me(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var o,i,a,s,l,c;return[...(o=(i=t[0])==null?void 0:i.headers)!=null?o:[],...(a=(s=n[0])==null?void 0:s.headers)!=null?a:[],...(l=(c=r[0])==null?void 0:c.headers)!=null?l:[]].map(u=>u.getLeafHeaders()).flat()},Ie(e.options,pn))}};function hu(e,t,n,r){var o,i;let a=0;const s=function(f,p){p===void 0&&(p=1),a=Math.max(a,p),f.filter(m=>m.getIsVisible()).forEach(m=>{var y;(y=m.columns)!=null&&y.length&&s(m.columns,p+1)},0)};s(e);let l=[];const c=(f,p)=>{const m={depth:p,id:[r,`${p}`].filter(Boolean).join("_"),headers:[]},y=[];f.forEach(w=>{const v=[...y].reverse()[0],S=w.column.depth===m.depth;let h,C=!1;if(S&&w.column.parent?h=w.column.parent:(h=w.column,C=!0),v&&(v==null?void 0:v.column)===h)v.subHeaders.push(w);else{const R=Cx(n,h,{id:[r,p,h.id,w==null?void 0:w.id].filter(Boolean).join("_"),isPlaceholder:C,placeholderId:C?`${y.filter(_=>_.column===h).length}`:void 0,depth:p,index:y.length});R.subHeaders.push(w),y.push(R)}m.headers.push(w),w.headerGroup=m}),l.push(m),p>0&&c(y,p-1)},u=t.map((f,p)=>Cx(n,f,{depth:a,index:p}));c(u,a-1),l.reverse();const d=f=>f.filter(m=>m.column.getIsVisible()).map(m=>{let y=0,w=0,v=[0];m.subHeaders&&m.subHeaders.length?(v=[],d(m.subHeaders).forEach(h=>{let{colSpan:C,rowSpan:R}=h;y+=C,v.push(R)})):y=1;const S=Math.min(...v);return w=w+S,m.colSpan=y,m.rowSpan=w,{colSpan:y,rowSpan:w}});return d((o=(i=l[0])==null?void 0:i.headers)!=null?o:[]),l}const YF=(e,t,n,r,o,i,a)=>{let s={id:t,index:r,original:n,depth:o,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:l=>{if(s._valuesCache.hasOwnProperty(l))return s._valuesCache[l];const c=e.getColumn(l);if(c!=null&&c.accessorFn)return s._valuesCache[l]=c.accessorFn(s.original,r),s._valuesCache[l]},getUniqueValues:l=>{if(s._uniqueValuesCache.hasOwnProperty(l))return s._uniqueValuesCache[l];const c=e.getColumn(l);if(c!=null&&c.accessorFn)return c.columnDef.getUniqueValues?(s._uniqueValuesCache[l]=c.columnDef.getUniqueValues(s.original,r),s._uniqueValuesCache[l]):(s._uniqueValuesCache[l]=[s.getValue(l)],s._uniqueValuesCache[l])},renderValue:l=>{var c;return(c=s.getValue(l))!=null?c:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>qF(s.subRows,l=>l.subRows),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let l=[],c=s;for(;;){const u=c.getParentRow();if(!u)break;l.push(u),c=u}return l.reverse()},getAllCells:Me(()=>[e.getAllLeafColumns()],l=>l.map(c=>KF(e,s,c,c.id)),Ie(e.options,"debugRows")),_getAllCellsByColumnId:Me(()=>[s.getAllCells()],l=>l.reduce((c,u)=>(c[u.column.id]=u,c),{}),Ie(e.options,"debugRows"))};for(let l=0;l{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},oR=(e,t,n)=>{var r,o;const i=n==null||(r=n.toString())==null?void 0:r.toLowerCase();return!!(!((o=e.getValue(t))==null||(o=o.toString())==null||(o=o.toLowerCase())==null)&&o.includes(i))};oR.autoRemove=e=>Nr(e);const iR=(e,t,n)=>{var r;return!!(!((r=e.getValue(t))==null||(r=r.toString())==null)&&r.includes(n))};iR.autoRemove=e=>Nr(e);const aR=(e,t,n)=>{var r;return((r=e.getValue(t))==null||(r=r.toString())==null?void 0:r.toLowerCase())===(n==null?void 0:n.toLowerCase())};aR.autoRemove=e=>Nr(e);const sR=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};sR.autoRemove=e=>Nr(e)||!(e!=null&&e.length);const lR=(e,t,n)=>!n.some(r=>{var o;return!((o=e.getValue(t))!=null&&o.includes(r))});lR.autoRemove=e=>Nr(e)||!(e!=null&&e.length);const cR=(e,t,n)=>n.some(r=>{var o;return(o=e.getValue(t))==null?void 0:o.includes(r)});cR.autoRemove=e=>Nr(e)||!(e!=null&&e.length);const uR=(e,t,n)=>e.getValue(t)===n;uR.autoRemove=e=>Nr(e);const dR=(e,t,n)=>e.getValue(t)==n;dR.autoRemove=e=>Nr(e);const k1=(e,t,n)=>{let[r,o]=n;const i=e.getValue(t);return i>=r&&i<=o};k1.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,o=typeof n!="number"?parseFloat(n):n,i=t===null||Number.isNaN(r)?-1/0:r,a=n===null||Number.isNaN(o)?1/0:o;if(i>a){const s=i;i=a,a=s}return[i,a]};k1.autoRemove=e=>Nr(e)||Nr(e[0])&&Nr(e[1]);const po={includesString:oR,includesStringSensitive:iR,equalsString:aR,arrIncludes:sR,arrIncludesAll:lR,arrIncludesSome:cR,equals:uR,weakEquals:dR,inNumberRange:k1};function Nr(e){return e==null||e===""}const JF={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:tr("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);return typeof r=="string"?po.includesString:typeof r=="number"?po.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?po.equals:Array.isArray(r)?po.arrIncludes:po.weakEquals},e.getFilterFn=()=>{var n,r;return pp(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:po[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,o;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((o=t.options.enableFilters)!=null?o:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(r=>r.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(o=>o.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(r=>{const o=e.getFilterFn(),i=r==null?void 0:r.find(u=>u.id===e.id),a=Qo(n,i?i.value:void 0);if(_x(o,a,e)){var s;return(s=r==null?void 0:r.filter(u=>u.id!==e.id))!=null?s:[]}const l={id:e.id,value:a};if(i){var c;return(c=r==null?void 0:r.map(u=>u.id===e.id?l:u))!=null?c:[]}return r!=null&&r.length?[...r,l]:[l]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),r=o=>{var i;return(i=Qo(t,o))==null?void 0:i.filter(a=>{const s=n.find(l=>l.id===a.id);if(s){const l=s.getFilterFn();if(_x(l,a.value,s))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function _x(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const eB=(e,t,n)=>n.reduce((r,o)=>{const i=o.getValue(e);return r+(typeof i=="number"?i:0)},0),tB=(e,t,n)=>{let r;return n.forEach(o=>{const i=o.getValue(e);i!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}),r},nB=(e,t,n)=>{let r;return n.forEach(o=>{const i=o.getValue(e);i!=null&&(r=i)&&(r=i)}),r},rB=(e,t,n)=>{let r,o;return n.forEach(i=>{const a=i.getValue(e);a!=null&&(r===void 0?a>=a&&(r=o=a):(r>a&&(r=a),o{let n=0,r=0;if(t.forEach(o=>{let i=o.getValue(e);i!=null&&(i=+i)>=i&&(++n,r+=i)}),n)return r/n},iB=(e,t)=>{if(!t.length)return;const n=t.map(i=>i.getValue(e));if(!GF(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),o=n.sort((i,a)=>i-a);return n.length%2!==0?o[r]:(o[r-1]+o[r])/2},aB=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),sB=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,lB=(e,t)=>t.length,bg={sum:eB,min:tB,max:nB,extent:rB,mean:oB,median:iB,unique:aB,uniqueCount:sB,count:lB},cB={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:tr("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,r;return((n=e.columnDef.enableGrouping)!=null?n:!0)&&((r=t.options.enableGrouping)!=null?r:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);if(typeof r=="number")return bg.sum;if(Object.prototype.toString.call(r)==="[object Date]")return bg.extent},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return pp(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:bg[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var o;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((o=n.subRows)!=null&&o.length)}}};function uB(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(i=>!t.includes(i.id));return n==="remove"?r:[...t.map(i=>e.find(a=>a.id===i)).filter(Boolean),...r]}const dB={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:tr("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Me(n=>[Ml(t,n)],n=>n.findIndex(r=>r.id===e.id),Ie(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return((r=Ml(t,n)[0])==null?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const o=Ml(t,n);return((r=o[o.length-1])==null?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=Me(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>o=>{let i=[];if(!(t!=null&&t.length))i=o;else{const a=[...t],s=[...o];for(;s.length&&a.length;){const l=a.shift(),c=s.findIndex(u=>u.id===l);c>-1&&i.push(s.splice(c,1)[0])}i=[...i,...s]}return uB(i,n,r)},Ie(e.options,"debugTable"))}},xg=()=>({left:[],right:[]}),fB={getInitialState:e=>({columnPinning:xg(),...e}),getDefaultOptions:e=>({onColumnPinningChange:tr("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(o=>o.id).filter(Boolean);t.setColumnPinning(o=>{var i,a;if(n==="right"){var s,l;return{left:((s=o==null?void 0:o.left)!=null?s:[]).filter(d=>!(r!=null&&r.includes(d))),right:[...((l=o==null?void 0:o.right)!=null?l:[]).filter(d=>!(r!=null&&r.includes(d))),...r]}}if(n==="left"){var c,u;return{left:[...((c=o==null?void 0:o.left)!=null?c:[]).filter(d=>!(r!=null&&r.includes(d))),...r],right:((u=o==null?void 0:o.right)!=null?u:[]).filter(d=>!(r!=null&&r.includes(d)))}}return{left:((i=o==null?void 0:o.left)!=null?i:[]).filter(d=>!(r!=null&&r.includes(d))),right:((a=o==null?void 0:o.right)!=null?a:[]).filter(d=>!(r!=null&&r.includes(d)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var o,i,a;return((o=r.columnDef.enablePinning)!=null?o:!0)&&((i=(a=t.options.enableColumnPinning)!=null?a:t.options.enablePinning)!=null?i:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(s=>s.id),{left:r,right:o}=t.getState().columnPinning,i=n.some(s=>r==null?void 0:r.includes(s)),a=n.some(s=>o==null?void 0:o.includes(s));return i?"left":a?"right":!1},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();return o?(n=(r=t.getState().columnPinning)==null||(r=r[o])==null?void 0:r.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Me(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,o)=>{const i=[...r??[],...o??[]];return n.filter(a=>!i.includes(a.column.id))},Ie(t.options,"debugRows")),e.getLeftVisibleCells=Me(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(n,r)=>(r??[]).map(i=>n.find(a=>a.column.id===i)).filter(Boolean).map(i=>({...i,position:"left"})),Ie(t.options,"debugRows")),e.getRightVisibleCells=Me(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(i=>n.find(a=>a.column.id===i)).filter(Boolean).map(i=>({...i,position:"right"})),Ie(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?xg():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:xg())},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;if(!t){var o,i;return!!((o=r.left)!=null&&o.length||(i=r.right)!=null&&i.length)}return!!((n=r[t])!=null&&n.length)},e.getLeftLeafColumns=Me(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(o=>o.id===r)).filter(Boolean),Ie(e.options,"debugColumns")),e.getRightLeafColumns=Me(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(o=>o.id===r)).filter(Boolean),Ie(e.options,"debugColumns")),e.getCenterLeafColumns=Me(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const o=[...n??[],...r??[]];return t.filter(i=>!o.includes(i.id))},Ie(e.options,"debugColumns"))}},mu={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Sg=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),pB={getDefaultColumnDef:()=>mu,getInitialState:e=>({columnSizing:{},columnSizingInfo:Sg(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:tr("columnSizing",e),onColumnSizingInfoChange:tr("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,o;const i=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:mu.minSize,(r=i??e.columnDef.size)!=null?r:mu.size),(o=e.columnDef.maxSize)!=null?o:mu.maxSize)},e.getStart=Me(n=>[n,Ml(t,n),t.getState().columnSizing],(n,r)=>r.slice(0,e.getIndex(n)).reduce((o,i)=>o+i.getSize(),0),Ie(t.options,"debugColumns")),e.getAfter=Me(n=>[n,Ml(t,n),t.getState().columnSizing],(n,r)=>r.slice(e.getIndex(n)+1).reduce((o,i)=>o+i.getSize(),0),Ie(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:r,...o}=n;return o})},e.getCanResize=()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const r=o=>{if(o.subHeaders.length)o.subHeaders.forEach(r);else{var i;n+=(i=o.column.getSize())!=null?i:0}};return r(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),o=r==null?void 0:r.getCanResize();return i=>{if(!r||!o||(i.persist==null||i.persist(),wg(i)&&i.touches&&i.touches.length>1))return;const a=e.getSize(),s=e?e.getLeafHeaders().map(v=>[v.column.id,v.column.getSize()]):[[r.id,r.getSize()]],l=wg(i)?Math.round(i.touches[0].clientX):i.clientX,c={},u=(v,S)=>{typeof S=="number"&&(t.setColumnSizingInfo(h=>{var C,R;const _=t.options.columnResizeDirection==="rtl"?-1:1,T=(S-((C=h==null?void 0:h.startOffset)!=null?C:0))*_,P=Math.max(T/((R=h==null?void 0:h.startSize)!=null?R:0),-.999999);return h.columnSizingStart.forEach(k=>{let[x,$]=k;c[x]=Math.round(Math.max($+$*P,0)*100)/100}),{...h,deltaOffset:T,deltaPercentage:P}}),(t.options.columnResizeMode==="onChange"||v==="end")&&t.setColumnSizing(h=>({...h,...c})))},d=v=>u("move",v),f=v=>{u("end",v),t.setColumnSizingInfo(S=>({...S,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},p=n||typeof document<"u"?document:null,m={moveHandler:v=>d(v.clientX),upHandler:v=>{p==null||p.removeEventListener("mousemove",m.moveHandler),p==null||p.removeEventListener("mouseup",m.upHandler),f(v.clientX)}},y={moveHandler:v=>(v.cancelable&&(v.preventDefault(),v.stopPropagation()),d(v.touches[0].clientX),!1),upHandler:v=>{var S;p==null||p.removeEventListener("touchmove",y.moveHandler),p==null||p.removeEventListener("touchend",y.upHandler),v.cancelable&&(v.preventDefault(),v.stopPropagation()),f((S=v.touches[0])==null?void 0:S.clientX)}},w=gB()?{passive:!1}:!1;wg(i)?(p==null||p.addEventListener("touchmove",y.moveHandler,w),p==null||p.addEventListener("touchend",y.upHandler,w)):(p==null||p.addEventListener("mousemove",m.moveHandler,w),p==null||p.addEventListener("mouseup",m.upHandler,w)),t.setColumnSizingInfo(v=>({...v,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?Sg():(n=e.initialState.columnSizingInfo)!=null?n:Sg())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0}}};let vu=null;function gB(){if(typeof vu=="boolean")return vu;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return vu=e,vu}function wg(e){return e.type==="touchstart"}const hB={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:tr("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;const o=e.columns;return(n=o.length?o.some(i=>i.getIsVisible()):(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},e.getCanHide=()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Me(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),Ie(t.options,"debugRows")),e.getVisibleCells=Me(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,o)=>[...n,...r,...o],Ie(t.options,"debugRows"))},createTable:e=>{const t=(n,r)=>Me(()=>[r(),r().filter(o=>o.getIsVisible()).map(o=>o.id).join("_")],o=>o.filter(i=>i.getIsVisible==null?void 0:i.getIsVisible()),Ie(e.options,"debugColumns"));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((o,i)=>({...o,[i.id]:n||!(i.getCanHide!=null&&i.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}};function Ml(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const mB={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},vB={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:tr("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,o,i;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((o=t.options.enableFilters)!=null?o:!0)&&((i=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?i:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>po.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return pp(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:po[r]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},yB={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:tr("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(!t){e._queue(()=>{t=!0});return}if((r=(o=e.options.autoResetAll)!=null?o:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var o,i;e.setExpanded(r?{}:(o=(i=e.initialState)==null?void 0:i.expanded)!=null?o:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(o=>!o.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(i=>{const a=i.split(".");r=Math.max(r,a.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var o;const i=r===!0?!0:!!(r!=null&&r[e.id]);let a={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(s=>{a[s]=!0}):a=r,n=(o=n)!=null?o:!i,!i&&n)return{...a,[e.id]:!0};if(i&&!n){const{[e.id]:s,...l}=a;return l}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r!=null&&r[e.id])},e.getCanExpand=()=>{var n,r,o;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((o=e.subRows)!=null&&o.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},bm=0,xm=10,Cg=()=>({pageIndex:bm,pageSize:xm}),bB={getInitialState:e=>({...e,pagination:{...Cg(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:tr("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,o;if(!t){e._queue(()=>{t=!0});return}if((r=(o=e.options.autoResetAll)!=null?o:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=r=>{const o=i=>Qo(r,i);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(o)},e.resetPagination=r=>{var o;e.setPagination(r?Cg():(o=e.initialState.pagination)!=null?o:Cg())},e.setPageIndex=r=>{e.setPagination(o=>{let i=Qo(r,o.pageIndex);const a=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return i=Math.max(0,Math.min(i,a)),{...o,pageIndex:i}})},e.resetPageIndex=r=>{var o,i;e.setPageIndex(r?bm:(o=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageIndex)!=null?o:bm)},e.resetPageSize=r=>{var o,i;e.setPageSize(r?xm:(o=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageSize)!=null?o:xm)},e.setPageSize=r=>{e.setPagination(o=>{const i=Math.max(1,Qo(r,o.pageSize)),a=o.pageSize*o.pageIndex,s=Math.floor(a/i);return{...o,pageIndex:s,pageSize:i}})},e.setPageCount=r=>e.setPagination(o=>{var i;let a=Qo(r,(i=e.options.pageCount)!=null?i:-1);return typeof a=="number"&&(a=Math.max(-1,a)),{...o,pageCount:a}}),e.getPageOptions=Me(()=>[e.getPageCount()],r=>{let o=[];return r&&r>0&&(o=[...new Array(r)].fill(null).map((i,a)=>a)),o},Ie(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,o=e.getPageCount();return o===-1?!0:o===0?!1:re.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var r;return(r=e.options.rowCount)!=null?r:e.getPrePaginationRowModel().rows.length}}},_g=()=>({top:[],bottom:[]}),xB={getInitialState:e=>({rowPinning:_g(),...e}),getDefaultOptions:e=>({onRowPinningChange:tr("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,o)=>{const i=r?e.getLeafRows().map(l=>{let{id:c}=l;return c}):[],a=o?e.getParentRows().map(l=>{let{id:c}=l;return c}):[],s=new Set([...a,e.id,...i]);t.setRowPinning(l=>{var c,u;if(n==="bottom"){var d,f;return{top:((d=l==null?void 0:l.top)!=null?d:[]).filter(y=>!(s!=null&&s.has(y))),bottom:[...((f=l==null?void 0:l.bottom)!=null?f:[]).filter(y=>!(s!=null&&s.has(y))),...Array.from(s)]}}if(n==="top"){var p,m;return{top:[...((p=l==null?void 0:l.top)!=null?p:[]).filter(y=>!(s!=null&&s.has(y))),...Array.from(s)],bottom:((m=l==null?void 0:l.bottom)!=null?m:[]).filter(y=>!(s!=null&&s.has(y)))}}return{top:((c=l==null?void 0:l.top)!=null?c:[]).filter(y=>!(s!=null&&s.has(y))),bottom:((u=l==null?void 0:l.bottom)!=null?u:[]).filter(y=>!(s!=null&&s.has(y)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:o}=t.options;return typeof r=="function"?r(e):(n=r??o)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:o}=t.getState().rowPinning,i=n.some(s=>r==null?void 0:r.includes(s)),a=n.some(s=>o==null?void 0:o.includes(s));return i?"top":a?"bottom":!1},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();if(!o)return-1;const i=(n=o==="top"?t.getTopRows():t.getBottomRows())==null?void 0:n.map(a=>{let{id:s}=a;return s});return(r=i==null?void 0:i.indexOf(e.id))!=null?r:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?_g():(n=(r=e.initialState)==null?void 0:r.rowPinning)!=null?n:_g())},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;if(!t){var o,i;return!!((o=r.top)!=null&&o.length||(i=r.bottom)!=null&&i.length)}return!!((n=r[t])!=null&&n.length)},e._getPinnedRows=(t,n,r)=>{var o;return((o=e.options.keepPinnedRows)==null||o?(n??[]).map(a=>{const s=e.getRow(a,!0);return s.getIsAllParentsExpanded()?s:null}):(n??[]).map(a=>t.find(s=>s.id===a))).filter(Boolean).map(a=>({...a,position:r}))},e.getTopRows=Me(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),Ie(e.options,"debugRows")),e.getBottomRows=Me(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),Ie(e.options,"debugRows")),e.getCenterRows=Me(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,r)=>{const o=new Set([...n??[],...r??[]]);return t.filter(i=>!o.has(i.id))},Ie(e.options,"debugRows"))}},SB={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:tr("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach(i=>{i.getCanSelect()&&(r[i.id]=!0)}):o.forEach(i=>{delete r[i.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),o={...n};return e.getRowModel().rows.forEach(i=>{Sm(o,i.id,r,!0,e)}),o}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Me(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?Rg(e,n):{rows:[],flatRows:[],rowsById:{}},Ie(e.options,"debugTable")),e.getFilteredSelectedRowModel=Me(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?Rg(e,n):{rows:[],flatRows:[],rowsById:{}},Ie(e.options,"debugTable")),e.getGroupedSelectedRowModel=Me(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?Rg(e,n):{rows:[],flatRows:[],rowsById:{}},Ie(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(o=>o.getCanSelect()&&!n[o.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(o=>o.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(o=>!n[o.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const o=e.getIsSelected();t.setRowSelection(i=>{var a;if(n=typeof n<"u"?n:!o,e.getCanSelect()&&o===n)return i;const s={...i};return Sm(s,e.id,n,(a=r==null?void 0:r.selectChildren)!=null?a:!0,t),s})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return $1(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return wm(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return wm(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return r=>{var o;n&&e.toggleSelected((o=r.target)==null?void 0:o.checked)}}}},Sm=(e,t,n,r,o)=>{var i;const a=o.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach(s=>delete e[s]),a.getCanSelect()&&(e[t]=!0)):delete e[t],r&&(i=a.subRows)!=null&&i.length&&a.getCanSelectSubRows()&&a.subRows.forEach(s=>Sm(e,s.id,n,r,o))};function Rg(e,t){const n=e.getState().rowSelection,r=[],o={},i=function(a,s){return a.map(l=>{var c;const u=$1(l,n);if(u&&(r.push(l),o[l.id]=l),(c=l.subRows)!=null&&c.length&&(l={...l,subRows:i(l.subRows)}),u)return l}).filter(Boolean)};return{rows:i(t.rows),flatRows:r,rowsById:o}}function $1(e,t){var n;return(n=t[e.id])!=null?n:!1}function wm(e,t,n){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let o=!0,i=!1;return e.subRows.forEach(a=>{if(!(i&&!o)&&(a.getCanSelect()&&($1(a,t)?i=!0:o=!1),a.subRows&&a.subRows.length)){const s=wm(a,t);s==="all"?i=!0:(s==="some"&&(i=!0),o=!1)}}),o?"all":i?"some":!1}const Cm=/([0-9]+)/gm,wB=(e,t,n)=>fR(fi(e.getValue(n)).toLowerCase(),fi(t.getValue(n)).toLowerCase()),CB=(e,t,n)=>fR(fi(e.getValue(n)),fi(t.getValue(n))),_B=(e,t,n)=>E1(fi(e.getValue(n)).toLowerCase(),fi(t.getValue(n)).toLowerCase()),RB=(e,t,n)=>E1(fi(e.getValue(n)),fi(t.getValue(n))),PB=(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:rE1(e.getValue(n),t.getValue(n));function E1(e,t){return e===t?0:e>t?1:-1}function fi(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function fR(e,t){const n=e.split(Cm).filter(Boolean),r=t.split(Cm).filter(Boolean);for(;n.length&&r.length;){const o=n.shift(),i=r.shift(),a=parseInt(o,10),s=parseInt(i,10),l=[a,s].sort();if(isNaN(l[0])){if(o>i)return 1;if(i>o)return-1;continue}if(isNaN(l[1]))return isNaN(a)?-1:1;if(a>s)return 1;if(s>a)return-1}return n.length-r.length}const tl={alphanumeric:wB,alphanumericCaseSensitive:CB,text:_B,textCaseSensitive:RB,datetime:PB,basic:TB},kB={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:tr("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const o of n){const i=o==null?void 0:o.getValue(e.id);if(Object.prototype.toString.call(i)==="[object Date]")return tl.datetime;if(typeof i=="string"&&(r=!0,i.split(Cm).length>1))return tl.alphanumeric}return r?tl.text:tl.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof(n==null?void 0:n.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return pp(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:tl[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),i=typeof n<"u"&&n!==null;t.setSorting(a=>{const s=a==null?void 0:a.find(p=>p.id===e.id),l=a==null?void 0:a.findIndex(p=>p.id===e.id);let c=[],u,d=i?n:o==="desc";if(a!=null&&a.length&&e.getCanMultiSort()&&r?s?u="toggle":u="add":a!=null&&a.length&&l!==a.length-1?u="replace":s?u="toggle":u="replace",u==="toggle"&&(i||o||(u="remove")),u==="add"){var f;c=[...a,{id:e.id,desc:d}],c.splice(0,c.length-((f=t.options.maxMultiSortColCount)!=null?f:Number.MAX_SAFE_INTEGER))}else u==="toggle"?c=a.map(p=>p.id===e.id?{...p,desc:d}:p):u==="remove"?c=a.filter(p=>p.id!==e.id):c=[{id:e.id,desc:d}];return c})},e.getFirstSortDir=()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var r,o;const i=e.getFirstSortDir(),a=e.getIsSorted();return a?a!==i&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(o=t.options.enableMultiRemove)!=null)||o)?!1:a==="desc"?"asc":"desc":i},e.getCanSort=()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(o=>o.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(o=>o.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},$B=[QF,hB,dB,fB,XF,JF,mB,vB,kB,cB,yB,bB,xB,SB,pB];function EB(e){var t,n;const r=[...$B,...(t=e._features)!=null?t:[]];let o={_features:r};const i=o._features.reduce((f,p)=>Object.assign(f,p.getDefaultOptions==null?void 0:p.getDefaultOptions(o)),{}),a=f=>o.options.mergeOptions?o.options.mergeOptions(i,f):{...i,...f};let l={...{},...(n=e.initialState)!=null?n:{}};o._features.forEach(f=>{var p;l=(p=f.getInitialState==null?void 0:f.getInitialState(l))!=null?p:l});const c=[];let u=!1;const d={_features:r,options:{...i,...e},initialState:l,_queue:f=>{c.push(f),u||(u=!0,Promise.resolve().then(()=>{for(;c.length;)c.shift()();u=!1}).catch(p=>setTimeout(()=>{throw p})))},reset:()=>{o.setState(o.initialState)},setOptions:f=>{const p=Qo(f,o.options);o.options=a(p)},getState:()=>o.options.state,setState:f=>{o.options.onStateChange==null||o.options.onStateChange(f)},_getRowId:(f,p,m)=>{var y;return(y=o.options.getRowId==null?void 0:o.options.getRowId(f,p,m))!=null?y:`${m?[m.id,p].join("."):p}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(f,p)=>{let m=(p?o.getPrePaginationRowModel():o.getRowModel()).rowsById[f];if(!m&&(m=o.getCoreRowModel().rowsById[f],!m))throw new Error;return m},_getDefaultColumnDef:Me(()=>[o.options.defaultColumn],f=>{var p;return f=(p=f)!=null?p:{},{header:m=>{const y=m.header.column.columnDef;return y.accessorKey?y.accessorKey:y.accessorFn?y.id:null},cell:m=>{var y,w;return(y=(w=m.renderValue())==null||w.toString==null?void 0:w.toString())!=null?y:null},...o._features.reduce((m,y)=>Object.assign(m,y.getDefaultColumnDef==null?void 0:y.getDefaultColumnDef()),{}),...f}},Ie(e,"debugColumns")),_getColumnDefs:()=>o.options.columns,getAllColumns:Me(()=>[o._getColumnDefs()],f=>{const p=function(m,y,w){return w===void 0&&(w=0),m.map(v=>{const S=ZF(o,v,w,y),h=v;return S.columns=h.columns?p(h.columns,S,w+1):[],S})};return p(f)},Ie(e,"debugColumns")),getAllFlatColumns:Me(()=>[o.getAllColumns()],f=>f.flatMap(p=>p.getFlatColumns()),Ie(e,"debugColumns")),_getAllFlatColumnsById:Me(()=>[o.getAllFlatColumns()],f=>f.reduce((p,m)=>(p[m.id]=m,p),{}),Ie(e,"debugColumns")),getAllLeafColumns:Me(()=>[o.getAllColumns(),o._getOrderColumnsFn()],(f,p)=>{let m=f.flatMap(y=>y.getLeafColumns());return p(m)},Ie(e,"debugColumns")),getColumn:f=>o._getAllFlatColumnsById()[f]};Object.assign(o,d);for(let f=0;fMe(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(o,i,a){i===void 0&&(i=0);const s=[];for(let c=0;ce._autoResetPageIndex()))}function IB(e){const t=[],n=r=>{var o;t.push(r),(o=r.subRows)!=null&&o.length&&r.getIsExpanded()&&r.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function OB(e){return t=>Me(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(n,r)=>{if(!r.rows.length)return r;const{pageSize:o,pageIndex:i}=n;let{rows:a,flatRows:s,rowsById:l}=r;const c=o*i,u=c+o;a=a.slice(c,u);let d;t.options.paginateExpandedRows?d={rows:a,flatRows:s,rowsById:l}:d=IB({rows:a,flatRows:s,rowsById:l}),d.flatRows=[];const f=p=>{d.flatRows.push(p),p.subRows.length&&p.subRows.forEach(f)};return d.rows.forEach(f),d},Ie(t.options,"debugTable"))}function LB(){return e=>Me(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const r=e.getState().sorting,o=[],i=r.filter(l=>{var c;return(c=e.getColumn(l.id))==null?void 0:c.getCanSort()}),a={};i.forEach(l=>{const c=e.getColumn(l.id);c&&(a[l.id]={sortUndefined:c.columnDef.sortUndefined,invertSorting:c.columnDef.invertSorting,sortingFn:c.getSortingFn()})});const s=l=>{const c=l.map(u=>({...u}));return c.sort((u,d)=>{for(let p=0;p{var d;o.push(u),(d=u.subRows)!=null&&d.length&&(u.subRows=s(u.subRows))}),c};return{rows:s(n.rows),flatRows:o,rowsById:n.rowsById}},Ie(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/** - * react-table - * - * Copyright (c) TanStack - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function pR(e,t){return e?AB(e)?b.createElement(e,t):e:null}function AB(e){return NB(e)||typeof e=="function"||DB(e)}function NB(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function DB(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function jB(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=b.useState(()=>({current:EB(t)})),[r,o]=b.useState(()=>n.current.initialState);return n.current.setOptions(i=>({...i,...e,state:{...r,...e.state},onStateChange:a=>{o(a),e.onStateChange==null||e.onStateChange(a)}})),n.current}const FB=e=>e.map(t=>({...t,accessorKey:t.field,header:t.renderHeader?({table:n})=>t.renderHeader({table:n}):t.headerName,minSize:t.minWidth,maxSize:t.maxWidth,size:t.width,cell:t.renderCell?n=>t.renderCell({...n,data:n.row.original}):n=>n.renderValue(),meta:{headerAlign:t.headerAlign,align:t.align}}));function gR(e,t){const n="column"in e?e.column:e,r=t?"header":"col";return{minWidth:`max(calc(var(--${r}-${n.id}-size) * 1px), ${n.columnDef.minSize??0}px)`,width:`min(calc(var(--${r}-${n.id}-size) * 1px), ${n.columnDef.size}px)`,maxWidth:`min(calc(var(--${r}-${n.id}-size) * 1px), ${n.columnDef.maxSize??Number.MAX_SAFE_INTEGER}px)`}}const hR=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(!1),o=b.useRef(null),i=b.useCallback(()=>{if(o.current){const{scrollLeft:s,scrollWidth:l,clientWidth:c}=o.current;t(s>0),r(s{i()},[]);function a(s,l){const c="column"in s?s.column:s,u=c.getIsPinned();return{position:u||l?"sticky":"relative",top:l?0:void 0,left:u==="left"?`${c.getStart("left")}px`:void 0,right:u==="right"?`${c.getAfter("right")}px`:void 0,zIndex:l?u?3:2:u?2:1,backgroundColor:u?"#fff":"transparent",transition:"all 0.1s ease"}}return{tableContainerRef:o,getCommonPinningStyles:a,updateShadows:i,showShadowState:{showLeftShadow:e,showRightShadow:n}}},Pg=[10,25,50,100],BB=10,zB=10,HB=({paginationMode:e,paginationState:t,onPageChange:n,onPageSizeChange:r})=>{const{pageIndex:o=0,pageSize:i=zB,totalCount:a}=t||{},[s,l]=b.useState({pageIndex:o,pageSize:i}),c=b.useMemo(()=>{if(e!=="client")return Math.ceil(a/s.pageSize)},[e,a,s.pageSize]),u=b.useCallback(f=>{l(p=>({...p,pageIndex:f})),n&&n(f)},[n]),d=b.useCallback(f=>{const p=Number(f.target.value);l(m=>({...m,pageSize:p})),r&&r(p)},[r]);return{pagination:s,setPagination:l,pageCount:c,handlePageChange:u,handleRowsPerPageChange:d}},VB="_root_71ors_3",WB="_withBorder_71ors_6",UB="_tableContainer_71ors_15",GB="_resizer_71ors_21",qB="_cell_71ors_35",KB="_headerCell_71ors_53",ZB="_bodyCell_71ors_54",QB="_pinnedRight_71ors_67",YB="_pinnedLeft_71ors_68",XB="_rowWhenHover_71ors_92",JB="_emptyCell_71ors_103",ez="_footer_71ors_110",tz="_hide_71ors_114",nz="_onlyPagination_71ors_117",mn={root:VB,withBorder:WB,tableContainer:UB,resizer:GB,cell:qB,headerCell:KB,bodyCell:ZB,pinnedRight:QB,pinnedLeft:YB,rowWhenHover:XB,emptyCell:JB,footer:ez,hide:tz,onlyPagination:nz},rz=e=>{const{isExpanded:t,row:n,renderDetail:r}=e;return g.jsx(lp,{children:g.jsx(fs,{in:t,children:r?r(n):null},void 0)},void 0)},oz=tt.memo(({row:e,rowProps:t,showShadowState:n})=>g.jsx(lp,{...t,hover:!0,classes:{hover:mn.rowWhenHover},children:e.getVisibleCells().map(r=>g.jsx(iz,{cell:r,showShadowState:n},void 0))},void 0),(e,t)=>e.row===t.row&&e.showShadowState===t.showShadowState),iz=tt.memo(({cell:e,showShadowState:t})=>{var r;const{getCommonPinningStyles:n}=hR();return g.jsx(vs,{classes:{root:mn.cell,body:Gt(mn.bodyCell,{[mn.pinnedRight]:e.column.getIsPinned()==="right"&&e.column.getIsFirstColumn("right")&&t.showRightShadow,[mn.pinnedLeft]:e.column.getIsPinned()==="left"&&e.column.getIsLastColumn("left")&&t.showLeftShadow})},style:{...gR(e),...n(e,!1),textAlign:((r=e.column.columnDef.meta)==null?void 0:r.align)||"left"},children:pR(e.column.columnDef.cell,e.getContext())},e.id)},(e,t)=>e.cell.getValue()===t.cell.getValue()&&e.showShadowState===t.showShadowState),mR=e=>{const{table:t,showShadowState:n,renderDetail:r,expandedRows:o,columnsCount:i}=e,a=t.getRowModel().rows,s=zt();return g.jsx(aL,{children:a.length===0?g.jsx(lp,{children:g.jsx(vs,{colSpan:i,className:mn.emptyCell,children:g.jsx(yt,{color:"textSecondary",children:jd(Ae.NoRows,s.language)},void 0)},void 0)},void 0):a.map(l=>{const c=!!o[l.id];return g.jsxs(g.Fragment,{children:[g.jsx(oz,{rowProps:{key:l.id},row:l,showShadowState:n},void 0),r&&c&&g.jsx(rz,{row:l.original,isExpanded:c,renderDetail:r},void 0)]},void 0)})},void 0)},az=tt.memo(mR,(e,t)=>e.table.options.data===t.table.options.data&&e.expandedRows===t.expandedRows),sz=e=>{const{header:t}=e,n=b.useCallback(r=>{r.preventDefault(),t.getResizeHandler()(r.nativeEvent)},[t]);return g.jsx("div",{onMouseDown:n,className:Gt(mn.resizer,{[mn.isResizing]:t.column.getIsResizing()})},void 0)};var _m;(function(e){e[e.ManageColumnDisplay=0]="ManageColumnDisplay"})(_m||(_m={}));const lz=e=>{const{table:t}=e,[n,r]=b.useState(null),o=!!n,i=o?"simple-popover":void 0,a=(l,c)=>{r(l.currentTarget)},s=()=>{r(null)};return g.jsxs(S_,{sx:{display:"flex",justifyContent:"space-between"},children:[g.jsx(yt,{children:"Table"},void 0),g.jsxs("div",{children:[g.jsx(S1,{onClick:l=>a(l,_m.ManageColumnDisplay),children:g.jsx(IA,{size:24},void 0)},void 0),g.jsx(m_,{id:i,open:o,onClose:s,anchorEl:n,anchorOrigin:{vertical:"bottom",horizontal:"right"},children:g.jsxs("div",{style:{padding:"16px",boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.25)"},children:[g.jsx(yt,{sx:{marginBottom:"16px"},children:"Manage Column Display"},void 0),g.jsx("div",{children:t.getAllLeafColumns().map(l=>g.jsx("div",{className:"px-1",children:g.jsxs("label",{children:[g.jsx("input",{type:"checkbox",checked:l.getIsVisible(),onChange:l.getToggleVisibilityHandler()},void 0)," ",l.columnDef.header]},void 0)},l.id))},void 0)]},void 0)},void 0)]},void 0)]},void 0)},cz=e=>{const{header:t,children:n}=e;return t.column.getCanSort()?g.jsx(ZL,{active:t.column.getIsSorted()!==!1,direction:t.column.getIsSorted()||"asc",onClick:t.column.getToggleSortingHandler(),children:n},void 0):g.jsx(g.Fragment,{children:n},void 0)},uz=()=>{const[e,t]=b.useState({}),n=o=>{t(i=>({...i,[o]:!i[o]}))},r=b.useMemo(()=>({id:"expander",headerName:"",field:"expander",renderCell:({row:o})=>g.jsx(S1,{onClick:()=>n(o.id),size:"small",children:e[o.id]?g.jsx($A,{size:24},void 0):g.jsx(na,{size:24},void 0)},void 0)}),[e]);return{expandedRows:e,toggleRowExpanded:n,expandedColumn:r}},dz=e=>{const{selectedIds:t}=e,n=t.reduce((a,s)=>(a[s]=!0,a),{}),[r,o]=b.useState(n||{});return{checkboxColumn:b.useMemo(()=>({id:"checkbox",headerName:"",field:"checkbox",renderHeader:({table:a})=>g.jsx(Bd,{checked:a.getIsAllRowsSelected(),indeterminate:a.getIsSomeRowsSelected(),onChange:a.getToggleAllRowsSelectedHandler()},void 0),renderCell:({row:a})=>g.jsx(Bd,{checked:a.getIsSelected(),disabled:!a.getCanSelect(),indeterminate:a.getIsSomeSelected(),onChange:a.getToggleSelectedHandler()},void 0)}),[]),setRowSelection:o,rowSelection:r}},Mt=e=>{const{columns:t,rows:n,initialState:r,stickyHeader:o=!1,maxHeight:i,showPagination:a=!0,paginationMode:s="client",sortingMode:l="client",onSortingChange:c,rowCount:u=0,showPageSizeSelect:d=!0,pageSize:f,page:p,onPageChange:m,onPageSizeChange:y,enableColumnResizing:w=!1,showToolbar:v=!1,renderDetail:S,isRowSelectable:h,enableMultiRowSelection:C=!0,showCheckboxColumn:R=!1,onSelectChange:_,getRowId:T,renderFooter:P,classes:k={tableContainer:""},withBorder:x=!0,selectedRowIds:$=[]}=e,{tableContainerRef:I,getCommonPinningStyles:O,updateShadows:D,showShadowState:M}=hR(),{pagination:A,pageCount:N,handlePageChange:E,handleRowsPerPageChange:L}=HB({paginationMode:s,paginationState:{pageIndex:p,pageSize:f,totalCount:u},onPageChange:m,onPageSizeChange:y}),{expandedColumn:B,expandedRows:H}=uz(),{rowSelection:z,setRowSelection:j,checkboxColumn:F}=dz({selectedIds:$}),[W,V]=b.useState([]),ee=b.useMemo(()=>{const de=[...t].filter(Q=>!Q.hide);return S&&de.unshift(B),R&&de.unshift(F),FB(de)},[t,S,H,R]),re=jB({data:n,columns:ee,getCoreRowModel:MB(),getPaginationRowModel:OB(),getSortedRowModel:l==="client"?LB():void 0,onSortingChange:de=>{const Q=typeof de=="function"?de(W):de;V(Q),l==="server"&&c&&c(Q)},enableColumnPinning:!0,enableRowSelection:de=>R&&(h?h(de.original):!0),enableMultiRowSelection:C,initialState:r,defaultColumn:{enableSorting:!1},state:{pagination:A,sorting:W,rowSelection:z},manualPagination:s==="server",manualSorting:l==="server",pageCount:N,enableColumnResizing:w,columnResizeMode:"onChange",onRowSelectionChange:j,getRowId:de=>T?T(de):de.id}),{getState:U}=re,{columnSizing:K,columnSizingInfo:se}=U();b.useEffect(()=>{const de=Object.keys(z).filter(Q=>z[Q]);_&&_(de)},[z]);const{showPagination:q,totalCount:ce}=b.useMemo(()=>{const de=s==="server"?u:n.length;return{showPagination:a&&de>BB,totalCount:de}},[a,s,n.length]),ue=b.useMemo(()=>d?!f||Pg.includes(f)?Pg:[f,...Pg]:[],[d,f]),ie=b.useMemo(()=>{const de=re.getFlatHeaders().length;return{table:re,showShadowState:M,renderDetail:S,expandedRows:H,columnsCount:de}},[re,M,S,H]),te=b.useMemo(()=>{const de=re.getFlatHeaders(),Q={};for(let be=0;beg.jsx(lp,{children:de.headers.map(Q=>{var be;return g.jsxs(vs,{padding:"none",classes:{root:mn.cell,head:mn.headerCell},style:{...gR(Q,!0),...O(Q,o),textAlign:((be=Q.column.columnDef.meta)==null?void 0:be.headerAlign)||"left",backgroundColor:"#fff"},children:[g.jsx(cz,{header:Q,children:Q.isPlaceholder?null:pR(Q.column.columnDef.header,Q.getContext())},void 0),Q.column.getCanResize()&&g.jsx(sz,{header:Q},void 0)]},Q.id)})},de.id))},void 0),se.isResizingColumn?g.jsx(az,{...ie},void 0):g.jsx(mR,{...ie},void 0)]},void 0)},void 0),g.jsxs(bL,{classes:{root:Gt(mn.footer,{[mn.hide]:!P&&!q,[mn.onlyPagination]:!P&&q})},children:[P&&P(Object.keys(z)),q&&g.jsx(fD,{rowsPerPage:A.pageSize,page:A.pageIndex,count:ce,onPageChange:(de,Q)=>E(Q),onRowsPerPageChange:L,rowsPerPageOptions:ue},void 0)]},void 0)]},void 0)};function vR(e,t){return function(){return e.apply(t,arguments)}}const{toString:fz}=Object.prototype,{getPrototypeOf:M1}=Object,gp=(e=>t=>{const n=fz.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Hr=e=>(e=e.toLowerCase(),t=>gp(t)===e),hp=e=>t=>typeof t===e,{isArray:Ms}=Array,dc=hp("undefined");function pz(e){return e!==null&&!dc(e)&&e.constructor!==null&&!dc(e.constructor)&&Xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const yR=Hr("ArrayBuffer");function gz(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&yR(e.buffer),t}const hz=hp("string"),Xn=hp("function"),bR=hp("number"),mp=e=>e!==null&&typeof e=="object",mz=e=>e===!0||e===!1,Uu=e=>{if(gp(e)!=="object")return!1;const t=M1(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},vz=Hr("Date"),yz=Hr("File"),bz=Hr("Blob"),xz=Hr("FileList"),Sz=e=>mp(e)&&Xn(e.pipe),wz=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xn(e.append)&&((t=gp(e))==="formdata"||t==="object"&&Xn(e.toString)&&e.toString()==="[object FormData]"))},Cz=Hr("URLSearchParams"),[_z,Rz,Pz,Tz]=["ReadableStream","Request","Response","Headers"].map(Hr),kz=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ec(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ms(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Ai=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,SR=e=>!dc(e)&&e!==Ai;function Rm(){const{caseless:e}=SR(this)&&this||{},t={},n=(r,o)=>{const i=e&&xR(t,o)||o;Uu(t[i])&&Uu(r)?t[i]=Rm(t[i],r):Uu(r)?t[i]=Rm({},r):Ms(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(Ec(t,(o,i)=>{n&&Xn(o)?e[i]=vR(o,n):e[i]=o},{allOwnKeys:r}),e),Ez=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Mz=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Iz=(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&M1(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Oz=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Lz=e=>{if(!e)return null;if(Ms(e))return e;let t=e.length;if(!bR(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Az=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&M1(Uint8Array)),Nz=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Dz=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},jz=Hr("HTMLFormElement"),Fz=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Rx=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Bz=Hr("RegExp"),wR=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ec(n,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(r[i]=a||o)}),Object.defineProperties(e,r)},zz=e=>{wR(e,(t,n)=>{if(Xn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Xn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Hz=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Ms(e)?r(e):r(String(e).split(t)),n},Vz=()=>{},Wz=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Tg="abcdefghijklmnopqrstuvwxyz",Px="0123456789",CR={DIGIT:Px,ALPHA:Tg,ALPHA_DIGIT:Tg+Tg.toUpperCase()+Px},Uz=(e=16,t=CR.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Gz(e){return!!(e&&Xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const qz=e=>{const t=new Array(10),n=(r,o)=>{if(mp(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Ms(r)?[]:{};return Ec(r,(a,s)=>{const l=n(a,o+1);!dc(l)&&(i[s]=l)}),t[o]=void 0,i}}return r};return n(e,0)},Kz=Hr("AsyncFunction"),Zz=e=>e&&(mp(e)||Xn(e))&&Xn(e.then)&&Xn(e.catch),_R=((e,t)=>e?setImmediate:t?((n,r)=>(Ai.addEventListener("message",({source:o,data:i})=>{o===Ai&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Ai.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Xn(Ai.postMessage)),Qz=typeof queueMicrotask<"u"?queueMicrotask.bind(Ai):typeof process<"u"&&process.nextTick||_R,G={isArray:Ms,isArrayBuffer:yR,isBuffer:pz,isFormData:wz,isArrayBufferView:gz,isString:hz,isNumber:bR,isBoolean:mz,isObject:mp,isPlainObject:Uu,isReadableStream:_z,isRequest:Rz,isResponse:Pz,isHeaders:Tz,isUndefined:dc,isDate:vz,isFile:yz,isBlob:bz,isRegExp:Bz,isFunction:Xn,isStream:Sz,isURLSearchParams:Cz,isTypedArray:Az,isFileList:xz,forEach:Ec,merge:Rm,extend:$z,trim:kz,stripBOM:Ez,inherits:Mz,toFlatObject:Iz,kindOf:gp,kindOfTest:Hr,endsWith:Oz,toArray:Lz,forEachEntry:Nz,matchAll:Dz,isHTMLForm:jz,hasOwnProperty:Rx,hasOwnProp:Rx,reduceDescriptors:wR,freezeMethods:zz,toObjectSet:Hz,toCamelCase:Fz,noop:Vz,toFiniteNumber:Wz,findKey:xR,global:Ai,isContextDefined:SR,ALPHABET:CR,generateString:Uz,isSpecCompliantForm:Gz,toJSONObject:qz,isAsyncFn:Kz,isThenable:Zz,setImmediate:_R,asap:Qz};function ze(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}G.inherits(ze,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.status}}});const RR=ze.prototype,PR={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{PR[e]={value:e}});Object.defineProperties(ze,PR);Object.defineProperty(RR,"isAxiosError",{value:!0});ze.from=(e,t,n,r,o,i)=>{const a=Object.create(RR);return G.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),ze.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const Yz=null;function Pm(e){return G.isPlainObject(e)||G.isArray(e)}function TR(e){return G.endsWith(e,"[]")?e.slice(0,-2):e}function Tx(e,t,n){return e?e.concat(t).map(function(o,i){return o=TR(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Xz(e){return G.isArray(e)&&!e.some(Pm)}const Jz=G.toFlatObject(G,{},null,function(t){return/^is[A-Z]/.test(t)});function vp(e,t,n){if(!G.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=G.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,w){return!G.isUndefined(w[y])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(t);if(!G.isFunction(o))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(G.isDate(m))return m.toISOString();if(!l&&G.isBlob(m))throw new ze("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(m)||G.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,y,w){let v=m;if(m&&!w&&typeof m=="object"){if(G.endsWith(y,"{}"))y=r?y:y.slice(0,-2),m=JSON.stringify(m);else if(G.isArray(m)&&Xz(m)||(G.isFileList(m)||G.endsWith(y,"[]"))&&(v=G.toArray(m)))return y=TR(y),v.forEach(function(h,C){!(G.isUndefined(h)||h===null)&&t.append(a===!0?Tx([y],C,i):a===null?y:y+"[]",c(h))}),!1}return Pm(m)?!0:(t.append(Tx(w,y,i),c(m)),!1)}const d=[],f=Object.assign(Jz,{defaultVisitor:u,convertValue:c,isVisitable:Pm});function p(m,y){if(!G.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(m),G.forEach(m,function(v,S){(!(G.isUndefined(v)||v===null)&&o.call(t,v,G.isString(S)?S.trim():S,y,f))===!0&&p(v,y?y.concat(S):[S])}),d.pop()}}if(!G.isObject(e))throw new TypeError("data must be an object");return p(e),t}function kx(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function I1(e,t){this._pairs=[],e&&vp(e,this,t)}const kR=I1.prototype;kR.append=function(t,n){this._pairs.push([t,n])};kR.toString=function(t){const n=t?function(r){return t.call(this,r,kx)}:kx;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function eH(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $R(e,t,n){if(!t)return e;const r=n&&n.encode||eH,o=n&&n.serialize;let i;if(o?i=o(t,n):i=G.isURLSearchParams(t)?t.toString():new I1(t,n).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class $x{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){G.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ER={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tH=typeof URLSearchParams<"u"?URLSearchParams:I1,nH=typeof FormData<"u"?FormData:null,rH=typeof Blob<"u"?Blob:null,oH={isBrowser:!0,classes:{URLSearchParams:tH,FormData:nH,Blob:rH},protocols:["http","https","file","blob","url","data"]},O1=typeof window<"u"&&typeof document<"u",Tm=typeof navigator=="object"&&navigator||void 0,iH=O1&&(!Tm||["ReactNative","NativeScript","NS"].indexOf(Tm.product)<0),aH=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sH=O1&&window.location.href||"http://localhost",lH=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:O1,hasStandardBrowserEnv:iH,hasStandardBrowserWebWorkerEnv:aH,navigator:Tm,origin:sH},Symbol.toStringTag,{value:"Module"})),Bn={...lH,...oH};function cH(e,t){return vp(e,new Bn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Bn.isNode&&G.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function uH(e){return G.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function dH(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return a=!a&&G.isArray(o)?o.length:a,l?(G.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!s):((!o[a]||!G.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],i)&&G.isArray(o[a])&&(o[a]=dH(o[a])),!s)}if(G.isFormData(e)&&G.isFunction(e.entries)){const n={};return G.forEachEntry(e,(r,o)=>{t(uH(r),o,n,0)}),n}return null}function fH(e,t,n){if(G.isString(e))try{return(t||JSON.parse)(e),G.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Mc={transitional:ER,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=G.isObject(t);if(i&&G.isHTMLForm(t)&&(t=new FormData(t)),G.isFormData(t))return o?JSON.stringify(MR(t)):t;if(G.isArrayBuffer(t)||G.isBuffer(t)||G.isStream(t)||G.isFile(t)||G.isBlob(t)||G.isReadableStream(t))return t;if(G.isArrayBufferView(t))return t.buffer;if(G.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return cH(t,this.formSerializer).toString();if((s=G.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return vp(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),fH(t)):t}],transformResponse:[function(t){const n=this.transitional||Mc.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(G.isResponse(t)||G.isReadableStream(t))return t;if(t&&G.isString(t)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?ze.from(s,ze.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bn.classes.FormData,Blob:Bn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch"],e=>{Mc.headers[e]={}});const pH=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),gH=e=>{const t={};let n,r,o;return e&&e.split(` -`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&pH[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ex=Symbol("internals");function nl(e){return e&&String(e).trim().toLowerCase()}function Gu(e){return e===!1||e==null?e:G.isArray(e)?e.map(Gu):String(e)}function hH(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const mH=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function kg(e,t,n,r,o){if(G.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!G.isString(t)){if(G.isString(r))return t.indexOf(r)!==-1;if(G.isRegExp(r))return r.test(t)}}function vH(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function yH(e,t){const n=G.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class zn{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,l,c){const u=nl(l);if(!u)throw new Error("header name must be a non-empty string");const d=G.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=Gu(s))}const a=(s,l)=>G.forEach(s,(c,u)=>i(c,u,l));if(G.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(G.isString(t)&&(t=t.trim())&&!mH(t))a(gH(t),n);else if(G.isHeaders(t))for(const[s,l]of t.entries())i(l,s,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=nl(t),t){const r=G.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return hH(o);if(G.isFunction(n))return n.call(this,o,r);if(G.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=nl(t),t){const r=G.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||kg(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=nl(a),a){const s=G.findKey(r,a);s&&(!n||kg(r,r[s],s,n))&&(delete r[s],o=!0)}}return G.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||kg(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return G.forEach(this,(o,i)=>{const a=G.findKey(r,i);if(a){n[a]=Gu(o),delete n[i];return}const s=t?vH(i):String(i).trim();s!==i&&delete n[i],n[s]=Gu(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return G.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&G.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Ex]=this[Ex]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=nl(a);r[s]||(yH(o,a),r[s]=!0)}return G.isArray(t)?t.forEach(i):i(t),this}}zn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.reduceDescriptors(zn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});G.freezeMethods(zn);function $g(e,t){const n=this||Mc,r=t||n,o=zn.from(r.headers);let i=r.data;return G.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function IR(e){return!!(e&&e.__CANCEL__)}function Is(e,t,n){ze.call(this,e??"canceled",ze.ERR_CANCELED,t,n),this.name="CanceledError"}G.inherits(Is,ze,{__CANCEL__:!0});function OR(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ze("Request failed with status code "+n.status,[ze.ERR_BAD_REQUEST,ze.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function bH(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function xH(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];a||(a=c),n[o]=l,r[o]=c;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(o=c,i||(i=setTimeout(()=>{i=null,a(o)},r-d)))},()=>o&&a(o)]}const Hd=(e,t,n=3)=>{let r=0;const o=xH(50,250);return SH(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,l=a-r,c=o(l),u=a<=s;r=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},Mx=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ix=e=>(...t)=>G.asap(()=>e(...t)),wH=Bn.hasStandardBrowserEnv?function(){const t=Bn.navigator&&/(msie|trident)/i.test(Bn.navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const s=G.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),CH=Bn.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];G.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),G.isString(r)&&a.push("path="+r),G.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function _H(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function RH(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function LR(e,t){return e&&!_H(t)?RH(e,t):t}const Ox=e=>e instanceof zn?{...e}:e;function oa(e,t){t=t||{};const n={};function r(c,u,d){return G.isPlainObject(c)&&G.isPlainObject(u)?G.merge.call({caseless:d},c,u):G.isPlainObject(u)?G.merge({},u):G.isArray(u)?u.slice():u}function o(c,u,d){if(G.isUndefined(u)){if(!G.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!G.isUndefined(u))return r(void 0,u)}function a(c,u){if(G.isUndefined(u)){if(!G.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>o(Ox(c),Ox(u),!0)};return G.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||o,f=d(e[u],t[u],u);G.isUndefined(f)&&d!==s||(n[u]=f)}),n}const AR=e=>{const t=oa({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=zn.from(a),t.url=$R(LR(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(G.isFormData(n)){if(Bn.hasStandardBrowserEnv||Bn.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Bn.hasStandardBrowserEnv&&(r&&G.isFunction(r)&&(r=r(t)),r||r!==!1&&wH(t.url))){const c=o&&i&&CH.read(i);c&&a.set(o,c)}return t},PH=typeof XMLHttpRequest<"u",TH=PH&&function(e){return new Promise(function(n,r){const o=AR(e);let i=o.data;const a=zn.from(o.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=o,u,d,f,p,m;function y(){p&&p(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let w=new XMLHttpRequest;w.open(o.method.toUpperCase(),o.url,!0),w.timeout=o.timeout;function v(){if(!w)return;const h=zn.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),R={data:!s||s==="text"||s==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:h,config:e,request:w};OR(function(T){n(T),y()},function(T){r(T),y()},R),w=null}"onloadend"in w?w.onloadend=v:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(v)},w.onabort=function(){w&&(r(new ze("Request aborted",ze.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new ze("Network Error",ze.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const R=o.transitional||ER;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),r(new ze(C,R.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,e,w)),w=null},i===void 0&&a.setContentType(null),"setRequestHeader"in w&&G.forEach(a.toJSON(),function(C,R){w.setRequestHeader(R,C)}),G.isUndefined(o.withCredentials)||(w.withCredentials=!!o.withCredentials),s&&s!=="json"&&(w.responseType=o.responseType),c&&([f,m]=Hd(c,!0),w.addEventListener("progress",f)),l&&w.upload&&([d,p]=Hd(l),w.upload.addEventListener("progress",d),w.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(u=h=>{w&&(r(!h||h.type?new Is(null,e,w):h),w.abort(),w=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const S=bH(o.url);if(S&&Bn.protocols.indexOf(S)===-1){r(new ze("Unsupported protocol "+S+":",ze.ERR_BAD_REQUEST,e));return}w.send(i||null)})},kH=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(c){if(!o){o=!0,s();const u=c instanceof Error?c:this.reason;r.abort(u instanceof ze?u:new Is(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,i(new ze(`timeout ${t} of ms exceeded`,ze.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>G.asap(s),l}},$H=function*(e,t){let n=e.byteLength;if(n{const o=EH(e,t);let i=0,a,s=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){s(),l.close();return}let d=u.byteLength;if(n){let f=i+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(l){return s(l),o.return()}},{highWaterMark:2})},yp=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",NR=yp&&typeof ReadableStream=="function",IH=yp&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),DR=(e,...t)=>{try{return!!e(...t)}catch{return!1}},OH=NR&&DR(()=>{let e=!1;const t=new Request(Bn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ax=64*1024,km=NR&&DR(()=>G.isReadableStream(new Response("").body)),Vd={stream:km&&(e=>e.body)};yp&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Vd[t]&&(Vd[t]=G.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ze(`Response type '${t}' is not supported`,ze.ERR_NOT_SUPPORT,r)})})})(new Response);const LH=async e=>{if(e==null)return 0;if(G.isBlob(e))return e.size;if(G.isSpecCompliantForm(e))return(await new Request(Bn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(G.isArrayBufferView(e)||G.isArrayBuffer(e))return e.byteLength;if(G.isURLSearchParams(e)&&(e=e+""),G.isString(e))return(await IH(e)).byteLength},AH=async(e,t)=>{const n=G.toFiniteNumber(e.getContentLength());return n??LH(t)},NH=yp&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=AR(e);c=c?(c+"").toLowerCase():"text";let p=kH([o,i&&i.toAbortSignal()],a),m;const y=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let w;try{if(l&&OH&&n!=="get"&&n!=="head"&&(w=await AH(u,r))!==0){let R=new Request(t,{method:"POST",body:r,duplex:"half"}),_;if(G.isFormData(r)&&(_=R.headers.get("content-type"))&&u.setContentType(_),R.body){const[T,P]=Mx(w,Hd(Ix(l)));r=Lx(R.body,Ax,T,P)}}G.isString(d)||(d=d?"include":"omit");const v="credentials"in Request.prototype;m=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:v?d:void 0});let S=await fetch(m);const h=km&&(c==="stream"||c==="response");if(km&&(s||h&&y)){const R={};["status","statusText","headers"].forEach(k=>{R[k]=S[k]});const _=G.toFiniteNumber(S.headers.get("content-length")),[T,P]=s&&Mx(_,Hd(Ix(s),!0))||[];S=new Response(Lx(S.body,Ax,T,()=>{P&&P(),y&&y()}),R)}c=c||"text";let C=await Vd[G.findKey(Vd,c)||"text"](S,e);return!h&&y&&y(),await new Promise((R,_)=>{OR(R,_,{data:C,headers:zn.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:m})})}catch(v){throw y&&y(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ze("Network Error",ze.ERR_NETWORK,e,m),{cause:v.cause||v}):ze.from(v,v&&v.code,e,m)}}),$m={http:Yz,xhr:TH,fetch:NH};G.forEach($m,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Nx=e=>`- ${e}`,DH=e=>G.isFunction(e)||e===null||e===!1,jR={getAdapter:e=>{e=G.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : -`+i.map(Nx).join(` -`):" "+Nx(i[0]):"as no adapter specified";throw new ze("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:$m};function Eg(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Is(null,e)}function Dx(e){return Eg(e),e.headers=zn.from(e.headers),e.data=$g.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),jR.getAdapter(e.adapter||Mc.adapter)(e).then(function(r){return Eg(e),r.data=$g.call(e,e.transformResponse,r),r.headers=zn.from(r.headers),r},function(r){return IR(r)||(Eg(e),r&&r.response&&(r.response.data=$g.call(e,e.transformResponse,r.response),r.response.headers=zn.from(r.response.headers))),Promise.reject(r)})}const FR="1.7.7",L1={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{L1[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const jx={};L1.transitional=function(t,n,r){function o(i,a){return"[Axios v"+FR+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,s)=>{if(t===!1)throw new ze(o(a," has been removed"+(n?" in "+n:"")),ze.ERR_DEPRECATED);return n&&!jx[a]&&(jx[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function jH(e,t,n){if(typeof e!="object")throw new ze("options must be an object",ze.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new ze("option "+i+" must be "+l,ze.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ze("Unknown option "+i,ze.ERR_BAD_OPTION)}}const Em={assertOptions:jH,validators:L1},Lo=Em.validators;class zi{constructor(t){this.defaults=t,this.interceptors={request:new $x,response:new $x}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=oa(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Em.assertOptions(r,{silentJSONParsing:Lo.transitional(Lo.boolean),forcedJSONParsing:Lo.transitional(Lo.boolean),clarifyTimeoutError:Lo.transitional(Lo.boolean)},!1),o!=null&&(G.isFunction(o)?n.paramsSerializer={serialize:o}:Em.assertOptions(o,{encode:Lo.function,serialize:Lo.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&G.merge(i.common,i[n.method]);i&&G.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=zn.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(l=l&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let u,d=0,f;if(!l){const m=[Dx.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,c),f=m.length,u=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{r.subscribe(s),i=s}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,s){r.reason||(r.reason=new Is(i,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new A1(function(o){t=o}),cancel:t}}}function FH(e){return function(n){return e.apply(null,n)}}function BH(e){return G.isObject(e)&&e.isAxiosError===!0}const Mm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Mm).forEach(([e,t])=>{Mm[t]=e});function BR(e){const t=new zi(e),n=vR(zi.prototype.request,t);return G.extend(n,zi.prototype,t,{allOwnKeys:!0}),G.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return BR(oa(e,o))},n}const Bt=BR(Mc);Bt.Axios=zi;Bt.CanceledError=Is;Bt.CancelToken=A1;Bt.isCancel=IR;Bt.VERSION=FR;Bt.toFormData=vp;Bt.AxiosError=ze;Bt.Cancel=Bt.CanceledError;Bt.all=function(t){return Promise.all(t)};Bt.spread=FH;Bt.isAxiosError=BH;Bt.mergeConfig=oa;Bt.AxiosHeaders=zn;Bt.formToJSON=e=>MR(G.isHTMLForm(e)?new FormData(e):e);Bt.getAdapter=jR.getAdapter;Bt.HttpStatusCode=Mm;Bt.default=Bt;var zH=Error,HH=EvalError,VH=RangeError,WH=ReferenceError,zR=SyntaxError,Ic=TypeError,UH=URIError,GH=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var o=42;t[n]=o;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,n);if(a.value!==o||a.enumerable!==!0)return!1}return!0},Fx=typeof Symbol<"u"&&Symbol,qH=GH,KH=function(){return typeof Fx!="function"||typeof Symbol!="function"||typeof Fx("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:qH()},Mg={__proto__:null,foo:{}},ZH=Object,QH=function(){return{__proto__:Mg}.foo===Mg.foo&&!(Mg instanceof ZH)},YH="Function.prototype.bind called on incompatible ",XH=Object.prototype.toString,JH=Math.max,eV="[object Function]",Bx=function(t,n){for(var r=[],o=0;o"u"||!Qt?Ze:Qt(Uint8Array),Vi={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Ze:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Ze:ArrayBuffer,"%ArrayIteratorPrototype%":xa&&Qt?Qt([][Symbol.iterator]()):Ze,"%AsyncFromSyncIteratorPrototype%":Ze,"%AsyncFunction%":_a,"%AsyncGenerator%":_a,"%AsyncGeneratorFunction%":_a,"%AsyncIteratorPrototype%":_a,"%Atomics%":typeof Atomics>"u"?Ze:Atomics,"%BigInt%":typeof BigInt>"u"?Ze:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Ze:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Ze:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Ze:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":cV,"%eval%":eval,"%EvalError%":uV,"%Float32Array%":typeof Float32Array>"u"?Ze:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Ze:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Ze:FinalizationRegistry,"%Function%":HR,"%GeneratorFunction%":_a,"%Int8Array%":typeof Int8Array>"u"?Ze:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Ze:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Ze:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":xa&&Qt?Qt(Qt([][Symbol.iterator]())):Ze,"%JSON%":typeof JSON=="object"?JSON:Ze,"%Map%":typeof Map>"u"?Ze:Map,"%MapIteratorPrototype%":typeof Map>"u"||!xa||!Qt?Ze:Qt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Ze:Promise,"%Proxy%":typeof Proxy>"u"?Ze:Proxy,"%RangeError%":dV,"%ReferenceError%":fV,"%Reflect%":typeof Reflect>"u"?Ze:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Ze:Set,"%SetIteratorPrototype%":typeof Set>"u"||!xa||!Qt?Ze:Qt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Ze:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":xa&&Qt?Qt(""[Symbol.iterator]()):Ze,"%Symbol%":xa?Symbol:Ze,"%SyntaxError%":bs,"%ThrowTypeError%":gV,"%TypedArray%":mV,"%TypeError%":Ja,"%Uint8Array%":typeof Uint8Array>"u"?Ze:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Ze:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Ze:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Ze:Uint32Array,"%URIError%":pV,"%WeakMap%":typeof WeakMap>"u"?Ze:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Ze:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Ze:WeakSet};if(Qt)try{null.error}catch(e){var vV=Qt(Qt(e));Vi["%Error.prototype%"]=vV}var yV=function e(t){var n;if(t==="%AsyncFunction%")n=Ig("async function () {}");else if(t==="%GeneratorFunction%")n=Ig("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Ig("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&Qt&&(n=Qt(o.prototype))}return Vi[t]=n,n},zx={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Oc=N1,Wd=lV,bV=Oc.call(Function.call,Array.prototype.concat),xV=Oc.call(Function.apply,Array.prototype.splice),Hx=Oc.call(Function.call,String.prototype.replace),Ud=Oc.call(Function.call,String.prototype.slice),SV=Oc.call(Function.call,RegExp.prototype.exec),wV=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,CV=/\\(\\)?/g,_V=function(t){var n=Ud(t,0,1),r=Ud(t,-1);if(n==="%"&&r!=="%")throw new bs("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new bs("invalid intrinsic syntax, expected opening `%`");var o=[];return Hx(t,wV,function(i,a,s,l){o[o.length]=s?Hx(l,CV,"$1"):a||i}),o},RV=function(t,n){var r=t,o;if(Wd(zx,r)&&(o=zx[r],r="%"+o[0]+"%"),Wd(Vi,r)){var i=Vi[r];if(i===_a&&(i=yV(r)),typeof i>"u"&&!n)throw new Ja("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:r,value:i}}throw new bs("intrinsic "+t+" does not exist!")},Os=function(t,n){if(typeof t!="string"||t.length===0)throw new Ja("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Ja('"allowMissing" argument must be a boolean');if(SV(/^%?[^%]*%?$/,t)===null)throw new bs("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=_V(t),o=r.length>0?r[0]:"",i=RV("%"+o+"%",n),a=i.name,s=i.value,l=!1,c=i.alias;c&&(o=c[0],xV(r,bV([0,1],c)));for(var u=1,d=!0;u=r.length){var y=Hi(s,f);d=!!y,d&&"get"in y&&!("originalValue"in y.get)?s=y.get:s=s[f]}else d=Wd(s,f),s=s[f];d&&!l&&(Vi[a]=s)}}return s},VR={exports:{}},Lg,Vx;function D1(){if(Vx)return Lg;Vx=1;var e=Os,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Lg=t,Lg}var PV=Os,qu=PV("%Object.getOwnPropertyDescriptor%",!0);if(qu)try{qu([],"length")}catch{qu=null}var WR=qu,Wx=D1(),TV=zR,Sa=Ic,Ux=WR,kV=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Sa("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Sa("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Sa("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Sa("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Sa("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Sa("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,l=!!Ux&&Ux(t,n);if(Wx)Wx(t,n,{configurable:a===null&&l?l.configurable:!a,enumerable:o===null&&l?l.enumerable:!o,value:r,writable:i===null&&l?l.writable:!i});else if(s||!o&&!i&&!a)t[n]=r;else throw new TV("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Im=D1(),UR=function(){return!!Im};UR.hasArrayLengthDefineBug=function(){if(!Im)return null;try{return Im([],"length",{value:1}).length!==1}catch{return!0}};var $V=UR,EV=Os,Gx=kV,MV=$V(),qx=WR,Kx=Ic,IV=EV("%Math.floor%"),OV=function(t,n){if(typeof t!="function")throw new Kx("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||IV(n)!==n)throw new Kx("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in t&&qx){var a=qx(t,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!r)&&(MV?Gx(t,"length",n,!0,!0):Gx(t,"length",n)),t};(function(e){var t=N1,n=Os,r=OV,o=Ic,i=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||t.call(a,i),l=D1(),c=n("%Math.max%");e.exports=function(f){if(typeof f!="function")throw new o("a function is required");var p=s(t,a,arguments);return r(p,1+c(0,f.length-(arguments.length-1)),!0)};var u=function(){return s(t,i,arguments)};l?l(e.exports,"apply",{value:u}):e.exports.apply=u})(VR);var LV=VR.exports,GR=Os,qR=LV,AV=qR(GR("String.prototype.indexOf")),NV=function(t,n){var r=GR(t,!!n);return typeof r=="function"&&AV(t,".prototype.")>-1?qR(r):r};const DV={},jV=Object.freeze(Object.defineProperty({__proto__:null,default:DV},Symbol.toStringTag,{value:"Module"})),FV=P3(jV);var j1=typeof Map=="function"&&Map.prototype,Ag=Object.getOwnPropertyDescriptor&&j1?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Gd=j1&&Ag&&typeof Ag.get=="function"?Ag.get:null,Zx=j1&&Map.prototype.forEach,F1=typeof Set=="function"&&Set.prototype,Ng=Object.getOwnPropertyDescriptor&&F1?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,qd=F1&&Ng&&typeof Ng.get=="function"?Ng.get:null,Qx=F1&&Set.prototype.forEach,BV=typeof WeakMap=="function"&&WeakMap.prototype,Il=BV?WeakMap.prototype.has:null,zV=typeof WeakSet=="function"&&WeakSet.prototype,Ol=zV?WeakSet.prototype.has:null,HV=typeof WeakRef=="function"&&WeakRef.prototype,Yx=HV?WeakRef.prototype.deref:null,VV=Boolean.prototype.valueOf,WV=Object.prototype.toString,UV=Function.prototype.toString,GV=String.prototype.match,B1=String.prototype.slice,Yo=String.prototype.replace,qV=String.prototype.toUpperCase,Xx=String.prototype.toLowerCase,KR=RegExp.prototype.test,Jx=Array.prototype.concat,Yr=Array.prototype.join,KV=Array.prototype.slice,eS=Math.floor,Om=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Dg=Object.getOwnPropertySymbols,Lm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,xs=typeof Symbol=="function"&&typeof Symbol.iterator=="object",xn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===xs||!0)?Symbol.toStringTag:null,ZR=Object.prototype.propertyIsEnumerable,tS=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function nS(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||KR.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-eS(-e):eS(e);if(r!==e){var o=String(r),i=B1.call(t,o.length+1);return Yo.call(o,n,"$&_")+"."+Yo.call(Yo.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Yo.call(t,n,"$&_")}var Am=FV,rS=Am.custom,oS=XR(rS)?rS:null,QR={__proto__:null,double:'"',single:"'"},ZV={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},QV=function e(t,n,r,o){var i=n||{};if(go(i,"quoteStyle")&&!go(QR,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(go(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=go(i,"customInspect")?i.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(go(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(go(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return e3(t,i);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?nS(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return s?nS(t,c):c}var u=typeof i.depth>"u"?5:i.depth;if(typeof r>"u"&&(r=0),r>=u&&u>0&&typeof t=="object")return Nm(t)?"[Array]":"[Object]";var d=gW(i,r);if(typeof o>"u")o=[];else if(JR(o,t)>=0)return"[Circular]";function f(O,D,M){if(D&&(o=KV.call(o),o.push(D)),M){var A={depth:i.depth};return go(i,"quoteStyle")&&(A.quoteStyle=i.quoteStyle),e(O,A,r+1,o)}return e(O,i,r+1,o)}if(typeof t=="function"&&!iS(t)){var p=iW(t),m=yu(t,f);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(m.length>0?" { "+Yr.call(m,", ")+" }":"")}if(XR(t)){var y=xs?Yo.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Lm.call(t);return typeof t=="object"&&!xs?rl(y):y}if(dW(t)){for(var w="<"+Xx.call(String(t.nodeName)),v=t.attributes||[],S=0;S",w}if(Nm(t)){if(t.length===0)return"[]";var h=yu(t,f);return d&&!pW(h)?"["+Dm(h,d)+"]":"[ "+Yr.call(h,", ")+" ]"}if(JV(t)){var C=yu(t,f);return!("cause"in Error.prototype)&&"cause"in t&&!ZR.call(t,"cause")?"{ ["+String(t)+"] "+Yr.call(Jx.call("[cause]: "+f(t.cause),C),", ")+" }":C.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Yr.call(C,", ")+" }"}if(typeof t=="object"&&a){if(oS&&typeof t[oS]=="function"&&Am)return Am(t,{depth:u-r});if(a!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(aW(t)){var R=[];return Zx&&Zx.call(t,function(O,D){R.push(f(D,t,!0)+" => "+f(O,t))}),aS("Map",Gd.call(t),R,d)}if(cW(t)){var _=[];return Qx&&Qx.call(t,function(O){_.push(f(O,t))}),aS("Set",qd.call(t),_,d)}if(sW(t))return jg("WeakMap");if(uW(t))return jg("WeakSet");if(lW(t))return jg("WeakRef");if(tW(t))return rl(f(Number(t)));if(rW(t))return rl(f(Om.call(t)));if(nW(t))return rl(VV.call(t));if(eW(t))return rl(f(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof Al<"u"&&t===Al)return"{ [object globalThis] }";if(!XV(t)&&!iS(t)){var T=yu(t,f),P=tS?tS(t)===Object.prototype:t instanceof Object||t.constructor===Object,k=t instanceof Object?"":"null prototype",x=!P&&xn&&Object(t)===t&&xn in t?B1.call(Si(t),8,-1):k?"Object":"",$=P||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",I=$+(x||k?"["+Yr.call(Jx.call([],x||[],k||[]),": ")+"] ":"");return T.length===0?I+"{}":d?I+"{"+Dm(T,d)+"}":I+"{ "+Yr.call(T,", ")+" }"}return String(t)};function YR(e,t,n){var r=n.quoteStyle||t,o=QR[r];return o+e+o}function YV(e){return Yo.call(String(e),/"/g,""")}function Nm(e){return Si(e)==="[object Array]"&&(!xn||!(typeof e=="object"&&xn in e))}function XV(e){return Si(e)==="[object Date]"&&(!xn||!(typeof e=="object"&&xn in e))}function iS(e){return Si(e)==="[object RegExp]"&&(!xn||!(typeof e=="object"&&xn in e))}function JV(e){return Si(e)==="[object Error]"&&(!xn||!(typeof e=="object"&&xn in e))}function eW(e){return Si(e)==="[object String]"&&(!xn||!(typeof e=="object"&&xn in e))}function tW(e){return Si(e)==="[object Number]"&&(!xn||!(typeof e=="object"&&xn in e))}function nW(e){return Si(e)==="[object Boolean]"&&(!xn||!(typeof e=="object"&&xn in e))}function XR(e){if(xs)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Lm)return!1;try{return Lm.call(e),!0}catch{}return!1}function rW(e){if(!e||typeof e!="object"||!Om)return!1;try{return Om.call(e),!0}catch{}return!1}var oW=Object.prototype.hasOwnProperty||function(e){return e in this};function go(e,t){return oW.call(e,t)}function Si(e){return WV.call(e)}function iW(e){if(e.name)return e.name;var t=GV.call(UV.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function JR(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return e3(B1.call(e,0,t.maxStringLength),t)+r}var o=ZV[t.quoteStyle||"single"];o.lastIndex=0;var i=Yo.call(Yo.call(e,o,"\\$1"),/[\x00-\x1f]/g,fW);return YR(i,"single",t)}function fW(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+qV.call(t.toString(16))}function rl(e){return"Object("+e+")"}function jg(e){return e+" { ? }"}function aS(e,t,n,r){var o=r?Dm(n,r):Yr.call(n,", ");return e+" ("+t+") {"+o+"}"}function pW(e){for(var t=0;t=0)return!1;return!0}function gW(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=Yr.call(Array(e.indent+1)," ");else return null;return{base:n,prev:Yr.call(Array(t+1),n)}}function Dm(e,t){if(e.length===0)return"";var n=` -`+t.prev+t.base;return n+Yr.call(e,","+n)+` -`+t.prev}function yu(e,t){var n=Nm(e),r=[];if(n){r.length=e.length;for(var o=0;o1;){var n=t.pop(),r=n.obj[n.prop];if($i(r)){for(var o=[],i=0;i=zg?a.slice(l,l+zg):a,u=[],d=0;d=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===$W.RFC1738&&(f===40||f===41)){u[u.length]=c.charAt(d);continue}if(f<128){u[u.length]=Gr[f];continue}if(f<2048){u[u.length]=Gr[192|f>>6]+Gr[128|f&63];continue}if(f<55296||f>=57344){u[u.length]=Gr[224|f>>12]+Gr[128|f>>6&63]+Gr[128|f&63];continue}d+=1,f=65536+((f&1023)<<10|c.charCodeAt(d)&1023),u[u.length]=Gr[240|f>>18]+Gr[128|f>>12&63]+Gr[128|f>>6&63]+Gr[128|f&63]}s+=u.join("")}return s},AW=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],o=0;o"u"&&(R=0)}if(typeof u=="function"?h=u(n,h):h instanceof Date?h=p(h):r==="comma"&&Kr(h)&&(h=Ku.maybeMap(h,function(B){return B instanceof Date?p(B):B})),h===null){if(a)return c&&!w?c(n,Wt.encoder,v,"key",m):n;h=""}if(VW(h)||Ku.isBuffer(h)){if(c){var P=w?n:c(n,Wt.encoder,v,"key",m);return[y(P)+"="+y(c(h,Wt.encoder,v,"value",m))]}return[y(n)+"="+y(String(h))]}var k=[];if(typeof h>"u")return k;var x;if(r==="comma"&&Kr(h))w&&c&&(h=Ku.maybeMap(h,c)),x=[{value:h.length>0?h.join(",")||null:void 0}];else if(Kr(u))x=u;else{var $=Object.keys(h);x=d?$.sort(d):$}var I=l?n.replace(/\./g,"%2E"):n,O=o&&Kr(h)&&h.length===1?I+"[]":I;if(i&&Kr(h)&&h.length===0)return O+"[]";for(var D=0;D"u"?t.encodeDotInKeys===!0?!0:Wt.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Wt.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Wt.allowEmptyArrays,arrayFormat:a,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Wt.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?Wt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Wt.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:Wt.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:Wt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Wt.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Wt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Wt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Wt.strictNullHandling}},GW=function(e,t){var n=e,r=UW(t),o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Kr(r.filter)&&(i=r.filter,o=i);var a=[];if(typeof n!="object"||n===null)return"";var s=i3[r.arrayFormat],l=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);for(var c=o3(),u=0;u0?p+f:""},Ss=r3,jm=Object.prototype.hasOwnProperty,qW=Array.isArray,kt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Ss.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},KW=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},s3=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},ZW="utf8=%26%2310003%3B",QW="utf8=%E2%9C%93",YW=function(t,n){var r={__proto__:null},o=n.ignoreQueryPrefix?t.replace(/^\?/,""):t;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var i=n.parameterLimit===1/0?void 0:n.parameterLimit,a=o.split(n.delimiter,i),s=-1,l,c=n.charset;if(n.charsetSentinel)for(l=0;l-1&&(m=qW(m)?[m]:m);var y=jm.call(r,p);y&&n.duplicates==="combine"?r[p]=Ss.combine(r[p],m):(!y||n.duplicates==="last")&&(r[p]=m)}return r},XW=function(e,t,n,r){for(var o=r?t:s3(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if(s==="[]"&&n.parseArrays)a=n.allowEmptyArrays&&(o===""||n.strictNullHandling&&o===null)?[]:[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,c=n.decodeDotInKeys?l.replace(/%2E/g,"."):l,u=parseInt(c,10);!n.parseArrays&&c===""?a={0:o}:!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[],a[u]=o):c!=="__proto__"&&(a[c]=o)}o=a}return o},JW=function(t,n,r,o){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=r.depth>0&&a.exec(i),c=l?i.slice(0,l.index):i,u=[];if(c){if(!r.plainObjects&&jm.call(Object.prototype,c)&&!r.allowPrototypes)return;u.push(c)}for(var d=0;r.depth>0&&(l=s.exec(i))!==null&&d"u"?kt.charset:t.charset,r=typeof t.duplicates>"u"?kt.duplicates:t.duplicates;if(r!=="combine"&&r!=="first"&&r!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var o=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:kt.allowDots:!!t.allowDots;return{allowDots:o,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:kt.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:kt.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:kt.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:kt.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:kt.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:kt.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:kt.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:kt.decoder,delimiter:typeof t.delimiter=="string"||Ss.isRegExp(t.delimiter)?t.delimiter:kt.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:kt.depth,duplicates:r,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:kt.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:kt.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:kt.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:kt.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:kt.strictNullHandling}},tU=function(e,t){var n=eU(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?YW(e,n):e,o=n.plainObjects?Object.create(null):{},i=Object.keys(r),a=0;a{if(Vg.has(Wg))return Vg.get(Wg);const t=aU.parse(window.location.search,{ignoreQueryPrefix:!0}).debug==="true";return Vg.set(Wg,t),t},sU=`{ - "nodes_info": [ - { - "identifier": 1, - "connected": null, - "infos": { - "has_error": false, - "error_reason": "", - "name": "querynode1", - "hardware_infos": { - "ip": "172.18.20.7:21123", - "cpu_core_count": 8, - "cpu_core_usage": 0, - "memory": 34359738368, - "memory_usage": 18362302464, - "disk": 104857600, - "disk_usage": 2097152 - }, - "system_info": { - "system_version": "34cf5352ec", - "deploy_mode": "STANDALONE[MOCK]", - "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", - "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", - "used_go_version": "go version go1.22.3 darwin/amd64" - }, - "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", - "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", - "type": "querynode", - "id": 1, - "system_configurations": { - "simd_type": "auto" - }, - "quota_metrics": { - "Hms": { - "ip": "172.18.20.7:21123", - "cpu_core_count": 8, - "cpu_core_usage": 0, - "memory": 34359738368, - "memory_usage": 18362302464, - "disk": 104857600, - "disk_usage": 2097152 - }, - "Rms": [ - { - "Label": "InsertConsumeThroughput", - "Rate": 0 - }, - { - "Label": "DeleteConsumeThroughput", - "Rate": 0 - } - ], - "Fgm": { - "MinFlowGraphChannel": "", - "MinFlowGraphTt": 18446744073709551615, - "NumFlowGraph": 0 - }, - "GrowingSegmentsSize": 0, - "Effect": { - "NodeID": 1, - "CollectionIDs": [] - }, - "DeleteBufferInfo": { - "CollectionDeleteBufferNum": {}, - "CollectionDeleteBufferSize": {} - } - }, - "collection_metrics": { - "CollectionRows": {} - } - } - }, - { - "identifier": 1, - "connected": [ - { - "connected_identifier": 1, - "type": "manage", - "target_type": "querynode" - } - ], - "infos": { - "has_error": false, - "error_reason": "", - "name": "querycoord1", - "hardware_infos": { - "ip": "172.18.20.7:19531", - "cpu_core_count": 8, - "cpu_core_usage": 0, - "memory": 34359738368, - "memory_usage": 18362302464, - "disk": 104857600, - "disk_usage": 2097152 - }, - "system_info": { - "system_version": "34cf5352ec", - "deploy_mode": "STANDALONE[MOCK]", - "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", - "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", - "used_go_version": "go version go1.22.3 darwin/amd64" - }, - "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", - "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", - "type": "querycoord", - "id": 1, - "system_configurations": { - "search_channel_prefix": "", - "search_result_channel_prefix": "" - } - } - }, - { - "identifier": 1, - "connected": null, - "infos": { - "has_error": false, - "error_reason": "", - "name": "datanode1", - "hardware_infos": { - "ip": "172.18.20.7:21124", - "cpu_core_count": 8, - "cpu_core_usage": 0, - "memory": 34359738368, - "memory_usage": 18362302464, - "disk": 104857600, - "disk_usage": 2097152 - }, - "system_info": { - "system_version": "34cf5352ec", - "deploy_mode": "STANDALONE[MOCK]", - "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", - "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", - "used_go_version": "go version go1.22.3 darwin/amd64" - }, - "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", - "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", - "type": "datanode", - "id": 1, - "system_configurations": { - "flush_insert_buffer_size": 16777216 - }, - "quota_metrics": { - "Hms": { - "ip": "172.18.20.7:21124", - "cpu_core_count": 8, - "cpu_core_usage": 0, - "memory": 34359738368, - "memory_usage": 18362302464, - "disk": 104857600, - "disk_usage": 2097152 - }, - "Rms": [ - { - "Label": "InsertConsumeThroughput", - "Rate": 0 - }, - { - "Label": "DeleteConsumeThroughput", - "Rate": 0 - } - ], - "Fgm": { - "MinFlowGraphChannel": "", - "MinFlowGraphTt": 18446744073709551615, - "NumFlowGraph": 0 - }, - "Effect": { - "NodeID": 1, - "CollectionIDs": [] - } - } - } - }, - { - "identifier": 1, - "connected": null, - "infos": { - "has_error": false, - "error_reason": "", - "name": "indexnode1", - "hardware_infos": { - "ip": "172.18.20.7:21121", - "cpu_core_count": 8, - "cpu_core_usage": 0, - "memory": 34359738368, - "memory_usage": 18362302464, - "disk": 104857600, - "disk_usage": 2097152 - }, - "system_info": { - "system_version": "34cf5352ec", - "deploy_mode": "STANDALONE[MOCK]", - "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", - "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", - "used_go_version": "go version go1.22.3 darwin/amd64" - }, - "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", - "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", - "type": "indexnode", - "id": 1, - "system_configurations": { - "minio_bucket_name": "a-bucket", - "simd_type": "auto" - } - } - }, - { - "identifier": 1, - "connected": [ - { - "connected_identifier": 1, - "type": "manage", - "target_type": "datanode" - }, - { - "connected_identifier": 1, - "type": "manage", - "target_type": "indexnode" - } - ], - "infos": { - "has_error": false, - "error_reason": "", - "name": "datacoord1", - "hardware_infos": { - "ip": "172.18.20.7:13333", - "cpu_core_count": 8, - "cpu_core_usage": 0, - "memory": 34359738368, - "memory_usage": 18362302464, - "disk": 104857600, - "disk_usage": 2097152 - }, - "system_info": { - "system_version": "34cf5352ec", - "deploy_mode": "STANDALONE[MOCK]", - "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", - "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", - "used_go_version": "go version go1.22.3 darwin/amd64" - }, - "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", - "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", - "type": "datacoord", - "id": 1, - "system_configurations": { - "segment_max_size": 1024 - }, - "quota_metrics": { - "TotalBinlogSize": 0, - "CollectionBinlogSize": {}, - "PartitionsBinlogSize": {}, - "CollectionL0RowCount": {} - }, - "collection_metrics": { - "Collections": {} - } - } - }, - { - "identifier": 1, - "connected": [], - "infos": { - "has_error": false, - "error_reason": "", - "name": "rootcoord1", - "hardware_infos": { - "ip": "172.18.20.7:53100", - "cpu_core_count": 8, - "cpu_core_usage": 0, - "memory": 34359738368, - "memory_usage": 18362302464, - "disk": 104857600, - "disk_usage": 2097152 - }, - "system_info": { - "system_version": "34cf5352ec", - "deploy_mode": "STANDALONE[MOCK]", - "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", - "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", - "used_go_version": "go version go1.22.3 darwin/amd64" - }, - "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", - "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", - "type": "rootcoord", - "id": 1, - "system_configurations": { - "min_segment_size_to_enable_index": 1024 - } - } - }, - { - "identifier": 1, - "connected": [ - { - "connected_identifier": 1, - "type": "forward", - "target_type": "querycoord" - }, - { - "connected_identifier": 1, - "type": "forward", - "target_type": "datacoord" - }, - { - "connected_identifier": 1, - "type": "forward", - "target_type": "rootcoord" - } - ], - "infos": { - "has_error": false, - "error_reason": "", - "name": "proxy1", - "hardware_infos": { - "ip": "172.18.20.7:19529", - "cpu_core_count": 8, - "cpu_core_usage": 30.52004762940343, - "memory": 34359738368, - "memory_usage": 18362302464, - "disk": 104857600, - "disk_usage": 2097152 - }, - "system_info": { - "system_version": "34cf5352ec", - "deploy_mode": "STANDALONE[MOCK]", - "build_version": "v2.2-testing-20240702-804-g34cf5352ec-dev", - "build_time": "Wed, Oct 23, 2024 13:58:54 UTC", - "used_go_version": "go version go1.22.3 darwin/amd64" - }, - "created_time": "2024-10-23 22:01:45.891414 +0800 CST m=+8.035797839", - "updated_time": "2024-10-23 22:01:45.891415 +0800 CST m=+8.035798239", - "type": "proxy", - "id": 1, - "system_configurations": { - "default_partition_name": "_default", - "default_index_name": "_default_idx" - }, - "quota_metrics": null - } - } - ] -}`,lU=`[ - { - "sdk_type": "python", - "sdk_version": "1.0.0", - "local_time": "2023-10-01T12:00:00Z", - "user": "user1", - "host": "127.0.0.1", - "reserved": { - "last_active_time": "" - } - }, - { - "sdk_type": "golang", - "sdk_version": "1.1.0", - "local_time": "2023-10-01T12:05:00Z", - "user": "user2", - "host": "127.0.0.2", - "reserved": { - "last_active_time": "" - } - } -]`,cU=` -{ - "metastore": { - "health_status": true, - "unhealthy_reason": "", - "members_health": [ - { - "endpoint": "http://127.0.0.1:2379", - "health": true - } - ], - "meta_type": "etcd" - }, - "mq": { - "health_status": false, - "unhealthy_reason": "health check failed, err: Get \\"http://localhost:80/admin/v2/brokers/health\\": dial tcp [::1]:80: connect: connection refused", - "members_health": null, - "mq_type": "pulsar" - } -} -`,uU=` -{ - "MILVUS_GIT_BUILD_TAGS": "v2.2-testing-20240702-811-g38211f2b81-dev", - "MILVUS_GIT_COMMIT": "38211f2b81", - "common.bloomfilterapplybatchsize": "1000", - "common.bloomfiltersize": "100000", - "common.bloomfiltertype": "BlockedBloomFilter", - "common.buildindexthreadpoolratio": "0.75", - "common.defaultindexname": "_default_idx", - "common.defaultpartitionname": "_default", - "common.diskindex.beamwidthratio": "4", - "common.diskindex.buildnumthreadsratio": "1", - "common.diskindex.loadnumthreadratio": "8", - "common.diskindex.maxdegree": "56", - "common.diskindex.pqcodebudgetgbratio": "0.125", - "common.diskindex.searchcachebudgetgbratio": "0.1", - "common.diskindex.searchlistsize": "100", - "common.enablevectorclusteringkey": "false", - "common.entityexpiration": "-1", - "common.gracefulstoptimeout": "1800", - "common.gracefultime": "5000", - "common.indexslicesize": "16", - "common.locks.metrics.enable": "false" -} -`,dU=` -{ - "collection_names": [ - "collection_1", - "collection_2", - "collection_3", - "collection_4", - "collection_5", - "collection_6", - "collection_7", - "collection_8", - "collection_9", - "collection_10" - ], - "collection_ids": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7", - "8", - "9", - "10" - ], - "created_utc_timestamps": [ - "2021-10-01 00:00:00", - "2021-10-02 00:00:00", - "2021-10-03 00:00:00", - "2021-10-04 00:00:00", - "2021-10-05 00:00:00", - "2021-10-06 00:00:00", - "2021-10-07 00:00:00", - "2021-10-08 00:00:00", - "2021-10-09 00:00:00", - "2021-10-10 00:00:00" - ], - "inMemory_percentages": [ - 100, - 90, - 80, - 70, - 60, - 50, - 40, - 30, - 20, - 10 - ], - "query_service_available": [ - true, - true, - true, - true, - true, - false, - false, - false, - false, - false - ] -} -`,fU=` -{ - "collection_id": "1", - "collection_name": "example_collection", - "created_time": "2021-10-01 00:00:00", - "shards_num": 2, - "consistency_level": "Strong", - "aliases": ["alias1", "alias2"], - "properties": { - "property_key": "property_value" - }, - "db_name": "example_db", - "num_partitions": 3, - "virtual_channel_names": ["v_channel1", "v_channel2"], - "physical_channel_names": ["p_channel1", "p_channel2"], - "partition_infos": [ - { - "partition_name": "partition1", - "partition_id": "1", - "created_utc_timestamp": "2021-10-01 00:00:00" - } - ], - "enable_dynamic_field": true, - "fields": [ - { - "field_id": "1", - "name": "field1", - "is_primary_key": true, - "description": "description1", - "data_type": "int64", - "type_params": { - "param_key": "param_value" - }, - "index_params": { - "index_key": "index_value" - }, - "auto_id": false, - "element_type": "element_type1", - "default_value": "default_value1", - "is_dynamic": false, - "is_partition_key": false, - "is_clustering_key": false, - "nullable": true, - "is_function_output": false - } - ] -} -`,pU=` -{ - "db_names": [ - "database_1", - "database_2", - "database_3", - "database_4", - "database_5", - "database_6", - "database_7", - "database_8", - "database_9", - "database_10" - ], - "db_ids": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7", - "8", - "9", - "10" - ], - "created_timestamps": [ - "2021-10-01 00:00:00", - "2021-10-02 00:00:00", - "2021-10-03 00:00:00", - "2021-10-04 00:00:00", - "2021-10-05 00:00:00", - "2021-10-06 00:00:00", - "2021-10-07 00:00:00", - "2021-10-08 00:00:00", - "2021-10-09 00:00:00", - "2021-10-10 00:00:00" - ] -} -`,gU=` -{ - "db_name": "example_db", - "db_id": 1, - "created_timestamp": "2021-10-01 00:00:00", - "properties": [ - { - "key": "property_key", - "value": "property_value" - } - ] -} -`,hU=` -[ - { - "collection_id": 1, - "segments": [ - { - "segment_id": 1, - "collection_id": 1, - "partition_id": 1, - "channel": "channel1", - "num_of_rows": 1000, - "state": "Sealed", - "is_importing": false, - "compacted": false, - "level": "L0", - "is_sorted": true, - "node_id": 1, - "is_invisible": false, - "loaded_timestamp": "2021-10-01 00:00:00", - "index": [ - { - "field_id": 1, - "index_id": 1, - "build_id": 1, - "index_size": 1024, - "is_loaded": true - } - ], - "resource_group": "rg1", - "loaded_insert_row_count": 1000, - "mem_size": 2048 - } - ], - "dm_channels": [ - { - "node_id": 1, - "version": 1, - "collection_id": 1, - "channel_name": "channel1", - "unflushed_segment_ids": [ - "1" - ], - "flushed_segment_ids": [ - "2" - ], - "dropped_segment_ids": [ - "3" - ], - "level_zero_segment_ids": [ - "4" - ] - } - ] - } -] -`,mU=` -[ - { - "collection_id": 1, - "segments": [ - { - "segment_id": 2, - "collection_id": 1, - "partition_id": 1, - "channel": "channel2", - "num_of_rows": 1000, - "state": "Sealed", - "is_importing": false, - "compacted": false, - "level": "L0", - "is_sorted": true, - "node_id": 1, - "is_invisible": false, - "loaded_timestamp": 1633072800, - "index": [ - { - "field_id": 1, - "index_id": 1, - "build_id": 1, - "index_size": 1024, - "is_loaded": true - } - ], - "resource_group": "rg1", - "loaded_insert_row_count": 1000, - "mem_size": 2048 - } - ] - } -] -`,vU=` -{ - "segments": [ - { - "segment_id": 1, - "collection_id": 1, - "partition_id": 1, - "channel": "channel1", - "num_of_rows": 1000, - "state": "Sealed", - "is_importing": false, - "compacted": false, - "level": "L0", - "is_sorted": true, - "node_id": 1, - "is_invisible": false, - "loaded_timestamp": "2021-10-01 00:00:00", - "index": [ - { - "field_id": 1, - "index_id": 1, - "build_id": 1, - "index_size": 1024, - "is_loaded": true - } - ], - "resource_group": "rg1", - "loaded_insert_row_count": 1000, - "mem_size": 2048, - "flushed_rows": 1000, - "sync_buffer_rows": 0, - "syncing_rows": 0 - } - ], - "dm_channels": [ - { - "node_id": 1, - "version": 1, - "collection_id": 1, - "channel_name": "channel1", - "unflushed_segment_ids": ["1"], - "flushed_segment_ids": ["2"], - "dropped_segment_ids": ["3"], - "level_zero_segment_ids": ["4"], - "partition_stats_versions": { - "1": 1 - }, - "watch_state": "Healthy", - "start_watch_ts": "2021-10-01 00:00:00" - } - ], - "leader_views": [ - { - "leader_id": 1, - "collection_id": 1, - "node_id": 1, - "channel": "channel1", - "version": 1, - "sealed_segments": [ - { - "segment_id": 1, - "collection_id": 1, - "partition_id": 1, - "channel": "channel1", - "num_of_rows": 1000, - "state": "Sealed", - "is_importing": false, - "compacted": false, - "level": "L0", - "is_sorted": true, - "node_id": 1, - "is_invisible": false, - "loaded_timestamp": "2021-10-01 00:00:00", - "index": [ - { - "field_id": 1, - "index_id": 1, - "build_id": 1, - "index_size": 1024, - "is_loaded": true - } - ], - "resource_group": "rg1", - "loaded_insert_row_count": 1000, - "mem_size": 2048, - "flushed_rows": 1000, - "sync_buffer_rows": 0, - "syncing_rows": 0 - } - ], - "growing_segments": [], - "target_version": 1, - "num_of_growing_rows": 0, - "unserviceable_error": "" - } - ] -} -`,yU=` -[ - { - "ID": 1, - "collectionID": 1, - "rw_nodes": [1, 2], - "resource_group": "rg1", - "ro_nodes": [3], - "channel_to_rw_nodes": { - "channel1": [1, 2] - } - }, - { - "ID": 2, - "collectionID": 2, - "rw_nodes": [4, 5], - "resource_group": "rg2", - "ro_nodes": [6], - "channel_to_rw_nodes": { - "channel2": [4, 5] - } - } -] -`,bU=` -[ - { - "name": "rg1", - "nodes": [1, 2], - "cfg": { - "requests":{}, - "limits":{"node_num":1000000} - } - }, - { - "name": "rg2", - "nodes": [3, 4] - } -] -`,xU=` -[ - { - "task_name": "balance_checker-ChannelTask[1]-ch1", - "collection_id": 67890, - "replica_id": 11111, - "task_type": "Move", - "task_status": "started", - "priority": "Normal", - "actions": [ - "type:Grow node id : 1 channel name:channel_1" - ], - "step": 1, - "reason": "" - }, - { - "task_name": "index_checker-SegmentTask[2]-54321", - "collection_id": 12345, - "replica_id": 22222, - "task_type": "Grow", - "task_status": "completed", - "priority": "High", - "actions": [ - "type:Grow node id: 2 segment id:123 scope:DataScope_Streaming" - ], - "step": 2, - "reason": "" - }, - { - "task_name": "leader_checker-LeaderSegmentTask[3]-1", - "collection_id": 54321, - "replica_id": 33333, - "task_type": "Grow", - "task_status": "failed", - "priority": "Low", - "actions": [ - "type:Grow node id: 3 leader id:456 segment id:789 version:1" - ], - "step": 3, - "reason": "yet another reason" - } -] -`,SU=` -[ - { - "segment_id": 1, - "collection_id": 1, - "partition_id": 1, - "channel": "channel1", - "num_of_rows": 1000, - "state": "Sealed", - "is_importing": false, - "compacted": false, - "level": "L1", - "is_sorted": true, - "node_id": 1, - "is_invisible": false, - "loaded_timestamp": "2021-10-01 00:00:00", - "index": [ - { - "field_id": 1, - "index_id": 1, - "build_id": 1, - "index_size": 1024, - "is_loaded": true - } - ], - "resource_group": "rg1", - "loaded_insert_row_count": 1000, - "mem_size": 2048 - }, - { - "segment_id": 2, - "collection_id": 2, - "partition_id": 2, - "channel": "channel2", - "num_of_rows": 2000, - "state": "Sealed", - "is_importing": false, - "compacted": false, - "level": "L2", - "is_sorted": true, - "node_id": 2, - "is_invisible": false, - "loaded_timestamp": "2021-10-01 00:00:00", - "index": [ - { - "field_id": 2, - "index_id": 2, - "build_id": 2, - "index_size": 2048, - "is_loaded": true - } - ], - "resource_group": "rg2", - "loaded_insert_row_count": 2000, - "mem_size": 4096 - } -] -`,wU=` -[ - { - "name": "channel1", - "watch_state": "Healthy", - "assign_state": "assigned", - "latest_time_tick": "2023-10-01 12:00:00", - "node_id": 1, - "collection_id": 1 - }, - { - "name": "channel2", - "watch_state": "Healthy", - "assign_state": "assigned", - "latest_time_tick": "2023-10-01 12:05:00", - "node_id": 2, - "collection_id": 2 - } -] -`,CU=` -{ - "segments": [ - { - "segment_id": 1, - "collection_id": 1, - "partition_id": 1, - "channel": "channel1", - "num_of_rows": 1000, - "state": "Growing", - "is_importing": false, - "compacted": false, - "level": "L1", - "is_sorted": true, - "node_id": 1 - }, - { - "segment_id": 3, - "collection_id": 2, - "partition_id": 2, - "channel": "channel2", - "num_of_rows": 2000, - "state": "Growing", - "is_importing": true, - "compacted": true, - "level": "L2", - "is_sorted": false, - "node_id": 2 - } - ], - "dm_channels": [ - { - "node_id": 1, - "version": 1, - "collection_id": 100, - "channel_name": "channel1", - "unflushed_segment_ids": ["1", "2", "3"], - "flushed_segment_ids": ["4", "5", "6"], - "dropped_segment_ids": ["7", "8", "9"], - "watch_state": "success", - "start_watch_ts": "2023-10-01 12:05:00" - }, - { - "node_id": 1, - "version": 1, - "collection_id": 100, - "channel_name": "channel3", - "unflushed_segment_ids": ["1", "2", "3"], - "flushed_segment_ids": ["4", "5", "6"], - "dropped_segment_ids": ["7", "8", "9"], - "watch_state": "to_watch", - "start_watch_ts": "2023-10-01 12:05:00" - } - ] -} -`,_U=` -[ - { - "index_id": 1, - "collection_id": 1001, - "segment_id": 2001, - "build_id": 3001, - "index_state": "Finished", - "index_size": 1024, - "index_version": 1, - "create_time": "2023-10-01 12:05:00" - }, - { - "index_id": 2, - "collection_id": 1002, - "segment_id": 2002, - "build_id": 3002, - "index_state": "Failed", - "fail_reason": "Disk full", - "index_size": 2048, - "index_version": 2, - "create_time": "2023-10-01 12:05:00" - } -]`,RU=` -[ - { - "plan_id": 1, - "collection_id": 1, - "type": "Merge", - "state": "Completed", - "fail_reason": "", - "start_time": "2023-10-01 12:05:00", - "end_time": "2023-10-01 12:06:00", - "total_rows": 10000, - "input_segments": ["1", "2", "3"], - "result_segments": ["4"] - }, - { - "plan_id": 2, - "collection_id": 2, - "type": "Merge", - "state": "Failed", - "fail_reason": "Disk full", - "start_time": "2023-10-01 12:05:00", - "end_time": "2023-10-01 12:06:00", - "total_rows": 20000, - "input_segments": ["5", "6", "7"], - "result_segments": [] - } -]`,PU=` -[ - { - "segment_id": 1, - "batch_rows": 1000, - "segment_level": "L1", - "ts_from": "2023-10-01 12:05:00", - "ts_to": "2023-10-01 12:06:00", - "delta_row_count": 10, - "flush_size": 1024, - "running_time": "100000000", - "node_id": 1 - }, - { - "segment_id": 2, - "batch_rows": 2000, - "segment_level": "L2", - "ts_from": "2023-10-01 12:05:00", - "ts_to": "2023-10-01 12:06:00", - "delta_row_count": 20, - "flush_size": 2048, - "running_time": "200000000", - "node_id": 2 - } -] -`,TU=` -[ - { - "job_id": 1, - "task_id": 2, - "collection_id": 3, - "node_id": 4, - "state": "Pending", - "reason": "", - "task_type": "PreImportTask", - "created_time": "2023-10-01T00:00:00Z", - "complete_time": "2023-10-01T01:00:00Z" - }, - { - "job_id": 5, - "task_id": 6, - "collection_id": 7, - "node_id": 8, - "state": "Completed", - "reason": "", - "task_type": "ImportTask", - "created_time": "2023-10-01T00:00:00Z", - "complete_time": "2023-10-01T01:00:00Z" - }, - { - "job_id": 9, - "task_id": 10, - "collection_id": 11, - "node_id": 12, - "state": "Failed", - "reason": "some failure reason", - "task_type": "ImportTask", - "created_time": "2023-10-01T00:00:00Z", - "complete_time": "2023-10-01T01:00:00Z" - } -] -`,kU=` -[ - { - "segment_id": 1, - "collection_id": 1, - "partition_id": 1, - "channel": "channel1", - "num_of_rows": 1000, - "state": "Growing", - "is_importing": false, - "compacted": false, - "level": "L1", - "is_sorted": true, - "node_id": 1, - "flushed_rows": 1000, - "sync_buffer_rows": 0, - "syncing_rows": 0 - }, - { - "segment_id": 2, - "collection_id": 2, - "partition_id": 2, - "channel": "channel2", - "num_of_rows": 2000, - "state": "Sealed", - "is_importing": true, - "compacted": true, - "level": "L2", - "is_sorted": false, - "node_id": 2, - "flushed_rows": 2000, - "sync_buffer_rows": 100, - "syncing_rows": 50 - } -] -`,$U=` -[ - { - "name": "channel1", - "watch_state": "Healthy", - "assign_state": "assigned", - "latest_time_tick": "2023-10-01 12:00:00", - "node_id": 1, - "collection_id": 1, - "check_point_ts": "2023-10-01 12:00:00" - }, - { - "name": "channel2", - "watch_state": "Healthy", - "assign_state": "assigned", - "latest_time_tick": "2023-10-01 12:05:00", - "node_id": 2, - "collection_id": 2, - "check_point_ts": "2023-10-01 12:05:00" - } -] -`,EU=`[ - { - "role": "proxy", - "database": "test_db", - "collection": "test_collection", - "partitions": "partition1,partition2", - "consistency_level": "Bounded", - "use_default_consistency": true, - "guarantee_timestamp": 123456789, - "duration": "1.1s", - "user": "test_user", - "query_params": { - "search_params": [ - { - "dsl": ["dsl1"], - "search_params": ["param2=value2"], - "nq": [10] - } - ], - "output_fields": "field1,field2" - }, - "type": "Search", - "trace_id": "729b10a6a7f32ddd7ab5c16dd30f60dc", - "time": "2024-11-05 08:14:05" - }, - { - "role": "proxy", - "database": "test_db", - "collection": "test_collection", - "partitions": "partition1,partition2", - "consistency_level": "Bounded", - "use_default_consistency": true, - "guarantee_timestamp": 123456789, - "duration": "1.2s", - "user": "test_user", - "query_params": { - "expr": "expr1", - "output_fields": "field1,field2" - }, - "type": "Query", - "trace_id": "232955b7f33b135708d34c3c761b57e7", - "time": "2024-11-05 08:14:05" - }, - { - "role": "proxy", - "database": "test_db", - "collection": "test_collection", - "partitions": "partition1,partition2", - "consistency_level": "Bounded", - "use_default_consistency": true, - "guarantee_timestamp": 123456789, - "duration": "1.3s", - "user": "test_user", - "query_params": { - "search_params": [ - { - "dsl": ["dsl2"], - "search_params": ["param3=value3"], - "nq": [20] - } - ], - "output_fields": "field3,field4" - }, - "type": "HybridSearch", - "trace_id": "3a4b5c6d7e8f9a0b1c2d3e4f5g6h7i8j", - "time": "2024-11-05 08:14:05" - }, - { - "role": "proxy", - "database": "test_db", - "collection": "test_collection", - "partitions": "partition1,partition2", - "consistency_level": "Bounded", - "use_default_consistency": true, - "guarantee_timestamp": 123456789, - "duration": "1.4s", - "user": "test_user", - "query_params": { - "expr": "expr2", - "output_fields": "field5,field6" - }, - "type": "Query", - "trace_id": "4b5c6d7e8f9a0b1c2d3e4f5g6h7i8j9k", - "time": "2024-11-05 08:14:05" - }, - { - "role": "proxy", - "database": "test_db", - "collection": "test_collection", - "partitions": "partition1,partition2", - "consistency_level": "Bounded", - "use_default_consistency": true, - "guarantee_timestamp": 123456789, - "duration": "1.5s", - "user": "test_user", - "query_params": { - "search_params": [ - { - "dsl": ["dsl3"], - "search_params": ["param4=value4"], - "nq": [30] - } - ], - "output_fields": "field7,field8" - }, - "type": "Search", - "trace_id": "5c6d7e8f9a0b1c2d3e4f5g6h7i8j9k0l", - "time": "2024-11-05 08:14:05" - } -]`,MU="/api/v1",Fm=Bt.create({baseURL:MU});Fm.interceptors.response.use(e=>(e.status>=400&&_D({title:"Error",message:e.data.message||"Request Error",showClose:!1,handleClose:()=>{}}),e));const lS=(e,t)=>l3()&&e?Promise.resolve(e):t().then(n=>n.data),bt={get:(e,t,n)=>lS(JSON.parse(n||"null"),()=>Fm.get(e,t)),post:(e,t,n,r)=>lS(JSON.parse(r||"null"),()=>Fm.post(e,t,n))},ol=(e,t=2)=>(e/1024**3).toFixed(t),IU=e=>e.db_names.map((t,n)=>{var i;const r=(i=e.db_ids)==null?void 0:i[n],o=e.created_timestamps[n];return{name:t,id:r,created:o}}),OU=e=>e.collection_ids.map((t,n)=>{var s,l,c,u;const r=(s=e.collection_names)==null?void 0:s[n],o=(l=e.created_utc_timestamps)==null?void 0:l[n],i=(c=e.inMemory_percentages)==null?void 0:c[n],a=(u=e.query_service_available)==null?void 0:u[n];return{name:r,id:t,created:o,memoryPercentage:i,queryServiceAvailable:a}}),cS=()=>{},LU=async()=>(await bt.get("/_cluster/info",{},sU)).nodes_info,AU=async()=>bt.get("/_cluster/clients",{},lU),NU=async()=>bt.get("/_cluster/dependencies",{},cU),DU=async()=>{const e=await bt.get("/_db/list",{},pU);try{return IU(e)}catch(t){console.warn(t)}},jU=async e=>bt.get("/_db/desc",{params:{db_name:e}},gU),FU=async(e="default")=>{const t=await bt.get("/_collection/list",{params:{db_name:e}},dU);return OU(t)},BU=async(e,t="default")=>bt.get("/_collection/desc",{params:{db_name:t,collection_name:e}},fU),zU=async()=>bt.get("/_qc/dist",{},vU),c3=async()=>bt.get("/_qc/target",{},hU),u3=async()=>bt.get("/_qc/target",{params:{target_scope:2}},mU),HU=async()=>bt.get("/_qn/segments",{},SU),VU=async()=>bt.get("/_qn/channels",{},wU),WU=async()=>bt.get("/_qc/replica",{},yU),UU=async()=>bt.get("/_qc/resource_group",{},bU),GU=async()=>bt.get("/_dc/dist",{},CU),qU=async()=>bt.get("/_dn/channels",{},$U),KU=async()=>bt.get("/_dn/segments",{},kU),ZU=async()=>bt.get("/_qc/tasks",{},xU),QU=async()=>bt.get("/_dc/tasks/compaction",{},RU),YU=async()=>bt.get("/_dc/tasks/build_index",{},_U),XU=async()=>bt.get("/_dc/tasks/import",{},TU),JU=async()=>bt.get("/_dn/tasks/sync",{},PU),eG=async()=>bt.get("/_cluster/slow_query",{},EU),tG=async()=>bt.get("/_cluster/configs",{},uU);var d3={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?dG:uG;p3.useSyncExternalStore=ws.useSyncExternalStore!==void 0?ws.useSyncExternalStore:fG;f3.exports=p3;var pG=f3.exports;const Xo=()=>{},In=Xo(),Gg=Object,Je=e=>e===In,eo=e=>typeof e=="function",pi=(e,t)=>({...e,...t}),gG=e=>eo(e.then),Su=new WeakMap;let hG=0;const fc=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(Gg(e)===e&&!r&&n!=RegExp){if(o=Su.get(e),o)return o;if(o=++hG+"~",Su.set(e,o),n==Array){for(o="@",i=0;ibp&&typeof window.requestAnimationFrame!=V1,g3=(e,t)=>{const n=mo.get(e);return[()=>!Je(t)&&e.get(t)||qg,r=>{if(!Je(t)){const o=e.get(t);t in wu||(wu[t]=o),n[5](t,pi(o,r),o||qg)}},n[6],()=>!Je(t)&&t in wu?wu[t]:!Je(t)&&e.get(t)||qg]};let zm=!0;const vG=()=>zm,[Hm,Vm]=bp&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Xo,Xo],yG=()=>{const e=Bm&&document.visibilityState;return Je(e)||e!=="hidden"},bG=e=>(Bm&&document.addEventListener("visibilitychange",e),Hm("focus",e),()=>{Bm&&document.removeEventListener("visibilitychange",e),Vm("focus",e)}),xG=e=>{const t=()=>{zm=!0,e()},n=()=>{zm=!1};return Hm("online",t),Hm("offline",n),()=>{Vm("online",t),Vm("offline",n)}},SG={isOnline:vG,isVisible:yG},wG={initFocus:bG,initReconnect:xG},uS=!tt.useId,pc=!bp||"Deno"in window,CG=e=>mG()?window.requestAnimationFrame(e):setTimeout(e,1),Kg=pc?b.useEffect:b.useLayoutEffect,Zg=typeof navigator<"u"&&navigator.connection,dS=!pc&&Zg&&(["slow-2g","2g"].includes(Zg.effectiveType)||Zg.saveData),W1=e=>{if(eo(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?fc(e):"",[e,t]};let _G=0;const Wm=()=>++_G,h3=0,m3=1,v3=2,RG=3;var il={__proto__:null,ERROR_REVALIDATE_EVENT:RG,FOCUS_EVENT:h3,MUTATE_EVENT:v3,RECONNECT_EVENT:m3};async function y3(...e){const[t,n,r,o]=e,i=pi({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const c=f=>typeof s=="function"?s(f):s!==!1,u=i.throwOnError;if(eo(n)){const f=n,p=[],m=t.keys();for(const y of m)!/^\$(inf|sub)\$/.test(y)&&f(t.get(y)._k)&&p.push(y);return Promise.all(p.map(d))}return d(n);async function d(f){const[p]=W1(f);if(!p)return;const[m,y]=g3(t,p),[w,v,S,h]=mo.get(t),C=()=>{const O=w[p];return(eo(i.revalidate)?i.revalidate(m().data,f):i.revalidate!==!1)&&(delete S[p],delete h[p],O&&O[0])?O[0](v3).then(()=>m().data):m().data};if(e.length<3)return C();let R=r,_;const T=Wm();v[p]=[T,0];const P=!Je(l),k=m(),x=k.data,$=k._c,I=Je($)?x:$;if(P&&(l=eo(l)?l(I,x):l,y({data:l,_c:I})),eo(R))try{R=R(I)}catch(O){_=O}if(R&&gG(R))if(R=await R.catch(O=>{_=O}),T!==v[p][0]){if(_)throw _;return R}else _&&P&&c(_)&&(a=!0,y({data:I,_c:In}));if(a&&!_)if(eo(a)){const O=a(R,I);y({data:O,error:In,_c:In})}else y({data:R,error:In,_c:In});if(v[p][1]=Wm(),Promise.resolve(C()).then(()=>{y({_c:In})}),_){if(u)throw _;return}return R}}const fS=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},PG=(e,t)=>{if(!mo.has(e)){const n=pi(wG,t),r={},o=y3.bind(In,e);let i=Xo;const a={},s=(u,d)=>{const f=a[u]||[];return a[u]=f,f.push(d),()=>f.splice(f.indexOf(d),1)},l=(u,d,f)=>{e.set(u,d);const p=a[u];if(p)for(const m of p)m(d,f)},c=()=>{if(!mo.has(e)&&(mo.set(e,[r,{},{},{},o,l,s]),!pc)){const u=n.initFocus(setTimeout.bind(In,fS.bind(In,r,h3))),d=n.initReconnect(setTimeout.bind(In,fS.bind(In,r,m3)));i=()=>{u&&u(),d&&d(),mo.delete(e)}}};return c(),[e,o,c,i]}return[e,mo.get(e)[4]]},TG=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!Je(i)&&a>i||setTimeout(r,s,o)},kG=(e,t)=>fc(e)==fc(t),[b3,$G]=PG(new Map),EG=pi({onLoadingSlow:Xo,onSuccess:Xo,onError:Xo,onErrorRetry:TG,onDiscarded:Xo,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:dS?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:dS?5e3:3e3,compare:kG,isPaused:()=>!1,cache:b3,mutate:$G,fallback:{}},SG),MG=(e,t)=>{const n=pi(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=pi(o,a))}return n},IG=b.createContext({}),OG="$inf$",x3=bp&&window.__SWR_DEVTOOLS_USE__,LG=x3?window.__SWR_DEVTOOLS_USE__:[],AG=()=>{x3&&(window.__SWR_DEVTOOLS_REACT__=tt)},NG=e=>eo(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],DG=()=>pi(EG,b.useContext(IG)),jG=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=W1(t),[,,,s]=mo.get(b3);if(a.startsWith(OG))return n(...i);const l=s[a];return Je(l)?n(...i):(delete s[a],l)}),r),FG=LG.concat(jG),BG=e=>function(...n){const r=DG(),[o,i,a]=NG(n),s=MG(r,a);let l=e;const{use:c}=s,u=(c||[]).concat(FG);for(let d=u.length;d--;)l=u[d](l);return l(o,i||s.fetcher||null,s)},zG=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};AG();const pS=tt.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Qg={dedupe:!0},HG=(e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:c,refreshWhenHidden:u,refreshWhenOffline:d,keepPreviousData:f}=n,[p,m,y,w]=mo.get(r),[v,S]=W1(e),h=b.useRef(!1),C=b.useRef(!1),R=b.useRef(v),_=b.useRef(t),T=b.useRef(n),P=()=>T.current,k=()=>P().isVisible()&&P().isOnline(),[x,$,I,O]=g3(r,v),D=b.useRef({}).current,M=Je(a)?n.fallback[v]:a,A=(q,ce)=>{for(const ue in D){const ie=ue;if(ie==="data"){if(!o(q[ie],ce[ie])&&(!Je(q[ie])||!o(W,ce[ie])))return!1}else if(ce[ie]!==q[ie])return!1}return!0},N=b.useMemo(()=>{const q=!v||!t?!1:Je(s)?P().isPaused()||i?!1:Je(l)?!0:l:s,ce=be=>{const Pe=pi(be);return delete Pe._k,q?{isValidating:!0,isLoading:!0,...Pe}:Pe},ue=x(),ie=O(),te=ce(ue),de=ue===ie?te:ce(ie);let Q=te;return[()=>{const be=ce(x());return A(be,Q)?(Q.data=be.data,Q.isLoading=be.isLoading,Q.isValidating=be.isValidating,Q.error=be.error,Q):(Q=be,be)},()=>de]},[r,v]),E=pG.useSyncExternalStore(b.useCallback(q=>I(v,(ce,ue)=>{A(ue,ce)||q()}),[r,v]),N[0],N[1]),L=!h.current,B=p[v]&&p[v].length>0,H=E.data,z=Je(H)?M:H,j=E.error,F=b.useRef(z),W=f?Je(H)?F.current:H:z,V=B&&!Je(j)?!1:L&&!Je(s)?s:P().isPaused()?!1:i?Je(z)?!1:l:Je(z)||l,ee=!!(v&&t&&L&&V),re=Je(E.isValidating)?ee:E.isValidating,U=Je(E.isLoading)?ee:E.isLoading,K=b.useCallback(async q=>{const ce=_.current;if(!v||!ce||C.current||P().isPaused())return!1;let ue,ie,te=!0;const de=q||{},Q=!y[v]||!de.dedupe,be=()=>uS?!C.current&&v===R.current&&h.current:v===R.current,Pe={isValidating:!1,isLoading:!1},we=()=>{$(Pe)},ge=()=>{const Se=y[v];Se&&Se[1]===ie&&delete y[v]},le={isValidating:!0};Je(x().data)&&(le.isLoading=!0);try{if(Q&&($(le),n.loadingTimeout&&Je(x().data)&&setTimeout(()=>{te&&be()&&P().onLoadingSlow(v,n)},n.loadingTimeout),y[v]=[ce(S),Wm()]),[ue,ie]=y[v],ue=await ue,Q&&setTimeout(ge,n.dedupingInterval),!y[v]||y[v][1]!==ie)return Q&&be()&&P().onDiscarded(v),!1;Pe.error=In;const Se=m[v];if(!Je(Se)&&(ie<=Se[0]||ie<=Se[1]||Se[1]===0))return we(),Q&&be()&&P().onDiscarded(v),!1;const ye=x().data;Pe.data=o(ye,ue)?ye:ue,Q&&be()&&P().onSuccess(ue,v,n)}catch(Se){ge();const ye=P(),{shouldRetryOnError:Ue}=ye;ye.isPaused()||(Pe.error=Se,Q&&be()&&(ye.onError(Se,v,ye),(Ue===!0||eo(Ue)&&Ue(Se))&&(!P().revalidateOnFocus||!P().revalidateOnReconnect||k())&&ye.onErrorRetry(Se,v,ye,Te=>{const Re=p[v];Re&&Re[0]&&Re[0](il.ERROR_REVALIDATE_EVENT,Te)},{retryCount:(de.retryCount||0)+1,dedupe:!0})))}return te=!1,we(),!0},[v,r]),se=b.useCallback((...q)=>y3(r,R.current,...q),[]);if(Kg(()=>{_.current=t,T.current=n,Je(H)||(F.current=H)}),Kg(()=>{if(!v)return;const q=K.bind(In,Qg);let ce=0;const ie=zG(v,p,(te,de={})=>{if(te==il.FOCUS_EVENT){const Q=Date.now();P().revalidateOnFocus&&Q>ce&&k()&&(ce=Q+P().focusThrottleInterval,q())}else if(te==il.RECONNECT_EVENT)P().revalidateOnReconnect&&k()&&q();else{if(te==il.MUTATE_EVENT)return K();if(te==il.ERROR_REVALIDATE_EVENT)return K(de)}});return C.current=!1,R.current=v,h.current=!0,$({_k:S}),V&&(Je(z)||pc?q():CG(q)),()=>{C.current=!0,ie()}},[v]),Kg(()=>{let q;function ce(){const ie=eo(c)?c(x().data):c;ie&&q!==-1&&(q=setTimeout(ue,ie))}function ue(){!x().error&&(u||P().isVisible())&&(d||P().isOnline())?K(Qg).then(ce):ce()}return ce(),()=>{q&&(clearTimeout(q),q=-1)}},[c,u,d,v]),b.useDebugValue(W),i&&Je(z)&&v){if(!uS&&pc)throw new Error("Fallback data is required when using suspense in SSR.");_.current=t,T.current=n,C.current=!1;const q=w[v];if(!Je(q)){const ce=se(q);pS(ce)}if(Je(j)){const ce=K(Qg);Je(W)||(ce.status="fulfilled",ce.value=!0),pS(ce)}else throw j}return{mutate:se,get data(){return D.data=!0,W},get error(){return D.error=!0,j},get isValidating(){return D.isValidating=!0,re},get isLoading(){return D.isLoading=!0,U}}},gt=BG(HG),VG=e=>e?[{key:"system_version",name:"Git Commit",desc:"Git commit SHA that the current build of the system is based on"},{key:"deploy_mode",name:"Deploy Mode",desc:"The mode in which the system is deployed"},{key:"build_version",name:"Build Version",desc:"The version of the system that was built"},{key:"build_time",name:"Build Time",desc:"The exact time when the system was built"},{key:"used_go_version",name:"Go Version",desc:"The version of the Golang that was used to build the system"}].map(n=>({...n,value:e[n.key]})):[],WG=()=>{const e=gt("cluster-info",LU),t=b.useMemo(()=>{var l;const i=(l=e.data)==null?void 0:l[0],a=i==null?void 0:i.infos.system_info,s=VG(a);return s.push({key:"created_time",name:"Started Time",value:i==null?void 0:i.infos.created_time,desc:"The time when the system was started"}),s},[e.data]),n=b.useMemo(()=>{var i;return((i=e.data)==null?void 0:i.map(a=>({name:a.infos.name,ip:a.infos.hardware_infos.ip,created:a.infos.created_time,error:a.infos.has_error?a.infos.error_reason:""})))||[]},[e.data]),r=b.useMemo(()=>{var i;return((i=e.data)==null?void 0:i.map(a=>{const s=a.infos.hardware_infos,l=ol(s.cpu_core_usage),c=ol(s.memory),u=ol(s.memory_usage),d=ol(s.disk),f=ol(s.disk_usage);return{name:a.infos.name,cpu:`${l}%`,memory:`${u} / ${c}`,disk:`${f} / ${d}`,ioWait:"0.00",rpc:"100",netTP:"5",diskTP:"20"}}))||[]},[e.data]),o=b.useMemo(()=>[],[e.data]);return{...e,data:t,compData:n,runtimeMetricsData:r,requestData:o}},UG=()=>gt("cluster-clients",AU),GG=()=>{const e=gt("cluster-deps",NU),t=b.useMemo(()=>Object.keys(e.data||{}).map(n=>{const r=e.data[n],o="meta_type"in r?r.meta_type:r.mq_type,i=r.health_status?"":r.unhealthy_reason;return{name:`${n} [${o}]`,clusterStatus:i,members:r.members_health}}),[e.data]);return{...e,data:t}},qG=()=>gt("databases",DU),KG=(e="default")=>gt(`collections-${e}`,()=>FU(e)),ZG=()=>{const e=gt("query-dist",zU),t=gt("query-currTargets",c3),n=gt("query-nextTargets",u3),r=gt("query-seg",HU),o=gt("query-channel",VU),i=b.useMemo(()=>!e.data||!t.data||!n.data||!r.data?[]:QG(e.data,t.data,n.data,r.data),[e.data,t.data,n.data,r.data]),a=b.useMemo(()=>!e.data||!t.data||!n.data||!o.data?[]:YG(e.data,t.data,n.data,o.data),[e.data,t.data,n.data,o.data]);return{segsData:i,channelsData:a,isLoading:[e,t,n,r,o].some(s=>s.isLoading)}},QG=(e,t,n,r)=>{const o=[],i=(a,s,l)=>{const c=o.find(u=>u.segment_id===a.segment_id);c?(s&&(c.from=(c.from||[]).concat(s)),l&&(c.leader_id=l),a.state&&a.state!=="SegmentStateNone"&&(c.state=a.state)):o.push({...a,from:[s],leader_id:l})};return e&&e.segments&&e.segments.length>0&&e.segments.forEach(a=>{i(a,"DIST")}),t&&t.length>0&&t.forEach(a=>{var s;(s=a.segments)==null||s.forEach(l=>{i(l,"CT")})}),n&&n.length>0&&n.forEach(a=>{var s;(s=a.segments)==null||s.forEach(l=>{i(l,"NT")})}),r&&r.length>0&&r.forEach(a=>{i(a,"QN")}),e&&e.leader_views&&e.leader_views.length>0&&e.leader_views.forEach(a=>{a.sealed_segments&&a.sealed_segments.length>0&&a.sealed_segments.forEach(s=>{i(s,"",a.leader_id)}),a.growing_segments&&a.growing_segments.length>0&&a.growing_segments.forEach(s=>{i(s,"",a.leader_id)})}),o},YG=(e,t,n,r)=>{const o=[],i=(a,s,l)=>{const c=o.find(u=>u.name===r.name||u.name===r.channel_name);c?(s&&!c.from.includes(s)&&c.from.push(s),l&&(c.leader_id=l),a.watch_state&&a.watch_state!=="Healthy"&&(c.watch_state=a.watch_state)):o.push({...a,from:[s],leader_id:l})};return e&&e.dm_channels&&e.dm_channels.length>0&&e.dm_channels.forEach(a=>{i(a,"DIST")}),t&&t.length>0&&t.forEach(a=>{var s;(s=a.dm_channels)==null||s.forEach(l=>{i(l,"CT")})}),n&&n.length>0&&n.forEach(a=>{var s;(s=a.dm_channels)==null||s.forEach(l=>{i(l,"NT")})}),r&&r.length>0&&r.forEach(a=>{i(a,"QN")}),e&&e.leader_views&&e.leader_views.length>0&&e.leader_views.forEach(a=>{a.channel&&i({name:a.channel},"",a.leader_id)}),o},XG=()=>gt("query-replicas",WU),JG=()=>gt("query-rscGroups",UU),eq=()=>{const e=gt("query-currTargets",c3),t=gt("query-nextTargets",u3),n=b.useMemo(()=>!e.data||!t.data?[]:tq(e.data,t.data),[e.data,t.data]),r=b.useMemo(()=>!e.data||!t.data?[]:nq(e.data,t.data),[]);return{isLoading:e.isLoading||t.isLoading,targetSeg:n,targetChannel:r}};function tq(e,t){const n=[];return e.forEach(r=>{r.segments.forEach(o=>{o.targetScope="current",n.push(o)})}),t.forEach(r=>{r.segments.forEach(o=>{o.targetScope="next",n.push(o)})}),n}function nq(e,t){const n=[];return e.forEach(r=>{r.dm_channels&&r.dm_channels.forEach(o=>{o.targetScope="current",n.push(o)})}),t.forEach(r=>{r.dm_channels&&r.dm_channels.forEach(o=>{o.targetScope="next",n.push(o)})}),n}const rq=()=>{const e=gt("data-dist",GU),t=gt("data-seg",KU),n=gt("data-channel",qU),r=b.useMemo(()=>!e.data||!n.data?{data:[],notifications:[]}:oq(n.data,e.data),[e.data,n.data]);return{seg:b.useMemo(()=>!e.data||!t.data?{data:[],notifications:[]}:iq(t.data,e.data),[e.data,t.data]),channel:r,isLoading:e.isLoading||t.isLoading||n.isLoading}},oq=(e,t)=>{const n={},r=[],o=new Set(t.dm_channels.map(i=>i.channel_name));return e.forEach(i=>{const a=isNaN(Number(i.node_id))?i.node_id:`datanode-${i.node_id}`;i.node_id=a;const s={...i};o.has(i.name)||(s.notification="Not found in DataCoord",r.push(s)),n[i.name]=s}),t.dm_channels.forEach(i=>{const a=isNaN(Number(i.node_id))?i.node_id:`datacoord-${i.node_id}`;i.node_id=a;const s=i.channel_name;if(n[s])n[s].watch_state!=="Healthy"&&(i.watch_state=n[s].watch_state),n[s]={...n[s],...i};else{const l={...i,notification:"Not found in DataNode"};r.push(l),n[s]=l}}),{data:Object.values(n),notifications:r}},iq=(e,t)=>{const n={},r=[],o=new Set(t.segments.map(i=>i.segment_id));return e.forEach(i=>{const a=isNaN(Number(i.node_id))?i.node_id:`datanode-${i.node_id}`;i.node_id=a;const s={...i};o.has(i.segment_id)||(s.notification="Not found in DataCoord",r.push(s)),n[i.segment_id]=s}),t.segments.forEach(i=>{const a=isNaN(Number(i.node_id))?i.node_id:`datacoord-${i.node_id}`;i.node_id=a;const s=i.segment_id;if(n[s])n[s]={...n[s],...i};else{const l={...i,notification:"Not found in DataNode"};i.state!=="Dropped"&&i.state!=="Flushed"&&r.push(l),n[s]=l}}),{data:Object.values(n),notifications:r}},aq=()=>gt("tasks",ZU),sq=()=>gt("compaction",QU),lq=()=>gt("buildIndex",YU),cq=()=>gt("import",XU),uq=()=>gt("sync",JU),dq=()=>gt("slow-requests",eG),fq=()=>{const e=gt("configurations",tG);return{...e,data:Object.keys(e.data||{}).map(t=>({key:t,value:e.data[t]}))}},pq="_section_smkgl_1",gq="_title_smkgl_6",hq="_separator_smkgl_9",Yg={section:pq,title:gq,separator:hq},Lt=e=>{const{title:t,level:n=3,children:r,className:o}=e,i=()=>tt.createElement(`h${n}`,{className:Yg.title,children:t});return g.jsxs("div",{className:ot(Yg.section,o),children:[i(),g.jsx("hr",{className:Yg.separator}),r]})},Xg={"filter-searcher":"_filter-searcher_162nl_1","filter-searcher-label":"_filter-searcher-label_162nl_5","filter-searcher-input":"_filter-searcher-input_162nl_9"},mq=e=>{var u;const{defaultFilter:t,filters:n,className:r,onSearch:o}=e,[i,a]=b.useState({by:t}),s=d=>{a(()=>({by:d.value}))},l=d=>{a(f=>({...f,q:d.target.value}))},c=n.length?(u=n.find(d=>d.value===(i.by||n[0].value)))==null?void 0:u.label.toLowerCase():"";return b.useEffect(()=>{o(i)},[i.q]),g.jsxs("div",{className:ot(Xg["filter-searcher"],r),children:[g.jsx("div",{className:Xg["filter-searcher-label"],children:"Filter: "}),n.length>1&&g.jsx(kD,{defaultValue:t,options:n,onChange:s,onPointerEnterCapture:cS,onPointerLeaveCapture:cS}),g.jsx(w1,{classes:{root:Xg["filter-searcher-input"]},prefixComponent:g.jsx(SA,{}),type:"number",value:i.q,onChange:l,placeholder:c?`Search by ${c}`:"Search",onPointerEnterCapture:()=>{},onPointerLeaveCapture:()=>{}})]})},qt=e=>{const[t,n]=b.useState({}),r=b.useMemo(()=>e.cols.filter(s=>s.searchable),[e.cols]),o=b.useMemo(()=>{var c;if(!t.by||!t.q)return e.list||[];const{searchBy:s}=r.find(u=>u.field===t.by)||{};if(s)return s==null?void 0:s(t.q,e.list||[]);const l=t.by;return((c=e.list)==null?void 0:c.filter(u=>{var d;return(d=u[l])==null?void 0:d.toString().includes(t.q||"")}))||[]},[t,e.list]),i=s=>{var l;n(s),(l=e.onSearch)==null||l.call(e,s)};return{list:o,renderSearcher:s=>{const l=r.map(c=>({label:c.headerName,value:c.field}));return g.jsx(mq,{filters:l,onSearch:i,...s})}}},vq="_status_450jl_1",yq="_error_450jl_5",_n={status:vq,error:yq,"comp-tabs":"_comp-tabs_450jl_9","text-content":"_text-content_450jl_14","member-list":"_member-list_450jl_19","member-item-label":"_member-item-label_450jl_23"},bq=()=>{var R;const e=WG(),t=UG(),n=GG(),[r,o]=b.useState("base"),i=_=>g.jsx("div",{className:_n["text-content"],children:_||"-"}),a=_=>i(_.getValue()),s=b.useMemo(()=>[{field:"name",headerName:"Attribute"},{field:"value",headerName:"Value",renderCell:a},{field:"desc",headerName:"Description",renderCell:a}],[]),l=b.useMemo(()=>[{label:"Base Stats",value:"base"},{label:"Runtime Metrics",value:"metrics"}],[]),c=_=>{const T=_||"Healthy",P=!!_;return g.jsx("span",{className:ot(_n.status,P&&_n.error),children:T})},u=b.useMemo(()=>[{field:"name",headerName:"Node Name",renderCell:a,searchable:!0},{field:"ip",headerName:"Node IP",renderCell:a},{field:"created",headerName:"Start Time",renderCell:a},{field:"error",headerName:"Node Status",renderCell:T=>i(c(T.getValue()))}],[]),d=qt({cols:u,list:e.compData}),f=b.useMemo(()=>[{field:"name",headerName:"Node Name",renderCell:a,searchable:!0},{field:"cpu",headerName:"CPU Usage",renderCell:a},{field:"memory",headerName:"Usage / Memory (GB)",renderCell:a},{field:"disk",headerName:"Usage / Disk (GB)",renderCell:a},{field:"ioWait",headerName:"IO wait",renderCell:a},{field:"rpc",headerName:"RPC Ops/s",renderCell:a},{field:"netTP",headerName:"Network Throughput (MB/s)",renderCell:a},{field:"diskTP",headerName:"Disk Throughput (MB/s)",renderCell:a}],[]),p=qt({cols:f,list:e.runtimeMetricsData}),m=(_,T)=>{o(T)},y=b.useMemo(()=>[{field:"host",headerName:"Host",searchable:!0},{field:"user",headerName:"User",searchable:!0},{field:"sdk_type",headerName:"SDK Type",searchable:!0},{field:"sdk_version",headerName:"SDK Version",searchable:!0},{field:"local_time",headerName:"Local Time",renderCell:a},{field:"lastActiveTime",headerName:"Last Active Time",renderCell:a}],[]),w=qt({cols:y,list:(R=t.data)==null?void 0:R.map(_=>({..._,lastActiveTime:_.reserved.last_active_time}))}),v=_=>{const T=g.jsx("span",{className:_n["member-endpoint"],children:_.endpoint}),P=c(_.health?"":"Unhealthy");return g.jsxs(g.Fragment,{children:[g.jsx("span",{className:_n["member-item-label"],children:"Endpoint:"}),T,g.jsx("span",{className:_n["member-item-label"],children:"Health:"}),P]})},S=_=>{const T=_.getValue()||[];if(!T.length)return"-";const P=T.map(k=>g.jsx("li",{className:_n["member-item"],children:v(k)},k.endpoint));return g.jsx("ul",{className:_n["member-list"],children:P})},h=b.useMemo(()=>[{field:"name",headerName:"Sys Name",searchable:!0},{field:"clusterStatus",headerName:"Cluster Status",maxWidth:200,renderCell:T=>i(c(T.getValue()))},{field:"members",headerName:"Members Status",renderCell:S}],[]),C=qt({cols:h,list:n.data});return g.jsxs("div",{className:_n.info,children:[g.jsx(Lt,{title:"System Information",children:g.jsx(Mt,{classes:{tableContainer:ot(_n["sys-info"],"table-view")},loading:e.isLoading,columns:s,rows:e.data})}),g.jsx(Lt,{title:"Component Information",children:g.jsxs(g.Fragment,{children:[g.jsx(ID,{className:_n["comp-tabs"],value:r,labelConfigs:l,handleChange:m,tabsType:"background"}),r==="base"&&g.jsxs(g.Fragment,{children:[d.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(_n["comp-info"],"table-view")},loading:e.isLoading,columns:u,rows:d.list})]}),r==="metrics"&&g.jsxs(g.Fragment,{children:[p.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(_n["comp-info"],"table-view")},loading:e.isLoading,columns:f,rows:p.list})]})]})}),g.jsx(Lt,{title:"Connected Clients",children:g.jsxs(g.Fragment,{children:[w.renderSearcher({defaultFilter:"host",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(_n.clients,"table-view")},loading:t.isLoading,columns:y,rows:w.list})]})}),g.jsx(Lt,{title:"System Dependencies",children:g.jsxs(g.Fragment,{children:[C.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(_n["sys-deps"],"table-view")},loading:n.isLoading,columns:h,rows:C.list||[]})]})})]})},xq="_queryable_191jh_1",Sq="_error_191jh_4",wq="_detail_191jh_12",Cq="_clear_191jh_17",_q="_loading_191jh_1",hn={queryable:xq,error:Sq,"collection-filter":"_collection-filter_191jh_8",detail:wq,clear:Cq,"json-detail-wrapper":"_json-detail-wrapper_191jh_29","json-detail-content":"_json-detail-content_191jh_29","json-detail-loading":"_json-detail-loading_191jh_35","json-detail-loading-icon":"_json-detail-loading-icon_191jh_39",loading:_q,"collection-filter-wrapper":"_collection-filter-wrapper_191jh_46"},gS=e=>{const{fetcher:t,uniqKey:n,className:r,errorMessage:o}=e,i=gt(n,t),a=b.useMemo(()=>i.data?i.error?o:JSON.stringify(i.data,null,2):"",[i.data,o]),s=()=>i.isLoading?g.jsx("div",{className:hn["json-detail-loading"],children:g.jsx(xA,{className:hn["json-detail-loading-icon"]})}):g.jsx("pre",{className:ot(hn["json-detail-content"],i.error&&hn.error),children:a});return g.jsx("div",{className:ot(hn["json-detail-wrapper"],r),children:s()})},Rq=()=>{var h,C,R;const e=qG(),[t,n]=b.useState({}),r=KG(t.db),[o,i]=b.useState({page:0,pageSize:10}),[a,s]=b.useState({page:0,pageSize:10}),l=b.useMemo(()=>[{field:"name",headerName:"Name",searchable:!0},{field:"id",headerName:"ID",renderCell:T=>T.getValue()||"-",searchable:!0},{field:"created",headerName:"Created Time"}],[]),c=qt({cols:l,list:e.data,onSearch:()=>{i(_=>({..._,page:0}))}}),u=_=>{const T=_.getValue(),P=T?"Yes":"No";return g.jsxs("span",{className:ot(hn.queryable,!T&&hn.error),children:[P," "]})},d=_=>{const T=_.getValue();return!T&&T!==0?"-":g.jsxs("span",{className:hn.percentage,children:[_.getValue(),"%"]})},f=b.useMemo(()=>[{field:"name",headerName:"Name",searchable:!0},{field:"id",headerName:"Collection ID",searchable:!0},{field:"created",headerName:"Created Time"},{field:"memoryPercentage",headerName:"Loaded Percentages",renderCell:d},{field:"queryServiceAvailable",headerName:"Queryable",renderCell:u,searchable:!0,searchBy:(T,P)=>P.filter(k=>(k.queryServiceAvailable?"yes":"no").includes(T.trim().toLocaleLowerCase()))}],[]),p=qt({cols:f,list:r.data,onSearch:()=>{s(_=>({..._,page:0}))}}),m=_=>{i(T=>({...T,page:_}))},y=_=>{s(T=>({...T,page:_}))},w=_=>g.jsx(gS,{className:hn.detail,uniqKey:`database-detail-${_.name}`,fetcher:()=>jU(_.name),errorMessage:"Failed to load database details."}),v=_=>g.jsx(gS,{className:hn.detail,uniqKey:`collection-detail-${t.db||"default"}-${_.name}`,fetcher:()=>BU(_.name,t.db),errorMessage:"Failed to load database details."}),S=(_,T)=>{n(P=>({...P,db:T==null?void 0:T.value}))};return g.jsxs("div",{className:hn.collections,children:[g.jsx(Lt,{title:"Database",children:g.jsxs(g.Fragment,{children:[c.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(hn["sys-deps"],"table-view")},columns:l,loading:e.isLoading,getRowId:_=>_.id,rows:c.list,renderDetail:w,page:o.page,pageSize:o.pageSize,paginationMode:"client",onPageChange:m,rowCount:((h=c.list)==null?void 0:h.length)||0})]})}),g.jsx(Lt,{title:"Collection",children:g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:hn["collection-filter-wrapper"],children:[g.jsx(I_,{className:hn["collection-filter"],onPointerEnterCapture:()=>{},onPointerLeaveCapture:()=>{},placeholder:"Search database",inputParams:{placeholder:"Search database..."},clearIcon:g.jsx(wA,{className:hn.clear,color:"secondary"}),options:((C=e.data)==null?void 0:C.map(_=>({label:_.name,value:_.name})))||[],onChange:S}),p.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"})]}),g.jsx(Mt,{classes:{tableContainer:ot(hn["sys-deps"],"table-view")},columns:f,loading:r.isLoading,getRowId:_=>_.id,rows:p.list||[],renderDetail:v,page:a.page,pageSize:a.pageSize,paginationMode:"client",showPagination:!0,onPageChange:y,rowCount:(R=p.list)==null?void 0:R.length})]})})]})},Pq="_json_12m13_1",wa={json:Pq},Jg={},Tq=()=>{const e=eq(),[t,n]=b.useState({page:0,pageSize:10}),[r,o]=b.useState({page:0,pageSize:10}),i=f=>{const p=f.getValue();return(p==null?void 0:p.join(", "))||"-"},a=b.useMemo(()=>[{field:"segment_id",headerName:"Segment ID"},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"partition_id",headerName:"Partition ID"},{field:"channel",headerName:"Channel",searchable:!0},{field:"num_of_rows",headerName:"Rows"},{field:"state",headerName:"State"},{field:"targetScope",headerName:"TargetScope"}],[]),s=qt({cols:a,list:e.targetSeg,onSearch:()=>{n(f=>({...f,page:0}))}}),l=b.useMemo(()=>[{field:"channel_name",headerName:"Channel Name",searchable:!0},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"node_id",headerName:"Node ID",searchable:!0},{field:"version",headerName:"Version"},{field:"unflushed_segment_ids",headerName:"Unflushed Segments",renderCell:i},{field:"flushed_segment_ids",headerName:"Flushed Segments",renderCell:i},{field:"dropped_segment_ids",headerName:"Dropoed Segments",renderCell:i},{field:"targetScope",headerName:"TargetScope"}],[]),c=qt({cols:l,list:e.targetChannel,onSearch:()=>{o(f=>({...f,page:0}))}}),u=f=>{n(p=>({...p,page:f}))},d=f=>{o(p=>({...p,page:f}))};return g.jsxs("div",{className:Jg.query,children:[g.jsx(Lt,{title:"Target Segments",children:g.jsxs(g.Fragment,{children:[s.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(Jg.segs,"table-view")},columns:a,loading:e.isLoading,getRowId:f=>f.segment_id,rows:s.list,page:t.page,pageSize:t.pageSize,paginationMode:"client",showPagination:!0,onPageChange:u,rowCount:s.list.length})]})}),g.jsx(Lt,{title:"Target Channels",children:g.jsxs(g.Fragment,{children:[c.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(Jg.channels,"table-view")},columns:l,loading:e.isLoading,getRowId:f=>f.name,rows:c.list,page:r.page,pageSize:r.pageSize,paginationMode:"client",showPagination:!0,onPageChange:d,rowCount:c.list.length})]})})]})},kq=()=>{const e=ZG(),t=XG(),n=JG(),[r,o]=b.useState({page:0,pageSize:10}),[i,a]=b.useState({page:0,pageSize:10}),s=_=>{const P=_.getValue().map((k,x)=>{const $=k==="CT"?g.jsx(H2,{to:"/query_target",children:k}):g.jsx("span",{children:k},k),I=x>0&&g.jsx("i",{children:" | "});return g.jsxs(g.Fragment,{children:[I,$]})});return g.jsx("div",{children:P})},l=_=>_.getValue()||"Not Found",c=b.useMemo(()=>[{field:"segment_id",headerName:"Segment ID"},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"leader_id",headerName:"Leader ID",renderCell:l,searchable:!0},{field:"node_id",headerName:"Node ID",searchable:!0},{field:"state",headerName:"State"},{field:"num_of_rows",headerName:"Rows"},{field:"from",headerName:"From",renderCell:s}],[]),u=qt({cols:c,list:e.segsData,onSearch:()=>{o(_=>({..._,page:0}))}}),d=_=>{const{data:T}=_;return T.name||T.channel_name},f=b.useMemo(()=>[{field:"channel_name",headerName:"Channel Name",renderCell:d,searchable:!0},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"leader_id",headerName:"Leader ID",renderCell:l,searchable:!0},{field:"node_id",headerName:"Node ID",searchable:!0},{field:"watch_state",headerName:"Watch State"},{field:"from",headerName:"From",renderCell:s}],[]),p=qt({cols:f,list:e.channelsData,onSearch:()=>{a(_=>({..._,page:0}))}}),m=_=>{const T=_.getValue();return(T==null?void 0:T.join(", "))||"-"},y=b.useMemo(()=>[{field:"ID",headerName:"ID",searchable:!0},{field:"collectionID",headerName:"Collection ID",renderCell:T=>T.getValue()||"-",searchable:!0},{field:"rw_nodes",headerName:"RW Nodes",renderCell:m},{field:"ro_nodes",headerName:"RO Nodes",renderCell:m},{field:"resource_group",headerName:"Resource Group",renderCell:T=>T.getValue()||"-"}],[]),w=qt({cols:y,list:t.data}),v=_=>{const T=_.getValue(),P=T?JSON.stringify(T,null,2):"";return g.jsx("pre",{className:wa.json,children:P})},S=b.useMemo(()=>[{field:"name",headerName:"Name",searchable:!0},{field:"nodes",headerName:"Nodes",renderCell:m},{field:"cfg",headerName:"Cfg",renderCell:v}],[]),h=qt({cols:S,list:n.data}),C=_=>{o(T=>({...T,page:_}))},R=_=>{a(T=>({...T,page:_}))};return g.jsxs("div",{className:wa.query,children:[g.jsx(Lt,{title:"Segments",children:g.jsxs(g.Fragment,{children:[u.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(wa.segs,"table-view")},columns:c,loading:e.isLoading,getRowId:_=>_.segment_id,rows:u.list,page:r.page,pageSize:r.pageSize,paginationMode:"client",showPagination:!0,onPageChange:C,rowCount:u.list.length||0})]})}),g.jsx(Lt,{title:"Channels",children:g.jsxs(g.Fragment,{children:[p.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(wa.channels,"table-view")},columns:f,loading:e.isLoading,getRowId:_=>_.name,rows:p.list,page:i.page,pageSize:i.pageSize,paginationMode:"client",showPagination:!0,onPageChange:R,rowCount:p.list.length})]})}),g.jsx(Lt,{title:"Replicas",children:g.jsxs(g.Fragment,{children:[w.renderSearcher({defaultFilter:"ID",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(wa.replicas,"table-view")},columns:y,loading:t.isLoading,getRowId:_=>_.ID,rows:w.list||[],showPagination:!1})]})}),g.jsx(Lt,{title:"Resource Groups",children:g.jsxs(g.Fragment,{children:[h.renderSearcher({defaultFilter:"name",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(wa.resourceGroups,"table-view")},columns:S,loading:n.isLoading,getRowId:_=>_.name,rows:h.list||[],showPagination:!1})]})})]})},al={"noty-list":"_noty-list_uuq1r_1","noty-item-content":"_noty-item-content_uuq1r_7"},$q=()=>{const e=rq(),[t,n]=b.useState({page:0,pageSize:10}),[r,o]=b.useState({page:0,pageSize:10}),i=w=>{const{data:v}=w;return v.name||v.channel_name},a=w=>{const v=w.getValue();return new Date(v).getFullYear()===1970?"N/A":v||"N/A"},s=b.useMemo(()=>[{field:"channel_name",headerName:"Channel Name",searchable:!0,renderCell:i},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"watch_state",headerName:"Watch State",renderCell:a},{field:"node_id",headerName:"Node ID"},{field:"latest_time_tick",headerName:"Latest Time Tick",renderCell:a},{field:"check_point_ts",headerName:"Checkpoint Ts",renderCell:a}],[]),l=b.useMemo(()=>[{field:"segment_id",headerName:"Segment ID"},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"partition_id",headerName:"Partition ID"},{field:"channel",headerName:"Channel",searchable:!0},{field:"num_of_rows",headerName:"Num of Rows"},{field:"state",headerName:"State"},{field:"level",headerName:"Level",searchable:!0}],[]),c=qt({cols:l,list:e.seg.data,onSearch:()=>{o(w=>({...w,page:0}))}}),u=qt({cols:s,list:e.channel.data,onSearch:()=>{n(w=>({...w,page:0}))}}),d=w=>{o(v=>({...v,page:w}))},f=w=>{n(v=>({...v,page:w}))},p=w=>{const v=w==null?void 0:w.map(S=>g.jsx(k_,{severity:"warning",children:g.jsxs("div",{className:al["noty-item-content"],children:[g.jsxs("strong",{children:[S.prefix,":"]}),g.jsx("span",{children:S.name}),g.jsx("strong",{children:S.msg})]})},S.name));return g.jsx("div",{className:al["noty-list"],children:v})},m=e.channel.notifications.map(w=>({name:w.name||w.channel_name,prefix:"Channel",msg:w.notification})),y=e.seg.notifications.map(w=>({name:w.segment_id,prefix:"Segment",msg:w.notification}));return g.jsxs("div",{className:al.data,children:[g.jsx(Lt,{title:"Segments",children:g.jsxs(g.Fragment,{children:[c.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(al[" = useTableFilter("],"table-view")},columns:l,loading:e.isLoading,getRowId:w=>w.name,rows:c.list,page:r.page,pageSize:r.pageSize,paginationMode:"client",showPagination:!0,onPageChange:d,rowCount:c.list.length}),p(y)]})}),g.jsx(Lt,{title:"Channels",children:g.jsxs(g.Fragment,{children:[u.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(al.channels,"table-view")},columns:s,loading:e.isLoading,getRowId:w=>w.segment_id,rows:u.list,page:t.page,pageSize:t.pageSize,paginationMode:"client",showPagination:!0,onPageChange:f,rowCount:u.list.length}),p(m)]})})]})},Ci={"text-content":"_text-content_1tkuh_1"},Eq=()=>{const e=aq(),t=sq(),n=lq(),r=cq(),o=uq(),i=h=>g.jsx("div",{className:Ci["text-content"],children:h||"-"}),a=h=>{const C=h.getValue();return(C==null?void 0:C.join(", "))||"-"},s=b.useMemo(()=>[{field:"task_name",headerName:"Task Name",searchable:!0},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"task_type",headerName:"Task Type",searchable:!0},{field:"task_status",headerName:"Task Status",searchable:!0},{field:"actions",headerName:"Actions",renderCell:C=>i(a(C))}],[]),l=qt({cols:s,list:e.data}),c=(h,C)=>R=>{const{[h]:_,[C]:T}=R.data;return Mq(zd(_),zd(T))},u=b.useMemo(()=>[{field:"plan_id",headerName:"Plan ID"},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"type",headerName:"Type",searchable:!0},{field:"state",headerName:"State",searchable:!0},{field:"start_time",headerName:"Start Time"},{field:"execution_time",headerName:"Execution Time",renderCell:c("start_time","end_Time")},{field:"total_rows",headerName:"Total Rows"},{field:"input_segments",headerName:"Input Segments",renderCell:a},{field:"result_segments",headerName:"Result Segments",renderCell:a}],[]),d=qt({cols:u,list:t.data}),f=b.useMemo(()=>[{field:"index_id",headerName:"Index ID",searchable:!0},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"segment_id",headerName:"Segment ID",searchable:!0},{field:"build_id",headerName:"Build ID",searchable:!0},{field:"index_state",headerName:"Index State"},{field:"index_size",headerName:"Index Size"},{field:"index_version",headerName:"Index Version"},{field:"create_time",headerName:"Create Time"}],[]),p=qt({cols:f,list:n.data}),m=h=>{const{state:C,reason:R}=h.data;return C==="Failed"?R:C},y=b.useMemo(()=>[{field:"job_id",headerName:"Job ID",searchable:!0},{field:"task_id",headerName:"Task ID",searchable:!0},{field:"collection_id",headerName:"Collection ID",searchable:!0},{field:"node_id",headerName:"Node ID",searchable:!0},{field:"state",headerName:"State",searchable:!0,renderCell:m,searchBy:(C,R)=>R.filter(_=>m({data:_}).toLowerCase().includes(C.toLowerCase().trim()))},{field:"task_type",headerName:"Task Type"},{field:"created_time",headerName:"Created Time"},{field:"execution_time",headerName:"Execution Time",renderCell:c("created_time","complete_time")}],[]),w=qt({cols:y,list:r.data}),v=b.useMemo(()=>[{field:"segment_id",headerName:"Segment ID",searchable:!0},{field:"batch_rows",headerName:"Batch Rows"},{field:"segment_level",headerName:"Segment Level",searchable:!0},{field:"ts_from",headerName:"Timestamp From"},{field:"ts_to",headerName:"Timestamp To"},{field:"delta_row_count",headerName:"Delta Row Count"},{field:"flush_size",headerName:"Flush Size"},{field:"running_time",headerName:"Running Time"},{field:"node_id",headerName:"Node ID",searchable:!0}],[]),S=qt({cols:v,list:o.data});return g.jsxs("div",{className:Ci.tasks,children:[g.jsx(Lt,{title:"QueryCoord Tasks",children:g.jsxs(g.Fragment,{children:[l.renderSearcher({defaultFilter:"task_name",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(Ci["tasks-table"],"table-view")},columns:s,loading:e.isLoading,getRowId:h=>h.task_name,rows:l.list||[]})]})}),g.jsx(Lt,{title:"Compaction Tasks",children:g.jsxs(g.Fragment,{children:[d.renderSearcher({defaultFilter:"collection_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(Ci.compaction,"table-view")},columns:u,loading:t.isLoading,getRowId:h=>h.plan_id,rows:d.list||[]})]})}),g.jsx(Lt,{title:"Index Build Tasks",children:g.jsxs(g.Fragment,{children:[p.renderSearcher({defaultFilter:"index_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(Ci["index-build"],"table-view")},columns:f,loading:n.isLoading,getRowId:h=>h.index_id,rows:p.list||[]})]})}),g.jsx(Lt,{title:"Import Tasks",children:g.jsxs(g.Fragment,{children:[w.renderSearcher({defaultFilter:"job_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(Ci.import,"table-view")},columns:y,loading:r.isLoading,getRowId:h=>h.job_id,rows:w.list||[]})]})}),g.jsx(Lt,{title:"Sync Tasks",children:g.jsxs(g.Fragment,{children:[S.renderSearcher({defaultFilter:"segment_id",className:"table-view-filter-searcher"}),g.jsx(Mt,{classes:{tableContainer:ot(Ci.sync,"table-view")},columns:v,loading:o.isLoading,getRowId:h=>h.segment_id,rows:S.list||[]})]})})]})};function Mq(e,t){const n=t.diff(e),r=Math.floor(n/1e3),o=Math.floor(r/60),i=Math.floor(o/60),a=Math.floor(i/24),s=Math.floor(a/30),l=Math.floor(s/12);return l>0?`${l}year${l>1?"s":""}`:s>0?`${s} month${s>1?"s":""}`:a>0?`${a} day${a>1?"s":""}`:i>0?`${i} h`:o>0?`${o} m`:r>0?`${r} s`:"< 1s"}const Iq="_notice_ezgri_18",Oq="_json_ezgri_5",Ao={"slow-requests":"_slow-requests_ezgri_1","sr-table":"_sr-table_ezgri_1","json-ellipsis":"_json-ellipsis_ezgri_5","json-ellipsis-brace":"_json-ellipsis-brace_ezgri_8","json-ellipsis-dot":"_json-ellipsis-dot_ezgri_12",notice:Iq,json:Oq},Lq=()=>{const e=dq(),t=o=>{const i=o?JSON.stringify(o,null,2):"";return g.jsx("pre",{className:Ao.json,children:i})},n=o=>g.jsx(cp,{title:t(o.getValue()),placement:"top",children:g.jsxs("span",{className:Ao["json-ellipsis"],children:[g.jsx("span",{className:Ao["json-ellipsis-brace"],children:"{"}),g.jsx("span",{className:Ao["json-ellipsis-dot"],children:"..."}),g.jsx("span",{className:Ao["json-ellipsis-brace"],children:"}"})]})}),r=b.useMemo(()=>[{field:"time",headerName:"Time"},{field:"trace_id",headerName:"Trace ID"},{field:"type",headerName:"Request"},{field:"user",headerName:"User",renderCell:i=>i.getValue()||"unknown"},{field:"database",headerName:"Database"},{field:"collection",headerName:"Collection"},{field:"query_params",headerName:"Parameters",renderCell:n},{field:"duration",headerName:"Duration"}],[]);return g.jsx("div",{className:Ao["slow-requests"],children:g.jsx(Lt,{title:"Slow Requests",children:g.jsxs(g.Fragment,{children:[g.jsx("div",{className:Ao.notice,children:g.jsxs(k_,{severity:"warning",children:[g.jsx("strong",{children:"Notice: "})," Slow request in the last 5 minutes."]})}),g.jsx(Mt,{classes:{tableContainer:ot(Ao["sr-table"],"table-view")},columns:r,loading:e.isLoading,getRowId:o=>o.task_name,rows:e.data||[]})]})})})},eh={},Aq=()=>{const e=fq(),[t,n]=b.useState({page:0,pageSize:10}),[r,o]=b.useState({}),i=u=>{n(d=>({...d,page:u}))},a=u=>g.jsx("div",{className:eh["text-content"],children:u||"-"}),s=b.useMemo(()=>[{field:"key",headerName:"Attribute"},{field:"value",headerName:"Value",renderCell:d=>a(d.getValue())}],[]),l=u=>{o(d=>({...d,q:u.target.value}))},c=b.useMemo(()=>{const u=r.q||"";return(e.data||[]).filter(d=>{const f=d.key.toLowerCase().includes(u.toLowerCase()),p=d.value.toLowerCase().includes(u.toLowerCase());return f||p})},[e.data,r]);return g.jsx("div",{className:eh["slow-requests"],children:g.jsx(Lt,{title:"Milvus Configurations",children:g.jsxs(g.Fragment,{children:[g.jsx(w1,{classes:{root:"table-view-searcher"},type:"number",value:r.q,onChange:l,placeholder:"Search attribute or value...",onPointerEnterCapture:()=>{},onPointerLeaveCapture:()=>{}}),g.jsx(Mt,{classes:{tableContainer:ot(eh["sr-table"],"table-view")},columns:s,loading:e.isLoading,getRowId:u=>u.task_name,rows:c,page:t.page,pageSize:t.pageSize,paginationMode:"client",showPagination:!0,onPageChange:i,rowCount:c.length})]})})})},Nq="_trigger_1f0gw_1",Dq="_opened_1f0gw_6",Cu={trigger:Nq,opened:Dq,"tools-menu":"_tools-menu_1f0gw_13","menu-item-content":"_menu-item-content_1f0gw_24"},jq=e=>{const[t,n]=b.useState(null),r=!!t,o=b.useMemo(()=>[{name:"Pprof",link:"/debug/pprof"},{name:"Memory Data Visualization",link:"/static"}],[]),i=f=>()=>{window.open(f.link,"_blank")},a=()=>o.map(f=>g.jsx(Tc,{onClick:i(f),children:g.jsxs("div",{className:Cu["menu-item-content"],children:[f.name,g.jsx(PA,{})]})})),s=()=>{n(null)},l=g.jsx(v1,{open:r,anchorEl:t,onClose:s,container:document.body,autoFocus:!1,classes:{paper:Cu["tools-menu"]},children:a()}),c=f=>{n(p=>p?null:f.currentTarget)},u=ot(Cu.trigger,r&&Cu.opened,e.className),d=g.jsxs("span",{className:u,onClick:c,children:["Tools",g.jsx(na,{})]});return g.jsxs(g.Fragment,{children:[d,l]})},Fq="_header_y6xm8_7",Bq="_nav_y6xm8_18",zq="_active_y6xm8_26",Hq="_others_y6xm8_32",Vq="_content_y6xm8_45",Pr={header:Fq,nav:Bq,"nav-item":"_nav-item_y6xm8_22",active:zq,others:Hq,"zilliz-link":"_zilliz-link_y6xm8_35","zilliz-link-text":"_zilliz-link-text_y6xm8_41",content:Vq},Wq=()=>{const e=D2(),t=()=>{e("/")},n=b.useMemo(()=>[{name:"Home",id:"index",path:"/",Comp:bq},{name:"Collections",id:"collections",path:"/collections",Comp:Rq},{name:"Query",id:"query",path:"/query_component",Comp:kq},{name:"Query Target",withoutNav:!0,id:"query_target",path:"/query_target",Comp:Tq},{name:"Data",id:"data",path:"/data_component",Comp:$q},{name:"Tasks",id:"tasks",path:"/tasks",Comp:Eq},{name:"Slow Requests",id:"slowRequests",path:"/slow_requests",Comp:Lq},{name:"Configurations",id:"configs",path:"/configs",Comp:Aq}],[]),r=()=>g.jsx("div",{className:Pr.logo,onClick:t,children:g.jsx("img",{src:rG})}),o=()=>{const l=n.filter(c=>!c.withoutNav).map(c=>g.jsx(Yk,{className:({isActive:u})=>ot(Pr["nav-item"],u&&Pr.active),to:c.path,children:c.name},c.id));return l.push(g.jsx(jq,{className:Pr["nav-item"]})),g.jsx("div",{className:Pr.nav,children:l})},i=()=>{window.open("https://cloud.zilliz.com/signup","_blank")},a=()=>g.jsx("div",{className:Pr.others,children:g.jsxs(dp,{classes:{contained:Pr["zilliz-link"]},onClick:i,children:[g.jsx("span",{className:Pr["zilliz-link-text"],children:"Zilliz cloud"}),g.jsx(CA,{})]})}),s=()=>n.map(l=>g.jsx(B2,{path:l.path,Component:l.Comp},l.id));return g.jsxs("div",{className:Pr.layout,children:[g.jsxs("header",{className:Pr.header,children:[r(),o(),a()]}),g.jsx("div",{className:Pr.content,children:g.jsx(Bk,{children:s()})})]})},Uq=()=>{const e=UF("enUS");l3(),T2(document.getElementById("root")).render(g.jsx(XE,{theme:e,children:g.jsx(Kk,{basename:"webui",children:g.jsx(Wq,{})})}))};Uq(); diff --git a/internal/http/webui/index.html b/internal/http/webui/index.html index d7eb6fc7422c0..e480d65d3487d 100644 --- a/internal/http/webui/index.html +++ b/internal/http/webui/index.html @@ -2,13 +2,24 @@ - - - - + + + + Milvus Management - - + +