@nebula.js/sn-table 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-specifications/properties.json +1 -1
- package/core/esm/index.js +82 -58
- package/dist/sn-table.js +3 -3
- package/package.json +1 -1
package/core/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/sn-table v1.
|
|
2
|
+
* @nebula.js/sn-table v1.7.0
|
|
3
3
|
* Copyright (c) 2022 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -502,7 +502,7 @@ const properties$1 = {
|
|
|
502
502
|
* @type {string}
|
|
503
503
|
* @default
|
|
504
504
|
*/
|
|
505
|
-
version: "1.
|
|
505
|
+
version: "1.7.0",
|
|
506
506
|
|
|
507
507
|
/**
|
|
508
508
|
* Extends HyperCubeDef, see Engine API: HyperCubeDef
|
|
@@ -8356,7 +8356,7 @@ function getContainer$1(container) {
|
|
|
8356
8356
|
*/
|
|
8357
8357
|
|
|
8358
8358
|
|
|
8359
|
-
const Portal = /*#__PURE__*/React.forwardRef(function Portal(props, ref) {
|
|
8359
|
+
const Portal$1 = /*#__PURE__*/React.forwardRef(function Portal(props, ref) {
|
|
8360
8360
|
const {
|
|
8361
8361
|
children,
|
|
8362
8362
|
container,
|
|
@@ -8392,7 +8392,7 @@ const Portal = /*#__PURE__*/React.forwardRef(function Portal(props, ref) {
|
|
|
8392
8392
|
|
|
8393
8393
|
return mountNode ? /*#__PURE__*/ReactDOM.createPortal(children, mountNode) : mountNode;
|
|
8394
8394
|
});
|
|
8395
|
-
Portal.propTypes
|
|
8395
|
+
Portal$1.propTypes
|
|
8396
8396
|
/* remove-proptypes */
|
|
8397
8397
|
= {
|
|
8398
8398
|
// ----------------------------- Warning --------------------------------
|
|
@@ -8425,10 +8425,10 @@ Portal.propTypes
|
|
|
8425
8425
|
|
|
8426
8426
|
{
|
|
8427
8427
|
// eslint-disable-next-line
|
|
8428
|
-
Portal['propTypes' + ''] = exactProp(Portal.propTypes);
|
|
8428
|
+
Portal$1['propTypes' + ''] = exactProp(Portal$1.propTypes);
|
|
8429
8429
|
}
|
|
8430
8430
|
|
|
8431
|
-
var Portal$
|
|
8431
|
+
var Portal$2 = Portal$1;
|
|
8432
8432
|
|
|
8433
8433
|
function isOverflowing(container) {
|
|
8434
8434
|
const doc = ownerDocument(container);
|
|
@@ -9245,7 +9245,7 @@ const ModalUnstyled = /*#__PURE__*/React.forwardRef(function ModalUnstyled(props
|
|
|
9245
9245
|
|
|
9246
9246
|
const Root = components.Root || component;
|
|
9247
9247
|
const rootProps = componentsProps.root || {};
|
|
9248
|
-
return /*#__PURE__*/jsxRuntime.exports.jsx(Portal$
|
|
9248
|
+
return /*#__PURE__*/jsxRuntime.exports.jsx(Portal$2, {
|
|
9249
9249
|
ref: handlePortalRef,
|
|
9250
9250
|
container: container,
|
|
9251
9251
|
disablePortal: disablePortal,
|
|
@@ -23542,6 +23542,13 @@ function announcementFactory(rootElement, translator, prevAnnounceEl) {
|
|
|
23542
23542
|
};
|
|
23543
23543
|
}
|
|
23544
23544
|
|
|
23545
|
+
function Portal({
|
|
23546
|
+
children,
|
|
23547
|
+
target
|
|
23548
|
+
}) {
|
|
23549
|
+
return ReactDOM__default.createPortal(children, target);
|
|
23550
|
+
}
|
|
23551
|
+
|
|
23545
23552
|
function TableWrapper(props) {
|
|
23546
23553
|
const {
|
|
23547
23554
|
rootElement,
|
|
@@ -23554,6 +23561,7 @@ function TableWrapper(props) {
|
|
|
23554
23561
|
keyboard,
|
|
23555
23562
|
rect,
|
|
23556
23563
|
direction,
|
|
23564
|
+
footerContainer,
|
|
23557
23565
|
announcer // this is only for testing purposes
|
|
23558
23566
|
|
|
23559
23567
|
} = props;
|
|
@@ -23571,7 +23579,6 @@ function TableWrapper(props) {
|
|
|
23571
23579
|
const shouldRefocus = useRef(false);
|
|
23572
23580
|
const tableContainerRef = useRef();
|
|
23573
23581
|
const tableWrapperRef = useRef();
|
|
23574
|
-
const fixedRowsPerPage = selectionsAPI.isModal() || rect.width < 550 || size.qcx > 100;
|
|
23575
23582
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
23576
23583
|
|
|
23577
23584
|
const announce = announcer || useMemo(() => announcementFactory(rootElement, translator), [translator.language]);
|
|
@@ -23656,12 +23663,9 @@ function TableWrapper(props) {
|
|
|
23656
23663
|
backgroundColor: 'rgb(255, 255, 255)',
|
|
23657
23664
|
boxShadow: 'none'
|
|
23658
23665
|
};
|
|
23659
|
-
const tableContainerStyle =
|
|
23660
|
-
height: '100%',
|
|
23661
|
-
overflow: 'hidden'
|
|
23662
|
-
} : {
|
|
23663
|
-
height: 'calc(100% - 52px)',
|
|
23664
|
-
overflow: 'auto'
|
|
23666
|
+
const tableContainerStyle = {
|
|
23667
|
+
height: constraints.active || footerContainer ? '100%' : 'calc(100% - 52px)',
|
|
23668
|
+
overflow: constraints.active ? 'hidden' : 'auto'
|
|
23665
23669
|
};
|
|
23666
23670
|
const paperTablePaginationStyle = {
|
|
23667
23671
|
display: 'flex',
|
|
@@ -23673,6 +23677,62 @@ function TableWrapper(props) {
|
|
|
23673
23677
|
boxShadow: 'none',
|
|
23674
23678
|
alignItems: 'center'
|
|
23675
23679
|
};
|
|
23680
|
+
|
|
23681
|
+
const paginationContent = width => {
|
|
23682
|
+
const fixedRowsPerPage = selectionsAPI.isModal() || width < 550 || size.qcx > 100;
|
|
23683
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(TablePagination$1, {
|
|
23684
|
+
sx: constraints.active && {
|
|
23685
|
+
display: 'none'
|
|
23686
|
+
},
|
|
23687
|
+
rowsPerPageOptions: fixedRowsPerPage ? [rowsPerPage] : rowsPerPageOptions,
|
|
23688
|
+
component: "div",
|
|
23689
|
+
count: size.qcy,
|
|
23690
|
+
rowsPerPage: rowsPerPage,
|
|
23691
|
+
labelRowsPerPage: `${translator.get('SNTable.Pagination.RowsPerPage')}:`,
|
|
23692
|
+
page: page,
|
|
23693
|
+
SelectProps: {
|
|
23694
|
+
inputProps: {
|
|
23695
|
+
'aria-label': translator.get('SNTable.Pagination.RowsPerPage'),
|
|
23696
|
+
'data-testid': 'select',
|
|
23697
|
+
style: {
|
|
23698
|
+
color: '#404040'
|
|
23699
|
+
},
|
|
23700
|
+
tabIndex: !keyboard.enabled || keyboard.active ? 0 : -1
|
|
23701
|
+
},
|
|
23702
|
+
native: true
|
|
23703
|
+
},
|
|
23704
|
+
labelDisplayedRows: ({
|
|
23705
|
+
from,
|
|
23706
|
+
to,
|
|
23707
|
+
count
|
|
23708
|
+
}) => width > 250 && translator.get('SNTable.Pagination.DisplayedRowsLabel', [`${from} - ${to}`, count]),
|
|
23709
|
+
onRowsPerPageChange: handleChangeRowsPerPage,
|
|
23710
|
+
ActionsComponent: () => /*#__PURE__*/React__default.createElement("div", null, null),
|
|
23711
|
+
onPageChange: () => {}
|
|
23712
|
+
}), /*#__PURE__*/React__default.createElement(TablePaginationActions, {
|
|
23713
|
+
direction: direction,
|
|
23714
|
+
page: page,
|
|
23715
|
+
onPageChange: handleChangePage,
|
|
23716
|
+
lastPageIdx: Math.ceil(size.qcy / rowsPerPage) - 1,
|
|
23717
|
+
keyboard: keyboard,
|
|
23718
|
+
isInSelectionMode: selectionsAPI.isModal(),
|
|
23719
|
+
tableWidth: width,
|
|
23720
|
+
translator: translator
|
|
23721
|
+
}));
|
|
23722
|
+
};
|
|
23723
|
+
|
|
23724
|
+
let paginationBar;
|
|
23725
|
+
|
|
23726
|
+
if (footerContainer) {
|
|
23727
|
+
paginationBar = /*#__PURE__*/React__default.createElement(Portal, {
|
|
23728
|
+
target: footerContainer
|
|
23729
|
+
}, paginationContent(footerContainer.getBoundingClientRect().width));
|
|
23730
|
+
} else {
|
|
23731
|
+
paginationBar = /*#__PURE__*/React__default.createElement(Paper$1, {
|
|
23732
|
+
sx: paperTablePaginationStyle
|
|
23733
|
+
}, paginationContent(rect.width));
|
|
23734
|
+
}
|
|
23735
|
+
|
|
23676
23736
|
return /*#__PURE__*/React__default.createElement(Paper$1, {
|
|
23677
23737
|
dir: direction,
|
|
23678
23738
|
sx: paperStyle,
|
|
@@ -23705,51 +23765,12 @@ function TableWrapper(props) {
|
|
|
23705
23765
|
setFocusedCellCoord: setFocusedCellCoord,
|
|
23706
23766
|
setShouldRefocus: setShouldRefocus,
|
|
23707
23767
|
tableWrapperRef: tableWrapperRef
|
|
23708
|
-
})))),
|
|
23709
|
-
sx: paperTablePaginationStyle
|
|
23710
|
-
}, /*#__PURE__*/React__default.createElement(TablePagination$1, {
|
|
23711
|
-
sx: constraints.active && {
|
|
23712
|
-
display: 'none'
|
|
23713
|
-
},
|
|
23714
|
-
rowsPerPageOptions: fixedRowsPerPage ? [rowsPerPage] : rowsPerPageOptions,
|
|
23715
|
-
component: "div",
|
|
23716
|
-
count: size.qcy,
|
|
23717
|
-
rowsPerPage: rowsPerPage,
|
|
23718
|
-
labelRowsPerPage: `${translator.get('SNTable.Pagination.RowsPerPage')}:`,
|
|
23719
|
-
page: page,
|
|
23720
|
-
SelectProps: {
|
|
23721
|
-
inputProps: {
|
|
23722
|
-
'aria-label': translator.get('SNTable.Pagination.RowsPerPage'),
|
|
23723
|
-
'data-testid': 'select',
|
|
23724
|
-
style: {
|
|
23725
|
-
color: '#404040'
|
|
23726
|
-
},
|
|
23727
|
-
tabIndex: !keyboard.enabled || keyboard.active ? 0 : -1
|
|
23728
|
-
},
|
|
23729
|
-
native: true
|
|
23730
|
-
},
|
|
23731
|
-
labelDisplayedRows: ({
|
|
23732
|
-
from,
|
|
23733
|
-
to,
|
|
23734
|
-
count
|
|
23735
|
-
}) => rect.width > 250 && translator.get('SNTable.Pagination.DisplayedRowsLabel', [`${from} - ${to}`, count]),
|
|
23736
|
-
onRowsPerPageChange: handleChangeRowsPerPage,
|
|
23737
|
-
ActionsComponent: () => /*#__PURE__*/React__default.createElement("div", null, null),
|
|
23738
|
-
onPageChange: () => {}
|
|
23739
|
-
}), /*#__PURE__*/React__default.createElement(TablePaginationActions, {
|
|
23740
|
-
direction: direction,
|
|
23741
|
-
page: page,
|
|
23742
|
-
onPageChange: handleChangePage,
|
|
23743
|
-
lastPageIdx: Math.ceil(size.qcy / rowsPerPage) - 1,
|
|
23744
|
-
keyboard: keyboard,
|
|
23745
|
-
isInSelectionMode: selectionsAPI.isModal(),
|
|
23746
|
-
tableWidth: rect.width,
|
|
23747
|
-
translator: translator
|
|
23748
|
-
})));
|
|
23768
|
+
})))), paginationBar);
|
|
23749
23769
|
}
|
|
23750
23770
|
TableWrapper.defaultProps = {
|
|
23751
23771
|
announcer: null,
|
|
23752
|
-
direction: null
|
|
23772
|
+
direction: null,
|
|
23773
|
+
footerContainer: null
|
|
23753
23774
|
};
|
|
23754
23775
|
TableWrapper.propTypes = {
|
|
23755
23776
|
rootElement: PropTypes.object.isRequired,
|
|
@@ -23761,6 +23782,7 @@ TableWrapper.propTypes = {
|
|
|
23761
23782
|
selectionsAPI: PropTypes.object.isRequired,
|
|
23762
23783
|
keyboard: PropTypes.object.isRequired,
|
|
23763
23784
|
rect: PropTypes.object.isRequired,
|
|
23785
|
+
footerContainer: PropTypes.object,
|
|
23764
23786
|
direction: PropTypes.string,
|
|
23765
23787
|
announcer: PropTypes.func
|
|
23766
23788
|
};
|
|
@@ -24478,7 +24500,8 @@ function supernova(env) {
|
|
|
24478
24500
|
const rootElement = useElement();
|
|
24479
24501
|
const layout = useStaleLayout();
|
|
24480
24502
|
const {
|
|
24481
|
-
direction
|
|
24503
|
+
direction,
|
|
24504
|
+
footerContainer
|
|
24482
24505
|
} = useOptions();
|
|
24483
24506
|
const model = useModel();
|
|
24484
24507
|
const constraints = useConstraints();
|
|
@@ -24512,7 +24535,8 @@ function supernova(env) {
|
|
|
24512
24535
|
theme,
|
|
24513
24536
|
changeSortOrder,
|
|
24514
24537
|
keyboard,
|
|
24515
|
-
rect
|
|
24538
|
+
rect,
|
|
24539
|
+
footerContainer
|
|
24516
24540
|
});
|
|
24517
24541
|
}
|
|
24518
24542
|
}, [tableData, constraints, direction, selectionsAPI.isModal(), theme.name(), keyboard.active, translator.language(), rect.width]);
|
package/dist/sn-table.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/sn-table v1.
|
|
2
|
+
* @nebula.js/sn-table v1.7.0
|
|
3
3
|
* Copyright (c) 2022 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@nebula.js/stardust")):"function"==typeof define&&define.amd?define(["@nebula.js/stardust"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["sn-table"]=t(e.stardust)}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var n={SNTable_Accessibility_NavigationInstructions:{id:"SNTable.Accessibility.NavigationInstructions",locale:{"de-DE":"Verwenden Sie die Pfeiltasten, um in den Tabellenzellen zu navigieren, und die Tabulatortaste, um zu den Paginierungssteuerungen zu wechseln. Alle Angaben zur Tastaturnavigation finden Sie in der Dokumentation.","en-US":"Use arrow keys to navigate in table cells and tab to move to pagination controls. For the full range of keyboard navigation, see the documentation.","es-ES":"Use las teclas de flecha para navegar en las celdas de la tabla y la pestaña para moverse a los controles de paginación. Para conocer la gama completa de navegación con teclado, consulte la documentación.","fr-FR":"Utilisez les touches fléchées pour parcourir les cellules du tableau et la tabulation pour accéder aux commandes de pagination. Pour connaître la gamme complète des commandes de navigation au clavier, voir la documentation.","it-IT":"Utilizzare i tasti freccia per navigare nelle celle della tabella e il tasto TAB per passare ai controlli di paginazione. Per informazioni complete sulla navigazione da tastiera, vedere la documentazione.","ja-JP":"矢印キーで表のセル内を移動し、タブ キーでページネーション コントロールに移動します。キーボード ナビゲーションの全範囲については、ドキュメントをご覧ください。","ko-KR":"화살표 키를 사용하여 테이블 셀을 탐색하고 탭을 사용하여 페이지 매김 컨트롤로 이동합니다. 전체 키보드 탐색 범위는 설명서를 참조하십시오.","nl-NL":"Gebruik de pijltjestoetsen om te navigeren in tabelcellen en de Tab-toets om naar besturingselementen voor paginering te gaan. Raadpleeg de documentatie voor een volledig overzicht van de toetsenbordnavigatie.","pl-PL":"Użyj klawiszy strzałek do poruszania się po komórkach tabeli oraz tabulatora do poruszania się po elementach sterujących stronami. Pełne informacje o nawigacji przy użyciu klawiatury zawiera dokumentacja.","pt-BR":"Use as setas para navegar nas células da tabela e Tab para mover para os controles de paginação. Para toda a gama de navegação do teclado, consulte a documentação.","ru-RU":"Используйте клавиши со стрелками для перемещения по ячейкам таблицы и клавишу табуляции для перехода к элементам управления разбивки на страницы. Полный перечень возможностей навигации с помощью клавиатуры см. в документации.","sv-SE":"Använd piltangenterna för att navigera i tabellcellerna och tabbtangenten för att flytta till pagineringskontrollerna. Se dokumentationen för komplett information om tangentbordsnavigering.","tr-TR":"Tablo hücrelerinde gezinmek için ok tuşlarını, sayfalandırma kontrollerine geçmek için sekmeyi kullanın. Tam kapsamlı klavye gezintisi için belgelere bakın.","zh-CN":"使用箭头键在表格单元格中导航,使用 tab 键移动到分页控件。有关键盘导航的完整范围,请参阅文档。","zh-TW":"使用方向鍵以在表格儲存格中導覽,並使用 Tab 以前往分頁控制。如需完整的鍵盤導覽,請參閱文件。"}},SNTable_Accessibility_RowsAndColumns:{id:"SNTable.Accessibility.RowsAndColumns",locale:{"de-DE":"Es werden {0} Zeilen und {1} Spalten angezeigt.","en-US":"Showing {0} rows and {1} columns.","es-ES":"Mostrando {0} filas y {1} columnas.","fr-FR":"Affichage de {0} lignes et de {1} colonnes.","it-IT":"Visualizzazione di {0} righe e {1} colonne.","ja-JP":"{0} 行 {1} 列を表示しています。","ko-KR":"{0}개의 행과 {1}개의 열을 표시합니다.","nl-NL":"{0} rijen en {1} kolommen worden getoond.","pl-PL":"Wyświetlane wiersze: {0} i kolumny: {1}.","pt-BR":"Mostrando {0} linhas e {1} colunas.","ru-RU":"Показаны строки ({0}) и столбцы ({1}).","sv-SE":"Visar {0} rader och {1} kolumner.","tr-TR":"{0} satır ve {1} sütun gösteriliyor.","zh-CN":"正在显示 {0} 行,{1} 列。","zh-TW":"顯示 {0} 列和 {1} 欄。"}},SNTable_Pagination_DisplayedRowsLabel:{id:"SNTable.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{1}의 {0}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},SNTable_Pagination_FirstPage:{id:"SNTable.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},SNTable_Pagination_LastPage:{id:"SNTable.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},SNTable_Pagination_NextPage:{id:"SNTable.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},SNTable_Pagination_PageStatusReport:{id:"SNTable.Pagination.PageStatusReport",locale:{"de-DE":"Die Seite wurde geändert. Seite {0} von {1} wird angezeigt.","en-US":"Page has changed. Showing page {0} of {1}.","es-ES":"La página ha cambiado. Mostrando página {0} de {1}.","fr-FR":"La page a changé. Affichage de la page {0} sur {1}.","it-IT":"La pagina è cambiata. Visualizzazione pagina {0} di {1}.","ja-JP":"ページが変更されました。{1} ページ中の {0} ページ目を表示しています。","ko-KR":"페이지가 변경되었습니다. {1}의 {0} 페이지를 보여 줍니다.","nl-NL":"Pagina is gewijzigd. Pagina {0} van {1} wordt weergeven.","pl-PL":"Strona się zmieniła Wyświetlanie strony {0} z {1}.","pt-BR":"A página mudou. Mostrando página {0} de {1}.","ru-RU":"Страница изменилась. Показана страница {0} из {1}.","sv-SE":"Sidan har ändrats. Visar sida {0} av {1}.","tr-TR":"Sayfa değişti. Sayfa {0} / {1} gösteriliyor.","zh-CN":"页面已更改。显示页面 {0} / {1}。","zh-TW":"頁面已變更。顯示第 {0} 頁,共 {1} 頁。"}},SNTable_Pagination_PreviousPage:{id:"SNTable.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},SNTable_Pagination_RowsPerPage:{id:"SNTable.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数:","zh-TW":"每頁列數"}},SNTable_Pagination_RowsPerPageChange:{id:"SNTable.Pagination.RowsPerPageChange",locale:{"de-DE":"Zeilen pro Seite wurden in {0} geändert. Jetzt wird die erste Seite angezeigt.","en-US":"Rows per page has changed to {0}. Now showing the first page.","es-ES":"El número de filas por página ha cambiado a {0}. Mostrando ahora la primera página.","fr-FR":"Le nombre de lignes par page a été remplacé par {0}. Affichage en cours de la première page.","it-IT":"Le righe per pagina sono cambiate a {0}. Viene ora mostrata la prima pagina.","ja-JP":"ページあたりの行数が {0} に変更されました。現在、最初のページを表示しています。","ko-KR":"페이지당 행 수가 {0}(으)로 변경되었습니다. 이제 첫 페이지를 보여 줍니다.","nl-NL":"Aantal rijen per pagina is gewijzigd naar {0}. De eerste pagina wordt nu weergegeven.","pl-PL":"Liczba wierszy na stronę została zmieniona na {0}. Wyświetlana jest pierwsza strona.","pt-BR":"Linhas por página mudou para {0}. Agora mostrando a primeira página.","ru-RU":"Количество строк на странице изменилось на {0}. Теперь отображается первая страница.","sv-SE":"Rader per sida har ändrats till {0}. Nu visas första sidan.","tr-TR":"Sayfa başına satır sayısı {0} olarak değiştirildi. Şimdi ilk sayfa gösteriliyor.","zh-CN":"每页行数已更改为 {0}。现在显示第一页。","zh-TW":"每頁列數已變更為 {0}。現在顯示第一頁。"}},SNTable_Pagination_SelectPage:{id:"SNTable.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}},SNTable_SelectionLabel_DeselectedValue:{id:"SNTable.SelectionLabel.DeselectedValue",locale:{"de-DE":"Die Werteauswahl ist aufgehoben.","en-US":"Value is deselected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur est désélectionnée.","it-IT":"Il valore è deselezionato.","ja-JP":"値が選択解除されました。","ko-KR":"값이 선택 취소되었습니다.","nl-NL":"Selectie van waarde opgeheven.","pl-PL":"Wartość nie jest zaznaczona.","pt-BR":"O valor está desmarcado.","ru-RU":"Выбор значения отменен.","sv-SE":"Val av värde har tagits bort.","tr-TR":"Değer seçimi iptal edildi.","zh-CN":"值已取消选择。","zh-TW":"值已取消選取。"}},SNTable_SelectionLabel_ExitedSelectionMode:{id:"SNTable.SelectionLabel.ExitedSelectionMode",locale:{"de-DE":"Die Werteauswahl ist aufgehoben. Auswahlmodus beendet.","en-US":"Value is deselected. Exited selection mode.","es-ES":"El valor no está seleccionado. Salió del modo de selección.","fr-FR":"La valeur est désélectionnée. Mode de sélection désactivé.","it-IT":"Il valore è deselezionato. Uscita dalla modalità selezione.","ja-JP":"値が選択解除されました。選択モードを終了しました。","ko-KR":"값이 선택 취소되었습니다. 선택 모드를 종료했습니다.","nl-NL":"Selectie van waarde opgeheven. Selectiemodus afgesloten.","pl-PL":"Wartość nie jest zaznaczona. Zakończono tryb wyboru.","pt-BR":"O valor está desmarcado. Modo de seleção encerrado.","ru-RU":"Выбор значения отменен. Выполнен выход из режима выборки.","sv-SE":"Val av värde har tagits bort. Lämnade urvalsläge.","tr-TR":"Değer seçimi iptal edildi. Seçim modundan çıkıldı.","zh-CN":"值已取消选择。已退出选择模式。","zh-TW":"值已取消選取。輸入的選取模式。"}},SNTable_SelectionLabel_NotSelectedValue:{id:"SNTable.SelectionLabel.NotSelectedValue",locale:{"de-DE":"Wert ist nicht ausgewählt.","en-US":"Value is not selected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur n'est pas sélectionnée.","it-IT":"Il valore non è selezionato.","ja-JP":"値が選択されていません。","ko-KR":"값이 선택되지 않았습니다.","nl-NL":"Waarde is niet geselecteerd.","pl-PL":"Wartość nie jest wybrana.","pt-BR":"O valor não está selecionado.","ru-RU":"Значение не выбрано.","sv-SE":"Värdet är inte valt.","tr-TR":"Değer seçilmedi.","zh-CN":"未选择值。","zh-TW":"未選取值。"}},SNTable_SelectionLabel_OneSelectedValue:{id:"SNTable.SelectionLabel.OneSelectedValue",locale:{"de-DE":"Aktuell ist ein Wert ausgewählt.","en-US":"Currently there is one selected value.","es-ES":"Actualmente hay un valor seleccionado.","fr-FR":"Actuellement, une valeur est sélectionnée.","it-IT":"Attualmente è presente un solo valore selezionato.","ja-JP":"現在、値が 1 つ選択されています。","ko-KR":"현재 하나의 값이 선택되었습니다.","nl-NL":"Er is momenteel één waarde geselecteerd.","pl-PL":"Aktualnie jest jedna wybrana wartość.","pt-BR":"Atualmente, há um valor selecionado.","ru-RU":"В настоящее время выбрано одно значение.","sv-SE":"Just nu är ett värde valt.","tr-TR":"Şu anda seçili bir değer var.","zh-CN":"当前有一个已选择的值。","zh-TW":"目前有一個選取的值。"}},SNTable_SelectionLabel_SelectedValue:{id:"SNTable.SelectionLabel.SelectedValue",locale:{"de-DE":"Wert ist ausgewählt.","en-US":"Value is selected.","es-ES":"El valor está seleccionado.","fr-FR":"La valeur est sélectionnée.","it-IT":"Il valore è selezionato.","ja-JP":"値が選択されました。","ko-KR":"값이 선택되었습니다.","nl-NL":"Waarde is geselecteerd.","pl-PL":"Wartość jest wybrana.","pt-BR":"O valor está selecionado.","ru-RU":"Значение выбрано.","sv-SE":"Värdet är valt.","tr-TR":"Değer seçildi.","zh-CN":"已选择值。","zh-TW":"已選取值。"}},SNTable_SelectionLabel_SelectedValues:{id:"SNTable.SelectionLabel.SelectedValues",locale:{"de-DE":"Aktuell sind {0} Werte ausgewählt.","en-US":"Currently there are {0} selected values.","es-ES":"Actualmente hay {0} valores seleccionados.","fr-FR":"Actuellement, {0} valeurs sont sélectionnées.","it-IT":"Attualmente sono presenti {0} valori selezionati.","ja-JP":"現在、値が {0} つ選択されています。","ko-KR":"현재 {0}개의 값이 선택되었습니다.","nl-NL":"Er zijn momenteel {0} geselecteerde waarden.","pl-PL":"Liczba aktualnie wybranych wartości: {0}.","pt-BR":"Atualmente, há {0} valores selecionados.","ru-RU":"В настоящее время выбраны значения: {0}.","sv-SE":"Just nu är {0} värden valda.","tr-TR":"Şu anda seçili {0} değer var.","zh-CN":"当前有 {0} 个已选择的值。","zh-TW":"目前有 {0} 個選取的值。"}},SNTable_SelectionLabel_SelectionsConfirmed:{id:"SNTable.SelectionLabel.SelectionsConfirmed",locale:{"de-DE":"Auswahl bestätigt.","en-US":"Selections confirmed.","es-ES":"Confirmadas las selecciones.","fr-FR":"Sélections confirmées.","it-IT":"Selezioni confermate.","ja-JP":"選択が確定されました。","ko-KR":"선택 내용이 확인되었습니다.","nl-NL":"Selecties bevestigd.","pl-PL":"Potwierdzono wybory.","pt-BR":"Seleções confirmadas.","ru-RU":"Выборки подтверждены.","sv-SE":"Valen har bekräftats.","tr-TR":"Seçimler onaylandı.","zh-CN":"选择已确认。","zh-TW":"選項已確認。"}},SNTable_SelectionLabel_selected:{id:"SNTable.SelectionLabel.selected",locale:{"de-DE":"Ausgewählt","en-US":"Selected","es-ES":"Seleccionado","fr-FR":"Sélectionné","it-IT":"Selezionato","ja-JP":"選択済み","ko-KR":"선택됨","nl-NL":"Geselecteerd","pl-PL":"Wybrane","pt-BR":"Selecionado","ru-RU":"Выбрано","sv-SE":"Urval","tr-TR":"Seçildi","zh-CN":"已选择","zh-TW":"已選取"}},SNTable_SortLabel_PressSpaceToSort:{id:"SNTable.SortLabel.PressSpaceToSort",locale:{"de-DE":"Drücken Sie die Leertaste, um nach dieser Spalte zu sortieren","en-US":"Press space to sort on this column","es-ES":"Pulse la barra espaciadora para ordenar en esta columna.","fr-FR":"Appuyez sur Espace pour trier en fonction de cette colonne.","it-IT":"Premere la barra spaziatrice per ordinare questa colonna","ja-JP":"スペース キーを押して、この列をソートします","ko-KR":"이 열을 정렬하려면 스페이스바를 누르십시오.","nl-NL":"Druk op de spatiebalk om sorteren in deze kolom in te schakelen","pl-PL":"Naciśnij spację, aby posortować według tej kolumny","pt-BR":"Pressione espaço para classificar por esta coluna","ru-RU":"Нажмите пробел, чтобы отсортировать по этому столбцу","sv-SE":"Tryck på Blanksteg om du vill sortera efter den här kolumnen","tr-TR":"Bu sütunda sıralama yapmak için boşluk tuşuna basın.","zh-CN":"按下空格键以在该列上排序。","zh-TW":"在此欄按下空格鍵以進行排序"}},SNTable_SortLabel_SortedAscending:{id:"SNTable.SortLabel.SortedAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortiert.","en-US":"Sorted in ascending order.","es-ES":"Ordenado por orden ascendente.","fr-FR":"Tri dans l'ordre croissant.","it-IT":"Ordinato in ordine crescente.","ja-JP":"昇順で並べ替えられます。","ko-KR":"오름차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in oplopende volgorde.","pl-PL":"Posortowane rosnąco.","pt-BR":"Classificado em ordem crescente.","ru-RU":"Сортировка в порядке возрастания.","sv-SE":"Sorterat i stigande ordning.","tr-TR":"Artan düzende sıralanmıştır.","zh-CN":"已按升序排列。","zh-TW":"已依遞增順序排序。"}},SNTable_SortLabel_SortedDescending:{id:"SNTable.SortLabel.SortedDescending",locale:{"de-DE":"In absteigender Reihenfolge sortiert.","en-US":"Sorted in descending order.","es-ES":"Ordenado por orden descendente.","fr-FR":"Tri dans l'ordre décroissant.","it-IT":"Ordinato in ordine decrescente.","ja-JP":"降順で並べ替えられます。","ko-KR":"내림차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in aflopende volgorde.","pl-PL":"Posortowane malejąco.","pt-BR":"Classificado em ordem decrescente.","ru-RU":"Сортировка в порядке убывания.","sv-SE":"Sorterat i fallande ordning.","tr-TR":"Azalan düzende sıralanmıştır.","zh-CN":"已按降序排列。","zh-TW":"已依遞減順序排序。"}}};const r={version:"1.6.0",qHyperCubeDef:{qDimensions:[],qMeasures:[],qMode:"S",qSuppressZero:!1,qSuppressMissing:!0,qColumnOrder:[],columnWidths:[]},showTitles:!0,title:"",subtitle:"",footnote:"",components:[]};const o={autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1}},a={visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},tid:"visibilityCondition",isExpression:e=>"string"==typeof e&&e.trim().length>0},tableCellColoring:{component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.BackgroundExpression",defaultValue:"",id:"cellBackgroundColor",tid:"tableColorBgByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:"cellForegroundColor",tid:"tableColorByExpression"}]}},i={textAlignAuto:{ref:"qDef.textAlign.auto",type:"boolean",component:"switch",translation:"Common.Text.TextAlignment",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},textAlign:{ref:"qDef.textAlign.align",type:"string",component:"item-selection-list",horizontal:!0,items:[{component:"icon-item",icon:"align_left",labelPlacement:"bottom",value:"left",translation:"properties.dock.left"},{component:"icon-item",icon:"align_center",labelPlacement:"bottom",value:"center",translation:"Common.Center"},{component:"icon-item",icon:"align_right",labelPlacement:"bottom",value:"right",translation:"properties.dock.right"}],defaultValue:"left",show:e=>void 0!==e.qDef.textAlign&&!e.qDef.textAlign.auto}},l={type:"items",items:[{component:"style-editor",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",resetBtnTranslation:"LayerStyleEditor.component.resetAll",key:"theme",ref:"components",defaultValue:[],defaultValues:{key:"theme",content:{fontSize:null,fontColor:{index:-1,color:null},hoverEffect:!1,hoverColor:{index:-1,color:null},hoverFontColor:{index:-1,color:null}},header:{fontSize:null,fontColor:{index:-1,color:null}}},items:{chart:{type:"items",items:{headerFontSize:{show:!0,ref:"header.fontSize",translation:"ThemeStyleEditor.style.headerFontSize",component:"integer",maxlength:3,change(e){e.header.fontSize=Math.max(5,Math.min(300,Math.floor(e.header.fontSize)))}},headerFontColor:{show:!0,ref:"header.fontColor",translation:"ThemeStyleEditor.style.headerFontColor",type:"object",component:"color-picker",dualOutput:!0},fontSize:{show:!0,translation:"ThemeStyleEditor.style.cellFontSize",ref:"content.fontSize",component:"integer",maxlength:3,change(e){e.content.fontSize=Math.max(5,Math.min(300,Math.floor(e.content.fontSize)))}},fontColor:{show:!0,ref:"content.fontColor",translation:"ThemeStyleEditor.style.cellFontColor",type:"object",component:"color-picker",dualOutput:!0},hoverEffect:{show:!0,ref:"content.hoverEffect",translation:"ThemeStyleEditor.style.hoverEffect",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},hoverColor:{show:e=>!!e.content.hoverEffect,ref:"content.hoverColor",translation:"ThemeStyleEditor.style.hoverStyle",type:"object",component:"color-picker",dualOutput:!0},hoverFontColor:{show:e=>!!e.content.hoverEffect,ref:"content.hoverFontColor",translation:"ThemeStyleEditor.style.hoverFontStyle",type:"object",component:"color-picker",dualOutput:!0}}}}}]},s={type:"items",component:"accordion",items:{data:{type:"items",component:"columns",translation:"Common.Data",sortIndexRef:"qHyperCubeDef.qColumnOrder",allowMove:!0,allowAdd:!0,addTranslation:"Common.Columns",items:{dimensions:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qDimensions",grouped:!0,items:{libraryId:{type:"string",component:"library-item",libraryItemType:"dimension",ref:"qLibraryId",translation:"Common.Dimension",show:e=>e.qLibraryId},inlineDimension:{component:"inline-dimension",show:e=>!e.qLibraryId},nullSuppression:{type:"boolean",ref:"qNullSuppression",defaultValue:!1,translation:"properties.dimensions.showNull",inverted:!0},...o,...a,...i}},measures:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qMeasures",grouped:!0,items:{libraryId:{type:"string",component:"library-item",libraryItemType:"measure",ref:"qLibraryId",translation:"Common.Measure",show:e=>e.qLibraryId},inlineMeasure:{component:"inline-measure",show:e=>!e.qLibraryId},...o,...a,...i}}}},sorting:{uses:"sorting"},addOns:{type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{calcCond:{uses:"calcCond"}}}}},settings:{uses:"settings",items:{presentation:{grouped:!0,type:"items",translation:"properties.presentation",items:[l]}}}}};function u(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function c(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}function d(e){return e>0?0:1}function p(e){return e.translator.get("Visualizations.Descriptions.Column")}function f(e){return{definition:s,data:{measures:{min:d,max:1e3,description:()=>p(e),add(e,t,n){const{qColumnOrder:r,columnWidths:o}=n.hcProperties,a=n.getDimensions().length+n.getMeasures().length-1;u(r,a),o.splice(r[a],0,-1)},remove(e,t,n,r){const{qColumnOrder:o,columnWidths:a}=n.hcProperties,i=(n.hcProperties.qDimensions?n.hcProperties.qDimensions.length:0)+r;c(o,i),a.splice(i,1)}},dimensions:{min:d,max:1e3,description:()=>p(e),add(e,t,n){const{qColumnOrder:r,columnWidths:o}=n.hcProperties,a=n.getDimensions().length-1;return u(r,a),o.splice(a,0,-1),e},remove(e,t,n,r){const{qColumnOrder:o,columnWidths:a}=n.hcProperties;c(o,r),a.splice(o[r],1)}}},support:{export:!0,exportData:!0,snapshot:!0,viewData:!1}}}const m={A:"asc",D:"desc"},h=1e4;function g(e,t){return[...t].reverse().find((t=>t*e<=h))||Math.floor(h/e)}async function b(e,t,n,r){const{page:o,rowsPerPage:a,rowsPerPageOptions:i}=n,{qHyperCube:l}=t,s=l.qSize,u=o*a,c=s.qcx,d=s.qcy,p=Math.min(a,d-u);if(o>0&&u>=d)return r({...n,page:0}),null;if(p*c>h)return r({...n,rowsPerPage:g(c,i),page:0}),null;const f=function({qColumnOrder:e,qDimensionInfo:t,qMeasureInfo:n}){const r=t.length+n.length;return(null==e?void 0:e.length)===r?e:[...Array(r).keys()]}(l),b=f.map((e=>function(e,t){var n;const{qDimensionInfo:r,qMeasureInfo:o}=e,a=r.length,i=t<a,l=i?r[t]:o[t-a];return!(7005===(null===(n=l.qError)||void 0===n?void 0:n.qErrorCode))&&{isDim:i,width:200,label:l.qFallbackTitle,id:`col-${t}`,align:!l.textAlign||l.textAlign.auto?i?"left":"right":l.textAlign.align,stylingInfo:l.qAttrExprInfo.map((e=>e.id)),sortDirection:m[l.qSortIndicator],dataColIdx:t}}(l,e))).filter(Boolean),v=(await e.getHyperCubeData("/qHyperCubeDef",[{qTop:u,qLeft:0,qHeight:p,qWidth:c}]))[0].qMatrix.map(((e,t)=>{const n={key:`row-${t}`};return b.forEach(((r,o)=>{n[r.id]={...e[o],rowIdx:t+u,colIdx:f[o],isDim:r.isDim,rawRowIdx:t,rawColIdx:o}})),n}));return{size:s,rows:v,columns:b}}function v(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}var y={exports:{}},x={},w={exports:{}},S={},k=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;function R(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var P=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=R(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))E.call(n,i)&&(o[i]=n[i]);if(k){r=k(n);for(var l=0;l<r.length;l++)C.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},T=P,M=60103,N=60106;
|
|
7
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@nebula.js/stardust")):"function"==typeof define&&define.amd?define(["@nebula.js/stardust"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["sn-table"]=t(e.stardust)}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var n={SNTable_Accessibility_NavigationInstructions:{id:"SNTable.Accessibility.NavigationInstructions",locale:{"de-DE":"Verwenden Sie die Pfeiltasten, um in den Tabellenzellen zu navigieren, und die Tabulatortaste, um zu den Paginierungssteuerungen zu wechseln. Alle Angaben zur Tastaturnavigation finden Sie in der Dokumentation.","en-US":"Use arrow keys to navigate in table cells and tab to move to pagination controls. For the full range of keyboard navigation, see the documentation.","es-ES":"Use las teclas de flecha para navegar en las celdas de la tabla y la pestaña para moverse a los controles de paginación. Para conocer la gama completa de navegación con teclado, consulte la documentación.","fr-FR":"Utilisez les touches fléchées pour parcourir les cellules du tableau et la tabulation pour accéder aux commandes de pagination. Pour connaître la gamme complète des commandes de navigation au clavier, voir la documentation.","it-IT":"Utilizzare i tasti freccia per navigare nelle celle della tabella e il tasto TAB per passare ai controlli di paginazione. Per informazioni complete sulla navigazione da tastiera, vedere la documentazione.","ja-JP":"矢印キーで表のセル内を移動し、タブ キーでページネーション コントロールに移動します。キーボード ナビゲーションの全範囲については、ドキュメントをご覧ください。","ko-KR":"화살표 키를 사용하여 테이블 셀을 탐색하고 탭을 사용하여 페이지 매김 컨트롤로 이동합니다. 전체 키보드 탐색 범위는 설명서를 참조하십시오.","nl-NL":"Gebruik de pijltjestoetsen om te navigeren in tabelcellen en de Tab-toets om naar besturingselementen voor paginering te gaan. Raadpleeg de documentatie voor een volledig overzicht van de toetsenbordnavigatie.","pl-PL":"Użyj klawiszy strzałek do poruszania się po komórkach tabeli oraz tabulatora do poruszania się po elementach sterujących stronami. Pełne informacje o nawigacji przy użyciu klawiatury zawiera dokumentacja.","pt-BR":"Use as setas para navegar nas células da tabela e Tab para mover para os controles de paginação. Para toda a gama de navegação do teclado, consulte a documentação.","ru-RU":"Используйте клавиши со стрелками для перемещения по ячейкам таблицы и клавишу табуляции для перехода к элементам управления разбивки на страницы. Полный перечень возможностей навигации с помощью клавиатуры см. в документации.","sv-SE":"Använd piltangenterna för att navigera i tabellcellerna och tabbtangenten för att flytta till pagineringskontrollerna. Se dokumentationen för komplett information om tangentbordsnavigering.","tr-TR":"Tablo hücrelerinde gezinmek için ok tuşlarını, sayfalandırma kontrollerine geçmek için sekmeyi kullanın. Tam kapsamlı klavye gezintisi için belgelere bakın.","zh-CN":"使用箭头键在表格单元格中导航,使用 tab 键移动到分页控件。有关键盘导航的完整范围,请参阅文档。","zh-TW":"使用方向鍵以在表格儲存格中導覽,並使用 Tab 以前往分頁控制。如需完整的鍵盤導覽,請參閱文件。"}},SNTable_Accessibility_RowsAndColumns:{id:"SNTable.Accessibility.RowsAndColumns",locale:{"de-DE":"Es werden {0} Zeilen und {1} Spalten angezeigt.","en-US":"Showing {0} rows and {1} columns.","es-ES":"Mostrando {0} filas y {1} columnas.","fr-FR":"Affichage de {0} lignes et de {1} colonnes.","it-IT":"Visualizzazione di {0} righe e {1} colonne.","ja-JP":"{0} 行 {1} 列を表示しています。","ko-KR":"{0}개의 행과 {1}개의 열을 표시합니다.","nl-NL":"{0} rijen en {1} kolommen worden getoond.","pl-PL":"Wyświetlane wiersze: {0} i kolumny: {1}.","pt-BR":"Mostrando {0} linhas e {1} colunas.","ru-RU":"Показаны строки ({0}) и столбцы ({1}).","sv-SE":"Visar {0} rader och {1} kolumner.","tr-TR":"{0} satır ve {1} sütun gösteriliyor.","zh-CN":"正在显示 {0} 行,{1} 列。","zh-TW":"顯示 {0} 列和 {1} 欄。"}},SNTable_Pagination_DisplayedRowsLabel:{id:"SNTable.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{1}의 {0}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},SNTable_Pagination_FirstPage:{id:"SNTable.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},SNTable_Pagination_LastPage:{id:"SNTable.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},SNTable_Pagination_NextPage:{id:"SNTable.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},SNTable_Pagination_PageStatusReport:{id:"SNTable.Pagination.PageStatusReport",locale:{"de-DE":"Die Seite wurde geändert. Seite {0} von {1} wird angezeigt.","en-US":"Page has changed. Showing page {0} of {1}.","es-ES":"La página ha cambiado. Mostrando página {0} de {1}.","fr-FR":"La page a changé. Affichage de la page {0} sur {1}.","it-IT":"La pagina è cambiata. Visualizzazione pagina {0} di {1}.","ja-JP":"ページが変更されました。{1} ページ中の {0} ページ目を表示しています。","ko-KR":"페이지가 변경되었습니다. {1}의 {0} 페이지를 보여 줍니다.","nl-NL":"Pagina is gewijzigd. Pagina {0} van {1} wordt weergeven.","pl-PL":"Strona się zmieniła Wyświetlanie strony {0} z {1}.","pt-BR":"A página mudou. Mostrando página {0} de {1}.","ru-RU":"Страница изменилась. Показана страница {0} из {1}.","sv-SE":"Sidan har ändrats. Visar sida {0} av {1}.","tr-TR":"Sayfa değişti. Sayfa {0} / {1} gösteriliyor.","zh-CN":"页面已更改。显示页面 {0} / {1}。","zh-TW":"頁面已變更。顯示第 {0} 頁,共 {1} 頁。"}},SNTable_Pagination_PreviousPage:{id:"SNTable.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},SNTable_Pagination_RowsPerPage:{id:"SNTable.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数:","zh-TW":"每頁列數"}},SNTable_Pagination_RowsPerPageChange:{id:"SNTable.Pagination.RowsPerPageChange",locale:{"de-DE":"Zeilen pro Seite wurden in {0} geändert. Jetzt wird die erste Seite angezeigt.","en-US":"Rows per page has changed to {0}. Now showing the first page.","es-ES":"El número de filas por página ha cambiado a {0}. Mostrando ahora la primera página.","fr-FR":"Le nombre de lignes par page a été remplacé par {0}. Affichage en cours de la première page.","it-IT":"Le righe per pagina sono cambiate a {0}. Viene ora mostrata la prima pagina.","ja-JP":"ページあたりの行数が {0} に変更されました。現在、最初のページを表示しています。","ko-KR":"페이지당 행 수가 {0}(으)로 변경되었습니다. 이제 첫 페이지를 보여 줍니다.","nl-NL":"Aantal rijen per pagina is gewijzigd naar {0}. De eerste pagina wordt nu weergegeven.","pl-PL":"Liczba wierszy na stronę została zmieniona na {0}. Wyświetlana jest pierwsza strona.","pt-BR":"Linhas por página mudou para {0}. Agora mostrando a primeira página.","ru-RU":"Количество строк на странице изменилось на {0}. Теперь отображается первая страница.","sv-SE":"Rader per sida har ändrats till {0}. Nu visas första sidan.","tr-TR":"Sayfa başına satır sayısı {0} olarak değiştirildi. Şimdi ilk sayfa gösteriliyor.","zh-CN":"每页行数已更改为 {0}。现在显示第一页。","zh-TW":"每頁列數已變更為 {0}。現在顯示第一頁。"}},SNTable_Pagination_SelectPage:{id:"SNTable.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}},SNTable_SelectionLabel_DeselectedValue:{id:"SNTable.SelectionLabel.DeselectedValue",locale:{"de-DE":"Die Werteauswahl ist aufgehoben.","en-US":"Value is deselected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur est désélectionnée.","it-IT":"Il valore è deselezionato.","ja-JP":"値が選択解除されました。","ko-KR":"값이 선택 취소되었습니다.","nl-NL":"Selectie van waarde opgeheven.","pl-PL":"Wartość nie jest zaznaczona.","pt-BR":"O valor está desmarcado.","ru-RU":"Выбор значения отменен.","sv-SE":"Val av värde har tagits bort.","tr-TR":"Değer seçimi iptal edildi.","zh-CN":"值已取消选择。","zh-TW":"值已取消選取。"}},SNTable_SelectionLabel_ExitedSelectionMode:{id:"SNTable.SelectionLabel.ExitedSelectionMode",locale:{"de-DE":"Die Werteauswahl ist aufgehoben. Auswahlmodus beendet.","en-US":"Value is deselected. Exited selection mode.","es-ES":"El valor no está seleccionado. Salió del modo de selección.","fr-FR":"La valeur est désélectionnée. Mode de sélection désactivé.","it-IT":"Il valore è deselezionato. Uscita dalla modalità selezione.","ja-JP":"値が選択解除されました。選択モードを終了しました。","ko-KR":"값이 선택 취소되었습니다. 선택 모드를 종료했습니다.","nl-NL":"Selectie van waarde opgeheven. Selectiemodus afgesloten.","pl-PL":"Wartość nie jest zaznaczona. Zakończono tryb wyboru.","pt-BR":"O valor está desmarcado. Modo de seleção encerrado.","ru-RU":"Выбор значения отменен. Выполнен выход из режима выборки.","sv-SE":"Val av värde har tagits bort. Lämnade urvalsläge.","tr-TR":"Değer seçimi iptal edildi. Seçim modundan çıkıldı.","zh-CN":"值已取消选择。已退出选择模式。","zh-TW":"值已取消選取。輸入的選取模式。"}},SNTable_SelectionLabel_NotSelectedValue:{id:"SNTable.SelectionLabel.NotSelectedValue",locale:{"de-DE":"Wert ist nicht ausgewählt.","en-US":"Value is not selected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur n'est pas sélectionnée.","it-IT":"Il valore non è selezionato.","ja-JP":"値が選択されていません。","ko-KR":"값이 선택되지 않았습니다.","nl-NL":"Waarde is niet geselecteerd.","pl-PL":"Wartość nie jest wybrana.","pt-BR":"O valor não está selecionado.","ru-RU":"Значение не выбрано.","sv-SE":"Värdet är inte valt.","tr-TR":"Değer seçilmedi.","zh-CN":"未选择值。","zh-TW":"未選取值。"}},SNTable_SelectionLabel_OneSelectedValue:{id:"SNTable.SelectionLabel.OneSelectedValue",locale:{"de-DE":"Aktuell ist ein Wert ausgewählt.","en-US":"Currently there is one selected value.","es-ES":"Actualmente hay un valor seleccionado.","fr-FR":"Actuellement, une valeur est sélectionnée.","it-IT":"Attualmente è presente un solo valore selezionato.","ja-JP":"現在、値が 1 つ選択されています。","ko-KR":"현재 하나의 값이 선택되었습니다.","nl-NL":"Er is momenteel één waarde geselecteerd.","pl-PL":"Aktualnie jest jedna wybrana wartość.","pt-BR":"Atualmente, há um valor selecionado.","ru-RU":"В настоящее время выбрано одно значение.","sv-SE":"Just nu är ett värde valt.","tr-TR":"Şu anda seçili bir değer var.","zh-CN":"当前有一个已选择的值。","zh-TW":"目前有一個選取的值。"}},SNTable_SelectionLabel_SelectedValue:{id:"SNTable.SelectionLabel.SelectedValue",locale:{"de-DE":"Wert ist ausgewählt.","en-US":"Value is selected.","es-ES":"El valor está seleccionado.","fr-FR":"La valeur est sélectionnée.","it-IT":"Il valore è selezionato.","ja-JP":"値が選択されました。","ko-KR":"값이 선택되었습니다.","nl-NL":"Waarde is geselecteerd.","pl-PL":"Wartość jest wybrana.","pt-BR":"O valor está selecionado.","ru-RU":"Значение выбрано.","sv-SE":"Värdet är valt.","tr-TR":"Değer seçildi.","zh-CN":"已选择值。","zh-TW":"已選取值。"}},SNTable_SelectionLabel_SelectedValues:{id:"SNTable.SelectionLabel.SelectedValues",locale:{"de-DE":"Aktuell sind {0} Werte ausgewählt.","en-US":"Currently there are {0} selected values.","es-ES":"Actualmente hay {0} valores seleccionados.","fr-FR":"Actuellement, {0} valeurs sont sélectionnées.","it-IT":"Attualmente sono presenti {0} valori selezionati.","ja-JP":"現在、値が {0} つ選択されています。","ko-KR":"현재 {0}개의 값이 선택되었습니다.","nl-NL":"Er zijn momenteel {0} geselecteerde waarden.","pl-PL":"Liczba aktualnie wybranych wartości: {0}.","pt-BR":"Atualmente, há {0} valores selecionados.","ru-RU":"В настоящее время выбраны значения: {0}.","sv-SE":"Just nu är {0} värden valda.","tr-TR":"Şu anda seçili {0} değer var.","zh-CN":"当前有 {0} 个已选择的值。","zh-TW":"目前有 {0} 個選取的值。"}},SNTable_SelectionLabel_SelectionsConfirmed:{id:"SNTable.SelectionLabel.SelectionsConfirmed",locale:{"de-DE":"Auswahl bestätigt.","en-US":"Selections confirmed.","es-ES":"Confirmadas las selecciones.","fr-FR":"Sélections confirmées.","it-IT":"Selezioni confermate.","ja-JP":"選択が確定されました。","ko-KR":"선택 내용이 확인되었습니다.","nl-NL":"Selecties bevestigd.","pl-PL":"Potwierdzono wybory.","pt-BR":"Seleções confirmadas.","ru-RU":"Выборки подтверждены.","sv-SE":"Valen har bekräftats.","tr-TR":"Seçimler onaylandı.","zh-CN":"选择已确认。","zh-TW":"選項已確認。"}},SNTable_SelectionLabel_selected:{id:"SNTable.SelectionLabel.selected",locale:{"de-DE":"Ausgewählt","en-US":"Selected","es-ES":"Seleccionado","fr-FR":"Sélectionné","it-IT":"Selezionato","ja-JP":"選択済み","ko-KR":"선택됨","nl-NL":"Geselecteerd","pl-PL":"Wybrane","pt-BR":"Selecionado","ru-RU":"Выбрано","sv-SE":"Urval","tr-TR":"Seçildi","zh-CN":"已选择","zh-TW":"已選取"}},SNTable_SortLabel_PressSpaceToSort:{id:"SNTable.SortLabel.PressSpaceToSort",locale:{"de-DE":"Drücken Sie die Leertaste, um nach dieser Spalte zu sortieren","en-US":"Press space to sort on this column","es-ES":"Pulse la barra espaciadora para ordenar en esta columna.","fr-FR":"Appuyez sur Espace pour trier en fonction de cette colonne.","it-IT":"Premere la barra spaziatrice per ordinare questa colonna","ja-JP":"スペース キーを押して、この列をソートします","ko-KR":"이 열을 정렬하려면 스페이스바를 누르십시오.","nl-NL":"Druk op de spatiebalk om sorteren in deze kolom in te schakelen","pl-PL":"Naciśnij spację, aby posortować według tej kolumny","pt-BR":"Pressione espaço para classificar por esta coluna","ru-RU":"Нажмите пробел, чтобы отсортировать по этому столбцу","sv-SE":"Tryck på Blanksteg om du vill sortera efter den här kolumnen","tr-TR":"Bu sütunda sıralama yapmak için boşluk tuşuna basın.","zh-CN":"按下空格键以在该列上排序。","zh-TW":"在此欄按下空格鍵以進行排序"}},SNTable_SortLabel_SortedAscending:{id:"SNTable.SortLabel.SortedAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortiert.","en-US":"Sorted in ascending order.","es-ES":"Ordenado por orden ascendente.","fr-FR":"Tri dans l'ordre croissant.","it-IT":"Ordinato in ordine crescente.","ja-JP":"昇順で並べ替えられます。","ko-KR":"오름차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in oplopende volgorde.","pl-PL":"Posortowane rosnąco.","pt-BR":"Classificado em ordem crescente.","ru-RU":"Сортировка в порядке возрастания.","sv-SE":"Sorterat i stigande ordning.","tr-TR":"Artan düzende sıralanmıştır.","zh-CN":"已按升序排列。","zh-TW":"已依遞增順序排序。"}},SNTable_SortLabel_SortedDescending:{id:"SNTable.SortLabel.SortedDescending",locale:{"de-DE":"In absteigender Reihenfolge sortiert.","en-US":"Sorted in descending order.","es-ES":"Ordenado por orden descendente.","fr-FR":"Tri dans l'ordre décroissant.","it-IT":"Ordinato in ordine decrescente.","ja-JP":"降順で並べ替えられます。","ko-KR":"내림차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in aflopende volgorde.","pl-PL":"Posortowane malejąco.","pt-BR":"Classificado em ordem decrescente.","ru-RU":"Сортировка в порядке убывания.","sv-SE":"Sorterat i fallande ordning.","tr-TR":"Azalan düzende sıralanmıştır.","zh-CN":"已按降序排列。","zh-TW":"已依遞減順序排序。"}}};const r={version:"1.7.0",qHyperCubeDef:{qDimensions:[],qMeasures:[],qMode:"S",qSuppressZero:!1,qSuppressMissing:!0,qColumnOrder:[],columnWidths:[]},showTitles:!0,title:"",subtitle:"",footnote:"",components:[]};const o={autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1}},a={visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},tid:"visibilityCondition",isExpression:e=>"string"==typeof e&&e.trim().length>0},tableCellColoring:{component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.BackgroundExpression",defaultValue:"",id:"cellBackgroundColor",tid:"tableColorBgByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:"cellForegroundColor",tid:"tableColorByExpression"}]}},i={textAlignAuto:{ref:"qDef.textAlign.auto",type:"boolean",component:"switch",translation:"Common.Text.TextAlignment",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},textAlign:{ref:"qDef.textAlign.align",type:"string",component:"item-selection-list",horizontal:!0,items:[{component:"icon-item",icon:"align_left",labelPlacement:"bottom",value:"left",translation:"properties.dock.left"},{component:"icon-item",icon:"align_center",labelPlacement:"bottom",value:"center",translation:"Common.Center"},{component:"icon-item",icon:"align_right",labelPlacement:"bottom",value:"right",translation:"properties.dock.right"}],defaultValue:"left",show:e=>void 0!==e.qDef.textAlign&&!e.qDef.textAlign.auto}},l={type:"items",items:[{component:"style-editor",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",resetBtnTranslation:"LayerStyleEditor.component.resetAll",key:"theme",ref:"components",defaultValue:[],defaultValues:{key:"theme",content:{fontSize:null,fontColor:{index:-1,color:null},hoverEffect:!1,hoverColor:{index:-1,color:null},hoverFontColor:{index:-1,color:null}},header:{fontSize:null,fontColor:{index:-1,color:null}}},items:{chart:{type:"items",items:{headerFontSize:{show:!0,ref:"header.fontSize",translation:"ThemeStyleEditor.style.headerFontSize",component:"integer",maxlength:3,change(e){e.header.fontSize=Math.max(5,Math.min(300,Math.floor(e.header.fontSize)))}},headerFontColor:{show:!0,ref:"header.fontColor",translation:"ThemeStyleEditor.style.headerFontColor",type:"object",component:"color-picker",dualOutput:!0},fontSize:{show:!0,translation:"ThemeStyleEditor.style.cellFontSize",ref:"content.fontSize",component:"integer",maxlength:3,change(e){e.content.fontSize=Math.max(5,Math.min(300,Math.floor(e.content.fontSize)))}},fontColor:{show:!0,ref:"content.fontColor",translation:"ThemeStyleEditor.style.cellFontColor",type:"object",component:"color-picker",dualOutput:!0},hoverEffect:{show:!0,ref:"content.hoverEffect",translation:"ThemeStyleEditor.style.hoverEffect",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},hoverColor:{show:e=>!!e.content.hoverEffect,ref:"content.hoverColor",translation:"ThemeStyleEditor.style.hoverStyle",type:"object",component:"color-picker",dualOutput:!0},hoverFontColor:{show:e=>!!e.content.hoverEffect,ref:"content.hoverFontColor",translation:"ThemeStyleEditor.style.hoverFontStyle",type:"object",component:"color-picker",dualOutput:!0}}}}}]},s={type:"items",component:"accordion",items:{data:{type:"items",component:"columns",translation:"Common.Data",sortIndexRef:"qHyperCubeDef.qColumnOrder",allowMove:!0,allowAdd:!0,addTranslation:"Common.Columns",items:{dimensions:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qDimensions",grouped:!0,items:{libraryId:{type:"string",component:"library-item",libraryItemType:"dimension",ref:"qLibraryId",translation:"Common.Dimension",show:e=>e.qLibraryId},inlineDimension:{component:"inline-dimension",show:e=>!e.qLibraryId},nullSuppression:{type:"boolean",ref:"qNullSuppression",defaultValue:!1,translation:"properties.dimensions.showNull",inverted:!0},...o,...a,...i}},measures:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qMeasures",grouped:!0,items:{libraryId:{type:"string",component:"library-item",libraryItemType:"measure",ref:"qLibraryId",translation:"Common.Measure",show:e=>e.qLibraryId},inlineMeasure:{component:"inline-measure",show:e=>!e.qLibraryId},...o,...a,...i}}}},sorting:{uses:"sorting"},addOns:{type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{calcCond:{uses:"calcCond"}}}}},settings:{uses:"settings",items:{presentation:{grouped:!0,type:"items",translation:"properties.presentation",items:[l]}}}}};function u(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function c(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}function d(e){return e>0?0:1}function p(e){return e.translator.get("Visualizations.Descriptions.Column")}function f(e){return{definition:s,data:{measures:{min:d,max:1e3,description:()=>p(e),add(e,t,n){const{qColumnOrder:r,columnWidths:o}=n.hcProperties,a=n.getDimensions().length+n.getMeasures().length-1;u(r,a),o.splice(r[a],0,-1)},remove(e,t,n,r){const{qColumnOrder:o,columnWidths:a}=n.hcProperties,i=(n.hcProperties.qDimensions?n.hcProperties.qDimensions.length:0)+r;c(o,i),a.splice(i,1)}},dimensions:{min:d,max:1e3,description:()=>p(e),add(e,t,n){const{qColumnOrder:r,columnWidths:o}=n.hcProperties,a=n.getDimensions().length-1;return u(r,a),o.splice(a,0,-1),e},remove(e,t,n,r){const{qColumnOrder:o,columnWidths:a}=n.hcProperties;c(o,r),a.splice(o[r],1)}}},support:{export:!0,exportData:!0,snapshot:!0,viewData:!1}}}const m={A:"asc",D:"desc"},h=1e4;function g(e,t){return[...t].reverse().find((t=>t*e<=h))||Math.floor(h/e)}async function b(e,t,n,r){const{page:o,rowsPerPage:a,rowsPerPageOptions:i}=n,{qHyperCube:l}=t,s=l.qSize,u=o*a,c=s.qcx,d=s.qcy,p=Math.min(a,d-u);if(o>0&&u>=d)return r({...n,page:0}),null;if(p*c>h)return r({...n,rowsPerPage:g(c,i),page:0}),null;const f=function({qColumnOrder:e,qDimensionInfo:t,qMeasureInfo:n}){const r=t.length+n.length;return(null==e?void 0:e.length)===r?e:[...Array(r).keys()]}(l),b=f.map((e=>function(e,t){var n;const{qDimensionInfo:r,qMeasureInfo:o}=e,a=r.length,i=t<a,l=i?r[t]:o[t-a];return!(7005===(null===(n=l.qError)||void 0===n?void 0:n.qErrorCode))&&{isDim:i,width:200,label:l.qFallbackTitle,id:`col-${t}`,align:!l.textAlign||l.textAlign.auto?i?"left":"right":l.textAlign.align,stylingInfo:l.qAttrExprInfo.map((e=>e.id)),sortDirection:m[l.qSortIndicator],dataColIdx:t}}(l,e))).filter(Boolean),v=(await e.getHyperCubeData("/qHyperCubeDef",[{qTop:u,qLeft:0,qHeight:p,qWidth:c}]))[0].qMatrix.map(((e,t)=>{const n={key:`row-${t}`};return b.forEach(((r,o)=>{n[r.id]={...e[o],rowIdx:t+u,colIdx:f[o],isDim:r.isDim,rawRowIdx:t,rawColIdx:o}})),n}));return{size:s,rows:v,columns:b}}function v(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}var y={exports:{}},x={},w={exports:{}},S={},k=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;function R(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var P=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=R(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))E.call(n,i)&&(o[i]=n[i]);if(k){r=k(n);for(var l=0;l<r.length;l++)C.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},T=P,M=60103,N=60106;
|
|
8
8
|
/** @license React v17.0.2
|
|
9
9
|
* react.production.min.js
|
|
10
10
|
*
|
|
@@ -117,4 +117,4 @@ function(e,t){let n;return n=t?of(e).withConfig({displayName:t.label,shouldForwa
|
|
|
117
117
|
animation-iteration-count: infinite;
|
|
118
118
|
animation-delay: 200ms;
|
|
119
119
|
}
|
|
120
|
-
`),sv.rippleVisible,hv,550,(({theme:e})=>e.transitions.easing.easeInOut),sv.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),sv.child,sv.childLeaving,gv,550,(({theme:e})=>e.transitions.easing.easeInOut),sv.childPulsate,bv,(({theme:e})=>e.transitions.easing.easeInOut)),xv=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=lf(n,uv),[l,s]=w.exports.useState([]),u=w.exports.useRef(0),c=w.exports.useRef(null);w.exports.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=w.exports.useRef(!1),p=w.exports.useRef(null),f=w.exports.useRef(null),m=w.exports.useRef(null);w.exports.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const h=w.exports.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,sh.exports.jsx(yv,{classes:{ripple:Jm(o.ripple,sv.ripple),rippleVisible:Jm(o.rippleVisible,sv.rippleVisible),ripplePulsate:Jm(o.ripplePulsate,sv.ripplePulsate),child:Jm(o.child,sv.child),childLeaving:Jm(o.childLeaving,sv.childLeaving),childPulsate:Jm(o.childPulsate,sv.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},u.current)])),u.current+=1,c.current=i}),[o]),g=w.exports.useCallback(((e={},t={},n)=>{const{pulsate:o=!1,center:a=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===e.type&&d.current)return void(d.current=!1);"touchstart"===e.type&&(d.current=!0);const l=i?null:m.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(a||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(a)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}e.touches?null===f.current&&(f.current=()=>{h({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):h({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,h]),b=w.exports.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=w.exports.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===e.type&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{v(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[]);return w.exports.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),sh.exports.jsx(vv,af({className:Jm(o.root,sv.root,a),ref:m},i,{children:sh.exports.jsx(lv,{component:null,exit:!0,children:l})}))}));var wv=xv;function Sv(e){return Yh("MuiButtonBase",e)}var kv=Qh("MuiButtonBase",["root","disabled","focusVisible"]);const Ev=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Cv=tb("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"},[`&.${kv.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Rv=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:a,className:i,component:l="button",disabled:s=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:m,onContextMenu:h,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:y,onKeyUp:x,onMouseDown:S,onMouseLeave:k,onMouseUp:E,onTouchEnd:C,onTouchMove:R,onTouchStart:P,tabIndex:T=0,TouchRippleProps:M,touchRippleRef:N,type:z}=n,O=lf(n,Ev),I=w.exports.useRef(null),A=w.exports.useRef(null),L=zf(A,N),{isFocusVisibleRef:F,onFocus:_,onBlur:j,ref:D}=$f(),[$,B]=w.exports.useState(!1);function W(e,t,n=c){return Nf((r=>{t&&t(r);return!n&&A.current&&A.current[e](r),!0}))}s&&$&&B(!1),w.exports.useImperativeHandle(r,(()=>({focusVisible:()=>{B(!0),I.current.focus()}})),[]),w.exports.useEffect((()=>{$&&d&&!u&&A.current.pulsate()}),[u,d,$]);const H=W("start",S),q=W("stop",h),U=W("stop",g),V=W("stop",E),K=W("stop",(e=>{$&&e.preventDefault(),k&&k(e)})),G=W("start",P),Y=W("stop",C),Q=W("stop",R),X=W("stop",(e=>{j(e),!1===F.current&&B(!1),f&&f(e)}),!1),J=Nf((e=>{I.current||(I.current=e.currentTarget),_(e),!0===F.current&&(B(!0),v&&v(e)),b&&b(e)})),Z=()=>{const e=I.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ee=w.exports.useRef(!1),te=Nf((e=>{d&&!ee.current&&$&&A.current&&" "===e.key&&(ee.current=!0,A.current.stop(e,(()=>{A.current.start(e)}))),e.target===e.currentTarget&&Z()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&Z()&&"Enter"===e.key&&!s&&(e.preventDefault(),m&&m(e))})),ne=Nf((e=>{d&&" "===e.key&&A.current&&$&&!e.defaultPrevented&&(ee.current=!1,A.current.stop(e,(()=>{A.current.pulsate(e)}))),x&&x(e),m&&e.target===e.currentTarget&&Z()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let re=l;"button"===re&&(O.href||O.to)&&(re=p);const oe={};"button"===re?(oe.type=void 0===z?"button":z,oe.disabled=s):(O.href||O.to||(oe.role="button"),s&&(oe["aria-disabled"]=s));const ae=zf(D,I),ie=zf(t,ae),[le,se]=w.exports.useState(!1);w.exports.useEffect((()=>{se(!0)}),[]);const ue=le&&!u&&!s,ce=af({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:T,focusVisible:$}),de=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Uh({root:["root",t&&"disabled",n&&"focusVisible"]},Sv,o);return n&&r&&(a.root+=` ${r}`),a})(ce);return sh.exports.jsxs(Cv,af({as:re,className:Jm(de.root,i),ownerState:ce,onBlur:X,onClick:m,onContextMenu:q,onFocus:J,onKeyDown:te,onKeyUp:ne,onMouseDown:H,onMouseLeave:K,onMouseUp:V,onDragLeave:U,onTouchEnd:Y,onTouchMove:Q,onTouchStart:G,ref:ie,tabIndex:s?-1:T,type:z},oe,O,{children:[a,ue?sh.exports.jsx(wv,af({ref:L,center:o},M)):null]}))}));var Pv=Rv;var Tv=Qh("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var Mv=Qh("MuiListItemIcon",["root","alignItemsFlexStart"]);var Nv=Qh("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function zv(e){return Yh("MuiMenuItem",e)}var Ov=Qh("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const Iv=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],Av=tb(Pv,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>af({},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"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${e.palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ov.selected}`]:{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ov.focusVisible}`]:{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ov.selected}:hover`]:{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ov.focusVisible}`]:{backgroundColor:e.palette.action.focus},[`&.${Ov.disabled}`]:{opacity:e.palette.action.disabledOpacity},[`& + .${Tv.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Tv.inset}`]:{marginLeft:52},[`& .${Nv.root}`]:{marginTop:0,marginBottom:0},[`& .${Nv.inset}`]:{paddingLeft:36},[`& .${Mv.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&af({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Mv.root} svg`]:{fontSize:"1.25rem"}}))));var Lv=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:a=!1,divider:i=!1,disableGutters:l=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c}=n,d=lf(n,Iv),p=w.exports.useContext(Bb),f={dense:a||p.dense||!1,disableGutters:l},m=w.exports.useRef(null);Cf((()=>{r&&m.current&&m.current.focus()}),[r]);const h=af({},n,{dense:f.dense,divider:i,disableGutters:l}),g=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e;return af({},i,Uh({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},zv,i))})(n),b=zf(m,t);let v;return n.disabled||(v=void 0!==c?c:-1),sh.exports.jsx(Bb.Provider,{value:f,children:sh.exports.jsx(Av,af({ref:b,role:u,tabIndex:v,component:o,focusVisibleClassName:Jm(g.focusVisible,s)},d,{ownerState:h,classes:g}))})}));function Fv(e){return Yh("MuiList",e)}Qh("MuiList",["root","padding","dense","subheader"]);const _v=["children","className","component","dense","disablePadding","subheader"],jv=tb("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]}})((({ownerState:e})=>af({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var Dv=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiList"}),{children:r,className:o,component:a="ul",dense:i=!1,disablePadding:l=!1,subheader:s}=n,u=lf(n,_v),c=w.exports.useMemo((()=>({dense:i})),[i]),d=af({},n,{component:a,dense:i,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Uh({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Fv,t)})(d);return sh.exports.jsx(Bb.Provider,{value:c,children:sh.exports.jsxs(jv,af({as:a,className:Jm(p.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));const $v=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Bv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Wv(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Hv(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function qv(e,t,n,r,o,a){let i=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Hv(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const Uv=w.exports.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:a,className:i,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=lf(e,$v),p=w.exports.useRef(null),f=w.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Cf((()=>{r&&p.current.focus()}),[r]),w.exports.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Bf(Sf(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const m=zf(p,t);let h=-1;w.exports.Children.forEach(a,((e,t)=>{w.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===h)&&(h=t))}));const g=w.exports.Children.map(a,((e,t)=>{if(t===h){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),w.exports.cloneElement(e,t)}return e}));return sh.exports.jsx(Dv,af({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=p.current,n=e.key,r=Sf(t).activeElement;if("ArrowDown"===n)e.preventDefault(),qv(t,r,s,l,Bv);else if("ArrowUp"===n)e.preventDefault(),qv(t,r,s,l,Wv);else if("Home"===n)e.preventDefault(),qv(t,null,s,l,Bv);else if("End"===n)e.preventDefault(),qv(t,null,s,l,Wv);else if(1===n.length){const o=f.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const s=r&&!o.repeating&&Hv(r,o);o.previousKeyMatched&&(s||qv(t,r,!1,l,Bv,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));var Vv=Uv;const Kv=e=>e.scrollTop;function Gv(e,t){var n,r;const{timeout:o,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}const Yv=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Qv(e){return`scale(${e}, ${e**2})`}const Xv={entering:{opacity:1,transform:Qv(1)},entered:{opacity:1,transform:"none"}},Jv=w.exports.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:a,in:i,onEnter:l,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:m="auto",TransitionComponent:h=tv}=e,g=lf(e,Yv),b=w.exports.useRef(),v=w.exports.useRef(),y=Xg(),x=w.exports.useRef(null),S=zf(o.ref,t),k=zf(x,S),E=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=E(u),R=E(((e,t)=>{Kv(e);const{duration:n,delay:r,easing:o}=Gv({style:f,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=y.transitions.getAutoHeightDuration(e.clientHeight),v.current=i):i=n,e.style.transition=[y.transitions.create("opacity",{duration:i,delay:r}),y.transitions.create("transform",{duration:.666*i,delay:r,easing:o})].join(","),l&&l(e,t)})),P=E(s),T=E(p),M=E((e=>{const{duration:t,delay:n,easing:r}=Gv({style:f,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=y.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[y.transitions.create("opacity",{duration:o,delay:n}),y.transitions.create("transform",{duration:.666*o,delay:n||.333*o,easing:r})].join(","),e.style.opacity="0",e.style.transform=Qv(.75),c&&c(e)})),N=E(d);return w.exports.useEffect((()=>()=>{clearTimeout(b.current)}),[]),sh.exports.jsx(h,af({appear:r,in:i,nodeRef:x,onEnter:R,onEntered:P,onEntering:C,onExit:M,onExited:N,onExiting:T,addEndListener:e=>{"auto"===m&&(b.current=setTimeout(e,v.current||0)),n&&n(x.current,e)},timeout:"auto"===m?null:m},g,{children:(e,t)=>w.exports.cloneElement(o,af({style:af({opacity:0,transform:Qv(.75),visibility:"exited"!==e||i?void 0:"hidden"},Xv[e],f,o.props.style),ref:k},t))}))}));Jv.muiSupportAuto=!0;var Zv=Jv;const ey=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ty={entering:{opacity:1},entered:{opacity:1}},ny=w.exports.forwardRef((function(e,t){const n=Xg(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:l,in:s,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:m,style:h,timeout:g=r,TransitionComponent:b=tv}=e,v=lf(e,ey),y=w.exports.useRef(null),x=zf(i.ref,t),S=zf(y,x),k=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},E=k(d),C=k(((e,t)=>{Kv(e);const r=Gv({style:h,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),R=k(c),P=k(m),T=k((e=>{const t=Gv({style:h,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),M=k(f);return sh.exports.jsx(b,af({appear:a,in:s,nodeRef:y,onEnter:C,onEntered:R,onEntering:E,onExit:T,onExited:M,onExiting:P,addEndListener:e=>{o&&o(y.current,e)},timeout:g},v,{children:(e,t)=>w.exports.cloneElement(i,af({style:af({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},ty[e],h,i.props.style),ref:S},t))}))}));var ry=ny;const oy=["children","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],ay=tb("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>af({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"},e.invisible&&{backgroundColor:"transparent"}))),iy=w.exports.forwardRef((function(e,t){var n;const r=Jg({props:e,name:"MuiBackdrop"}),{children:o,components:a={},componentsProps:i={},className:l,invisible:s=!1,open:u,transitionDuration:c,TransitionComponent:d=ry}=r,p=lf(r,oy),f=(e=>{const{classes:t}=e;return t})(af({},r,{invisible:s}));return sh.exports.jsx(d,af({in:u,timeout:c},p,{children:sh.exports.jsx(eg,{className:l,invisible:s,components:af({Root:ay},a),componentsProps:{root:af({},i.root,(!a.Root||!Hh(a.Root))&&{ownerState:af({},null==(n=i.root)?void 0:n.ownerState)})},classes:f,ref:t,children:o})}))}));var ly=iy;const sy=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],uy=tb("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>af({position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),cy=tb(ly,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),dy=w.exports.forwardRef((function(e,t){var n;const r=Jg({name:"MuiModal",props:e}),{BackdropComponent:o=cy,closeAfterTransition:a=!1,children:i,components:l={},componentsProps:s={},disableAutoFocus:u=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:d=!1,disablePortal:p=!1,disableRestoreFocus:f=!1,disableScrollLock:m=!1,hideBackdrop:h=!1,keepMounted:g=!1}=r,b=lf(r,sy),[v,y]=w.exports.useState(!0),x={closeAfterTransition:a,disableAutoFocus:u,disableEnforceFocus:c,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:f,disableScrollLock:m,hideBackdrop:h,keepMounted:g},S=(e=>e.classes)(af({},r,x,{exited:v}));return sh.exports.jsx(hg,af({components:af({Root:uy},l),componentsProps:{root:af({},s.root,(!l.Root||!Hh(l.Root))&&{ownerState:af({},null==(n=s.root)?void 0:n.ownerState)})},BackdropComponent:o,onTransitionEnter:()=>y(!1),onTransitionExited:()=>y(!0),ref:t},b,{classes:S},x,{children:i}))}));var py=dy;function fy(e){return Yh("MuiPopover",e)}Qh("MuiPopover",["root","paper"]);const my=["onEntering"],hy=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function gy(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function by(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function vy(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function yy(e){return"function"==typeof e?e():e}const xy=tb(py,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),wy=tb(mb,{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}),Sy=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiPopover"}),{action:r,anchorEl:o,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:i,anchorReference:l="anchorEl",children:s,className:u,container:c,elevation:d=8,marginThreshold:p=16,open:f,PaperProps:m={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:g=Zv,transitionDuration:b="auto",TransitionProps:{onEntering:v}={}}=n,y=lf(n.TransitionProps,my),x=lf(n,hy),S=w.exports.useRef(),k=zf(S,m.ref),E=af({},n,{anchorOrigin:a,anchorReference:l,elevation:d,marginThreshold:p,PaperProps:m,transformOrigin:h,TransitionComponent:g,transitionDuration:b,TransitionProps:y}),C=(e=>{const{classes:t}=e;return Uh({root:["root"],paper:["paper"]},fy,t)})(E),R=w.exports.useCallback((()=>{if("anchorPosition"===l)return i;const e=yy(o),t=(e&&1===e.nodeType?e:Sf(S.current).body).getBoundingClientRect();return{top:t.top+gy(t,a.vertical),left:t.left+by(t,a.horizontal)}}),[o,a.horizontal,a.vertical,i,l]),P=w.exports.useCallback((e=>({vertical:gy(e,h.vertical),horizontal:by(e,h.horizontal)})),[h.horizontal,h.vertical]),T=w.exports.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=P(t);if("none"===l)return{top:null,left:null,transformOrigin:vy(n)};const r=R();let a=r.top-n.vertical,i=r.left-n.horizontal;const s=a+t.height,u=i+t.width,c=kf(yy(o)),d=c.innerHeight-p,f=c.innerWidth-p;if(a<p){const e=a-p;a-=e,n.vertical+=e}else if(s>d){const e=s-d;a-=e,n.vertical+=e}if(i<p){const e=i-p;i-=e,n.horizontal+=e}else if(u>f){const e=u-f;i-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(i)}px`,transformOrigin:vy(n)}}),[o,l,R,P,p]),M=w.exports.useCallback((()=>{const e=S.current;if(!e)return;const t=T(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[T]);w.exports.useEffect((()=>{f&&M()})),w.exports.useImperativeHandle(r,(()=>f?{updatePosition:()=>{M()}}:null),[f,M]),w.exports.useEffect((()=>{if(!f)return;const e=xf((()=>{M()})),t=kf(o);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[o,f,M]);let N=b;"auto"!==b||g.muiSupportAuto||(N=void 0);const z=c||(o?Sf(yy(o)).body:void 0);return sh.exports.jsx(xy,af({BackdropProps:{invisible:!0},className:Jm(C.root,u),container:z,open:f,ref:t,ownerState:E},x,{children:sh.exports.jsx(g,af({appear:!0,in:f,onEntering:(e,t)=>{v&&v(e,t),M()},timeout:N},y,{children:sh.exports.jsx(wy,af({elevation:d},m,{ref:k,className:Jm(C.paper,m.className),children:s}))}))}))}));var ky=Sy;function Ey(e){return Yh("MuiMenu",e)}Qh("MuiMenu",["root","paper","list"]);const Cy=["onEntering"],Ry=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Py={vertical:"top",horizontal:"right"},Ty={vertical:"top",horizontal:"left"},My=tb(ky,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ny=tb(mb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),zy=tb(Vv,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Oy=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiMenu"}),{autoFocus:r=!0,children:o,disableAutoFocusItem:a=!1,MenuListProps:i={},onClose:l,open:s,PaperProps:u={},PopoverClasses:c,transitionDuration:d="auto",TransitionProps:{onEntering:p}={},variant:f="selectedMenu"}=n,m=lf(n.TransitionProps,Cy),h=lf(n,Ry),g=Xg(),b="rtl"===g.direction,v=af({},n,{autoFocus:r,disableAutoFocusItem:a,MenuListProps:i,onEntering:p,PaperProps:u,transitionDuration:d,TransitionProps:m,variant:f}),y=(e=>{const{classes:t}=e;return Uh({root:["root"],paper:["paper"],list:["list"]},Ey,t)})(v),x=r&&!a&&s,S=w.exports.useRef(null);let k=-1;return w.exports.Children.map(o,((e,t)=>{w.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===f&&e.props.selected||-1===k)&&(k=t))})),sh.exports.jsx(My,af({classes:c,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?Py:Ty,PaperProps:af({component:Ny},u,{classes:af({},u.classes,{root:y.paper})}),className:y.root,open:s,ref:t,transitionDuration:d,TransitionProps:af({onEntering:(e,t)=>{S.current&&S.current.adjustStyleForScrollbar(e,g),p&&p(e,t)}},m),ownerState:v},h,{children:sh.exports.jsx(zy,af({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),l&&l(e,"tabKeyDown"))},actions:S,autoFocus:r&&(-1===k||a),autoFocusItem:x,variant:f},i,{className:Jm(y.list,i.className),children:o}))}))}));var Iy=Oy;function Ay(e){return Yh("MuiNativeSelect",e)}var Ly=Qh("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const Fy=["className","disabled","IconComponent","inputRef","variant"],_y=({ownerState:e,theme:t})=>af({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},[`&.${Ly.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),jy=tb("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zg,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${Ly.multiple}`]:t.multiple}]}})(_y),Dy=({ownerState:e,theme:t})=>af({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${Ly.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),$y=tb("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${vf(n.variant)}`],n.open&&t.iconOpen]}})(Dy);var By=w.exports.forwardRef((function(e,t){const{className:n,disabled:r,IconComponent:o,inputRef:a,variant:i="standard"}=e,l=lf(e,Fy),s=af({},e,{disabled:r,variant:i}),u=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return Uh({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${vf(n)}`,a&&"iconOpen",r&&"disabled"]},Ay,t)})(s);return sh.exports.jsxs(w.exports.Fragment,{children:[sh.exports.jsx(jy,af({ownerState:s,className:Jm(u.select,n),disabled:r,ref:a||t},l)),e.multiple?null:sh.exports.jsx($y,{as:o,ownerState:s,className:u.icon})]})}));function Wy(e){return Yh("MuiSelect",e)}var Hy,qy=Qh("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const Uy=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Vy=tb("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${qy.select}`]:t.select},{[`&.${qy.select}`]:t[n.variant]},{[`&.${qy.multiple}`]:t.multiple}]}})(_y,{[`&.${qy.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Ky=tb("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${vf(n.variant)}`],n.open&&t.iconOpen]}})(Dy),Gy=tb("input",{shouldForwardProp:e=>eb(e)&&"classes"!==e,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 Yy(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Qy(e){return null==e||"string"==typeof e&&!e.trim()}const Xy=w.exports.forwardRef((function(e,t){const{"aria-describedby":n,"aria-label":r,autoFocus:o,autoWidth:a,children:i,className:l,defaultOpen:s,defaultValue:u,disabled:c,displayEmpty:d,IconComponent:p,inputRef:f,labelId:m,MenuProps:h={},multiple:g,name:b,onBlur:v,onChange:y,onClose:x,onFocus:S,onOpen:k,open:E,readOnly:C,renderValue:R,SelectDisplayProps:P={},tabIndex:T,value:M,variant:N="standard"}=e,z=lf(e,Uy),[O,I]=Mf({controlled:M,default:u,name:"Select"}),[A,L]=Mf({controlled:E,default:s,name:"Select"}),F=w.exports.useRef(null),_=w.exports.useRef(null),[j,D]=w.exports.useState(null),{current:$}=w.exports.useRef(null!=E),[B,W]=w.exports.useState(),H=zf(t,f),q=w.exports.useCallback((e=>{_.current=e,e&&D(e)}),[]);w.exports.useImperativeHandle(H,(()=>({focus:()=>{_.current.focus()},node:F.current,value:O})),[O]),w.exports.useEffect((()=>{s&&A&&j&&!$&&(W(a?null:j.clientWidth),_.current.focus())}),[j,a]),w.exports.useEffect((()=>{o&&_.current.focus()}),[o]),w.exports.useEffect((()=>{if(!m)return;const e=Sf(_.current).getElementById(m);if(e){const t=()=>{getSelection().isCollapsed&&_.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[m]);const U=(e,t)=>{e?k&&k(t):x&&x(t),$||(W(a?null:j.clientWidth),L(e))},V=w.exports.Children.toArray(i),K=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(g){n=Array.isArray(O)?O.slice():[];const t=O.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),O!==n&&(I(n),y)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:b}}),y(o,e)}g||U(!1,t)}},G=null!==j&&A;let Y,Q;delete z["aria-invalid"];const X=[];let J=!1;(Nb({value:O})||d)&&(R?Y=R(O):J=!0);const Z=V.map((e=>{if(!w.exports.isValidElement(e))return null;let t;if(g){if(!Array.isArray(O))throw new Error(bf(2));t=O.some((t=>Yy(t,e.props.value))),t&&J&&X.push(e.props.children)}else t=Yy(O,e.props.value),t&&J&&(Q=e.props.children);return w.exports.cloneElement(e,{"aria-selected":t?"true":"false",onClick:K(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));J&&(Y=g?0===X.length?null:X.reduce(((e,t,n)=>(e.push(t),n<X.length-1&&e.push(", "),e)),[]):Q);let ee,te=B;!a&&$&&j&&(te=j.clientWidth),ee=void 0!==T?T:c?null:0;const ne=P.id||(b?`mui-component-select-${b}`:void 0),re=af({},e,{variant:N,value:O,open:G}),oe=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return Uh({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${vf(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},Wy,t)})(re);return sh.exports.jsxs(w.exports.Fragment,{children:[sh.exports.jsx(Vy,af({ref:q,tabIndex:ee,role:"button","aria-disabled":c?"true":void 0,"aria-expanded":G?"true":"false","aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[m,ne].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!C){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),U(!0,e))}},onMouseDown:c||C?null:e=>{0===e.button&&(e.preventDefault(),_.current.focus(),U(!0,e))},onBlur:e=>{!G&&v&&(Object.defineProperty(e,"target",{writable:!0,value:{value:O,name:b}}),v(e))},onFocus:S},P,{ownerState:re,className:Jm(oe.select,l,P.className),id:ne,children:Qy(Y)?Hy||(Hy=sh.exports.jsx("span",{className:"notranslate",children:""})):Y})),sh.exports.jsx(Gy,af({value:Array.isArray(O)?O.join(","):O,name:b,ref:F,"aria-hidden":!0,onChange:e=>{const t=V.map((e=>e.props.value)).indexOf(e.target.value);if(-1===t)return;const n=V[t];I(n.props.value),y&&y(e,n)},tabIndex:-1,disabled:c,className:oe.nativeInput,autoFocus:o,ownerState:re},z)),sh.exports.jsx(Ky,{as:p,className:oe.icon,ownerState:re}),sh.exports.jsx(Iy,af({id:`menu-${b||""}`,anchorEl:j,open:G,onClose:e=>{U(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},h,{MenuListProps:af({"aria-labelledby":m,role:"listbox",disableListWrap:!0},h.MenuListProps),PaperProps:af({},h.PaperProps,{style:af({minWidth:te},null!=h.PaperProps?h.PaperProps.style:null)}),children:Z}))]})}));var Jy=Xy;function Zy(e){return Yh("MuiSvgIcon",e)}Qh("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ex=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],tx=tb("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${vf(n.color)}`],t[`fontSize${vf(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,u,c,d,p,f,m,h,g,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(a=o.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(l=i.pxToRem)?void 0:l.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(u=s.pxToRem)?void 0:u.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875"}[t.fontSize],color:null!=(p=null==(f=e.palette)||null==(m=f[t.color])?void 0:m.main)?p:{action:null==(h=e.palette)||null==(g=h.action)?void 0:g.active,disabled:null==(b=e.palette)||null==(v=b.action)?void 0:v.disabled,inherit:void 0}[t.color]}})),nx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24"}=n,p=lf(n,ex),f=af({},n,{color:a,component:i,fontSize:l,inheritViewBox:u,viewBox:d}),m={};u||(m.viewBox=d);const h=(e=>{const{color:t,fontSize:n,classes:r}=e;return Uh({root:["root","inherit"!==t&&`color${vf(t)}`,`fontSize${vf(n)}`]},Zy,r)})(f);return sh.exports.jsxs(tx,af({as:i,className:Jm(h.root,o),ownerState:f,focusable:"false",color:s,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},m,p,{children:[r,c?sh.exports.jsx("title",{children:c}):null]}))}));nx.muiName="SvgIcon";var rx=nx;function ox(e,t){const n=(n,r)=>sh.exports.jsx(rx,af({"data-testid":`${t}Icon`,ref:r},n,{children:e}));return n.muiName=rx.muiName,w.exports.memo(w.exports.forwardRef(n))}var ax=ox(sh.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function ix(e){return Yh("MuiInput",e)}var lx=Qh("MuiInput",["root","formControl","focused","disabled","colorSecondary","underline","error","sizeSmall","multiline","fullWidth","input","inputSizeSmall","inputMultiline","inputTypeSearch"]);const sx=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],ux=tb(Fb,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ab(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return af({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${e.palette[t.color].main}`,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"},[`&.${lx.focused}:after`]:{transform:"scaleX(1)"},[`&.${lx.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&: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(.${lx.disabled}):before`]:{borderBottom:`2px solid ${e.palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${lx.disabled}:before`]:{borderBottomStyle:"dotted"}})})),cx=tb(_b,{name:"MuiInput",slot:"Input",overridesResolver:Lb})({}),dx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiInput"}),{disableUnderline:r,components:o={},componentsProps:a,fullWidth:i=!1,inputComponent:l="input",multiline:s=!1,type:u="text"}=n,c=lf(n,sx),d=(e=>{const{classes:t,disableUnderline:n}=e;return af({},t,Uh({root:["root",!n&&"underline"],input:["input"]},ix,t))})(n),p={root:{ownerState:{disableUnderline:r}}},f=a?gf(a,p):p;return sh.exports.jsx($b,af({components:af({Root:ux,Input:cx},o),componentsProps:f,fullWidth:i,inputComponent:l,multiline:s,ref:t,type:u},c,{classes:d}))}));dx.muiName="Input";var px=dx;function fx(e){return Yh("MuiFilledInput",e)}var mx=Qh("MuiFilledInput",["root","colorSecondary","underline","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","hiddenLabel","input","inputSizeSmall","inputHiddenLabel","inputMultiline","inputAdornedStart","inputAdornedEnd"]);const hx=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],gx=tb(Fb,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ab(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return af({position:"relative",backgroundColor:o,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:o}},[`&.${mx.focused}`]:{backgroundColor:o},[`&.${mx.disabled}`]:{backgroundColor:n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${e.palette[t.color].main}`,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"},[`&.${mx.focused}:after`]:{transform:"scaleX(1)"},[`&.${mx.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${mx.disabled}):before`]:{borderBottom:`1px solid ${e.palette.text.primary}`},[`&.${mx.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&af({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),bx=tb(_b,{name:"MuiFilledInput",slot:"Input",overridesResolver:Lb})((({theme:e,ownerState:t})=>af({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))),vx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiFilledInput"}),{components:r={},componentsProps:o,fullWidth:a=!1,inputComponent:i="input",multiline:l=!1,type:s="text"}=n,u=lf(n,hx),c=af({},n,{fullWidth:a,inputComponent:i,multiline:l,type:s}),d=(e=>{const{classes:t,disableUnderline:n}=e;return af({},t,Uh({root:["root",!n&&"underline"],input:["input"]},fx,t))})(n),p={root:{ownerState:c},input:{ownerState:c}},f=o?gf(o,p):p;return sh.exports.jsx($b,af({components:af({Root:gx,Input:bx},r),componentsProps:f,fullWidth:a,inputComponent:i,multiline:l,ref:t,type:s},u,{classes:d}))}));vx.muiName="Input";var yx,xx=vx;const wx=["children","classes","className","label","notched"],Sx=tb("fieldset")({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%"}),kx=tb("legend")((({ownerState:e,theme:t})=>af({float:"unset"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&af({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function Ex(e){return Yh("MuiOutlinedInput",e)}var Cx=Qh("MuiOutlinedInput",["root","colorSecondary","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","notchedOutline","input","inputSizeSmall","inputMultiline","inputAdornedStart","inputAdornedEnd"]);const Rx=["components","fullWidth","inputComponent","label","multiline","notched","type"],Px=tb(Fb,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ab})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return af({position:"relative",borderRadius:e.shape.borderRadius,[`&:hover .${Cx.notchedOutline}`]:{borderColor:e.palette.text.primary},"@media (hover: none)":{[`&:hover .${Cx.notchedOutline}`]:{borderColor:n}},[`&.${Cx.focused} .${Cx.notchedOutline}`]:{borderColor:e.palette[t.color].main,borderWidth:2},[`&.${Cx.error} .${Cx.notchedOutline}`]:{borderColor:e.palette.error.main},[`&.${Cx.disabled} .${Cx.notchedOutline}`]:{borderColor:e.palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&af({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Tx=tb((function(e){const{className:t,label:n,notched:r}=e,o=lf(e,wx),a=null!=n&&""!==n,i=af({},e,{notched:r,withLabel:a});return sh.exports.jsx(Sx,af({"aria-hidden":!0,className:t,ownerState:i},o,{children:sh.exports.jsx(kx,{ownerState:i,children:a?sh.exports.jsx("span",{children:n}):yx||(yx=sh.exports.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>({borderColor:"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}))),Mx=tb(_b,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Lb})((({theme:e,ownerState:t})=>af({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),Nx=w.exports.forwardRef((function(e,t){var n;const r=Jg({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:a=!1,inputComponent:i="input",label:l,multiline:s=!1,notched:u,type:c="text"}=r,d=lf(r,Rx),p=(e=>{const{classes:t}=e;return af({},t,Uh({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ex,t))})(r),f=Cb({props:r,muiFormControl:Pb(),states:["required"]});return sh.exports.jsx($b,af({components:af({Root:Px,Input:Mx},o),renderSuffix:e=>sh.exports.jsx(Tx,{className:p.notchedOutline,label:null!=l&&""!==l&&f.required?n||(n=sh.exports.jsxs(w.exports.Fragment,{children:[l," ","*"]})):l,notched:void 0!==u?u:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:a,inputComponent:i,multiline:s,ref:t,type:c},d,{classes:af({},p,{notchedOutline:null})}))}));Nx.muiName="Input";var zx,Ox,Ix=Nx;const Ax=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Lx={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zg(e)&&"variant"!==e,slot:"Root"},Fx=tb(px,Lx)(""),_x=tb(Ix,Lx)(""),jx=tb(xx,Lx)(""),Dx=w.exports.forwardRef((function(e,t){const n=Jg({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:a={},className:i,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:u=ax,id:c,input:d,inputProps:p,label:f,labelId:m,MenuProps:h,multiple:g=!1,native:b=!1,onClose:v,onOpen:y,open:x,renderValue:S,SelectDisplayProps:k,variant:E="outlined"}=n,C=lf(n,Ax),R=b?By:Jy,P=Cb({props:n,muiFormControl:Pb(),states:["variant"]}).variant||E,T=d||{standard:zx||(zx=sh.exports.jsx(Fx,{})),outlined:sh.exports.jsx(_x,{label:f}),filled:Ox||(Ox=sh.exports.jsx(jx,{}))}[P],M=(e=>{const{classes:t}=e;return t})(af({},n,{variant:P,classes:a})),N=zf(t,T.ref);return w.exports.cloneElement(T,af({inputComponent:R,inputProps:af({children:o,IconComponent:u,variant:P,type:void 0,multiple:g},b?{id:c}:{autoWidth:r,defaultOpen:l,displayEmpty:s,labelId:m,MenuProps:h,onClose:v,onOpen:y,open:x,renderValue:S,SelectDisplayProps:af({id:c},k)},p,{classes:p?gf(M,p.classes):M},d?d.props.inputProps:{})},g&&b&&"outlined"===P?{notched:!0}:{},{ref:N,className:Jm(T.props.className,i),variant:P},C))}));Dx.muiName="Select";var $x=Dx;var Bx=w.exports.createContext();function Wx(e){return Yh("MuiTableCell",e)}var Hx=Qh("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);const qx=["align","className","component","padding","scope","size","sortDirection","variant"],Ux=tb("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${vf(n.size)}`],"normal"!==n.padding&&t[`padding${vf(n.padding)}`],"inherit"!==n.align&&t[`align${vf(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>af({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:`1px solid\n ${"light"===e.palette.mode?Dh(_h(e.palette.divider,1),.88):jh(_h(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:e.palette.text.primary},"footer"===t.variant&&{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${Hx.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.default}))),Vx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:a,padding:i,scope:l,size:s,sortDirection:u,variant:c}=n,d=lf(n,qx),p=w.exports.useContext(hb),f=w.exports.useContext(Bx),m=f&&"head"===f.variant;let h;h=a||(m?"th":"td");let g=l;!g&&m&&(g="col");const b=c||f&&f.variant,v=af({},n,{align:r,component:h,padding:i||(p&&p.padding?p.padding:"normal"),size:s||(p&&p.size?p.size:"medium"),sortDirection:u,stickyHeader:"head"===b&&p&&p.stickyHeader,variant:b}),y=(e=>{const{classes:t,variant:n,align:r,padding:o,size:a,stickyHeader:i}=e;return Uh({root:["root",n,i&&"stickyHeader","inherit"!==r&&`align${vf(r)}`,"normal"!==o&&`padding${vf(o)}`,`size${vf(a)}`]},Wx,t)})(v);let x=null;return u&&(x="asc"===u?"ascending":"descending"),sh.exports.jsx(Ux,af({as:h,ref:t,className:Jm(y.root,o),"aria-sort":x,scope:g,ownerState:v},d))}));var Kx=Vx;function Gx(e){return Yh("MuiToolbar",e)}Qh("MuiToolbar",["root","gutters","regular","dense"]);const Yx=["className","component","disableGutters","variant"],Qx=tb("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>af({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar));var Xx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:a=!1,variant:i="regular"}=n,l=lf(n,Yx),s=af({},n,{component:o,disableGutters:a,variant:i}),u=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return Uh({root:["root",!n&&"gutters",r]},Gx,t)})(s);return sh.exports.jsx(Qx,af({as:o,className:Jm(u.root,r),ref:t,ownerState:s},l))})),Jx=ox(sh.exports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Zx=ox(sh.exports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function ew(e){return Yh("MuiIconButton",e)}var tw=Qh("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const nw=["edge","children","className","color","disabled","disableFocusRipple","size"],rw=tb(Pv,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${vf(n.color)}`],n.edge&&t[`edge${vf(n.edge)}`],t[`size${vf(n.size)}`]]}})((({theme:e,ownerState:t})=>af({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:_h(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>af({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&af({color:e.palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:_h(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${tw.disabled}`]:{backgroundColor:"transparent",color:e.palette.action.disabled}}))),ow=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:u="medium"}=n,c=lf(n,nw),d=af({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:u}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e;return Uh({root:["root",n&&"disabled","default"!==r&&`color${vf(r)}`,o&&`edge${vf(o)}`,`size${vf(a)}`]},ew,t)})(d);return sh.exports.jsx(rw,af({className:Jm(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},c,{children:o}))}));var aw,iw,lw,sw,uw,cw,dw,pw,fw=ow,mw=ox(sh.exports.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),hw=ox(sh.exports.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");const gw=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"];var bw=w.exports.forwardRef((function(e,t){const{backIconButtonProps:n,count:r,getItemAriaLabel:o,nextIconButtonProps:a,onPageChange:i,page:l,rowsPerPage:s,showFirstButton:u,showLastButton:c}=e,d=lf(e,gw),p=Xg();return sh.exports.jsxs("div",af({ref:t},d,{children:[u&&sh.exports.jsx(fw,{onClick:e=>{i(e,0)},disabled:0===l,"aria-label":o("first",l),title:o("first",l),children:"rtl"===p.direction?aw||(aw=sh.exports.jsx(mw,{})):iw||(iw=sh.exports.jsx(hw,{}))}),sh.exports.jsx(fw,af({onClick:e=>{i(e,l-1)},disabled:0===l,color:"inherit","aria-label":o("previous",l),title:o("previous",l)},n,{children:"rtl"===p.direction?lw||(lw=sh.exports.jsx(Zx,{})):sw||(sw=sh.exports.jsx(Jx,{}))})),sh.exports.jsx(fw,af({onClick:e=>{i(e,l+1)},disabled:-1!==r&&l>=Math.ceil(r/s)-1,color:"inherit","aria-label":o("next",l),title:o("next",l)},a,{children:"rtl"===p.direction?uw||(uw=sh.exports.jsx(Jx,{})):cw||(cw=sh.exports.jsx(Zx,{}))})),c&&sh.exports.jsx(fw,{onClick:e=>{i(e,Math.max(0,Math.ceil(r/s)-1))},disabled:l>=Math.ceil(r/s)-1,"aria-label":o("last",l),title:o("last",l),children:"rtl"===p.direction?dw||(dw=sh.exports.jsx(hw,{})):pw||(pw=sh.exports.jsx(mw,{}))})]}))}));function vw(e){return Yh("MuiTablePagination",e)}var yw,xw=Qh("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);const ww=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],Sw=tb(Kx,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({overflow:"auto",color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),kw=tb(Xx,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>af({[`& .${xw.actions}`]:t.actions},t.toolbar)})((({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${xw.actions}`]:{flexShrink:0,marginLeft:20}}))),Ew=tb("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Cw=tb("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((({theme:e})=>af({},e.typography.body2,{flexShrink:0}))),Rw=tb($x,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>af({[`& .${xw.selectIcon}`]:t.selectIcon,[`& .${xw.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${xw.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),Pw=tb(Lv,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),Tw=tb("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((({theme:e})=>af({},e.typography.body2,{flexShrink:0})));function Mw({from:e,to:t,count:n}){return`${e}–${t} of ${-1!==n?n:`more than ${t}`}`}function Nw(e){return`Go to ${e} page`}var zw=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTablePagination"}),{ActionsComponent:r=bw,backIconButtonProps:o,className:a,colSpan:i,component:l=Kx,count:s,getItemAriaLabel:u=Nw,labelDisplayedRows:c=Mw,labelRowsPerPage:d="Rows per page:",nextIconButtonProps:p,onPageChange:f,onRowsPerPageChange:m,page:h,rowsPerPage:g,rowsPerPageOptions:b=[10,25,50,100],SelectProps:v={},showFirstButton:y=!1,showLastButton:x=!1}=n,S=lf(n,ww),k=n,E=(e=>{const{classes:t}=e;return Uh({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},vw,t)})(k),C=v.native?"option":Pw;let R;l!==Kx&&"td"!==l||(R=i||1e3);const P=Tf(v.id),T=Tf(v.labelId);return sh.exports.jsx(Sw,af({colSpan:R,ref:t,as:l,ownerState:k,className:Jm(E.root,a)},S,{children:sh.exports.jsxs(kw,{className:E.toolbar,children:[sh.exports.jsx(Ew,{className:E.spacer}),b.length>1&&sh.exports.jsx(Cw,{className:E.selectLabel,id:T,children:d}),b.length>1&&sh.exports.jsx(Rw,af({variant:"standard",input:yw||(yw=sh.exports.jsx($b,{})),value:g,onChange:m,id:P,labelId:T},v,{classes:af({},v.classes,{root:Jm(E.input,E.selectRoot,(v.classes||{}).root),select:Jm(E.select,(v.classes||{}).select),icon:Jm(E.selectIcon,(v.classes||{}).icon)}),children:b.map((e=>w.exports.createElement(C,af({},!Hh(C)&&{ownerState:k},{className:E.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)))})),sh.exports.jsx(Tw,{className:E.displayedRows,children:c({from:0===s?0:h*g+1,to:-1===s?(h+1)*g:-1===g?s:Math.min(s,(h+1)*g),count:-1===s?-1:s,page:h})}),sh.exports.jsx(r,{className:E.actions,backIconButtonProps:o,count:s,nextIconButtonProps:p,onPageChange:f,page:h,rowsPerPage:g,showFirstButton:y,showLastButton:x,getItemAriaLabel:u})]})}))}));const Ow=zh("div")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}),Iw=()=>oe.createElement(oe.Fragment,null,oe.createElement(Ow,{id:"sn-table-announcer--01","aria-live":"polite","aria-atomic":"true"}),oe.createElement(Ow,{id:"sn-table-announcer--02","aria-live":"polite","aria-atomic":"true"}));function Aw(e){return Yh("MuiTableBody",e)}Qh("MuiTableBody",["root"]);const Lw=["className","component"],Fw=tb("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),_w={variant:"body"},jw="tbody";var Dw=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableBody"}),{className:r,component:o=jw}=n,a=lf(n,Lw),i=af({},n,{component:o}),l=(e=>{const{classes:t}=e;return Uh({root:["root"]},Aw,t)})(i);return sh.exports.jsx(Bx.Provider,{value:_w,children:sh.exports.jsx(Fw,af({className:Jm(l.root,r),as:o,ref:t,role:o===jw?null:"rowgroup",ownerState:i},a))})}));function $w(e){return Yh("MuiTableRow",e)}var Bw=Qh("MuiTableRow",["root","selected","hover","head","footer"]);const Ww=["className","component","hover","selected"],Hw=tb("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Bw.hover}:hover`]:{backgroundColor:e.palette.action.hover},[`&.${Bw.selected}`]:{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),qw="tr",Uw=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableRow"}),{className:r,component:o=qw,hover:a=!1,selected:i=!1}=n,l=lf(n,Ww),s=w.exports.useContext(Bx),u=af({},n,{component:o,hover:a,selected:i,head:s&&"head"===s.variant,footer:s&&"footer"===s.variant}),c=(e=>{const{classes:t,selected:n,hover:r,head:o,footer:a}=e;return Uh({root:["root",n&&"selected",r&&"hover",o&&"head",a&&"footer"]},$w,t)})(u);return sh.exports.jsx(Hw,af({as:o,ref:t,className:Jm(c.root,r),role:o===qw?null:"row",ownerState:u},l))}));var Vw=Uw;function Kw(e,t){const{rows:n,colIdx:r,isEnabled:o}=t.payload||{};switch(t.type){case"select":return{...e,rows:n,colIdx:r};case"reset":return e.api.isModal()?e:{...e,rows:[],colIdx:-1};case"clear":return e.rows.length?{...e,rows:[]}:e;case"set-enabled":return{...e,isEnabled:o};default:throw new Error("reducer called with invalid action type")}}function Gw({selectionState:e,cell:t,selectionDispatch:n,evt:r,announce:o}){const{api:a,rows:i}=e,{rowIdx:l,colIdx:s,qElemNumber:u}=t;let c=[];if(-1===e.colIdx)a.begin("/qHyperCubeDef");else{if(e.colIdx!==s)return;c=i.concat()}c=(({selectedRows:e,qElemNumber:t,rowIdx:n,evt:r})=>{if(r.ctrlKey||r.metaKey)return[{qElemNumber:t,rowIdx:n}];const o=e.findIndex((e=>e.qElemNumber===t));return o>-1?(e.splice(o,1),e):(e.push({qElemNumber:t,rowIdx:n}),e)})({selectedRows:c,qElemNumber:u,rowIdx:l,evt:r}),(({announce:e,rowsLength:t,isAddition:n})=>{e(t?{keys:[n?"SNTable.SelectionLabel.SelectedValue":"SNTable.SelectionLabel.DeselectedValue",1===t?"SNTable.SelectionLabel.OneSelectedValue":["SNTable.SelectionLabel.SelectedValues",t]]}:{keys:"SNTable.SelectionLabel.ExitedSelectionMode"})})({announce:o,rowsLength:c.length,isAddition:c.length>i.length}),c.length?(n({type:"select",payload:{rows:c,colIdx:s}}),a.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",c.map((e=>e.rowIdx)),[s]]})):a.cancel()}const Yw={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};const Qw="14px",Xw="#404040",Jw="#f4f4f4",Zw="repeating-linear-gradient(-45deg, rgba(200,200,200,0.08), rgba(200,200,200,0.08) 2px, rgba(200,200,200,0.3) 2.5px, rgba(200,200,200,0.08) 3px, rgba(200,200,200,0.08) 5px)",eS="#fff",tS="7px 14px",nS={SELECTED:{color:eS,background:"#009845",selectedCellClass:"selected"},POSSIBLE:{color:Xw,background:eS}};function rS(e,t){let n=t;return e.padding?({padding:n}=e):e.fontSize&&(n=`${e.fontSize/2}px ${e.fontSize}px`),n}function oS(e={},t,n){const r=n.getColorPickerColor(e);return r&&"none"!==r?r:t}const aS=e=>function(e){let t,n,r,o;return(o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e)||/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e))?(t=parseInt(o[1],10),n=parseInt(o[2],10),r=parseInt(o[3],10)):(o=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(e))&&(t=parseInt(o[1],16),n=parseInt(o[2],16),r=parseInt(o[3],16)),.299*t+.587*n+.114*r<125}(e)?eS:Xw,iS=(e,t)=>({color:oS(e.fontColor,Xw,t),fontSize:e.fontSize||Qw,padding:rS(e,tS)}),lS=e=>!e||JSON.stringify(e)===JSON.stringify({index:-1,color:null});function sS(e,t,n){const r={};return null==t||t.qValues.forEach(((e,t)=>{r[n[t]]=function(e){let t=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e);if(t)return`rgb(${t[1]},${t[2]},${t[3]})`;if(t=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return`rgba(${t[1]},${t[2]},${t[3]},${t[4]})`;if(t=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e),t){const e=Math.round(t[1]/2.55)/100;return`rgba(${t[2]},${t[3]},${t[4]},${e})`}if(t=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(e),t)return e;const n=e&&Yw[e.toLowerCase()];if(n){const e=void 0!==n.a?n.a:1;return`rgba(${n.r},${n.g},${n.b},${e})`}return"none"}(e.qText)})),r.cellBackgroundColor&&!r.cellForegroundColor&&(r.cellForegroundColor=aS(r.cellBackgroundColor)),{...e,color:r.cellForegroundColor||e.color,background:r.cellBackgroundColor}}function uS(e=eS,t,n){const{colIdx:r,rows:o,api:a}=n;if(a.isModal()){if(r!==t.colIdx)return{background:`${Zw}, ${e}`};for(let e=0;e<o.length;e++)if(o[e].qElemNumber===t.qElemNumber)return nS.SELECTED;return nS.POSSIBLE}return{}}function cS(e){const t=t=>{const{selectionState:n,cell:r,selectionDispatch:o,styling:a,announce:i,column:l,...s}=t,u=w.exports.useMemo((()=>function(e,t,n){return{...e,...uS(e.background,t,n)}}(a,r,n)),[a,r,n]);return oe.createElement(e,ub({},s,{styling:u,onMouseUp:e=>r.isDim&&0===e.button&&Gw({selectionState:n,cell:r,selectionDispatch:o,evt:e,announce:i})}))};return t.defaultProps={column:null},t.propTypes={styling:df.object.isRequired,selectionState:df.object.isRequired,cell:df.object.isRequired,selectionDispatch:df.func.isRequired,announce:df.func.isRequired,column:df.object},t}function dS(e,t){let n=function(e){const t=t=>{const{styling:n,...r}=t,{selectedCellClass:o,...a}=n;return oe.createElement(e,ub({},r,{className:`${o} sn-table-cell`,sx:a}))};return t.propTypes={styling:df.object.isRequired},t}(Kx);return t&&(n=cS(n)),e&&(n=function(e){const t=t=>{const{cell:n,column:r,styling:o,...a}=t,i=w.exports.useMemo((()=>sS(o,n.qAttrExps,r.stylingInfo)),[o,n.qAttrExps,r.stylingInfo]);return oe.createElement(e,ub({},a,{cell:n,styling:i}))};return t.propTypes={cell:df.object.isRequired,column:df.object.isRequired,styling:df.object.isRequired},t}(n)),n}const pS=e=>e.querySelector("td[tabindex='0'], th[tabindex='0']"),fS=({focusType:e,rowElements:t=[],cellCoord:n=[],providedCell:r})=>{var o;const a=r||(null===(o=t[n[0]])||void 0===o?void 0:o.getElementsByClassName("sn-table-cell")[n[1]]);if(a)switch(e){case"focus":a.focus(),a.setAttribute("tabIndex","0");break;case"blur":a.blur(),a.setAttribute("tabIndex","-1");break;case"addTab":a.setAttribute("tabIndex","0");break;case"removeTab":a.setAttribute("tabIndex","-1")}},mS=(e,t,n,r)=>{fS({providedCell:pS(t),focusType:"removeTab"}),n(e),r.enabled&&r.focus()},hS=(e,t,n)=>{var r,o;const a=null===(r=e.closest(".qv-object-wrapper"))||void 0===r||null===(o=r.querySelector(".sel-toolbar-confirm"))||void 0===o?void 0:o.parentElement;a?a.focus():t.focusSelection(n)},gS=e=>e.shiftKey&&(e.ctrlKey||e.metaKey),bS=e=>{e.stopPropagation(),e.preventDefault()},vS=(e,t,n,r,o,a)=>{var i;bS(e),e.target.setAttribute("tabIndex","-1");const l=(e=>{const t=e.getElementsByClassName("sn-table-row");return{rowElements:t,rowCount:t.length,columnCount:e.getElementsByClassName("sn-table-head-cell").length}})(t),s=((e,t,n,r)=>{var o;let[a,i]=n;const l=null==r||null===(o=r.api)||void 0===o?void 0:o.isModal();switch(e.key){case"ArrowDown":a+1<t.rowCount&&a++;break;case"ArrowUp":a>0&&(!l||1!==a)&&a--;break;case"ArrowRight":if(l)break;i<t.columnCount-1?i++:a<t.rowCount-1&&(a++,i=0);break;case"ArrowLeft":if(l)break;i>0?i--:a>0&&(a--,i=t.columnCount-1)}return[a,i]})(e,l,n,r);if(fS({focusType:"focus",rowElements:l.rowElements,cellCoord:s}),o(s),null!==(i=r.api)&&void 0!==i&&i.isModal()){var u;a((null===(u=l.rowElements[s[0]])||void 0===u?void 0:u.getElementsByClassName("sn-table-cell")[s[1]]).classList.contains("selected")?{keys:"SNTable.SelectionLabel.SelectedValue"}:{keys:"SNTable.SelectionLabel.NotSelectedValue"})}};function yS({rootElement:e,tableData:t,constraints:n,selectionsAPI:r,layout:o,theme:a,setShouldRefocus:i,setFocusedCellCoord:l,keyboard:s,tableWrapperRef:u,announce:c}){var d,p,f;const{rows:m,columns:h}=t,g=null===(d=o.components)||void 0===d||null===(p=d[0])||void 0===p||null===(f=p.content)||void 0===f?void 0:f.hoverEffect,b=w.exports.useMemo((()=>function(e,t){var n,r;const o=null===(n=e.components)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.content;if(!o)return{padding:tS};const a=lS(o.hoverColor),i=lS(o.hoverFontColor)&&a,l=i?Jw:a?"":oS(o.hoverColor,Jw,t),s=i?"":oS(o.hoverFontColor,aS(l),t);return{...iS(o,t),hoverBackgroundColor:l,hoverFontColor:s,selectedCellClass:"unselected"}}(o,a)),[o,a.name()]),v=!!r&&!n.active,y=h.map((e=>dS(!!e.stylingInfo.length,v))),[x,S]=w.exports.useState((()=>y)),[k,E]=w.exports.useReducer(Kw,{api:r,rows:[],colIdx:-1,isEnabled:v});w.exports.useEffect((()=>{E({type:"set-enabled",payload:{isEnabled:v}}),S(y)}),[v,h.length]),w.exports.useEffect((()=>{!function({api:e,selectionDispatch:t,setShouldRefocus:n,keyboard:r,tableWrapperRef:o}){const a=()=>{t({type:"reset"})},i=()=>{t({type:"clear"})},l=()=>{var e;null!==(e=o.current)&&void 0!==e&&e.contains(document.activeElement)?n():r.enabled&&r.blur(!0),a()};e&&(e.on("deactivated",a),e.on("canceled",a),e.on("confirmed",l),e.on("cleared",i))}({api:r,selectionDispatch:E,setShouldRefocus:i,keyboard:s,tableWrapperRef:u})}),[]);const C={"& td, th":{fontSize:b.fontSize,padding:b.padding}},R={"&&:hover":{"& td:not(.selected), th:not(.selected)":{backgroundColor:b.hoverBackgroundColor,color:b.hoverFontColor}}};return oe.createElement(Dw,{sx:C},m.map(((t,n)=>oe.createElement(Vw,{hover:g,tabIndex:-1,key:t.key,sx:g&&R,className:"sn-table-row"},h.map(((r,o)=>{const a=t[r.id],i=a.qText,u=x[o];return u&&oe.createElement(u,{scope:0===o?"row":null,component:0===o?"th":null,cell:a,column:r,key:r.id,align:r.align,styling:{color:b.color},selectionState:k,selectionDispatch:E,tabIndex:-1,announce:c,onKeyDown:t=>(({evt:e,rootElement:t,cellCoord:n,selectionState:r,cell:o,selectionDispatch:a,isAnalysisMode:i,setFocusedCellCoord:l,announce:s,keyboard:u})=>{switch(e.key){case"ArrowUp":case"ArrowDown":case"ArrowRight":case"ArrowLeft":!gS(e)&&vS(e,t,n,r,l,s);break;case" ":bS(e),(null==o?void 0:o.isDim)&&i&&Gw({selectionState:r,cell:o,selectionDispatch:a,evt:e,announce:s});break;case"Enter":if(bS(e),!r.api.isModal())break;r.api.confirm(),s({keys:"SNTable.SelectionLabel.SelectionsConfirmed"});break;case"Escape":if(!i||!r.api.isModal())break;bS(e),r.api.cancel(),s({keys:"SNTable.SelectionLabel.ExitedSelectionMode"});break;case"Tab":e.shiftKey&&u.enabled&&r.api.isModal()&&(bS(e),hS(e.target,u,!0))}})({evt:t,rootElement:e,cellCoord:[n+1,o],selectionState:k,cell:a,selectionDispatch:E,isAnalysisMode:v,setFocusedCellCoord:l,announce:c,keyboard:s}),onMouseDown:()=>((e,t,n,r)=>{const{rawRowIdx:o,rawColIdx:a}=e;mS([o+1,a],t,n,r)})(a,e,l,s)},i)}))))))}function xS(e){return Yh("MuiTableHead",e)}yS.propTypes={rootElement:df.object.isRequired,tableData:df.object.isRequired,constraints:df.object.isRequired,selectionsAPI:df.object.isRequired,layout:df.object.isRequired,theme:df.object.isRequired,setFocusedCellCoord:df.func.isRequired,setShouldRefocus:df.func.isRequired,keyboard:df.object.isRequired,tableWrapperRef:df.object.isRequired,announce:df.func.isRequired},Qh("MuiTableHead",["root"]);const wS=["className","component"],SS=tb("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),kS={variant:"head"},ES="thead";var CS=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableHead"}),{className:r,component:o=ES}=n,a=lf(n,wS),i=af({},n,{component:o}),l=(e=>{const{classes:t}=e;return Uh({root:["root"]},xS,t)})(i);return sh.exports.jsx(Bx.Provider,{value:kS,children:sh.exports.jsx(SS,af({as:o,className:Jm(l.root,r),ref:t,role:o===ES?null:"rowgroup",ownerState:i},a))})})),RS=ox(sh.exports.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function PS(e){return Yh("MuiTableSortLabel",e)}var TS=Qh("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);const MS=["active","children","className","direction","hideSortIcon","IconComponent"],NS=tb(Pv,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:e.palette.text.secondary},"&:hover":{color:e.palette.text.secondary,[`& .${TS.icon}`]:{opacity:.5}},[`&.${TS.active}`]:{color:e.palette.text.primary,[`& .${TS.icon}`]:{opacity:1,color:e.palette.text.secondary}}}))),zS=tb("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${vf(n.direction)}`]]}})((({theme:e,ownerState:t})=>af({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"}))),OS=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableSortLabel"}),{active:r=!1,children:o,className:a,direction:i="asc",hideSortIcon:l=!1,IconComponent:s=RS}=n,u=lf(n,MS),c=af({},n,{active:r,direction:i,hideSortIcon:l,IconComponent:s}),d=(e=>{const{classes:t,direction:n,active:r}=e;return Uh({root:["root",r&&"active"],icon:["icon",`iconDirection${vf(n)}`]},PS,t)})(c);return sh.exports.jsxs(NS,af({className:Jm(d.root,a),component:"span",disableRipple:!0,ownerState:c,ref:t},u,{children:[o,l&&!r?null:sh.exports.jsx(zS,{as:s,className:Jm(d.icon),ownerState:c})]}))}));var IS=OS;const AS=zh("span")({border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",top:20,width:1});function LS({rootElement:e,tableData:t,theme:n,layout:r,changeSortOrder:o,constraints:a,translator:i,selectionsAPI:l,focusedCellCoord:s,setFocusedCellCoord:u,keyboard:c}){const d=w.exports.useMemo((()=>function(e,t){var n,r;const o=null===(n=e.components)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.header;return o?iS(o,t):{padding:tS}}(r,n)),[r,n.name()]),p={color:d.color,fontSize:d.fontSize,padding:d.padding};return oe.createElement(CS,null,oe.createElement(Vw,{className:"sn-table-row"},t.columns.map(((t,n)=>{const d=0!==n||c.enabled?-1:0,f=r.qHyperCube.qEffectiveInterColumnSortOrder[0]===t.dataColIdx,m=0===s[0];return oe.createElement(Kx,{sx:p,key:t.id,align:t.align,className:"sn-table-head-cell sn-table-cell",tabIndex:d,"aria-sort":f?`${t.sortDirection}ending`:null,"aria-pressed":f,onKeyDown:i=>((e,t,n,r,o,a,i,l)=>{switch(e.key){case"ArrowDown":case"ArrowRight":case"ArrowLeft":!gS(e)&&vS(e,t,n,!1,l);break;case" ":case"Enter":bS(e),i&&o(a,r)}})(i,e,[0,n],t,o,r,!a.active,u),onMouseDown:()=>((e,t,n,r)=>{mS([0,e],t,n,r)})(n,e,u,c),onClick:()=>!l.isModal()&&!a.active&&o(r,t)},oe.createElement(IS,{active:f,direction:t.sortDirection,tabIndex:-1},t.label,m&&oe.createElement(AS,{"data-testid":`VHL-for-col-${n}`},i.get("SNTable.SortLabel.PressSpaceToSort"))))}))))}function FS(e){return Yh("MuiFormLabel",e)}LS.propTypes={rootElement:df.object.isRequired,tableData:df.object.isRequired,theme:df.object.isRequired,layout:df.object.isRequired,changeSortOrder:df.func.isRequired,constraints:df.object.isRequired,selectionsAPI:df.object.isRequired,keyboard:df.object.isRequired,focusedCellCoord:df.arrayOf(df.number).isRequired,setFocusedCellCoord:df.func.isRequired,translator:df.object.isRequired};var _S=Qh("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const jS=["children","className","color","component","disabled","error","filled","focused","required"],DS=tb("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>af({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>af({color:e.palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${_S.focused}`]:{color:e.palette[t.color].main},[`&.${_S.disabled}`]:{color:e.palette.text.disabled},[`&.${_S.error}`]:{color:e.palette.error.main}}))),$S=tb("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${_S.error}`]:{color:e.palette.error.main}}))),BS=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiFormLabel"}),{children:r,className:o,component:a="label"}=n,i=lf(n,jS),l=Cb({props:n,muiFormControl:Pb(),states:["color","required","focused","disabled","error","filled"]}),s=af({},n,{color:l.color||"primary",component:a,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),u=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:a,filled:i,required:l}=e;return Uh({root:["root",`color${vf(n)}`,o&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]},FS,t)})(s);return sh.exports.jsxs(DS,af({as:a,ownerState:s,className:Jm(u.root,o),ref:t},i,{children:[r,l.required&&sh.exports.jsxs($S,{ownerState:s,"aria-hidden":!0,className:u.asterisk,children:[" ","*"]})]}))}));var WS=BS;function HS(e){return Yh("MuiInputLabel",e)}Qh("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const qS=["disableAnimation","margin","shrink","variant"],US=tb(WS,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${_S.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((({theme:e,ownerState:t})=>af({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&af({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&af({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&af({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))));var VS=w.exports.forwardRef((function(e,t){const n=Jg({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,shrink:o}=n,a=lf(n,qS),i=Pb();let l=o;void 0===l&&i&&(l=i.filled||i.focused||i.adornedStart);const s=Cb({props:n,muiFormControl:i,states:["size","variant","required"]}),u=af({},n,{disableAnimation:r,formControl:i,shrink:l,size:s.size,variant:s.variant,required:s.required}),c=(e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:a,variant:i,required:l}=e;return af({},t,Uh({root:["root",n&&"formControl",!a&&"animated",o&&"shrink","small"===r&&"sizeSmall",i],asterisk:[l&&"asterisk"]},HS,t))})(u);return sh.exports.jsx(US,af({"data-shrink":l,ownerState:u,ref:t},a,{classes:c}))}));function KS(e){return Yh("MuiFormControl",e)}Qh("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const GS=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],YS=tb("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>af({},t.root,t[`margin${vf(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>af({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),QS=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiFormControl"}),{children:r,className:o,color:a="primary",component:i="div",disabled:l=!1,error:s=!1,focused:u,fullWidth:c=!1,hiddenLabel:d=!1,margin:p="none",required:f=!1,size:m="medium",variant:h="outlined"}=n,g=lf(n,GS),b=af({},n,{color:a,component:i,disabled:l,error:s,fullWidth:c,hiddenLabel:d,margin:p,required:f,size:m,variant:h}),v=(e=>{const{classes:t,margin:n,fullWidth:r}=e;return Uh({root:["root","none"!==n&&`margin${vf(n)}`,r&&"fullWidth"]},KS,t)})(b),[y,x]=w.exports.useState((()=>{let e=!1;return r&&w.exports.Children.forEach(r,(t=>{if(!wf(t,["Input","Select"]))return;const n=wf(t,["Select"])?t.props.input:t;n&&function(e){return e.startAdornment}(n.props)&&(e=!0)})),e})),[S,k]=w.exports.useState((()=>{let e=!1;return r&&w.exports.Children.forEach(r,(t=>{wf(t,["Input","Select"])&&Nb(t.props,!0)&&(e=!0)})),e})),[E,C]=w.exports.useState(!1);l&&E&&C(!1);const R=void 0===u||l?E:u;const P=w.exports.useCallback((()=>{k(!0)}),[]),T={adornedStart:y,setAdornedStart:x,color:a,disabled:l,error:s,filled:S,focused:R,fullWidth:c,hiddenLabel:d,size:m,onBlur:()=>{C(!1)},onEmpty:w.exports.useCallback((()=>{k(!1)}),[]),onFilled:P,onFocus:()=>{C(!0)},registerEffect:undefined,required:f,variant:h};return sh.exports.jsx(Rb.Provider,{value:T,children:sh.exports.jsx(YS,af({as:i,ownerState:b,className:Jm(v.root,o),ref:t},g,{children:r}))})}));var XS=QS,JS={},ZS={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(ZS);var ek={},tk=v(Object.freeze({__proto__:null,capitalize:vf,createChainedFunction:yf,createSvgIcon:ox,debounce:xf,deprecatedPropType:function(e,t){return()=>null},isMuiElement:wf,ownerDocument:Sf,ownerWindow:kf,requirePropFactory:function(e,t){return()=>null},setRef:Ef,unstable_useEnhancedEffect:Cf,unstable_useId:Tf,unsupportedProp:function(e,t,n,r,o){return null},useControlled:Mf,useEventCallback:Nf,useForkRef:zf,useIsFocusVisible:$f,unstable_ClassNameGenerator:Kh}));!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=tk}(ek);var nk=ZS.exports;Object.defineProperty(JS,"__esModule",{value:!0});var rk=JS.default=void 0,ok=nk(ek),ak=sh.exports,ik=(0,ok.default)((0,ak.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");rk=JS.default=ik;var lk={},sk=ZS.exports;Object.defineProperty(lk,"__esModule",{value:!0});var uk=lk.default=void 0,ck=sk(ek),dk=sh.exports,pk=(0,ck.default)((0,dk.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");uk=lk.default=pk;var fk={},mk=ZS.exports;Object.defineProperty(fk,"__esModule",{value:!0});var hk=fk.default=void 0,gk=mk(ek),bk=sh.exports,vk=(0,gk.default)((0,bk.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");hk=fk.default=vk;var yk={},xk=ZS.exports;Object.defineProperty(yk,"__esModule",{value:!0});var wk=yk.default=void 0,Sk=xk(ek),kk=sh.exports,Ek=(0,Sk.default)((0,kk.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");const Ck={FirstPage:rk,PreviousPage:uk,NextPage:hk,LastPage:wk=yk.default=Ek,FirstPageRTL:wk,PreviousPageRTL:hk,NextPageRTL:uk,LastPageRTL:rk};function Rk({direction:e,page:t,lastPageIdx:n,onPageChange:r,keyboard:o,tableWidth:a,translator:i,isInSelectionMode:l}){const s=0===t,u=t>=n,c=!o.enabled||o.active?0:-1,d=a>350,p=o.enabled?e=>((e,t,n)=>{t&&"Tab"===e.key&&!e.shiftKey&&(bS(e),hS(e.target,n,!1))})(e,l):null,f=(t,n,o,a=null)=>{const l=Ck[`${o}${"rtl"===e?"RTL":""}`];return oe.createElement(fw,{"data-testid":"pagination-action-icon-button",onClick:t?null:()=>r(n),"aria-disabled":t,"aria-label":i.get(`SNTable.Pagination.${o}`),title:i.get(`SNTable.Pagination.${o}`),tabIndex:c,sx:t?{color:"rgba(0, 0, 0, 0.3)",cursor:"default"}:{color:"rgba(0, 0, 0, 0.54)"},onKeyDown:a},oe.createElement(l,null))};return oe.createElement(oe.Fragment,null,a>650&&oe.createElement(XS,null,oe.createElement(VS,{htmlFor:"pagination-dropdown",shrink:!1},`${i.get("SNTable.Pagination.SelectPage")}:`),oe.createElement($x,{native:!0,value:t,onChange:e=>r(+e.target.value),inputProps:{"data-testid":"pagination-dropdown",tabIndex:c,id:"pagination-dropdown"}},Array(n+1).fill().map(((e,t)=>oe.createElement("option",{key:String(e),value:t},t+1))))),oe.createElement(oe.Fragment,null,d&&f(s,0,"FirstPage"),f(s,t-1,"PreviousPage"),f(u,t+1,"NextPage",d?null:p),d&&f(u,n,"LastPage",p)))}function Pk(e,t){const n=w.exports.useRef(!1);w.exports.useEffect((()=>{n.current?e():n.current=!0}),t)}Rk.defaultProps={direction:null},Rk.propTypes={direction:df.string,onPageChange:df.func.isRequired,page:df.number.isRequired,lastPageIdx:df.number.isRequired,keyboard:df.object.isRequired,isInSelectionMode:df.bool.isRequired,tableWidth:df.number.isRequired,translator:df.object.isRequired};const Tk="first-announcer-element",Mk="second-announcer-element";function Nk(e){const{rootElement:t,tableData:n,pageInfo:r,setPageInfo:o,constraints:a,translator:i,selectionsAPI:l,keyboard:s,rect:u,direction:c,announcer:d}=e,{size:p,rows:f,columns:m}=n,{page:h,rowsPerPage:g,rowsPerPageOptions:b}=r,[v,y]=w.exports.useState([0,0]),x=w.exports.useRef(!1),S=w.exports.useRef(),k=w.exports.useRef(),E=l.isModal()||u.width<550||p.qcx>100,C=d||w.exports.useMemo((()=>function(e,t,n){let r=n||null;return({keys:n,shouldBeAtomic:o=!0,politeness:a="polite"})=>{const i=(Array.isArray(n)?n:[n]).map((e=>{if(Array.isArray(e)){const[n,...r]=e;return t.get(n,...r)}return t.get(e)})).join(" "),l=e.querySelector("#sn-table-announcer--01"),s=e.querySelector("#sn-table-announcer--02");let u=null;r===Tk?(u=s,r=Mk):(u=l,r=Tk),u.innerHTML=u.innerHTML.endsWith(" ")?i:`${i} `,u.setAttribute("aria-atomic",o),u.setAttribute("aria-live",a)}}(t,i)),[i.language]),R=Math.ceil(p.qcy/g),P=`${i.get("SNTable.Accessibility.RowsAndColumns",[f.length+1,m.length])} ${i.get("SNTable.Accessibility.NavigationInstructions")}`,T=()=>{x.current=t.getElementsByTagName("table")[0].contains(document.activeElement)},M=e=>{o({...r,page:e}),C({keys:[["SNTable.Pagination.PageStatusReport",[e+1,R]]],politeness:"assertive"})};w.exports.useEffect((()=>{const e=k.current;if(!e)return()=>{};const t=e=>((e,t,n)=>{!n.enabled||e.currentTarget.contains(e.relatedTarget)||t.current||(e.currentTarget.querySelector("#sn-table-announcer--01").innerHTML="",e.currentTarget.querySelector("#sn-table-announcer--02").innerHTML="",n.blur(!1))})(e,x,s);return e.addEventListener("focusout",t),()=>{e.removeEventListener("focusout",t)}}),[]),w.exports.useEffect((()=>{const e=S.current;if(!e)return()=>{};const t=t=>((e,t,n)=>{e.stopPropagation();let{scrollLeft:r}=n;const o=r+e.deltaX,a=n.scrollWidth-n.offsetWidth;if(t){const t=a+o;a>0&&(t<=0||t>a)&&(e.preventDefault(),r=Math.min(0,Math.min(a,t)))}else a>0&&(o<0||o>a)&&(e.preventDefault(),r=Math.max(0,Math.min(a,o)))})(t,"rtl"===c,e);return e.addEventListener("wheel",t),()=>{e.removeEventListener("wheel",t)}}),[c]),w.exports.useEffect((()=>(({tableContainerRef:e,focusedCellCoord:t,rootElement:n})=>{var r;if(null!==(r=e.current)&&void 0!==r&&r.scrollTo)if(t[0]<2)e.current.scrollTo({top:0,behavior:"smooth"});else{var o;const[r,a]=t,i=n.getElementsByClassName("sn-table-head-cell")[0],l=null===(o=n.getElementsByClassName("sn-table-row")[r])||void 0===o?void 0:o.getElementsByClassName("sn-table-cell")[a];if(l.offsetTop-i.offsetHeight-l.offsetHeight<=e.current.scrollTop){const t=e.current.scrollTop-l.offsetHeight-i.offsetHeight;e.current.scrollTo({top:Math.max(0,t),behavior:"smooth"})}}})({tableContainerRef:S,focusedCellCoord:v,rootElement:t})),[S,v]),Pk((()=>{s.enabled&&fS({focusType:s.active?"focus":"blur",rowElements:t.getElementsByClassName("sn-table-row"),cellCoord:v})}),[s.active]),Pk((()=>{(({focusedCellCoord:e,rootElement:t,shouldRefocus:n,hasSelections:r,setFocusedCellCoord:o,shouldAddTabstop:a,announce:i})=>{fS({focusType:"removeTab",providedCell:pS(t)});const l=r?[1,e[1]]:[0,0];if(a){var s;const e=n.current?"focus":"addTab";n.current=!1;const o=null===(s=t.getElementsByClassName("sn-table-row")[l[0]])||void 0===s?void 0:s.getElementsByClassName("sn-table-cell")[l[1]];if(fS({focusType:e,providedCell:o}),r){var u;const e=null==o||null===(u=o.classList)||void 0===u?void 0:u.contains("selected");i({keys:[`${o.textContent},`,e?"SNTable.SelectionLabel.SelectedValue":"SNTable.SelectionLabel.NotSelectedValue"]})}}o(l)})({focusedCellCoord:v,rootElement:t,shouldRefocus:x,setFocusedCellCoord:y,hasSelections:l.isModal(),shouldAddTabstop:!s.enabled||s.active,announce:C})}),[f.length,p.qcy,p.qcx,h]);const N=a.active?{height:"100%",overflow:"hidden"}:{height:"calc(100% - 52px)",overflow:"auto"};return oe.createElement(mb,{dir:c,sx:{height:"100%",backgroundColor:"rgb(255, 255, 255)",boxShadow:"none"},ref:k,onKeyDown:e=>(({evt:e,totalRowSize:t,page:n,rowsPerPage:r,handleChangePage:o,setShouldRefocus:a,keyboard:i,isSelectionActive:l})=>{if(gS(e)){bS(e);const i=Math.ceil(t/r)-1;"ArrowRight"===e.key&&n<i?(a(),o(n+1)):"ArrowLeft"===e.key&&n>0&&(a(),o(n-1))}else"Escape"===e.key&&i.enabled&&!l&&(bS(e),i.blur(!0))})({evt:e,totalRowSize:p.qcy,page:h,rowsPerPage:g,handleChangePage:M,setShouldRefocus:T,keyboard:s,isSelectionActive:l.isModal()})},oe.createElement(Iw,null),oe.createElement(Eb,{ref:S,sx:N,tabIndex:-1,role:"application","data-testid":"table-wrapper"},oe.createElement(xb,{stickyHeader:!0,"aria-label":P},oe.createElement(LS,ub({},e,{setFocusedCellCoord:y,focusedCellCoord:v})),oe.createElement(yS,ub({},e,{announce:C,focusedCellCoord:v,setFocusedCellCoord:y,setShouldRefocus:T,tableWrapperRef:k})))),oe.createElement(mb,{sx:{display:"flex",justifyContent:"flex-end",paddingRight:1,backgroundColor:"rgb(255, 255, 255)",border:"1px solid rgb(217, 217, 217)",borderTop:0,boxShadow:"none",alignItems:"center"}},oe.createElement(zw,{sx:a.active&&{display:"none"},rowsPerPageOptions:E?[g]:b,component:"div",count:p.qcy,rowsPerPage:g,labelRowsPerPage:`${i.get("SNTable.Pagination.RowsPerPage")}:`,page:h,SelectProps:{inputProps:{"aria-label":i.get("SNTable.Pagination.RowsPerPage"),"data-testid":"select",style:{color:"#404040"},tabIndex:!s.enabled||s.active?0:-1},native:!0},labelDisplayedRows:({from:e,to:t,count:n})=>u.width>250&&i.get("SNTable.Pagination.DisplayedRowsLabel",[`${e} - ${t}`,n]),onRowsPerPageChange:e=>{o({...r,page:0,rowsPerPage:+e.target.value}),C({keys:[["SNTable.Pagination.RowsPerPageChange",e.target.value]],politeness:"assertive"})},ActionsComponent:()=>oe.createElement("div",null,null),onPageChange:()=>{}}),oe.createElement(Rk,{direction:c,page:h,onPageChange:M,lastPageIdx:Math.ceil(p.qcy/g)-1,keyboard:s,isInSelectionMode:l.isModal(),tableWidth:u.width,translator:i})))}Nk.defaultProps={announcer:null,direction:null},Nk.propTypes={rootElement:df.object.isRequired,tableData:df.object.isRequired,pageInfo:df.object.isRequired,setPageInfo:df.func.isRequired,translator:df.object.isRequired,constraints:df.object.isRequired,selectionsAPI:df.object.isRequired,keyboard:df.object.isRequired,rect:df.object.isRequired,direction:df.string,announcer:df.func};var zk={keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920},unit:"px"},Ok={MuiIconButton:{styleOverrides:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&.sprout-focus-visible":{borderColor:"#177FE6",boxShadow:"0 0 0 1px #177FE6"},"&&&:hover":{backgroundColor:"transparent"}}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiFormLabel:{styleOverrides:{root:{color:"#404040",fontSize:12,fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:600,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:"#404040"},"&.Mui-error":{color:"rgba(0, 0, 0, 0.55)"},"&[optional=true]":{"&:after":{color:"rgba(0, 0, 0, 0.55)",content:"'(optional)'",fontWeight:400,marginLeft:4}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:"rgba(0, 0, 0, 0.55)",content:"'(required)'",fontWeight:400,marginLeft:4}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:"14px",lineHeight:"16px",backgroundColor:"#FFFFFF",borderRadius:3,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:"solid 1px rgba(0, 0, 0, 0.05)",borderColor:"rgba(0, 0, 0, 0.3)"},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:"solid 1px #177FE6",boxShadow:"0px 0px 0px 1px #177FE6, inset 0 2px 0 0 rgba(0, 0, 0, 0.05)"},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:"solid 1px #DC423F",boxShadow:"0px 0px 0px 1px #DC423F, inset 0 2px 0 0 rgba(0, 0, 0, 0.05)"},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:"solid 1px rgba(0, 0, 0, 0.1)",borderColor:"rgba(0, 0, 0, 0.1)",backgroundColor:"rgba(0, 0, 0, 0.05)"}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:"#404040",padding:"8px 12px","&.Mui-disabled":{opacity:.45}},notchedOutline:{borderColor:"rgba(0, 0, 0, 0.15)",borderRadius:3,boxShadow:"inset 0 2px 0 0 rgba(0, 0, 0, 0.05)"},multiline:{padding:"0"}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:"#177FE6",boxShadow:"0 0 0 2px #177FE6"}}}},MuiInputBase:{styleOverrides:{input:{fontSize:14,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:12,fontWeight:600,color:"#404040","&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:600}}}},MuiTab:{styleOverrides:{root:{fontSize:14,fontWeight:600,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:12,"&:hover":{borderBottom:"2px solid #CCCCCC",paddingBottom:10},"&.sprout-focus-visible":{boxShadow:"inset 0 0 0 2px #177FE6",backgroundColor:"rgba(0, 0, 0, 0.03)",borderRadius:3},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:"#404040","&.Mui-selected":{color:"#404040"}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:40,minHeight:48}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:"1px solid #D9D9D9",borderRight:"1px solid #D9D9D9",height:39},head:{height:41,fontWeight:600,backgroundColor:"#FAFAFA"},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:0},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:40,padding:0}},stickyHeader:{backgroundColor:"#FAFAFA",borderBottom:"1px solid #D9D9D9"}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:"1px solid #D9D9D9",borderTop:"1px solid #D9D9D9"}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:"#FAFAFA"}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:"rgba(0, 0, 0, 0.05)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"}},"&&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"}}}},MuiTableSortLabel:{defaultProps:{},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:"1px solid #D9D9D9"}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiNativeSelect:{styleOverrides:{select:{height:32,zIndex:1,borderRadius:3,"& em":{color:"rgba(0, 0, 0, 0.55)",WebkitFontSmoothing:"antialiased","&::after":{content:"''"}},"& ~i":{position:"absolute",right:"12px",padding:"6px"},"&[aria-expanded=true]":{backgroundColor:"rgba(0, 0, 0, 0.05)"},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"},"&:active":{backgroundColor:"rgba(0, 0, 0, 0.1)"},"&:focus":{backgroundColor:"rgba(0, 0, 0, 0.03)",borderRadius:"3px !important",border:"solid 1px #177FE6",boxShadow:"inset 0px 0px 0px 1px #177FE6"},"&$disabled":{opacity:"unset",color:"rgba(0, 0, 0, 0.3)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0)",borderColor:"rgba(0, 0, 0, 0.15)"},"& ~i":{color:"rgba(0, 0, 0, 0.3)"}}},selectMenu:{height:14},outlined:{border:"solid 1px rgba(0, 0, 0, 0.15)"}}},MuiFormControl:{styleOverrides:{root:{flexDirection:"row",alignItems:"center",paddingLeft:8,paddingRight:18}}}},Ik={mode:"light",primary:{light:"#0AAF54",main:"#009845",dark:"#0D6932",contrastText:"#FFFFFF"},secondary:{light:"#469DCD",main:"#3F8AB3",dark:"#2F607B",contrastText:"#FFFFFF"},error:{light:"#F05551",main:"#DC423F",dark:"#97322F",contrastText:"#FFFFFF"},warning:{light:"#FFC629",main:"#EF960F",dark:"#A4681C",contrastText:"#FFFFFF"},success:{light:"#0AAF54",main:"#009845",dark:"#0D6932",contrastText:"#FFFFFF"},info:{light:"#469DCD",main:"#3F8AB3",dark:"#2F607B",contrastText:"#FFFFFF"},text:{primary:"#404040",secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.05,active:"rgba(0, 0, 0, 0.54)",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},amethyst:{main:"#655dc6",light:"#8D8BCE",dark:"#413885",contrastText:"#FFFFFF"},background:{paper:"#FFFFFF",default:"#F2F2F2"},divider:"rgba(0, 0, 0, 0.15)",common:{black:"#000",white:"#fff"},grey:{50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},contrastThreshold:3,tonalOffset:.2},Ak={borderRadius:3},Lk=["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],Fk={easing:{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)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},_k={fontSize:14,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontWeightBold:700,htmlFontSize:14,fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",button:{fontWeight:600,fontSize:14,textTransform:"none",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",lineHeight:1.75},body1:{fontSize:16,lineHeight:"24px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400},body2:{fontSize:14,lineHeight:"20px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400},h1:{fontSize:32,lineHeight:"32px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:300},h2:{fontSize:28,lineHeight:"32px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:300},h3:{fontSize:24,lineHeight:"24px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400},h4:{fontSize:20,lineHeight:"24px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400},h5:{fontSize:16,fontWeight:600,lineHeight:"16px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"},h6:{fontSize:14,fontWeight:600,lineHeight:"16px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"},caption:{color:"rgba(0, 0, 0, 0.55)",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400,fontSize:"0.8571428571428571rem",lineHeight:1.66},subtitle1:{fontSize:14,color:"rgba(0, 0, 0, 0.55)",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400,lineHeight:1.75},subtitle2:{fontSize:12,color:"rgba(0, 0, 0, 0.55)",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:600,lineHeight:1.57},overline:{fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400,fontSize:"0.8571428571428571rem",lineHeight:2.66,textTransform:"uppercase"}},jk={modal:1200,snackbar:1200,drawer:1200,appBar:1200,mobileStepper:1200,tooltip:1200,speedDial:1050},Dk={toolbar:{minHeight:56,"@media (min-width:0px) and (orientation: landscape)":{minHeight:48},"@media (min-width:600px)":{minHeight:64}}},$k={breakpoints:zk,direction:"ltr",components:Ok,palette:Ik,shape:Ak,shadows:Lk,transitions:Fk,typography:_k,zIndex:jk,mixins:Dk},Bk=Object.freeze({__proto__:null,breakpoints:zk,direction:"ltr",components:Ok,palette:Ik,shape:Ak,shadows:Lk,transitions:Fk,typography:_k,zIndex:jk,mixins:Dk,default:$k});return function(t){return{qae:{properties:{initial:r},data:{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:15},measures:{min:0,max:15}}]}},component(){const t=e.useElement(),r=e.useStaleLayout(),{direction:o}=e.useOptions(),a=e.useModel(),i=e.useConstraints(),l=e.useTranslator(),s=e.useSelections(),u=function(e){return Ok&&(Ok.MuiIconButton.styleOverrides.root.padding="0px 7px",Ok.MuiTableSortLabel.styleOverrides.root.color="inherit",Ok.MuiTableSortLabel.styleOverrides.root["&.Mui-active"].color="inherit",Ok.MuiTableSortLabel.styleOverrides.root["&:hover"].color="inherit",Ok.MuiTableRow.styleOverrides.root["&&:hover"].backgroundColor="rgba(0, 0, 0, 0)",Ok.MuiTableCell.styleOverrides.root.height="auto",Ok.MuiTableCell.styleOverrides.root.lineHeight="130%",Ok.MuiTableCell.styleOverrides.head.height="auto",Ok.MuiTableCell.styleOverrides.head.lineHeight="150%",Ok.MuiTableCell.styleOverrides.root["&:focus"]={boxShadow:"0 0 0 2px #3f8ab3 inset",outline:"none"},Ok.MuiTableContainer.styleOverrides.root.borderBottom=0,Ok.MuiInputBase.styleOverrides.input.padding="0px 12px",Ok.MuiInputBase.styleOverrides.input.border="1px solid transparent",Ok.MuiOutlinedInput.styleOverrides.input.padding="0px 12px",Ok.MuiNativeSelect.styleOverrides.outlined.border="1px solid transparent",Ok.MuiInputLabel.styleOverrides.outlined={fontSize:14,width:"fit-content",position:"relative",padding:8,transform:"none",fontWeight:"400"},Ok.MuiFormControl.styleOverrides.root.paddingLeft=28,Ok.MuiFormControl.styleOverrides.root.paddingRight=14),Yg({...Bk,direction:e})}(o),c=e.useTheme(),d=e.useKeyboard(),p=e.useRect(),[f,m]=e.useState((()=>({page:0,rowsPerPage:100,rowsPerPageOptions:[10,25,100]}))),[h]=e.usePromise((()=>b(a,r,f,m)),[r,f]);e.useEffect((()=>{if(r&&h){!function(e){if(e&&e.get&&e.add){const t="SNTable.Accessibility.RowsAndColumns";if(e.get(t)!==t)return;Object.keys(n).forEach((t=>{e.add(n[t])}))}}(l);const e=function(e){return async(t,n)=>{const{isDim:r,dataColIdx:o}=n,a=(await e.getEffectiveProperties()).qHyperCubeDef.qInterColumnSortOrder,i=a[0];o!==i&&(a.splice(a.indexOf(o),1),a.unshift(o));const l=[{qPath:"/qHyperCubeDef/qInterColumnSortOrder",qOp:"replace",qValue:`[${a.join(",")}]`}];if(o===i){const{qDimensionInfo:e,qMeasureInfo:n}=t.qHyperCube,a=r?o:o-e.length,{qReverseSort:i}=r?e[a]:n[a],s=`/qHyperCubeDef/${r?"qDimensions":"qMeasures"}/${a}/qDef/qReverseSort`;l.push({qPath:s,qOp:"replace",qValue:(!i).toString()})}e.applyPatches(l,!0)}}(a);!function(e,t){const{tableTheme:n,direction:r}=t;bc.render(oe.createElement(oe.StrictMode,null,oe.createElement(zp,{stylisPlugins:"rtl"===r?[sb]:[]},oe.createElement(Bh,{theme:n},oe.createElement(Nk,t)))),e)}(t,{rootElement:t,layout:r,tableData:h,direction:o,pageInfo:f,setPageInfo:m,constraints:i,translator:l,selectionsAPI:s,tableTheme:u,theme:c,changeSortOrder:e,keyboard:d,rect:p})}}),[h,i,o,s.isModal(),c.name(),d.active,l.language(),p.width]),e.useEffect((()=>()=>{!function(e){bc.unmountComponentAtNode(e)}(t)}),[])},ext:f(t)}}}));
|
|
120
|
+
`),sv.rippleVisible,hv,550,(({theme:e})=>e.transitions.easing.easeInOut),sv.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),sv.child,sv.childLeaving,gv,550,(({theme:e})=>e.transitions.easing.easeInOut),sv.childPulsate,bv,(({theme:e})=>e.transitions.easing.easeInOut)),xv=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=lf(n,uv),[l,s]=w.exports.useState([]),u=w.exports.useRef(0),c=w.exports.useRef(null);w.exports.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=w.exports.useRef(!1),p=w.exports.useRef(null),f=w.exports.useRef(null),m=w.exports.useRef(null);w.exports.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const h=w.exports.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,sh.exports.jsx(yv,{classes:{ripple:Jm(o.ripple,sv.ripple),rippleVisible:Jm(o.rippleVisible,sv.rippleVisible),ripplePulsate:Jm(o.ripplePulsate,sv.ripplePulsate),child:Jm(o.child,sv.child),childLeaving:Jm(o.childLeaving,sv.childLeaving),childPulsate:Jm(o.childPulsate,sv.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},u.current)])),u.current+=1,c.current=i}),[o]),g=w.exports.useCallback(((e={},t={},n)=>{const{pulsate:o=!1,center:a=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===e.type&&d.current)return void(d.current=!1);"touchstart"===e.type&&(d.current=!0);const l=i?null:m.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(a||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(a)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}e.touches?null===f.current&&(f.current=()=>{h({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):h({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,h]),b=w.exports.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=w.exports.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===e.type&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{v(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[]);return w.exports.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),sh.exports.jsx(vv,af({className:Jm(o.root,sv.root,a),ref:m},i,{children:sh.exports.jsx(lv,{component:null,exit:!0,children:l})}))}));var wv=xv;function Sv(e){return Yh("MuiButtonBase",e)}var kv=Qh("MuiButtonBase",["root","disabled","focusVisible"]);const Ev=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Cv=tb("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"},[`&.${kv.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Rv=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:a,className:i,component:l="button",disabled:s=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:m,onContextMenu:h,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:y,onKeyUp:x,onMouseDown:S,onMouseLeave:k,onMouseUp:E,onTouchEnd:C,onTouchMove:R,onTouchStart:P,tabIndex:T=0,TouchRippleProps:M,touchRippleRef:N,type:z}=n,O=lf(n,Ev),I=w.exports.useRef(null),A=w.exports.useRef(null),L=zf(A,N),{isFocusVisibleRef:F,onFocus:_,onBlur:j,ref:D}=$f(),[$,B]=w.exports.useState(!1);function W(e,t,n=c){return Nf((r=>{t&&t(r);return!n&&A.current&&A.current[e](r),!0}))}s&&$&&B(!1),w.exports.useImperativeHandle(r,(()=>({focusVisible:()=>{B(!0),I.current.focus()}})),[]),w.exports.useEffect((()=>{$&&d&&!u&&A.current.pulsate()}),[u,d,$]);const H=W("start",S),q=W("stop",h),U=W("stop",g),V=W("stop",E),K=W("stop",(e=>{$&&e.preventDefault(),k&&k(e)})),G=W("start",P),Y=W("stop",C),Q=W("stop",R),X=W("stop",(e=>{j(e),!1===F.current&&B(!1),f&&f(e)}),!1),J=Nf((e=>{I.current||(I.current=e.currentTarget),_(e),!0===F.current&&(B(!0),v&&v(e)),b&&b(e)})),Z=()=>{const e=I.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ee=w.exports.useRef(!1),te=Nf((e=>{d&&!ee.current&&$&&A.current&&" "===e.key&&(ee.current=!0,A.current.stop(e,(()=>{A.current.start(e)}))),e.target===e.currentTarget&&Z()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&Z()&&"Enter"===e.key&&!s&&(e.preventDefault(),m&&m(e))})),ne=Nf((e=>{d&&" "===e.key&&A.current&&$&&!e.defaultPrevented&&(ee.current=!1,A.current.stop(e,(()=>{A.current.pulsate(e)}))),x&&x(e),m&&e.target===e.currentTarget&&Z()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let re=l;"button"===re&&(O.href||O.to)&&(re=p);const oe={};"button"===re?(oe.type=void 0===z?"button":z,oe.disabled=s):(O.href||O.to||(oe.role="button"),s&&(oe["aria-disabled"]=s));const ae=zf(D,I),ie=zf(t,ae),[le,se]=w.exports.useState(!1);w.exports.useEffect((()=>{se(!0)}),[]);const ue=le&&!u&&!s,ce=af({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:T,focusVisible:$}),de=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Uh({root:["root",t&&"disabled",n&&"focusVisible"]},Sv,o);return n&&r&&(a.root+=` ${r}`),a})(ce);return sh.exports.jsxs(Cv,af({as:re,className:Jm(de.root,i),ownerState:ce,onBlur:X,onClick:m,onContextMenu:q,onFocus:J,onKeyDown:te,onKeyUp:ne,onMouseDown:H,onMouseLeave:K,onMouseUp:V,onDragLeave:U,onTouchEnd:Y,onTouchMove:Q,onTouchStart:G,ref:ie,tabIndex:s?-1:T,type:z},oe,O,{children:[a,ue?sh.exports.jsx(wv,af({ref:L,center:o},M)):null]}))}));var Pv=Rv;var Tv=Qh("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var Mv=Qh("MuiListItemIcon",["root","alignItemsFlexStart"]);var Nv=Qh("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function zv(e){return Yh("MuiMenuItem",e)}var Ov=Qh("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const Iv=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],Av=tb(Pv,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>af({},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"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${e.palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ov.selected}`]:{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ov.focusVisible}`]:{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ov.selected}:hover`]:{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ov.focusVisible}`]:{backgroundColor:e.palette.action.focus},[`&.${Ov.disabled}`]:{opacity:e.palette.action.disabledOpacity},[`& + .${Tv.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Tv.inset}`]:{marginLeft:52},[`& .${Nv.root}`]:{marginTop:0,marginBottom:0},[`& .${Nv.inset}`]:{paddingLeft:36},[`& .${Mv.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&af({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Mv.root} svg`]:{fontSize:"1.25rem"}}))));var Lv=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:a=!1,divider:i=!1,disableGutters:l=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c}=n,d=lf(n,Iv),p=w.exports.useContext(Bb),f={dense:a||p.dense||!1,disableGutters:l},m=w.exports.useRef(null);Cf((()=>{r&&m.current&&m.current.focus()}),[r]);const h=af({},n,{dense:f.dense,divider:i,disableGutters:l}),g=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e;return af({},i,Uh({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},zv,i))})(n),b=zf(m,t);let v;return n.disabled||(v=void 0!==c?c:-1),sh.exports.jsx(Bb.Provider,{value:f,children:sh.exports.jsx(Av,af({ref:b,role:u,tabIndex:v,component:o,focusVisibleClassName:Jm(g.focusVisible,s)},d,{ownerState:h,classes:g}))})}));function Fv(e){return Yh("MuiList",e)}Qh("MuiList",["root","padding","dense","subheader"]);const _v=["children","className","component","dense","disablePadding","subheader"],jv=tb("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]}})((({ownerState:e})=>af({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var Dv=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiList"}),{children:r,className:o,component:a="ul",dense:i=!1,disablePadding:l=!1,subheader:s}=n,u=lf(n,_v),c=w.exports.useMemo((()=>({dense:i})),[i]),d=af({},n,{component:a,dense:i,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Uh({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Fv,t)})(d);return sh.exports.jsx(Bb.Provider,{value:c,children:sh.exports.jsxs(jv,af({as:a,className:Jm(p.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));const $v=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Bv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Wv(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Hv(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function qv(e,t,n,r,o,a){let i=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Hv(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const Uv=w.exports.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:a,className:i,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=lf(e,$v),p=w.exports.useRef(null),f=w.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Cf((()=>{r&&p.current.focus()}),[r]),w.exports.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Bf(Sf(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const m=zf(p,t);let h=-1;w.exports.Children.forEach(a,((e,t)=>{w.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===h)&&(h=t))}));const g=w.exports.Children.map(a,((e,t)=>{if(t===h){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),w.exports.cloneElement(e,t)}return e}));return sh.exports.jsx(Dv,af({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=p.current,n=e.key,r=Sf(t).activeElement;if("ArrowDown"===n)e.preventDefault(),qv(t,r,s,l,Bv);else if("ArrowUp"===n)e.preventDefault(),qv(t,r,s,l,Wv);else if("Home"===n)e.preventDefault(),qv(t,null,s,l,Bv);else if("End"===n)e.preventDefault(),qv(t,null,s,l,Wv);else if(1===n.length){const o=f.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const s=r&&!o.repeating&&Hv(r,o);o.previousKeyMatched&&(s||qv(t,r,!1,l,Bv,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));var Vv=Uv;const Kv=e=>e.scrollTop;function Gv(e,t){var n,r;const{timeout:o,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}const Yv=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Qv(e){return`scale(${e}, ${e**2})`}const Xv={entering:{opacity:1,transform:Qv(1)},entered:{opacity:1,transform:"none"}},Jv=w.exports.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:a,in:i,onEnter:l,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:m="auto",TransitionComponent:h=tv}=e,g=lf(e,Yv),b=w.exports.useRef(),v=w.exports.useRef(),y=Xg(),x=w.exports.useRef(null),S=zf(o.ref,t),k=zf(x,S),E=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=E(u),R=E(((e,t)=>{Kv(e);const{duration:n,delay:r,easing:o}=Gv({style:f,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=y.transitions.getAutoHeightDuration(e.clientHeight),v.current=i):i=n,e.style.transition=[y.transitions.create("opacity",{duration:i,delay:r}),y.transitions.create("transform",{duration:.666*i,delay:r,easing:o})].join(","),l&&l(e,t)})),P=E(s),T=E(p),M=E((e=>{const{duration:t,delay:n,easing:r}=Gv({style:f,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=y.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[y.transitions.create("opacity",{duration:o,delay:n}),y.transitions.create("transform",{duration:.666*o,delay:n||.333*o,easing:r})].join(","),e.style.opacity="0",e.style.transform=Qv(.75),c&&c(e)})),N=E(d);return w.exports.useEffect((()=>()=>{clearTimeout(b.current)}),[]),sh.exports.jsx(h,af({appear:r,in:i,nodeRef:x,onEnter:R,onEntered:P,onEntering:C,onExit:M,onExited:N,onExiting:T,addEndListener:e=>{"auto"===m&&(b.current=setTimeout(e,v.current||0)),n&&n(x.current,e)},timeout:"auto"===m?null:m},g,{children:(e,t)=>w.exports.cloneElement(o,af({style:af({opacity:0,transform:Qv(.75),visibility:"exited"!==e||i?void 0:"hidden"},Xv[e],f,o.props.style),ref:k},t))}))}));Jv.muiSupportAuto=!0;var Zv=Jv;const ey=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ty={entering:{opacity:1},entered:{opacity:1}},ny=w.exports.forwardRef((function(e,t){const n=Xg(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:l,in:s,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:m,style:h,timeout:g=r,TransitionComponent:b=tv}=e,v=lf(e,ey),y=w.exports.useRef(null),x=zf(i.ref,t),S=zf(y,x),k=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},E=k(d),C=k(((e,t)=>{Kv(e);const r=Gv({style:h,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)})),R=k(c),P=k(m),T=k((e=>{const t=Gv({style:h,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),M=k(f);return sh.exports.jsx(b,af({appear:a,in:s,nodeRef:y,onEnter:C,onEntered:R,onEntering:E,onExit:T,onExited:M,onExiting:P,addEndListener:e=>{o&&o(y.current,e)},timeout:g},v,{children:(e,t)=>w.exports.cloneElement(i,af({style:af({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},ty[e],h,i.props.style),ref:S},t))}))}));var ry=ny;const oy=["children","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],ay=tb("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>af({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"},e.invisible&&{backgroundColor:"transparent"}))),iy=w.exports.forwardRef((function(e,t){var n;const r=Jg({props:e,name:"MuiBackdrop"}),{children:o,components:a={},componentsProps:i={},className:l,invisible:s=!1,open:u,transitionDuration:c,TransitionComponent:d=ry}=r,p=lf(r,oy),f=(e=>{const{classes:t}=e;return t})(af({},r,{invisible:s}));return sh.exports.jsx(d,af({in:u,timeout:c},p,{children:sh.exports.jsx(eg,{className:l,invisible:s,components:af({Root:ay},a),componentsProps:{root:af({},i.root,(!a.Root||!Hh(a.Root))&&{ownerState:af({},null==(n=i.root)?void 0:n.ownerState)})},classes:f,ref:t,children:o})}))}));var ly=iy;const sy=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],uy=tb("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>af({position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),cy=tb(ly,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),dy=w.exports.forwardRef((function(e,t){var n;const r=Jg({name:"MuiModal",props:e}),{BackdropComponent:o=cy,closeAfterTransition:a=!1,children:i,components:l={},componentsProps:s={},disableAutoFocus:u=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:d=!1,disablePortal:p=!1,disableRestoreFocus:f=!1,disableScrollLock:m=!1,hideBackdrop:h=!1,keepMounted:g=!1}=r,b=lf(r,sy),[v,y]=w.exports.useState(!0),x={closeAfterTransition:a,disableAutoFocus:u,disableEnforceFocus:c,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:f,disableScrollLock:m,hideBackdrop:h,keepMounted:g},S=(e=>e.classes)(af({},r,x,{exited:v}));return sh.exports.jsx(hg,af({components:af({Root:uy},l),componentsProps:{root:af({},s.root,(!l.Root||!Hh(l.Root))&&{ownerState:af({},null==(n=s.root)?void 0:n.ownerState)})},BackdropComponent:o,onTransitionEnter:()=>y(!1),onTransitionExited:()=>y(!0),ref:t},b,{classes:S},x,{children:i}))}));var py=dy;function fy(e){return Yh("MuiPopover",e)}Qh("MuiPopover",["root","paper"]);const my=["onEntering"],hy=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function gy(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function by(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function vy(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function yy(e){return"function"==typeof e?e():e}const xy=tb(py,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),wy=tb(mb,{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}),Sy=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiPopover"}),{action:r,anchorEl:o,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:i,anchorReference:l="anchorEl",children:s,className:u,container:c,elevation:d=8,marginThreshold:p=16,open:f,PaperProps:m={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:g=Zv,transitionDuration:b="auto",TransitionProps:{onEntering:v}={}}=n,y=lf(n.TransitionProps,my),x=lf(n,hy),S=w.exports.useRef(),k=zf(S,m.ref),E=af({},n,{anchorOrigin:a,anchorReference:l,elevation:d,marginThreshold:p,PaperProps:m,transformOrigin:h,TransitionComponent:g,transitionDuration:b,TransitionProps:y}),C=(e=>{const{classes:t}=e;return Uh({root:["root"],paper:["paper"]},fy,t)})(E),R=w.exports.useCallback((()=>{if("anchorPosition"===l)return i;const e=yy(o),t=(e&&1===e.nodeType?e:Sf(S.current).body).getBoundingClientRect();return{top:t.top+gy(t,a.vertical),left:t.left+by(t,a.horizontal)}}),[o,a.horizontal,a.vertical,i,l]),P=w.exports.useCallback((e=>({vertical:gy(e,h.vertical),horizontal:by(e,h.horizontal)})),[h.horizontal,h.vertical]),T=w.exports.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=P(t);if("none"===l)return{top:null,left:null,transformOrigin:vy(n)};const r=R();let a=r.top-n.vertical,i=r.left-n.horizontal;const s=a+t.height,u=i+t.width,c=kf(yy(o)),d=c.innerHeight-p,f=c.innerWidth-p;if(a<p){const e=a-p;a-=e,n.vertical+=e}else if(s>d){const e=s-d;a-=e,n.vertical+=e}if(i<p){const e=i-p;i-=e,n.horizontal+=e}else if(u>f){const e=u-f;i-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(i)}px`,transformOrigin:vy(n)}}),[o,l,R,P,p]),M=w.exports.useCallback((()=>{const e=S.current;if(!e)return;const t=T(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[T]);w.exports.useEffect((()=>{f&&M()})),w.exports.useImperativeHandle(r,(()=>f?{updatePosition:()=>{M()}}:null),[f,M]),w.exports.useEffect((()=>{if(!f)return;const e=xf((()=>{M()})),t=kf(o);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[o,f,M]);let N=b;"auto"!==b||g.muiSupportAuto||(N=void 0);const z=c||(o?Sf(yy(o)).body:void 0);return sh.exports.jsx(xy,af({BackdropProps:{invisible:!0},className:Jm(C.root,u),container:z,open:f,ref:t,ownerState:E},x,{children:sh.exports.jsx(g,af({appear:!0,in:f,onEntering:(e,t)=>{v&&v(e,t),M()},timeout:N},y,{children:sh.exports.jsx(wy,af({elevation:d},m,{ref:k,className:Jm(C.paper,m.className),children:s}))}))}))}));var ky=Sy;function Ey(e){return Yh("MuiMenu",e)}Qh("MuiMenu",["root","paper","list"]);const Cy=["onEntering"],Ry=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Py={vertical:"top",horizontal:"right"},Ty={vertical:"top",horizontal:"left"},My=tb(ky,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ny=tb(mb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),zy=tb(Vv,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Oy=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiMenu"}),{autoFocus:r=!0,children:o,disableAutoFocusItem:a=!1,MenuListProps:i={},onClose:l,open:s,PaperProps:u={},PopoverClasses:c,transitionDuration:d="auto",TransitionProps:{onEntering:p}={},variant:f="selectedMenu"}=n,m=lf(n.TransitionProps,Cy),h=lf(n,Ry),g=Xg(),b="rtl"===g.direction,v=af({},n,{autoFocus:r,disableAutoFocusItem:a,MenuListProps:i,onEntering:p,PaperProps:u,transitionDuration:d,TransitionProps:m,variant:f}),y=(e=>{const{classes:t}=e;return Uh({root:["root"],paper:["paper"],list:["list"]},Ey,t)})(v),x=r&&!a&&s,S=w.exports.useRef(null);let k=-1;return w.exports.Children.map(o,((e,t)=>{w.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===f&&e.props.selected||-1===k)&&(k=t))})),sh.exports.jsx(My,af({classes:c,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?Py:Ty,PaperProps:af({component:Ny},u,{classes:af({},u.classes,{root:y.paper})}),className:y.root,open:s,ref:t,transitionDuration:d,TransitionProps:af({onEntering:(e,t)=>{S.current&&S.current.adjustStyleForScrollbar(e,g),p&&p(e,t)}},m),ownerState:v},h,{children:sh.exports.jsx(zy,af({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),l&&l(e,"tabKeyDown"))},actions:S,autoFocus:r&&(-1===k||a),autoFocusItem:x,variant:f},i,{className:Jm(y.list,i.className),children:o}))}))}));var Iy=Oy;function Ay(e){return Yh("MuiNativeSelect",e)}var Ly=Qh("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const Fy=["className","disabled","IconComponent","inputRef","variant"],_y=({ownerState:e,theme:t})=>af({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},[`&.${Ly.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),jy=tb("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Zg,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${Ly.multiple}`]:t.multiple}]}})(_y),Dy=({ownerState:e,theme:t})=>af({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${Ly.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),$y=tb("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${vf(n.variant)}`],n.open&&t.iconOpen]}})(Dy);var By=w.exports.forwardRef((function(e,t){const{className:n,disabled:r,IconComponent:o,inputRef:a,variant:i="standard"}=e,l=lf(e,Fy),s=af({},e,{disabled:r,variant:i}),u=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return Uh({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${vf(n)}`,a&&"iconOpen",r&&"disabled"]},Ay,t)})(s);return sh.exports.jsxs(w.exports.Fragment,{children:[sh.exports.jsx(jy,af({ownerState:s,className:Jm(u.select,n),disabled:r,ref:a||t},l)),e.multiple?null:sh.exports.jsx($y,{as:o,ownerState:s,className:u.icon})]})}));function Wy(e){return Yh("MuiSelect",e)}var Hy,qy=Qh("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const Uy=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Vy=tb("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${qy.select}`]:t.select},{[`&.${qy.select}`]:t[n.variant]},{[`&.${qy.multiple}`]:t.multiple}]}})(_y,{[`&.${qy.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Ky=tb("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${vf(n.variant)}`],n.open&&t.iconOpen]}})(Dy),Gy=tb("input",{shouldForwardProp:e=>eb(e)&&"classes"!==e,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 Yy(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Qy(e){return null==e||"string"==typeof e&&!e.trim()}const Xy=w.exports.forwardRef((function(e,t){const{"aria-describedby":n,"aria-label":r,autoFocus:o,autoWidth:a,children:i,className:l,defaultOpen:s,defaultValue:u,disabled:c,displayEmpty:d,IconComponent:p,inputRef:f,labelId:m,MenuProps:h={},multiple:g,name:b,onBlur:v,onChange:y,onClose:x,onFocus:S,onOpen:k,open:E,readOnly:C,renderValue:R,SelectDisplayProps:P={},tabIndex:T,value:M,variant:N="standard"}=e,z=lf(e,Uy),[O,I]=Mf({controlled:M,default:u,name:"Select"}),[A,L]=Mf({controlled:E,default:s,name:"Select"}),F=w.exports.useRef(null),_=w.exports.useRef(null),[j,D]=w.exports.useState(null),{current:$}=w.exports.useRef(null!=E),[B,W]=w.exports.useState(),H=zf(t,f),q=w.exports.useCallback((e=>{_.current=e,e&&D(e)}),[]);w.exports.useImperativeHandle(H,(()=>({focus:()=>{_.current.focus()},node:F.current,value:O})),[O]),w.exports.useEffect((()=>{s&&A&&j&&!$&&(W(a?null:j.clientWidth),_.current.focus())}),[j,a]),w.exports.useEffect((()=>{o&&_.current.focus()}),[o]),w.exports.useEffect((()=>{if(!m)return;const e=Sf(_.current).getElementById(m);if(e){const t=()=>{getSelection().isCollapsed&&_.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[m]);const U=(e,t)=>{e?k&&k(t):x&&x(t),$||(W(a?null:j.clientWidth),L(e))},V=w.exports.Children.toArray(i),K=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(g){n=Array.isArray(O)?O.slice():[];const t=O.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),O!==n&&(I(n),y)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:b}}),y(o,e)}g||U(!1,t)}},G=null!==j&&A;let Y,Q;delete z["aria-invalid"];const X=[];let J=!1;(Nb({value:O})||d)&&(R?Y=R(O):J=!0);const Z=V.map((e=>{if(!w.exports.isValidElement(e))return null;let t;if(g){if(!Array.isArray(O))throw new Error(bf(2));t=O.some((t=>Yy(t,e.props.value))),t&&J&&X.push(e.props.children)}else t=Yy(O,e.props.value),t&&J&&(Q=e.props.children);return w.exports.cloneElement(e,{"aria-selected":t?"true":"false",onClick:K(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));J&&(Y=g?0===X.length?null:X.reduce(((e,t,n)=>(e.push(t),n<X.length-1&&e.push(", "),e)),[]):Q);let ee,te=B;!a&&$&&j&&(te=j.clientWidth),ee=void 0!==T?T:c?null:0;const ne=P.id||(b?`mui-component-select-${b}`:void 0),re=af({},e,{variant:N,value:O,open:G}),oe=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return Uh({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${vf(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},Wy,t)})(re);return sh.exports.jsxs(w.exports.Fragment,{children:[sh.exports.jsx(Vy,af({ref:q,tabIndex:ee,role:"button","aria-disabled":c?"true":void 0,"aria-expanded":G?"true":"false","aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[m,ne].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!C){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),U(!0,e))}},onMouseDown:c||C?null:e=>{0===e.button&&(e.preventDefault(),_.current.focus(),U(!0,e))},onBlur:e=>{!G&&v&&(Object.defineProperty(e,"target",{writable:!0,value:{value:O,name:b}}),v(e))},onFocus:S},P,{ownerState:re,className:Jm(oe.select,l,P.className),id:ne,children:Qy(Y)?Hy||(Hy=sh.exports.jsx("span",{className:"notranslate",children:""})):Y})),sh.exports.jsx(Gy,af({value:Array.isArray(O)?O.join(","):O,name:b,ref:F,"aria-hidden":!0,onChange:e=>{const t=V.map((e=>e.props.value)).indexOf(e.target.value);if(-1===t)return;const n=V[t];I(n.props.value),y&&y(e,n)},tabIndex:-1,disabled:c,className:oe.nativeInput,autoFocus:o,ownerState:re},z)),sh.exports.jsx(Ky,{as:p,className:oe.icon,ownerState:re}),sh.exports.jsx(Iy,af({id:`menu-${b||""}`,anchorEl:j,open:G,onClose:e=>{U(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},h,{MenuListProps:af({"aria-labelledby":m,role:"listbox",disableListWrap:!0},h.MenuListProps),PaperProps:af({},h.PaperProps,{style:af({minWidth:te},null!=h.PaperProps?h.PaperProps.style:null)}),children:Z}))]})}));var Jy=Xy;function Zy(e){return Yh("MuiSvgIcon",e)}Qh("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ex=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],tx=tb("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${vf(n.color)}`],t[`fontSize${vf(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,u,c,d,p,f,m,h,g,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(a=o.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(l=i.pxToRem)?void 0:l.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(u=s.pxToRem)?void 0:u.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875"}[t.fontSize],color:null!=(p=null==(f=e.palette)||null==(m=f[t.color])?void 0:m.main)?p:{action:null==(h=e.palette)||null==(g=h.action)?void 0:g.active,disabled:null==(b=e.palette)||null==(v=b.action)?void 0:v.disabled,inherit:void 0}[t.color]}})),nx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24"}=n,p=lf(n,ex),f=af({},n,{color:a,component:i,fontSize:l,inheritViewBox:u,viewBox:d}),m={};u||(m.viewBox=d);const h=(e=>{const{color:t,fontSize:n,classes:r}=e;return Uh({root:["root","inherit"!==t&&`color${vf(t)}`,`fontSize${vf(n)}`]},Zy,r)})(f);return sh.exports.jsxs(tx,af({as:i,className:Jm(h.root,o),ownerState:f,focusable:"false",color:s,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},m,p,{children:[r,c?sh.exports.jsx("title",{children:c}):null]}))}));nx.muiName="SvgIcon";var rx=nx;function ox(e,t){const n=(n,r)=>sh.exports.jsx(rx,af({"data-testid":`${t}Icon`,ref:r},n,{children:e}));return n.muiName=rx.muiName,w.exports.memo(w.exports.forwardRef(n))}var ax=ox(sh.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function ix(e){return Yh("MuiInput",e)}var lx=Qh("MuiInput",["root","formControl","focused","disabled","colorSecondary","underline","error","sizeSmall","multiline","fullWidth","input","inputSizeSmall","inputMultiline","inputTypeSearch"]);const sx=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],ux=tb(Fb,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ab(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return af({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${e.palette[t.color].main}`,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"},[`&.${lx.focused}:after`]:{transform:"scaleX(1)"},[`&.${lx.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&: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(.${lx.disabled}):before`]:{borderBottom:`2px solid ${e.palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${lx.disabled}:before`]:{borderBottomStyle:"dotted"}})})),cx=tb(_b,{name:"MuiInput",slot:"Input",overridesResolver:Lb})({}),dx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiInput"}),{disableUnderline:r,components:o={},componentsProps:a,fullWidth:i=!1,inputComponent:l="input",multiline:s=!1,type:u="text"}=n,c=lf(n,sx),d=(e=>{const{classes:t,disableUnderline:n}=e;return af({},t,Uh({root:["root",!n&&"underline"],input:["input"]},ix,t))})(n),p={root:{ownerState:{disableUnderline:r}}},f=a?gf(a,p):p;return sh.exports.jsx($b,af({components:af({Root:ux,Input:cx},o),componentsProps:f,fullWidth:i,inputComponent:l,multiline:s,ref:t,type:u},c,{classes:d}))}));dx.muiName="Input";var px=dx;function fx(e){return Yh("MuiFilledInput",e)}var mx=Qh("MuiFilledInput",["root","colorSecondary","underline","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","hiddenLabel","input","inputSizeSmall","inputHiddenLabel","inputMultiline","inputAdornedStart","inputAdornedEnd"]);const hx=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],gx=tb(Fb,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ab(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return af({position:"relative",backgroundColor:o,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:o}},[`&.${mx.focused}`]:{backgroundColor:o},[`&.${mx.disabled}`]:{backgroundColor:n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${e.palette[t.color].main}`,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"},[`&.${mx.focused}:after`]:{transform:"scaleX(1)"},[`&.${mx.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${mx.disabled}):before`]:{borderBottom:`1px solid ${e.palette.text.primary}`},[`&.${mx.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&af({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),bx=tb(_b,{name:"MuiFilledInput",slot:"Input",overridesResolver:Lb})((({theme:e,ownerState:t})=>af({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))),vx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiFilledInput"}),{components:r={},componentsProps:o,fullWidth:a=!1,inputComponent:i="input",multiline:l=!1,type:s="text"}=n,u=lf(n,hx),c=af({},n,{fullWidth:a,inputComponent:i,multiline:l,type:s}),d=(e=>{const{classes:t,disableUnderline:n}=e;return af({},t,Uh({root:["root",!n&&"underline"],input:["input"]},fx,t))})(n),p={root:{ownerState:c},input:{ownerState:c}},f=o?gf(o,p):p;return sh.exports.jsx($b,af({components:af({Root:gx,Input:bx},r),componentsProps:f,fullWidth:a,inputComponent:i,multiline:l,ref:t,type:s},u,{classes:d}))}));vx.muiName="Input";var yx,xx=vx;const wx=["children","classes","className","label","notched"],Sx=tb("fieldset")({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%"}),kx=tb("legend")((({ownerState:e,theme:t})=>af({float:"unset"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&af({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function Ex(e){return Yh("MuiOutlinedInput",e)}var Cx=Qh("MuiOutlinedInput",["root","colorSecondary","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","notchedOutline","input","inputSizeSmall","inputMultiline","inputAdornedStart","inputAdornedEnd"]);const Rx=["components","fullWidth","inputComponent","label","multiline","notched","type"],Px=tb(Fb,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ab})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return af({position:"relative",borderRadius:e.shape.borderRadius,[`&:hover .${Cx.notchedOutline}`]:{borderColor:e.palette.text.primary},"@media (hover: none)":{[`&:hover .${Cx.notchedOutline}`]:{borderColor:n}},[`&.${Cx.focused} .${Cx.notchedOutline}`]:{borderColor:e.palette[t.color].main,borderWidth:2},[`&.${Cx.error} .${Cx.notchedOutline}`]:{borderColor:e.palette.error.main},[`&.${Cx.disabled} .${Cx.notchedOutline}`]:{borderColor:e.palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&af({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Tx=tb((function(e){const{className:t,label:n,notched:r}=e,o=lf(e,wx),a=null!=n&&""!==n,i=af({},e,{notched:r,withLabel:a});return sh.exports.jsx(Sx,af({"aria-hidden":!0,className:t,ownerState:i},o,{children:sh.exports.jsx(kx,{ownerState:i,children:a?sh.exports.jsx("span",{children:n}):yx||(yx=sh.exports.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>({borderColor:"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}))),Mx=tb(_b,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Lb})((({theme:e,ownerState:t})=>af({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),Nx=w.exports.forwardRef((function(e,t){var n;const r=Jg({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:a=!1,inputComponent:i="input",label:l,multiline:s=!1,notched:u,type:c="text"}=r,d=lf(r,Rx),p=(e=>{const{classes:t}=e;return af({},t,Uh({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ex,t))})(r),f=Cb({props:r,muiFormControl:Pb(),states:["required"]});return sh.exports.jsx($b,af({components:af({Root:Px,Input:Mx},o),renderSuffix:e=>sh.exports.jsx(Tx,{className:p.notchedOutline,label:null!=l&&""!==l&&f.required?n||(n=sh.exports.jsxs(w.exports.Fragment,{children:[l," ","*"]})):l,notched:void 0!==u?u:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:a,inputComponent:i,multiline:s,ref:t,type:c},d,{classes:af({},p,{notchedOutline:null})}))}));Nx.muiName="Input";var zx,Ox,Ix=Nx;const Ax=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Lx={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Zg(e)&&"variant"!==e,slot:"Root"},Fx=tb(px,Lx)(""),_x=tb(Ix,Lx)(""),jx=tb(xx,Lx)(""),Dx=w.exports.forwardRef((function(e,t){const n=Jg({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:a={},className:i,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:u=ax,id:c,input:d,inputProps:p,label:f,labelId:m,MenuProps:h,multiple:g=!1,native:b=!1,onClose:v,onOpen:y,open:x,renderValue:S,SelectDisplayProps:k,variant:E="outlined"}=n,C=lf(n,Ax),R=b?By:Jy,P=Cb({props:n,muiFormControl:Pb(),states:["variant"]}).variant||E,T=d||{standard:zx||(zx=sh.exports.jsx(Fx,{})),outlined:sh.exports.jsx(_x,{label:f}),filled:Ox||(Ox=sh.exports.jsx(jx,{}))}[P],M=(e=>{const{classes:t}=e;return t})(af({},n,{variant:P,classes:a})),N=zf(t,T.ref);return w.exports.cloneElement(T,af({inputComponent:R,inputProps:af({children:o,IconComponent:u,variant:P,type:void 0,multiple:g},b?{id:c}:{autoWidth:r,defaultOpen:l,displayEmpty:s,labelId:m,MenuProps:h,onClose:v,onOpen:y,open:x,renderValue:S,SelectDisplayProps:af({id:c},k)},p,{classes:p?gf(M,p.classes):M},d?d.props.inputProps:{})},g&&b&&"outlined"===P?{notched:!0}:{},{ref:N,className:Jm(T.props.className,i),variant:P},C))}));Dx.muiName="Select";var $x=Dx;var Bx=w.exports.createContext();function Wx(e){return Yh("MuiTableCell",e)}var Hx=Qh("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);const qx=["align","className","component","padding","scope","size","sortDirection","variant"],Ux=tb("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${vf(n.size)}`],"normal"!==n.padding&&t[`padding${vf(n.padding)}`],"inherit"!==n.align&&t[`align${vf(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>af({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:`1px solid\n ${"light"===e.palette.mode?Dh(_h(e.palette.divider,1),.88):jh(_h(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:e.palette.text.primary},"footer"===t.variant&&{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${Hx.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.default}))),Vx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:a,padding:i,scope:l,size:s,sortDirection:u,variant:c}=n,d=lf(n,qx),p=w.exports.useContext(hb),f=w.exports.useContext(Bx),m=f&&"head"===f.variant;let h;h=a||(m?"th":"td");let g=l;!g&&m&&(g="col");const b=c||f&&f.variant,v=af({},n,{align:r,component:h,padding:i||(p&&p.padding?p.padding:"normal"),size:s||(p&&p.size?p.size:"medium"),sortDirection:u,stickyHeader:"head"===b&&p&&p.stickyHeader,variant:b}),y=(e=>{const{classes:t,variant:n,align:r,padding:o,size:a,stickyHeader:i}=e;return Uh({root:["root",n,i&&"stickyHeader","inherit"!==r&&`align${vf(r)}`,"normal"!==o&&`padding${vf(o)}`,`size${vf(a)}`]},Wx,t)})(v);let x=null;return u&&(x="asc"===u?"ascending":"descending"),sh.exports.jsx(Ux,af({as:h,ref:t,className:Jm(y.root,o),"aria-sort":x,scope:g,ownerState:v},d))}));var Kx=Vx;function Gx(e){return Yh("MuiToolbar",e)}Qh("MuiToolbar",["root","gutters","regular","dense"]);const Yx=["className","component","disableGutters","variant"],Qx=tb("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>af({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar));var Xx=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:a=!1,variant:i="regular"}=n,l=lf(n,Yx),s=af({},n,{component:o,disableGutters:a,variant:i}),u=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return Uh({root:["root",!n&&"gutters",r]},Gx,t)})(s);return sh.exports.jsx(Qx,af({as:o,className:Jm(u.root,r),ref:t,ownerState:s},l))})),Jx=ox(sh.exports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Zx=ox(sh.exports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function ew(e){return Yh("MuiIconButton",e)}var tw=Qh("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const nw=["edge","children","className","color","disabled","disableFocusRipple","size"],rw=tb(Pv,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${vf(n.color)}`],n.edge&&t[`edge${vf(n.edge)}`],t[`size${vf(n.size)}`]]}})((({theme:e,ownerState:t})=>af({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:_h(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>af({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&af({color:e.palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:_h(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${tw.disabled}`]:{backgroundColor:"transparent",color:e.palette.action.disabled}}))),ow=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:u="medium"}=n,c=lf(n,nw),d=af({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:u}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e;return Uh({root:["root",n&&"disabled","default"!==r&&`color${vf(r)}`,o&&`edge${vf(o)}`,`size${vf(a)}`]},ew,t)})(d);return sh.exports.jsx(rw,af({className:Jm(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},c,{children:o}))}));var aw,iw,lw,sw,uw,cw,dw,pw,fw=ow,mw=ox(sh.exports.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),hw=ox(sh.exports.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");const gw=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"];var bw=w.exports.forwardRef((function(e,t){const{backIconButtonProps:n,count:r,getItemAriaLabel:o,nextIconButtonProps:a,onPageChange:i,page:l,rowsPerPage:s,showFirstButton:u,showLastButton:c}=e,d=lf(e,gw),p=Xg();return sh.exports.jsxs("div",af({ref:t},d,{children:[u&&sh.exports.jsx(fw,{onClick:e=>{i(e,0)},disabled:0===l,"aria-label":o("first",l),title:o("first",l),children:"rtl"===p.direction?aw||(aw=sh.exports.jsx(mw,{})):iw||(iw=sh.exports.jsx(hw,{}))}),sh.exports.jsx(fw,af({onClick:e=>{i(e,l-1)},disabled:0===l,color:"inherit","aria-label":o("previous",l),title:o("previous",l)},n,{children:"rtl"===p.direction?lw||(lw=sh.exports.jsx(Zx,{})):sw||(sw=sh.exports.jsx(Jx,{}))})),sh.exports.jsx(fw,af({onClick:e=>{i(e,l+1)},disabled:-1!==r&&l>=Math.ceil(r/s)-1,color:"inherit","aria-label":o("next",l),title:o("next",l)},a,{children:"rtl"===p.direction?uw||(uw=sh.exports.jsx(Jx,{})):cw||(cw=sh.exports.jsx(Zx,{}))})),c&&sh.exports.jsx(fw,{onClick:e=>{i(e,Math.max(0,Math.ceil(r/s)-1))},disabled:l>=Math.ceil(r/s)-1,"aria-label":o("last",l),title:o("last",l),children:"rtl"===p.direction?dw||(dw=sh.exports.jsx(hw,{})):pw||(pw=sh.exports.jsx(mw,{}))})]}))}));function vw(e){return Yh("MuiTablePagination",e)}var yw,xw=Qh("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);const ww=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],Sw=tb(Kx,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({overflow:"auto",color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),kw=tb(Xx,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>af({[`& .${xw.actions}`]:t.actions},t.toolbar)})((({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${xw.actions}`]:{flexShrink:0,marginLeft:20}}))),Ew=tb("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Cw=tb("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((({theme:e})=>af({},e.typography.body2,{flexShrink:0}))),Rw=tb($x,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>af({[`& .${xw.selectIcon}`]:t.selectIcon,[`& .${xw.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${xw.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),Pw=tb(Lv,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),Tw=tb("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((({theme:e})=>af({},e.typography.body2,{flexShrink:0})));function Mw({from:e,to:t,count:n}){return`${e}–${t} of ${-1!==n?n:`more than ${t}`}`}function Nw(e){return`Go to ${e} page`}var zw=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTablePagination"}),{ActionsComponent:r=bw,backIconButtonProps:o,className:a,colSpan:i,component:l=Kx,count:s,getItemAriaLabel:u=Nw,labelDisplayedRows:c=Mw,labelRowsPerPage:d="Rows per page:",nextIconButtonProps:p,onPageChange:f,onRowsPerPageChange:m,page:h,rowsPerPage:g,rowsPerPageOptions:b=[10,25,50,100],SelectProps:v={},showFirstButton:y=!1,showLastButton:x=!1}=n,S=lf(n,ww),k=n,E=(e=>{const{classes:t}=e;return Uh({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},vw,t)})(k),C=v.native?"option":Pw;let R;l!==Kx&&"td"!==l||(R=i||1e3);const P=Tf(v.id),T=Tf(v.labelId);return sh.exports.jsx(Sw,af({colSpan:R,ref:t,as:l,ownerState:k,className:Jm(E.root,a)},S,{children:sh.exports.jsxs(kw,{className:E.toolbar,children:[sh.exports.jsx(Ew,{className:E.spacer}),b.length>1&&sh.exports.jsx(Cw,{className:E.selectLabel,id:T,children:d}),b.length>1&&sh.exports.jsx(Rw,af({variant:"standard",input:yw||(yw=sh.exports.jsx($b,{})),value:g,onChange:m,id:P,labelId:T},v,{classes:af({},v.classes,{root:Jm(E.input,E.selectRoot,(v.classes||{}).root),select:Jm(E.select,(v.classes||{}).select),icon:Jm(E.selectIcon,(v.classes||{}).icon)}),children:b.map((e=>w.exports.createElement(C,af({},!Hh(C)&&{ownerState:k},{className:E.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)))})),sh.exports.jsx(Tw,{className:E.displayedRows,children:c({from:0===s?0:h*g+1,to:-1===s?(h+1)*g:-1===g?s:Math.min(s,(h+1)*g),count:-1===s?-1:s,page:h})}),sh.exports.jsx(r,{className:E.actions,backIconButtonProps:o,count:s,nextIconButtonProps:p,onPageChange:f,page:h,rowsPerPage:g,showFirstButton:y,showLastButton:x,getItemAriaLabel:u})]})}))}));const Ow=zh("div")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}),Iw=()=>oe.createElement(oe.Fragment,null,oe.createElement(Ow,{id:"sn-table-announcer--01","aria-live":"polite","aria-atomic":"true"}),oe.createElement(Ow,{id:"sn-table-announcer--02","aria-live":"polite","aria-atomic":"true"}));function Aw(e){return Yh("MuiTableBody",e)}Qh("MuiTableBody",["root"]);const Lw=["className","component"],Fw=tb("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),_w={variant:"body"},jw="tbody";var Dw=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableBody"}),{className:r,component:o=jw}=n,a=lf(n,Lw),i=af({},n,{component:o}),l=(e=>{const{classes:t}=e;return Uh({root:["root"]},Aw,t)})(i);return sh.exports.jsx(Bx.Provider,{value:_w,children:sh.exports.jsx(Fw,af({className:Jm(l.root,r),as:o,ref:t,role:o===jw?null:"rowgroup",ownerState:i},a))})}));function $w(e){return Yh("MuiTableRow",e)}var Bw=Qh("MuiTableRow",["root","selected","hover","head","footer"]);const Ww=["className","component","hover","selected"],Hw=tb("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Bw.hover}:hover`]:{backgroundColor:e.palette.action.hover},[`&.${Bw.selected}`]:{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:_h(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),qw="tr",Uw=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableRow"}),{className:r,component:o=qw,hover:a=!1,selected:i=!1}=n,l=lf(n,Ww),s=w.exports.useContext(Bx),u=af({},n,{component:o,hover:a,selected:i,head:s&&"head"===s.variant,footer:s&&"footer"===s.variant}),c=(e=>{const{classes:t,selected:n,hover:r,head:o,footer:a}=e;return Uh({root:["root",n&&"selected",r&&"hover",o&&"head",a&&"footer"]},$w,t)})(u);return sh.exports.jsx(Hw,af({as:o,ref:t,className:Jm(c.root,r),role:o===qw?null:"row",ownerState:u},l))}));var Vw=Uw;function Kw(e,t){const{rows:n,colIdx:r,isEnabled:o}=t.payload||{};switch(t.type){case"select":return{...e,rows:n,colIdx:r};case"reset":return e.api.isModal()?e:{...e,rows:[],colIdx:-1};case"clear":return e.rows.length?{...e,rows:[]}:e;case"set-enabled":return{...e,isEnabled:o};default:throw new Error("reducer called with invalid action type")}}function Gw({selectionState:e,cell:t,selectionDispatch:n,evt:r,announce:o}){const{api:a,rows:i}=e,{rowIdx:l,colIdx:s,qElemNumber:u}=t;let c=[];if(-1===e.colIdx)a.begin("/qHyperCubeDef");else{if(e.colIdx!==s)return;c=i.concat()}c=(({selectedRows:e,qElemNumber:t,rowIdx:n,evt:r})=>{if(r.ctrlKey||r.metaKey)return[{qElemNumber:t,rowIdx:n}];const o=e.findIndex((e=>e.qElemNumber===t));return o>-1?(e.splice(o,1),e):(e.push({qElemNumber:t,rowIdx:n}),e)})({selectedRows:c,qElemNumber:u,rowIdx:l,evt:r}),(({announce:e,rowsLength:t,isAddition:n})=>{e(t?{keys:[n?"SNTable.SelectionLabel.SelectedValue":"SNTable.SelectionLabel.DeselectedValue",1===t?"SNTable.SelectionLabel.OneSelectedValue":["SNTable.SelectionLabel.SelectedValues",t]]}:{keys:"SNTable.SelectionLabel.ExitedSelectionMode"})})({announce:o,rowsLength:c.length,isAddition:c.length>i.length}),c.length?(n({type:"select",payload:{rows:c,colIdx:s}}),a.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",c.map((e=>e.rowIdx)),[s]]})):a.cancel()}const Yw={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};const Qw="14px",Xw="#404040",Jw="#f4f4f4",Zw="repeating-linear-gradient(-45deg, rgba(200,200,200,0.08), rgba(200,200,200,0.08) 2px, rgba(200,200,200,0.3) 2.5px, rgba(200,200,200,0.08) 3px, rgba(200,200,200,0.08) 5px)",eS="#fff",tS="7px 14px",nS={SELECTED:{color:eS,background:"#009845",selectedCellClass:"selected"},POSSIBLE:{color:Xw,background:eS}};function rS(e,t){let n=t;return e.padding?({padding:n}=e):e.fontSize&&(n=`${e.fontSize/2}px ${e.fontSize}px`),n}function oS(e={},t,n){const r=n.getColorPickerColor(e);return r&&"none"!==r?r:t}const aS=e=>function(e){let t,n,r,o;return(o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e)||/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e))?(t=parseInt(o[1],10),n=parseInt(o[2],10),r=parseInt(o[3],10)):(o=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(e))&&(t=parseInt(o[1],16),n=parseInt(o[2],16),r=parseInt(o[3],16)),.299*t+.587*n+.114*r<125}(e)?eS:Xw,iS=(e,t)=>({color:oS(e.fontColor,Xw,t),fontSize:e.fontSize||Qw,padding:rS(e,tS)}),lS=e=>!e||JSON.stringify(e)===JSON.stringify({index:-1,color:null});function sS(e,t,n){const r={};return null==t||t.qValues.forEach(((e,t)=>{r[n[t]]=function(e){let t=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e);if(t)return`rgb(${t[1]},${t[2]},${t[3]})`;if(t=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return`rgba(${t[1]},${t[2]},${t[3]},${t[4]})`;if(t=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e),t){const e=Math.round(t[1]/2.55)/100;return`rgba(${t[2]},${t[3]},${t[4]},${e})`}if(t=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(e),t)return e;const n=e&&Yw[e.toLowerCase()];if(n){const e=void 0!==n.a?n.a:1;return`rgba(${n.r},${n.g},${n.b},${e})`}return"none"}(e.qText)})),r.cellBackgroundColor&&!r.cellForegroundColor&&(r.cellForegroundColor=aS(r.cellBackgroundColor)),{...e,color:r.cellForegroundColor||e.color,background:r.cellBackgroundColor}}function uS(e=eS,t,n){const{colIdx:r,rows:o,api:a}=n;if(a.isModal()){if(r!==t.colIdx)return{background:`${Zw}, ${e}`};for(let e=0;e<o.length;e++)if(o[e].qElemNumber===t.qElemNumber)return nS.SELECTED;return nS.POSSIBLE}return{}}function cS(e){const t=t=>{const{selectionState:n,cell:r,selectionDispatch:o,styling:a,announce:i,column:l,...s}=t,u=w.exports.useMemo((()=>function(e,t,n){return{...e,...uS(e.background,t,n)}}(a,r,n)),[a,r,n]);return oe.createElement(e,ub({},s,{styling:u,onMouseUp:e=>r.isDim&&0===e.button&&Gw({selectionState:n,cell:r,selectionDispatch:o,evt:e,announce:i})}))};return t.defaultProps={column:null},t.propTypes={styling:df.object.isRequired,selectionState:df.object.isRequired,cell:df.object.isRequired,selectionDispatch:df.func.isRequired,announce:df.func.isRequired,column:df.object},t}function dS(e,t){let n=function(e){const t=t=>{const{styling:n,...r}=t,{selectedCellClass:o,...a}=n;return oe.createElement(e,ub({},r,{className:`${o} sn-table-cell`,sx:a}))};return t.propTypes={styling:df.object.isRequired},t}(Kx);return t&&(n=cS(n)),e&&(n=function(e){const t=t=>{const{cell:n,column:r,styling:o,...a}=t,i=w.exports.useMemo((()=>sS(o,n.qAttrExps,r.stylingInfo)),[o,n.qAttrExps,r.stylingInfo]);return oe.createElement(e,ub({},a,{cell:n,styling:i}))};return t.propTypes={cell:df.object.isRequired,column:df.object.isRequired,styling:df.object.isRequired},t}(n)),n}const pS=e=>e.querySelector("td[tabindex='0'], th[tabindex='0']"),fS=({focusType:e,rowElements:t=[],cellCoord:n=[],providedCell:r})=>{var o;const a=r||(null===(o=t[n[0]])||void 0===o?void 0:o.getElementsByClassName("sn-table-cell")[n[1]]);if(a)switch(e){case"focus":a.focus(),a.setAttribute("tabIndex","0");break;case"blur":a.blur(),a.setAttribute("tabIndex","-1");break;case"addTab":a.setAttribute("tabIndex","0");break;case"removeTab":a.setAttribute("tabIndex","-1")}},mS=(e,t,n,r)=>{fS({providedCell:pS(t),focusType:"removeTab"}),n(e),r.enabled&&r.focus()},hS=(e,t,n)=>{var r,o;const a=null===(r=e.closest(".qv-object-wrapper"))||void 0===r||null===(o=r.querySelector(".sel-toolbar-confirm"))||void 0===o?void 0:o.parentElement;a?a.focus():t.focusSelection(n)},gS=e=>e.shiftKey&&(e.ctrlKey||e.metaKey),bS=e=>{e.stopPropagation(),e.preventDefault()},vS=(e,t,n,r,o,a)=>{var i;bS(e),e.target.setAttribute("tabIndex","-1");const l=(e=>{const t=e.getElementsByClassName("sn-table-row");return{rowElements:t,rowCount:t.length,columnCount:e.getElementsByClassName("sn-table-head-cell").length}})(t),s=((e,t,n,r)=>{var o;let[a,i]=n;const l=null==r||null===(o=r.api)||void 0===o?void 0:o.isModal();switch(e.key){case"ArrowDown":a+1<t.rowCount&&a++;break;case"ArrowUp":a>0&&(!l||1!==a)&&a--;break;case"ArrowRight":if(l)break;i<t.columnCount-1?i++:a<t.rowCount-1&&(a++,i=0);break;case"ArrowLeft":if(l)break;i>0?i--:a>0&&(a--,i=t.columnCount-1)}return[a,i]})(e,l,n,r);if(fS({focusType:"focus",rowElements:l.rowElements,cellCoord:s}),o(s),null!==(i=r.api)&&void 0!==i&&i.isModal()){var u;a((null===(u=l.rowElements[s[0]])||void 0===u?void 0:u.getElementsByClassName("sn-table-cell")[s[1]]).classList.contains("selected")?{keys:"SNTable.SelectionLabel.SelectedValue"}:{keys:"SNTable.SelectionLabel.NotSelectedValue"})}};function yS({rootElement:e,tableData:t,constraints:n,selectionsAPI:r,layout:o,theme:a,setShouldRefocus:i,setFocusedCellCoord:l,keyboard:s,tableWrapperRef:u,announce:c}){var d,p,f;const{rows:m,columns:h}=t,g=null===(d=o.components)||void 0===d||null===(p=d[0])||void 0===p||null===(f=p.content)||void 0===f?void 0:f.hoverEffect,b=w.exports.useMemo((()=>function(e,t){var n,r;const o=null===(n=e.components)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.content;if(!o)return{padding:tS};const a=lS(o.hoverColor),i=lS(o.hoverFontColor)&&a,l=i?Jw:a?"":oS(o.hoverColor,Jw,t),s=i?"":oS(o.hoverFontColor,aS(l),t);return{...iS(o,t),hoverBackgroundColor:l,hoverFontColor:s,selectedCellClass:"unselected"}}(o,a)),[o,a.name()]),v=!!r&&!n.active,y=h.map((e=>dS(!!e.stylingInfo.length,v))),[x,S]=w.exports.useState((()=>y)),[k,E]=w.exports.useReducer(Kw,{api:r,rows:[],colIdx:-1,isEnabled:v});w.exports.useEffect((()=>{E({type:"set-enabled",payload:{isEnabled:v}}),S(y)}),[v,h.length]),w.exports.useEffect((()=>{!function({api:e,selectionDispatch:t,setShouldRefocus:n,keyboard:r,tableWrapperRef:o}){const a=()=>{t({type:"reset"})},i=()=>{t({type:"clear"})},l=()=>{var e;null!==(e=o.current)&&void 0!==e&&e.contains(document.activeElement)?n():r.enabled&&r.blur(!0),a()};e&&(e.on("deactivated",a),e.on("canceled",a),e.on("confirmed",l),e.on("cleared",i))}({api:r,selectionDispatch:E,setShouldRefocus:i,keyboard:s,tableWrapperRef:u})}),[]);const C={"& td, th":{fontSize:b.fontSize,padding:b.padding}},R={"&&:hover":{"& td:not(.selected), th:not(.selected)":{backgroundColor:b.hoverBackgroundColor,color:b.hoverFontColor}}};return oe.createElement(Dw,{sx:C},m.map(((t,n)=>oe.createElement(Vw,{hover:g,tabIndex:-1,key:t.key,sx:g&&R,className:"sn-table-row"},h.map(((r,o)=>{const a=t[r.id],i=a.qText,u=x[o];return u&&oe.createElement(u,{scope:0===o?"row":null,component:0===o?"th":null,cell:a,column:r,key:r.id,align:r.align,styling:{color:b.color},selectionState:k,selectionDispatch:E,tabIndex:-1,announce:c,onKeyDown:t=>(({evt:e,rootElement:t,cellCoord:n,selectionState:r,cell:o,selectionDispatch:a,isAnalysisMode:i,setFocusedCellCoord:l,announce:s,keyboard:u})=>{switch(e.key){case"ArrowUp":case"ArrowDown":case"ArrowRight":case"ArrowLeft":!gS(e)&&vS(e,t,n,r,l,s);break;case" ":bS(e),(null==o?void 0:o.isDim)&&i&&Gw({selectionState:r,cell:o,selectionDispatch:a,evt:e,announce:s});break;case"Enter":if(bS(e),!r.api.isModal())break;r.api.confirm(),s({keys:"SNTable.SelectionLabel.SelectionsConfirmed"});break;case"Escape":if(!i||!r.api.isModal())break;bS(e),r.api.cancel(),s({keys:"SNTable.SelectionLabel.ExitedSelectionMode"});break;case"Tab":e.shiftKey&&u.enabled&&r.api.isModal()&&(bS(e),hS(e.target,u,!0))}})({evt:t,rootElement:e,cellCoord:[n+1,o],selectionState:k,cell:a,selectionDispatch:E,isAnalysisMode:v,setFocusedCellCoord:l,announce:c,keyboard:s}),onMouseDown:()=>((e,t,n,r)=>{const{rawRowIdx:o,rawColIdx:a}=e;mS([o+1,a],t,n,r)})(a,e,l,s)},i)}))))))}function xS(e){return Yh("MuiTableHead",e)}yS.propTypes={rootElement:df.object.isRequired,tableData:df.object.isRequired,constraints:df.object.isRequired,selectionsAPI:df.object.isRequired,layout:df.object.isRequired,theme:df.object.isRequired,setFocusedCellCoord:df.func.isRequired,setShouldRefocus:df.func.isRequired,keyboard:df.object.isRequired,tableWrapperRef:df.object.isRequired,announce:df.func.isRequired},Qh("MuiTableHead",["root"]);const wS=["className","component"],SS=tb("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),kS={variant:"head"},ES="thead";var CS=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableHead"}),{className:r,component:o=ES}=n,a=lf(n,wS),i=af({},n,{component:o}),l=(e=>{const{classes:t}=e;return Uh({root:["root"]},xS,t)})(i);return sh.exports.jsx(Bx.Provider,{value:kS,children:sh.exports.jsx(SS,af({as:o,className:Jm(l.root,r),ref:t,role:o===ES?null:"rowgroup",ownerState:i},a))})})),RS=ox(sh.exports.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function PS(e){return Yh("MuiTableSortLabel",e)}var TS=Qh("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);const MS=["active","children","className","direction","hideSortIcon","IconComponent"],NS=tb(Pv,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:e.palette.text.secondary},"&:hover":{color:e.palette.text.secondary,[`& .${TS.icon}`]:{opacity:.5}},[`&.${TS.active}`]:{color:e.palette.text.primary,[`& .${TS.icon}`]:{opacity:1,color:e.palette.text.secondary}}}))),zS=tb("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${vf(n.direction)}`]]}})((({theme:e,ownerState:t})=>af({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"}))),OS=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiTableSortLabel"}),{active:r=!1,children:o,className:a,direction:i="asc",hideSortIcon:l=!1,IconComponent:s=RS}=n,u=lf(n,MS),c=af({},n,{active:r,direction:i,hideSortIcon:l,IconComponent:s}),d=(e=>{const{classes:t,direction:n,active:r}=e;return Uh({root:["root",r&&"active"],icon:["icon",`iconDirection${vf(n)}`]},PS,t)})(c);return sh.exports.jsxs(NS,af({className:Jm(d.root,a),component:"span",disableRipple:!0,ownerState:c,ref:t},u,{children:[o,l&&!r?null:sh.exports.jsx(zS,{as:s,className:Jm(d.icon),ownerState:c})]}))}));var IS=OS;const AS=zh("span")({border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",top:20,width:1});function LS({rootElement:e,tableData:t,theme:n,layout:r,changeSortOrder:o,constraints:a,translator:i,selectionsAPI:l,focusedCellCoord:s,setFocusedCellCoord:u,keyboard:c}){const d=w.exports.useMemo((()=>function(e,t){var n,r;const o=null===(n=e.components)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.header;return o?iS(o,t):{padding:tS}}(r,n)),[r,n.name()]),p={color:d.color,fontSize:d.fontSize,padding:d.padding};return oe.createElement(CS,null,oe.createElement(Vw,{className:"sn-table-row"},t.columns.map(((t,n)=>{const d=0!==n||c.enabled?-1:0,f=r.qHyperCube.qEffectiveInterColumnSortOrder[0]===t.dataColIdx,m=0===s[0];return oe.createElement(Kx,{sx:p,key:t.id,align:t.align,className:"sn-table-head-cell sn-table-cell",tabIndex:d,"aria-sort":f?`${t.sortDirection}ending`:null,"aria-pressed":f,onKeyDown:i=>((e,t,n,r,o,a,i,l)=>{switch(e.key){case"ArrowDown":case"ArrowRight":case"ArrowLeft":!gS(e)&&vS(e,t,n,!1,l);break;case" ":case"Enter":bS(e),i&&o(a,r)}})(i,e,[0,n],t,o,r,!a.active,u),onMouseDown:()=>((e,t,n,r)=>{mS([0,e],t,n,r)})(n,e,u,c),onClick:()=>!l.isModal()&&!a.active&&o(r,t)},oe.createElement(IS,{active:f,direction:t.sortDirection,tabIndex:-1},t.label,m&&oe.createElement(AS,{"data-testid":`VHL-for-col-${n}`},i.get("SNTable.SortLabel.PressSpaceToSort"))))}))))}function FS(e){return Yh("MuiFormLabel",e)}LS.propTypes={rootElement:df.object.isRequired,tableData:df.object.isRequired,theme:df.object.isRequired,layout:df.object.isRequired,changeSortOrder:df.func.isRequired,constraints:df.object.isRequired,selectionsAPI:df.object.isRequired,keyboard:df.object.isRequired,focusedCellCoord:df.arrayOf(df.number).isRequired,setFocusedCellCoord:df.func.isRequired,translator:df.object.isRequired};var _S=Qh("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const jS=["children","className","color","component","disabled","error","filled","focused","required"],DS=tb("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>af({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>af({color:e.palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${_S.focused}`]:{color:e.palette[t.color].main},[`&.${_S.disabled}`]:{color:e.palette.text.disabled},[`&.${_S.error}`]:{color:e.palette.error.main}}))),$S=tb("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${_S.error}`]:{color:e.palette.error.main}}))),BS=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiFormLabel"}),{children:r,className:o,component:a="label"}=n,i=lf(n,jS),l=Cb({props:n,muiFormControl:Pb(),states:["color","required","focused","disabled","error","filled"]}),s=af({},n,{color:l.color||"primary",component:a,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),u=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:a,filled:i,required:l}=e;return Uh({root:["root",`color${vf(n)}`,o&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]},FS,t)})(s);return sh.exports.jsxs(DS,af({as:a,ownerState:s,className:Jm(u.root,o),ref:t},i,{children:[r,l.required&&sh.exports.jsxs($S,{ownerState:s,"aria-hidden":!0,className:u.asterisk,children:[" ","*"]})]}))}));var WS=BS;function HS(e){return Yh("MuiInputLabel",e)}Qh("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const qS=["disableAnimation","margin","shrink","variant"],US=tb(WS,{shouldForwardProp:e=>Zg(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${_S.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((({theme:e,ownerState:t})=>af({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&af({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&af({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&af({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))));var VS=w.exports.forwardRef((function(e,t){const n=Jg({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,shrink:o}=n,a=lf(n,qS),i=Pb();let l=o;void 0===l&&i&&(l=i.filled||i.focused||i.adornedStart);const s=Cb({props:n,muiFormControl:i,states:["size","variant","required"]}),u=af({},n,{disableAnimation:r,formControl:i,shrink:l,size:s.size,variant:s.variant,required:s.required}),c=(e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:a,variant:i,required:l}=e;return af({},t,Uh({root:["root",n&&"formControl",!a&&"animated",o&&"shrink","small"===r&&"sizeSmall",i],asterisk:[l&&"asterisk"]},HS,t))})(u);return sh.exports.jsx(US,af({"data-shrink":l,ownerState:u,ref:t},a,{classes:c}))}));function KS(e){return Yh("MuiFormControl",e)}Qh("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const GS=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],YS=tb("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>af({},t.root,t[`margin${vf(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>af({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),QS=w.exports.forwardRef((function(e,t){const n=Jg({props:e,name:"MuiFormControl"}),{children:r,className:o,color:a="primary",component:i="div",disabled:l=!1,error:s=!1,focused:u,fullWidth:c=!1,hiddenLabel:d=!1,margin:p="none",required:f=!1,size:m="medium",variant:h="outlined"}=n,g=lf(n,GS),b=af({},n,{color:a,component:i,disabled:l,error:s,fullWidth:c,hiddenLabel:d,margin:p,required:f,size:m,variant:h}),v=(e=>{const{classes:t,margin:n,fullWidth:r}=e;return Uh({root:["root","none"!==n&&`margin${vf(n)}`,r&&"fullWidth"]},KS,t)})(b),[y,x]=w.exports.useState((()=>{let e=!1;return r&&w.exports.Children.forEach(r,(t=>{if(!wf(t,["Input","Select"]))return;const n=wf(t,["Select"])?t.props.input:t;n&&function(e){return e.startAdornment}(n.props)&&(e=!0)})),e})),[S,k]=w.exports.useState((()=>{let e=!1;return r&&w.exports.Children.forEach(r,(t=>{wf(t,["Input","Select"])&&Nb(t.props,!0)&&(e=!0)})),e})),[E,C]=w.exports.useState(!1);l&&E&&C(!1);const R=void 0===u||l?E:u;const P=w.exports.useCallback((()=>{k(!0)}),[]),T={adornedStart:y,setAdornedStart:x,color:a,disabled:l,error:s,filled:S,focused:R,fullWidth:c,hiddenLabel:d,size:m,onBlur:()=>{C(!1)},onEmpty:w.exports.useCallback((()=>{k(!1)}),[]),onFilled:P,onFocus:()=>{C(!0)},registerEffect:undefined,required:f,variant:h};return sh.exports.jsx(Rb.Provider,{value:T,children:sh.exports.jsx(YS,af({as:i,ownerState:b,className:Jm(v.root,o),ref:t},g,{children:r}))})}));var XS=QS,JS={},ZS={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(ZS);var ek={},tk=v(Object.freeze({__proto__:null,capitalize:vf,createChainedFunction:yf,createSvgIcon:ox,debounce:xf,deprecatedPropType:function(e,t){return()=>null},isMuiElement:wf,ownerDocument:Sf,ownerWindow:kf,requirePropFactory:function(e,t){return()=>null},setRef:Ef,unstable_useEnhancedEffect:Cf,unstable_useId:Tf,unsupportedProp:function(e,t,n,r,o){return null},useControlled:Mf,useEventCallback:Nf,useForkRef:zf,useIsFocusVisible:$f,unstable_ClassNameGenerator:Kh}));!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=tk}(ek);var nk=ZS.exports;Object.defineProperty(JS,"__esModule",{value:!0});var rk=JS.default=void 0,ok=nk(ek),ak=sh.exports,ik=(0,ok.default)((0,ak.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");rk=JS.default=ik;var lk={},sk=ZS.exports;Object.defineProperty(lk,"__esModule",{value:!0});var uk=lk.default=void 0,ck=sk(ek),dk=sh.exports,pk=(0,ck.default)((0,dk.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");uk=lk.default=pk;var fk={},mk=ZS.exports;Object.defineProperty(fk,"__esModule",{value:!0});var hk=fk.default=void 0,gk=mk(ek),bk=sh.exports,vk=(0,gk.default)((0,bk.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");hk=fk.default=vk;var yk={},xk=ZS.exports;Object.defineProperty(yk,"__esModule",{value:!0});var wk=yk.default=void 0,Sk=xk(ek),kk=sh.exports,Ek=(0,Sk.default)((0,kk.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");const Ck={FirstPage:rk,PreviousPage:uk,NextPage:hk,LastPage:wk=yk.default=Ek,FirstPageRTL:wk,PreviousPageRTL:hk,NextPageRTL:uk,LastPageRTL:rk};function Rk({direction:e,page:t,lastPageIdx:n,onPageChange:r,keyboard:o,tableWidth:a,translator:i,isInSelectionMode:l}){const s=0===t,u=t>=n,c=!o.enabled||o.active?0:-1,d=a>350,p=o.enabled?e=>((e,t,n)=>{t&&"Tab"===e.key&&!e.shiftKey&&(bS(e),hS(e.target,n,!1))})(e,l):null,f=(t,n,o,a=null)=>{const l=Ck[`${o}${"rtl"===e?"RTL":""}`];return oe.createElement(fw,{"data-testid":"pagination-action-icon-button",onClick:t?null:()=>r(n),"aria-disabled":t,"aria-label":i.get(`SNTable.Pagination.${o}`),title:i.get(`SNTable.Pagination.${o}`),tabIndex:c,sx:t?{color:"rgba(0, 0, 0, 0.3)",cursor:"default"}:{color:"rgba(0, 0, 0, 0.54)"},onKeyDown:a},oe.createElement(l,null))};return oe.createElement(oe.Fragment,null,a>650&&oe.createElement(XS,null,oe.createElement(VS,{htmlFor:"pagination-dropdown",shrink:!1},`${i.get("SNTable.Pagination.SelectPage")}:`),oe.createElement($x,{native:!0,value:t,onChange:e=>r(+e.target.value),inputProps:{"data-testid":"pagination-dropdown",tabIndex:c,id:"pagination-dropdown"}},Array(n+1).fill().map(((e,t)=>oe.createElement("option",{key:String(e),value:t},t+1))))),oe.createElement(oe.Fragment,null,d&&f(s,0,"FirstPage"),f(s,t-1,"PreviousPage"),f(u,t+1,"NextPage",d?null:p),d&&f(u,n,"LastPage",p)))}function Pk(e,t){const n=w.exports.useRef(!1);w.exports.useEffect((()=>{n.current?e():n.current=!0}),t)}Rk.defaultProps={direction:null},Rk.propTypes={direction:df.string,onPageChange:df.func.isRequired,page:df.number.isRequired,lastPageIdx:df.number.isRequired,keyboard:df.object.isRequired,isInSelectionMode:df.bool.isRequired,tableWidth:df.number.isRequired,translator:df.object.isRequired};const Tk="first-announcer-element",Mk="second-announcer-element";function Nk({children:e,target:t}){return bc.createPortal(e,t)}function zk(e){const{rootElement:t,tableData:n,pageInfo:r,setPageInfo:o,constraints:a,translator:i,selectionsAPI:l,keyboard:s,rect:u,direction:c,footerContainer:d,announcer:p}=e,{size:f,rows:m,columns:h}=n,{page:g,rowsPerPage:b,rowsPerPageOptions:v}=r,[y,x]=w.exports.useState([0,0]),S=w.exports.useRef(!1),k=w.exports.useRef(),E=w.exports.useRef(),C=p||w.exports.useMemo((()=>function(e,t,n){let r=n||null;return({keys:n,shouldBeAtomic:o=!0,politeness:a="polite"})=>{const i=(Array.isArray(n)?n:[n]).map((e=>{if(Array.isArray(e)){const[n,...r]=e;return t.get(n,...r)}return t.get(e)})).join(" "),l=e.querySelector("#sn-table-announcer--01"),s=e.querySelector("#sn-table-announcer--02");let u=null;r===Tk?(u=s,r=Mk):(u=l,r=Tk),u.innerHTML=u.innerHTML.endsWith(" ")?i:`${i} `,u.setAttribute("aria-atomic",o),u.setAttribute("aria-live",a)}}(t,i)),[i.language]),R=Math.ceil(f.qcy/b),P=`${i.get("SNTable.Accessibility.RowsAndColumns",[m.length+1,h.length])} ${i.get("SNTable.Accessibility.NavigationInstructions")}`,T=()=>{S.current=t.getElementsByTagName("table")[0].contains(document.activeElement)},M=e=>{o({...r,page:e}),C({keys:[["SNTable.Pagination.PageStatusReport",[e+1,R]]],politeness:"assertive"})},N=e=>{o({...r,page:0,rowsPerPage:+e.target.value}),C({keys:[["SNTable.Pagination.RowsPerPageChange",e.target.value]],politeness:"assertive"})};w.exports.useEffect((()=>{const e=E.current;if(!e)return()=>{};const t=e=>((e,t,n)=>{!n.enabled||e.currentTarget.contains(e.relatedTarget)||t.current||(e.currentTarget.querySelector("#sn-table-announcer--01").innerHTML="",e.currentTarget.querySelector("#sn-table-announcer--02").innerHTML="",n.blur(!1))})(e,S,s);return e.addEventListener("focusout",t),()=>{e.removeEventListener("focusout",t)}}),[]),w.exports.useEffect((()=>{const e=k.current;if(!e)return()=>{};const t=t=>((e,t,n)=>{e.stopPropagation();let{scrollLeft:r}=n;const o=r+e.deltaX,a=n.scrollWidth-n.offsetWidth;if(t){const t=a+o;a>0&&(t<=0||t>a)&&(e.preventDefault(),r=Math.min(0,Math.min(a,t)))}else a>0&&(o<0||o>a)&&(e.preventDefault(),r=Math.max(0,Math.min(a,o)))})(t,"rtl"===c,e);return e.addEventListener("wheel",t),()=>{e.removeEventListener("wheel",t)}}),[c]),w.exports.useEffect((()=>(({tableContainerRef:e,focusedCellCoord:t,rootElement:n})=>{var r;if(null!==(r=e.current)&&void 0!==r&&r.scrollTo)if(t[0]<2)e.current.scrollTo({top:0,behavior:"smooth"});else{var o;const[r,a]=t,i=n.getElementsByClassName("sn-table-head-cell")[0],l=null===(o=n.getElementsByClassName("sn-table-row")[r])||void 0===o?void 0:o.getElementsByClassName("sn-table-cell")[a];if(l.offsetTop-i.offsetHeight-l.offsetHeight<=e.current.scrollTop){const t=e.current.scrollTop-l.offsetHeight-i.offsetHeight;e.current.scrollTo({top:Math.max(0,t),behavior:"smooth"})}}})({tableContainerRef:k,focusedCellCoord:y,rootElement:t})),[k,y]),Pk((()=>{s.enabled&&fS({focusType:s.active?"focus":"blur",rowElements:t.getElementsByClassName("sn-table-row"),cellCoord:y})}),[s.active]),Pk((()=>{(({focusedCellCoord:e,rootElement:t,shouldRefocus:n,hasSelections:r,setFocusedCellCoord:o,shouldAddTabstop:a,announce:i})=>{fS({focusType:"removeTab",providedCell:pS(t)});const l=r?[1,e[1]]:[0,0];if(a){var s;const e=n.current?"focus":"addTab";n.current=!1;const o=null===(s=t.getElementsByClassName("sn-table-row")[l[0]])||void 0===s?void 0:s.getElementsByClassName("sn-table-cell")[l[1]];if(fS({focusType:e,providedCell:o}),r){var u;const e=null==o||null===(u=o.classList)||void 0===u?void 0:u.contains("selected");i({keys:[`${o.textContent},`,e?"SNTable.SelectionLabel.SelectedValue":"SNTable.SelectionLabel.NotSelectedValue"]})}}o(l)})({focusedCellCoord:y,rootElement:t,shouldRefocus:S,setFocusedCellCoord:x,hasSelections:l.isModal(),shouldAddTabstop:!s.enabled||s.active,announce:C})}),[m.length,f.qcy,f.qcx,g]);const z={height:a.active||d?"100%":"calc(100% - 52px)",overflow:a.active?"hidden":"auto"},O={display:"flex",justifyContent:"flex-end",paddingRight:1,backgroundColor:"rgb(255, 255, 255)",border:"1px solid rgb(217, 217, 217)",borderTop:0,boxShadow:"none",alignItems:"center"},I=e=>{const t=l.isModal()||e<550||f.qcx>100;return oe.createElement(oe.Fragment,null,oe.createElement(zw,{sx:a.active&&{display:"none"},rowsPerPageOptions:t?[b]:v,component:"div",count:f.qcy,rowsPerPage:b,labelRowsPerPage:`${i.get("SNTable.Pagination.RowsPerPage")}:`,page:g,SelectProps:{inputProps:{"aria-label":i.get("SNTable.Pagination.RowsPerPage"),"data-testid":"select",style:{color:"#404040"},tabIndex:!s.enabled||s.active?0:-1},native:!0},labelDisplayedRows:({from:t,to:n,count:r})=>e>250&&i.get("SNTable.Pagination.DisplayedRowsLabel",[`${t} - ${n}`,r]),onRowsPerPageChange:N,ActionsComponent:()=>oe.createElement("div",null,null),onPageChange:()=>{}}),oe.createElement(Rk,{direction:c,page:g,onPageChange:M,lastPageIdx:Math.ceil(f.qcy/b)-1,keyboard:s,isInSelectionMode:l.isModal(),tableWidth:e,translator:i}))};let A;return A=d?oe.createElement(Nk,{target:d},I(d.getBoundingClientRect().width)):oe.createElement(mb,{sx:O},I(u.width)),oe.createElement(mb,{dir:c,sx:{height:"100%",backgroundColor:"rgb(255, 255, 255)",boxShadow:"none"},ref:E,onKeyDown:e=>(({evt:e,totalRowSize:t,page:n,rowsPerPage:r,handleChangePage:o,setShouldRefocus:a,keyboard:i,isSelectionActive:l})=>{if(gS(e)){bS(e);const i=Math.ceil(t/r)-1;"ArrowRight"===e.key&&n<i?(a(),o(n+1)):"ArrowLeft"===e.key&&n>0&&(a(),o(n-1))}else"Escape"===e.key&&i.enabled&&!l&&(bS(e),i.blur(!0))})({evt:e,totalRowSize:f.qcy,page:g,rowsPerPage:b,handleChangePage:M,setShouldRefocus:T,keyboard:s,isSelectionActive:l.isModal()})},oe.createElement(Iw,null),oe.createElement(Eb,{ref:k,sx:z,tabIndex:-1,role:"application","data-testid":"table-wrapper"},oe.createElement(xb,{stickyHeader:!0,"aria-label":P},oe.createElement(LS,ub({},e,{setFocusedCellCoord:x,focusedCellCoord:y})),oe.createElement(yS,ub({},e,{announce:C,focusedCellCoord:y,setFocusedCellCoord:x,setShouldRefocus:T,tableWrapperRef:E})))),A)}zk.defaultProps={announcer:null,direction:null,footerContainer:null},zk.propTypes={rootElement:df.object.isRequired,tableData:df.object.isRequired,pageInfo:df.object.isRequired,setPageInfo:df.func.isRequired,translator:df.object.isRequired,constraints:df.object.isRequired,selectionsAPI:df.object.isRequired,keyboard:df.object.isRequired,rect:df.object.isRequired,footerContainer:df.object,direction:df.string,announcer:df.func};var Ok={keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920},unit:"px"},Ik={MuiIconButton:{styleOverrides:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&.sprout-focus-visible":{borderColor:"#177FE6",boxShadow:"0 0 0 1px #177FE6"},"&&&:hover":{backgroundColor:"transparent"}}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiFormLabel:{styleOverrides:{root:{color:"#404040",fontSize:12,fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:600,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:"#404040"},"&.Mui-error":{color:"rgba(0, 0, 0, 0.55)"},"&[optional=true]":{"&:after":{color:"rgba(0, 0, 0, 0.55)",content:"'(optional)'",fontWeight:400,marginLeft:4}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:"rgba(0, 0, 0, 0.55)",content:"'(required)'",fontWeight:400,marginLeft:4}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:"14px",lineHeight:"16px",backgroundColor:"#FFFFFF",borderRadius:3,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:"solid 1px rgba(0, 0, 0, 0.05)",borderColor:"rgba(0, 0, 0, 0.3)"},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:"solid 1px #177FE6",boxShadow:"0px 0px 0px 1px #177FE6, inset 0 2px 0 0 rgba(0, 0, 0, 0.05)"},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:"solid 1px #DC423F",boxShadow:"0px 0px 0px 1px #DC423F, inset 0 2px 0 0 rgba(0, 0, 0, 0.05)"},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:"solid 1px rgba(0, 0, 0, 0.1)",borderColor:"rgba(0, 0, 0, 0.1)",backgroundColor:"rgba(0, 0, 0, 0.05)"}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:"#404040",padding:"8px 12px","&.Mui-disabled":{opacity:.45}},notchedOutline:{borderColor:"rgba(0, 0, 0, 0.15)",borderRadius:3,boxShadow:"inset 0 2px 0 0 rgba(0, 0, 0, 0.05)"},multiline:{padding:"0"}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:"#177FE6",boxShadow:"0 0 0 2px #177FE6"}}}},MuiInputBase:{styleOverrides:{input:{fontSize:14,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:12,fontWeight:600,color:"#404040","&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:600}}}},MuiTab:{styleOverrides:{root:{fontSize:14,fontWeight:600,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:12,"&:hover":{borderBottom:"2px solid #CCCCCC",paddingBottom:10},"&.sprout-focus-visible":{boxShadow:"inset 0 0 0 2px #177FE6",backgroundColor:"rgba(0, 0, 0, 0.03)",borderRadius:3},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:"#404040","&.Mui-selected":{color:"#404040"}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:40,minHeight:48}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:"1px solid #D9D9D9",borderRight:"1px solid #D9D9D9",height:39},head:{height:41,fontWeight:600,backgroundColor:"#FAFAFA"},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:0},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:40,padding:0}},stickyHeader:{backgroundColor:"#FAFAFA",borderBottom:"1px solid #D9D9D9"}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:"1px solid #D9D9D9",borderTop:"1px solid #D9D9D9"}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:"#FAFAFA"}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:"rgba(0, 0, 0, 0.05)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"}},"&&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"}}}},MuiTableSortLabel:{defaultProps:{},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:"1px solid #D9D9D9"}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiNativeSelect:{styleOverrides:{select:{height:32,zIndex:1,borderRadius:3,"& em":{color:"rgba(0, 0, 0, 0.55)",WebkitFontSmoothing:"antialiased","&::after":{content:"''"}},"& ~i":{position:"absolute",right:"12px",padding:"6px"},"&[aria-expanded=true]":{backgroundColor:"rgba(0, 0, 0, 0.05)"},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"},"&:active":{backgroundColor:"rgba(0, 0, 0, 0.1)"},"&:focus":{backgroundColor:"rgba(0, 0, 0, 0.03)",borderRadius:"3px !important",border:"solid 1px #177FE6",boxShadow:"inset 0px 0px 0px 1px #177FE6"},"&$disabled":{opacity:"unset",color:"rgba(0, 0, 0, 0.3)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0)",borderColor:"rgba(0, 0, 0, 0.15)"},"& ~i":{color:"rgba(0, 0, 0, 0.3)"}}},selectMenu:{height:14},outlined:{border:"solid 1px rgba(0, 0, 0, 0.15)"}}},MuiFormControl:{styleOverrides:{root:{flexDirection:"row",alignItems:"center",paddingLeft:8,paddingRight:18}}}},Ak={mode:"light",primary:{light:"#0AAF54",main:"#009845",dark:"#0D6932",contrastText:"#FFFFFF"},secondary:{light:"#469DCD",main:"#3F8AB3",dark:"#2F607B",contrastText:"#FFFFFF"},error:{light:"#F05551",main:"#DC423F",dark:"#97322F",contrastText:"#FFFFFF"},warning:{light:"#FFC629",main:"#EF960F",dark:"#A4681C",contrastText:"#FFFFFF"},success:{light:"#0AAF54",main:"#009845",dark:"#0D6932",contrastText:"#FFFFFF"},info:{light:"#469DCD",main:"#3F8AB3",dark:"#2F607B",contrastText:"#FFFFFF"},text:{primary:"#404040",secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.05,active:"rgba(0, 0, 0, 0.54)",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},amethyst:{main:"#655dc6",light:"#8D8BCE",dark:"#413885",contrastText:"#FFFFFF"},background:{paper:"#FFFFFF",default:"#F2F2F2"},divider:"rgba(0, 0, 0, 0.15)",common:{black:"#000",white:"#fff"},grey:{50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},contrastThreshold:3,tonalOffset:.2},Lk={borderRadius:3},Fk=["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],_k={easing:{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)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},jk={fontSize:14,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontWeightBold:700,htmlFontSize:14,fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",button:{fontWeight:600,fontSize:14,textTransform:"none",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",lineHeight:1.75},body1:{fontSize:16,lineHeight:"24px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400},body2:{fontSize:14,lineHeight:"20px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400},h1:{fontSize:32,lineHeight:"32px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:300},h2:{fontSize:28,lineHeight:"32px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:300},h3:{fontSize:24,lineHeight:"24px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400},h4:{fontSize:20,lineHeight:"24px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400},h5:{fontSize:16,fontWeight:600,lineHeight:"16px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"},h6:{fontSize:14,fontWeight:600,lineHeight:"16px",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"},caption:{color:"rgba(0, 0, 0, 0.55)",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400,fontSize:"0.8571428571428571rem",lineHeight:1.66},subtitle1:{fontSize:14,color:"rgba(0, 0, 0, 0.55)",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400,lineHeight:1.75},subtitle2:{fontSize:12,color:"rgba(0, 0, 0, 0.55)",fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:600,lineHeight:1.57},overline:{fontFamily:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontWeight:400,fontSize:"0.8571428571428571rem",lineHeight:2.66,textTransform:"uppercase"}},Dk={modal:1200,snackbar:1200,drawer:1200,appBar:1200,mobileStepper:1200,tooltip:1200,speedDial:1050},$k={toolbar:{minHeight:56,"@media (min-width:0px) and (orientation: landscape)":{minHeight:48},"@media (min-width:600px)":{minHeight:64}}},Bk={breakpoints:Ok,direction:"ltr",components:Ik,palette:Ak,shape:Lk,shadows:Fk,transitions:_k,typography:jk,zIndex:Dk,mixins:$k},Wk=Object.freeze({__proto__:null,breakpoints:Ok,direction:"ltr",components:Ik,palette:Ak,shape:Lk,shadows:Fk,transitions:_k,typography:jk,zIndex:Dk,mixins:$k,default:Bk});return function(t){return{qae:{properties:{initial:r},data:{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:15},measures:{min:0,max:15}}]}},component(){const t=e.useElement(),r=e.useStaleLayout(),{direction:o,footerContainer:a}=e.useOptions(),i=e.useModel(),l=e.useConstraints(),s=e.useTranslator(),u=e.useSelections(),c=function(e){return Ik&&(Ik.MuiIconButton.styleOverrides.root.padding="0px 7px",Ik.MuiTableSortLabel.styleOverrides.root.color="inherit",Ik.MuiTableSortLabel.styleOverrides.root["&.Mui-active"].color="inherit",Ik.MuiTableSortLabel.styleOverrides.root["&:hover"].color="inherit",Ik.MuiTableRow.styleOverrides.root["&&:hover"].backgroundColor="rgba(0, 0, 0, 0)",Ik.MuiTableCell.styleOverrides.root.height="auto",Ik.MuiTableCell.styleOverrides.root.lineHeight="130%",Ik.MuiTableCell.styleOverrides.head.height="auto",Ik.MuiTableCell.styleOverrides.head.lineHeight="150%",Ik.MuiTableCell.styleOverrides.root["&:focus"]={boxShadow:"0 0 0 2px #3f8ab3 inset",outline:"none"},Ik.MuiTableContainer.styleOverrides.root.borderBottom=0,Ik.MuiInputBase.styleOverrides.input.padding="0px 12px",Ik.MuiInputBase.styleOverrides.input.border="1px solid transparent",Ik.MuiOutlinedInput.styleOverrides.input.padding="0px 12px",Ik.MuiNativeSelect.styleOverrides.outlined.border="1px solid transparent",Ik.MuiInputLabel.styleOverrides.outlined={fontSize:14,width:"fit-content",position:"relative",padding:8,transform:"none",fontWeight:"400"},Ik.MuiFormControl.styleOverrides.root.paddingLeft=28,Ik.MuiFormControl.styleOverrides.root.paddingRight=14),Yg({...Wk,direction:e})}(o),d=e.useTheme(),p=e.useKeyboard(),f=e.useRect(),[m,h]=e.useState((()=>({page:0,rowsPerPage:100,rowsPerPageOptions:[10,25,100]}))),[g]=e.usePromise((()=>b(i,r,m,h)),[r,m]);e.useEffect((()=>{if(r&&g){!function(e){if(e&&e.get&&e.add){const t="SNTable.Accessibility.RowsAndColumns";if(e.get(t)!==t)return;Object.keys(n).forEach((t=>{e.add(n[t])}))}}(s);const e=function(e){return async(t,n)=>{const{isDim:r,dataColIdx:o}=n,a=(await e.getEffectiveProperties()).qHyperCubeDef.qInterColumnSortOrder,i=a[0];o!==i&&(a.splice(a.indexOf(o),1),a.unshift(o));const l=[{qPath:"/qHyperCubeDef/qInterColumnSortOrder",qOp:"replace",qValue:`[${a.join(",")}]`}];if(o===i){const{qDimensionInfo:e,qMeasureInfo:n}=t.qHyperCube,a=r?o:o-e.length,{qReverseSort:i}=r?e[a]:n[a],s=`/qHyperCubeDef/${r?"qDimensions":"qMeasures"}/${a}/qDef/qReverseSort`;l.push({qPath:s,qOp:"replace",qValue:(!i).toString()})}e.applyPatches(l,!0)}}(i);!function(e,t){const{tableTheme:n,direction:r}=t;bc.render(oe.createElement(oe.StrictMode,null,oe.createElement(zp,{stylisPlugins:"rtl"===r?[sb]:[]},oe.createElement(Bh,{theme:n},oe.createElement(zk,t)))),e)}(t,{rootElement:t,layout:r,tableData:g,direction:o,pageInfo:m,setPageInfo:h,constraints:l,translator:s,selectionsAPI:u,tableTheme:c,theme:d,changeSortOrder:e,keyboard:p,rect:f,footerContainer:a})}}),[g,l,o,u.isModal(),d.name(),p.active,s.language(),f.width]),e.useEffect((()=>()=>{!function(e){bc.unmountComponentAtNode(e)}(t)}),[])},ext:f(t)}}}));
|