@nebula.js/sn-table 1.9.1 → 1.10.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/core/esm/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  /*
2
- * @nebula.js/sn-table v1.9.1
2
+ * @nebula.js/sn-table v1.10.0
3
3
  * Copyright (c) 2022 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
6
6
 
7
- import{useElement as e,useStaleLayout as t,useOptions as n,useModel as r,useConstraints as o,useTranslator as a,useSelections as i,useTheme as l,useKeyboard as s,useRect as u,useState as c,usePromise as d,useEffect as p}from"@nebula.js/stardust";function f(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 m={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 h={version:"1.9.1",qHyperCubeDef:{qDimensions:[],qMeasures:[],qMode:"S",qSuppressZero:!1,qSuppressMissing:!0,qColumnOrder:[],columnWidths:[]},showTitles:!0,title:"",subtitle:"",footnote:"",components:[]};const g={autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1}},b={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"}]}},v={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}},y={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}}}}}]},x={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},...g,...b,...v}},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},...g,...b,...v}}}},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:[y]}}}}};function w(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function S(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 k(e){return e>0?0:1}function E(e){return e.translator.get("Visualizations.Descriptions.Column")}function C(e){return{definition:x,data:{measures:{min:k,max:1e3,description:()=>E(e),add(e,t,n){const{qColumnOrder:r,columnWidths:o}=n.hcProperties,a=n.getDimensions().length+n.getMeasures().length-1;w(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;S(o,i),a.splice(i,1)}},dimensions:{min:k,max:1e3,description:()=>E(e),add(e,t,n){const{qColumnOrder:r,columnWidths:o}=n.hcProperties,a=n.getDimensions().length-1;return w(r,a),o.splice(a,0,-1),e},remove(e,t,n,r){const{qColumnOrder:o,columnWidths:a}=n.hcProperties;S(o,r),a.splice(o[r],1)}}},support:{export:!0,exportData:!0,snapshot:!0,viewData:!1}}}const R={A:"asc",D:"desc"};function P(e,t){return[...t].reverse().find((t=>t*e<=1e4))||Math.floor(1e4/e)}async function T(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>1e4)return r({...n,rowsPerPage:P(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),m=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:R[l.qSortIndicator],dataColIdx:t}}(l,e))).filter(Boolean),h=(await e.getHyperCubeData("/qHyperCubeDef",[{qTop:u,qLeft:0,qHeight:p,qWidth:c}]))[0].qMatrix.map(((e,t)=>{const n={key:`row-${t}`};return m.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:h,columns:m}}function M(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 N={exports:{}},z={},O={exports:{}},I={},A=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;function _(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var j=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=_(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))L.call(n,i)&&(o[i]=n[i]);if(A){r=A(n);for(var l=0;l<r.length;l++)F.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},D=j,$=60103,B=60106;
7
+ import{useElement as e,useStaleLayout as t,useOptions as n,useModel as r,useConstraints as o,useTranslator as a,useSelections as i,useTheme as l,useKeyboard as s,useRect as u,useState as c,usePromise as d,useEffect as p}from"@nebula.js/stardust";function f(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 m={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 h={version:"1.10.0",qHyperCubeDef:{qDimensions:[],qMeasures:[],qMode:"S",qSuppressZero:!1,qSuppressMissing:!0,qColumnOrder:[],columnWidths:[]},showTitles:!0,title:"",subtitle:"",footnote:"",components:[]};const g={autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1}},b={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"}]}},v={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}},y={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}}}}}]},x={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},...g,...b,...v}},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},...g,...b,...v}}}},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:[y]}}}}};function w(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function S(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 k(e){return e>0?0:1}function E(e){return e.translator.get("Visualizations.Descriptions.Column")}function C(e){return{definition:x,data:{measures:{min:k,max:1e3,description:()=>E(e),add(e,t,n){const{qColumnOrder:r,columnWidths:o}=n.hcProperties,a=n.getDimensions().length+n.getMeasures().length-1;w(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;S(o,i),a.splice(i,1)}},dimensions:{min:k,max:1e3,description:()=>E(e),add(e,t,n){const{qColumnOrder:r,columnWidths:o}=n.hcProperties,a=n.getDimensions().length-1;return w(r,a),o.splice(a,0,-1),e},remove(e,t,n,r){const{qColumnOrder:o,columnWidths:a}=n.hcProperties;S(o,r),a.splice(o[r],1)}}},support:{export:!0,exportData:!0,snapshot:!0,viewData:!1}}}const R={A:"asc",D:"desc"};function P(e,t){return[...t].reverse().find((t=>t*e<=1e4))||Math.floor(1e4/e)}async function T(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>1e4)return r({...n,rowsPerPage:P(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),m=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:R[l.qSortIndicator],dataColIdx:t}}(l,e))).filter(Boolean),h=(await e.getHyperCubeData("/qHyperCubeDef",[{qTop:u,qLeft:0,qHeight:p,qWidth:c}]))[0].qMatrix.map(((e,t)=>{const n={key:`row-${t}`};return m.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:h,columns:m}}function M(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 N={exports:{}},z={},O={exports:{}},I={},A=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;function _(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var j=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=_(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))L.call(n,i)&&(o[i]=n[i]);if(A){r=A(n);for(var l=0;l<r.length;l++)F.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},D=j,$=60103,B=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?hf(e).withConfig({displayName:t.label,shouldForwa
117
117
  animation-iteration-count: infinite;
118
118
  animation-delay: 200ms;
119
119
  }
120
- `),fv.rippleVisible,xv,550,(({theme:e})=>e.transitions.easing.easeInOut),fv.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),fv.child,fv.childLeaving,wv,550,(({theme:e})=>e.transitions.easing.easeInOut),fv.childPulsate,Sv,(({theme:e})=>e.transitions.easing.easeInOut)),Cv=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=bf(n,mv),[l,s]=O.exports.useState([]),u=O.exports.useRef(0),c=O.exports.useRef(null);O.exports.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=O.exports.useRef(!1),p=O.exports.useRef(null),f=O.exports.useRef(null),m=O.exports.useRef(null);O.exports.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const h=O.exports.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,vh.exports.jsx(Ev,{classes:{ripple:sh(o.ripple,fv.ripple),rippleVisible:sh(o.rippleVisible,fv.rippleVisible),ripplePulsate:sh(o.ripplePulsate,fv.ripplePulsate),child:sh(o.child,fv.child),childLeaving:sh(o.childLeaving,fv.childLeaving),childPulsate:sh(o.childPulsate,fv.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},u.current)])),u.current+=1,c.current=i}),[o]),g=O.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=O.exports.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=O.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 O.exports.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),vh.exports.jsx(kv,gf({className:sh(o.root,fv.root,a),ref:m},i,{children:vh.exports.jsx(pv,{component:null,exit:!0,children:l})}))}));var Rv=Cv;function Pv(e){return ag("MuiButtonBase",e)}var Tv=ig("MuiButtonBase",["root","disabled","focusVisible"]);const Mv=["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"],Nv=db("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"},[`&.${Tv.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),zv=O.exports.forwardRef((function(e,t){const n=sb({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:w,onMouseLeave:S,onMouseUp:k,onTouchEnd:E,onTouchMove:C,onTouchStart:R,tabIndex:P=0,TouchRippleProps:T,touchRippleRef:M,type:N}=n,z=bf(n,Mv),I=O.exports.useRef(null),A=O.exports.useRef(null),L=Bf(A,M),{isFocusVisibleRef:F,onFocus:_,onBlur:j,ref:D}=Qf(),[$,B]=O.exports.useState(!1);function W(e,t,n=c){return $f((r=>{t&&t(r);return!n&&A.current&&A.current[e](r),!0}))}s&&$&&B(!1),O.exports.useImperativeHandle(r,(()=>({focusVisible:()=>{B(!0),I.current.focus()}})),[]),O.exports.useEffect((()=>{$&&d&&!u&&A.current.pulsate()}),[u,d,$]);const H=W("start",w),q=W("stop",h),U=W("stop",g),V=W("stop",k),K=W("stop",(e=>{$&&e.preventDefault(),S&&S(e)})),G=W("start",R),Y=W("stop",E),Q=W("stop",C),X=W("stop",(e=>{j(e),!1===F.current&&B(!1),f&&f(e)}),!1),J=$f((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=O.exports.useRef(!1),te=$f((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=$f((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&&(z.href||z.to)&&(re=p);const oe={};"button"===re?(oe.type=void 0===N?"button":N,oe.disabled=s):(z.href||z.to||(oe.role="button"),s&&(oe["aria-disabled"]=s));const ae=Bf(D,I),ie=Bf(t,ae),[le,se]=O.exports.useState(!1);O.exports.useEffect((()=>{se(!0)}),[]);const ue=le&&!u&&!s,ce=gf({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:P,focusVisible:$}),de=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=tg({root:["root",t&&"disabled",n&&"focusVisible"]},Pv,o);return n&&r&&(a.root+=` ${r}`),a})(ce);return vh.exports.jsxs(Nv,gf({as:re,className:sh(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:P,type:N},oe,z,{children:[a,ue?vh.exports.jsx(Rv,gf({ref:L,center:o},T)):null]}))}));var Ov=zv;var Iv=ig("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var Av=ig("MuiListItemIcon",["root","alignItemsFlexStart"]);var Lv=ig("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Fv(e){return ag("MuiMenuItem",e)}var _v=ig("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const jv=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],Dv=db(Ov,{shouldForwardProp:e=>ub(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})=>gf({},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"}},[`&.${_v.selected}`]:{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${_v.focusVisible}`]:{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${_v.selected}:hover`]:{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${_v.focusVisible}`]:{backgroundColor:e.palette.action.focus},[`&.${_v.disabled}`]:{opacity:e.palette.action.disabledOpacity},[`& + .${Iv.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Iv.inset}`]:{marginLeft:52},[`& .${Lv.root}`]:{marginTop:0,marginBottom:0},[`& .${Lv.inset}`]:{paddingLeft:36},[`& .${Av.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&gf({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Av.root} svg`]:{fontSize:"1.25rem"}}))));var $v=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n,jv),p=O.exports.useContext(Xb),f={dense:a||p.dense||!1,disableGutters:l},m=O.exports.useRef(null);Lf((()=>{r&&m.current&&m.current.focus()}),[r]);const h=gf({},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 gf({},i,tg({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},Fv,i))})(n),b=Bf(m,t);let v;return n.disabled||(v=void 0!==c?c:-1),vh.exports.jsx(Xb.Provider,{value:f,children:vh.exports.jsx(Dv,gf({ref:b,role:u,tabIndex:v,component:o,focusVisibleClassName:sh(g.focusVisible,s)},d,{ownerState:h,classes:g}))})}));function Bv(e){return ag("MuiList",e)}ig("MuiList",["root","padding","dense","subheader"]);const Wv=["children","className","component","dense","disablePadding","subheader"],Hv=db("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})=>gf({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var qv=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiList"}),{children:r,className:o,component:a="ul",dense:i=!1,disablePadding:l=!1,subheader:s}=n,u=bf(n,Wv),c=O.exports.useMemo((()=>({dense:i})),[i]),d=gf({},n,{component:a,dense:i,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return tg({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Bv,t)})(d);return vh.exports.jsx(Xb.Provider,{value:c,children:vh.exports.jsxs(Hv,gf({as:a,className:sh(p.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));const Uv=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Vv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Kv(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Gv(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 Yv(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")&&Gv(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}var Qv=O.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=bf(e,Uv),p=O.exports.useRef(null),f=O.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Lf((()=>{r&&p.current.focus()}),[r]),O.exports.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Xf(Of(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const m=Bf(p,t);let h=-1;O.exports.Children.forEach(a,((e,t)=>{O.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===h)&&(h=t))}));const g=O.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),O.exports.cloneElement(e,t)}return e}));return vh.exports.jsx(qv,gf({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=p.current,n=e.key,r=Of(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Yv(t,r,s,l,Vv);else if("ArrowUp"===n)e.preventDefault(),Yv(t,r,s,l,Kv);else if("Home"===n)e.preventDefault(),Yv(t,null,s,l,Vv);else if("End"===n)e.preventDefault(),Yv(t,null,s,l,Kv);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&&Gv(r,o);o.previousKeyMatched&&(s||Yv(t,r,!1,l,Vv,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));const Xv=e=>e.scrollTop;function Jv(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 Zv=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ey(e){return`scale(${e}, ${e**2})`}const ty={entering:{opacity:1,transform:ey(1)},entered:{opacity:1,transform:"none"}},ny=O.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=iv}=e,g=bf(e,Zv),b=O.exports.useRef(),v=O.exports.useRef(),y=lb(),x=O.exports.useRef(null),w=Bf(o.ref,t),S=Bf(x,w),k=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},E=k(u),C=k(((e,t)=>{Xv(e);const{duration:n,delay:r,easing:o}=Jv({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)})),R=k(s),P=k(p),T=k((e=>{const{duration:t,delay:n,easing:r}=Jv({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=ey(.75),c&&c(e)})),M=k(d);return O.exports.useEffect((()=>()=>{clearTimeout(b.current)}),[]),vh.exports.jsx(h,gf({appear:r,in:i,nodeRef:x,onEnter:C,onEntered:R,onEntering:E,onExit:T,onExited:M,onExiting:P,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)=>O.exports.cloneElement(o,gf({style:gf({opacity:0,transform:ey(.75),visibility:"exited"!==e||i?void 0:"hidden"},ty[e],f,o.props.style),ref:S},t))}))}));ny.muiSupportAuto=!0;var ry=ny;const oy=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ay={entering:{opacity:1},entered:{opacity:1}},iy=O.exports.forwardRef((function(e,t){const n=lb(),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=iv}=e,v=bf(e,oy),y=O.exports.useRef(null),x=Bf(i.ref,t),w=Bf(y,x),S=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},k=S(d),E=S(((e,t)=>{Xv(e);const r=Jv({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)})),C=S(c),R=S(m),P=S((e=>{const t=Jv({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)})),T=S(f);return vh.exports.jsx(b,gf({appear:a,in:s,nodeRef:y,onEnter:E,onEntered:C,onEntering:k,onExit:P,onExited:T,onExiting:R,addEndListener:e=>{o&&o(y.current,e)},timeout:g},v,{children:(e,t)=>O.exports.cloneElement(i,gf({style:gf({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},ay[e],h,i.props.style),ref:w},t))}))}));var ly=iy;const sy=["children","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],uy=db("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>gf({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"}))),cy=O.exports.forwardRef((function(e,t){var n;const r=sb({props:e,name:"MuiBackdrop"}),{children:o,components:a={},componentsProps:i={},className:l,invisible:s=!1,open:u,transitionDuration:c,TransitionComponent:d=ly}=r,p=bf(r,sy),f=(e=>{const{classes:t}=e;return t})(gf({},r,{invisible:s}));return vh.exports.jsx(d,gf({in:u,timeout:c},p,{children:vh.exports.jsx(cg,{className:l,invisible:s,components:gf({Root:uy},a),componentsProps:{root:gf({},i.root,(!a.Root||!Zh(a.Root))&&{ownerState:gf({},null==(n=i.root)?void 0:n.ownerState)})},classes:f,ref:t,children:o})}))}));var dy=cy;const py=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],fy=db("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})=>gf({position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),my=db(dy,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),hy=O.exports.forwardRef((function(e,t){var n;const r=sb({name:"MuiModal",props:e}),{BackdropComponent:o=my,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=bf(r,py),[v,y]=O.exports.useState(!0),x={closeAfterTransition:a,disableAutoFocus:u,disableEnforceFocus:c,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:f,disableScrollLock:m,hideBackdrop:h,keepMounted:g},w=(e=>e.classes)(gf({},r,x,{exited:v}));return vh.exports.jsx(Cg,gf({components:gf({Root:fy},l),componentsProps:{root:gf({},s.root,(!l.Root||!Zh(l.Root))&&{ownerState:gf({},null==(n=s.root)?void 0:n.ownerState)})},BackdropComponent:o,onTransitionEnter:()=>y(!1),onTransitionExited:()=>y(!0),ref:t},b,{classes:w},x,{children:i}))}));var gy=hy;function by(e){return ag("MuiPopover",e)}ig("MuiPopover",["root","paper"]);const vy=["onEntering"],yy=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function xy(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function wy(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Sy(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function ky(e){return"function"==typeof e?e():e}const Ey=db(gy,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Cy=db(Eb,{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}),Ry=O.exports.forwardRef((function(e,t){const n=sb({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=ry,transitionDuration:b="auto",TransitionProps:{onEntering:v}={}}=n,y=bf(n.TransitionProps,vy),x=bf(n,yy),w=O.exports.useRef(),S=Bf(w,m.ref),k=gf({},n,{anchorOrigin:a,anchorReference:l,elevation:d,marginThreshold:p,PaperProps:m,transformOrigin:h,TransitionComponent:g,transitionDuration:b,TransitionProps:y}),E=(e=>{const{classes:t}=e;return tg({root:["root"],paper:["paper"]},by,t)})(k),C=O.exports.useCallback((()=>{if("anchorPosition"===l)return i;const e=ky(o),t=(e&&1===e.nodeType?e:Of(w.current).body).getBoundingClientRect();return{top:t.top+xy(t,a.vertical),left:t.left+wy(t,a.horizontal)}}),[o,a.horizontal,a.vertical,i,l]),R=O.exports.useCallback((e=>({vertical:xy(e,h.vertical),horizontal:wy(e,h.horizontal)})),[h.horizontal,h.vertical]),P=O.exports.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=R(t);if("none"===l)return{top:null,left:null,transformOrigin:Sy(n)};const r=C();let a=r.top-n.vertical,i=r.left-n.horizontal;const s=a+t.height,u=i+t.width,c=If(ky(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:Sy(n)}}),[o,l,C,R,p]),T=O.exports.useCallback((()=>{const e=w.current;if(!e)return;const t=P(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[P]);O.exports.useEffect((()=>{f&&T()})),O.exports.useImperativeHandle(r,(()=>f?{updatePosition:()=>{T()}}:null),[f,T]),O.exports.useEffect((()=>{if(!f)return;const e=Nf((()=>{T()})),t=If(o);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[o,f,T]);let M=b;"auto"!==b||g.muiSupportAuto||(M=void 0);const N=c||(o?Of(ky(o)).body:void 0);return vh.exports.jsx(Ey,gf({BackdropProps:{invisible:!0},className:sh(E.root,u),container:N,open:f,ref:t,ownerState:k},x,{children:vh.exports.jsx(g,gf({appear:!0,in:f,onEntering:(e,t)=>{v&&v(e,t),T()},timeout:M},y,{children:vh.exports.jsx(Cy,gf({elevation:d},m,{ref:S,className:sh(E.paper,m.className),children:s}))}))}))}));var Py=Ry;function Ty(e){return ag("MuiMenu",e)}ig("MuiMenu",["root","paper","list"]);const My=["onEntering"],Ny=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],zy={vertical:"top",horizontal:"right"},Oy={vertical:"top",horizontal:"left"},Iy=db(Py,{shouldForwardProp:e=>ub(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ay=db(Eb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Ly=db(Qv,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var Fy=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n.TransitionProps,My),h=bf(n,Ny),g=lb(),b="rtl"===g.direction,v=gf({},n,{autoFocus:r,disableAutoFocusItem:a,MenuListProps:i,onEntering:p,PaperProps:u,transitionDuration:d,TransitionProps:m,variant:f}),y=(e=>{const{classes:t}=e;return tg({root:["root"],paper:["paper"],list:["list"]},Ty,t)})(v),x=r&&!a&&s,w=O.exports.useRef(null);let S=-1;return O.exports.Children.map(o,((e,t)=>{O.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===f&&e.props.selected||-1===S)&&(S=t))})),vh.exports.jsx(Iy,gf({classes:c,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?zy:Oy,PaperProps:gf({component:Ay},u,{classes:gf({},u.classes,{root:y.paper})}),className:y.root,open:s,ref:t,transitionDuration:d,TransitionProps:gf({onEntering:(e,t)=>{w.current&&w.current.adjustStyleForScrollbar(e,g),p&&p(e,t)}},m),ownerState:v},h,{children:vh.exports.jsx(Ly,gf({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),l&&l(e,"tabKeyDown"))},actions:w,autoFocus:r&&(-1===S||a),autoFocusItem:x,variant:f},i,{className:sh(y.list,i.className),children:o}))}))}));function _y(e){return ag("MuiNativeSelect",e)}var jy=ig("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const Dy=["className","disabled","IconComponent","inputRef","variant"],$y=({ownerState:e,theme:t})=>gf({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"},[`&.${jy.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}}),By=db("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ub,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${jy.multiple}`]:t.multiple}]}})($y),Wy=({ownerState:e,theme:t})=>gf({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${jy.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),Hy=db("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Tf(n.variant)}`],n.open&&t.iconOpen]}})(Wy);var qy=O.exports.forwardRef((function(e,t){const{className:n,disabled:r,IconComponent:o,inputRef:a,variant:i="standard"}=e,l=bf(e,Dy),s=gf({},e,{disabled:r,variant:i}),u=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return tg({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${Tf(n)}`,a&&"iconOpen",r&&"disabled"]},_y,t)})(s);return vh.exports.jsxs(O.exports.Fragment,{children:[vh.exports.jsx(By,gf({ownerState:s,className:sh(u.select,n),disabled:r,ref:a||t},l)),e.multiple?null:vh.exports.jsx(Hy,{as:o,ownerState:s,className:u.icon})]})}));function Uy(e){return ag("MuiSelect",e)}var Vy,Ky=ig("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const Gy=["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"],Yy=db("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Ky.select}`]:t.select},{[`&.${Ky.select}`]:t[n.variant]},{[`&.${Ky.multiple}`]:t.multiple}]}})($y,{[`&.${Ky.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Qy=db("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Tf(n.variant)}`],n.open&&t.iconOpen]}})(Wy),Xy=db("input",{shouldForwardProp:e=>cb(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 Jy(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Zy(e){return null==e||"string"==typeof e&&!e.trim()}const ex=O.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:w,onOpen:S,open:k,readOnly:E,renderValue:C,SelectDisplayProps:R={},tabIndex:P,value:T,variant:M="standard"}=e,N=bf(e,Gy),[z,I]=Df({controlled:T,default:u,name:"Select"}),[A,L]=Df({controlled:k,default:s,name:"Select"}),F=O.exports.useRef(null),_=O.exports.useRef(null),[j,D]=O.exports.useState(null),{current:$}=O.exports.useRef(null!=k),[B,W]=O.exports.useState(),H=Bf(t,f),q=O.exports.useCallback((e=>{_.current=e,e&&D(e)}),[]);O.exports.useImperativeHandle(H,(()=>({focus:()=>{_.current.focus()},node:F.current,value:z})),[z]),O.exports.useEffect((()=>{s&&A&&j&&!$&&(W(a?null:j.clientWidth),_.current.focus())}),[j,a]),O.exports.useEffect((()=>{o&&_.current.focus()}),[o]),O.exports.useEffect((()=>{if(!m)return;const e=Of(_.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?S&&S(t):x&&x(t),$||(W(a?null:j.clientWidth),L(e))},V=O.exports.Children.toArray(i),K=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(g){n=Array.isArray(z)?z.slice():[];const t=z.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),z!==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 N["aria-invalid"];const X=[];let J=!1;($b({value:z})||d)&&(C?Y=C(z):J=!0);const Z=V.map((e=>{if(!O.exports.isValidElement(e))return null;let t;if(g){if(!Array.isArray(z))throw new Error(Pf(2));t=z.some((t=>Jy(t,e.props.value))),t&&J&&X.push(e.props.children)}else t=Jy(z,e.props.value),t&&J&&(Q=e.props.children);return O.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!==P?P:c?null:0;const ne=R.id||(b?`mui-component-select-${b}`:void 0),re=gf({},e,{variant:M,value:z,open:G}),oe=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return tg({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${Tf(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},Uy,t)})(re);return vh.exports.jsxs(O.exports.Fragment,{children:[vh.exports.jsx(Yy,gf({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(!E){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),U(!0,e))}},onMouseDown:c||E?null:e=>{0===e.button&&(e.preventDefault(),_.current.focus(),U(!0,e))},onBlur:e=>{!G&&v&&(Object.defineProperty(e,"target",{writable:!0,value:{value:z,name:b}}),v(e))},onFocus:w},R,{ownerState:re,className:sh(oe.select,l,R.className),id:ne,children:Zy(Y)?Vy||(Vy=vh.exports.jsx("span",{className:"notranslate",children:"​"})):Y})),vh.exports.jsx(Xy,gf({value:Array.isArray(z)?z.join(","):z,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},N)),vh.exports.jsx(Qy,{as:p,className:oe.icon,ownerState:re}),vh.exports.jsx(Fy,gf({id:`menu-${b||""}`,anchorEl:j,open:G,onClose:e=>{U(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},h,{MenuListProps:gf({"aria-labelledby":m,role:"listbox",disableListWrap:!0},h.MenuListProps),PaperProps:gf({},h.PaperProps,{style:gf({minWidth:te},null!=h.PaperProps?h.PaperProps.style:null)}),children:Z}))]})}));var tx=ex;function nx(e){return ag("MuiSvgIcon",e)}ig("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const rx=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],ox=db("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Tf(n.color)}`],t[`fontSize${Tf(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]}})),ax=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n,rx),f=gf({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d}),m={};u||(m.viewBox=d);const h=(e=>{const{color:t,fontSize:n,classes:r}=e;return tg({root:["root","inherit"!==t&&`color${Tf(t)}`,`fontSize${Tf(n)}`]},nx,r)})(f);return vh.exports.jsxs(ox,gf({as:i,className:sh(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?vh.exports.jsx("title",{children:c}):null]}))}));ax.muiName="SvgIcon";var ix=ax;function lx(e,t){const n=(n,r)=>vh.exports.jsx(ix,gf({"data-testid":`${t}Icon`,ref:r},n,{children:e}));return n.muiName=ix.muiName,O.exports.memo(O.exports.forwardRef(n))}var sx=lx(vh.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function ux(e){return ag("MuiInput",e)}var cx=gf({},Wb,ig("MuiInput",["root","underline","input"]));const dx=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],px=db(Vb,{shouldForwardProp:e=>ub(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...qb(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 gf({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"},[`&.${cx.focused}:after`]:{transform:"scaleX(1)"},[`&.${cx.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(.${cx.disabled}):before`]:{borderBottom:`2px solid ${e.palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${cx.disabled}:before`]:{borderBottomStyle:"dotted"}})})),fx=db(Kb,{name:"MuiInput",slot:"Input",overridesResolver:Ub})({}),mx=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiInput"}),{disableUnderline:r,components:o={},componentsProps:a,fullWidth:i=!1,inputComponent:l="input",multiline:s=!1,type:u="text"}=n,c=bf(n,dx),d=(e=>{const{classes:t,disableUnderline:n}=e;return gf({},t,tg({root:["root",!n&&"underline"],input:["input"]},ux,t))})(n),p={root:{ownerState:{disableUnderline:r}}},f=a?Rf(a,p):p;return vh.exports.jsx(Qb,gf({components:gf({Root:px,Input:fx},o),componentsProps:f,fullWidth:i,inputComponent:l,multiline:s,ref:t,type:u},c,{classes:d}))}));mx.muiName="Input";var hx=mx;function gx(e){return ag("MuiFilledInput",e)}var bx=gf({},Wb,ig("MuiFilledInput",["root","underline","input"]));const vx=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],yx=db(Vb,{shouldForwardProp:e=>ub(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...qb(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 gf({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}},[`&.${bx.focused}`]:{backgroundColor:o},[`&.${bx.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"},[`&.${bx.focused}:after`]:{transform:"scaleX(1)"},[`&.${bx.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(.${bx.disabled}):before`]:{borderBottom:`1px solid ${e.palette.text.primary}`},[`&.${bx.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&gf({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),xx=db(Kb,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ub})((({theme:e,ownerState:t})=>gf({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}))),wx=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiFilledInput"}),{components:r={},componentsProps:o,fullWidth:a=!1,inputComponent:i="input",multiline:l=!1,type:s="text"}=n,u=bf(n,vx),c=gf({},n,{fullWidth:a,inputComponent:i,multiline:l,type:s}),d=(e=>{const{classes:t,disableUnderline:n}=e;return gf({},t,tg({root:["root",!n&&"underline"],input:["input"]},gx,t))})(n),p={root:{ownerState:c},input:{ownerState:c}},f=o?Rf(o,p):p;return vh.exports.jsx(Qb,gf({components:gf({Root:yx,Input:xx},r),componentsProps:f,fullWidth:a,inputComponent:i,multiline:l,ref:t,type:s},u,{classes:d}))}));wx.muiName="Input";var Sx,kx=wx;const Ex=["children","classes","className","label","notched"],Cx=db("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%"}),Rx=db("legend")((({ownerState:e,theme:t})=>gf({float:"unset",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&gf({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",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function Px(e){return ag("MuiOutlinedInput",e)}var Tx=gf({},Wb,ig("MuiOutlinedInput",["root","notchedOutline","input"]));const Mx=["components","fullWidth","inputComponent","label","multiline","notched","type"],Nx=db(Vb,{shouldForwardProp:e=>ub(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:qb})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return gf({position:"relative",borderRadius:e.shape.borderRadius,[`&:hover .${Tx.notchedOutline}`]:{borderColor:e.palette.text.primary},"@media (hover: none)":{[`&:hover .${Tx.notchedOutline}`]:{borderColor:n}},[`&.${Tx.focused} .${Tx.notchedOutline}`]:{borderColor:e.palette[t.color].main,borderWidth:2},[`&.${Tx.error} .${Tx.notchedOutline}`]:{borderColor:e.palette.error.main},[`&.${Tx.disabled} .${Tx.notchedOutline}`]:{borderColor:e.palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&gf({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),zx=db((function(e){const{className:t,label:n,notched:r}=e,o=bf(e,Ex),a=null!=n&&""!==n,i=gf({},e,{notched:r,withLabel:a});return vh.exports.jsx(Cx,gf({"aria-hidden":!0,className:t,ownerState:i},o,{children:vh.exports.jsx(Rx,{ownerState:i,children:a?vh.exports.jsx("span",{children:n}):Sx||(Sx=vh.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)"}))),Ox=db(Kb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ub})((({theme:e,ownerState:t})=>gf({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}))),Ix=O.exports.forwardRef((function(e,t){var n;const r=sb({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:a=!1,inputComponent:i="input",label:l,multiline:s=!1,notched:u,type:c="text"}=r,d=bf(r,Mx),p=(e=>{const{classes:t}=e;return gf({},t,tg({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Px,t))})(r),f=Lb({props:r,muiFormControl:_b(),states:["required"]});return vh.exports.jsx(Qb,gf({components:gf({Root:Nx,Input:Ox},o),renderSuffix:e=>vh.exports.jsx(zx,{className:p.notchedOutline,label:null!=l&&""!==l&&f.required?n||(n=vh.exports.jsxs(O.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:gf({},p,{notchedOutline:null})}))}));Ix.muiName="Input";var Ax,Lx,Fx=Ix;const _x=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],jx={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>ub(e)&&"variant"!==e,slot:"Root"},Dx=db(hx,jx)(""),$x=db(Fx,jx)(""),Bx=db(kx,jx)(""),Wx=O.exports.forwardRef((function(e,t){const n=sb({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:a={},className:i,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:u=sx,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:w,SelectDisplayProps:S,variant:k="outlined"}=n,E=bf(n,_x),C=b?qy:tx,R=Lb({props:n,muiFormControl:_b(),states:["variant"]}).variant||k,P=d||{standard:Ax||(Ax=vh.exports.jsx(Dx,{})),outlined:vh.exports.jsx($x,{label:f}),filled:Lx||(Lx=vh.exports.jsx(Bx,{}))}[R],T=(e=>{const{classes:t}=e;return t})(gf({},n,{variant:R,classes:a})),M=Bf(t,P.ref);return O.exports.cloneElement(P,gf({inputComponent:C,inputProps:gf({children:o,IconComponent:u,variant:R,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:w,SelectDisplayProps:gf({id:c},S)},p,{classes:p?Rf(T,p.classes):T},d?d.props.inputProps:{})},g&&b&&"outlined"===R?{notched:!0}:{},{ref:M,className:sh(P.props.className,i),variant:R},E))}));Wx.muiName="Select";var Hx=Wx;var qx=O.exports.createContext();function Ux(e){return ag("MuiTableCell",e)}var Vx=ig("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);const Kx=["align","className","component","padding","scope","size","sortDirection","variant"],Gx=db("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Tf(n.size)}`],"normal"!==n.padding&&t[`padding${Tf(n.padding)}`],"inherit"!==n.align&&t[`align${Tf(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>gf({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:`1px solid\n ${"light"===e.palette.mode?Yh(Kh(e.palette.divider,1),.88):Gh(Kh(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",[`&.${Vx.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}))),Yx=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:a,padding:i,scope:l,size:s,sortDirection:u,variant:c}=n,d=bf(n,Kx),p=O.exports.useContext(Cb),f=O.exports.useContext(qx),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=gf({},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 tg({root:["root",n,i&&"stickyHeader","inherit"!==r&&`align${Tf(r)}`,"normal"!==o&&`padding${Tf(o)}`,`size${Tf(a)}`]},Ux,t)})(v);let x=null;return u&&(x="asc"===u?"ascending":"descending"),vh.exports.jsx(Gx,gf({as:h,ref:t,className:sh(y.root,o),"aria-sort":x,scope:g,ownerState:v},d))}));var Qx=Yx;function Xx(e){return ag("MuiToolbar",e)}ig("MuiToolbar",["root","gutters","regular","dense"]);const Jx=["className","component","disableGutters","variant"],Zx=db("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})=>gf({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 ew=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:a=!1,variant:i="regular"}=n,l=bf(n,Jx),s=gf({},n,{component:o,disableGutters:a,variant:i}),u=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return tg({root:["root",!n&&"gutters",r]},Xx,t)})(s);return vh.exports.jsx(Zx,gf({as:o,className:sh(u.root,r),ref:t,ownerState:s},l))})),tw=lx(vh.exports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),nw=lx(vh.exports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function rw(e){return ag("MuiIconButton",e)}var ow=ig("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const aw=["edge","children","className","color","disabled","disableFocusRipple","size"],iw=db(Ov,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Tf(n.color)}`],n.edge&&t[`edge${Tf(n.edge)}`],t[`size${Tf(n.size)}`]]}})((({theme:e,ownerState:t})=>gf({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:Kh(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})=>gf({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&gf({color:e.palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:Kh(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)},{[`&.${ow.disabled}`]:{backgroundColor:"transparent",color:e.palette.action.disabled}}))),lw=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n,aw),d=gf({},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 tg({root:["root",n&&"disabled","default"!==r&&`color${Tf(r)}`,o&&`edge${Tf(o)}`,`size${Tf(a)}`]},rw,t)})(d);return vh.exports.jsx(iw,gf({className:sh(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},c,{children:o}))}));var sw,uw,cw,dw,pw,fw,mw,hw,gw=lw,bw=lx(vh.exports.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),vw=lx(vh.exports.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");const yw=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"];var xw=O.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=bf(e,yw),p=lb();return vh.exports.jsxs("div",gf({ref:t},d,{children:[u&&vh.exports.jsx(gw,{onClick:e=>{i(e,0)},disabled:0===l,"aria-label":o("first",l),title:o("first",l),children:"rtl"===p.direction?sw||(sw=vh.exports.jsx(bw,{})):uw||(uw=vh.exports.jsx(vw,{}))}),vh.exports.jsx(gw,gf({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?cw||(cw=vh.exports.jsx(nw,{})):dw||(dw=vh.exports.jsx(tw,{}))})),vh.exports.jsx(gw,gf({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?pw||(pw=vh.exports.jsx(tw,{})):fw||(fw=vh.exports.jsx(nw,{}))})),c&&vh.exports.jsx(gw,{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?mw||(mw=vh.exports.jsx(vw,{})):hw||(hw=vh.exports.jsx(bw,{}))})]}))}));function ww(e){return ag("MuiTablePagination",e)}var Sw,kw=ig("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);const Ew=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],Cw=db(Qx,{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}}))),Rw=db(ew,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>gf({[`& .${kw.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},[`& .${kw.actions}`]:{flexShrink:0,marginLeft:20}}))),Pw=db("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Tw=db("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((({theme:e})=>gf({},e.typography.body2,{flexShrink:0}))),Mw=db(Hx,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>gf({[`& .${kw.selectIcon}`]:t.selectIcon,[`& .${kw.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${kw.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),Nw=db($v,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),zw=db("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((({theme:e})=>gf({},e.typography.body2,{flexShrink:0})));function Ow({from:e,to:t,count:n}){return`${e}–${t} of ${-1!==n?n:`more than ${t}`}`}function Iw(e){return`Go to ${e} page`}var Aw=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTablePagination"}),{ActionsComponent:r=xw,backIconButtonProps:o,className:a,colSpan:i,component:l=Qx,count:s,getItemAriaLabel:u=Iw,labelDisplayedRows:c=Ow,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,w=bf(n,Ew),S=n,k=(e=>{const{classes:t}=e;return tg({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},ww,t)})(S),E=v.native?"option":Nw;let C;l!==Qx&&"td"!==l||(C=i||1e3);const R=jf(v.id),P=jf(v.labelId);return vh.exports.jsx(Cw,gf({colSpan:C,ref:t,as:l,ownerState:S,className:sh(k.root,a)},w,{children:vh.exports.jsxs(Rw,{className:k.toolbar,children:[vh.exports.jsx(Pw,{className:k.spacer}),b.length>1&&vh.exports.jsx(Tw,{className:k.selectLabel,id:P,children:d}),b.length>1&&vh.exports.jsx(Mw,gf({variant:"standard",input:Sw||(Sw=vh.exports.jsx(Qb,{})),value:g,onChange:m,id:R,labelId:P},v,{classes:gf({},v.classes,{root:sh(k.input,k.selectRoot,(v.classes||{}).root),select:sh(k.select,(v.classes||{}).select),icon:sh(k.selectIcon,(v.classes||{}).icon)}),children:b.map((e=>O.exports.createElement(E,gf({},!Zh(E)&&{ownerState:S},{className:k.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)))})),vh.exports.jsx(zw,{className:k.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})}),vh.exports.jsx(r,{className:k.actions,backIconButtonProps:o,count:s,nextIconButtonProps:p,onPageChange:f,page:h,rowsPerPage:g,showFirstButton:y,showLastButton:x,getItemAriaLabel:u})]})}))}));const Lw=Bh("div")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}),Fw=()=>he.createElement(he.Fragment,null,he.createElement(Lw,{id:"sn-table-announcer--01","aria-live":"polite","aria-atomic":"true"}),he.createElement(Lw,{id:"sn-table-announcer--02","aria-live":"polite","aria-atomic":"true"}));function _w(e){return ag("MuiTableBody",e)}ig("MuiTableBody",["root"]);const jw=["className","component"],Dw=db("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),$w={variant:"body"},Bw="tbody";var Ww=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableBody"}),{className:r,component:o=Bw}=n,a=bf(n,jw),i=gf({},n,{component:o}),l=(e=>{const{classes:t}=e;return tg({root:["root"]},_w,t)})(i);return vh.exports.jsx(qx.Provider,{value:$w,children:vh.exports.jsx(Dw,gf({className:sh(l.root,r),as:o,ref:t,role:o===Bw?null:"rowgroup",ownerState:i},a))})}));function Hw(e){return ag("MuiTableRow",e)}var qw=ig("MuiTableRow",["root","selected","hover","head","footer"]);const Uw=["className","component","hover","selected"],Vw=db("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,[`&.${qw.hover}:hover`]:{backgroundColor:e.palette.action.hover},[`&.${qw.selected}`]:{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Kw="tr",Gw=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableRow"}),{className:r,component:o=Kw,hover:a=!1,selected:i=!1}=n,l=bf(n,Uw),s=O.exports.useContext(qx),u=gf({},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 tg({root:["root",n&&"selected",r&&"hover",o&&"head",a&&"footer"]},Hw,t)})(u);return vh.exports.jsx(Vw,gf({as:o,ref:t,className:sh(c.root,r),role:o===Kw?null:"row",ownerState:u},l))}));var Yw=Gw;function Qw(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 Xw({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 Jw={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 Zw="14px",eS="#404040",tS="#f4f4f4",nS="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)",rS="#fff",oS="7px 14px",aS={SELECTED:{color:rS,background:"#009845",selectedCellClass:"selected"},POSSIBLE:{color:eS,background:rS}};function iS(e,t){let n=t;return e.padding?({padding:n}=e):e.fontSize&&(n=`${e.fontSize/2}px ${e.fontSize}px`),n}function lS(e={},t,n){const r=n.getColorPickerColor(e);return r&&"none"!==r?r:t}const sS=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)?rS:eS,uS=(e,t)=>({color:lS(e.fontColor,eS,t),fontSize:e.fontSize||Zw,padding:iS(e,oS)}),cS=e=>!e||JSON.stringify(e)===JSON.stringify({index:-1,color:null});function dS(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&&Jw[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=sS(r.cellBackgroundColor)),{...e,color:r.cellForegroundColor||e.color,background:r.cellBackgroundColor}}function pS(e=rS,t,n){const{colIdx:r,rows:o,api:a}=n;if(a.isModal()){if(r!==t.colIdx)return{background:`${nS}, ${e}`};for(let e=0;e<o.length;e++)if(o[e].qElemNumber===t.qElemNumber)return aS.SELECTED;return aS.POSSIBLE}return{}}function fS(e){const t=t=>{const{selectionState:n,cell:r,selectionDispatch:o,styling:a,announce:i,column:l,...s}=t,u=O.exports.useMemo((()=>function(e,t,n){return{...e,...pS(e.background,t,n)}}(a,r,n)),[a,r,n]);return he.createElement(e,yb({},s,{styling:u,onMouseUp:e=>r.isDim&&0===e.button&&Xw({selectionState:n,cell:r,selectionDispatch:o,evt:e,announce:i})}))};return t.defaultProps={column:null},t.propTypes={styling:wf.object.isRequired,selectionState:wf.object.isRequired,cell:wf.object.isRequired,selectionDispatch:wf.func.isRequired,announce:wf.func.isRequired,column:wf.object},t}function mS(e,t){let n=function(e){const t=t=>{const{styling:n,...r}=t,{selectedCellClass:o,...a}=n;return he.createElement(e,yb({},r,{className:`${o} sn-table-cell`,sx:a}))};return t.propTypes={styling:wf.object.isRequired},t}(Qx);return t&&(n=fS(n)),e&&(n=function(e){const t=t=>{const{cell:n,column:r,styling:o,...a}=t,i=O.exports.useMemo((()=>dS(o,n.qAttrExps,r.stylingInfo)),[o,n.qAttrExps,r.stylingInfo]);return he.createElement(e,yb({},a,{cell:n,styling:i}))};return t.propTypes={cell:wf.object.isRequired,column:wf.object.isRequired,styling:wf.object.isRequired},t}(n)),n}const hS=e=>e.querySelector("td[tabindex='0'], th[tabindex='0']"),gS=({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")}},bS=(e,t,n,r)=>{gS({providedCell:hS(t),focusType:"removeTab"}),n(e),r.enabled&&r.focus()},vS=(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)},yS=e=>e.shiftKey&&(e.ctrlKey||e.metaKey),xS=e=>{e.stopPropagation(),e.preventDefault()},wS=(e,t,n,r,o,a)=>{var i;xS(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(gS({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 SS({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=O.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:oS};const a=cS(o.hoverColor),i=cS(o.hoverFontColor)&&a,l=i?tS:a?"":lS(o.hoverColor,tS,t),s=i?"":lS(o.hoverFontColor,sS(l),t);return{...uS(o,t),hoverBackgroundColor:l,hoverFontColor:s,selectedCellClass:"unselected"}}(o,a)),[o,a.name()]),v=!!r&&!n.active,y=h.map((e=>mS(!!e.stylingInfo.length,v))),[x,w]=O.exports.useState((()=>y)),[S,k]=O.exports.useReducer(Qw,{api:r,rows:[],colIdx:-1,isEnabled:v});O.exports.useEffect((()=>{k({type:"set-enabled",payload:{isEnabled:v}}),w(y)}),[v,h.length]),O.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:k,setShouldRefocus:i,keyboard:s,tableWrapperRef:u})}),[]);const E={"& td, th":{fontSize:b.fontSize,padding:b.padding}},C={"&&:hover":{"& td:not(.selected), th:not(.selected)":{backgroundColor:b.hoverBackgroundColor,color:b.hoverFontColor}}};return he.createElement(Ww,{sx:E},m.map(((t,n)=>he.createElement(Yw,{hover:g,tabIndex:-1,key:t.key,sx:g&&C,className:"sn-table-row"},h.map(((r,o)=>{const a=t[r.id],i=a.qText,u=x[o];return u&&he.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:S,selectionDispatch:k,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":!yS(e)&&wS(e,t,n,r,l,s);break;case" ":xS(e),(null==o?void 0:o.isDim)&&i&&Xw({selectionState:r,cell:o,selectionDispatch:a,evt:e,announce:s});break;case"Enter":if(xS(e),!r.api.isModal())break;r.api.confirm(),s({keys:"SNTable.SelectionLabel.SelectionsConfirmed"});break;case"Escape":if(!i||!r.api.isModal())break;xS(e),r.api.cancel(),s({keys:"SNTable.SelectionLabel.ExitedSelectionMode"});break;case"Tab":e.shiftKey&&u.enabled&&r.api.isModal()&&(xS(e),vS(e.target,u,!0))}})({evt:t,rootElement:e,cellCoord:[n+1,o],selectionState:S,cell:a,selectionDispatch:k,isAnalysisMode:v,setFocusedCellCoord:l,announce:c,keyboard:s}),onMouseDown:()=>((e,t,n,r)=>{const{rawRowIdx:o,rawColIdx:a}=e;bS([o+1,a],t,n,r)})(a,e,l,s)},i)}))))))}function kS(e){return ag("MuiTableHead",e)}SS.propTypes={rootElement:wf.object.isRequired,tableData:wf.object.isRequired,constraints:wf.object.isRequired,selectionsAPI:wf.object.isRequired,layout:wf.object.isRequired,theme:wf.object.isRequired,setFocusedCellCoord:wf.func.isRequired,setShouldRefocus:wf.func.isRequired,keyboard:wf.object.isRequired,tableWrapperRef:wf.object.isRequired,announce:wf.func.isRequired},ig("MuiTableHead",["root"]);const ES=["className","component"],CS=db("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),RS={variant:"head"},PS="thead";var TS=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableHead"}),{className:r,component:o=PS}=n,a=bf(n,ES),i=gf({},n,{component:o}),l=(e=>{const{classes:t}=e;return tg({root:["root"]},kS,t)})(i);return vh.exports.jsx(qx.Provider,{value:RS,children:vh.exports.jsx(CS,gf({as:o,className:sh(l.root,r),ref:t,role:o===PS?null:"rowgroup",ownerState:i},a))})})),MS=lx(vh.exports.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function NS(e){return ag("MuiTableSortLabel",e)}var zS=ig("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);const OS=["active","children","className","direction","hideSortIcon","IconComponent"],IS=db(Ov,{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,[`& .${zS.icon}`]:{opacity:.5}},[`&.${zS.active}`]:{color:e.palette.text.primary,[`& .${zS.icon}`]:{opacity:1,color:e.palette.text.secondary}}}))),AS=db("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${Tf(n.direction)}`]]}})((({theme:e,ownerState:t})=>gf({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)"}))),LS=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableSortLabel"}),{active:r=!1,children:o,className:a,direction:i="asc",hideSortIcon:l=!1,IconComponent:s=MS}=n,u=bf(n,OS),c=gf({},n,{active:r,direction:i,hideSortIcon:l,IconComponent:s}),d=(e=>{const{classes:t,direction:n,active:r}=e;return tg({root:["root",r&&"active"],icon:["icon",`iconDirection${Tf(n)}`]},NS,t)})(c);return vh.exports.jsxs(IS,gf({className:sh(d.root,a),component:"span",disableRipple:!0,ownerState:c,ref:t},u,{children:[o,l&&!r?null:vh.exports.jsx(AS,{as:s,className:sh(d.icon),ownerState:c})]}))}));var FS=LS;const _S=Bh("span")({border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",top:20,width:1});function jS({rootElement:e,tableData:t,theme:n,layout:r,changeSortOrder:o,constraints:a,translator:i,selectionsAPI:l,focusedCellCoord:s,setFocusedCellCoord:u,keyboard:c}){const d=O.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?uS(o,t):{padding:oS}}(r,n)),[r,n.name()]),p={color:d.color,fontSize:d.fontSize,padding:d.padding};return he.createElement(TS,null,he.createElement(Yw,{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 he.createElement(Qx,{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":!yS(e)&&wS(e,t,n,!1,l);break;case" ":case"Enter":xS(e),i&&o(a,r)}})(i,e,[0,n],t,o,r,!a.active,u),onMouseDown:()=>((e,t,n,r)=>{bS([0,e],t,n,r)})(n,e,u,c),onClick:()=>!l.isModal()&&!a.active&&o(r,t)},he.createElement(FS,{active:f,direction:t.sortDirection,tabIndex:-1},t.label,m&&he.createElement(_S,{"data-testid":`VHL-for-col-${n}`},i.get("SNTable.SortLabel.PressSpaceToSort"))))}))))}function DS(e){return ag("MuiFormLabel",e)}jS.propTypes={rootElement:wf.object.isRequired,tableData:wf.object.isRequired,theme:wf.object.isRequired,layout:wf.object.isRequired,changeSortOrder:wf.func.isRequired,constraints:wf.object.isRequired,selectionsAPI:wf.object.isRequired,keyboard:wf.object.isRequired,focusedCellCoord:wf.arrayOf(wf.number).isRequired,setFocusedCellCoord:wf.func.isRequired,translator:wf.object.isRequired};var $S=ig("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const BS=["children","className","color","component","disabled","error","filled","focused","required"],WS=db("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>gf({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>gf({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}}))),HS=db("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${$S.error}`]:{color:e.palette.error.main}}))),qS=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiFormLabel"}),{children:r,className:o,component:a="label"}=n,i=bf(n,BS),l=Lb({props:n,muiFormControl:_b(),states:["color","required","focused","disabled","error","filled"]}),s=gf({},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 tg({root:["root",`color${Tf(n)}`,o&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]},DS,t)})(s);return vh.exports.jsxs(WS,gf({as:a,ownerState:s,className:sh(u.root,o),ref:t},i,{children:[r,l.required&&vh.exports.jsxs(HS,{ownerState:s,"aria-hidden":!0,className:u.asterisk,children:[" ","*"]})]}))}));var US=qS;function VS(e){return ag("MuiInputLabel",e)}ig("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const KS=["disableAnimation","margin","shrink","variant"],GS=db(US,{shouldForwardProp:e=>ub(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})=>gf({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&&gf({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&&gf({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&&gf({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 YS=O.exports.forwardRef((function(e,t){const n=sb({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,shrink:o}=n,a=bf(n,KS),i=_b();let l=o;void 0===l&&i&&(l=i.filled||i.focused||i.adornedStart);const s=Lb({props:n,muiFormControl:i,states:["size","variant","required"]}),u=gf({},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 gf({},t,tg({root:["root",n&&"formControl",!a&&"animated",o&&"shrink","small"===r&&"sizeSmall",i],asterisk:[l&&"asterisk"]},VS,t))})(u);return vh.exports.jsx(GS,gf({"data-shrink":l,ownerState:u,ref:t},a,{classes:c}))}));function QS(e){return ag("MuiFormControl",e)}ig("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const XS=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],JS=db("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>gf({},t.root,t[`margin${Tf(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>gf({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%"}))),ZS=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n,XS),b=gf({},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 tg({root:["root","none"!==n&&`margin${Tf(n)}`,r&&"fullWidth"]},QS,t)})(b),[y,x]=O.exports.useState((()=>{let e=!1;return r&&O.exports.Children.forEach(r,(t=>{if(!zf(t,["Input","Select"]))return;const n=zf(t,["Select"])?t.props.input:t;n&&function(e){return e.startAdornment}(n.props)&&(e=!0)})),e})),[w,S]=O.exports.useState((()=>{let e=!1;return r&&O.exports.Children.forEach(r,(t=>{zf(t,["Input","Select"])&&$b(t.props,!0)&&(e=!0)})),e})),[k,E]=O.exports.useState(!1);l&&k&&E(!1);const C=void 0===u||l?k:u;const R=O.exports.useCallback((()=>{S(!0)}),[]),P={adornedStart:y,setAdornedStart:x,color:a,disabled:l,error:s,filled:w,focused:C,fullWidth:c,hiddenLabel:d,size:m,onBlur:()=>{E(!1)},onEmpty:O.exports.useCallback((()=>{S(!1)}),[]),onFilled:R,onFocus:()=>{E(!0)},registerEffect:undefined,required:f,variant:h};return vh.exports.jsx(Fb.Provider,{value:P,children:vh.exports.jsx(JS,gf({as:i,ownerState:b,className:sh(v.root,o),ref:t},g,{children:r}))})}));var ek,tk=ZS,nk={},rk={exports:{}};(ek=rk).exports=function(e){return e&&e.__esModule?e:{default:e}},ek.exports.__esModule=!0,ek.exports.default=ek.exports;var ok={};const ak={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),rg.configure(e)}};var ik=M(Object.freeze({__proto__:null,unstable_ClassNameGenerator:ak,capitalize:Tf,createChainedFunction:Mf,createSvgIcon:lx,debounce:Nf,deprecatedPropType:function(e,t){return()=>null},isMuiElement:zf,ownerDocument:Of,ownerWindow:If,requirePropFactory:function(e,t){return()=>null},setRef:Af,unstable_useEnhancedEffect:Lf,unstable_useId:jf,unsupportedProp:function(e,t,n,r,o){return null},useControlled:Df,useEventCallback:$f,useForkRef:Bf,useIsFocusVisible:Qf}));!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=ik}(ok);var lk=rk.exports;Object.defineProperty(nk,"__esModule",{value:!0});var sk=nk.default=void 0,uk=lk(ok),ck=vh.exports,dk=(0,uk.default)((0,ck.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");sk=nk.default=dk;var pk={},fk=rk.exports;Object.defineProperty(pk,"__esModule",{value:!0});var mk=pk.default=void 0,hk=fk(ok),gk=vh.exports,bk=(0,hk.default)((0,gk.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");mk=pk.default=bk;var vk={},yk=rk.exports;Object.defineProperty(vk,"__esModule",{value:!0});var xk=vk.default=void 0,wk=yk(ok),Sk=vh.exports,kk=(0,wk.default)((0,Sk.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");xk=vk.default=kk;var Ek={},Ck=rk.exports;Object.defineProperty(Ek,"__esModule",{value:!0});var Rk=Ek.default=void 0,Pk=Ck(ok),Tk=vh.exports,Mk=(0,Pk.default)((0,Tk.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");const Nk={FirstPage:sk,PreviousPage:mk,NextPage:xk,LastPage:Rk=Ek.default=Mk,FirstPageRTL:Rk,PreviousPageRTL:xk,NextPageRTL:mk,LastPageRTL:sk};function zk({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&&(xS(e),vS(e.target,n,!1))})(e,l):null,f=(t,n,o,a=null)=>{const l=Nk[`${o}${"rtl"===e?"RTL":""}`];return he.createElement(gw,{"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},he.createElement(l,null))};return he.createElement(he.Fragment,null,a>650&&he.createElement(tk,null,he.createElement(YS,{htmlFor:"pagination-dropdown",shrink:!1},`${i.get("SNTable.Pagination.SelectPage")}:`),he.createElement(Hx,{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)=>he.createElement("option",{key:String(e),value:t},t+1))))),he.createElement(he.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 Ok(e,t){const n=O.exports.useRef(!1);O.exports.useEffect((()=>{n.current?e():n.current=!0}),t)}zk.defaultProps={direction:null},zk.propTypes={direction:wf.string,onPageChange:wf.func.isRequired,page:wf.number.isRequired,lastPageIdx:wf.number.isRequired,keyboard:wf.object.isRequired,isInSelectionMode:wf.bool.isRequired,tableWidth:wf.number.isRequired,translator:wf.object.isRequired};const Ik="first-announcer-element",Ak="second-announcer-element";const Lk=({children:e,target:t})=>Tc.createPortal(e,t);function Fk(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,g=f.qcy,b=g>10,{page:v,rowsPerPage:y,rowsPerPageOptions:x}=r,[w,S]=O.exports.useState([0,0]),k=O.exports.useRef(!1),E=O.exports.useRef(),C=O.exports.useRef(),R=p||O.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===Ik?(u=s,r=Ak):(u=l,r=Ik),u.innerHTML=u.innerHTML.endsWith(" ­")?i:`${i} ­`,u.setAttribute("aria-atomic",o),u.setAttribute("aria-live",a)}}(t,i)),[i.language]),P=Math.ceil(g/y),T=`${i.get("SNTable.Accessibility.RowsAndColumns",[m.length+1,h.length])} ${i.get("SNTable.Accessibility.NavigationInstructions")}`,M=()=>{k.current=t.getElementsByTagName("table")[0].contains(document.activeElement)},N=e=>{o({...r,page:e}),R({keys:[["SNTable.Pagination.PageStatusReport",[e+1,P]]],politeness:"assertive"})},z=e=>{o({...r,page:0,rowsPerPage:+e.target.value}),R({keys:[["SNTable.Pagination.RowsPerPageChange",e.target.value]],politeness:"assertive"})};O.exports.useEffect((()=>{const e=C.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,k,s);return e.addEventListener("focusout",t),()=>{e.removeEventListener("focusout",t)}}),[]),O.exports.useEffect((()=>{const e=E.current;if(!e)return()=>{};const t=t=>((e,t,n)=>{e.stopPropagation();const r=n.scrollWidth-n.offsetWidth;let{scrollLeft:o}=n,a=o+e.deltaX;t&&(a=r+a),r>0&&(a<0||a>r+1)&&(e.preventDefault(),o=t?Math.min(0,Math.min(r,a)):Math.max(0,Math.min(r,a)))})(t,"rtl"===c,e);return e.addEventListener("wheel",t),()=>{e.removeEventListener("wheel",t)}}),[c]),O.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:E,focusedCellCoord:w,rootElement:t})),[E,w]),Ok((()=>{s.enabled&&gS({focusType:s.active?"focus":"blur",rowElements:t.getElementsByClassName("sn-table-row"),cellCoord:w})}),[s.active]),Ok((()=>{(({focusedCellCoord:e,rootElement:t,shouldRefocus:n,hasSelections:r,setFocusedCellCoord:o,shouldAddTabstop:a,announce:i})=>{gS({focusType:"removeTab",providedCell:hS(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(gS({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:w,rootElement:t,shouldRefocus:k,setFocusedCellCoord:S,hasSelections:l.isModal(),shouldAddTabstop:!s.enabled||s.active,announce:R})}),[m.length,g,f.qcx,v]);const I={height:a.active||d||b?"calc(100% - 52px)":"100%",overflow:a.active?"hidden":"auto"},A={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"},L=e=>{const t=l.isModal()||e<550||f.qcx>100;return he.createElement(he.Fragment,null,he.createElement(Aw,{sx:a.active&&{display:"none"},rowsPerPageOptions:t?[y]:x,component:"div",count:g,rowsPerPage:y,labelRowsPerPage:`${i.get("SNTable.Pagination.RowsPerPage")}:`,page:v,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:z,ActionsComponent:()=>he.createElement("div",null,null),onPageChange:()=>{}}),he.createElement(zk,{direction:c,page:v,onPageChange:N,lastPageIdx:Math.ceil(g/y)-1,keyboard:s,isInSelectionMode:l.isModal(),tableWidth:e,translator:i}))};let F;return F=d?he.createElement(Lk,{target:d},b&&L(d.getBoundingClientRect().width)):b&&he.createElement(Eb,{sx:A},L(u.width)),he.createElement(Eb,{dir:c,sx:{height:"100%",backgroundColor:"rgb(255, 255, 255)",boxShadow:"none"},ref:C,onKeyDown:e=>(({evt:e,totalVerticalCount:t,page:n,rowsPerPage:r,handleChangePage:o,setShouldRefocus:a,keyboard:i,isSelectionActive:l})=>{if(yS(e)){xS(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&&(xS(e),i.blur(!0))})({evt:e,totalVerticalCount:g,page:v,rowsPerPage:y,handleChangePage:N,setShouldRefocus:M,keyboard:s,isSelectionActive:l.isModal()})},he.createElement(Fw,null),he.createElement(Ab,{ref:E,sx:I,tabIndex:-1,role:"application","data-testid":"table-wrapper"},he.createElement(Nb,{stickyHeader:!0,"aria-label":T},he.createElement(jS,yb({},e,{setFocusedCellCoord:S,focusedCellCoord:w})),he.createElement(SS,yb({},e,{announce:R,focusedCellCoord:w,setFocusedCellCoord:S,setShouldRefocus:M,tableWrapperRef:C})))),F)}Fk.defaultProps={announcer:null,direction:null,footerContainer:null},Fk.propTypes={rootElement:wf.object.isRequired,tableData:wf.object.isRequired,pageInfo:wf.object.isRequired,setPageInfo:wf.func.isRequired,translator:wf.object.isRequired,constraints:wf.object.isRequired,selectionsAPI:wf.object.isRequired,keyboard:wf.object.isRequired,rect:wf.object.isRequired,footerContainer:wf.object,direction:wf.string,announcer:wf.func};var _k={keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920},unit:"px"},jk={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}}}},Dk={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},$k={borderRadius:3},Bk=["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)"],Wk={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}},Hk={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"}},qk={modal:1200,snackbar:1200,drawer:1200,appBar:1200,mobileStepper:1200,tooltip:1200,speedDial:1050},Uk={toolbar:{minHeight:56,"@media (min-width:0px) and (orientation: landscape)":{minHeight:48},"@media (min-width:600px)":{minHeight:64}}},Vk={breakpoints:_k,direction:"ltr",components:jk,palette:Dk,shape:$k,shadows:Bk,transitions:Wk,typography:Hk,zIndex:qk,mixins:Uk},Kk=Object.freeze({__proto__:null,breakpoints:_k,direction:"ltr",components:jk,palette:Dk,shape:$k,shadows:Bk,transitions:Wk,typography:Hk,zIndex:qk,mixins:Uk,default:Vk});function Gk(f){return{qae:{properties:{initial:h},data:{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:15},measures:{min:0,max:15}}]}},component(){const f=e(),h=t(),{direction:g,footerContainer:b}=n(),v=r(),y=o(),x=a(),w=i(),S=function(e){return jk&&(jk.MuiIconButton.styleOverrides.root.padding="0px 7px",jk.MuiTableSortLabel.styleOverrides.root.color="inherit",jk.MuiTableSortLabel.styleOverrides.root["&.Mui-active"].color="inherit",jk.MuiTableSortLabel.styleOverrides.root["&:hover"].color="inherit",jk.MuiTableRow.styleOverrides.root["&&:hover"].backgroundColor="rgba(0, 0, 0, 0)",jk.MuiTableCell.styleOverrides.root.height="auto",jk.MuiTableCell.styleOverrides.root.lineHeight="130%",jk.MuiTableCell.styleOverrides.head.height="auto",jk.MuiTableCell.styleOverrides.head.lineHeight="150%",jk.MuiTableCell.styleOverrides.root["&:focus"]={boxShadow:"0 0 0 2px #3f8ab3 inset",outline:"none"},jk.MuiTableContainer.styleOverrides.root.borderBottom=0,jk.MuiInputBase.styleOverrides.input.padding="0px 12px",jk.MuiInputBase.styleOverrides.input.border="1px solid transparent",jk.MuiOutlinedInput.styleOverrides.input.padding="0px 12px",jk.MuiNativeSelect.styleOverrides.outlined.border="1px solid transparent",jk.MuiInputLabel.styleOverrides.outlined={fontSize:14,width:"fit-content",position:"relative",padding:8,transform:"none",fontWeight:"400"},jk.MuiFormControl.styleOverrides.root.paddingLeft=28,jk.MuiFormControl.styleOverrides.root.paddingRight=14),ab({...Kk,direction:e})}(g),k=l(),E=s(),C=u(),[R,P]=c((()=>({page:0,rowsPerPage:100,rowsPerPageOptions:[10,25,100]}))),[M]=d((()=>T(v,h,R,P)),[h,R]);p((()=>{if(h&&M){!function(e){if(e&&e.get&&e.add){const t="SNTable.Accessibility.RowsAndColumns";if(e.get(t)!==t)return;Object.keys(m).forEach((t=>{e.add(m[t])}))}}(x);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)}}(v);!function(e,t){const{tableTheme:n,direction:r}=t;Tc.render(he.createElement(he.StrictMode,null,he.createElement(Bp,{stylisPlugins:"rtl"===r?[vb]:[]},he.createElement(Xh,{theme:n},he.createElement(Fk,t)))),e)}(f,{rootElement:f,layout:h,tableData:M,direction:g,pageInfo:R,setPageInfo:P,constraints:y,translator:x,selectionsAPI:w,tableTheme:S,theme:k,changeSortOrder:e,keyboard:E,rect:C,footerContainer:b})}}),[M,y,g,w.isModal(),k.name(),E.active,x.language(),C.width]),p((()=>()=>{!function(e){Tc.unmountComponentAtNode(e)}(f)}),[])},ext:C(f)}}export{Gk as default};
120
+ `),fv.rippleVisible,xv,550,(({theme:e})=>e.transitions.easing.easeInOut),fv.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),fv.child,fv.childLeaving,wv,550,(({theme:e})=>e.transitions.easing.easeInOut),fv.childPulsate,Sv,(({theme:e})=>e.transitions.easing.easeInOut)),Cv=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=bf(n,mv),[l,s]=O.exports.useState([]),u=O.exports.useRef(0),c=O.exports.useRef(null);O.exports.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[l]);const d=O.exports.useRef(!1),p=O.exports.useRef(null),f=O.exports.useRef(null),m=O.exports.useRef(null);O.exports.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const h=O.exports.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,vh.exports.jsx(Ev,{classes:{ripple:sh(o.ripple,fv.ripple),rippleVisible:sh(o.rippleVisible,fv.rippleVisible),ripplePulsate:sh(o.ripplePulsate,fv.ripplePulsate),child:sh(o.child,fv.child),childLeaving:sh(o.childLeaving,fv.childLeaving),childPulsate:sh(o.childPulsate,fv.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},u.current)])),u.current+=1,c.current=i}),[o]),g=O.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=O.exports.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=O.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 O.exports.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),vh.exports.jsx(kv,gf({className:sh(o.root,fv.root,a),ref:m},i,{children:vh.exports.jsx(pv,{component:null,exit:!0,children:l})}))}));var Rv=Cv;function Pv(e){return ag("MuiButtonBase",e)}var Tv=ig("MuiButtonBase",["root","disabled","focusVisible"]);const Mv=["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"],Nv=db("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"},[`&.${Tv.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),zv=O.exports.forwardRef((function(e,t){const n=sb({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:w,onMouseLeave:S,onMouseUp:k,onTouchEnd:E,onTouchMove:C,onTouchStart:R,tabIndex:P=0,TouchRippleProps:T,touchRippleRef:M,type:N}=n,z=bf(n,Mv),I=O.exports.useRef(null),A=O.exports.useRef(null),L=Bf(A,M),{isFocusVisibleRef:F,onFocus:_,onBlur:j,ref:D}=Qf(),[$,B]=O.exports.useState(!1);function W(e,t,n=c){return $f((r=>{t&&t(r);return!n&&A.current&&A.current[e](r),!0}))}s&&$&&B(!1),O.exports.useImperativeHandle(r,(()=>({focusVisible:()=>{B(!0),I.current.focus()}})),[]),O.exports.useEffect((()=>{$&&d&&!u&&A.current.pulsate()}),[u,d,$]);const H=W("start",w),q=W("stop",h),U=W("stop",g),V=W("stop",k),K=W("stop",(e=>{$&&e.preventDefault(),S&&S(e)})),G=W("start",R),Y=W("stop",E),Q=W("stop",C),X=W("stop",(e=>{j(e),!1===F.current&&B(!1),f&&f(e)}),!1),J=$f((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=O.exports.useRef(!1),te=$f((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=$f((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&&(z.href||z.to)&&(re=p);const oe={};"button"===re?(oe.type=void 0===N?"button":N,oe.disabled=s):(z.href||z.to||(oe.role="button"),s&&(oe["aria-disabled"]=s));const ae=Bf(D,I),ie=Bf(t,ae),[le,se]=O.exports.useState(!1);O.exports.useEffect((()=>{se(!0)}),[]);const ue=le&&!u&&!s,ce=gf({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:P,focusVisible:$}),de=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=tg({root:["root",t&&"disabled",n&&"focusVisible"]},Pv,o);return n&&r&&(a.root+=` ${r}`),a})(ce);return vh.exports.jsxs(Nv,gf({as:re,className:sh(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:P,type:N},oe,z,{children:[a,ue?vh.exports.jsx(Rv,gf({ref:L,center:o},T)):null]}))}));var Ov=zv;var Iv=ig("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var Av=ig("MuiListItemIcon",["root","alignItemsFlexStart"]);var Lv=ig("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Fv(e){return ag("MuiMenuItem",e)}var _v=ig("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const jv=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],Dv=db(Ov,{shouldForwardProp:e=>ub(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})=>gf({},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"}},[`&.${_v.selected}`]:{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${_v.focusVisible}`]:{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${_v.selected}:hover`]:{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${_v.focusVisible}`]:{backgroundColor:e.palette.action.focus},[`&.${_v.disabled}`]:{opacity:e.palette.action.disabledOpacity},[`& + .${Iv.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Iv.inset}`]:{marginLeft:52},[`& .${Lv.root}`]:{marginTop:0,marginBottom:0},[`& .${Lv.inset}`]:{paddingLeft:36},[`& .${Av.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&gf({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Av.root} svg`]:{fontSize:"1.25rem"}}))));var $v=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n,jv),p=O.exports.useContext(Xb),f={dense:a||p.dense||!1,disableGutters:l},m=O.exports.useRef(null);Lf((()=>{r&&m.current&&m.current.focus()}),[r]);const h=gf({},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 gf({},i,tg({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},Fv,i))})(n),b=Bf(m,t);let v;return n.disabled||(v=void 0!==c?c:-1),vh.exports.jsx(Xb.Provider,{value:f,children:vh.exports.jsx(Dv,gf({ref:b,role:u,tabIndex:v,component:o,focusVisibleClassName:sh(g.focusVisible,s)},d,{ownerState:h,classes:g}))})}));function Bv(e){return ag("MuiList",e)}ig("MuiList",["root","padding","dense","subheader"]);const Wv=["children","className","component","dense","disablePadding","subheader"],Hv=db("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})=>gf({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var qv=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiList"}),{children:r,className:o,component:a="ul",dense:i=!1,disablePadding:l=!1,subheader:s}=n,u=bf(n,Wv),c=O.exports.useMemo((()=>({dense:i})),[i]),d=gf({},n,{component:a,dense:i,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return tg({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Bv,t)})(d);return vh.exports.jsx(Xb.Provider,{value:c,children:vh.exports.jsxs(Hv,gf({as:a,className:sh(p.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));const Uv=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Vv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Kv(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Gv(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 Yv(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")&&Gv(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}var Qv=O.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=bf(e,Uv),p=O.exports.useRef(null),f=O.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Lf((()=>{r&&p.current.focus()}),[r]),O.exports.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Xf(Of(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const m=Bf(p,t);let h=-1;O.exports.Children.forEach(a,((e,t)=>{O.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===h)&&(h=t))}));const g=O.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),O.exports.cloneElement(e,t)}return e}));return vh.exports.jsx(qv,gf({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=p.current,n=e.key,r=Of(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Yv(t,r,s,l,Vv);else if("ArrowUp"===n)e.preventDefault(),Yv(t,r,s,l,Kv);else if("Home"===n)e.preventDefault(),Yv(t,null,s,l,Vv);else if("End"===n)e.preventDefault(),Yv(t,null,s,l,Kv);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&&Gv(r,o);o.previousKeyMatched&&(s||Yv(t,r,!1,l,Vv,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));const Xv=e=>e.scrollTop;function Jv(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 Zv=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ey(e){return`scale(${e}, ${e**2})`}const ty={entering:{opacity:1,transform:ey(1)},entered:{opacity:1,transform:"none"}},ny=O.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=iv}=e,g=bf(e,Zv),b=O.exports.useRef(),v=O.exports.useRef(),y=lb(),x=O.exports.useRef(null),w=Bf(o.ref,t),S=Bf(x,w),k=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},E=k(u),C=k(((e,t)=>{Xv(e);const{duration:n,delay:r,easing:o}=Jv({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)})),R=k(s),P=k(p),T=k((e=>{const{duration:t,delay:n,easing:r}=Jv({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=ey(.75),c&&c(e)})),M=k(d);return O.exports.useEffect((()=>()=>{clearTimeout(b.current)}),[]),vh.exports.jsx(h,gf({appear:r,in:i,nodeRef:x,onEnter:C,onEntered:R,onEntering:E,onExit:T,onExited:M,onExiting:P,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)=>O.exports.cloneElement(o,gf({style:gf({opacity:0,transform:ey(.75),visibility:"exited"!==e||i?void 0:"hidden"},ty[e],f,o.props.style),ref:S},t))}))}));ny.muiSupportAuto=!0;var ry=ny;const oy=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ay={entering:{opacity:1},entered:{opacity:1}},iy=O.exports.forwardRef((function(e,t){const n=lb(),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=iv}=e,v=bf(e,oy),y=O.exports.useRef(null),x=Bf(i.ref,t),w=Bf(y,x),S=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},k=S(d),E=S(((e,t)=>{Xv(e);const r=Jv({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)})),C=S(c),R=S(m),P=S((e=>{const t=Jv({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)})),T=S(f);return vh.exports.jsx(b,gf({appear:a,in:s,nodeRef:y,onEnter:E,onEntered:C,onEntering:k,onExit:P,onExited:T,onExiting:R,addEndListener:e=>{o&&o(y.current,e)},timeout:g},v,{children:(e,t)=>O.exports.cloneElement(i,gf({style:gf({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},ay[e],h,i.props.style),ref:w},t))}))}));var ly=iy;const sy=["children","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],uy=db("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>gf({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"}))),cy=O.exports.forwardRef((function(e,t){var n;const r=sb({props:e,name:"MuiBackdrop"}),{children:o,components:a={},componentsProps:i={},className:l,invisible:s=!1,open:u,transitionDuration:c,TransitionComponent:d=ly}=r,p=bf(r,sy),f=(e=>{const{classes:t}=e;return t})(gf({},r,{invisible:s}));return vh.exports.jsx(d,gf({in:u,timeout:c},p,{children:vh.exports.jsx(cg,{className:l,invisible:s,components:gf({Root:uy},a),componentsProps:{root:gf({},i.root,(!a.Root||!Zh(a.Root))&&{ownerState:gf({},null==(n=i.root)?void 0:n.ownerState)})},classes:f,ref:t,children:o})}))}));var dy=cy;const py=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],fy=db("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})=>gf({position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),my=db(dy,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),hy=O.exports.forwardRef((function(e,t){var n;const r=sb({name:"MuiModal",props:e}),{BackdropComponent:o=my,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=bf(r,py),[v,y]=O.exports.useState(!0),x={closeAfterTransition:a,disableAutoFocus:u,disableEnforceFocus:c,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:f,disableScrollLock:m,hideBackdrop:h,keepMounted:g},w=(e=>e.classes)(gf({},r,x,{exited:v}));return vh.exports.jsx(Cg,gf({components:gf({Root:fy},l),componentsProps:{root:gf({},s.root,(!l.Root||!Zh(l.Root))&&{ownerState:gf({},null==(n=s.root)?void 0:n.ownerState)})},BackdropComponent:o,onTransitionEnter:()=>y(!1),onTransitionExited:()=>y(!0),ref:t},b,{classes:w},x,{children:i}))}));var gy=hy;function by(e){return ag("MuiPopover",e)}ig("MuiPopover",["root","paper"]);const vy=["onEntering"],yy=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function xy(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function wy(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Sy(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function ky(e){return"function"==typeof e?e():e}const Ey=db(gy,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Cy=db(Eb,{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}),Ry=O.exports.forwardRef((function(e,t){const n=sb({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=ry,transitionDuration:b="auto",TransitionProps:{onEntering:v}={}}=n,y=bf(n.TransitionProps,vy),x=bf(n,yy),w=O.exports.useRef(),S=Bf(w,m.ref),k=gf({},n,{anchorOrigin:a,anchorReference:l,elevation:d,marginThreshold:p,PaperProps:m,transformOrigin:h,TransitionComponent:g,transitionDuration:b,TransitionProps:y}),E=(e=>{const{classes:t}=e;return tg({root:["root"],paper:["paper"]},by,t)})(k),C=O.exports.useCallback((()=>{if("anchorPosition"===l)return i;const e=ky(o),t=(e&&1===e.nodeType?e:Of(w.current).body).getBoundingClientRect();return{top:t.top+xy(t,a.vertical),left:t.left+wy(t,a.horizontal)}}),[o,a.horizontal,a.vertical,i,l]),R=O.exports.useCallback((e=>({vertical:xy(e,h.vertical),horizontal:wy(e,h.horizontal)})),[h.horizontal,h.vertical]),P=O.exports.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=R(t);if("none"===l)return{top:null,left:null,transformOrigin:Sy(n)};const r=C();let a=r.top-n.vertical,i=r.left-n.horizontal;const s=a+t.height,u=i+t.width,c=If(ky(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:Sy(n)}}),[o,l,C,R,p]),T=O.exports.useCallback((()=>{const e=w.current;if(!e)return;const t=P(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[P]);O.exports.useEffect((()=>{f&&T()})),O.exports.useImperativeHandle(r,(()=>f?{updatePosition:()=>{T()}}:null),[f,T]),O.exports.useEffect((()=>{if(!f)return;const e=Nf((()=>{T()})),t=If(o);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[o,f,T]);let M=b;"auto"!==b||g.muiSupportAuto||(M=void 0);const N=c||(o?Of(ky(o)).body:void 0);return vh.exports.jsx(Ey,gf({BackdropProps:{invisible:!0},className:sh(E.root,u),container:N,open:f,ref:t,ownerState:k},x,{children:vh.exports.jsx(g,gf({appear:!0,in:f,onEntering:(e,t)=>{v&&v(e,t),T()},timeout:M},y,{children:vh.exports.jsx(Cy,gf({elevation:d},m,{ref:S,className:sh(E.paper,m.className),children:s}))}))}))}));var Py=Ry;function Ty(e){return ag("MuiMenu",e)}ig("MuiMenu",["root","paper","list"]);const My=["onEntering"],Ny=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],zy={vertical:"top",horizontal:"right"},Oy={vertical:"top",horizontal:"left"},Iy=db(Py,{shouldForwardProp:e=>ub(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ay=db(Eb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Ly=db(Qv,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var Fy=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n.TransitionProps,My),h=bf(n,Ny),g=lb(),b="rtl"===g.direction,v=gf({},n,{autoFocus:r,disableAutoFocusItem:a,MenuListProps:i,onEntering:p,PaperProps:u,transitionDuration:d,TransitionProps:m,variant:f}),y=(e=>{const{classes:t}=e;return tg({root:["root"],paper:["paper"],list:["list"]},Ty,t)})(v),x=r&&!a&&s,w=O.exports.useRef(null);let S=-1;return O.exports.Children.map(o,((e,t)=>{O.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===f&&e.props.selected||-1===S)&&(S=t))})),vh.exports.jsx(Iy,gf({classes:c,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?zy:Oy,PaperProps:gf({component:Ay},u,{classes:gf({},u.classes,{root:y.paper})}),className:y.root,open:s,ref:t,transitionDuration:d,TransitionProps:gf({onEntering:(e,t)=>{w.current&&w.current.adjustStyleForScrollbar(e,g),p&&p(e,t)}},m),ownerState:v},h,{children:vh.exports.jsx(Ly,gf({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),l&&l(e,"tabKeyDown"))},actions:w,autoFocus:r&&(-1===S||a),autoFocusItem:x,variant:f},i,{className:sh(y.list,i.className),children:o}))}))}));function _y(e){return ag("MuiNativeSelect",e)}var jy=ig("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const Dy=["className","disabled","IconComponent","inputRef","variant"],$y=({ownerState:e,theme:t})=>gf({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"},[`&.${jy.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}}),By=db("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ub,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${jy.multiple}`]:t.multiple}]}})($y),Wy=({ownerState:e,theme:t})=>gf({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${jy.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),Hy=db("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Tf(n.variant)}`],n.open&&t.iconOpen]}})(Wy);var qy=O.exports.forwardRef((function(e,t){const{className:n,disabled:r,IconComponent:o,inputRef:a,variant:i="standard"}=e,l=bf(e,Dy),s=gf({},e,{disabled:r,variant:i}),u=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return tg({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${Tf(n)}`,a&&"iconOpen",r&&"disabled"]},_y,t)})(s);return vh.exports.jsxs(O.exports.Fragment,{children:[vh.exports.jsx(By,gf({ownerState:s,className:sh(u.select,n),disabled:r,ref:a||t},l)),e.multiple?null:vh.exports.jsx(Hy,{as:o,ownerState:s,className:u.icon})]})}));function Uy(e){return ag("MuiSelect",e)}var Vy,Ky=ig("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);const Gy=["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"],Yy=db("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Ky.select}`]:t.select},{[`&.${Ky.select}`]:t[n.variant]},{[`&.${Ky.multiple}`]:t.multiple}]}})($y,{[`&.${Ky.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Qy=db("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Tf(n.variant)}`],n.open&&t.iconOpen]}})(Wy),Xy=db("input",{shouldForwardProp:e=>cb(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 Jy(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Zy(e){return null==e||"string"==typeof e&&!e.trim()}const ex=O.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:w,onOpen:S,open:k,readOnly:E,renderValue:C,SelectDisplayProps:R={},tabIndex:P,value:T,variant:M="standard"}=e,N=bf(e,Gy),[z,I]=Df({controlled:T,default:u,name:"Select"}),[A,L]=Df({controlled:k,default:s,name:"Select"}),F=O.exports.useRef(null),_=O.exports.useRef(null),[j,D]=O.exports.useState(null),{current:$}=O.exports.useRef(null!=k),[B,W]=O.exports.useState(),H=Bf(t,f),q=O.exports.useCallback((e=>{_.current=e,e&&D(e)}),[]);O.exports.useImperativeHandle(H,(()=>({focus:()=>{_.current.focus()},node:F.current,value:z})),[z]),O.exports.useEffect((()=>{s&&A&&j&&!$&&(W(a?null:j.clientWidth),_.current.focus())}),[j,a]),O.exports.useEffect((()=>{o&&_.current.focus()}),[o]),O.exports.useEffect((()=>{if(!m)return;const e=Of(_.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?S&&S(t):x&&x(t),$||(W(a?null:j.clientWidth),L(e))},V=O.exports.Children.toArray(i),K=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(g){n=Array.isArray(z)?z.slice():[];const t=z.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),z!==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 N["aria-invalid"];const X=[];let J=!1;($b({value:z})||d)&&(C?Y=C(z):J=!0);const Z=V.map((e=>{if(!O.exports.isValidElement(e))return null;let t;if(g){if(!Array.isArray(z))throw new Error(Pf(2));t=z.some((t=>Jy(t,e.props.value))),t&&J&&X.push(e.props.children)}else t=Jy(z,e.props.value),t&&J&&(Q=e.props.children);return O.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!==P?P:c?null:0;const ne=R.id||(b?`mui-component-select-${b}`:void 0),re=gf({},e,{variant:M,value:z,open:G}),oe=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return tg({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${Tf(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},Uy,t)})(re);return vh.exports.jsxs(O.exports.Fragment,{children:[vh.exports.jsx(Yy,gf({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(!E){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),U(!0,e))}},onMouseDown:c||E?null:e=>{0===e.button&&(e.preventDefault(),_.current.focus(),U(!0,e))},onBlur:e=>{!G&&v&&(Object.defineProperty(e,"target",{writable:!0,value:{value:z,name:b}}),v(e))},onFocus:w},R,{ownerState:re,className:sh(oe.select,l,R.className),id:ne,children:Zy(Y)?Vy||(Vy=vh.exports.jsx("span",{className:"notranslate",children:"​"})):Y})),vh.exports.jsx(Xy,gf({value:Array.isArray(z)?z.join(","):z,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},N)),vh.exports.jsx(Qy,{as:p,className:oe.icon,ownerState:re}),vh.exports.jsx(Fy,gf({id:`menu-${b||""}`,anchorEl:j,open:G,onClose:e=>{U(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},h,{MenuListProps:gf({"aria-labelledby":m,role:"listbox",disableListWrap:!0},h.MenuListProps),PaperProps:gf({},h.PaperProps,{style:gf({minWidth:te},null!=h.PaperProps?h.PaperProps.style:null)}),children:Z}))]})}));var tx=ex;function nx(e){return ag("MuiSvgIcon",e)}ig("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const rx=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],ox=db("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Tf(n.color)}`],t[`fontSize${Tf(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]}})),ax=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n,rx),f=gf({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d}),m={};u||(m.viewBox=d);const h=(e=>{const{color:t,fontSize:n,classes:r}=e;return tg({root:["root","inherit"!==t&&`color${Tf(t)}`,`fontSize${Tf(n)}`]},nx,r)})(f);return vh.exports.jsxs(ox,gf({as:i,className:sh(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?vh.exports.jsx("title",{children:c}):null]}))}));ax.muiName="SvgIcon";var ix=ax;function lx(e,t){const n=(n,r)=>vh.exports.jsx(ix,gf({"data-testid":`${t}Icon`,ref:r},n,{children:e}));return n.muiName=ix.muiName,O.exports.memo(O.exports.forwardRef(n))}var sx=lx(vh.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function ux(e){return ag("MuiInput",e)}var cx=gf({},Wb,ig("MuiInput",["root","underline","input"]));const dx=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],px=db(Vb,{shouldForwardProp:e=>ub(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...qb(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 gf({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"},[`&.${cx.focused}:after`]:{transform:"scaleX(1)"},[`&.${cx.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(.${cx.disabled}):before`]:{borderBottom:`2px solid ${e.palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${cx.disabled}:before`]:{borderBottomStyle:"dotted"}})})),fx=db(Kb,{name:"MuiInput",slot:"Input",overridesResolver:Ub})({}),mx=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiInput"}),{disableUnderline:r,components:o={},componentsProps:a,fullWidth:i=!1,inputComponent:l="input",multiline:s=!1,type:u="text"}=n,c=bf(n,dx),d=(e=>{const{classes:t,disableUnderline:n}=e;return gf({},t,tg({root:["root",!n&&"underline"],input:["input"]},ux,t))})(n),p={root:{ownerState:{disableUnderline:r}}},f=a?Rf(a,p):p;return vh.exports.jsx(Qb,gf({components:gf({Root:px,Input:fx},o),componentsProps:f,fullWidth:i,inputComponent:l,multiline:s,ref:t,type:u},c,{classes:d}))}));mx.muiName="Input";var hx=mx;function gx(e){return ag("MuiFilledInput",e)}var bx=gf({},Wb,ig("MuiFilledInput",["root","underline","input"]));const vx=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],yx=db(Vb,{shouldForwardProp:e=>ub(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...qb(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 gf({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}},[`&.${bx.focused}`]:{backgroundColor:o},[`&.${bx.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"},[`&.${bx.focused}:after`]:{transform:"scaleX(1)"},[`&.${bx.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(.${bx.disabled}):before`]:{borderBottom:`1px solid ${e.palette.text.primary}`},[`&.${bx.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&gf({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),xx=db(Kb,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ub})((({theme:e,ownerState:t})=>gf({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}))),wx=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiFilledInput"}),{components:r={},componentsProps:o,fullWidth:a=!1,inputComponent:i="input",multiline:l=!1,type:s="text"}=n,u=bf(n,vx),c=gf({},n,{fullWidth:a,inputComponent:i,multiline:l,type:s}),d=(e=>{const{classes:t,disableUnderline:n}=e;return gf({},t,tg({root:["root",!n&&"underline"],input:["input"]},gx,t))})(n),p={root:{ownerState:c},input:{ownerState:c}},f=o?Rf(o,p):p;return vh.exports.jsx(Qb,gf({components:gf({Root:yx,Input:xx},r),componentsProps:f,fullWidth:a,inputComponent:i,multiline:l,ref:t,type:s},u,{classes:d}))}));wx.muiName="Input";var Sx,kx=wx;const Ex=["children","classes","className","label","notched"],Cx=db("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%"}),Rx=db("legend")((({ownerState:e,theme:t})=>gf({float:"unset",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&gf({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",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function Px(e){return ag("MuiOutlinedInput",e)}var Tx=gf({},Wb,ig("MuiOutlinedInput",["root","notchedOutline","input"]));const Mx=["components","fullWidth","inputComponent","label","multiline","notched","type"],Nx=db(Vb,{shouldForwardProp:e=>ub(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:qb})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return gf({position:"relative",borderRadius:e.shape.borderRadius,[`&:hover .${Tx.notchedOutline}`]:{borderColor:e.palette.text.primary},"@media (hover: none)":{[`&:hover .${Tx.notchedOutline}`]:{borderColor:n}},[`&.${Tx.focused} .${Tx.notchedOutline}`]:{borderColor:e.palette[t.color].main,borderWidth:2},[`&.${Tx.error} .${Tx.notchedOutline}`]:{borderColor:e.palette.error.main},[`&.${Tx.disabled} .${Tx.notchedOutline}`]:{borderColor:e.palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&gf({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),zx=db((function(e){const{className:t,label:n,notched:r}=e,o=bf(e,Ex),a=null!=n&&""!==n,i=gf({},e,{notched:r,withLabel:a});return vh.exports.jsx(Cx,gf({"aria-hidden":!0,className:t,ownerState:i},o,{children:vh.exports.jsx(Rx,{ownerState:i,children:a?vh.exports.jsx("span",{children:n}):Sx||(Sx=vh.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)"}))),Ox=db(Kb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ub})((({theme:e,ownerState:t})=>gf({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}))),Ix=O.exports.forwardRef((function(e,t){var n;const r=sb({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:a=!1,inputComponent:i="input",label:l,multiline:s=!1,notched:u,type:c="text"}=r,d=bf(r,Mx),p=(e=>{const{classes:t}=e;return gf({},t,tg({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Px,t))})(r),f=Lb({props:r,muiFormControl:_b(),states:["required"]});return vh.exports.jsx(Qb,gf({components:gf({Root:Nx,Input:Ox},o),renderSuffix:e=>vh.exports.jsx(zx,{className:p.notchedOutline,label:null!=l&&""!==l&&f.required?n||(n=vh.exports.jsxs(O.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:gf({},p,{notchedOutline:null})}))}));Ix.muiName="Input";var Ax,Lx,Fx=Ix;const _x=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],jx={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>ub(e)&&"variant"!==e,slot:"Root"},Dx=db(hx,jx)(""),$x=db(Fx,jx)(""),Bx=db(kx,jx)(""),Wx=O.exports.forwardRef((function(e,t){const n=sb({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:a={},className:i,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:u=sx,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:w,SelectDisplayProps:S,variant:k="outlined"}=n,E=bf(n,_x),C=b?qy:tx,R=Lb({props:n,muiFormControl:_b(),states:["variant"]}).variant||k,P=d||{standard:Ax||(Ax=vh.exports.jsx(Dx,{})),outlined:vh.exports.jsx($x,{label:f}),filled:Lx||(Lx=vh.exports.jsx(Bx,{}))}[R],T=(e=>{const{classes:t}=e;return t})(gf({},n,{variant:R,classes:a})),M=Bf(t,P.ref);return O.exports.cloneElement(P,gf({inputComponent:C,inputProps:gf({children:o,IconComponent:u,variant:R,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:w,SelectDisplayProps:gf({id:c},S)},p,{classes:p?Rf(T,p.classes):T},d?d.props.inputProps:{})},g&&b&&"outlined"===R?{notched:!0}:{},{ref:M,className:sh(P.props.className,i),variant:R},E))}));Wx.muiName="Select";var Hx=Wx;var qx=O.exports.createContext();function Ux(e){return ag("MuiTableCell",e)}var Vx=ig("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);const Kx=["align","className","component","padding","scope","size","sortDirection","variant"],Gx=db("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Tf(n.size)}`],"normal"!==n.padding&&t[`padding${Tf(n.padding)}`],"inherit"!==n.align&&t[`align${Tf(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>gf({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:`1px solid\n ${"light"===e.palette.mode?Yh(Kh(e.palette.divider,1),.88):Gh(Kh(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",[`&.${Vx.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}))),Yx=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:a,padding:i,scope:l,size:s,sortDirection:u,variant:c}=n,d=bf(n,Kx),p=O.exports.useContext(Cb),f=O.exports.useContext(qx),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=gf({},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 tg({root:["root",n,i&&"stickyHeader","inherit"!==r&&`align${Tf(r)}`,"normal"!==o&&`padding${Tf(o)}`,`size${Tf(a)}`]},Ux,t)})(v);let x=null;return u&&(x="asc"===u?"ascending":"descending"),vh.exports.jsx(Gx,gf({as:h,ref:t,className:sh(y.root,o),"aria-sort":x,scope:g,ownerState:v},d))}));var Qx=Yx;function Xx(e){return ag("MuiToolbar",e)}ig("MuiToolbar",["root","gutters","regular","dense"]);const Jx=["className","component","disableGutters","variant"],Zx=db("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})=>gf({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 ew=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:a=!1,variant:i="regular"}=n,l=bf(n,Jx),s=gf({},n,{component:o,disableGutters:a,variant:i}),u=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return tg({root:["root",!n&&"gutters",r]},Xx,t)})(s);return vh.exports.jsx(Zx,gf({as:o,className:sh(u.root,r),ref:t,ownerState:s},l))})),tw=lx(vh.exports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),nw=lx(vh.exports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function rw(e){return ag("MuiIconButton",e)}var ow=ig("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const aw=["edge","children","className","color","disabled","disableFocusRipple","size"],iw=db(Ov,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Tf(n.color)}`],n.edge&&t[`edge${Tf(n.edge)}`],t[`size${Tf(n.size)}`]]}})((({theme:e,ownerState:t})=>gf({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:Kh(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})=>gf({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&gf({color:e.palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:Kh(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)},{[`&.${ow.disabled}`]:{backgroundColor:"transparent",color:e.palette.action.disabled}}))),lw=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n,aw),d=gf({},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 tg({root:["root",n&&"disabled","default"!==r&&`color${Tf(r)}`,o&&`edge${Tf(o)}`,`size${Tf(a)}`]},rw,t)})(d);return vh.exports.jsx(iw,gf({className:sh(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},c,{children:o}))}));var sw,uw,cw,dw,pw,fw,mw,hw,gw=lw,bw=lx(vh.exports.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),vw=lx(vh.exports.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");const yw=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"];var xw=O.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=bf(e,yw),p=lb();return vh.exports.jsxs("div",gf({ref:t},d,{children:[u&&vh.exports.jsx(gw,{onClick:e=>{i(e,0)},disabled:0===l,"aria-label":o("first",l),title:o("first",l),children:"rtl"===p.direction?sw||(sw=vh.exports.jsx(bw,{})):uw||(uw=vh.exports.jsx(vw,{}))}),vh.exports.jsx(gw,gf({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?cw||(cw=vh.exports.jsx(nw,{})):dw||(dw=vh.exports.jsx(tw,{}))})),vh.exports.jsx(gw,gf({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?pw||(pw=vh.exports.jsx(tw,{})):fw||(fw=vh.exports.jsx(nw,{}))})),c&&vh.exports.jsx(gw,{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?mw||(mw=vh.exports.jsx(vw,{})):hw||(hw=vh.exports.jsx(bw,{}))})]}))}));function ww(e){return ag("MuiTablePagination",e)}var Sw,kw=ig("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);const Ew=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],Cw=db(Qx,{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}}))),Rw=db(ew,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>gf({[`& .${kw.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},[`& .${kw.actions}`]:{flexShrink:0,marginLeft:20}}))),Pw=db("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Tw=db("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((({theme:e})=>gf({},e.typography.body2,{flexShrink:0}))),Mw=db(Hx,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>gf({[`& .${kw.selectIcon}`]:t.selectIcon,[`& .${kw.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${kw.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),Nw=db($v,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),zw=db("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((({theme:e})=>gf({},e.typography.body2,{flexShrink:0})));function Ow({from:e,to:t,count:n}){return`${e}–${t} of ${-1!==n?n:`more than ${t}`}`}function Iw(e){return`Go to ${e} page`}var Aw=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTablePagination"}),{ActionsComponent:r=xw,backIconButtonProps:o,className:a,colSpan:i,component:l=Qx,count:s,getItemAriaLabel:u=Iw,labelDisplayedRows:c=Ow,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,w=bf(n,Ew),S=n,k=(e=>{const{classes:t}=e;return tg({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},ww,t)})(S),E=v.native?"option":Nw;let C;l!==Qx&&"td"!==l||(C=i||1e3);const R=jf(v.id),P=jf(v.labelId);return vh.exports.jsx(Cw,gf({colSpan:C,ref:t,as:l,ownerState:S,className:sh(k.root,a)},w,{children:vh.exports.jsxs(Rw,{className:k.toolbar,children:[vh.exports.jsx(Pw,{className:k.spacer}),b.length>1&&vh.exports.jsx(Tw,{className:k.selectLabel,id:P,children:d}),b.length>1&&vh.exports.jsx(Mw,gf({variant:"standard",input:Sw||(Sw=vh.exports.jsx(Qb,{})),value:g,onChange:m,id:R,labelId:P},v,{classes:gf({},v.classes,{root:sh(k.input,k.selectRoot,(v.classes||{}).root),select:sh(k.select,(v.classes||{}).select),icon:sh(k.selectIcon,(v.classes||{}).icon)}),children:b.map((e=>O.exports.createElement(E,gf({},!Zh(E)&&{ownerState:S},{className:k.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)))})),vh.exports.jsx(zw,{className:k.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})}),vh.exports.jsx(r,{className:k.actions,backIconButtonProps:o,count:s,nextIconButtonProps:p,onPageChange:f,page:h,rowsPerPage:g,showFirstButton:y,showLastButton:x,getItemAriaLabel:u})]})}))}));const Lw=Bh("div")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}),Fw=()=>he.createElement(he.Fragment,null,he.createElement(Lw,{id:"sn-table-announcer--01","aria-live":"polite","aria-atomic":"true"}),he.createElement(Lw,{id:"sn-table-announcer--02","aria-live":"polite","aria-atomic":"true"}));function _w(e){return ag("MuiTableBody",e)}ig("MuiTableBody",["root"]);const jw=["className","component"],Dw=db("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),$w={variant:"body"},Bw="tbody";var Ww=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableBody"}),{className:r,component:o=Bw}=n,a=bf(n,jw),i=gf({},n,{component:o}),l=(e=>{const{classes:t}=e;return tg({root:["root"]},_w,t)})(i);return vh.exports.jsx(qx.Provider,{value:$w,children:vh.exports.jsx(Dw,gf({className:sh(l.root,r),as:o,ref:t,role:o===Bw?null:"rowgroup",ownerState:i},a))})}));function Hw(e){return ag("MuiTableRow",e)}var qw=ig("MuiTableRow",["root","selected","hover","head","footer"]);const Uw=["className","component","hover","selected"],Vw=db("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,[`&.${qw.hover}:hover`]:{backgroundColor:e.palette.action.hover},[`&.${qw.selected}`]:{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:Kh(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Kw="tr",Gw=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableRow"}),{className:r,component:o=Kw,hover:a=!1,selected:i=!1}=n,l=bf(n,Uw),s=O.exports.useContext(qx),u=gf({},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 tg({root:["root",n&&"selected",r&&"hover",o&&"head",a&&"footer"]},Hw,t)})(u);return vh.exports.jsx(Vw,gf({as:o,ref:t,className:sh(c.root,r),role:o===Kw?null:"row",ownerState:u},l))}));var Yw=Gw;function Qw(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 Xw({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 Jw={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 Zw="14px",eS="#404040",tS="#f4f4f4",nS="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)",rS="#fff",oS="7px 14px",aS={SELECTED:{color:rS,background:"#009845",selectedCellClass:"selected"},POSSIBLE:{color:eS,background:rS}};function iS(e,t){let n=t;return e.padding?({padding:n}=e):e.fontSize&&(n=`${e.fontSize/2}px ${e.fontSize}px`),n}function lS(e={},t,n){const r=n.getColorPickerColor(e);return r&&"none"!==r?r:t}const sS=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)?rS:eS,uS=(e,t)=>({color:lS(e.fontColor,eS,t),fontSize:e.fontSize||Zw,padding:iS(e,oS)}),cS=e=>!e||JSON.stringify(e)===JSON.stringify({index:-1,color:null});function dS(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&&Jw[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=sS(r.cellBackgroundColor)),{...e,color:r.cellForegroundColor||e.color,background:r.cellBackgroundColor}}function pS(e=rS,t,n){const{colIdx:r,rows:o,api:a}=n;if(a.isModal()){if(r!==t.colIdx)return{background:`${nS}, ${e}`};for(let e=0;e<o.length;e++)if(o[e].qElemNumber===t.qElemNumber)return aS.SELECTED;return aS.POSSIBLE}return{}}function fS(e){const t=t=>{const{selectionState:n,cell:r,selectionDispatch:o,styling:a,announce:i,column:l,...s}=t,u=O.exports.useMemo((()=>function(e,t,n){return{...e,...pS(e.background,t,n)}}(a,r,n)),[a,r,n]);return he.createElement(e,yb({},s,{styling:u,onMouseUp:e=>r.isDim&&0===e.button&&Xw({selectionState:n,cell:r,selectionDispatch:o,evt:e,announce:i})}))};return t.defaultProps={column:null},t.propTypes={styling:wf.object.isRequired,selectionState:wf.object.isRequired,cell:wf.object.isRequired,selectionDispatch:wf.func.isRequired,announce:wf.func.isRequired,column:wf.object},t}function mS(e,t){let n=function(e){const t=t=>{const{styling:n,...r}=t,{selectedCellClass:o,...a}=n;return he.createElement(e,yb({},r,{className:`${o} sn-table-cell`,sx:a}))};return t.propTypes={styling:wf.object.isRequired},t}(Qx);return t&&(n=fS(n)),e&&(n=function(e){const t=t=>{const{cell:n,column:r,styling:o,...a}=t,i=O.exports.useMemo((()=>dS(o,n.qAttrExps,r.stylingInfo)),[o,n.qAttrExps,r.stylingInfo]);return he.createElement(e,yb({},a,{cell:n,styling:i}))};return t.propTypes={cell:wf.object.isRequired,column:wf.object.isRequired,styling:wf.object.isRequired},t}(n)),n}const hS=e=>e.querySelector("td[tabindex='0'], th[tabindex='0']"),gS=({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")}},bS=(e,t,n,r)=>{gS({providedCell:hS(t),focusType:"removeTab"}),n(e),r.enabled&&r.focus()},vS=(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)},yS=e=>e.shiftKey&&(e.ctrlKey||e.metaKey),xS=e=>{e.stopPropagation(),e.preventDefault()},wS=(e,t,n,r,o,a)=>{var i;xS(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(gS({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 SS({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=O.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:oS};const a=cS(o.hoverColor),i=cS(o.hoverFontColor)&&a,l=i?tS:a?"":lS(o.hoverColor,tS,t),s=i?"":lS(o.hoverFontColor,sS(l),t);return{...uS(o,t),hoverBackgroundColor:l,hoverFontColor:s,selectedCellClass:"unselected"}}(o,a)),[o,a.name()]),v=!!r&&!n.active&&!n.select,y=h.map((e=>mS(!!e.stylingInfo.length,v))),[x,w]=O.exports.useState((()=>y)),[S,k]=O.exports.useReducer(Qw,{api:r,rows:[],colIdx:-1,isEnabled:v});O.exports.useEffect((()=>{k({type:"set-enabled",payload:{isEnabled:v}}),w(y)}),[v,h.length]),O.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:k,setShouldRefocus:i,keyboard:s,tableWrapperRef:u})}),[]);const E={"& td, th":{fontSize:b.fontSize,padding:b.padding}},C={"&&:hover":{"& td:not(.selected), th:not(.selected)":{backgroundColor:b.hoverBackgroundColor,color:b.hoverFontColor}}};return he.createElement(Ww,{sx:E},m.map(((t,n)=>he.createElement(Yw,{hover:g,tabIndex:-1,key:t.key,sx:g&&C,className:"sn-table-row"},h.map(((r,o)=>{const a=t[r.id],i=a.qText,u=x[o];return u&&he.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:S,selectionDispatch:k,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":!yS(e)&&wS(e,t,n,r,l,s);break;case" ":xS(e),(null==o?void 0:o.isDim)&&i&&Xw({selectionState:r,cell:o,selectionDispatch:a,evt:e,announce:s});break;case"Enter":if(xS(e),!r.api.isModal())break;r.api.confirm(),s({keys:"SNTable.SelectionLabel.SelectionsConfirmed"});break;case"Escape":if(!i||!r.api.isModal())break;xS(e),r.api.cancel(),s({keys:"SNTable.SelectionLabel.ExitedSelectionMode"});break;case"Tab":e.shiftKey&&u.enabled&&r.api.isModal()&&(xS(e),vS(e.target,u,!0))}})({evt:t,rootElement:e,cellCoord:[n+1,o],selectionState:S,cell:a,selectionDispatch:k,isAnalysisMode:v,setFocusedCellCoord:l,announce:c,keyboard:s}),onMouseDown:()=>((e,t,n,r)=>{const{rawRowIdx:o,rawColIdx:a}=e;bS([o+1,a],t,n,r)})(a,e,l,s)},i)}))))))}function kS(e){return ag("MuiTableHead",e)}SS.propTypes={rootElement:wf.object.isRequired,tableData:wf.object.isRequired,constraints:wf.object.isRequired,selectionsAPI:wf.object.isRequired,layout:wf.object.isRequired,theme:wf.object.isRequired,setFocusedCellCoord:wf.func.isRequired,setShouldRefocus:wf.func.isRequired,keyboard:wf.object.isRequired,tableWrapperRef:wf.object.isRequired,announce:wf.func.isRequired},ig("MuiTableHead",["root"]);const ES=["className","component"],CS=db("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),RS={variant:"head"},PS="thead";var TS=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableHead"}),{className:r,component:o=PS}=n,a=bf(n,ES),i=gf({},n,{component:o}),l=(e=>{const{classes:t}=e;return tg({root:["root"]},kS,t)})(i);return vh.exports.jsx(qx.Provider,{value:RS,children:vh.exports.jsx(CS,gf({as:o,className:sh(l.root,r),ref:t,role:o===PS?null:"rowgroup",ownerState:i},a))})})),MS=lx(vh.exports.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function NS(e){return ag("MuiTableSortLabel",e)}var zS=ig("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);const OS=["active","children","className","direction","hideSortIcon","IconComponent"],IS=db(Ov,{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,[`& .${zS.icon}`]:{opacity:.5}},[`&.${zS.active}`]:{color:e.palette.text.primary,[`& .${zS.icon}`]:{opacity:1,color:e.palette.text.secondary}}}))),AS=db("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${Tf(n.direction)}`]]}})((({theme:e,ownerState:t})=>gf({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)"}))),LS=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiTableSortLabel"}),{active:r=!1,children:o,className:a,direction:i="asc",hideSortIcon:l=!1,IconComponent:s=MS}=n,u=bf(n,OS),c=gf({},n,{active:r,direction:i,hideSortIcon:l,IconComponent:s}),d=(e=>{const{classes:t,direction:n,active:r}=e;return tg({root:["root",r&&"active"],icon:["icon",`iconDirection${Tf(n)}`]},NS,t)})(c);return vh.exports.jsxs(IS,gf({className:sh(d.root,a),component:"span",disableRipple:!0,ownerState:c,ref:t},u,{children:[o,l&&!r?null:vh.exports.jsx(AS,{as:s,className:sh(d.icon),ownerState:c})]}))}));var FS=LS;const _S=Bh("span")({border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",top:20,width:1});function jS({rootElement:e,tableData:t,theme:n,layout:r,changeSortOrder:o,constraints:a,translator:i,selectionsAPI:l,focusedCellCoord:s,setFocusedCellCoord:u,keyboard:c}){const d=O.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?uS(o,t):{padding:oS}}(r,n)),[r,n.name()]),p={color:d.color,fontSize:d.fontSize,padding:d.padding};return he.createElement(TS,null,he.createElement(Yw,{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 he.createElement(Qx,{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":!yS(e)&&wS(e,t,n,!1,l);break;case" ":case"Enter":xS(e),i&&o(a,r)}})(i,e,[0,n],t,o,r,!a.active,u),onMouseDown:()=>((e,t,n,r)=>{bS([0,e],t,n,r)})(n,e,u,c),onClick:()=>!l.isModal()&&!a.active&&o(r,t)},he.createElement(FS,{active:f,title:!a.passive&&t.sortDirection,direction:t.sortDirection,tabIndex:-1},t.label,m&&he.createElement(_S,{"data-testid":`VHL-for-col-${n}`},i.get("SNTable.SortLabel.PressSpaceToSort"))))}))))}function DS(e){return ag("MuiFormLabel",e)}jS.propTypes={rootElement:wf.object.isRequired,tableData:wf.object.isRequired,theme:wf.object.isRequired,layout:wf.object.isRequired,changeSortOrder:wf.func.isRequired,constraints:wf.object.isRequired,selectionsAPI:wf.object.isRequired,keyboard:wf.object.isRequired,focusedCellCoord:wf.arrayOf(wf.number).isRequired,setFocusedCellCoord:wf.func.isRequired,translator:wf.object.isRequired};var $S=ig("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const BS=["children","className","color","component","disabled","error","filled","focused","required"],WS=db("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>gf({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>gf({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}}))),HS=db("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${$S.error}`]:{color:e.palette.error.main}}))),qS=O.exports.forwardRef((function(e,t){const n=sb({props:e,name:"MuiFormLabel"}),{children:r,className:o,component:a="label"}=n,i=bf(n,BS),l=Lb({props:n,muiFormControl:_b(),states:["color","required","focused","disabled","error","filled"]}),s=gf({},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 tg({root:["root",`color${Tf(n)}`,o&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]},DS,t)})(s);return vh.exports.jsxs(WS,gf({as:a,ownerState:s,className:sh(u.root,o),ref:t},i,{children:[r,l.required&&vh.exports.jsxs(HS,{ownerState:s,"aria-hidden":!0,className:u.asterisk,children:[" ","*"]})]}))}));var US=qS;function VS(e){return ag("MuiInputLabel",e)}ig("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const KS=["disableAnimation","margin","shrink","variant"],GS=db(US,{shouldForwardProp:e=>ub(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})=>gf({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&&gf({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&&gf({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&&gf({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 YS=O.exports.forwardRef((function(e,t){const n=sb({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,shrink:o}=n,a=bf(n,KS),i=_b();let l=o;void 0===l&&i&&(l=i.filled||i.focused||i.adornedStart);const s=Lb({props:n,muiFormControl:i,states:["size","variant","required"]}),u=gf({},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 gf({},t,tg({root:["root",n&&"formControl",!a&&"animated",o&&"shrink","small"===r&&"sizeSmall",i],asterisk:[l&&"asterisk"]},VS,t))})(u);return vh.exports.jsx(GS,gf({"data-shrink":l,ownerState:u,ref:t},a,{classes:c}))}));function QS(e){return ag("MuiFormControl",e)}ig("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const XS=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],JS=db("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>gf({},t.root,t[`margin${Tf(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>gf({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%"}))),ZS=O.exports.forwardRef((function(e,t){const n=sb({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=bf(n,XS),b=gf({},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 tg({root:["root","none"!==n&&`margin${Tf(n)}`,r&&"fullWidth"]},QS,t)})(b),[y,x]=O.exports.useState((()=>{let e=!1;return r&&O.exports.Children.forEach(r,(t=>{if(!zf(t,["Input","Select"]))return;const n=zf(t,["Select"])?t.props.input:t;n&&function(e){return e.startAdornment}(n.props)&&(e=!0)})),e})),[w,S]=O.exports.useState((()=>{let e=!1;return r&&O.exports.Children.forEach(r,(t=>{zf(t,["Input","Select"])&&$b(t.props,!0)&&(e=!0)})),e})),[k,E]=O.exports.useState(!1);l&&k&&E(!1);const C=void 0===u||l?k:u;const R=O.exports.useCallback((()=>{S(!0)}),[]),P={adornedStart:y,setAdornedStart:x,color:a,disabled:l,error:s,filled:w,focused:C,fullWidth:c,hiddenLabel:d,size:m,onBlur:()=>{E(!1)},onEmpty:O.exports.useCallback((()=>{S(!1)}),[]),onFilled:R,onFocus:()=>{E(!0)},registerEffect:undefined,required:f,variant:h};return vh.exports.jsx(Fb.Provider,{value:P,children:vh.exports.jsx(JS,gf({as:i,ownerState:b,className:sh(v.root,o),ref:t},g,{children:r}))})}));var ek,tk=ZS,nk={},rk={exports:{}};(ek=rk).exports=function(e){return e&&e.__esModule?e:{default:e}},ek.exports.__esModule=!0,ek.exports.default=ek.exports;var ok={};const ak={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),rg.configure(e)}};var ik=M(Object.freeze({__proto__:null,unstable_ClassNameGenerator:ak,capitalize:Tf,createChainedFunction:Mf,createSvgIcon:lx,debounce:Nf,deprecatedPropType:function(e,t){return()=>null},isMuiElement:zf,ownerDocument:Of,ownerWindow:If,requirePropFactory:function(e,t){return()=>null},setRef:Af,unstable_useEnhancedEffect:Lf,unstable_useId:jf,unsupportedProp:function(e,t,n,r,o){return null},useControlled:Df,useEventCallback:$f,useForkRef:Bf,useIsFocusVisible:Qf}));!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=ik}(ok);var lk=rk.exports;Object.defineProperty(nk,"__esModule",{value:!0});var sk=nk.default=void 0,uk=lk(ok),ck=vh.exports,dk=(0,uk.default)((0,ck.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");sk=nk.default=dk;var pk={},fk=rk.exports;Object.defineProperty(pk,"__esModule",{value:!0});var mk=pk.default=void 0,hk=fk(ok),gk=vh.exports,bk=(0,hk.default)((0,gk.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");mk=pk.default=bk;var vk={},yk=rk.exports;Object.defineProperty(vk,"__esModule",{value:!0});var xk=vk.default=void 0,wk=yk(ok),Sk=vh.exports,kk=(0,wk.default)((0,Sk.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");xk=vk.default=kk;var Ek={},Ck=rk.exports;Object.defineProperty(Ek,"__esModule",{value:!0});var Rk=Ek.default=void 0,Pk=Ck(ok),Tk=vh.exports,Mk=(0,Pk.default)((0,Tk.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");const Nk={FirstPage:sk,PreviousPage:mk,NextPage:xk,LastPage:Rk=Ek.default=Mk,FirstPageRTL:Rk,PreviousPageRTL:xk,NextPageRTL:mk,LastPageRTL:sk};function zk({direction:e,page:t,lastPageIdx:n,onPageChange:r,keyboard:o,tableWidth:a,translator:i,isInSelectionMode:l,constraints:s}){const u=0===t,c=t>=n,d=!o.enabled||o.active?0:-1,p=a>350,f=o.enabled?e=>((e,t,n)=>{t&&"Tab"===e.key&&!e.shiftKey&&(xS(e),vS(e.target,n,!1))})(e,l):null,m=(t,n,o,a=null)=>{const l=Nk[`${o}${"rtl"===e?"RTL":""}`];return he.createElement(gw,{"data-testid":"pagination-action-icon-button",onClick:t?null:()=>r(n),"aria-disabled":t,"aria-label":i.get(`SNTable.Pagination.${o}`),title:!s.passive&&i.get(`SNTable.Pagination.${o}`),tabIndex:d,sx:t?{color:"rgba(0, 0, 0, 0.3)",cursor:"default"}:{color:"rgba(0, 0, 0, 0.54)"},onKeyDown:a},he.createElement(l,null))};return he.createElement(he.Fragment,null,a>650&&he.createElement(tk,null,he.createElement(YS,{htmlFor:"pagination-dropdown",shrink:!1},`${i.get("SNTable.Pagination.SelectPage")}:`),he.createElement(Hx,{native:!0,value:t,onChange:e=>r(+e.target.value),inputProps:{"data-testid":"pagination-dropdown",tabIndex:d,id:"pagination-dropdown"}},Array(n+1).fill().map(((e,t)=>he.createElement("option",{key:String(e),value:t},t+1))))),he.createElement(he.Fragment,null,p&&m(u,0,"FirstPage"),m(u,t-1,"PreviousPage"),m(c,t+1,"NextPage",p?null:f),p&&m(c,n,"LastPage",f)))}function Ok(e,t){const n=O.exports.useRef(!1);O.exports.useEffect((()=>{n.current?e():n.current=!0}),t)}zk.defaultProps={direction:null},zk.propTypes={direction:wf.string,onPageChange:wf.func.isRequired,page:wf.number.isRequired,lastPageIdx:wf.number.isRequired,keyboard:wf.object.isRequired,isInSelectionMode:wf.bool.isRequired,tableWidth:wf.number.isRequired,translator:wf.object.isRequired,constraints:wf.object.isRequired};const Ik="first-announcer-element",Ak="second-announcer-element";const Lk=({children:e,target:t})=>Tc.createPortal(e,t);function Fk(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,g=f.qcy,b=g>10,{page:v,rowsPerPage:y,rowsPerPageOptions:x}=r,[w,S]=O.exports.useState([0,0]),k=O.exports.useRef(!1),E=O.exports.useRef(),C=O.exports.useRef(),R=p||O.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===Ik?(u=s,r=Ak):(u=l,r=Ik),u.innerHTML=u.innerHTML.endsWith(" ­")?i:`${i} ­`,u.setAttribute("aria-atomic",o),u.setAttribute("aria-live",a)}}(t,i)),[i.language]),P=Math.ceil(g/y),T=`${i.get("SNTable.Accessibility.RowsAndColumns",[m.length+1,h.length])} ${i.get("SNTable.Accessibility.NavigationInstructions")}`,M=()=>{k.current=t.getElementsByTagName("table")[0].contains(document.activeElement)},N=e=>{o({...r,page:e}),R({keys:[["SNTable.Pagination.PageStatusReport",[e+1,P]]],politeness:"assertive"})},z=e=>{o({...r,page:0,rowsPerPage:+e.target.value}),R({keys:[["SNTable.Pagination.RowsPerPageChange",e.target.value]],politeness:"assertive"})};O.exports.useEffect((()=>{const e=C.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,k,s);return e.addEventListener("focusout",t),()=>{e.removeEventListener("focusout",t)}}),[]),O.exports.useEffect((()=>{const e=E.current;if(!e)return()=>{};const t=t=>((e,t,n)=>{e.stopPropagation();const r=n.scrollWidth-n.offsetWidth;let{scrollLeft:o}=n,a=o+e.deltaX;t&&(a=r+a),r>0&&(a<0||a>r+1)&&(e.preventDefault(),o=t?Math.min(0,Math.min(r,a)):Math.max(0,Math.min(r,a)))})(t,"rtl"===c,e);return e.addEventListener("wheel",t),()=>{e.removeEventListener("wheel",t)}}),[c]),O.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:E,focusedCellCoord:w,rootElement:t})),[E,w]),Ok((()=>{s.enabled&&gS({focusType:s.active?"focus":"blur",rowElements:t.getElementsByClassName("sn-table-row"),cellCoord:w})}),[s.active]),Ok((()=>{(({focusedCellCoord:e,rootElement:t,shouldRefocus:n,hasSelections:r,setFocusedCellCoord:o,shouldAddTabstop:a,announce:i})=>{gS({focusType:"removeTab",providedCell:hS(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(gS({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:w,rootElement:t,shouldRefocus:k,setFocusedCellCoord:S,hasSelections:l.isModal(),shouldAddTabstop:!s.enabled||s.active,announce:R})}),[m.length,g,f.qcx,v]);const I={height:a.active||d||b?"calc(100% - 52px)":"100%",overflow:a.active?"hidden":"auto"},A={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"},L=e=>{const t=l.isModal()||e<550||f.qcx>100;return he.createElement(he.Fragment,null,he.createElement(Aw,{sx:a.active&&{display:"none"},rowsPerPageOptions:t?[y]:x,component:"div",count:g,rowsPerPage:y,labelRowsPerPage:`${i.get("SNTable.Pagination.RowsPerPage")}:`,page:v,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:z,ActionsComponent:()=>he.createElement("div",null,null),onPageChange:()=>{}}),he.createElement(zk,{direction:c,page:v,onPageChange:N,lastPageIdx:Math.ceil(g/y)-1,keyboard:s,isInSelectionMode:l.isModal(),tableWidth:e,translator:i,constraints:a}))};let F;return F=d?he.createElement(Lk,{target:d},b&&L(d.getBoundingClientRect().width)):b&&he.createElement(Eb,{sx:A},L(u.width)),he.createElement(Eb,{dir:c,sx:{height:"100%",backgroundColor:"rgb(255, 255, 255)",boxShadow:"none"},ref:C,onKeyDown:e=>(({evt:e,totalVerticalCount:t,page:n,rowsPerPage:r,handleChangePage:o,setShouldRefocus:a,keyboard:i,isSelectionActive:l})=>{if(yS(e)){xS(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&&(xS(e),i.blur(!0))})({evt:e,totalVerticalCount:g,page:v,rowsPerPage:y,handleChangePage:N,setShouldRefocus:M,keyboard:s,isSelectionActive:l.isModal()})},he.createElement(Fw,null),he.createElement(Ab,{ref:E,sx:I,tabIndex:-1,role:"application","data-testid":"table-wrapper"},he.createElement(Nb,{stickyHeader:!0,"aria-label":T},he.createElement(jS,yb({},e,{setFocusedCellCoord:S,focusedCellCoord:w})),he.createElement(SS,yb({},e,{announce:R,focusedCellCoord:w,setFocusedCellCoord:S,setShouldRefocus:M,tableWrapperRef:C})))),F)}Fk.defaultProps={announcer:null,direction:null,footerContainer:null},Fk.propTypes={rootElement:wf.object.isRequired,tableData:wf.object.isRequired,pageInfo:wf.object.isRequired,setPageInfo:wf.func.isRequired,translator:wf.object.isRequired,constraints:wf.object.isRequired,selectionsAPI:wf.object.isRequired,keyboard:wf.object.isRequired,rect:wf.object.isRequired,footerContainer:wf.object,direction:wf.string,announcer:wf.func};var _k={keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920},unit:"px"},jk={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}}}},Dk={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},$k={borderRadius:3},Bk=["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)"],Wk={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}},Hk={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"}},qk={modal:1200,snackbar:1200,drawer:1200,appBar:1200,mobileStepper:1200,tooltip:1200,speedDial:1050},Uk={toolbar:{minHeight:56,"@media (min-width:0px) and (orientation: landscape)":{minHeight:48},"@media (min-width:600px)":{minHeight:64}}},Vk={breakpoints:_k,direction:"ltr",components:jk,palette:Dk,shape:$k,shadows:Bk,transitions:Wk,typography:Hk,zIndex:qk,mixins:Uk},Kk=Object.freeze({__proto__:null,breakpoints:_k,direction:"ltr",components:jk,palette:Dk,shape:$k,shadows:Bk,transitions:Wk,typography:Hk,zIndex:qk,mixins:Uk,default:Vk});function Gk(f){return{qae:{properties:{initial:h},data:{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:15},measures:{min:0,max:15}}]}},component(){const f=e(),h=t(),{direction:g,footerContainer:b}=n(),v=r(),y=o(),x=a(),w=i(),S=function(e){return jk&&(jk.MuiIconButton.styleOverrides.root.padding="0px 7px",jk.MuiTableSortLabel.styleOverrides.root.color="inherit",jk.MuiTableSortLabel.styleOverrides.root["&.Mui-active"].color="inherit",jk.MuiTableSortLabel.styleOverrides.root["&:hover"].color="inherit",jk.MuiTableRow.styleOverrides.root["&&:hover"].backgroundColor="rgba(0, 0, 0, 0)",jk.MuiTableCell.styleOverrides.root.height="auto",jk.MuiTableCell.styleOverrides.root.lineHeight="130%",jk.MuiTableCell.styleOverrides.head.height="auto",jk.MuiTableCell.styleOverrides.head.lineHeight="150%",jk.MuiTableCell.styleOverrides.root["&:focus"]={boxShadow:"0 0 0 2px #3f8ab3 inset",outline:"none"},jk.MuiTableContainer.styleOverrides.root.borderBottom=0,jk.MuiInputBase.styleOverrides.input.padding="0px 12px",jk.MuiInputBase.styleOverrides.input.border="1px solid transparent",jk.MuiOutlinedInput.styleOverrides.input.padding="0px 12px",jk.MuiNativeSelect.styleOverrides.outlined.border="1px solid transparent",jk.MuiInputLabel.styleOverrides.outlined={fontSize:14,width:"fit-content",position:"relative",padding:8,transform:"none",fontWeight:"400"},jk.MuiFormControl.styleOverrides.root.paddingLeft=28,jk.MuiFormControl.styleOverrides.root.paddingRight=14),ab({...Kk,direction:e})}(g),k=l(),E=s(),C=u(),[R,P]=c((()=>({page:0,rowsPerPage:100,rowsPerPageOptions:[10,25,100]}))),[M]=d((()=>T(v,h,R,P)),[h,R]);p((()=>{if(h&&M){!function(e){if(e&&e.get&&e.add){const t="SNTable.Accessibility.RowsAndColumns";if(e.get(t)!==t)return;Object.keys(m).forEach((t=>{e.add(m[t])}))}}(x);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)}}(v);!function(e,t){const{tableTheme:n,direction:r}=t;Tc.render(he.createElement(he.StrictMode,null,he.createElement(Bp,{stylisPlugins:"rtl"===r?[vb]:[]},he.createElement(Xh,{theme:n},he.createElement(Fk,t)))),e)}(f,{rootElement:f,layout:h,tableData:M,direction:g,pageInfo:R,setPageInfo:P,constraints:y,translator:x,selectionsAPI:w,tableTheme:S,theme:k,changeSortOrder:e,keyboard:E,rect:C,footerContainer:b})}}),[M,y,g,w.isModal(),k.name(),E.active,x.language(),C.width]),p((()=>()=>{!function(e){Tc.unmountComponentAtNode(e)}(f)}),[])},ext:C(f)}}export{Gk as default};